A self-generating passive switch and its working method

CN114167769BActive Publication Date: 2025-03-18WUHAN LINPTECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111375973.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-04-28
Publication Date
2025-03-18
Estimated Expiration
2038-04-28

AI Technical Summary

Technical Problem

Traditional self-generating passive switches have the problem of single controllable equipment and inflexible control methods.

Method used

The switch function of the control terminal is added to the self-generating passive switch, which supports wireless control of multiple control terminals, and realizes the multiplexing of the control terminal function buttons.

Benefits of technology

It overcomes the problem of single and inflexible control methods of traditional self-generating passive switching equipment, supports wireless control of multiple control terminals, reduces the equipment volume, and breaks the inertial thinking of multi-channel and multi-control terminal control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114167769B_ABST
    Figure CN114167769B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of self-generating switches, and provides a self-generating passive switch and a working method thereof. The working method includes the self-generating passive switch receiving a trigger instruction; if it is determined that the trigger instruction includes an instruction for switching a control terminal, the self-generating passive switch executes the instruction for switching the control terminal; if it is determined that the trigger instruction includes an instruction for a control terminal function, the self-generating passive switch sends communication information corresponding to the instruction for the control terminal function to a preset control terminal. The present invention adds a switching function of a control terminal to the self-generating passive switch, which overcomes the problem that the traditional self-generating passive switch has a single controllable device and an inflexible control method; it can support the wireless control of multiple control terminals by the self-generating passive switch.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the technical field of self-generating switches, and in particular to a self-generating passive switch and a working method thereof. [Background technology]

[0002] The existing RF remote controls with batteries can transmit control commands for different control channels by dialing codes or pressing independent buttons. However, such products are battery-powered. With sufficient power, the processor is always powered. After the button is turned on, the signal is transmitted to the processor, which can easily switch channels and transmit the signal through the RF unit.

[0003] The existing self-powered passive switches use the mechanical energy of each press of the user's hand to convert into electrical energy to drive the processor and the radio frequency unit.

[0004] Before the self-generating passive switch leaves the factory, the manufacturer generally defines a unique ID number for each switch, which is the so-called ID number. When the receiver is working, it needs to be paired with the switch before it can work. An existing pairing method is: trigger a specific button of the receiver and press the button of the passive switch at the same time. After the receiver receives the message from the passive switch, the pairing is completed. Subsequently, the receiver can be controlled by the passive switch, and then the working state of the terminal can be controlled. However, traditional self-generating passive switches have the problem of a single controllable device and an inflexible control method.

[0005] In view of this, overcoming the defects of the prior art is an urgent problem to be solved in the field of this technology. [Summary of the invention]

[0006] The technical problem to be solved by the present invention is that the traditional self-generating passive switch has the problem of a single controllable device and an inflexible control method.

[0007] The present invention adopts the following technical solution:

[0008] In a first aspect, the present invention provides a working method of a self-generating passive switch, comprising:

[0009] The self-generating passive switch receives a trigger instruction;

[0010] If it is determined that the trigger instruction includes an instruction of the switching control terminal, the self-generating passive switch executes the instruction of the switching control terminal;

[0011] If it is determined that the trigger instruction includes an instruction for controlling a terminal function, the self-generating passive switch sends communication information corresponding to the instruction for controlling the terminal function to a preset control terminal.

[0012] Preferably, before the self-generating passive switch receives the trigger instruction, the method further includes:

[0013] The self-generating passive switch stores the ID information of multiple control terminals and / or the channel information corresponding to the multiple control terminals; wherein, after obtaining the instruction of the control terminal function, the self-generating passive switch reads the ID information and / or channel information of the control terminal used to generate communication information, and completes the switching according to the instruction of switching the control terminal.

[0014] Preferably, the determining that the trigger instruction includes an instruction for switching a control terminal or determining that the trigger instruction includes an instruction for controlling a terminal function specifically includes:

[0015] The self-generating passive switch determines that the trigger instruction includes an instruction for switching the control terminal or an instruction for controlling the terminal function based on the corresponding I / O port number of the trigger instruction it receives; wherein each I / O port number of the self-generating passive switch is pre-matched to a key for switching the control terminal and one or more keys for controlling the terminal function.

[0016] Preferably, determining that the trigger instruction includes an instruction for switching the control terminal specifically includes: judging whether the ID information and / or channel information of the control terminal contained in the trigger instruction is consistent with the ID information and / or corresponding channel information of the currently set control terminal; if not, determining that the trigger instruction includes an instruction for switching the control terminal.

[0017] Preferably, the self-generating passive switch sends communication information corresponding to the instructions of the control terminal function to a preset control terminal, specifically including: the self-generating passive switch generates communication information according to the ID information and / or corresponding channel information of the current control terminal and the instruction content of the control terminal function, and sends communication information corresponding to the instructions of the control terminal function to the control terminal.

[0018] Preferably, after the self-generating passive switch receives the trigger instruction, it also includes: judging whether the trigger instruction is a trigger instruction for pressing down the self-generating switch; if the trigger instruction is a trigger instruction for pressing down the self-generating switch, executing the operation content of determining that the trigger instruction includes an instruction for switching the control terminal, or executing the operation content of determining that the trigger instruction includes an instruction for controlling the terminal function.

[0019] Preferably, after the self-generating passive switch receives the trigger instruction, it also includes: judging whether the trigger instruction is a trigger instruction of a push-down switch, and if the trigger instruction is a trigger instruction of a rebound switch, sending communication information corresponding to the rebound instruction to the current control terminal.

[0020] Preferably, the method of switching the control terminal includes: a one-way / two-way cycle method triggered by a single button, a key code input method or a combination button method.

[0021] In a second aspect, the present invention further provides a self-generating passive switch, which is used to implement the self-generating passive switch working method described in the first aspect, and the device comprises:

[0022] At least one processor; and a memory in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are programmed to execute the self-generating passive switch working method described in the first aspect.

[0023] In a third aspect, the present invention further provides a non-volatile computer storage medium, wherein the computer storage medium stores computer executable instructions, which are executed by one or more processors to complete the self-generating passive switch working method described in the first aspect.

[0024] The present invention adds a switching function of the control terminal to the self-generating passive switch, which overcomes the problem that the traditional self-generating passive switch has a single controllable device and an inflexible control method; it can support the wireless control of multiple control terminals by the self-generating passive switch. On the other hand, the solution proposed by the present invention can reuse the function keys of the control terminal, reduce the size of the multi-channel self-generating passive switch, and also overcome the inertial thinking that the self-generating switch in the prior art cannot realize multi-channel and multi-control terminal control.

Brief Description of the Drawings

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0026] Figure 1 It is a flowchart of a self-generating passive switch working method provided by an embodiment of the present invention;

[0027] Figure 2 It is a structural schematic diagram of a self-generating passive switch provided by an embodiment of the present invention;

[0028] Figure 3 It is a structural schematic diagram of realizing a key code function in a self-generating passive switch provided by an embodiment of the present invention;

[0029] Figure 4 This is a left view of a structure for realizing a key code function in a self-generating passive switch provided by an embodiment of the present invention;

[0030] Figure 5 It is a schematic diagram of a key structure with a double detection function of pressing and rebounding in a self-generating passive switch provided by an embodiment of the present invention;

[0031] Figure 6 It is a structural schematic diagram of a self-generating passive switch provided by an embodiment of the present invention;

[0032] Figure 7 It is a schematic flow chart of a self-generating passive switch working method provided by an embodiment of the present invention. [Specific implementation method]

[0033] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0034] In the description of the present invention, the terms "inside", "outside", "longitudinal", "lateral", "upper", "lower", "top", "bottom" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and do not require that the present invention must be constructed and operated in a specific orientation. Therefore, they should not be understood as limitations on the present invention.

[0035] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0036] Embodiment 1:

[0037] The embodiment of the present invention provides a working method of a self-generating passive switch, and the working method is suitable for a scenario in which a self-generating passive switch remotely controls multiple control terminals, such as Figure 1 As shown, including:

[0038] In step 201, the self-generating passive switch receives a trigger instruction.

[0039] Among them, the trigger instruction is usually generated when the self-generating switch is driven by each key to complete the power generation action. The implementation principle can be achieved by changing the I / O port level of the main controller of the self-generating passive switch.

[0040] In step 202, if it is determined that the trigger instruction includes an instruction of a switching control terminal, the self-generating passive switch executes the instruction of the switching control terminal.

[0041] Among them, the self-generating passive switch executes the instruction of the switching control terminal, which is specifically manifested in that when the main controller in the self-generating passive switch receives the instruction of the control terminal function, it adjusts the ID information of the control terminal and / or the channel information content of the corresponding control terminal to make it consistent with the target control terminal of the instruction of the switching control terminal.

[0042] In step 203, if it is determined that the trigger instruction includes an instruction for controlling a terminal function, the self-generating passive switch sends communication information corresponding to the instruction for controlling the terminal function to a preset control terminal.

[0043] The embodiment of the present invention adds a switching function for the control terminal to the self-generating passive switch, which overcomes the problem that the traditional self-generating passive switch has a single controllable device and an inflexible control method; it can support the wireless control of multiple control terminals by the self-generating passive switch. On the other hand, the solution proposed in the embodiment of the present invention can reuse the function keys of the control terminal, reduce the size of the multi-channel self-generating passive switch, and also overcome the inertial thinking that the self-generating switch in the prior art cannot realize multi-channel and multi-control terminal control.

[0044] In the specific implementation process, step 202 and step 203 of the embodiment of the present invention are implemented at the same time node. When the user needs to first complete the switching of the control device controlled by the self-generating passive switch and then send a control instruction to the switched control device, the corresponding process will be manifested as the switching function from step 201 to step 202 is completed in sequence, and the function of sending communication information to the switched target control device.

[0045] In the implementation process of the embodiment of the present invention, when determining whether it is an instruction to switch the control terminal or an instruction to control the terminal function, it is necessary to parse the relevant information stored in itself. Therefore, in combination with the embodiment of the present invention, before the self-generating passive switch receives the trigger instruction, it also includes:

[0046] The self-generating passive switch stores the ID information of multiple control terminals and / or the channel information corresponding to the multiple control terminals; wherein, after the self-generating passive switch obtains the instruction of the control terminal function, the ID information and / or channel information of the control terminal used to generate the communication information read by the self-generating passive switch is set in the initial state or switched according to the instruction of the switching control terminal. wherein, the ID information of the control terminal is the identification information of the corresponding device controlled by the self-generating passive switch, such as the device number, serial number, etc.; and the channel information includes one or more of the mapping relationship between the frequency band of transmitting the communication information, the format of the protocol packet, the instruction of switching the control terminal generated by the key and the code of the actual device executing the corresponding function. preferably, the method execution body (also described as the self-generating passive switch or the main controller in the self-generating passive switch) in the embodiment of the present invention includes an EEROPM memory, so that the above-mentioned ID information of the control terminal and / or the channel information corresponding to the multiple control terminals can be saved, so that the corresponding mapping relationship can still be maintained after the self-generating passive switch is powered off. Among them, when the EEROPM memory is used as the relevant information storage object in the embodiment of the present invention, the "self-generating passive switch executes the instruction of switching the control terminal" involved is specifically manifested as the main controller configuring the EEROPM memory, so that the main controller in the self-generating passive switch can directly read the ID information of the preset control terminal and / or the corresponding channel information when executing step 203. The preset control terminal may be the control terminal that is pre-set by default before the self-generating passive switch is used, or it may be the target control terminal corresponding to the most recent execution of the switching instruction, which is not limited here.

[0047] In combination with the embodiment of the present invention, the determination that the trigger instruction includes an instruction for switching the control terminal or the determination that the trigger instruction includes an instruction for controlling the terminal function specifically includes: the self-generating passive switch determines that the trigger instruction includes an instruction for switching the control terminal or an instruction for controlling the terminal function according to the corresponding I / O port number of the trigger instruction received by the self-generating passive switch; wherein the serial numbers of the I / O ports of the self-generating passive switch are pre-matched to the keys for switching the control terminal and one or more keys for controlling the terminal function. For the main controller in the self-generating passive switch, a predetermined number of I / O ports are pre-selected as the receiving ports for the trigger instruction, and in the setting process, the I / O ports with specific serial numbers are selected as the input ports for the instructions for switching the control terminal and the input ports for the instructions for controlling the terminal function. For example: the I / O port with serial number 1 of the main controller is set to be connected to the key for generating the instruction for switching the control terminal, and the I / O port with serial number 2 of the main controller is set to be connected to the key for generating the instruction for controlling the terminal function.

[0048] In the implementation process of the embodiment of the present invention, a variety of optional solutions are provided for the implementation of the instruction to switch the control terminal. For a simple implementation environment, a circular switching method can be adopted, that is, clicking the button to switch the control terminal will switch the current control device object to the next control device object in the sequence in the preset control device sequence. Figure 2 As shown, for example, the controlled devices include device 1, device 2, device 3 and device 4, and the corresponding switching states can be Figure 2 The four LED lights in the figure are displayed. For example, when switching to device 1, the corresponding LED1 light is on; when switching to device 2, the corresponding LED2 light is on. The preset control device sequence is 1->2->3->4. In a specific embodiment, if the current controlled device is device 1, at this time, if the self-generating passive switch receives an instruction from the switching control terminal (implemented by pressing the button of the corresponding switching control terminal, that is, Figure 2 In another specific implementation, if the currently controlled device is device 4, then according to the cyclic switching rule, upon receiving the instruction of the switching control terminal, the corresponding controlled device is switched from device 4 to device 1, and LED 1 is on. In addition, in another specific embodiment, the preset control device sequence can also be expressed as 1->2->3->4->1234 (this means that 4 devices are controlled at the same time), and then the next round of 1234 returns to device 1, and so on.

[0049] Continue to participate Figure 2 In this embodiment, there is a button for switching the control terminal and three function buttons for the control terminals, and four corresponding control channels are matched to control four different controlled devices respectively. When in use, the user first switches to the device that the user currently wants to control by pressing the button for switching the control terminal, and then presses the three function buttons of the control terminal respectively to enable the controlled device to enter three different working states (for example, the same lamp emits three different brightnesses of light). Compared with the prior art, the present invention realizes the effective control of multiple terminals by one switch and each terminal has multiple working states without increasing the volume of the self-generating passive switch. It should be emphasized that Figure 2 It is only a specific embodiment derived from the concept of the present invention, and the protection content of the present invention is not limited to Figure 2 The content shown in the embodiment. Further, based on Figure 2 It can be reasonably inferred that the technical advantage of the present invention is more obvious when there are more terminals and each terminal has more working states.

[0050] In a specific implementation method in combination with an embodiment of the present invention, in addition to the above-mentioned method of adopting a circular switching method, an embodiment of the present invention also provides a technical solution based on a dialing method. Compared with the above-mentioned method of realizing circular switching by a button of a switching control terminal, the dialing method described here is more suitable for the use scenario with more control terminals. Specifically, the determination that the trigger instruction contains an instruction for switching the control terminal specifically includes: determining whether the ID information and / or channel information of the control terminal contained in the trigger instruction is consistent with the ID information and / or corresponding channel information of the currently set control terminal. If not, determining that the trigger instruction contains an instruction for switching the control terminal. The ID information and / or channel information of the control terminal may be input through the dialing method, and the corresponding dialing method may be composed of multiple sub-buttons, which may generate different dialing methods according to the order of pressing the buttons. Figure 3 and Figure 4 As shown ( Figure 4 for Figure 3 The left view of the structure shown in FIG. 1 is a schematic diagram of a dial button. When button 1 to button 5 are pressed, the corresponding I / O port can be driven to a low level, thereby forming a dial consisting of a low-level I / O port. According to the different button sequences, at least 2^5 devices can be compatible, and in actual applications, so many dial buttons are usually not needed.

[0051] In the embodiment of the present invention, a specific implementation method is provided for the self-generating passive switch involved in step 203 to send communication information corresponding to the instruction of the control terminal function to the preset control terminal, as follows:

[0052] The self-generating passive switch generates communication information according to the ID information and / or corresponding channel information of the current control terminal and the instruction content of the control terminal function, and sends the communication information corresponding to the instruction of the control terminal function to the control terminal. In the specific implementation, since different devices need to identify and parse the wireless signal (also described as communication information in the embodiment of the present invention) emitted by the self-generating passive switch (usually in a broadcasting manner), it is usually necessary to carry the ID information of the control terminal in the communication information. In addition, since the control instructions supported by different control terminals are different due to the functional differences on their respective devices, how to express the differences in their respective control functions in the communication information needs to be realized by relying on the instruction content of the control terminal function stored in the self-generating passive switch, wherein the instruction content of each control terminal function and the corresponding control terminal function key establish a mapping relationship, that is, the main controller of the power generation passive switch can find the instruction content of each control terminal function and the corresponding control terminal function key according to the device information currently switched to, and determine the instruction code finally generated in the communication information and recognizable by the control terminal.

[0053] In combination with the embodiment of the present invention, there is also a preferred implementation scheme, which includes, after the self-generating passive switch receives the trigger instruction, determining whether the trigger instruction is a trigger instruction for pressing down the self-generating switch, and if the trigger instruction is a trigger instruction for pressing down the self-generating switch, executing an operation to determine whether the trigger instruction contains an instruction for switching the control terminal, or executing an operation to determine whether the trigger instruction contains an instruction for controlling the terminal function. Also, determining whether the trigger instruction is a trigger instruction for pressing down the switch, and if the trigger instruction is a trigger instruction for a rebound switch, sending communication information corresponding to the rebound instruction to the current control terminal. For example, the data sent for pressing down is 0, and the data sent for rebounding is 1. In addition, the communication information of the rebound instruction can also be used by each control device to test the control signal strength of the current self-generating passive switch, so that each control device can timely adjust its own sensitivity for detecting the control signal of the self-generating passive switch. In order to achieve the above-mentioned pressing and rebounding can be detected by the self-generating passive switch, such as Figure 5 The figure shows a schematic diagram of a structure applicable to an embodiment of the present invention, which has a bidirectional detection function of pressing and popping up, and contacts are respectively set at the pressing position and the popping up position of the key.

[0054] Embodiment 2:

[0055] like Figure 6 , is a schematic diagram of the architecture of a multi-channel transmission device based on a self-powered passive key according to an embodiment of the present invention. The multi-channel transmission device based on a self-powered passive key according to this embodiment includes one or more processors 21 and a memory 22. Figure 6A processor 21 is taken as an example.

[0056] The processor 21 and the memory 22 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0057] The memory 22, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as the multi-channel transmission method based on the self-powered passive key in Example 1. The processor 21 executes various functional applications and data processing of the multi-channel transmission device based on the self-powered passive key by running the non-volatile software programs, instructions and modules stored in the memory 22, that is, the multi-channel transmission method based on the self-powered passive key in Example 1 is implemented.

[0058] The memory 22 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 22 may optionally include a memory remotely arranged relative to the processor 21, and these remote memories may be connected to the processor 21 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0059] The program instructions / modules are stored in the memory 22, and when executed by the one or more processors 21, the multi-channel transmission method based on the self-generated passive key in the above embodiment 1 is executed, for example, the multi-channel transmission method based on the self-generated passive key in the above embodiment 1 is executed. Figure 1 The steps shown.

[0060] The embodiment of the present invention adds a switching function of the control terminal to the self-generating passive switch, which overcomes the problem that the traditional self-generating passive switch has a single controllable device and an inflexible control method; it can support the wireless control of multiple control terminals by the self-generating passive switch. On the other hand, the solution proposed in the embodiment of the present invention can reuse the function keys of the control terminal, reduce the size of the multi-channel self-generating passive switch, and also overcome the inertial thinking that the self-generating switch in the prior art cannot realize multi-channel and multi-control terminal control.

[0061] It is worth noting that the information interaction, execution process, etc. between the modules and units in the above-mentioned device are based on the same concept as the processing method embodiment 1 of the present invention. The specific contents can be found in the description of the method embodiment of the present invention and will not be repeated here.

[0062] Embodiment 3:

[0063] like Figure 7As shown, it is a relatively complete implementation flow chart provided by the embodiment of the present invention. It should be emphasized that the embodiment of the present invention is one of the many achievable logical flows in Embodiment 1, and is not the only implementation flow method. The specific implementation flow provided by the embodiment of the present invention includes:

[0064] In step 301, the self-generating passive switch is powered on. The power-on process here specifically refers to a key being pressed by a user, and after the self-generating switch generates electricity, the generated voltage is supplied to the main controller and wireless transceiver module on the self-generating passive switch.

[0065] In step 302, the main controller of the self-generating passive switch reads all stored device IDs and corresponding channel numbers.

[0066] In step 303, the main controller determines whether the key is pressed or popped up. If it is determined that the key is pressed, the process proceeds to step 304; if it is determined that the key is popped up, the process proceeds to step 308. Here, the determination of whether the key is pressed or popped up can be performed in the same way as Figure 4 The structure shown in FIG. 1 is to set contacts at the pressed position and the popped-up position of the key, respectively. Figure 5 , which is a schematic structural diagram applicable to an embodiment of the present invention and having a bidirectional detection function of pressing and popping up.

[0067] In step 304 , the main controller determines whether the channel switch key is pressed, and if so, proceeds to step 307 , otherwise, it is determined that the function key is pressed and proceeds to step 305 .

[0068] In step 305 , the main controller confirms the channel value of the current function key, which is set by the initial state and the channel key is switched. Then, the process goes to step 306 .

[0069] In step 306 , according to the determined channel value, the port signal of the function key is converted into a protocol data packet supported by the corresponding control device and sent. Then, the process proceeds to step 309 .

[0070] In step 307, the channel is switched according to a preset strategy, wherein the preset strategy may adopt the cycle mode, key combination mode or key code mode in embodiment 1, which will not be described in detail here.

[0071] In step 308, a pop-up message is sent, wherein the pop-up message may be a message used by each control terminal to test the control signal strength of the self-generating passive switch, so that each control device can adjust its receiving sensitivity when receiving the valid control message sent by the next round of key operation.

[0072] In step 309, the effective power generation cycle of the self-generating passive switch in the self-generating passive switch ends, and the self-generating passive switch enters a power-off state.

[0073] The embodiment of the present invention adds a switching function of the control terminal to the self-generating passive switch, which overcomes the problem that the traditional self-generating passive switch has a single controllable device and an inflexible control method; it can support the wireless control of multiple control terminals by the self-generating passive switch. On the other hand, the solution proposed in the embodiment of the present invention can reuse the function keys of the control terminal, reduce the size of the multi-channel self-generating passive switch, and also overcome the inertial thinking that the self-generating switch in the prior art cannot realize multi-channel and multi-control terminal control.

[0074] A person skilled in the art may understand that all or part of the steps in the various methods of the embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0075] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for operating a self-generating passive switch, characterized in that: include: The self-generating passive switch receives a trigger instruction; wherein the trigger instruction is generated when the key drives the self-generating switch to complete the power generation action; if it is determined that the trigger instruction includes an instruction to switch the control channel, the self-generating passive switch executes the instruction to switch the control channel; If it is determined that the trigger instruction includes an instruction for controlling the terminal function, the self-generating passive switch sends communication information corresponding to the instruction for controlling the terminal function to the corresponding control channel; wherein, The self-generating passive switch generates communication information according to the ID information and / or the corresponding channel information of the current control terminal and the instruction content of the control terminal function, and sends the communication information corresponding to the instruction of the control terminal function to the control terminal in a broadcasting manner; the ID information and / or the channel information of the control terminal is input through a dial code; The self-generating passive switch stores the ID information of multiple control terminals and / or the channel information corresponding to the multiple control terminals; when the self-generating passive switch sends communication information corresponding to the instructions of the control terminal function to the corresponding control channel, it can directly read the ID information of the preset control terminal and / or the channel information corresponding thereto; carry the ID information of the control terminal in the communication information, and send the communication information in a broadcast manner.

2. A method for operating a self-generating passive switch according to claim 1, characterized in that: Before the self-generating passive switch receives the trigger instruction, the method further includes: The self-generating passive switch stores ID information of multiple control terminals and / or channel information corresponding to the multiple control terminals.

3. The working method of a self-generating passive switch according to claim 2, characterized in that: The channel information includes one or more of the frequency band of transmitting communication information, the format of the protocol packet, and the mapping relationship between the instruction of switching the control terminal generated by a key and the code of the actual device executing the corresponding function.

4. The working method of a self-generating passive switch according to claim 1, characterized in that: The determining that the trigger instruction includes an instruction to switch a control channel or determining that the trigger instruction includes an instruction to control a terminal function specifically includes: The self-generating passive switch determines that the trigger instruction includes an instruction for switching a control channel or an instruction for controlling a terminal function based on the corresponding I / O port number of the trigger instruction received by the switch; wherein each I / O port number of the self-generating passive switch is pre-matched to a key for switching a control channel and one or more keys for controlling terminal functions.

5. The working method of a self-generating passive switch according to claim 2, characterized in that: The method of determining that the trigger instruction includes an instruction for switching the control channel specifically includes: determining whether the ID information and / or channel information of the control terminal contained in the trigger instruction is consistent with the ID information and / or corresponding channel information of the currently set control terminal; if not, determining that the trigger instruction includes an instruction for switching the control channel.

6. A method for operating a self-generating passive switch according to any one of claims 1 to 5, characterized in that: The serial numbers of the I / O ports of the self-generating passive switch are pre-matched to the keys for switching control channels and one or more keys for controlling terminal functions.

7. A method for operating a self-generating passive switch according to claim 6, characterized in that: The controlled devices include device 1, device 2, device 3 and device 4, and the corresponding switching states are presented by four LED lights. When switching to device 1, the corresponding LED1 light is on; when switching to device 2, the corresponding LED2 light is on. The preset control device sequence is device 1 switches to device 2, device 2 switches to device 3, device 3 switches to device 4, device 4 switches to device 1, and so on.

8. A method for operating a self-generating passive switch, characterized in that: include: The self-generating passive switch receives a trigger instruction; wherein, the user presses a button, and after the self-generating switch generates electricity, the generated voltage is supplied to the main controller on the self-generating passive switch; the main controller reads all device IDs and corresponding channel numbers; If it is determined that the trigger instruction includes an instruction for switching the control channel, the self-generating passive switch executes the instruction for switching the control channel; wherein the main controller determines that the channel switching key is pressed, and switches the channel according to a preset strategy; If it is determined that the trigger instruction includes an instruction for controlling the terminal function, the self-generating passive switch sends communication information corresponding to the instruction for controlling the terminal function to the corresponding control channel; wherein the main controller confirms that the function key is pressed, and the main controller confirms the channel value of the current function key, the channel value is set by the initial state, and the channel switch key is completed; according to the determined channel value, the port signal of the function key is converted into a protocol data packet supported by the corresponding control device, and the transmission is completed; The self-generating passive switch stores the ID information of multiple control terminals and / or the channel information corresponding to the multiple control terminals; when the self-generating passive switch sends communication information corresponding to the instructions of the control terminal function to the corresponding control channel, it can directly read the ID information of the preset control terminal and / or the channel information corresponding thereto; carry the ID information of the control terminal in the communication information, and send the communication information in a broadcast manner.

9. A method for operating a self-generating passive switch according to claim 8, characterized in that: Before the self-generating passive switch receives the trigger instruction, the method further includes: The self-generating passive switch stores ID information of multiple control terminals and / or channel information corresponding to the multiple control terminals.

10. A working method of a self-generating passive switch according to claim 9, characterized in that: The channel information includes one or more of the frequency band of transmitting communication information, the format of the protocol packet, and the mapping relationship between the instruction of switching the control terminal generated by a key and the code of the actual device executing the corresponding function.

11. The working method of a self-generating passive switch according to claim 8, characterized in that: The determining that the trigger instruction includes an instruction to switch a control channel or determining that the trigger instruction includes an instruction to control a terminal function specifically includes: The self-generating passive switch determines that the trigger instruction includes an instruction for switching a control channel or an instruction for controlling a terminal function based on the corresponding I / O port number of the trigger instruction received by the switch; wherein each I / O port number of the self-generating passive switch is pre-matched to a key for switching a control channel and one or more keys for controlling terminal functions.

12. A method for operating a self-generating passive switch according to any one of claims 8 to 11, characterized in that: The serial numbers of the I / O ports of the self-generating passive switch are pre-matched to the keys for switching control channels and one or more keys for controlling terminal functions.

13. A method for operating a self-generating passive switch according to claim 12, characterized in that: The controlled devices include device 1, device 2, device 3 and device 4, and the corresponding switching states are presented by four LED lights. When switching to device 1, the corresponding LED1 light is on; when switching to device 2, the corresponding LED2 light is on. The preset control device sequence is device 1 switches to device 2, device 2 switches to device 3, device 3 switches to device 4, device 4 switches to device 1, and so on.

14. A method for operating a self-generating passive switch according to claim 13, characterized in that: There is one key for switching control channels and three function keys for controlling terminals, and four control channels are matched to control four different controlled devices respectively; By pressing the button of the switching control terminal, the user can switch to the device 1, device 2, device 3 or device 4 that the user currently wants to control, and then press the buttons of the three control terminal functions respectively to realize that the controlled device enters three different working states.

15. A method for operating a self-generating passive switch according to any one of claims 13 or 14, characterized in that: The switching control terminal includes: a one-way / two-way cycle mode triggered by a single button, a key code input mode or a combination button mode.

16. The working method of a self-generating passive switch according to claim 8, characterized in that: The method further comprises: The effective power generation cycle of the self-generating switch in the self-generating passive switch ends, and the self-generating passive switch enters a power-off state.

17. A self-generating passive switch, characterized in that: include: at least one processor; And, a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are programmed to execute the working method of the self-generating passive switch according to any one of claims 1-16.

Citation Information

Patent Citations

  • All-in-one remote control device of household electrical appliances and realization method thereof

    CN102194311A

  • Coaxial switch controller

    CN104469358A

  • Passive rebounding type switch with characteristic of key number changing

    CN106972780A

  • Nonutility generation type electromagnetic switch

    KR1020130113219A