TWI477179B - Wireless apparatus, wireless network architecture and network connection method with automatic connection settings - Google Patents
Wireless apparatus, wireless network architecture and network connection method with automatic connection settings Download PDFInfo
- Publication number
- TWI477179B TWI477179B TW101131550A TW101131550A TWI477179B TW I477179 B TWI477179 B TW I477179B TW 101131550 A TW101131550 A TW 101131550A TW 101131550 A TW101131550 A TW 101131550A TW I477179 B TWI477179 B TW I477179B
- Authority
- TW
- Taiwan
- Prior art keywords
- wireless
- network
- wireless device
- login information
- candidate channel
- Prior art date
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Description
本發明是有關於一種無線網路系統及其網路連線方法,特別是指一種具自動連線設定之無線裝置、無線網路架構及連網方法。The invention relates to a wireless network system and a network connection method thereof, in particular to a wireless device with an automatic connection setting, a wireless network architecture and a networking method.
隨著電子資訊業的蓬勃發展,無線網路早已融入了人類的生活中,且帶給人類社會無限的便利性。用以接取無線網路的一無線裝置通常需先啟動內建之連線設定程式,並透過其內建(或外接)之無線網路收發器,搜尋一無線服務提供裝置發出之信號,待確認收到信號後,再繼續進行該連線設定程序(如:網路協定位址)。With the rapid development of the electronic information industry, wireless networks have long been integrated into human life and bring unlimited convenience to human society. A wireless device for accessing a wireless network usually needs to activate a built-in connection setting program and search for a signal sent by a wireless service provider through its built-in (or external) wireless network transceiver. After confirming receipt of the signal, proceed to the connection setup procedure (eg, network protocol address).
在連線設定程序中,無線裝置需經由所具有的輸入裝置(例如鍵盤)或互動螢幕手動設定來接收至少一組安全性金鑰或服務網域識別碼(Service Set Identifier,SSID),並從中選出匹配於該無線服務提供裝置者,才能被允許與該無線服務提供裝置建立網路連線,進而使用該無線區域網路之服務,如此繁複之連線設定程序,將拖慢無線裝置登入無線網路的速度,倘若所接收的安全性金鑰或服務網域識別碼(Service Set Identifier,SSID)不正確,還需再重覆複雜的手動連線設定程序,相當耗費時間。In the connection setting procedure, the wireless device needs to manually receive at least one set of security keys or Service Set Identifiers (SSIDs) via an input device (such as a keyboard) or an interactive screen. Selecting a device that matches the wireless service provider can be allowed to establish a network connection with the wireless service provider to use the wireless local area network service. Such a complicated connection setting procedure will slow down the wireless device to log in to the wireless device. The speed of the network, if the received security key or Service Set Identifier (SSID) is incorrect, it is necessary to repeat the complicated manual connection setting procedure, which is quite time consuming.
另外,應用於無線網路中之嵌入式裝置或系統例如無線喇叭、照明開關或無線橋接器等具類似功能之無線裝置在執行一般功能時並不需要用到鍵盤等輸入裝置,也不需 要螢幕裝置,若為了這類非必要的裝置增加無線裝置成本,實非廠商所樂見。In addition, a wireless device with similar functions, such as an embedded device or system in a wireless network, such as a wireless horn, a lighting switch, or a wireless bridge, does not require an input device such as a keyboard when performing general functions, and does not require For the screen device, if the cost of the wireless device is increased for such a non-essential device, it is not desirable for the manufacturer.
因此,本發明的目的之一,即在提供一種具自動連線設定之無線裝置,可有效降低無線裝置成本。Accordingly, it is an object of the present invention to provide a wireless device with automatic connection settings that can effectively reduce the cost of the wireless device.
本發明之另一目的,在於提供一種具自動連線設定之無線網路架構及連網方法,使無線裝置自動建立網路連線,不但兼顧到網路連線的速度與安全性,且可允許同時設定多台無線裝置,並達到遠端操控及管理的目的。Another object of the present invention is to provide a wireless network architecture and a networking method with automatic connection settings, so that the wireless device automatically establishes a network connection, which not only takes into consideration the speed and security of the network connection, but also It is allowed to set multiple wireless devices at the same time and achieve remote control and management purposes.
於是,本發明提供一具自動連線設定之連網方法,適用於使一第二無線裝置登入一無線服務提供裝置所構成的一第一網路,包含以下步驟:(A)藉由一第一無線裝置,和該第二無線裝置建構一第二網路;(B)藉由該第一無線裝置,將用以登入該第一網路的一第一登入資訊經由該第二網路傳遞給該第二無線裝置;及(C)藉由該第二無線裝置,使用收到的該第一登入資訊來登入該第一網路;其中,該第二網路是一點對點(ad-hoc)無線網路。Therefore, the present invention provides a network connection method for automatically connecting a wireless device to a first network formed by a wireless service providing device, comprising the following steps: (A) by using a a wireless device, and the second wireless device constructs a second network; (B) the first wireless device transmits a first login information for logging in to the first network via the second network And the (C) by the second wireless device, using the received first login information to log in to the first network; wherein the second network is point-to-point (ad-hoc) ) Wireless network.
而本發明另提供一種具自動連線設定之無線網路架構,包含:一無線服務提供裝置,用以構成一第一網路;一第一無線裝置,用以選擇性地加入該第一網路;及一第二無線裝置,用以選擇性地和該第一無線裝置建構一第二網路;其中,該第一無線裝置經由該第二網路,將用以登入該第一網路的一第一登入資訊傳遞給該第二無線裝置,且該第二無線裝置使用收到的該第一登入資訊來登入該第一 網路;其中,該第二網路是一點對點(ad-hoc)無線網路。The present invention further provides a wireless network architecture with automatic connection setting, comprising: a wireless service providing device for forming a first network; and a first wireless device for selectively joining the first network And a second wireless device for selectively constructing a second network with the first wireless device; wherein the first wireless device is configured to log in to the first network via the second network Passing a first login message to the second wireless device, and the second wireless device uses the first login information received to log in to the first The network; wherein the second network is an ad-hoc wireless network.
且本發明更提供一無線裝置,適用於一具自動連線設定之無線網路架構中,該無線網路架構包含該無線裝置、一另一無線裝置,以及一個用以建構一第一網路的無線服務提供裝置,該無線裝置包括:一收發單元,接收該另一無線裝置無線傳來的一第一登入資訊,且該第一登入資訊是用以登入該第一網路;及一連結單元,使用該收發單元收到的該第一登入資訊來登入該第一網路。The present invention further provides a wireless device, which is suitable for use in a wireless network architecture with an automatic connection setting, the wireless network architecture including the wireless device, another wireless device, and a first network for constructing a first network. The wireless service provider includes: a transceiver unit that receives a first login information wirelessly transmitted from the other wireless device, and the first login information is used to log in to the first network; and a link The unit uses the first login information received by the transceiver unit to log in to the first network.
有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之四個較佳實施例的詳細說明中,將可清楚的呈現。The above and other technical contents, features and advantages of the present invention will be apparent from the following detailed description of the preferred embodiments of the invention.
在本發明被詳細描述之前,要注意的是,在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it is noted that in the following description, similar elements are denoted by the same reference numerals.
參閱圖1,本發明無線網路架構100之第一較佳實施例包含一無線服務提供裝置1、一第一無線裝置2及一第二無線裝置3。其中,無線服務提供裝置1例如是無線分享器、無線閘道器(Wireless Gateway)、無線存取點設備(Wireless Access Point,WAP)、無線路由器(Wireless Router)、無線交換機(Wireless Switch)或其他可連網之類似功能的裝置等,第一無線裝置2例如是智慧型手機、可攜式電腦或其他配置有上網功能的無線設備,第二無線裝置3例如是無線網路連接器、無線揚聲器或其他無線電子裝置等,其中該第 二無線裝置3係為不具輸入裝置及顯示設備,且無法直接連接外部網路者。無線服務提供裝置1構成一第一網路,且能耦接第一網路和一外部網路。第一無線裝置2選擇性地加入第一網路,且第一無線裝置2和第二無線裝置3選擇性地構成一第二網路。Referring to FIG. 1, a first preferred embodiment of the wireless network architecture 100 of the present invention includes a wireless service providing device 1, a first wireless device 2, and a second wireless device 3. The wireless service providing device 1 is, for example, a wireless sharer, a wireless gateway (Wireless Gateway), a wireless access point device (WAP), a wireless router (Wireless Router), a wireless switch (Wireless Switch), or the like. The first wireless device 2 is, for example, a smart phone, a portable computer or other wireless device configured with an Internet function, and the second wireless device 3 is, for example, a wireless network connector or a wireless speaker. Or other wireless electronic device, etc. The second wireless device 3 is a device that does not have an input device and a display device, and cannot directly connect to an external network. The wireless service providing device 1 constitutes a first network and can be coupled to the first network and an external network. The first wireless device 2 selectively joins the first network, and the first wireless device 2 and the second wireless device 3 selectively constitute a second network.
較佳地,本實施例的外部網路是網際網路;第一網路是無線保真(Wireless Fidelity,Wi-Fi)無線網路,無線服務提供裝置1為Wi-Fi存取點裝置,第一無線裝置2是配置有Wi-Fi收發功能的手機;第二無線裝置3是配置有Wi-Fi收發功能的無線揚聲器,該無線揚聲器不具輸入/顯示設備,且無法直接連接外部網路者;第二網路是點對點(ad-hoc)無線網路。其中,點對點模式(ad-hoc mode)指的是具備有無線網路傳輸功能的多個裝置可執行平台(或週邊裝置),使用相同的服務網域識別碼(Service Set Identifier,SSID)以及相同的服務網域頻道(channel)來進行短距離傳輸的模式,此模式僅需要較低的輸出功率以及較簡易的傳輸架構,即可完成在不同裝置執行平台(或週邊裝置)間有效率的無線網路傳輸。在這樣的架構下,Wi-Fi網路能藉由Wi-Fi存取點設備以非對稱數位式用戶線路(Asymmetric Digital Subscriber Line,ADSL)傳輸方式接取網際網路的資料,其中接取方式不需侷限於ADSL。上述第一網路亦不限於Wi-Fi,也可以是藍芽(Bluetooth)網路。同樣地,無線服務提供裝置1、第一無線裝置2和第二無線裝置3可不限於具Wi-Fi收發功能的裝置,也可以是具藍芽收發功能的無線裝置。Preferably, the external network of the embodiment is an Internet; the first network is a Wireless Fidelity (Wi-Fi) wireless network, and the wireless service providing device 1 is a Wi-Fi access point device. The first wireless device 2 is a mobile phone configured with a Wi-Fi transceiver function; the second wireless device 3 is a wireless speaker configured with a Wi-Fi transceiver function, the wireless speaker has no input/display device, and cannot directly connect to an external network. The second network is an ad-hoc wireless network. Among them, the ad-hoc mode refers to a plurality of device executable platforms (or peripheral devices) having a wireless network transmission function, using the same Service Set Identifier (SSID) and the same Service network channel for short-distance transmission mode, which requires only low output power and a simple transmission architecture to complete efficient wireless between different device execution platforms (or peripheral devices) Network transmission. Under such a framework, the Wi-Fi network can access the Internet data through the Asymmetric Digital Subscriber Line (ADSL) transmission by the Wi-Fi access point device, and the access method is adopted. No need to be limited to ADSL. The first network described above is also not limited to Wi-Fi, and may also be a Bluetooth network. Similarly, the wireless service providing device 1, the first wireless device 2, and the second wireless device 3 may not be limited to a device having a Wi-Fi transceiving function, or may be a wireless device having a Bluetooth transceiving function.
同時參閱圖1和圖2,為了讓第二無線裝置3登入無線服務提供裝置1建立的第一網路,無線網路架構100執行以下本發明連網方法之較佳實施例。Referring to FIG. 1 and FIG. 2, in order for the second wireless device 3 to log in to the first network established by the wireless service providing device 1, the wireless network architecture 100 performs the following preferred embodiment of the networking method of the present invention.
步驟72:第一無線裝置2接收一內建有第二登入資訊之軟體,並安裝該軟體,進而獲取該第二登入資訊。其中,第一無線裝置2取得軟體的方式例如是從光碟或隨身碟讀出,或者第一無線裝置2可以先登入第一網路進一步從外部網路取得該軟體,但並不以此為限。而所稱軟體例如是一個網路應用軟體(Application,APP)。Step 72: The first wireless device 2 receives a software with built-in second login information, and installs the software to obtain the second login information. The manner in which the first wireless device 2 obtains the software is, for example, read from a CD or a flash drive, or the first wireless device 2 may first log in to the first network to further obtain the software from the external network, but not limited thereto. . The so-called software is, for example, a web application software (Application, APP).
並且,第一無線裝置2透過軟體獲取的第二登入資訊相同於第二無線裝置3所記錄的一個第二參考資訊,其中,第一無線裝置2接收的第二登入資訊包括與第二無線裝置3之ad hoc連線所需的服務網域識別碼(SSID)和頻道數(Channel Number)資訊,而第二無線裝置3所記錄的第二參考資訊也對應地包括特有的服務網域識別碼(SSID)和頻道數資訊。In addition, the second login information acquired by the first wireless device 2 through the software is the same as the second reference information recorded by the second wireless device 3, wherein the second login information received by the first wireless device 2 includes the second wireless device. The service domain identifier (SSID) and the channel number (Channel Number) information required for the ad hoc connection of 3, and the second reference information recorded by the second wireless device 3 correspondingly includes the unique service domain identifier. (SSID) and channel number information.
於本實施例中,該應用軟體與第二無線裝置3在開發或出廠之刻便將該固定的服務網域識別碼(SSID)和頻道數(Channel Number)資訊加入其中。複數但有限的頻道數可供安裝有該軟體的第一無線裝置2與第二無線裝置3通訊時做切換,以避開受干擾的頻道,並避免使用太多頻道而降低連線建立的速度。同時,考慮到安全性,在軟體與第二無線裝置3中亦加入有產品的比對資訊,可進行安全性驗證,但不限於此。In this embodiment, the application software and the second wireless device 3 add the fixed service domain identifier (SSID) and channel number (Channel Number) information to the second wireless device 3 at the time of development or shipment. The plural but limited number of channels can be switched when the first wireless device 2 on which the software is installed communicates with the second wireless device 3 to avoid disturbed channels and avoid using too many channels to reduce the speed of connection establishment. . At the same time, in consideration of security, the comparison information of the products is also added to the software and the second wireless device 3, and security verification can be performed, but is not limited thereto.
步驟73:第一無線裝置2以第二登入資訊來和第二無線裝置3建構第二網路。Step 73: The first wireless device 2 constructs a second network with the second wireless device 3 by using the second login information.
本實施例之第二網路的點對點連線方式如Wi-Fi ad hoc mode等,用以連接上網路節點產品。首先,使用基本的ad hoc連線模式,以使用固定SSID與Channel Number的方式,讓使用者界面軟體與第二無線裝置3保有共同資訊,使用者便可以不需要知道第二無線裝置3的SSID與Channel Number等資訊,只要安裝所提供的軟體,執行軟體後,第一無線裝置2便能以ad hoc模式自動連接上第二無線裝置3,可免去煩瑣的連線設定輸入步驟。The point-to-point connection mode of the second network in this embodiment, such as Wi-Fi ad hoc mode, is used to connect the network node product. First, the basic ad hoc connection mode is used to allow the user interface software to maintain the common information with the second wireless device 3 by using the fixed SSID and the Channel Number, so that the user does not need to know the SSID of the second wireless device 3. With the information such as the Channel Number, as long as the software provided is installed, after executing the software, the first wireless device 2 can automatically connect to the second wireless device 3 in the ad hoc mode, thereby eliminating the cumbersome connection setting input step.
步驟74:第一無線裝置2將登入第一網路所需之第一登入資訊傳送給第二無線裝置3,以供第二無線裝置3自動登入無線服務提供裝置1所構成的第一網路,並取得IP。Step 74: The first wireless device 2 transmits the first login information required to log in to the first network to the second wireless device 3, so that the second wireless device 3 automatically logs in to the first network formed by the wireless service providing device 1. And get the IP.
其中,無線服務提供裝置1記錄有一第一參考資訊,當第二無線裝置3提供的第一登入資訊匹配於第一參考資訊,無線服務提供裝置1才允許第二無線裝置3登入第一網路。本實施例中,第一登入資訊包括一識別碼和一密碼,第一參考資訊對應地包括一識別碼和一密碼,識別碼例如是服務網域識別碼(Service Set Identifier,SSID)。The wireless service providing device 1 records a first reference information. When the first login information provided by the second wireless device 3 matches the first reference information, the wireless service providing device 1 allows the second wireless device 3 to log in to the first network. . In this embodiment, the first login information includes an identification code and a password, and the first reference information correspondingly includes an identification code and a password, and the identification code is, for example, a Service Set Identifier (SSID).
步驟75:第一無線裝置2登入第一網路,可透過無線服務提供裝置1,並配合使用通用的簡單服務發現協議(Simple Service Discovery Protocol,SSDP)來得知目前有哪些設備登入了第一網路。Step 75: The first wireless device 2 logs into the first network, and the wireless service providing device 1 is used, and the general Simple Service Discovery Protocol (SSDP) is used to learn which devices are currently logged into the first network. road.
請注意,執行步驟72後,第一無線裝置2已安裝了軟 體,所以第一無線裝置2具有SSDP和遠端操控及管理的功能。Please note that after performing step 72, the first wireless device 2 has been installed with soft Body, so the first wireless device 2 has the functions of SSDP and remote control and management.
步驟76:當第一無線裝置2發現第二無線裝置3未登入第一網路,流程回到步驟73。Step 76: When the first wireless device 2 finds that the second wireless device 3 is not logged into the first network, the flow returns to step 73.
另一方面,若第一無線裝置2發現第二無線裝置3已登入第一網路,便可遠端操控及管理第二無線裝置3,例如調整無線揚聲器的音量,如此即可實現自動連線設定並遠端操控及管理的目的。On the other hand, if the first wireless device 2 finds that the second wireless device 3 has logged into the first network, the second wireless device 3 can be remotely controlled and managed, for example, the volume of the wireless speaker is adjusted, so that the automatic connection can be realized. Set and remote control and management purposes.
當然,如果在步驟74前第二無線裝置3就知道登入第一網路的資訊,可先行嘗試登入第一網路。若第二無線裝置3登入失敗,則可以使用第一無線裝置2於步驟74傳來的第一登入資訊再次嘗試登入第一網路。Of course, if the second wireless device 3 knows the information of logging in to the first network before step 74, it can first try to log in to the first network. If the second wireless device 3 fails to log in, the first wireless device 2 may use the first login information sent from the step 74 to try to log in to the first network again.
詳細來說,第一無線裝置2於步驟72得到的第二登入資訊含有一個主候選頻道資訊、一個次候選頻道資訊和一服務網域識別碼(SSID),且第二無線裝置3記錄的第二參考資訊也含有對應的主候選頻道資訊、次候選頻道資訊和服務網域識別碼(SSID)。由於第一無線裝置2建構第二網路的流程包括了掃描、驗證等動作,以下特別加強說明第一無線裝置2於步驟73的作動。步驟73包括圖3的以下子步驟。In detail, the second login information obtained by the first wireless device 2 in step 72 includes a primary candidate channel information, a secondary candidate channel information, and a service domain identifier (SSID), and the second wireless device 3 records the first The second reference information also includes corresponding primary candidate channel information, secondary candidate channel information, and a service domain identifier (SSID). Since the flow of constructing the second network by the first wireless device 2 includes scanning, verification, and the like, the following operation of the first wireless device 2 in step 73 is particularly emphasized. Step 73 includes the following sub-steps of FIG.
子步驟731:已安裝軟體的第一無線裝置2依照軟體的預設規則先根據該主候選頻道資訊切換到主候選頻道,並廣播一個含有第二登入資訊SSID的信標(beacon)封包,以偵測是否存在一個操作於主候選頻道且其第二參考資訊 SSID匹配於第二登入資訊SSID的第二無線裝置3。Sub-step 731: The first wireless device 2 that has installed the software first switches to the primary candidate channel according to the primary candidate channel information according to the preset rule of the software, and broadcasts a beacon packet containing the second login information SSID to Detecting whether there is a second candidate channel operating on the primary candidate channel The SSID matches the second wireless device 3 of the second login information SSID.
若是,繼續子步驟732;若否,跳到子步驟735。If yes, continue to sub-step 732; if no, skip to sub-step 735.
子步驟732:第一無線裝置2評估主候選頻道的通道品質。Sub-step 732: The first wireless device 2 evaluates the channel quality of the primary candidate channel.
子步驟733:第一無線裝置2檢視主候選頻道的通道品質是否符合要求,例如是否高於一通道品質門檻。若是,進行子步驟734;若否,跳到子步驟735。Sub-step 733: The first wireless device 2 checks whether the channel quality of the primary candidate channel meets the requirements, such as whether it is higher than a channel quality threshold. If yes, proceed to sub-step 734; if no, skip to sub-step 735.
子步驟734:第一無線裝置2以主候選頻道當作該第二網路的接取頻道,然後進行子步驟740。Sub-step 734: The first wireless device 2 treats the primary candidate channel as the access channel of the second network, and then proceeds to sub-step 740.
子步驟735:第一無線裝置2根據該次候選頻道資訊切換到次候選頻道,並廣播一個含有第二登入資訊SSID的信標(beacon)封包,以偵測是否存在一個操作於次候選頻道且其SSID相同於第二登入資訊SSID的第二無線裝置3。Sub-step 735: The first wireless device 2 switches to the secondary candidate channel according to the secondary candidate channel information, and broadcasts a beacon packet containing the second login information SSID to detect whether there is an operation on the secondary candidate channel. The second wireless device 3 whose SSID is the same as the second login information SSID.
若是,繼續子步驟736;若否,回到子步驟731。If yes, continue to sub-step 736; if no, return to sub-step 731.
子步驟736:第一無線裝置2評估次候選頻道的通道品質。Sub-step 736: The first wireless device 2 evaluates the channel quality of the secondary candidate channel.
子步驟737:第一無線裝置2檢視次候選頻道的通道品質是否符合要求。若是,進行子步驟739;若否,繼續子步驟738。Sub-step 737: The first wireless device 2 checks whether the channel quality of the secondary candidate channel meets the requirements. If so, sub-step 739 is performed; if not, sub-step 738 is continued.
子步驟738:第一無線裝置2檢視次候選頻道的通道品質是否優於主候選頻道的通道品質。若是,進行子步驟739;若否,繼續子步驟734。Sub-step 738: The first wireless device 2 checks whether the channel quality of the secondary candidate channel is better than the channel quality of the primary candidate channel. If so, sub-step 739 is performed; if not, sub-step 734 is continued.
子步驟739:第一無線裝置2以次候選頻道當作接取頻道,然後進行子步驟740。Sub-step 739: The first wireless device 2 treats the secondary candidate channel as the access channel and then proceeds to sub-step 740.
子步驟740:第一無線裝置2和第二無線裝置3都切換到接取頻道以建立第二網路,且第一無線裝置2對第二無線裝置3進行身分驗證。當驗證失敗,軟體提示使用者後,流程中斷或回到步驟72。若成功,執行步驟74而將關於無線服務提供裝置1的第一登入資訊傳送給第二無線裝置3。Sub-step 740: Both the first wireless device 2 and the second wireless device 3 switch to the access channel to establish a second network, and the first wireless device 2 performs identity verification on the second wireless device 3. When the verification fails, the software prompts the user, the process is interrupted or returns to step 72. If successful, step 74 is performed to transmit the first login information about the wireless service providing device 1 to the second wireless device 3.
附帶說明的是,如熟悉本技藝者所知,驗證方式可以是使用第二登入資訊進行開放系統認證,或是使用加密信號進行共用金鑰認證。且如果第一無線裝置2和第二無線裝置3於目前接取通道(例如主候選通道)中斷連線,第一無線裝置2也可以再切換到次候選通道來嘗試和第二無線裝置3建立連線。同理,當第一無線裝置2和第二無線裝置3於次候選通道中斷連線,也可以嘗試於主候選通道恢復連線。Incidentally, as is known to those skilled in the art, the verification method may be to use the second login information for open system authentication or to use an encrypted signal for shared key authentication. And if the first wireless device 2 and the second wireless device 3 are disconnected from the current access channel (eg, the primary candidate channel), the first wireless device 2 can also switch to the secondary candidate channel to try to establish with the second wireless device 3. Connected. Similarly, when the first wireless device 2 and the second wireless device 3 are disconnected from the secondary candidate channel, it is also possible to try to restore the connection to the primary candidate channel.
綜觀前述流程可理解,使用者只要將內建有與第二無線裝置3匹配之第二登入資訊的應用軟體下載到第一無線裝置2,執行軟體後就可以自動以點對點連線方式完成第一無線裝置2和第二無線裝置3的第二網路的建構,進一步地,第二無線裝置3可透過第一無線裝置2接收賴以登入第一網路的第一登入資訊,以完成第二無線裝置3自動連線登入第一網路,而不用像習知無線裝置需配置輸入裝置及顯示裝置來手動設定連線登入,確實可以有效降低第二無線裝置3的成本及連網時間。As can be understood from the foregoing process, the user only needs to download the application software with the second login information matched with the second wireless device 3 to the first wireless device 2. After executing the software, the user can automatically complete the first connection in a point-to-point manner. The second network of the wireless device 2 and the second wireless device 3 is further configured, and the second wireless device 3 can receive the first login information of the first network by using the first wireless device 2 to complete the second The wireless device 3 automatically connects to the first network without manually configuring the input device and the display device to manually set the connection login, which can effectively reduce the cost and networking time of the second wireless device 3.
特別說明的是,圖1的第一無線裝置2包括一收發單 元21、一連結單元22和一處理單元23。第二無線裝置3包括一收發單元31和一連結單元32。第一無線裝置2會藉由連結單元22登入第一網路或在從軟體獲得的SSID相同於第二無線裝置3的情況下建構第二網路,藉由收發單元21接收並安裝軟體且傳遞第一登入資訊給第二無線裝置3,藉由處理單元23得知第一無線裝置2是否連上第一網路並進行操控。而第二無線裝置3則藉由收發單元31接收第一無線裝置2傳來的第一登入資訊,且藉由連結單元32登入第一網路。Specifically, the first wireless device 2 of FIG. 1 includes a transceiver A unit 21, a link unit 22 and a processing unit 23. The second wireless device 3 includes a transceiver unit 31 and a link unit 32. The first wireless device 2 will log in to the first network by the linking unit 22 or construct the second network if the SSID obtained from the software is the same as the second wireless device 3, and the receiving and receiving unit 21 receives and installs the software and transmits the software. The first login information is sent to the second wireless device 3, and the processing unit 23 knows whether the first wireless device 2 is connected to the first network and performs manipulation. The second wireless device 3 receives the first login information sent by the first wireless device 2 through the transceiver unit 31, and logs in to the first network through the link unit 32.
另外請注意,無線服務提供裝置1可能受外部控制而更動其第一參考資訊(包括識別碼和密碼),例如改變密碼,第一無線裝置2會隨之更新用以登入第一網路的第一登入資訊。In addition, please note that the wireless service providing device 1 may be externally controlled to change its first reference information (including the identification code and password), such as changing the password, and the first wireless device 2 will update the first login to the first network. A login message.
再者,倘若第二無線裝置3在只有一個網路卡的情況下,會切換地登入第一網路或第二網路,且登入第一網路後每隔一段時間送出一個連線探測封包來確認是否和無線服務提供裝置1無線連接。其中,第二無線裝置3可週期性地改成要登入第二網路,也可以在發現沒有和無線服務提供裝置1無線連接時強迫改成要登入第二網路。在第二無線裝置3決定要改成登入第二網路後,會等待第一無線裝置2依照前述步驟重新建構第二網路並傳送最新第一登入資訊給第二無線裝置3。如此,即使無線服務提供裝置1改變了第一參考資訊,第二無線裝置3也可透過第一無線裝置2使用最新第一登入資訊來登入第一網路。Moreover, if the second wireless device 3 has only one network card, it will switch to the first network or the second network, and send a connection detection packet at intervals after logging in to the first network. It is confirmed whether or not the wireless service providing device 1 is wirelessly connected. The second wireless device 3 can be periodically changed to log in to the second network, or can be forced to log in to the second network when it is found that the wireless service providing device 1 is not wirelessly connected. After the second wireless device 3 decides to change to log in to the second network, it waits for the first wireless device 2 to reconstruct the second network and transmit the latest first login information to the second wireless device 3 according to the foregoing steps. In this way, even if the wireless service providing device 1 changes the first reference information, the second wireless device 3 can log in to the first network through the first wireless device 2 using the latest first login information.
參閱圖4,相較於第一較佳實施例,本發明無線網路架構300之第二較佳實施例不同的是:第二無線裝置6能耦接第一網路和一第三網路,且無線網路架構300更包含耦接該第三網路的多個無線電子設備7。第二無線裝置6包括收發單元31、連結單元32和一格式轉換單元63。格式轉換單元63能將收發單元31收到的來自第一無線裝置2和無線服務提供裝置1的信號轉換成適用於第三網路格式的信號,而轉發給無線電子設備7。同樣地,格式轉換單元63也能將收發單元31收到的來自無線電子設備7的信號轉換成適用於第二網路格式的信號,而轉發給第一無線裝置2,並且還能將收發單元31收到的來自無線電子設備7的信號轉換成適用於第一網路格式的信號,而轉發給無線服務提供裝置1。Referring to FIG. 4, in contrast to the first preferred embodiment, the second preferred embodiment of the wireless network architecture 300 of the present invention is different in that the second wireless device 6 can be coupled to the first network and the third network. The wireless network architecture 300 further includes a plurality of wireless electronic devices 7 coupled to the third network. The second wireless device 6 includes a transceiver unit 31, a link unit 32, and a format conversion unit 63. The format converting unit 63 can convert the signals received from the first wireless device 2 and the wireless service providing device 1 received by the transceiver unit 31 into signals suitable for the third network format, and forward them to the wireless electronic device 7. Similarly, the format conversion unit 63 can also convert the signal received from the wireless electronic device 7 received by the transceiver unit 31 into a signal suitable for the second network format, and forward it to the first wireless device 2, and can also transmit and receive the transceiver unit. The received signal from the wireless electronic device 7 is converted into a signal suitable for the first network format and forwarded to the wireless service providing device 1.
本實施例可應用於數位家庭智能電網,較佳地,第三網路是指ZigBee(群蜂)無線網路,無線電子設備7則是配置有ZigBee收發功能的照明開關、空調器、無線揚聲器或其他具類似功能之設備,而第二無線裝置6是配置有Wi-Fi收發功能與ZigBee收發功能的網路連接器。當第一無線裝置2和第二無線裝置6共同連接上第一網路,第一無線裝置2即可以透過第二無線裝置6而遠端操控及管理該等無線電子設備7。This embodiment can be applied to a digital home smart grid. Preferably, the third network refers to a ZigBee (group bee) wireless network, and the wireless electronic device 7 is a light switch, an air conditioner, and a wireless speaker configured with a ZigBee transceiver function. Or other devices having similar functions, and the second wireless device 6 is a network connector configured with a Wi-Fi transceiver function and a ZigBee transceiver function. When the first wireless device 2 and the second wireless device 6 are connected to the first network in common, the first wireless device 2 can remotely control and manage the wireless electronic devices 7 through the second wireless device 6.
參閱圖5,相較於第一較佳實施例,本發明無線網路架 構200之第三較佳實施例不同的是:無線網路架構200的無線服務提供裝置5數目有多個(圖5以三個無線服務提供裝置為例)。每一無線服務提供裝置5構成一個所屬第一網路,且第一無線裝置2的接取清單記錄有用以登入該等第一網路的第一登入資訊。在這樣的情況下,當子步驟740的身分驗證成功,第一無線裝置2會從這些無線服務提供裝置5中選出一個並送出對應第一登入資訊給第二無線裝置3,使第二無線裝置3登入所選出無線服務提供裝置5構成的第一網路。在本實施例,第一無線裝置2的軟體介面可自動列出目前可用或已知的無線服務提供裝置5,使用者可挑選一個或多個無線服務提供裝置5資訊,透過已建立的連線將設定由第一無線裝置2寫入第二無線裝置3。當然,第一無線裝置2不一定需存有該接取清單,也可以接收外部傳來的第一登入資訊,例如:由鍵盤輸入。Referring to FIG. 5, the wireless network frame of the present invention is compared to the first preferred embodiment. The third preferred embodiment of the architecture 200 differs in that the number of wireless service providing devices 5 of the wireless network architecture 200 is plural (FIG. 5 is exemplified by three wireless service providing devices). Each wireless service providing device 5 constitutes a first network to which it belongs, and the access list of the first wireless device 2 records first login information for logging into the first networks. In this case, when the identity verification of the sub-step 740 is successful, the first wireless device 2 selects one of the wireless service providing devices 5 and sends the corresponding first login information to the second wireless device 3, so that the second wireless device 3 Log in to the first network formed by the selected wireless service providing device 5. In this embodiment, the software interface of the first wireless device 2 can automatically list the currently available or known wireless service providing devices 5, and the user can select one or more wireless service providing devices 5 to communicate through the established connection. The setting is written by the first wireless device 2 to the second wireless device 3. Of course, the first wireless device 2 does not necessarily need to store the access list, and may also receive the first incoming login information, for example, input by a keyboard.
參閱圖6,相較於第一較佳實施例,本發明無線網路架構400之第四較佳實施例不同的是:第二無線裝置8數目有多個,且各第二無線裝置8可以是不同類型的無線電子產品,例如無線揚聲器、無線橋接器。這些第二無線裝置8皆為不具輸入裝置及顯示設備,且無法直接連接外部網路者,其所記錄的第二參考資訊都相同於第一無線裝置2獲取的第二登入資訊,而能在子步驟740和第一無線裝置2共同建立第二網路。特別說明的是,因為各第二無線裝置8有其獨特的媒體存取控制(Media Access Control,MAC)位址 ,因此第一無線裝置2可輕易區別。換句話說,第一無線裝置2所載入之應用軟體可利用這個每台第二無線裝置8唯一的MAC位址來做辨別。進一步地,第一無線裝置2可以循著MAC位址為各第二無線裝置8傳遞第一登入資訊,且各第二無線裝置8可以回報目前狀態資訊,例如是否已獲取第一登入資訊,如此第一無線裝置2才能判斷接下來還要為哪一個第二無線裝置8提供第一登入資訊。具體而言,已安裝軟體的第一無線裝置2將產生複數個選項,令其為「設定全部」、「設定產品A」(例如:無線揚聲器)與「設定產品B」(例如:無線橋接器)。在多重對象裝置的情況下,除MAC位址外,產品亦會提供一個至數個狀態資訊如目前設定情形等,來區別該裝置是否已經設定過或設定成功與否等,以利控制軟體進行適當的判斷或提示使用者知道。Referring to FIG. 6, a fourth preferred embodiment of the wireless network architecture 400 of the present invention is different in that the number of second wireless devices 8 is multiple, and each second wireless device 8 can be compared to the first preferred embodiment. Different types of wireless electronics, such as wireless speakers, wireless bridges. The second wireless device 8 is not equipped with an input device and a display device, and cannot directly connect to the external network. The second reference information recorded by the second wireless device 8 is the same as the second login information obtained by the first wireless device 2, and can be Sub-step 740 and the first wireless device 2 jointly establish a second network. In particular, because each second wireless device 8 has its own unique Media Access Control (MAC) address. Therefore, the first wireless device 2 can be easily distinguished. In other words, the application software loaded by the first wireless device 2 can be distinguished by the unique MAC address of each of the second wireless devices 8. Further, the first wireless device 2 can transmit the first login information for each second wireless device 8 according to the MAC address, and each second wireless device 8 can report the current status information, for example, whether the first login information has been obtained, The first wireless device 2 can determine which second wireless device 8 is to be provided with the first login information next. Specifically, the first wireless device 2 to which the software is installed will generate a plurality of options such as "Set All", "Set Product A" (for example: wireless speaker) and "Set Product B" (for example: Wireless Bridge) ). In the case of a multi-object device, in addition to the MAC address, the product will provide one to several status information, such as the current setting situation, to distinguish whether the device has been set or set successfully, etc., in order to facilitate the control software. Appropriate judgment or prompt the user to know.
特別說明的是,本發明第一網路、第二網路、第三網路及外部網路的類型不必侷限於前述說明,只要是合理的網路連結即可。Specifically, the types of the first network, the second network, the third network, and the external network of the present invention are not necessarily limited to the foregoing description, as long as they are reasonable network connections.
綜上所述,本發明之具自動連線設定之無線裝置、無線網路架構及連網方法具有下列優點:In summary, the wireless device with the automatic connection setting, the wireless network architecture and the networking method of the present invention have the following advantages:
一、本發明前述較佳實施例中,第一無線裝置2能和第二無線裝置3、6、8自動以點對點連線方式建構第二網路,進而將第一網路的第一登入資訊傳遞給第二無線裝置3、6、8,所以不用像習知無線裝置還要額外設置輸入裝置、顯示設備或傳輸接口,可實質降低第二無線裝置3、6、8成本。1. In the foregoing preferred embodiment of the present invention, the first wireless device 2 and the second wireless device 3, 6, 8 automatically construct a second network in a point-to-point connection manner, thereby first registering the first network information of the first network. It is passed to the second wireless device 3, 6, 8 so that the input device, display device or transmission interface is not additionally provided as in the conventional wireless device, and the cost of the second wireless device 3, 6, 8 can be substantially reduced.
二、本發明為使用者提供一自動連線設定之無線裝置、無線網路架構及連網方法,藉由第一無線裝置2安裝一個內建SSID及Channel Number資訊的應用軟體,且該軟體與該第二無線裝置3之固定且相互匹配的SSID及Channel Number資訊在出廠販賣前已由廠商先行完成,讓使用者可透過點對點連線方式進行第一無線裝置2及第二無線裝置3自動連線,進而可輕易完成第二無線裝置3與無線服務提供裝置1之間的無線網路設定,兩者即可相互通訊。The present invention provides an automatic connection setting wireless device, a wireless network architecture and a networking method for the user, and the first wireless device 2 installs an application software with built-in SSID and Channel Number information, and the software and the software The fixed and mutually matching SSID and Channel Number information of the second wireless device 3 are completed by the manufacturer before the factory is sold, so that the user can automatically connect the first wireless device 2 and the second wireless device 3 through the point-to-point connection method. The line, and thus the wireless network setting between the second wireless device 3 and the wireless service providing device 1, can be easily completed, and the two can communicate with each other.
三、使用者更可藉由本發明延伸設置新的無線裝置3、6、8,使新增的無線裝置可輕易地加入與原無線裝置相同的無線網路及網段中。Third, the user can further extend the new wireless devices 3, 6, and 8 by the present invention, so that the newly added wireless device can be easily added to the same wireless network and network segment as the original wireless device.
四、使用者可輕易地藉由此方法將現有或新增的無線裝置加入相同的無線網路及網段,讓使用者的所有無線裝置皆能以無線的方式互相通訊,而不需知道相關的無線及網路設定,操作簡便。4. Users can easily add existing or new wireless devices to the same wireless network and network segment by this method, so that all wireless devices of the user can communicate with each other wirelessly without knowing the relevant Wireless and network settings for easy operation.
惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。The above is only the preferred embodiment of the present invention, and the scope of the invention is not limited thereto, that is, the simple equivalent changes and modifications made by the scope of the invention and the description of the invention are All remain within the scope of the invention patent.
100~400‧‧‧無線網路架構100~400‧‧‧Wireless network architecture
1‧‧‧無線服務提供裝置1‧‧‧Wireless service provider
2‧‧‧第一無線裝置2‧‧‧First wireless device
21‧‧‧收發單元21‧‧‧ transceiver unit
22‧‧‧連結單元22‧‧‧Link unit
23‧‧‧處理單元23‧‧‧Processing unit
3‧‧‧第二無線裝置3‧‧‧Second wireless device
31‧‧‧收發單元31‧‧‧ transceiver unit
32‧‧‧連結單元32‧‧‧Link unit
5‧‧‧無線服務提供裝置5‧‧‧Wireless service provider
6‧‧‧第二無線裝置6‧‧‧Second wireless device
63‧‧‧格式轉換單元63‧‧‧Format conversion unit
7‧‧‧無線電子設備7‧‧‧Wireless electronic devices
8‧‧‧第二無線裝置8‧‧‧Second wireless device
72~76‧‧‧步驟72~76‧‧‧Steps
731~740‧‧‧子步驟731~740‧‧‧Substeps
圖1是一示意圖,說明本發明無線網路架構之第一較佳實施例;圖2是一流程圖,說明本發明連網方法之較佳實施例 ;圖3是一流程圖,說明第一無線裝置和第二無線裝置建構第二網路之較佳實施例;圖4是一示意圖,說明本發明無線網路架構之第二較佳實施例;圖5是一示意圖,說明本發明無線網路架構之第三較佳實施例;及圖6是一示意圖,說明本發明無線網路架構之第四較佳實施例。1 is a schematic diagram showing a first preferred embodiment of the wireless network architecture of the present invention; and FIG. 2 is a flow chart illustrating a preferred embodiment of the networking method of the present invention 3 is a flow chart illustrating a preferred embodiment of a first wireless device and a second wireless device for constructing a second network; FIG. 4 is a schematic diagram showing a second preferred embodiment of the wireless network architecture of the present invention; FIG. 5 is a schematic diagram showing a third preferred embodiment of the wireless network architecture of the present invention; and FIG. 6 is a schematic diagram showing a fourth preferred embodiment of the wireless network architecture of the present invention.
100‧‧‧無線網路架構100‧‧‧Wireless network architecture
1‧‧‧無線服務提供裝置1‧‧‧Wireless service provider
2‧‧‧第一無線裝置2‧‧‧First wireless device
21‧‧‧收發單元21‧‧‧ transceiver unit
22‧‧‧連結單元22‧‧‧Link unit
23‧‧‧處理單元23‧‧‧Processing unit
3‧‧‧第二無線裝置3‧‧‧Second wireless device
31‧‧‧收發單元31‧‧‧ transceiver unit
32‧‧‧連結單元32‧‧‧Link unit
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101131550A TWI477179B (en) | 2012-08-30 | 2012-08-30 | Wireless apparatus, wireless network architecture and network connection method with automatic connection settings |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101131550A TWI477179B (en) | 2012-08-30 | 2012-08-30 | Wireless apparatus, wireless network architecture and network connection method with automatic connection settings |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201410055A TW201410055A (en) | 2014-03-01 |
TWI477179B true TWI477179B (en) | 2015-03-11 |
Family
ID=50820562
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW101131550A TWI477179B (en) | 2012-08-30 | 2012-08-30 | Wireless apparatus, wireless network architecture and network connection method with automatic connection settings |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI477179B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10122685B2 (en) | 2015-08-26 | 2018-11-06 | Tatung Company | Method for automatically establishing wireless connection, gateway device and client device for internet of things using the same |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWM424722U (en) * | 2011-11-18 | 2012-03-11 | Zinwell Corp | Wireless network structure with built-in connection setting |
-
2012
- 2012-08-30 TW TW101131550A patent/TWI477179B/en active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWM424722U (en) * | 2011-11-18 | 2012-03-11 | Zinwell Corp | Wireless network structure with built-in connection setting |
Also Published As
Publication number | Publication date |
---|---|
TW201410055A (en) | 2014-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102060547B1 (en) | Method and apparatus for registering wireless device in wireless communication system | |
US9444639B2 (en) | Multi-tier wireless home mesh network with a secure network discovery protocol | |
US9204470B2 (en) | Method for a wireless target device to automatically connect to a target network, wireless network system with automatic network setting ability, and wireless target device thereof | |
CN102132592B (en) | Commissioning a network system | |
CN102137395B (en) | Method, device and system for configuring access device | |
WO2019153143A1 (en) | Network access method, device, and system | |
JP6622716B2 (en) | Method and apparatus for setting user preferences or device configuration | |
US20150071052A1 (en) | Reconfiguring a headless wireless device | |
JP2017503370A (en) | Method and apparatus for identifying physical IoT devices | |
US9999091B2 (en) | System and method for negotiating group membership for audio controllers | |
JP5943860B2 (en) | Device device setting method in gateway device, device device setting system, and device device setting program | |
US10701536B1 (en) | Quarantine network for wireless devices | |
CN105340328A (en) | Method and apparatus for performing wireless docking service | |
JP2020532925A (en) | Commissioning in a multi-hop network with a single-hop connection | |
KR20110120841A (en) | Communication device | |
US11064360B2 (en) | Network device and WPS connection method thereof | |
WO2016180091A1 (en) | Network access method and device | |
JP2014197830A (en) | Communication device, communication system, and program | |
EP3266227A1 (en) | Communication device, communication method, communication system, and computer program product | |
US20240097901A1 (en) | Method and apparatus for setting registration between iot controller and iot controlee on basis of c2c connection in wireless lan system of smart home environment | |
JP5975955B2 (en) | Device device setting method in gateway device, device device setting system, and device device setting program | |
KR20200002742A (en) | Method and apparatus for registering wireless device in wireless communication system | |
TWI477179B (en) | Wireless apparatus, wireless network architecture and network connection method with automatic connection settings | |
KR20170137580A (en) | Method and apparatus of pairing client device and access point in wireless lan | |
WO2016139922A1 (en) | Communication device, communication method, communication system, and computer program product |