TW201410060A - Electrical device and wireless network connection method - Google Patents

Electrical device and wireless network connection method Download PDF

Info

Publication number
TW201410060A
TW201410060A TW101131698A TW101131698A TW201410060A TW 201410060 A TW201410060 A TW 201410060A TW 101131698 A TW101131698 A TW 101131698A TW 101131698 A TW101131698 A TW 101131698A TW 201410060 A TW201410060 A TW 201410060A
Authority
TW
Taiwan
Prior art keywords
electronic device
key
wireless network
connection
service setting
Prior art date
Application number
TW101131698A
Other languages
Chinese (zh)
Inventor
Kai Su
Original Assignee
Wistron Corp
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 Wistron Corp filed Critical Wistron Corp
Publication of TW201410060A publication Critical patent/TW201410060A/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

A electrical device applied in wireless network of an Ad Hoc connection includes an input device; a processor, coupled with the input device and generating an output signal by pressing a button combination of the input device by the user; a first wireless network interface card, scanning whether there are a Service Set Identifier (SSID) and a IP address corresponding to the button combination from a second electrical device according to the output signal, and connecting with the second electrical device according to a scanning result; a display device, displaying a graphics object when the connection with the second electrical device is established, wherein the user may releases the pressed buttons upon the connection with the second electrical device is established.

Description

電子裝置和無線網路連接方法 Electronic device and wireless network connection method

本發明主要係關於無線網路連接技術,特別係有關於利用輸入裝置按下一按鍵組合完成點對點模式(Ad Hoc)連接之無線網路連接技術。 The present invention relates generally to wireless network connection technologies, and more particularly to wireless network connection techniques for performing an Ad Hoc connection by pressing a button combination using an input device.

在這個資訊爆炸的時代,資訊傳輸已成為日常生活中不可或缺的一部分,而資訊傳輸主要可藉由有線網路及無線通訊來達成。其中,無線通訊由於節省了設置網路線的成本及時間,並超越地面障礙物的限制,已成為現代科技發展的重點。美國電機及電子工程師學會(Institute of Electrical and Electronics Engineers,IEEE)在無線通訊802.11之規範下,定義了二種通訊模式:點對點模式(Ad hoc)及基地台模式(Infrastructure)。總括來說,基地台模式就是多個終端設備(如電腦)藉由存取點(Access Point,AP)或基地台來進行通訊;而點對點模式就是多個終端設備不藉由存取點或基地台而直接進行通訊。 In this era of information explosion, information transmission has become an indispensable part of daily life, and information transmission can be achieved mainly through wired networks and wireless communication. Among them, wireless communication has become the focus of modern technology development because it saves the cost and time of setting up the network route and exceeds the limitation of ground obstacles. Under the specification of wireless communication 802.11, the Institute of Electrical and Electronics Engineers (IEEE) defines two communication modes: Ad hoc mode and Base station mode (Infrastructure). In summary, the base station mode means that multiple terminal devices (such as computers) communicate by means of an access point (AP) or a base station; and the peer-to-peer mode means that multiple terminal devices are not accessed by an access point or base. Directly communicate with each other.

無線網卡的誕生,使得使用者脫離了有線傳輸之線材的困擾,且使得可移動的高速上網成為可能。無線網卡的功能並不僅僅是通過連接無線存取點(Access Point,AP)上網,使用者還可以通過無線網卡進行多台電腦的連接,打遊戲,共享文件,甚至是以一台電腦作為路由,使得其他電腦通過該電腦連接到網際網路(Internet)。 The birth of the wireless network card has made the user get rid of the trouble of the wired wire and made the mobile high-speed Internet possible. The function of the wireless network card is not only to connect to the wireless access point (AP), but also to connect multiple computers through a wireless network card, play games, share files, or even use a computer as a route. , allowing other computers to connect to the Internet through the computer.

目前無線網卡只是在連接已有的無線信號時比較簡便,而對於無線網卡其他的功能,即使是簡單的連接兩台 電腦,也需要許多步驟,而這些步驟,對於不太熟悉電腦的人來說,是很難實現的。更不用說進行文件的傳輸和網絡資源的共享了。對於許多廠商自帶的一些無線連接軟件,但大多也都只是把一些功能整合在一起,人們使用的時候還是需要繁瑣的操作完成想要的結果。 At present, the wireless network card is relatively simple when connecting existing wireless signals, and for the other functions of the wireless network card, even a simple connection of two Computers also require many steps, and these steps are difficult for people who are not familiar with computers. Not to mention the transfer of files and the sharing of network resources. For some wireless connectivity software that comes with many manufacturers, most of them just integrate some functions together, and people still need cumbersome operations to complete the desired results.

有鑑於上述先前技術之問題,本發明提供了一種無線網路連接技術,僅需利用輸入裝置按下一按鍵組合即可完成點對點模式(Ad Hoc)連接之無線網路連接技術。 In view of the above prior art problems, the present invention provides a wireless network connection technology that requires only a combination of input devices to perform a point-to-point mode (Ad Hoc) connection wireless network connection technology.

根據本發明之一實施例提供了一種電子裝置,適用於無線網路之點對點模式(Ad Hoc)連接,包括:一輸入裝置;一處理器,耦接上述輸入裝置,藉由使用者按下上述輸入裝置之一按鍵組合,產生所對應之一輸出信號;一第一無線網卡,根據上述輸出信號,掃描是否有一第二電子裝置發送之對應上述按鍵組合之一服務設置識別碼和一IP位址,並根據一掃描結果和一第二電子裝置進行連接;以及一顯示裝置,當和上述第二電子裝置連接成功時,用以顯示一圖示,其中當已連接成功,使用者即可鬆開所按下之上述按鍵組合。 An embodiment of the present invention provides an electronic device, an Ad Hoc connection for a wireless network, including: an input device; a processor coupled to the input device, by the user pressing the above Inputting a button combination to generate a corresponding one of the output signals; a first wireless network card, according to the output signal, scanning whether a second electronic device sends a service setting identifier corresponding to the button combination and an IP address And connecting to a second electronic device according to a scan result; and a display device, when the connection with the second electronic device is successful, is used to display an icon, wherein when the connection is successful, the user can release The above key combination pressed.

根據本發明之一實施例提供了一種無線網路連接方法,適用於一第一電子裝置和一第二電子裝置包括:藉由按下上述第一電子裝置之一輸入裝置之一按鍵組合,產生對應之一輸出信號;根據上述輸出信號,掃描是否有上述第二電子裝置發送之對應上述按鍵組合之一服務設置識別碼和一IP位址,並根據一掃描結果用以和上述第二電子裝 置進行一點對點模式(Ad Hoc)連接;當上述點對點模式(Ad Hoc)連接成功時,分別於上述第一電子裝置和第二電子裝置顯示一圖示;以及鬆開所按下之上述按鍵組合。 According to an embodiment of the present invention, a wireless network connection method is provided. The first electronic device and the second electronic device are provided by: pressing a button combination of one of the input devices of the first electronic device to generate Corresponding to one of the output signals, according to the output signal, scanning whether there is a service setting identification code and an IP address corresponding to the one of the key combinations sent by the second electronic device, and the second electronic device is used according to a scan result. Performing an Ad Hoc connection; when the Ad Hoc connection is successful, displaying an icon on the first electronic device and the second electronic device respectively; and releasing the pressed key combination .

第1圖係顯示根據本發明一實施例所述之第一電子裝置100之架構圖,其中第一電子裝置100適用於無線網路之點對點模式(Ad Hoc)連接。如第1圖所示,根據本發明一實施例所述之第一電子裝置100,包括,一輸入裝置110、一處理器120、一第一無線網卡130、一顯示裝置140。 1 is a block diagram of a first electronic device 100 according to an embodiment of the invention, wherein the first electronic device 100 is adapted for a point-to-point mode (Ad Hoc) connection of a wireless network. As shown in FIG. 1 , a first electronic device 100 according to an embodiment of the invention includes an input device 110 , a processor 120 , a first wireless network card 130 , and a display device 140 .

根據本發明一實施例,輸入裝置100可為一鍵盤,上述鍵盤包含複數功能鍵(例如:F1、F2等)和複數字母鍵,其中複數字母鍵分別對應到不同字串和位址,用以分別設定不同之服務設置識別碼(Service Set Identifier,SSID)和IP位址。根據本發明一實施例,在此使用的IP位址為C類位址,即IP位址的前三組數為網路位址,最後一組數為主機位址。輸入裝置100之26個字母鍵分別會賦予26個不同的網路位址,主機位址則係由電子裝置本身隨機從0-255中產生。這樣可以使得按下兩個相同字母鍵之電子裝置都能對應到一個相同的網域中,而按下不同字母鍵之電子裝置則會被排除在外。舉例來說,字母A代表的是網路地址是192.168.1.x,B字母代表的是193.169.2.x,以此類推。 According to an embodiment of the invention, the input device 100 can be a keyboard, the keyboard includes a plurality of function keys (eg, F1, F2, etc.) and a plurality of letter keys, wherein the plurality of letter keys respectively correspond to different strings and addresses, Set different Service Set Identifier (SSID) and IP address respectively. According to an embodiment of the invention, the IP address used herein is a class C address, that is, the first three groups of IP addresses are network addresses, and the last group number is a host address. The 26 letter keys of the input device 100 respectively give 26 different network addresses, and the host address is randomly generated from the 0-255 by the electronic device itself. This allows electronic devices that press two identical letter keys to correspond to the same network domain, while electronic devices that press different letter keys are excluded. For example, the letter A represents the network address is 192.168.1.x, the B letter represents 193.169.2.x, and so on.

根據本發明一實施例,處理器120耦接至輸入裝置100,藉由使用者按下輸入裝置100之一按鍵組合,處理器120會根據所按下之按鍵組合,產生對應此按鍵組合之一輸出信號S1,其中上述按鍵組合包含,一功能鍵和一第一 字母鍵和一第二字母鍵,第一字母鍵和上述第二字母鍵分別對應不同字串和位址,用以分別設定一組特定之服務設置識別碼(SSID)和IP位址。根據上述實施例,功能鍵係用以啟動無線網路之點對點模式(Ad Hoc)連接功能,其可係由製造商預先就設定好之按鍵,第一字母鍵和第二字母鍵則係由不同電子裝置之個別使用者一起協商出的一組字母鍵。 According to an embodiment of the present invention, the processor 120 is coupled to the input device 100. When the user presses a button combination of the input device 100, the processor 120 generates one of the button combinations according to the pressed button combination. Output signal S1, wherein the above key combination includes, a function key and a first The letter key and a second letter key, the first letter key and the second letter key respectively correspond to different strings and addresses, respectively, for respectively setting a specific set of service setting identifiers (SSIDs) and IP addresses. According to the above embodiment, the function key is used to activate the Ad Hoc connection function of the wireless network, which may be set by the manufacturer in advance, and the first letter key and the second letter key are different. A set of letter keys negotiated by individual users of the electronic device.

根據本發明一實施例,第一無線網卡130會根據輸出信號S1,掃描目前網域中是否有一第二電子裝置200所發送之對應上述按鍵組合之服務設置識別碼(SSID)和IP位址。特別說明的是,當第一電子裝置100和第二電子裝置200欲進行連結時,第一電子裝置100和第二電子裝置200之使用者都會按下相同之按鍵組合以進行連結,但由於兩使用者按下按鍵組合之時間不同可能會產生些許時間差(某使用者先按或後按),因此,第一電子裝置100和第二電子裝置200都會先掃描目前網域中是否已存在對應已協商好之按鍵組合之服務設置識別碼(SSID)和IP位址,在本說明書中之實施例,係以第一電子裝置100之角度為例,但並不以此為限。此外,於在本說明書中之實施例僅以第一電子裝置100和第二電子裝置200連結為例,但並不以此為限,任何熟知此技藝之人士,閱讀完本說明書之實施利後,可將此實施例應用於更多數量之電子裝置上(例如:第三電子裝置、第四電子裝置等)。 According to an embodiment of the present invention, the first wireless network card 130 scans whether there is a service setting identification code (SSID) and an IP address corresponding to the key combination sent by the second electronic device 200 according to the output signal S1. Specifically, when the first electronic device 100 and the second electronic device 200 are to be connected, the users of the first electronic device 100 and the second electronic device 200 press the same button combination to perform the connection, but When the time when the user presses the button combination is different, a certain time difference may occur (a user presses or presses the button first). Therefore, the first electronic device 100 and the second electronic device 200 first scan whether the corresponding domain already exists in the current domain. The service setting identifier (SSID) and the IP address of the negotiated key combination are in the embodiment of the present specification, and the angle of the first electronic device 100 is taken as an example, but not limited thereto. In addition, the embodiments in the present specification are only exemplified by the first electronic device 100 and the second electronic device 200, but are not limited thereto, and anyone skilled in the art can read the implementation of the present specification. This embodiment can be applied to a larger number of electronic devices (eg, a third electronic device, a fourth electronic device, etc.).

根據上述實施例,若第一無線網卡130有掃描到第二電子裝置200所發送之服務設置識別碼(SSID)和IP位址, 則第一無線網卡130會等待並接收第二電子裝置200所發送之一密鑰,接著第二電子裝置200會先中斷第一無線網卡130之連結,且會用密鑰對第二電子裝置200自身進行加密並重新廣播已設定之服務設置識別碼,第一無線網卡130則會重新搜尋已設定之服務設置識別碼,並利用密鑰和第二電子裝置200完成連接。 According to the above embodiment, if the first wireless network card 130 has scanned the service setting identification code (SSID) and the IP address sent by the second electronic device 200, Then, the first wireless network card 130 waits for and receives a key sent by the second electronic device 200, and then the second electronic device 200 first interrupts the connection of the first wireless network card 130, and uses the key pair to the second electronic device 200. The encryption and re-broadcast of the set service setting identifier is performed by the first wireless network card 130, and the set service identification code is re-searched, and the connection is completed by using the key and the second electronic device 200.

根據上述實施例,若第一無線網卡130並未掃描到第二電子裝置200發送之服務設置識別碼(SSID)和IP位址,第一無線網卡130就會用第一字母鍵設定服務設置識別碼,以及用第二字母鍵設定上述IP位址。根據本發明上述實施例,第二電子裝置200包括一第二無線網卡230,當第二無線網卡230有掃描到第一電子裝置100所發送之服務設置識別碼和IP位址可以和第一無線網卡連接時,第一無線網卡130會產生一密鑰,並發送密鑰至第二無線網卡230,接著第一無線網卡130會先中斷和第二無線網卡230之連接,且利用密鑰加密第一電子裝置100,並重新廣播已設定之服務設置識別碼,當第二無線網卡230再次掃描到已設定之服務設置識別碼時,第二無線網卡230即利用由第一無線網卡130所接收之密鑰和第一無線網卡130完成連接。 According to the above embodiment, if the first wireless network card 130 does not scan the service setting identification code (SSID) and the IP address sent by the second electronic device 200, the first wireless network card 130 uses the first letter key to set the service setting identification. The code, and the second letter key to set the above IP address. According to the above embodiment of the present invention, the second electronic device 200 includes a second wireless network card 230. When the second wireless network card 230 scans to the service setting identifier and IP address sent by the first electronic device 100, the first wireless device can When the network card is connected, the first wireless network card 130 generates a key and sends the key to the second wireless network card 230. Then, the first wireless network card 130 first interrupts the connection with the second wireless network card 230, and uses the key encryption. An electronic device 100 re-broadcasts the set service setting identification code. When the second wireless network card 230 scans the set service setting identification code again, the second wireless network card 230 is received by the first wireless network card 130. The key and the first wireless network card 130 complete the connection.

第2A-2C圖係顯示根據本發明一實施例之顯示裝置140之圖示141之通知訊息之示意圖。如第2A圖所示,當第一電子裝置100和第二電子裝置200連接成功時,顯示裝置140會顯示一圖示141,用以通知第一電子裝置100和第二電子裝置200之使用者,第一電子裝置100和第二 電子裝置200已連接成功。如第2B圖所示,若第一電子裝置100和第二電子裝置200連接失敗,顯示裝置140亦會顯示圖示141,以通知第一電子裝置100和第二電子裝置200之使用者,第一電子裝置100和第二電子裝置200連接失敗,請重新連接。如第2C圖所示,當第一電子裝置100和第二電子裝置200已連接時,使用者移動滑鼠游標到圖示141時會顯示一組密碼(例如:123456)。根據本發明一實施例,當一第三電子裝置(圖未顯示)欲加入第一電子裝置100和第二電子裝置200已建立之連接時,第三電子裝置僅需輸入第一電子裝置100和第二電子裝置200已協商好之按鍵組合和且輸入第一電子裝置100和第二電子裝置200連接後產生之密碼(即第2C圖所述之密碼),即可加入第一電子裝置100和第二電子裝置200已建立之連接之中。 2A-2C is a schematic diagram showing a notification message of the graphic representation 141 of the display device 140 in accordance with an embodiment of the present invention. As shown in FIG. 2A, when the first electronic device 100 and the second electronic device 200 are successfully connected, the display device 140 displays an icon 141 for notifying the users of the first electronic device 100 and the second electronic device 200. First electronic device 100 and second The electronic device 200 has been successfully connected. As shown in FIG. 2B, if the connection between the first electronic device 100 and the second electronic device 200 fails, the display device 140 also displays the icon 141 to notify the users of the first electronic device 100 and the second electronic device 200, An electronic device 100 and the second electronic device 200 fail to connect, please reconnect. As shown in FIG. 2C, when the first electronic device 100 and the second electronic device 200 are connected, a set of passwords (eg, 123456) is displayed when the user moves the mouse cursor to the icon 141. According to an embodiment of the present invention, when a third electronic device (not shown) is to be added to the established connection between the first electronic device 100 and the second electronic device 200, the third electronic device only needs to input the first electronic device 100 and The second electronic device 200 has negotiated the key combination and inputs the password generated after the first electronic device 100 and the second electronic device 200 are connected (ie, the password described in FIG. 2C), and then joins the first electronic device 100 and The second electronic device 200 is already in the established connection.

第3A圖係顯示根據本發明一實施例之顯示裝置140之使用者介面142之示意圖。如第3A圖所示,顯示裝置140會顯示一個操作介面142,用以提供複數功能來供使用者選取。根據本發明一實施例,如第3A圖所示,複數功能包括啟動連結功能、啟動文件共享功能、啟動共享上網功能、查看已連接電子裝置數目之功能,當使用者選取一功能並按下確定即可執行此功能。根據上述實施例,啟動連結功能係一基本之功能,即當電子裝置互相完成連結時,電子裝置便會自動勾選此功能。根據上述實施例,當使用者勾選啟動文件共享功能,已連接之電子裝置且有勾選此功能者即可彼此共享資料,舉例來說,當有兩已連接 之電子裝置之使用者勾選啟動文件共享功能,會在電子裝置「我的電腦」中出現兩個已被設置之共享的文件夾,一個叫「我的共享文件夾」,另一個叫「XXX的共享文件夾」,使用者可把想共享之資料放入「我的共享文件夾」中,別的裝置之使用者即可直接由此文件夾中複製自己想要的資料,使用者亦可由「XXX的共享文件夾」中複製自己想要的資料。特別說明的是,這裡僅以兩個文件夾為例,但並不以此為限,若有更多已連接之電子裝置之使用者有勾選此功能,即會出現更多文件夾。根據上述實施例,當使用者勾選啟動共享上網功能,會以勾選此功能且具有寬帶帳號上網之一電子裝置作為主幾,其它連接上此主機之電子裝置即可共同使用主機的寬帶資源來上網。根據上述實施例,當使用者按下「其它電腦」的選項,操作介面142即會顯示目前已連接之電子裝置之數目及名稱,如第3B圖所示,若有3台電子裝置,操作介面142會顯示已連接3台電腦且顯示此3台電腦之名稱(例如:A電腦、B電腦、C電腦),此外,藉由此功能使用者亦可查看是否有多餘的電子裝置偷偷入侵於此連接之中,若有,使用者可立即斷開連接以保護電子裝置之安全。 3A is a schematic diagram showing a user interface 142 of display device 140 in accordance with an embodiment of the present invention. As shown in FIG. 3A, display device 140 displays an operational interface 142 for providing a plurality of functions for selection by the user. According to an embodiment of the present invention, as shown in FIG. 3A, the plurality of functions include activating a link function, activating a file sharing function, starting a shared Internet function, and viewing the number of connected electronic devices. When the user selects a function and presses OK. You can perform this function. According to the above embodiment, the activation of the connection function is a basic function, that is, when the electronic devices are connected to each other, the electronic device automatically checks the function. According to the above embodiment, when the user selects the file sharing function, the connected electronic device and the function of checking the function can share the data with each other, for example, when two connections are made. The user of the electronic device selects the startup file sharing function, and two shared folders that have been set up in the electronic device "My Computer" appear, one called "My Shared Folder" and the other called "XXX". The shared folder" allows the user to put the information they want to share into the "My Shared Folder". Users of other devices can directly copy the information they want in this folder. Copy the information you want in "Shared Folders of XXX". In particular, only two folders are used here as an example, but not limited thereto. If more users of connected electronic devices have this function checked, more folders will appear. According to the above embodiment, when the user selects the function of starting the shared Internet access, the electronic device with the broadband account and the Internet access is selected as the main device, and other electronic devices connected to the host can jointly use the broadband resource of the host. Come online. According to the above embodiment, when the user presses the "Other Computer" option, the operation interface 142 displays the number and name of the currently connected electronic devices. As shown in FIG. 3B, if there are three electronic devices, the operation interface 142 will display the names of the three computers connected to the three computers (for example: A computer, B computer, C computer). In addition, users can also check whether there are any redundant electronic devices secretly invaded by this function. During the connection, if there is, the user can immediately disconnect to protect the security of the electronic device.

根據本發明一實施例,當第一電子裝置100和第二電子裝置200完成連接後,若使用者按下上述功能鍵超過一既定時間(例如5秒),處理器120會先停止使用者已在操作介面142選取之功能,接著第一無線網卡130便會中斷第一電子裝置100和第二電子裝置200之連接。 According to an embodiment of the invention, after the first electronic device 100 and the second electronic device 200 are connected, if the user presses the function key for more than a predetermined time (for example, 5 seconds), the processor 120 stops the user first. In the function selected by the operation interface 142, the first wireless network card 130 then interrupts the connection between the first electronic device 100 and the second electronic device 200.

第4圖係顯示根據本發明一實施例所述之無線網路連 接方法之流程圖300,此方法適用於一第一電子裝置和一第二電子裝置。首先,在步驟S310,藉由按下第一電子裝置之一輸入裝置之一按鍵組合,產生對應之一輸出信號;在步驟S320,根據上述輸出信號,掃描是否有第二電子裝置發送之對應上述按鍵組合之一服務設置識別碼和一IP位址,並根據一掃描結果用以和第二電子裝置進行一點對點模式(Ad Hoc)連接;在步驟S330,當點對點模式(Ad Hoc)連接成功時,分別於第一電子裝置和第二電子裝置顯示一圖示;在步驟S340,鬆開所按下之上述按鍵組合。根據本發明一實施例,上述按鍵組合包含,一功能鍵和一第一字母鍵和一第二字母鍵且上述第一字母鍵和上述第二字母鍵分別對應不同字串和位址,用以設定服務設置識別碼和IP位址。 Figure 4 is a diagram showing a wireless network connection according to an embodiment of the present invention. A flow chart 300 of the method is applicable to a first electronic device and a second electronic device. First, in step S310, a button output combination of one of the input devices of the first electronic device is pressed to generate a corresponding one of the output signals; and in step S320, according to the output signal, whether the second electronic device transmits the corresponding one or not One of the button combinations service sets the identification code and an IP address, and performs a point-to-point mode (Ad Hoc) connection with the second electronic device according to a scan result; in step S330, when the Ad Hoc connection is successful Displaying an icon on the first electronic device and the second electronic device respectively; and in step S340, releasing the pressed key combination. According to an embodiment of the invention, the key combination includes a function key and a first letter key and a second letter key, and the first letter key and the second letter key respectively correspond to different word strings and addresses, Set the service setting ID and IP address.

第5圖係顯示根據本發明一實施例所述之流程圖300之步驟S320。步驟S320中更包括以下步驟,若有掃描到第二電子裝置發送之服務設置識別碼和IP位址,則執行步驟S321-S323,在步驟S321,利用第二電子裝置發送一密鑰至第一電子裝置;在步驟S322,利用密鑰加密第二電子裝置,並利用第二電子裝置重新廣播服務設置識別碼;在步驟S323,利用第一電子裝置輸入密鑰和第二電子裝置完成連接;若無掃描到第二電子裝置發送之服務設置識別碼和IP位址,則執行步驟S324-S328,在步驟S324,利用第一電子裝置將第一字母鍵設定為服務設置識別碼,以及將第二字母鍵設定為上述IP位址;在步驟S325,當第二電子裝置掃描到服務設置識別碼和IP位址和上述第一電子裝 置連接時,第一電子裝置產生一密鑰,並發送上述密鑰至第二電子裝置;在步驟S326,中斷第一電子裝置和第二電子裝置之連接;在步驟S327,利用上述密鑰加密第一電子裝置,並利用第一電子裝置重新廣播上述服務設置識別碼;在步驟S328,當第二電子裝置再次掃描到上述服務設置識別碼時,輸入上述密鑰和上述第一電子裝置完成連接。 Figure 5 is a diagram showing step S320 of flowchart 300 in accordance with an embodiment of the present invention. The step S320 further includes the following steps. If the service setting identification code and the IP address sent by the second electronic device are scanned, the steps S321-S323 are performed, and in step S321, the second electronic device is used to send a key to the first The electronic device; in step S322, encrypting the second electronic device with the key, and re-broadcasting the service setting identification code by using the second electronic device; in step S323, using the first electronic device to input the key and the second electronic device to complete the connection; If the service setting identification code and the IP address sent by the second electronic device are not scanned, steps S324-S328 are performed, and in step S324, the first letter key is set as the service setting identification code by the first electronic device, and the second The letter key is set to the above IP address; in step S325, when the second electronic device scans the service setting identifier and the IP address and the first electronic device When the connection is made, the first electronic device generates a key and transmits the key to the second electronic device; in step S326, the connection between the first electronic device and the second electronic device is interrupted; in step S327, the key is encrypted by using the above key a first electronic device, and re-broadcasting the service setting identification code by using the first electronic device; in step S328, when the second electronic device scans the service setting identification code again, inputting the key and the first electronic device to complete the connection .

第6圖係顯示根據本發明一實施例所述之流程圖400。當完成電子裝置間點對點模式(Ad Hoc)連接後,使用者想中斷連接之方法包括以下步驟:在步驟S410,按下功能鍵超過一既定時間;在步驟S420,會停止使用者在一操作介面已選取之上述功能;在步驟S430,中斷電子裝置間點對點模式(Ad Hoc)連接。 Figure 6 shows a flow chart 400 in accordance with an embodiment of the present invention. After completing the Ad Hoc connection between the electronic devices, the method for the user to interrupt the connection includes the following steps: in step S410, the function key is pressed for more than a predetermined time; in step S420, the user is stopped at an operation interface. The above functions have been selected; in step S430, the point-to-point mode (Ad Hoc) connection between the electronic devices is interrupted.

在傳統之無線網路連接方法,無線網卡只是在連接已有的無線信號時比較簡便,而對於無線網卡其他的功能,即使是簡單的連接兩台電腦,使用者也需要輸入許多繁複的步驟這些步驟,對於不太熟悉電腦的人來說係有操作上的困難的。因此,藉由本發明實施例所提到之無線網路連接方法,使用者僅須於輸入裝置按下一按鍵組合,即可以用簡單的步驟進行多台電子裝置的無線連接,並能夠進行文件的傳輸和網路頻寬資源的共享。此外,由於SSID與IP的定義字母鍵並不同,所以,即使別人得到了廣播的SSID,也因為不能獲得IP地址而收不到初次連接時主機(及連結時第一台設定SSID與IP之電子裝置)發送的密鑰。而之後主機又會斷開並加密後重新廣播,更加增加了網路使用之安全性。 In the traditional wireless network connection method, the wireless network card is relatively simple when connecting existing wireless signals, and for other functions of the wireless network card, even if it is simply connecting two computers, the user needs to input many complicated steps. The steps are difficult for people who are not familiar with the computer. Therefore, with the wireless network connection method mentioned in the embodiment of the present invention, the user only needs to press a button combination on the input device, that is, the wireless connection of multiple electronic devices can be performed in a simple step, and the file can be performed. Sharing of transmission and network bandwidth resources. In addition, since the SSID and IP definition letter keys are different, even if someone else gets the broadcasted SSID, the host cannot be obtained because the IP address cannot be obtained, and the first set of the SSID and IP is connected. Device) The key sent. After that, the host will disconnect and encrypt and then rebroadcast, which further increases the security of network usage.

本說明書中所提到的「一實施例」或「實施例」所提到的特定的特徵、結構或性質,可包括在本說明書的至少一實施例中。因此,在不同地方出現的語句「在一個實施例中」,可能不是都指同一個實施例。另外,此特定的特徵、結構或性質,也可以任何適合的方式與一個或一個以上的實施例結合。 The specific features, structures, or properties mentioned in the "invention" or "embodiment" referred to in the specification may be included in at least one embodiment of the present specification. Therefore, statements that appear in different places, "in one embodiment," may not all refer to the same embodiment. In addition, this particular feature, structure, or property may be combined with one or more embodiments in any suitable manner.

本說明書所揭露之實施例,對於任何在本領域熟悉此技藝者,將很快可以理解上述之優點。在閱讀完說明書內容後,任何在本領域熟悉此技藝者,在不脫離本發明之精神和範圍內,可以廣義之方式作適當的更動和替換。因此,本說明書所揭露之實施例,是用以保護本發明之專利要求範圍,並非用以限定本發明之範圍。 The embodiments disclosed herein will readily appreciate the above advantages for anyone skilled in the art. After reading the contents of the specification, any person skilled in the art can make appropriate changes and substitutions in a broad manner without departing from the spirit and scope of the invention. Therefore, the embodiments disclosed in the present specification are intended to protect the scope of the claims of the present invention and are not intended to limit the scope of the invention.

100‧‧‧第一電子裝置 100‧‧‧First electronic device

110‧‧‧輸入裝置 110‧‧‧Input device

120‧‧‧處理器 120‧‧‧ processor

130‧‧‧第一無線網卡 130‧‧‧First wireless network card

140‧‧‧顯示裝置 140‧‧‧ display device

141‧‧‧圖示 141‧‧‧ icon

142‧‧‧操作介面 142‧‧‧Operator interface

200‧‧‧第二電子裝置 200‧‧‧Second electronic device

230‧‧‧第二無線網卡 230‧‧‧Second wireless network card

300、400‧‧‧流程圖 300, 400‧‧‧ flow chart

S1‧‧‧輸出信號 S1‧‧‧ output signal

S310、S320、S321、S322、S323、S324、S325、S326、S327、S328、S330、S340、S410、S420、S430、S440‧‧‧步驟 S310, S320, S321, S322, S323, S324, S325, S326, S327, S328, S330, S340, S410, S420, S430, S440‧‧ steps

第1圖係顯示根據本發明一實施例所述之第一電子裝置100之架構圖。 FIG. 1 is a block diagram showing a first electronic device 100 according to an embodiment of the invention.

第2A-2C圖係顯示根據本發明一實施例之顯示裝置140之圖示141之通知訊息之示意圖。 2A-2C is a schematic diagram showing a notification message of the graphic representation 141 of the display device 140 in accordance with an embodiment of the present invention.

第3A-3B圖係顯示根據本發明一實施例之顯示裝置140之使用者介面142之示意圖。 3A-3B are diagrams showing a user interface 142 of the display device 140 in accordance with an embodiment of the present invention.

第4圖係顯示根據本發明一實施例所述之無線網路連接方法之流程圖300。 Figure 4 is a flow chart 300 showing a method of wireless network connection in accordance with an embodiment of the present invention.

第5圖係顯示根據本發明一實施例所述之流程圖300之步驟S320。 Figure 5 is a diagram showing step S320 of flowchart 300 in accordance with an embodiment of the present invention.

第6圖係顯示根據本發明一實施例所述之流程圖400。 Figure 6 shows a flow chart 400 in accordance with an embodiment of the present invention.

100‧‧‧第一電子裝置 100‧‧‧First electronic device

110‧‧‧輸入裝置 110‧‧‧Input device

120‧‧‧處理器 120‧‧‧ processor

130‧‧‧第一無線網卡 130‧‧‧First wireless network card

140‧‧‧顯示裝置 140‧‧‧ display device

200‧‧‧第二電子裝置 200‧‧‧Second electronic device

230‧‧‧第二無線網卡 230‧‧‧Second wireless network card

S1‧‧‧輸出信號 S1‧‧‧ output signal

Claims (20)

一種電子裝置,適用於無線網路之點對點模式連接,包括:一輸入裝置;一處理器,耦接上述輸入裝置,藉由使用者按下上述輸入裝置之一按鍵組合,產生所對應之一輸出信號;一第一無線網卡,根據上述輸出信號,掃描是否有一第二電子裝置發送之對應上述按鍵組合之一服務設置識別碼和一IP位址,並根據一掃描結果和一第二電子裝置進行連接;以及一顯示裝置,當和上述第二電子裝置連接成功時,用以顯示一圖示;其中當已連接成功,使用者即可鬆開所按下之上述按鍵組合。 An electronic device, which is suitable for a point-to-point mode connection of a wireless network, comprising: an input device; a processor coupled to the input device, and the user inputs a button combination of the input device to generate a corresponding output. a first wireless network card, according to the output signal, scanning whether a service setting identifier and an IP address corresponding to the button combination sent by the second electronic device are sent, and according to a scan result and a second electronic device And a display device for displaying an icon when the connection with the second electronic device is successful; wherein when the connection is successful, the user can release the pressed button combination. 如申請專利範圍第1項所述之電子裝置,其中上述按鍵組合包含,一功能鍵和一第一字母鍵和一第二字母鍵。 The electronic device of claim 1, wherein the key combination comprises a function key and a first letter key and a second letter key. 如申請專利範圍第2項所述之電子裝置,其中上述第一字母鍵和上述第二字母鍵分別對應不同字串和位址,用以分別設定上述服務設置識別碼和上述IP位址。 The electronic device of claim 2, wherein the first letter key and the second letter key respectively correspond to different word strings and addresses for respectively setting the service setting identification code and the IP address. 如申請專利範圍第3項所述之電子裝置,其中若有掃描到上述第二電子裝置發送之上述服務設置識別碼和上述IP位址,則等待並接收上述第二電子裝置發送之一密鑰,於上述第二電子裝置用密鑰加密並重新廣播上述服務設置識別碼後,上述第一無線網卡利用上述密鑰和上述第二電子裝置完成連接。 The electronic device of claim 3, wherein if the service setting identification code and the IP address sent by the second electronic device are scanned, waiting for and receiving a key sent by the second electronic device After the second electronic device encrypts and re-broadcasts the service setting identifier, the first wireless network card uses the key to complete the connection with the second electronic device. 如申請專利範圍第3項所述之電子裝置,其中若無掃描到第二電子裝置發送之上述服務設置識別碼和上述IP位址,上述第一無線網卡用上述第一字母鍵設定上述服務設置識別碼,以及用上述第二字母鍵設定上述IP位址。 The electronic device of claim 3, wherein the first wireless network card sets the service setting by using the first letter key if the service setting identification code and the IP address sent by the second electronic device are not scanned. The identification code, and the above IP address is set by using the second letter key. 如申請專利範圍第5項所述之電子裝置,其中上述第二電子裝置包括一第二無線網卡,當上述第二無線網卡掃描到上述服務設置識別碼和上述IP位址和上述第一無線網卡連接時,上述第一無線網卡產生一密鑰,並發送上述密鑰至上述第二無線網卡,接著上述第一無線網卡會先中斷和上述第二無線網卡之連接,利用上述密鑰加密上述電子裝置,並重新廣播上述服務設置識別碼,當上述第二無線網卡再次掃描到上述服務設置識別碼時,上述第二無線網卡利用上述密鑰完成連接。 The electronic device of claim 5, wherein the second electronic device comprises a second wireless network card, and when the second wireless network card scans the service setting identification code and the IP address and the first wireless network card When the connection is made, the first wireless network card generates a key, and sends the key to the second wireless network card, and then the first wireless network card first interrupts the connection with the second wireless network card, and encrypts the electronic device by using the key. And re-broadcasting the service setting identifier, and when the second wireless network card scans the service setting identification code again, the second wireless network card completes the connection by using the key. 如申請專利範圍第1項所述之電子裝置,其中當一游標移動到上述圖示會顯示一密碼。 The electronic device of claim 1, wherein a password is displayed when a cursor moves to the above icon. 如申請專利範圍第7項所述之電子裝置,其中當一第三電子裝置欲加入已建立之連接時,上述第三電子裝置輸入上述按鍵組合,並輸入上述密碼,即可加入已建立之連接。 The electronic device of claim 7, wherein when the third electronic device is to join the established connection, the third electronic device inputs the combination of the keys and inputs the password to join the established connection. . 如申請專利範圍第1項所述之電子裝置,其中當完成連接後,上述顯示裝置,更顯示一個操作介面,用以提供複數功能來供使用者選取。 The electronic device of claim 1, wherein when the connection is completed, the display device further displays an operation interface for providing a plurality of functions for the user to select. 如申請專利範圍第9項所述之電子裝置,其中當完成連接後,若使用者按下上述功能鍵超過一既定時間,上述處理器會停止使用者已選取之上述功能,接著上述第一 無線網卡便會中斷連接。 The electronic device of claim 9, wherein, after the connection is completed, if the user presses the function key for more than a predetermined time, the processor stops the function selected by the user, and then the first The wireless network card will break the connection. 一種無線網路連接方法,適用於一第一電子裝置和一第二電子裝置包括:藉由按下上述第一電子裝置之一輸入裝置之一按鍵組合,產生對應之一輸出信號;根據上述輸出信號,掃描是否有上述第二電子裝置發送之對應上述按鍵組合之一服務設置識別碼和一IP位址,並根據一掃描結果用以和上述第二電子裝置進行一點對點模式連接;以及當上述點對點模式連接成功時,分別於上述第一電子裝置和第二電子裝置顯示一圖示;以及鬆開所按下之上述按鍵組合。 A wireless network connection method, applicable to a first electronic device and a second electronic device, comprising: generating a corresponding output signal by pressing a button combination of one of the input devices of the first electronic device; Transmitting, by the second electronic device, a service setting identifier and an IP address corresponding to the button combination, and performing a point-to-point mode connection with the second electronic device according to a scan result; and When the point-to-point mode is successfully connected, an icon is displayed on the first electronic device and the second electronic device, respectively; and the pressed key combination is released. 如申請專利範圍第11項所述之無線網路連接方法,其中上述按鍵組合包含,一功能鍵和一第一字母鍵和一第二字母鍵。 The wireless network connection method of claim 11, wherein the key combination comprises a function key and a first letter key and a second letter key. 如申請專利範圍第12項所述之無線網路連接方法,其中上述第一字母鍵和上述第二字母鍵分別對應不同字串和位址,用以設定上述服務設置識別碼和上述IP位址。 The wireless network connection method of claim 12, wherein the first letter key and the second letter key respectively correspond to different word strings and addresses, and are used to set the service setting identification code and the IP address. . 如申請專利範圍第13項所述之無線網路連接方法,更包括:若有掃描到上述第二電子裝置發送之上述服務設置識別碼和上述IP位址,則利用上述第二電子裝置發送一密鑰至上述第一電子裝置;利用上述密鑰加密第二電子裝置,並利用上述第二電子裝置重新廣播上述服務設置識別碼;以及 利用上述第一電子裝置輸入上述密鑰和上述第二電子裝置完成連接。 The wireless network connection method of claim 13, further comprising: transmitting, by scanning, the service setting identification code and the IP address sent by the second electronic device, by using the second electronic device Key to the first electronic device; encrypting the second electronic device with the above key, and rebroadcasting the service setting identification code by using the second electronic device; And inputting the key by using the first electronic device to complete the connection with the second electronic device. 如申請專利範圍第13項所述之無線網路連接方法,更包括:若無掃描到上述第二電子裝置發送之上述服務設置識別碼和上述IP位址,利用上述第一電子裝置將上述第一字母鍵設定為上述服務設置識別碼,以及將上述第二字母鍵設定為上述IP位址。 The wireless network connection method of claim 13, further comprising: if the service setting identification code and the IP address sent by the second electronic device are not scanned, using the first electronic device to The one-letter key is set to the above service setting identification code, and the second letter key is set to the above IP address. 如申請專利範圍第15項所述之無線網路連接方法,更包括:當上述第二電子裝置掃描到上述服務設置識別碼和上述IP位址和上述第一電子裝置連接時,上述第一電子裝置產生一密鑰,並發送上述密鑰至上述第二電子裝置;中斷上述第一電子裝置和上述第二電子裝置之連接;利用上述密鑰加密上述第一電子裝置,並利用上述第一電子裝置重新廣播上述服務設置識別碼;以及當上述第二電子裝置再次掃描到上述服務設置識別碼時,輸入上述密鑰和上述第一電子裝置完成連接。 The wireless network connection method of claim 15, further comprising: when the second electronic device scans the service setting identification code and the IP address and the first electronic device are connected, the first electronic The device generates a key and transmits the key to the second electronic device; interrupts the connection between the first electronic device and the second electronic device; encrypts the first electronic device by using the key, and uses the first electronic device The device re-broadcasts the service setting identification code; and when the second electronic device scans the service setting identification code again, the key is input and the first electronic device completes the connection. 如申請專利範圍第11項所述之無線網路連接方法,更包括,當一游標移動到上述圖示會顯示一密碼。 The wireless network connection method of claim 11, further comprising displaying a password when a cursor moves to the above icon. 如申請專利範圍第17項所述之無線網路連接方法,更包括:當一第三電子裝置欲加入已建立之上述點對點模式連接時,藉由第三電子裝置輸入上述按鍵組合以及上述密碼,即可完成加入。 The wireless network connection method of claim 17, further comprising: when a third electronic device is to join the established point-to-point mode connection, inputting the key combination and the password by using the third electronic device, You can complete the join. 如申請專利範圍第11項所述之無線網路連接方法,更包括,當完成連接後,於上述第一電子裝置和上述第二電子裝置顯示一個操作介面,用以提供複數功能供使用者選取。 The wireless network connection method of claim 11, further comprising: after completing the connection, displaying an operation interface on the first electronic device and the second electronic device to provide a plurality of functions for the user to select . 如申請專利範圍第19項所述之無線網路連接方法,其中當完成上述點對點模式連接後,若按下上述功能鍵超過一既定時間,會停止使用者已選取之上述功能並中斷上述點對點模式連接。 The wireless network connection method of claim 19, wherein when the point-to-point mode connection is completed, if the function key is pressed for more than a predetermined time, the user selected function is stopped and the point-to-point mode is interrupted. connection.
TW101131698A 2012-08-24 2012-08-31 Electrical device and wireless network connection method TW201410060A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210307112.2A CN103634790A (en) 2012-08-24 2012-08-24 Electronic apparatus and wireless network connecting method

Publications (1)

Publication Number Publication Date
TW201410060A true TW201410060A (en) 2014-03-01

Family

ID=50215329

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101131698A TW201410060A (en) 2012-08-24 2012-08-31 Electrical device and wireless network connection method

Country Status (2)

Country Link
CN (1) CN103634790A (en)
TW (1) TW201410060A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015055807A1 (en) 2013-10-17 2015-04-23 Siemens Aktiengesellschaft Method and network node device for controlling the run of technology specific push-button configuration sessions within a heterogeneous or homogeneous wireless network and heterogeneous or homogeneous wireless network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101096076B1 (en) * 2008-06-26 2011-12-19 삼성전자주식회사 Apparatus and method for setting up a ad hoc mode connection using cellular network in a cellular wireless communication systme
US9301238B2 (en) * 2009-03-06 2016-03-29 Qualcomm Incorporated Methods and apparatus for automated local network formation using alternate connected interfaces
CN102402309B (en) * 2010-09-13 2015-08-26 新巨企业股份有限公司 The bluetooth mouse of quick switching connection target

Also Published As

Publication number Publication date
CN103634790A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
US20200177599A1 (en) Network connection method, hotspot terminal and management terminal
US11200012B2 (en) Terminal device, access point, communication device, and computer programs therefor
US10366214B2 (en) Method and device for establishing wireless connection
US11709639B2 (en) Non-transitory computer-readable medium storing computer-readable instructions for terminal device and terminal device
US8693038B2 (en) Wireless communication device capable of operating selectively in any state among a plurality of states including a parent state and a child state in a wireless network
US9831918B2 (en) Secure wireless peer-peer connection using near-field communication
US20090271709A1 (en) Method and apparatus for setting up wireless lan of device
US8601135B2 (en) Supporting WPS sessions using TCP-based connections
JP2016540462A (en) Key configuration method, system, and apparatus
KR20130079839A (en) Method for wi-fi direct connection
JP2014241487A (en) Communication device
CN104488302B (en) Wireless connection authentication method and server
JP2014036292A (en) Radio communication device, communication setting method and communication setting program
JP5609608B2 (en) Information processing apparatus, group generation system, group generation method, and program
JP6015315B2 (en) Communication device
WO2013145520A1 (en) Information processing device, information processing method, and program
JP6269025B2 (en) Wireless connection apparatus, method for copying setting information related to wireless communication, and network system
JP5319456B2 (en) COMMUNICATION SYSTEM, ITS CONTROL METHOD, BASE STATION DEVICE, AND PROGRAM
JP2014033282A (en) Communication method, radio communication device, and program
JP4983596B2 (en) Data providing system and data providing apparatus
US20180160463A1 (en) Wireless control of devices
JP2018007148A (en) Radio communication system and radio communication device
TW201410060A (en) Electrical device and wireless network connection method
JP2005038099A (en) Information equipment for configuring wireless network, and program
US7937514B2 (en) CWUSB host management system