TWI466560B - Method for automatically changing access point and electronic device - Google Patents

Method for automatically changing access point and electronic device Download PDF

Info

Publication number
TWI466560B
TWI466560B TW101111268A TW101111268A TWI466560B TW I466560 B TWI466560 B TW I466560B TW 101111268 A TW101111268 A TW 101111268A TW 101111268 A TW101111268 A TW 101111268A TW I466560 B TWI466560 B TW I466560B
Authority
TW
Taiwan
Prior art keywords
access point
wifi access
electronic device
wifi
mobile
Prior art date
Application number
TW101111268A
Other languages
Chinese (zh)
Other versions
TW201340747A (en
Inventor
Yu Wei 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 TW101111268A priority Critical patent/TWI466560B/en
Publication of TW201340747A publication Critical patent/TW201340747A/en
Application granted granted Critical
Publication of TWI466560B publication Critical patent/TWI466560B/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

自動轉換存取點的方法與電子裝置 Method and electronic device for automatically converting access points

本發明係有關於轉換WiFi存取點的方法。 The present invention relates to a method of converting a WiFi access point.

可攜式行動裝置一般都是透過WiFi上網,當使用者選定特定的WiFi存取點後,可攜式行動裝置就會儲存WiFi存取點的認證資料,並且一直經由這個WiFi存取點上網,除非WiFi訊號消失或是使用者手動選擇另一個WiFi存取點,才能切換到另一個WiFi存取點上網。當可攜式行動裝置的使用者選定行動式WiFi存取點後,不僅會大量消耗提供行動式WiFi存取點之行動裝置的電量,而且網路傳輸速度慢,無法長時間使用。此時,如果使用者想利用其他WiFi存取點上網時,只能透過手動切換WiFi存取點以重新建立連線,易造成使用者使用上的不便。 Portable mobile devices generally use WiFi to access the Internet. When a user selects a specific WiFi access point, the portable mobile device stores the authentication data of the WiFi access point and accesses the Internet through the WiFi access point. Unless the WiFi signal disappears or the user manually selects another WiFi access point, it can switch to another WiFi access point to access the Internet. When the user of the portable mobile device selects the mobile WiFi access point, not only the power of the mobile device providing the mobile WiFi access point is consumed in a large amount, but also the network transmission speed is slow and cannot be used for a long time. At this time, if the user wants to use other WiFi access points to access the Internet, the user can only re-establish the connection by manually switching the WiFi access point, which is liable to cause inconvenience to the user.

本發明提供一種自動轉換存取點的方法,包括:當一電子裝置正透過無線連結連接至一移動式WiFi存取點且電子裝置移動至一固定式WiFi存取點的訊號範圍時,判斷電子裝置是否正在與移動式WiFi存取點進行資料傳送;以及當電子裝置正在與移動式WiFi存取點進行資料傳送時,等到資料傳送結束完成後才中斷電子裝置與移動式WiFi存取點之無線連結,並自動將電子裝置連接至固定式WiFi存取點。 The invention provides a method for automatically converting an access point, comprising: determining an electronic device when an electronic device is connected to a mobile WiFi access point via a wireless connection and the electronic device moves to a signal range of a fixed WiFi access point Whether the device is transmitting data with the mobile WiFi access point; and when the electronic device is transmitting data with the mobile WiFi access point, the wireless device and the mobile WiFi access point are not interrupted until the data transfer is completed. Connect and automatically connect the electronic device to a fixed WiFi access point.

本發明提供另一種自動轉換存取點的方法,包括:當一電子裝置正透過無線連結連接至一固定式WiFi存取點時,判斷電子裝置接收到來自固定式WiFi存取點的訊號強度是否小於一既定值;當電子裝置接收到來自固定式WiFi存取點的訊號強度小於既定值時,計算傳送中資料的一偏移位置(offset);以及當計算出偏移位置後,自動中斷電子裝置與移動式WiFi存取點之無線連結,並自動將電子裝置連接至電子裝置之一清單中可存取的一移動式WiFi存取點。 The present invention provides another method for automatically converting an access point, including: when an electronic device is connected to a fixed WiFi access point via a wireless connection, determining whether the electronic device receives the signal strength from the fixed WiFi access point. Less than a predetermined value; when the electronic device receives the signal strength from the fixed WiFi access point is less than a predetermined value, calculating an offset position of the data in the transmission; and automatically interrupting the electronic when the offset position is calculated The device is wirelessly coupled to the mobile WiFi access point and automatically connects the electronic device to a mobile WiFi access point accessible in a list of electronic devices.

本發明提供一種電子裝置,包括:一無線模組;以及一處理單元,耦接無線模組,用以當電子裝置移動至一固定式WiFi存取點的訊號範圍時,判斷此時無線模組是否正在與一移動式WiFi存取點進行資料傳送,當無線模組正在與移動式WiFi存取點進行資料傳送時,等到資料傳送結束完成後使無線模組自動中斷與移動式WiFi存取點之無線連結並自動將電子裝置連接至固定式WiFi存取點。 The present invention provides an electronic device including: a wireless module; and a processing unit coupled to the wireless module for determining the wireless module when the electronic device moves to a range of signals of a fixed WiFi access point Whether the data transfer is being performed with a mobile WiFi access point, and when the wireless module is transmitting data with the mobile WiFi access point, the wireless module is automatically interrupted and the mobile WiFi access point is waited until the data transfer is completed. Wireless connection and automatic connection of the electronic device to the fixed WiFi access point.

本發明提供另一種電子裝置,包括:一無線模組;以及一處理單元,耦接無線模組,用以判斷無線模組接收到來自一固定式WiFi存取點的訊號強度是否小於一既定值,當無線模組接收到來自固定式WiFi存取點的訊號強度小於既定值時,計算傳送中資料的一偏移位置(offset),並於計算出偏移位置後,使無線模組自動中斷電子裝置與移動式WiFi存取點之無線連結,並自動將電子裝置連接至電子裝置之一清單中可存取的一移動式WiFi存取點。 The present invention provides another electronic device, including: a wireless module; and a processing unit coupled to the wireless module, configured to determine whether the wireless module receives a signal strength from a fixed WiFi access point that is less than a predetermined value. When the wireless module receives the signal strength from the fixed WiFi access point less than a predetermined value, calculates an offset position of the data in the transmission, and after the offset position is calculated, the wireless module is automatically interrupted. The electronic device is wirelessly coupled to the mobile WiFi access point and automatically connects the electronic device to a mobile WiFi access point accessible in a list of electronic devices.

為使本發明之製造、操作方法、目標和優點能更明顯易懂,下文特舉幾個較佳實施例,並配合所附圖式,作詳細說明如下。本發明之保護範圍當視後附之申請專利範圍所界定者為準。 In order to make the invention, the method, the objects and the advantages of the present invention more obvious, the following detailed description of the preferred embodiments and the accompanying drawings. The scope of the invention is defined by the scope of the appended claims.

第1圖係表示依據本發明實施例之自動轉換存取點的方法的一硬體系統方塊圖。如第1圖中所示,電子裝置100包括處理單元102、儲存單元104、無線模組106與GPS定位系統108。舉例而言,電子裝置100可為筆記型電腦、平板電腦、電子書、手機、智慧型手機、PDA手機、及/或其他可用以經由無線網路傳輸訊號的裝置。舉例而言,處理單元102可包含一單一中央處理單元(central-processing unit,CPU)或者是關連於平行運算環境(parallel processing environment)之複數平行處理單元,用以執行作業系統、模組以及應用程式。儲存單元104包含唯讀記憶體(read only memory,ROM)、快閃記憶體(flash ROM)、動態存取記憶體(random access memory,RAM)、可抹除可編程唯讀記憶體、電子式可抹除可編程唯讀記憶體、暫存器、硬碟、及/或在所知之技術中以任何其他型式存在之電腦可讀取儲存媒介,用以儲存可供處理單元102執行之程式模組。一般而言,程式模組包含常序(routines)、程式(program)、物件(object)、元件(component)或網路服務(Web Service)等,用以執行點對點通訊系統之即時訊息轉換(instant message switch)功能。無線模組106包含802.11規格之無線網路卡,用以與存取點(Access Point,AP)進行 通訊。 1 is a block diagram of a hardware system showing a method of automatically converting an access point according to an embodiment of the present invention. As shown in FIG. 1 , the electronic device 100 includes a processing unit 102 , a storage unit 104 , a wireless module 106 , and a GPS positioning system 108 . For example, the electronic device 100 can be a notebook computer, a tablet computer, an e-book, a mobile phone, a smart phone, a PDA phone, and/or other devices that can transmit signals via a wireless network. For example, the processing unit 102 can include a single central processing unit (CPU) or a plurality of parallel processing units associated with a parallel processing environment for executing operating systems, modules, and applications. Program. The storage unit 104 includes a read only memory (ROM), a flash ROM, a random access memory (RAM), an erasable programmable read only memory, and an electronic Programmable read-only memory, scratchpad, hard disk, and/or computer readable storage medium in any other type known in the art to be used to store programs executable by processing unit 102 Module. Generally, a program module includes a routine, a program, an object, a component, or a web service to perform an instant message conversion of a peer-to-peer communication system (instant). Message switch) function. The wireless module 106 includes an 802.11 wireless network card for access point (AP) communication.

在本發明之實施例中,電子裝置100透過無線模組106與一行動裝置提供的第一WiFi存取點建立無線連結。在本發明中,行動裝置係可為智慧型手機或平板電腦等。無線模組106在與行動裝置提供的第一WiFi存取點建立無線連結後,處理單元102根據儲存單元104中的一清單110比對第一WiFi存取點是否有在清單110之中。舉例而言,清單110紀錄連結過的WiFi存取點之相關資訊(即MAC位址、地理位置資訊、認證資訊…等等),清單110中的每一WiFi存取點具有一對應的媒體存取控制(MAC)位置,並且清單110中的每一WiFi存取點可對應至該WiFi存取點第一次與電子裝置100連接時的位置(即參考位置)。當第一WiFi存取點沒有在清單110之中時,代表無線模組106為第一次連接到第一WiFi存取點。然後,處理單元102透過GPS定位系統108進行定位電子裝置100與行動裝置提供的第一WiFi存取點建立連線時的第一位置。接著,處理單元102將第一WiFi存取點與定位後得到的第一位置資訊儲存在清單110之中。處理單元102在第一次與行動裝置提供的第一WiFi存取點建立無線連結時,會將行動裝置提供的第一WiFi存取點歸類為固定式WiFi存取點。當電子裝置100移動至另一場所,偵測到一第二WiFi存取點且無線模組106連接至第二WiFi存取點,且第二WiFi存取點並不在清單110中(代表無線模組106第一次連接到第二WiFi存取點)時,處理單元102也會將第二WiFi存取點歸類為固定式WiFi存取點。處理單元102透過GPS定位系統108 進行定位電子裝置100與第二WiFi存取點建立連線時的第二位置,處理單元102將第二WiFi存取點與定位後得到的第二位置資訊儲存在清單110之中。舉例而言,處理單元102係於第一/第二WiFi存取點之MAC位址不在清單110中時,則視為無線模組106當第一次連線至第一/第二WiFi存取點。 In the embodiment of the present invention, the electronic device 100 establishes a wireless connection with the first WiFi access point provided by a mobile device via the wireless module 106. In the present invention, the mobile device can be a smart phone or a tablet or the like. After the wireless module 106 establishes a wireless connection with the first WiFi access point provided by the mobile device, the processing unit 102 compares whether the first WiFi access point is in the list 110 according to a list 110 in the storage unit 104. For example, the list 110 records related information of the connected WiFi access point (ie, MAC address, geographic location information, authentication information, etc.), and each WiFi access point in the list 110 has a corresponding media storage. A control (MAC) location is taken, and each WiFi access point in the list 110 can correspond to a location (ie, a reference location) when the WiFi access point is first connected to the electronic device 100. When the first WiFi access point is not in the list 110, the representative wireless module 106 is connected to the first WiFi access point for the first time. Then, the processing unit 102 performs a first position when the positioning electronic device 100 establishes a connection with the first WiFi access point provided by the mobile device through the GPS positioning system 108. Next, the processing unit 102 stores the first WiFi access point and the first location information obtained after the location in the list 110. When the processing unit 102 establishes a wireless connection with the first WiFi access point provided by the mobile device for the first time, the first WiFi access point provided by the mobile device is classified as a fixed WiFi access point. When the electronic device 100 moves to another location, a second WiFi access point is detected and the wireless module 106 is connected to the second WiFi access point, and the second WiFi access point is not in the list 110 (representing the wireless mode) When the group 106 is connected to the second WiFi access point for the first time, the processing unit 102 also classifies the second WiFi access point as a fixed WiFi access point. Processing unit 102 transmits GPS positioning system 108 The second location when the positioning electronic device 100 establishes a connection with the second WiFi access point, the processing unit 102 stores the second WiFi access point and the second location information obtained after the location in the list 110. For example, when the processing unit 102 is not in the list 110 of the first/second WiFi access point, the wireless module 106 is considered to be connected to the first/second WiFi access for the first time. point.

第2圖所示係根據本發明實施例之判斷存取點方法的流程圖。在步驟S202中,當無線模組106在同一地點偵測到兩個以上的固定式WiFi存取點(即行動裝置提供的第一WiFi存取點與第二WiFi存取點)時,處理單元102透過GPS定位系統108取得現在電子裝置100的位置資訊。在步驟S204中,讀取儲存在儲存單元104中之對應所偵測到之WiFi存取點的位置資訊。在本發明一實施例中,處理單元102先讀取對應第一WiFi存取點的第一位置資訊。在步驟S206中,根據讀取到的位置資訊判斷讀取的位置與電子裝置100現在的位置(即目前位置)是否相距大於一既定距離。若大於既定距離,則進行至步驟S208。若小於既定距離,則進行至步驟S210。舉例而言,該既定距離為500公尺,但不限定於此。在本發明之其它實施例中,該既定距離亦可少於500公尺,例如300公尺,該既定距離亦可多於500公尺,例如700公尺。 2 is a flow chart showing a method of determining an access point according to an embodiment of the present invention. In step S202, when the wireless module 106 detects two or more fixed WiFi access points (ie, the first WiFi access point and the second WiFi access point provided by the mobile device) at the same location, the processing unit 102 obtains the location information of the current electronic device 100 through the GPS positioning system 108. In step S204, the location information of the corresponding detected WiFi access point stored in the storage unit 104 is read. In an embodiment of the invention, the processing unit 102 first reads the first location information corresponding to the first WiFi access point. In step S206, it is determined whether the read position and the current position (ie, the current position) of the electronic device 100 are greater than a predetermined distance according to the read position information. If it is greater than the predetermined distance, it proceeds to step S208. If it is less than the predetermined distance, it progresses to step S210. For example, the predetermined distance is 500 meters, but is not limited thereto. In other embodiments of the invention, the predetermined distance may also be less than 500 meters, such as 300 meters, and the predetermined distance may be more than 500 meters, such as 700 meters.

在步驟S208中,將讀取的位置資訊所對應的WiFi存取點變更為移動式WiFi存取點。在本實施例中,處理單元102先根據第一位置資訊比較第一位置以及電子裝置100現在的位置是否大於500公尺。若第一位置與電子裝置100 現在的位置距離大於500公尺,處理單元102則將第一WiFi存取點變更為移動式WiFi存取點(即將行動裝置所提供的第一WiFi存取點設定為移動式WiFi存取點)。於處理單元102比較完第一WiFi存取點之後,進行至步驟S210。在步驟S210中,處理單元102判斷是否仍有固定式WiFi存取點。若有固定式WiFi存取點,則回到步驟S204。若沒有固定式WiFi存取點,則進行至步驟S212結束流程圖。在本發明實施例中,處理單元102接著讀取對應第二WiFi存取點的第二位置資訊,接著根據第二位置資訊比較第二位置以及現在電子裝置100的位置是否大於500公尺。若第二位置與電子裝置100現在的位置距離小於500公尺,處理單元102依舊將第二WiFi存取點歸類為固定式WiFi存取點。 In step S208, the WiFi access point corresponding to the read location information is changed to a mobile WiFi access point. In this embodiment, the processing unit 102 first compares the first location according to the first location information and whether the current location of the electronic device 100 is greater than 500 meters. If the first location and the electronic device 100 The current location distance is greater than 500 meters, and the processing unit 102 changes the first WiFi access point to a mobile WiFi access point (ie, sets the first WiFi access point provided by the mobile device as a mobile WiFi access point) . After the processing unit 102 compares the first WiFi access point, it proceeds to step S210. In step S210, the processing unit 102 determines whether there is still a fixed WiFi access point. If there is a fixed WiFi access point, the process returns to step S204. If there is no fixed WiFi access point, the process proceeds to step S212 to end the flowchart. In the embodiment of the present invention, the processing unit 102 then reads the second location information corresponding to the second WiFi access point, and then compares the second location according to the second location information and whether the location of the electronic device 100 is greater than 500 meters. If the second location is less than 500 meters from the current location of the electronic device 100, the processing unit 102 still classifies the second WiFi access point as a fixed WiFi access point.

舉例而言,電子裝置100的無線模組106在家中與行動裝置所提供的第一WiFi存取點建立連線後,處理單元102根據儲存單元104中的一清單110比對第一WiFi存取點是否有在清單110之中。當第一WiFi存取點沒有在清單110之中時,處理單元102將第一WiFi存取點與建立連線時的第一位置資訊儲存在清單110之中並將第一WiFi存取點歸類為固定式存取點。當電子裝置100與行動裝置同時移動至離家10公里外的公司時,無線模組106偵測到第二WiFi存取點,處理單元102根據儲存單元104中的清單110比對第二WiFi存取點是否有在清單110之中。當第二WiFi存取點沒有在清單110之中時,處理單元102將第二WiFi存取點與建立連線時的第二位置資訊(即處理單元102透過 全球定位系統取得與第二WiFi存取點建立連線時的第二位置資訊)儲存在清單110之中,並將第二WiFi存取點歸類為固定式WiFi存取點。因為行動裝置與電子裝置100同時移動至公司,所以此時無線模組106能夠偵測到兩個固定式WiFi存取點(即行動裝置提供的第一WiFi存取點與公司的第二WiFi存取點)。接著,處理單元102透過全球定位系統取得現在電子裝置100的位置資訊,處理單元102比較電子裝置100現在的位置資訊與第一WiFi存取點的第一位置資訊或第二WiFi存取點的第二位置資訊。此時,處理單元102於比較後得知第一次與第一WiFi存取點建立連線的第一位置與現在電子裝置100的位置超過500公尺,且現在還能夠與第一WiFi存取點建立連線,因此處理單元102將第一WiFi存取點變更為移動式WiFi存取點。接著,處理單元102比較電子裝置100的位置資訊與第二WiFi存取點的第二位置資訊。處理單元102於比較後得知第二WiFi存取點建立連線的第二位置與現在電子裝置100的位置小於500公尺,因此處理單元102依然將第二WiFi存取點歸類為固定式WiFi存取點。 For example, after the wireless module 106 of the electronic device 100 is connected to the first WiFi access point provided by the mobile device at home, the processing unit 102 compares the first WiFi access according to a list 110 in the storage unit 104. Is the point in the list 110? When the first WiFi access point is not in the list 110, the processing unit 102 stores the first WiFi access point and the first location information when establishing the connection in the list 110 and returns the first WiFi access point. The class is a fixed access point. When the electronic device 100 moves to the company 10 kilometers away from the mobile device, the wireless module 106 detects the second WiFi access point, and the processing unit 102 compares the second WiFi according to the list 110 in the storage unit 104. Whether the point is in the list 110. When the second WiFi access point is not in the list 110, the processing unit 102 transmits the second WiFi access point and the second location information when the connection is established (ie, the processing unit 102 transmits The second location information when the global positioning system obtains connection with the second WiFi access point is stored in the list 110, and the second WiFi access point is classified as a fixed WiFi access point. Because the mobile device and the electronic device 100 are simultaneously moved to the company, the wireless module 106 can detect two fixed WiFi access points (ie, the first WiFi access point provided by the mobile device and the second WiFi storage address of the company). Take a point). Then, the processing unit 102 obtains the location information of the current electronic device 100 through the global positioning system, and the processing unit 102 compares the current location information of the electronic device 100 with the first location information of the first WiFi access point or the second WiFi access point. Two location information. At this time, after the comparison, the processing unit 102 knows that the first location of the first connection with the first WiFi access point and the current position of the electronic device 100 exceed 500 meters, and is now also capable of accessing the first WiFi. The point establishes a connection, so the processing unit 102 changes the first WiFi access point to a mobile WiFi access point. Next, the processing unit 102 compares the location information of the electronic device 100 with the second location information of the second WiFi access point. After the comparison, the processing unit 102 knows that the second location of the second WiFi access point establishment connection is less than 500 meters from the current electronic device 100, so the processing unit 102 still classifies the second WiFi access point as a fixed type. WiFi access point.

在另一實施例中,第3圖所示係根據本發明實施例之另一判斷存取點方法的流程圖。在步驟S302中,無線模組106判斷是否連線到任一WiFi存取點,若無線模組106判斷已連線到一WiFi存取點,則進行至步驟S304。若無線模組106判斷未連線到一WiFi存取點,則回到步驟S302。在步驟S304中,處理單元102則比對所連線之WiFi存取點是否在儲存單元104之清單110中,當所連線之WiFi 存取點沒有在清單110中時,處理單元102則將所連線之WiFi存取點和電子裝置100與所連線之WiFi存取點建立連線的一參考位置儲存至清單110中。在步驟S306中,在經過一既定時間後,處理單元102透過GPS定位系統108取得電子裝置100目前的位置。在步驟S308中,處理單元102比對儲存單元104中所連線之WiFi存取點的參考位置與電子裝置100目前的位置是否大於一既定距離。當所連線之WiFi存取點的參考位置與電子裝置100目前的位置大於該既定距離時且無線模組106仍能與此WiFi存取點建立無線連結時,則進行至步驟S310。當所連線之WiFi存取點的參考位置與電子裝置100目前的位置小於該既定距離時,或者當所連線之WiFi存取點的參考位置與電子裝置100目前的位置大於該既定距離且無線模組106無法與此WiFi存取點建立無線連結時,則進行至步驟S312。在步驟S310中,將所連線之WiFi存取點設定為移動式WiFi存取點。在步驟S312中,仍將此WiFi存取點歸類為固定式WiFi存取點。在步驟S314中,結束流程圖。 In another embodiment, FIG. 3 is a flow chart showing another method of determining an access point according to an embodiment of the present invention. In step S302, the wireless module 106 determines whether to connect to any WiFi access point. If the wireless module 106 determines that it has been connected to a WiFi access point, it proceeds to step S304. If the wireless module 106 determines that it is not connected to a WiFi access point, it returns to step S302. In step S304, the processing unit 102 compares whether the connected WiFi access point is in the list 110 of the storage unit 104, when the connected WiFi is connected. When the access point is not in the list 110, the processing unit 102 stores a reference location of the connected WiFi access point and the connected device's WiFi access point to the list 110. In step S306, after a predetermined time has elapsed, the processing unit 102 obtains the current location of the electronic device 100 through the GPS positioning system 108. In step S308, the processing unit 102 compares the reference position of the WiFi access point connected to the storage unit 104 with the current position of the electronic device 100 by more than a predetermined distance. When the reference location of the connected WiFi access point and the current location of the electronic device 100 are greater than the predetermined distance and the wireless module 106 can still establish a wireless connection with the WiFi access point, proceed to step S310. When the reference location of the connected WiFi access point and the current location of the electronic device 100 are less than the predetermined distance, or when the reference location of the connected WiFi access point and the current location of the electronic device 100 are greater than the predetermined distance and When the wireless module 106 cannot establish a wireless connection with the WiFi access point, the process proceeds to step S312. In step S310, the connected WiFi access point is set as a mobile WiFi access point. In step S312, the WiFi access point is still classified as a fixed WiFi access point. In step S314, the flowchart is ended.

在本發明之實施例中,移動式WiFi存取點係為電子裝置100之目前位置與清單110中對應於此移動式WiFi存取點之參考位址相距超過既定距離時仍能藉由同一MAC位址連線之WiFi存取點,而固定式WiFi存取點係為電子裝置100在目前位置與參考位址相距超過既定距離時則無法藉由同一MAC位址連線之WiFi存取點。在本發明實施例中,當電子裝置100欲選擇一WiFi存取點建立無線連結時,無線模組106會先選擇固定式WiFi存取點(即固定式 WiFi存取點的優先權高於移動式WiFi存取點的優先權)。 In the embodiment of the present invention, the mobile WiFi access point is that the current location of the electronic device 100 can still be the same MAC when the reference address corresponding to the mobile WiFi access point in the list 110 exceeds a predetermined distance. The address is a WiFi access point, and the fixed WiFi access point is a WiFi access point that cannot be connected by the same MAC address when the electronic device 100 is more than a predetermined distance from the reference address. In the embodiment of the present invention, when the electronic device 100 wants to select a WiFi access point to establish a wireless connection, the wireless module 106 first selects a fixed WiFi access point (ie, a fixed type). The priority of the WiFi access point is higher than the priority of the mobile WiFi access point).

第4圖所示係根據本發明實施例之自動轉換存取點的方法的流程圖。以下步驟中所提到的移動式WiFi存取點與固定式WiFi存取點係由第2圖所提到的步驟判斷後所得知的。換言之,第2圖所示的步驟可以在第3圖中之任時間點進行。在步驟S402中,一電子裝置已經連結至移動式WiFi存取點。在步驟S404中,在電子裝置進入固定式WiFi存取點的訊號範圍時,判斷此時電子裝置是否與移動式WiFi存取點正在進行資料傳輸。舉例而言,判斷此時電子裝置是否有與移動式WiFi存取點進行影音下載、收發郵件、視訊通話或上傳分享等資料傳輸。若此時電子裝置正在與移動式WiFi存取點進行資料傳輸,則進行至步驟S406。若此時電子裝置並沒有與移動式WiFi存取點進行資料傳輸,則進行至步驟S408。在步驟S406中,判斷資料傳輸是否結束。若資料傳輸還沒結束,則回到步驟S406繼續判斷。若資料傳輸已經結束,則進行至步驟S408。在步驟S408中,中斷電子裝置與移動式WiFi存取點之無線連結,並自動將電子裝置連接至固定式WiFi存取點。 Figure 4 is a flow chart showing a method of automatically converting an access point in accordance with an embodiment of the present invention. The mobile WiFi access point and the fixed WiFi access point mentioned in the following steps are known from the steps mentioned in FIG. In other words, the steps shown in Fig. 2 can be performed at any time point in Fig. 3. In step S402, an electronic device has been connected to the mobile WiFi access point. In step S404, when the electronic device enters the signal range of the fixed WiFi access point, it is determined whether the electronic device is performing data transmission with the mobile WiFi access point. For example, it is determined whether the electronic device has data transmission such as video and audio downloading, sending and receiving mail, video call or upload sharing with the mobile WiFi access point. If the electronic device is currently transmitting data with the mobile WiFi access point, the process proceeds to step S406. If the electronic device does not perform data transmission with the mobile WiFi access point at this time, the process proceeds to step S408. In step S406, it is judged whether or not the data transmission is ended. If the data transfer has not ended, the process returns to step S406 to continue the determination. If the data transfer has ended, it proceeds to step S408. In step S408, the wireless connection between the electronic device and the mobile WiFi access point is interrupted, and the electronic device is automatically connected to the fixed WiFi access point.

當電子裝置100中的無線模組106正與一移動式WiFi存取點進行通訊且電子裝置100進入一固定式WiFi存取點的訊號範圍時,處理單元102會判斷此時無線模組106是否正在與移動式WiFi存取點進行資料傳輸。若此時無線模組106正在與移動式WiFi存取點進行資料傳輸時,處理單元102會等到資料傳輸結束後使無線模組106自動將無線連結由移動式WiFi存取點轉換至固定式WiFi存取點(即無 線模組106會自動將電子裝置100連結至固定式WiFi存取點)。若此時無線模組106並沒有與移動式WiFi存取點進行資料傳輸時,處理單元102則會馬上使無線模組106自動將無線連結由移動式WiFi存取點轉換至固定式WiFi存取點。舉例而言,當電子裝置100中的無線模組106正透過與移動式WiFi存取點間的無線連結進行下載影音資料時,若此時電子裝置100移動至一固定式WiFi存取點的訊號範圍時,處理單元102並不會馬上使無線模組106將電子裝置從移動式WiFi存取點轉換至固定式WiFi存取點,而是會等到影音資料下載完成後再使無線模組106自動將電子裝置從移動式WiFi存取點轉換至固定式WiFi存取點。舉例而言,當電子裝置100中的無線模組106正與移動式WiFi存取點連線但並沒有進行資料傳送時,若此時電子裝置100移動至一固定式WiFi存取點的訊號範圍,處理單元102則會直接使無線模組106自動將電子裝置從移動式WiFi存取點轉換至固定式WiFi存取點。 When the wireless module 106 in the electronic device 100 is communicating with a mobile WiFi access point and the electronic device 100 enters the signal range of a fixed WiFi access point, the processing unit 102 determines whether the wireless module 106 is present. Data transfer is being performed with a mobile WiFi access point. If the wireless module 106 is currently transmitting data with the mobile WiFi access point, the processing unit 102 waits until the data transmission ends, and causes the wireless module 106 to automatically convert the wireless connection from the mobile WiFi access point to the fixed WiFi. Access point (ie no The line module 106 automatically connects the electronic device 100 to a stationary WiFi access point). If the wireless module 106 does not perform data transmission with the mobile WiFi access point, the processing unit 102 immediately causes the wireless module 106 to automatically convert the wireless connection from the mobile WiFi access point to the fixed WiFi access point. point. For example, when the wireless module 106 in the electronic device 100 is downloading video and audio data through a wireless connection with the mobile WiFi access point, if the electronic device 100 moves to a fixed WiFi access point at this time In the range, the processing unit 102 does not immediately cause the wireless module 106 to switch the electronic device from the mobile WiFi access point to the fixed WiFi access point, but waits until the audio and video data is downloaded, and then the wireless module 106 automatically Converting an electronic device from a mobile WiFi access point to a stationary WiFi access point. For example, when the wireless module 106 in the electronic device 100 is connected to the mobile WiFi access point but does not perform data transmission, if the electronic device 100 moves to the signal range of a fixed WiFi access point. The processing unit 102 directly causes the wireless module 106 to automatically convert the electronic device from the mobile WiFi access point to the fixed WiFi access point.

第5圖所示係根據本發明實施例之自動轉換存取點方法的流程圖。以下步驟中所提到的移動式WiFi存取點與固定式WiFi存取點係由第2圖所提到的步驟判定所得知的。換言之,第2圖所示的步驟可以在第5圖中之任時間點進行。在步驟S502中,一電子裝置已經連結至固定式WiFi存取點。在步驟S504中,判斷電子裝置是否正在移動中。若電子裝置並沒有在移動中,則回到步驟S502。若電子裝置正在移動中,則進行至步驟S506。在步驟S506中,判斷電子裝置與固定式WiFi存取點間之無線連結的訊號強 度是否小於一既定值。若無線連結的訊號強度並不小於該既定值時,則回到步驟S502。若無線連結的訊號強度小於該預設值,則進行至步驟S508。在步驟S508中,計算傳送中資料的偏移位置(offset)(即現在資料所下載到的位置)。舉例而言,步驟S508中,判斷是否正在藉由無線連結進行傳送資料,若是則計算傳送中資料的偏移位置。在步驟S510中,自動中斷電子裝置與固定式WiFi存取點之無線連結,並自動將電子裝置連接至上述電子裝置之清單中可存取的一移動式WiFi存取點。在步驟S512中,從計算出來的偏移位置繼續進行資料傳送。 Figure 5 is a flow chart showing an automatic conversion access point method in accordance with an embodiment of the present invention. The mobile WiFi access point and the fixed WiFi access point mentioned in the following steps are known from the steps mentioned in FIG. In other words, the steps shown in Fig. 2 can be performed at any point in time in Fig. 5. In step S502, an electronic device has been connected to the fixed WiFi access point. In step S504, it is determined whether the electronic device is moving. If the electronic device is not moving, the process returns to step S502. If the electronic device is moving, it proceeds to step S506. In step S506, it is determined that the wireless connection between the electronic device and the fixed WiFi access point is strong. Whether the degree is less than a predetermined value. If the signal strength of the wireless connection is not less than the predetermined value, then return to step S502. If the signal strength of the wireless connection is less than the preset value, proceed to step S508. In step S508, the offset position (offset) of the data being transferred (i.e., the location at which the material is now downloaded) is calculated. For example, in step S508, it is determined whether the data is being transmitted by the wireless connection, and if so, the offset position of the data being transferred is calculated. In step S510, the wireless connection between the electronic device and the fixed WiFi access point is automatically interrupted, and the electronic device is automatically connected to a mobile WiFi access point accessible in the list of the electronic device. In step S512, data transfer is continued from the calculated offset position.

在本發明實施例中,當電子裝置100的無線模組106正與一固定式WiFi存取點進行通訊且電子裝置100正在遠離固定式WiFi存取點的訊號範圍時,此時無線模組106接收到之固定式WiFi存取點的訊號強度越來越弱。當處理單元102判斷固定式WiFi存取點的訊號強度小於某一既定值時,處理單元102使無線模組106計算傳送中資料的偏移位置(offset)。接著,處理單元102使無線模組106自動將無線連結從固定式WiFi存取點轉換至行動裝置所提供的移動式WiFi存取點(即無線模組106會自動連結至移動式WiFi存取點)。無線模組106與移動式WiFi存取點建立連結後,將從之前紀錄的偏移位置開始繼續與移動式WiFi存取點進行傳送資料。 In the embodiment of the present invention, when the wireless module 106 of the electronic device 100 is communicating with a fixed WiFi access point and the electronic device 100 is away from the signal range of the fixed WiFi access point, the wireless module 106 at this time The received signal strength of the fixed WiFi access point is getting weaker and weaker. When the processing unit 102 determines that the signal strength of the fixed WiFi access point is less than a predetermined value, the processing unit 102 causes the wireless module 106 to calculate an offset position of the data in transit. Then, the processing unit 102 causes the wireless module 106 to automatically convert the wireless link from the fixed WiFi access point to the mobile WiFi access point provided by the mobile device (ie, the wireless module 106 automatically connects to the mobile WiFi access point). ). After the wireless module 106 establishes a connection with the mobile WiFi access point, the wireless module 106 continues to transmit data with the mobile WiFi access point from the previously recorded offset position.

本發明之自動轉換存取點的方法讓電子裝置在使用無線網路時不會造成中斷。傳統上電子裝置要切換到另一個WiFi存取點時需要等到原本的WiFi訊號消失或是手動選 取另一個WiFi存取點才能進行轉換。本發明所提供的方法可以讓電子裝置自行判斷是否需要轉換存取點,且不需要等到WiFi訊號消失即可進行轉換的程序。此外,當電子裝置原本正連接到移動式WiFi存取點並移動至固定式WiFi存取點的訊號範圍時,可自動地切換至固定式WiFi存取點,不僅可以減少提供移動式WiFi存取點之行動裝置所消耗的電池電力,還可以讓資料傳輸的速度變快。透過本發明之自動轉換存取點的方法,可以讓電子裝置的使用者不管是在公司、家中或通車的路途中都能透過WiFi存取點使用無線網路。 The method of automatically converting an access point of the present invention allows an electronic device to not cause an interruption when using a wireless network. Traditionally, when an electronic device switches to another WiFi access point, it needs to wait until the original WiFi signal disappears or manually selects it. Take another WiFi access point to convert. The method provided by the invention allows the electronic device to determine whether it is necessary to convert the access point, and does not need to wait until the WiFi signal disappears to perform the conversion process. In addition, when the electronic device is originally connected to the mobile WiFi access point and moves to the signal range of the fixed WiFi access point, it can automatically switch to the fixed WiFi access point, which can not only reduce the provision of mobile WiFi access. The battery power consumed by the mobile device of the point can also make the data transmission speed faster. Through the automatic conversion access point method of the present invention, the user of the electronic device can use the wireless network through the WiFi access point regardless of whether it is in the company, at home or on the way.

以上段落使用多種層面描述。顯然的,本文的教示可以多種方式實現,而在範例中揭露之任何特定架構或功能僅為一代表性之狀況。根據本文之教示,任何熟知此技藝之人士應理解在本文揭露之各層面可獨立實作或兩種以上之層面可以合併實作。舉例說明,某種裝置或某種方法可遵照前文中提到任何方式數目之層面來實作或實現。此外,一裝置之實作或一種方法之實現可用任何其他架構、或功能性、又或架構及功能性附加於或不同於在前文所討論的一種或多種層面上。 The above paragraphs are described in various levels. Obviously, the teachings herein can be implemented in a variety of ways, and any particular architecture or function disclosed in the examples is merely representative. In light of the teachings herein, it will be understood by those skilled in the art that the various aspects disclosed herein can be implemented independently or two or more layers can be combined. By way of example, a certain device or a method may be implemented or implemented in a manner that is in any number of ways as referred to in the foregoing. In addition, implementation of a device or implementation of a method may be added to or different from one or more of the layers discussed above in any other architecture, or functionality, or architecture and functionality.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 While the present invention has been described in its preferred embodiments, the present invention is not intended to limit the invention, and the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application.

100‧‧‧電子裝置 100‧‧‧Electronic devices

102‧‧‧處理單元 102‧‧‧Processing unit

104‧‧‧儲存單元 104‧‧‧ storage unit

106‧‧‧無線模組 106‧‧‧Wireless Module

108‧‧‧GPS定位系統 108‧‧‧GPS positioning system

110‧‧‧清單 110‧‧‧list

第1圖係根據本發明實施例之自動轉換存取點的方法的一硬體系統方塊圖;第2圖所示係根據本發明實施例之判斷存取點方法的流程圖;第3圖所示係根據本發明實施例之另一判斷存取點方法的流程圖;第4圖所示係根據本發明實施例之自動轉換存取點的方法的流程圖;第5圖所示係根據本發明實施例之另一自動轉換存取點的方法的流程圖。 1 is a block diagram of a hardware system of a method for automatically converting an access point according to an embodiment of the present invention; and FIG. 2 is a flowchart of a method for determining an access point according to an embodiment of the present invention; A flowchart of another method for determining an access point according to an embodiment of the present invention; FIG. 4 is a flowchart of a method for automatically converting an access point according to an embodiment of the present invention; Another flowchart of a method of automatically converting an access point in an embodiment of the invention.

Claims (20)

一種自動轉換存取點的方法,包括:當一電子裝置正透過無線連結連接至一移動式WiFi存取點且上述電子裝置移動至一固定式WiFi存取點的訊號範圍時,判斷上述電子裝置是否正在與上述移動式WiFi存取點進行資料傳送;以及當上述電子裝置正在與上述移動式WiFi存取點進行資料傳送時,等到資料傳送結束完成後才中斷上述電子裝置與上述移動式WiFi存取點之無線連結,並自動將上述電子裝置連接至上述固定式WiFi存取點。 A method for automatically converting an access point, comprising: determining an electronic device when an electronic device is connected to a mobile WiFi access point via a wireless connection and the electronic device moves to a signal range of a fixed WiFi access point Whether the data transfer is being performed with the mobile WiFi access point; and when the electronic device is transmitting data with the mobile WiFi access point, the electronic device and the mobile WiFi storage are interrupted until the end of the data transfer is completed. Take the wireless connection and automatically connect the above electronic device to the above fixed WiFi access point. 如申請專利範圍第1項所述之自動轉換存取點的方法,其中上述移動式WiFi存取點係為上述電子裝置之一目前位置與一清單中對應於上述移動式WiFi存取點之一參考位址相距超過一既定距離時仍能藉由同一媒體存取控制(MAC)位址連線的WiFi存取點,而上述固定式WiFi存取點係為上述目前位置與上述參考位址相距超過上述既定距離時上述電子裝置則無法藉由同一MAC位址連線的WiFi存取點。 The method for automatically converting an access point according to claim 1, wherein the mobile WiFi access point is one of the current location of the electronic device and one of the list corresponding to the mobile WiFi access point The reference address can be connected to the WiFi access point of the same media access control (MAC) address when the distance exceeds a predetermined distance, and the fixed WiFi access point is the distance between the current location and the reference address. When the above-mentioned predetermined distance is exceeded, the electronic device cannot connect to the WiFi access point of the same MAC address. 如申請專利範圍第1項所述之自動轉換存取點的方法,更包括當上述電子裝置並沒有與上述移動式WiFi存取點進行資料傳送時,立即自動中斷上述電子裝置與上述移動式WiFi存取點之無線連結,並自動將上述電子裝置連接至上述固定式WiFi存取點。 The method for automatically converting an access point according to claim 1, further comprising automatically interrupting the electronic device and the mobile WiFi when the electronic device does not perform data transmission with the mobile WiFi access point. The wireless connection of the access point automatically connects the electronic device to the fixed WiFi access point. 如申請專利範圍第1項所述之自動轉換存取點的方法,更包括: 當上述電子裝置與一WiFi存取點建立連線時,判斷上述WiFi存取點是否有在一清單之中;當上述WiFi存取點沒有在上述清單之中時,將上述WiFi存取點歸類為上述固定式WiFi存取點,透過一GPS定位系統取得與上述WiFi存取點建立連線時的一第一位置,並將上述WiFi存取點與上述第一位置儲存至上述清單之中;以及當上述第一位置與上述電子裝置之一目前位置大於一既定距離且上述電子裝置仍能與上述WiFi存取點建立無線連結時,將上述WiFi存取點歸類為上述移動式WiFi存取點。 The method for automatically converting an access point as described in claim 1 of the patent scope further includes: When the electronic device establishes a connection with a WiFi access point, determining whether the WiFi access point is in a list; and when the WiFi access point is not in the list, returning the WiFi access point a fixed WiFi access point, the first location obtained by establishing a connection with the WiFi access point by using a GPS positioning system, and storing the WiFi access point and the first location into the list And when the first location and the current location of one of the electronic devices are greater than a predetermined distance and the electronic device can still establish a wireless connection with the WiFi access point, classifying the WiFi access point as the mobile WiFi storage Take a point. 如申請專利範圍第4項所述之自動轉換存取點的方法,更包括當上述第一位置與上述電子裝置之上述目前位置小於上述既定距離時,依然將上述WiFi存取點歸類為上述固定式WiFi存取點。 The method for automatically converting an access point according to claim 4, further comprising: when the first location and the current location of the electronic device are less than the predetermined distance, still classifying the WiFi access point as the foregoing Fixed WiFi access point. 一種自動轉換存取點的方法,包括:當一電子裝置正透過無線連結連接至一固定式WiFi存取點時,判斷上述電子裝置接收到來自上述固定式WiFi存取點的訊號強度是否小於一既定值;當上述電子裝置接收到來自上述固定式WiFi存取點的訊號強度小於上述既定值時,計算傳送中資料的一偏移位置(offset);以及當計算出上述偏移位置後,自動中斷上述電子裝置與上述固定式WiFi存取點之無線連結,並自動將上述電子裝置連接至上述電子裝置之一清單中可存取的一移動式WiFi 存取點。 A method for automatically converting an access point, comprising: determining, when an electronic device is connected to a fixed WiFi access point via a wireless connection, whether the signal received by the electronic device from the fixed WiFi access point is less than one a predetermined value; when the electronic device receives the signal strength from the fixed WiFi access point less than the predetermined value, calculating an offset position of the data in the transfer; and automatically calculating the offset position Disabling the wireless connection between the electronic device and the fixed WiFi access point, and automatically connecting the electronic device to a mobile WiFi accessible in a list of the electronic devices Access point. 如申請專利範圍第6項所述之自動轉換存取點的方法,其中上述移動式WiFi存取點係為上述電子裝置之一目前位置與一清單中對應於上述移動式WiFi存取點之一參考位址相距超過一既定距離時仍能藉由同一媒體存取控制(MAC)位址連線的WiFi存取點,而上述固定式WiFi存取點係為上述目前位置與上述參考位址相距超過上述既定距離時上述電子裝置則無法藉由同一MAC位址連線的WiFi存取點。 The method for automatically converting an access point according to claim 6, wherein the mobile WiFi access point is one of the current location of the electronic device and one of the list corresponding to the mobile WiFi access point The reference address can be connected to the WiFi access point of the same media access control (MAC) address when the distance exceeds a predetermined distance, and the fixed WiFi access point is the distance between the current location and the reference address. When the above-mentioned predetermined distance is exceeded, the electronic device cannot connect to the WiFi access point of the same MAC address. 如申請專利範圍第6項所述之自動轉換存取點的方法,更包括在自動將無線連結連接至上述移動式WiFi存取點後,從上述偏移位置繼續進行資料傳送。 The method for automatically converting an access point according to claim 6, further comprising: continuing to perform data transfer from the offset position after automatically connecting the wireless link to the mobile WiFi access point. 如申請專利範圍第6項所述之自動轉換存取點的方法,更包括:當上述電子裝置與一WiFi存取點建立連線時,判斷上述WiFi存取點是否有在一清單之中;當上述WiFi存取點沒有在上述清單之中時,將上述WiFi存取點歸類為上述固定式WiFi存取點,透過一GPS定位系統取得與上述WiFi存取點建立連線時的一第一位置並將上述WiFi存取點與上述第一位置儲存至上述清單之中;以及當上述第一位置與上述電子裝置之一目前位置大於一既定距離且上述電子裝置仍能與上述WiFi存取點建立無線連結時,將上述WiFi存取點歸類為上述移動式WiFi存取點。 The method for automatically converting an access point according to claim 6, further comprising: determining whether the WiFi access point is in a list when the electronic device establishes a connection with a WiFi access point; When the WiFi access point is not in the list, the WiFi access point is classified as the fixed WiFi access point, and a connection is established between the WiFi access point and the WiFi access point through a GPS positioning system. a location and storing the WiFi access point and the first location in the list; and when the first location and the current location of one of the electronic devices are greater than a predetermined distance and the electronic device is still capable of accessing the WiFi When the wireless connection is established, the WiFi access point is classified as the above-mentioned mobile WiFi access point. 如申請專利範圍第9項所述之自動轉換存取點的方法,更包括當上述第一位置與上述電子裝置之上述目前位置小於上述既定距離時,依然將上述WiFi存取點歸類為上述固定式WiFi存取點。 The method for automatically converting an access point according to claim 9, further comprising: classifying the WiFi access point as the above when the first location and the current location of the electronic device are less than the predetermined distance Fixed WiFi access point. 一種電子裝置,包括:一無線模組;以及一處理單元,耦接上述無線模組,用以當上述電子裝置移動至一固定式WiFi存取點的訊號範圍時,判斷此時上述無線模組是否正在與一移動式WiFi存取點進行資料傳送,當上述無線模組正在與上述移動式WiFi存取點進行資料傳送時,等到資料傳送結束後使上述無線模組自動中斷與上述移動式WiFi存取點之無線連結並自動將上述電子裝置連接至上述固定式WiFi存取點。 An electronic device includes: a wireless module; and a processing unit coupled to the wireless module, configured to determine the wireless module when the electronic device moves to a signal range of a fixed WiFi access point Whether the data transmission is being performed with a mobile WiFi access point, and when the wireless module is transmitting data with the mobile WiFi access point, the wireless module is automatically interrupted and the mobile WiFi is automatically waited until the data transmission is completed. The wireless connection of the access point automatically connects the electronic device to the fixed WiFi access point. 如申請專利範圍第11項所述之電子裝置,其中上述移動式WiFi存取點係為上述電子裝置之一目前位置與一清單中對應於上述移動式WiFi存取點之一參考位址相距超過一既定距離時仍能藉由同一媒體存取控制(MAC)位址連線的WiFi存取點,而上述固定式WiFi存取點係為上述目前位置與上述參考位址相距超過上述既定距離時上述電子裝置則無法藉由同一MAC位址連線的WiFi存取點。 The electronic device of claim 11, wherein the mobile WiFi access point is one of the electronic devices, and the current location is more than a reference address corresponding to one of the mobile WiFi access points in a list. a WiFi access point that can be connected by the same media access control (MAC) address at a predetermined distance, and the fixed WiFi access point is when the current location and the reference address are more than the predetermined distance The above electronic device cannot be connected to the WiFi access point by the same MAC address. 如申請專利範圍第11項所述之電子裝置,其中當上述無線模組並沒有與上述移動式WiFi存取點進行資料傳送時,上述處理單元立即使上述無線模組自動中斷與上述移動式WiFi存取點之無線連結並自動將上述電子裝置連接至上述固定式WiFi存取點。 The electronic device of claim 11, wherein the processing unit automatically interrupts the wireless module and the mobile WiFi when the wireless module does not transmit data to the mobile WiFi access point. The wireless connection of the access point automatically connects the electronic device to the fixed WiFi access point. 如申請專利範圍第11項所述之電子裝置,其中上述處理單元更進行下列步驟:當上述無線模組與一WiFi存取點建立連線時,判斷上述WiFi存取點是否有在一清單之中;當上述WiFi存取點沒有在上述清單之中時,將上述WiFi存取點歸類為上述固定式WiFi存取點,透過一GPS定位系統取得與上述WiFi存取點建立連線時的一第一位置並將上述WiFi存取點與上述第一位置儲存至上述清單之中;以及當上述第一位置與上述電子裝置之一目前位置大於一既定距離且上述無線模組仍能與上述WiFi存取點建立無線連結時,將上述WiFi存取點歸類為上述移動式WiFi存取點。 The electronic device of claim 11, wherein the processing unit further performs the following steps: when the wireless module establishes a connection with a WiFi access point, determining whether the WiFi access point has a list When the WiFi access point is not in the above list, classifying the WiFi access point as the fixed WiFi access point, and obtaining a connection with the WiFi access point through a GPS positioning system a first location and storing the WiFi access point and the first location in the list; and when the first location and the current location of one of the electronic devices are greater than a predetermined distance and the wireless module is still capable of When the WiFi access point establishes a wireless connection, the WiFi access point is classified as the above-mentioned mobile WiFi access point. 如申請專利範圍第14項所述之電子裝置,其中當上述第一位置與上述電子裝置之上述目前位置小於上述既定距離時,上述處理單元依然將上述WiFi存取點歸類為上述固定式WiFi存取點。 The electronic device of claim 14, wherein the processing unit still classifies the WiFi access point as the fixed WiFi when the first location and the current location of the electronic device are less than the predetermined distance. Access point. 一種電子裝置,包括:一無線模組;以及一處理單元,耦接上述無線模組,用以判斷上述無線模組接收到來自一固定式WiFi存取點的訊號強度是否小於一既定值,當上述無線模組接收到來自上述固定式WiFi存取點的訊號強度小於上述既定值時,計算傳送中資料的一偏移位置(offset),並於計算出上述偏移位置後,使上述無線模組自動中斷上述電子裝置與上述固定式WiFi存取 點之無線連結,並自動將上述電子裝置連接至上述電子裝置之一清單中可存取的一移動式WiFi存取點。 An electronic device includes: a wireless module; and a processing unit coupled to the wireless module, configured to determine whether the wireless module receives a signal strength from a fixed WiFi access point that is less than a predetermined value. When the wireless module receives the signal strength from the fixed WiFi access point less than the predetermined value, calculating an offset position of the data in the transmission, and after calculating the offset position, the wireless module is configured. The group automatically interrupts the above electronic device and the above fixed WiFi access A wireless connection is made, and the electronic device is automatically connected to a mobile WiFi access point accessible in the list of one of the electronic devices. 如申請專利範圍第16項所述之電子裝置,其中上述移動式WiFi存取點係為上述電子裝置之一目前位置與一清單中對應於上述移動式WiFi存取點之一參考位址相距超過一既定距離時仍能藉由同一媒體存取控制(MAC)位址連線的WiFi存取點,而上述固定式WiFi存取點係為上述目前位置與上述參考位址相距超過上述既定距離時上述電子裝置則無法藉由同一MAC位址連線的WiFi存取點。 The electronic device of claim 16, wherein the mobile WiFi access point is one of the electronic devices, and the current location is more than a reference address corresponding to one of the mobile WiFi access points in a list. a WiFi access point that can be connected by the same media access control (MAC) address at a predetermined distance, and the fixed WiFi access point is when the current location and the reference address are more than the predetermined distance The above electronic device cannot be connected to the WiFi access point by the same MAC address. 如申請專利範圍第16項所述之電子裝置,其中在上述處理單元使上述無線模組自動將上述電子裝置連接至上述移動式WiFi存取點後,上述無線模組從上述偏移位置繼續進行資料傳送。 The electronic device of claim 16, wherein the wireless module continues from the offset position after the processing unit causes the wireless module to automatically connect the electronic device to the mobile WiFi access point. Data transfer. 如申請專利範圍第16項所述之電子裝置,其中上述處理單元更進行下列步驟:當上述無線模組與一WiFi存取點建立連線時,判斷上述WiFi存取點是否有在一清單之中;當上述WiFi存取點沒有在上述清單之中時,將上述WiFi存取點歸類為上述固定式WiFi存取點,透過一GPS定位系統取得與上述WiFi存取點建立連線時的一第一位置並將上述WiFi存取點與上述第一位置儲存至上述清單之中;以及當上述第一位置與上述電子裝置之一目前位置大於一既定距離且上述無線模組仍能與上述WiFi存取點建立無線連結時,將上述WiFi存取點歸類為上述移動式WiFi存 取點。 The electronic device of claim 16, wherein the processing unit further performs the following steps: when the wireless module establishes a connection with a WiFi access point, determining whether the WiFi access point has a list When the WiFi access point is not in the above list, classifying the WiFi access point as the fixed WiFi access point, and obtaining a connection with the WiFi access point through a GPS positioning system a first location and storing the WiFi access point and the first location in the list; and when the first location and the current location of one of the electronic devices are greater than a predetermined distance and the wireless module is still capable of When the WiFi access point establishes a wireless connection, the WiFi access point is classified as the above-mentioned mobile WiFi storage. Take a point. 如申請專利範圍第19項所述之電子裝置,其中當上述第一位置與上述電子裝置之上述目前位置小於上述既定距離時,上述處理單元依然將上述WiFi存取點歸類為上述固定式WiFi存取點。 The electronic device of claim 19, wherein the processing unit still classifies the WiFi access point as the fixed WiFi when the first location and the current location of the electronic device are less than the predetermined distance. Access point.
TW101111268A 2012-03-30 2012-03-30 Method for automatically changing access point and electronic device TWI466560B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101111268A TWI466560B (en) 2012-03-30 2012-03-30 Method for automatically changing access point and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101111268A TWI466560B (en) 2012-03-30 2012-03-30 Method for automatically changing access point and electronic device

Publications (2)

Publication Number Publication Date
TW201340747A TW201340747A (en) 2013-10-01
TWI466560B true TWI466560B (en) 2014-12-21

Family

ID=49771139

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101111268A TWI466560B (en) 2012-03-30 2012-03-30 Method for automatically changing access point and electronic device

Country Status (1)

Country Link
TW (1) TWI466560B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI222814B (en) * 2001-08-14 2004-10-21 Flarion Technologies Inc Methods and apparatus for wireless network connectivity
TW201021596A (en) * 2008-11-28 2010-06-01 Inventec Corp Method for switching wireless signals
CN201674532U (en) * 2010-06-09 2010-12-15 金龙联合汽车工业(苏州)有限公司 Remote updating system of vehicle information acquisition device
TW201138510A (en) * 2010-04-23 2011-11-01 Chi Mei Comm Systems Inc System and method for searching WiFi hotspots

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI222814B (en) * 2001-08-14 2004-10-21 Flarion Technologies Inc Methods and apparatus for wireless network connectivity
TW201021596A (en) * 2008-11-28 2010-06-01 Inventec Corp Method for switching wireless signals
TW201138510A (en) * 2010-04-23 2011-11-01 Chi Mei Comm Systems Inc System and method for searching WiFi hotspots
CN201674532U (en) * 2010-06-09 2010-12-15 金龙联合汽车工业(苏州)有限公司 Remote updating system of vehicle information acquisition device

Also Published As

Publication number Publication date
TW201340747A (en) 2013-10-01

Similar Documents

Publication Publication Date Title
US9813873B2 (en) Mobile device tracking prevention method and system
US10848902B2 (en) Geographic information for wireless networks
WO2012106050A2 (en) System and method for identification of mobile device users in an area of a wireless access point
EP2564627B1 (en) Method and apparatus for providing mobile services outside of cellular coverage
CN103905552A (en) File sharing method, terminal and server
JP2016096575A5 (en)
KR101873296B1 (en) Terminal Capable of Extending Storage Area and Extending Method thereof
KR101791258B1 (en) System and Method for Positioning Terminal, Positioning Apparatus and Driving Method Thereof, Cloud Computing Service Apparatus and Driving Method Thereof, Access Point and Driving Method Thereof, Terminal
KR20150134266A (en) Device and method for transmitting file
TWI466560B (en) Method for automatically changing access point and electronic device
JP2007251475A (en) Mobile terminal equipment and communication method
CN107404404B (en) Terminal routing method based on Internet of things and Internet of things terminal
CN105722192B (en) Network connection method, electronic equipment and system
CN108848566B (en) Wireless communication transmission method, device, mobile terminal and computer readable storage medium
KR101993778B1 (en) Apparatus and Method for Displaying Indicator According to Interwork Network
WO2012073059A1 (en) Methods, apparatuses and computer program products for using downlink and uplink over separate radio channels or different operators
CN110602738A (en) Network connection method and device and electronic device
JP5957494B2 (en) WiFi connection system, WiFi connection terminal, WiFi connection method, and WiFi connection program
CN103001889A (en) Method and device for controlling terminal access and terminals
CN105262678A (en) File sharing method and system based on Bluetooth technology
CN107580358B (en) Network access method and related product
US20140341034A1 (en) Transmission management device, system, and method
CN103369633A (en) Method for automatically converting access point
JP2015165630A (en) Communication terminal and program
JP2008118721A (en) Wireless communication terminal