WO2019137360A1 - Positioning method, positioning device and positioning server - Google Patents

Positioning method, positioning device and positioning server Download PDF

Info

Publication number
WO2019137360A1
WO2019137360A1 PCT/CN2019/070806 CN2019070806W WO2019137360A1 WO 2019137360 A1 WO2019137360 A1 WO 2019137360A1 CN 2019070806 W CN2019070806 W CN 2019070806W WO 2019137360 A1 WO2019137360 A1 WO 2019137360A1
Authority
WO
WIPO (PCT)
Prior art keywords
positioning
identification code
base station
code sequence
station signals
Prior art date
Application number
PCT/CN2019/070806
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 WO2019137360A1 publication Critical patent/WO2019137360A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination

Definitions

  • the present disclosure relates to, but is not limited to, the field of wireless communication technologies, and in particular, to a positioning method, a positioning device, and a positioning server.
  • Mobile positioning refers to the technology or service of obtaining the location information of a mobile phone or an end user through a specific positioning technology, and marking the location of the located object on the electronic map.
  • Mobile positioning technology has been related to information such as emergency rescue, medical care, and navigation. While serving the daily life of the public, it also brings great convenience to the country in certain fields.
  • Common mobile positioning methods include:
  • the satellite positioning system consists of three parts: the space part - the satellite constellation; the ground control part - the ground monitoring system; the customer equipment part - the signal receiver.
  • the signal receiver receives the navigation signals from multiple satellites, the pseudo-distance and distance of the receiving antenna to the satellite can be measured, and the satellite orbit parameters and other data can be demodulated. Based on these data, the receiver can perform positioning calculation according to the positioning solution method to calculate the geographical location information of the user.
  • This positioning method has two shortcomings: First, due to the need to receive satellite signals, it is required that the receiver to the satellite cannot be shielded, it must be used in the open air, and the clearance conditions are required to be high; second, the reception and calculation of satellite signals require special Chips and antennas increase the difficulty and cost of mobile station design.
  • the mobile phone measures downlink pilot signals of different base stations, and obtains Time of Arrival (TOA) or Time Difference of Arrival (TDOA) of downlink pilots of different base stations, and adopts a triangle according to the measurement result and the coordinates of the base station.
  • TOA Time of Arrival
  • TDOA Time Difference of Arrival
  • the formula estimation algorithm can calculate the geographical location information of the mobile phone.
  • the actual position calculation method needs to consider the positioning of multiple base stations (three or more), so the algorithm is much more complicated. In general, the more the number of base stations measured by the mobile station, the higher the measurement accuracy, and the more obvious the positioning performance improvement. This positioning method requires prior knowledge of the exact location of the base station and therefore can only be provided by the operator.
  • IP Internet Protocol
  • Signal fingerprint positioning establishes a signal fading model, calculates the distance from the base station according to the measured signal strength, and then performs triangulation calculation based on multiple base stations to obtain position information.
  • This positioning method has two disadvantages: firstly, due to the influence of distance, weather, terrain and the like in the process of wireless signal propagation, the relative distance deviation is large in practical applications; second, because the calculation is based on the location of the base station, This positioning method requires prior knowledge of the location of the base station and therefore can only be provided by the operator.
  • the present disclosure provides a positioning method, a positioning device, and a positioning server, which can reduce the positioning cost of the user terminal.
  • An embodiment of the present disclosure provides a positioning method, which is applicable to a terminal, where the method includes: searching a plurality of base station signals at a current location of the terminal, acquiring and storing an identifier and a signal strength of the searched plurality of base station signals; And storing the stored identification codes of the plurality of base station signals in order of the acquired signal strength, and generating an identification code sequence; and transmitting a positioning query request carrying the identification code sequence to the positioning server, and receiving the identification code sequence returned by the positioning server Corresponding location information.
  • An embodiment of the present disclosure further provides a positioning method, which is applicable to a positioning server, where the method includes: receiving a positioning query request of a terminal carrying an identification code sequence; and querying corresponding to an identification code sequence in the positioning query request Position information; and generating a positioning query result based on the queried location information and returning the positioning query result to the terminal.
  • An embodiment of the present disclosure further provides a positioning apparatus, including a search module, a first storage module, a sorting module, and a first communication module, wherein the search module is configured to search for a plurality of base station signals at a current location, and The identification code and the signal strength of the plurality of base station signals are stored in the first storage module; the sequencing module is configured to sequentially arrange the identification codes of the plurality of base station signals in the first storage module according to the magnitude of the signal strength to generate and identify And the first communication module is configured to send a positioning query request carrying the identification code sequence to the positioning server, and receive the position corresponding to the identification code sequence returned by the positioning server Information; and a first storage module configured to store an identification code and a signal strength of the plurality of base station signals searched for.
  • the search module is configured to search for a plurality of base station signals at a current location, and The identification code and the signal strength of the plurality of base station signals are stored in the first storage module
  • the sequencing module is configured to sequentially arrange the identification codes
  • An embodiment of the present disclosure further provides a positioning server, including a second communication module and a query module, wherein the second communication module is configured to receive a positioning query request of the terminal carrying an identification code sequence, and the identification code is The sequence is output to the query module, receives the location information of the query output by the query module, generates a positioning query result according to the obtained location information, and returns the positioning query result to the terminal; and the query module is configured to receive the identifier output by the query module Sequence, querying location information corresponding to the identification code sequence in the positioning query request, and outputting the queried location information to the second communication module.
  • An embodiment of the present disclosure also provides a computer readable medium storing a program, wherein when the program is executed by a processor, performing any one of the positioning according to the above embodiments method.
  • FIG. 1 is a schematic flow chart of a positioning method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flow chart of a positioning method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of a positioning device according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a positioning server according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a positioning server according to an embodiment of the present disclosure.
  • a positioning method is applicable to a terminal, and the method includes the following steps:
  • Step 101 Search for a plurality of base station signals at a current location of the terminal, and acquire and store the identification codes and signal strengths of the plurality of searched base station signals.
  • the identification code is a Cell Global Identifier (CGI).
  • CGI Cell Global Identifier
  • CGI is used to identify the area covered by one cell (base station/one sector cell).
  • CGI is unique in the global network and usually does not change.
  • the CGI is composed of a Location Area Identification (LAI) and a Cell Identifier (CID).
  • LAI Location Area Identification
  • CID Cell Identifier
  • the structure of the CGI is MCC+MNC+LAC+CID, where the MCC is the mobile country code and the MNC is Mobile network code, LAC is the location area number, MCC+MNC+LAC is the location area identification code, CID is 2-byte binary code (Binary-Coded Decimal, BCD), by each mobile switching center (Mobile Switching Center, MSC) is self-determined.
  • the structure of the CGI in the LTE network is MCC+MNC+TAC+CID, where TAC is the area tracking code.
  • the resources of the mobile country code are uniformly assigned and managed by the ITU (ITU) to uniquely identify the country to which the mobile subscriber belongs.
  • the mobile country code consists of 3 digits, and China is 460;
  • the mobile network code is used to identify the mobile communication network to which the mobile subscriber belongs, and is composed of 2 to 3 digits.
  • PLMNs Public Land Mobile Networks
  • MNC Public Land Mobile Networks
  • China Mobile uses 00, 02, 04, 07
  • China Unicom GSM system uses 01, 06, 09
  • China Telecom CDMA system uses 03, 05
  • Telecom 4G uses 11, and China Railcom uses 20.
  • the location area number is an area set for paging in the mobile communication system, covering a geographical area.
  • the coverage area of each GSMPLMN is divided into a number of location areas, which are used to identify different location areas.
  • a location area may contain one or more cells.
  • the signal strength varies in different modes.
  • a Receive Signal Strength Indicator (RSSI) is used to characterize the signal strength of the base station signal.
  • the RSSI decays as the distance increases, usually a negative value, and the closer the value is to zero, the higher the signal strength.
  • RSCP Received Signal Code Power
  • RSCP is a signal code power received on the physical channel.
  • the signal strength of the base station signal is characterized by Reference Signal Receiving Power (RSRP), which can represent the key parameters of the wireless signal strength and the physical layer measurement in the Long Term Evolution (LTE) network.
  • RSRP Reference Signal Receiving Power
  • One of the requirements is the average of the signal power received on all Resource Elements (REs) carrying a reference signal within a symbol.
  • the CGI and signal strength are reported by the protocol stack.
  • a global cell identification code and signal strength correspondence table as shown in Table 1 can be generated. Each searched network corresponds to one row of records.
  • the step of storing the identifiers and signal strengths of the plurality of searched base station signals includes:
  • the identification code and signal strength of the top N base station signals are stored according to the number N of base station signals in the previously set identification code sequence.
  • the number N of base station signals in the identification code sequence determines the positioning accuracy of the present disclosure. The more the number of base station signals N, the higher the positioning accuracy. In the most extreme case, there is no wireless signal coverage, and if the number of cells is zero, it cannot be located.
  • Step 102 Arranging the stored identification codes of the plurality of base station signals in order according to the magnitude of the acquired signal strength, and generating an identification code sequence;
  • the step of sequentially arranging the stored identification codes of the plurality of base station signals according to the magnitude of the acquired signal strength includes:
  • the identification codes of the stored plurality of base station signals are arranged in order of signal strength from large to small or from small to large.
  • the base station signals in Table 1 are sorted according to the signal strength from large to small, and the sorting results are as shown in Table 2:
  • CGI Cell ID (CGI) Signal strength 460023307030851 -84 460013207020851 -90 460023307030861 -93 460023307028842 -99 460003307030861 -102 460013297030661 -103 460013287305527 -106 460023307030841 -110 460003307030732 -112 460013297030662 -114
  • the generated identification code sequence is: 460023307030851, 460013207020851, 460023307030861, 460023307028842, 460003307030861, 460013297030661, 460013287305527, 460023307030841, 460003307030732, 460013297030662.
  • Step 103 Send a positioning query request carrying the identification code sequence to the positioning server, and receive location information corresponding to the identification code sequence returned by the positioning server.
  • the location of the base station usually does not change, that is, the location of the base station is relatively stable.
  • the process of wireless signal propagation due to the influence of distance, weather, terrain and other factors, it is impossible to establish an accurate quantitative propagation model.
  • the weather is the amount of change. But the weather has the same impact on each base station. Therefore, at any position, the relative strength of the wireless signals transmitted by the plurality of base stations is stable. Therefore, the present disclosure acquires positioning information by using the generated identification code sequence, which is a very simple and convenient positioning method.
  • the identification code sequence and the location information correspondence table stored on the positioning server may be obtained by the service provider in the previous stage, or may be actively uploaded by the terminal with the positioning function such as GPS to identify the identification code sequence and the location data of the location, thereby gradually enriching the identification. Code sequence and location information correspondence table.
  • the carrier has a large density of base stations of various standards.
  • a single mobile station can measure at least 6 cells.
  • the resulting identification code sequence can provide better positioning accuracy.
  • the base station density is small and the coverage of a single cell is wide.
  • a single mobile station can only measure very few cell signals, and the positioning accuracy is poor.
  • a positioning method is applicable to a positioning server, and the method includes the following steps:
  • Step 201 Receive a positioning query request of the terminal carrying the identification code sequence
  • Step 202 Query location information corresponding to the identification code sequence in the positioning query request.
  • the positioning server may generate an identification code sequence in advance according to the foregoing method at each mapping point and determine the location information (latitude, longitude, and altitude) of the mapping point by using other positioning means (eg, GPS, manual measurement, etc.). Then, an identification code sequence and a position information correspondence table as shown in Table 3 are generated.
  • the identification code sequence and the location information correspondence table may be obtained by the service provider in the previous stage, or may be actively uploaded by the terminal with GPS and other positioning functions to identify the identification code sequence and the location data of the location, thereby gradually enriching the identification code sequence and Location information correspondence table.
  • the height is negative, indicating that the surveying point is below the horizontal line, 0 is on the horizontal line (ground), and the positive value is indicating on the horizontal line.
  • the positioning server stores an identification code sequence and a location information correspondence table, and the identification codes in the identification code sequence are sequentially arranged according to the magnitude of the acquired signal strength. Specifically, the identification codes in the identification code sequence are arranged in order of the obtained signal strengths being large to small or small to large.
  • the number of the identification codes in the identification code sequence is a preset number N of base station signals, where N is a natural number.
  • the identification code sequence carried in the location query request is: 460023307030851, 460013207020851, 460023307030861, 460023307028842, 460003307030861, 460013297030661, 460013287305527, 460023307030841, 460003307030734, 460013297030662, positioning server query identifier
  • the sequence and position information correspondence table gives the following latitude and longitude and altitude information:
  • the location service can only be carried out within the scope of surveying and mapping.
  • the wider the scope of surveying and mapping the wider the scope of positioning services.
  • step 202 if a plurality of latitude, longitude and altitude information records corresponding to the identification code sequence in the positioning query request are queried, the longitude, latitude and altitude of the plurality of records queried are averaged respectively. As a result of the final latitude and longitude and altitude information query.
  • Step 203 Generate a positioning query result according to the queried location information and return the positioning query result to the terminal.
  • a positioning apparatus includes a search module 301, a first storage module 302, a sorting module 303, and a first communication module 304, wherein:
  • the search module 301 is configured to search for a plurality of base station signals of the current location, and store the identifiers and signal strengths of the plurality of searched base station signals to the first storage module 302;
  • the sorting module 303 is configured to sequentially arrange the identification codes of the plurality of base station signals in the first storage module 302 according to the magnitude of the signal strength, generate an identification code sequence, and output the identification code sequence to the first communication module 304;
  • the first communication module 304 is configured to receive the identification code sequence output by the sequencing module 303, send a positioning query request carrying the identification code sequence to the positioning server, and receive location information corresponding to the identification code sequence returned by the positioning server;
  • the first storage module 302 is configured to store the identifiers and signal strengths of the plurality of searched base station signals.
  • the identification code is a global cell identification code.
  • the ordering module 303 may be specifically configured to: arrange the identification codes of the plurality of base station signals in the first storage module 302 according to the signal strength from large to small or from small to large.
  • the searching module 301 may be specifically configured to: arrange the plurality of searched base station signals according to a signal strength in descending order;
  • the identification codes and signal strengths of the N consecutive base station signals are stored in the first storage module 302 according to the number N of base station signals in the previously set identification code sequence.
  • search module 301 can be specifically configured as:
  • the identification codes and signal strengths of the N consecutive base station signals are stored in the first storage module 302 according to the number N of base station signals in the preset identification code sequence.
  • a positioning server includes a second communication module 401 and a query module 402, wherein:
  • the second communication module 401 is configured to receive a positioning query request of the terminal carrying the identification code sequence, output the identification code sequence to the query module 402, and receive the queried location information output by the query module 402, according to the queried location.
  • the information generates a positioning query result and returns the positioning query result to the terminal;
  • the query module 402 is configured to receive the identifier sequence output by the query module 402, query location information corresponding to the identifier sequence in the location query request, and output the queried location information to the second communication module.
  • the positioning server further includes a second storage module 403, where:
  • the second storage module 403 is configured to store an identification code sequence and a location information correspondence table in advance, and the identification codes in the identification code sequence are sequentially arranged according to the magnitude of the acquired signal strength.
  • the query module 402 can be configured to: query the location information corresponding to the identifier sequence in the location query request according to the identifier sequence and the location information correspondence table stored in advance in the second storage module 403.
  • the identification codes in the identification code sequence are arranged in order of the obtained signal strengths being large to small or small to large.
  • the number of the identification codes in the identification code sequence is a preset number N of base station signals, where N is a natural number.
  • the query module 402 can be further configured to:
  • the longitude, latitude and height of the plurality of queried records are respectively averaged as the final latitude, longitude and altitude information query result.
  • the positioning method, the positioning device and the positioning server provided by the disclosure generate an identification code sequence by using signal strengths of a plurality of base station signals searched according to the current location, and then acquire location information corresponding to the identification code sequence from the positioning server, without operation
  • Any support provided by the provider can be mapped and implemented by the service provider, which solves the problem that the satellite positioning is not suitable for indoor positioning, and the present disclosure is based on the existing hardware of the terminal, without additional cost and design difficulty.
  • the technical solution described in the present application can be used for various voice devices such as smart phones and watch bracelets, and can also be applied to scenes such as car search applications and pet tracking. Many parking lots are underground, so the current mainstream positioning methods cannot be implemented.
  • the positioning function can be achieved by the method of the present disclosure. Since the terminal needs time to measure the base station signal, the positioning method provided by the present disclosure is not applicable to the high-speed mobile device; and the present disclosure is suitable for an urban area with a good coverage of the base station, and cannot be used in a wilderness without signal coverage.

Abstract

Provided are a positioning method, a positioning device and a positioning server. The positioning method comprises: searching for a plurality of base station signals at a current position of a terminal, and acquiring and storing signal intensities of the plurality of found base station signals; ranking identification codes of the plurality of found base station signals according to an order of the magnitudes of the acquired signal intensities, and generating an identification code sequence; and sending a positioning query request carrying the identification code sequence to a positioning server, and receiving position information, corresponding to the identification code sequence, returned by the positioning server.

Description

定位方法、定位装置及定位服务器Positioning method, positioning device and positioning server 技术领域Technical field
本公开涉及但不限于无线通信技术领域,尤其涉及一种定位方法、定位装置及定位服务器。The present disclosure relates to, but is not limited to, the field of wireless communication technologies, and in particular, to a positioning method, a positioning device, and a positioning server.
背景技术Background technique
移动定位是指通过特定的定位技术来获取移动手机或终端用户的位置信息,在电子地图上标出被定位对象的位置的技术或服务。移动定位技术已经与紧急救援、医疗、航海等方面信息相关,在服务于大众日常生活的同时,也为国家在某些领域带来极大的便利。常见的移动定位方法包括:Mobile positioning refers to the technology or service of obtaining the location information of a mobile phone or an end user through a specific positioning technology, and marking the location of the located object on the electronic map. Mobile positioning technology has been related to information such as emergency rescue, medical care, and navigation. While serving the daily life of the public, it also brings great convenience to the country in certain fields. Common mobile positioning methods include:
(1)卫星定位(1) Satellite positioning
卫星定位系统包括三大部分,即:空间部分——卫星星座;地面控制部分——地面监控系统;客户设备部分——信号接收机。在任意时刻,只要信号接收机接收到多颗卫星发出的导航信号,即可测量出接收天线至卫星的伪距离和距离的变化率,进而解调出卫星轨道参数等数据。根据这些数据,接收机就可按定位解算方法进行定位计算,计算出用户的地理位置信息。此定位方法有两个缺点:第一,由于需要接收卫星信号,因此要求接收机到卫星之间不能被遮蔽,必须露天使用,且净空条件要求较高;第二,接收、计算卫星信号需要专门的芯片和天线,增加移动台设计难度与成本。The satellite positioning system consists of three parts: the space part - the satellite constellation; the ground control part - the ground monitoring system; the customer equipment part - the signal receiver. At any time, as long as the signal receiver receives the navigation signals from multiple satellites, the pseudo-distance and distance of the receiving antenna to the satellite can be measured, and the satellite orbit parameters and other data can be demodulated. Based on these data, the receiver can perform positioning calculation according to the positioning solution method to calculate the geographical location information of the user. This positioning method has two shortcomings: First, due to the need to receive satellite signals, it is required that the receiver to the satellite cannot be shielded, it must be used in the open air, and the clearance conditions are required to be high; second, the reception and calculation of satellite signals require special Chips and antennas increase the difficulty and cost of mobile station design.
(2)基站定位(2) Base station positioning
移动电话测量不同基站的下行导频信号,得到不同基站下行导频的到达时刻(Time of Arrival,TOA)或到达时间差(Time Difference of Arrival,TDOA),根据该测量结果并结合基站的坐标采用三角公式估计算法,就能够计算出移动电话的地理位置信息。实际的位置计算法需要考虑多基站(3个或3个以上)定位的情况,因此算法要复杂很多。一般而言,移动台测量的基站数目越多,测量精度越高,定位性能改善越明显。此定位方法要求事先知晓基站精确位置,因此只能由运营 商提供。The mobile phone measures downlink pilot signals of different base stations, and obtains Time of Arrival (TOA) or Time Difference of Arrival (TDOA) of downlink pilots of different base stations, and adopts a triangle according to the measurement result and the coordinates of the base station. The formula estimation algorithm can calculate the geographical location information of the mobile phone. The actual position calculation method needs to consider the positioning of multiple base stations (three or more), so the algorithm is much more complicated. In general, the more the number of base stations measured by the mobile station, the higher the measurement accuracy, and the more obvious the positioning performance improvement. This positioning method requires prior knowledge of the exact location of the base station and therefore can only be provided by the operator.
(3)网络定位(3) Network positioning
网络定位根据请求者的网络协议(Internet Protocol,IP)地址信息进行定位,此种方法需要事先知晓IP地址与位置的对应关系,因此必须得到运营商支持。The network positioning is based on the requester's Internet Protocol (IP) address information. This method requires prior knowledge of the correspondence between the IP address and the location, and therefore must be supported by the operator.
(4)信号指纹定位(4) Signal fingerprinting
信号指纹定位通过建立信号衰落模型,根据实测信号强度计算出相对基站的距离;再根据多个基站进行三角计算,得到位置信息。此定位方法有两个缺点:第一,由于无线信号传播过程中受到距离、天气、地形等等因素影响,在实际应用时相对距离偏差很大;第二,因为要根据基站位置进行计算,所以此定位方法要求事先知晓基站位置,因此只能由运营商提供。Signal fingerprint positioning establishes a signal fading model, calculates the distance from the base station according to the measured signal strength, and then performs triangulation calculation based on multiple base stations to obtain position information. This positioning method has two disadvantages: firstly, due to the influence of distance, weather, terrain and the like in the process of wireless signal propagation, the relative distance deviation is large in practical applications; second, because the calculation is based on the location of the base station, This positioning method requires prior knowledge of the location of the base station and therefore can only be provided by the operator.
发明内容Summary of the invention
为了解决上述技术问题,本公开提供了一种定位方法、定位装置及定位服务器,能够降低用户终端的定位成本。In order to solve the above technical problem, the present disclosure provides a positioning method, a positioning device, and a positioning server, which can reduce the positioning cost of the user terminal.
本公开的一个实施例提供了一种定位方法,可应用于终端,所述方法包括:搜索终端当前位置的多个基站信号,获取并存储搜索到的多个基站信号的识别码和信号强度;将存储的多个基站信号的识别码按照获取的信号强度的大小顺序排列,并生成识别码序列;以及发送携带识别码序列的定位查询请求至定位服务器,并接收定位服务器返回的与识别码序列对应的位置信息。An embodiment of the present disclosure provides a positioning method, which is applicable to a terminal, where the method includes: searching a plurality of base station signals at a current location of the terminal, acquiring and storing an identifier and a signal strength of the searched plurality of base station signals; And storing the stored identification codes of the plurality of base station signals in order of the acquired signal strength, and generating an identification code sequence; and transmitting a positioning query request carrying the identification code sequence to the positioning server, and receiving the identification code sequence returned by the positioning server Corresponding location information.
本公开的一个实施例还提供了一种定位方法,可应用于定位服务器,所述方法包括:接收终端的携带识别码序列的定位查询请求;查询与所述定位查询请求中的识别码序列对应的位置信息;以及根据查询到的位置信息生成定位查询结果并将定位查询结果返回至终端。An embodiment of the present disclosure further provides a positioning method, which is applicable to a positioning server, where the method includes: receiving a positioning query request of a terminal carrying an identification code sequence; and querying corresponding to an identification code sequence in the positioning query request Position information; and generating a positioning query result based on the queried location information and returning the positioning query result to the terminal.
本公开的一个实施例还提供了一种定位装置,包括搜索模块、第一存储模块、排序模块和第一通信模块,其中,搜索模块,被配置为 搜索当前位置的多个基站信号,并将搜索到的多个基站信号的识别码和信号强度存储至第一存储模块;排序模块,被配置为将第一存储模块中的多个基站信号的识别码按照信号强度的大小顺序排列,生成识别码序列并将所述识别码序列输出至第一通信模块;第一通信模块,被配置为发送携带识别码序列的定位查询请求至定位服务器,并接收定位服务器返回的与识别码序列对应的位置信息;以及第一存储模块,被配置为存储搜索到的多个基站信号的识别码和信号强度。An embodiment of the present disclosure further provides a positioning apparatus, including a search module, a first storage module, a sorting module, and a first communication module, wherein the search module is configured to search for a plurality of base station signals at a current location, and The identification code and the signal strength of the plurality of base station signals are stored in the first storage module; the sequencing module is configured to sequentially arrange the identification codes of the plurality of base station signals in the first storage module according to the magnitude of the signal strength to generate and identify And the first communication module is configured to send a positioning query request carrying the identification code sequence to the positioning server, and receive the position corresponding to the identification code sequence returned by the positioning server Information; and a first storage module configured to store an identification code and a signal strength of the plurality of base station signals searched for.
本公开的一个实施例还提供了一种定位服务器,包括第二通信模块和查询模块,其中,第二通信模块,被配置为接收终端的携带识别码序列的定位查询请求,将所述识别码序列输出至查询模块,接收查询模块输出的查询到的位置信息,根据查询到的位置信息生成定位查询结果并将定位查询结果返回至终端;以及查询模块,被配置为接收查询模块输出的识别码序列,查询与所述定位查询请求中的识别码序列对应的位置信息,将查询到的位置信息输出至第二通信模块。An embodiment of the present disclosure further provides a positioning server, including a second communication module and a query module, wherein the second communication module is configured to receive a positioning query request of the terminal carrying an identification code sequence, and the identification code is The sequence is output to the query module, receives the location information of the query output by the query module, generates a positioning query result according to the obtained location information, and returns the positioning query result to the terminal; and the query module is configured to receive the identifier output by the query module Sequence, querying location information corresponding to the identification code sequence in the positioning query request, and outputting the queried location information to the second communication module.
本公开的一个实施例还提供了一种计算机可读介质,所述计算机可读介质存储有程序,其中,当所述程序被处理器运行时,执行根据上述实施例所述的任一种定位方法。An embodiment of the present disclosure also provides a computer readable medium storing a program, wherein when the program is executed by a processor, performing any one of the positioning according to the above embodiments method.
附图说明DRAWINGS
此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:The drawings described herein are provided to provide a further understanding of the present disclosure, which is a part of the present disclosure, and the description of the present disclosure and the description thereof are not intended to limit the disclosure. In the drawing:
图1为本公开的一个实施例的一种定位方法的流程示意图;1 is a schematic flow chart of a positioning method according to an embodiment of the present disclosure;
图2为本公开的一个实施例的一种定位方法的流程示意图;2 is a schematic flow chart of a positioning method according to an embodiment of the present disclosure;
图3为本公开实施例的一种定位装置的结构示意图;3 is a schematic structural diagram of a positioning device according to an embodiment of the present disclosure;
图4为本公开的一个实施例的一种定位服务器的结构示意图;FIG. 4 is a schematic structural diagram of a positioning server according to an embodiment of the present disclosure;
图5为本公开的一个实施例的一种定位服务器的结构示意图。FIG. 5 is a schematic structural diagram of a positioning server according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开的目的、技术方案和优点更加清楚明白,下文中将结合附图对本公开的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
如图1所示,根据本公开的一个实施例的一种定位方法,可应用于终端,所述方法包括如下步骤:As shown in FIG. 1, a positioning method according to an embodiment of the present disclosure is applicable to a terminal, and the method includes the following steps:
步骤101:搜索终端当前位置的多个基站信号,获取并存储搜索到的多个基站信号的识别码和信号强度;Step 101: Search for a plurality of base station signals at a current location of the terminal, and acquire and store the identification codes and signal strengths of the plurality of searched base station signals.
进一步地,所述识别码为全球小区识别码(Cell Global Identifier,CGI)。Further, the identification code is a Cell Global Identifier (CGI).
需要说明的是,全球小区识别码是用来识别一个小区(基站/一个扇形小区)所覆盖的区域。CGI在全球网络中唯一,且通常不会改变。CGI是由位置区识别码(Location Area Identification,LAI)再加小区标识码(Cell Identifier,CID)构成的,CGI的结构是MCC+MNC+LAC+CID,其中,MCC为移动国家码,MNC为移动网络码,LAC为位置区号码,MCC+MNC+LAC为位置区识别码,CID为2字节的二-十进制代码(Binary-Coded Decimal,BCD),由各移动交换中心(Mobile Switching Center,MSC)自定。在LTE网络中CGI的结构为MCC+MNC+TAC+CID,其中,TAC为区域跟踪码。It should be noted that the global cell identifier is used to identify the area covered by one cell (base station/one sector cell). CGI is unique in the global network and usually does not change. The CGI is composed of a Location Area Identification (LAI) and a Cell Identifier (CID). The structure of the CGI is MCC+MNC+LAC+CID, where the MCC is the mobile country code and the MNC is Mobile network code, LAC is the location area number, MCC+MNC+LAC is the location area identification code, CID is 2-byte binary code (Binary-Coded Decimal, BCD), by each mobile switching center (Mobile Switching Center, MSC) is self-determined. The structure of the CGI in the LTE network is MCC+MNC+TAC+CID, where TAC is the area tracking code.
移动国家码的资源由国际电联(ITU)统一分配和管理,用于唯一识别移动用户所属的国家。移动国家码由3位数字组成,中国为460;The resources of the mobile country code are uniformly assigned and managed by the ITU (ITU) to uniquely identify the country to which the mobile subscriber belongs. The mobile country code consists of 3 digits, and China is 460;
移动网络码用于识别移动用户所归属的移动通信网,由2~3位数字组成。在同一个国家内,如果有多个公共陆地移动网(Public Land Mobile Network,PLMN),一般某个国家的一个运营商对应的一个PLMN可以通过MNC来进行区别,即每一个PLMN都要分配唯一的MNC。例如,中国移动系统使用00、02、04、07,中国联通GSM系统使用01、06、09,中国电信CDMA系统使用03、05、电信4G使用11,中国铁通系统使用20。The mobile network code is used to identify the mobile communication network to which the mobile subscriber belongs, and is composed of 2 to 3 digits. In the same country, if there are multiple Public Land Mobile Networks (PLMNs), generally one PLMN corresponding to one operator in a certain country can be distinguished by MNC, that is, each PLMN must be assigned uniquely. MNC. For example, China Mobile uses 00, 02, 04, 07, China Unicom GSM system uses 01, 06, 09, China Telecom CDMA system uses 03, 05, Telecom 4G uses 11, and China Railcom uses 20.
位置区号码是移动通信系统中为寻呼而设置的一个区域,覆盖一片地理区域。为了确定移动台的位置,每个GSMPLMN的覆盖区都被 划分成许多位置区,位置区号码用于标识不同的位置区。一个位置区可以包含一个或多个小区。The location area number is an area set for paging in the mobile communication system, covering a geographical area. In order to determine the location of the mobile station, the coverage area of each GSMPLMN is divided into a number of location areas, which are used to identify different location areas. A location area may contain one or more cells.
所述信号强度在不同制式下有所不同。在本公开的一个实施例中,对于2G网络,采用接收信号强度指示(Receive Signal Strength Indicator,RSSI)来表征基站信号的信号强度。RSSI随距离的增大而衰减,通常为负值,该值越接近零说明信号强度越高。对于3G网络,采用接收信号码功率(Received Signal Code Power,RSCP)来表征基站信号的信号强度,RSCP为物理信道上收到的某一个信号码功率。对于4G网络,通过参考信号接收功率(Reference Signal Receiving Power,RSRP)来表征基站信号的信号强度,RSRP在长期演进(Long Term Evolution,LTE)网络中可以代表无线信号强度的关键参数以及物理层测量需求之一,是在某个符号内承载参考信号的所有资源粒子(Resource Element,RE)上接收到的信号功率的平均值。The signal strength varies in different modes. In an embodiment of the present disclosure, for a 2G network, a Receive Signal Strength Indicator (RSSI) is used to characterize the signal strength of the base station signal. The RSSI decays as the distance increases, usually a negative value, and the closer the value is to zero, the higher the signal strength. For a 3G network, Received Signal Code Power (RSCP) is used to characterize the signal strength of the base station signal, and RSCP is a signal code power received on the physical channel. For 4G networks, the signal strength of the base station signal is characterized by Reference Signal Receiving Power (RSRP), which can represent the key parameters of the wireless signal strength and the physical layer measurement in the Long Term Evolution (LTE) network. One of the requirements is the average of the signal power received on all Resource Elements (REs) carrying a reference signal within a symbol.
根据第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)协议,所述CGI和信号强度均由协议栈上报。根据协议栈上报数据,可以生成如表一所示的全球小区标识码与信号强度对应表。每个搜到的网络对应一行记录。According to the 3rd Generation Partnership Project (3GPP) protocol, the CGI and signal strength are reported by the protocol stack. According to the data reported by the protocol stack, a global cell identification code and signal strength correspondence table as shown in Table 1 can be generated. Each searched network corresponds to one row of records.
全球小区标识码(CGI)Global Cell Identification Number (CGI) 信号强度Signal strength
460023307030851460023307030851 -84-84
460003307030732460003307030732 -112-112
460013287305527460013287305527 -106-106
460013207020851460013207020851 -90-90
460023307030841460023307030841 -110-110
460003307030861460003307030861 -102-102
460023307028842460023307028842 -99-99
460013297030661460013297030661 -103-103
460013297030662460013297030662 -114-114
表一Table I
进一步地,所述存储搜索到的多个基站信号的识别码和信号强度 的步骤,具体包括:Further, the step of storing the identifiers and signal strengths of the plurality of searched base station signals includes:
将搜索到的多个基站信号按照信号强度由大到小的顺序进行排列;以及Locating a plurality of base station signals searched in order of increasing signal strength;
根据预先设置的识别码序列中的基站信号数量N,存储排列在前的N个基站信号的识别码和信号强度。The identification code and signal strength of the top N base station signals are stored according to the number N of base station signals in the previously set identification code sequence.
需要说明的是,识别码序列中的基站信号数量N决定了本公开的定位精度。基站信号数量N越多,定位精度越高。最极端的情况下,没有无线信号覆盖,小区个数为零,则无法定位。It should be noted that the number N of base station signals in the identification code sequence determines the positioning accuracy of the present disclosure. The more the number of base station signals N, the higher the positioning accuracy. In the most extreme case, there is no wireless signal coverage, and if the number of cells is zero, it cannot be located.
步骤102:将存储的多个基站信号的识别码按照获取的信号强度的大小进行顺序排列,并生成识别码序列;Step 102: Arranging the stored identification codes of the plurality of base station signals in order according to the magnitude of the acquired signal strength, and generating an identification code sequence;
进一步地,所述将存储的多个基站信号的识别码按照获取的信号强度的大小进行顺序排列的步骤,具体包括:Further, the step of sequentially arranging the stored identification codes of the plurality of base station signals according to the magnitude of the acquired signal strength includes:
将所述存储的多个基站信号的识别码按照信号强度由大到小或者由小到大的顺序进行排列。The identification codes of the stored plurality of base station signals are arranged in order of signal strength from large to small or from small to large.
在本公开的一个实施例中,对表一中的基站信号按照信号强度从大到小进行排序,排序结果如表二所示:In an embodiment of the present disclosure, the base station signals in Table 1 are sorted according to the signal strength from large to small, and the sorting results are as shown in Table 2:
小区标识(CGI)Cell ID (CGI) 信号强度Signal strength
460023307030851460023307030851 -84-84
460013207020851460013207020851 -90-90
460023307030861460023307030861 -93-93
460023307028842460023307028842 -99-99
460003307030861460003307030861 -102-102
460013297030661460013297030661 -103-103
460013287305527460013287305527 -106-106
460023307030841460023307030841 -110-110
460003307030732460003307030732 -112-112
460013297030662460013297030662 -114-114
表二Table II
生成的识别码序列为:460023307030851,460013207020851, 460023307030861,460023307028842,460003307030861,460013297030661,460013287305527,460023307030841,460003307030732,460013297030662。The generated identification code sequence is: 460023307030851, 460013207020851, 460023307030861, 460023307028842, 460003307030861, 460013297030661, 460013287305527, 460023307030841, 460003307030732, 460013297030662.
步骤103:发送携带识别码序列的定位查询请求至定位服务器,并接收定位服务器返回的与识别码序列对应的位置信息。Step 103: Send a positioning query request carrying the identification code sequence to the positioning server, and receive location information corresponding to the identification code sequence returned by the positioning server.
需要说明的是,运营商部署基站后,基站的位置通常不会发生变化,即基站的位置相对稳定。在无线信号传播过程中,由于受到距离、天气、地形等等因素影响,无法建立精确的定量传播模型。这些影响因素中,对某一具体地点而言,只有天气是变化量。但是天气对各个基站的影响是同等的。因此,在任意位置上,其接收到多个基站发送的无线信号的相对强度是稳定的。因此,本公开通过生成的识别码序列获取定位信息,是一种非常简单易行的定位方法。It should be noted that after the operator deploys the base station, the location of the base station usually does not change, that is, the location of the base station is relatively stable. In the process of wireless signal propagation, due to the influence of distance, weather, terrain and other factors, it is impossible to establish an accurate quantitative propagation model. Of these factors, for a specific location, only the weather is the amount of change. But the weather has the same impact on each base station. Therefore, at any position, the relative strength of the wireless signals transmitted by the plurality of base stations is stable. Therefore, the present disclosure acquires positioning information by using the generated identification code sequence, which is a very simple and convenient positioning method.
定位服务器上存储的识别码序列和位置信息对应表可以由服务提供商前期自行测绘得到,也可以由带GPS等定位功能的终端主动上传自身所在位置的识别码序列和位置数据,从而逐步丰富识别码序列和位置信息对应表。按照实际情形,在手机信号覆盖较好的区域,运营商的多种制式的基站密度大。单个移动台至少可以测量到6个小区的信号。由此产生的识别码序列可以提供较好的定位精度。但是在信号覆盖差的区域,基站密度小,单个小区覆盖范围广。单个移动台只能测量到很少的小区信号,定位精度差。The identification code sequence and the location information correspondence table stored on the positioning server may be obtained by the service provider in the previous stage, or may be actively uploaded by the terminal with the positioning function such as GPS to identify the identification code sequence and the location data of the location, thereby gradually enriching the identification. Code sequence and location information correspondence table. According to the actual situation, in the area where the mobile phone signal coverage is good, the carrier has a large density of base stations of various standards. A single mobile station can measure at least 6 cells. The resulting identification code sequence can provide better positioning accuracy. However, in areas with poor signal coverage, the base station density is small and the coverage of a single cell is wide. A single mobile station can only measure very few cell signals, and the positioning accuracy is poor.
如图2所示,根据本公开的一个实施例的一种定位方法,可应用于定位服务器,所述方法包括如下步骤:As shown in FIG. 2, a positioning method according to an embodiment of the present disclosure is applicable to a positioning server, and the method includes the following steps:
步骤201:接收终端的携带识别码序列的定位查询请求;Step 201: Receive a positioning query request of the terminal carrying the identification code sequence;
步骤202:查询与所述定位查询请求中的识别码序列对应的位置信息。Step 202: Query location information corresponding to the identification code sequence in the positioning query request.
需要说明的是,所述定位服务器可以事先在每个测绘点上,按照前述方法生成识别码序列并使用其他定位手段(例如GPS、人工测量等等)确定该测绘点位置信息(经纬度、高度);然后生成如表三所示的识别码序列和位置信息对应表。所述识别码序列和位置信息对应表可以由服务提供商前期自行测绘得到,也可以由带GPS等定位功能 的终端主动上传自身所在位置的识别码序列和位置数据,从而逐步丰富识别码序列和位置信息对应表。It should be noted that the positioning server may generate an identification code sequence in advance according to the foregoing method at each mapping point and determine the location information (latitude, longitude, and altitude) of the mapping point by using other positioning means (eg, GPS, manual measurement, etc.). Then, an identification code sequence and a position information correspondence table as shown in Table 3 are generated. The identification code sequence and the location information correspondence table may be obtained by the service provider in the previous stage, or may be actively uploaded by the terminal with GPS and other positioning functions to identify the identification code sequence and the location data of the location, thereby gradually enriching the identification code sequence and Location information correspondence table.
Figure PCTCN2019070806-appb-000001
Figure PCTCN2019070806-appb-000001
表三Table 3
其中,高度为负表示测绘点在水平线下,0表示在水平线(地面)上,正值表示在水平线上。Among them, the height is negative, indicating that the surveying point is below the horizontal line, 0 is on the horizontal line (ground), and the positive value is indicating on the horizontal line.
进一步地,所述定位服务器存储有识别码序列和位置信息对应表,所述识别码序列中的识别码按照获取的信号强度的大小顺序排列。具体地说,所述识别码序列中的识别码按照获取的信号强度由大到小或者由小到大的顺序进行排列。Further, the positioning server stores an identification code sequence and a location information correspondence table, and the identification codes in the identification code sequence are sequentially arranged according to the magnitude of the acquired signal strength. Specifically, the identification codes in the identification code sequence are arranged in order of the obtained signal strengths being large to small or small to large.
进一步地,所述识别码序列中的识别码个数为预设的基站信号数量N,其中,N为自然数。Further, the number of the identification codes in the identification code sequence is a preset number N of base station signals, where N is a natural number.
在本公开的一个实施例中,假设步骤201中,定位查询请求中携带的识别码序列为:460023307030851,460013207020851,460023307030861,460023307028842,460003307030861,460013297030661,460013287305527,460023307030841,460003307030734,460013297030662,定位服务器查询识别码序列和位置信息对应表,得到如下的经纬度和高度信息:In an embodiment of the present disclosure, it is assumed that in step 201, the identification code sequence carried in the location query request is: 460023307030851, 460013207020851, 460023307030861, 460023307028842, 460003307030861, 460013297030661, 460013287305527, 460023307030841, 460003307030734, 460013297030662, positioning server query identifier The sequence and position information correspondence table gives the following latitude and longitude and altitude information:
经度:-120.4064160Longitude: -120.4064160
纬度:37.7858343Latitude: 37.7858343
高度:0Height: 0
定位服务只能在完成测绘的范围进行,完成测绘范围越广,定位服务范围越广。The location service can only be carried out within the scope of surveying and mapping. The wider the scope of surveying and mapping, the wider the scope of positioning services.
进一步地,所述步骤202中,如果查询到多条与所述定位查询请求中的识别码序列对应的经纬度和高度信息记录,对查询到的多条记录的经度、纬度、高度分别取平均值作为最终的经纬度和高度信息查询结果。Further, in the step 202, if a plurality of latitude, longitude and altitude information records corresponding to the identification code sequence in the positioning query request are queried, the longitude, latitude and altitude of the plurality of records queried are averaged respectively. As a result of the final latitude and longitude and altitude information query.
步骤203:根据查询到的位置信息生成定位查询结果并将定位查询结果返回至终端。Step 203: Generate a positioning query result according to the queried location information and return the positioning query result to the terminal.
如图3所示,根据本公开的一个实施例的一种定位装置,包括搜索模块301、第一存储模块302、排序模块303和第一通信模块304,其中:As shown in FIG. 3, a positioning apparatus according to an embodiment of the present disclosure includes a search module 301, a first storage module 302, a sorting module 303, and a first communication module 304, wherein:
搜索模块301,被配置为搜索当前位置的多个基站信号,并将搜索到的多个基站信号的识别码和信号强度存储至第一存储模块302;The search module 301 is configured to search for a plurality of base station signals of the current location, and store the identifiers and signal strengths of the plurality of searched base station signals to the first storage module 302;
排序模块303,被配置为将第一存储模块302中的多个基站信号的识别码按照信号强度的大小顺序排列,生成识别码序列并将所述识别码序列输出至第一通信模块304;The sorting module 303 is configured to sequentially arrange the identification codes of the plurality of base station signals in the first storage module 302 according to the magnitude of the signal strength, generate an identification code sequence, and output the identification code sequence to the first communication module 304;
第一通信模块304,被配置为接收排序模块303输出的识别码序列,发送携带识别码序列的定位查询请求至定位服务器,并接收定位服务器返回的与识别码序列对应的位置信息;The first communication module 304 is configured to receive the identification code sequence output by the sequencing module 303, send a positioning query request carrying the identification code sequence to the positioning server, and receive location information corresponding to the identification code sequence returned by the positioning server;
第一存储模块302,被配置为存储搜索到的多个基站信号的识别码和信号强度。The first storage module 302 is configured to store the identifiers and signal strengths of the plurality of searched base station signals.
进一步地,所述识别码为全球小区识别码。Further, the identification code is a global cell identification code.
进一步地,所述排序模块303可以被具体配置为:将第一存储模块302中的多个基站信号的识别码按照信号强度由大到小或者由小到大的顺序进行排列。Further, the ordering module 303 may be specifically configured to: arrange the identification codes of the plurality of base station signals in the first storage module 302 according to the signal strength from large to small or from small to large.
进一步地,所述搜索模块301可以被具体配置为:将搜索到的多个基站信号按照信号强度由大到小的顺序进行排列;以及Further, the searching module 301 may be specifically configured to: arrange the plurality of searched base station signals according to a signal strength in descending order; and
根据预先设置的识别码序列中的基站信号数量N,将排列在前的N个基站信号的识别码和信号强度存储至第一存储模块302。The identification codes and signal strengths of the N consecutive base station signals are stored in the first storage module 302 according to the number N of base station signals in the previously set identification code sequence.
进一步地,所述搜索模块301可以被具体配置为:Further, the search module 301 can be specifically configured as:
将搜索到的多个基站信号按照信号强度由小到大的顺序进行排列;以及Locating a plurality of base station signals searched in order of signal strength from small to large;
根据预先设置的识别码序列中的基站信号数量N,将排列在后的N个基站信号的识别码和信号强度存储至第一存储模块302。The identification codes and signal strengths of the N consecutive base station signals are stored in the first storage module 302 according to the number N of base station signals in the preset identification code sequence.
如图4所示,根据本公开的一个实施例的一种定位服务器,包括第二通信模块401和查询模块402,其中:As shown in FIG. 4, a positioning server according to an embodiment of the present disclosure includes a second communication module 401 and a query module 402, wherein:
第二通信模块401,被配置为接收终端的携带识别码序列的定位查询请求,将所述识别码序列输出至查询模块402,接收查询模块402输出的查询到的位置信息,根据查询到的位置信息生成定位查询结果并将定位查询结果返回至终端;The second communication module 401 is configured to receive a positioning query request of the terminal carrying the identification code sequence, output the identification code sequence to the query module 402, and receive the queried location information output by the query module 402, according to the queried location. The information generates a positioning query result and returns the positioning query result to the terminal;
查询模块402,被配置为接收查询模块402输出的识别码序列,查询与所述定位查询请求中的识别码序列对应的位置信息,将查询到的位置信息输出至第二通信模块。The query module 402 is configured to receive the identifier sequence output by the query module 402, query location information corresponding to the identifier sequence in the location query request, and output the queried location information to the second communication module.
进一步地,如图5所示,所述定位服务器还包括第二存储模块403,其中:Further, as shown in FIG. 5, the positioning server further includes a second storage module 403, where:
第二存储模块403,被配置为预先存储识别码序列和位置信息对应表,所述识别码序列中的识别码按照获取的信号强度的大小顺序排列。The second storage module 403 is configured to store an identification code sequence and a location information correspondence table in advance, and the identification codes in the identification code sequence are sequentially arranged according to the magnitude of the acquired signal strength.
查询模块402可以被具体配置为:根据第二存储模块403中预先 存储的识别码序列和位置信息对应表,查询与所述定位查询请求中的识别码序列对应的位置信息。The query module 402 can be configured to: query the location information corresponding to the identifier sequence in the location query request according to the identifier sequence and the location information correspondence table stored in advance in the second storage module 403.
具体地说,所述识别码序列中的识别码按照获取的信号强度由大到小或者由小到大的顺序进行排列。Specifically, the identification codes in the identification code sequence are arranged in order of the obtained signal strengths being large to small or small to large.
进一步地,所述识别码序列中的识别码个数为预设的基站信号数量N,其中,N为自然数。Further, the number of the identification codes in the identification code sequence is a preset number N of base station signals, where N is a natural number.
查询模块402可以进一步被配置为:The query module 402 can be further configured to:
如果查询到多条与所述定位查询请求中的识别码序列对应的经纬度和高度信息记录,对查询到的多条记录的经度、纬度、高度分别取平均值作为最终的经纬度和高度信息查询结果。If a plurality of latitude, longitude and altitude information records corresponding to the identification code sequence in the positioning query request are queried, the longitude, latitude and height of the plurality of queried records are respectively averaged as the final latitude, longitude and altitude information query result. .
本公开提供的定位方法、定位装置及定位服务器,通过依据当前位置搜索到的多个基站信号的信号强弱生成识别码序列,然后从定位服务器获取与识别码序列相对应的位置信息,无需运营商提供任何支持,可以由服务提供商自行测绘、实施,解决了卫星定位不适合室内定位的问题,且本公开基于终端现有硬件,无需额外增加成本与设计难度。The positioning method, the positioning device and the positioning server provided by the disclosure generate an identification code sequence by using signal strengths of a plurality of base station signals searched according to the current location, and then acquire location information corresponding to the identification code sequence from the positioning server, without operation Any support provided by the provider can be mapped and implemented by the service provider, which solves the problem that the satellite positioning is not suitable for indoor positioning, and the present disclosure is based on the existing hardware of the terminal, without additional cost and design difficulty.
本申请所述技术方案可以用于各种支持语音的智能手机、手表手环等终端设备;也可以应用于寻车应用、宠物跟踪等场景,很多停车场处于地下,因此现行主流定位方法无法实现定位功能,通过本公开的方法可以实现定位。由于终端测量基站信号需要时间,因此本公开提供的定位方法不适用高速移动设备;且本公开适合基站信号覆盖较好的城区,在没有信号覆盖的荒郊野外则无法使用。The technical solution described in the present application can be used for various voice devices such as smart phones and watch bracelets, and can also be applied to scenes such as car search applications and pet tracking. Many parking lots are underground, so the current mainstream positioning methods cannot be implemented. The positioning function can be achieved by the method of the present disclosure. Since the terminal needs time to measure the base station signal, the positioning method provided by the present disclosure is not applicable to the high-speed mobile device; and the present disclosure is suitable for an urban area with a good coverage of the base station, and cannot be used in a wilderness without signal coverage.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现,相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本公开不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits. Accordingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may be implemented by using a software function module. Formal realization. The present disclosure is not limited to any specific form of combination of hardware and software.
以上所述仅为本公开的优选实施例而已,并不用于限制本公开, 对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The above description is only a preferred embodiment of the present disclosure, and is not intended to limit the disclosure, and various changes and modifications may be made to the present disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (14)

  1. 一种定位方法,可应用于终端,所述方法包括:A positioning method is applicable to a terminal, and the method includes:
    搜索终端当前位置的多个基站信号,获取并存储搜索到的多个基站信号的识别码和信号强度;Searching for a plurality of base station signals at a current location of the terminal, acquiring and storing the identification codes and signal strengths of the plurality of searched base station signals;
    将存储的多个基站信号的识别码按照获取的信号强度的大小顺序排列,并生成识别码序列;以及And storing the identification codes of the stored plurality of base station signals in order of the magnitude of the acquired signal strength, and generating an identification code sequence;
    发送携带识别码序列的定位查询请求至定位服务器,并接收定位服务器返回的与识别码序列对应的位置信息。Sending a positioning query request carrying the identification code sequence to the positioning server, and receiving the location information corresponding to the identification code sequence returned by the positioning server.
  2. 根据权利要求1所述的定位方法,其中,所述将存储的多个基站信号的识别码按照获取的信号强度的大小顺序排列的步骤包括:The positioning method according to claim 1, wherein the step of sequentially arranging the stored identification codes of the plurality of base station signals according to the magnitude of the acquired signal strength comprises:
    将所述存储的多个基站信号的识别码按照信号强度由大到小或者由小到大的顺序进行排列。The identification codes of the stored plurality of base station signals are arranged in order of signal strength from large to small or from small to large.
  3. 根据权利要求1所述的定位方法,其中,所述存储搜索到的多个基站信号的识别码和信号强度的步骤包括:The positioning method according to claim 1, wherein said storing said identification code and signal strength of said plurality of base station signals comprises:
    将搜索到的多个基站信号按照信号强度由大到小的顺序进行排列;以及Locating a plurality of base station signals searched in order of increasing signal strength;
    根据预先设置的识别码序列中的基站信号数量N,存储排列在前的N个基站信号的识别码和信号强度,其中,N为自然数。The identification code and signal strength of the top N base station signals are stored according to the number N of base station signals in the preset identification code sequence, where N is a natural number.
  4. 根据权利要求1所述的定位方法,其中,所述识别码为全球小区识别码。The positioning method according to claim 1, wherein the identification code is a global cell identification code.
  5. 一种定位方法,可应用于定位服务器,所述方法包括:A positioning method is applicable to a positioning server, and the method includes:
    接收终端的携带识别码序列的定位查询请求;Receiving a location query request of the terminal carrying the identification code sequence;
    查询与所述定位查询请求中的识别码序列对应的位置信息;以及Querying location information corresponding to the identification code sequence in the positioning query request;
    根据查询到的位置信息生成定位查询结果并将定位查询结果返回至终端。The positioning query result is generated according to the queried location information and the positioning query result is returned to the terminal.
  6. 根据权利要求5所述的定位方法,其中,所述定位服务器存储有识别码序列以及与识别码序列对应的位置信息,所述识别码序列中的识别码按照获取的信号强度的大小顺序排列。The positioning method according to claim 5, wherein the positioning server stores an identification code sequence and position information corresponding to the identification code sequence, and the identification codes in the identification code sequence are sequentially arranged according to the magnitude of the acquired signal strength.
  7. 根据权利要求6所述的定位方法,其中,所述识别码序列中的识别码按照获取的信号强度由大到小或者由小到大的顺序进行排列。The positioning method according to claim 6, wherein the identification code in the identification code sequence is arranged in order of the obtained signal strengths being large to small or small to large.
  8. 根据权利要求6所述的定位方法,其中,所述识别码序列中的识别码个数为预设的基站信号数量N,其中,N为自然数。The positioning method according to claim 6, wherein the number of identification codes in the identification code sequence is a preset number N of base station signals, wherein N is a natural number.
  9. 一种定位装置,包括搜索模块、第一存储模块、排序模块和第一通信模块,其中,A positioning device includes a search module, a first storage module, a sorting module, and a first communication module, wherein
    搜索模块,被配置为搜索当前位置的多个基站信号,并将搜索到的多个基站信号的识别码和信号强度存储至第一存储模块;a search module, configured to search a plurality of base station signals of the current location, and store the identifiers and signal strengths of the plurality of searched base station signals to the first storage module;
    排序模块,被配置为将第一存储模块中的多个基站信号的识别码按照信号强度的大小顺序排列,生成识别码序列并将所述识别码序列输出至第一通信模块;a sorting module, configured to sequentially arrange the identification codes of the plurality of base station signals in the first storage module according to the magnitude of the signal strength, generate an identification code sequence, and output the identification code sequence to the first communication module;
    第一通信模块,被配置为发送携带识别码序列的定位查询请求至定位服务器,并接收定位服务器返回的与识别码序列对应的位置信息;以及The first communication module is configured to send a positioning query request carrying the identification code sequence to the positioning server, and receive location information corresponding to the identification code sequence returned by the positioning server;
    第一存储模块,被配置为存储搜索到的多个基站信号的识别码和信号强度。The first storage module is configured to store the identifiers and signal strengths of the plurality of searched base station signals.
  10. 根据权利要求9所述的定位装置,其中,所述排序模块进一步被配置为:The positioning device of claim 9, wherein the ranking module is further configured to:
    将第一存储模块中的多个基站信号的识别码按照信号强度由大到小或者由小到大的顺序进行排列。The identification codes of the plurality of base station signals in the first storage module are arranged in order of signal strength from large to small or from small to large.
  11. 根据权利要求9所述的定位装置,其中,所述搜索模块进一 步被配置为:The pointing device of claim 9 wherein said search module is further configured to:
    将搜索到的多个基站信号按照信号强度由大到小的顺序进行排列;以及Locating a plurality of base station signals searched in order of increasing signal strength;
    根据预先设置的识别码序列中的基站信号数量N,将排列在前的N个基站信号的识别码和信号强度存储至第一存储模块,其中,N为自然数。The identification codes and signal strengths of the N consecutive base station signals are stored in the first storage module according to the number N of base station signals in the preset identification code sequence, where N is a natural number.
  12. 根据权利要求9所述的定位装置,其中,所述识别码为全球小区识别码。The positioning device according to claim 9, wherein the identification code is a global cell identification code.
  13. 一种定位服务器,包括:第二通信模块和查询模块,其中,A positioning server includes: a second communication module and a query module, wherein
    第二通信模块,被配置为接收终端的携带识别码序列的定位查询请求,将所述识别码序列输出至查询模块,接收查询模块输出的查询到的位置信息,根据查询到的位置信息生成定位查询结果并将定位查询结果返回至终端;以及The second communication module is configured to receive a positioning query request of the terminal carrying the identification code sequence, output the identification code sequence to the query module, receive the queried location information output by the query module, and generate a location according to the queried location information. Query the results and return the results of the positioning query to the terminal;
    查询模块,被配置为接收查询模块输出的识别码序列,查询与所述定位查询请求中的识别码序列对应的位置信息,将查询到的位置信息输出至第二通信模块。The query module is configured to receive the identifier sequence output by the query module, query location information corresponding to the identifier sequence in the location query request, and output the queried location information to the second communication module.
  14. 一种计算机可读介质,所述计算机可读介质存储有程序,其中,当所述程序被处理器运行时,执行权利要求1-4或5-8中任一项所述的方法。A computer readable medium storing a program, wherein the method of any one of claims 1-4 or 5-8 is performed when the program is executed by a processor.
PCT/CN2019/070806 2018-01-10 2019-01-08 Positioning method, positioning device and positioning server WO2019137360A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810021068.6A CN110022606A (en) 2018-01-10 2018-01-10 A kind of localization method, positioning device and location-server
CN201810021068.6 2018-01-10

Publications (1)

Publication Number Publication Date
WO2019137360A1 true WO2019137360A1 (en) 2019-07-18

Family

ID=67188059

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/070806 WO2019137360A1 (en) 2018-01-10 2019-01-08 Positioning method, positioning device and positioning server

Country Status (2)

Country Link
CN (1) CN110022606A (en)
WO (1) WO2019137360A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757255B (en) * 2020-06-17 2022-11-15 上海钧正网络科技有限公司 Positioning method, device, server and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064912A (en) * 2006-04-28 2007-10-31 英华达(南京)科技有限公司 System and method for positioning mobile communication equipment
CN101895812A (en) * 2009-03-12 2010-11-24 上海爱维特信息技术有限责任公司 Method for positioning most matched signal intensity in cellular network
CN102932737A (en) * 2012-10-24 2013-02-13 广州中道电子科技有限公司 Method, device and system for acquiring location information
US20140087715A1 (en) * 2012-09-27 2014-03-27 Research In Motion Limited Method and system for indicating frequency for reporting a geran cgi

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064912A (en) * 2006-04-28 2007-10-31 英华达(南京)科技有限公司 System and method for positioning mobile communication equipment
CN101895812A (en) * 2009-03-12 2010-11-24 上海爱维特信息技术有限责任公司 Method for positioning most matched signal intensity in cellular network
US20140087715A1 (en) * 2012-09-27 2014-03-27 Research In Motion Limited Method and system for indicating frequency for reporting a geran cgi
CN102932737A (en) * 2012-10-24 2013-02-13 广州中道电子科技有限公司 Method, device and system for acquiring location information

Also Published As

Publication number Publication date
CN110022606A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
KR100909526B1 (en) Positioning of a wireless device based on information about base stations belonging to multiple networks
US8874137B2 (en) Method and device for discriminating positioning error using wireless LAN signal
US9357521B2 (en) Determining an estimated location of a base station
US8666433B2 (en) Location positioning method and device using wireless LAN signals
US9173057B2 (en) Apparatus and method of managing peripheral wireless LAN radio signal for positioning service
CN100534235C (en) Method and system for validating mobile station location fix
KR100883379B1 (en) Network based method of measuring the position of mobile station using the ratio of power strength of several base station and the system thereof
Wirola et al. Mass-market requirements for indoor positioning and indoor navigation
KR102139792B1 (en) Apparatus and method for adjusting position of RF infrastructure
US20120223857A1 (en) Method and system for determining a position of a mobile communication device
CN104735782A (en) Positioning of a wireless device served by a femto cell
EP3621351A1 (en) Positioning assistance data configuration method, apparatus, device, system, and storage medium
US9348032B2 (en) Database update method and apparatus for locating a pCell
EP2422213A1 (en) A method of improved positioning
CN107771408B (en) Mobile terminal and positioning method thereof
WO2016202263A1 (en) Method and server for saving standard format page
KR20140086321A (en) Method and apparatus for tracking position using ad hoc network and mobile telecommunication system for the same
KR20120003716A (en) Method for detecting position, mobile communication terminal and position estimating server therefor
US10517063B2 (en) Enhancing an estimate of the location of a wireless terminal by using one or more types of identifiers of a wireless network
Huber Background Positioning for Mobile devices-Android vs. iphone
KR20120005642A (en) Method and apparatus for providing position information by using error range
KR101791259B1 (en) Method for Measuring Position Hierarchically, System And Apparatus Therefor
CN101155419A (en) TD-SCDMA mobile phone terminal and location processing method supporting AGPS
WO2019137360A1 (en) Positioning method, positioning device and positioning server
WO2022265731A1 (en) Peer assisted revision of positioning assistance data

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

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

Country of ref document: EP

Kind code of ref document: A1