TWI545334B - Apparatuses for indoor positioning - Google Patents

Apparatuses for indoor positioning Download PDF

Info

Publication number
TWI545334B
TWI545334B TW104118084A TW104118084A TWI545334B TW I545334 B TWI545334 B TW I545334B TW 104118084 A TW104118084 A TW 104118084A TW 104118084 A TW104118084 A TW 104118084A TW I545334 B TWI545334 B TW I545334B
Authority
TW
Taiwan
Prior art keywords
indoor positioning
positioning device
announcement message
announcer
processing unit
Prior art date
Application number
TW104118084A
Other languages
Chinese (zh)
Other versions
TW201643462A (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 TW104118084A priority Critical patent/TWI545334B/en
Priority to CN201510347645.7A priority patent/CN106255199B/en
Priority to US14/873,755 priority patent/US9635498B2/en
Application granted granted Critical
Publication of TWI545334B publication Critical patent/TWI545334B/en
Publication of TW201643462A publication Critical patent/TW201643462A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/0009Transmission of position information to remote stations
    • G01S5/0081Transmission between base stations
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/14Determining absolute distances from a plurality of spaced points of known location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Description

室內定位裝置 Indoor positioning device

本發明關連於一種定位技術,特別是一種室內定位方法以及使用該方法的裝置。 The present invention relates to a positioning technique, and more particularly to an indoor positioning method and apparatus using the same.

目前的全球定位系統(GPS,Global Positioning System)或輔助全球定位系統(AGPS,Assisted Global Positioning System)透過追蹤衛星訊號來計算位置。然而,衛星訊號容易被建築物遮蔽,並不適合運用在室內的場合。因此,需要一種室內定位方法以及使用該方法的裝置,解決以上所述的問題。 The current Global Positioning System (GPS) or the Assisted Global Positioning System (AGPS) calculates the position by tracking satellite signals. However, satellite signals are easily obscured by buildings and are not suitable for indoor use. Therefore, there is a need for an indoor positioning method and apparatus using the same that solve the above-described problems.

本發明的實施例提出一種室內定位方法,由從節點中之處理單元執行,包含以下步驟。於啟動室內定位功能時,將從節點設定為不接受連線狀態。於公告狀態中週期性廣播公告訊息,其中包含代表從節點的識別碼、發送公告訊息時的時間戳記以及發送功率。 Embodiments of the present invention propose an indoor positioning method, which is executed by a processing unit in a slave node, and includes the following steps. When the indoor positioning function is activated, the slave node is set to not accept the connection status. The announcement message is periodically broadcast in the announcement state, which includes the identification code representing the slave node, the time stamp when the announcement message is sent, and the transmission power.

本發明的實施例另提出一種室內定位方法,由主節點中之處理單元執行,包含以下步驟。於掃描階段中從公告者取得公告訊息中的發送功率;計算公告訊息的接收強度;依據發送功率及接收強度計算衰減程度;依據上述衰減程度決定 電子裝置與公告者間的距離;以及將相應於公告者的定位資訊傳送至定位伺服器。定位資訊包含主節點的位置、公告者的識別碼、公告訊息中的時間戳記以及計算出的距離,使得定位伺服器可依據定位資訊計算公告者的位置。 An embodiment of the present invention further provides an indoor positioning method, which is executed by a processing unit in a master node, and includes the following steps. Obtaining the transmission power in the announcement message from the announcer in the scanning phase; calculating the reception strength of the announcement message; calculating the attenuation degree according to the transmission power and the reception intensity; determining according to the attenuation degree The distance between the electronic device and the announcer; and the positioning information corresponding to the announcer is transmitted to the positioning server. The location information includes the location of the master node, the advertiser's identification code, the timestamp in the announcement message, and the calculated distance, so that the location server can calculate the advertiser's location based on the location information.

本發明的實施例提出一種室內定位裝置,包含通訊介面及處理單元。處理單元,耦接於通訊介面,於啟動室內定位功能時,將電子裝置設定為不接受連線狀態;以及於公告狀態中透過通訊介面週期性廣播公告訊息。公告訊息包含代表電子裝置的識別碼、發送公告訊息時的時間戳記以及發送功率。 Embodiments of the present invention provide an indoor positioning device including a communication interface and a processing unit. The processing unit is coupled to the communication interface, and when the indoor positioning function is activated, the electronic device is set to not accept the connection state; and the announcement message is periodically broadcasted through the communication interface in the announcement state. The announcement message contains an identification code representing the electronic device, a time stamp when the announcement message is sent, and the transmission power.

本發明的實施例另提出一種室內定位裝置,包含通訊介面及處理單元。處理單元,耦接於通訊介面,於掃描階段中透過通訊介面從公告者取得公告訊息中的發送功率;計算公告訊息的接收強度;依據發送功率及接收強度計算衰減程度;依據衰減程度決定電子裝置與公告者間的距離;以及將相應於公告者的定位資訊傳送至定位伺服器。定位資訊包含電子裝置的位置、公告者的識別碼、公告訊息中的時間戳記以及計算出的距離,使得定位伺服器可依據定位資訊計算公告者的位置。 Another embodiment of the present invention provides an indoor positioning device including a communication interface and a processing unit. The processing unit is coupled to the communication interface, and obtains the transmission power in the announcement message from the announcer through the communication interface in the scanning phase; calculates the reception strength of the announcement message; calculates the attenuation degree according to the transmission power and the reception intensity; determines the electronic device according to the attenuation degree The distance from the announcer; and the location information corresponding to the announcer is transmitted to the location server. The location information includes the location of the electronic device, the advertiser's identification code, the timestamp in the announcement message, and the calculated distance, so that the location server can calculate the advertiser's location based on the location information.

10‧‧‧室內定位系統 10‧‧‧ indoor positioning system

110‧‧‧區域網路/網際網路 110‧‧‧Local Network/Internet

131~136‧‧‧藍芽節點 131~136‧‧‧Bluetooth Node

150‧‧‧行動裝置 150‧‧‧ mobile device

170‧‧‧定位伺服器 170‧‧‧Location Server

210‧‧‧處理單元 210‧‧‧Processing unit

220‧‧‧顯示單元 220‧‧‧ display unit

230‧‧‧輸入裝置 230‧‧‧ Input device

240‧‧‧儲存裝置 240‧‧‧Storage device

250‧‧‧記憶體 250‧‧‧ memory

260‧‧‧通訊介面 260‧‧‧Communication interface

310‧‧‧處理單元 310‧‧‧Processing unit

330‧‧‧輸入裝置 330‧‧‧ Input device

340‧‧‧儲存裝置 340‧‧‧Storage device

350‧‧‧記憶體 350‧‧‧ memory

360‧‧‧通訊介面 360‧‧‧Communication interface

S410‧‧‧掃描狀態 S410‧‧‧ scan status

S420‧‧‧待命狀態 S420‧‧‧ Standby

S430‧‧‧初始化階段 S430‧‧‧ Initialization phase

S440‧‧‧連線階段 S440‧‧‧ connection phase

S450‧‧‧公告狀態 S450‧‧‧ Announcement Status

S510~S560‧‧‧方法步驟 S510~S560‧‧‧ method steps

S610~S650‧‧‧方法步驟 S610~S650‧‧‧ method steps

第1圖係依據本發明實施例之室內定位系統的網路架構圖。 1 is a network architecture diagram of an indoor positioning system according to an embodiment of the present invention.

第2圖係依據本發明實施例的運算裝置的系統架構圖。 2 is a system architecture diagram of an arithmetic device according to an embodiment of the present invention.

第3圖係依據本發明實施例的運算裝置的系統架構圖。 Figure 3 is a system architecture diagram of an arithmetic device in accordance with an embodiment of the present invention.

第4圖係依據本發明實施例的連接層狀態機示意圖。 Figure 4 is a schematic diagram of a connection layer state machine in accordance with an embodiment of the present invention.

第5圖係依據本發明實施例之由行動裝置的處理單元執行的室內定位方法流程圖。 Figure 5 is a flow diagram of an indoor positioning method performed by a processing unit of a mobile device in accordance with an embodiment of the present invention.

第6圖係依據本發明實施例之由藍芽節點的處理單元於掃描狀態執行的室內定位方法流程圖。 Figure 6 is a flow chart showing an indoor positioning method performed by a processing unit of a Bluetooth node in a scanning state according to an embodiment of the present invention.

以下說明係為完成發明的較佳實現方式,其目的在於描述本發明的基本精神,但並不用以限定本發明。實際的發明內容必須參考之後的權利要求範圍。 The following description is a preferred embodiment of the invention, which is intended to describe the basic spirit of the invention, but is not intended to limit the invention. The actual inventive content must be referenced to the scope of the following claims.

必須了解的是,使用於本說明書中的”包含”、”包括”等詞,係用以表示存在特定的技術特徵、數值、方法步驟、作業處理、元件以及/或組件,但並不排除可加上更多的技術特徵、數值、方法步驟、作業處理、元件、組件,或以上的任意組合。 It must be understood that the terms "comprising", "comprising" and "the" are used in the <RTI ID=0.0> </RTI> <RTIgt; </ RTI> to indicate the existence of specific technical features, numerical values, method steps, work processes, components and/or components, but do not exclude Add more technical features, values, method steps, job processing, components, components, or any combination of the above.

於權利要求中使用如”第一”、"第二"、"第三"等詞係用來修飾權利要求中的元件,並非用來表示之間具有優先權順序,先行關係,或者是一個元件先於另一個元件,或者是執行方法步驟時的時間先後順序,僅用來區別具有相同名字的元件。 The words "first", "second", and "third" are used in the claims to modify the elements in the claims, and are not used to indicate a priority order, an advance relationship, or a component. Prior to another component, or the chronological order in which the method steps are performed, it is only used to distinguish components with the same name.

第1圖係依據本發明實施例之室內定位系統10的網路架構圖。例如,一個三度空間中包含六個藍芽節點(Bluetooth Node)131至136,而使用者可攜帶行動裝置150在三度空間中任意移動,並藉由藍芽節點131至136的幫助知道目前的位置。藍芽節點131至136中之每一者設置在一個三度空間中 的固定位置。行動裝置150可以是手機、平板電腦、筆記型電腦、智慧型手表等。藍芽節點131至136形成一個多路徑網路(mesh network),其中的每一者可與鄰近節點相互通訊。藍芽節點131可同時配備有區域網路(LAN,Local Area Network)模組或無線區域網路(WLAN,Wireless Local Area Network)模組,用以連接上區域網路、網際網路或以上兩者110。藍芽節點131至136中之任一者可擁有中繼器(repeater)的功能,使得資料可以逐一傳遞至沒有直接連接上的節點。例如,雖然藍芽節點136因為距離或發送功率的限制不能直接連接上藍芽節點133,但卻可以透過藍芽節點134或135將資料傳遞至藍芽節點133。行動裝置150使用特定通訊(例如,Bluetooth 4.0)持續廣播公告訊息(Advertising messages),其中至少包含代表行動裝置150的識別碼、時間戳記(Timestamp)與發送功率(Tx Power)的資訊。藍芽節點131至136中之任一者取得行動裝置150廣播的公告訊息,計算此公告訊息的接收強度,依據公告訊息中的發送功率與計算出的接收強度決定衰減程度,並且依據衰減程度決定與行動裝置150間的距離。藍芽節點131至136中之任一者另可將定位資訊,例如自己的三度空間位置、行動裝置150的識別資訊、公告訊息的時間戳記以及計算出的距離,經由其他藍芽節點(如有必要)以及區域網路、網際網路或以上兩者110傳送至定位伺服器170。定位伺服器170持續蒐集藍芽節點131至136回報的定位資訊,並據以使用多角定位方法來更新行動裝置150的三度空間位置。 1 is a network architecture diagram of an indoor positioning system 10 in accordance with an embodiment of the present invention. For example, a three-dimensional space contains six Bluetooth Nodes 131 to 136, and the user can carry the mobile device 150 to move freely in the three-dimensional space, and knows the current help by the Bluetooth nodes 131 to 136. s position. Each of the Bluetooth nodes 131 to 136 is placed in a three-dimensional space Fixed location. The mobile device 150 can be a mobile phone, a tablet computer, a notebook computer, a smart watch, or the like. The Bluetooth nodes 131 through 136 form a multi-mesh network, each of which can communicate with neighboring nodes. The Bluetooth node 131 can be equipped with a Local Area Network (LAN) module or a Wireless Local Area Network (WLAN) module for connecting to the local area network, the Internet, or both. 110. Any of the Bluetooth nodes 131 to 136 may have the function of a repeater so that data can be transferred one by one to nodes that are not directly connected. For example, although the Bluetooth node 136 cannot directly connect to the Bluetooth node 133 due to distance or transmission power limitations, the data can be passed to the Bluetooth node 133 via the Bluetooth node 134 or 135. The mobile device 150 continuously broadcasts advertisement messages using a specific communication (e.g., Bluetooth 4.0) including at least information representing the identification code, timestamp, and transmission power (Tx Power) of the mobile device 150. The Bluetooth node 131 to 136 obtains the announcement message broadcast by the mobile device 150, calculates the reception strength of the announcement message, determines the attenuation degree according to the transmission power in the announcement message and the calculated reception strength, and determines the attenuation degree according to the attenuation degree. The distance from the mobile device 150. Any one of the Bluetooth nodes 131 to 136 may further locate positioning information, such as its own three-dimensional spatial location, identification information of the mobile device 150, time stamp of the announcement message, and the calculated distance, via other Bluetooth nodes (eg, It is necessary) and the local area network, the Internet, or both 110 to transmit to the location server 170. The location server 170 continuously collects the location information reported by the Bluetooth nodes 131-136 and uses the multi-angle positioning method to update the three-dimensional position of the mobile device 150 accordingly.

第2圖係依據本發明實施例的運算裝置的系統架 構圖。此系統架構可實施於行動裝置150以及定位伺服器170,至少包含處理單元210。處理單元210可使用多種方式實施,例如以專用硬體電路或通用硬體(例如,單一處理器、具平行處理能力的多處理器、圖形處理器或其他具運算能力的處理器),並且在執行程式碼或軟體時,提供之後所描述的功能。系統架構另包含記憶體250用以儲存執行過程中需要的資料,例如,變數、資料表(data tables)等,以及儲存裝置240,用以儲存各式各樣的電子檔案,例如,網頁、文件、音訊檔、視訊檔等。系統架構另包含通訊介面260,讓處理單元210可藉以跟藍芽節點131至136或其他電子裝置進行溝通。通訊介面260可以是低成本、低耗電的藍芽模組。輸入裝置230可包含鍵盤、滑鼠、觸控面板等。使用者可按壓鍵盤上的硬鍵來輸入字元,藉由操作滑鼠來控制鼠標,或者是在觸控面板製造手勢來控制執行中的應用程式。手勢可包含單擊、雙擊、單指拖曳、多指拖曳等,但不限定於此。顯示單元220可包含顯示面板(例如,薄膜液晶顯示面板、有機發光二極體面板或其他具顯示能力的面板),用以顯示輸入的字元、數字、符號、拖曳鼠標的移動軌跡、繪製的圖案或應用程式所提供的畫面,提供給使用者觀看。 2 is a system frame of an arithmetic device according to an embodiment of the present invention Composition. The system architecture can be implemented on the mobile device 150 and the location server 170, including at least the processing unit 210. The processing unit 210 can be implemented in a variety of manners, such as a dedicated hardware circuit or a general purpose hardware (eg, a single processor, a multiprocessor with parallel processing capabilities, a graphics processor, or other computing capable processor), and When the code or software is executed, the functions described later are provided. The system architecture further includes a memory 250 for storing data required for execution, such as variables, data tables, etc., and a storage device 240 for storing various electronic files, such as web pages and files. , audio files, video files, etc. The system architecture further includes a communication interface 260 for the processing unit 210 to communicate with the Bluetooth nodes 131-136 or other electronic devices. The communication interface 260 can be a low cost, low power Bluetooth module. The input device 230 can include a keyboard, a mouse, a touch panel, and the like. The user can press a hard key on the keyboard to enter a character, control the mouse by operating the mouse, or create a gesture on the touch panel to control the executing application. The gesture may include, but is not limited to, a click, a double click, a single-finger drag, a multi-finger drag, and the like. The display unit 220 can include a display panel (eg, a thin film liquid crystal display panel, an organic light emitting diode panel, or other display capable panel) for displaying input characters, numbers, symbols, dragging the mouse's movement track, and drawing The picture provided by the pattern or application is provided for viewing by the user.

第3圖係依據本發明實施例的運算裝置的系統架構圖。此系統架構可實施於藍芽節點131至136中之任一者,至少包含處理單元310。處理單元310可使用多種方式實施,例如以專用硬體電路或通用硬體(例如,單一處理器、具平行處理能力的多處理器、圖形處理器或其他具運算能力的處理器), 並且在執行程式碼或軟體時,提供之後所描述的功能。系統架構另包含記憶體350用以儲存執行過程中需要的資料,例如,變數、資料表等,以及儲存裝置340,用以儲存各式各樣的電子檔案。系統架構另包含通訊介面360,讓處理單元310可藉以跟行動裝置150或其他無線裝置進行溝通。通訊介面360可以是低成本、低耗電的藍芽模組。 Figure 3 is a system architecture diagram of an arithmetic device in accordance with an embodiment of the present invention. This system architecture can be implemented in any of the Bluetooth nodes 131-136, including at least the processing unit 310. The processing unit 310 can be implemented in a variety of manners, such as dedicated hardware circuits or general purpose hardware (eg, a single processor, multiple processors with parallel processing capabilities, graphics processors, or other computing capable processors). And when the code or software is executed, the functions described later are provided. The system architecture further includes a memory 350 for storing data required for execution, such as variables, data sheets, etc., and a storage device 340 for storing a variety of electronic files. The system architecture further includes a communication interface 360 for the processing unit 310 to communicate with the mobile device 150 or other wireless device. The communication interface 360 can be a low cost, low power Bluetooth module.

於佈署時,藍芽節點131至136組態為主節點(master nodes),而行動裝置150組態為從節點(slave node)。藍芽節點131至136及行動裝置150於連接層(link layer)各自實施一個狀態機(state machine),用以管理藍芽節點131至136中之一者及行動裝置150間於連接層中的訊息交換以及執行相應於接收到訊息的處理。第4圖係依據本發明實施例的連接層狀態機示意圖。當開機或開啟藍芽時,藍芽節點131至136及行動裝置150皆處於待命(Standby)狀態S420。接著,行動裝置150周期性地由待命狀態S420進入公告(Advertising)狀態S450用以廣播公告訊息(Advertising messages),藍芽節點131至136則週期性地由待命狀態S420進入掃描(Scanning)狀態S410用以掃描特定頻段中是否存在任何從節點廣播的公告訊息。一般情況下,當藍芽節點131至136偵測到行動裝置150廣播的公告訊息時,進入初始化(Initiating)狀態S430用以發送連線要求給行動裝置150。當行動裝置150於待命狀態S420接受了藍芽節點131至136中之任一者的連線請求時,行動裝置150及請求的藍芽節點都進入連線(Connection)狀態S440。 At deployment time, the Bluetooth nodes 131 through 136 are configured as master nodes and the mobile device 150 is configured as a slave node. The Bluetooth nodes 131 to 136 and the mobile device 150 respectively implement a state machine on the link layer for managing one of the Bluetooth nodes 131 to 136 and the mobile device 150 in the connection layer. The exchange of messages and the processing corresponding to the receipt of the message. Figure 4 is a schematic diagram of a connection layer state machine in accordance with an embodiment of the present invention. When the Bluetooth is turned on or turned on, the Bluetooth nodes 131 to 136 and the mobile device 150 are in the Standby state S420. Next, the mobile device 150 periodically enters an advertising state S450 from the standby state S420 for broadcasting advertisement messages, and the Bluetooth nodes 131 to 136 periodically enter the scanning state S410 from the standby state S420. It is used to scan whether there is any announcement message broadcast by any slave in a specific frequency band. In general, when the Bluetooth node 131 to 136 detects the announcement message broadcast by the mobile device 150, it enters an Initiating state S430 for transmitting a connection request to the mobile device 150. When the mobile device 150 accepts the connection request of any of the Bluetooth nodes 131 to 136 in the standby state S420, both the mobile device 150 and the requested Bluetooth node enter the Connection state S440.

當行動裝置150啟動室內定位功能時,設定為不接受連線狀態,關閉與任何藍芽節點進行連線的功能。因為當行動裝置150與任何藍芽節點進行連線時,需要做更多的狀態轉換及訊息交換,阻礙公告訊息的廣播,使得行動裝置150無法較頻繁地被定位。第5圖係依據本發明實施例之由行動裝置150的處理單元210執行的室內定位方法流程圖,此方法週期性向藍芽節點廣播公告訊息。首先,當室內定位功能啟動時,行動裝置150設定為不接受連線狀態(步驟S510)。於步驟S510,使用者可使用行動裝置150提供的人機介面(MMI,Man-machine Interface)來進行此設定。接著,啟動廣播計時器,用以於到達一段時間後發出中斷給處理單元210(步驟S520)。接著反覆執行一個迴圈(步驟S530至S550),用以週期性地廣播公告訊息。詳細來說,當處理單元210偵測到廣播計時器發出的中斷,指示廣播計時器已計數到達一段時間(例如一秒)之後(步驟S530),進入公告狀態S450用以廣播公告訊息(步驟S540),接著判斷是否室內定位功能被關閉(步驟S550)。於此須注意的是,當進入公告狀態S450時,行動裝置150被視為一個公告者(Advertiser)。若是,則將行動裝置150設定為接受連線狀態(步驟S560),結束整個流程。否則回到待命狀態S420,重設廣播計數器(步驟S520)。於步驟S540,處理單元210可使用iBeacon封包透過通訊介面260廣播公告訊息。由於行動裝置150設定為不接受連線狀態,處理單元210將iBeacon封包的標頭(Header)的封包資料單元類型(PDU type)設為”ADV_SCAN_IND”,使得藍芽節點131至136中之任一者偵測到此廣播的iBeacon封包 時,不發送連線請求給行動裝置150。於此須注意的是,為避免藍芽節點131至136中之任一者嘗試與行動裝置150建立連線,處理單元210不將iBeacon封包的標頭的封包資料單元類型設為”ADV_IND”。處理單元210另可將資訊以表1的方式封裝至封包資料單元內文(PDU Body): When the mobile device 150 activates the indoor positioning function, it is set to not accept the connection state, and the function of connecting with any Bluetooth node is turned off. Because when the mobile device 150 is connected to any Bluetooth node, more state transitions and message exchanges are needed, hindering the broadcast of the announcement message, so that the mobile device 150 cannot be located more frequently. Figure 5 is a flow diagram of an indoor positioning method performed by processing unit 210 of mobile device 150 in accordance with an embodiment of the present invention, which periodically broadcasts an announcement message to a Bluetooth node. First, when the indoor positioning function is activated, the mobile device 150 is set to not accept the connection state (step S510). In step S510, the user can use the Man-machine Interface (MMI) provided by the mobile device 150 to perform this setting. Next, the broadcast timer is started to issue an interrupt to the processing unit 210 after a certain period of time (step S520). Then, a loop is repeatedly executed (steps S530 to S550) for periodically broadcasting the announcement message. In detail, when the processing unit 210 detects an interruption issued by the broadcast timer, indicating that the broadcast timer has counted for a certain period of time (for example, one second) (step S530), the announcement state S450 is entered to broadcast the announcement message (step S540). Then, it is judged whether or not the indoor positioning function is turned off (step S550). It should be noted here that when entering the announcement state S450, the mobile device 150 is regarded as an announcer. If so, the mobile device 150 is set to accept the connection state (step S560), and the entire flow is ended. Otherwise, it returns to the standby state S420, and the broadcast counter is reset (step S520). In step S540, the processing unit 210 can broadcast the announcement message through the communication interface 260 using the iBeacon packet. Since the mobile device 150 is set to not accept the connection state, the processing unit 210 sets the packet data unit type (PDU type) of the header of the iBeacon packet to "ADV_SCAN_IND", so that any of the Bluetooth nodes 131 to 136 I detected the iBeacon packet for this broadcast. At this time, the connection request is not sent to the mobile device 150. It should be noted here that in order to prevent any of the Bluetooth nodes 131 to 136 from attempting to establish a connection with the mobile device 150, the processing unit 210 does not set the packet data unit type of the header of the iBeacon packet to "ADV_IND". The processing unit 210 may further encapsulate the information into the packet data unit (PDU Body) in the manner of Table 1:

處理單元210可於”Timestamp”欄位中存放發送公告訊息當時的時間戳記,於”User ID”欄位中存放代表行動裝置150的識別資訊,於”Tx Power”欄位中存放廣播此公告訊息的發送功率,以及於”User Status”欄位中存放應用程式需要的資訊,例如,心跳、血壓、體溫等與健康相關的資訊。 The processing unit 210 may store the timestamp at the time of sending the announcement message in the "Timestamp" field, store the identification information representing the mobile device 150 in the "User ID" field, and store the announcement message in the "Tx Power" field. The transmit power, as well as the information needed to store the application in the "User Status" field, such as health-related information such as heartbeat, blood pressure, and body temperature.

第6圖係依據本發明實施例之由藍芽節點131至136中之任一者的處理單元310於掃描狀態S410執行的室內定 位方法流程圖。於此須注意的是,當進入掃描狀態S410時,此藍芽節點被視為掃描者(Scanner)。於取得公告者(例如,行動裝置150)廣播的公告訊息後(步驟S610),判斷是否需要與公告者間建立連線(步驟S620)。於步驟S620,處理單元310可判斷iBeacon封包的標頭中的封包資料單元類型(PDU type)設為”ADV_SCAN_IND”或”ADV_IND”。若iBeacon封包的標頭中的封包資料單元類型(PDU type)設為”ADV_IND”,則判斷需要與公告者間建立連線;若iBeacon封包的標頭中的封包資料單元類型(PDU type)設為”ADV_SCAN_IND”,則判斷不需要與公告者間建立連線。若需要與公告者間建立連線(步驟S620中”是”的路徑),則處理單元310使用特定通訊協定透過通訊介面360與公告者建立連線(步驟S650)。若不需要與公告者間建立連線(步驟S620中”否”的路徑),則處理單元310計算此公告訊息的接收強度(RSSI)(步驟S631),依據公告訊息中的發送功率與計算出的接收強度決定衰減程度(步驟S633),並且依據衰減程度決定與公告者間的距離,其中衰減程度越大代表距離越遠(步驟S635),以及傳送定位資訊,例如掃描者的三度空間位置、公告者的識別資訊、公告訊息的時間戳記以及計算出的距離,經由其他藍芽節點(如有必要)以及區域網路、網際網路或以上兩者110至定位伺服器170(步驟S637)。 Figure 6 is an indoor setting performed by the processing unit 310 of any one of the Bluetooth nodes 131 to 136 in the scanning state S410 according to an embodiment of the present invention. Bit method flow chart. It should be noted here that when entering the scanning state S410, the Bluetooth node is regarded as a Scanner. After obtaining the announcement message broadcast by the announcer (for example, the mobile device 150) (step S610), it is determined whether a connection with the announcer needs to be established (step S620). In step S620, the processing unit 310 may determine that the packet data unit type (PDU type) in the header of the iBeacon packet is set to "ADV_SCAN_IND" or "ADV_IND". If the packet data unit type (PDU type) in the header of the iBeacon packet is set to "ADV_IND", it is judged that a connection needs to be established with the advertiser; if the packet data unit type (PDU type) in the header of the iBeacon packet is set As "ADV_SCAN_IND", it is judged that there is no need to establish a connection with the advertiser. If it is necessary to establish a connection with the announcer ("YES" in step S620), the processing unit 310 establishes a connection with the announcer through the communication interface 360 using a specific communication protocol (step S650). If there is no need to establish a connection with the announcer ("NO" in step S620), the processing unit 310 calculates the received strength (RSSI) of the announcement message (step S631), and calculates according to the transmission power in the announcement message. The received intensity determines the degree of attenuation (step S633), and determines the distance from the announcer according to the degree of attenuation, wherein the greater the degree of attenuation, the further the distance is represented (step S635), and the transmission of positioning information, such as the three-dimensional position of the scanner The announcement information of the announcer, the time stamp of the announcement message, and the calculated distance, via the other Bluetooth node (if necessary) and the regional network, the Internet, or both 110 to the location server 170 (step S637) .

雖然第2至3圖中包含了以上描述的元件,但不排除在不違反發明的精神下,使用更多其他的附加元件,已達成更佳的技術效果。此外,雖然第5、6圖的方法流程圖採用特定的順序來執行,但是在不違法發明精神的情況下,熟習此技藝 人士可以在達到相同效果的前提下,修改這些步驟間的順序,所以,本發明並不侷限於僅使用如上所述的順序。 Although the above-described elements are included in FIGS. 2 to 3, it is not excluded that more other additional elements are used without departing from the spirit of the invention, and a better technical effect has been achieved. In addition, although the method flow diagrams of Figures 5 and 6 are performed in a specific order, it is familiar to the art without the spirit of the invention. A person can modify the order between these steps while achieving the same effect, and therefore, the present invention is not limited to using only the order as described above.

雖然本發明使用以上實施例進行說明,但需要注意的是,這些描述並非用以限縮本發明。相反地,此發明涵蓋了熟習此技藝人士顯而易見的修改與相似設置。所以,申請權利要求範圍須以最寬廣的方式解釋來包含所有顯而易見的修改與相似設置。 Although the present invention has been described using the above embodiments, it should be noted that these descriptions are not intended to limit the invention. On the contrary, this invention covers modifications and similar arrangements that are apparent to those skilled in the art. Therefore, the scope of the claims should be interpreted in the broadest form to include all obvious modifications and similar arrangements.

S510~S560‧‧‧方法步驟 S510~S560‧‧‧ method steps

Claims (10)

一種室內定位裝置,包含:一通訊介面;以及一處理單元,耦接於上述通訊介面,於啟動一室內定位功能時,將上述室內定位裝置設定為一不接受連線狀態,關閉與任何藍芽節點進行連線的功能;以及於一公告狀態中透過上述通訊介面週期性廣播一公告訊息,其中上述公告訊息包含代表上述室內定位裝置的一識別碼、發送上述公告訊息時的一時間戳記以及一發送功率。 An indoor positioning device comprises: a communication interface; and a processing unit coupled to the communication interface, when the indoor positioning function is activated, the indoor positioning device is set to a state that does not accept the connection, and is closed with any Bluetooth a function of connecting the node; and periodically broadcasting an announcement message through the communication interface in an announcement state, wherein the announcement message includes an identification code representing the indoor positioning device, a time stamp when the announcement message is sent, and a Transmit power. 如申請專利範圍第1項所述的室內定位裝置,其中,上述公告訊息的廣播係使用一iBeacon封包。 The indoor positioning device according to claim 1, wherein the broadcast of the announcement message uses an iBeacon packet. 如申請專利範圍第1項所述的室內定位裝置,其中,上述處理單元更判斷上述室內定位功能是否被關閉;以及當上述室內定位功能被關閉時,將上述室內定位裝置設定為一接受連線狀態。 The indoor positioning device according to claim 1, wherein the processing unit further determines whether the indoor positioning function is turned off; and when the indoor positioning function is turned off, setting the indoor positioning device to an acceptance connection. status. 如申請專利範圍第3項所述的室內定位裝置,其中,上述公告訊息的廣播係使用一iBeacon封包,並且當上述室內定位裝置設定為上述不接受連線狀態時,上述處理單元將上述iBeacon封包的一標頭的一封包資料單元類型設為”ADV_SCAN_IND”。 The indoor positioning device of claim 3, wherein the broadcast of the announcement message uses an iBeacon packet, and when the indoor positioning device is set to the non-received connection state, the processing unit encapsulates the iBeacon packet. A packet data unit type of a header is set to "ADV_SCAN_IND". 如申請專利範圍第1項所述的室內定位裝置為一從節點。 The indoor positioning device as described in claim 1 is a slave node. 一種室內定位裝置,包含: 一通訊介面;以及一處理單元,耦接於上述通訊介面,於一掃描階段中透過上述通訊介面從一公告者取得一公告訊息中的一發送功率;計算上述公告訊息的一接收強度;依據上述發送功率及上述接收強度計算一衰減程度;依據上述衰減程度決定上述室內定位裝置與上述公告者間的一距離;以及將相應於上述公告者的一定位資訊傳送至一定位伺服器,其中上述定位資訊包含上述室內定位裝置的一第一位置、上述公告者的一識別碼、上述公告訊息中的一時間戳記以及上述距離,使得上述定位伺服器可依據上述定位資訊計算上述公告者的一第二位置。 An indoor positioning device comprising: And a processing unit coupled to the communication interface, wherein a transmission power in an announcement message is obtained from a announcer through the communication interface in a scanning phase; and a receiving strength of the announcement message is calculated; Transmitting power and the receiving strength to calculate a degree of attenuation; determining a distance between the indoor positioning device and the announcer according to the attenuation degree; and transmitting a positioning information corresponding to the announcer to a positioning server, wherein the positioning The information includes a first location of the indoor positioning device, an identification code of the announcer, a time stamp in the announcement message, and the distance, so that the positioning server can calculate a second of the announcer according to the positioning information. position. 如申請專利範圍第6項所述的室內定位裝置,其中,上述處理單元判斷是否需要與上述公告者建立連線;以及當不需要與上述公告者建立連線時,計算上述公告訊息的一接收強度。 The indoor positioning device of claim 6, wherein the processing unit determines whether a connection with the announcer needs to be established; and when the connection with the announcer does not need to be established, calculating a reception of the announcement message strength. 如申請專利範圍第7項所述的室內定位裝置,其中,上述公告訊息的廣播係使用一iBeacon封包。 The indoor positioning device of claim 7, wherein the broadcast of the announcement message uses an iBeacon packet. 如申請專利範圍第8項所述的室內定位裝置,當上述iBeacon封包的一標頭中的一封包資料單元類型設為”ADV_SCAN_IND”時代表不需要與上述公告者建立連線。 For example, in the indoor positioning device described in claim 8, when a packet data unit type in a header of the iBeacon packet is set to "ADV_SCAN_IND", it is not necessary to establish a connection with the announcer. 如申請專利範圍第6項所述的室內定位裝置,其中,上述室內定位裝置組態為一主節點,以及上述公告者組態為一從節點。 The indoor positioning device of claim 6, wherein the indoor positioning device is configured as a master node, and the announcer is configured as a slave node.
TW104118084A 2015-06-04 2015-06-04 Apparatuses for indoor positioning TWI545334B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
TW104118084A TWI545334B (en) 2015-06-04 2015-06-04 Apparatuses for indoor positioning
CN201510347645.7A CN106255199B (en) 2015-06-04 2015-06-23 Indoor positioning device
US14/873,755 US9635498B2 (en) 2015-06-04 2015-10-02 Methods and apparatuses for indoor positioning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104118084A TWI545334B (en) 2015-06-04 2015-06-04 Apparatuses for indoor positioning

Publications (2)

Publication Number Publication Date
TWI545334B true TWI545334B (en) 2016-08-11
TW201643462A TW201643462A (en) 2016-12-16

Family

ID=57183706

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104118084A TWI545334B (en) 2015-06-04 2015-06-04 Apparatuses for indoor positioning

Country Status (3)

Country Link
US (1) US9635498B2 (en)
CN (1) CN106255199B (en)
TW (1) TWI545334B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170073257A (en) * 2015-12-18 2017-06-28 삼성전자주식회사 Display apparatus and method for controlling a display apparatus
KR102460335B1 (en) * 2018-08-09 2022-10-28 삼성전자 주식회사 Electronic device and method for adjusting the output intensity of a speaker based on distance from an external electronic device
CN109511165B (en) * 2018-12-19 2020-12-29 广州市捷众智能科技有限公司 Indoor positioning method based on iBeacon Bluetooth module, terminal equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI346512B (en) * 2007-06-27 2011-08-01 Quanta Comp Inc Communication system and communication apparatus switching method thereof
CN101236244A (en) * 2008-02-21 2008-08-06 当代天启技术(北京)有限公司 Wireless positioning method, device and system
CN102645666B (en) 2012-05-11 2014-04-30 常熟南师大发展研究院有限公司 Method for switching indoor ultra wide band (UWB) location and outdoor global position system (GPS) location
US8712690B1 (en) * 2013-01-11 2014-04-29 Intermec Ip Corp. Systems, methods, and apparatus to determine physical location and routing within a field of low power beacons
CN103648158A (en) * 2013-08-12 2014-03-19 苏州市金陵消防监控工程有限公司 Mobile phone indoor positioning terminal device based on Bluetooth technology
CN103995251A (en) 2014-06-11 2014-08-20 中国电信股份有限公司南京分公司 Positioning system and method of indoor mobile device
US9485734B2 (en) * 2014-06-30 2016-11-01 Intel Corporation Wireless communication system method for synchronizing Bluetooth devices based on received beacon signals
CN104144496A (en) * 2014-07-28 2014-11-12 北京升哲科技有限公司 Indoor positioning method and system based on beacon devices
US9699593B2 (en) * 2014-10-07 2017-07-04 Google Inc. Scanning enhancements for short-range wireless devices

Also Published As

Publication number Publication date
TW201643462A (en) 2016-12-16
CN106255199A (en) 2016-12-21
US9635498B2 (en) 2017-04-25
CN106255199B (en) 2019-12-03
US20160360342A1 (en) 2016-12-08

Similar Documents

Publication Publication Date Title
AU2021269359B2 (en) Display method and apparatus
US11218842B2 (en) Method for activating service based on user scenario perception, terminal device, and system
US11081086B2 (en) Display method and apparatus
WO2020034616A1 (en) Method for acquiring signal coverage effect graph, and network device
WO2019154268A1 (en) Cell processing method, terminal device, and network device
TWI545334B (en) Apparatuses for indoor positioning
WO2019137224A1 (en) Transmission method, mobile terminal, and network device
US20120115473A1 (en) Method and apparatus for supporting location information in machine to machine communication system
CN108228358A (en) Correct method, apparatus, mobile terminal and the storage medium of vertical synchronizing signal
WO2014094616A1 (en) Method, device and system for monitoring system selecting camera to implement real-time viewing
EP4123437A1 (en) Screen projection display method and system, terminal device, and storage medium
EP3672357A1 (en) Method of communication through the ble protocol with extended communication range
WO2021218857A1 (en) Transmission method and device for aperiodic positioning report
WO2019228283A1 (en) Split screen display method and apparatus used for terminal
WO2013117037A1 (en) File reception and display method and system
EP3816779A1 (en) Split screen display method and apparatus used for terminal
US9237592B1 (en) Methods for establishing a direct connection between apparatuses and systems using the same
WO2023016435A1 (en) Assisted sensing method and apparatus, network side device, and terminal
WO2023231839A1 (en) Negotiation methods and apparatuses for perception data transmission mode, and communication device
WO2023020404A1 (en) Positioning method and apparatus, and terminal
WO2023020379A1 (en) Positioning method and apparatus, and terminal
WO2022268067A1 (en) Positioning methods and apparatus, and electronic device
WO2023185724A1 (en) Positioning processing method and apparatus, and terminal and network side device
WO2023061411A1 (en) Positioning method determination method, terminal, and network side device
WO2018133313A1 (en) Motion recording method and electronic device