WO2012058960A1 - Positioning method and device for mobile terminals - Google Patents

Positioning method and device for mobile terminals Download PDF

Info

Publication number
WO2012058960A1
WO2012058960A1 PCT/CN2011/078057 CN2011078057W WO2012058960A1 WO 2012058960 A1 WO2012058960 A1 WO 2012058960A1 CN 2011078057 W CN2011078057 W CN 2011078057W WO 2012058960 A1 WO2012058960 A1 WO 2012058960A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
distance
mobile terminal
matrix
training
Prior art date
Application number
PCT/CN2011/078057
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2012058960A1 publication Critical patent/WO2012058960A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • 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
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/02Systems for determining distance or velocity not using reflection or reradiation using radio waves
    • G01S11/06Systems for determining distance or velocity not using reflection or reradiation using radio waves using intensity measurements

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a method and an apparatus for positioning a mobile terminal. Background technique
  • a base station-based positioning technology where the network side obtains the current base station information (Cell ID) of the mobile terminal to obtain the current location of the mobile terminal, and the accuracy depends on the mobile base station.
  • the distribution and coverage size the second is based on the advanced forward link trilateration (AFLT) positioning technology, AFLT is a unique technology of CDMA, in the positioning operation, the mobile terminal simultaneously monitors multiple The pilot information of the base station determines the distance to the nearby base station by using the chip delay, and finally calculates the specific location of the mobile terminal by using the triangulation method;
  • the third is the positioning technology based on the wireless network assisted GPS positioning method (AGPS), and the AGPS will be the terminal
  • AGPS wireless network assisted GPS positioning method
  • the principle of the base station-based positioning technology is: Since each base station has a unique cell identifier (CID ID), the CID and signal strength of the base station can be moved each time the mobile terminal registers the network.
  • the protocol stack of the terminal is parsed.
  • the base station is used to locate the mobile terminal, and the following operation modes are as follows: First, local operation, obtaining a CID parameter in the mobile terminal protocol stack by a specific program, and correspondingly determining the CID and the area where the base station is located, but finally achieving the positioning, but
  • the area information of the base station needs to be stored on the mobile terminal, and the database also needs to store the correspondence between the CID, the LAC (Location Area Code) and the specific base station location, and find the corresponding base station location in the database through the CID and the LAC;
  • the mobile terminal reports the measurement information to the network side, and reports the measured neighboring cell, the camped cell, and the corresponding signal strength to the network side.
  • the network side calculates the distance between the mobile terminal and the base station according to the reported measurement information, and determines the location of the mobile terminal according to the geographic information of the base station, and feeds back the operation result to the mobile terminal, and the mobile terminal displays the result on the screen.
  • the network side or terminal side programs must use CID, LAC, CH, TA, RxL, and TxPwr.
  • the location information of the base station and the base station needs to be determined.
  • the distance between the mobile terminal and the base station needs to be calculated according to a certain model. There are two ways to calculate the distance between the mobile terminal and the base station.
  • the invention provides a positioning method and device for a mobile terminal, which can improve the accuracy of the distance between the mobile terminal and the base station, and improve the positioning accuracy of the mobile terminal.
  • a method for locating a mobile terminal comprising:
  • a positioning device for a mobile terminal comprising:
  • a base station determining module configured to determine a camping base station of the mobile terminal
  • the distance determining module is configured to multiply the cell identifier of the camping base station and the current signal strength by a forward derivation matrix of the training model to obtain a distance between the mobile terminal and the camping base station.
  • the positioning method of the mobile terminal uses a neural network model to obtain a cell identifier of the base station and a correspondence matrix between the signal strength and the distance (ie, a forward derivation matrix). After the training is completed, the training model is used.
  • the forward derivation matrix can obtain the distance between the mobile terminal and the base station according to the cell identity of the mobile station and the signal strength of the mobile station.
  • the forward derivation matrix of the training model is obtained by training according to the sampling data of each base station, the error caused by signal drift and interference can be weakened, thereby improving the accuracy of the distance between the mobile terminal and the base station, and improving The signal strength of the base station is used to locate the positioning accuracy of the mobile terminal.
  • FIG. 1 is a schematic flow chart of a positioning method of a mobile terminal according to the present invention.
  • FIG. 3 is a flowchart of determining a forward derivation matrix by performing unified model training on each base station according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for locating a mobile terminal according to an embodiment of the present invention
  • FIG. 5 is a structural diagram of a positioning apparatus of a mobile terminal according to an embodiment of the present invention. detailed description
  • Embodiments of the present invention provide a positioning method for a mobile terminal, which uses an artificial neural network model to determine a unified training model for each base station training, and collects a cell identifier of each base station, a signal strength of each sampling point, a sampling distance, and a training model. Training is performed to obtain a training model that characterizes the mapping relationship between cell identity, signal strength, and sampling distance. In the subsequent positioning of the mobile terminal, Simply input the cell identity and signal strength as inputs and multiply the forward derivation matrix of the training model to obtain the distance between the mobile terminal and the base station.
  • the forward derivation matrix of the training model can reflect the mapping relationship between cell identity, signal strength and distance, and can model the signal field of the base station, and the error caused by signal drift and interference.
  • the weakening can be performed to improve the positioning accuracy of the mobile terminal by using the signal strength of the base station.
  • FIG. 1 is a schematic flowchart of a positioning method of a mobile terminal according to the present invention. As shown in FIG. 1, the method includes:
  • Step 001 determining a camping base station of the mobile terminal
  • Step 002 Multiply the cell identifier of the camping base station and the current signal strength by the forward derivation matrix of the training model to obtain a distance between the mobile terminal and the camping base station.
  • the method further includes: determining whether the resident base station passes the training of the training model, and if yes, moving The cell identity of the base station and the current signal strength are used as inputs, otherwise the model training is performed on the resident base station.
  • the mobile terminal is located according to the distance between the mobile terminal and the camping base station and the location information of the camping base station.
  • the method further includes: performing unified model training on each base station in advance, and determining a forward derivation matrix of the training model.
  • performing unified model training on each base station to determine a forward derivation matrix of the training model specifically: performing unified model training by using data samples of each base station, and determining a forward derivation matrix of the training model,
  • the data samples include: a cell identifier, a sampled signal strength, and a sampling distance corresponding to the sampled signal.
  • the foregoing positioning method of the mobile terminal provided by the embodiment of the present invention generally needs to include the following three parts: 1) sampling data samples; 2) performing unified model training on each base station, determining a forward derivation matrix; 3) determining a mobile terminal and a base station the distance.
  • FIG. 2 is a flowchart of sampling data samples according to an embodiment of the present invention, as shown in FIG. A flow chart of sampled data samples, including:
  • the cell identifier of the sampling base station can be read by the mobile terminal from the mobile terminal protocol stack.
  • the sampling distance that is, the distance of the sampling point from the base station.
  • the signal strength received by the mobile terminal is collected at each sampling point, that is, the sampling distance, and the signal strength collected at each sampling point is at least one, and the collected sampling signal strength may be obtained by the mobile terminal from the protocol stack of the mobile terminal. Reading, the acquired signal strength ends with a signal change law that can reflect the point.
  • All the base stations that need to be trained are sampled by the above steps to obtain a two-dimensional table of "cell identification-sampling distance-signal strength". If the base station to be trained has established a database of correspondence between signal strength and distance, then it is not necessary to perform sampling.
  • the collected data samples that is, the cell identifier, the sampling signal strength, and the sampling distance corresponding to the sampling signal are saved in the database, and the sampling process may be performed by the mobile terminal side and saved, or the sampling distance is recorded by the server side, and the mobile terminal
  • the side reads the cell identifier of the base station and the sampled signal strength, and reports the signal strength to the server.
  • the server saves the cell identifier, the sampled signal strength, and the sampling distance corresponding to the sampled signal.
  • the data sample collection process is completed, and the collected data samples can be saved in the database of the training model.
  • the model training process is carried out.
  • the training model used in the embodiment of the present invention is a neural network model, and the correspondence between the input is the cell identifier, the signal strength, and the output is the distance through the training model.
  • FIG. 3 is a schematic diagram of performing unified model training on each base station according to an embodiment of the present invention.
  • the flow chart of the guide matrix as shown in FIG. 3, is a flow chart for determining a forward derivation matrix for unified model training for each base station, including:
  • the input parameters are determined to be two (cell identifier, sampling signal strength), and the number of output values is one, that is, the sampling distance;
  • the forward derivation matrix may be composed of only one matrix or multiplied by several matrices.
  • the dimension of the forward derivation matrix refers to the number of rows and the number of columns of the matrix; wherein, the forward derivation matrix is composed of at least one matrix; and, the number and dimension of the forward derivation matrix can be based on a database of the training model
  • the scale and the actual training results of the matrix are adjusted, for example: Can be set to [ 2, M ], [ M, N ], [ N, 1 ], where [ 2, M ] is a matrix of 2 rows and M columns, [ M, N ] is a matrix of M rows and N columns; the values of the matrix, that is, the respective values (ie, weights) in the matrix, can be initialized to a random number between [1, 1];
  • the cell identifier is read from the database, and the sampled signal strength is input as an input, and multiplied by the forward derivation matrix to obtain a test distance.
  • the cell identifier and the sampled signal strength are read from the database as input, and the test distance is obtained.
  • step S209 If the average distance error still fails to meet the set precision condition after the reverse adjustment, return to step S202, re-determine the number and dimension of the forward derivation matrix, and retrain until the average distance error satisfies the set Accuracy conditions.
  • the set precision condition can be set as needed.
  • the average error can be set to be smaller than a certain fixed value.
  • the setting of the precision condition is not limited.
  • the unified model training is performed on each base station to determine the forward derivation matrix.
  • the mobile terminal is subsequently located, only the cell identifier and the signal strength need to be determined as input, and multiplied by the forward derivation matrix of the training model. , the distance between the mobile terminal and the base station can be obtained.
  • the process of determining the forward derivation may be completed by the mobile terminal and sent to the positioning server, or may be completed by the positioning server on the network side and sent to the mobile terminal, and the forward derivation matrix of the determined training model may be saved in the mobile terminal, so that the mobile terminal can Locating according to the received signal strength and the cell identity of the camping base station, may also be stored in the positioning server, so that the positioning server can locate the mobile terminal according to the signal strength received by the mobile terminal and the resident base station where the mobile terminal is located. And sent to the mobile terminal.
  • the forward derivation matrix of the training model is stored in the mobile terminal
  • the forward derivation matrix is recorded in the configuration file to prevent the mobile terminal from losing these parameters when the power is lost.
  • FIG. 4 is a flowchart of a method for locating a mobile terminal according to an embodiment of the present invention. As shown in FIG. 4, a flowchart of a method for locating a mobile terminal according to an embodiment of the present invention includes:
  • step S302. Determine whether the current camping base station of the mobile terminal passes the training of the training model, if If yes, go to step S303, if no, go to step S304;
  • the training of the base station through the training model refers to data samples in the database of the training model in the process of performing unified training on each base station to determine the forward derivation matrix (ie, cell identification, sampling signal strength, and sampling in the database)
  • the data collected by the base station is included in the sampling distance corresponding to the signal.
  • step S303 taking the current cell identity of the camping base station and the signal strength received by the current mobile terminal as an input, multiplying the forward derivation matrix of the training model to obtain the distance between the mobile terminal and the camping base station, and executing step S304;
  • step S305 using a formula method or a database method to obtain the distance between the mobile terminal and the base station, and executing step S305;
  • the formula method or the database method is a method for locating the distance between the mobile terminal and the base station mentioned in the background art, and will not be described in detail herein.
  • the mobile terminal is located according to the distance between the mobile terminal and the camping base station and the location information of the camping base station.
  • the mobile terminal is located according to the obtained distance between the mobile terminal and the resident base station and the location information of the resident base station, and displayed;
  • the method for determining the distance between the mobile terminal and the neighboring base station may adopt a chip delay method in the CDMA network, or other methods, and will not be described herein.
  • the forward derivation matrix is determined by collecting the cell identifier, the signal strength, and the sampling distance.
  • the cell identifier, the signal strength, and the sampling coordinates are used as sampling data, and the forward derivation matrix is determined by training. The method is similar to the above method.
  • step S102 S103, it is necessary to determine sampling coordinates, and in each sampling coordinate At least one sampled signal strength is acquired, and a two-dimensional table of cell identification, sampling coordinates, and signal strength is stored in a database of the training model.
  • the input parameter is still the cell identifier and the sampled signal strength
  • the output parameter is the calculated test coordinate
  • the average coordinate error is determined according to the error of each test coordinate and the recorded sampling coordinate (ie, the expected value), according to the average
  • the coordinate error inversely adjusts the forward derivation matrix until the error satisfies the coordinate error accuracy.
  • steps S301-S305 the cell identifier of the current camping base station and the signal strength received by the current mobile terminal are used as inputs, multiplied by the forward derivation matrix of the training model, and the coordinates of the mobile terminal are obtained, and the mobile terminal is located.
  • the above method of the embodiment of the present invention may be completed by the mobile terminal on the mobile terminal side or by the positioning server on the network side.
  • FIG. 5 is a structural diagram of a positioning apparatus of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes: a base station determining module 41 and a distance determining module 42;
  • a base station determining module 41 configured to determine a camping base station of the mobile terminal
  • the distance determining module 42 is configured to multiply the cell identifier of the mobile station resident base station and the current signal strength by a forward derivation matrix of the training model to obtain a distance between the mobile terminal and the camping base station.
  • the training model is a neural network model.
  • the output value is the sampling distance.
  • the above apparatus further includes:
  • the training module 43 is configured to perform unified model training on each base station in advance, and determine a forward derivation matrix of the training model.
  • the training module 43 performs unified model training on each base station in advance, and determines a forward derivation matrix of the training model, including: performing, for each base station, respectively: determining a cell identifier and a sampling distance of the base station, at each sampling distance.
  • collecting at least one sampled signal strength will Set the cell identifier, the collected sampled signal strength, and the corresponding sampling distance to save; set the number and dimension of the forward derivation matrix, take each acquired cell identifier, sampled signal strength as input, and forward derivation matrix Matrix multiplication operation, obtaining test distance; determining average distance error according to error of each test distance and sampling distance; determining whether the average distance error satisfies the set precision condition, and if so, directly determining the forward derivation matrix as training Training the forward derivation matrix of the model, if not, inversely adjusting the values in the forward derivation matrix until the average distance error satisfies the set precision condition, then determining the adjusted forward derivation matrix as the trained training model Forward derivation matrix.
  • the positioning method of the mobile terminal uses an artificial neural network model to determine a unified training model for each base station training, and collects the cell identifier of each base station, the signal strength of each sampling point, and the sampling distance, and performs the training model on the training model. Training, obtaining a training model that characterizes the mapping relationship between cell identity, signal strength, and sampling distance. In the subsequent positioning of the mobile terminal, the cell identifier and the signal strength are simply input, and multiplied by the forward derivation matrix of the training model to obtain the distance between the mobile terminal and the base station.
  • the forward derivation matrix of the training model can reflect the mapping relationship between cell identity, signal strength and distance, and can model the signal field of the base station, and the error caused by signal drift and interference.
  • the weakening can be performed to improve the positioning accuracy of the mobile terminal by using the signal strength of the base station.

Abstract

The present invention relates to the field of mobile communications. Disclosed are a positioning method and a device for mobile terminals. The method can enhance the precision of the distance between a mobile terminal and a base station and enhance the positioning precision of a mobile terminal. According to the method: the base station in which a mobile terminal resides is identified; and, the cell ID of the base station and the current signal strength are multiplied with a forward deduction matrix of a training model to obtain the distance between the mobile terminal and the base station. When the cell ID and the signal strength are used as the input to multiply with the forward deduction matrix, the output value is the sampling distance.

Description

一种移动终端的定位方法及装置 技术领域  Positioning method and device for mobile terminal
本发明涉及移动通信领域, 尤其涉及一种移动终端的定位方法及装置。 背景技术  The present invention relates to the field of mobile communications, and in particular, to a method and an apparatus for positioning a mobile terminal. Background technique
在移动通信领域中, 通常有以下几种定位技术: 一种基于基站的定位 技术, 由网络侧获取移动终端当前所在的基站信息 (Cell ID ) 以获得移动 终端当前位置, 其精度取决于移动基站的分布和覆盖范围的大小; 二是基 于高级前向链路三角定位法( Advanced Forward Link Trilateration , AFLT ) 的定位技术, AFLT是 CDMA独有的技术, 在定位操作时, 移动终端同时 监听多个基站的导频信息, 利用码片时延确定到附近基站的距离, 最后用 三角定位法算出移动终端的具体位置; 三是基于无线网络辅助 GPS定位法 ( AGPS ) 的定位技术, AGPS将终端的工作简化, 由网络侧的定位服务器 与移动终端相互配合完成定位工作, 即将卫星扫描及定位运算等工作从移 动终端转移到定位服务器完成。  In the field of mobile communications, there are usually the following positioning technologies: A base station-based positioning technology, where the network side obtains the current base station information (Cell ID) of the mobile terminal to obtain the current location of the mobile terminal, and the accuracy depends on the mobile base station. The distribution and coverage size; the second is based on the advanced forward link trilateration (AFLT) positioning technology, AFLT is a unique technology of CDMA, in the positioning operation, the mobile terminal simultaneously monitors multiple The pilot information of the base station determines the distance to the nearby base station by using the chip delay, and finally calculates the specific location of the mobile terminal by using the triangulation method; the third is the positioning technology based on the wireless network assisted GPS positioning method (AGPS), and the AGPS will be the terminal The work is simplified, and the positioning server and the mobile terminal on the network side cooperate with each other to complete the positioning work, that is, the work of satellite scanning and positioning calculation is transferred from the mobile terminal to the positioning server.
其中, 基于基站的定位技术的原理是: 由于每个基站都有唯一的小区 标识(Cell ID, CID ), 在移动终端每次开机注册网络时, 基站的 CID及信 号强度等信息, 可以被移动终端的协议栈解析出来。 通过基站来定位移动 终端, 有如下几种运算模式: 其一, 本地运算, 通过特定的程序得到移动 终端协议栈中的 CID等参数, 并将 CID与基站所在的地区相对应最终实现 定位, 但基站的所在地区信息需要存储于移动终端上, 同时数据库还需要 存储 CID、 LAC (位置区域码) 与具体的基站位置间的对应, 通过 CID、 LAC在数据库中查找相应的基站位置; 其二, 移动终端向网络侧上报测量 信息, 将测量到的相邻小区、 驻留的小区及相应信号强度上报给网络侧, 网络侧根据上报的测量信息计算移动终端与基站的距离, 并根据基站的地 理信息, 确定移动终端的位置, 同时将运算结果反馈给移动终端, 移动终 端将结果显示在屏幕上。 The principle of the base station-based positioning technology is: Since each base station has a unique cell identifier (CID ID), the CID and signal strength of the base station can be moved each time the mobile terminal registers the network. The protocol stack of the terminal is parsed. The base station is used to locate the mobile terminal, and the following operation modes are as follows: First, local operation, obtaining a CID parameter in the mobile terminal protocol stack by a specific program, and correspondingly determining the CID and the area where the base station is located, but finally achieving the positioning, but The area information of the base station needs to be stored on the mobile terminal, and the database also needs to store the correspondence between the CID, the LAC (Location Area Code) and the specific base station location, and find the corresponding base station location in the database through the CID and the LAC; The mobile terminal reports the measurement information to the network side, and reports the measured neighboring cell, the camped cell, and the corresponding signal strength to the network side. The network side calculates the distance between the mobile terminal and the base station according to the reported measurement information, and determines the location of the mobile terminal according to the geographic information of the base station, and feeds back the operation result to the mobile terminal, and the mobile terminal displays the result on the screen.
但采用上述方式, 网络侧或终端侧的程序, 都要利用到 CID、 LAC、 CH、 TA、 RxL以及 TxPwr。 首先, 需要确定基站及基站的位置信息; 其次, 需要按照一定的模型计算出移动终端与基站之间的距离。 计算出移动终端 和基站间的距离有两种方法, 一是使用信号衰减公式进行计算, 如: 距离 L=TA*500+RxL*A+TxPwr*B , 其中, A为射频信号衰减系数; B为发射功 率衰减系数; TA参数, 基站可以获知 TA值, 在移动台处于空闲模式时, 建立一个特别呼叫, 可获得 TA值; RxL为信号接收强度; TxPwr为发送功 率, 或者使用其他公式获得移动终端和基站间的距离; 二是对基站建立信 号强度与距离的对应关系数据库, 根据移动终端上报的信号强度查询数据 库得到距离, 当然也可以根据几次上报的信号强度的求得的距离, 进行平 均值。  However, in the above manner, the network side or terminal side programs must use CID, LAC, CH, TA, RxL, and TxPwr. First, the location information of the base station and the base station needs to be determined. Secondly, the distance between the mobile terminal and the base station needs to be calculated according to a certain model. There are two ways to calculate the distance between the mobile terminal and the base station. One is to use the signal attenuation formula to calculate, such as: distance L=TA*500+RxL*A+TxPwr*B, where A is the attenuation coefficient of the RF signal; B For the transmit power attenuation coefficient; TA parameter, the base station can know the TA value, establish a special call when the mobile station is in idle mode, and obtain the TA value; RxL is the signal receiving strength; TxPwr is the transmit power, or use other formula to obtain the mobile The distance between the terminal and the base station; the second is to establish a database of the correspondence between the signal strength and the distance of the base station, and obtain the distance according to the signal strength reported by the mobile terminal, and of course, according to the distance obtained from the signal strength reported several times. average value.
但采用上述方法获得基站和移动终端的距离的方法, 利用公式法, 过 于理论化, 对信号漂移、 干扰带来的误差无法避免, 利用数据库模型查找 距离, 在数据库中无法建立某个距离上的多个信号强度, 必须用平均法或 者其他的策略保留一条记录, 使得定位时基站与移动终端间的距离不准确。 发明内容  However, the method of obtaining the distance between the base station and the mobile terminal by using the above method is too theoretical, and the error caused by signal drift and interference cannot be avoided. The database model is used to find the distance, and a certain distance cannot be established in the database. For multiple signal strengths, a record must be kept by the averaging method or other strategies, so that the distance between the base station and the mobile terminal during positioning is not accurate. Summary of the invention
本发明提供一种移动终端的定位方法及装置, 能够提高移动终端和基 站间距离的准确性, 提高移动终端定位的精度。  The invention provides a positioning method and device for a mobile terminal, which can improve the accuracy of the distance between the mobile terminal and the base station, and improve the positioning accuracy of the mobile terminal.
一种移动终端的定位方法, 所述方法包括:  A method for locating a mobile terminal, the method comprising:
确定移动终端的驻留基站;  Determining a resident base station of the mobile terminal;
将所述驻留基站的小区标识以及当前的信号强度, 同训练模型的前向 推导矩阵相乘, 获得移动终端和驻留基站之间的距离。 一种移动终端的定位装置, 包括: Multiplying the cell identity of the camping base station and the current signal strength by the forward derivation matrix of the training model to obtain the distance between the mobile terminal and the camping base station. A positioning device for a mobile terminal, comprising:
基站确定模块, 用于确定移动终端的驻留基站;  a base station determining module, configured to determine a camping base station of the mobile terminal;
距离确定模块, 用于将所述驻留基站的小区标识以及当前的信号强度, 同训练模型的前向推导矩阵相乘, 获得移动终端和驻留基站之间的距离。  The distance determining module is configured to multiply the cell identifier of the camping base station and the current signal strength by a forward derivation matrix of the training model to obtain a distance between the mobile terminal and the camping base station.
本发明实施例提供的移动终端的定位方法, 采用神经网络模型, 通过 训练获得基站的小区标识以及信号强度和距离间的对应关系矩阵(即前向 推导矩阵), 训练完成后, 使用该训练模型的前向推导矩阵, 即可根据移动 终端的驻留基站的小区标识以及信号强度, 获得移动终端和基站间的距离。 采用这种方法, 由于训练模型的前向推导矩阵是根据各个基站的采样数据 进行训练获得, 因此, 对于信号漂移、 干扰造成的误差能够进行弱化, 从 而提高移动终端和基站间距离的精确, 提升利用基站的信号强度定位移动 终端的定位精度。 附图说明  The positioning method of the mobile terminal provided by the embodiment of the present invention uses a neural network model to obtain a cell identifier of the base station and a correspondence matrix between the signal strength and the distance (ie, a forward derivation matrix). After the training is completed, the training model is used. The forward derivation matrix can obtain the distance between the mobile terminal and the base station according to the cell identity of the mobile station and the signal strength of the mobile station. In this method, since the forward derivation matrix of the training model is obtained by training according to the sampling data of each base station, the error caused by signal drift and interference can be weakened, thereby improving the accuracy of the distance between the mobile terminal and the base station, and improving The signal strength of the base station is used to locate the positioning accuracy of the mobile terminal. DRAWINGS
图 1为本发明一种移动终端的定位方法流程示意图;  1 is a schematic flow chart of a positioning method of a mobile terminal according to the present invention;
图 2为本发明实施例提供的采样数据样本的流程图;  2 is a flowchart of sampling data samples according to an embodiment of the present invention;
图 3 为本发明实施例提供的对各基站进行统一的模型训练确定前向推 导矩阵的流程图;  FIG. 3 is a flowchart of determining a forward derivation matrix by performing unified model training on each base station according to an embodiment of the present invention;
图 4为本发明实施例提供的移动终端的定位方法流程图;  FIG. 4 is a flowchart of a method for locating a mobile terminal according to an embodiment of the present invention;
图 5为本发明实施例提供的移动终端的定位装置的结构图。 具体实施方式  FIG. 5 is a structural diagram of a positioning apparatus of a mobile terminal according to an embodiment of the present invention. detailed description
本发明实施例提供一种移动终端的定位方法, 采用人工神经网络模型, 对各个基站训练确定统一的训练模型, 通过采集各基站的小区标识、 各个 采样点的信号强度, 采样距离, 对训练模型进行训练, 获得表征小区标识、 信号强度和采样距离间的映射关系的训练模型。 在后续对移动终端定位时, 只需将小区标识以及信号强度作为输入, 和训练模型的前向推导矩阵相乘, 即可获得移动终端和基站间的距离。 通过这种神经网络的训练方法, 获得 的训练模型的前向推导矩阵, 能够反映小区标识、 信号强度和距离的映射 关系, 能够对基站的信号场进行模型化, 对于信号漂移、 干扰造成的误差 能够进行弱化, 从而提升利用基站的信号强度定位移动终端的定位精度。 Embodiments of the present invention provide a positioning method for a mobile terminal, which uses an artificial neural network model to determine a unified training model for each base station training, and collects a cell identifier of each base station, a signal strength of each sampling point, a sampling distance, and a training model. Training is performed to obtain a training model that characterizes the mapping relationship between cell identity, signal strength, and sampling distance. In the subsequent positioning of the mobile terminal, Simply input the cell identity and signal strength as inputs and multiply the forward derivation matrix of the training model to obtain the distance between the mobile terminal and the base station. Through the training method of the neural network, the forward derivation matrix of the training model can reflect the mapping relationship between cell identity, signal strength and distance, and can model the signal field of the base station, and the error caused by signal drift and interference. The weakening can be performed to improve the positioning accuracy of the mobile terminal by using the signal strength of the base station.
图 1为本发明一种移动终端的定位方法流程示意图, 如图 1所示, 所 述方法包括:  1 is a schematic flowchart of a positioning method of a mobile terminal according to the present invention. As shown in FIG. 1, the method includes:
步驟 001 , 确定移动终端的驻留基站;  Step 001, determining a camping base station of the mobile terminal;
步驟 002,将所述驻留基站的小区标识以及当前的信号强度, 同训练模 型的前向推导矩阵相乘, 获得移动终端和所述驻留基站之间的距离。  Step 002: Multiply the cell identifier of the camping base station and the current signal strength by the forward derivation matrix of the training model to obtain a distance between the mobile terminal and the camping base station.
具体的, 所述将移动终端驻留基站的小区标识以及当前的信号强度作 为输入之前, 所述方法还包括: 确定所述驻留基站是否经过所述训练模型 的训练, 如果是, 则将移动终端驻留基站的小区标识以及当前的信号强度 作为输入, 否则对所述驻留基站进行模型训练。 根据移动终端和所述驻留 基站之间的距离以及所述驻留基站的位置信息, 定位移动终端。  Specifically, before the mobile station residing the cell identifier of the base station and the current signal strength as an input, the method further includes: determining whether the resident base station passes the training of the training model, and if yes, moving The cell identity of the base station and the current signal strength are used as inputs, otherwise the model training is performed on the resident base station. The mobile terminal is located according to the distance between the mobile terminal and the camping base station and the location information of the camping base station.
进一步的, 所述确定移动终端的驻留基站之前, 本方法还包括: 预先 对各个基站进行统一的模型训练, 确定出训练模型的前向推导矩阵。  Further, before determining the camping base station of the mobile terminal, the method further includes: performing unified model training on each base station in advance, and determining a forward derivation matrix of the training model.
具体的, 所述对各个基站进行统一的模型训练确定出训练模型的前向 推导矩阵, 具体为: 采用各个基站的数据样本进行统一的模型训练, 确定 出训练模型的前向推导矩阵, 所述数据样本包括: 小区标识、 采样信号强 度以及采样信号对应的采样距离。  Specifically, performing unified model training on each base station to determine a forward derivation matrix of the training model, specifically: performing unified model training by using data samples of each base station, and determining a forward derivation matrix of the training model, The data samples include: a cell identifier, a sampled signal strength, and a sampling distance corresponding to the sampled signal.
本发明实施例提供的移动终端的上述定位方法, 总体需要包括以下三 部分: 1 )采样数据样本; 2 )对各基站进行统一的模型训练, 确定前向推 导矩阵; 3 )确定移动终端与基站的距离。  The foregoing positioning method of the mobile terminal provided by the embodiment of the present invention generally needs to include the following three parts: 1) sampling data samples; 2) performing unified model training on each base station, determining a forward derivation matrix; 3) determining a mobile terminal and a base station the distance.
图 2为本发明实施例提供的采样数据样本的流程图, 如图 2所示, 为 采样数据样本的流程图, 包括: FIG. 2 is a flowchart of sampling data samples according to an embodiment of the present invention, as shown in FIG. A flow chart of sampled data samples, including:
5101、 确定采样基站, 并获得采样基站的小区标识;  5101. Determine a sampling base station, and obtain a cell identifier of the sampling base station.
具体的, 采样基站的小区标识可由移动终端从移动终端协议栈中读取。 Specifically, the cell identifier of the sampling base station can be read by the mobile terminal from the mobile terminal protocol stack.
5102、 确定采样距离; 5102. Determine a sampling distance.
具体的, 采样距离, 即采样点距离基站的距离。  Specifically, the sampling distance, that is, the distance of the sampling point from the base station.
5103、 在每个采样距离上采集至少一个采样信号强度;  5103. Collect at least one sampled signal strength at each sampling distance;
具体的, 在每个采样点, 即采样距离上采集移动终端接收到的信号强 度, 在每个采样点上采集的信号强度至少一个, 采集的采样信号强度可由 移动终端从移动终端的协议栈中读取, 采集的信号强度以能够反应该点的 信号变化规律作为结束。  Specifically, the signal strength received by the mobile terminal is collected at each sampling point, that is, the sampling distance, and the signal strength collected at each sampling point is at least one, and the collected sampling signal strength may be obtained by the mobile terminal from the protocol stack of the mobile terminal. Reading, the acquired signal strength ends with a signal change law that can reflect the point.
对所有需要训练的基站都通过上述步驟进行采样, 获得 "小区标识一 采样距离一信号强度" 的二维表, 如果需要训练的基站已经建立了信号强 度与距离的对应关系数据库, 则可不必进行采样。  All the base stations that need to be trained are sampled by the above steps to obtain a two-dimensional table of "cell identification-sampling distance-signal strength". If the base station to be trained has established a database of correspondence between signal strength and distance, then it is not necessary to perform sampling.
将采集的数据样本, 即小区标识、 采样信号强度以及采样信号对应的 采样距离, 保存到数据库中, 采样的过程, 可由移动终端侧执行, 并保存, 或者由服务器侧记录采样距离, 由移动终端侧读取信号采样基站的小区标 识以及采样信号强度, 并上报服务器, 服务器保存小区标识、 采样信号强 度以及采样信号对应的采样距离。  The collected data samples, that is, the cell identifier, the sampling signal strength, and the sampling distance corresponding to the sampling signal are saved in the database, and the sampling process may be performed by the mobile terminal side and saved, or the sampling distance is recorded by the server side, and the mobile terminal The side reads the cell identifier of the base station and the sampled signal strength, and reports the signal strength to the server. The server saves the cell identifier, the sampled signal strength, and the sampling distance corresponding to the sampled signal.
通过上述步驟, 完成了数据样本的采集过程, 并可以将采集的数据样 本保存到训练模型的数据库中。 接下来进行模型训练过程。 为了实现能够 根据小区标识以及采样信号强度自动获得移动终端和基站的距离, 需要训 练确定小区标识、 采样信号强度和采样距离的对应关系。 本发明实施例中 采用的训练模型为神经网络模型, 通过训练模型建立输入为小区标识、 信 号强度, 以及输出为距离的对应关系。  Through the above steps, the data sample collection process is completed, and the collected data samples can be saved in the database of the training model. Next, the model training process is carried out. In order to realize the distance between the mobile terminal and the base station automatically according to the cell identifier and the sampled signal strength, it is necessary to train to determine the correspondence between the cell identifier, the sampled signal strength, and the sampling distance. The training model used in the embodiment of the present invention is a neural network model, and the correspondence between the input is the cell identifier, the signal strength, and the output is the distance through the training model.
图 3 为本发明实施例提供的对各基站进行统一的模型训练确定前向推 导矩阵的流程图, 如图 3 所示, 为对各基站进行统一的模型训练确定前向 推导矩阵的流程图, 包括: FIG. 3 is a schematic diagram of performing unified model training on each base station according to an embodiment of the present invention. The flow chart of the guide matrix, as shown in FIG. 3, is a flow chart for determining a forward derivation matrix for unified model training for each base station, including:
S201、 确定训练模型的输入参数个数以及输出值个数;  S201. Determine a number of input parameters of the training model and a number of output values;
其中, 本发明实施例中输入参数确定为两个(小区标识、 采样信号强 度), 输出值个数为一个, 即采样距离;  In the embodiment of the present invention, the input parameters are determined to be two (cell identifier, sampling signal strength), and the number of output values is one, that is, the sampling distance;
5202、 确定前向推导矩阵的个数和维数;  5202. Determine a number and a dimension of the forward derivation matrix.
具体的, 前向推导矩阵可以是只由一个矩阵组成, 或者由几个矩阵相 乘获得。 所述前向推导矩阵的维数, 是指矩阵的行数及列数; 其中, 前向 推导矩阵至少由一个矩阵组成; 并且, 前向推导矩阵的个数和维数可以根 据训练模型的数据库的规模和矩阵的实际训练结果进行调整, 例如: 可以 定为 [ 2, M ]、 [ M, N ]、 [ N, 1 ],其中, [ 2, M ]为 2行 M列的矩阵, [ M, N ] 为 M行 N列矩阵; 矩阵的数值, 也就是矩阵中的各个数值(即权值), 可以初始化为 [ 一 1 , 1 ]之间的随机数;  Specifically, the forward derivation matrix may be composed of only one matrix or multiplied by several matrices. The dimension of the forward derivation matrix refers to the number of rows and the number of columns of the matrix; wherein, the forward derivation matrix is composed of at least one matrix; and, the number and dimension of the forward derivation matrix can be based on a database of the training model The scale and the actual training results of the matrix are adjusted, for example: Can be set to [ 2, M ], [ M, N ], [ N, 1 ], where [ 2, M ] is a matrix of 2 rows and M columns, [ M, N ] is a matrix of M rows and N columns; the values of the matrix, that is, the respective values (ie, weights) in the matrix, can be initialized to a random number between [1, 1];
5203、 从数据库中读取小区标识、 以及采样信号强度作为输入, 和前 向推导矩阵相乘, 运算得到测试距离;  5203. The cell identifier is read from the database, and the sampled signal strength is input as an input, and multiplied by the forward derivation matrix to obtain a test distance.
具体的, 从数据库中读取小区标识、 采样信号强度作为输入, 计算获 得测试距离。  Specifically, the cell identifier and the sampled signal strength are read from the database as input, and the test distance is obtained.
5204、 根据得到的测试距离, 和记录的采样距离比较, 获得距离误差; 具体的, 根据计算获得的测试距离, 和数据库中该组数据对应的采样 距离相比, 获得距离误差。 将数据库中的所有小区标识、 信号强度均进行 上述计算, 获得测试距离以及距离误差。  5204. Obtain a distance error according to the obtained test distance and the recorded sampling distance. Specifically, the distance calculated according to the calculated test distance is compared with the sampling distance corresponding to the set of data in the database. All the cell identifiers and signal strengths in the database are calculated as above to obtain the test distance and the distance error.
5205、 确定各个测试距离误差的平均距离误差;  5205. Determine an average distance error of each test distance error;
5206、 判断平均距离误差是否满足设定的精度条件, 如果是, 执行步 驟 S207, 如果否, 则执行步驟 S208;  5206, determining whether the average distance error meets the set accuracy condition, and if so, executing step S207, if no, executing step S208;
S207、 将当前的前向推导矩阵确定为训练后的训练模型的前向推导矩 阵; S207. Determine a current forward derivation matrix as a forward derivation moment of the trained training model. Array
S208、 反向调整前向推导矩阵中的数值, 直到平均距离误差满足设定 的精度条件, 则将调整后的前向推导矩阵确定为训练后的训练模型的前向 推导矩阵;  S208. Reversely adjust values in the forward derivation matrix until the average distance error satisfies the set precision condition, and determine the adjusted forward derivation matrix as the forward derivation matrix of the trained training model;
S209、 如果经过反向调整后, 平均距离误差仍然不能满足设定的精度 条件, 则返回步驟 S202, 重新确定前向推导矩阵的个数及维数, 重新训练, 直到平均距离误差满足设定的精度条件。  S209. If the average distance error still fails to meet the set precision condition after the reverse adjustment, return to step S202, re-determine the number and dimension of the forward derivation matrix, and retrain until the average distance error satisfies the set Accuracy conditions.
其中, 设定的精度条件可根据需要设定, 例如可设定平均误差小于某 个固定值, 在本发明实施例中并不限定精度条件的设定。  The set precision condition can be set as needed. For example, the average error can be set to be smaller than a certain fixed value. In the embodiment of the present invention, the setting of the precision condition is not limited.
通过上述步驟 S201~S209, 对各基站进行统一的模型训练确定前向推 导矩阵, 在后续定位移动终端时, 只需要确定小区标识以及信号强度, 作 为输入, 同训练模型的前向推导矩阵相乘, 即可获得移动终端和基站间的 距离。  Through the above steps S201~S209, the unified model training is performed on each base station to determine the forward derivation matrix. When the mobile terminal is subsequently located, only the cell identifier and the signal strength need to be determined as input, and multiplied by the forward derivation matrix of the training model. , the distance between the mobile terminal and the base station can be obtained.
确定前向推导的过程, 可以由移动终端完成并发给定位服务器, 也可 以由网络侧的定位服务器完成并发给移动终端, 确定的训练模型的前向推 导矩阵可以保存在移动终端, 以便移动终端能够根据接收的信号强度以及 所处驻留基站的小区标识进行定位, 也可以保存在定位服务器, 以便定位 服务器能够根据移动终端接收的信号强度以及移动终端所处的驻留基站对 移动终端进行定位, 并发送给移动终端。  The process of determining the forward derivation may be completed by the mobile terminal and sent to the positioning server, or may be completed by the positioning server on the network side and sent to the mobile terminal, and the forward derivation matrix of the determined training model may be saved in the mobile terminal, so that the mobile terminal can Locating according to the received signal strength and the cell identity of the camping base station, may also be stored in the positioning server, so that the positioning server can locate the mobile terminal according to the signal strength received by the mobile terminal and the resident base station where the mobile terminal is located. And sent to the mobile terminal.
当训练模型的前向推导矩阵保存在移动终端时, 前向推导矩阵被记录 在配置文件中, 以防止移动终端掉电的时候丟失这些参数。  When the forward derivation matrix of the training model is stored in the mobile terminal, the forward derivation matrix is recorded in the configuration file to prevent the mobile terminal from losing these parameters when the power is lost.
图 4为本发明实施例提供的移动终端的定位方法流程图, 如图 4所示, 为本发明实施例提供的移动终端的定位方法流程图, 包括:  4 is a flowchart of a method for locating a mobile terminal according to an embodiment of the present invention. As shown in FIG. 4, a flowchart of a method for locating a mobile terminal according to an embodiment of the present invention includes:
S301、 确定移动终端当前的驻留基站;  S301. Determine a current camping base station of the mobile terminal.
S302、 判断移动终端当前的驻留基站是否经过训练模型的训练, 如果 是, 执行步驟 S303 , 如果否, 执行步驟 S304; S302. Determine whether the current camping base station of the mobile terminal passes the training of the training model, if If yes, go to step S303, if no, go to step S304;
具体的, 基站经过训练模型的训练, 是指在对各基站进行统一的训练 确定前向推导矩阵的过程中, 训练模型的数据库中的数据样本(即数据库 中的小区标识、 采样信号强度以及采样信号对应的采样距离) 中包含对该 基站的采集的数据。  Specifically, the training of the base station through the training model refers to data samples in the database of the training model in the process of performing unified training on each base station to determine the forward derivation matrix (ie, cell identification, sampling signal strength, and sampling in the database) The data collected by the base station is included in the sampling distance corresponding to the signal.
S303、 将当前的驻留基站的小区标识以及当前移动终端接收到的信号 强度作为输入, 同训练模型的前向推导矩阵相乘, 获得移动终端和驻留基 站之间的距离, 执行步驟 S304;  S303, taking the current cell identity of the camping base station and the signal strength received by the current mobile terminal as an input, multiplying the forward derivation matrix of the training model to obtain the distance between the mobile terminal and the camping base station, and executing step S304;
5304、 使用公式法或者数据库法获得移动终端和基站的距离, 执行步 驟 S305;  5304, using a formula method or a database method to obtain the distance between the mobile terminal and the base station, and executing step S305;
具体的, 公式法或者数据库法, 为背景技术中提到的定位移动终端和 基站间距离的方法, 这里不再详细描述。  Specifically, the formula method or the database method is a method for locating the distance between the mobile terminal and the base station mentioned in the background art, and will not be described in detail herein.
5305、 根据移动终端和驻留基站的距离以及驻留基站的位置信息, 定 位移动终端。  S305. The mobile terminal is located according to the distance between the mobile terminal and the camping base station and the location information of the camping base station.
具体的, 根据获得的移动终端和驻留基站之间的距离以及驻留基站的 位置信息, 定位移动终端, 并显示;  Specifically, the mobile terminal is located according to the obtained distance between the mobile terminal and the resident base station and the location information of the resident base station, and displayed;
或者进一步获得移动终端和邻区基站之间的距离, 以及邻区基站的位 置信息, 根据三角定位法, 确定移动终端的位置。 确定移动终端和邻区基 站的距离的方法, 可以采用 CDMA网络中的码片时延的方法, 或者其他的 方法, 这里不再 赘述。  Or further obtaining the distance between the mobile terminal and the neighboring base station, and the location information of the neighboring base station, and determining the location of the mobile terminal according to the triangulation method. The method for determining the distance between the mobile terminal and the neighboring base station may adopt a chip delay method in the CDMA network, or other methods, and will not be described herein.
上述定位的过程同样可以由移动终端或者网络侧的定位服务器完成。 上述实施例中是以采集小区标识、 信号强度与采样距离训练确定前向 推导矩阵, 在本发明实施例中还可以以小区标识、 信号强度与采样坐标作 为采样数据, 训练确定前向推导矩阵, 方法与上述方法相似。  The above positioning process can also be completed by the mobile terminal or the positioning server on the network side. In the foregoing embodiment, the forward derivation matrix is determined by collecting the cell identifier, the signal strength, and the sampling distance. In the embodiment of the present invention, the cell identifier, the signal strength, and the sampling coordinates are used as sampling data, and the forward derivation matrix is determined by training. The method is similar to the above method.
其中, 在步驟 S102、 S103中需要确定采样坐标, 并在每一个采样坐标 上采集至少一个采样信号强度, 在训练模型的数据库中保存小区标识、 采 样坐标以及信号强度的二维表。 Wherein, in step S102, S103, it is necessary to determine sampling coordinates, and in each sampling coordinate At least one sampled signal strength is acquired, and a two-dimensional table of cell identification, sampling coordinates, and signal strength is stored in a database of the training model.
在步驟 S201~S209中, 输入参数仍然是小区标识以及采样信号强度, 输出参数为计算的测试坐标, 并根据各个测试坐标与记录的采样坐标(即 期望值) 的误差, 确定平均坐标误差, 根据平均坐标误差反向调整前向推 导矩阵, 直到误差满足坐标误差精度。  In steps S201~S209, the input parameter is still the cell identifier and the sampled signal strength, the output parameter is the calculated test coordinate, and the average coordinate error is determined according to the error of each test coordinate and the recorded sampling coordinate (ie, the expected value), according to the average The coordinate error inversely adjusts the forward derivation matrix until the error satisfies the coordinate error accuracy.
在步驟 S301~S305 中, 可根据当前的驻留基站的小区标识以及当前移 动终端接收到的信号强度作为输入, 同训练模型的前向推导矩阵相乘, 获 得移动终端的坐标, 定位移动终端。  In steps S301-S305, the cell identifier of the current camping base station and the signal strength received by the current mobile terminal are used as inputs, multiplied by the forward derivation matrix of the training model, and the coordinates of the mobile terminal are obtained, and the mobile terminal is located.
本发明实施例的上述方法, 可以在移动终端侧, 由移动终端完成, 或 者网络侧的定位服务器完成。  The above method of the embodiment of the present invention may be completed by the mobile terminal on the mobile terminal side or by the positioning server on the network side.
图 5为本发明实施例提供的移动终端的定位装置的结构图, 如图 5所 示, 所述装置包括: 基站确定模块 41和距离确定模块 42; 其中,  FIG. 5 is a structural diagram of a positioning apparatus of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes: a base station determining module 41 and a distance determining module 42;
基站确定模块 41 , 用于确定移动终端的驻留基站;  a base station determining module 41, configured to determine a camping base station of the mobile terminal;
距离确定模块 42, 用于将所述移动终端驻留基站的小区标识以及当前 的信号强度, 同训练模型的前向推导矩阵相乘, 获得移动终端和驻留基站 之间的距离。  The distance determining module 42 is configured to multiply the cell identifier of the mobile station resident base station and the current signal strength by a forward derivation matrix of the training model to obtain a distance between the mobile terminal and the camping base station.
该训练模型为神经网络模型, 当以小区标识、 采样信号强度为输入参 数, 和前向推导矩阵相乘后, 输出值即为采样距离。  The training model is a neural network model. When the cell identifier and the sampled signal strength are input parameters and multiplied by the forward derivation matrix, the output value is the sampling distance.
较佳地, 上述装置还包括:  Preferably, the above apparatus further includes:
训练模块 43 , 用于预先对各个基站进行统一的模型训练, 确定出训练 模型的前向推导矩阵。  The training module 43 is configured to perform unified model training on each base station in advance, and determine a forward derivation matrix of the training model.
其中, 训练模块 43预先对各个基站进行统一的模型训练, 确定出训练 模型的前向推导矩阵, 包括: 对每个基站分别执行: 确定该基站的小区标 识以及采样距离, 在每个采样距离上, 采集至少一个采样信号强度, 将采 集的小区标识、 采集的采样信号强度, 以及对应的采样距离保存; 设置前 向推导矩阵的个数和维数, 将采集的每一个小区标识、 采样信号强度作为 输入, 和前向推导矩阵进行矩阵乘法运算, 获得测试距离; 根据各个测试 距离与采样距离的误差, 确定平均距离误差; 判断平均距离误差是否满足 设定的精度条件, 如果是, 则直接将前向推导矩阵确定为训练后的训练模 型的前向推导矩阵, 如果否, 反向调整前向推导矩阵中的数值, 直到平均 距离误差满足设定的精度条件, 则将调整后的前向推导矩阵确定为训练后 的训练模型的前向推导矩阵。 The training module 43 performs unified model training on each base station in advance, and determines a forward derivation matrix of the training model, including: performing, for each base station, respectively: determining a cell identifier and a sampling distance of the base station, at each sampling distance. , collecting at least one sampled signal strength, will Set the cell identifier, the collected sampled signal strength, and the corresponding sampling distance to save; set the number and dimension of the forward derivation matrix, take each acquired cell identifier, sampled signal strength as input, and forward derivation matrix Matrix multiplication operation, obtaining test distance; determining average distance error according to error of each test distance and sampling distance; determining whether the average distance error satisfies the set precision condition, and if so, directly determining the forward derivation matrix as training Training the forward derivation matrix of the model, if not, inversely adjusting the values in the forward derivation matrix until the average distance error satisfies the set precision condition, then determining the adjusted forward derivation matrix as the trained training model Forward derivation matrix.
本发明实施例提供的移动终端的定位方法, 采用人工神经网络模型, 对各个基站训练确定统一的训练模型, 通过采集各基站的小区标识、 各个 采样点的信号强度, 采样距离, 对训练模型进行训练, 获得表征小区标识、 信号强度和采样距离间的映射关系的训练模型。 在后续对移动终端定位时, 只需将小区标识以及信号强度作为输入, 和训练模型的前向推导矩阵相乘, 即可获得移动终端和基站间的距离。 通过这种神经网络的训练方法, 获得 的训练模型的前向推导矩阵, 能够反映小区标识、 信号强度和距离的映射 关系, 能够对基站的信号场进行模型化, 对于信号漂移、 干扰造成的误差 能够进行弱化, 从而提升利用基站的信号强度定位移动终端的定位精度。  The positioning method of the mobile terminal provided by the embodiment of the present invention uses an artificial neural network model to determine a unified training model for each base station training, and collects the cell identifier of each base station, the signal strength of each sampling point, and the sampling distance, and performs the training model on the training model. Training, obtaining a training model that characterizes the mapping relationship between cell identity, signal strength, and sampling distance. In the subsequent positioning of the mobile terminal, the cell identifier and the signal strength are simply input, and multiplied by the forward derivation matrix of the training model to obtain the distance between the mobile terminal and the base station. Through the training method of the neural network, the forward derivation matrix of the training model can reflect the mapping relationship between cell identity, signal strength and distance, and can model the signal field of the base station, and the error caused by signal drift and interference. The weakening can be performed to improve the positioning accuracy of the mobile terminal by using the signal strength of the base station.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。  The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included. Within the scope of protection of the present invention.

Claims

权利要求书 Claim
1、 一种移动终端的定位方法, 其特征在于, 所述方法包括:  A method for locating a mobile terminal, the method comprising:
确定移动终端的驻留基站;  Determining a resident base station of the mobile terminal;
将所述驻留基站的小区标识以及当前的信号强度, 同训练模型的前向 推导矩阵相乘, 获得移动终端和所述驻留基站之间的距离。  Multiplying the cell identity of the camping base station and the current signal strength by the forward derivation matrix of the training model to obtain the distance between the mobile terminal and the camping base station.
2、 根据权利要求 1所述的方法, 其特征在于, 所述确定移动终端的驻 留基站之前, 所述方法还包括: 预先对各个基站进行统一的模型训练, 确 定出训练模型的前向推导矩阵。  The method according to claim 1, wherein before the determining the camping base station of the mobile terminal, the method further comprises: performing unified model training on each base station in advance, and determining a forward derivation of the training model. matrix.
3、 根据权利要求 2所述的方法, 其特征在于, 所述对各个基站进行统 一的模型训练确定出训练模型的前向推导矩阵, 为:  The method according to claim 2, wherein the performing unified model training on each base station determines a forward derivation matrix of the training model, which is:
采用各个基站的数据样本进行统一的模型训练, 确定出训练模型的前 向推导矩阵, 所述数据样本包括: 小区标识、 采样信号强度以及采样信号 对应的采样距离。  The data samples of each base station are used for unified model training to determine a forward derivation matrix of the training model. The data samples include: a cell identifier, a sampled signal strength, and a sampling distance corresponding to the sampled signal.
4、 根据权利要求 3所述的方法, 其特征在于, 所述采用各个基站的数 据样本进行统一的模型训练, 确定出训练模型的前向推导矩阵, 包括: 对每个基站分别执行: 确定所述基站的小区标识以及需要的采样距离, 在每个采样距离上, 采集至少一个采样信号强度, 将采集的小区标识、 采 集的采样信号强度, 以及采样信号对应的采样距离保存;  The method according to claim 3, wherein the performing the unified model training by using the data samples of the respective base stations to determine the forward derivation matrix of the training model comprises: performing respectively for each base station: Decoding the cell identifier of the base station and the required sampling distance, collecting at least one sampling signal strength at each sampling distance, and storing the collected cell identifier, the collected sampling signal strength, and the sampling distance corresponding to the sampling signal;
设置前向推导矩阵的个数和维数, 将采集的每一个小区标识、 采样信 号强度作为输入, 和前向推导矩阵进行矩阵乘法运算, 获得测试距离; 根据各个测试距离与采样距离的误差, 确定平均距离误差;  Set the number and dimension of the forward derivation matrix, take each cell identifier and sampled signal strength as input, and perform matrix multiplication on the forward derivation matrix to obtain the test distance; according to the error of each test distance and sampling distance, Determine the average distance error;
判断平均距离误差是否满足设定的精度条件, 如果是, 则直接将前向 推导矩阵确定为训练模型的前向推导矩阵, 如果否, 反向调整前向推导矩 阵中的数值, 直到平均距离误差满足设定的精度条件, 则将调整后的前向 推导矩阵确定为训练模型的前向推导矩阵。 Determine whether the average distance error satisfies the set precision condition, and if so, directly determine the forward derivation matrix as the forward derivation matrix of the training model, and if not, inversely adjust the value in the forward derivation matrix until the average distance error When the set precision condition is satisfied, the adjusted forward derivation matrix is determined as the forward derivation matrix of the training model.
5、根据权利要求 4所述的方法,其特征在于, 所述当进行反向调整后, 所述方法还包括: The method according to claim 4, wherein, after performing the reverse adjustment, the method further includes:
当平均距离误差仍然不能满足设定的精度条件时, 则返回重新设置前 向推导矩阵的个数及维数。  When the average distance error still fails to meet the set accuracy condition, it returns to reset the number and dimension of the forward derivation matrix.
6、 根据权利要求 1至 3任一项权利要求所述的方法, 其特征在于, 所 述将移动终端驻留基站的小区标识以及当前的信号强度作为输入之前, 所 述方法还包括:  The method according to any one of claims 1 to 3, wherein, before the mobile station residing the cell identifier of the base station and the current signal strength as an input, the method further includes:
确定所述驻留基站是否经过所述训练模型的训练, 如果是, 则将移动 终端驻留基站的小区标识以及当前的信号强度作为输入, 否则对所述驻留 基站进行模型训练。  Determining whether the camping base station is trained by the training model, and if so, taking the cell identity of the mobile station camped on the base station and the current signal strength as input, otherwise performing model training on the camping base station.
7、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 根据移动终端和所述驻留基站之间的距离以及所述驻留基站的位置信 息, 定位移动终端。  The method according to claim 1, wherein the method further comprises: locating the mobile terminal according to a distance between the mobile terminal and the resident base station and location information of the resident base station.
8、 一种移动终端的定位装置, 其特征在于, 所述装置包括: 基站确定 模块和距离确定模块; 其中,  A positioning device for a mobile terminal, the device comprising: a base station determining module and a distance determining module; wherein
基站确定模块, 用于确定移动终端的驻留基站;  a base station determining module, configured to determine a camping base station of the mobile terminal;
距离确定模块, 用于将所述驻留基站的小区标识以及当前的信号强度, 同训练模型的前向推导矩阵相乘, 获得移动终端和所述驻留基站之间的距 离。  The distance determining module is configured to multiply the cell identifier of the camping base station and the current signal strength by a forward derivation matrix of the training model to obtain a distance between the mobile terminal and the camping base station.
9、 根据权利要求 8所述的装置, 其特征在于, 所述装置还包括: 训练模块, 用于预先对各个基站进行统一的模型训练, 确定出训练模 型的前向推导矩阵。  The device according to claim 8, wherein the device further comprises: a training module, configured to perform unified model training on each base station in advance, and determine a forward derivation matrix of the training model.
10、 根据权利要求 9所述的装置, 其特征在于, 所述训练模块预先对 各个基站进行统一的模型训练, 确定出训练模型的前向推导矩阵, 包括: 对每个基站分别执行: 确定所述基站的小区标识以及需要的采样距离, 在每个采样距离上, 采集至少一个采样信号强度, 将采集的小区标识、 采 集的采样信号强度, 以及对应的采样距离保存; 设置前向推导矩阵的个数 和维数, 将采集的每一个小区标识、 采样信号强度作为输入, 和前向推导 矩阵进行矩阵乘法运算, 获得测试距离; 根据各个测试距离与采样距离的 误差, 确定平均距离误差; 判断平均距离误差是否满足设定的精度条件, 如果是, 则直接将前向推导矩阵确定为训练模型的前向推导矩阵, 如果否, 反向调整前向推导矩阵中的数值, 直到平均距离误差满足设定的精度条件, 则将调整后的前向推导矩阵确定为训练模型的前向推导矩阵。 The apparatus according to claim 9, wherein the training module performs unified model training on each base station in advance, and determines a forward derivation matrix of the training model, including: performing, for each base station separately: Describe the cell identity of the base station and the required sampling distance, At each sampling distance, at least one sampling signal strength is acquired, and the collected cell identifier, the collected sampling signal strength, and the corresponding sampling distance are saved; the number and dimension of the forward derivation matrix are set, and each of the collected The cell identifier and the sampled signal strength are used as inputs, and the matrix is multiplied by the forward derivation matrix to obtain the test distance; the average distance error is determined according to the error of each test distance and the sampling distance; and whether the average distance error satisfies the set precision condition is determined. If yes, the forward derivation matrix is directly determined as the forward derivation matrix of the training model. If not, the value in the forward derivation matrix is inversely adjusted until the average distance error satisfies the set precision condition, then the adjusted The forward derivation matrix is determined as the forward derivation matrix of the training model.
PCT/CN2011/078057 2010-11-05 2011-08-05 Positioning method and device for mobile terminals WO2012058960A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010533118.2 2010-11-05
CN201010533118.2A CN101986757B (en) 2010-11-05 2010-11-05 Positioning method and device for mobile terminal

Publications (1)

Publication Number Publication Date
WO2012058960A1 true WO2012058960A1 (en) 2012-05-10

Family

ID=43711053

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078057 WO2012058960A1 (en) 2010-11-05 2011-08-05 Positioning method and device for mobile terminals

Country Status (2)

Country Link
CN (1) CN101986757B (en)
WO (1) WO2012058960A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104735620A (en) * 2015-03-19 2015-06-24 北京工业大学 Accurate positioning method based on multiple base stations

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986757B (en) * 2010-11-05 2014-10-29 中兴通讯股份有限公司 Positioning method and device for mobile terminal
EP2826319A1 (en) * 2012-03-15 2015-01-21 Nokia Corporation Monitoring a quality of a terrestrial radio based positioning system
CN105338623A (en) * 2015-10-19 2016-02-17 叶金凤 Passive type geological position information system and method based on telecommunication mobile base station
CN107333232B (en) 2016-04-29 2020-02-21 华为技术有限公司 Terminal positioning method and network equipment
CN106405493A (en) * 2016-09-06 2017-02-15 北京易游华成科技有限公司 People flow tracking method and apparatus
CN107529140B (en) * 2017-08-14 2020-12-04 北京小米移动软件有限公司 Positioning method and device
CN108696818B (en) * 2018-05-07 2020-12-01 南京宽塔信息技术有限公司 Distance measurement method and system for Wi-Fi fingerprint positioning
WO2020037658A1 (en) * 2018-08-24 2020-02-27 华为技术有限公司 Positioning model building method, wireless positioning method and related device
CN111107552B (en) * 2018-10-25 2023-05-09 中国移动通信有限公司研究院 Method and system for identifying pseudo base station
CN111225439B (en) * 2018-11-23 2022-11-22 中兴通讯股份有限公司 Method, device and storage medium for determining terminal position
CN109495846B (en) * 2018-12-24 2021-05-07 维沃移动通信有限公司 Positioning method and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5155490A (en) * 1990-10-15 1992-10-13 Gps Technology Corp. Geodetic surveying system using multiple GPS base stations
US5293645A (en) * 1991-10-04 1994-03-08 Sharp Microelectronics Technology, Inc. Apparatus and method for locating mobile and portable radio terminals in a radio network
CN1920593A (en) * 2005-08-25 2007-02-28 广州天润信息科技有限公司 Position fingerprint identification location method
CN101572857A (en) * 2009-06-18 2009-11-04 杭州华三通信技术有限公司 Locating method in wireless LAN and device thereof
CN101986757A (en) * 2010-11-05 2011-03-16 中兴通讯股份有限公司 Positioning method and device for mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373215A (en) * 2007-08-21 2009-02-25 英华达(南京)科技有限公司 Method for positioning portable communication device
US8644843B2 (en) * 2008-05-16 2014-02-04 Apple Inc. Location determination
CN101867970B (en) * 2009-04-15 2013-07-31 摩托罗拉移动公司 Method and apparatus for determining a mobility of a mobile station in a wireless communication system
CN101815308B (en) * 2009-11-20 2012-07-25 哈尔滨工业大学 WLAN indoor positioning method for neural network regional training

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5155490A (en) * 1990-10-15 1992-10-13 Gps Technology Corp. Geodetic surveying system using multiple GPS base stations
US5293645A (en) * 1991-10-04 1994-03-08 Sharp Microelectronics Technology, Inc. Apparatus and method for locating mobile and portable radio terminals in a radio network
CN1920593A (en) * 2005-08-25 2007-02-28 广州天润信息科技有限公司 Position fingerprint identification location method
CN101572857A (en) * 2009-06-18 2009-11-04 杭州华三通信技术有限公司 Locating method in wireless LAN and device thereof
CN101986757A (en) * 2010-11-05 2011-03-16 中兴通讯股份有限公司 Positioning method and device for mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104735620A (en) * 2015-03-19 2015-06-24 北京工业大学 Accurate positioning method based on multiple base stations
CN104735620B (en) * 2015-03-19 2019-01-29 北京工业大学 A kind of accurate positioning method based on multiple base stations

Also Published As

Publication number Publication date
CN101986757B (en) 2014-10-29
CN101986757A (en) 2011-03-16

Similar Documents

Publication Publication Date Title
WO2012058960A1 (en) Positioning method and device for mobile terminals
JP4100320B2 (en) Position detection system and apparatus
CN100534235C (en) Method and system for validating mobile station location fix
US8213963B2 (en) Network based location measurement method and system using pCELL database
US7835349B2 (en) System and method for benchmarking location determining systems
US8848565B2 (en) Method for performing measurements and positioning in a network based WLAN positioning system
KR100960533B1 (en) Method, Apparatus and System for Mearsuring Location Based Terminal by Using U-pCell Database
WO2014056172A1 (en) Positioning method and apparatus
CN101965051A (en) Positioning method and positioning server
CN104796980A (en) WLAN indoor positioning calibration method suitable for different types of intelligent terminals
CN101087470A (en) A mobile station positioning system and its positioning method
WO2013026349A1 (en) Method and system for obtaining user terminal location information
CN103313185B (en) Location information acquisition method and equipment
WO2014071563A1 (en) Terminal positioning method and positioning apparatus
CN102843766B (en) Method and system for locating Home NodeB, method and system for updating location information
CN101959122B (en) Sending method and device of locating information
CN102550051A (en) LTE fingerprinting positioning references for other cellular systems
CN101155419A (en) TD-SCDMA mobile phone terminal and location processing method supporting AGPS
US10149195B2 (en) Handling wireless fingerprint data
CN1787679B (en) Locating method for determining user equipment position for radio network controller
CN106792777B (en) Cross-zone coverage detection method and device
CN1761360A (en) Method of positioning cellular network under environment of direct stations
CN100518389C (en) A locating method applied to TD-SCDMA system
JP5366262B2 (en) Communication apparatus, portable terminal, system, program and method for determining validity of wireless quality information
CN114339586B (en) Terminal positioning method, device and storage medium

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: 11837487

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: 11837487

Country of ref document: EP

Kind code of ref document: A1