TWI385964B - Wireless network accessing device and pairing method - Google Patents

Wireless network accessing device and pairing method Download PDF

Info

Publication number
TWI385964B
TWI385964B TW97143110A TW97143110A TWI385964B TW I385964 B TWI385964 B TW I385964B TW 97143110 A TW97143110 A TW 97143110A TW 97143110 A TW97143110 A TW 97143110A TW I385964 B TWI385964 B TW I385964B
Authority
TW
Taiwan
Prior art keywords
pairing
network access
wireless network
access device
wireless communication
Prior art date
Application number
TW97143110A
Other languages
Chinese (zh)
Other versions
TW201019646A (en
Inventor
Chien Hua Chen
Yu Hsin Lin
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW97143110A priority Critical patent/TWI385964B/en
Publication of TW201019646A publication Critical patent/TW201019646A/en
Application granted granted Critical
Publication of TWI385964B publication Critical patent/TWI385964B/en

Links

Description

無線網路接入設備及其配對方法 Wireless network access device and matching method thereof

本發明涉及網路接入,尤其涉及一種網路接入設備及其與無線通訊設備進行配對的方法。 The present invention relates to network access, and in particular, to a network access device and a method for pairing the same with a wireless communication device.

隨著無線技術及產品的飛速發展,無線通訊設備的用戶對無線網路接入設備的安全性能的要求也日益增加。例如,目前常用的支援無線保真(Wireless Fidelity,Wi-Fi)通訊之雙模手機主要藉由安全超文本傳輸協定(Hypertext Transfer Protocol Secure,HTTPS)來完成與無線網路接入設備的配對。在使用過程中,雙模手機使用者只需按下手機上的配對鍵,透過HTTPS的機制向無線網路接入設備提出配對請求。無線網路接入設備在收到配對請求後驗證其身份,並提供用來加密的共享密鑰,即完成配對。之後,無線網路接入設備與雙模手機即可藉此建立加密的無線連線來傳送語音資料。此種配對模式能讓使用者在非常簡便的情況下,享受安全無虞的無線網路電話語音之功能。 With the rapid development of wireless technologies and products, users of wireless communication devices are increasingly demanding the security performance of wireless network access devices. For example, the commonly used dual-mode mobile phone supporting Wireless Fidelity (Wi-Fi) communication is mainly paired with a wireless network access device by using Hypertext Transfer Protocol Secure (HTTPS). During use, the dual-mode mobile phone user simply presses the pairing button on the mobile phone to make a pairing request to the wireless network access device through the HTTPS mechanism. The wireless network access device verifies its identity upon receipt of the pairing request and provides a shared key for encryption, ie, the pairing is completed. After that, the wireless network access device and the dual-mode mobile phone can establish an encrypted wireless connection to transmit voice data. This pairing mode allows users to enjoy the security of wireless Internet phone voice in a very simple situation.

然,無線網路接入設備在使用HTTPS的階段前,需要先關閉使用中的無線安全機制以進行配對,此時若非法盜用者比合法使用者先按下配對鍵,就會導致合法使用者在不知情的情況下被拒絕連線,進而對無線網路接入設備的滿意度大大降低。同時,非法盜用者不僅可以使用通話連線服務,亦可得到所有無線網路加密的密碼等資料。更進一步,非法使用者還可以偷偷竊取合法使用者往 後所寄出的加密無線封包,並做解密的動作,嚴重危害通訊安全。 However, before using the HTTPS phase, the wireless network access device needs to turn off the wireless security mechanism in use for pairing. In this case, if the illegal pirate presses the pairing button before the legitimate user, the legitimate user will be caused. The connection was denied without knowing, and the satisfaction with the wireless network access device was greatly reduced. At the same time, illegal pirates can not only use the call connection service, but also all passwords such as passwords encrypted by the wireless network. Further, illegal users can also secretly steal legitimate users. After the encrypted wireless packet sent and decrypted, it seriously jeopardizes communication security.

有鑑於此,需提供一種無線網路接入設備,可有效防止在其與無線通訊設備配對時非法盜用者比合法使用者先按下配對鍵時的安全漏洞,提昇安全性能。 In view of this, it is necessary to provide a wireless network access device, which can effectively prevent a security hole when an illegal pirate first presses a pairing button when a pair is paired with a wireless communication device, thereby improving security performance.

此外,還需提供一種無線網路接入設備與無線通訊設備進行配對的方法,可有效防止在無線網路接入設備與無線通訊設備配對時非法盜用者比合法使用者先按下配對鍵時的安全漏洞,提昇安全性能。 In addition, it is also necessary to provide a method for pairing a wireless network access device with a wireless communication device, which can effectively prevent an illegal pirate from pressing a pairing button when a wireless network access device is paired with a wireless communication device. Security vulnerabilities to improve security.

一種無線網路接入設備,提供複數訊號燈用於與無線通訊設備進行配對,該無線網路接入設備包括:儲存模組、準備模組、亮燈模組、匹配模組及配對模組。儲存模組用於存儲燈碼對照表,燈碼對照表包括訊號燈狀態以及與訊號燈狀態相對應之配對碼,其中配對碼用於驗證與該無線網路接入設備配對之無線通訊設備是否合法。準備模組用於接收到開始配對的訊號後關閉該無線網路接入設備之加密機制以做好配對準備。亮燈模組用於在該無線網路接入設備做好配對準備後隨機選擇該燈碼對照表中的一個狀態,並根據所選擇之狀態驅動該等訊號燈處於相應狀態。匹配模組用於從該無線通訊設備接收配對請求並獲取其中的配對碼,並判斷該配對請求中的配對碼是否匹配該亮燈模組所選擇之訊號燈狀態在該燈碼對照表內所對應之配對碼。配對模組用於在該配對請求中的配對碼匹配該亮燈模組所選擇之訊號燈狀態所對 應之配對碼時實現與該無線通訊設備之配對。 A wireless network access device provides a plurality of signal lights for pairing with a wireless communication device, the wireless network access device comprising: a storage module, a preparation module, a lighting module, a matching module, and a pairing module . The storage module is configured to store a light code comparison table, where the light code comparison table includes a signal light state and a pairing code corresponding to the state of the signal light, wherein the pairing code is used to verify whether the wireless communication device paired with the wireless network access device is legitimate. The preparation module is configured to close the encryption mechanism of the wireless network access device after receiving the signal for starting the pairing to prepare for pairing. The lighting module is configured to randomly select a state in the light code comparison table after the wireless network access device is ready for pairing, and drive the signal lights to be in a corresponding state according to the selected state. The matching module is configured to receive a pairing request from the wireless communication device, obtain a pairing code therein, and determine whether the pairing code in the pairing request matches the signal state selected by the lighting module in the light code comparison table. Corresponding pairing code. The pairing module is configured to match the pairing code in the pairing request to the state of the signal light selected by the lighting module. Pairing with the wireless communication device is achieved when the pairing code is applied.

一種無線網路接入設備與無線通訊設備進行配對的方法,該無線網路接入設備提供複數訊號燈,該配對方法包括以下步驟:預設置燈碼對照表,該燈碼對照表包括該等訊號燈之狀態以及與該等狀態相對應之配對碼,其中配對碼用於驗證與該無線網路接入設備配對之無線通訊設備是否合法;接收到開始配對的訊號;關閉該無線網路接入設備之加密機制以做好配對準備;隨機選擇該燈碼對照表中的一種狀態;根據所選擇之狀態驅動該等訊號燈處於相應狀態;從該無線通訊設備接收配對請求,該配對請求包括一配對碼;判斷該配對請求中的配對碼是否匹配所選擇之狀態在該燈碼對照表內所對應之配對碼;及若該配對請求中的配對碼匹配所選擇之狀態在該燈碼對照表內所對應之配對碼,則實現該無線網路接入設備與該無線通訊設備之配對。 A method for pairing a wireless network access device with a wireless communication device, the wireless network access device providing a plurality of signal lights, the pairing method comprising the steps of: presetting a light code comparison table, the light code comparison table including the a status of the signal light and a pairing code corresponding to the status, wherein the pairing code is used to verify whether the wireless communication device paired with the wireless network access device is legal; receiving a signal to start pairing; and closing the wireless network Entering the encryption mechanism of the device to prepare for pairing; randomly selecting a state in the light code comparison table; driving the signal lights to be in a corresponding state according to the selected state; receiving a pairing request from the wireless communication device, the pairing request includes a pairing code; determining whether the pairing code in the pairing request matches a pairing code corresponding to the selected state in the light code comparison table; and if the pairing code in the pairing request matches the selected state in the light code comparison The pairing code corresponding to the table implements pairing of the wireless network access device with the wireless communication device.

藉由以下對具體實施方式詳細的描述並結合附圖,將可輕易的瞭解上述內容及此項發明之技術效果。 The above and the technical effects of the invention can be easily understood from the following detailed description of the embodiments and the accompanying drawings.

參閱圖1,所示為本發明一實施方式之無線網路接入設備10之實施環境及功能模組圖。在本實施方式中,無線網路接入設備10用於與無線通訊設備20配對,配對係指無線網路接入設備10與無線通訊設備20為建立無線通訊所完成的一系列動作,如身分驗證、密鑰等資訊的交換,在完成配對後,無線通訊設備20即可藉由無線網路接入設備10實現其無線通訊功能。無線網路接入設備10與無 線通訊設備20藉由安全超文本傳輸協定(Hypertext Transfer Protocol Secure,HTTPS)通訊。其中,無線網路接入設備10支援Wi-Fi通訊,可為無線路由器、無線交換機、纜線數據機等。無線通訊設備20可為支援Wi-Fi通訊之電話、電腦等需要接入無線網路之通訊設備。 Referring to FIG. 1, a diagram of an implementation environment and a function module of a wireless network access device 10 according to an embodiment of the present invention is shown. In this embodiment, the wireless network access device 10 is used to pair with the wireless communication device 20, and the pairing refers to a series of actions performed by the wireless network access device 10 and the wireless communication device 20 to establish wireless communication, such as identity. After the information is exchanged, the wireless communication device 20 can realize its wireless communication function by the wireless network access device 10 after the pairing is completed. Wireless network access device 10 and none The line communication device 20 communicates via Hypertext Transfer Protocol Secure (HTTPS). The wireless network access device 10 supports Wi-Fi communication, and can be a wireless router, a wireless switch, a cable modem, or the like. The wireless communication device 20 can be a communication device that needs to access a wireless network, such as a telephone or a computer that supports Wi-Fi communication.

在本實施方式中,無線網路接入設備10提供複數訊號燈100。一般情況下,無線網路接入設備10上設有發光二極體(light emitting diode,LED)燈,用於藉由其狀態來表徵對應埠口的工作狀態。在本實施方式中,訊號燈可為該等LED燈,其狀態包括不亮、恆亮、閃爍。在其他實施方式中,訊號燈狀態還可以包括訊號燈呈不同顏色。 In the present embodiment, the wireless network access device 10 provides a plurality of signal lights 100. Generally, the wireless network access device 10 is provided with a light emitting diode (LED) lamp for characterizing the working state of the corresponding port by its state. In this embodiment, the signal light may be the LED lights, and the states thereof include no light, constant light, and flicker. In other embodiments, the signal light status may further include the signal lights being in different colors.

在本實施方式中,無線網路接入設備10包括儲存模組101、準備模組102、亮燈模組104、匹配模組106及配對模組108。 In this embodiment, the wireless network access device 10 includes a storage module 101, a preparation module 102, a lighting module 104, a matching module 106, and a pairing module 108.

儲存模組101用於儲存燈碼對照表1010。在本實施方式中,燈碼對照表1010係預先設定好並存儲在無線網路接入設備10中,包括複數訊號燈狀態以及與該等訊號燈狀態相對應之配對碼。其中配對碼用於驗證與無線網路接入設備配對之無線通訊設備是否合法,可採用大寫或小寫英文字母、阿拉伯數字或其結合等多種表達方式。參閱圖2,所示為本發明一實施方式之燈碼對照表1010之示意圖。在本實施方式中,以四個訊號燈為例來說明燈碼對照表1010之設置,圖2未示出所有的狀態與對應之配對碼 之設置。在此,假設無線網路接入設備10包括第一訊號燈1000、第二訊號燈1002、第三訊號燈1004及第四訊號燈1006,燈碼對照表1010可預設為多種狀態及其對應之配對碼,如,預設一種狀態為第一訊號燈1000與第四訊號燈1006恆亮且第二訊號燈1002與第三訊號燈1004不亮時,配對碼對應為“a”,預設另一種狀態為第一訊號燈1000與第四訊號燈1006閃爍且第二訊號燈1002與第三訊號燈1004不亮時,配對碼對應為“A”。在本實施方式中,為了方便用戶讀取,可將燈碼對照表1010製作成易懂的表格貼在無線網路接入設備10的外殼上。 The storage module 101 is configured to store a light code comparison table 1010. In the present embodiment, the light code comparison table 1010 is preset and stored in the wireless network access device 10, and includes a plurality of signal lights and a pairing code corresponding to the state of the signal lights. The pairing code is used to verify whether the wireless communication device paired with the wireless network access device is legal, and may use multiple expressions such as uppercase or lowercase English letters, Arabic numerals or a combination thereof. Referring to FIG. 2, a schematic diagram of a lamp code comparison table 1010 according to an embodiment of the present invention is shown. In this embodiment, four light signals are taken as an example to illustrate the setting of the light code comparison table 1010. FIG. 2 does not show all the states and corresponding pairing codes. The setting. Here, it is assumed that the wireless network access device 10 includes a first signal light 1000, a second signal light 1002, a third signal light 1004, and a fourth signal light 1006. The light code comparison table 1010 can be preset to various states and corresponding thereto. The pairing code, for example, when the first signal lamp 1000 and the fourth signal lamp 1006 are always on and the second signal lamp 1002 and the third signal lamp 1004 are not lit, the pairing code is corresponding to “a”, preset In another state, when the first signal lamp 1000 and the fourth signal lamp 1006 are blinking and the second signal lamp 1002 and the third signal lamp 1004 are not lit, the pairing code corresponds to "A". In the present embodiment, in order to facilitate the user's reading, the light code comparison table 1010 can be made into an easy-to-understand form attached to the outer casing of the wireless network access device 10.

準備模組102用於接收到開始配對的訊號後關閉無線網路接入設備10之加密機制以做好配對準備。在本實施方式中,無線網路接入設備10有一套加密機制,並藉由該加密機制與其他設備進行通訊。由於無線網路接入設備10與無線通訊設備20在完成配對前藉由HTTPS通訊,故,需要先行關閉該加密機制。在本實施方式中,使用無線通訊設備20之合法用戶按下無線網路接入設備10上之配對按鈕,指示無線網路接入設備10開始配對,此時,無線網路接入設備10即接收到開始配對之訊號,隨後關閉加密機制,以做好配對準備。 The preparation module 102 is configured to close the encryption mechanism of the wireless network access device 10 after receiving the signal to start pairing to prepare for pairing. In this embodiment, the wireless network access device 10 has a set of encryption mechanisms and communicates with other devices through the encryption mechanism. Since the wireless network access device 10 and the wireless communication device 20 communicate by HTTPS before pairing is completed, the encryption mechanism needs to be turned off first. In this embodiment, the legitimate user using the wireless communication device 20 presses the pairing button on the wireless network access device 10 to instruct the wireless network access device 10 to start pairing. At this time, the wireless network access device 10 Receive the signal to start pairing, and then turn off the encryption mechanism to prepare for pairing.

亮燈模組104用於在準備模組做好配對準備後隨機選擇燈碼對照表1010中的一個狀態,並根據所選擇之狀態驅動訊號燈處於相應狀態。舉例而言,亮燈模組104選取到第一訊號燈1000與第四訊號燈1006恆亮且第二訊號燈1002與第三訊號燈1004不亮的狀態,則亮燈模組104驅動第一 訊號燈1000與第四訊號燈1006處於恆亮狀態,驅動第二訊號燈1002與第三訊號燈1004處於不亮狀態。此時,無線通訊設備20的用戶看到訊號燈狀態後,就比對燈碼對照表1010來確定相應的配對請求中的配對碼。例如,用戶看到第一訊號燈1000與第四訊號燈1006恆亮,第二訊號燈1002與第三訊號燈1004不亮,則依據無線網路接入設備10的外殼上的燈碼對照表1010來確定配對請求中的配對碼為“a”。在本實施方式中,因無線通訊設備20藉由HTTPS機制連接無線網路接入設備10,故,當無線通訊設備20需要與無線網路接入設備10配對時,就會發送配對請求到無線網路接入設備10。在本實施方式中,配對請求可為“https://IP_Address/pair/配對碼”,其中,IP_Address為無線網路接入設備10之網際網路協定(Internet Protocol,IP)位址。 The lighting module 104 is configured to randomly select a state in the lamp code comparison table 1010 after the preparation module is ready for pairing, and drive the signal lamp to be in a corresponding state according to the selected state. For example, when the lighting module 104 selects that the first signal lamp 1000 and the fourth signal lamp 1006 are constantly on, and the second signal lamp 1002 and the third signal lamp 1004 are not lit, the lighting module 104 drives the first The signal lamp 1000 and the fourth signal lamp 1006 are in a steady state, and the second signal lamp 1002 and the third signal lamp 1004 are driven to be in a non-light state. At this time, after the user of the wireless communication device 20 sees the status of the signal light, the pairing code in the corresponding pairing request is determined by comparing the light code comparison table 1010. For example, if the user sees that the first signal lamp 1000 and the fourth signal lamp 1006 are constantly on, and the second signal lamp 1002 and the third signal lamp 1004 are not lit, the light code comparison table on the outer casing of the wireless network access device 10 is used. 1010 to determine that the pairing code in the pairing request is "a". In the present embodiment, since the wireless communication device 20 is connected to the wireless network access device 10 by the HTTPS mechanism, when the wireless communication device 20 needs to be paired with the wireless network access device 10, a pairing request is sent to the wireless device. Network access device 10. In this embodiment, the pairing request may be “https://IP_Address/pair/pairing code”, where IP_Address is an Internet Protocol (IP) address of the wireless network access device 10.

匹配模組106用於從無線通訊設備20接收配對請求,並獲取其中的配對碼,再判斷配對請求中的配對碼是否匹配亮燈模組104所選擇之訊號燈狀態在燈碼對照表1010內所對應之配對碼。若配對請求中的配對碼與亮燈模組104所選擇之狀態在燈碼對照表1010內所對應之配對碼一致,則說明無線通訊設備20係合法用戶,應實現與其配對;反之則說明無線通訊設備20係非法用戶,應拒絕與其配對。 The matching module 106 is configured to receive a pairing request from the wireless communication device 20, and obtain a pairing code therein, and then determine whether the pairing code in the pairing request matches the signal state selected by the lighting module 104 in the light code comparison table 1010. Corresponding pairing code. If the pairing code in the pairing request is consistent with the pairing code corresponding to the state selected by the lighting module 104 in the light code comparison table 1010, it indicates that the wireless communication device 20 is a legitimate user and should be paired with it; The communication device 20 is an illegal user and should be refused to pair with it.

配對模組108用於在配對請求中的配對碼匹配亮燈模組104所選擇之狀態在燈碼對照表1010內所對應之配對碼時實現與無線通訊設備20之配對,在配對請求中的配對碼 不匹配亮燈模組104所選擇之狀態在燈碼對照表1010內所對應之配對碼時拒絕與無線通訊設備20之配對。在本實施方式中,配對模組108回饋可擴展標記語言(eXtensible Markup Language,XML)文件至無線通訊設備20,以實現配對,其中XML文件中包含加密參數,如有線等位私密(Wired Equivalent Privacy,WEP)、Wi-Fi保護訪問(Wi-Fi Protected Access,WPA)、WPA2等。至此,合法用戶即可順利藉由無線網路接入設備10連線,而非法用戶則不能,因而有效保護了合法用戶的權益及隱私。 The pairing module 108 is configured to implement pairing with the wireless communication device 20 when the pairing code in the pairing request matches the pairing code corresponding to the state selected by the lighting module 104 in the light code comparison table 1010, in the pairing request. Pairing code The state selected by the unmatched lighting module 104 rejects the pairing with the wireless communication device 20 when the pairing code corresponding to the light code comparison table 1010 corresponds. In this embodiment, the pairing module 108 feeds back an eXtensible Markup Language (XML) file to the wireless communication device 20 to implement pairing, wherein the XML file contains encryption parameters, such as Wired Equivalent Privacy. , WEP), Wi-Fi Protected Access (WPA), WPA2, etc. At this point, legitimate users can successfully connect through the wireless network access device 10, while illegal users cannot, thus effectively protecting the rights and privacy of legitimate users.

亮燈模組104還用於在配對模組108實現與無線通訊設備20之配對後驅動訊號燈100顯示配對成功,在配對模組108拒絕無線通訊設備20之配對後驅動100訊號燈顯示配對未成功。在本實施方式中,訊號燈100藉由其狀態來顯示配對是否成功,且顯示配對是否成功之狀態可預先設定,如可設置所有訊號燈皆恆亮來顯示配對成功,設置所有訊號燈皆閃爍來顯示配對不成功。在其他實施方式中,亦可利用其他方式來顯示是否配對成功。 The lighting module 104 is further configured to drive the signal light 100 to display the pairing success after the pairing module 108 is paired with the wireless communication device 20, and drive the 100 signal light to display the pairing after the pairing module 108 rejects the pairing of the wireless communication device 20. success. In this embodiment, the signal light 100 indicates whether the pairing is successful by its state, and the state of whether the pairing is successful can be preset. For example, all the signal lights can be set to be bright to display the pairing success, and all the signal lights are set to blink. To show that the pairing was not successful. In other embodiments, other ways may also be used to indicate whether the pairing is successful.

參閱圖3,所示本發明一實施方式之無線網路接入設備10與無線通訊設備20進行配對的方法流程圖。在本實施方式中,配對方法藉由圖1之功能模組來實施。 Referring to FIG. 3, a flow chart of a method for pairing a wireless network access device 10 with a wireless communication device 20 according to an embodiment of the present invention is shown. In the present embodiment, the pairing method is implemented by the function module of FIG.

在步驟S300,準備模組102接收到開始配對的訊號。在本實施方式中,使用無線通訊設備20之合法用戶按下無線網路接入設備10上之配對按鈕,指示無線網路接入設備10開始配對,此時,無線網路接入設備10即接收到開始 配對之訊號。 In step S300, the preparation module 102 receives the signal to start pairing. In this embodiment, the legitimate user using the wireless communication device 20 presses the pairing button on the wireless network access device 10 to instruct the wireless network access device 10 to start pairing. At this time, the wireless network access device 10 Received start Paired signal.

在步驟S301,準備模組102關閉無線網路接入設備10之加密機制以做好配對準備。在本實施方式中,無線網路接入設備10存在一套加密機制,並藉由該加密機制與其他設備進行通訊。由於無線網路接入設備10與無線通訊設備20在完成配對前藉由HTTPS通訊,故,需要先行關閉該加密機制。 In step S301, the preparation module 102 turns off the encryption mechanism of the wireless network access device 10 to prepare for pairing. In this embodiment, the wireless network access device 10 has a set of encryption mechanisms, and communicates with other devices through the encryption mechanism. Since the wireless network access device 10 and the wireless communication device 20 communicate by HTTPS before pairing is completed, the encryption mechanism needs to be turned off first.

在步驟S302,亮燈模組104隨機選擇燈碼對照表1010中的一種狀態。 In step S302, the lighting module 104 randomly selects one of the states in the light code comparison table 1010.

在步驟S303,亮燈模組104根據所選擇之狀態驅動訊號燈處於相應狀態。舉例而言,若亮燈模組104選取到第一訊號燈1000與第四訊號燈1006恆亮且第二訊號燈1002與第三訊號燈1004不亮的狀態,則亮燈模組104驅動第一訊號燈1000與第四訊號燈1006處於恆亮狀態,驅動第二訊號燈1002與第三訊號燈1004處於不亮狀態。此時,無線通訊設備20的用戶看到訊號燈所呈現的狀態後,就比對燈碼對照表1010來確定相應的配對請求中的配對碼。例如,用戶看到第一訊號燈1000與第四訊號燈1006恆亮,第二訊號燈1002與第三訊號燈1004不亮,則依據無線網路接入設備10的外殼上的燈碼對照表1010來確定配對請求中的配對碼為“a”。在本實施方式中,因無線通訊設備20藉由HTTPS機制連接無線網路接入設備10,故,當無線通訊設備20需要與無線網路接入設備10配對時,就會發送配對請求到無線網路接入設備10。在本實施方式中,配對請求可為“https://IP_Address/pair/配對碼 ”,其中,IP_Address為無線網路接入設備10之IP位址。 In step S303, the lighting module 104 drives the signal light to be in a corresponding state according to the selected state. For example, if the lighting module 104 selects the state in which the first signal lamp 1000 and the fourth signal lamp 1006 are constantly lit and the second signal lamp 1002 and the third signal lamp 1004 are not lit, the lighting module 104 drives the first The first signal lamp 1000 and the fourth signal lamp 1006 are in a steady state, and the second signal lamp 1002 and the third signal lamp 1004 are driven to be in a non-light state. At this time, after the user of the wireless communication device 20 sees the state presented by the signal light, the pairing code in the corresponding pairing request is determined by comparing the light code comparison table 1010. For example, if the user sees that the first signal lamp 1000 and the fourth signal lamp 1006 are constantly on, and the second signal lamp 1002 and the third signal lamp 1004 are not lit, the light code comparison table on the outer casing of the wireless network access device 10 is used. 1010 to determine that the pairing code in the pairing request is "a". In the present embodiment, since the wireless communication device 20 is connected to the wireless network access device 10 by the HTTPS mechanism, when the wireless communication device 20 needs to be paired with the wireless network access device 10, a pairing request is sent to the wireless device. Network access device 10. In this embodiment, the pairing request may be "https://IP_Address/pair/pairing code" ", where IP_Address is the IP address of the wireless network access device 10.

在步驟S304,匹配模組106從無線通訊設備20接收配對請求,並中獲取其中的配對碼。 In step S304, the matching module 106 receives the pairing request from the wireless communication device 20, and acquires the pairing code therein.

在步驟S306,匹配模組106判斷配對請求中的配對碼是否匹配亮燈模組104所選擇之狀態在燈碼對照表1010內所對應之配對碼。 In step S306, the matching module 106 determines whether the pairing code in the pairing request matches the pairing code corresponding to the state selected by the lighting module 104 in the light code comparison table 1010.

若配對請求中的配對碼匹配所選擇之狀態在燈碼對照表1010內所對應之配對碼,則說明無線通訊設備20係合法用戶,在步驟S308,配對模組108實現與無線通訊設備20之配對。在本實施方式中,配對模組108回饋XML文件至無線通訊設備20,以實現配對,其中XML文件中包含加密參數,如WEP、WPA、WPA2等。 If the pairing code in the pairing request matches the pairing code corresponding to the selected state in the light code comparison table 1010, the wireless communication device 20 is a legitimate user, and the pairing module 108 is implemented with the wireless communication device 20 in step S308. pair. In this embodiment, the pairing module 108 feeds back the XML file to the wireless communication device 20 to implement pairing, wherein the XML file includes encryption parameters such as WEP, WPA, WPA2, and the like.

在步驟S309,亮燈模組104驅動訊號燈100顯示配對成功。 In step S309, the lighting module 104 drives the signal light 100 to display the pairing success.

若配對請求中的配對碼不匹配所選擇之狀態在燈碼對照表1010內所對應之配對碼,則說明無線通訊設備20係非法用戶,在步驟S310,配對模組108拒絕與無線通訊設備20之配對。 If the pairing code in the pairing request does not match the pairing code corresponding to the selected state in the light code comparison table 1010, the wireless communication device 20 is an illegal user, and the pairing module 108 rejects the wireless communication device 20 in step S310. Pairing.

在步驟S311,亮燈模組104驅動100訊號燈顯示配對未成功。在本實施方式中,訊號燈100藉由其狀態來顯示配對是否成功,且顯示配對是否成功之狀態可預先設定,如可設置所有訊號燈皆恆亮來顯示配對成功,設置所有訊號燈皆閃爍來顯示配對不成功。在其他實施方式中,亦 可利用其他方式來顯示是否配對成功。至此,合法用戶即可順利藉由無線網路接入設備10連線,而非法用戶則不能,因而有效保護了合法用戶的權益及隱私。 In step S311, the lighting module 104 drives the 100 signal light to indicate that the pairing is unsuccessful. In this embodiment, the signal light 100 indicates whether the pairing is successful by its state, and the state of whether the pairing is successful can be preset. For example, all the signal lights can be set to be bright to display the pairing success, and all the signal lights are set to blink. To show that the pairing was not successful. In other embodiments, There are other ways to show if the pairing was successful. At this point, legitimate users can successfully connect through the wireless network access device 10, while illegal users cannot, thus effectively protecting the rights and privacy of legitimate users.

本發明實施方式所提供之無線網路接入設備10及方法,使用訊號燈狀態作為配對密鑰,可有效防止在無線網路接入設備10與無線通訊設備20配對時,非法無線通訊設備比合法無線通訊設備先按下配對鍵從而導致該非法無線通訊設備與該無線網路接入設備10建立配對的安全漏洞,提昇了網路的安全性能。 The wireless network access device 10 and method provided by the embodiments of the present invention can effectively prevent the illegal wireless communication device from being compared when the wireless network access device 10 is paired with the wireless communication device 20 by using the signal light state as the pairing key. The legitimate wireless communication device first presses the pairing button to cause the illegal wireless communication device to establish a pairing security hole with the wireless network access device 10, thereby improving the security performance of the network.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施例,舉凡熟悉本案技藝之人士,在爰依本案發明精神所作之等效修飾或變化,皆應包含於以下之申請專利範圍內。 In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art of the present invention should be included in the following claims.

10‧‧‧無線網路接入設備 10‧‧‧Wireless network access equipment

100‧‧‧訊號燈 100‧‧‧Signal light

1000‧‧‧第一訊號燈 1000‧‧‧First signal light

1002‧‧‧第二訊號燈 1002‧‧‧second signal light

1004‧‧‧第三訊號燈 1004‧‧‧3rd signal light

1006‧‧‧第四訊號燈 1006‧‧‧fourth signal light

101‧‧‧儲存模組 101‧‧‧ storage module

1010‧‧‧燈碼對照表 1010‧‧‧Light code comparison table

102‧‧‧準備模組 102‧‧‧Preparation module

104‧‧‧亮燈模組 104‧‧‧Lighting module

106‧‧‧匹配模組 106‧‧‧matching module

108‧‧‧配對模組 108‧‧‧ Pairing module

20‧‧‧無線通訊設備 20‧‧‧Wireless communication equipment

圖1為本發明一實施方式之無線網路接入設備之實施環境及功能模組圖。 FIG. 1 is a schematic diagram of an implementation environment and a function module of a wireless network access device according to an embodiment of the present invention.

圖2為本發明一實施方式之燈碼對照表之示意圖。 2 is a schematic diagram of a lamp code comparison table according to an embodiment of the present invention.

圖3為本發明一實施方式之無線網路接入設備與無線通訊設備進行配對的方法的流程圖。 3 is a flow chart of a method for pairing a wireless network access device with a wireless communication device according to an embodiment of the present invention.

10‧‧‧無線網路接入設備 10‧‧‧Wireless network access equipment

100‧‧‧訊號燈 100‧‧‧Signal light

1000‧‧‧第一訊號燈 1000‧‧‧First signal light

1002‧‧‧第二訊號燈 1002‧‧‧second signal light

1004‧‧‧第三訊號燈 1004‧‧‧3rd signal light

1006‧‧‧第四訊號燈 1006‧‧‧fourth signal light

101‧‧‧儲存模組 101‧‧‧ storage module

1010‧‧‧燈碼對照表 1010‧‧‧Light code comparison table

102‧‧‧準備模組 102‧‧‧Preparation module

104‧‧‧亮燈模組 104‧‧‧Lighting module

106‧‧‧匹配模組 106‧‧‧matching module

108‧‧‧配對模組 108‧‧‧ Pairing module

20‧‧‧無線通訊設備 20‧‧‧Wireless communication equipment

Claims (10)

一種無線網路接入設備,該無線網路接入設備提供複數訊號燈用於與無線通訊設備進行配對,該無線網路接入設備包括:儲存模組,用於存儲燈碼對照表,該燈碼對照表包括該等訊號燈之狀態以及與該等狀態相對應之配對碼,其中該等配對碼用於驗證與該無線網路接入設備配對之無線通訊設備是否合法;準備模組,用於接收到開始配對的訊號後關閉該無線網路接入設備之加密機制以做好配對準備;亮燈模組,用於在該無線網路接入設備做好配對準備後隨機選擇該燈碼對照表中的一個狀態,並根據所選擇之狀態驅動該等訊號燈處於相應狀態;匹配模組,用於從該無線通訊設備接收配對請求並獲取其中的配對碼,並判斷該配對請求中的配對碼是否匹配該亮燈模組所選擇之狀態在該燈碼對照表內所對應之配對碼;及配對模組,用於在該配對請求中的配對碼匹配該亮燈模組所選擇之狀態所對應之配對碼時實現與該無線通訊設備之配對。 A wireless network access device, the wireless network access device provides a plurality of signal lights for pairing with a wireless communication device, the wireless network access device comprising: a storage module, configured to store a light code comparison table, The light code comparison table includes states of the signal lights and pairing codes corresponding to the states, wherein the pairing codes are used to verify whether the wireless communication device paired with the wireless network access device is legal; preparing a module, After receiving the signal to start pairing, the encryption mechanism of the wireless network access device is closed to prepare for pairing; the lighting module is configured to randomly select the light after the wireless network access device is ready for pairing The code compares a state in the table, and drives the signal lights to be in a corresponding state according to the selected state; the matching module is configured to receive a pairing request from the wireless communication device and obtain a pairing code therein, and determine the pairing request Whether the pairing code matches the pairing code corresponding to the state selected by the lighting module in the light code comparison table; and the pairing module is used for pairing in the pairing request Matching the status of the lighting module of the selected pair achieved when the pairing code of the corresponding wireless communication apparatus. 如申請專利範圍第1項所述之無線網路接入設備,其中該配對模組回饋包含加密參數之可擴展標記語言文件至該無線通訊設備,以實現配對。 The wireless network access device of claim 1, wherein the pairing module feeds back an extensible markup language file containing an encryption parameter to the wireless communication device to implement pairing. 如申請專利範圍第1項所述之無線網路接入設備,其中該配對模組還用於在該配對請求中的配對碼不匹配該亮燈模 組所選擇之狀態所對應之配對碼時拒絕該無線通訊設備之配對。 The wireless network access device of claim 1, wherein the pairing module is further configured to: the pairing code in the pairing request does not match the lighting mode. The pairing of the wireless communication device is rejected when the pairing code corresponding to the selected state is set. 如申請專利範圍第3項所述之無線網路接入設備,其中該亮燈模組還用於在該配對模組實現該無線通訊設備之配對後驅動該等訊號燈顯示配對成功,在該配對模組拒絕該無線通訊設備之配對後驅動該等訊號燈顯示配對未成功。 The wireless network access device of claim 3, wherein the lighting module is further configured to drive the signal lights to display pairing success after the pairing module implements pairing of the wireless communication devices. The pairing module rejects the pairing of the wireless communication device and drives the signal lights to indicate that the pairing was unsuccessful. 如申請專利範圍第1項所述之無線網路接入設備,其中該等訊號燈之狀態包括不亮、恆亮、閃爍。 The wireless network access device of claim 1, wherein the status of the signal lights includes no light, constant light, and blinking. 一種無線網路接入設備與無線通訊設備進行配對的方法,該無線網路接入設備提供複數訊號燈,該配對方法包括以下步驟:預設置燈碼對照表,該燈碼對照表包括該等訊號燈之狀態以及與該等狀態相對應之配對碼,其中該等配對碼用於驗證與該無線網路接入設備配對之無線通訊設備是否合法;接收到開始配對的訊號;關閉該無線網路接入設備之加密機制以做好配對準備;隨機選擇該燈碼對照表中的一種狀態;根據所選擇之狀態驅動該等訊號燈處於相應狀態;從該無線通訊設備接收配對請求,該配對請求包括配對碼;判斷該配對請求中的配對碼是否匹配所選擇之狀態在該燈碼對照表內所對應之配對碼;及若該配對請求中的配對碼匹配所選擇之狀態在該燈碼對照表內所對應之配對碼,則實現該無線網路接入設備與該無線通訊設備之配對。 A method for pairing a wireless network access device with a wireless communication device, the wireless network access device providing a plurality of signal lights, the pairing method comprising the steps of: presetting a light code comparison table, the light code comparison table including the a status of the signal light and a pairing code corresponding to the status, wherein the pairing code is used to verify whether the wireless communication device paired with the wireless network access device is legal; receiving a signal to start pairing; and turning off the wireless network Encryption mechanism of the access device to prepare for pairing; randomly selecting a state in the lamp code comparison table; driving the signal lamps in a corresponding state according to the selected state; receiving a pairing request from the wireless communication device, the pairing The request includes a pairing code; determining whether the pairing code in the pairing request matches a pairing code corresponding to the selected state in the light code comparison table; and if the pairing code in the pairing request matches the selected state in the light code The pairing code corresponding to the table is used to implement pairing of the wireless network access device with the wireless communication device. 如申請專利範圍第6項所述之無線網路接入設備與無線通 訊設備進行配對的方法,其中實現該無線網路接入設備與該無線通訊設備之配對包括以下步驟:回饋包含加密參數之可擴展標記語言文件至該無線通訊設備,以實現配對。 The wireless network access device and the wireless communication as described in claim 6 The method for pairing a device, wherein implementing the pairing of the wireless network access device with the wireless communication device comprises the steps of: feeding back an extensible markup language file containing an encryption parameter to the wireless communication device to implement pairing. 如申請專利範圍第6項所述之無線網路接入設備與無線通訊設備進行配對的方法,還包括以下步驟:驅動該等訊號燈顯示配對成功。 The method for pairing a wireless network access device and a wireless communication device according to claim 6 of the patent application, further comprising the steps of: driving the signal lights to display pairing success. 如申請專利範圍第6項所述之無線網路接入設備與無線通訊設備進行配對的方法,還包括以下步驟:若該配對請求中的配對碼不匹配所選擇之狀態在該燈碼對照表內所對應之配對碼,則拒絕該無線網路接入設備與該無線通訊設備之配對;及驅動該等訊號燈顯示配對未成功。 The method for pairing a wireless network access device and a wireless communication device according to claim 6 of the patent application, further comprising the steps of: if the pairing code in the pairing request does not match the selected state in the light code comparison table The pairing code corresponding to the pair rejects the pairing of the wireless network access device and the wireless communication device; and driving the signal lights to indicate that the pairing is unsuccessful. 如申請專利範圍第6項所述之無線網路接入設備與無線通訊設備進行配對的方法,其中該等訊號燈之狀態包括不亮、恆亮、閃爍。 The method for pairing a wireless network access device and a wireless communication device according to claim 6, wherein the status of the signal light includes no light, constant light, and blinking.
TW97143110A 2008-11-07 2008-11-07 Wireless network accessing device and pairing method TWI385964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97143110A TWI385964B (en) 2008-11-07 2008-11-07 Wireless network accessing device and pairing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97143110A TWI385964B (en) 2008-11-07 2008-11-07 Wireless network accessing device and pairing method

Publications (2)

Publication Number Publication Date
TW201019646A TW201019646A (en) 2010-05-16
TWI385964B true TWI385964B (en) 2013-02-11

Family

ID=44831828

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97143110A TWI385964B (en) 2008-11-07 2008-11-07 Wireless network accessing device and pairing method

Country Status (1)

Country Link
TW (1) TWI385964B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200642420A (en) * 2005-03-25 2006-12-01 Nec Corp Mobile communication network system, portable communication terminal, and authentication device, and driving method
US20070028094A1 (en) * 2005-08-01 2007-02-01 Sony Corporation Information processing system, information processing apparatus and method, program, and recording medium
US20080095086A1 (en) * 2006-10-23 2008-04-24 Janne Linkola Method of deploying an access point for an ip-based wireless network
TW200843524A (en) * 2007-01-05 2008-11-01 Objectvideo Inc Video-based sensing for lighting controls

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200642420A (en) * 2005-03-25 2006-12-01 Nec Corp Mobile communication network system, portable communication terminal, and authentication device, and driving method
US20070028094A1 (en) * 2005-08-01 2007-02-01 Sony Corporation Information processing system, information processing apparatus and method, program, and recording medium
US20080095086A1 (en) * 2006-10-23 2008-04-24 Janne Linkola Method of deploying an access point for an ip-based wireless network
TW200843524A (en) * 2007-01-05 2008-11-01 Objectvideo Inc Video-based sensing for lighting controls

Also Published As

Publication number Publication date
TW201019646A (en) 2010-05-16

Similar Documents

Publication Publication Date Title
CN101729340B (en) Wireless network access device and mating method thereof
CN110035048B (en) Method for controlling access to an in-vehicle wireless network
JP5005674B2 (en) Wireless local area network administration
CN100486173C (en) Configuring of network settings of thin client devices using portable storage media
US8126145B1 (en) Enhanced association for access points
US20040168081A1 (en) Apparatus and method simplifying an encrypted network
CN108471610B (en) Bluetooth connection control system
US10972446B2 (en) Device pairing
US20130318587A1 (en) Authentication method and wireless connection device
JP2011199458A (en) Wireless communication system
WO2016179924A1 (en) Wireless local area network access control method, device and terminal
KR20080014788A (en) Establishing wireless universal serial bus(wusb) connecti0n via a trusted medium
US20130318352A1 (en) Communication setup method and wireless connection device
JP6263962B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
CN102204304A (en) Support of multiple pre-shared keys in access point
KR20060049882A (en) Device and process for wireless local area network association and corresponding products
JP5987552B2 (en) Wireless communication apparatus, program and method
JP2009212732A (en) Communication device and communication method
US7783879B2 (en) Method and device relating to security in a radio communication network
US20120059945A1 (en) Data-Transfer Method and Terminal
KR20150124760A (en) Apparatus and method for managing instant connection based on wireless local area network
JP2002073565A (en) System and method for authenticating electronic equipment
US20080137553A1 (en) Method of automatic certification and secure configuration of a wlan system and transmission device thereof
JP4987006B2 (en) Method and apparatus for deferring access to a service
JP4914075B2 (en) Encryption key setting method, network system, wireless LAN repeater, wireless LAN adapter, and encryption key setting program

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees