TWI659664B - Electronic device positioning method - Google Patents

Electronic device positioning method Download PDF

Info

Publication number
TWI659664B
TWI659664B TW107123448A TW107123448A TWI659664B TW I659664 B TWI659664 B TW I659664B TW 107123448 A TW107123448 A TW 107123448A TW 107123448 A TW107123448 A TW 107123448A TW I659664 B TWI659664 B TW I659664B
Authority
TW
Taiwan
Prior art keywords
electronic device
wireless network
network base
base station
identification code
Prior art date
Application number
TW107123448A
Other languages
Chinese (zh)
Other versions
TW202007213A (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 TW107123448A priority Critical patent/TWI659664B/en
Application granted granted Critical
Publication of TWI659664B publication Critical patent/TWI659664B/en
Publication of TW202007213A publication Critical patent/TW202007213A/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

一種電子裝置定位方法,適用於具有複數無線網路基地台之區域以及具有無線網路連接功能之電子裝置。電子裝置定位方法包括:將區域劃分成複數網格,且各網格具有位置座標;根據無線網路基地台所在的網格之位置座標設置相對應的識別碼;電子裝置透過無線網路偵測無線網路基地台以取得無線網路基地台中至少一者之識別碼;以及電子裝置透過解析所取得之識別碼來計算電子裝置於自身所在之位置的估計位置座標。An electronic device positioning method is suitable for an area having a plurality of wireless network base stations and an electronic device having a wireless network connection function. An electronic device positioning method includes: dividing an area into a plurality of grids, and each grid has position coordinates; setting a corresponding identification code according to the position coordinates of the grid where the wireless network base station is located; and the electronic device detects through the wireless network The wireless network base station obtains an identification code of at least one of the wireless network base stations; and the electronic device calculates an estimated position coordinate of the electronic device at its own position by analyzing the obtained identification code.

Description

電子裝置定位方法Electronic device positioning method

本發明係關於一種電子裝置定位方法,特別關於一種透過無線網路定位之電子裝置定位方法。The invention relates to a positioning method for an electronic device, and more particularly to a positioning method for an electronic device through a wireless network.

隨著科技進展,越來越多的技術應用需要電子裝置之間的協同合作與資訊傳遞,而其中判別特定裝置的位置以及電子裝置之間位置的溝通是其中特別重要的部分,尤其是在物聯網(IOT)和工業4.0的無人工廠等應用上。傳統上對於電子裝置的定位方式主要為衛星定位技術(GPS),其透過接收衛星訊號的資訊來定位追蹤,大多用於大型地圖範圍內的定位追蹤,例如車用導航等。然而,現在的電子裝置的定位主要應用於較小地圖範圍內的定位,傳統上衛星定位技術的除了精度不夠之外,大多數應用於室內定位的場合也會因為收不到信號而無法持續追蹤。With the development of science and technology, more and more technical applications require collaboration and information transfer between electronic devices, and the identification of the location of specific devices and the communication between electronic devices are particularly important parts, especially in the physical Internet of Things (IOT) and unmanned factories in Industry 4.0. Traditionally, the positioning method for electronic devices is mainly satellite positioning technology (GPS), which receives information from satellite signals for positioning and tracking, and is mostly used for positioning and tracking within a large map, such as car navigation. However, the current positioning of electronic devices is mainly used for positioning within a small map range. Traditionally, in addition to insufficient accuracy of satellite positioning technology, most occasions used for indoor positioning will not be able to continuously track because they cannot receive signals. .

目前,雖發展了一些室內定位的技術,但需要每個電子裝置都在同一個系統下,由同一控制主機來對各個電子裝置的位置追蹤監控,電子裝置之間無法直接地傳遞位置訊息,相當不便。此外,任何新增的電子裝置都必須限制在相同的系統,且必須可以與控制主機進行通訊的條件上,使得各電子裝置之間的溝通缺乏彈性。At present, although some indoor positioning technologies have been developed, each electronic device needs to be under the same system, and the same control host must be used to track and monitor the position of each electronic device. Position information cannot be directly transmitted between electronic devices. inconvenient. In addition, any new electronic devices must be limited to the same system and must be able to communicate with the control host, making communication between the electronic devices inflexible.

根據本發明一實施例之一種電子裝置定位方法,適用於具有複數無線網路基地台之一區域以及具有無線網路連接功能之一第一電子裝置,上述電子裝置定位方法包括:將上述區域劃分成複數網格,且各網格具有一位置座標;根據上述無線網路基地台所在的上述網格之上述位置座標設置各上述無線網路基地台之一識別碼,且上述識別碼為服務設定識別碼(Service Set Identifier;SSID)或擴充功能服務設定識別碼(ESSID);上述第一電子裝置透過無線網路偵測上述無線網路基地台;上述第一電子裝置取得上述無線網路基地台中至少一者之上述識別碼;以及上述第一電子裝置解析所取得之上述識別碼以產生一估計位置座標,其中,上述估計位置座標用以指示上述第一電子裝置於上述區域所在之位置。According to an embodiment of the present invention, an electronic device positioning method is applicable to a region having a plurality of wireless network base stations and a first electronic device having a wireless network connection function. The method for positioning an electronic device includes: dividing the region. A plurality of grids, and each grid has a position coordinate; an identification code of each of the wireless network base stations is set according to the position coordinates of the grid where the wireless network base station is located, and the identification code is a service setting Identification code (Service Set Identifier; SSID) or extended service setting identification code (ESSID); the first electronic device detects the wireless network base station through a wireless network; the first electronic device obtains the wireless network base station The identification code of at least one; and the first electronic device analyzing the obtained identification code to generate an estimated position coordinate, wherein the estimated position coordinate is used to indicate a position of the first electronic device in the area.

在本發明一些較佳的實施例中,上述無線網路基地台之上述識別碼至少包括上述無線網路基地台所在之上述網格對應的上述位置座標。In some preferred embodiments of the present invention, the identification code of the wireless network base station includes at least the position coordinates corresponding to the grid where the wireless network base station is located.

在本發明一些較佳的實施例中,上述識別碼之一第一部分為上述位置座標之一第一軸座標,所取得的上述識別碼之一第二部分為上述位置座標之一第二軸座標。In some preferred embodiments of the present invention, a first part of the identification code is a first axis coordinate of the position coordinate, and a second part of the obtained identification code is a second axis coordinate of the position coordinate. .

在本發明一些較佳的實施例中,上述電子裝置定位方法還包括:上述第一電子裝置判斷所偵測到的上述無線網路基地台的訊號強度值;上述第一電子裝置取得上述無線網路基地台中訊號強度值最高者之上述識別碼;以及上述第一電子裝置解析所取得之上述識別碼以產生上述估計位置座標。In some preferred embodiments of the present invention, the positioning method of the electronic device further includes: the first electronic device determines the detected signal strength value of the wireless network base station; and the first electronic device obtains the wireless network. The identification code of the highest signal strength value in the road base station; and the identification code obtained by the first electronic device analyzing to generate the estimated position coordinates.

在本發明另一些較佳的實施例中,上述電子裝置定位方法還包括:上述第一電子裝置判斷所偵測到的上述無線網路基地台的訊號強度值;上述第一電子裝置取得上述無線網路基地台中訊號強度值最高的前三者之上述識別碼;上述第一電子裝置解析所取得之三個上述識別碼以產生對應於上述無線網路基地台訊號強度值最高的前三者所在上述網格所對應之上述位置座標;以及根據上述無線網路基地台訊號強度值最高的前三者之訊號強度值以及上述位置座標以一三角定位法計算出對應於上述第一電子裝置之上述估計位置座標。In some other preferred embodiments of the present invention, the positioning method for the electronic device further includes: the first electronic device determines the detected signal strength value of the wireless network base station; and the first electronic device obtains the wireless signal. The above three identification codes of the top three signal strength values in the network base station; the first electronic device analyzes the three above identification codes to generate the first three corresponding to the wireless network base station signal strength values. The above-mentioned position coordinates corresponding to the above-mentioned grid; and the above-mentioned corresponding to the above-mentioned first electronic device by a triangle positioning method according to the signal strength values of the first three which have the highest signal strength value of the wireless network base station and the above-mentioned position coordinates. Estimated location coordinates.

在本發明一些較佳的實施例中,上述第一電子裝置具有一暫存器,上述電子裝置定位方法更包括:上述第一電子裝置產生上述估計位置座標後,將上述估計位置座標儲存於上述暫存器中。In some preferred embodiments of the present invention, the first electronic device has a temporary register, and the positioning method for the electronic device further includes: after the first electronic device generates the estimated position coordinates, storing the estimated position coordinates in the foregoing Register.

在本發明一些較佳的實施例中,透過一第二電子裝置發送一位置請求訊號至上述第一電子裝置;以及當上述電子裝置收到上述位置請求訊號時,將上述估計位置座標回傳至上述第二電子裝置。In some preferred embodiments of the present invention, a position request signal is sent to the first electronic device through a second electronic device; and when the electronic device receives the position request signal, the estimated position coordinates are returned to The second electronic device.

以下所述以特定方式表達顯示於圖示中之實施例或例子。但應了解該實施例或例子並非用以限制。任何本發明實施例的替換以及修改,以及本發明原則之任何進一步應用,對於本發明領域具有通常技術者能參考本發明說明書內容而完成。The embodiments or examples shown in the drawings are expressed below in a specific manner. It should be understood that this embodiment or example is not intended to be limiting. Any replacement and modification of the embodiments of the present invention, and any further application of the principles of the present invention, can be completed by those skilled in the art in the field of the present invention with reference to the description of the present invention.

圖1係顯示根據本發明一實施例所述之電子裝置100以及無線網路基地台AP1、AP2、AP3、AP4之示意圖。如第1圖所示,無線網路基地台AP1、AP2、AP3、AP4分別具有識別碼ID1、ID2、ID3、ID4,識別碼ID1、ID2、ID3、ID4儲存於各自的記憶體單元(未顯示於圖示內)中。在一些實施例中,識別碼ID1、ID2、ID3、ID4為服務設定識別碼(Service Set Identifier;SSID)或擴充功能服務設定識別碼(ESSID)。電子裝置100則可透過無線網路分別取得無線網路基地台AP1、AP2、AP3、AP4的識別碼ID1、ID2、ID3、ID4。應了解到,電子裝置100可透過偵測無線網路信號的方式,掃描周遭是否有可用的無線網路基地台。若電子裝置100在無線網路基地台AP1、AP2、AP3、AP4的信號範圍內,電子裝置100則可取得識別碼ID1、ID2、ID3、ID4。FIG. 1 is a schematic diagram showing an electronic device 100 and wireless network base stations AP1, AP2, AP3, and AP4 according to an embodiment of the present invention. As shown in Figure 1, the wireless network base stations AP1, AP2, AP3, and AP4 each have identification codes ID1, ID2, ID3, and ID4, and the identification codes ID1, ID2, ID3, and ID4 are stored in their respective memory units (not shown) (In the illustration). In some embodiments, the identification codes ID1, ID2, ID3, and ID4 are Service Set Identifiers (SSIDs) or Extended Function Service Set Identifiers (ESSIDs). The electronic device 100 can obtain the identification codes ID1, ID2, ID3, and ID4 of the wireless network base stations AP1, AP2, AP3, and AP4 respectively through the wireless network. It should be understood that the electronic device 100 can scan for wireless network base stations by detecting wireless network signals. If the electronic device 100 is within the signal range of the wireless network base stations AP1, AP2, AP3, and AP4, the electronic device 100 can obtain the identification codes ID1, ID2, ID3, and ID4.

以下根據圖2來進一步說明本發明電子裝置100之定位方法。圖2係顯示根據本發明一實施例所述之電子裝置100以及無線網路基地台AP1、AP2、AP3、AP4設置於一區域200內的示意圖。如圖2所示,區域200被劃分成複數網格202,各網格202具有一位置座標,橫坐標分別為A、B、…、J,縱坐標分別為1、2、…、8。以圖2的例子來說,無線網路基地台AP1所在的網格的位置座標可表示為「C8」,無線網路基地台AP2所在的網格的位置座標可表示為「I7」,無線網路基地台AP3所在的網格的位置座標可表示為「C2」,而無線網路基地台AP4所在的網格的位置座標可表示為「A2」。The positioning method of the electronic device 100 according to the present invention is further described below with reference to FIG. 2. FIG. 2 is a schematic diagram showing that the electronic device 100 and the wireless network base stations AP1, AP2, AP3, and AP4 are disposed in an area 200 according to an embodiment of the present invention. As shown in FIG. 2, the area 200 is divided into a plurality of grids 202, each grid 202 has a position coordinate, the abscissas are A, B, ..., J, and the ordinates are 1, 2, ..., 8 respectively. Taking the example in FIG. 2, the position coordinate of the grid where the wireless network base station AP1 is located can be expressed as “C8”, and the position coordinate of the grid where the wireless network base station AP2 is located can be expressed as “I7”. The wireless network The position coordinate of the grid where the road base station AP3 is located can be expressed as "C2", and the position coordinate of the grid where the wireless network base station AP4 is located can be expressed as "A2".

在本發明一些實施例中,無線網路基地台AP1、AP2、AP3、AP4的識別碼ID1、ID2、ID3、ID4的設定則根據其所在的網格的位置座標,以圖2的例子來說,無線網路基地台AP1的識別碼ID1至少包括「C8」,無線網路基地台AP2的識別碼ID2至少包括「I7」,無線網路基地台AP3的識別碼ID3至少包括「C2」,而無線網路基地台AP4的識別碼ID4至少包括「A2」。應了解到,無線網路基地台的識別碼並非只包含位置座標,可透過將位置座標固定地設置在識別碼中的特定區段,以供電子裝置識別。例如,位置座標固定設置在識別碼中的特定字元、符號後,或是識別碼中特定次序的字元(如,識別碼中第5、6個字元)等,而識別碼中的其他字元則用以紀錄無線網路基地台的其他資訊,可視實際應用狀況決定。以圖2的實施例來說,若將位置座標固定設置在識別碼中第二個連字號後二個字元,識別碼ID1則可以設置為「S6-3F-C8b」,其中第二個連字號後二個字元為「C8」,即用以表示其位置座標。換句話說,當電子裝置或其他使用者裝置欲判斷或取得無線網路基地台的位置座標,則可根據第二個連字號後二個字元來判斷。在另一些實施例中,識別碼ID1的其他部分還可包括其他位置資訊,例如,建築物代號為「S6」、樓層為「3F」、區域代號為「b」等,在不脫離本發明之概念下,位置座標於識別碼中的設置順序及其判斷方法皆應包括在本發明的實施例中。In some embodiments of the present invention, the settings of the identification codes ID1, ID2, ID3, and ID4 of the wireless network base stations AP1, AP2, AP3, and AP4 are based on the position coordinates of the grid in which they are located. , The identification code ID1 of the wireless network base station AP1 includes at least "C8", the identification code ID2 of the wireless network base station AP2 includes at least "I7", the identification code ID3 of the wireless network base station AP3 includes at least "C2", and The identification code ID4 of the wireless network base station AP4 includes at least "A2". It should be understood that the identification code of the wireless network base station does not only include position coordinates. The position coordinates can be fixedly set in a specific section of the identification code to identify the power supply device. For example, the position coordinates are fixedly set after specific characters or symbols in the identification code, or characters in a specific order in the identification code (for example, the 5th and 6th characters in the identification code), and others in the identification code. The characters are used to record other information of the wireless network base station, which can be determined according to the actual application situation. Taking the embodiment of FIG. 2 as an example, if the position coordinates are fixedly set to two characters after the second hyphen in the identification code, the identification code ID1 can be set to "S6-3F-C8b", where the second connection The last two characters of the font size are "C8", which indicates its position coordinates. In other words, when an electronic device or other user device wants to judge or obtain the position coordinates of the wireless network base station, it can judge according to the second character after the second hyphen. In other embodiments, other parts of the identification code ID1 may also include other location information, for example, the building code is "S6", the floor is "3F", the area code is "b", etc., without departing from the scope of the present invention. Under the concept, the setting order of the position coordinates in the identification code and the determination method thereof should be included in the embodiment of the present invention.

以下更進一步根據圖3並參酌圖2來說明本發明電子裝置定位方法之一實施例。在步驟S302中,電子裝置100透過無線網路來偵測附近無線網路基地台的所提供的無線網路訊號(例如,Wi-Fi),而在步驟S304中,取得該些偵測到的無線網路基地台的識別碼。舉例來說,若無線網路基地台AP1、AP2、AP3、AP4與電子裝置100的距離足夠近,意即電子裝置100可接收到無線網路基地台AP1、AP2、AP3、AP4的無線網路訊號,則在步驟S304中,電子裝置100可取得識別碼ID1、ID2、ID3、ID4。An embodiment of the method for positioning an electronic device according to the present invention is further described below with reference to FIG. 3 and referring to FIG. 2. In step S302, the electronic device 100 detects a wireless network signal (for example, Wi-Fi) provided by a nearby wireless network base station through a wireless network, and in step S304, obtains the detected signals. The identification code of the wireless network base station. For example, if the wireless network base stations AP1, AP2, AP3, AP4 are close enough to the electronic device 100, it means that the electronic device 100 can receive the wireless network of the wireless network base stations AP1, AP2, AP3, AP4. Signal, in step S304, the electronic device 100 can obtain the identification codes ID1, ID2, ID3, and ID4.

接著,在步驟S306中,電子裝置100判斷並比對所偵測到的無線網路基地台AP1、AP2、AP3、AP4的訊號強度值,藉此估計電子裝置100與無線網路基地台AP1、AP2、AP3、AP4的相對距離。為了簡化說明,在此實施例中,無線網路基地台AP1、AP2、AP3、AP4可為相同型號、規格的無線網路基地台,且發出的訊號強度大致相同,藉此,電子裝置100可透過無線網路基地台AP1、AP2、AP3、AP4的無線網路訊號的訊號強度值判斷訊號衰減程度,並進一步判斷相對距離。換句話說,電子裝置100所偵測到的無線網路基地台的訊號強度值越強,表示該無線網路基地台距離電子裝置100越近。Next, in step S306, the electronic device 100 determines and compares the detected signal strength values of the wireless network base stations AP1, AP2, AP3, and AP4, thereby estimating the electronic device 100 and the wireless network base stations AP1 and AP1. The relative distance between AP2, AP3, and AP4. In order to simplify the description, in this embodiment, the wireless network base stations AP1, AP2, AP3, and AP4 can be wireless network base stations of the same model and specifications, and the signal strengths sent out are approximately the same. Therefore, the electronic device 100 can The degree of signal attenuation is determined by the signal strength values of the wireless network signals of the wireless network base stations AP1, AP2, AP3, and AP4, and the relative distance is further determined. In other words, the stronger the signal strength value of the wireless network base station detected by the electronic device 100 is, the closer the wireless network base station is to the electronic device 100.

接著,在步驟S308中,電子裝置100解析無線網路基地台AP1、AP2、AP3、AP4中訊號強度值最高者之識別碼,以取得距離最近的無線網路基地台的位置座標。以圖2的實施例來說,由於無線網路基地台AP2距離電子裝置100最近,電子裝置100所偵測到無線網路訊號中,訊號強度值最高者為無線網路基地台AP2,因此在步驟S308中,電子裝置100將解析無線網路基地台AP2之識別碼ID2,以取得距離最近的無線網路基地台AP2的位置座標「I7」,意即,無線網路基地台AP2在區域200中的橫坐標為「I」而縱坐標「7」。Next, in step S308, the electronic device 100 analyzes the identification code of the highest signal strength value among the wireless network base stations AP1, AP2, AP3, and AP4 to obtain the position coordinates of the closest wireless network base station. According to the embodiment of FIG. 2, since the wireless network base station AP2 is closest to the electronic device 100, among the wireless network signals detected by the electronic device 100, the highest signal strength value is the wireless network base station AP2. In step S308, the electronic device 100 analyzes the identification code ID2 of the wireless network base station AP2 to obtain the position coordinate “I7” of the closest wireless network base station AP2, that is, the wireless network base station AP2 is in the area 200. The abscissa in the middle is "I" and the ordinate is "7".

最後,在步驟S310中,電子裝置100將解析後所取得的位置座標「I7」作為自身的估計位置座標儲存於暫存器110中,在無線網路基地台鋪設密度較高或是定位精度不需太高時,該估計位置座標可用做為電子裝置100定位使用。在一些實施例中,當其他的電子裝置(未顯示於圖中) 欲取得電子裝置100的位置時,該電子裝置可直接發送位置請求訊號至電子裝置100(例如,可透過無線區域網路、藍芽、ZigBee等通信介面),而電子裝置100收到位置請求訊號後可將估計位置座標「I7」回傳至該電子裝置,該電子裝置則可以知道電子裝置100大概的位置並應用於其他應用程序中(例如,透過顯示單元顯示電子裝置100的位置以供人員監控)。Finally, in step S310, the electronic device 100 stores the position coordinate "I7" obtained after analysis as its own estimated position coordinate in the temporary register 110, and has a high laying density or poor positioning accuracy on the wireless network base station. When it is too high, the estimated position coordinates can be used for positioning the electronic device 100. In some embodiments, when another electronic device (not shown in the figure) wants to obtain the position of the electronic device 100, the electronic device may directly send a position request signal to the electronic device 100 (for example, via a wireless local area network, Communication interfaces such as Bluetooth, ZigBee, etc.), and the electronic device 100 can return the estimated position coordinate "I7" to the electronic device after receiving the position request signal, and the electronic device can know the approximate position of the electronic device 100 and apply it to other In an application (for example, displaying the position of the electronic device 100 through a display unit for monitoring by a person).

另外,應了解到,雖上述實施例中所使用的座標為「I7」僅包括橫坐標與縱坐標,但並非用以限制本發明,隨著座標的設計和定義方式不同,識別碼還可包括其他位置資訊,例如,建築物代號、樓層、細部分區等。舉例來說,在圖2的實施例中,若識別碼ID2為「S6-3F-I7b」,電子裝置100解析識別碼ID2後可判斷目前所在位置的建築物代號為「S6」、樓層為「3F」、位置座標「I7」及細部分區為「b」等定位資訊。在本發明一些較佳的實施例中,網格202可以被劃分為更細部的分區,如圖2右側所示,網格202還可分為5個細部分區a、b、c、d、e,用以分別表示電子裝置或無線網路基地台於網格內的位置。應了解到,此細部分區的方式僅為舉例,並非用以限制本發明。In addition, it should be understood that although the coordinate "I7" used in the above embodiments includes only the abscissa and ordinate, it is not intended to limit the present invention. As the design and definition of the coordinates are different, the identification code may also include Other location information, such as building code, floor, detail, etc. For example, in the embodiment of FIG. 2, if the identification code ID2 is “S6-3F-I7b”, the electronic device 100 can analyze the identification code ID2 to determine that the current building code is “S6” and the floor is “ 3F ", position coordinate" I7 ", and detailed area is" b ". In some preferred embodiments of the present invention, the grid 202 may be divided into more detailed partitions. As shown on the right side of FIG. 2, the grid 202 may be further divided into 5 detailed areas a, b, c, d, and e. , Used to indicate the position of the electronic device or wireless network base station in the grid, respectively. It should be understood that the manner of this detailed section is merely an example and is not intended to limit the present invention.

以下更進一步根據圖4並參酌圖2來說明本發明電子裝置定位方法之另一實施例。在步驟S402中,電子裝置100透過無線網路來偵測附近無線網路基地台的所提供的無線網路訊號(例如,Wi-Fi),而在步驟S404中,取得該些偵測到的無線網路基地台的識別碼。舉例來說,若無線網路基地台AP1、AP2、AP3、AP4與電子裝置100的距離足夠近,意即電子裝置100可接收到無線網路基地台AP1、AP2、AP3、AP4的無線網路訊號,則在步驟S404中,電子裝置100可取得識別碼ID1、ID2、ID3、ID4。The following further describes another embodiment of the positioning method of the electronic device according to the present invention with reference to FIG. 4 and referring to FIG. 2. In step S402, the electronic device 100 detects a wireless network signal (for example, Wi-Fi) provided by a nearby wireless network base station through a wireless network, and in step S404, obtains the detected signals. The identification code of the wireless network base station. For example, if the wireless network base stations AP1, AP2, AP3, AP4 are close enough to the electronic device 100, it means that the electronic device 100 can receive the wireless network of the wireless network base stations AP1, AP2, AP3, AP4. Signal, in step S404, the electronic device 100 can obtain the identification codes ID1, ID2, ID3, and ID4.

接著,在步驟S406中,電子裝置100判斷並比對所偵測到的無線網路基地台AP1、AP2、AP3、AP4的訊號強度值,藉此估計電子裝置100與無線網路基地台AP1、AP2、AP3、AP4的相對距離。為了簡化說明,在此實施例中,無線網路基地台AP1、AP2、AP3、AP4可為相同型號、規格的無線網路基地台,且發出的訊號強度大致相同,藉此,電子裝置100可透過無線網路基地台AP1、AP2、AP3、AP4的無線網路訊號的訊號強度值判斷訊號衰減程度,並進一步判斷相對距離。換句話說,電子裝置100所偵測到的無線網路基地台的訊號強度值越強,表示該無線網路基地台距離電子裝置100越近。Next, in step S406, the electronic device 100 determines and compares the detected signal strength values of the wireless network base stations AP1, AP2, AP3, and AP4, thereby estimating the electronic device 100 and the wireless network base stations AP1 and AP1. The relative distance between AP2, AP3, and AP4. In order to simplify the description, in this embodiment, the wireless network base stations AP1, AP2, AP3, and AP4 can be wireless network base stations of the same model and specifications, and the signal strengths sent out are approximately the same. Therefore, the electronic device 100 can The degree of signal attenuation is determined by the signal strength values of the wireless network signals of the wireless network base stations AP1, AP2, AP3, and AP4, and the relative distance is further determined. In other words, the stronger the signal strength value of the wireless network base station detected by the electronic device 100 is, the closer the wireless network base station is to the electronic device 100.

接著,在步驟S408中,電子裝置100解析無線網路基地台AP1、AP2、AP3、AP4中訊號強度值最高的前三者之識別碼,以取得距離最近的三個無線網路基地台的位置座標。以圖2的實施例來說,無線網路基地台與電子裝置100的距離由近至遠依序為無線網路基地台AP2、AP1、AP3、AP4,電子裝置100所偵測到無線網路訊號中,訊號強度值最高者的前三者為無線網路基地台AP2、AP1、AP3,因此在步驟S408中,電子裝置100將解析無線網路基地台AP1、AP2、AP3之識別碼ID1、ID2、ID3,以取得無線網路基地台AP1的位置座標「C8」、無線網路基地台AP2的位置座標「I7」以及無線網路基地台AP3的位置座標「C2」。Next, in step S408, the electronic device 100 analyzes the identification codes of the first three of the wireless network base stations AP1, AP2, AP3, and AP4 with the highest signal strength values to obtain the positions of the three wireless network base stations closest to each other. coordinate. According to the embodiment of FIG. 2, the distance between the wireless network base station and the electronic device 100 is from wireless network base stations AP2, AP1, AP3, and AP4 in that order. The wireless network detected by the electronic device 100 Among the signals, the first three of the highest signal strength values are the wireless network base stations AP2, AP1, AP3, so in step S408, the electronic device 100 will analyze the identification codes ID1, of the wireless network base stations AP1, AP2, AP3. ID2 and ID3 to obtain the position coordinate "C8" of the wireless network base station AP1, the position coordinate "I7" of the wireless network base station AP2, and the position coordinate "C2" of the wireless network base station AP3.

接著,在步驟S410中,電子裝置100再根據無線網路基地台訊號強度值最高的前三者(無線網路基地台AP2、AP1、AP3)之訊號強度值以及其位置座標(「C8」、「I7」、「C2」)以三角定位法計算出電子裝置100之估計位置座標。在無線網路基地台鋪設密度不高或定位精度需求較高時,可藉由三角定位法計算估計位置座標,使得電子裝置100的估計位置座標與實際位置座標更為接近。應了解到,在一些實施例中,電子裝置100可預存有各無線基地台的功率、訊號/距離衰減率等相關資訊,當電子裝置100取得無線網路基地台的訊號強度值之後,可藉此資訊來估算電子裝置100與該無線網路基地台的距離。因此,電子裝置100在取得無線網路基地台訊號強度值最高的前三者之訊號強度值以及其相對應的位置座標後,可以三角定位法計算出電子裝置100之估計位置座標。Next, in step S410, the electronic device 100 then according to the signal strength values of the first three (wireless network base stations AP2, AP1, AP3) and the position coordinates ("C8", "I7", "C2") calculates the estimated position coordinates of the electronic device 100 using the triangulation method. When the laying density of the wireless network base station is not high or the positioning accuracy is high, the estimated position coordinates can be calculated by the triangular positioning method, so that the estimated position coordinates of the electronic device 100 are closer to the actual position coordinates. It should be understood that, in some embodiments, the electronic device 100 may pre-store related information such as the power, signal / distance attenuation rate of each wireless base station, and after the electronic device 100 obtains the signal strength value of the wireless network base station, it may borrow This information is used to estimate the distance between the electronic device 100 and the wireless network base station. Therefore, after the electronic device 100 obtains the signal strength values of the first three of the wireless network base station signal strength values and their corresponding position coordinates, the electronic device 100 can calculate the estimated position coordinates of the electronic device 100 using the triangle positioning method.

最後,在步驟S412中,電子裝置100將估計位置座標儲存於暫存器110中,用做為電子裝置100定位使用。在一些實施例中,當其他的電子裝置(未顯示於圖中) 欲取得電子裝置100的位置時,該電子裝置可直接發送位置請求訊號至電子裝置100(例如,可透過無線區域網路、藍芽、ZigBee等通信介面),而電子裝置100收到位置請求訊號後可將估計位置座標回傳至該電子裝置,該電子裝置則可以知道電子裝置100大概的位置並應用於其他應用程序中(例如,透過顯示單元顯示電子裝置100的位置以供人員監控)。Finally, in step S412, the electronic device 100 stores the estimated position coordinates in the register 110 for use as a positioning device of the electronic device 100. In some embodiments, when another electronic device (not shown in the figure) wants to obtain the position of the electronic device 100, the electronic device may directly send a position request signal to the electronic device 100 (for example, via a wireless local area network, Communication interfaces such as Bluetooth, ZigBee, etc.), and the electronic device 100 can return the estimated position coordinates to the electronic device after receiving the position request signal, and the electronic device can know the approximate location of the electronic device 100 and apply it to other applications (For example, the position of the electronic device 100 is displayed through a display unit for personnel monitoring).

本發明透過無線網路基地台的識別碼,例如,服務設定識別碼(Service Set Identifier;SSID)或擴充功能服務設定識別碼(ESSID),來做為位置座標的辨識,相較於傳統上必須經由各裝置或基地台的控制主機來存取位置資訊,更為容易讀取並判別位置資訊。此外,即便各網路基地台因安全理由而需要設置密碼來限制使用者存取其無線網路,使用者的電子裝置仍可偵測到網路基地台的識別碼並藉此判別位置,不會受到存取限制而影響電子裝置的定位,在裝置定位的應用上也更有彈性。再者,任意需要被追蹤定位的電子裝置都可透過此本發明的方式取得自身的位置資訊並儲存在暫存器中,因此相關的追蹤管理系統或裝置,可直接向該電子裝置請求位置資訊,而不須經過複雜的資料交換或認證程序,也使得電子裝置之間的位置資訊傳遞更為方便快速。The present invention uses the identification code of the wireless network base station, such as a Service Set Identifier (SSID) or an Extended Function Service Set Identification (ESSID), to identify the position coordinates, compared with the traditional need to The location information is accessed via the control host of each device or base station, making it easier to read and determine location information. In addition, even if each network base station needs to set a password to restrict users' access to their wireless network for security reasons, the user's electronic device can still detect the network base station's identification code and use this to determine the location. Will be affected by access restrictions to affect the positioning of the electronic device, and also more flexible in the application of device positioning. Furthermore, any electronic device that needs to be tracked and located can obtain its own location information through the method of the present invention and store it in a temporary register. Therefore, the related tracking management system or device can directly request the location information from the electronic device. , Without having to go through complicated data exchange or authentication procedures, it also makes it easier and faster to transfer location information between electronic devices.

本發明之方法,或特定型態或其部份,可以以程式碼的型態存在。程式碼可以包含於實體媒體,如軟碟、光碟片、硬碟、或是任何其他機器可讀取(如電腦可讀取)儲存媒體,亦或不限於外在形式之電腦程式產品,其中,當程式碼被機器,如電腦載入且執行時,此機器變成用以參與本發明之裝置。程式碼也可以透過一些傳送媒體,如電線或電纜、光纖、或是任何傳輸型態進行傳送,其中,當程式碼被機器,如電腦接收、載入且執行時,此機器變成用以參與本發明之裝置。當在一般用途處理單元實作時,程式碼結合處理單元提供一操作類似於應用特定邏輯電路之獨特裝置。The method of the present invention, or a specific form or part thereof, may exist in the form of a code. The code may be contained in physical media, such as a floppy disk, CD-ROM, hard disk, or any other machine-readable (such as computer-readable) storage medium, or is not limited to an external form of computer program product. When the code is loaded and executed by a machine, such as a computer, the machine becomes a device for participating in the invention. The code can also be transmitted through some transmission media, such as wires or cables, fiber optics, or any transmission type. Where the code is received, loaded, and executed by a machine, such as a computer, the machine becomes used to participate in the Invented device. When implemented in a general-purpose processing unit, the code in combination with the processing unit provides a unique device that operates similar to an application-specific logic circuit.

本發明雖已敘述較佳之實施例如上,但應了解上述所揭露並非用以限制本發明實施例。相反地,其涵蓋多種變化以及相似的配置(熟知此技術者可明顯得知)。此外,應根據後附之申請專利範圍作最廣義的解讀以包含所有上述的變化以及相似的配置。Although the preferred embodiments of the present invention have been described above, it should be understood that the above disclosure is not intended to limit the embodiments of the present invention. Instead, it encompasses multiple variations and similar configurations (as will be apparent to those skilled in the art). In addition, the scope of patent application attached should be interpreted in the broadest sense to include all the above-mentioned changes and similar configurations.

100‧‧‧電子裝置100‧‧‧ electronic device

110‧‧‧暫存器110‧‧‧Register

200‧‧‧區域200‧‧‧ area

202‧‧‧網格202‧‧‧Grid

1、2、3、4、5、6、7、8‧‧‧縱坐標1, 2, 3, 4, 5, 6, 7, 8‧‧‧ ordinate

A、B、C、D、E、F、G、H、I、J‧‧‧橫坐標A, B, C, D, E, F, G, H, I, J‧‧‧ abscissa

a、b、c、d、e‧‧‧細部分區a, b, c, d, e‧‧‧ details

AP2、AP1、AP3、AP4‧‧‧無線網路基地台AP2, AP1, AP3, AP4‧‧‧ wireless network base station

ID1、ID2、ID3、ID4‧‧‧識別碼ID1, ID2, ID3, ID4‧‧‧ identification code

圖1係顯示根據本發明一實施例所述之無線網路基地台與電子裝置之示意圖。 圖2係顯示根據本發明一實施例所述之電子裝置以及無線網路基地台設置於一區域內的示意圖。 圖3係顯示根據本發明一實施例所述之電子裝置定位方法之運作流程。 圖4係顯示根據本發明另一實施例所述之電子裝置定位方法之運作流程。FIG. 1 is a schematic diagram showing a wireless network base station and an electronic device according to an embodiment of the present invention. FIG. 2 is a schematic diagram showing that an electronic device and a wireless network base station are disposed in an area according to an embodiment of the present invention. FIG. 3 shows an operation flow of the electronic device positioning method according to an embodiment of the present invention. FIG. 4 shows an operation flow of the electronic device positioning method according to another embodiment of the present invention.

Claims (6)

一種電子裝置定位方法,適用於具有複數無線網路基地台之一區域以及具有無線網路連接功能之一第一電子裝置,上述電子裝置定位方法包括:將上述區域劃分成複數網格,且各網格具有一位置座標;根據上述無線網路基地台所在的上述網格之上述位置座標設置各上述無線網路基地台之一識別碼,且上述識別碼為服務設定識別碼(Service Set Identifier;SSID)或擴充功能服務設定識別碼(ESSID),上述無線網路基地台之上述識別碼至少包括上述無線網路基地台所在之上述網格對應的上述位置座標;上述第一電子裝置透過無線網路偵測上述無線網路基地台;上述第一電子裝置取得上述無線網路基地台中至少一者之上述識別碼;以及上述第一電子裝置解析所取得之上述識別碼以產生一估計位置座標,其中,上述估計位置座標用以指示上述第一電子裝置於上述區域所在之位置。An electronic device positioning method is applicable to an area having a plurality of wireless network base stations and a first electronic device having a wireless network connection function. The electronic device positioning method includes: dividing the area into a plurality of grids, and The grid has a position coordinate; an identification code of each of the wireless network base stations is set according to the position coordinates of the grid where the wireless network base station is located, and the identification code is a service set identifier (Service Set Identifier; SSID) or extended service setting identification code (ESSID), the identification code of the wireless network base station at least includes the position coordinates corresponding to the grid where the wireless network base station is located; the first electronic device passes the wireless network Detecting the wireless network base station; the first electronic device obtaining the identification code of at least one of the wireless network base stations; and the first electronic device analyzing the obtained identification code to generate an estimated position coordinate, The estimated position coordinates are used to indicate that the first electronic device is in the area. In the position. 根據申請專利範圍第1項之電子裝置定位方法,其中,上述識別碼之一第一部分為上述位置座標之一第一軸座標,所取得的上述識別碼之一第二部分為上述位置座標之一第二軸座標。The electronic device positioning method according to item 1 of the scope of patent application, wherein a first part of one of the identification codes is a first axis coordinate of the position coordinates, and a second part of one of the obtained identification codes is one of the position coordinates. Coordinates of the second axis. 根據申請專利範圍第1項之電子裝置定位方法,更包括:上述第一電子裝置判斷所偵測到的上述無線網路基地台的訊號強度值;上述第一電子裝置取得上述無線網路基地台中訊號強度值最高者之上述識別碼;以及上述第一電子裝置解析所取得之上述識別碼以產生上述估計位置座標。The electronic device positioning method according to item 1 of the scope of patent application, further comprising: the first electronic device determining the detected signal strength value of the wireless network base station; the first electronic device obtaining the wireless network base station The identification code of the highest signal strength value; and the first electronic device analyzes the obtained identification code to generate the estimated position coordinates. 根據申請專利範圍第1項之電子裝置定位方法,更包括:上述第一電子裝置判斷所偵測到的上述無線網路基地台的訊號強度值;上述第一電子裝置取得上述無線網路基地台中訊號強度值最高的前三者之上述識別碼;上述第一電子裝置解析所取得之三個上述識別碼以產生對應於上述無線網路基地台訊號強度值最高的前三者所在上述網格所對應之上述位置座標;以及根據上述無線網路基地台訊號強度值最高的前三者之訊號強度值以及上述位置座標以一三角定位法計算出對應於上述第一電子裝置之上述估計位置座標。The electronic device positioning method according to item 1 of the scope of patent application, further comprising: the first electronic device determining the detected signal strength value of the wireless network base station; the first electronic device obtaining the wireless network base station The above three identification codes of the first three with the highest signal strength value; the first electronic device parses the three above obtained identification codes to generate the grid corresponding to the first three with the highest signal strength value of the wireless network base station Corresponding to the above-mentioned position coordinates; and calculating the estimated position coordinates corresponding to the first electronic device by a triangular positioning method based on the signal strength values of the first three which have the highest signal strength value of the wireless network base station and the above-mentioned position coordinates. 根據申請專利範圍第1項之電子裝置定位方法,其中,上述第一電子裝置具有一暫存器,上述電子裝置定位方法更包括:上述第一電子裝置產生上述估計位置座標後,將上述估計位置座標儲存於上述暫存器中。The electronic device positioning method according to item 1 of the scope of patent application, wherein the first electronic device has a temporary register, and the electronic device positioning method further includes: after the first electronic device generates the estimated position coordinates, the estimated position is The coordinates are stored in the above register. 根據申請專利範圍第1項之電子裝置定位方法,更包括:透過一第二電子裝置發送一位置請求訊號至上述第一電子裝置;以及當上述電子裝置收到上述位置請求訊號時,將上述估計位置座標回傳至上述第二電子裝置。The electronic device positioning method according to item 1 of the scope of patent application, further comprising: sending a position request signal to the first electronic device through a second electronic device; and when the electronic device receives the position request signal, the estimation is performed. The position coordinates are transmitted back to the second electronic device.
TW107123448A 2018-07-06 2018-07-06 Electronic device positioning method TWI659664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107123448A TWI659664B (en) 2018-07-06 2018-07-06 Electronic device positioning method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107123448A TWI659664B (en) 2018-07-06 2018-07-06 Electronic device positioning method

Publications (2)

Publication Number Publication Date
TWI659664B true TWI659664B (en) 2019-05-11
TW202007213A TW202007213A (en) 2020-02-01

Family

ID=67349001

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107123448A TWI659664B (en) 2018-07-06 2018-07-06 Electronic device positioning method

Country Status (1)

Country Link
TW (1) TWI659664B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1678126A (en) * 2004-03-30 2005-10-05 明基电通股份有限公司 Method for using base station power measurements to detect position of mobile stations
WO2012053790A2 (en) * 2010-10-20 2012-04-26 에스케이텔레콤 주식회사 Method for managing peripheral wireless lan signal, and device, ap, positioning server, and terminal for same
US20140045520A1 (en) * 2012-08-05 2014-02-13 Lg Electronics Inc. Apparatus and method for measuring position of terminal located in indoor using wireless network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1678126A (en) * 2004-03-30 2005-10-05 明基电通股份有限公司 Method for using base station power measurements to detect position of mobile stations
WO2012053790A2 (en) * 2010-10-20 2012-04-26 에스케이텔레콤 주식회사 Method for managing peripheral wireless lan signal, and device, ap, positioning server, and terminal for same
US20140045520A1 (en) * 2012-08-05 2014-02-13 Lg Electronics Inc. Apparatus and method for measuring position of terminal located in indoor using wireless network

Also Published As

Publication number Publication date
TW202007213A (en) 2020-02-01

Similar Documents

Publication Publication Date Title
JP6785768B2 (en) Methods and devices for positioning mobile terminals based on the geomagnetism
US9602970B1 (en) Modifying geofence boundaries
US10422645B2 (en) Electronic apparatus providing indoor navigation and method thereof
US9781546B2 (en) Server information handling system wireless management and topology
JP5680649B2 (en) Apparatus and method for building and using a beacon location database
US11852738B2 (en) Positioning system and method
EP2681581B1 (en) Rssi-based indoor positioning in the presence of dynamic transmission power control access points
US9374674B2 (en) Method and apparatus for recognizing indoor location using received signal strength intensity map
US9807728B2 (en) Server information handling system wireless management and topology
US8462049B2 (en) Apparatus and method for constructing and utilizing a beacon location database
TWI481893B (en) Apparatus employing a proximity and context-based global positioning mechanism, and system and method for semantically deducing geographic locations of computing devices
US10009733B2 (en) Method and system for determining a position of a mobile device by an access point
CN111935820B (en) Positioning implementation method based on wireless network and related equipment
US20210176728A1 (en) System and methods for locating a mobile device
CN104995930A (en) Building floor determination for a location based service
CN104618869A (en) Indoor positioning method and device
KR20170032147A (en) A terminal for measuring a position and method thereof
CN105247951A (en) Apparatus and method for providing location-based service using indoor positioning
EP2928245A1 (en) A wireless access point, a transmitter-implemented method, a mobile user device and a user-implemented method for localization
US11722986B2 (en) Positioning system for continuously and accurately updating position value of wireless LAN AP, and method therefor
TWI659664B (en) Electronic device positioning method
CN104457733A (en) Indoor electronic device positioning system and method
CN107529143A (en) Method of locating terminal, system, device and computer-readable storage medium
US20130088982A1 (en) Method and apparatus for controlling coverage of wireless transceiver
KR102646378B1 (en) System and method for providing virtual beacon service, and apparatus for executing virtual beacon service

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees