TWI442805B - Method for controlling network connection of wireless network device and associated wireless network device - Google Patents

Method for controlling network connection of wireless network device and associated wireless network device Download PDF

Info

Publication number
TWI442805B
TWI442805B TW100145525A TW100145525A TWI442805B TW I442805 B TWI442805 B TW I442805B TW 100145525 A TW100145525 A TW 100145525A TW 100145525 A TW100145525 A TW 100145525A TW I442805 B TWI442805 B TW I442805B
Authority
TW
Taiwan
Prior art keywords
base station
wireless network
network device
information
driver
Prior art date
Application number
TW100145525A
Other languages
Chinese (zh)
Other versions
TW201301925A (en
Inventor
Yung Sen Lin
Tzu Lung Chuang
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to US13/417,324 priority Critical patent/US20120327849A1/en
Priority to EP12161421.8A priority patent/EP2538729B1/en
Priority to EP12162059.5A priority patent/EP2538730B1/en
Publication of TW201301925A publication Critical patent/TW201301925A/en
Application granted granted Critical
Publication of TWI442805B publication Critical patent/TWI442805B/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

控制無線網路裝置進行網路連線的方法及相關的無線網路裝置Method for controlling wireless network device to perform network connection and related wireless network device

本發明係有關於一種控制一無線網路裝置進行網路連線的方法,尤指一種可以控制一無線網路裝置自一休眠模式喚醒之後快速進行網路連線的方法及相關的無線網路裝置。The present invention relates to a method for controlling a wireless network device to perform network connection, and more particularly to a method for controlling a wireless network device to quickly perform network connection after waking up from a sleep mode and an associated wireless network. Device.

當筆記型電腦或是其他行動通訊裝置進入休眠模式時,會中斷網路連線以節省電源,而之後待筆記型電腦自休眠模式喚醒之後,才會重新進行網路連線。在重新進行網路連線的過程中,筆記型電腦一樣需要掃描附近所有的基地台(access point),並將掃描到的基地台作比較以選擇一基地台來進行連線,然而,這些步驟會需要約1~8秒的時間,因此,使用者需要等待較長時間才能使用網路功能。When the notebook or other mobile communication device enters the sleep mode, the network connection is interrupted to save power, and then the network connection is not resumed until the notebook wakes up from the sleep mode. In the process of re-connecting the network, the notebook computer needs to scan all the nearby access points and compare the scanned base stations to select a base station to connect. However, these steps It takes about 1 to 8 seconds, so the user has to wait a long time to use the network function.

因此,本發明的目的之一在於提供一種可以控制一無線網路裝置自一休眠模式喚醒之後快速進行網路連線的方法及相關的無線網路裝置,以解決上述的問題。Accordingly, it is an object of the present invention to provide a method and related wireless network device that can control a wireless network device to wake up quickly after waking up from a sleep mode to solve the above problems.

依據本發明一實施例,一種控制一無線網路裝置進行網路連線的方法包含有:於該無線網路裝置自一休眠模式喚醒之後:載入一無線網路驅動程式;在該無線網路驅動程式不進行基地台掃描的情形下,判斷一預定基地台是否符合一預定條件;以及當該預定基地台符合該預定條件時,該無線網路驅動程式在不進行基地台掃描的情形下,直接使用預先儲存的一網路連線資訊來對該預定基地台進行網路連線。According to an embodiment of the invention, a method for controlling a wireless network device to perform network connection includes: after the wireless network device wakes up from a sleep mode: loading a wireless network driver; The road driver determines whether a predetermined base station meets a predetermined condition without performing base station scanning; and when the predetermined base station meets the predetermined condition, the wireless network driver does not perform base station scanning The network connection of the predetermined base station is directly used by using a pre-stored network connection information.

依據本發明另一實施例,一種無線網路裝置包含有一儲存單元以及一網路元件。該儲存單元儲存有一作業系統以及一無線網路驅動程式,其中於該無線網路裝置自一休眠模式被喚醒後,該作業系統恢復運作並載入該無線網路驅動程式;該無線網路驅動程式在不進行基地台掃描的情形下,判斷一預定基地台是否符合一預定條件;以及當該預定基地台符合該預定條件時,該無線網路驅動程式在不進行基地台掃描的情形下,直接使用預先儲存的一網路連線資訊來對該預定基地台進行網路連線。In accordance with another embodiment of the present invention, a wireless network device includes a storage unit and a network element. The storage unit stores an operating system and a wireless network driver, wherein after the wireless network device is woken up from a sleep mode, the operating system resumes operation and loads the wireless network driver; the wireless network driver The program determines whether a predetermined base station meets a predetermined condition without performing base station scanning; and when the predetermined base station meets the predetermined condition, the wireless network driver does not perform base station scanning. The pre-stored network connection information is used to directly connect to the predetermined base station.

依據本發明另一實施例,一種控制一無線網路裝置進行網路連線的方法包含有:於該無線網路裝置自一休眠模式喚醒之後:載入一無線網路驅動程式;該無線網路驅動程式進行基地台掃描以得到複數個基地台資訊;該無線網路驅動程式將該複數個基地台資訊與一基地台列表比對;當接收到來自一作業系統之要求進行基地台掃描的命令,且該複數個基地台資訊中至少一部分的基地台資訊在該基地台列表內時,該無線網路驅動程式僅將該至少一部分的基地台資訊回傳至該作業系統;以及該作業系統自該至少一部分的基地台資訊中選擇一基地台以供該無線網路驅動程式進行網路連線。According to another embodiment of the present invention, a method for controlling a wireless network device to perform network connection includes: after the wireless network device wakes up from a sleep mode: loading a wireless network driver; the wireless network The road driver performs base station scanning to obtain a plurality of base station information; the wireless network driver compares the plurality of base station information with a base station list; and receives a request from a operating system for base station scanning. And when the base station information of the at least one part of the plurality of base station information is in the base station list, the wireless network driver only returns the at least part of the base station information to the operating system; and the operating system Selecting a base station from the at least one portion of the base station information for the wireless network driver to perform network connection.

依據本發明另一實施例,一種無線網路裝置包含有一儲存單元以及一網路元件。該儲存單元儲存有一作業系統以及一無線網路驅動程式,其中於該無線網路裝置自一休眠模式喚醒之後,該作業系統載入一無線網路驅動程式;該無線網路驅動程式進行基地台掃描以得到複數個基地台資訊;該無線網路驅動程式將該複數個基地台資訊與一基地台列表比對;當接收到來自一作業系統之要求進行基地台掃描的命令,且該複數個基地台資訊中至少一部分的基地台資訊在該基地台列表內時,該無線網路驅動程式僅將該至少一部分的基地台資訊回傳至該作業系統;以及該作業系統自該至少一部分的基地台資訊中選擇一基地台以供該無線網路驅動程式進行網路連線。In accordance with another embodiment of the present invention, a wireless network device includes a storage unit and a network element. The storage unit stores an operating system and a wireless network driver, wherein after the wireless network device wakes up from a sleep mode, the operating system loads a wireless network driver; the wireless network driver performs a base station Scanning to obtain a plurality of base station information; the wireless network driver compares the plurality of base station information with a base station list; and receives a command from a working system for performing base station scanning, and the plurality of When at least a part of the base station information in the base station information is in the base station list, the wireless network driver only transmits back at least a part of the base station information to the operating system; and the operating system is from at least a part of the base station Select a base station for the wireless network driver to connect to the network.

請參考第1圖,第1圖為依據本發明一實施例之一無線網路裝置100的示意圖。如第1圖所示,無線網路裝置100包含有一處理器110、一儲存單元120以及一網路元件130,其中儲存單元120包含有一作業系統122以及一無線網路驅動程式124。此外,於本實施例中,無線網路裝置100可以是一筆記型電腦、平板電腦,若是其他任何具有無線網路功能的行動通訊裝置。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a wireless network device 100 according to an embodiment of the present invention. As shown in FIG. 1 , the wireless network device 100 includes a processor 110 , a storage unit 120 , and a network component 130 . The storage unit 120 includes an operating system 122 and a wireless network driver 124 . In addition, in this embodiment, the wireless network device 100 can be a notebook computer or a tablet computer, and any other mobile communication device having a wireless network function.

接著,請同時參考第1、2圖,第2圖為依據本發明一實施例之控制無線網路裝置100進行網路連線的方法中該無線網路裝置100進入休眠模式之前的流程圖。需注意的是,本說明書中的休眠模式係包含待機模式等用以節省電源消耗的模式,在休眠模式時,無線網路裝置100中部分的運作會暫停,且無線網路也會中斷。此外,第2圖所示的流程僅為一範例說明,若是有實質上相同的結果,本發明的流程並不以第2圖所示之步驟順序為限,參考第2圖,流程敘述如下:Next, please refer to FIG. 1 and FIG. 2 simultaneously. FIG. 2 is a flow chart of the method before the wireless network device 100 enters the sleep mode in the method for controlling the wireless network device 100 to perform network connection according to an embodiment of the invention. It should be noted that the sleep mode in this specification includes a mode for saving power consumption, such as a standby mode. In the sleep mode, part of the operation of the wireless network device 100 is suspended, and the wireless network is also interrupted. In addition, the flow shown in FIG. 2 is merely an example. If there are substantially the same results, the flow of the present invention is not limited to the sequence of steps shown in FIG. 2, and the flow is described as follows:

首先,於步驟S200中,無線網路裝置100準備進入休眠模式。接著,於步驟S202中,無線網路驅動程式124檢查目前的網路連線是否具有一安全性設定,亦即無線網路裝置100目前所連線的基地台是否需要輸入密碼才能進行連線,若目前網路連線具有安全性設定,則流程進入步驟S204以將一標籤設定為“無效(inactive)”以表示目前所連線的基地台具有安全性設定;反之若目前網路連線不具有安全性設定,則流程進入步驟S206。在步驟S206中,無線網路裝置100將目前網路連線的資訊,例如基地台名稱(Service Set Identifier,SSID)、通道資訊等等,儲存至一儲存單元(例如基本輸出輸入系統(Basic Input/Output System,BIOS)中的記憶體)中。接著,於步驟S208,無線網路驅動程式124將該標籤設定為“有效(active)”以表示目前所連線的基地台不具有安全性設定。最後,流程進入步驟S210以結束上述的網路連線檢查流程,且無線網路裝置100進入休眠模式。First, in step S200, the wireless network device 100 is ready to enter the sleep mode. Next, in step S202, the wireless network driver 124 checks whether the current network connection has a security setting, that is, whether the base station currently connected to the wireless network device 100 needs to input a password to connect. If the current network connection has a security setting, the process proceeds to step S204 to set a label as "inactive" to indicate that the currently connected base station has a security setting; if the current network connection is not With the security setting, the flow advances to step S206. In step S206, the wireless network device 100 stores the current network connection information, such as a Service Set Identifier (SSID), channel information, and the like, to a storage unit (for example, a basic input input system (Basic Input). /Output System, in BIOS). Next, in step S208, the wireless network driver 124 sets the tag to "active" to indicate that the currently connected base station does not have a security setting. Finally, the flow proceeds to step S210 to end the above-described network connection check flow, and the wireless network device 100 enters the sleep mode.

接著,請同時參考第1、3圖,第3圖為依據本發明一實施例之控制無線網路裝置100進行網路連線的方法中該無線網路裝置100自休眠模式喚醒之後的流程圖。參考第3圖,流程敘述如下:Next, please refer to FIG. 1 and FIG. 3 simultaneously. FIG. 3 is a flowchart of the wireless network device 100 waking up from the sleep mode in the method for controlling the wireless network device 100 to perform network connection according to an embodiment of the invention. . Referring to Figure 3, the process is described as follows:

首先,於步驟S300中,無線網路裝置100中的作業系統122恢復運作。接著,於步驟S302,作業系統122載入無線網路驅動程式124。於步驟S304中,無線網路裝置100進行網路連線。接著,於步驟S306中,無線網路裝置100進行動態主機設定協定(Dynamic Host Configuration Protocol,DHCP)操作以取得IP位址。最後,流程進入步驟308中以完成網路連線與設定。First, in step S300, the operating system 122 in the wireless network device 100 resumes operation. Next, in step S302, the operating system 122 loads the wireless network driver 124. In step S304, the wireless network device 100 performs network connection. Next, in step S306, the wireless network device 100 performs a Dynamic Host Configuration Protocol (DHCP) operation to obtain an IP address. Finally, the flow proceeds to step 308 to complete the network connection and settings.

接著,請參考第4圖,第4圖為步驟S304之細節的流程圖。參考第4圖,流程敘述如下:Next, please refer to FIG. 4, which is a flow chart of the details of step S304. Referring to Figure 4, the process is described as follows:

首先,於步驟S400中,流程開始。接著,於步驟S402,無線網路驅動程式124檢查步驟S204或步驟S208中所設定之該標籤,若是該標籤表示為“無效”(亦即前一次連線的基地台具有安全性設定),則流程進入步驟S410;而若是該標籤表示為“有效”(亦即前一次連線的基地台具沒有安全性設定),則流程進入步驟S404。接著,於步驟S404及步驟S406,無線網路驅動程式124直接取得於步驟S206中所儲存的網路連線資訊,並在不進行基地台掃描的情形下,直接利用此網路連線資訊與一預定基地台進行連線,其中該預定基地台即為無線網路裝置100進入休眠模式前最後一次網路連線的基地台。接著,於步驟S408中,檢查連線狀態是否正確,若是連線狀態正確,則流程進入步驟S412以結束此流程;若是連線失敗,則流程進入步驟S410。於步驟S410中,無線網路驅動程式124進行基地台掃描以取得至少一個基地台資訊,並將該至少一個基地台資訊傳送給作業系統122以選擇一基地台,以供無線網路驅動程式124進行網路連線。之後,流程進入步驟S412以結束此流程。First, in step S400, the flow starts. Next, in step S402, the wireless network driver 124 checks the label set in step S204 or step S208. If the label is indicated as "invalid" (that is, the base station of the previous connection has security settings), then The flow proceeds to step S410; and if the tag is indicated as "valid" (that is, the base station of the previous connection has no security setting), the flow advances to step S404. Then, in step S404 and step S406, the wireless network driver 124 directly obtains the network connection information stored in step S206, and directly uses the network connection information without performing base station scanning. A predetermined base station is connected, wherein the predetermined base station is the base station of the last network connection before the wireless network device 100 enters the sleep mode. Next, in step S408, it is checked whether the connection status is correct. If the connection status is correct, the flow proceeds to step S412 to end the flow; if the connection fails, the flow proceeds to step S410. In step S410, the wireless network driver 124 performs a base station scan to obtain at least one base station information, and transmits the at least one base station information to the operating system 122 to select a base station for the wireless network driver 124. Network connection. Thereafter, the flow proceeds to step S412 to end the flow.

如第4圖的流程所述,當前一次連線的基地台沒有安全性設定時,無線網路驅動程式124會在不進行基地台掃描的情形下直接使用預先儲存的網路連線資訊來進行連線,而整個流程僅需要大約0.4秒的時間便可以完成,因此,相較於習知技術中約需要1~8秒的連線時間,本發明確實可以加速無線網路裝置100自休眠模式喚醒之後的網路連線速度。As described in the flow of FIG. 4, when the currently connected base station has no security setting, the wireless network driver 124 directly uses the pre-stored network connection information without performing base station scanning. The connection, and the entire process takes only about 0.4 seconds to complete, so the present invention can accelerate the self-sleep mode of the wireless network device 100 compared to the prior art requiring about 1 to 8 seconds of connection time. Network connection speed after wake-up.

此外,由於當前一次連線的基地台沒有安全性設定時,無線網路驅動程式124會直接使用預先儲存的網路連線資訊來進行連線,因此,在後續作業系統122傳送一要求進行基地台掃描的命令至無線網路驅動程式124時,無線網路驅動程式124僅回傳該預定基地台資訊(亦即,已經連線的基地台的資訊)至作業系統122以供其比較判斷;而後續當作業系統122傳送一要求進行網路連線的命令至無線網路驅動程式124時,無線網路驅動程式也直接回傳一連線完成的訊息至作業系統122。請參考第5圖,第5圖為作業系統122、無線網路驅動程式124與網路元件130在進行上述步驟時的時序關係圖。In addition, since there is no security setting for the currently connected base station, the wireless network driver 124 directly uses the pre-stored network connection information to connect, and therefore, the subsequent operation system 122 transmits a request for the base. When the station scans the command to the wireless network driver 124, the wireless network driver 124 only returns the predetermined base station information (that is, the information of the already connected base station) to the operating system 122 for comparison and judgment; Then, when the operating system 122 transmits a command for the network connection to the wireless network driver 124, the wireless network driver directly returns a completed message to the operating system 122. Please refer to FIG. 5. FIG. 5 is a timing diagram of the operating system 122, the wireless network driver 124, and the network component 130 when performing the above steps.

請參考第6圖,第6圖為依據本發明另一實施例之一無線網路裝置600的示意圖。如第6圖所示,無線網路裝置600包含有一處理器610、一儲存單元620以及一網路元件630,其中儲存單元620包含有一作業系統622、一無線網路驅動程式624以及一基地台列表626,其中,基地台列表626係為無線網路裝置600先前的複數個連線紀錄,亦即,無線網路裝置600先前所連線的複數個基地台。此外,於本實施例中,無線網路裝置600可以是一筆記型電腦、平板電腦,若是其他任何具有無線網路功能的行動通訊裝置。Please refer to FIG. 6. FIG. 6 is a schematic diagram of a wireless network device 600 according to another embodiment of the present invention. As shown in FIG. 6, the wireless network device 600 includes a processor 610, a storage unit 620, and a network component 630. The storage unit 620 includes an operating system 622, a wireless network driver 624, and a base station. A list 626, wherein the base station list 626 is a plurality of previous connection records of the wireless network device 600, that is, a plurality of base stations to which the wireless network device 600 was previously connected. In addition, in this embodiment, the wireless network device 600 can be a notebook computer or a tablet computer, and any other mobile communication device having a wireless network function.

接著,請同時參考第6、7圖,第7圖為依據本發明另一實施例之控制無線網路裝置600進行網路連線的方法的流程圖。參考第7圖,流程敘述如下:Next, please refer to FIG. 6 and FIG. 7 simultaneously. FIG. 7 is a flowchart of a method for controlling the wireless network device 600 to perform network connection according to another embodiment of the present invention. Referring to Figure 7, the process is described as follows:

首先,於步驟S700中,無線網路裝置600自休眠模式中被喚醒,且作業系統622恢復運作。接著,於步驟S702,作業系統622載入無線網路驅動程式624。於步驟S704中,無線網路裝置600進行網路連線。接著,於步驟S706中,無線網路裝置600進行動態主機設定協定(Dynamic Host Configuration Protocol,DHCP)以取得IP位址。最後,流程進入步驟708中以完成網路連線與設定。First, in step S700, the wireless network device 600 is woken up from the sleep mode, and the operating system 622 resumes operation. Next, in step S702, the operating system 622 loads the wireless network driver 624. In step S704, the wireless network device 600 performs network connection. Next, in step S706, the wireless network device 600 performs Dynamic Host Configuration Protocol (DHCP) to obtain an IP address. Finally, the flow proceeds to step 708 to complete the network connection and settings.

接著,請參考第8圖,第8圖為步驟S704之細節的流程圖。此外,需注意的是,第8圖所示的流程僅為一範例說明,若是有實質上相同的結果,本發明的流程並不以第8圖所示之步驟順序為限。Next, please refer to FIG. 8, which is a flowchart of the details of step S704. In addition, it should be noted that the flow shown in FIG. 8 is merely an example. If there are substantially the same results, the flow of the present invention is not limited to the sequence of steps shown in FIG.

首先,於步驟S800中,流程開始。接著,於步驟S802中,無線網路驅動程式624直接進行基地台掃描以得到複數個基地台資訊。接著,於步驟S804中,無線網路驅動程式624將該複數個基地台資訊與基地台列表626比對,以判斷該複數個基地台資訊中是否有至少一部分的基地台資訊與基地台列表626內的基地台資訊相符,若有,則流程進入步驟S806;反之,則進入步驟S808。在步驟S806中,當無線網路驅動程式624接收到來自作業系統622之一要求進行基地台掃描的命令時,無線網路驅動程式624僅將該至少一部分的基地台資訊回傳至作業系統622,舉例來說,假設搜尋到10筆基地台資訊,但其中只有兩筆基地台資訊有在基地台列表626內,則無線網路驅動程式624僅將這兩筆基地台資訊回傳至作業系統622,而不回傳其他8筆基地台資訊。另一方面,於步驟S808中,當無線網路驅動程式624接收到來自作業系統622之一要求進行基地台掃描的命令時,無線網路驅動程式624將該複數個基地台資訊全部回傳至作業系統622。接著,於步驟S810,作業系統624自無線網路驅動程式624所回傳的基地台資訊中選擇一基地台以供無線網路驅動程式624進行網路連線。最後,流程進入步驟S812以結束此流程。First, in step S800, the flow starts. Next, in step S802, the wireless network driver 624 directly performs base station scanning to obtain a plurality of base station information. Next, in step S804, the wireless network driver 624 compares the plurality of base station information with the base station list 626 to determine whether at least a portion of the base station information and the base station list 626 are included in the plurality of base station information. The base station information in the match is matched, and if yes, the flow proceeds to step S806; otherwise, the process proceeds to step S808. In step S806, when the wireless network driver 624 receives a command from one of the operating systems 622 requesting a base station scan, the wireless network driver 624 only passes back at least a portion of the base station information to the operating system 622. For example, if it is found that 10 base station information is searched, but only two of the base station information are in the base station list 626, the wireless network driver 624 only transmits the two base station information back to the operating system. 622, without returning the other 8 base station information. On the other hand, in step S808, when the wireless network driver 624 receives a command from one of the operating systems 622 requesting a base station scan, the wireless network driver 624 returns all of the plurality of base station information to Operating system 622. Next, in step S810, the operating system 624 selects a base station from the base station information returned by the wireless network driver 624 for the wireless network driver 624 to perform network connection. Finally, the flow advances to step S812 to end the flow.

如第8圖的流程所述,當無線網路驅動程式624所掃描到的基地台中有至少一部分與基地台列表626內的基地台資訊相符時,無線網路驅動程式624僅會回傳該至少一部分的基地台資訊,而不會回傳所搜尋到的全部基地台資訊,因此,作業系統622在後續進行基地台選擇與比較時(步驟810)僅會需要較少的時間,整體來說,整個網路連線流程所需的時間會小於1秒,因此,相較於習知技術中約需要1~8秒的連線時間,本發明確實可以加速無線網路裝置600自休眠模式喚醒之後的網路連線速度。As described in the flow of FIG. 8, when at least a portion of the base stations scanned by the wireless network driver 624 match the base station information in the base station list 626, the wireless network driver 624 will only return the at least one. Part of the base station information, without returning all of the searched base station information, therefore, the operating system 622 only needs less time when performing base station selection and comparison (step 810), overall, The time required for the entire network connection process is less than one second. Therefore, the present invention can accelerate the wake of the wireless network device 600 from the sleep mode after about 1 to 8 seconds of connection time in the prior art. Network connection speed.

第9圖為作業系統622、無線網路驅動程式624與網路元件630在進行第8圖所示步驟時的時序關係圖。Figure 9 is a timing diagram of the operating system 622, the wireless network driver 624, and the network element 630 in performing the steps shown in Figure 8.

此外,於本發明之另一實施例中,可以結合上述第4、8圖的實施例,亦即,將第8圖之步驟S802~S810接在第4圖的步驟S410之後。由於本發明領域中具有通常知識者在閱讀過上述實施例內容後應能輕易了解該如何組合第4、8圖的實施例,因此,細節在此不予贅述。In addition, in another embodiment of the present invention, the embodiments of FIGS. 4 and 8 may be combined, that is, steps S802 to S810 of FIG. 8 are connected to step S410 of FIG. 4. Since those having ordinary knowledge in the field of the present invention should have easily understood how to combine the embodiments of FIGS. 4 and 8 after reading the contents of the above embodiments, the details are not described herein.

簡要歸納本發明,於本發明之一種控制一無線網路裝置進行網路連線的方法及相關的無線網路裝置中,無線網路驅動程式可以在不進行基地台掃描的情形下直接以前一次連線時的基地台資訊來進行連線,或是無線網路驅動程式在進行基地台掃描後僅回傳一部分的基地台資訊至作業系統以降低其工作量,如此一來,無線網路裝置自休眠模式喚醒之後便能夠快速地進行網路連線,使用者也可以不需要等待太久的時間便可以開始使用網路功能。Briefly summarized, the present invention, in a method for controlling a wireless network device to perform network connection and related wireless network devices, the wireless network driver can directly perform the previous time without performing base station scanning. The base station information when connecting is connected, or the wireless network driver only returns a part of the base station information to the operating system after the base station scan to reduce the workload, so that the wireless network device After waking up from sleep mode, the network connection can be quickly performed, and the user can start using the network function without waiting too long.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

100、600...無線網路裝置100, 600. . . Wireless network device

110、610...處理器110, 610. . . processor

120、620...儲存單元120, 620. . . Storage unit

122、622...作業系統122, 622. . . working system

124、624...無線網路驅動程式124, 624. . . Wireless network driver

130、630...網路元件130, 630. . . Network component

626...基地台列表626. . . Base station list

S200~S210、S300~S308、S400~S412、S700~S708、S800~S812...步驟S200~S210, S300~S308, S400~S412, S700~S708, S800~S812. . . step

第1圖為依據本發明一實施例之一無線網路裝置的示意圖。1 is a schematic diagram of a wireless network device in accordance with an embodiment of the present invention.

第2圖為依據本發明一實施例之控制一無線網路裝置進行網路連線的方法中該無線網路裝置進入休眠模式之前的流程圖。FIG. 2 is a flow chart of the method for controlling a wireless network device to perform network connection in the method of controlling a wireless network device to enter a sleep mode according to an embodiment of the invention.

第3圖為依據本發明一實施例之控制一無線網路裝置進行網路連線的方法中該無線網路裝置自休眠模式喚醒之後的流程圖。FIG. 3 is a flow chart of the wireless network device waking up from the sleep mode in a method for controlling a wireless network device to perform network connection according to an embodiment of the invention.

第4圖為第3圖所示之步驟S304之細節的流程圖。Fig. 4 is a flow chart showing the details of step S304 shown in Fig. 3.

第5圖為作業系統、無線網路驅動程式與網路元件在進行第4圖所示步驟時的時序關係圖。Figure 5 is a timing diagram of the operating system, wireless network driver, and network components when performing the steps shown in Figure 4.

第6圖為依據本發明另一實施例之一無線網路裝置的示意圖。Figure 6 is a schematic diagram of a wireless network device in accordance with another embodiment of the present invention.

第7圖為依據本發明另一實施例之控制無線網路裝置進行網路連線的方法的流程圖。FIG. 7 is a flow chart of a method for controlling a wireless network device to perform network connection according to another embodiment of the present invention.

第8圖為第7圖所示之步驟S704之細節的流程圖。Fig. 8 is a flow chart showing the details of step S704 shown in Fig. 7.

第9圖為作業系統、無線網路驅動程式與網路元件在進行第8圖所示步驟時的時序關係圖。Figure 9 is a timing diagram of the operating system, wireless network driver, and network components when performing the steps shown in Figure 8.

S400~S412...步驟S400~S412. . . step

Claims (16)

一種控制一無線網路裝置進行網路連線的方法,包含有:於該無線網路裝置自一休眠模式喚醒之後:恢復該無線網路裝置之一作業系統的運作;載入一無線網路驅動程式;在該無線網路驅動程式不進行基地台掃描的情形下,判斷一預定基地台是否符合一預定條件;以及當該預定基地台符合該預定條件時,該無線網路驅動程式在不進行基地台掃描的情形下,直接使用預先儲存的一網路連線資訊來對該預定基地台進行網路連線,以取得一網際網路協定位址(IP位址)。 A method for controlling a wireless network device to perform network connection includes: after the wireless network device wakes up from a sleep mode: restoring operation of an operating system of the wireless network device; loading a wireless network a driver; determining whether a predetermined base station meets a predetermined condition in a case where the wireless network driver does not perform base station scanning; and when the predetermined base station meets the predetermined condition, the wireless network driver is not In the case of performing base station scanning, the pre-stored network connection information is used to directly connect the predetermined base station to obtain an internet protocol address (IP address). 如申請專利範圍第1項所述之方法,另包含有:當該預定基地台不符合該預定條件時,該無線網路驅動程式進行基地台掃描以取得至少一個基地台資訊,並將該至少一個基地台資訊傳送給該作業系統以選擇一基地台,以供該無線網路驅動程式進行網路連線。 The method of claim 1, further comprising: when the predetermined base station does not meet the predetermined condition, the wireless network driver performs a base station scan to obtain at least one base station information, and the at least one A base station information is transmitted to the operating system to select a base station for the wireless network driver to connect to the network. 如申請專利範圍第1項所述之方法,另包含有:於該無線網路裝置進入該休眠模式之前:儲存該無線網路裝置的一目前網路連線的資訊以作為該網路連線資訊;其中該目前網路連線為該無線網路裝置進入該休眠模式前與 該預定基地台的最後一次網路連線。 The method of claim 1, further comprising: before the wireless network device enters the sleep mode: storing information about a current network connection of the wireless network device as the network connection. Information; wherein the current network connection is before the wireless network device enters the sleep mode The last network connection of the scheduled base station. 如申請專利範圍第3項所述之方法,另包含有:於該無線網路裝置進入該休眠模式之前:依據該無線網路驅動程式與該預定基地台的該目前網路連線來設定一標籤,其中該標籤係用來表示該預定基地台是否具有一安全性設定;其中該預定條件係為該預定基地台不具有該安全性設定。 The method of claim 3, further comprising: before the wireless network device enters the sleep mode: setting a according to the wireless network driver and the current network connection of the predetermined base station a tag, wherein the tag is used to indicate whether the predetermined base station has a security setting; wherein the predetermined condition is that the predetermined base station does not have the security setting. 如申請專利範圍第1項所述之方法,另包含有:於該無線網路裝置自一休眠模式喚醒之後:自該作業系統接收一要求進行基地台掃描的命令;以及當該預定基地台符合該預定條件,且該無線網路驅動程式直接使用預先儲存的該網路連線資訊來對該預定基地台進行網路連線之後,該無線網路驅動程式僅回傳該預定基地台資訊至該作業系統。 The method of claim 1, further comprising: after the wireless network device wakes up from a sleep mode: receiving a command from the operating system for performing a base station scan; and when the predetermined base station is compliant After the predetermined condition, and the wireless network driver directly uses the pre-stored network connection information to network the predetermined base station, the wireless network driver only returns the predetermined base station information to The operating system. 一種無線網路裝置,包含有:一儲存單元,用來儲存有一作業系統以及一無線網路驅動程式;以及一網路元件;其中於該無線網路裝置自一休眠模式被喚醒後,該作業系統恢復運作並載入該無線網路驅動程式;該無線網路驅動程式在不進行 基地台掃描的情形下,判斷一預定基地台是否符合一預定條件;以及當該預定基地台符合該預定條件時,該無線網路驅動程式在不進行基地台掃描的情形下,直接使用預先儲存的一網路連線資訊,並透過該網路元件來對該預定基地台進行網路連線,以取得一網際網路協定位址(IP位址)。 A wireless network device includes: a storage unit for storing an operating system and a wireless network driver; and a network component; wherein the wireless network device wakes up after a sleep mode The system resumes operation and loads the wireless network driver; the wireless network driver does not In the case of the base station scanning, determining whether a predetermined base station meets a predetermined condition; and when the predetermined base station meets the predetermined condition, the wireless network driver directly uses the pre-storage without performing base station scanning. An internet connection information is used to network the predetermined base station through the network component to obtain an internet protocol address (IP address). 如申請專利範圍第6項所述之無線網路裝置,其中當該預定基地台不符合該預定條件時,該無線網路驅動程式進行基地台掃描以取得至少一個基地台資訊,並將該至少一個基地台資訊傳送給一作業系統以選擇一基地台,以供該無線網路驅動程式進行網路連線。 The wireless network device of claim 6, wherein when the predetermined base station does not meet the predetermined condition, the wireless network driver performs a base station scan to obtain at least one base station information, and the at least one A base station information is transmitted to an operating system to select a base station for the wireless network driver to connect to the network. 如申請專利範圍第6項所述之無線網路裝置,其中於該無線網路裝置進入該休眠模式之前,該無線網路驅動程式儲存一目前網路連線的資訊以作為該網路連線資訊,其中該目前網路連線為該無線網路裝置進入該休眠模式前與該預定基地台的最後一次網路連線。 The wireless network device of claim 6, wherein the wireless network driver stores a current network connection information as the network connection before the wireless network device enters the sleep mode. Information, wherein the current network connection is the last network connection of the wireless network device to the predetermined base station before entering the sleep mode. 如申請專利範圍第8項所述之無線網路裝置,其中於該無線網路裝置進入該休眠模式之前,該無線網路驅動程式依據與該預定基地台的該目前網路連線以設定一標籤,其中該標籤係用來表示該預定基地台是否具有一安全性設定,且其中該預定條件係為該預定基地台不具有該安全性設定。 The wireless network device of claim 8, wherein the wireless network driver is configured to connect to the current network connection of the predetermined base station before the wireless network device enters the sleep mode. A tag, wherein the tag is used to indicate whether the predetermined base station has a security setting, and wherein the predetermined condition is that the predetermined base station does not have the security setting. 如申請專利範圍第6項所述之無線網路裝置,其中於該無線網路裝置自一休眠模式喚醒之後,該無線網路驅動程式自該作業系統接收一要求進行基地台掃描的命令;以及當該預定基地台符合該預定條件,且該無線網路驅動程式直接使用預先儲存的該網路連線資訊來對該預定基地台進行網路連線之後,該無線網路驅動程式僅回傳該預定基地台資訊至該作業系統。 The wireless network device of claim 6, wherein the wireless network driver receives a command from the operating system to perform a base station scan after the wireless network device wakes up from a sleep mode; After the predetermined base station meets the predetermined condition, and the wireless network driver directly uses the pre-stored network connection information to network the predetermined base station, the wireless network driver only returns The predetermined base station information is sent to the operating system. 一種控制一無線網路裝置進行網路連線的方法,包含有:於該無線網路裝置自一休眠模式喚醒之後:載入一無線網路驅動程式;該無線網路驅動程式進行基地台掃描以得到複數個基地台資訊;該無線網路驅動程式將該複數個基地台資訊與一基地台列表比對;當接收到來自一作業系統之要求進行基地台掃描的命令,且該複數個基地台資訊中至少一部分的基地台資訊在該基地台列表內時,該無線網路驅動程式僅將該至少一部分的基地台資訊回傳至該作業系統;以及該作業系統自該至少一部分的基地台資訊中選擇一基地台以供該無線網路驅動程式進行網路連線。 A method for controlling a wireless network device to perform network connection includes: after the wireless network device wakes up from a sleep mode: loading a wireless network driver; the wireless network driver performs base station scanning Obtaining a plurality of base station information; the wireless network driver compares the plurality of base station information with a base station list; and receives a command from an operating system for performing base station scanning, and the plurality of bases When at least a portion of the base station information in the station information is in the base station list, the wireless network driver only transmits back at least a portion of the base station information to the operating system; and the operating system is from the at least a portion of the base station Select a base station in the information for the wireless network driver to connect to the network. 如申請專利範圍第11項所述之方法,另包含有: 當該複數個基地台資訊均不在該基地台列表內時,該無線網路驅動程式將該複數個基地台資訊全部回傳至該作業系統。 For example, the method described in claim 11 includes: When the plurality of base station information are not in the base station list, the wireless network driver returns all of the plurality of base station information to the operating system. 如申請專利範圍第11項所述之方法,另包含有:於該無線網路裝置進入該休眠模式之前,依據該無線網路裝置的複數個連線紀錄以建立該基地台列表。 The method of claim 11, further comprising: establishing the base station list according to the plurality of connection records of the wireless network device before the wireless network device enters the sleep mode. 一種無線網路裝置,包含有:一儲存單元,用來儲存有一作業系統以及一無線網路驅動程式;以及一網路元件;其中於該無線網路裝置自一休眠模式喚醒之後,該作業系統載入一無線網路驅動程式;該無線網路驅動程式進行基地台掃描以得到複數個基地台資訊;該無線網路驅動程式將該複數個基地台資訊與一基地台列表比對;當接收到來自一作業系統之要求進行基地台掃描的命令,且該複數個基地台資訊中至少一部分的基地台資訊在該基地台列表內時,該無線網路驅動程式僅將該至少一部分的基地台資訊回傳至該作業系統;以及該作業系統自該至少一部分的基地台資訊中選擇一基地台以供該無線網路驅動程式透過該網路元件進行網路連線。 A wireless network device includes: a storage unit for storing an operating system and a wireless network driver; and a network component; wherein the wireless network device wakes up from a sleep mode, the operating system Loading a wireless network driver; the wireless network driver performs base station scanning to obtain a plurality of base station information; the wireless network driver compares the plurality of base station information with a base station list; when receiving When a command from a operating system for performing a base station scan is required, and at least a part of the base station information of the plurality of base station information is in the base station list, the wireless network driver only includes at least a part of the base station The information is transmitted back to the operating system; and the operating system selects a base station from the at least one portion of the base station information for the wireless network driver to connect to the network through the network component. 如申請專利範圍第14項所述之無線網路裝置,其中當該複數個基地台資訊均不在該基地台列表內時,該無線網路驅動程式將該 複數個基地台資訊全部回傳至該作業系統。 The wireless network device of claim 14, wherein when the plurality of base station information are not in the base station list, the wireless network driver A plurality of base station information are all transmitted back to the operating system. 如申請專利範圍第14項所述之無線網路裝置,其中於該無線網路裝置進入該休眠模式之前,該無線網路驅動程式依據該無線網路裝置的複數個連線紀錄以建立該基地台列表。The wireless network device of claim 14, wherein the wireless network driver establishes the base according to a plurality of connection records of the wireless network device before the wireless network device enters the sleep mode. List of stations.
TW100145525A 2011-06-24 2011-12-09 Method for controlling network connection of wireless network device and associated wireless network device TWI442805B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US13/417,324 US20120327849A1 (en) 2011-06-24 2012-03-12 Method for controlling network connection of wireless network device and associated wireless network device
EP12161421.8A EP2538729B1 (en) 2011-06-24 2012-03-27 Method for controlling network connection of wireless network device and associated wireless network device
EP12162059.5A EP2538730B1 (en) 2011-06-24 2012-03-29 Method for controlling network connection of wireless network device and associated wireless network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US201161500623P 2011-06-24 2011-06-24

Publications (2)

Publication Number Publication Date
TW201301925A TW201301925A (en) 2013-01-01
TWI442805B true TWI442805B (en) 2014-06-21

Family

ID=47370771

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100145525A TWI442805B (en) 2011-06-24 2011-12-09 Method for controlling network connection of wireless network device and associated wireless network device

Country Status (2)

Country Link
CN (1) CN102843781A (en)
TW (1) TWI442805B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114173339B (en) * 2020-09-10 2023-05-05 合肥君正科技有限公司 Method and device for quickly connecting WiFi network, storage medium and electronic equipment
US12035405B2 (en) * 2021-01-22 2024-07-09 Meta Platforms Technologies, Llc Methods and systems for low power reconnection

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7164912B2 (en) * 2004-01-07 2007-01-16 Research In Motion Limited Apparatus, and associated method, for facilitating selection by a mobile node of a network through which to communicate using a hierarchical selection process
US8270965B2 (en) * 2007-04-05 2012-09-18 Microsoft Corporation Signaling over cellular networks to reduce the Wi-Fi energy consumption of mobile devices

Also Published As

Publication number Publication date
CN102843781A (en) 2012-12-26
TW201301925A (en) 2013-01-01

Similar Documents

Publication Publication Date Title
US9998522B2 (en) Fast join of peer to peer group with power saving mode
JP5100854B2 (en) Communication apparatus and communication method
US11895364B2 (en) Bluetooth connection method and television
WO2018000134A1 (en) Bluetooth connection method and terminal
US9819640B2 (en) Method for keeping remote connection, electronic device and server
TWI508489B (en) Remote wake system and method
CN109816830B (en) Unlocking method and device
KR101198008B1 (en) Scanning threshold
WO2023016435A1 (en) Assisted sensing method and apparatus, network side device, and terminal
EP2538729B1 (en) Method for controlling network connection of wireless network device and associated wireless network device
EP2637075A1 (en) Management methods and related computer systems and machine-readable storage mediums using the same
WO2016179900A1 (en) Routing device, power saving method and apparatus therefor, and storage medium
TWI442805B (en) Method for controlling network connection of wireless network device and associated wireless network device
US10488909B2 (en) Communicating commands to an embedded controller of a system
US8223678B2 (en) Power management of periodic transmissions from networking applications
CN112333062A (en) Control method and control device for household equipment and computer readable storage medium
JP5456141B2 (en) Communication device and wireless communication method
CN106507357A (en) A kind of connection control method, and terminal device
JP2014137782A (en) Communication device and method for shifting operation states of communication device
WO2016023202A1 (en) Wifi access point control method and wifi access point
JP6391015B2 (en) Wireless relay device
CN115442355A (en) Remote device control system, method, electronic apparatus, and storage medium
CN112543514A (en) Method and device for link recovery processing under narrowband Internet of things
CN103309430A (en) Management method and relevant computer system
CN113596967A (en) WIFI dormancy control method and device for MIFI equipment, computer equipment and storage medium