TWI488530B - Method for handling network connection and electrical apparatus using the same - Google Patents

Method for handling network connection and electrical apparatus using the same Download PDF

Info

Publication number
TWI488530B
TWI488530B TW100147196A TW100147196A TWI488530B TW I488530 B TWI488530 B TW I488530B TW 100147196 A TW100147196 A TW 100147196A TW 100147196 A TW100147196 A TW 100147196A TW I488530 B TWI488530 B TW I488530B
Authority
TW
Taiwan
Prior art keywords
connection
access point
network
connection information
local area
Prior art date
Application number
TW100147196A
Other languages
Chinese (zh)
Other versions
TW201328398A (en
Inventor
Shih Jie Chang
Yin Hsong Hsu
Jiun Liang Chen
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 TW100147196A priority Critical patent/TWI488530B/en
Publication of TW201328398A publication Critical patent/TW201328398A/en
Application granted granted Critical
Publication of TWI488530B publication Critical patent/TWI488530B/en

Links

Description

處理網路連線的方法及其電子裝置Method for processing network connection and electronic device thereof

本發明是有關於一種網路通訊的方法及裝置,且特別是有關於網路連線的方法及裝置。The present invention relates to a method and apparatus for network communication, and more particularly to a method and apparatus for network connection.

由於科技的日新月異,目前的手持電子裝置例如手提電腦(laptop computer)、平板電腦(tablet personal computer)、智慧型手機(smart phone)等裝置皆已內建無線上網裝置,而”永遠開機、隨時連線”(Always on,and always connected,AOAC)這樣的使用方式也成為一般使用者的習慣。一般而言,當手持電子裝置進入休眠模式,而使用者仍保持手持電子裝置在”永遠開機、隨時連線”的狀態時,當手持電子裝置連接到新的無線區域網路存取點(Wireless Local Area Network Access Point,WLAN AP)時,會造成作業系統從休眠模式中被喚醒,以處理連線問題。但在某些情況,例如網路需要授權(authorization)或是需要輸入網路金鑰,例如符合無線加密協議(Wireless Encryption Protocol,WEP)規範的密碼才能加入該無線網路並透過存取點與外部網路連線。在這樣的情況下,會使得電子裝置並未建立新連線卻又讓作業系統不斷的從休眠模式中被喚醒,進而造成電子裝置耗電增加,影響了待機時間。因此,如何減少作業系統這樣無謂的喚醒的次數,確實為當前所屬領域需要被解決的問題。Due to the rapid development of technology, current handheld electronic devices such as laptop computers, tablet personal computers, smart phones and other devices have built-in wireless Internet access devices, and "always boot, always connect The use of "Always on, and always connected (AOAC)" has become a habit of the average user. In general, when the handheld electronic device enters a sleep mode, and the user still maintains the handheld electronic device in a "always on, ready to connect" state, when the handheld electronic device is connected to a new wireless local area network access point (Wireless) Local Area Network Access Point (WLAN AP) causes the operating system to wake up from sleep mode to handle connection problems. However, in some cases, for example, the network needs authorization or needs to input a network key. For example, a password conforming to the Wireless Encryption Protocol (WEP) specification can join the wireless network and access the access point. External network connection. Under such circumstances, the electronic device does not establish a new connection, but the operating system is continuously awakened from the sleep mode, thereby causing an increase in power consumption of the electronic device and affecting the standby time. Therefore, how to reduce the number of unnecessary wake-ups of the operating system is indeed a problem that needs to be solved in the current field.

本發明提供一種處理網路連線的方法及其裝置,可使得電子裝置之作業系統因處理連線而被喚醒的次數減少。The present invention provides a method and apparatus for processing a network connection that can reduce the number of times an operating system of an electronic device is woken up by processing a connection.

本發明提供一種處理網路連線的方法,包括以下步驟。首先,在作業系統進入休眠模式時,偵測到一存取點。然後,判斷連線處理系統中之網路喜好列表中是否存有此一存取點的連線資訊。接著,根據網路喜好列表中是否存有存取點的連線資訊,進行連線處理程序。The present invention provides a method of processing a network connection, including the following steps. First, an access point is detected when the operating system enters sleep mode. Then, it is judged whether the connection information of the access point exists in the network preference list in the connection processing system. Next, the connection processing procedure is performed according to whether or not the connection information of the access point exists in the network preference list.

本發明提供一種電子裝置,包括一連線處理系統。其中,連線處理系統更包括作業系統及無線區域網路模組。無線區域網路模組連接作業系統,用以偵測存取點。另外,當作業系統進入休眠模式並偵測到存取點時,連線處理系統判斷連線處理系統中之網路喜好列表是否存有存取點的連線資訊,並且根據網路喜好列表是否存有該存取點的連線資訊,進行連線處理程序。The present invention provides an electronic device including a wire processing system. Among them, the connection processing system further includes an operating system and a wireless local area network module. The wireless area network module is connected to the operating system for detecting access points. In addition, when the operating system enters the sleep mode and detects the access point, the connection processing system determines whether the network preference list in the connection processing system has the connection information of the access point, and according to the network preference list. The connection information of the access point is stored, and the connection processing procedure is performed.

基於上述,本發明提供一種處理網路連線的方法及其裝置,使得當電子裝置之作業系統進入休眠模式時偵測到一存取點時,能夠根據存有此存取點的連線資訊與否,以進行連線程序。Based on the above, the present invention provides a method and device for processing a network connection, so that when an access point is detected when the operating system of the electronic device enters the sleep mode, the connection information according to the access point can be stored. Whether or not to conduct the connection procedure.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

圖1所示為根據本發明第一實施例所繪示之處理網路連線的方法之步驟流程圖。請參照圖1,首先在步驟S101時,作業系統在進入休眠模式時,偵測到無線區域網路存取點。然後,在步驟S102時,判斷連線處理系統中之網路喜好列表中是否存有此存取點的連線資訊。接著,在步驟S103時,根據網路喜好列表中是否存有此存取點的連線資訊,進行連線處理程序。FIG. 1 is a flow chart showing the steps of a method for processing a network connection according to a first embodiment of the present invention. Referring to FIG. 1, first, in step S101, the operating system detects a wireless local area network access point when entering the sleep mode. Then, in step S102, it is determined whether the connection information of the access point exists in the network preference list in the connection processing system. Next, in step S103, the connection processing procedure is performed based on whether or not the connection information of the access point exists in the network preference list.

圖2所示為根據本發明第二實施例所繪示之處理網路連線的方法之步驟流程圖。請參照圖2,在步驟S100時,作業系統進入休眠模式前會將目前已連線過的存取點以及目前正連線中的存取點之連線資訊儲存在網路喜好列表中,其中此連線資訊包括此無線區域網路的服務設定辨識碼(Service Set Identifier,SSID)、此無線網路的網路金鑰,例如符合WEP規範的密碼、此存取點的網路位址(IP address)、此無線網路的閘道位址(Gateway address)及此無線網路派發給作業系統之網路位址等資訊,但並不限定於上述。FIG. 2 is a flow chart showing the steps of a method for processing a network connection according to a second embodiment of the present invention. Referring to FIG. 2, in step S100, before the operating system enters the sleep mode, the connection information of the currently connected access point and the access point in the current connection is stored in the network preference list, wherein The connection information includes the Service Set Identifier (SSID) of the wireless local area network, the network key of the wireless network, such as a WEP-compliant password, and a network address of the access point ( IP address), the gateway address of the wireless network, and the network address assigned to the operating system by the wireless network, but are not limited to the above.

接著,在步驟S101~S103時,進行同上第一實施例之動作,請參照圖1,在此則不贅述。值得一提的是,本實施例中步驟S100為選擇性之動作,在不實施的情況下,例如網路喜好列表為空白的情況下,後續之動作(例如步驟S101~步驟S103)亦可正常實施。Next, in the steps S101 to S103, the operation of the first embodiment is performed. Please refer to FIG. 1 and the details are not described herein. It should be noted that, in the embodiment, step S100 is a selective action. If not, if the network preference list is blank, the subsequent actions (for example, steps S101 to S103) may also be normal. Implementation.

圖3所示為根據本發明第三實施例所繪示之裝置方塊圖。請參照圖3,電子裝置30除了包括處理器(未繪示)、記憶單元(未繪示)、輸出輸入單元(未繪示)外,更包括一連線處理系統300。連線處理系統300包括作業系統301及無線區域網路模組302。作業系統301藉由電子裝置30之處理器及記憶單元所運作,其運作方法為本領域具通常知識者所熟知,在此則不贅述。無線區域網路模組302連接至作業系統301,其中,無線區域網路模組302更包括一天線模組303。FIG. 3 is a block diagram of a device according to a third embodiment of the present invention. Referring to FIG. 3, the electronic device 30 includes a processor (not shown), a memory unit (not shown), an output input unit (not shown), and a connection processing system 300. The connection processing system 300 includes an operating system 301 and a wireless local area network module 302. The operating system 301 is operated by the processor and the memory unit of the electronic device 30. The method of operation is well known to those skilled in the art and will not be described herein. The wireless local area network module 302 is connected to the operating system 301. The wireless local area network module 302 further includes an antenna module 303.

無線區域網路模組302除了利用天線模組303收發經由無線區域網路傳送之資料數據外,更利用天線模組303偵測周圍之網際網路存取點,例如存取點310。存取點310連接外部網路31中之一外部伺服器320,收發經由無線區域網路傳送之資料數據並傳送至外部網路。外部伺服器320可為一建構於超文本傳輸協定(Hyper-Text Transfer Protocol,HTTP)之網路伺服器、郵件伺服器(Mail Server)等,但本發明不限定於上述。In addition to using the antenna module 303 to transmit and receive data data transmitted via the wireless area network, the wireless area network module 302 further utilizes the antenna module 303 to detect surrounding Internet access points, such as the access point 310. The access point 310 is connected to one of the external servers 31 in the external network 31, and transmits and transmits data data transmitted via the wireless local area network to the external network. The external server 320 may be a web server, a mail server, or the like constructed on a Hyper-Text Transfer Protocol (HTTP), but the present invention is not limited to the above.

圖4所示為根據本發明第三實施例所繪示之處理網路連線的方法的步驟流程圖。請同時參照圖3與圖4,在步驟S100時,作業系統301在進入休眠模式前,將目前已連線過的存取點以及目前正連線中的存取點之連線資訊儲存在網路喜好列表中。值得注意的是,一般作業系統(如本實施例中作業系統301)會將已連線過及正連線中之存取點之連線資訊儲存於作業系統中之一無線網路配置表(Wireless Network Profile)之中,而無線區域網路模組(如本實施例中無線區域網路模組302)會將已連線過及連線中存取點的連線資訊記錄在一網路偏好列表(Network Preferred List)之中,依照電子裝置(例如本實施例中電子裝置30)的不同而有不同的運作方式,例如選擇其一讀取或隨時同步上述無線網路配置表及網路偏好列表等。FIG. 4 is a flow chart showing the steps of a method for processing a network connection according to a third embodiment of the present invention. Referring to FIG. 3 and FIG. 4 simultaneously, in step S100, the operating system 301 stores the connection information of the currently connected access point and the access point currently connected in the network before entering the sleep mode. Road favorite list. It should be noted that the general operating system (such as the operating system 301 in this embodiment) stores the connection information of the connected and connected access points in a wireless network configuration table in the operating system ( In the Wireless Network Profile, the wireless local area network module (such as the wireless local area network module 302 in this embodiment) records the connection information of the connected and connected access points in a network. The network preference list (Network Preferred List) has different operating modes according to different electronic devices (for example, the electronic device 30 in this embodiment), for example, selecting one of the reading or synchronizing the wireless network configuration table and the network at any time. Preference list, etc.

本發明中連線處理系統300之網路喜好列表可獨立建置或與上述作業系統301的無線網路配置表和/或無線區域網路模組302的網路偏好列表共同建置或同步,惟達成本發明之目的即可。例如,在本實施例中,連線處理系統300之網路喜好列表與無線區域網路模組302的網路偏好列表共同建置,而作業系統301的無線網路配置表則記錄作業系統在非休眠模式時已連線存取點及連線中存取點的連線資訊,並在作業系統301進入休眠模式前,以連線處理系統300之網路喜好列表更新儲存於無線區域網路模組302的網路偏好列表/網路喜好列表但本發明並不限定於此實施方式。The network preference list of the connection processing system 300 of the present invention may be independently built or co-built or synchronized with the wireless network configuration table of the operating system 301 and/or the network preference list of the wireless local area network module 302. Only the object of the invention can be achieved. For example, in the present embodiment, the network preference list of the connection processing system 300 is co-located with the network preference list of the wireless local area network module 302, and the wireless network configuration table of the operating system 301 records the operating system. In the non-sleep mode, the connection information of the access point and the access point in the connection is connected, and the network preference list of the connection processing system 300 is updated and stored in the wireless local area network before the operating system 301 enters the sleep mode. The network preference list/network preference list of the module 302, but the invention is not limited to this embodiment.

請繼續參照圖3及圖4,在步驟S1010時,作業系統301進入休眠模式。在電子裝置30,被設定為”永遠開機、隨時連線”(Always on,and always connected),也就是本案的前提下,將執行步驟S1011。於步驟S1011時,無線區域網路模組302會偵測所處環境的周遭是否有可連線的存取點(例如存取點310)。若無線區域網路模組302未偵測到任何存取點,將持續的進行偵測。若無線區域網路模組302偵測到一存取點310,則將繼續進行步驟102的判斷。Referring to FIG. 3 and FIG. 4, in step S1010, the operating system 301 enters the sleep mode. In the case where the electronic device 30 is set to "Always on, and always connected", that is, on the premise of the present case, step S1011 will be executed. In step S1011, the wireless local area network module 302 detects whether there is a connectable access point (such as the access point 310) around the environment. If the wireless local area network module 302 does not detect any access point, it will continue to detect. If the wireless local area network module 302 detects an access point 310, the determination of step 102 will continue.

在步驟S102時,無線區域網路模組302將判斷在連線處理系統300中的網路喜好列表之中是否存有此存取點310的連線資訊,以進行步驟S103之處理動作。在步驟S103中,當網路喜好列表中具有此存取點310的連線資訊時,無線區域網路模組302即會根據網路喜好列表中的連線資訊開始對存取點310進行連線(步驟S1030)。In step S102, the wireless local area network module 302 determines whether the connection information of the access point 310 exists in the network preference list in the connection processing system 300 to perform the processing operation of step S103. In step S103, when the network preference list has the connection information of the access point 310, the wireless local area network module 302 starts to connect to the access point 310 according to the connection information in the network preference list. Line (step S1030).

在步驟S1031時,無線區域網路模組302判斷是否可以使用連線資訊中,前次連線此存取點310所配發的網路位址透過存取點310對外部網路31進行連線,例如使用PING指令等方式測試。若無線區域網路模組302可在這樣的設定下順利與外部網路31連線,則表示連線相關設定與作業系統301進入休眠模式之前相同,因此,無線區域網路模組302不需喚醒作業系統301。同時無線區域網路模組302並透過存取點310對外部網路31建立連線並持續保持連線的狀態(步驟1032)。In step S1031, the wireless local area network module 302 determines whether the connection information can be used, and the network address allocated by the access point 310 is connected to the external network 31 through the access point 310. Line, for example, using the PING command. If the wireless local area network module 302 can be successfully connected to the external network 31 under such a setting, it means that the connection related setting is the same as before the operating system 301 enters the sleep mode. Therefore, the wireless local area network module 302 does not need to be The operating system 301 is woken up. At the same time, the wireless local area network module 302 establishes a connection to the external network 31 through the access point 310 and continues to maintain the connected state (step 1032).

若無線區域網路模組302無法使用現有的連線資訊設定下順利與外部網路31連線,則無線區域網路模組302向存取點310或與存取點310所連接之動態主機設定協定伺服器(Dynamic Host Configuration Protocol Server,DHCP server)(未繪示)要求取得新的網路位址(步驟S1033)。If the wireless local area network module 302 cannot successfully connect to the external network 31 using the existing connection information setting, the wireless local area network module 302 connects to the access point 310 or the dynamic host connected to the access point 310. A Dynamic Host Configuration Protocol Server (DHCP server) (not shown) requires a new network address to be obtained (step S1033).

無線區域網路模組302在取得新的網路位址後進行是否能透過存取點310與外部網路31連線之測試(步驟S1034)。若無線區域網路模組302可與外部網路31連線,則無線區域網路模組302在建立起連線之後喚醒作業系統301,告知作業系統301目前已建立起新的連線,可接手處理後續之設定或資料收發等動作。若無線區域網路模組302可與外部網路31連線,則表示此存取點具有與外部網路31連線之能力但可能需要驗證等程序例如鍵入使用者名稱及密碼等,才能夠向外部網路31連線。無線區域網路模組302於是喚醒作業系統301已提供相關之驗證資訊,在電子裝置30通過驗證之後,無線區域網路模組302再透過存取點310向外部網路31進行連線(步驟S1036)。The wireless area network module 302 performs a test of whether or not it can connect to the external network 31 through the access point 310 after acquiring a new network address (step S1034). If the wireless local area network module 302 can be connected to the external network 31, the wireless local area network module 302 wakes up the operating system 301 after establishing the connection, and informs the operating system 301 that a new connection has been established. Take over the subsequent settings or data transmission and reception. If the wireless local area network module 302 can be connected to the external network 31, it means that the access point has the ability to connect with the external network 31, but may need to be verified, such as typing a user name and password. Connect to the external network 31. The wireless local area network module 302 then provides the relevant authentication information to the wake-up operating system 301. After the electronic device 30 passes the verification, the wireless local area network module 302 connects to the external network 31 through the access point 310 (steps). S1036).

接著,回到步驟S102的判斷,當網路喜好列表中並未存有存取點310的連線資訊時,無線區域網路模組302首先測試存取點310是否具備外部網路31連線的能力(步驟S1037)。若經測試無線區域網路模組302可透過存取點310與外部網路31進行連線,無線區域網路模組302則將此存取點310的連線資訊儲存於連線處理系統300中的網路喜好列表中,並喚醒作業系統301告知目前已建立起新的連線(步驟S1038)。值得注意的是,在步驟S1037判斷中,可直接連線的存取點310通常是不具有密碼保護(例如前述WEP密碼協定)的無線區域網路。由於在網路安全上具有疑慮,使用者可選擇性的執行步驟S1038,亦即調整成即使具有對外部網路31的連線能力,無線區域網路模組302亦不與此網路進行連線,然而本發明並不限定於上述之實施方式。Then, the process returns to the step S102. When the connection information of the access point 310 is not stored in the network preference list, the wireless area network module 302 first tests whether the access point 310 has the external network 31 connection. Ability (step S1037). If the tested wireless local area network module 302 can be connected to the external network 31 through the access point 310, the wireless local area network module 302 stores the connection information of the access point 310 in the connection processing system 300. In the network preference list, the wake-up operating system 301 notifies that a new connection has been established (step S1038). It is to be noted that, in the determination of step S1037, the directly connectable access point 310 is typically a wireless local area network that does not have password protection (e.g., the aforementioned WEP cryptographic protocol). Because of the network security concerns, the user can selectively perform step S1038, that is, adjust to the wireless local area network module 302 even if it has the connection capability to the external network 31. However, the present invention is not limited to the above embodiments.

若經測試無線區域網路模組302無法透過存取點310與外部網路31進行連線,無線區域網路模組302則同樣的將此存取點310的連線資訊儲存於連線處理系統300的網路喜好列表中,但不同的是此時將標記成不連線之項目,以避免在作業系統301位於休眠模式時,又因此存取點310被喚醒卻又缺乏連線能力(步驟S1039)。If the tested wireless local area network module 302 cannot connect to the external network 31 through the access point 310, the wireless local area network module 302 similarly stores the connection information of the access point 310 in the connection processing. The system 300 has a network preference list, but the difference is that it will be marked as a disconnected item at this time to avoid the access point 310 being awakened while the operating system 301 is in the sleep mode, but lacking the connection capability ( Step S1039).

另外,會被判斷為無法與外部網路31連線的存取點(例如存取點310)亦可能為在此之前沒有登入過,但需要驗證程序的無線區域網路存取點。因此,在此實施例中,上述記錄於網路喜好列表中的不連線項目僅在作業系統301為休眠模式時,偵測到該存取點後不進行連線。在作業系統301不處於休眠模式時,無線區域網路模組302亦將偵測到存取點310的資訊回傳作業系統301,若存取點310所提供之無線區域網路需要認證之程序,作業系統310則提供相關之驗證資訊以進行驗證。In addition, an access point (e.g., access point 310) that is determined to be inaccessible to the external network 31 may also be a wireless local area network access point that has not been previously logged in, but requires a verification procedure. Therefore, in this embodiment, the unconnected item recorded in the network preference list is only when the operating system 301 is in the sleep mode, and the connection point is not detected after the access point is detected. When the operating system 301 is not in the sleep mode, the wireless local area network module 302 will also detect the information backhaul operating system 301 of the access point 310. If the wireless local area network provided by the access point 310 requires authentication, the program needs to be authenticated. The operating system 310 provides relevant verification information for verification.

更進一步的,若作業系統301與存取點310驗證成功,且無線區域網路模組302亦成功的透過存取點310連線至外部網路31,作業系統301則會將存取點310之連線資訊儲存於作業系統301的無線網路配置表之中。當作業系統301進入休眠模式前,此存取點310之連線資訊便會從無線網路配置表中更新至連線處理系統300中之網路喜好列表中。Further, if the operating system 301 and the access point 310 are successfully verified, and the wireless local area network module 302 is successfully connected to the external network 31 through the access point 310, the operating system 301 will access the access point 310. The connection information is stored in the wireless network configuration table of the operating system 301. Before the operating system 301 enters the sleep mode, the connection information of the access point 310 is updated from the wireless network configuration table to the network preference list in the connection processing system 300.

綜上所述,本發明提出一種處理網路連線的方法及其電子裝置,讓電子裝置處於”永遠開機、隨時連線”時,其中運行的作業系統不會在處於休眠模式時,被搜尋到不具對外連線能力的無線區域網路存取點而從休眠模式中被喚醒,而造成無謂的耗電而進而影響整體的待機時間。In summary, the present invention provides a method for processing a network connection and an electronic device thereof, wherein when the electronic device is in "always on, ready to connect", the operating system in which the operation is run is not searched in the sleep mode. The wireless local area network access point that does not have the external connection capability is awakened from the sleep mode, causing unnecessary power consumption and thus affecting the overall standby time.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

S100~S103、S1010~S1011、S1030~S1039...步驟S100~S103, S1010~S1011, S1030~S1039. . . step

30...電子裝置30. . . Electronic device

300...連線處理系統300. . . Connection processing system

301...作業系統301. . . working system

302...無線區域網路模組302. . . Wireless area network module

303...天線模組303. . . Antenna module

31...外部網路31. . . External network

310...存取點310. . . Access point

320...外部伺服器320. . . External server

圖1所示為根據本發明第一實施例所繪示之處理網路連線的方法之步驟流程圖。FIG. 1 is a flow chart showing the steps of a method for processing a network connection according to a first embodiment of the present invention.

圖2所示為根據本發明第二實施例所繪示之處理網路連線的方法之步驟流程圖。FIG. 2 is a flow chart showing the steps of a method for processing a network connection according to a second embodiment of the present invention.

圖3所示為根據本發明第三實施例所繪示之裝置方塊圖。FIG. 3 is a block diagram of a device according to a third embodiment of the present invention.

圖4所示為根據本發明第三實施例所繪示之處理網路連線的方法的步驟流程圖。FIG. 4 is a flow chart showing the steps of a method for processing a network connection according to a third embodiment of the present invention.

S101~S103...步驟S101~S103. . . step

Claims (10)

一種處理網路連線的方法,包括:在一作業系統進入一休眠模式時,持續偵測是否有可連線的一存取點;當偵測到該存取點時,判斷一連線處理系統中之一網路喜好列表中是否存有該存取點的一連線資訊;以及根據該網路喜好列表中是否存有該存取點的該連線資訊,進行一連線處理程序,其中該連線資訊具有多個連線相關設定,以及若該網路喜好列表中存有該存取點的該連線資訊,則透過該連線資訊進行連線,其中該連線資訊中的該些連線相關設定與該作業系統進入該休眠模式之前相同,其中,連線處理程序包括:若該網路喜好列表中存有該存取點的該連線資訊時,根據該連線資訊透過該存取點與一外部網路連線;若該網路喜好列表中不存有該存取點的該連線資訊時,進行一連線測試以確認該存取點是否具備與該外部網路的一連線能力;以及當確認該存取點具備與該外部網路的該連線能力,透過該存取點與該外部網路建立連線,將該存取點的該連線資訊儲存至該網路喜好列表中,並喚醒該作業系統。 A method for processing a network connection includes: continuously detecting whether there is an access point that can be connected when an operating system enters a sleep mode; and determining a connection processing when detecting the access point Whether there is a connection information of the access point in one of the network preference lists in the system; and performing a connection processing procedure according to whether the connection information of the access point exists in the network preference list, The connection information has a plurality of connection related settings, and if the connection information of the access point exists in the network preference list, the connection information is used to connect, wherein the connection information is The connection related settings are the same as before the operating system enters the sleep mode, wherein the connection processing program includes: if the connection information of the access point exists in the network preference list, according to the connection information Connecting to an external network through the access point; if the connection information of the access point does not exist in the network preference list, perform a connection test to confirm whether the access point has the external Network connectivity; and when The access point has the connection capability with the external network, and the connection point is connected to the external network, and the connection information of the access point is stored in the network preference list, and Wake up the operating system. 如申請專利範圍第1項所述之方法,更包括:當該作業系統進入該休眠模式前,將一已連線存取點的一連線資訊儲存至該網路喜好列表中。 The method of claim 1, further comprising: storing a connection information of a connected access point to the network preference list before the operating system enters the sleep mode. 如申請專利範圍第1項所述之方法,其中該連線處理程序更包括:當無法使用該連線資訊中的一本機網路位址透過該存取點與該外部網路建立連線時,向該存取點或一動態主機設定協定伺服器取得一新的網路位址。 The method of claim 1, wherein the connection processing program further comprises: when a local network address in the connection information cannot be used to establish a connection with the external network through the access point; At this time, a new network address is obtained from the access point or a dynamic host setting protocol server. 如申請專利範圍第3項所述之方法,其中該連線處理程序更包括:當使用該新的網路位址仍無法透過該存取點與該外部網路建立連線時,喚醒該作業系統以提供至少一驗證資訊,再透過該存取點與該外部網路建立連線。 The method of claim 3, wherein the connection processing program further comprises: waking up the operation when the new network address is still unable to establish a connection with the external network through the access point; The system provides at least one verification information, and then establishes a connection with the external network through the access point. 如申請專利範圍第3項所述之方法,其中該連線處理程序更包括:當確認該存取點不具備與該外部網路的該連線能力時,則儲存該存取點的該連線資訊至該網路喜好列表中,並將該存取點列為一不連線項目。 The method of claim 3, wherein the connection processing program further comprises: storing the connection point when the access point does not have the connection capability with the external network; Line information is listed in the network preference list and the access point is listed as a disconnected item. 一種電子裝置,包括一連線處理系統,該連線處理系統包括:一作業系統;一無線區域網路模組,連接該作業系統,用以偵測一存取點;以及其中,當該作業系統進入一休眠模式,該無線區域網路模組持續偵測是否有可連線的該存取點, 其中,當該作業系統進入一休眠模式並偵測到該存取點時,該連線處理系統判斷該連線處理系統中之一網路喜好列表是否存有該存取點的一連線資訊,並且根據該網路喜好列表是否存有該存取點的該連線資訊,進行一連線處理程序,其中該連線資訊具有多個連線相關設定,以及若該網路喜好列表中存有該存取點的該連線資訊,則該無線區域網路模組透過該連線資訊進行連線,其中該連線資訊中的該些連線相關設定與該作業系統進入該休眠模式之前相同,其中,該連線處理程序包括:當該網路喜好列表中存有該連線資訊時,該無線區域網路模組根據該連線資訊透過該存取點與一外部網路連線;若該網路喜好列表中不存有該存取點的該連線資訊時,該無線區域網路模組進行一連線測試以確認該存取點是否具備與該外部網路的一連線能力;以及當該無線區域網路模組確認該存取點具備與該外部網路的該連線能力時,該無線區域網路模組透過該存取點與該外部網路建立連線,將該存取點的該連線資訊儲存至該網路喜好列表中,並喚醒該作業系統。 An electronic device includes a connection processing system, the connection processing system includes: an operation system; a wireless area network module connected to the operation system for detecting an access point; and wherein, when the operation When the system enters a sleep mode, the wireless local area network module continuously detects whether there is a connection point that can be connected. When the operating system enters a sleep mode and detects the access point, the connection processing system determines whether a network preference list in the connection processing system stores a connection information of the access point. And performing a connection processing procedure according to whether the network preference list stores the connection information of the access point, wherein the connection information has a plurality of connection related settings, and if the network preference list is stored Having the connection information of the access point, the wireless local area network module is connected through the connection information, wherein the connection related settings in the connection information and before the operating system enters the sleep mode In the same way, the connection processing program includes: when the connection information is stored in the network preference list, the wireless local area network module connects to an external network through the access point according to the connection information. If the connection information of the access point does not exist in the network preference list, the wireless local area network module performs a connection test to confirm whether the access point has a connection with the external network. Line capability; and when the wireless When the domain network module confirms that the access point has the connection capability with the external network, the wireless area network module establishes a connection with the external network through the access point, and the access point is The connection information is stored in the network preference list and wakes up the operating system. 如申請專利範圍第6項所述之裝置,其中當該作業系統進入休眠模式前,該作業系統將一已連線存取點的一連線資訊儲存至該網路喜好列表中。 The device of claim 6, wherein the operating system stores a connection information of a connected access point to the network favorite list before the operating system enters the sleep mode. 如申請專利範圍第6項所述之裝置,其中,當該無線區域網路模組無法使用該連線資訊中的一本機網路位址透過該存取點與該外部網路建立連線時,該無線區域網路模組向該存取點或一動態主機設定協定伺服器取得一新的網路位址。 The device of claim 6, wherein the wireless local area network module cannot use the local network address in the connection information to establish a connection with the external network through the access point. The wireless local area network module obtains a new network address from the access point or a dynamic host setting agreement server. 如申請專利範圍第8項所述之裝置,其中當該無線區域網路模組使用該新的網路位址仍無法透過該存取點與該外部網路建立連線時,喚醒該作業系統以提供至少一驗證資訊,再透過該存取點與該外部網路建立連線。 The device of claim 8, wherein the wireless local area network module wakes up the operating system when the new network address is still unable to establish a connection with the external network through the access point. To provide at least one verification information, and then establish a connection with the external network through the access point. 如申請專利範圍第6項所述之裝置,其中,當該無線區域網路模組確認該存取點不具備與該外部網路的該連線能力,則該無線區域網路模組儲存該存取點的該連線資訊至該網路喜好列表中,並將該存取點列為一不連線項目。The device of claim 6, wherein the wireless local area network module stores the wireless local area network module when the wireless local area network module confirms that the access point does not have the connection capability with the external network. The connection information of the access point is listed in the network preference list, and the access point is listed as a disconnected item.
TW100147196A 2011-12-19 2011-12-19 Method for handling network connection and electrical apparatus using the same TWI488530B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100147196A TWI488530B (en) 2011-12-19 2011-12-19 Method for handling network connection and electrical apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100147196A TWI488530B (en) 2011-12-19 2011-12-19 Method for handling network connection and electrical apparatus using the same

Publications (2)

Publication Number Publication Date
TW201328398A TW201328398A (en) 2013-07-01
TWI488530B true TWI488530B (en) 2015-06-11

Family

ID=49225400

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100147196A TWI488530B (en) 2011-12-19 2011-12-19 Method for handling network connection and electrical apparatus using the same

Country Status (1)

Country Link
TW (1) TWI488530B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI514833B (en) * 2014-05-06 2015-12-21 D Link Corp We can dynamically adjust the method of setting information in gateway device
US9794120B2 (en) * 2015-04-14 2017-10-17 Quanta Computer, Inc. Managing network configurations in a server system
TWI580238B (en) * 2015-07-31 2017-04-21 物聯智慧科技(深圳)有限公司 Communication method for keeping network connection of an electronic device in the sleep mode, address translator and sever using the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090086660A1 (en) * 2007-09-28 2009-04-02 Kapil Sood Power saving operation of always-connected wireless roaming
WO2009042627A1 (en) * 2007-09-24 2009-04-02 Tcm Mobile, Llc Packet communication roaming method and system
EP2214348A1 (en) * 2006-08-25 2010-08-04 Qualcomm Incorporated Selection of an access point in a communications system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2214348A1 (en) * 2006-08-25 2010-08-04 Qualcomm Incorporated Selection of an access point in a communications system
WO2009042627A1 (en) * 2007-09-24 2009-04-02 Tcm Mobile, Llc Packet communication roaming method and system
US20090086660A1 (en) * 2007-09-28 2009-04-02 Kapil Sood Power saving operation of always-connected wireless roaming

Also Published As

Publication number Publication date
TW201328398A (en) 2013-07-01

Similar Documents

Publication Publication Date Title
US11055392B2 (en) Proximity unlock and lock operations for electronic devices
WO2018000134A1 (en) Bluetooth connection method and terminal
US9801120B2 (en) Client-initiated tethering for electronic devices
TWI699138B (en) Network access method and device
WO2017185711A1 (en) Method, apparatus and system for controlling smart device, and storage medium
US9503893B2 (en) Communication management system, relay device, communication control system, communication system, communication method, and recording medium storing communication control program
WO2015090248A1 (en) Server overload protection method and device
WO2016082194A1 (en) Message processing method and apparatus
WO2018049897A1 (en) Data backup method and device
EP3031223B1 (en) Method and apparatus for wi-fi direct connection
KR20120046547A (en) The method of determining group owner in peer to peer network and the device thereof
US9819640B2 (en) Method for keeping remote connection, electronic device and server
US20200187008A1 (en) Wi-fi hotspot connection method and terminal
WO2018049971A1 (en) Hotspot network switching method and terminals
WO2018049970A1 (en) Hotspot network switching method and terminal
US20140334364A1 (en) Remote wake-up system and method
CN110381489A (en) Bluetooth connecting method, display terminal and television set
CN107734528B (en) Wireless network detection method, device, storage medium and terminal
WO2018049969A1 (en) Hotspot establishment method and related device
TWI488530B (en) Method for handling network connection and electrical apparatus using the same
CN113853754A (en) In the bluetoothTMElectronic device and method for displaying external electronic device query list in network environment
JP5554847B2 (en) Region-based communication service processing method and apparatus
WO2015139401A1 (en) Establishment method and system for wireless network, and wireless routing device
WO2018049968A1 (en) Hotspot establishment method and terminals
CN106792434B (en) Hotspot establishing method and terminal equipment