CN113054980A - Code matching method and system based on short-distance wireless switch - Google Patents

Code matching method and system based on short-distance wireless switch Download PDF

Info

Publication number
CN113054980A
CN113054980A CN202110224563.9A CN202110224563A CN113054980A CN 113054980 A CN113054980 A CN 113054980A CN 202110224563 A CN202110224563 A CN 202110224563A CN 113054980 A CN113054980 A CN 113054980A
Authority
CN
China
Prior art keywords
code matching
remote controller
short
code
wireless switch
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
Application number
CN202110224563.9A
Other languages
Chinese (zh)
Inventor
王雨杰
苏华娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Nanhai Heqi Electronic Technology Co ltd
Original Assignee
Foshan Nanhai Heqi Electronic Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Foshan Nanhai Heqi Electronic Technology Co ltd filed Critical Foshan Nanhai Heqi Electronic Technology Co ltd
Priority to CN202110224563.9A priority Critical patent/CN113054980A/en
Publication of CN113054980A publication Critical patent/CN113054980A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a code matching method and system based on a short-distance wireless switch, relating to the technical field of remote control switches, in particular to a code matching method and system for establishing a corresponding relation between a wireless switch and controlled LED lighting equipment, wherein the code matching method is implemented by only a remote controller after code matching can control the lighting equipment with the matched code, the code matching method comprises the steps of arranging a code matching button on the remote controller, sending a code matching signal by the remote controller only when the key is pressed down, judging whether rssi reaches a threshold value or not after a receiving end receives the code matching signal, matching the code only when the rssi reaches the specific threshold value, recording the ID of the remote controller, flashing specific times of light, and responding successfully as the code, wherein the rssi of the signal sent by the remote controller can reach the threshold value only when the distance between the remote controller and the controlled lighting equipment is smaller than the specific value, the code matching method is wireless one-way sending, the remote controller only sends the signal without receiving the signal, the light of the controlled equipment records the ID of the remote controller, so that the operation difficulty and the workload of code matching on the installation and use site are greatly reduced.

Description

Code matching method and system based on short-distance wireless switch
Technical Field
The invention relates to the technical field of remote control switches, in particular to a code matching method and system based on a short-distance wireless switch.
Background
The short-distance wireless communication technology has limited transmission distance and incompatible protocols among different devices. The working bandwidth occupies small bandwidth, which is equivalent to that the working can be operated only by a single lane and basically does not interfere with other equipment. At present, some short-distance wireless communication devices can be connected with various products, and can be randomly connected and paired as long as remote controllers conforming to related technical standards, so that the compatibility is strong. For LED lighting devices controlled by short-range wireless technology, one remote controller is often required to control multiple lighting devices, or multiple remote controllers are required to control one device. Such application requirements present challenges to the pairing of the remote control with the controlled lighting device. If the remote controller and the controlled equipment are fixedly matched during production, the mode often cannot meet the requirements of a site (user), and if code matching is carried out on the site, time, labor and trouble are wasted for users who are not familiar with an operation process.
Disclosure of Invention
The invention aims to provide a code matching method and system based on a short-distance wireless switch, and the code matching method and system are used for determining whether to start code matching or not by judging whether rssi of a wireless signal transmitted by a remote controller reaches a threshold value or not, so that the wireless control equipment is prevented from controlling undesired controlled equipment, namely, the code matching can be started only when the distance between the remote controller and the controlled equipment is very close (for example, less than 0.5 m) by triggering a key.
In order to achieve the purpose, the invention provides the following technical scheme: a method for using a code matching method based on a short-distance wireless switch comprises the following specific operation steps:
the method comprises the following steps: the remote controller is close to the controlled lighting equipment, and the actual distance range is set according to the product type during manufacturing;
step two: pressing a code matching key on a remote controller, and sending a code matching signal;
step three: the controlled lighting equipment receives the signal and judges whether the remote controller is in a specified range according to the RSSI of the received signal;
step four: ignoring the signal when not within the specified range; when the ID of the remote controller is recorded in a specified range, the light is flickered for a specific number of times, for example, three times, and the user knows that the code matching is successful;
step five: the controlled lighting equipment only accepts the operation of the remote controller with the recorded ID.
As a further scheme of the invention: the invention provides a code matching system based on a short-distance wireless switch, which comprises a remote controller and controlled lighting equipment, wherein a first processor, a Bluetooth transmission module, a first storage battery and a code matching button are arranged in the remote controller, the Bluetooth transmission module, the first storage battery and the code matching button are electrically connected with the first processor, a second processor, a Bluetooth receiving module, a second storage battery and an indicator lamp are arranged in the controlled lighting equipment, and the Bluetooth receiving module, the second storage battery and the indicator lamp are electrically connected with the second processor.
As a further scheme of the invention: the first processor and the second processor are each a complex instruction set computing microprocessor, a reduced instruction set computing microprocessor, a very long instruction word microprocessor, a processor implementing other instruction sets, or a processor implementing a combination of instruction sets, for executing the instructions of the operations and steps discussed herein.
As a further scheme of the invention: the Bluetooth transmission module and the Bluetooth receiving module are realized by Bluetooth chips.
As a further scheme of the invention: the first storage battery and the second storage battery are both powered by batteries.
As a further scheme of the invention: the code matching button is a springback type operation button.
As a still further scheme of the invention: the unique identification ID of the remote controller can adopt the ID of a short-distance Bluetooth communication chip, and can also be an MAC address.
Compared with the prior art, the invention has the beneficial effects that: the invention adopts the low power consumption short distance wireless communication technology, is convenient for the battery power supply equipment to work, has good social and economic benefits, the Bluetooth is a wireless technology standard, can realize the short distance data exchange between the mobile equipment, the Bluetooth can be connected with a plurality of equipment, the difficult problem of data synchronization is overcome, and the characteristics of the Bluetooth technology comprise that the frequency hopping technology is adopted, and the signal fading is resisted; the fast frequency hopping and short grouping technology can reduce the same frequency interference and ensure the reliability of transmission; the forward error correction coding technology can reduce the random noise influence in long-distance transmission, meanwhile, the invention realizes accurate code alignment, reduces the mutual interference of the same type of remote controllers, can greatly reduce the operation difficulty and workload of code alignment in the installation and use field, and increases the convenience and the friendliness of equipment use.
Drawings
FIG. 1 is a schematic flow chart of the present invention.
Fig. 2 is a schematic diagram of a module structure according to the present invention.
As shown in the figure: 1. remote controller, 2, controlled lighting equipment, 3, first treater, 4, bluetooth transmission module, 5, first battery, 6, to the sign indicating number button, 7, second treater, 8, bluetooth receiving module, 9, second battery, 10, pilot lamp.
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 should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "disposed," "sleeved/connected," "connected," and the like are to be construed broadly, e.g., "connected," which may be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Referring to fig. 1-2, in an embodiment of the present invention, a code matching method based on a short-distance wireless switch includes the following steps:
the method comprises the following steps: the remote controller is close to the controlled lighting equipment, for example, the range of 0.5 m, and the actual distance range is set according to the product type during manufacturing;
step two: pressing a code matching key on a remote controller, and sending a code matching signal;
step three: the controlled lighting equipment receives the signal and judges whether the remote controller is in a specified range according to the RSSI of the received signal;
step four: ignoring the signal when not within the specified range; when the ID of the remote controller is recorded in a specified range, the light is flickered for a specific number of times, for example, three times, and the user knows that the code matching is successful;
step five: the controlled lighting equipment only receives the control of the recorded ID remote controller, so that the control of other unexpected equipment by the remote controller is effectively avoided, and the control is more accurate.
The invention provides a code matching system based on a short-distance wireless switch, which comprises a remote controller 1 and controlled lighting equipment 2, wherein a first processor 3, a Bluetooth transmission module 4, a first storage battery 5 and a code matching button 6 are arranged in the remote controller 1, the Bluetooth transmission module 4, the first storage battery 5 and the code matching button 6 are electrically connected with the first processor 3, meanwhile, a second processor 7, a Bluetooth receiving module 8, a second storage battery 9 and an indicator lamp 10 are arranged in the controlled lighting equipment, and the Bluetooth receiving module 8, the second storage battery 9 and the indicator lamp 10 are electrically connected with the second processor 7.
The first processor 3 and the second processor 7 are each a complex instruction set computing microprocessor, a reduced instruction set computing microprocessor, a very long instruction word microprocessor, a processor implementing other instruction sets, or a processor implementing a combination of instruction sets, and are configured to execute the instructions of the operations and steps discussed in the present invention.
The bluetooth transmission module 4 and the bluetooth reception module 8 are implemented by bluetooth chips, such as the TLSR8521, bluetooth is a wireless technology standard, and can implement short-distance data exchange between mobile devices, and the bluetooth can be connected to multiple devices, so as to overcome the difficulty of data synchronization, and the bluetooth technology is characterized by adopting a frequency hopping technology and resisting signal fading; the fast frequency hopping and short grouping technology can reduce the same frequency interference and ensure the reliability of transmission; forward error correction coding techniques can reduce the effects of random noise in long-range transmissions.
Wherein, first battery 5 and second battery 9 all adopt the battery power supply, can provide the electric energy for the device through changing the battery or charging for the battery of remote controller, have improved the convenience of use, have reduced use cost, have saved the energy to the harm to the environment has been reduced.
Preferably, the code matching button 6 is a springback type operation button, and in the code matching process, an operator is required to press the code matching button 6 all the time, so that the phenomenon that the code matching button 6 is pressed by mistake by the operator to cause code matching with other undesired equipment is effectively avoided.
Preferably, the unique ID of the remote controller 1 may be an ID of a short-range bluetooth communication chip itself, or an MAC address.
It should be noted that, the working principle and the installation manner of the first processor 3 and the second processor 7 both adopt the prior art, and the control program of the present invention can be obtained by simple programming of those skilled in the art, which is not described herein again.
According to the above preferred embodiment provided by the present invention, the working principle of the present invention is as follows: the RSSI is a measure for evaluating the strength of a wireless signal between a remote controller and a receiver, the method utilizes the important technical index, is applied to the remote control code matching of the LED lighting lamp, realizes short-distance code matching, is convenient to operate, considers the signal interference of the surrounding noise level and the environment in the RSSI mode, and can obtain high RSSI even when the noise interference is high.
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that various changes in the embodiments and/or modifications of the invention can be made, and equivalents and modifications of some features of the invention without departing from the spirit and scope of the invention.

Claims (7)

1. A code matching method based on a short-distance wireless switch is characterized in that: the specific operation steps are as follows:
the method comprises the following steps: the remote controller is close to the controlled lighting equipment, and the actual distance range is set according to the product type during manufacturing;
step two: pressing a code matching key on a remote controller, and sending a code matching signal;
step three: the controlled lighting equipment receives the signal and judges whether the remote controller is in a specified range according to the RSSI of the received signal;
step four: ignoring the signal when not within the specified range; when the ID of the remote controller is recorded in a specified range, the light is flickered for a specific number of times, for example, three times, and the user knows that the code matching is successful;
step five: the controlled lighting equipment only accepts the operation of the remote controller with the recorded ID.
2. The code matching system based on the short-distance wireless switch comprises a remote controller (1) and controlled lighting equipment (2), and is characterized in that: the remote controller is characterized in that a first processor (3), a Bluetooth transmission module (4), a first storage battery (5) and a code matching button (6) are arranged inside the remote controller (1), the Bluetooth transmission module (4), the first storage battery (5) and the code matching button (6) are electrically connected with the first processor (3), and meanwhile, a second processor (7), a Bluetooth receiving module (8), a second storage battery (9) and an indicator lamp (10) are arranged inside controlled lighting equipment and are electrically connected with the second processor (7).
3. The code matching system based on the short-distance wireless switch as claimed in claim 2, wherein: the first processor (3) and the second processor (7) are each a complex instruction set computing microprocessor, a reduced instruction set computing microprocessor, a very long instruction word microprocessor, a processor implementing other instruction sets, or a processor implementing a combination of instruction sets, for executing instructions of the operations and steps discussed herein.
4. The code matching system based on the short-distance wireless switch as claimed in claim 2, wherein: the Bluetooth transmission module (4) and the Bluetooth receiving module (8) are realized by Bluetooth chips.
5. The code matching system based on the short-distance wireless switch as claimed in claim 2, wherein: the first storage battery (5) and the second storage battery (9) are powered by batteries.
6. The code matching system based on the short-distance wireless switch as claimed in claim 2, wherein: the code matching button (6) is a rebound type operation button.
7. The code matching system based on the short-distance wireless switch as claimed in claim 2, wherein: the unique identification ID of the remote controller (1) can adopt the ID of a short-distance Bluetooth communication chip, and can also be an MAC address.
CN202110224563.9A 2021-03-01 2021-03-01 Code matching method and system based on short-distance wireless switch Pending CN113054980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110224563.9A CN113054980A (en) 2021-03-01 2021-03-01 Code matching method and system based on short-distance wireless switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110224563.9A CN113054980A (en) 2021-03-01 2021-03-01 Code matching method and system based on short-distance wireless switch

Publications (1)

Publication Number Publication Date
CN113054980A true CN113054980A (en) 2021-06-29

Family

ID=76509395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110224563.9A Pending CN113054980A (en) 2021-03-01 2021-03-01 Code matching method and system based on short-distance wireless switch

Country Status (1)

Country Link
CN (1) CN113054980A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115035700A (en) * 2022-08-11 2022-09-09 中国铁道科学研究院集团有限公司电子计算技术研究所 Train water-supply remote control automatic code matching method and device based on UWB positioning

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204259101U (en) * 2014-12-11 2015-04-08 陈金庭 Digital TV terminal remote control
CN104661412A (en) * 2015-02-27 2015-05-27 王康 Intelligent dimming illumination system and auxiliary remote controller thereof as well as control method of lamp
CN104981081A (en) * 2015-07-30 2015-10-14 高晓波 Wireless light control system and control method of the wireless light control system
CN206251409U (en) * 2016-11-17 2017-06-13 徐州医科大学 For the remote control of switch lamp
CN206292959U (en) * 2016-12-09 2017-06-30 深圳市纽格力科技有限公司 A kind of remote control of remote directionless limitation
CN208190966U (en) * 2018-03-05 2018-12-04 刘清 A kind of luminous intensity sensing remote control
CN109377745A (en) * 2018-12-26 2019-02-22 浙江西盈科技股份有限公司 Closely to the method for code under a kind of rf-mode
CN109688568A (en) * 2017-07-04 2019-04-26 广东长虹电子有限公司 A kind of control method of television set and remote controler Bluetooth pairing distance

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204259101U (en) * 2014-12-11 2015-04-08 陈金庭 Digital TV terminal remote control
CN104661412A (en) * 2015-02-27 2015-05-27 王康 Intelligent dimming illumination system and auxiliary remote controller thereof as well as control method of lamp
CN104981081A (en) * 2015-07-30 2015-10-14 高晓波 Wireless light control system and control method of the wireless light control system
CN206251409U (en) * 2016-11-17 2017-06-13 徐州医科大学 For the remote control of switch lamp
CN206292959U (en) * 2016-12-09 2017-06-30 深圳市纽格力科技有限公司 A kind of remote control of remote directionless limitation
CN109688568A (en) * 2017-07-04 2019-04-26 广东长虹电子有限公司 A kind of control method of television set and remote controler Bluetooth pairing distance
CN208190966U (en) * 2018-03-05 2018-12-04 刘清 A kind of luminous intensity sensing remote control
CN109377745A (en) * 2018-12-26 2019-02-22 浙江西盈科技股份有限公司 Closely to the method for code under a kind of rf-mode

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115035700A (en) * 2022-08-11 2022-09-09 中国铁道科学研究院集团有限公司电子计算技术研究所 Train water-supply remote control automatic code matching method and device based on UWB positioning

Similar Documents

Publication Publication Date Title
CN101873695B (en) Wireless communication device, wireless communication system, wireless communication method, and program
EP2615869B1 (en) Systems for facilitating wireless communication and related methods
CN101753690A (en) Electrical equipment remote control method and remote control unit thereof
CN103684550A (en) Bluetooth signal transmission power adjusting system and mobile terminal
CN110971515A (en) Intelligent Internet of things gateway and Internet of things system based on same
CN103036283A (en) Interval wireless charging communication device and interval wireless charging communication method
CN102195753A (en) 2.4G-radio-frequency (2.4GRF)-based multimedia transmission method
CN107231202B (en) LoRa working mode switching method, device and system
WO2015096182A1 (en) Intelligent home control system and control method
CN108075579B (en) Wireless power supply system capable of being intelligently paired and power supply method
CN102799905B (en) Initiatively rfid system regulates the method for communication distance
CN103986501B (en) A kind of Bluetooth control device, system and method
CN113054980A (en) Code matching method and system based on short-distance wireless switch
CN203344897U (en) Automobile remote control system based on intelligent mobile phone
CN108776442B (en) Self-generating passive switch and working method thereof
CN203931168U (en) A kind of Radio infrared control terminal
CN201181518Y (en) MIMO wireless remote controller
CN203038457U (en) WIFI (wireless fidelity) based infrared converting device
EP3413650B1 (en) Device-to-device (d2d) communication method and d2d device
CN202736262U (en) Radio frequency remote control device
CN203732953U (en) Intelligent home control system
CN116631173A (en) Multi-terminal collaborative unmanned ship remote control method and system
CN204305282U (en) A kind of blue teeth wireless microphone
CN105527855A (en) Intelligent home system based on wireless control and communication anti-collision algorithm thereof
CN209448893U (en) A kind of 5G and NBIOT Intelligent internet of things mould group

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210629