TW201701705A - Method and system for automatically selecting connections according to cloud-based link quality information - Google Patents

Method and system for automatically selecting connections according to cloud-based link quality information Download PDF

Info

Publication number
TW201701705A
TW201701705A TW104121092A TW104121092A TW201701705A TW 201701705 A TW201701705 A TW 201701705A TW 104121092 A TW104121092 A TW 104121092A TW 104121092 A TW104121092 A TW 104121092A TW 201701705 A TW201701705 A TW 201701705A
Authority
TW
Taiwan
Prior art keywords
access point
connection
list
cloud
quality data
Prior art date
Application number
TW104121092A
Other languages
Chinese (zh)
Other versions
TWI569671B (en
Inventor
黃凱仲
廖信雄
林靖辰
Original Assignee
盟創科技股份有限公司
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 盟創科技股份有限公司 filed Critical 盟創科技股份有限公司
Priority to TW104121092A priority Critical patent/TWI569671B/en
Publication of TW201701705A publication Critical patent/TW201701705A/en
Application granted granted Critical
Publication of TWI569671B publication Critical patent/TWI569671B/en

Links

Abstract

Disclosure is related to a method and a system for automatically selecting connections according to cloud-based link quality information. The method is applicable to the portable devices. When a portable device establishes a network connection, a software program is initiated to scan the access points near the device and create a scanned list. The scanned list is transmitted to a cloud serving system over a default connection. In the cloud serving system, the link quality information of every access point in the scanned list can be acquired as querying a database. An access-point connection list having a sorting of the access points based on their link quality information is then created by the system. This access-point connection list is transmitted to the portable device. Based on this list, the portable device is configured to automatically. select one of the access points to establish a better quality network connection.

Description

依據雲收集的連線品質資料的自動連線選擇方法與系統 Automatic connection selection method and system based on connection quality data collected by cloud

本發明關於一種能夠根據連線品質選擇切換網路連線的方法與系統,特別是提供可攜式裝置能夠根據一雲端收集各端點的連線品質資訊而自動選擇網路連線的方法與系統。 The present invention relates to a method and system for switching network connections according to connection quality, and in particular, to provide a method for a portable device to automatically select a network connection according to a connection quality information of each endpoint. system.

電腦裝置利用無線通訊聯繫網路時,會透過無線網路基地台連線上網,若透過公共區域的無線網路基地台上網,此類存取點可稱為熱點(hot spot),無線網路基地台一般來說就是執行路由的工作,將區域網路內裝置產生的封包依照目的地路由連上其他網域。 When a computer device uses wireless communication to connect to the Internet, it will connect to the Internet through a wireless network base station. If accessing the Internet through a wireless network base station in a public area, such access points may be called hot spots, wireless networks. The base station generally performs the routing work, and the packets generated by the devices in the regional network are connected to other domains according to the destination route.

使用者操作電腦裝置連線無線區域網路時,習知的方式會透過電腦裝置內無線網路連線程式掃描附近熱點、基地台等存取點(access point),如果是曾經連線且記錄過的存取點,可以自動完成連線,不過一旦離開此存取點訊號可及的範圍,或是訊號已經衰弱到不能連線時,無線網路連線程式可能會自動搜尋下一個範圍的存取點,除了能夠自動連線記錄中的存取點外,一般使用者需要重新啟動無線網路連線程式,重新掃描與建立連線。 When the user operates the computer device to connect to the wireless local area network, the conventional method will scan the access point of the nearby hotspot, base station, etc. through the wireless network in the computer device, if it is once connected and recorded. The access point can be automatically connected, but once the access point is reachable, or the signal is weak enough to be disconnected, the wireless network may automatically search for the next range. In addition to the access point in the automatic connection record, the general user needs to restart the wireless network to thread, re-scan and establish the connection.

一般行動裝置可同時具備行動通訊與無線區域網路(如WiFiTM)的連線能力,使用者可以透過行動網路或無線區域網路 兩種不同的通訊網路來訪問網際網路(Internet),當要兩種不同通訊網路的切換除了使用者手動操作外,自動切換的習知技術為無線區域網路優先,當行動裝置進入已設置過的無線區域網路範圍時將自動嘗試與該無線區域網路的基地台進行認證與連線,一旦連線成功後便將網路切換至無線區域網路中。 The general mobile device can simultaneously have the connection capability of mobile communication and wireless local area network (such as WiFi TM ), and the user can access the Internet through two different communication networks: mobile network or wireless local area network. When switching between two different communication networks, in addition to manual operation by the user, the conventional technology of automatic switching is wireless local area network priority, and the mobile device will automatically try to connect to the wireless area when the mobile device enters the set wireless local area network range. The base station of the network is authenticated and connected, and once the connection is successful, the network is switched to the wireless local area network.

然而習知技術依然存在幾個問題,比如在無線區域網路下未設置過的網路環境中,使用者需要手動選取欲連接之基地台,並通過其認證才可以訪問其他網域,造成操作上的繁瑣與不便,而習知技術在行動通訊與無線區域網路的切換上使若以無線區域網路優先,當無線區域網路的狀況比行動通訊網路要差時將導致使用者的使用體驗變差,而使用者需手動關閉無線區域網路才得以將網路切回至行動通訊網路。 However, there are still several problems in the prior art. For example, in a network environment that is not set under the wireless local area network, the user needs to manually select the base station to be connected, and through its authentication, can access other domains, resulting in operation. The cumbersome and inconvenient, and the prior art in the mobile communication and wireless local area network switching to give priority to the wireless local area network, when the wireless local area network is worse than the mobile communication network will lead to the use of users The experience is getting worse, and users need to manually turn off the wireless LAN to get the network back to the mobile communication network.

習知技術中,行動通訊(如3G、4G等)的服務業者因為消費者節費的需求,有些業者已經提供一種WiFi自動認證的服務,通常是採用SIM(Subscriber Identity Module)認證的方式,讓使用者裝置在背景程式自動運行時自動切換無線網路基地台。 In the prior art, service providers (such as 3G, 4G, etc.) have provided a WiFi automatic authentication service because of the demand for consumer fees. Usually, the SIM (Subscriber Identity Module) authentication method is adopted. The user device automatically switches the wireless network base station when the background program is automatically running.

有鑑於習知技術缺乏有效取得連網品質較好的存取點選擇機制,本揭露書提出一種依據雲收集的連線品質資料的自動連線選擇方法,以及相關系統,透過取得網路狀況回報與連線判斷方法,讓採用此方法的終端裝置能透依據網路狀況自動切換網路連線,包括可以根據連線品質資料在多個行動通訊網路基地台之間、多個無線區域網路基地台之間,以及兩種存取點之間執行自動切換,以有效取得選擇品質較好的網路連線。 In view of the lack of an effective access point selection mechanism for the connection quality of the prior art, the present disclosure proposes an automatic connection selection method based on the collected quality data collected by the cloud, and related systems, which obtain a return through the network condition. And the connection judging method enables the terminal device adopting the method to automatically switch the network connection according to the network condition, including multiple wireless local area networks between the plurality of mobile communication network base stations according to the connection quality data. Automatic switching is performed between the base stations and between the two access points to effectively obtain a network connection with better quality.

根據實施例,在此依據雲收集的連線品質資料的自動連線選擇方法中,終端裝置透過一軟體程式先行掃描附近的存取點,建立一包括存取點掃描清單的詢問請求,經預設連線傳送到一雲端 伺服系統後,於雲端伺服系統中,比對一資料庫,此資料庫為定時更新各端存取點連線品質的資訊,系統將根據此存取點掃描清單取得資料庫中一或多個存取點的連線品質資料。經過連線品質的排序後,雲端伺服系統提供終端裝置一存取點連線清單,使得終端裝置可以依據此存取點連線清單得到服務品質較佳的存取點,以利連線網路。 According to an embodiment, in the automatic connection selection method of the connection quality data collected by the cloud, the terminal device first scans the nearby access point through a software program, and establishes an inquiry request including the access point scan list. Set the connection to a cloud After the servo system, in the cloud servo system, a database is compared, and the database periodically updates the quality of the connection quality of each end access point, and the system will obtain one or more databases according to the access point scan list. Connection quality data of the access point. After the quality of the connection is sorted, the cloud servo system provides a connection list of the access point of the terminal device, so that the terminal device can obtain the access point with better service quality according to the connection list of the access point, so as to facilitate the connection network. .

在一實施態樣下,當終端裝置的軟體程式判斷經由所連線的存取點的網路連線品質低於一門檻時,將執行一自動切換指令,將原連線的存取點切換為另一存取點;或是重新執行要求雲端伺服器提供更新的存取點連線清單,而能根據此清單自動建立連線。 In an implementation manner, when the software program of the terminal device determines that the quality of the network connection via the connected access point is lower than a threshold, an automatic switching instruction is executed to switch the access point of the original connection. For another access point; or re-execute the list of access point connections that require the cloud server to provide updates, and automatically establish a connection based on this list.

以上存取點連線清單所記載之存取點具有依照連線品質資料的健康度排序,健康度排序所根據的連線品質資料包括各存取點的最新連線數量、流量、各存取點負載以及各存取點對外連線頻寬之佔用。 The access points listed in the above access point connection list are sorted according to the health of the connection quality data, and the connection quality data according to the health ranking includes the latest connection quantity, flow rate, and access of each access point. Point load and the occupation of the external connection bandwidth of each access point.

在一系統實施例中,依據雲收集的連線品質資料的自動連線選擇系統包括前述雲端伺服系統,以及儲存於終端裝置的軟體程式。 In an embodiment of the system, the automatic connection selection system according to the connection quality data collected by the cloud includes the cloud server system and the software program stored in the terminal device.

雲端伺服系統主要包括有記載多個存取點之連線品質資料的資料庫、接收終端裝置傳送存取點掃描清單以及根據所詢問存取點的連線品質資料建立存取點連線清單的請求處理單元、查詢存取點的連線品質資料的查詢單元、定時連線各存取點以取得各存取點的最新連線品質資料的存取點探測單元,以及一排序單元,係可根據存取點掃描清單所取得資料庫中一或多個存取點的連線品質資料進行排序,產生前述健康度排序。 The cloud servo system mainly includes a database that records connection quality data of a plurality of access points, a receiving terminal device transmits an access point scan list, and establishes an access point connection list according to the connection quality data of the requested access point. The request processing unit, the query unit for querying the connection quality data of the access point, the access point detecting unit for periodically connecting each access point to obtain the latest connection quality data of each access point, and a sorting unit are Sorting according to the connection quality data of one or more access points in the database obtained by the access point scan list, and generating the foregoing health ranking.

經於終端裝置執行軟體程式時,產生的步驟包括產生一連線請求、掃描終端裝置位置附近的存取點,以建立存取點掃描清單,並傳送此存取點掃描清單的相關詢問請求至雲端伺服系統,經雲端伺服系統運算後,可以接收雲端伺服系統所傳送的存取點連線 清單,之後根據存取點連線清單,自動建立與其中之一個存取點的連線。 When the terminal device executes the software program, the generating step includes generating a connection request, scanning an access point near the location of the terminal device, establishing an access point scan list, and transmitting the related query request of the access point scan list to The cloud servo system can receive the access point connection transmitted by the cloud servo system after being processed by the cloud servo system. The list is then automatically linked to one of the access points based on the list of access point connections.

為了能更進一步瞭解本發明為達成既定目的所採取之技術、方法及功效,請參閱以下有關本發明之詳細說明、圖式,相信本發明之目的、特徵與特點,當可由此得以深入且具體之瞭解,然而所附圖式僅提供參考與說明用,並非用來對本發明加以限制者。 In order to further understand the technology, method and effect of the present invention in order to achieve the intended purpose, reference should be made to the detailed description and drawings of the present invention. The drawings are to be considered in all respects as illustrative and not restrictive

11‧‧‧終端裝置 11‧‧‧ Terminal devices

13‧‧‧存取點 13‧‧‧ access point

10‧‧‧網路 10‧‧‧Network

101,102,103‧‧‧存取點 101, 102, 103‧‧‧ access points

12‧‧‧雲端伺服系統 12‧‧‧Cloud Servo System

120‧‧‧資料庫 120‧‧‧Database

105,106‧‧‧終端裝置 105,106‧‧‧ Terminal devices

20‧‧‧伺服主機 20‧‧‧Servo host

21‧‧‧終端裝置 21‧‧‧ Terminal devices

22‧‧‧存取點 22‧‧‧ access point

201‧‧‧使用者管理單元 201‧‧‧User Management Unit

202‧‧‧請求處理單元 202‧‧‧Request Processing Unit

203‧‧‧查詢單元 203‧‧‧Query unit

204‧‧‧排序單元 204‧‧‧Sorting unit

205‧‧‧資料庫 205‧‧‧Database

206‧‧‧存取點探測單元 206‧‧‧Access point detection unit

207‧‧‧存取點管理單元 207‧‧‧Access Point Management Unit

30‧‧‧終端裝置 30‧‧‧ Terminal devices

301‧‧‧數據處理單元 301‧‧‧Data Processing Unit

302‧‧‧記憶單元 302‧‧‧ memory unit

303‧‧‧行動通訊模組 303‧‧‧Mobile communication module

304‧‧‧無線網路模組 304‧‧‧Wireless Network Module

305‧‧‧自動切換單元 305‧‧‧Automatic switching unit

資料庫更新流程‧‧‧步驟S401~S407 Database update process ‧ ‧ steps S401 ~ S407

雲端伺服系統處理流程‧‧‧步驟S501~S509 Cloud Servo System Processing Flow ‧‧‧Steps S501~S509

終端裝置處理流程‧‧‧步驟S601~S609 Terminal device processing flow ‧ ‧ steps S601 ~ S609

終端裝置軟體處理流程‧‧‧步驟S701~S715 Terminal device software processing flow ‧ ‧ steps S701 ~ S715

81‧‧‧存取點 81‧‧‧ access point

82‧‧‧雲端伺服系統 82‧‧‧Cloud Servo System

83‧‧‧終端裝置 83‧‧‧ Terminal devices

801‧‧‧探測存取點 801‧‧‧ Probe access point

803‧‧‧詢問請求 803‧‧ Ask for request

805‧‧‧接收清單 805‧‧‧Receive list

807‧‧‧連線存取點 807‧‧‧Connection access point

9‧‧‧主系統 9‧‧‧Main system

91,92,93,94‧‧‧伺服主機 91,92,93,94‧‧‧Servo host

911,912,921,922,923,931,932,933,941,942‧‧‧存取點 911,912,921,922,923,931,932,933,941,942‧‧‧ access points

圖1A示意顯示本發明依據雲收集的連線品質資料的自動連線選擇系統初始狀態圖;圖1B顯示本發明依據雲收集的連線品質資料的自動連線選擇系統架構實施例示意圖;圖2顯示本發明依據雲收集的連線品質資料的自動連線選擇系統中伺服主機實施例示意圖;圖3顯示本發明依據雲收集的連線品質資料的自動連線選擇系統中終端裝置之軟體模組實施例示意圖;圖4顯示本發明依據雲收集的連線品質資料的自動連線選擇方法中資料庫更新之流程實施例圖;圖5顯示本發明依據雲收集的連線品質資料的自動連線選擇方法中雲端伺服系統處理流程實施例圖;圖6顯示本發明依據雲收集的連線品質資料的自動連線選擇方法中終端裝置處理流程實施例圖;圖7顯示本發明依據雲收集的連線品質資料的自動連線選擇方法中終端裝置之軟體處理流程實施例圖;圖8顯示本發明依據雲收集的連線品質資料的自動連線選擇方法之流程實施例圖;圖9顯示本發明依據雲收集的連線品質資料的自動連線選擇 系統之雲端伺服系統架構實施例圖。 1A is a schematic diagram showing an initial state diagram of an automatic connection selection system according to the cloud collection quality data collected by the cloud; FIG. 1B is a schematic diagram showing an embodiment of an automatic connection selection system architecture according to the cloud collection connection quality data; A schematic diagram of an embodiment of a servo host in an automatic connection selection system according to the connection quality data collected by the cloud according to the present invention; FIG. 3 shows a software module of the terminal device in an automatic connection selection system according to the connection quality data collected by the cloud according to the present invention; FIG. 4 is a diagram showing an embodiment of a process for updating a database in an automatic connection selection method for connection quality data collected by a cloud according to the present invention; FIG. 5 is a diagram showing an automatic connection of connection quality data collected by the cloud according to the present invention. FIG. 6 is a diagram showing an embodiment of a processing flow of a terminal device in an automatic connection selection method for connection quality data collected by the cloud according to the selection method; FIG. 7 is a diagram showing a process of processing the terminal according to the cloud according to the method for automatically connecting connection quality data collected by the cloud according to the present invention; Example of software processing flow of terminal device in automatic connection selection method of line quality data; FIG. 8 shows the present invention According to the selection method of FIG flow automatically connect the connection quality data collected cloud embodiment; FIG. 9 shows the invention according to automatically connect the connection quality data collected cloud selection A diagram of an embodiment of a cloud server system architecture of the system.

本發明揭露書揭示一種依據雲收集的連線品質資料的自動連線選擇方法,以及相關包括雲端伺服系統以及終端軟體程式的系統,其中主要是提供存取點狀況回報、存取點狀況偵測,以及依據存取點網路狀況自動連線選擇網路的機制,透過此機制能夠讓使用者端的電腦裝置得到品質較佳的存取點資訊,進而取得網路品質較佳的連線。其中連線選擇可涵蓋行動通訊網路基地台、無線區域網路基地台等存取點,讓使用者可以在不影響操作的無感切換機制下在行動通訊網路與無線區域網路間自動切換,自動選取較佳的網路連線,提升使用者體驗與達到流量分流的效果。 The disclosure of the present invention discloses an automatic connection selection method for connection quality data collected by the cloud, and a related system including a cloud servo system and a terminal software program, which mainly provides an access point status report and an access point status detection. And the mechanism for automatically selecting a network according to the access point network condition, through which the user's computer device can obtain better access point information, thereby obtaining a better network quality connection. The connection selection can cover access points such as mobile communication network base stations and wireless local area network base stations, so that users can automatically switch between the mobile communication network and the wireless local area network without affecting the operation. Automatically select the best network connection to improve user experience and achieve traffic diversion.

在本發明實施例運行之初,初始狀態可如圖1A示意顯示的狀態圖,其中顯示的終端裝置11在初始狀態下可以先以一預設連線連接到雲端伺服系統12,此預設連線比如是一般涵蓋範圍較廣的行動通訊網路,但亦不排除無線區域網路(WiFiTM),如圖顯示透過一預設存取點13連線網路10,其目的之一是在實現本發明依據雲收集的連線品質資料的自動連線選擇方法時,需要先將終端裝置11內軟體程式所掃描的附近存取點產生的存取點掃描清單傳送到雲端伺服系統12,由雲端伺服系統12根據資料庫所載相關存取點的連線品質資料提供一存取點連線清單,再由終端裝置根據此清單重新選擇存取點,藉此可以獲得服務品質較佳的網路連線。 At the beginning of the operation of the embodiment of the present invention, the initial state may be as shown in the state diagram shown in FIG. 1A, wherein the displayed terminal device 11 may be connected to the cloud servo system 12 with a preset connection in an initial state. line is such a wide scope of the general mobile communication network, but does not rule out the wireless LAN (WiFi TM), the access point 13 as shown in the display 10 via a predetermined network connection, one of the aims is achieved According to the method for automatically selecting the connection quality data collected by the cloud, the access point scan list generated by the nearby access points scanned by the software program in the terminal device 11 is first transmitted to the cloud servo system 12, and the cloud is The servo system 12 provides an access point connection list according to the connection quality data of the relevant access point contained in the database, and then the terminal device reselects the access point according to the list, thereby obtaining a network with better service quality. Connected.

本揭露書所稱存取點(access point)定義上可以涵蓋行動通訊網路基地台以及無線區域網路基地台等服務使用者終端裝置連線上網的裝置,一般是執行不同網域間的封包路由工作。 The access point defined in the disclosure may include a device for connecting to a service user terminal device such as a mobile communication network base station and a wireless local area network base station, and generally performs packet routing between different network domains. jobs.

圖1B接著顯示為圖1A示意圖的擴大實施架構,描述此實施例圖時,可同時參考圖8所示之實施例流程,以及圖9所示的實施例系統架構圖。 FIG. 1B is further shown as an expanded implementation architecture of the schematic diagram of FIG. 1A. When describing the embodiment, the embodiment flow shown in FIG. 8 and the system architecture diagram of the embodiment shown in FIG. 9 can be simultaneously referred to.

在此依據雲收集的連線品質資料的自動連線選擇系統架構實施例中,提供一雲端伺服系統12(對比圖8的雲端伺服系統82),雲端伺服系統12可以為一雲端伺服器,或是多個伺服主機形成的系統,如圖9描述的架構中,雲端伺服系統12包括有多個服務不同區域的伺服主機91,92,93,94,由一主系統9控管各伺服主機91,92,93,94的運作,包括資料庫提供、資料備份與分流管理等,各伺服主機可以分工取得相關區域內的各存取點狀態資料。本例中,雲端伺服系統12定時探測各種如行動通訊網路基地台、無線區域網路基地台等存取點(對比圖8的存取點81)的狀態(對比圖8的步驟801),其中設有資料庫120,資料庫120記載多個存取點101,102,103之連線品質資料,因為存取點101,102,103的狀況可能隨時改變,資料庫120應能隨時更新。 In the embodiment of the automatic connection selection system architecture of the connection quality data collected by the cloud, a cloud server system 12 (compared to the cloud server system 82 of FIG. 8) is provided, and the cloud server system 12 can be a cloud server, or It is a system formed by a plurality of servo hosts. In the architecture described in FIG. 9, the cloud servo system 12 includes a plurality of servo hosts 91, 92, 93, 94 serving different areas, and a host system 9 controls each of the servo hosts 91. The operation of 92, 93, 94 includes database providing, data backup and shunt management, etc. Each server can obtain the status data of each access point in the relevant area. In this example, the cloud servo system 12 periodically detects the status of various access points (such as the access point 81 of FIG. 8) such as the mobile communication network base station and the wireless local area network base station (compare step 801 of FIG. 8), wherein A database 120 is provided. The database 120 records the connection quality data of the plurality of access points 101, 102, 103. Since the status of the access points 101, 102, 103 may change at any time, the database 120 should be updated at any time.

本發明系統為服務各類需要連接網路10的終端裝置105,106(對比圖8所示之終端裝置83),特別是可攜式的終端裝置,經由一初始的預設連線可以經網路10而自雲端伺服系統12取得各終端裝置105,106附近的存取點狀態(對比圖8的步驟803,805),而透過終端裝置105,106內的軟體程式能根據雲端伺服系統12提供的清單自動選擇連線品質較佳的存取點(對比圖8的步驟807)。 The system of the present invention serves various terminal devices 105, 106 (compared to the terminal device 83 shown in FIG. 8) that need to be connected to the network 10, and in particular, the portable terminal device can pass through the network 10 via an initial preset connection. The cloud servo system 12 obtains the access point status in the vicinity of each terminal device 105, 106 (compare steps 803, 805 of FIG. 8), and the software program in the terminal device 105, 106 can automatically select the connection quality according to the list provided by the cloud server system 12. A good access point (compare step 807 of Figure 8).

在實施例中,透過雲端伺服系統12所提供的雲端連線選擇機制搭配行動通訊網路基地台與無線區域網路基地台的網路狀況偵測手段及網路狀況回報手段,當終端裝置105,106傳送附近偵測到的網路存取點給雲端伺服系統12時,雲端伺服系統12中的軟體模組將根據此清單及其中所收集到的相關存取點狀態,可選取出網路狀況較佳的網路存取點回覆終端裝置105,106,於是終端裝置105,106將根據此系統提供的清單以開始進行連網與切換網路的動作。 In the embodiment, the cloud connection selection mechanism provided by the cloud server system 12 is combined with the network condition detection means of the mobile communication network base station and the wireless local area network base station, and the network status reporting means are transmitted by the terminal devices 105, 106. When the nearby network access point is detected to the cloud server system 12, the software module in the cloud server system 12 will select the network status according to the list and the related access point status collected therein. The network access point replies to the terminal devices 105, 106, and the terminal devices 105, 106 will begin the operation of networking and switching the network based on the list provided by the system.

以上實施例所述探測各存取點的網路狀況偵測手段及網路狀況回報手段並不限定使用特定方式或協定,比如,實施例可以一 種簡單網路管理協定(Simple Network Management Protocol,SNMP)進行資料交換,雲端伺服系統12可定期透過其中SNMP GET的命令向各存取點101,102,103索取網路狀態資訊(對比圖8的步驟801),終端裝置105,106則可透過SNMP TRAP命令對雲端伺服系統12請求傳送其掃描到的存取點資訊(對比圖8的步驟803),雲端伺服系統12可再透過SNMP SET命令發送建議的存取點連線清單至終端裝置105,106(對比圖8的步驟805)。 The means for detecting the network status of each access point and the means for reporting the network status are not limited to use a specific manner or agreement. For example, the embodiment may be A simple network management protocol (SNMP) for data exchange, the cloud server system 12 can periodically request network status information from each access point 101, 102, 103 through the SNMP GET command (compare step 801 of FIG. 8). The terminal device 105, 106 can request the cloud server system 12 to transmit the scanned access point information through the SNMP TRAP command (compare step 803 of FIG. 8), and the cloud server system 12 can further send the suggested access point through the SNMP SET command. Line list to terminal devices 105, 106 (compare step 805 of Figure 8).

舉例來說,終端裝置105,106可以在所處的無線區域網路內透過熱點2.0(Hotspot 2.0)的機制掃描獲取可連結之存取點資訊,之後,終端裝置105,106將掃描到的存取點識別符(ID)記錄並傳送到雲端伺服系統12,如前述以SNMP TRAP命令傳送存取點掃描清單。當雲端伺服系統12接收到此一清單後,一經資料庫120比對,選取出當中連線品質較佳的一或多個存取點,建立存取點連線清單,並傳送到終端裝置105,106,如以SNMP SET命令來傳送。 For example, the terminal device 105, 106 can scan the access point information through the hotspot 2.0 (Hotspot 2.0) mechanism in the wireless local area network, and then the terminal device 105, 106 will scan the access point identifier. The (ID) is recorded and transmitted to the cloud servo system 12, and the access point scan list is transmitted as described above using the SNMP TRAP command. After receiving the list, the cloud server system 12 compares one or more access points with better quality in the middle of the database, and establishes an access point connection list and transmits the connection list to the terminal device 105, 106. , such as the transmission of the SNMP SET command.

之後,當終端裝置105,106接收到建議清單後,可依照清單內建議的存取點順序嘗試進行連線與切換網路(對比圖8的步驟807),而清單中所切換之網路不限定於行動通訊網路或無線區域網路,將視當時各個存取點的網路狀況與需求而定,如此便可達到保障使用者的連線品質與頻寬分流的效果。 After that, after the terminal device 105, 106 receives the suggestion list, it can try to connect and switch the network according to the suggested access point sequence in the list (compare step 807 of FIG. 8), and the network switched in the list is not limited to The mobile communication network or the wireless local area network will depend on the network conditions and needs of each access point at that time, so as to ensure the user's connection quality and bandwidth diversion effect.

圖2顯示本發明依據雲收集的連線品質資料的自動連線選擇系統中伺服主機中軟體或硬體模組的實施例。 2 shows an embodiment of a software or hardware module in a servo host in an automatic connection selection system according to the invention for connection quality data collected by the cloud.

此例顯示為雲端伺服系統中的伺服主機20,其中維護有一記載多個存取點之連線品質資料的資料庫205,而執行的功能可以軟體模組,或是硬體電路所實現。 This example is shown as a servo host 20 in a cloud servo system in which a database 205 storing connection quality data of a plurality of access points is maintained, and the functions performed can be implemented by a software module or a hardware circuit.

伺服主機20透過資料庫205收集各存取點22的運作狀態,其中設有存取點探測單元206,實施例係可以發出探測封包,要求各存取點22定時回報運作狀態,存取點探測單元206即定時連線 資料庫205所記載之多個存取點,以定時取得並更新各存取點的最新連線品質資料。 The server 20 collects the operating status of each access point 22 through the database 205. The access point detecting unit 206 is provided. The embodiment can send a detecting packet, and each access point 22 is required to periodically report the operating status and access point detection. Unit 206 is a timed connection The plurality of access points described in the database 205 sequentially acquire and update the latest connection quality data of each access point.

伺服主機20另可設有存取點管理單元207,此為存取點的管理資料庫,記載支援此伺服主機20所執行工作的存取點資訊,包括存取點網路位址、識別資料等,並管理各存取點的連線品質資料。 The server host 20 may further be provided with an access point management unit 207, which is a management database of the access point, and records the access point information supporting the work performed by the server host 20, including the access point network address and the identification data. Etc., and manage the connection quality data of each access point.

伺服主機20一端與終端裝置21相互交換資料,其中有一請求處理單元202,用以接收終端裝置21傳送之一詢問請求,詢問請求至少記載訊號來源的識別資料,也就是用以識別發出此請求的終端裝置21,以及終端裝置21透過軟體程式掃描取得的存取點資訊,如存取點掃描清單。經請求處理單元202接收此請求後,從其中取得存取點掃描清單,並根據比對資料庫205產生提供此終端裝置21的存取點連線清單,其中存取點連線清單記載了資料庫中根據存取點掃描清單內容所取得的一或多個存取點,以及依照各存取點連線品質資料的健康度排序。其中存取點連線清單所記載之存取點有一或多個行動通訊網路基地台或一或多個無線區域網路基地台,或兩者之組合。 One end of the server host 20 exchanges data with the terminal device 21, and a request processing unit 202 is configured to receive an inquiry request from the terminal device 21 to request at least the identification data of the source of the signal, that is, to identify the request for the request. The terminal device 21 and the terminal device 21 scan the acquired access point information, such as an access point scan list, through the software program. After receiving the request, the request processing unit 202 obtains an access point scan list therefrom, and generates a list of access point connections for providing the terminal device 21 according to the comparison database 205, wherein the access point connection list records the data. The library records one or more access points obtained by scanning the contents of the list according to the access point, and sorts according to the health of the connection quality data of each access point. The access point described in the access point connection list has one or more mobile communication network base stations or one or more wireless local area network base stations, or a combination of the two.

伺服主機20依照功能具有查詢單元203,可根據終端裝置21所提出的存取點掃描清單比對資料庫205,比如根據清單內的存取點識別符(ID)進行比對,而查詢得出一或多個存取點,特別是同時取得各存取點最新的連線品質資料。 The server 20 has a query unit 203 according to the function, and can scan the list comparison database 205 according to the access point proposed by the terminal device 21, for example, according to the access point identifier (ID) in the list, and the query is obtained. One or more access points, in particular, the latest connection quality data of each access point.

伺服主機20依照功能設有以軟體實現的排序單元204,根據前述查詢單元203所查詢的各存取點連線品質資料進行排序,這些存取點即依照終端裝置21所提供的存取點掃描清單所取得對照資料庫205所取得,即產生存取點的健康度排序。其中連線品質資料的內容至少有各存取點的最新連線數量、流量、各存取點負載以及各存取點對外連線頻寬之佔用等。 The servo host 20 is provided with a software-based sorting unit 204 for sorting according to the access point connection quality data queried by the query unit 203, and the access points are scanned according to the access point provided by the terminal device 21. The list is obtained by the comparison database 205, that is, the health ranking of the access points is generated. The content of the connection quality data includes at least the latest connection number of each access point, the traffic, the load of each access point, and the occupation of the bandwidth of each access point.

本發明依據雲收集的連線品質資料的自動連線選擇系統可以 對各終端裝置的使用者進行認證,也就是識別各終端使用者,或可依照使用者不同的等級提供不同的資訊服務,相關伺服主機20設有使用者管理單元201,其中記載登錄此服務的使用者資訊,當有終端裝置21要求伺服主機20提供存取點連線清單時,可藉此功能認證使用者,決定是否提供服務,或是決定其服務等級。 The automatic connection selection system based on the connection quality data collected by the cloud can be The user of each terminal device is authenticated, that is, each terminal user is identified, or different information services can be provided according to different levels of the user. The related server host 20 is provided with a user management unit 201, which records the login to the service. User information, when the terminal device 21 requests the server host 20 to provide an access point connection list, the function can be used to authenticate the user, decide whether to provide the service, or determine the service level.

根據一實施方式,終端裝置21以行動電話為例,除具有行動通訊功能外,使用者管理單元201所提供的使用者認證服務可以採用終端裝置21的使用者身份模組(Subscribers Identity Module,SIM)所載資訊、使用特定電信業者的使用者身份識別資料等作為認證的依據。在一特定實施例中,使用者身份模組還可用於無線區域網路中熱點的存取認證之用。 According to an embodiment, the terminal device 21 takes a mobile phone as an example. In addition to the mobile communication function, the user authentication service provided by the user management unit 201 can use the subscriber identity module of the terminal device 21 (Subscribers Identity Module, SIM). The information contained, the use of user identification data of specific carriers, etc. as the basis for certification. In a particular embodiment, the user identity module can also be used for access authentication of hotspots in a wireless local area network.

圖3接著顯示在此系統中終端裝置之軟體模組實施例示意圖。 Figure 3 is a schematic diagram showing an embodiment of a software module of a terminal device in this system.

此例顯示的終端裝置30載有一軟體程式,記載於記憶單元302中,記憶單元302同時儲存透過掃描與探索得到終端裝置30附近的存取點資訊,包括形成的存取點掃描清單,以及自雲端伺服系統提供的存取點連線清單。 The terminal device 30 shown in this example is loaded with a software program, which is recorded in the memory unit 302. The memory unit 302 simultaneously stores the access point information near the terminal device 30 through scanning and searching, including the formed access point scan list, and A list of access point connections provided by the cloud server system.

在此例中,終端裝置30設有連接行動通訊網路的行動通訊模組303以及連線無線區域網路的無線網路模組304,而本發明依據雲收集的連線品質資料的自動連線選擇方法即可適用於終端裝置30依照這兩類網路系統的相關存取點連線品質進行連線選擇,其中更設有執行此自動切換機制的自動切換單元305。 In this example, the terminal device 30 is provided with a mobile communication module 303 connected to the mobile communication network and a wireless network module 304 for connecting the wireless local area network, and the present invention automatically connects according to the connection quality data collected by the cloud. The selection method can be applied to the terminal device 30 to perform connection selection according to the associated access point connection quality of the two types of network systems, and an automatic switching unit 305 that performs this automatic switching mechanism is further provided.

自動切換單元305可為一軟體模組,能夠根據終端裝置30內數據處理單元301產生的選擇訊號切換行動通訊模組303與無線網路模組304的連線,或是根據存取點連線清單提供的資訊選擇連線的存取點。 The automatic switching unit 305 can be a software module, and can switch the connection between the mobile communication module 303 and the wireless network module 304 according to the selection signal generated by the data processing unit 301 in the terminal device 30, or can be connected according to the access point. The information provided in the list selects the access point for the connection.

終端裝置30所設的數據處理單元301如裝置內的處理器,除了處理裝置30各部訊號外,更執行軟體程式,在初始時產生連線請求,先掃描終端裝置30位置附近的存取點,也就是透過裝置內 行動通訊模組303與無線網路模組304發出掃描封包,取得附近兩種網路系統下可及於的存取點的資訊,以建立存取點掃描清單,之後再將存取點掃描清單傳送以一請求訊號的方式傳送到雲端伺服系統,經雲端伺服系統處理後產生具有連線建議的存取點連線清單,軟體程式接著將接收雲端伺服系統所傳送的存取點連線清單,並根據此存取點連線清單自動建立與其中之一個存取點的連線。 The data processing unit 301 provided in the terminal device 30, as in the processor of the device, executes a software program in addition to the signals of the processing device 30, and initially generates a connection request, and first scans an access point near the location of the terminal device 30. Through the device The mobile communication module 303 and the wireless network module 304 send a scan packet to obtain information of access points accessible under the two network systems in the vicinity to establish an access point scan list, and then scan the access point scan list. The transmission is transmitted to the cloud servo system by a request signal, and processed by the cloud servo system to generate a connection point connection list with connection suggestions, and the software program then receives the access point connection list transmitted by the cloud server system. And automatically establish a connection with one of the access points according to the access point connection list.

本發明自動連線選擇方法係基於雲端伺服系統中所收集各存取點的連線品質資料而決定連線的對象以及順序,雲端伺服系統應定時取得各存取點的最新運作資訊,實施例如圖4所示資料庫更新之流程圖。 The automatic connection selection method of the present invention determines the object and sequence of the connection based on the connection quality data of each access point collected in the cloud servo system, and the cloud servo system should periodically obtain the latest operation information of each access point, for example, for example, The flow chart of the database update shown in Figure 4.

此例中,雲端伺服系統設有一資料庫,資料庫記載多個應探測的存取點識別資料,因此雲端伺服系統將依據資料庫中清單分別探測取得各存取點的連線品質資料,如開始步驟S401,系統將根據資料庫清單發出探測訊號,每個支援此服務的存取點一旦接收到此探測訊號,將回報相關的連線品質資料,如各存取點的最新連線數量、流量、各存取點負載以及各存取點對外連線頻寬之佔用等,如步驟S403,雲端伺服系統即取得存取點狀態資訊。 In this example, the cloud servo system is provided with a database, and the database records a plurality of access point identification data to be detected, so the cloud servo system will separately detect the connection quality data of each access point according to the list in the database, such as Starting step S401, the system will send a detection signal according to the database list, and each access point supporting the service will report the relevant connection quality data, such as the latest connection quantity of each access point, upon receiving the detection signal. The flow rate, the load of each access point, and the occupation of the external connection bandwidth of each access point, etc., in step S403, the cloud servo system obtains the access point status information.

接著,如步驟S405,最新取得的存取點狀態資訊係用以更新資料庫,以至於採用本發明依據連線品質資料而選擇連線的機制可以依據最新資料運行。之後,如步驟S407,經延遲一段時間,重新探測存取點、接收各存取點回報資訊,以及更新資料庫等。 Then, in step S405, the newly obtained access point status information is used to update the database, so that the mechanism for selecting the connection according to the connection quality data according to the present invention can be operated according to the latest data. Then, in step S407, after delaying for a period of time, the access point is re-detected, the return information of each access point is received, and the database is updated.

根據實施例,雲端伺服器定期向行動通訊網路基地台與無線區域網路基地台收集其網路狀況並存於資料庫中,當收到終端裝置的請求以及掃瞄到的存取點資料後,即能依據存取點的識別符查詢到資料庫中的對應的連線品質資料,再經排序後回傳至終端裝置。 According to an embodiment, the cloud server periodically collects the network status of the mobile communication network base station and the wireless local area network base station and stores it in the database. After receiving the request of the terminal device and the scanned access point data, That is, the corresponding connection quality data in the database can be queried according to the identifier of the access point, and then sorted and then transmitted back to the terminal device.

其他連線的考量並不排除其他會影響連線順序的參數,如考 量用戶資費方案,可以調整是否在無線區域網路連線品質不良時要切換到行動通訊網路上;另可考量訊號品質、電信業者選擇等,排序時,更可以設定能以行動通訊網路負載為優先考量等方式。 終端裝置將根據以上各種考量參數決定所嘗試並切換連結的網路或是繼續留在原本所連接的網路中。 Other connection considerations do not exclude other parameters that affect the order of the connection, such as the test The user tariff plan can adjust whether to switch to the mobile communication network when the wireless LAN connection quality is poor. Also consider the signal quality, the choice of the carrier, etc. When sorting, you can set the priority of the mobile communication network load. Consider other methods. The terminal device will decide to try and switch the connected network according to the above various consideration parameters or continue to stay in the originally connected network.

圖5接著顯示本發明依據雲收集的連線品質資料的自動連線選擇方法中雲端伺服系統處理流程實施例圖。 FIG. 5 is a view showing an embodiment of a processing flow of the cloud servo system in the automatic connection selection method of the connection quality data collected by the cloud according to the present invention.

開始如步驟S501,雲端伺服系統接收終端裝置的詢問請求,詢問請求包括終端裝置的識別資料(訊號來源)外,更包括經取得終端裝置位置附近存取點的掃描清單。 Beginning in step S501, the cloud server system receives an inquiry request from the terminal device, and the inquiry request includes the identification data (source source) of the terminal device, and further includes a scan list of the access points near the location of the terminal device.

接著如步驟S503,從詢問請求中取得相關存取點資訊,包括各存取點的識別符,於是在此雲端伺服系統中,可據此比對資料庫,根據從終端裝置取得的存取點掃描清單,查詢資料庫中一或多個存取點的連線品質資料,如步驟S505。 Then, in step S503, the relevant access point information is obtained from the query request, including the identifier of each access point, so in the cloud server system, the database can be compared according to the access point obtained from the terminal device. Scan the list to query the connection quality data of one or more access points in the database, as in step S505.

經依照這些存取點的連線品質資料排序後,建立一存取點連線清單,如步驟S507,並傳送清單至各發出請求的終端裝置上。 After sorting according to the connection quality data of the access points, an access point connection list is established, as in step S507, and the list is transmitted to each of the requesting terminal devices.

在雲端伺服系統依照這些存取點的連線品質資料排序時,將綜合考量各存取點的最新連線數量(連線用戶數)、流量(用戶頻寬使用量)、各存取點負載以及各存取點對外連線頻寬之佔用(預估自身剩餘可用頻寬)。其他考量比如,存取點的無線端之頻寬預估方法可利用當前數據量、封包丟失率(Packet Loss Ratio,PLR)與錯誤率預估出可用之頻寬;存取點連接骨幹網路之有線端亦可透過當前使用之數據量及數據丟失率進行計算,甚至可以加入終端裝置使用者在行動通訊網路上的連線費用、電信業者的選擇等項目,使用者可以透過軟體程式調整各項參數比重。相關參數比如有效頻寬(BW)、封包丟失率(Packet Loss Ratio,PLR)、存取點之負載(loading,如CPU負載)、接受訊號強度指示(Received Signal Strength Indication,RSSI,以訊號功率(dbm)表示)、nSTA 代表當前連線的終端裝置數,以及MAXSTA代表該存取點最大可提供連線的終端數等。 When the cloud servo system sorts the connection quality data of these access points, it will comprehensively consider the latest connection number (number of connected users), traffic (user bandwidth usage), and load of each access point of each access point. And the occupation of the external connection bandwidth of each access point (estimating the remaining available bandwidth). For other considerations, for example, the wireless terminal bandwidth estimation method of the access point can estimate the available bandwidth by using the current data amount, the packet loss ratio (PLR) and the error rate; the access point is connected to the backbone network. The wired terminal can also calculate the data volume and data loss rate currently used, and even add the connection fee of the terminal device user on the mobile communication network, the selection of the carrier, etc., and the user can adjust various items through the software program. Parameter specific gravity. Related parameters such as effective bandwidth (BW), packet loss ratio (PLR), load on the access point (such as CPU load), Received Signal Strength Indication (RSSI), signal power ( Dbm) indicates), nSTA Represents the number of terminal devices currently connected, and the number of terminals that MAXSTA can provide to connect to the access point.

舉例來說:在RSSI>-40dbm以及nSTA<MAXSTA的條件下,連線品質資料=(有效BW(1-PLR)(1-loading));在-40dbm>RSSI>-70dbm以及nSTA<MAXSTA的條件下,連線品質資料=(有效BW(1-PLR)(1-loading)*0.7);或是在RSSI<-70dbm以及nSTA<MAXSTA、等於0或是nSTA≧MAXSTA等的條件下,連線品質資料=(BW*(1-PLR)*(1-loading)*0.3)。 For example: under the conditions of RSSI>-40dbm and nSTA<MAXSTA, the connection quality data=(effective BW(1-PLR)(1-loading)); at -40dbm>RSSI>-70dbm and nSTA<MAXSTA Under the condition, the connection quality data = (effective BW (1-PLR) (1-loading) * 0.7); or under the conditions of RSSI <-70dbm and nSTA < MAXSTA, equal to 0 or nSTA ≧ MAXSTA, etc. Line quality data = (BW * (1-PLR) * (1-loading) * 0.3).

接著參考圖6所示本發明依據雲收集的連線品質資料的自動連線選擇方法中終端裝置處理流程實施例圖。在終端裝置端,特別是透過一軟體程式處理與雲端伺服系統的來往訊號,特別包括掃描裝置附近的存取點、建立清單、聯繫雲端伺服系統、接收清單與嘗試連線等工作。 Next, referring to FIG. 6, the embodiment of the processing flow of the terminal device in the automatic connection selection method of the connection quality data collected by the cloud according to the present invention is shown. On the terminal device side, especially through a software program to process the communication signal with the cloud servo system, especially including the access point near the scanning device, establishing a list, contacting the cloud servo system, receiving the list and attempting to connect.

根據此實施例,如步驟S601,於終端裝置欲建立無線網路連線時,終端裝置啟始軟體程式,並先掃描存取點,同時產生連線請求(步驟S603),在本發明的機制下,如步驟S605,傳送一詢問請求至雲端伺服系統,在雲端伺服系統端執行如圖5的流程,經如步驟S501由雲端伺服系統接收此請求開始,直到產生存取點連線清單,由終端裝置接收此清單(步驟S607),特別的是,這個存取點連線清單中記載的多個存取點可以具有一個健康度排序,接著如步驟S609,終端裝置將透過軟體程式自動與存取點連線清單其中之一個存取點建立連線;若參考健康度排序,即自動嘗試嘗試對清單內存取點進行連線。 According to this embodiment, in step S601, when the terminal device wants to establish a wireless network connection, the terminal device starts the software program, and scans the access point first, and simultaneously generates a connection request (step S603), in the mechanism of the present invention. Next, in step S605, transmitting an inquiry request to the cloud servo system, executing the flow of FIG. 5 on the cloud server system end, and receiving the request by the cloud server system according to step S501, until the access point connection list is generated, The terminal device receives the list (step S607). In particular, the plurality of access points recorded in the access point connection list may have a health ranking, and then, in step S609, the terminal device automatically stores the file through the software program. Take one of the access points to establish a connection; if you refer to the health ranking, you will automatically try to connect to the access points in the list.

圖7終端裝置之軟體處理流程實施例圖。 Figure 7 is a diagram showing an embodiment of a software processing flow of a terminal device.

經終端裝置啟動軟體程式(步驟S701),軟體程式先掃描存取點(步驟S703),並連線伺服器(步驟S705),同時將掃描存取點 產生的存取點掃描清單傳送到雲端伺服系統(步驟S707)。此處細節可參閱以上實施例。 The software program is started by the terminal device (step S701), the software program first scans the access point (step S703), and connects the server (step S705), and simultaneously scans the access point. The generated access point scan list is transmitted to the cloud servo system (step S707). Details can be found in the above embodiments.

之後,經雲端伺服系統運作後產生根據存取點的連線品質資料進行排序的存取點連線清單,並傳送到終端裝置,由軟體程式接收取得其中存取點清單(步驟S709),即根據其中順序依序連線(步驟S711),並順序判斷所連接的存取點是否成功連線?(步驟S713),若否,則繼續下一順位的存取點連線(步驟S711);若成功連線,即繼續判斷是否對此存取點的連線品質低於一軟體預設或是使用者自行設定的門檻?(步驟S715),若是尚未低於門檻,表示品質仍在可接受範圍內,維持原連線,並繼續判斷連線品質是否低於此門檻。 Then, after the operation of the cloud servo system, a list of access point connections sorted according to the connection quality data of the access point is generated, and transmitted to the terminal device, and the software program receives and obtains the list of access points (step S709), that is, According to the sequence, the lines are sequentially connected (step S711), and it is sequentially determined whether the connected access points are successfully connected. (Step S713), if not, proceed to the next access point connection (step S711); if the connection is successful, continue to determine whether the connection quality of the access point is lower than a software preset or User-defined threshold? (Step S715), if it is not below the threshold, indicating that the quality is still within the acceptable range, maintaining the original connection, and continuing to judge whether the connection quality is lower than the threshold.

當軟體程式依照所取得的連線清單順序嘗試連線存取點已用盡,將可重新建立新的存取點掃描清單,重新取得自雲端伺服系統建議的連線清單。 When the software program attempts to use the connection access point in the order of the obtained connection list, the new access point scan list can be re-established, and the connection list suggested by the cloud servo system can be retrieved.

其中門檻的設定可以根據前述連線品質資料,或是僅針對其中訊號強度、頻寬等參數設定門檻。情況是,可能是使用者攜帶終端裝置已經離開原連線存取點至一定距離以外,經判斷發現連線品質已經低於門檻,此時執行一自動切換指令,軟體程式可能繼續嘗試清單內其他存取點的連線,自原連線的存取點切換為另一存取點;或是在此實施例所示,回到步驟S703,重新掃描存取點、建立掃描清單、取得雲端伺服系統提供的存取點連線清單等步驟,繼續嘗試下一階段的連線。 The threshold can be set according to the aforementioned connection quality data, or only for the signal strength, bandwidth and other parameters. The situation may be that the user carrying the terminal device has left the original connection access point to a certain distance, and it is judged that the connection quality has fallen below the threshold. At this time, an automatic switching instruction is executed, and the software program may continue to try other items in the list. The connection point of the access point is switched from the access point of the original connection to another access point; or, as shown in this embodiment, returning to step S703, re-scanning the access point, establishing a scan list, and obtaining a cloud server Steps such as the access point connection list provided by the system continue to try the next phase of the connection.

當使用者攜帶終端裝置於各基地台間漫遊,以上如步驟S713與S715都是由軟體程式立即掌握連線狀況,並能自動切換網路連線,因此應定時進行偵測連線、取得存取點清單等,其中連線偵測的週期性間隔並不限定特定時間,間隔時間越長越可能會降低網路切換的靈敏度,間隔時間越短將提升靈敏度,但仍可能會影響終端裝置的運作。 When the user carries the terminal device to roam between the base stations, in the above steps S713 and S715, the software program immediately grasps the connection status and can automatically switch the network connection, so the connection connection and the acquisition should be performed periodically. Take a list of points, etc., in which the periodic interval of connection detection is not limited to a specific time. The longer the interval, the lower the sensitivity of network switching. The shorter the interval, the higher the sensitivity, but it may still affect the terminal device. Operation.

整合以上運作於終端裝置、雲端伺服系統以及存取點的流程,可參考圖8所之流程實施例圖,此例描述的實施例涉及雲端伺服系統82、終端裝置83與眾多分佈於網路各端點的存取點81。 For the process of the above operations on the terminal device, the cloud server system, and the access point, refer to the process embodiment diagram of FIG. 8. The embodiment described in this example relates to the cloud server system 82, the terminal device 83, and a plurality of distributed networks. The access point 81 of the endpoint.

運作之初,終端裝置83中已經安裝實施本發明依據雲收集的連線品質資料的自動連線選擇方法的軟體程式(如行動裝置上的APP),而雲端伺服系統82也收集了最新各端存取點81的連線品質資料,如圖中顯示在探測存取點(801)的程序中,雲端伺服系統82主動自存取點81取得各存取點81之連線品質相關參數,或是可被動由存取點81傳送其連線品質的各種參數。 At the beginning of the operation, the software program (such as the APP on the mobile device) for implementing the automatic connection selection method of the connection quality data collected by the cloud according to the present invention has been installed in the terminal device 83, and the cloud servo system 82 also collects the latest terminals. The connection quality data of the access point 81, as shown in the program of the probe access point (801), the cloud servo system 82 actively obtains the connection quality related parameters of each access point 81 from the access point 81, or It is a variety of parameters that can be passively transmitted by the access point 81 for its connection quality.

舉例來說,在本發明提供各終端裝置可以自動連線選擇的機制下,雲端伺服系統82可以設有記錄可連線取得資料的存取點的資料庫,可以查表(lookup table)實施,根據此表可定時主動地發出取得連線品質參數的要求,之後根據取得的資訊更新資料庫內容。或者,各支援本發明可自動連線選擇機制的存取點81中,可以載有相關韌體或是軟體,根據設定能定時主動地偵測自己的連線品質參數,並將相關資訊傳送到雲端伺服系統82。 For example, in the mechanism that the terminal device can automatically select the connection, the cloud server system 82 can be provided with a database for recording the access points of the connectable data, and can be implemented by a lookup table. According to this table, the requirement for obtaining the connection quality parameter can be issued periodically and then the content of the database is updated according to the obtained information. Alternatively, each access point 81 supporting the automatic connection selection mechanism of the present invention may carry a related firmware or software, and can actively detect its connection quality parameter according to the setting, and transmit related information to the Cloud Servo System 82.

接著,終端裝置83啟始了安裝其中的軟體程式,執行對外的連線,首先將產生詢問請求,其中載有終端裝置83的識別資訊,如IP位址、MAC位址、ID以及/或使用者資料等;並自動掃描附近可連接到的存取點(如81),取得這些存取點的識別資訊,如SSID(Service Set Identifier)、MAC位址、IP位址、機械序號以及/或ID等,產生了一個存取點掃描清單,之後結合於終端裝置83所傳送的詢問請求中(803)。 Next, the terminal device 83 initiates the installation of the software program therein, performs the external connection, and first generates an inquiry request carrying the identification information of the terminal device 83, such as an IP address, a MAC address, an ID, and/or use. Information, etc.; and automatically scan nearby access points (such as 81) to obtain identification information of these access points, such as SSID (Service Set Identifier), MAC address, IP address, mechanical serial number and / or The ID or the like generates an access point scan list, which is then incorporated in the inquiry request transmitted by the terminal device 83 (803).

於是,雲端伺服系統82根據請求訊號中的存取點掃描清單提供對應的各存取點連線品質資料,可以在一實施例中主動根據各存取點81的連線品質提供連線的優先順序,建立一回傳給終端裝置83的存取點連線清單。 Therefore, the cloud server system 82 provides the corresponding connection point quality data according to the access point scan list in the request signal, and in an embodiment, the connection priority is provided according to the connection quality of each access point 81. In the order, a list of access point connections transmitted to the terminal device 83 is established.

經終端裝置83接收了連線清單(805),可以根據其中的存取 點資料逐一嘗試連線,可以連線品質較佳的開始連線(807)。在運作過程中,載於終端裝置83的軟體程式會定時確認與存取點81的連線品質是否下降,如圖7所述以一門檻判斷連線品質,必要時自動切換另一存取點,或是重新執行掃描、取得清單與選擇連線等的步驟,以確保終端裝置83的網路連線的品質,並提供在使用者並無察覺時自動切換網路的機制。 The connection list (805) is received via the terminal device 83, and can be accessed according to the connection. Click on the data to try to connect one by one, and you can connect to the line with better quality (807). During the operation, the software program loaded in the terminal device 83 periodically confirms whether the connection quality with the access point 81 is degraded, and the connection quality is judged by a threshold as shown in FIG. 7, and another access point is automatically switched if necessary. The steps of re-executing the scan, obtaining the list, and selecting the connection, etc., to ensure the quality of the network connection of the terminal device 83, and providing a mechanism for automatically switching the network when the user is not aware of it.

前述設於雲端的伺服系統可以一伺服器實現,或是依照服務範圍提供涵蓋不同範圍的多個伺服主機,可參考圖9所示的雲端伺服系統架構實施例圖。 The cloud-based servo system can be implemented by a server, or a plurality of servo hosts covering different ranges according to the service scope. For example, the cloud servo system architecture embodiment shown in FIG. 9 can be referred to.

此圖描述一管理各處伺服主機91,92,93,94的主系統9,而每個伺服主機91,92,93,94都有自己管理的一或多個存取點,如此例顯示伺服主機91連線(有線或無線)有存取點911與912,也就是伺服主機91定時取得存取點911,912的連線品質參數,並記錄(更新)於資料庫中,資料庫可設於伺服主機91或是由主系統9管理。其他顯示有伺服主機92與連線的存取點921,922,923、伺服主機93與連接的存取點931,932,933,以及伺服主機94與連線的存取點941,942,建立本發明中可彈性擴張服務範圍的雲端伺服系統。 This figure depicts a main system 9 that manages the various servo hosts 91, 92, 93, 94, and each of the servo hosts 91, 92, 93, 94 has one or more access points managed by itself. The host 91 is connected (wired or wireless) with access points 911 and 912, that is, the servo host 91 periodically obtains the connection quality parameters of the access points 911, 912, and records (updates) in the database, and the database can be set in the servo. Host 91 is either managed by host system 9. Other access points 921, 922, 923, which are shown with the servo host 92 and the connection, the servo host 93 and the connected access points 931, 932, 933, and the servo host 94 and the connected access points 941, 942, establish the cloud of the elastically expandable service range of the present invention. server system.

是以,揭露書揭示一種依據雲收集的連線品質資料的自動連線選擇方法與系統,解決一般可攜式裝置在到處移動時需要能夠隨時切換服務品質較好的存取點的需求,特別是可以與雲端伺服系統取得建議的網路存取點清單,並能據此自動切換網路連結。 而雲端伺服系統需要掌握各存取點的健康度,如此可以讓使用者終端取得網路品質較佳的連線,能提升使用者體驗與達到流量分流的效果。 Therefore, the disclosure reveals an automatic connection selection method and system based on the collected quality data collected by the cloud, and solves the need for the general portable device to be able to switch the access point with better service quality when moving around. It is a list of network access points that can be recommended with the cloud server system, and can automatically switch network links accordingly. The cloud servo system needs to grasp the health of each access point, so that the user terminal can obtain a network quality better connection, which can improve the user experience and achieve the effect of traffic shunting.

惟以上所述僅為本發明之較佳可行實施例,非因此即侷限本發明之專利範圍,故舉凡運用本發明說明書及圖示內容所為之等效結構變化,均同理包含於本發明之範圍內,合予陳明。 However, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Therefore, equivalent structural changes that are made by using the specification and the contents of the present invention are equally included in the present invention. Within the scope, it is combined with Chen Ming.

S501‧‧‧雲端伺服系統接收終端裝置的詢問請求 S501‧‧‧Cloud Servo System Receives Interrogation Request from Terminal Device

S503‧‧‧取得相關存取點資訊 S503‧‧‧Get relevant access point information

S505‧‧‧查詢資料庫 S505‧‧‧Query database

S507‧‧‧產生排序清單 S507‧‧‧ produces a sorted list

S509‧‧‧傳送清單 S509‧‧‧Transfer list

Claims (10)

一種依據雲收集的連線品質資料的自動連線選擇方法,包括:一雲端伺服系統接收一終端裝置傳送之一詢問請求,其中包括一存取點掃描清單;於該雲端伺服系統中,比對一資料庫,根據該存取點掃描清單取得該資料庫中一或多個存取點的連線品質資料,排序後,建立一存取點連線清單;以及傳送該存取點連線清單。 An automatic connection selection method for connection quality data collected by a cloud, comprising: a cloud server receiving an inquiry request from a terminal device, wherein the access point scan list is included; in the cloud servo system, the comparison a database for obtaining connection quality data of one or more access points in the database according to the access point scan list, and after sorting, establishing an access point connection list; and transmitting the access point connection list . 如請求項1所述的依據雲收集的連線品質資料的自動連線選擇方法,其中該終端裝置係透過一軟體程式掃描該終端裝置位置附近的存取點,建立該存取點掃描清單,其中包括各存取點的識別符。 The method for automatically selecting a connection quality data according to the cloud according to claim 1, wherein the terminal device scans an access point near the location of the terminal device through a software program, and establishes the access point scan list. This includes the identifier of each access point. 如請求項2所述的依據雲收集的連線品質資料的自動連線選擇方法,其中,係於該終端裝置欲建立無線網路連線時,啟動該軟體程式,產生一連線請求,同時傳送包括該存取點掃描清單的該詢問請求至該雲端伺服系統;於接收該雲端伺服系統所傳送的該存取點連線清單時,自動與該存取點連線清單其中之一個存取點建立連線。 The automatic connection selection method for the connection quality data collected by the cloud according to claim 2, wherein when the terminal device wants to establish a wireless network connection, the software program is started to generate a connection request, and at the same time Transmitting the query request including the access point scan list to the cloud server system; and automatically receiving an access list with the access point connection list when receiving the access point connection list transmitted by the cloud server system Click to establish a connection. 如請求項3所述的依據雲收集的連線品質資料的自動連線選擇方法,其中,於該終端裝置啟動之該軟體程式判斷經由所連線的存取點的網路連線品質低於一門檻時,執行一自動切換指令,自原連線的存取點切換為另一存取點;或是重新執行產生該連線請求、傳送包括該存取點掃描清單的該詢問請求至該雲端伺服系統、於接收該存取點連線清單時自動與該存取點連線清單其中之一個存取點建立連線的步驟。 The method for automatically selecting a connection quality data according to the cloud according to claim 3, wherein the software program activated by the terminal device determines that the network connection quality of the access point via the connected line is lower than At a threshold, an automatic switching instruction is executed to switch from the original access point to another access point; or the request to generate the connection is transmitted, and the inquiry request including the access point scan list is transmitted to the The cloud server system automatically connects to one of the access point connection lists when receiving the access point connection list. 如請求項1至4其中之一所述的依據雲收集的連線品質資料的自動連線選擇方法,其中該存取點連線清單所記載之該一或多個存取點具有依照該連線品質資料的健康度排序;該連線品質 資料包括各存取點的最新連線數量、流量、各存取點負載以及各存取點對外連線頻寬之佔用。 The method for automatically selecting connection quality data collected according to the cloud according to any one of claims 1 to 4, wherein the one or more access points recorded in the access point connection list have a connection according to the connection Health ranking of line quality data; quality of the connection The data includes the latest number of connections for each access point, traffic, load at each access point, and the bandwidth of each access point's external connection bandwidth. 如請求項5所述的依據雲收集的連線品質資料的自動連線選擇方法,其中該存取點連線清單記載一或多個行動通訊網路基地台、一或多個無線區域網路基地台,或兩者之組合。 The automatic connection selection method for the connection quality data collected by the cloud according to claim 5, wherein the connection point connection list records one or more mobile communication network base stations and one or more wireless local area network bases Taiwan, or a combination of the two. 如請求項1至4其中之一所述的依據雲收集的連線品質資料的自動連線選擇方法,其中該雲端伺服系統定時更新該資料庫,其中包括:根據該資料庫所記載之多個存取點連線探測各存取點;取得各存取點之該連線品質資料,該連線品質資料包括各存取點的最新連線數量、流量、各存取點負載以及各存取點對外連線頻寬之佔用;以及以最新取得的該連線品質資料更新該資料庫。 The automatic connection selection method for the connection quality data collected by the cloud according to any one of claims 1 to 4, wherein the cloud servo system periodically updates the database, including: according to the plurality of records recorded in the database The access point is connected to detect each access point; the connection quality data of each access point is obtained, and the connection quality data includes the latest connection quantity, flow rate, load of each access point, and each access of each access point. The occupation of the bandwidth of the external connection; and updating the database with the latest obtained quality information of the connection. 一種依據雲收集的連線品質資料的自動連線選擇系統,包括:一雲端伺服系統,包括:一記載多個存取點之連線品質資料的資料庫;一請求處理單元,接收一終端裝置傳送之一詢問請求,並於該詢問請求取得一存取點掃描清單,並建立提供該終端裝置之一存取點連線清單,其中該存取點連線清單記載根據該存取點掃描清單取得該資料庫中一或多個存取點,以及依照各存取點連線品質資料的一健康度排序;一查詢單元,係根據該存取點掃描清單比對該資料庫,以查詢一或多個存取點的連線品質資料;一存取點探測單元,定時連線該資料庫所記載之該多個存取點,以取得各存取點的最新連線品質資料;一排序單元,係根據該存取點掃描清單所取得該資料庫中一或多個存取點的連線品質資料進行排序,產 生該健康度排序;儲存於該終端裝置之一軟體程式,以該終端裝置之一數據處理單元執行該軟體程式產生的步驟包括:產生一連線請求;掃描該終端裝置位置附近的存取點,建立該存取點掃描清單;傳送包括該存取點掃描清單的該詢問請求至該雲端伺服系統;接收該雲端伺服系統所傳送的該存取點連線清單;以及根據該存取點連線清單,自動建立與其中之一個存取點的連線。 An automatic connection selection system based on cloud collection quality data includes: a cloud-side servo system, comprising: a database for recording connection quality data of multiple access points; a request processing unit, receiving a terminal device Transmitting one of the inquiry requests, and obtaining an access point scan list in the inquiry request, and establishing a list of access point connections providing the terminal device, wherein the access point connection list records the scan list according to the access point Obtaining one or more access points in the database, and sorting according to a health degree of each access point connection quality data; a query unit is to scan the list according to the access point to query the database to query one Or connection quality data of multiple access points; an access point detecting unit periodically connects the plurality of access points recorded in the database to obtain latest connection quality data of each access point; The unit sorts according to the connection quality data of one or more access points in the database obtained by the access point scan list. Sorting the health degree; storing the software program in one of the terminal devices, and executing the software program by the data processing unit of the terminal device includes: generating a connection request; scanning an access point near the location of the terminal device Establishing the access point scan list; transmitting the query request including the access point scan list to the cloud server system; receiving the access point connection list transmitted by the cloud server system; and connecting according to the access point A line list that automatically establishes a connection to one of the access points. 如請求項8所述的依據雲收集的連線品質資料的自動連線選擇系統,其中該連線品質資料包括各存取點的最新連線數量、流量、各存取點負載以及各存取點對外連線頻寬之佔用。 The automatic connection selection system according to the cloud collection connection quality data according to claim 8, wherein the connection quality data includes the latest connection quantity, flow rate, load of each access point, and each access of each access point. Point to the occupation of the external connection bandwidth. 如請求項8所述的依據雲收集的連線品質資料的自動連線選擇系統,其中該存取點連線清單記載一或多個行動通訊網路基地台、一或多個無線區域網路基地台,或兩者之組合。 An automatic connection selection system according to the cloud-collected connection quality data according to claim 8, wherein the access point connection list records one or more mobile communication network base stations and one or more wireless local area network bases Taiwan, or a combination of the two.
TW104121092A 2015-06-30 2015-06-30 Method and system for automatically selecting connections according to cloud-based link quality information TWI569671B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104121092A TWI569671B (en) 2015-06-30 2015-06-30 Method and system for automatically selecting connections according to cloud-based link quality information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104121092A TWI569671B (en) 2015-06-30 2015-06-30 Method and system for automatically selecting connections according to cloud-based link quality information

Publications (2)

Publication Number Publication Date
TW201701705A true TW201701705A (en) 2017-01-01
TWI569671B TWI569671B (en) 2017-02-01

Family

ID=58401160

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104121092A TWI569671B (en) 2015-06-30 2015-06-30 Method and system for automatically selecting connections according to cloud-based link quality information

Country Status (1)

Country Link
TW (1) TWI569671B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109844456A (en) * 2017-03-09 2019-06-04 欧姆龙株式会社 Auxiliary device, householder method and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100818132B1 (en) * 2003-10-24 2008-04-01 퀄컴 인코포레이티드 Handoff between a wireless local area network and a cellular communication system
CN101282248B (en) * 2007-05-16 2010-11-10 清华大学 Method for measuring network application performance supporting internet high bandwidth real time video application
CN101583140A (en) * 2009-05-14 2009-11-18 复旦大学 Automatic communication network monitoring system and realization method thereof
CN103812723B (en) * 2012-11-01 2017-03-01 财团法人工业技术研究院 System, server and method for metering network access

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109844456A (en) * 2017-03-09 2019-06-04 欧姆龙株式会社 Auxiliary device, householder method and program

Also Published As

Publication number Publication date
TWI569671B (en) 2017-02-01

Similar Documents

Publication Publication Date Title
US9137744B2 (en) Dynamic network connection system and method
US10225775B2 (en) Access point selection in a wireless network
US9313708B2 (en) Apparatus and method of changing access point in wireless network system
EP3135057B1 (en) Improved vertical handover
US8406804B2 (en) Communication terminal device, communication system and method of selecting base station thereof
JP5673360B2 (en) Portable network connection device, method, computer program, and recording medium
JP2014507850A (en) Dynamic wireless network detection system, method and apparatus
CN107306429B (en) Method and device for connecting network access points
WO2013049996A1 (en) Method, user equipment (ue) and system for selecting accessing network and network selecting policy unit
KR20120093787A (en) Method and apparatus peer to peer service in wireless communication system
WO2016165235A1 (en) Wireless network connection method, device and terminal
JP2002261857A (en) Link manager and method for managing link
JP2014192899A (en) Relieving congestion in wireless local area network
WO2015054999A1 (en) Access network information management method and apparatus
EP3253120A1 (en) Method for guiding user device to establish connection among wlan access points and system thereof
JP2006081164A (en) Method for expanding area for lan system and wirelss lan and access points and stations thereof
US8126998B2 (en) Information processing apparatus and method of controlling thereof
WO2018006623A1 (en) Preferred access method for mobile wifi hotspot, hotspot device and terminal device
KR100933238B1 (en) Device and method for updating network information based on terminal
TWI569671B (en) Method and system for automatically selecting connections according to cloud-based link quality information
CN107852441B (en) Communication control apparatus, control method, and computer-readable medium
US20140286230A1 (en) Communication relay apparatus, mobile communication terminal, and radio base station
JP5957494B2 (en) WiFi connection system, WiFi connection terminal, WiFi connection method, and WiFi connection program
CN113873563A (en) Signal strength measuring method, wireless gateway device and readable storage medium
KR20160109214A (en) Network controller, wireless management apparatus and method for controlling access of wireless access point based on SDN using load balancing