[go: up one dir, main page]

TWI808821B - Portable positioning terminal, mobile terminal, position transmission and positioning method - Google Patents

Portable positioning terminal, mobile terminal, position transmission and positioning method Download PDF

Info

Publication number
TWI808821B
TWI808821B TW111124810A TW111124810A TWI808821B TW I808821 B TWI808821 B TW I808821B TW 111124810 A TW111124810 A TW 111124810A TW 111124810 A TW111124810 A TW 111124810A TW I808821 B TWI808821 B TW I808821B
Authority
TW
Taiwan
Prior art keywords
positioning
module
point
positioning result
communication module
Prior art date
Application number
TW111124810A
Other languages
Chinese (zh)
Other versions
TW202337250A (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 英華達股份有限公司
Application granted granted Critical
Publication of TWI808821B publication Critical patent/TWI808821B/en
Publication of TW202337250A publication Critical patent/TW202337250A/en

Links

Classifications

    • 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/029Location-based management or tracking services
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • 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
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • 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/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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Telephone Function (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Radar Systems Or Details Thereof (AREA)
  • Burglar Alarm Systems (AREA)

Abstract

本發明提供一種可擕式定位終端、移動終端、位置傳輸和定位方法及介質,可擕式定位終端包括第一線上定位模組、第一離線定位模組、第一無線網路通信模組、第一點對點無線通訊模組及第一處理模組;在特定場景下,第一線上定位模組、第一無線網路通信模組可能無法正常獲取並傳輸定位資料,則可以透過切換到第一離線定位模組、第一點對點無線通訊模組等來透過本地獲取定位結果以及點對點傳輸,從而彌補了訊號不佳導致無法繼續定位可擕式定位終端的問題。 The present invention provides a portable positioning terminal, a mobile terminal, a location transmission and positioning method and a medium. The portable positioning terminal includes a first online positioning module, a first offline positioning module, a first wireless network communication module, a first point-to-point wireless communication module and a first processing module; in a specific scenario, the first online positioning module and the first wireless network communication module may not be able to obtain and transmit positioning data normally, and can obtain positioning results locally and point-to-point transmission by switching to the first offline positioning module and the first point-to-point wireless communication module. Solved the problem that the poor signal made it impossible to continue to locate the portable positioning terminal.

Description

可擕式定位終端、移動終端、位置傳輸和定位方法 Portable positioning terminal, mobile terminal, position transmission and positioning method

本發明涉及無線技術領域,尤其涉及可擕式定位終端、移動終端、位置傳輸和定位方法及介質。 The invention relates to the field of wireless technology, in particular to a portable positioning terminal, a mobile terminal, a position transmission and positioning method and a medium.

當今寵物成為社會部分人群生活的陪伴,但是由於寵物會四處活動,需要主任去尋找。目前尋寵的方式雖然有透過如GPS的方式去定位寵物,但是在一些無線訊號品質差的特定環境中,比如偏遠地區、地下室、洞窟等,可能會出現無法及時定位的問題,沒有辦法準確定位到寵物;而且,不只是寵物,活潑好動的孩童,也會存在相似的尋找需求。 Nowadays, pets have become the life companions of some people in society, but because pets move around, the director needs to find them. Although the current way of finding pets is to locate pets through methods such as GPS, in some specific environments with poor wireless signal quality, such as remote areas, basements, caves, etc., there may be problems with timely positioning, and there is no way to accurately locate pets. Moreover, not only pets, but also lively and active children have similar search needs.

由此,以上無法及時定位寵物、孩童等活動對象,可能會產生一定的安全問題。 Therefore, the above methods cannot locate active objects such as pets and children in time, which may cause certain safety problems.

如何找到一種更好的定位寵物、孩童等活動對象的方案,以便於尋找,已成為業界亟待解決的技術問題。 How to find a better solution for locating active objects such as pets and children so as to be easy to find has become a technical problem to be solved urgently in the industry.

鑒於以上相關技術的缺點,本發明目的在於提供一種可擕式定位終端、移動終端、位置傳輸和定位方法及介質,以解決相關技術中訊號品質差的特定環境中定位不佳的問題。 In view of the above shortcomings of related technologies, the purpose of the present invention is to provide a portable positioning terminal, mobile terminal, location transmission and positioning method and medium, so as to solve the problem of poor positioning in a specific environment with poor signal quality in related technologies.

本發明第一方面提供一種可擕式定位終端,包括:第一線上定位模組,用於透過與外部無線訊號交互獲得所述可擕式定位終端的第一定位結果;第一離線定位模組,用於偵測運動資料並結合參考位置以獲得所述可擕式定位終端的第二定位結果;其中,所述參考位置由所述運動資料之前的第一定位結果得到;第一無線網路通信模組,用於與無線廣域網路之間進行無線網路通信;第一點對點無線通訊模組,用於回應於通信對端的通信指令,與所述通信對端之間建立點對點無線通訊;以及第一處理模組,耦接所述第一線上定位模組、第一離線定位模組、無線網路通信模組及第一點對點無線通訊模組,用於運行程式指令以執行:基於第一線上定位模組和第一離線定位模組的訊號品質切換至其中訊號暢通的一者以獲得第一定位結果或第二定位結果;以及,基於第一無線網路通信模組和第一點對點無線通訊模組的訊號品質切換至其中訊號暢通的一者以傳輸所獲得的第一定位結果或第二定位結果;其中,所述第一線上定位模組和第一無線網路通信模組預設被優先使用。 The first aspect of the present invention provides a portable positioning terminal, comprising: a first online positioning module, used to obtain a first positioning result of the portable positioning terminal through interaction with external wireless signals; a first offline positioning module, used to detect motion data and combine it with a reference position to obtain a second positioning result of the portable positioning terminal; wherein, the reference position is obtained from the first positioning result before the motion data; a first wireless network communication module, used for wireless network communication with a wireless wide area network; Instructions to establish point-to-point wireless communication with the communication peer; and a first processing module, coupled to the first online positioning module, the first offline positioning module, the wireless network communication module and the first point-to-point wireless communication module, for running program instructions to execute: based on the signal quality of the first online positioning module and the first offline positioning module, switch to one of the smooth signals to obtain the first positioning result or the second positioning result; and, based on the signal quality of the first wireless network communication module and the first point-to-point wireless communication module, switch to one of the signals The unblocked one is used to transmit the obtained first positioning result or the second positioning result; wherein, the first online positioning module and the first wireless network communication module are preset to be used preferentially.

在第一方面的一些實施例中,所述基於第一線上定位模組和第一離線定位模組的訊號品質切換至其中訊號暢通的一者獲得第一定位結果或第二定位結果,以及,基於第一無線網路通信模組和第一點對點無線通訊模組的訊號品質切換至其中訊號暢通的一者傳輸所獲得的第一定位結果或第二定位結果,包括以下任意一種:回應於所述線上定位模組和無線網路通信模組訊號暢通,透過所述無線網路通信模組傳輸所述第一定位結果;或者,回應於所述線上定位模組訊號暢通且無線網路通信模組訊號受阻,切換至啟用所述第一點對點無線通訊模組,以在建立所述點對點無線通訊後傳輸所述第一定位結果;或者,回應於所述線上定位模組訊號受阻且無線網路通信模組訊號暢通,切換至啟用所述第一離線定位模組,並透過所述無線網路通信模組傳輸所述第二定位結果;或者,回應於所述線上定位模組和無線網路通信模組訊號受阻,切換至 啟用所述第一點對點無線通訊模組及第一離線定位模組,以在建立所述點對點無線通訊後向通信對端傳輸所述第二定位結果。 In some embodiments of the first aspect, the signal quality of the first online positioning module and the first offline positioning module is switched to the one with smooth signal to obtain the first positioning result or the second positioning result, and the signal quality of the first wireless network communication module and the first point-to-point wireless communication module is switched to the one of which the signal is smooth to transmit the obtained first positioning result or second positioning result, including any one of the following: in response to the smooth signal of the online positioning module and the wireless network communication module, through the wireless network communication module Transmitting the first positioning result; or, in response to the smooth signal of the online positioning module and the blocked signal of the wireless network communication module, switch to enable the first point-to-point wireless communication module to transmit the first positioning result after establishing the point-to-point wireless communication; or, in response to the blocked signal of the online positioning module and the smooth signal of the wireless network communication module, switch to enable the first offline positioning module, and transmit the second positioning result through the wireless network communication module; or, in response to the online positioning module and the wireless network The communication module signal is blocked, switch to The first point-to-point wireless communication module and the first offline positioning module are activated to transmit the second positioning result to the communication peer after the point-to-point wireless communication is established.

在第一方面的一些實施例中,所述第一線上定位模組、第一離線定位模組、第一無線網路通信模組、及第一點對點無線通訊模組按各自的工作時間間隔週期性地工作;和/或所述第一線上定位模組和第一無線網路通信模組在訊號受阻狀態下,按各自的恢復時間間隔週期性地嘗試恢復工作。 In some embodiments of the first aspect, the first online positioning module, the first offline positioning module, the first wireless network communication module, and the first point-to-point wireless communication module work periodically according to their respective working time intervals; and/or the first online positioning module and the first wireless network communication module try to resume work periodically according to their respective recovery time intervals when the signal is blocked.

在第一方面的一些實施例中,所述的可擕式定位終端還包括:電池模組;所述處理模組,用於根據所述電池模組的剩餘電量,調節所述第一線上定位模組、第一離線定位模組、第一無線網路通信模組、及第一點對點無線通訊模組中至少一個的工作時間間隔和/或恢復時間間隔。 In some embodiments of the first aspect, the portable positioning terminal further includes: a battery module; the processing module is configured to adjust the working time interval and/or recovery time interval of at least one of the first online positioning module, the first offline positioning module, the first wireless network communication module, and the first point-to-point wireless communication module according to the remaining power of the battery module.

在第一方面的一些實施例中,所述第一線上定位模組包括以下至少一種:GPS模組;無線移動網路通信模組。 In some embodiments of the first aspect, the first online positioning module includes at least one of the following: a GPS module; a wireless mobile network communication module.

在第一方面的一些實施例中,所述第一離線定位模組包括:電子羅盤模組;所述電子羅盤模組包括3D加速度感測器、3D磁感測器及計算單元;其中,所述3D加速度感測器用於獲取加速度數據;所述3D磁感測器用於獲取運動方向資料;所述計算單元,用於基於所述加速度數據和運動時間計算運動距離,並根據每個起點位置、所述運動距離和運動方向確定相應的每個終點位置,並根據每個終點位置及運動方向形成記錄集中的一條記錄。 In some embodiments of the first aspect, the first offline positioning module includes: an electronic compass module; the electronic compass module includes a 3D acceleration sensor, a 3D magnetic sensor, and a computing unit; wherein the 3D acceleration sensor is used to acquire acceleration data; the 3D magnetic sensor is used to acquire motion direction data; the computing unit is used to calculate the motion distance based on the acceleration data and motion time, and determine each corresponding end position according to each starting point position, the motion distance, and motion direction, and form a record set according to each end point position and motion direction record.

在第一方面的一些實施例中,所述第二定位結果包含:根據所述記錄集生成的運動軌跡及運動方向。 In some embodiments of the first aspect, the second positioning result includes: a motion trajectory and a motion direction generated according to the record set.

在第一方面的一些實施例中,所述計算單元,還用於根據所述加速度數據計算運動狀態資訊;所述第二定位結果還包含所述運動狀態資訊。 In some embodiments of the first aspect, the calculation unit is further configured to calculate motion state information according to the acceleration data; the second positioning result further includes the motion state information.

在第一方面的一些實施例中,所述第一點對點無線通訊模組包括LORA模組。 In some embodiments of the first aspect, the first point-to-point wireless communication module includes a LORA module.

在第一方面的一些實施例中,所述參考位置為第一線上定位模組切換至第一離線定位模組前的最終定位位置。 In some embodiments of the first aspect, the reference position is the final positioning position before the first online positioning module is switched to the first offline positioning module.

在第一方面的一些實施例中,所述可擕式定位終端為可穿戴裝置。 In some embodiments of the first aspect, the portable positioning terminal is a wearable device.

本發明第二方面提供一種活動對象的位置傳輸方法,應用於如第一方面任一項所述的可擕式定位終端,所述可擕式定位終端被所述活動對象所攜帶;所述方法包括:透過第一線上定位模組獲取活動對象的第一定位結果,並透過第一無線網路通信模組傳輸所述第一定位結果;回應於第一線上定位模組的訊號受阻,切換至啟用所述第一離線定位模組獲取第二定位結果;回應於第一無線網路通信模組的訊號暢通,透過所述第一無線網路通信模組傳輸所述第二定位結果;或者,回應於第一無線網路通信模組的訊號受阻,切換啟用所述點對點通信模組,以在建立所述點對點無線通訊後傳輸所述第二定位結果。 The second aspect of the present invention provides a method for transmitting the location of a moving object, which is applied to the portable positioning terminal described in any one of the first aspect, and the portable positioning terminal is carried by the moving object; the method includes: obtaining the first positioning result of the moving object through the first online positioning module, and transmitting the first positioning result through the first wireless network communication module; in response to the signal blocking of the first online positioning module, switching to enable the first offline positioning module to obtain the second positioning result; in response to the smooth signal of the first wireless network communication module, communicating through the first wireless network The module transmits the second positioning result; or, in response to the signal of the first wireless network communication module being blocked, switching and enabling the point-to-point communication module to transmit the second positioning result after the point-to-point wireless communication is established.

本發明協力廠商面提供一種移動終端,與如第一方面任一項所述的可擕式定位終端通信;所述移動終端包括:第二無線網路通信模組,用於與無線廣域網路之間進行無線網路通信,以獲得可擕式定位終端所在位置的第一定位結果或第二定位結果;第二點對點無線通訊模組,用於發送定位指令至所述可擕式定位終端,以建立相互間點對點無線通訊,以獲得可擕式定位終端所在位置的第一定位結果或第二定位結果;顯示模組,用於顯示所述第一定位結果和/或第二定位結果於電子地圖;第二處理模組,耦接所述第二無線網路通信模組、第二點對點無線通訊模組、及顯示模組,用於回應於滿足觸發條件,切換至啟用所述第二點對點無線通訊模組,與所述可擕式定位終端建立點對點無線通訊,以獲得所述第一定位結果或第二定位結果並透過所述顯示模組顯示於電子地圖。 The third aspect of the present invention provides a mobile terminal for communicating with the portable positioning terminal as described in any one of the first aspect; the mobile terminal includes: a second wireless network communication module for performing wireless network communication with a wireless wide area network to obtain a first positioning result or a second positioning result of the location of the portable positioning terminal; a second point-to-point wireless communication module for sending positioning commands to the portable positioning terminal to establish mutual point-to-point wireless communication to obtain the first positioning result or second positioning result of the location of the portable positioning terminal; a display module, For displaying the first positioning result and/or the second positioning result on the electronic map; the second processing module is coupled to the second wireless network communication module, the second point-to-point wireless communication module, and the display module, and is used to switch to enable the second point-to-point wireless communication module in response to satisfying the trigger condition, establish point-to-point wireless communication with the portable positioning terminal, obtain the first positioning result or the second positioning result and display it on the electronic map through the display module.

在協力廠商面的一些實施例中,所述的移動終端包括:第二線上定位模組和第二離線定位模組;所述第二線上定位模組,用於透過與外部無線訊號交互獲得所述移動終端的第三定位結果;所述第二離線定位模組,用於基於參考位置及偵測到的運動資料獲得所述移動終端的第四定位結果;所述第二處理模組,耦接所述第二線上定位模組和第二離線定位模組,用於基於第二線上定位模組和第二離線定位模組的訊號品質切換至其中訊號暢通的一者以獲得第三定位結果或第四定位結果,並將當前所獲得的第三定位結果和/或第四定位結果與當前所獲得的第一定位結果和/或第二定位結果透過所述顯示模組一併顯示於電子地圖。 In some embodiments of the third party, the mobile terminal includes: a second online positioning module and a second offline positioning module; the second online positioning module is used to obtain the third positioning result of the mobile terminal through interaction with external wireless signals; the second offline positioning module is used to obtain the fourth positioning result of the mobile terminal based on the reference position and the detected motion data; the second processing module is coupled to the second online positioning module and the second offline positioning module, and is used to switch to the signal based on the signal quality of the second online positioning module and the second offline positioning module. The one whose number is unblocked obtains the third positioning result or the fourth positioning result, and displays the currently obtained third positioning result and/or fourth positioning result together with the currently obtained first positioning result and/or second positioning result on the electronic map through the display module.

本發明第四方面提供一種定位方法,應用於如協力廠商面任一項所述的移動終端,以對所述可擕式定位終端進行定位;所述方法包括:透過第二無線網路通信模組獲得所述第一定位結果,顯示所述第一定位結果;透過第二無線網路通信模組獲得所述第二定位結果,顯示所述第二定位結果於電子地圖;回應於滿足觸發條件,切換至啟用所述第二點對點無線通訊模組與所述可擕式定位終端建立通信,以獲得所述第二定位結果並顯示於所述電子地圖。 The fourth aspect of the present invention provides a positioning method, which is applied to the mobile terminal described in any one of the aspects of the third party to locate the portable positioning terminal; the method includes: obtaining the first positioning result through the second wireless network communication module, displaying the first positioning result; obtaining the second positioning result through the second wireless network communication module, and displaying the second positioning result on the electronic map; in response to satisfying the trigger condition, switching to enable the second point-to-point wireless communication module to establish communication with the portable positioning terminal, so as to obtain the second positioning result and display it on the electronic map.

在第四方面的一些實施例中,所述觸發條件包括以下至少一種:1)移動終端到達所述參考位置;2)透過所述第二無線網路通信模組無法獲得所述第一定位結果或第二定位結果。 In some embodiments of the fourth aspect, the trigger condition includes at least one of the following: 1) the mobile terminal arrives at the reference location; 2) the first positioning result or the second positioning result cannot be obtained through the second wireless network communication module.

本發明第五方面提供一種電腦可讀存儲介質,存儲有程式指令,所述程式指令被運行以執行如第二方面任一項所述的位置傳輸方法,或者如第四方面任一項所述所述的定位方法。 A fifth aspect of the present invention provides a computer-readable storage medium, storing program instructions, the program instructions are executed to execute the position transmission method according to any one of the second aspect, or the positioning method according to any one of the fourth aspect.

如上所述,本發明實施例中提供可擕式定位終端、移動終端、位置傳輸和定位方法及介質,可擕式定位終端包括第一線上定位模組、第一離線定位模組、第一無線網路通信模組、第一點對點無線通訊模組及第一處理模組; 在特定場景下,第一線上定位模組、第一無線網路通信模組可能無法正常獲取並傳輸定位資料,則可以透過切換到第一離線定位模組、第一點對點無線通訊模組等來透過本地獲取定位結果以及點對點傳輸,從而彌補了訊號不佳導致無法繼續定位可擕式定位終端的問題。透過由如寵物、孩童等活動對象攜帶所述可擕式定位終端,透過移動終端就可以進行追蹤尋找,即使遇到訊號品質差的特定場景也能穩定地維持與活動對象的通信,從而解決由於訊號品質差所導致的活動對象尋找不便的問題。 As mentioned above, the embodiments of the present invention provide a portable positioning terminal, a mobile terminal, location transmission and positioning methods and media, and the portable positioning terminal includes a first online positioning module, a first offline positioning module, a first wireless network communication module, a first point-to-point wireless communication module, and a first processing module; In a specific scenario, the first online positioning module and the first wireless network communication module may not be able to obtain and transmit positioning data normally. You can switch to the first offline positioning module, the first point-to-point wireless communication module, etc. to obtain positioning results and point-to-point transmission locally, thereby making up for the problem that the poor signal cannot continue to locate the portable positioning terminal. By carrying the portable positioning terminal such as pets and children, the portable positioning terminal can be tracked and searched through the mobile terminal, and the communication with the mobile object can be stably maintained even in a specific scene with poor signal quality, thereby solving the problem of inconvenient search for the mobile object caused by poor signal quality.

101:智慧項圈 101: Smart Collar

102:移動終端 102:Mobile terminal

103:移動通信網路 103:Mobile communication network

201:可擕式定位終端 201: Portable positioning terminal

202:移動終端 202: mobile terminal

203:移動通信網路 203:Mobile communication network

300:可擕式定位終端 300: Portable positioning terminal

301:第一線上定位模組 301: The first online positioning module

302:第一離線定位模組 302: The first offline positioning module

303:第一無線網路通信模組 303: The first wireless network communication module

304:第一點對點無線通訊模組 304: The first point-to-point wireless communication module

305:第一處理模組 305: The first processing module

306:電源管理模組 306: Power management module

400:電子羅盤模組 400:Electronic compass module

401:3D加速度感測器 401: 3D acceleration sensor

402:3D磁感測器 402: 3D magnetic sensor

403:計算單元 403: computing unit

500:第一處理模組 500: The first processing module

510:處理單元 510: processing unit

520:存儲單元 520: storage unit

530:匯流排 530: busbar

540:輸入/輸出(I/O)介面 540: Input/Output (I/O) interface

5201:隨機存取存儲單元(RAM) 5201: Random Access Memory Unit (RAM)

5202:快取記憶體存儲單元 5202: Cache memory storage unit

5203:唯讀存儲單元 5203: Read-only storage unit

5204:程式/實用工具 5204: Programs/Utilities

5205:程式模組 5205: program module

800:移動終端 800: mobile terminal

801:第二無線網路通信模組 801: The second wireless network communication module

802:第二點對點無線通訊模組 802: The second point-to-point wireless communication module

803:顯示模組 803: display module

804:第二處理模組 804: Second processing module

805:第二線上定位模組 805: The second online positioning module

806:第二離線定位模組 806: The second offline positioning module

S901-S904:步驟 S901-S904: Steps

S1001-S1003:步驟 S1001-S1003: Steps

圖1展示相關技術的一場景示例中活動對象定位丟失的示意圖;圖2展示本發明一應用示例中活動對象持續定位的示意圖;圖3展示本發明實施例中可擕式定位終端的電路模組結構示意圖;圖4展示本發明一實施例中電子羅盤模組的電路模組結構示意圖;圖5展示本發明一實施例中第一處理模組實現的電路結構示意圖;圖6展示本發明一應用示例中可擕式定位終端的電路模組結構示意圖;圖7A展示本發明一實施例中多種定位方式和通信方式組合的狀態切換示意圖;圖7B展示本發明一應用示例中可擕式定位終端依時間順序發生狀態切換時所發送資料幀的格式示意圖;圖8展示本發明一實施例中移動終端的電路模組結構示意圖; 圖9展示本發明一實施例中活動對象的位置傳輸方法的流程示意圖;以及圖10展示本發明一實施例中定位方法的流程示意圖。 1 shows a schematic diagram of the lost positioning of an active object in a scene example of the related art; FIG. 2 shows a schematic diagram of continuous positioning of an active object in an application example of the present invention; FIG. 3 shows a schematic diagram of a circuit module structure of a portable positioning terminal in an embodiment of the present invention; FIG. In the example, a schematic diagram of the combination of multiple positioning methods and communication methods for state switching; FIG. 7B shows a schematic diagram of the format of the data frame sent by the portable positioning terminal when the state switching occurs in chronological order in an application example of the present invention; FIG. 8 shows a schematic diagram of the circuit module structure of the mobile terminal in an embodiment of the present invention; FIG. 9 shows a schematic flow chart of a method for transmitting a location of a moving object in an embodiment of the present invention; and FIG. 10 shows a schematic flow chart of a positioning method in an embodiment of the present invention.

以下透過特定的具體實例說明本發明的實施方式,本領域技術人員可由本發明所揭露的消息輕易地瞭解本發明的其他優點與功效。本發明還可以透過另外不同的具體實施方式加以實施或應用系統,本發明中的各項細節也可以根據不同觀點與應用系統,在沒有背離本發明的精神下進行各種修飾或改變。需說明的是,在不衝突的情況下,本發明中的實施例及實施例中的特徵可以相互組合。 The implementation of the present invention is described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the information disclosed in the present invention. The present invention can also be implemented or applied through other different specific implementation modes, and various details in the present invention can also be modified or changed according to different viewpoints and application systems without departing from the spirit of the present invention. It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

下面以附圖為參考,針對本發明的實施例進行詳細說明,以便本發明所屬技術領域的技術人員能夠容易地實施。本發明可以以多種不同形態體現,並不限定於此處說明的實施例。 The embodiments of the present invention will be described in detail below with reference to the accompanying drawings, so that those skilled in the art of the present invention can easily implement them. The present invention can be embodied in various forms and is not limited to the embodiments described here.

活動對象,如寵物、孩童等,較為好動且活動範圍較大。為追蹤活動對象的動向,可以透過讓活動對象攜帶無線定位終端,其中包含GPS模組、WWAN模組等,透過GPS模組獲得地理位置資料,並透過WWAN模組與無線廣域網路通信以發送地理位置資料,用於指示所述活動對象所在位置。監護者可以透過其移動終端接收此地理位置資料,並顯示在電子地圖來呈現活動對象所在的位置,以利於監護者尋找。 Active subjects, such as pets and children, are more active and have a larger range of activities. In order to track the movement of the active object, the active object can carry a wireless positioning terminal, which includes a GPS module, a WWAN module, etc., obtain the geographic location data through the GPS module, and communicate with the wireless wide area network through the WWAN module to send the geographic location data, which is used to indicate the location of the active object. Guardians can receive the geographic location information through their mobile terminals, and display it on an electronic map to present the location of the active object, which is convenient for guardians to find.

然而,如果活動對象進入在一些無線訊號品質較差的區域,例如地下室、偏遠區域等,GPS和WWAN模組無法再獲取到地理位置資訊及向外部傳輸,就會對監護者進一步尋找活動對象造成很大的困難。GPS指的是衛星定位 系統;WWAN指的是無線廣域網路,例如由移動運營商架設的移動通信網路、藍牙網路等。 However, if the active object enters some areas with poor wireless signal quality, such as basements, remote areas, etc., the GPS and WWAN modules can no longer obtain the geographic location information and transmit it to the outside, which will cause great difficulties for the guardian to further find the active object. GPS refers to satellite positioning System; WWAN refers to wireless wide area networks, such as mobile communication networks and Bluetooth networks set up by mobile operators.

為直觀說明,可以參考圖1所示,展示相關技術的一場景示例中活動對象定位丟失的示意圖。寵物貓M在地面活動,佩戴有智慧項圈101,即時獲取寵物貓M的所在位置資料,並透過移動通信網路103(如2G/3G/4G/5G)傳輸到使用者N的移動終端102。使用者N的移動終端上顯示寵物貓的當前所在位置1。之後,寵物貓M從地面進入地下室,位於位置2,智慧項圈101由於的GPS訊號弱(移動通信網路訊號也有可能較弱)而無法獲取到當前位置資料,使用者N要尋找寵物貓M的最終追蹤點只能到達地下室以外。進入地下室之後,用戶N由於無法定位到寵物貓M的具體位置,只能自行尋找,導致尋找不便,效率低下。 For an intuitive description, reference may be made to FIG. 1 , which shows a schematic diagram of loss of active object positioning in a scene example of the related art. The pet cat M moves on the ground and wears a smart collar 101 to obtain the location data of the pet cat M in real time and transmit it to the mobile terminal 102 of the user N through the mobile communication network 103 (such as 2G/3G/4G/5G). The current location 1 of the pet cat is displayed on the mobile terminal of the user N. After that, the pet cat M enters the basement from the ground and is located at position 2. The smart collar 101 cannot obtain the current location data due to the weak GPS signal (the signal of the mobile communication network may also be weak). The final tracking point for the user N to find the pet cat M can only be outside the basement. After entering the basement, the user N cannot locate the specific location of the pet cat M, so he can only search for it by himself, which makes the search inconvenient and inefficient.

鑒於此,本發明實施例中提供相應解決方案。透過使供活動對象攜帶的可擕式定位終端能根據情況切換定位方式、通信傳輸方式,從而可以實現在訊號品質變差環境下依然可以接續地獲取並傳輸活動對象的定位結果,以利於活動對象的尋找。在一些實施例中,所述可擕式定位終端可以實現為可穿戴裝置,對應寵物的例如寵物項圈、寵物服裝、寵物配飾,對應人類的例如帽子、服裝、腕帶、手錶、配飾等。 In view of this, a corresponding solution is provided in the embodiments of the present invention. By enabling the portable positioning terminal carried by the moving object to switch between the positioning method and the communication transmission method according to the situation, it is possible to obtain and transmit the positioning results of the moving object continuously even in an environment where the signal quality deteriorates, so as to facilitate the search for the moving object. In some embodiments, the portable positioning terminal can be implemented as a wearable device, corresponding to pets such as pet collars, pet clothing, and pet accessories, and corresponding to humans such as hats, clothing, wristbands, watches, accessories, etc.

為直觀說明,可參考圖2,展示本發明一應用示例中活動對象持續定位的示意圖。 For intuitive description, reference may be made to FIG. 2 , which shows a schematic diagram of continuous positioning of active objects in an application example of the present invention.

同樣以上述,寵物貓M為例,其在地面活動,佩戴有可擕式定位終端201,可示例性地實現為項圈形式。當寵物貓M在地面活動,使用者N透過其移動終端202同樣顯示寵物貓的當前所在位置1。當寵物貓M進入地下室的位置2,GPS訊號無,則可擕式定位終端可以切換至離線獲取寵物貓M當前位置的模式,從而得到例如寵物貓從進入地下室的位置到達位置2的運動軌跡。如果在位 置2時移動通信網路203無法登陸,則使用者N的移動終端和可擕式定位終端之間可以建立點對點無線通訊以傳輸所述運動軌跡,進而根據此運動軌跡到達寵物貓所在位置2,以找到寵物貓。 Also taking the above-mentioned pet cat M as an example, it moves on the ground and wears a portable positioning terminal 201, which can be realized in the form of a collar as an example. When the pet cat M is active on the ground, the user N also displays the current location 1 of the pet cat through his mobile terminal 202 . When the pet cat M enters the location 2 in the basement and there is no GPS signal, the portable positioning terminal can switch to the mode of obtaining the current location of the pet cat M offline, so as to obtain, for example, the movement track of the pet cat from the location entering the basement to the location 2. if in place When it is set to 2, the mobile communication network 203 cannot log in, and point-to-point wireless communication can be established between the mobile terminal of the user N and the portable positioning terminal to transmit the trajectory, and then reach the location 2 of the cat according to the trajectory to find the cat.

當然,若M在位置2時可擕式定位終端201移動通信網路203訊號還暢通,則可以將此運動軌跡的資訊透過移動通信網路203傳輸給使用者N的移動終端202,則使用者N可以前往由所述GPS訊號最後指示的末點位置,然後透過移動終端202與可擕式定位終端201之間透過移動通信網路203通信以獲得所述運動軌跡,進而根據此運動軌跡到達寵物貓所在位置2。 Certainly, if the mobile communication network 203 signal of the portable positioning terminal 201 is still unblocked when M is at position 2, then the information of the movement trajectory can be transmitted to the mobile terminal 202 of the user N through the mobile communication network 203, then the user N can go to the last point position indicated by the GPS signal, and then obtain the movement trajectory through the communication between the mobile terminal 202 and the portable positioning terminal 201 through the mobile communication network 203, and then arrive at the location 2 of the pet cat according to the movement trajectory.

可以理解的,透過適合於不同訊號品質場景的不同定位和通信方式組合的切換,能說明用戶N便利地尋找到寵物M。 It can be understood that the user N can find the pet M conveniently by switching between different positioning and communication mode combinations suitable for different signal quality scenarios.

以下透過多個實施例說明技術方案的具體實現。如圖3所示,展示本發明實施例中可擕式定位終端的電路模組結構示意圖。在圖3示例中,所述可擕式定位終端300包括:第一線上定位模組301、第一離線定位模組302、第一無線網路通信模組303、第一點對點無線通訊模組304以及第一處理模組305。所述的可擕式定位終端300還可包括電源管理模組306,所述電源管理模組306包括電池模組以進行供電。 The specific implementation of the technical solution is described below through multiple embodiments. As shown in FIG. 3 , it shows a schematic structural diagram of the circuit module of the portable positioning terminal in the embodiment of the present invention. In the example of FIG. 3 , the portable positioning terminal 300 includes: a first online positioning module 301 , a first offline positioning module 302 , a first wireless network communication module 303 , a first point-to-point wireless communication module 304 and a first processing module 305 . The portable positioning terminal 300 may further include a power management module 306, and the power management module 306 includes a battery module for power supply.

所述第一線上定位模組301,用於透過與外部無線訊號交互獲得所述可擕式定位終端300的第一定位結果。在一些實施例中,所述第一線上定位模組301包括以下至少一種:GPS模組;無線移動網路通信模組。即,採用GPS模組以透過衛星定位技術得到位置資料;或者,也可以透過無線移動網路通信模組接入移動通信網路,並基於移動通信網路中基站與無線移動網路通信模組間的無線訊號來實現定位。具體的,由於基站位置預先已知,基於基站與無線移動網路通信模組之前的訊號強度,同可擕式定位終端300和基站之間的距離和 範圍之間的相關性,從而可以計算得到可擕式定位終端300相對基站的位置,即得到可擕式定位終端300的位置。 The first online positioning module 301 is configured to obtain a first positioning result of the portable positioning terminal 300 through interaction with external wireless signals. In some embodiments, the first online positioning module 301 includes at least one of the following: GPS module; wireless mobile network communication module. That is, the GPS module is used to obtain position information through satellite positioning technology; or, the wireless mobile network communication module can also be used to access the mobile communication network, and the positioning is realized based on the wireless signal between the base station and the wireless mobile network communication module in the mobile communication network. Specifically, since the location of the base station is known in advance, based on the signal strength between the base station and the wireless mobile network communication module, the distance and distance between the portable positioning terminal 300 and the base station Correlation between ranges, so that the position of the portable positioning terminal 300 relative to the base station can be calculated, that is, the position of the portable positioning terminal 300 can be obtained.

所述第一離線定位模組302,用於偵測所述可擕式定位終端300的相對運動資料。在一些實施例中,所述運動資料可以包括如多方向(如三軸或六軸等)加速度數據,根據運動時間和各軸向上的加速度數據可以計算得到行進的距離。進一步的,所述運動資料還可包括可擕式定位終端300的運動方向資料,根據運動方向、運動距離即可定位到可擕式定位終端300的所在位置。 The first offline positioning module 302 is used for detecting the relative movement data of the portable positioning terminal 300 . In some embodiments, the exercise data may include, for example, multi-directional (eg, three-axis or six-axis, etc.) acceleration data, and the distance traveled can be calculated according to the exercise time and the acceleration data on each axis. Further, the movement data may also include movement direction data of the portable positioning terminal 300 , and the location of the portable positioning terminal 300 can be located according to the movement direction and movement distance.

相比於所述第一離線定位模組302,所述第一線上定位模組301定位的區域範圍較大,而可被預設優先於所述第一離線定位模組302使用。即,第一離線定位模組302可以作為第一線上定位模組301的訊號品質較差時的備選使用。 Compared with the first offline positioning module 302 , the first online positioning module 301 locates a larger range of areas, and can be used in preference to the first offline positioning module 302 by default. That is, the first offline positioning module 302 can be used as an alternative when the signal quality of the first online positioning module 301 is poor.

在一些具體實現示例中,第一離線定位模組可以包括電子羅盤模組(Ecompass)。如圖4所示,展示本發明一實施例中電子羅盤模組的電路模組結構示意圖。所述電子羅盤模組400可以包括3D加速度感測器401、3D磁感測器402及計算單元403。 In some specific implementation examples, the first offline positioning module may include an electronic compass module (Ecompass). As shown in FIG. 4 , it shows a schematic structural diagram of the circuit module of the electronic compass module in an embodiment of the present invention. The electronic compass module 400 may include a 3D acceleration sensor 401 , a 3D magnetic sensor 402 and a computing unit 403 .

其中,所述3D加速度感測器401用於獲取加速度數據。所述3D磁感測器402用於獲取運動方向資料。所述計算單元403,用於基於所述加速度數據和運動時間計算運動距離,並根據每個起點位置、所述運動距離和運動方向確定相應的每個終點位置,並根據每個終點位置及運動方向形成記錄集中的一條記錄;其中,首個起點位置為所述原點位置。具體說明原理,基於加速度的積分可以得到速度,再基於速度的積分可以得到位移,即根據加速度數據經兩次積分可以得到運動距離。每個運動前位置為已知,結合運動方向和運動距離可以得到相應的每個運動後位置。 Wherein, the 3D acceleration sensor 401 is used to acquire acceleration data. The 3D magnetic sensor 402 is used to acquire motion direction data. The calculation unit 403 is configured to calculate the movement distance based on the acceleration data and the movement time, and determine each corresponding end position according to each start position, the movement distance and the movement direction, and form a record in the record set according to each end position and movement direction; wherein, the first start position is the origin position. To explain the principle in detail, the velocity can be obtained based on the integration of the acceleration, and the displacement can be obtained by the integration based on the velocity, that is, the moving distance can be obtained through two integrations based on the acceleration data. Each pre-exercise position is known, and the corresponding post-exercise position can be obtained by combining the movement direction and the movement distance.

可以理解的,每條記錄實際上對應運動目的位置及運動方向,則根據記錄集即可得到電子羅盤模組400的運動軌跡,即活動對象的運動軌跡。可選的,所述運動軌跡和運動方向可以作為所述第二定位結果輸出,或者,也可以將當前位置和運動方向作為第二定位結果輸出。由於活動對象在進入特定場景(例如地下室、偏遠區域等)之後已丟失第一定位結果,接續的第二定位結果為運動軌跡可以接續第一定位結果以更直觀地引導監護者到達活動對象所在位置。 It can be understood that each record actually corresponds to the location and direction of the moving object, and the moving track of the electronic compass module 400 , that is, the moving track of the moving object, can be obtained according to the record set. Optionally, the motion trajectory and motion direction may be output as the second positioning result, or the current position and motion direction may also be output as the second positioning result. Since the active object has lost the first positioning result after entering a specific scene (such as a basement, a remote area, etc.), the continuous second positioning result is that the motion track can continue the first positioning result to more intuitively guide the guardian to the position of the active object.

在一個實現示例中,所述運動軌跡的具體計算流程可以如下所述,以計步為例:讀取3D加速度感測器三軸的加速度數據:Ax\Ay\Az(Z軸可對應豎直方向,XY對應水準平面),根據Az的特徵模式判斷步起始與結束,所述特徵模式可以對應于步起始時的加速對應運動速度和加速度方向一致,步結束的減速對應運動速度和加速度方向相反的特點;以及透過對Ax、Ay在步長時間內的兩次積分累加,計算出本步的步長距離。 In an implementation example, the specific calculation process of the motion trajectory can be as follows, taking step counting as an example: read the acceleration data of the three axes of the 3D acceleration sensor: Ax\Ay\Az (Z axis can correspond to the vertical direction, XY corresponds to the horizontal plane), and judge the start and end of the step according to the characteristic pattern of Az. Calculate the step distance of this step.

讀取3D磁感測器中運動方向資料;將本步的步長距離和運動方向作為一條資料填入資料緩衝;判斷軌跡記錄定時是否到期;若到期,則根據該軌跡記錄定時T內的各條資料在X、Y軸方向上進行累加計算,生成相對於前一次計算時的位置與運動方向資訊;將本次計算的位置與運動方向資訊形成一條記錄,放入記錄集,所述記錄集存儲在存儲介質(例如快閃記憶體)。 Read the motion direction data in the 3D magnetic sensor; fill the step distance and motion direction of this step into the data buffer; judge whether the track record timing expires; if it expires, perform accumulative calculations on the X and Y axis directions according to each piece of data in the track record timing T, and generate position and motion direction information relative to the previous calculation; form a record of the position and motion direction information calculated this time, and put it into a record set, which is stored in a storage medium (such as a flash memory).

其中,每條記錄實際上對應於T內的各步構成的一個運動軌跡段,而記錄集對應用於生成由至少一條運動軌跡段構成的運動軌跡。 Wherein, each record actually corresponds to a motion trajectory segment composed of steps in T, and the record set corresponds to a motion trajectory composed of at least one motion trajectory segment.

重定所述資料緩衝,返回步驟A,以用於記錄下一週期T的各步的資料。 Resetting the data buffer and returning to step A for recording the data of each step in the next cycle T.

所述第一無線網路通信模組303,用於與無線廣域網路之間進行無線網路通信。在一些實施例中,所述無線廣域網路可以例如為2G/3G/4G/5G制 式的移動通信網路,也可以為基於Lora、ZigBee、NB-IOT等協定的物聯網路,則所述第一無線網路通信模組303為相應通信制式的通信模組。 The first wireless network communication module 303 is used for wireless network communication with the wireless wide area network. In some embodiments, the wireless wide area network can be, for example, 2G/3G/4G/5G mode of mobile communication network, or the Internet of Things based on protocols such as Lora, ZigBee, NB-IOT, etc., then the first wireless network communication module 303 is a communication module of the corresponding communication standard.

所述第一點對點無線通訊模組304,用於回應於通信對端的通信指令,與所述通信對端之間建立點對點無線通訊。在一些實施例中,所述點對點無線通訊可以是基於例如LORA等,LORA點對點通信的距離相對較遠,可以達到數公里;或者,在一些近距離場景中,例如最遠8~10米距離的尋找活動對象的場景,也可以採用例如藍牙的點對點通信方式,或者也有可能可以採用聲波、超聲波等通信方式。 The first point-to-point wireless communication module 304 is configured to establish point-to-point wireless communication with the communication peer in response to a communication command from the communication peer. In some embodiments, the point-to-point wireless communication can be based on, for example, LORA, etc. The distance of LORA point-to-point communication is relatively long, which can reach several kilometers; or, in some short-distance scenarios, such as the scene of searching for moving objects at a distance of up to 8-10 meters, a point-to-point communication method such as Bluetooth can also be used, or it is also possible to use communication methods such as sound waves and ultrasonic waves.

所述第一無線網路通信模組303預設優先於第一點對點無線通訊模組304使用,以能適應於大部分場景的通信需求。即,第一點對點無線通訊模組304用於在第一無線網路通信模組303訊號品質較差時作為備選使用。 The first wireless network communication module 303 is preset to be used prior to the first point-to-point wireless communication module 304, so as to be able to meet the communication requirements of most scenarios. That is, the first point-to-point wireless communication module 304 is used as an alternative when the signal quality of the first wireless network communication module 303 is poor.

所述第一處理模組305,耦接所述第一線上定位模組301、第一離線定位模組302、無線網路通信模組及第一點對點無線通訊模組304,用於基於第一線上定位模組301和第一離線定位模組302的訊號品質切換至其中訊號暢通的一者以獲得第一定位結果或者相對運動資料,且響應於切換至第一離線定位模組302,基於已有的第一定位結果和位置接續的相對運動資料計算第二定位結果;以及,基於第一無線網路通信模組303和第一點對點無線通訊模組304的訊號品質切換至其中訊號暢通的一者以傳輸所獲得的第一定位結果或第二定位結果。 The first processing module 305 is coupled to the first online positioning module 301, the first offline positioning module 302, the wireless network communication module and the first point-to-point wireless communication module 304, and is used to switch to one of the first online positioning module 301 and the first offline positioning module 302 based on the signal quality of the first offline positioning module 301 and the first offline positioning module 302 to obtain the first positioning result or relative motion data, and in response to switching to the first offline positioning module 302, calculate the second based on the existing first positioning result and the relative motion data of the position. positioning results; and, based on the signal quality of the first wireless network communication module 303 and the first point-to-point wireless communication module 304, switch to one of them with smooth signal to transmit the obtained first positioning result or second positioning result.

具體而言,所述第一線上定位模組301(如GPS模組)獲取到的第一定位結果為對應於唯一的經緯度的絕對位置,而第一離線定位模組302(如電子羅盤模組)獲取到的運動資料對應於某個位移,故透過將第一線上定位模組301訊號受阻前的最後一個絕對位置作為參考的原點位置,結合第二定位結果的相對位移,則得到的位移後位置也是可以唯一定位的相位位置。所述「位置接 續」指的是從該原點位置出發,結合每個相對運動資料可依次確定接續的各個位置。 Specifically, the first positioning result obtained by the first online positioning module 301 (such as the GPS module) is an absolute position corresponding to a unique latitude and longitude, while the movement data obtained by the first offline positioning module 302 (such as an electronic compass module) corresponds to a certain displacement. Therefore, by using the last absolute position before the signal of the first online positioning module 301 is blocked as the reference origin position, combined with the relative displacement of the second positioning result, the obtained position after displacement is also a phase position that can be uniquely positioned. The "location "Continuation" refers to starting from the origin position and combining each relative motion data to determine the successive positions in turn.

另外,在線上定位訊號暢通的情況下,可預設優先使用第一線上定位模組301獲取第一定位結果;在無線通訊網路訊號暢通的情況下,預設優先使用第一無線網路通信模組303傳輸第一定位結果;在線上定位訊號受阻的情況下,切換至第一離線定位模組302來替代第一在先定位模組以獲取第二定位結果;在無線通訊網路訊號受阻的情況下,切換至第一點對點無線通訊模組304來替代第一無線網路通信模組303傳輸第二定位結果。需說明的是,第一點對點無線通訊模組304需要在移動終端運動至與其保持點對點無線通訊的通信範圍內時,建立通信連接。 In addition, when the online positioning signal is unblocked, the first online positioning module 301 can be preset to obtain the first positioning result; when the wireless communication network signal is unblocked, the first wireless network communication module 303 can be preset to transmit the first positioning result; when the online positioning signal is blocked, switch to the first offline positioning module 302 to replace the first prior positioning module to obtain the second positioning result; when the wireless communication network signal is blocked, switch to the first point-to-point wireless communication module 304 Instead of the first wireless network communication module 303 transmitting the second positioning result. It should be noted that the first point-to-point wireless communication module 304 needs to establish a communication connection when the mobile terminal moves within the communication range for maintaining point-to-point wireless communication with it.

可選的,當使用者離開特定區域,第一線上定位模組301的訊號狀態由受阻恢復暢通時,可以從第一離線定位模組302切換回第一線上定位模組301以獲取定位結果;和/或,第一無線網路通信模組303的訊號狀態由受阻恢復暢通時,可以從第一點對點無線通訊模組304切換回第一無線網路通信模組303進行通信。 Optionally, when the user leaves a specific area and the signal state of the first online positioning module 301 recovers from being blocked, the first offline positioning module 302 can be switched back to the first online positioning module 301 to obtain the positioning result;

可選的,在第一線上定位模組301工作時,所述第一離線定位模組302可以休眠或關閉;在所述第一無線網路通信模組303工作時,所述第一點對點無線通訊模組304可以休眠或關閉。 Optionally, when the first online positioning module 301 is working, the first offline positioning module 302 can be dormant or closed; when the first wireless network communication module 303 is working, the first point-to-point wireless communication module 304 can be dormant or closed.

舉例來說明各種定位方式和通信方式的組合。所述基於第一線上定位模組301和第一離線定位模組302的訊號品質切換至其中訊號暢通的一者以獲得第一定位結果或者相對運動資料,且響應於切換至第一離線定位模組302,基於已有的第一定位結果和位置接續的相對運動資料計算第二定位結果;以及,基於第一無線網路通信模組303和第一點對點無線通訊模組304的訊號品質切換至其中訊號暢通的一者以傳輸所獲得的第一定位結果或第二定位結果,可 以包括以下任意一種:回應於所述第一線上定位模組301和第一無線網路通信模組303訊號暢通,透過所述第一無線網路通信模組303傳輸所述第一定位結果;或者,回應於所述第一線上定位模組301訊號暢通且第一無線網路通信模組303訊號受阻,切換至啟動所述第一點對點無線通訊模組304,以在建立所述點對點無線通訊後傳輸所述第一定位結果;或者,回應於所述第一線上定位模組301訊號受阻且第一無線網路通信模組303訊號暢通,切換至啟動所述第一離線定位模組302,並以第一定位結果所指示的末點位置為原點位置,結合相對於所述原點位置的相對運動資料得到第二定位結果,並透過所述第一無線網路通信模組303傳輸所述第二定位結果;或者,回應於所述第一線上定位模組301和第一無線網路通信模組303訊號受阻,切換至啟動所述第一點對點無線通訊模組304及第一離線定位模組302,並以第一定位結果所指示的末點位置為原點位置,結合相對於所述原點位置的相對運動資料得到第二定位結果,以在建立所述點對點無線通訊後向通信對端傳輸所述第二定位結果。其中,所述通信對端即可為上述實施例中的移動終端。 Give an example to illustrate the combination of various positioning methods and communication methods. The signal quality based on the first online positioning module 301 and the first offline positioning module 302 is switched to the one with smooth signal to obtain the first positioning result or relative motion data, and in response to switching to the first offline positioning module 302, the second positioning result is calculated based on the existing first positioning result and the relative motion data of the position; and, based on the signal quality of the first wireless network communication module 303 and the first point-to-point wireless communication module 304, the signal is switched to the one with smooth signal to transmit the obtained first positioning results or secondary positioning results, which can be Including any one of the following: in response to the smooth signal of the first online positioning module 301 and the first wireless network communication module 303, transmitting the first positioning result through the first wireless network communication module 303; The signal of the first online positioning module 301 is blocked and the signal of the first wireless network communication module 303 is unblocked, switch to start the first offline positioning module 302, and use the end position indicated by the first positioning result as the origin position, combine relative motion data relative to the origin position to obtain the second positioning result, and transmit the second positioning result through the first wireless network communication module 303; Start the first point-to-point wireless communication module 304 and the first offline positioning module 302, and use the end position indicated by the first positioning result as the origin position, and combine relative motion data relative to the origin position to obtain a second positioning result, so as to transmit the second positioning result to the communication peer after the point-to-point wireless communication is established. Wherein, the communication counterparty can be the mobile terminal in the above embodiment.

透過加速度數據可以判斷活動對象的運動狀態,如靜止、緩慢行走、奔跑等。所述運動狀態資訊還可以包括姿態資訊,如直立、爬行、跌倒等。由此,在一些實施例中,所述計算單元還可用於根據所述加速度數據計算運動狀態資訊。所述運動狀態資訊可以包含在所述第二定位結果中以向外發送。 Through the acceleration data, the motion state of the moving object can be judged, such as standing still, walking slowly, running, etc. The motion state information may also include posture information, such as standing up, crawling, falling down and so on. Therefore, in some embodiments, the calculating unit is further configured to calculate motion state information according to the acceleration data. The motion state information may be included in the second positioning result for sending out.

如圖5所示,展示本發明一實施例中第一處理模組實現的電路結構示意圖。所述第一處理模組可以包括但不限於:至少一個處理單元510、至少一個存儲單元520、連接不同系統元件(包括存儲單元520和處理單元510)的匯流排530。其中,所述存儲單元存儲有程式碼,所述程式碼可以被所述處理單元510執行以執行上述切換過程。在一些實施例中,所述處理單元510可以包括MCU、SoC、FPGA或其它ASIC,存儲單元520可以包括易失性存儲單元,例如 隨機存取存儲單元(RAM)5201和/或快取記憶體存儲單元5202,還可以進一步包括唯讀存儲單元(ROM)5203。在一些實施例中,存儲單元520還可以包括具有一組(至少一個)程式模組5205的程式/實用工具5204。在一些實施例中,匯流排530可以包括資料匯流排、位址匯流排和控制匯流排。在一些實施例中,第一處理模組500也可以與一個或多個外部模組(如模組301~304等)通信,這種通信可以透過輸入/輸出(I/O)介面540進行。應當明白,儘管圖中未示出,可以結合第一處理模組500使用其它硬體和/或軟體模組,包括但不限於:微代碼、裝置驅動程式、冗餘處理單元、外部磁片驅動陣列、RAID系統、磁帶驅動器以及資料備份存儲系統等。 As shown in FIG. 5 , it shows a schematic diagram of the circuit structure realized by the first processing module in an embodiment of the present invention. The first processing module may include but not limited to: at least one processing unit 510 , at least one storage unit 520 , and a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510 ). Wherein, the storage unit stores program codes, and the program codes can be executed by the processing unit 510 to perform the above switching process. In some embodiments, the processing unit 510 may include MCU, SoC, FPGA or other ASIC, and the storage unit 520 may include a volatile storage unit, such as The random access storage unit (RAM) 5201 and/or the cache storage unit 5202 may further include a read-only storage unit (ROM) 5203 . In some embodiments, the storage unit 520 may further include a program/utility tool 5204 having a set (at least one) of a program module 5205 . In some embodiments, the bus 530 may include a data bus, an address bus and a control bus. In some embodiments, the first processing module 500 can also communicate with one or more external modules (such as modules 301 - 304 , etc.), and such communication can be performed through an input/output (I/O) interface 540 . It should be understood that although not shown in the figure, other hardware and/or software modules may be used in conjunction with the first processing module 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

根據上述可擕式定位終端各電路模組的可能實現方式,可一併參閱圖6所示,展示本發明一應用示例中可擕式定位終端的電路模組結構示意圖。所述可擕式定位終端包括:GPS模組、電子羅盤模組、WWAN模組、LORA模組、MCU、電池模組等。MCU耦接GPS模組、電子羅盤模組、WWAN模組、LORA模組,電池模組耦接MCU以供電。 According to the possible implementation of each circuit module of the above-mentioned portable positioning terminal, please refer to FIG. 6 together, which shows a schematic structural diagram of the circuit module of the portable positioning terminal in an application example of the present invention. The portable positioning terminal includes: GPS module, electronic compass module, WWAN module, LORA module, MCU, battery module, etc. The MCU is coupled to the GPS module, the electronic compass module, the WWAN module, and the LORA module, and the battery module is coupled to the MCU for power supply.

在一些實施例中,圖3中的所述第一線上定位模組301、第一離線定位模組302、第一無線網路通信模組303、及第一點對點無線通訊模組304按各自的工作時間間隔週期性地工作;和/或,所述第一線上定位模組301和第一無線網路通信模組303在訊號受阻狀態下,按各自的恢復時間間隔週期性地嘗試恢復工作。在可能示例中,所述第一處理模組305還可以根據所述電池模組的剩餘電量,調節所述第一線上定位模組301、第一離線定位模組302、第一無線網路通信模組303、及第一點對點無線通訊模組304中至少一個的工作時間間隔和/或恢復時間間隔。例如,工作時間間隔和/或恢復時間間隔和電池電量之間負相關,電池剩餘電量越少,時間間隔越大,以此來節省耗電,以盡可能延緩電池耗盡時間,以提升尋找到活動對象的成功率。 In some embodiments, the first online positioning module 301, the first offline positioning module 302, the first wireless network communication module 303, and the first point-to-point wireless communication module 304 in FIG. 3 work periodically according to their respective working time intervals; and/or, the first online positioning module 301 and the first wireless network communication module 303 try to resume work periodically according to their respective recovery time intervals when the signal is blocked. In a possible example, the first processing module 305 may also adjust the working time interval and/or recovery time interval of at least one of the first online positioning module 301, the first offline positioning module 302, the first wireless network communication module 303, and the first point-to-point wireless communication module 304 according to the remaining power of the battery module. For example, there is a negative correlation between the working time interval and/or the recovery time interval and the battery power. The less the remaining battery power is, the longer the time interval is, so as to save power consumption, delay the battery exhaustion time as much as possible, and improve the success rate of finding active objects.

為直觀說明可擕式定位終端隨訊號變化產生的各種狀態切換,可以參考圖7A,展示本發明一實施例中多種定位方式和通信方式組合的狀態切換示意圖。其中,定時0~定時5即對應所述工作時間間隔和恢復時間間隔。 In order to intuitively illustrate various state switching of the portable positioning terminal as the signal changes, reference may be made to FIG. 7A , which shows a schematic diagram of state switching of multiple positioning methods and communication method combinations in an embodiment of the present invention. Wherein, timing 0 to timing 5 correspond to the working time interval and the recovery time interval.

如圖所示,狀態0為可擕式定位終端的初始化狀態,初始化過程包括:0.1嘗試使用第一無線網路通信模組,即WWAN模組,登陸無線廣域網路;0.2嘗試使用第一線上定位模組,如GPS模組,搜索衛星訊號。 As shown in the figure, state 0 is the initialization state of the portable positioning terminal. The initialization process includes: 0.1 Try to use the first wireless network communication module, that is, the WWAN module, to log in to the wireless wide area network; 0.2 Try to use the first online positioning module, such as the GPS module, to search for satellite signals.

狀態1:若WWAN模組訊號正常以及GPS訊號正常定位,進入狀態1,執行包括:1.1GPS模組按定時0週期性得到並記錄第一定位結果,即例如GPS定位的位置;還可以根據位置變化得到運動方向資料;1.2GPS模組按定時1週期性透過WWAN模組上報位置及運動方向。可選的,為區別於第二定位結果,上報的資料幀可以包含標誌位元,其取值對應絕對定位(即標識GPS經緯度的唯一性)。 State 1: If the WWAN module signal is normal and the GPS signal is normally positioned, enter state 1, and the execution includes: 1.1 The GPS module periodically obtains and records the first positioning result at a timing of 0, that is, the position of GPS positioning; it can also obtain movement direction data according to the position change; 1.2 The GPS module periodically reports the position and movement direction through the WWAN module at a timing of 1. Optionally, in order to distinguish it from the second positioning result, the reported data frame may contain a flag bit whose value corresponds to absolute positioning (that is, to identify the uniqueness of the GPS latitude and longitude).

狀態2:若WWAN模組訊號正常以及GPS訊號無法定位,進入狀態2,執行包括:2.1啟動第一離線定位模組,例如電子羅盤模組,按照定時2週期性地計算每組運動距離及運動方向;電子羅盤模組獲取GPS模組最後定位的末點位置作為原點位置;根據原點位置和每組運動距離和運動方向定位每個相對運動位置。2.2透過WWAN模組按定時1週期性發送各相對運動位置及運動方向;上報的資料幀可以包含標誌位元,其取值對應相對定位;2.3按定時3週期性啟動GPS模組嘗試搜索衛星訊號。 State 2: If the WWAN module signal is normal and the GPS signal cannot be positioned, enter state 2, and the execution includes: 2.1 Start the first offline positioning module, such as the electronic compass module, and periodically calculate the movement distance and movement direction of each group according to the timing 2; the electronic compass module obtains the last position of the GPS module as the origin position; locates each relative movement position according to the origin position and each group of movement distances and movement directions. 2.2 Through the WWAN module, periodically send the relative motion position and motion direction according to timing 1; the reported data frame can contain flag bits, and its value corresponds to relative positioning; 2.3 Periodically start the GPS module according to timing 3 to try to search for satellite signals.

狀態3:若WWAN模組無法連網以及GPS訊號正常定位,進入狀態3,執行包括:3.1GPS模組按定時0週期性得到並記錄第一定位結果,即例如GPS定位的位置;還可以根據位置變化得到運動方向資料;3.2開啟第一點對點無線通訊模組,按定時4偵測定位元指令(可表示需定位活動對象);如收到定位指令,透過第一點對點無線通訊模組回應GPS模組的第一定位結果,發送的資 料幀包含標誌位元,其取值對應GPS定位。3.3按定時5週期性啟動WWAN模組嘗試登陸無線廣域網路。 State 3: If the WWAN module cannot connect to the network and the GPS signal is normally positioned, enter state 3, and the execution includes: 3.1 The GPS module periodically obtains and records the first positioning result according to the timing 0, that is, the position of the GPS positioning; it can also obtain the movement direction data according to the position change; The material frame contains flag bits, whose values correspond to GPS positioning. 3.3 Start the WWAN module periodically according to the timing 5 and try to log in to the wireless wide area network.

狀態4:若WWAN模組無法連網以及GPS訊號無法定位,進入狀態4,執行包括:4.1啟動第一離線定位模組,例如電子羅盤模組,按照定時2週期性地計算每組運動距離及運動方向;電子羅盤模組獲取GPS模組最後定位的末點位置作為原點位置;根據原點位置和每組運動距離和運動方向定位每個相對運動位置。4.2開啟第一點對點無線通訊模組,按定時4偵測定位元指令(可表示需定位活動對象);如收到定位指令,透過第一點對點無線通訊模組回應GPS模組的第一定位結果,發送的資料幀包含標誌位元,其取值對應GPS定位。4.3按定時3週期性啟動GPS模組嘗試搜索衛星訊號。4.4按定時5週期性啟動WWAN模組嘗試登陸無線廣域網路。 State 4: If the WWAN module cannot be connected to the network and the GPS signal cannot be positioned, enter state 4, and the execution includes: 4.1 Start the first offline positioning module, such as the electronic compass module, and periodically calculate the movement distance and movement direction of each group according to the timing 2; the electronic compass module obtains the last position of the GPS module as the origin position; locates each relative movement position according to the origin position and each group of movement distances and movement directions. 4.2 Turn on the first point-to-point wireless communication module, and detect the positioning bit command according to the timing 4 (it can indicate that the moving object needs to be located); if the positioning command is received, the first point-to-point wireless communication module responds to the first positioning result of the GPS module, and the sent data frame contains flag bits, and its value corresponds to GPS positioning. 4.3 Start the GPS module periodically according to timing 3 to try to search for satellite signals. 4.4 Start the WWAN module periodically according to the timing 5 and try to log in to the wireless wide area network.

另外,在狀態1的情況下,如果GPS訊號轉變為無法定位,則切換至狀態2;或者,在狀態2的情況下,如果GPS訊號轉變為正常定位,則啟用GPS模組定位,關閉電子羅盤模組,切換至狀態1。 In addition, in the case of state 1, if the GPS signal becomes unable to locate, then switch to state 2; or, in the case of state 2, if the GPS signal changes to normal positioning, enable GPS module positioning, turn off the electronic compass module, and switch to state 1.

在狀態1的情況下,如果WWAN模組轉變為無法連網,則切換至狀態3;或者,在狀態3的情況下,如果WWAN模組轉變為訊號正常,可連網,則切換至狀態1。 In the case of state 1, if the WWAN module becomes unable to connect to the network, then switch to state 3; or, in the case of state 3, if the signal of the WWAN module becomes normal and can connect to the network, then switch to state 1.

在狀態2的情況下,如果WWAN模組轉變為無法連網,則切換至狀態4;或者,在狀態4的情況下,如果WWAN模組轉變為訊號正常,可連網,則切換至狀態2。 In the case of state 2, if the WWAN module becomes unable to connect to the network, then switch to state 4; or, in the case of state 4, if the WWAN module becomes normal and can connect to the network, then switch to state 2.

在狀態3的情況下,如果GPS訊號轉變為無法定位,則切換至狀態4;或者,在狀態4的情況下,如果GPS訊號轉變為正常定位,則啟用GPS模組定位,關閉電子羅盤模組,切換至狀態3。 In the case of state 3, if the GPS signal becomes unable to locate, then switch to state 4; or, in the case of state 4, if the GPS signal changes to normal positioning, enable GPS module positioning, turn off the electronic compass module, and switch to state 3.

如圖7B所示,展示本發明一應用示例中可擕式定位終端依時間順序發生狀態切換時所發送資料幀的格式示意圖。在圖7B中,從左至右分別展示按時間軸切換的狀態1、狀態2和狀態4下的資料幀,狀態1和狀態2的資料幀發送到WWAN,而狀態3的資料幀發送給通信對端(如移動終端)。所述資料幀所包含的資料項目包括例如:姓名、記錄時間、所在位置(或原點位置)、運動方向、電子羅盤輸出的運動軌跡。 As shown in FIG. 7B , a schematic diagram of the format of the data frame sent by the portable positioning terminal in an application example of the present invention when the state switching occurs in time sequence is shown. In FIG. 7B , the data frames in state 1, state 2 and state 4 switched according to the time axis are respectively shown from left to right. The data frames in state 1 and state 2 are sent to the WWAN, while the data frames in state 3 are sent to the communication peer (such as a mobile terminal). The data items included in the data frame include, for example: name, recording time, location (or origin position), motion direction, and motion track output by the electronic compass.

在狀態1時,屬於「訊號強場」,WWAN模組通信正常及GPS定位正常,資料幀內容呈現為:活動對象「Kitty」在時間「2028/8/8 8:18」的所在位置為「東經aaa,北緯bbb」,運動方向為0°,此時未啟動電子羅盤,不產生運動軌跡。 In state 1, it belongs to "signal strong field", the WWAN module communication is normal and the GPS positioning is normal. The content of the data frame is displayed as follows: the location of the active object "Kitty" at the time "2028/8/8 8:18" is "aaa east longitude, bbb north latitude", and the movement direction is 0°. At this time, the electronic compass is not activated, and no movement trajectory is generated.

在切換到狀態2時,屬於「訊號弱場」,WWAN模組通信正常及GPS無法定位,活動對象「Kitty」在最終GPS位置(即原點位置)為「東經ccc,北緯ddd」,在時間「2028/8/8 11:18」時,電子羅盤輸出多段運動軌跡「1/10/10/0°」,「2/12/10/45°」,其格式意義為「id(記錄id,也對應每個相對位置點)/deltaX(X方向運動變化)/deltaY(Y方向運動變化)/Angle(運動方位角度)」。 When switching to state 2, it belongs to "weak signal field", WWAN module communication is normal and GPS cannot be positioned. The final GPS position (ie origin position) of the moving object "Kitty" is "east longitude ccc, north latitude ddd". It also corresponds to each relative position point)/deltaX (movement change in X direction)/deltaY (movement change in Y direction)/Angle (motion azimuth angle)".

在切換到狀態4時,屬於「訊號盲區」,WWAN模組無法通信及GPS無法定位,活動對象「Kitty」在最終GPS位置(原點位置)為「東經ccc,北緯ddd」,在時間「2028/8/8 12:18」時,電子羅盤輸出運動軌跡增加為「1/10/10/0°」,「2/12/10/45°」,「3/10/16/0°」,「4/1/2/0°」......。 When switching to state 4, it belongs to the "signal blind zone", the WWAN module cannot communicate and the GPS cannot locate. The final GPS position (origin position) of the moving object "Kitty" is "east longitude ccc, north latitude ddd". ", "4/1/2/0°".......

如圖8所示,展示本發明一實施例中移動終端的電路模組結構示意圖。所述移動終端800用於與之前實施例中的可擕式定位終端通信,以供監護者定位尋找攜帶可擕式定位終端的活動對象使用。在一些實現示例中,所述移 動終端800可以實現為例如智慧手機、平板電腦、PDA、智慧手錶、智慧腕帶、智慧眼鏡/頭盔或其它智慧裝置。 As shown in FIG. 8 , it shows a schematic structural diagram of a circuit module of a mobile terminal in an embodiment of the present invention. The mobile terminal 800 is used to communicate with the portable positioning terminal in the previous embodiment, so as to be used by the guardian to locate and find the moving object carrying the portable positioning terminal. In some implementation examples, the shift The mobile terminal 800 can be realized as, for example, a smart phone, a tablet computer, a PDA, a smart watch, a smart wristband, smart glasses/helmet or other smart devices.

由之前實施例可知,所述可擕式定位終端具有在無線廣域網路通信和點對點無線通訊兩種通信方式之間切換的能力,則相應的可擕式定位終端也具有對應的通信能力。另外,移動終端800需要能指示使用者所述活動對象所在位置,因此也需要顯示能力。 It can be seen from the previous embodiments that the portable positioning terminal has the ability to switch between the wireless wide area network communication and the point-to-point wireless communication, and the corresponding portable positioning terminal also has the corresponding communication capability. In addition, the mobile terminal 800 needs to be able to indicate the location of the active object to the user, and thus also needs display capabilities.

由此,所述可擕式定位終端800可以包括:第二無線網路通信模組801,用於與無線廣域網路之間進行無線網路通信,以獲得可擕式定位終端所在位置的第一定位結果或第二定位結果;第二點對點無線通訊模組802,用於發送定位指令至所述可擕式定位終端,以建立相互間點對點無線通訊,以獲得可擕式定位終端所在位置的第一定位結果或第二定位結果。當可擕式定位終端切換至第一點對點無線通訊模組工作,且移動終端運動到點對點無線通訊的訊號覆蓋範圍內時(例如LORA的訊號覆蓋範圍),第二點對點無線通訊模組802的定位指令用於觸發第一點對點無線通訊模組與其之間建立點對點無線通訊。 Thus, the portable positioning terminal 800 may include: a second wireless network communication module 801 for performing wireless network communication with a wireless wide area network to obtain a first positioning result or a second positioning result of the location of the portable positioning terminal; a second point-to-point wireless communication module 802 for sending positioning instructions to the portable positioning terminal to establish mutual point-to-point wireless communication to obtain the first positioning result or second positioning result of the location of the portable positioning terminal. When the portable positioning terminal switches to the first point-to-point wireless communication module to work, and the mobile terminal moves into the signal coverage of the point-to-point wireless communication (such as the signal coverage of LORA), the positioning command of the second point-to-point wireless communication module 802 is used to trigger the first point-to-point wireless communication module to establish point-to-point wireless communication with it.

顯示模組803,用於顯示所述第一定位結果和/或第二定位結果於電子地圖。在一些實施例中,所述電子地圖可以是預置於移動終端中的離線資料,因為移動終端到達訊號品質差的特定場景,也有可能從無線廣域網路離線而無法透過LBS得到電子地圖。如果移動終端只接收到第一定位結果,對應上述圖8A中可擕式定位終端的狀態1或狀態3,則可以只顯示第一定位結果;如果移動終端在接收到第一定位結果之後,又收到了第二定位結果,表示可擕式定位終端切換成狀態2或狀態4,則可以在顯示已獲得的第一定位結果後,顯示位置接續的第二定位結果,從而呈現出例如圖2所示的連續的運動軌跡的效果。 The display module 803 is configured to display the first positioning result and/or the second positioning result on an electronic map. In some embodiments, the electronic map can be offline data pre-installed in the mobile terminal, because the mobile terminal may be offline from the wireless wide area network and cannot obtain the electronic map through the LBS because the mobile terminal arrives at a specific scene with poor signal quality. If the mobile terminal only receives the first positioning result, which corresponds to the state 1 or state 3 of the portable positioning terminal in FIG. 8A , then only the first positioning result can be displayed; if the mobile terminal receives the second positioning result after receiving the first positioning result, which means that the portable positioning terminal switches to state 2 or state 4, then after displaying the obtained first positioning result, it can display the second positioning result following the position, thus presenting the effect of a continuous motion trajectory such as shown in FIG. 2 .

第二處理模組804,耦接所述第二無線網路通信模組801、第二點對點無線通訊模組802、及顯示模組803,用於回應於滿足觸發條件,切換至啟 用所述第二點對點無線通訊模組802,與所述可擕式定位終端建立點對點無線通訊,以獲得所述第一定位結果或第二定位結果並透過所述顯示模組顯示於電子地圖。 The second processing module 804 is coupled to the second wireless network communication module 801, the second point-to-point wireless communication module 802, and the display module 803, and is used to switch to the activation mode in response to the trigger condition being met. Use the second point-to-point wireless communication module 802 to establish point-to-point wireless communication with the portable positioning terminal to obtain the first positioning result or the second positioning result and display it on the electronic map through the display module.

在一些實施例中,所述觸發條件包括以下至少一種:1)移動終端800到達所述參考位置。具體而言,所述參考位置即可擕式定位終端的GPS定位的最終定位位置,移動終端可以週期性地將自身當前所在位置與其相比較;若比較一致,則判斷到達所述參考位置;若比較不一致,則繼續比較。 In some embodiments, the trigger condition includes at least one of the following: 1) The mobile terminal 800 arrives at the reference location. Specifically, the reference position is the final positioning position of the GPS positioning of the portable positioning terminal, and the mobile terminal can periodically compare its current position with it; if the comparison is consistent, then it is judged that it has reached the reference position;

2)透過所述第二無線網路通信模組無法獲得所述第一定位結果或第二定位結果。具體而言,當使用者根據所顯示的GPS定位結果追蹤活動對象,在定位精度較粗的情況下應也能到達參考位置或其附近,當繼續進入特定場景時,第二無線網路通信模組同樣會訊號受阻而無法繼續定位,故此也可以作為觸發從第二無線網路通信模組切換至第二點對點無線通訊模組啟用的條件。 2) The first positioning result or the second positioning result cannot be obtained through the second wireless network communication module. Specifically, when the user tracks the moving object according to the displayed GPS positioning result, the user should be able to reach the reference position or its vicinity even if the positioning accuracy is relatively coarse. When continuing to enter a specific scene, the second wireless network communication module will also be blocked and unable to continue positioning. Therefore, it can also be used as a trigger to switch from the second wireless network communication module to the activation of the second point-to-point wireless communication module.

基於追蹤便利的考量,較佳地,移動終端可將自身的定位結果與活動對象的定位結果一併顯示,以供使用者參考來明確自身與活動對象的當前相對位置,更利於導航效率。故,所述移動終端可能需要在特定場景內/外都具備能對自身定位的能力。 Based on the consideration of tracking convenience, preferably, the mobile terminal can display its own positioning result and the positioning result of the active object together for the user's reference to clarify the current relative position between itself and the active object, which is more conducive to navigation efficiency. Therefore, the mobile terminal may need to be capable of positioning itself both inside and outside a specific scene.

由此,可選的,所述移動終端還可以包括第二線上定位模組和/或第二離線定位模組。所述第二線上定位模組805,用於透過與外部無線訊號交互獲得所述移動終端的第三定位結果。所述第二線上定位模組805與第一線上定位模組的實現原理可以相同或相似,例如GPS模組、移動通信網路模組等。所述第二離線定位模組806,用於基於參考位置及偵測到的運動資料獲得所述移動終端的第四定位結果。所述第二離線定位模組806與第一離線定位模組的實現原理可以相同或相似,例如LORA模組等。 Therefore, optionally, the mobile terminal may further include a second online positioning module and/or a second offline positioning module. The second online positioning module 805 is configured to obtain a third positioning result of the mobile terminal through interaction with external wireless signals. The realization principle of the second online positioning module 805 and the first online positioning module may be the same or similar, such as GPS module, mobile communication network module and so on. The second offline positioning module 806 is configured to obtain a fourth positioning result of the mobile terminal based on the reference position and the detected movement data. The realization principle of the second offline positioning module 806 and the first offline positioning module may be the same or similar, such as the LORA module and the like.

所述第二處理模組804,耦接所述第二線上定位模組805和/或第二離線定位模組806,用於基於第二線上定位模組805和第二離線定位模組806的訊號品質切換至其中訊號暢通的一者以獲得第三定位結果或第四定位結果,並將當前所獲得的第三定位結果和/或第四定位結果與當前所獲得的第一定位結果和/或第二定位結果透過所述顯示模組一併顯示於電子地圖。舉例而言,在電子地圖中可以即時一併顯示使用者和活動對象的位置。 The second processing module 804 is coupled to the second online positioning module 805 and/or the second offline positioning module 806, and is used to switch to the one with a smooth signal based on the signal quality of the second online positioning module 805 and the second offline positioning module 806 to obtain a third positioning result or a fourth positioning result, and display the currently obtained third positioning result and/or fourth positioning result together with the currently obtained first positioning result and/or second positioning result on the electronic map through the display module. For example, the positions of users and active objects can be simultaneously displayed on the electronic map in real time.

如圖9所示,展示本發明一實施例中活動對象的位置傳輸方法的流程示意圖。所述活動對象的位置傳輸方法可以應用於之前實施例中的可擕式定位終端。由於可擕式定位終端的具體原理在上述實施例中以介紹,故本實施例中不再重複贅述。雖然本實施例中只展示了具體應用中方法可能發生的一些分支,但可以理解的,根據之前實施例中關於可擕式定位終端的原理描述,可以得到其他的分支。 As shown in FIG. 9 , it shows a schematic flowchart of a method for transmitting a location of an active object in an embodiment of the present invention. The method for transmitting the position of an active object can be applied to the portable positioning terminal in the previous embodiments. Since the specific principle of the portable positioning terminal is introduced in the above embodiment, it will not be repeated in this embodiment. Although this embodiment only shows some possible branches of the method in specific applications, it can be understood that other branches can be obtained according to the principle description of the portable positioning terminal in the previous embodiments.

所述位置傳輸方法包括:步驟S901:透過第一線上定位模組獲取活動對象的第一定位結果,並透過第一無線網路通信模組傳輸所述第一定位結果;步驟S902:回應於第一線上定位模組的訊號受阻,切換至啟用所述第一離線定位模組獲取第二定位結果;步驟S903:回應於第一無線網路通信模組的訊號暢通,透過所述第一無線網路通信模組傳輸所述第二定位結果;或者,步驟S904:回應於第一無線網路通信模組的訊號受阻,切換啟用所述點對點通信模組,以在建立所述點對點無線通訊後傳輸所述第二定位結果。 The position transmission method includes: Step S901: Obtain the first positioning result of the active object through the first online positioning module, and transmit the first positioning result through the first wireless network communication module; Step S902: In response to the signal of the first online positioning module being blocked, switch to enable the first offline positioning module to obtain the second positioning result; Step S903: In response to the smooth signal of the first wireless network communication module, transmit the second positioning result through the first wireless network communication module; The signal of the wireless network communication module is blocked, and the point-to-point communication module is switched to be enabled, so as to transmit the second positioning result after the point-to-point wireless communication is established.

如圖10所示,展示本發明一實施例中定位方法的流程示意圖。所述定位方法可以應用於之前實施例中的移動終端。由於移動終端的具體原理在上述實施例中以介紹,故本實施例中不再重複贅述。雖然本實施例中只展示了具體應用中方法可能發生的一些分支,但可以理解的,根據之前實施例中關於移動終端的原理描述,可以得到其他的分支。 As shown in FIG. 10 , it shows a schematic flowchart of a positioning method in an embodiment of the present invention. The positioning method can be applied to the mobile terminal in the previous embodiments. Since the specific principles of the mobile terminal are introduced in the foregoing embodiments, they will not be repeated in this embodiment. Although this embodiment only shows some possible branches of the method in specific applications, it can be understood that other branches can be obtained according to the description of the principle of the mobile terminal in the previous embodiments.

所述定位方法包括:步驟S1001:透過第二無線網路通信模組獲得所述第一定位結果,顯示所述第一定位結果;步驟S1002:透過第二無線網路通信模組獲得所述第二定位結果,顯示所述第二定位結果於電子地圖;步驟S1003:回應於滿足觸發條件,切換至啟用所述第二點對點無線通訊模組與所述可擕式定位終端建立通信,以獲得所述第二定位結果並顯示於所述電子地圖。 The positioning method includes: Step S1001: Obtain the first positioning result through the second wireless network communication module, and display the first positioning result; Step S1002: Obtain the second positioning result through the second wireless network communication module, and display the second positioning result on the electronic map; Step S1003: In response to satisfying the trigger condition, switch to enabling the second point-to-point wireless communication module to establish communication with the portable positioning terminal to obtain the second positioning result and display it on the electronic map.

再舉一實例,以直觀說明尋找寵物場景中的具體應用過程。 Another example is given to intuitively illustrate the specific application process in the scene of finding pets.

寵物貓咪Kitty進入地下室,GPS訊號消失、WWAN通信正常,啟用電子羅盤可以獲取到GPS定位的最終位置A並可得到運動方向;寵物貓咪Kitty深入至無訊號區域,GPS訊號消失且WWAN無法通信,電子羅盤可以記錄Kitty從A至B的運動軌跡和運動方向;由於未建立點對點通信連接,先不進行發送;主人持移動終端根據傳來的GPS訊號定位記錄來到位置A,切換至啟動第一點對點無線通訊模組發送定位指令;可選的,主人還可沿GPS訊號定位記錄中位置A時的運動方向繼續尋找;可擕式定位終端識別定位指令,啟動第一點對點無線通訊模組,與移動終端建立點對點無線通訊連接;可擕式定位終端回傳位置A至B的運動軌跡和運動方向給移動終端;主人來到位置B,呼喚Kitty或者根據即時更新的運動軌跡繼續尋找,找到Kitty。 The pet cat Kitty enters the basement, the GPS signal disappears, and the WWAN communication is normal. Using the electronic compass, the final position A of GPS positioning can be obtained and the movement direction can be obtained; the pet cat Kitty goes deep into the no-signal area, the GPS signal disappears and WWAN cannot communicate, and the electronic compass can record Kitty’s movement track and direction from A to B; because the point-to-point communication connection has not been established, it will not be sent at the moment; The module sends a positioning command; optionally, the owner can continue to search along the direction of movement at position A in the GPS signal positioning record; the portable positioning terminal recognizes the positioning command, activates the first point-to-point wireless communication module, and establishes a point-to-point wireless communication connection with the mobile terminal; the portable positioning terminal returns the movement trajectory and movement direction of positions A to B to the mobile terminal; the owner comes to position B, calls Kitty or continues to search according to the instantly updated movement trajectory, and finds Kitty.

可選的,主人的移動終端可以同樣在到達位置A之前透過GPS定位自身位置,以及在到達位置A之後GPS無訊號而啟用離線定位以得到即時的自身所在位置X,參考X和位置B的相對位置而校正運動方向至沿運動軌跡行進或者自行向位置B行進。 Optionally, the owner's mobile terminal can also locate its own position through GPS before arriving at position A, and enable offline positioning after arriving at position A without GPS signal to obtain real-time own position X, and refer to the relative position of X and position B to correct the direction of motion to travel along the motion track or to travel to position B by itself.

本發明實施例中還可以提供一種電腦可讀存儲介質,存儲有程式指令,所述程式指令被運行時執行之前圖9或圖10實施例中的方法步驟。 An embodiment of the present invention may further provide a computer-readable storage medium storing program instructions, and when the program instructions are executed, the method steps in the previous embodiment shown in FIG. 9 or FIG. 10 are executed.

上述實施例中的方法步驟被實現為可存儲在記錄介質(諸如CD ROM、RAM、軟碟、硬碟或磁光碟)中的軟體或電腦代碼,或者被實現透過網路 下載的原始存儲在遠端記錄介質或非暫時機器可讀介質中並將被存儲在本地記錄介質中的電腦代碼,從而在此表示的方法可被存儲在使用通用電腦、專用處理器或者可程式設計或專用硬體(諸如ASIC或FPGA)的記錄介質上的這樣的軟體處理。 The method steps in the above-mentioned embodiments are implemented as software or computer codes that can be stored in a recording medium (such as CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or implemented through a network Downloaded computer code that is originally stored in a remote recording medium or a non-transitory machine-readable medium and will be stored in a local recording medium so that the methods presented herein can be processed by such software stored on a recording medium using a general purpose computer, a dedicated processor, or programmable or dedicated hardware such as an ASIC or FPGA.

需特別說明的是,本發明上述實施例的流程圖表示的流程或方法表示可以被理解為,表示包括一個或更多個用於實現特定邏輯功能或過程的步驟的可執行指令的代碼的模組、片段或部分。並且本發明的優選實施方式的範圍包括另外的實現,其中可以不按所示出或討論的順序,包括根據所涉及的功能按基本同時的方式或按相反的順序,來執行功能。 It should be noted that the process or method representation represented by the flowchart of the above-mentioned embodiments of the present invention can be understood as representing a module, segment or part of code including one or more executable instructions for implementing specific logical functions or steps of the process. Also, the scope of the preferred embodiment of the present invention includes additional implementations in which functions may be performed out of the order shown or discussed, including substantially concurrent or in reverse order depending upon the functions involved.

例如,圖9、圖10實施例中的各個步驟的順序可能可以在具體場景中加以變化,並非以上述表示為限。 For example, the sequence of the steps in the embodiments shown in FIG. 9 and FIG. 10 may be changed in specific scenarios, and is not limited to the above representations.

綜上所述,本發明實施例中提供可擕式定位終端、移動終端、位置傳輸和定位方法及介質,可擕式定位終端包括第一線上定位模組、第一離線定位模組、第一無線網路通信模組、第一點對點無線通訊模組及第一處理模組;在特定場景下,第一線上定位模組、第一無線網路通信模組可能無法正常獲取並傳輸定位資料,則可以透過切換到第一離線定位模組、第一點對點無線通訊模組等來透過本地獲取定位結果以及點對點傳輸,從而彌補了訊號不佳導致無法繼續定位可擕式定位終端的問題。透過由如寵物、孩童等活動對象攜帶所述可擕式定位終端,透過移動終端就可以進行追蹤尋找,即使遇到訊號品質差的特定場景也能穩定地維持與活動對象的通信,從而解決由於訊號品質差所導致的活動對象尋找不便的問題。 To sum up, the embodiments of the present invention provide a portable positioning terminal, a mobile terminal, a location transmission and positioning method, and a medium. The portable positioning terminal includes a first online positioning module, a first offline positioning module, a first wireless network communication module, a first point-to-point wireless communication module, and a first processing module. Point-to-point transmission, which makes up for the problem that the poor signal makes it impossible to continue to locate the portable positioning terminal. By carrying the portable positioning terminal such as pets and children, the portable positioning terminal can be tracked and searched through the mobile terminal, and the communication with the mobile object can be stably maintained even in a specific scene with poor signal quality, thereby solving the problem of inconvenient search for the mobile object caused by poor signal quality.

上述實施例僅例示性說明本發明的原理及其功效,而非用於限制本發明。任何熟悉此技術的人士皆可在不違背本發明的精神及範疇下,對上述實施例進行修飾或改變。因此,舉凡所屬技術領域中具有通常知識者在未脫離 本發明所揭示的精神與技術思想下所完成的一切等效修飾或改變,仍應由本發明的請求項所涵蓋。 The above-mentioned embodiments only illustrate the principles and effects of the present invention, but are not intended to limit the present invention. Anyone skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Therefore, those who have ordinary knowledge in the technical field without departing from All equivalent modifications or changes accomplished under the spirit and technical ideas disclosed in the present invention should still be covered by the claims of the present invention.

201:可擕式定位終端 201: Portable positioning terminal

202:移動終端 202: mobile terminal

203:移動通信網路 203:Mobile communication network

Claims (12)

一種可擕式定位終端,包括:一第一線上定位模組,用於透過一外部無線訊號交互獲得該可擕式定位終端的一第一定位結果;一第一離線定位模組,用於偵測一運動資料並結合一參考位置以獲得該可擕式定位終端的一第二定位結果;其中,該參考位置由該運動資料之前的該第一定位結果得到;一第一無線網路通信模組,用於一無線廣域網路之間進行無線網路通信;一第一點對點無線通訊模組,用於回應於通信對端的定位指令,與該通信對端之間建立點對點無線通訊;以及一第一處理模組,耦接該第一線上定位模組、該第一離線定位模組、該第一無線網路通信模組及該第一點對點無線通訊模組,用於運行程式指令以執行:基於該第一線上定位模組和該第一離線定位模組的訊號品質切換至其中訊號暢通的一者以獲得該第一定位結果或該第二定位結果;其中,基於該第一無線網路通信模組和該第一點對點無線通訊模組的訊號品質切換至其中訊號暢通的一者以傳輸所獲得的該第一定位結果或該第二定位結果;其中,該第一線上定位模組和該第一無線網路通信模組預設被優先使用;其中,基於該第一線上定位模組和該第一離線定位模組的訊號品質切換至其中訊號暢通的一者獲得該第一定位結果或該第二定位結果以及基於該 第一無線網路通信模組和該第一點對點無線通訊模組的訊號品質切換至其中訊號暢通的一者傳輸所獲得的該第一定位結果或該第二定位結果,包括以下任意一種:回應於該第一線上定位模組和該第一無線網路通信模組訊號暢通,透過該第一無線網路通信模組傳輸該第一定位結果;回應於該第一線上定位模組訊號暢通且該第一無線網路通信模組訊號受阻,切換至啟用該第一點對點無線通訊模組,以在建立該點對點無線通訊後傳輸該第一定位結果;回應於該第一線上定位模組訊號受阻且該第一無線網路通信模組訊號暢通,切換至啟用該第一離線定位模組,並透過該第一無線網路通信模組傳輸該第二定位結果;回應於該第一線上定位模組和該第一無線網路通信模組訊號受阻,切換至啟用該第一點對點無線通訊模組及該第一離線定位模組,以在建立該點對點無線通訊後向通信對端傳輸該第二定位結果。 A portable positioning terminal, comprising: a first online positioning module, used to interact with an external wireless signal to obtain a first positioning result of the portable positioning terminal; a first offline positioning module, used to detect a motion data and combine a reference position to obtain a second positioning result of the portable positioning terminal; wherein, the reference position is obtained from the first positioning result before the motion data; a first wireless network communication module, used for wireless network communication between a wireless wide area network; a first point-to-point wireless communication module, used to respond to The positioning command of the communication peer is to establish point-to-point wireless communication with the communication peer; and a first processing module, coupled to the first online positioning module, the first offline positioning module, the first wireless network communication module and the first point-to-point wireless communication module, is used to run program instructions to execute: based on the signal quality of the first online positioning module and the first offline positioning module, switch to one of the smooth signals to obtain the first positioning result or the second positioning result; wherein, based on the first wireless network communication module and the first The signal quality of the point-to-point wireless communication module is switched to the one with smooth signal to transmit the obtained first positioning result or the second positioning result; wherein, the first online positioning module and the first wireless network communication module are used by default; wherein, based on the signal quality of the first online positioning module and the first offline positioning module, the signal quality is switched to the one with smooth signal to obtain the first positioning result or the second positioning result and based on the The signal quality of the first wireless network communication module and the first point-to-point wireless communication module is switched to one of which the signal is unblocked to transmit the obtained first positioning result or the second positioning result, including any one of the following: in response to the smooth signal of the first online positioning module and the first wireless network communication module, the first positioning result is transmitted through the first wireless network communication module; in response to the smooth signal of the first online positioning module and the blocked signal of the first wireless network communication module, switching to enable the first point-to-point wireless The communication module is used to transmit the first positioning result after establishing the point-to-point wireless communication; in response to the signal of the first online positioning module being blocked and the signal of the first wireless network communication module being unblocked, switching to enable the first offline positioning module and transmitting the second positioning result through the first wireless network communication module; in response to the blocking of the signals of the first online positioning module and the first wireless network communication module, switching to enable the first point-to-point wireless communication module and the first offline positioning module to establish the point-to-point wireless communication Then transmit the second positioning result to the communication peer. 如請求項1所述的可擕式定位終端,其中,該第一線上定位模組、該第一離線定位模組、該第一無線網路通信模組、及該第一點對點無線通訊模組按各自的工作時間間隔週期性地工作;該第一線上定位模組和該第一無線網路通信模組在訊號受阻狀態下,按各自的恢復時間間隔週期性地嘗試恢復工作。 The portable positioning terminal as described in Claim 1, wherein, the first online positioning module, the first offline positioning module, the first wireless network communication module, and the first point-to-point wireless communication module work periodically according to their respective working time intervals; the first online positioning module and the first wireless network communication module try to resume work periodically according to their respective recovery time intervals when the signal is blocked. 如請求項2所述的可擕式定位終端,更包括:一電池模組;該處理模組,用於根據該電池模組的剩餘電量,調節該第一線上定位模組、該第一 離線定位模組、該第一無線網路通信模組、及該第一點對點無線通訊模組中至少一個的工作時間間隔和/或恢復時間間隔。 The portable positioning terminal as described in claim 2 further includes: a battery module; the processing module is used to adjust the first online positioning module, the first The working time interval and/or the recovery time interval of at least one of the offline positioning module, the first wireless network communication module, and the first point-to-point wireless communication module. 如請求項1所述的可擕式定位終端,其中,該第一線上定位模組包括以下至少一種:一GPS模組;一無線移動網路通信模組。 The portable positioning terminal according to claim 1, wherein the first online positioning module includes at least one of the following: a GPS module; a wireless mobile network communication module. 如請求項1所述的可擕式定位終端,其中,該第一離線定位模組包括:一電子羅盤模組,該電子羅盤模組包括:一3D加速度感測器,用於獲取加速度數據;一3D磁感測器,用於獲取運動方向資料;以及一計算單元,用於基於該加速度數據和運動時間計算運動距離,並根據每個起點位置、該運動距離和運動方向確定相應的每個終點位置,並根據每個終點位置及運動方向形成記錄集中的一條記錄;其中,該第二定位結果包含根據該記錄集生成的運動軌跡及運動方向;該計算單元根據該加速度數據計算運動狀態資訊;該第二定位結果還包含該運動狀態資訊。 The portable positioning terminal as described in claim 1, wherein the first offline positioning module includes: an electronic compass module, the electronic compass module includes: a 3D acceleration sensor for obtaining acceleration data; a 3D magnetic sensor for obtaining movement direction data; and a calculation unit for calculating the movement distance based on the acceleration data and movement time, and determining each corresponding end position according to each starting point position, the movement distance and movement direction, and forming a record in the record set according to each end position and movement direction; wherein, the second positioning result includes The motion trajectory and motion direction generated according to the record set; the calculation unit calculates motion state information according to the acceleration data; the second positioning result also includes the motion state information. 如請求項1所述的可擕式定位終端,其中,該第一點對點無線通訊模組包括LORA模組;該可擕式定位終端為可穿戴裝置;以及該參考位置為該第一線上定位模組切換至該第一離線定位模組前的最終定位位置。 The portable positioning terminal as described in claim 1, wherein the first point-to-point wireless communication module includes a LORA module; the portable positioning terminal is a wearable device; and the reference position is the final positioning position before the first online positioning module switches to the first offline positioning module. 一種活動對象的位置傳輸方法,應用於如請求項1至6中任一項所述的可擕式定位終端,該可擕式定位終端被該活動對象所攜帶,該方法包括: 透過該第一線上定位模組獲取活動對象的該第一定位結果,並透過該第一無線網路通信模組傳輸該第一定位結果;回應於該第一線上定位模組的訊號受阻,切換至啟用該第一離線定位模組獲取該第二定位結果;以及回應於該第一無線網路通信模組的訊號暢通,透過該第一無線網路通信模組傳輸該第二定位結果;或者,回應於該第一無線網路通信模組的訊號受阻,切換啟用該點對點通信模組,以在建立該點對點無線通訊後傳輸該第二定位結果。 A method for transmitting the position of an active object, applied to the portable positioning terminal described in any one of claims 1 to 6, the portable positioning terminal being carried by the active object, the method comprising: Obtaining the first positioning result of the active object through the first online positioning module, and transmitting the first positioning result through the first wireless network communication module; in response to the signal blocking of the first online positioning module, switching to enable the first offline positioning module to obtain the second positioning result; and in response to the smooth signal of the first wireless network communication module, transmitting the second positioning result through the first wireless network communication module; to transmit the second positioning result after establishing the point-to-point wireless communication. 一種移動終端,與如請求項1至6中任一項所述的可擕式定位終端通信,該移動終端包括:一第二無線網路通信模組,用於與無線廣域網路之間進行無線網路通信,以獲得可擕式定位終端所在位置的該第一定位結果或該第二定位結果;一第二點對點無線通訊模組,用於發送定位指令至該可擕式定位終端,以建立相互間點對點無線通訊,以獲得可擕式定位終端所在位置的該第一定位結果或該第二定位結果;一顯示模組,用於顯示該第一定位結果或該第二定位結果於一電子地圖;以及一第二處理模組,耦接該第二無線網路通信模組、該第二點對點無線通訊模組、及該顯示模組,用於回應於滿足觸發條件,切換至啟用該第二點對點無線通訊模組,與該可擕式定位終端建立點對點無線通訊,以獲得該第一定位結果或該第二定位結果並透過該顯示模組顯示於該電子地圖。 A mobile terminal communicating with the portable positioning terminal as described in any one of claims 1 to 6, the mobile terminal comprising: a second wireless network communication module for performing wireless network communication with a wireless wide area network to obtain the first positioning result or the second positioning result of the position of the portable positioning terminal; a second point-to-point wireless communication module for sending positioning instructions to the portable positioning terminal to establish mutual point-to-point wireless communication to obtain the first positioning result or the second positioning result of the position of the portable positioning terminal; A display module, used to display the first positioning result or the second positioning result on an electronic map; and a second processing module, coupled to the second wireless network communication module, the second point-to-point wireless communication module, and the display module, used to switch to enable the second point-to-point wireless communication module in response to satisfying the trigger condition, establish point-to-point wireless communication with the portable positioning terminal, obtain the first positioning result or the second positioning result and display it on the electronic map through the display module. 如請求項8所述的移動終端,更包括: 一第二線上定位模組,用於透過與該外部無線訊號交互獲得該移動終端的一第三定位結果;以及一第二離線定位模組,用於基於該參考位置及偵測到的運動資料獲得該移動終端的一第四定位結果;其中,該第二處理模組,耦接該第二線上定位模組和該第二離線定位模組,用於基於該第二線上定位模組和該第二離線定位模組的訊號品質切換至其中訊號暢通的一者以獲得該第三定位結果或該第四定位結果,並將當前所獲得的該第三定位結果或該第四定位結果與當前所獲得的該第一定位結果和/或該第二定位結果透過該顯示模組一併顯示於該電子地圖。 The mobile terminal as described in claim 8, further comprising: A second online positioning module, for obtaining a third positioning result of the mobile terminal through interaction with the external wireless signal; and a second offline positioning module, for obtaining a fourth positioning result of the mobile terminal based on the reference position and the detected motion data; wherein, the second processing module, coupled to the second online positioning module and the second offline positioning module, is used to switch to one of the second online positioning module and the second offline positioning module based on the signal quality of the second online positioning module and the second offline positioning module to obtain the third positioning result or the fourth positioning result, and The currently obtained third positioning result or the fourth positioning result is displayed on the electronic map together with the currently obtained first positioning result and/or the second positioning result through the display module. 一種定位方法,應用於如請求項8中移動終端,以對可擕式定位終端進行定位,該方法包括:透過該第二無線網路通信模組獲得該第一定位結果,顯示該第一定位結果;透過該第二無線網路通信模組獲得該第二定位結果,顯示該第二定位結果於該電子地圖;以及回應於滿足觸發條件,切換至啟用該第二點對點無線通訊模組與該可擕式定位終端建立通信,以獲得該第二定位結果並顯示於該電子地圖。 A positioning method, applied to a mobile terminal as in claim 8, to locate a portable positioning terminal, the method comprising: obtaining the first positioning result through the second wireless network communication module, displaying the first positioning result; obtaining the second positioning result through the second wireless network communication module, displaying the second positioning result on the electronic map; and in response to satisfying a trigger condition, switching to enabling the second point-to-point wireless communication module to establish communication with the portable positioning terminal, obtaining the second positioning result and displaying it on the electronic map. 如請求項10所述的定位方法,其中該觸發條件包括以下至少一種:移動終端到達該參考位置;透過該第二無線網路通信模組無法獲得該第一定位結果或該第二定位結果。 The positioning method according to claim 10, wherein the trigger condition includes at least one of the following: the mobile terminal arrives at the reference position; the first positioning result or the second positioning result cannot be obtained through the second wireless network communication module. 如請求項10所述的定位方法,更包括:獲得該移動終端當前的該第三定位結果或該第四定位結果;以及將當前所獲得的該第三定位結果或該第四定位結果與時間相應的該第一定位結果或該第二定位結果一併顯示於該電子地圖。 The positioning method as described in claim 10 further includes: obtaining the current third positioning result or the fourth positioning result of the mobile terminal; and displaying the currently obtained third positioning result or the fourth positioning result together with the first positioning result or the second positioning result corresponding to the time on the electronic map.
TW111124810A 2022-03-08 2022-07-01 Portable positioning terminal, mobile terminal, position transmission and positioning method TWI808821B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210228151.7A CN114630281A (en) 2022-03-08 2022-03-08 Portable positioning terminal, mobile terminal, position transmission method, positioning method, and medium
CN202210228151.7 2022-03-08

Publications (2)

Publication Number Publication Date
TWI808821B true TWI808821B (en) 2023-07-11
TW202337250A TW202337250A (en) 2023-09-16

Family

ID=81899151

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111124810A TWI808821B (en) 2022-03-08 2022-07-01 Portable positioning terminal, mobile terminal, position transmission and positioning method

Country Status (2)

Country Link
CN (1) CN114630281A (en)
TW (1) TWI808821B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016127877A1 (en) * 2015-02-12 2016-08-18 阿里巴巴集团控股有限公司 Positioning data generation method and device
WO2016127881A1 (en) * 2015-02-12 2016-08-18 阿里巴巴集团控股有限公司 Positioning method and apparatus
CN105989087A (en) * 2015-02-12 2016-10-05 阿里巴巴集团控股有限公司 Method and apparatus for determining hotspot region
CN107682926A (en) * 2017-10-12 2018-02-09 珠海市魅族科技有限公司 Offline localization method and offline positioner
CN110677828A (en) * 2019-09-30 2020-01-10 东北大学 A wireless communication networking and positioning method dedicated to construction sites

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323845A (en) * 2014-08-01 2016-02-10 电信科学技术研究院 Method and device for positioning mobile terminals
CN106017465A (en) * 2016-06-30 2016-10-12 北京海顿中科技术有限公司 Micro inertial navigation-based positioning system and positioning method of routing inspection mobile terminal
CN109212947A (en) * 2017-06-29 2019-01-15 上海共联通信信息发展有限公司 Portable positioning device and positioning system, method for child's positioning
CN108983272A (en) * 2018-08-03 2018-12-11 北斗国信智能科技(北京)有限公司 A kind of positioning system and localization method merging Beidou or GPS and sensor
JP7599063B2 (en) * 2019-02-15 2024-12-13 オリジン リサーチ ワイヤレス, インコーポレイテッド Method, device and system for wireless gait recognition
CN213986846U (en) * 2020-11-03 2021-08-17 深圳市智新生物科技有限公司 Pet moving positioning tracker

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016127877A1 (en) * 2015-02-12 2016-08-18 阿里巴巴集团控股有限公司 Positioning data generation method and device
WO2016127881A1 (en) * 2015-02-12 2016-08-18 阿里巴巴集团控股有限公司 Positioning method and apparatus
CN105989087A (en) * 2015-02-12 2016-10-05 阿里巴巴集团控股有限公司 Method and apparatus for determining hotspot region
CN107682926A (en) * 2017-10-12 2018-02-09 珠海市魅族科技有限公司 Offline localization method and offline positioner
CN110677828A (en) * 2019-09-30 2020-01-10 东北大学 A wireless communication networking and positioning method dedicated to construction sites

Also Published As

Publication number Publication date
CN114630281A (en) 2022-06-14
TW202337250A (en) 2023-09-16

Similar Documents

Publication Publication Date Title
CN109195099B (en) An indoor positioning method based on the fusion of iBeacon and PDR
US9595181B2 (en) Wearable device assisting smart media application and vice versa
US20090054067A1 (en) System and method for gesture-based command and control of targets in wireless network
CN105101404B (en) Localization method, device and terminal
CN105849579B (en) The localization method and mobile terminal of target device
EP2191349A1 (en) Method and apparatus for sending data relating to a target to a mobile device
CN106595653A (en) Wearable autonomous navigation system for pedestrian and navigation method thereof
CN107094319A (en) A kind of high-precision indoor and outdoor fusion alignment system and method
CN105222774B (en) A kind of indoor orientation method and user terminal
CN114216457A (en) Multi-source data fusion positioning method and system based on ultra-wideband signals
CN107532913B (en) Navigation method and equipment for navigation
CN106123893A (en) Space operation orbit generation method, device
CN105783920A (en) Indoor and outdoor positioning method, positioning system, and positioning foot rings
JPWO2011080920A1 (en) ROUTE INFORMATION GENERATION DEVICE AND ROUTE INFORMATION GENERATION METHOD
CN112163061A (en) User positioning method and device, storage medium and electronic equipment
CN106092097A (en) Space operation orbit generation method, device
TWI808821B (en) Portable positioning terminal, mobile terminal, position transmission and positioning method
JP2007316028A (en) POSITION INFORMATION PROVIDING SYSTEM AND MOBILE COMMUNICATION DEVICE
CN113965646B (en) Positioning control method and device, electronic equipment and storage medium
CN106197415A (en) Terminal is to the tracking of wearable device, device
CN108111580B (en) Region determination method, device, storage medium, mobile terminal and server
CN206876184U (en) An Indoor Positioning Device Based on RSSI and Inertial Navigation
CN210639449U (en) Wearable three-dimensional position monitor terminal
TWI859666B (en) Communication device having cross-platform communication function, communication system having the same and communication method thereof
CN105865463A (en) Spatial-distribution generation method and device