WO2015113270A1 - 移动终端的定位方法和装置 - Google Patents

移动终端的定位方法和装置 Download PDF

Info

Publication number
WO2015113270A1
WO2015113270A1 PCT/CN2014/071796 CN2014071796W WO2015113270A1 WO 2015113270 A1 WO2015113270 A1 WO 2015113270A1 CN 2014071796 W CN2014071796 W CN 2014071796W WO 2015113270 A1 WO2015113270 A1 WO 2015113270A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
landmark
image
query
query result
Prior art date
Application number
PCT/CN2014/071796
Other languages
English (en)
French (fr)
Inventor
何睿
赵俊峰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2014/071796 priority Critical patent/WO2015113270A1/zh
Priority to CN201480004699.7A priority patent/CN104956696A/zh
Publication of WO2015113270A1 publication Critical patent/WO2015113270A1/zh

Links

Classifications

    • 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/20Instruments for performing navigational calculations
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method and an apparatus for positioning a mobile terminal. Background technique
  • the mobile terminal is generally located through a base station or using a GPS (Global Positioning System).
  • the downlink pilot signals of different base stations are measured by the mobile terminal, and the TOA (Time of Arrival) of the downlink pilots of different base stations is obtained.
  • the TOA Time of Arrival
  • a triangle is generally adopted.
  • the formula estimation algorithm can obtain the location of the mobile terminal. In general, the more the number of base stations measured by the mobile terminal, the higher the accuracy of the position of the obtained mobile terminal, but in the urban environment, due to the multipath effect of the building group and the obstacle, the measurement result of the mobile terminal to the TOA is A large error, so the positioning accuracy is difficult to meet the demand.
  • the GPS module of the mobile terminal receives the positioning signal sent by the synchronous satellite, and solves the coordinates of the current mobile terminal according to the spatial position of the plurality of satellites and the time when the signal arrives at the mobile terminal.
  • the positioning results obtained by GPS are very accurate and can reach the order of 10 meters.
  • the microwave signal transmitted by the satellite is weak, it must be carried out outdoors. The larger the outdoor space, the more the number of satellite signals received, the higher the positioning accuracy.
  • the transmission of the microwave signal is affected.
  • the calculation amount of the GPS is large, which also results in a relatively long positioning time and a relatively high positioning power consumption.
  • Embodiments of the present invention provide a positioning method and apparatus for a mobile terminal, which are used to accurately locate a mobile terminal, so that the function of the mobile terminal is maximized.
  • an embodiment of the present invention provides a method for locating a mobile terminal, including: capturing an image including a landmark;
  • the acquiring location coordinates corresponding to the landmark in the image according to the image includes:
  • the querying in the local database or the third-party database of the mobile terminal according to the feature information, and obtaining the location coordinates of the landmark includes:
  • the location coordinates of the landmark corresponding to the query result are obtained;
  • determining, by the mobile terminal, the relative location of the mobile terminal and the landmark includes:
  • the positioning method further includes:
  • the mobile terminal is then controlled to capture an image containing an alternate landmark.
  • an embodiment of the present invention provides a positioning apparatus for a mobile terminal, including: a capture module, configured to capture an image including a landmark;
  • a coordinate acquiring module configured to acquire, according to the image, position coordinates corresponding to the landmark in the image
  • a determining module configured to determine, by the mobile terminal, a relative position of the mobile terminal and the landmark
  • a positioning module configured to locate the mobile terminal according to a location coordinate corresponding to the landmark and a relative position of the mobile terminal and the landmark.
  • the coordinate acquiring module includes: a first acquiring unit, configured to perform an image recognition algorithm according to the image, and acquire feature information corresponding to the landmark in the image;
  • a second obtaining unit configured to perform a query in the local database or the third-party database of the mobile terminal according to the feature information, to obtain location coordinates of the landmark
  • the second obtaining unit is specifically configured to be used
  • the location coordinates of the landmark corresponding to the query result are obtained;
  • the determining module includes:
  • a first determining unit configured to determine, by using a measurement module in the mobile terminal, a horizontal spacing between the mobile terminal and the landmark;
  • a second determining unit configured to invoke an electronic compass in the mobile terminal, to obtain a current indication orientation of the electronic compass
  • a third determining unit configured to determine, according to a horizontal spacing between the mobile terminal and the landmark, and a current indication orientation of the electronic compass, a relative position of the mobile terminal and the landmark.
  • the positioning device further includes a control module, configured to
  • the mobile terminal is then controlled to capture an image containing an alternate landmark.
  • an embodiment of the present invention provides a positioning apparatus for a mobile terminal, including: a processor, configured to capture an image that includes a landmark;
  • the processor is specifically configured to be used
  • the processor is specifically configured to perform a query in a local database or a third-party database of the mobile terminal according to the feature information, to obtain a location of the landmark Coordinates, including: Obtaining, according to the feature information, a query in the local database or the third-party database of the mobile terminal to obtain a query result, acquiring location coordinates of the landmark corresponding to the query result;
  • the determining, by the mobile terminal, the relative location of the mobile terminal and the landmark includes:
  • the processor is further configured to
  • the mobile terminal is then controlled to capture an image containing an alternate landmark.
  • the positioning method and device for the mobile terminal provided by the embodiment of the present invention, the image containing the landmark captured by the mobile terminal, and determining the position coordinate corresponding to the landmark in the image and the relative position of the mobile terminal and the landmark according to the image, thereby being movable
  • the terminal performs positioning to avoid the problem of unsuccessful positioning due to objective factors such as excessive buildings and limited microwave signal transmission, and can accurately locate the mobile terminal, thereby maximizing the function of the mobile terminal and improving the user experience.
  • Embodiment 1 is a flowchart of Embodiment 1 of a positioning method of a mobile terminal according to the present invention
  • Embodiment 2 is a flowchart of Embodiment 2 of a positioning method of a mobile terminal according to the present invention
  • FIG. 3 is a schematic diagram of a camera module according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic diagram of a scenario for determining a relative position of a mobile terminal and a landmark in Embodiment 2 of the present invention
  • Embodiment 3 is a flowchart of Embodiment 3 of a positioning method of a mobile terminal according to the present invention.
  • Embodiment 1 is a structural diagram of Embodiment 1 of a positioning apparatus for a mobile terminal according to the present invention.
  • Embodiment 7 is a structural diagram of Embodiment 2 of a positioning apparatus for a mobile terminal according to the present invention.
  • FIG. 8 is a structural diagram of Embodiment 3 of a positioning apparatus for a mobile terminal according to the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • FIG. 1 is a flowchart of Embodiment 1 of a positioning method of a mobile terminal according to the present invention.
  • the implementation body of the embodiment is a positioning device of the mobile terminal, and the positioning device can be implemented by using hardware and/or software.
  • the positioning device can be integrated in the mobile terminal, and the mobile terminal can be integrated.
  • the specific implementation process is as follows:
  • the mobile terminal takes a mobile phone as an example.
  • the application on the mobile terminal needs to obtain the current location of the mobile terminal, for example, a map software on a common mobile phone, and a user who needs to obtain the mobile terminal.
  • the current location also known as the current location of the user, or the current location of the mobile terminal
  • the mobile terminal Positioning when the mobile terminal needs to be located, the user uses the positioning device of the mobile terminal to capture an image containing the landmark at the current location.
  • the landmarks are prominent signs near the current location, such as signs for buildings and stores.
  • the positioning device of the mobile terminal notifies the user to turn on (or the positioning device automatically turns on) the camera of the mobile phone, and the user holds the mobile phone to focus the camera on the nearby Scenery, used to capture images containing landmarks. For example, if the user is currently located near the building "Blue Ocean Building", the user holds the mobile phone to focus the camera on the Blue Ocean Building, so that the words of the Blue Ocean Building or the "Blue Ocean Building” on the building are The camera captures the image captured by the positioning device of the mobile terminal, and the word "blue sea building” on the building of the blue sea building or the building is a prominent sign near the current position of the user, and can be used as the above landmark.
  • the feature information of the landmark can be obtained in the image by analyzing the image, for example, by OCR (Optical Character Recognition) technology.
  • OCR Optical Character Recognition
  • the query can be made according to the character "Blue Ocean Building” as the above characteristic information, and the specific position coordinates of the building can be determined, and the position coordinates can be geographical coordinates, or can be used in the coordinate system adopted by other databases. coordinate of.
  • the mobile terminal needs to determine the relative position of the mobile terminal and the landmark; specifically, the measurement module in the mobile terminal can determine .
  • the position coordinates corresponding to the landmark and the relative position of the mobile terminal and the landmark can locate the current location of the mobile terminal, and can obtain accurate information about the current location of the mobile terminal. Obviously, when the user holds the mobile terminal, the The above S101 ⁇ S 103 can accurately locate the current location of the user.
  • the image that is captured by the mobile terminal and includes the landmark, and the location coordinates corresponding to the landmark in the image and the relative position of the mobile terminal and the landmark are determined according to the image, so that The mobile terminal performs positioning to avoid the problem of unsuccessful positioning due to objective factors such as excessive buildings and limited microwave signal transmission, and can accurately locate the mobile terminal, thereby maximizing the function of the mobile terminal and improving the user.
  • the mobile terminal performs positioning to avoid the problem of unsuccessful positioning due to objective factors such as excessive buildings and limited microwave signal transmission, and can accurately locate the mobile terminal, thereby maximizing the function of the mobile terminal and improving the user.
  • Embodiment 2 is a flowchart of Embodiment 2 of a positioning method of a mobile terminal according to the present invention. As shown in FIG. 2, this embodiment is further described on the basis of the embodiment shown in FIG. 1. Specifically, the embodiment includes:
  • the user may be notified to use the mobile terminal to perform shooting, or the application software on the mobile terminal triggers the positioning device of the mobile terminal to start shooting a scene near the current location, where the captured image includes a landmark
  • the image may be a picture captured by the positioning device of the mobile terminal through the mobile terminal; or the image captured by the positioning device of the mobile terminal in the frame of the camera after the user controls the camera on the mobile terminal to focus on the landmark.
  • the existing image recognition algorithm may be used to process the image to extract feature information, and the feature information may be a character with a logo on the landmark, such as the aforementioned character "Blue Ocean Building", or may be a specific image of the landmark, as described above.
  • the above-mentioned local database or third-party database includes at least location coordinates of various landmarks, wherein the local database is a common downloaded offline map data packet, and the third-party database may be a server that can be accessed through a network such as an online map application software.
  • Map data package, etc. the above-mentioned local database or third-party database includes specific location coordinates of streets, prominent buildings and shops, such as a building using geographic coordinates as location coordinates, and the location coordinates of the building are The east longitude is 108°40', and the north latitude is 33°9 ⁇ ; more preferably, the above various databases may further include image data, and then the image may be queried in the database according to the image acquired as the feature information in S203.
  • the corresponding position coordinates (X, y) can be obtained when querying in the above database; and when the feature information is the image of the building of the Blue Ocean Building, the mobile terminal When the positioning device performs this step, the building body obtained in S202 is The image is compared with the existing image data of the database, and the query result matching the image of the above building body can be found.
  • the query result indicates that the image of the building is the building of the Blue Ocean Building, thereby determining the capture in S201.
  • the location coordinates of the landmark is the text "Blue Ocean Building”
  • FIG. 3 is a schematic diagram of a camera module according to Embodiment 2 of the present invention.
  • A is the camera
  • 0 is the imaging area of the imaging device
  • P is the landmark.
  • V is the image distance, “for the linear distance between the mobile terminal and the landmark, for the distance between the landmark in the image and the bottom edge of the image, H is the vertical distance between the landmark and the camera axis 10 .
  • FIG. 4 is a schematic diagram of a scenario for determining a relative position of a mobile terminal and a landmark in Embodiment 2 of the present invention.
  • the blue ocean building 1 1 as a landmark is photographed by the user handheld mobile terminal 12, and the electronic compass in the mobile terminal 12 can determine that the pointing direction of the mobile terminal is 50° east and north, because the mobile terminal 12 photographs the blue ocean. Building 1 1, then the Blue Ocean Building 1 is located in the direction corresponding to the indicated orientation of the mobile terminal 12.
  • the mobile terminal 12 when the Blue Ocean Building 1 1 is the coordinate origin, the mobile terminal 12 is located in the south west of the Blue Ocean Building 11 °, when performing the above step c, converting the indicated orientation "east-north 50 °" obtained by the electronic compass in the above step b to "40° south-west", and combining the mobile terminal and the landmark determined in the above step a The linear distance between them determines the relative position of the mobile terminal and the landmark.
  • the foregoing determines the position coordinates (X, y) of the Blue Ocean Building, and learns to move
  • the terminal is currently located 30° west of the Blue Ocean Building and has a linear distance of 500 meters, so that the current position coordinates (m, n) of the mobile terminal can be accurately located.
  • the terminal can display the map on the mobile terminal.
  • the current location of the mobile terminal in addition, the above various databases also include the coordinate ranges of the streets, the cells, and the park, and if the current location coordinates (m, n) of the mobile terminal are known, if the mobile terminal is known When the position coordinates (m, n) belong to a certain street, a cell, or the like, the mobile terminal can be displayed in a certain street or in a certain cell to improve the user experience.
  • the image containing the landmark captured by the mobile terminal is used, and the position coordinates corresponding to the landmark in the image and the relative position of the mobile terminal and the landmark are determined according to the image, so that the mobile terminal can be positioned to avoid the building.
  • the problem of unsuccessful positioning caused by excessive objective factors such as excessive microwave signal transmission can accurately locate the mobile terminal, thereby maximizing the function of the mobile terminal and improving the user experience.
  • FIG. 5 is a flowchart of Embodiment 3 of a positioning method of a mobile terminal according to the present invention. As shown in FIG. 5, this embodiment is based on the embodiment shown in FIG. 1 or FIG. 2, and a more specific description is made, specifically:
  • the landmark in the embodiment is exemplified by the above-mentioned blue sea building.
  • the query results may include "Blue Ocean Building” in City B and "Blue Ocean Building” in City C, so the following further processing is required.
  • the result of the query is only the "Blue Ocean Building" of C City, and the user knows that he is located in City C. Then, the position coordinates of the landmark corresponding to the query result are obtained, and S307 is directly executed.
  • the query is performed in the local database or the third-party database of the mobile terminal according to the feature information, at least two query results are obtained, that is, there is a "blue sea building" of the B city, and a "blue sea building” of the C city. And determining a first query result in the at least two query results, where the first query result is determined according to a user indication, or the first query result is located in a preliminary location area of the mobile terminal.
  • the "blue sea building" of the C city is selected as the first query result in the at least two query results;
  • Existing positioning methods such as base station based positioning methods, or
  • the GPS positioning method has determined that the mobile terminal is located in the C city, that is, the C city is the above-mentioned preliminary positioning area, but it is not clear that the mobile terminal has the precise position in the c city, and at least two query results are obtained through the foregoing steps, wherein the query As a result, "Blue City Building of C City" is located in the above-mentioned preliminary positioning area, and the result of the inquiry is determined as "the blue sea building of C City" as the first query result.
  • the feature information cannot be acquired due to the pixel, the light, and the like of the captured image, that is, if the image recognition algorithm is performed according to the image, the feature corresponding to the landmark in the image is acquired.
  • the mobile terminal is controlled to recapture the image containing the candidate landmark, which may be a landmark in the aforementioned image, that is, to re-photograph or focus the landmark; or the alternative landmark is another landmark, Re-executing the above steps as a new landmark; in addition, because the data in the local database or the third-party database is incorrect or insufficient, the first query result cannot be determined in the at least two query results obtained in S306, for example, due to the above There is not enough data in the local database or the third-party database. There is no "blue sea building" in D city.
  • the results of the two queries are only the "blue sea building” of city B and the "blue sea building” of city C, but the initial location area or user
  • the location of the knowledge is located in City D, so it is necessary to select other landmarks as alternative landmarks for each of the above Positioning steps.
  • the image containing the landmark captured by the mobile terminal is used, and the position coordinates corresponding to the landmark in the image and the relative position of the mobile terminal and the landmark are determined according to the image, so that the mobile terminal can be positioned to avoid the building.
  • the problem of unsuccessful positioning caused by excessive objective factors such as excessive microwave signal transmission can accurately locate the mobile terminal, thereby maximizing the function of the mobile terminal and improving the user experience.
  • FIG. 6 is a structural diagram of Embodiment 1 of a positioning apparatus for a mobile terminal according to the present invention. As shown in FIG. 6, the positioning device includes:
  • a capture module 41 configured to capture an image that includes a landmark
  • the coordinate obtaining module 42 is configured to acquire, according to the image, position coordinates corresponding to the landmark in the image;
  • the determining module 43 is configured to determine, by the mobile terminal, a relative location of the mobile terminal and the landmark;
  • the positioning module 44 is configured to locate the mobile terminal according to the location coordinates corresponding to the landmark and the relative position of the mobile terminal and the landmark.
  • the positioning device of the mobile terminal captures the image containing the landmark by the mobile terminal, and determines the position coordinate corresponding to the landmark in the image and the relative position of the mobile terminal and the landmark according to the image, so that the mobile terminal can be positioned.
  • the problem of unsuccessful positioning caused by objective factors such as excessive buildings and limited microwave signal transmission is avoided, and the mobile terminal can be accurately positioned, thereby maximizing the functions of the mobile terminal and improving the user experience.
  • FIG. 7 is a structural diagram of Embodiment 2 of a positioning apparatus for a mobile terminal according to the present invention. As shown in Fig. 7, this embodiment is further described on the basis of the embodiment shown in Fig. 6.
  • the coordinate acquisition module 42 includes:
  • the first obtaining unit 421 is configured to perform an image recognition algorithm according to the image, and acquire feature information corresponding to the landmark in the image;
  • the second obtaining unit 422 is configured to perform a query in the local database or the third-party database of the mobile terminal according to the feature information, to obtain location coordinates of the landmark;
  • the foregoing second obtaining unit 422 is specifically configured to be used
  • the determining module 43 includes:
  • the first determining unit 43 1 is configured to determine, by using a measurement module in the mobile terminal, a horizontal spacing between the mobile terminal and the landmark;
  • a second determining unit 432 configured to invoke an electronic compass in the mobile terminal, to obtain a current indication orientation of the electronic compass;
  • the third determining unit 433 is configured to determine a relative position of the mobile terminal and the landmark according to a horizontal interval between the mobile terminal and the landmark and a current indication orientation of the electronic compass.
  • the positioning device further includes a control module 45, configured to control the positioning device.
  • a control module 45 configured to control the positioning device.
  • the mobile terminal is then controlled to capture an image containing an alternate landmark.
  • the image containing the landmark captured by the mobile terminal is used, and the position coordinates corresponding to the landmark in the image and the relative position of the mobile terminal and the landmark are determined according to the image, so that the mobile terminal can be positioned to avoid the building.
  • the problem of unsuccessful positioning caused by excessive objective factors such as excessive microwave signal transmission can accurately locate the mobile terminal, thereby maximizing the function of the mobile terminal and improving the user experience.
  • FIG. 8 is a structural diagram of Embodiment 3 of a positioning apparatus for a mobile terminal according to the present invention. As shown in FIG. 8, the embodiment is used to describe the physical structure of the positioning device of the mobile terminal. Specifically, the positioning device of the mobile terminal includes:
  • the processor 51 is configured to capture an image including a landmark; specifically, the processor 51 controls the camera 52 on the mobile terminal to capture the landmark, and the processor 51 images the landmark, that is, the processor 51 captures the image including the landmark .
  • the processor 51 is specifically configured to be used
  • the processor is specifically configured to perform a query in the local database or the third-party database of the mobile terminal according to the feature information, and obtain the location coordinates of the landmark, including: according to the feature information, Performing a query in a local database or a third-party database of the mobile terminal to obtain a query result, and acquiring location coordinates of the landmark corresponding to the query result;
  • the processor 51 determines, by the mobile terminal, the relative location of the mobile terminal and the landmark, including:
  • processor is further used to control
  • the mobile terminal is then controlled to capture an image containing an alternate landmark.
  • the image containing the landmark captured by the mobile terminal is based on the image Determining the position coordinates corresponding to the landmarks in the image and the relative positions of the mobile terminal and the landmarks, so that the mobile terminal can be positioned, thereby avoiding problems such as unsuccessful positioning due to objective factors such as excessive buildings and limited microwave signal transmission. Accurate positioning of the mobile terminal, thereby maximizing the function of the mobile terminal and improving the user experience.
  • the positioning apparatus of the mobile terminal is specifically used to perform the steps in the foregoing various method embodiments.
  • the specific implementation process and the beneficial effects refer to the foregoing method embodiments, and details are not described herein again. .

Abstract

本发明实施例提供一种移动终端的定位方法和装置,该方法包括:捕获包含有地标的图像;用于根据所述图像获取所述图像中所述地标对应的位置坐标;通过移动终端确定所述移动终端与所述地标的相对位置;根据所述地标对应的位置坐标和所述移动终端与所述地标的相对位置,对所述移动终端进行定位。通过本发明实施例提供的移动终端的定位方法和装置,避免了因建筑物过多、微波信号传送受限等客观因素导致的定位不成功等问题,可以对移动终端进行精确定位,从而使得移动终端的功能最大化的发挥,提升用户体验。

Description

移动终端的定位方法和装置
技术领域
本发明实施例涉及通信技术领域, 尤其涉及一种移动终端的定位方法 和装置。 背景技术
随着用户对网络需求的不断提高, 为满足用户需求的各种应用软件也应 用而生, 当前装载在移动终端上的各种应用软件大多需要获得移动终端的当 前位置, 以实现特定的功能, 从而满足用户的需求。 而在获取用户位置坐标 时,该位置坐标的精确程度会很大程度地影响到用户对上述应用软件的体验。 在现有技术中, 在对移动终端进行定位时, 普遍通过基站或使用 GPS(Global Positioning System, 全球定位系统:)对移动终端进行定位。
在使用基站进行定位时,是通过移动终端测量不同基站的下行导频信号, 得到不同基站下行导频的 TOA (Time of Arrival, 到达时刻) , 根据该测量结 果并结合基站的坐标, 一般采用三角公式估计算法, 便可获得移动终端的位 置。 一般而言, 移动终端测量的基站数目越多, 获得的移动终端的位置的精 度越高, 但是在城市环境下, 由于建筑群和障碍物的多径效应, 使得移动终 端对 TOA的测量结果有很大误差, 从而定位精度很难满足需求。
而通过 GPS进行定位时,是通过移动终端的 GPS模块,接收同步卫星发送 的定位信号, 根据多颗卫星的空间位置和信号到达移动终端的时间, 求解出 当前移动终端的坐标。 通过 GPS得到的定位结果的精度很高, 能够达到 10米 的量级。但是由于卫星发送的微波信号穿透能力很弱, 所以必须在室外进行。 室外空间越大, 接收到的卫星信号数目越多, 定位精度越高。 但在城市环境 下, 由于受到建筑物的遮挡, 影响微波信号的传送, 同时, GPS的计算量比 较大, 也导致了其定位时间比较长、 定位功耗比较高。
由上可知, 在现有技术中, 由于客观原因如建筑物过多、 移动终端自 身计算能力受限等因素, 导致对移动终端的定位不够精确, 使得移动终端 的功能不能最大化的发挥, 从而影响了用户体验。 发明内容
本发明实施例提供一种移动终端的定位方法和装置, 用于对移动终端 进行精确定位, 使得移动终端的功能最大化地发挥。
第一方面, 本发明实施例提供一种移动终端的定位方法, 包括: 捕获包含有地标的图像;
根据所述图像获取所述图像中所述地标对应的位置坐标;
通过移动终端确定所述移动终端与所述地标的相对位置;
根据所述地标对应的位置坐标和所述移动终端与所述地标的相对位 置, 对所述移动终端进行定位。
结合第一方面, 在第一实施方式中, 所述根据所述图像获取所述图像 中所述地标对应的位置坐标包括:
根据所述图像进行图像识别算法, 获取所述图像中所述地标对应的特 征信息;
根据所述特征信息在所述移动终端的本地数据库或第三方数据库中 进行查询, 获得所述地标的位置坐标;
结合第一方面第一实施方式, 在第二实施方式中, 所述根据所述特征 信息在所述移动终端的本地数据库或第三方数据库中进行查询, 获得所述 地标的位置坐标, 包括:
若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得一个查询结果, 则获取该查询结果对应的所述地标的位 置坐标;
若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得至少两个查询结果;
则在所述至少两个查询结果中确定第一查询结果, 并获取该第一查询 结果对应的所述地标的位置坐标; 其中第一查询结果是根据用户指示确定 的, 或者所述第一查询结果是位于所述移动终端的初步定位区域内的。
结合第一方面第二实施方式, 在第三实施方式中, 通过移动终端确定 所述移动终端与所述地标的相对位置, 包括:
通过所述移动终端内的测量模块, 确定所述移动终端与所述地标之间 的水平间距;
调用所述移动终端内的电子罗盘, 获取所述电子罗盘的当前指示方 位;
根据所述移动终端与所述地标之间的水平间距和所述电子罗盘的当 前指示方位, 确定移动终端与所述地标的相对位置。
结合第一方面第一至第三实施方式中的任一种实施方式, 在第四实施 方式中, 所述定位方法还包括:
若根据所述图像进行图像识别算法, 获取所述图像中所述地标对应的 特征信息失败;
则控制所述移动终端捕捉包含有备选地标的图像。
第二方面, 本发明实施例提供一种移动终端的定位装置, 包括: 捕获模块, 用于捕获包含有地标的图像;
坐标获取模块, 用于根据所述图像获取所述图像中所述地标对应的位 置坐标;
确定模块, 用于通过移动终端确定所述移动终端与所述地标的相对位 置;
定位模块, 用于根据所述地标对应的位置坐标和所述移动终端与所述 地标的相对位置, 对所述移动终端进行定位。
结合第二方面, 在第一实施方式中, 所述坐标获取模块包括: 第一获取单元, 用于根据所述图像进行图像识别算法, 获取所述图像 中所述地标对应的特征信息;
第二获取单元, 用于根据所述特征信息在所述移动终端的本地数据库 或第三方数据库中进行查询, 获得所述地标的位置坐标;
结合第二方面第一实施方式, 在第二实施方式中, 所述第二获取单元 具体用于
若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得一个查询结果, 则获取该查询结果对应的所述地标的位 置坐标;
若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得至少两个查询结果; 则在所述至少两个查询结果中确定第一查询结果, 并获取该第一查询 结果对应的所述地标的位置坐标; 其中第一查询结果是根据用户指示确定 的, 或者所述第一查询结果是位于所述移动终端的初步定位区域内的。
结合第二方面第二实施方式, 在第三实施方式中, 所述确定模块, 包 括:
第一确定单元, 用于通过所述移动终端内的测量模块, 确定所述移动 终端与所述地标之间的水平间距;
第二确定单元, 用于调用所述移动终端内的电子罗盘, 获取所述电子 罗盘的当前指示方位;
第三确定单元, 用于根据所述移动终端与所述地标之间的水平间距和 所述电子罗盘的当前指示方位, 确定移动终端与所述地标的相对位置。
结合第二方面第一至第三实施方式中的任一种实施方式, 在第四实施 方式中, 所述定位装置还包括控制模块, 用于
若根据所述图像进行图像识别算法, 获取所述图像中所述地标对应的 特征信息失败;
则控制所述移动终端捕捉包含有备选地标的图像。
第三方面, 本发明实施例提供一种移动终端的定位装置, 包括: 处理器, 用于捕获包含有地标的图像;
根据所述图像获取所述图像中所述地标对应的位置坐标;
通过移动终端确定所述移动终端与所述地标的相对位置;
根据所述地标对应的位置坐标和所述移动终端与所述地标的相对位 置, 对所述移动终端进行定位。
结合第三方面, 在第一实施方式中, 所述处理器具体用于
根据所述图像进行图像识别算法, 获取所述图像中所述地标对应的特 征信息;
根据所述特征信息在所述移动终端的本地数据库或第三方数据库中 进行查询, 获得所述地标的位置坐标;
结合第三方面第一实施方式, 在第二实施方式中, 所述处理器具体用 于根据所述特征信息在所述移动终端的本地数据库或第三方数据库中进 行查询, 获得所述地标的位置坐标, 包括: 若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得一个查询结果, 则获取该查询结果对应的所述地标的位 置坐标;
若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得至少两个查询结果;
则在所述至少两个查询结果中确定第一查询结果, 并获取该第一查询 结果对应的所述地标的位置坐标; 其中第一查询结果是根据用户指示确定 的, 或者所述第一查询结果是位于所述移动终端的初步定位区域内的。
结合第三方面第二实施方式, 在第三实施方式中, 所述处理器通过移 动终端确定所述移动终端与所述地标的相对位置, 包括:
通过所述移动终端内的测量单元, 确定所述移动终端与所述地标之间 的水平间距;
调用所述移动终端内的电子罗盘, 获取所述电子罗盘的当前指示方 位;
根据所述移动终端与所述地标之间的水平间距和所述电子罗盘的当 前指示方位, 确定移动终端与所述地标的相对位置。
结合第三方面第一至第三实施方式中的任一种实施方式, 在第四实施 方式中, 所述处理器还用于
若根据所述图像进行图像识别算法, 获取所述图像中所述地标对应的 特征信息失败;
则控制所述移动终端捕捉包含有备选地标的图像。
本发明实施例提供的移动终端的定位方法和装置, 通过移动终端捕获 的包含有地标的图像, 并根据该图像确定图像中地标对应的位置坐标和移 动终端与地标的相对位置, 从而可对移动终端进行定位, 避免了因建筑物 过多、 微波信号传送受限等客观因素导致的定位不成功等问题, 可以对移 动终端进行精确定位, 从而使得移动终端的功能最大化的发挥, 提升用户 体验。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见 地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的 附图。
图 1为本发明移动终端的定位方法实施例一的流程图;
图 2为本发明移动终端的定位方法实施例二的流程图;
图 3为本发明实施例二中摄像模块的示意图;
图 4为本发明实施例二中确定移动终端与地标的相对位置的场景示意 图;
图 5为本发明移动终端的定位方法实施例三的流程图;
图 6为本发明移动终端的定位装置实施例一的结构图;
图 7为本发明移动终端的定位装置实施例二的结构图;
图 8为本发明移动终端的定位装置实施例三的结构图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然,所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。
图 1为本发明移动终端的定位方法实施例一的流程图。 如图 1所示, 本实施例的实施主体为移动终端的定位装置, 该定位装置可以采用硬件和 /或软件的方式实现, 优选的, 该定位装置可以集成在移动终端内, 该移动 终端可以为常见的手机、 iPad等具有拍摄功能的设备, 具体的实施过程如 下:
S 101、 捕获包含有地标的图像;
在实际应用中, 上述移动终端以手机为例, 用户在使用移动终端时, 该移动终端上的应用程序需要获得移动终端当前的位置, 例如常见的手机 上的地图软件, 需要获得移动终端的用户所在的当前位置 (也可理解为用 户所在的当前的位置、 或移动终端所在的当前的位置) , 则会对移动终端 进行定位。 在本实施例中, 在需要对移动终端进行定位时, 用户使用上述 移动终端的定位装置, 在当前位置捕获包含有地标的图像。 其中地标为当 前位置附近的显著标志, 如建筑物、 门店的招牌等。
举例来说, 用户手机上的应用软件需要获取用户当前的位置时, 移动 终端的定位装置会通知用户开启(或该定位装置自动开启)手机的摄像头, 则用户手持手机, 使摄像头对焦于附近的景物, 用以捕获包含有地标的图 像, 例如用户当前位于建筑物 "蓝海大厦" 附近, 则用户手持手机使摄像 头对焦于蓝海大厦, 使蓝海大厦的楼体或者大厦上 "蓝海大厦" 的字样被 摄像头拍摄, 从而移动终端的定位装置所捕获的图像内, 其中蓝海大厦的 楼体或者大厦上 "蓝海大厦" 的字样为用户当前位置附近的显著标志, 可 作为上述地标。
5102、 根据图像获取该图像中地标对应的位置坐标。
由于上述图像中包含地标, 而地标具有显著的特征, 则通过对图像的 分析,可在图像中获取到地标的特征信息,例如通过 OCR( Optical Character Recognition, 光学字符识别) 技术, 在图像中提取到作为上述特征信息的 字符 "蓝海大厦" , 则可根据字符 "蓝海大厦"进行查询, 确定该大厦具 体的位置坐标, 该位置坐标可以为地理坐标, 或者也可以为其他数据库采 用的坐标系下的坐标。
5103、 通过移动终端确定移动终端与地标的相对位置。
由于移动终端对地标进行拍摄时, 移动终端与地标之间是有距离及偏 移角度的, 因此还需要通过移动终端确定移动终端与地标的相对位置; 具 体可以通过移动终端内的测量模块进行确定。
5104、 根据地标对应的位置坐标和移动终端与地标的相对位置, 对移 动终端进行定位。
地标对应的位置坐标和移动终端与所述地标的相对位置, 可对移动终 端当前所在的位置进行定位, 可获知移动终端当前所在位置的精确信息, 可理解的, 在用户手持移动终端时, 通过上述 S101~S 103便可对用户当前 所在的位置进行精确定位。
本实施例中, 通过移动终端捕获的包含有地标的图像, 并根据该图像 确定图像中地标对应的位置坐标和移动终端与地标的相对位置, 从而可对 移动终端进行定位, 避免了因建筑物过多、 微波信号传送受限等客观因素 导致的定位不成功等问题, 可以对移动终端进行精确定位, 从而使得移动 终端的功能最大化的发挥, 提升用户体验。
图 2为本发明移动终端的定位方法实施例二的流程图。 如图 2所示, 本实施例是在图 1所示的实施例的基础上做出进一步描述, 具体的, 本实 施例包括:
5201、 捕获包含有地标的图像。
移动终端上的应用软件需要进行定位时, 可以通知用户使用移动终端 进行拍摄, 或者移动终端上的应用软件触发上述移动终端的定位装置, 开 始拍摄当前位置附近的场景, 其中拍摄的图像包含有地标, 另外上述图像 可以是移动终端的定位装置通过移动终端所拍摄的图片; 也可以是用户控 制移动终端上的摄像头对地标进行对焦后, 移动终端的定位装置在摄像头 的取景框中捕捉的图像。
5202、根据图像进行图像识别算法,获取图像中地标对应的特征信息。 可采用现有成熟的图像识别算法对图像进行处理以提取特征信息, 该 特征信息可以为地标上面具有标识性的字符, 如前述字符 "蓝海大厦" , 或者也可以是地标的具体形象, 如前述蓝海大厦的楼体的形象。
5203、根据特征信息在移动终端的本地数据库或第三方数据库中进行 查询, 获得地标的位置坐标。
上述本地数据库或第三方数据库中至少包括各种地标的位置坐标, 其 中本地数据库如常见的已下载的离线地图数据包, 而第三方数据库可以为 在线地图等应用软件可以通过网络访问的服务器中的地图数据包等, 上述 本地数据库或第三方数据库中包括了各地的街道、 显著的建筑物和商铺等 具体的位置坐标, 如某个建筑物采用地理坐标作为位置坐标, 该建筑物的 位置坐标为东经 108°40', 北纬 33°9Γ; 更优的, 上述各种数据库中还可以 包括图像数据, 则可在数据库中根据 S203中获取的作为特征信息的图像 进行查询。
例如, 特征信息为文字 "蓝海大厦" , 则在上述数据库中查询时, 便 可获得对应的位置坐标 (X , y) ; 而当特征信息为蓝海大厦的楼体的形象 时, 则移动终端的定位装置在实施本步骤时, 便将 S202中获得的楼体的 形象与数据库已有的图像数据进行比对查询, 便可查到与上述楼体的形象 匹配的查询结果, 该查询结果表明该楼体的形象即为蓝海大厦的楼体, 从 而确定 S201中捕捉的地标的位置坐标。
S204、 通过移动终端确定移动终端与地标的相对位置。
在执行 S204时, 具体包括以下步骤:
a、 通过移动终端内的测量模块, 确定移动终端与地标之间的水平间 距;
在确定移动终端与地标之间的水平间距时, 可以根据图像进行成像分 析, 此时上述测量模块具体为移动终端上的摄像模块 (在实际应用中, 包 括摄像头和位于摄像头后的成像器件) ; 具体的, 图 3为本发明实施例二 中摄像模块的示意图。 如图 3所示, A为摄像头, 0处为成像器件的成像 处, P为地标, 则根据成像原理 =^ = 可得 w = , 其中, /为摄
H f u v - f
像头的焦距, V为像距, 《为移动终端与地标之间的直线距离, 为获得的 图像中地标与图像底边的距离, H为地标与摄像头轴心线 10的垂直距离。
灵活的, 在摄像头性能不高的情况下, 可以启用移动终端上的其他测 量模块, 如移动终端上的激光器进行激光测距, 或者启动移动终端上的双 摄像头进行测距。
b、 调用移动终端内的电子罗盘, 获取电子罗盘的当前指示方位; c、 根据移动终端与地标之间的水平间距和电子罗盘的当前指示方位, 确定移动终端与地标的相对位置。
具体的, 图 4为本发明实施例二中确定移动终端与地标的相对位置的 场景示意图。 如图 4所示, 作为地标的蓝海大厦 1 1被用户手持移动终端 12拍摄, 此时移动终端 12内的电子罗盘可确定移动终端的指示方位为东 偏北 50 ° , 由于移动终端 12拍摄蓝海大厦 1 1, 则蓝海大厦 1 1则位于移 动终端 12的指示方位对应的方向上, 则可以理解的, 以蓝海大厦 1 1为坐 标原点时, 移动终端 12则位于蓝海大厦 11的南偏西 40 ° , 则在执行上述 步骤 c时, 将上述步骤 b中电子罗盘获得的指示方位 "东偏北 50 ° "转换 为 "南偏西 40 ° ", 并结合上述步骤 a中确定的移动终端与地标之间的直 线距离, 则可确定移动终端与地标的相对位置。
S205、 根据地标对应的位置坐标和移动终端与地标的相对位置, 对移 动终端进行定位。
举例来说, 前述确定了蓝海大厦的位置坐标 (X , y ) , 并且获知移动 终端当前位于蓝海大厦的南偏西 30° , 且直线距离为 500米, 则可精确定 位移动终端当前的位置坐标 (m, n) ; 更优的, 可以地图图像的形式在移 动终端上显示该移动终端当前所在的位置; 另外, 上述各种数据库中也包 含了街道、 小区及公园等区域的坐标范围, 则在获知移动终端当前的位置 坐标 (m, n) 后, 若获知该移动终端的位置坐标 (m、 n) 属于某个街道、 小区等的坐标范围内, 则可详细显示出该移动终端位于某个街道, 或位于 某个小区内, 以提高用户的体验。
本实施例中, 通过移动终端捕获的包含有地标的图像, 并根据该图像 确定图像中地标对应的位置坐标和移动终端与地标的相对位置, 从而可对 移动终端进行定位, 避免了因建筑物过多、 微波信号传送受限等客观因素 导致的定位不成功等问题, 可以对移动终端进行精确定位, 从而使得移动 终端的功能最大化的发挥, 提升用户体验。
图 5为本发明移动终端的定位方法实施例三的流程图。 如图 5所示, 本实施例是在图 1或图 2所示的实施例的基础上, 做出更具体的描述, 具 体的:
5301、 捕获包含有地标的图像。
具体的, 本实施例中地标以上述蓝海大厦为例。
5302、根据图像进行图像识别算法,获取图像中地标对应的特征信息。 具体的, 本实施例中蓝海大厦上有字符 "蓝海大厦" , 则通过 S302 进行的图像识别算法为 OCR技术, 获得字符 "蓝海大厦" 作为地标对应 的特征信息。
5303、根据特征信息在所述移动终端的本地数据库或第三方数据库中 进行查询。
5304、 判断查询结果是否为 1 ; 若是, 执行 S305 ; 若否, 执行 S306。 可以理解的, 根据字符 "蓝海大厦"进行查询, 得到的查询结果可能 包括 B市的 "蓝海大厦" , 也有 C市的 "蓝海大厦"等, 因此需要下述进 一步的处理。
5305、 若获得一个查询结果, 则获取该查询结果对应的地标的位置坐 标。
例如查询结果仅为 C市的 "蓝海大厦" , 且用户清楚自身位于 C市, 则获取该查询结果对应的地标的位置坐标, 直接执行 S307。
5306、 获得至少两个查询结果, 则在至少两个查询结果中确定第一查 询结果, 并获取该第一查询结果对应的地标的位置坐标。
具体的, 若根据所述特征信息在所述移动终端的本地数据库或第三方 数据库中进行查询, 获得至少两个查询结果, 即有 B市的 "蓝海大厦" , 也有 C市的 "蓝海大厦"等, 则在所述至少两个查询结果中确定第一查询 结果, 该第一查询结果是根据用户指示确定的, 或者该第一查询结果是位 于移动终端的初步定位区域内的。
例如上述至少两个查询结果呈现给用户后, 由于用户自身可知当前位 于 C市内, 则在该至少两个查询结果选择 C市的"蓝海大厦"作为上述第 一查询结果; 更优的, 基于现有的定位方法, 如基于基站的定位方法、 或
GPS定位方法已确定了移动终端位于 C市内, 即 C市为上述初步定位区 域, 但不清楚移动终端在 c市内的精确位置, 则通过前述各步骤获得了至 少两个查询结果, 其中查询结果 " C市的 '蓝海大厦' " 即位于上述初步 定位区域内, 则确定查询结果 " C市的 '蓝海大厦' " 为第一查询结果。
5307、 通过移动终端确定该移动终端与地标的相对位置。
5308、 根据地标对应的位置坐标和移动终端与地标的相对位置, 对所 述移动终端进行定位。
上述 S307~S308可参考前述实施例, 在此不再赘述。
需要补充说明的是, 在执行本实施例的 S302时, 由于捕捉的图像的 像素、 光线等问题不能获取到特征信息, 即若根据上述图像进行图像识别 算法, 获取所述图像中地标对应的特征信息失败, 则控制移动终端重新捕 捉包含有备选地标的图像, 该备选地标可以为前述图像中的地标, 即重新 对所述地标进行拍摄或对焦; 或者该备选地标为另外一个地标, 作为新的 所述地标重新执行上述各个步骤; 另外, 由于本地数据库或第三方数据库 中的数据有误或不足, 在 S306中获得的至少两个查询结果中不能确定第 一查询结果, 例如由于上述本地数据库或第三方数据库中的数据不足, 没 有 D市的 "蓝海大厦" , 则两个查询结果仅有 B市的 "蓝海大厦" 和 C 市的 "蓝海大厦" , 但初步定位区域或用户自知的位置位于 D市, 因此需 要选择作为备选地标的其他地标进行上述各个定位步骤。 本实施例中, 通过移动终端捕获的包含有地标的图像, 并根据该图像 确定图像中地标对应的位置坐标和移动终端与地标的相对位置, 从而可对 移动终端进行定位, 避免了因建筑物过多、 微波信号传送受限等客观因素 导致的定位不成功等问题, 可以对移动终端进行精确定位, 从而使得移动 终端的功能最大化的发挥, 提升用户体验。
图 6为本发明移动终端的定位装置实施例一的结构图。 如图 6所示, 该定位装置包括:
捕获模块 41, 用于捕获包含有地标的图像;
坐标获取模块 42,用于根据所述图像获取所述图像中所述地标对应的 位置坐标;
确定模块 43、用于通过移动终端确定所述移动终端与所述地标的相对 位置;
定位模块 44,用于根据所述地标对应的位置坐标和所述移动终端与所 述地标的相对位置, 对所述移动终端进行定位。
本实施例中, 移动终端的定位装置通过移动终端捕获的包含有地标的 图像, 并根据该图像确定图像中地标对应的位置坐标和移动终端与地标的 相对位置, 从而可对移动终端进行定位, 避免了因建筑物过多、 微波信号 传送受限等客观因素导致的定位不成功等问题, 可以对移动终端进行精确 定位, 从而使得移动终端的功能最大化的发挥, 提升用户体验
图 7为本发明移动终端的定位装置实施例二的结构图。 如图 7所示, 本实施例是在图 6所示的实施例的基础上进一步描述。
所述坐标获取模块 42包括:
第一获取单元 421, 用于根据所述图像进行图像识别算法, 获取所述 图像中所述地标对应的特征信息;
第二获取单元 422, 用于根据所述特征信息在所述移动终端的本地数 据库或第三方数据库中进行查询, 获得所述地标的位置坐标;
具体的, 上述第二获取单元 422具体用于
若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得一个查询结果, 则获取该查询结果对应的所述地标的位 置坐标; 若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得至少两个查询结果;
则在所述至少两个查询结果中确定第一查询结果, 并获取该第一查询 结果对应的所述地标的位置坐标; 其中第一查询结果是根据用户指示确定 的, 或者所述第一查询结果是位于所述移动终端的初步定位区域内的。
进一步的, 所述确定模块 43, 包括:
第一确定单元 43 1, 用于通过所述移动终端内的测量模块, 确定所述 移动终端与所述地标之间的水平间距;
第二确定单元 432, 用于调用所述移动终端内的电子罗盘, 获取所述 电子罗盘的当前指示方位;
第三确定单元 433, 用于根据所述移动终端与所述地标之间的水平间 距和所述电子罗盘的当前指示方位, 确定移动终端与所述地标的相对位 置。
更优的, 所述定位装置还包括控制模块 45, 用于
若根据所述图像进行图像识别算法, 获取所述图像中所述地标对应的 特征信息失败;
则控制所述移动终端捕捉包含有备选地标的图像。
本实施例中, 通过移动终端捕获的包含有地标的图像, 并根据该图像 确定图像中地标对应的位置坐标和移动终端与地标的相对位置, 从而可对 移动终端进行定位, 避免了因建筑物过多、 微波信号传送受限等客观因素 导致的定位不成功等问题, 可以对移动终端进行精确定位, 从而使得移动 终端的功能最大化的发挥, 提升用户体验。
图 8为本发明移动终端的定位装置实施例三的结构图。 如图 8所示, 本实施例用于描述移动终端的定位装置的实体结构, 具体的, 该移动终端 的定位装置, 包括:
处理器 51, 用于捕获包含有地标的图像; 具体的, 处理器 51控制移 动终端上的摄像头 52对地标进行拍摄, 则处理器 51使地标成像, 即处理 器 51捕获到包含有地标的图像。
用于根据所述图像获取所述图像中所述地标对应的位置坐标; 通过移动终端确定所述移动终端与所述地标的相对位置; 根据所述地标对应的位置坐标和所述移动终端与所述地标的相对位 置, 对所述移动终端进行定位。
具体的, 所述处理器 51具体用于
根据所述图像进行图像识别算法, 获取所述图像中所述地标对应的特 征信息;
根据所述特征信息在所述移动终端的本地数据库或第三方数据库中 进行查询, 获得所述地标的位置坐标;
进一步的, 所述处理器具体用于根据所述特征信息在所述移动终端的 本地数据库或第三方数据库中进行查询,获得所述地标的位置坐标,包括: 若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得一个查询结果, 则获取该查询结果对应的所述地标的位 置坐标;
若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得至少两个查询结果;
则在所述至少两个查询结果中确定第一查询结果, 并获取该第一查询 结果对应的所述地标的位置坐标; 其中第一查询结果是根据用户指示确定 的, 或者所述第一查询结果是位于所述移动终端的初步定位区域内的。
进一步的, 所述处理器 51通过移动终端确定所述移动终端与所述地 标的相对位置, 包括:
通过所述移动终端内的测量单元, 确定所述移动终端与所述地标之间 的水平间距;
调用所述移动终端内的电子罗盘, 获取所述电子罗盘的当前指示方 位;
根据所述移动终端与所述地标之间的水平间距和所述电子罗盘的当 前指示方位, 确定移动终端与所述地标的相对位置。
进一步的, 所述处理器还用于
若根据所述图像进行图像识别算法, 获取所述图像中所述地标对应的 特征信息失败;
则控制所述移动终端捕捉包含有备选地标的图像。
本实施例中, 通过移动终端捕获的包含有地标的图像, 并根据该图像 确定图像中地标对应的位置坐标和移动终端与地标的相对位置, 从而可对 移动终端进行定位, 避免了因建筑物过多、 微波信号传送受限等客观因素 导致的定位不成功等问题, 可以对移动终端进行精确定位, 从而使得移动 终端的功能最大化的发挥, 提升用户体验。
需要说明的是, 上述各个装置实施例中, 移动终端的定位装置具体用于 执行前述各个方法实施例中的各个步骤, 具体实施过程及有益效果请参考前 述各个方法实施例, 在此不再赘述。

Claims

权 利 要 求 书
1、 一种移动终端的定位方法, 其特征在于, 包括:
捕获包含有地标的图像;
根据所述图像获取所述图像中所述地标对应的位置坐标;
通过移动终端确定所述移动终端与所述地标的相对位置;
根据所述地标对应的位置坐标和所述移动终端与所述地标的相对位 置, 对所述移动终端进行定位。
2、 根据权利要求 1所述的定位方法, 其特征在于, 所述根据所述图 像获取所述图像中所述地标对应的位置坐标包括:
根据所述图像进行图像识别算法, 获取所述图像中所述地标对应的特 征信息;
根据所述特征信息在所述移动终端的本地数据库或第三方数据库中 进行查询, 获得所述地标的位置坐标;
3、 根据权利要求 2所述的定位方法, 其特征在于, 所述根据所述特 征信息在所述移动终端的本地数据库或第三方数据库中进行查询, 获得所 述地标的位置坐标, 包括:
若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得一个查询结果, 则获取该查询结果对应的所述地标的位 置坐标;
若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得至少两个查询结果;
则在所述至少两个查询结果中确定第一查询结果, 并获取该第一查询 结果对应的所述地标的位置坐标; 其中第一查询结果是根据用户指示确定 的, 或者所述第一查询结果是位于所述移动终端的初步定位区域内的。
4、 根据权利要求 3所述的定位方法, 其特征在于, 通过移动终端确 定所述移动终端与所述地标的相对位置, 包括:
通过所述移动终端内的测量模块, 确定所述移动终端与所述地标之间 的水平间距;
调用所述移动终端内的电子罗盘, 获取所述电子罗盘的当前指示方 位; 根据所述移动终端与所述地标之间的水平间距和所述电子罗盘的当 前指示方位, 确定移动终端与所述地标的相对位置。
5、 根据权利要求 2~4任一项所述的定位方法, 其特征在于, 所述定 位方法还包括:
若根据所述图像进行图像识别算法, 获取所述图像中所述地标对应的 特征信息失败;
则控制所述移动终端捕捉包含有备选地标的图像。
6、 一种移动终端的定位装置, 其特征在于, 包括:
捕获模块, 用于捕获包含有地标的图像;
坐标获取模块, 用于根据所述图像获取所述图像中所述地标对应的位 置坐标;
确定模块、用于通过移动终端确定所述移动终端与所述地标的相对位 置;
定位模块, 用于根据所述地标对应的位置坐标和所述移动终端与所述 地标的相对位置, 对所述移动终端进行定位。
7、 根据权利要求 6所述的定位装置, 其特征在于, 所述坐标获取模 块包括:
第一获取单元, 用于根据所述图像进行图像识别算法, 获取所述图像 中所述地标对应的特征信息;
第二获取单元, 用于根据所述特征信息在所述移动终端的本地数据库 或第三方数据库中进行查询, 获得所述地标的位置坐标;
8、 根据权利要求 7所述的定位装置, 其特征在于, 所述第二获取单 元具体用于
若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得一个查询结果, 则获取该查询结果对应的所述地标的位 置坐标;
若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得至少两个查询结果;
则在所述至少两个查询结果中确定第一查询结果, 并获取该第一查询 结果对应的所述地标的位置坐标; 其中第一查询结果是根据用户指示确定 的, 或者所述第一查询结果是位于所述移动终端的初步定位区域内的。
9、 根据权利要求 8所述的定位装置, 其特征在于, 所述确定模块, 包括:
第一确定单元, 用于通过所述移动终端内的测量模块, 确定所述移动 终端与所述地标之间的水平间距;
第二确定单元, 用于调用所述移动终端内的电子罗盘, 获取所述电子 罗盘的当前指示方位;
第三确定单元, 用于根据所述移动终端与所述地标之间的水平间距和 所述电子罗盘的当前指示方位, 确定移动终端与所述地标的相对位置。
10、 根据权利要求 7~9任一项所述的定位装置, 其特征在于, 所述定 位装置还包括控制模块, 用于
若根据所述图像进行图像识别算法, 获取所述图像中所述地标对应的 特征信息失败;
则控制所述移动终端捕捉包含有备选地标的图像。
1 1、 一种移动终端的定位装置, 其特征在于, 包括:
摄像头, 用于捕获包含有地标的图像;
处理器, 用于根据所述图像获取所述图像中所述地标对应的位置坐 标;
通过移动终端确定所述移动终端与所述地标的相对位置;
根据所述地标对应的位置坐标和所述移动终端与所述地标的相对位 置, 对所述移动终端进行定位。
12、 根据权利要求 1 1所述的定位装置, 其特征在于, 所述处理器具 体用于
根据所述图像进行图像识别算法, 获取所述图像中所述地标对应的特 征信息;
根据所述特征信息在所述移动终端的本地数据库或第三方数据库中 进行查询, 获得所述地标的位置坐标;
13、 根据权利要求 12所述的定位装置, 其特征在于, 所述处理器具 体用于根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得所述地标的位置坐标, 包括: 若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得一个查询结果, 则获取该查询结果对应的所述地标的位 置坐标;
若根据所述特征信息在所述移动终端的本地数据库或第三方数据库 中进行查询, 获得至少两个查询结果;
则在所述至少两个查询结果中确定第一查询结果, 并获取该第一查询 结果对应的所述地标的位置坐标; 其中第一查询结果是根据用户指示确定 的, 或者所述第一查询结果是位于所述移动终端的初步定位区域内的。
14、 根据权利要求 13所述的定位装置, 其特征在于, 所述处理器通 过移动终端确定所述移动终端与所述地标的相对位置, 包括:
通过所述移动终端内的测量单元, 确定所述移动终端与所述地标之间 的水平间距;
调用所述移动终端内的电子罗盘, 获取所述电子罗盘的当前指示方 位;
根据所述移动终端与所述地标之间的水平间距和所述电子罗盘的当 前指示方位, 确定移动终端与所述地标的相对位置。
15、 根据权利要求 12~14任一项所述的定位装置, 其特征在于, 所述 处理器还用于
若根据所述图像进行图像识别算法, 获取所述图像中所述地标对应的 特征信息失败;
则控制所述移动终端捕捉包含有备选地标的图像。
PCT/CN2014/071796 2014-01-29 2014-01-29 移动终端的定位方法和装置 WO2015113270A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/071796 WO2015113270A1 (zh) 2014-01-29 2014-01-29 移动终端的定位方法和装置
CN201480004699.7A CN104956696A (zh) 2014-01-29 2014-01-29 移动终端的定位方法和装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/071796 WO2015113270A1 (zh) 2014-01-29 2014-01-29 移动终端的定位方法和装置

Publications (1)

Publication Number Publication Date
WO2015113270A1 true WO2015113270A1 (zh) 2015-08-06

Family

ID=53756163

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071796 WO2015113270A1 (zh) 2014-01-29 2014-01-29 移动终端的定位方法和装置

Country Status (2)

Country Link
CN (1) CN104956696A (zh)
WO (1) WO2015113270A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159459A (zh) * 2019-12-04 2020-05-15 恒大新能源汽车科技(广东)有限公司 地标定位方法、装置、计算机设备以及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046378A (zh) * 2006-12-20 2007-10-03 威盛电子股份有限公司 移动使用设备的视觉定位系统、方法及定位服务器
CN103067856A (zh) * 2011-10-24 2013-04-24 康佳集团股份有限公司 基于图像识别的地理位置定位方法及系统
CN103139700A (zh) * 2011-11-28 2013-06-05 联想(北京)有限公司 一种终端定位的方法和系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2669848B1 (en) * 2012-05-31 2017-08-23 BlackBerry Limited Methods and apparatus for use in mapping identified visual features of visual images to location areas
US9357346B2 (en) * 2012-07-16 2016-05-31 Aisle411, Inc. System and method for indoor location mapping and tracking

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046378A (zh) * 2006-12-20 2007-10-03 威盛电子股份有限公司 移动使用设备的视觉定位系统、方法及定位服务器
CN103067856A (zh) * 2011-10-24 2013-04-24 康佳集团股份有限公司 基于图像识别的地理位置定位方法及系统
CN103139700A (zh) * 2011-11-28 2013-06-05 联想(北京)有限公司 一种终端定位的方法和系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159459A (zh) * 2019-12-04 2020-05-15 恒大新能源汽车科技(广东)有限公司 地标定位方法、装置、计算机设备以及存储介质
CN111159459B (zh) * 2019-12-04 2023-08-11 恒大恒驰新能源汽车科技(广东)有限公司 地标定位方法、装置、计算机设备以及存储介质

Also Published As

Publication number Publication date
CN104956696A (zh) 2015-09-30

Similar Documents

Publication Publication Date Title
CN103105993B (zh) 基于增强现实技术实现互动的方法和系统
US11321869B2 (en) Accurate positioning system using attributes
KR101620299B1 (ko) 이동 단말기의 네비게이션 기능에 기반한 사진 위치확인 방법 및 시스템
US20110234631A1 (en) Augmented reality systems
US8509488B1 (en) Image-aided positioning and navigation system
US9080882B2 (en) Visual OCR for positioning
WO2021037051A1 (zh) 一种定位方法及电子设备
JP5607759B2 (ja) 軌道ベースのロケーション判断を使用した画像識別
US9906921B2 (en) Updating points of interest for positioning
CN104378735B (zh) 室内定位方法、客户端及服务器
CN112101339B (zh) 地图兴趣点的信息获取方法、装置、电子设备和存储介质
WO2017028433A1 (zh) 终端定位方法及系统、目标终端及定位服务器
CN103139700A (zh) 一种终端定位的方法和系统
JP2008158583A (ja) 画像関連情報表示システム
KR20090019184A (ko) 전자지도에 포함된 이미지 파일을 이용한 이미지 재생장치, 이의 재생 방법 및 상기 방법을 실행하기 위한프로그램을 기록한 기록매체.
TW201013214A (en) Photography device and method for sensing the moving speed of the photographed object
CN103491631A (zh) 基于二维码和wifi信号的室内定位系统和方法
CN107193820B (zh) 位置信息获取方法、装置及设备
JP5146600B2 (ja) 移動通信装置、位置情報取得方法、及びプログラム
CN109343000B (zh) 一种室内可见光成像定位系统和定位方法
KR20100060472A (ko) 위치 측정 방법 및 이를 이용한 휴대 단말기
Debnath et al. Tagpix: Automatic real-time landscape photo tagging for smartphones
WO2015113270A1 (zh) 移动终端的定位方法和装置
KR100657826B1 (ko) 위치정보 보정을 위한 휴대 단말기 및 지리정보 제공장치와 그 방법
JP2010276364A (ja) ナビ情報作成装置、ナビゲーションシステム、ナビゲーション情報作成方法、およびナビゲーション方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14880689

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14880689

Country of ref document: EP

Kind code of ref document: A1