[go: up one dir, main page]

TW201021596A - Method for switching wireless signals - Google Patents

Method for switching wireless signals Download PDF

Info

Publication number
TW201021596A
TW201021596A TW97146353A TW97146353A TW201021596A TW 201021596 A TW201021596 A TW 201021596A TW 97146353 A TW97146353 A TW 97146353A TW 97146353 A TW97146353 A TW 97146353A TW 201021596 A TW201021596 A TW 201021596A
Authority
TW
Taiwan
Prior art keywords
wifi
signal
wireless network
rssi
wifi signal
Prior art date
Application number
TW97146353A
Other languages
Chinese (zh)
Inventor
Chia-Wei Tu
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to TW97146353A priority Critical patent/TW201021596A/en
Publication of TW201021596A publication Critical patent/TW201021596A/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

A method for switching wireless signals applied to a portable electric communication device includes the following steps. A first wireless network corresponding to a first WiFi signal is connected. The RSSI of the first WiFi signal is checked. If the RSSI of the first WiFi signal is lower than a predetermined value, whether multiple other WiFi signals exist is detected. The RSSIs of the other WiFi signals are compared, and another wireless network corresponding to the other WiFi signal with the largest RSSI is connected.

Description

201021596 九、發明說明: 【發明所屬之技術領域】 本發明是有關於-種自動切換無線訊號方法,且特別 是有關於-種可以節省通話費用之自動切換無線訊號方法。 【先前技術】 現代手機普遍具有無線上網的功能。手機可以藉由連 接至一 WiFi存取點以免費登入一無線網路。然而,若使用 ^ 者移動而離開WiFi存取點的服務範圍時,會使得手機接收 不到WiFi訊號而斷開與無線網路的連接。此時, .者手動設u連接另存取點,或是連接 無線電服務(General Packet Radio Service,GPRS)基地 a, 才能重新登入無線網路。如此一來,將導致手機無法一直維 持於與無線網路連線的狀態,且當手機斷開與無線網路的連 接時需要使用者手動操作,造成使用上的不便利性。 胃 【發明内容】 本發明係有關於一種切換無線訊號方法,藉由偵測所 接收的WiFi訊號的訊號強度,以決定是否連接至其他存取 點,維持手機與無線網路之連線狀態。 根據本發明之第一方面,提出一種切換無線訊號方 法,應用於一可攜式電子通訊裝置,包括下列步驟。連結對 應於一第一 WiFi訊號之一第一無線網路。檢測第一 WiFi 訊號之訊號強度(RSSI)。若第一 WiFi訊號之RSSI低於一預 TW5103PA 5 201021596 設值,偵測是否存在多個另一 WiFi訊號。比較此些另一 WiFi訊號之RSSI,並連結具有最大RSSI之另一 WiFi訊號 所對應之另一無線網路。 為讓本發明之上述内容能更明顯易懂,下文特舉一較 佳實施例’並配合所附圖式,作詳細說明如下: 【實施方式】 本發明係提供一種切換無線訊號方法,係應用於一可 攜式電子通訊裝置,藉由偵測可攜式電子通訊裝置所接收到 的 WiFi 訊號的訊號強度(Received Signal Strength Indicator,RSSI) ’以決定是否連接至其他WiFi存取點 (Access Point,AP)或切換至一通用封包無線電服務(General Packet Radio Service,GPRS)基地台,而得以維持可攜式電 子通訊裝置與無線網路之不中斷的連線狀態。 請參照第1圖’其繪示依照本發明較佳實施例之切換 無線訊號方法之流程圖。此切換無線訊號方法係應用於一可 攜式電子通訊裝置,例如為一行動電話,然並不限於此《於 步驟S100中,連結對應於一第一 WiFi訊號之一第一無線 網路。於步驟S110中,檢測第一 WiFi訊號之RSSI。於步 驟S120中,若第一 WiFi訊號之RSSI低於一預設值,偵測 是否存在多個另一 WiFi訊號。於步驟S130中,比較此些 另一 WiFi訊號之RSSI,並連結具有最大RSSI之另一 WiFi 訊號所對應之另一無線網路。 請參照第2圖,其繪示依照本發明較佳實施例之切換 TW5103PA 6 201021596 無線訊號方法之詳細流程圖。於第二圖中,茲舉可攜式電子 通訊裝置為行動電話做說明,然並不限於此。於步驟S2〇〇 中’行動電話偵測是否接收到一 WiFi訊號。若行動電話未 接收到WiFi訊號,則代表行動電話不處於任一 WiFi存取 點的服務範圍内,故於步驟S220中,行動電話連接一 GPRS 基地台以登入一無線網路。若行動電話偵測並接收到一 WiFi訊號,則於步驟S230中,行動電話連接發出此wiFi 訊號之一 WiFi存取點以登入無線網路。 於步驟幻40中,行動電話於登入無線網路時檢測所接 收的WiFi訊號之RSSI是否低於一預設值。若所接收的Win 訊號之RSSI低於預設值,則行動電話可能處於目前WiFi 存取點服務範圍的邊緣而使得WiFi訊號接收不良,會導致 行動電話可能無法連接WiFi存取點而中斷與無線網路之連 接。故於步驟S250中,行動電話偵測是否接收到其他WiFi 存取點發出的WiFi訊號。於步驟S24〇中,行動電話實質 ❿ 上係持續檢測所接收的WiH訊號之RSSI,然並不限於此, 亦可每隔一較短的時間間隔檢測一次,只要維持行動電話與 無線網路之不中斷的連線狀態即可。 、 若行動電話可以接收到其他WiFi#取點所發出的 WiFi訊號,則於步驟S26〇中,行動電話會選擇此些其他 WiFi訊號巾具有最A RSSI的侧訊號,錢接發出此具 有最大RSSI的WiFi訊號的職存取點以登入無線網路、。 然後重覆步驟S240。步驟S24〇〜S26〇實質上可利用一執行 緒(thread)進行無窮迴圈而實現,然並不限於此。事實上,201021596 IX. Description of the Invention: [Technical Field] The present invention relates to a method for automatically switching wireless signals, and more particularly to a method for automatically switching wireless signals that can save call charges. [Prior Art] Modern mobile phones generally have the function of wireless Internet access. The phone can log in to a wireless network for free by connecting to a WiFi access point. However, if you use the mobile phone to leave the service range of the WiFi access point, the mobile phone will not receive the WiFi signal and disconnect from the wireless network. At this time, you can manually connect to another access point or connect to the General Packet Radio Service (GPRS) base a to re-login to the wireless network. As a result, the mobile phone cannot be maintained in a state of being connected to the wireless network, and the user is required to manually operate when the mobile phone is disconnected from the wireless network, resulting in inconvenience in use. BACKGROUND OF THE INVENTION The present invention relates to a method for switching wireless signals, by detecting the signal strength of a received WiFi signal, to determine whether to connect to other access points, and maintaining the connection state between the mobile phone and the wireless network. According to a first aspect of the present invention, a method for switching a wireless signal is provided for use in a portable electronic communication device, comprising the following steps. The link corresponds to one of the first WiFi signals of the first wireless network. The signal strength (RSSI) of the first WiFi signal is detected. If the RSSI of the first WiFi signal is lower than a preset value of TW5103PA 5 201021596, it is detected whether there is more than one other WiFi signal. The RSSI of the other WiFi signal is compared and the other wireless network corresponding to the other WiFi signal having the largest RSSI is connected. In order to make the above description of the present invention more comprehensible, a preferred embodiment of the present invention will be described in detail below with reference to the accompanying drawings. The present invention provides a method for switching wireless signals, which is an application. In a portable electronic communication device, by detecting the Received Signal Strength Indicator (RSSI) of the WiFi signal received by the portable electronic communication device, it is determined whether to connect to other WiFi access points (Access Point) , AP) or switch to a General Packet Radio Service (GPRS) base station to maintain the uninterrupted connection state of the portable electronic communication device and the wireless network. Please refer to FIG. 1 for a flow chart of a method for switching wireless signals according to a preferred embodiment of the present invention. The method for switching the wireless signal is applied to a portable electronic communication device, for example, a mobile phone. However, the method is not limited to this. In step S100, the first wireless network corresponding to one of the first WiFi signals is connected. In step S110, the RSSI of the first WiFi signal is detected. In step S120, if the RSSI of the first WiFi signal is lower than a preset value, it is detected whether there are multiple other WiFi signals. In step S130, the RSSI of the other WiFi signals is compared, and another wireless network corresponding to another WiFi signal having the largest RSSI is connected. Referring to FIG. 2, a detailed flowchart of a method for switching a TW5103PA 6 201021596 wireless signal according to a preferred embodiment of the present invention is shown. In the second figure, the portable electronic communication device is described for the mobile phone, but is not limited thereto. In step S2, the mobile phone detects whether a WiFi signal is received. If the mobile phone does not receive the WiFi signal, the mobile phone is not in the service range of any WiFi access point. Therefore, in step S220, the mobile phone connects to a GPRS base station to log in to a wireless network. If the mobile phone detects and receives a WiFi signal, in step S230, the mobile phone connects to send one of the wiFi signals to the WiFi access point to log in to the wireless network. In step 40, the mobile phone detects whether the RSSI of the received WiFi signal is lower than a preset value when logging in to the wireless network. If the RSSI of the received Win signal is lower than the preset value, the mobile phone may be at the edge of the current WiFi access point service range, causing the WiFi signal to be poorly received, which may cause the mobile phone to be unable to connect to the WiFi access point and interrupt the wireless connection. Network connection. Therefore, in step S250, the mobile phone detects whether a WiFi signal sent by another WiFi access point is received. In step S24, the mobile phone substantially continuously detects the RSSI of the received WiH signal. However, it is not limited thereto, and may be detected every short interval, as long as the mobile phone and the wireless network are maintained. Uninterrupted connection status can be. If the mobile phone can receive the WiFi signal sent by other WiFi# pick-up points, then in step S26, the mobile phone selects the other WiFi signal towel to have the most A RSSI side signal, and the money sends out the maximum RSSI. The WiFi access point is used to log in to the wireless network. Then step S240 is repeated. Steps S24 to S26 can be realized by essentially performing an infinite loop using a thread, but are not limited thereto. In fact,

TW5103PA 7 201021596 行動電話會持續檢測所連接的WiFi存取點發出的WiFii 號的RSSI ’直到一停止事件被觸發而終止登入無線網路, 同時執行緒亦會被關掉而不再檢測wiFi訊號的RSSI。其 中,此停止事件例如為使用者不想要上網等。 若於步驟S250中’行動電話無法接收到其他WiFi訊 號’則代表行動電話所處的位置不位於其他wiFi存取點的 服務範圍内。因此雖然目前的WiFi訊號具有低RSSI,行動 電話仍須繼續連接當前的WiFi存取點以連接無線網路。然 後’於步驟S270中’行動電話會判斷當前的wiFi訊號是 否消失。若當前的WiFi訊號消失,則行動電話不處於任何 WiFi存取點的服務範圍内。故接續步驟s22〇,行動電話連 接一 GPRS基地台以維持登入無線網路的狀態。 之後,於步驟S280中,行動電話於連接GPRS基地台 時,會偵測是否接收到一 WiFi訊號。若行動電話於連接 GPRS基地台時接收到WiFi訊號,則於步驟;§290中,行動 電話斷開與GPRS基地台之連接。然後,切換至所接收的 WiFi訊號所對應的WiFi存取點以登入無線網路。 本發明上述實施例所揭露之切換無線訊號方法,於可 攜式電子通訊裝置連接WiFi存取點時持續偵測可攜式電子 通訊裝置所接收到的WiFi訊號的RSSI,以決定是否連接至 其他WiFi存取點或切換至一 GPRS基地台,並且於可攜式 電子通訊裝置連接至GPRS基地台時視接收到WiFi訊號^ 否而決定是否切換至WiFi存取點,故可以使可攜式電子通 訊裝置一直自動維持在與無線網路之不中斷的連線狀態,提 TW5103PA g 201021596 ' , 升使用便利性。此外,可攜式電子通訊裝置於可接收到wiFi 訊號時連接至WiFi存取點,而於無法接收到wiFi訊號時TW5103PA 7 201021596 The mobile phone will continuously detect the RSSI of the WiFi i number sent by the connected WiFi access point until the stop event is triggered and terminate the login to the wireless network, and the thread will be turned off and the wiFi signal will no longer be detected. RSSI. Among them, the stop event is, for example, that the user does not want to go online. If the mobile phone cannot receive another WiFi signal in step S250, the location where the mobile phone is located is not within the service range of the other wiFi access point. Therefore, although the current WiFi signal has a low RSSI, the mobile phone must continue to connect to the current WiFi access point to connect to the wireless network. Then, in step S270, the mobile phone determines whether the current wiFi signal has disappeared. If the current WiFi signal disappears, the mobile phone is not within the service range of any WiFi access point. Therefore, following the step s22, the mobile phone is connected to a GPRS base station to maintain the state of logging in to the wireless network. Then, in step S280, when the mobile phone is connected to the GPRS base station, it detects whether a WiFi signal is received. If the mobile phone receives the WiFi signal when connecting to the GPRS base station, then in step § 290, the mobile phone disconnects from the GPRS base station. Then, switch to the WiFi access point corresponding to the received WiFi signal to log in to the wireless network. The method for switching wireless signals disclosed in the above embodiments of the present invention continuously detects the RSSI of the WiFi signal received by the portable electronic communication device when the portable electronic communication device is connected to the WiFi access point to determine whether to connect to other The WiFi access point is switched to a GPRS base station, and when the portable electronic communication device is connected to the GPRS base station, it is determined whether to switch to the WiFi access point according to whether the WiFi signal is received or not, so that the portable electronic device can be enabled. The communication device has been automatically maintained in an uninterrupted connection with the wireless network, and the TW5103PA g 201021596 ' is convenient for use. In addition, the portable electronic communication device is connected to the WiFi access point when the wiFi signal is received, and when the wiFi signal cannot be received.

才連接至GPRS基地纟’故可卩為使肖者省下使用GpRS 系統的費用,降低可攜式電子通訊裝置的使用費用。 綜上所述,雖然本發明已以一較佳實施例揭露如上, 然其並非用以限定本發明。本發明所屬技術領域中具有通常 知識者’在不脫離本發明之精神和範圍内,當可作各種之更 動與_。因此,本㈣之賴朗#視後附之巾請專利範 ® 圍所界定者為準。 【圖式簡單說明】 第1圖㈣依照本發明難實關之城無線訊號方 法之流程圖。 第2圖纷示依照本發明較佳實施例之切換無線訊號方 法之詳細流程圖。 〇 【主要元件符號說明】 無It is only possible to connect to the GPRS base 纟, so that the operator can save the cost of using the GpRS system and reduce the use cost of the portable electronic communication device. In view of the above, the present invention has been disclosed in a preferred embodiment, and is not intended to limit the present invention. It will be apparent to those skilled in the art that the present invention can be practiced variously without departing from the spirit and scope of the invention. Therefore, the (4) Lai Lang # 视 附 附 附 附 附 附 附 附 附 附 附 附 附 附 附 附 附 附 附 附 附BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart showing a method for wireless signal transmission in a difficult city according to the present invention. Figure 2 is a detailed flow diagram of a method of switching wireless signals in accordance with a preferred embodiment of the present invention. 〇 [Main component symbol description] None

TW5103PA 9TW5103PA 9

Claims (1)

201021596 十、申請專利範圍: i 一切換無線訊號方法,應用於一可攜式電子通訊裝 置,該方法包括: 連結對應於一第一 WiFi訊號之一第一無線網路; 檢測該第一 WiFi訊號之訊號強度(Received Signal Strength Indicator > RSSI); 若該第一 WiFi訊號之RSSI低於一預設值,偵測是否 存在複數個另一 WiFi訊號;以及 比較該些另一 WiFi訊號之RSSI,並連結具有最大RSSI 之該另一 WiFi訊號所對應之另一無線網路。 2·如申請專利範圍第1項所述之切換無線訊號方法, 更包括: 偵測是否存在該第一 WiFi訊號; 若該第一 WiFi訊號不存在,則連接一通用封包無線電 服務(General Packet Radio Service,GPRS)基地台以連結另 一無線網路。 3.如申請專利範圍第2項所述之切換無線訊號方法, 更包括: 若於連接該GPRS基地台時偵測到該第一 WiFi訊號, 則斷開與該GPRS基地台之連接,並連結至該第一無線網 路0 4.如申請專利範圍第1項所述之切換無線訊號方法, 更包括: 若該第一 WiFi訊號之RSSI低於該預設值,且該些另 TW5103PA 10 201021596 - WiFi til號不存在,則於該第一卿訊號 GPRS基地台以連結另一無線網路。 5. 如申請專利範圍第4項所述之切換無線訊號方法, 更包括: 若於連接該GPRS基地台時偵測到該另—別朽訊號, 則斷開與該GPRS基地台之連接,並連結至該另一細訊 號所對應之該另一無線網路。 6. 如_料利範圍第i項所述之切 號方法, β 更包括: 持續檢測所連結的無線網路對應的WiFi訊號的 RSSI,直到一停止事件被觸發。201021596 X. Patent application scope: i The method for switching the wireless signal is applied to a portable electronic communication device, the method comprising: connecting a first wireless network corresponding to one of the first WiFi signals; detecting the first WiFi signal Responsible Signal Strength Indicator (RSI); if the RSSI of the first WiFi signal is lower than a preset value, detecting whether there are multiple other WiFi signals; and comparing the RSSI of the other WiFi signals, And connecting to another wireless network corresponding to the other WiFi signal having the largest RSSI. 2. The method for switching wireless signals according to claim 1 of the patent application, further comprising: detecting whether the first WiFi signal exists; and if the first WiFi signal does not exist, connecting a general packet radio service (General Packet Radio) Service, GPRS) base station to connect to another wireless network. 3. The method for switching wireless signals according to claim 2, further comprising: if the first WiFi signal is detected when the GPRS base station is connected, disconnecting from the GPRS base station and connecting The method for switching the wireless signal as described in claim 1, further comprising: if the RSSI of the first WiFi signal is lower than the preset value, and the other TW5103PA 10 201021596 - If the WiFi til number does not exist, then the first GPRS base station is connected to another wireless network. 5. The method for switching a wireless signal according to claim 4, further comprising: disconnecting the connection with the GPRS base station if the other asterisk is detected when the GPRS base station is connected, and Link to the other wireless network corresponding to the other fine signal. 6. For the numbering method described in item _ of the item range, β further includes: continuously detecting the RSSI of the WiFi signal corresponding to the connected wireless network until a stop event is triggered. TW5103PATW5103PA
TW97146353A 2008-11-28 2008-11-28 Method for switching wireless signals TW201021596A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97146353A TW201021596A (en) 2008-11-28 2008-11-28 Method for switching wireless signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97146353A TW201021596A (en) 2008-11-28 2008-11-28 Method for switching wireless signals

Publications (1)

Publication Number Publication Date
TW201021596A true TW201021596A (en) 2010-06-01

Family

ID=44832694

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97146353A TW201021596A (en) 2008-11-28 2008-11-28 Method for switching wireless signals

Country Status (1)

Country Link
TW (1) TW201021596A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI466560B (en) * 2012-03-30 2014-12-21 Acer Inc Method and electronic device for automatically converting access points

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI466560B (en) * 2012-03-30 2014-12-21 Acer Inc Method and electronic device for automatically converting access points

Similar Documents

Publication Publication Date Title
US8238966B2 (en) Controlling multi-mode devices
CN101754300A (en) Method for switching wireless signals
US8068883B2 (en) Hands-free apparatus
JP5011424B2 (en) In-vehicle terminal device and wireless connection program for in-vehicle terminal device
US20160135167A1 (en) Terminal prompt mode adjusting method and terminal
WO2012057094A1 (en) Communication device
CN102948250A (en) Short-range wireless communication apparatus
CN102946630A (en) Mobile terminal and power management method thereof
CN108377482A (en) A kind of method, apparatus, system and the equipment of terminal connection bluetooth equipment
US20140307574A1 (en) Communication connection control method and electronic apparatus supporting the same
CN105682064A (en) Call forwarding method and apparatus for incoming call
JP2004088154A (en) Mobile communication terminal, standby control method, standby control program
TWI532397B (en) Communication terminal device and emergency communication method thereof
TW201021596A (en) Method for switching wireless signals
CN105635379B (en) Noise suppression method and device
CN103685679B (en) Mobile communication terminal and call control method thereof
US20040192287A1 (en) Mobile phone and method for connecting to a preferred communication system among a plurality of communication systems with different radio frequency bands
CN108924868B (en) WiFi disconnection adjustment method, device, mobile terminal, and storage medium
CN101710833A (en) Method and device for communication between mobile terminal and Bluetooth hands-free device
CN108924902B (en) Wireless network disconnection method and device and electronic device
WO2022198417A1 (en) Information sending method and apparatus, and information receiving method and apparatus
CN108307475A (en) The control method and device of network insertion
CN106454728A (en) Network control method and device for terminal application, and terminal
US11601827B2 (en) Radio gateway tranmission failure notification
US7620434B2 (en) Apparatus and method for detecting hook switch of a mobile communication terminal