CN108616843A - Wireless communication pairing method and system - Google Patents
Wireless communication pairing method and system Download PDFInfo
- Publication number
- CN108616843A CN108616843A CN201611110357.0A CN201611110357A CN108616843A CN 108616843 A CN108616843 A CN 108616843A CN 201611110357 A CN201611110357 A CN 201611110357A CN 108616843 A CN108616843 A CN 108616843A
- Authority
- CN
- China
- Prior art keywords
- wireless communication
- wireless
- signal receiver
- channel
- communication parameters
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 112
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000005540 biological transmission Effects 0.000 description 15
- 230000008569 process Effects 0.000 description 12
- 230000006870 function Effects 0.000 description 10
- 230000008054 signal transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 241000699666 Mus <mouse, genus> Species 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000001228 spectrum Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005562 fading Methods 0.000 description 1
- JEIPFZHSYJVQDO-UHFFFAOYSA-N iron(III) oxide Inorganic materials O=[Fe]O[Fe]=O JEIPFZHSYJVQDO-UHFFFAOYSA-N 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及无线通信技术领域,具体而言,涉及一种具有高安全性的无线通信配对方法及其系统。The present invention relates to the technical field of wireless communication, in particular to a high-security wireless communication pairing method and system thereof.
背景技术Background technique
随着科技日新月异,各种无线鼠标、无线键盘、无线绘图板、无线麦克风等等的装置已经大量应用于日常生活之中。相较于有线装置,无线装置使用电磁波信号进行传输,因此,除了可以降低线缆(连接线)的消耗成本外,亦具有减低收纳空间以及高操作距离的优势。近年来,无线装置已有逐渐取代掉有线装置的趋势。With the rapid development of technology, various wireless mice, wireless keyboards, wireless drawing tablets, wireless microphones and other devices have been widely used in daily life. Compared with wired devices, wireless devices use electromagnetic wave signals for transmission. Therefore, in addition to reducing the consumption cost of cables (connecting wires), they also have the advantages of reduced storage space and high operating distance. In recent years, wireless devices have gradually replaced wired devices.
现行在无线装置之间的配对技术大多使用无线的方式来传送配对信息。例如无线鼠标会发送无线信号至具备通用序列总线的无线网络收发器模块(Universal Serial BusDongle),以要求进行无线配对程序。然而,由于无线信号是以广播的形式传输,使用无线信号进行配对程序容易让有心人士以侧录或模拟配对数据的方式获得相关的配对信息,再利用这些配对信息进行数据窃取或是进行破坏。因此,安全性的问题的确是目前无线装置在使用时所遇到的风险。Most of the current pairing technologies between wireless devices use wireless methods to transmit pairing information. For example, a wireless mouse will send a wireless signal to a wireless network transceiver module (Universal Serial Bus Dongle) equipped with a Universal Serial Bus to request a wireless pairing procedure. However, since the wireless signal is transmitted in the form of broadcast, it is easy for those interested in obtaining relevant pairing information by skimming or simulating the pairing data, and then using the pairing information to steal or destroy data. Therefore, the issue of security is indeed a risk encountered in the use of current wireless devices.
除了安全性的问题外,由于无线装置之间以特定频率的无线信号进行通信(例如使用中心频率为2.4G赫兹的信号进行通信),因此,在多个无线装置同时使用时,容易发生无线通道被占用的问题。在无线通道被占用的情况下,无线信号将会被干扰,严重时会导致装置无法正常操作。In addition to security issues, since wireless devices communicate with wireless signals of a specific frequency (for example, using a signal with a center frequency of 2.4G Hz for communication), when multiple wireless devices are used at the same time, wireless channels are prone to occur. The problem of being occupied. When the wireless channel is occupied, the wireless signal will be interfered, and in severe cases, the device cannot operate normally.
发明内容Contents of the invention
本发明一实施例提出一种无线通信配对系统,包含信号接收器、信号发送器以及主机装置。信号接收器包含第一有线连接端及第一无线连接端。信号发送器包含第二有线连接端及第二无线连接端。主机装置耦接于信号接收器的第一有线连接端及信号发送器的第二有线连接端。信号接收器及信号发送器与主机装置建立两有线连结后,主机装置将信号接收器及信号发送器进行配对,以使第一无线连接端与第二无线连接端之间的无线通信被启用。An embodiment of the present invention provides a wireless communication pairing system, including a signal receiver, a signal transmitter, and a host device. The signal receiver includes a first wired connection end and a first wireless connection end. The signal transmitter includes a second wired connection end and a second wireless connection end. The host device is coupled to the first wired connection end of the signal receiver and the second wired connection end of the signal transmitter. After the signal receiver and the signal transmitter establish two wired connections with the host device, the host device pairs the signal receiver and the signal transmitter so that the wireless communication between the first wireless connection end and the second wireless connection end is enabled.
本发明另一实施例提出一种无线通信配对方法,包含将信号接收器通过第一有线连接端连接至主机装置,将信号发送器通过第二有线连接端连接至主机装置,辨识信号接收器的至少一个第一无线通信参数,辨识信号发送器的至少一个第二无线通信参数,将至少一个第一无线通信参数及至少一个第二无线通信参数进行比较,以产生至少一个配对后的无线通信参数,及将至少一个配对后的无线通信参数储存至信号接收器及信号发送器中。Another embodiment of the present invention proposes a wireless communication pairing method, including connecting the signal receiver to the host device through the first wired connection end, connecting the signal transmitter to the host device through the second wired connection end, and identifying the signal receiver. At least one first wireless communication parameter, identifying at least one second wireless communication parameter of the signal transmitter, comparing at least one first wireless communication parameter with at least one second wireless communication parameter to generate at least one paired wireless communication parameter , and at least one paired wireless communication parameter is stored in the signal receiver and the signal transmitter.
附图说明Description of drawings
图1为本发明的无线通信配对系统的实施例的架构图Fig. 1 is the frame diagram of the embodiment of the wireless communication pairing system of the present invention
图2为图1的无线通信配对系统,执行无线通信配对的流程图。FIG. 2 is a flow chart of the wireless communication pairing system in FIG. 1 performing wireless communication pairing.
图3为图1的无线通信配对系统,执行通道设定的流程图。FIG. 3 is a flow chart of executing channel setting in the wireless communication pairing system of FIG. 1 .
图4为图3的通道设定流程中,由多个可用无线通道中选出被选择的无线通道的示意图。FIG. 4 is a schematic diagram of selecting a selected wireless channel from multiple available wireless channels in the channel setting process of FIG. 3 .
附图标记说明:Explanation of reference signs:
100 无线通信配对系统100 wireless communication pairing system
10 主机装置10 host device
11 信号接收器11 signal receiver
12 信号发送器12 signal transmitter
13 操作接口13 Operation interface
14 第一有线连接端14 The first wired connection terminal
15 第一储存装置15 first storage device
16 第一无线连接端16 The first wireless connection terminal
17 第二有线连接端17 Second wired connection terminal
18 第二储存装置18 Secondary storage device
19 第二无线连接端19 Second wireless connection terminal
S201至S211 步骤Steps S201 to S211
S301至S306 步骤Steps S301 to S306
CH1至CH5 通道CH1 to CH5 channels
B1至B5 频谱范围B1 to B5 spectrum range
具体实施方式Detailed ways
图1为无线通信配对系统100的实施例的架构图。无线通信配对系统100包含主机装置10、信号接收器11以及信号发送器12。主机装置10可为任何具有软件执行功能或是可编程逻辑运算功能的装置,例如电脑、工作机台、智能手机等等。信号接收器11包含第一有线连接端14、第一储存装置15以及第一无线连接端16。信号接收器11可为具备通用序列总线(Universal Serial Bus,USB)的无线网络收发器模块(例如USB Dongle)。因此,第一有线连接端14可为通用序列总线连接端。而本发明的有线连接端并不被通用序列总线连接端的形式所局限,任何的线缆连接端,微型通用串行的总线(Micro-USB)连接端、网络线接头插座(RJ45)连接端、迷你通用串行的总线(Mini-USB)连接端等等均属于本发明所公开的范畴。第一储存装置15可为任何具备读写功能的存储器装置,例如硬盘、非挥发性存储器(Non-volatile Memory)等等。第一无线连接端16可为具备网络传输功能的信号接收端,所支援的信号种类可为任何形式的电磁波信号。在本实施例中,第一无线连接端16可用于接收频率在2.4G赫兹的电磁波信号。信号发送器12可为任何具备信号发送功能的装置,例如无线鼠标、无线键盘、或无线数字绘图板等等。信号发送器12包含第二有线连接端17、第二储存装置18以及第二无线连接端19。第二有线连接端17可为通用序列总线连接端,也可以变换为如上述的第一有线连接端14的各种有线连接端的组合。第二储存装置18可为任何具备读写功能的存储器装置,例如硬盘、非挥发性存储器等等。类似地,第二无线连接端19可为具备网络传输功能的信号发送端,所支援的信号种类可为任何形式的电磁波信号。在本实施例中,第二无线连接端19可用于发送频率在2.4G赫兹的电磁波信号。在无线通信配对系统100中,主机装置10耦接于信号接收器11的第一有线连接端14及信号发送器12的第二有线连接端17。换句话说,主机装置是以有线连接的方式,分别耦接于信号接收器11以及信号发送器12。并且,主机装置10可包含操作接口13。在信号接收器11及信号发送器12与主机装置10建立两有线连结后,主机装置10将信号接收器11及信号发送器12进行配对,以使第一无线连接端16与第二无线连接端17之间的无线通信被启用。主机装置10将信号接收器11及信号发送器12进行配对的方式可采用软件/应用程序进行自动地配对,或是使用者利用操作接口13输入自订配对参数,以手动的形式进行配对。在无线通信配对系统100中,由于信号接收器11以及信号发送器12在配对时所载出的无线通信参数是以有线传输的方式输入至主机装置10中,并不会广播任何的无线信号。因此,无线通信配对系统100能够大幅降低无线通信参数被窃取的几率。以下将描述无线通信配对系统100进行无线通信配对的方法。FIG. 1 is a structure diagram of an embodiment of a wireless communication pairing system 100 . The wireless communication pairing system 100 includes a host device 10 , a signal receiver 11 and a signal transmitter 12 . The host device 10 can be any device with a software execution function or a programmable logic operation function, such as a computer, a workstation, a smart phone, and the like. The signal receiver 11 includes a first wired connection terminal 14 , a first storage device 15 and a first wireless connection terminal 16 . The signal receiver 11 can be a wireless network transceiver module (such as a USB Dongle) equipped with a Universal Serial Bus (USB). Therefore, the first wired connection 14 can be a USB connection. And the wired connection end of the present invention is not limited by the form of the universal serial bus connection end, any cable connection end, miniature universal serial bus (Micro-USB) connection end, network cable joint socket (RJ45) connection end, Mini Universal Serial Bus (Mini-USB) connectors and the like all belong to the category disclosed by the present invention. The first storage device 15 can be any memory device capable of reading and writing, such as a hard disk, a non-volatile memory (Non-volatile Memory), and the like. The first wireless connection terminal 16 can be a signal receiving terminal with network transmission function, and the supported signal type can be any form of electromagnetic wave signal. In this embodiment, the first wireless connection terminal 16 can be used to receive electromagnetic wave signals with a frequency of 2.4 GHz. The signal transmitter 12 can be any device capable of transmitting signals, such as a wireless mouse, a wireless keyboard, or a wireless digital drawing tablet and so on. The signal transmitter 12 includes a second wired connection terminal 17 , a second storage device 18 and a second wireless connection terminal 19 . The second wired connection terminal 17 can be a universal serial bus connection terminal, and can also be transformed into a combination of various wired connection terminals as the above-mentioned first wired connection terminal 14 . The second storage device 18 can be any memory device capable of reading and writing, such as a hard disk, a non-volatile memory, and the like. Similarly, the second wireless connection terminal 19 can be a signal sending terminal with a network transmission function, and the supported signal type can be any form of electromagnetic wave signal. In this embodiment, the second wireless connection terminal 19 can be used to send electromagnetic wave signals with a frequency of 2.4 GHz. In the wireless communication pairing system 100 , the host device 10 is coupled to the first wired connection end 14 of the signal receiver 11 and the second wired connection end 17 of the signal transmitter 12 . In other words, the host device is respectively coupled to the signal receiver 11 and the signal transmitter 12 in a wired connection. Also, the host device 10 may include an operation interface 13 . After the signal receiver 11 and the signal transmitter 12 establish two wired connections with the host device 10, the host device 10 pairs the signal receiver 11 and the signal transmitter 12 so that the first wireless connection terminal 16 and the second wireless connection terminal 17 wireless communication is enabled. The way for the host device 10 to pair the signal receiver 11 and the signal transmitter 12 can be automatically paired by software/app, or the user can use the operation interface 13 to input self-defined pairing parameters to perform the pairing manually. In the wireless communication pairing system 100 , since the wireless communication parameters carried by the signal receiver 11 and the signal transmitter 12 during pairing are input to the host device 10 through wired transmission, no wireless signal is broadcast. Therefore, the wireless communication pairing system 100 can greatly reduce the probability of wireless communication parameters being stolen. The method for wireless communication pairing performed by the wireless communication pairing system 100 will be described below.
图2为无线通信配对系统100,执行无线通信配对的流程图。无线通信配对的流程包含步骤S201至步骤S211。然而,本发明的无线通信配对的流程并不局限于步骤S201至步骤S211的顺序,举例而言,步骤S201及步骤S202的顺序可以互换,步骤S204及步骤S205的顺序也可以互换。任何合理的步骤变换以及新增/省略步骤皆属于本发明的范畴。步骤S201至步骤S211描述于下:FIG. 2 is a flow chart of the wireless communication pairing system 100 performing wireless communication pairing. The process of wireless communication pairing includes step S201 to step S211. However, the wireless communication pairing process of the present invention is not limited to the sequence of steps S201 to S211. For example, the sequence of steps S201 and S202 can be interchanged, and the sequence of steps S204 and S205 can also be interchanged. Any reasonable step transformation and addition/omission of steps fall within the scope of the present invention. Step S201 to step S211 are described as follows:
步骤S201:将信号接收器11通过第一有线连接端14连接至主机装置10;Step S201: Connect the signal receiver 11 to the host device 10 through the first wired connection terminal 14;
步骤S202:将信号发送器12通过第二有线连接端17连接至主机装置10;Step S202: Connect the signal transmitter 12 to the host device 10 through the second wired connection terminal 17;
步骤S203:主机装置10是否能检测到信号接收器11及信号发送器12?若是,进入步骤S204;若否,返回步骤S201;Step S203: Can the host device 10 detect the signal receiver 11 and the signal transmitter 12? If yes, enter step S204; if no, return to step S201;
步骤S204:辨识信号接收器11的至少一个第一无线通信参数;Step S204: Identify at least one first wireless communication parameter of the signal receiver 11;
步骤S205:辨识信号发送器12的至少一个第二无线通信参数;Step S205: identifying at least one second wireless communication parameter of the signal transmitter 12;
步骤S206:将至少一个第一无线通信参数及至少一个第二无线通信参数进行比较,若一致,进入步骤S211;若不一致,进入步骤S207;Step S206: compare at least one first wireless communication parameter with at least one second wireless communication parameter, if they are consistent, go to step S211; if not, go to step S207;
步骤S207:主机装置10启动配对程序,并告知使用者;Step S207: The host device 10 starts the pairing procedure and informs the user;
步骤S208:产生对应于使用者设定的至少一个配对后的无线通信参数;Step S208: Generate at least one paired wireless communication parameter corresponding to the user setting;
步骤S209:将至少一个配对后的无线通信参数储存至信号接收器11及信号发送器12中;Step S209: storing at least one paired wireless communication parameter in the signal receiver 11 and the signal transmitter 12;
步骤S210:配对完成。Step S210: pairing is completed.
步骤S211:使用者是否请求启动配对程序以修改配对参数?若是,进入步骤S207;若否,进入步骤S210完成配对。Step S211: Does the user request to start the pairing program to modify the pairing parameters? If yes, go to step S207; if not, go to step S210 to complete pairing.
在步骤S201中,信号接收器11通过第一有线连接端14连接至主机装置10。例如,使用者将信号接收器11(USB Dongle)通过USB连接端连接至主机装置10。接着,在步骤S202中,信号发送器12通过第二有线连接端17连接至主机装置10。例如,使用者将无线鼠标通过USB连接端连接至主机装置10。于此说明,本发明的信号接收器11以及信号发送器12具备双模传输(Dual Modes Transmission)的功能。亦即,信号接收器11以及信号发送器12都具备使用有线连接端与主机装置10传输数据的功能,也具备使用各自的无线连接端传输数据的功能。当使用者将信号接收器11以及信号发送器12与主机装置10以有线的方式连接后,依据步骤S203,主机装置10内的软件或是应用程序就会检测信号接收器11及信号发送器12,以判断信号接收器11及信号发送器12是否有确实连接于主机装置10。若信号接收器11以及信号发送器12无法被检测(亦即无法被辨识),表示信号接收器11以及信号发送器12的有线连接端的功能不良(可能为有线连接端的接触不良、生锈或是损坏)。因此,依据步骤S201至步骤S202,使用者将再次将信号接收器11以及信号发送器12连接至主机装置10。然而,步骤S201至步骤S203也可以合理修改。例如,当主机装置10有检测到信号接收器11但没有检测到信号发送器12时,使用者只要依据步骤S202,再次将信号发送器12连接至主机装置10即可。或者,当主机装置10有检测到信号发送器12但没有检测到信号接收器11时,使用者只要依据步骤S201,再次将信号接收器11连接至主机装置10即可。在信号接收器11以及信号发送器12都可被主机装置10检测后,依据步骤S204以及步骤S205,主机装置10会辨识信号接收器11以及信号发送器12各自的至少一个无线通信参数。为了避免混淆,信号接收器11的无线通信参数在此称为第一无线通信参数,而信号发送器12的无线通信参数在此称为第二无线通信参数。第一无线通信参数以及第二无线通信参数可为无线射频识别(RadioFrequency Identification)参数、连结金钥(Link Key)、进阶加密标准金钥(AdvancedEncryption Standard Key)、序号或无线通道参数等等。在主机装置10读出对应于信号接收器11的至少一个无线通信参数以及读出对应于信号发送器12的至少一个第二无线通信参数后,依据步骤S206,主机装置10会将至少一个第一无线通信参数及至少一个第二无线通信参数进行比较。若至少一个第一无线通信参数及至少一个第二无线通信参数不一致,表示信号接收器11以及信号发送器12并不是成对的通信系统,则依据步骤S207,主机装置10会启动配对程序,并告知使用者。反之,若所有的第一无线通信参数及第二无线通信参数都一致,表示信号接收器11以及信号发送器12是成对的通信系统,随后,依据步骤S211,主机装置10会确认使用者是否请求启动配对程序以修改配对参数?若是,进入步骤S207;若否,进入步骤S210而完成配对。换句话说,在无线通信配对的流程中,进入步骤S207的启动配对程序的条件有两种。第一种为信号接收器11以及信号发送器12原本的通信参数不一致时,会进入配对程序。第二种为信号接收器11以及信号发送器12原本的通信参数一致,但使用者请求启动配对程序以修改配对参数时,会进入配对程序。然而,在第二种情况时(步骤S211),若使用者不要求启动配对程序,无线通信配对的流程会进入步骤S210而结束。当无线通信配对的流程进入步骤S207的启动配对程序后,依据步骤S208,主机装置10会产生对应于使用者设定的至少一个配对后的无线通信参数。然而,如前述,主机装置10也可以利用应用程序启动配对程序,因此至少一个配对后的无线通信参数也可以利用应用程序而自动产生。配对后的无线通信参数可为配对后的无线射频识别参数、连结金钥、进阶加密标准金钥、序号或无线通道参数等等。随后,依据步骤S209,主机装置10会将至少一个配对后的无线通信参数储存至信号接收器11的第一储存装置15以及信号发送器12的第二储存装置18中,并依据步骤S210完成配对。因此,在完成配对后,由于信号接收器11及信号发送器12内已储存了配对后的无线通信参数,使用者于之后可以直接启动信号接收器11以及信号发送器12的无线通信功能而进行无线数据传输。并且,在步骤S201至步骤S211中,由于主机装置10检测信号接收器11及信号发送器12的步骤、主机装置10辨识至少一个第一无线通信参数以及至少一个第二无线通信参数的步骤、主机装置10产生对应于使用者设定的至少一个配对后的无线通信参数的步骤均利用有线的数据传输而完成,并不会广播任何的无线信号。因此,无线通信配对系统100能够大幅降低无线通信参数被窃取的几率。In step S201 , the signal receiver 11 is connected to the host device 10 through the first wired connection terminal 14 . For example, the user connects the signal receiver 11 (USB Dongle) to the host device 10 through the USB port. Next, in step S202 , the signal transmitter 12 is connected to the host device 10 through the second wired connection terminal 17 . For example, the user connects the wireless mouse to the host device 10 through the USB port. Herein, the signal receiver 11 and the signal transmitter 12 of the present invention have the function of dual mode transmission (Dual Modes Transmission). That is, both the signal receiver 11 and the signal transmitter 12 have the function of transmitting data with the host device 10 through the wired connection terminal, and also have the function of transmitting data through their respective wireless connection terminals. After the user connects the signal receiver 11 and the signal transmitter 12 to the host device 10 in a wired manner, according to step S203, the software or application program in the host device 10 will detect the signal receiver 11 and the signal transmitter 12 , to determine whether the signal receiver 11 and the signal transmitter 12 are connected to the host device 10 reliably. If the signal receiver 11 and the signal transmitter 12 cannot be detected (that is, cannot be identified), it means that the function of the wired connection end of the signal receiver 11 and the signal transmitter 12 is malfunctioning (possibly due to poor contact, rust or damage). Therefore, according to steps S201 to S202, the user will connect the signal receiver 11 and the signal transmitter 12 to the host device 10 again. However, steps S201 to S203 can also be modified reasonably. For example, when the host device 10 detects the signal receiver 11 but not the signal transmitter 12 , the user only needs to connect the signal transmitter 12 to the host device 10 again according to step S202 . Alternatively, when the host device 10 detects the signal transmitter 12 but not the signal receiver 11 , the user only needs to connect the signal receiver 11 to the host device 10 again according to step S201 . After both the signal receiver 11 and the signal transmitter 12 are detected by the host device 10, according to steps S204 and S205, the host device 10 will identify at least one wireless communication parameter of the signal receiver 11 and the signal transmitter 12 respectively. To avoid confusion, the wireless communication parameter of the signal receiver 11 is referred to as the first wireless communication parameter, and the wireless communication parameter of the signal transmitter 12 is referred to as the second wireless communication parameter. The first wireless communication parameter and the second wireless communication parameter may be a radio frequency identification (Radio Frequency Identification) parameter, a link key (Link Key), an advanced encryption standard key (Advanced Encryption Standard Key), a serial number or a wireless channel parameter and the like. After the host device 10 reads at least one wireless communication parameter corresponding to the signal receiver 11 and at least one second wireless communication parameter corresponding to the signal transmitter 12, according to step S206, the host device 10 will send at least one first The wireless communication parameter is compared with at least one second wireless communication parameter. If at least one first wireless communication parameter and at least one second wireless communication parameter are inconsistent, it means that the signal receiver 11 and the signal transmitter 12 are not in a paired communication system, then according to step S207, the host device 10 will start the pairing procedure, and inform the user. Conversely, if all the first wireless communication parameters and the second wireless communication parameters are consistent, it means that the signal receiver 11 and the signal transmitter 12 are in a paired communication system. Then, according to step S211, the host device 10 will confirm whether the user Request to start pairing procedure to modify pairing parameters? If yes, go to step S207; if not, go to step S210 to complete the pairing. In other words, in the wireless communication pairing process, there are two conditions for entering step S207 to start the pairing procedure. The first type is that when the original communication parameters of the signal receiver 11 and the signal transmitter 12 are inconsistent, a pairing procedure will be entered. The second type is that the original communication parameters of the signal receiver 11 and the signal transmitter 12 are consistent, but when the user requests to start the pairing program to modify the pairing parameters, the pairing program will be entered. However, in the second case (step S211), if the user does not request to start the pairing procedure, the wireless communication pairing process will enter step S210 and end. When the wireless communication pairing process enters the pairing start procedure of step S207, according to step S208, the host device 10 will generate at least one paired wireless communication parameter corresponding to the user setting. However, as mentioned above, the host device 10 can also use the application program to start the pairing procedure, so at least one wireless communication parameter after pairing can also be automatically generated by using the application program. The paired wireless communication parameters may be paired radio frequency identification parameters, link key, AES key, serial number or wireless channel parameters and so on. Subsequently, according to step S209, the host device 10 will store at least one paired wireless communication parameter in the first storage device 15 of the signal receiver 11 and the second storage device 18 of the signal transmitter 12, and complete the pairing according to step S210 . Therefore, after the pairing is completed, since the paired wireless communication parameters have been stored in the signal receiver 11 and the signal transmitter 12, the user can directly start the wireless communication function of the signal receiver 11 and the signal transmitter 12 to carry out Wireless data transmission. Moreover, in steps S201 to S211, due to the step of the host device 10 detecting the signal receiver 11 and the signal transmitter 12, the step of the host device 10 identifying at least one first wireless communication parameter and at least one second wireless communication parameter, the host device The step of generating at least one paired wireless communication parameter corresponding to the user setting by the device 10 is completed through wired data transmission without broadcasting any wireless signal. Therefore, the wireless communication pairing system 100 can greatly reduce the probability of wireless communication parameters being stolen.
图3为无线通信配对系统100,执行通道设定的流程图。图4为通道设定的流程中,由多个可用无线通道中选出被选择的无线通道的示意图。于此说明,本发明的无线通信配对的流程可只包含图2所述的步骤S201至步骤S211,即具有大幅降低无线通信参数被窃取的几率的技术效果。然而,为了最佳化信号接收器11以及信号发送器12之间的无线通道设定。本发明还公开了通道设定的流程。换句话说,图3的通道设定的流程可为在步骤S210之后的后续步骤。因此,执行图2的配对流程以及图3的通道设定的流程后,信号接收器11及信号发送器12的无线通信参数被盗用的风险不仅可以大幅降低,信号接收器11及信号发送器12之间的通道设定也可以被最佳化,因此可提升无线通信的品质。通道设定的流程包含步骤S301至步骤S306。然而,任何合理的步骤变换以及新增/省略步骤皆属于本发明的范畴。步骤S301至步骤S306描述于下:FIG. 3 is a flow chart of channel setting performed by the wireless communication pairing system 100 . FIG. 4 is a schematic diagram of selecting a selected wireless channel from multiple available wireless channels in the process of channel setting. Herein, the wireless communication pairing process of the present invention may only include steps S201 to S211 shown in FIG. 2 , which has the technical effect of greatly reducing the probability of wireless communication parameters being stolen. However, in order to optimize the wireless channel setting between the signal receiver 11 and the signal transmitter 12 . The invention also discloses the flow of channel setting. In other words, the flow of channel setting in FIG. 3 may be a subsequent step after step S210. Therefore, after executing the pairing process in FIG. 2 and the channel setting process in FIG. 3 , the risk of the wireless communication parameters of the signal receiver 11 and the signal transmitter 12 being stolen can not only be greatly reduced, but also the signal receiver 11 and the signal transmitter 12 The channel settings between can also be optimized, thus improving the quality of wireless communication. The flow of channel setting includes step S301 to step S306. However, any reasonable step transformation and addition/omission of steps fall within the scope of the present invention. Step S301 to step S306 are described as follows:
步骤S301:辨识信号接收器11及信号发送器12之间的多个可用无线通道的信息;Step S301: Identify the information of multiple available wireless channels between the signal receiver 11 and the signal transmitter 12;
步骤S302:检测多个可用无线通道中是否至少一个可用无线通道被干扰?若是,进入步骤S303;若否,进入步骤S306;Step S302: Detect whether at least one available wireless channel among the multiple available wireless channels is interfered? If yes, enter step S303; if no, enter step S306;
步骤S303:主机装置10启动通道设定程序,并告知使用者;Step S303: the host device 10 starts the channel setting program and informs the user;
步骤S304:使用者通过主机装置10由多个可用无线通道中选出至少一个被选择的无线通道;Step S304: the user selects at least one selected wireless channel from a plurality of available wireless channels through the host device 10;
步骤S305:通道设定完成。Step S305: The channel setting is completed.
步骤S306:使用者是否请求启动通道设定程序以设定传输通道?若是,进入步骤S303;若否,进入步骤S305而完成通道设定。Step S306: Does the user request to activate the channel setting program to set the transmission channel? If yes, go to step S303; if not, go to step S305 to complete channel setting.
在步骤S301中,主机装置10会辨识信号接收器11及信号发送器12之间的多个可用无线通道(Available Wireless Channel)的信息。举例而言,如图4所示,主机装置10会辨识信号接收器11及信号发送器12之间原本预设的多个无线通道CH1至CH4,其中无线通道CH1对应的频带范围为B1、无线通道CH2对应的频带范围为B2、无线通道CH3对应的频带范围为B3、无线通道CH4对应的频带范围为B4。由于无线通信环境会导致某些频谱发生通道增益(Channel Gain)衰减,例如阴影效应(Shadow Effect)或是同频带信号干扰。因此对于多个无线通道CH1至CH4而言,每一个通道对应的接收信号强度指标(Received SignalStrength Indicator,RSSI)信息也会不同。接着,在步骤S302中,主机装置10检测多个可用无线通道中是否至少一个可用无线通道被干扰(Channel Interference)。而检测通道被干扰的依据可为前述的RSSI信息、训练信号(Pilot Signals)的讯杂比(SNR)、或是任何判断无线通道的通道增益是否衰减(Fading)的演算法。举例而言,在图4中,无线通道CH4发生较大干扰,导致通道增益严重衰减以及RSSI严重降低的情况。此时,依据步骤S303,主机装置10会启动通道设定程序,并告知使用者。反之,若多个无线通道都没有被干扰,则依据步骤S306,主机装置10将会询问使用者是否请求启动通道设定程序以变动传输通道?若是,进入步骤S303;若否,进入步骤S305并完成通道设定。换句话说,进入步骤S303的启动通道设定程序的条件有两种。第一种为多个可用无线通道中至少一个可用无线通道被干扰,主机装置10会启动通道设定程序。第二种为多个可用无线通道均未被干扰,但是使用者请求启动通道设定程序时,主机装置10亦会启动通道设定程序。之后,依据步骤S304,使用者通过主机装置10由多个可用无线通道中选出至少一个被选择的无线通道。举例而言,如图4所示,使用者可以由多个可用无线通道CH1至CH4中选出一个干扰程度最小的无线通道CH2。然而,步骤S304的也可合理变更为任何具备回避使用被干扰的无线通道的步骤。举例而言,在步骤S304中,若多个可用无线通道均被严重干扰,使用者可以设定新的无线通道CH5(如图4所示),并设定其对应的频带范围B5。随后,使用者可以选择新的无线通道CH5做为无线传输的信号频谱范围。当使用者依据步骤S304选出至少一个被选择的无线通道后,至少一个被选择的无线通道将会被应用于信号接收器11及信号发送器12之间的无线传输,并依据步骤S305结束通道设定程序。因此,在执行步骤S301至步骤S306后,信号接收器11及信号发送器12将不会使用被严重干扰的无线通道的对应频带进行信号传输。甚至所有预设的无线通道都被严重干扰时,使用者仍可以自订信号传输频带以避免接收信号强度严重失真。换句话说,步骤S301至步骤S306的通道设定程序保证了信号接收器11及信号发送器12之间的无线信号传输品质,以使信号接收器11及信号发送器12之间的操作具备更高的可靠度。In step S301 , the host device 10 identifies information of multiple available wireless channels (Available Wireless Channels) between the signal receiver 11 and the signal transmitter 12 . For example, as shown in FIG. 4, the host device 10 will identify a plurality of wireless channels CH1 to CH4 originally preset between the signal receiver 11 and the signal transmitter 12, wherein the frequency band corresponding to the wireless channel CH1 is B1, wireless The frequency band range corresponding to the channel CH2 is B2, the frequency band range corresponding to the wireless channel CH3 is B3, and the frequency band range corresponding to the wireless channel CH4 is B4. Due to the wireless communication environment, channel gain (Channel Gain) attenuation will occur in certain frequency spectrums, such as shadow effect (Shadow Effect) or signal interference in the same frequency band. Therefore, for multiple wireless channels CH1 to CH4, the received signal strength indicator (Received Signal Strength Indicator, RSSI) information corresponding to each channel will also be different. Next, in step S302, the host device 10 detects whether at least one of the available wireless channels is interfered (Channel Interference). The basis for detecting channel interference can be the aforementioned RSSI information, the signal-to-noise ratio (SNR) of the training signal (Pilot Signals), or any algorithm for judging whether the channel gain of the wireless channel is fading. For example, in FIG. 4 , the wireless channel CH4 has a large interference, which leads to a serious attenuation of the channel gain and a serious decrease of the RSSI. At this time, according to step S303, the host device 10 will start the channel setting program and notify the user. On the contrary, if the multiple wireless channels are not disturbed, then according to step S306, the host device 10 will ask the user whether to request to start the channel setting program to change the transmission channel? If yes, go to step S303; if not, go to step S305 and complete channel setting. In other words, there are two conditions for entering the channel setting program of step S303. The first type is that at least one of the available wireless channels is interfered, and the host device 10 will start a channel setting procedure. The second type is that multiple available wireless channels are not interfered, but when the user requests to start the channel setting program, the host device 10 will also start the channel setting program. Afterwards, according to step S304 , the user selects at least one selected wireless channel from a plurality of available wireless channels through the host device 10 . For example, as shown in FIG. 4 , the user can select a wireless channel CH2 with the least interference from a plurality of available wireless channels CH1 to CH4. However, step S304 can also be reasonably changed to any step that avoids using the interfered wireless channel. For example, in step S304, if multiple available wireless channels are severely interfered, the user can set a new wireless channel CH5 (as shown in FIG. 4 ) and set its corresponding frequency band range B5. Then, the user can select the new wireless channel CH5 as the signal spectrum range for wireless transmission. When the user selects at least one selected wireless channel according to step S304, at least one selected wireless channel will be applied to the wireless transmission between the signal receiver 11 and the signal transmitter 12, and the channel is ended according to step S305 Set the program. Therefore, after performing steps S301 to S306, the signal receiver 11 and the signal transmitter 12 will not use the corresponding frequency band of the seriously interfered wireless channel for signal transmission. Even when all preset wireless channels are severely interfered, users can still customize the signal transmission frequency band to avoid severe distortion of received signal strength. In other words, the channel setting procedure from step S301 to step S306 ensures the wireless signal transmission quality between the signal receiver 11 and the signal transmitter 12, so that the operation between the signal receiver 11 and the signal transmitter 12 has better high reliability.
本发明的无线通信配对系统100,除了利用主机装置10将信号接收器11及信号发送器12进行无线通信配对之外,在其它实施例中,信号接收器11及信号发送器12也可以实现自我配对的功能。例如,信号发送器12可保留一个收纳槽。当信号接收器11(USB Dongle)放进信号发送器12的收纳槽时,只要保持电源开启,信号发送器12以及信号接收器11就可用内建的有线连接端连接,而完成无线通信的自我配对。In the wireless communication pairing system 100 of the present invention, in addition to using the host device 10 to pair the signal receiver 11 and the signal transmitter 12 for wireless communication, in other embodiments, the signal receiver 11 and the signal transmitter 12 can also realize self- pairing function. For example, the signal transmitter 12 may retain a storage slot. When the signal receiver 11 (USB Dongle) is placed in the storage slot of the signal transmitter 12, as long as the power is turned on, the signal transmitter 12 and the signal receiver 11 can be connected with the built-in wired connection terminal to complete the wireless communication. pair.
综上所述,本发明描述了一种无线通信配对方法及其系统。信号接收器以及信号发送器均通过有线连接端与主机装置连接。主机装置上的软件/应用程序会取得信号接收器以及信号发送器相关的配对数据并进行比较,若相同,则表示信号接收器以及信号发送器已经成对,除非使用者要求修改配对参数,否则不会做额外的处理。若不同,软件/应用程序会主动询问使用者使否进行同步与配对,同时也会提供操作接口让使用者自订配对参数,或是依照系统建议的内定配对参数进行处理。由于所有的配对步骤均利用有线传输的数据通信而完成,并不会广播任何的无线信号,主机装置仅视为在配对过程中的数据传输媒介。因此,本发明的无线通信配对系统能够大幅降低无线通信参数被窃取的几率。并且,为了降低无线通信被干扰的几率,本发明的无线通信配对方法可以再执行通道设定的步骤。主机装置上的软件/应用程序会取得目前可用的无线通道被干扰的情况,若发现某些预定通道被干扰而导致装置无法正常使用时,会主动告知使用者以选择适合信号传输的通道。使用者可以通过软件/应用程序直接选取适合信号传输的通道,或是依据系统建议的通道来变更无线传输所用的通道。因此,信号接收器及信号发送器之间的操作将具备更高的可靠度。In summary, the present invention describes a wireless communication pairing method and system thereof. Both the signal receiver and the signal transmitter are connected to the host device through a wired connection terminal. The software/application on the host device will obtain and compare the pairing data related to the signal receiver and the signal transmitter. If they are the same, it means that the signal receiver and the signal transmitter have been paired. Unless the user requests to modify the pairing parameters, otherwise No additional processing will be done. If not, the software/application program will actively ask the user whether to perform synchronization and pairing, and also provide an operation interface for the user to customize the pairing parameters, or process according to the default pairing parameters suggested by the system. Since all the pairing steps are completed by data communication through wired transmission without broadcasting any wireless signal, the host device is only regarded as a data transmission medium during the pairing process. Therefore, the wireless communication pairing system of the present invention can greatly reduce the probability of wireless communication parameters being stolen. Moreover, in order to reduce the possibility of wireless communication being interfered, the wireless communication pairing method of the present invention may further perform the step of channel setting. The software/application program on the host device will obtain information about the interference of currently available wireless channels, and if it finds that some predetermined channels are interfered and the device cannot be used normally, it will actively notify the user to select a suitable channel for signal transmission. Users can directly select the channel suitable for signal transmission through the software/app, or change the channel used for wireless transmission according to the channel suggested by the system. Therefore, the operation between the signal receiver and the signal transmitter will have higher reliability.
以上所述仅为本发明的较佳实施例,凡依本发明权利要求所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611110357.0A CN108616843A (en) | 2016-12-06 | 2016-12-06 | Wireless communication pairing method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611110357.0A CN108616843A (en) | 2016-12-06 | 2016-12-06 | Wireless communication pairing method and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108616843A true CN108616843A (en) | 2018-10-02 |
Family
ID=63643531
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611110357.0A Pending CN108616843A (en) | 2016-12-06 | 2016-12-06 | Wireless communication pairing method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108616843A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112543234A (en) * | 2020-12-09 | 2021-03-23 | 深圳市工匠社科技有限公司 | Wired pairing method, device, robot and system |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1075389A (en) * | 1992-02-10 | 1993-08-18 | 莫托罗拉公司 | The method and apparatus of optimum channel assignment |
| CN1192114A (en) * | 1997-02-25 | 1998-09-02 | 三星电子株式会社 | Method for establishing a call in a wireless communication system |
| CN1221542A (en) * | 1996-06-06 | 1999-06-30 | Gte移动通信服务公司 | Multi-mode communication network with mobile phone selection channel allocation function |
| CN1247677A (en) * | 1997-02-27 | 2000-03-15 | 诺基亚电信公司 | Method of implementing dynamic channel allocation in cellular radio system |
| US20020039888A1 (en) * | 2000-09-29 | 2002-04-04 | Seiko Epson Corporation | Wireless communication device |
| CN2814829Y (en) * | 2005-08-05 | 2006-09-06 | 深圳Tcl新技术有限公司 | Apparatus for 2.4 GHZ radio simulating near-distance transmitting audio-video frequency signal |
| CN101311886A (en) * | 2008-07-07 | 2008-11-26 | 圆展科技股份有限公司 | Wireless presentation system and pairing method applied to same |
| CN101650606A (en) * | 2008-08-12 | 2010-02-17 | 金宝电子工业股份有限公司 | Wireless input device and frequency channel pairing method thereof |
| CN105284055A (en) * | 2013-06-10 | 2016-01-27 | 索诺瓦公司 | Wireless sound transmission system and method |
-
2016
- 2016-12-06 CN CN201611110357.0A patent/CN108616843A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1075389A (en) * | 1992-02-10 | 1993-08-18 | 莫托罗拉公司 | The method and apparatus of optimum channel assignment |
| CN1221542A (en) * | 1996-06-06 | 1999-06-30 | Gte移动通信服务公司 | Multi-mode communication network with mobile phone selection channel allocation function |
| CN1192114A (en) * | 1997-02-25 | 1998-09-02 | 三星电子株式会社 | Method for establishing a call in a wireless communication system |
| CN1247677A (en) * | 1997-02-27 | 2000-03-15 | 诺基亚电信公司 | Method of implementing dynamic channel allocation in cellular radio system |
| US20020039888A1 (en) * | 2000-09-29 | 2002-04-04 | Seiko Epson Corporation | Wireless communication device |
| CN2814829Y (en) * | 2005-08-05 | 2006-09-06 | 深圳Tcl新技术有限公司 | Apparatus for 2.4 GHZ radio simulating near-distance transmitting audio-video frequency signal |
| CN101311886A (en) * | 2008-07-07 | 2008-11-26 | 圆展科技股份有限公司 | Wireless presentation system and pairing method applied to same |
| CN101650606A (en) * | 2008-08-12 | 2010-02-17 | 金宝电子工业股份有限公司 | Wireless input device and frequency channel pairing method thereof |
| CN105284055A (en) * | 2013-06-10 | 2016-01-27 | 索诺瓦公司 | Wireless sound transmission system and method |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112543234A (en) * | 2020-12-09 | 2021-03-23 | 深圳市工匠社科技有限公司 | Wired pairing method, device, robot and system |
| CN112543234B (en) * | 2020-12-09 | 2021-06-25 | 深圳市工匠社科技有限公司 | Wired pairing method, device, robot and system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110072219B (en) | Electronic device, method, and computer-readable medium for wireless proximity pairing | |
| CN106230492B (en) | Terminal antenna switching method and device and mobile terminal | |
| CN110381490B (en) | Communication method for wireless earphone, wireless earphone and wireless equipment | |
| CN102149167A (en) | Automatic pairing method for wireless network | |
| US12336033B2 (en) | Device control method, computer-readable storage medium, and electronic device for dual Wi-Fi | |
| CN105491635A (en) | Matching method, device and system of wireless equipment | |
| CN106411865A (en) | A data transmission method, device and terminal | |
| CN103885917A (en) | Electronic apparatus, connector and earphone | |
| CN104170287A (en) | Method and apparatus to prevent receiver desensitization from radiated hdmi signals in accessory or computing devices | |
| CN105915731A (en) | Data transmission method and mobile terminal | |
| CN108616843A (en) | Wireless communication pairing method and system | |
| CN108337715B (en) | Wireless network connection method, device, terminal equipment and storage medium | |
| CN109298846B (en) | Audio transmission method, device, electronic device and storage medium | |
| CN113766406B (en) | Earphone testing method, system and device | |
| CN108337718B (en) | Wireless network scanning method, device, terminal device and storage medium | |
| CN114124149B (en) | Frequency hopping channel selection method and device, communication method and device, communication system | |
| CN104900045B (en) | A kind of method for transmitting signals, electronic equipment and control system | |
| US10547938B2 (en) | Audio signal transmission | |
| CN108833033B (en) | Method, device, storage medium and mobile terminal for determining radio frequency calibration parameters | |
| EP3046371A1 (en) | Method for exchanging information between a group of emitter receiver devices | |
| US10149329B2 (en) | Electronic device and control method thereof | |
| TWI647968B (en) | Wireless communications pairing method and system thereof | |
| CN113824511A (en) | Detection method and device for diversity antenna, electronic equipment and storage medium | |
| CN108769368A (en) | Electronic equipment and information processing method | |
| CN111740963A (en) | Data communication method and device |
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: 20181002 |