WO2017107678A1 - 一种基于基站的定位方法及装置 - Google Patents

一种基于基站的定位方法及装置 Download PDF

Info

Publication number
WO2017107678A1
WO2017107678A1 PCT/CN2016/104569 CN2016104569W WO2017107678A1 WO 2017107678 A1 WO2017107678 A1 WO 2017107678A1 CN 2016104569 W CN2016104569 W CN 2016104569W WO 2017107678 A1 WO2017107678 A1 WO 2017107678A1
Authority
WO
WIPO (PCT)
Prior art keywords
location information
base station
terminal
station identifier
common location
Prior art date
Application number
PCT/CN2016/104569
Other languages
English (en)
French (fr)
Inventor
李崇欣
刘慧勇
韩灿阳
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2017107678A1 publication Critical patent/WO2017107678A1/zh

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

Definitions

  • the present invention relates to the field of computer network technologies, and in particular, to a base station-based positioning method and apparatus.
  • the terminal device to be located is located by the currently accessed base station, and then the positioning coordinate corresponding to the base station is used as the location of the terminal device to be located.
  • the traditional base station-based positioning method can only return the same location information for the intelligent to-be-located terminal device that accesses the same base station, that is, for the intelligent to-be-located terminal device in different locations within the coverage of the same base station.
  • the returned location information is the same, resulting in a large error in the positioning result, affecting the user experience.
  • the present invention has been made in order to provide a base station-based positioning method and apparatus that overcomes the above problems or at least partially solves or alleviates the above problems, and effectively improves base station based positioning accuracy.
  • a base station-based positioning method includes: acquiring a current base station identifier of a base station to which a terminal to be located is accessed; and acquiring, according to the current base station identifier, the current base station identifier
  • the common location information set is used to select the common location information that meets the predetermined condition from the obtained common location information set according to the location information previously uploaded by the terminal to be located, as the real-time location information of the to-be-located terminal.
  • a base station-based positioning apparatus comprising: a first acquiring unit, configured to acquire a base station to which a terminal to be located is connected to a current base station identifier; the second acquiring unit is configured to acquire, according to the current base station identifier acquired by the first acquiring unit, a common location information set corresponding to the current base station identifier, and the selecting unit is adapted to be used according to the to-be-located terminal
  • the uploaded location information is used to select the common location information that meets the predetermined condition from the common location information set acquired by the second obtaining unit as the real-time location information of the terminal to be located.
  • a computer program comprising computer readable code that, when executed on a computing device, causes the computing device to perform the method as described above.
  • a computer readable medium wherein a computer program as described above is stored.
  • the base station-based positioning method and device provided by the present invention acquires the current base station identifier of the base station to which the terminal to be located is located, obtains the common location information set corresponding to the current base station identifier according to the current base station identifier, and uploads the previous location information according to the to-be-located terminal.
  • the location information is used to select the common location information that meets the predetermined condition from the obtained common location information set as the real-time location information of the terminal to be located, and solves the problem that the to-be-located terminal accessing the same base station can only return the same location information.
  • the positioning accuracy based on the base station is effectively improved.
  • FIG. 1 schematically shows a flow of a base station based positioning method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart showing a base station-based positioning method according to another embodiment of the present invention.
  • FIG. 3 is a schematic flow chart showing a base station-based positioning method according to another embodiment of the present invention.
  • FIG. 4 is a schematic diagram showing the subdivision flow of step S31 in the base station-based positioning method according to the embodiment of the present invention.
  • FIG. 5 is a schematic flow chart showing a base station-based positioning method according to another embodiment of the present invention.
  • FIG. 6 is a schematic flow chart showing a base station-based positioning method according to another embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a base station-based positioning apparatus according to an embodiment of the present invention.
  • Figure 8 shows a block diagram of a computing device for performing a method in accordance with the present invention
  • Figure 9 shows a schematic diagram of a memory unit for holding or carrying program code implementing a method in accordance with the present invention.
  • the embodiment of the present invention provides a base station-based positioning method, including: acquiring Obtaining a current base station identifier of the base station to which the terminal to be located is located; obtaining a common location information set corresponding to the current base station identifier according to the current base station identifier; and obtaining common location information according to the previously uploaded location information of the to-be-located terminal
  • the common location information that meets the predetermined condition is selected in the set as the real-time location information of the terminal to be located.
  • the embodiment of the invention effectively improves the positioning accuracy based on the base station and improves the user experience.
  • FIG. 1 is a schematic flow chart showing a base station-based positioning method according to an embodiment of the present invention.
  • a base station-based positioning method includes the following steps:
  • Step S11 Obtain a current base station identifier of a base station to which the terminal to be located is located.
  • the terminal to be located in this embodiment is a smart device such as a smart watch or a smart bracelet, and of course, other smart devices and mobile terminals having a positioning function based on the base station, such as a mobile phone, a tablet, and a palm.
  • the present invention does not limit the computer PDA or notebook.
  • the current base station identifier is a base station identifier corresponding to the base station currently accessed by the to-be-located terminal, and the base station identifier is used to uniquely identify the base station.
  • the identifier of the base station may be one or more of information such as an identity code (Identity, hereinafter referred to as id) and a hardware address (MAC).
  • id an identity code
  • MAC hardware address
  • Step S12 Acquire a common location information set corresponding to the current base station identifier according to the current base station identifier.
  • the common location information set in this embodiment is a set of common location information for a specific base station, and may include one or more specific location information.
  • the commonly used location information may be location information corresponding to a location where the terminal to be located frequently moves or stays.
  • the common location information in the common location information set may be implemented by using actual location coordinates or an iconic building name corresponding to the actual location coordinates.
  • the smart watch that it has is the terminal to be located. It can correspond to a plurality of commonly used base stations, and each commonly used base station corresponds to a common set of location information. For example, on the way from home to school, you may pass the home-breakfast shop-park-children's palace-book building-school. Among them, the home, the breakfast shop and the park form a common location information set corresponding to the first base station, and the children's palace, the book building and the school form a common location information set corresponding to the second base station.
  • Step S13 Select, according to the location information previously uploaded by the terminal to be located, the common location information that meets the predetermined condition from the obtained common location information set, as the real-time location information of the to-be-located terminal.
  • the real-time location information is real-time location information corresponding to the location of the terminal to be located.
  • the server will continuously locate the positioning terminal.
  • the positioning terminal When the terminal to be located is in the outdoor, the positioning terminal may be preferentially positioned by using the GPS.
  • the positioning terminal When the terminal to be located is indoors, the positioning terminal may be preferably used by the wifi.
  • the positioning ensures that when there is a GPS signal or wifi, the positioning of the terminal to be positioned is preferentially achieved by using a high positioning accuracy.
  • the base station identifier of the terminal currently accessed by the terminal is obtained from the location information previously uploaded by the terminal to be located, and then the common location information set corresponding to the base station identifier is determined, and is obtained according to the location information previously uploaded by the terminal to be located.
  • the common location information set in the common location information set is selected as the current location information of the terminal to be located.
  • the base station-based positioning method obtained by the embodiment of the present invention obtains the current base station identifier of the base station to which the terminal to be located is located, obtains the common location information set corresponding to the current base station identifier according to the current base station identifier, and uploads the previous location information according to the to-be-located terminal.
  • the location information is used to select the common location information that meets the predetermined condition from the obtained common location information set as the real-time location information of the terminal to be located, and solves the problem that the to-be-located terminal accessing the same base station can only return the same location information.
  • the positioning accuracy based on the base station is effectively improved.
  • FIG. 2 is a schematic flow chart showing a base station-based positioning method according to another embodiment of the present invention.
  • a base station-based positioning method includes the following steps:
  • Step S21 Obtain a current base station identifier of a base station to which the terminal to be located is accessed.
  • step S21 is the same as step S11 of the embodiment shown in FIG. 1, and details are not described herein again.
  • Step S22 Search for a preset mapping relationship according to the current base station identifier, to obtain a common location information set related to the current base station identifier, where the preset mapping relationship includes a correspondence between the base station identifier and the common location information set.
  • mapping relationship can be implemented by a relational table or a relational database.
  • the correspondence between the base station identifier and the related common location information set is implemented in a relationship table, where the base station identifier may be an identity identifier (id), a hardware address (Media Access) of the base station.
  • the base station identifier may be an identity identifier (id), a hardware address (Media Access) of the base station.
  • MAC One or more of the information such as Control, referred to as MAC).
  • Step S23 Select, according to the location information previously uploaded by the terminal to be located, the common location information that meets the predetermined condition from the obtained common location information set, as the real-time location information of the to-be-located terminal.
  • step S23 is the same as step S13 of the embodiment shown in FIG. 1, and details are not described herein again.
  • the base station-based positioning method obtained by the embodiment of the present invention obtains the current base station identifier of the base station to which the terminal to be located is located, and then searches for a preset mapping relationship according to the current base station identifier to obtain a common location information set related to the current base station identifier.
  • the preset mapping relationship is generated in advance according to the historical positioning information, and the preset mapping relationship includes a correspondence between the base station identifier and the common location information set.
  • the process of acquiring the relevant common location information set by the base station identifier can be implemented conveniently and quickly, and the accurate positioning based on the base station can be realized more quickly, and the speed of the base station based positioning is improved, thereby better satisfying the user's needs and experiences. .
  • FIG. 3 is a schematic flow chart showing a base station-based positioning method according to another embodiment of the present invention.
  • a base station-based positioning method includes the following steps:
  • Step S31 Determine, according to the historical positioning information of the to-be-located terminal, a base station identifier corresponding to the to-be-located terminal and a common location information set related to the base station identifier.
  • the server obtains the motion track information of the terminal to be located according to the historical location information of the terminal to be located, and further determines one or more common ones corresponding to the terminal to be located by learning the historical location information.
  • Step S32 Establish the preset mapping relationship according to the base station identifier corresponding to the to-be-located terminal and the common location information set related to the base station identifier.
  • Step S33 Acquire a current base station identifier of a base station to which the terminal to be located is accessed.
  • Step S34 Search for a preset mapping relationship according to the current base station identifier, to obtain The current base station identifier is related to a common location information set, where the preset mapping relationship includes a correspondence between a base station identifier and a common location information set.
  • Step S35 Select, according to the location information previously uploaded by the terminal to be located, the common location information that meets the predetermined condition from the obtained common location information set as the real-time location information of the terminal to be located.
  • steps S33 to S35 are the same as steps S21 to S23 of the embodiment shown in FIG. 2 and will not be described again.
  • the historical location information of the to-be-located terminal is obtained in advance, and the base station identifier corresponding to the to-be-located terminal and the common location information set related to the base station identifier are determined according to the historical positioning information of the to-be-located terminal. And establishing the preset mapping relationship according to the base station identifier corresponding to the terminal to be located and the common location information set related to the base station identifier.
  • the historical positioning information of the to-be-located terminal includes a plurality of historical location information and a base station identifier associated with each historical location information.
  • step S31 specifically includes the following steps:
  • Step S311 Determine, according to the frequency of occurrence of the identifier of the base station in the historical location information of the to-be-located terminal, the identifier of the base station corresponding to the to-be-located terminal.
  • the step S311 includes: selecting, from the historical location information of the to-be-located terminal, a base station identifier whose appearance frequency is greater than the preset frequency, and using the selected base station identifier as the terminal to be located. Base station identification.
  • the step S311 specifically includes: selecting a preset number of base station identifiers from the historical location information of the to-be-located terminal according to the frequency of occurrence of the base station identifier from high to low, and selecting the selected The base station identifier is used as the base station identifier corresponding to the to-be-located terminal.
  • Step S312 Perform clustering on the historical location information related to the base station identifier corresponding to the to-be-located terminal, and obtain a common location information set related to the base station identifier corresponding to the to-be-located terminal.
  • all base station identifiers corresponding to the to-be-located terminal may be determined according to the frequency of occurrence of the base station identifier in the historical location information of the to-be-located terminal, but each base station identifier may correspond to multiple correlations.
  • the density-based clustering is performed on the historical location information related to the base station identifier corresponding to the positioning terminal, and the weighted average of the location information is used to accurately Obtaining a common location information set related to the base station identifier corresponding to the to-be-located terminal.
  • the identifier of the base station with the high frequency of occurrence is determined as the identifier of the base station corresponding to the to-be-located terminal, and the terminal to be located is determined.
  • clustering, weighting, and the like calculation on the historical location information of the corresponding base station identifier thereby accurately obtaining the base station identifier corresponding to the terminal to be located and the common location information set related to the base station identifier, thereby achieving accurate base station-based accurate positioning more quickly.
  • FIG. 5 is a schematic flow chart showing a base station-based positioning method according to an embodiment of the present invention.
  • a base station-based positioning method includes the following steps:
  • Step S51 Acquire a current base station identifier of a base station to which the terminal to be located is accessed.
  • Step S52 Acquire, according to the current base station identifier, a common location information set corresponding to the current base station identifier.
  • steps S51 to S52 are the same as steps S11 to S12 of the embodiment shown in FIG. 1 and will not be described again.
  • Step S52 Select, according to the distance between the location information previously uploaded by the terminal to be located and the common location information in the common location information set, the common location information corresponding to the minimum distance from the common location information set.
  • the instantaneous location information of the positioning terminal is mentioned.
  • the minimum distance from the common location information set is selected according to the distance between the common location information in the common location information set corresponding to the current base station identifier of the access base station according to the location information previously uploaded by the terminal to be located.
  • the common location information corresponding to the distance is used as the instantaneous location information of the terminal to be located, and the accuracy of the location based on the base station can be further ensured, so as to better meet the user's needs and experiences.
  • the distance is a linear distance or a road surface distance.
  • a linear distance between two points may be used, or The distance between the two points of the road.
  • the straight line distance between two points may be very close, but if you want to move from one point to another, you may need to bypass a mountain or a section of road. Straight line distance cannot be considered.
  • the common location information corresponding to the minimum distance is selected from the common location information set as the instantaneous location of the terminal to be located by determining the linear distance or the road surface distance according to the road condition of the area where the terminal is to be located. information.
  • the accuracy of the base station based positioning can be further ensured to better meet the user's needs and experience.
  • FIG. 6 is a schematic flow chart showing a base station-based positioning method according to an embodiment of the present invention.
  • the base station-based positioning method includes the following steps:
  • Step S61 Acquire a current base station identifier of a base station to which the terminal to be located is located.
  • Step S62 Acquire, according to the current base station identifier, a common location information set corresponding to the current base station identifier.
  • steps S61 to S62 are the same as steps S11 to S12 of the embodiment shown in FIG. 1 and will not be described again.
  • Step S63 Acquire n position information uploaded by the to-be-positioned terminal in the previous n times and an upload time corresponding to each position information, where n is an integer greater than or equal to 2.
  • Step S64 Determine a moving direction of the to-be-located terminal according to the n pieces of location information uploaded in the previous n times and the uploading time corresponding to each location information.
  • Step S65 Extract common location information in the common location information set that meets the moving direction.
  • Step S66 Select one common location information in the extracted common location information that matches the moving direction according to the location information previously uploaded by the to-be-located terminal as the real-time location information of the to-be-located terminal.
  • the n location information uploaded by the terminal to be located in the first time and the upload time corresponding to each location information are obtained, thereby determining the moving direction of the terminal to be located, and further extracting the commonly used location information set according to the
  • the common location information of the to-be-targeted terminal is selected from the commonly used location information that matches the moving direction according to the location information previously uploaded by the terminal to be located.
  • the accuracy of the positioning based on the base station is further ensured by considering the actual moving direction of the terminal to be located, and then selecting the instantaneous location information of the terminal to be located in the common location information that meets the moving direction.
  • FIG. 7 is a schematic block diagram showing the structure of a base station-based positioning apparatus according to an embodiment of the present invention.
  • the base station-based positioning apparatus of the embodiment of the present invention specifically includes a first obtaining unit 701, a second obtaining unit 702, and a selecting unit 703, where:
  • the first acquiring unit 701 is configured to obtain a current base station identifier of a base station to which the terminal to be located is located;
  • the second obtaining unit 702 is configured to acquire, according to the current base station identifier acquired by the first acquiring unit, a common location information set corresponding to the current base station identifier;
  • the selecting unit 703 is configured to select, according to the location information previously uploaded by the terminal to be located, common location information that meets a predetermined condition from the common location information set acquired by the second acquiring unit, as the terminal to be located. Instant location information.
  • the second acquiring unit is specifically configured to search for a preset mapping relationship according to the current base station identifier, to obtain a common location information set related to the current base station identifier, where the preset mapping is performed.
  • the relationship includes the correspondence between the base station identifier and the common location information set.
  • the apparatus further comprises a first determining unit:
  • the first determining unit is configured to determine, according to the historical positioning information of the to-be-located terminal, the corresponding to the to-be-located terminal, before the first acquiring unit acquires the current base station identifier of the base station to which the terminal to be located is located. a base station identifier and a set of common location information related to the base station identifier;
  • the relationship establishing unit is configured to establish the preset mapping relationship according to the base station identifier corresponding to the to-be-located terminal and the common location information set related to the base station identifier.
  • the historical positioning information of the to-be-located terminal includes a plurality of historical location information and a base station identifier associated with each historical location information;
  • the first determining unit specifically includes:
  • a determining module configured to determine, according to a frequency of occurrence of a base station identifier in the historical positioning information of the to-be-located terminal, a base station identifier corresponding to the to-be-located terminal;
  • the clustering module is configured to perform clustering on the historical location information related to the base station identifier corresponding to the to-be-located terminal, and obtain a common location information set related to the base station identifier corresponding to the to-be-located terminal.
  • the determining module is specifically configured to: select, from the historical positioning information of the terminal to be located, a base station identifier whose appearance frequency is greater than a preset frequency, and use the selected base station identifier as the The base station identifier corresponding to the terminal to be located.
  • the determining module is specifically configured to select, according to the historical positioning information of the to-be-located terminal, a preset number of base station identifiers in descending order of the frequency of occurrence of the base station identifier. And selecting the selected base station identifier as the base station identifier corresponding to the to-be-located terminal.
  • the selecting unit is specifically adapted to: according to the distance between the location information previously uploaded by the terminal to be located and the common location information in the common location information set, The common location information corresponding to the minimum distance is selected from the common location information set as the real-time location information of the terminal to be located.
  • the distance is a linear distance or a road surface distance.
  • the device further includes:
  • the third obtaining unit is configured to select, according to the location information previously uploaded by the terminal to be located, the common location information that meets the predetermined condition, as the instant location of the terminal to be located. Obtaining n pieces of position information uploaded by the to-be-positioned terminal in the first n times and an uploading time corresponding to each piece of position information, where n is an integer greater than or equal to 2;
  • a second determining unit configured to determine a moving direction of the to-be-located terminal according to n pieces of position information uploaded in the previous n times and an uploading time corresponding to each piece of position information
  • the selecting unit specifically includes an extracting module and a selecting module:
  • the extracting module is adapted to extract the common location information set that meets the Common location information of the moving direction;
  • the selecting module is configured to select, according to the previously uploaded location information of the to-be-positioned terminal, a common location information in the extracted common location information that meets the moving direction, as the real-time location information of the to-be-located terminal.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • the base station-based positioning method and apparatus obtains the current base station identifier of the base station to which the terminal to be located is located, and obtains the common location information set corresponding to the current base station identifier according to the current base station identifier, and According to the location information previously uploaded by the terminal to be located, the commonly used location information that meets the predetermined condition is selected from the obtained common location information set as the current location information of the terminal to be located, and the terminal to be located that accesses the same base station can only return.
  • the problem of the same location information effectively improves the positioning accuracy based on the base station and improves the user experience.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the website security detection device in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal can It is available for download from an Internet website, or on a carrier signal, or in any other form.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the apparatus in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 8 illustrates a computing device that can implement a base station based positioning method in accordance with the present invention.
  • the computing device conventionally includes a processor 710 and a computer program product or computer readable medium in the form of a memory 720.
  • Memory 720 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • Memory 720 has a storage space 730 that stores program code 731 for performing any of the method steps described above.
  • storage space 730 storing program code may store respective program code 731 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit such as that shown in FIG.
  • the storage unit may have a storage segment or storage space or the like arranged similarly to the storage 720 in the computing device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit stores program code 731' for performing the steps of the method according to the invention, ie program code readable by a processor such as 710, which causes the calculation when the program code is run by the computing device The device performs the method described above Each step in the process.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明涉及一种基于基站的定位方法及装置,所述方法包括:获取待定位终端所接入基站的当前基站标识;根据所述当前基站标识,获取所述当前基站标识对应的常用位置信息集合;根据所述待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息。本发明的技术方案,通过设置基站标识对应的常用位置信息集合,并根据待定位终端前一次上传的位置信息从常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息,有效地提高了基于基站的定位精度。

Description

一种基于基站的定位方法及装置 技术领域
本发明涉及计算机网络技术领域,具体而言,涉及一种基于基站的定位方法及装置。
背景技术
传统的基于基站的定位方法,待定位终端设备通过当前接入的基站对其进行定位,然后将该基站对应的定位坐标作为待定位终端设备的位置。但是,传统的基于基站的定位方法,针对接入同一个基站的智能待定位终端设备只能返回同一个位置信息,即对于同一基站覆盖范围内,对于处于不同的位置的智能待定位终端设备,返回的位置信息相同,导致定位结果存在很大的误差,影响用户体验。综上,需要提供一种准确的基于基站的定位方法,以提高基站的定位精度。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决或者减缓上述问题的基于基站的定位方法及装置,有效地提高了基于基站的定位精度。
根据本发明的一个方面,提供了一种基于基站的定位方法,所述方法包括:获取待定位终端所接入基站的当前基站标识;根据所述当前基站标识,获取所述当前基站标识对应的常用位置信息集合;根据所述待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息。
根据本发明的另一个方面,提供了一种基于基站的定位装置,所述装置包括:第一获取单元,适于获取待定位终端所接入基站的 当前基站标识;第二获取单元,适于根据所述第一获取单元获取的当前基站标识,获取所述当前基站标识对应的常用位置信息集合;选取单元,适于根据所述待定位终端前一次上传的位置信息从所述第二获取单元获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息。
根据本发明的另一个方面,提供了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行如上文所述的方法。
根据本发明的另一个方面,提供了一种计算机可读介质,其中存储了如上文所述的计算机程序。
本发明提供的基于基站的定位方法及装置,通过获取待定位终端所接入基站的当前基站标识,根据当前基站标识,获取当前基站标识对应的常用位置信息集合,并根据待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为待定位终端的即时位置信息,解决了接入同一个基站的待定位终端只能返回同一个位置信息的问题,有效地提高了基于基站的定位精度。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示意性示出了本发明一个实施例的基于基站的定位方法的流 程示意图;
图2示意性示出了本发明另一实施例的基于基站的定位方法的流程示意图;
图3示意性示出了本发明另一实施例的基于基站的定位方法的流程示意图;
图4示意性示出了本发明实施例的基于基站的定位方法中步骤S31的细分流程示意图;
图5示意性示出了本发明另一实施例的基于基站的定位方法的流程示意图;
图6示意性示出了本发明另一实施例的基于基站的定位方法的流程示意图;
图7示意性示出了本发明一个实施例的基于基站的定位装置的结构示意图;
图8示出了用于执行根据本发明的方法的计算设备的框图;以及
图9示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元示意图。
具体实施方式
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。
本技术领域技术人员可以理解,除非另外定义,这里使用的所有 术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非被特定定义,否则不会用理想化或过于正式的含义来解释。
为了解决现有技术中接入同一个基站的待定位终端只能返回同一个位置信息,导致基于基站的定位不准确的问题,本发明实施例提出了一种基于基站的定位方法,包括:获取待定位终端所接入基站的当前基站标识;根据所述当前基站标识,获取所述当前基站标识对应的常用位置信息集合;根据所述待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息。本发明实施例有效地提高了基于基站的定位精度,提升用户体验。
图1示意性示出了本发明一个实施例的基于基站的定位方法的流程示意图。
参照图1,本发明实施例的基于基站的定位方法包括以下步骤:
步骤S11、获取待定位终端所接入基站的当前基站标识。
需要说明的是,本实施例中的待定位终端为智能手表、智能手环等智能设备,当然,还可为其他具有基于基站进行定位功能的智能设备和移动终端,如手机、平板电脑、掌上电脑PDA或笔记本等,本发明对此不加以限制。
其中,当前基站标识为待定位终端当前接入的基站对应的基站标识,所述基站标识用于唯一标示基站。具体的,所述基站标识可以为基站的身份标识码(Identity,简称id)、硬件地址(Media Access Control,简称MAC)等信息中的一种或多种。
步骤S12、根据所述当前基站标识,获取所述当前基站标识对应的常用位置信息集合。
需要说明的是,本实施例中的常用位置信息集合为针对具体基站的常用位置信息的集合,可包括一个或多个具体的位置信息。具体的,常用位置信息可以为待定位终端经常活动或停留的地点对应的位置信息。
在具体实现中,常用位置信息集合中的常用位置信息,可采用实际的位置坐标,也可采用实际的位置坐标对应的标志性的建筑物名称的方式实现。
需要说明的是,上面提到的常用位置信息集合中的常用位置信息的实现方式仅是举例,除了上述情况之外还可以包括其他的情况。本发明不需要对具体根据怎样的模式实现常用位置信息的具体表现形式进行限定,本领域技术人员需要根据实际应用进行设置。
在一个具体示例中,如,对于一个学龄儿童,其所述具有的智能手表即作为待定位终端。其可以对应有多个常用的基站,每一常用的基站均对应有常用位置信息集合。例如,从家到学校的路上,可能会经过家-早餐店-公园-少年宫-图书大厦-学校。其中,家、早餐店和公园组成第一基站对应的常用位置信息集合,少年宫、图书大厦和学校组成第二基站对应的常用位置信息集合。
步骤S13、根据所述待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息。
需要说明的是,所述即时位置信息即对待定位终端进行定位时对应的实时位置信息。
在具体实现中,服务端会不断的对待定位终端进行定位,当待定位终端处于室外时,可优先通过GPS对待定位终端进行定位,当待定位终端处于室内时,可优选通过wifi对待定位终端进行定位,进而保证在有GPS信号或wifi时,优先采用定位精度高的方式实现对待定位终端的定位。当由于信号问题,无法通过GPS信号或wifi 进行定位时,从待定位终端前一次上传的位置信息中获取终端当前接入基站的基站标识,进而确定该基站标识对应的常用位置信息集合,并根据待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息。进而保证在无法通过GPS信号或wifi进行定位时,能够通过基站对待定位终端进行准确的定位。
本发明实施例提供的基于基站的定位方法,通过获取待定位终端所接入基站的当前基站标识,根据当前基站标识,获取当前基站标识对应的常用位置信息集合,并根据待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为待定位终端的即时位置信息,解决了接入同一个基站的待定位终端只能返回同一个位置信息的问题,有效地提高了基于基站的定位精度。
图2示意性示出了本发明另一实施例的基于基站的定位方法的流程示意图。
参照图2,本发明实施例的基于基站的定位方法包括以下步骤:
步骤S21、获取待定位终端所接入基站的当前基站标识。
需要说明的是,步骤S21与图1所示的实施方式的步骤S11相同,在此不再赘述。
步骤S22、根据所述当前基站标识查找预设映射关系,以获取所述当前基站标识相关的常用位置信息集合,所述预设映射关系中包括基站标识与常用位置信息集合之间的对应关系。
可理解的是,所述映射关系,可通过关系表或关系数据库实现。在一个具体示例中,以关系表的方式实现基站标识与相关的常用位置信息集合之间的对应关系,其中,基站标识可以为基站的身份标识码(Identity,简称id)、硬件地址(Media Access Control,简称MAC)等信息中的一种或多种。
步骤S23、根据所述待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息。
需要说明的是,步骤S23与图1所示的实施方式的步骤S13相同,在此不再赘述。
本发明实施例提供的基于基站的定位方法,获取到待定位终端所接入基站的当前基站标识后,通过根据当前基站标识查找预设映射关系,以获取当前基站标识相关的常用位置信息集合,其中,预设映射关系为预先根据历史定位信息生成的,预设映射关系中包括基站标识与常用位置信息集合之间的对应关系。进而,可以根据方便快捷的实现由基站标识获取相关的常用位置信息集合的过程,更加快速的实现基于基站的准确定位,提高了基于基站的定位的速度,从而更好地满足用户的需求和体验。
图3示意性示出了本发明另一实施例的基于基站的定位方法的流程示意图。
参照图3,本发明实施例的基于基站的定位方法包括以下步骤:
步骤S31、根据所述待定位终端的历史定位信息,确定所述待定位终端对应的基站标识以及与所述基站标识相关的常用位置信息集合。
在具体应用中,服务端通过根据所述待定位终端的历史定位信息,可以得到待定位终端的运动轨迹信息,进而通过对历史定位信息的学习,确定待定位终端对应的常用的一个或多个基站的基站标识以及与每一基站标识相关的常用位置信息集合。
步骤S32、根据所述待定位终端对应的基站标识以及与所述基站标识相关的常用位置信息集合建立所述预设映射关系。
步骤S33、获取待定位终端所接入基站的当前基站标识。
步骤S34、根据所述当前基站标识查找预设映射关系,以获取 所述当前基站标识相关的常用位置信息集合,所述预设映射关系中包括基站标识与常用位置信息集合之间的对应关系。
步骤S35、根据所述待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息。
需要说明的是,步骤S33~S35与图2所示的实施方式的步骤S21~S23相同,在此不再赘述。
本发明实施例,通过预先获取待定位终端的历史定位信息,进而根据所述待定位终端的历史定位信息,确定所述待定位终端对应的基站标识以及与所述基站标识相关的常用位置信息集合,并根据待定位终端对应的基站标识以及与所述基站标识相关的常用位置信息集合建立所述预设映射关系。进而准确的得到待定位终端对应的基站标识以及与所述基站标识相关的常用位置信息集合,并通过映射关系的方式实现基站标识以及与所述基站标识相关的常用位置信息集合的管理,不仅可以根据方便快捷的实现由基站标识获取相关的常用位置信息集合的过程,更加快速的实现基于基站的准确定位,而且通过历史定位信息来确定常用位置信息集合,保证了基于基站的定位的精度,从而更好地满足用户的需求和体验。
根据本发明的一个优选实施例,所述待定位终端的历史定位信息中包括多个历史位置信息以及每一历史位置信息相关的基站标识。
进一步地,所述步骤S31,如图4所示,具体包括以下步骤:
步骤S311、根据所述待定位终端的历史定位信息中基站标识出现的频率,确定所述待定位终端对应的基站标识。
在本发明的一个可选实施例,步骤S311具体包括:从所述待定位终端的历史定位信息中选取出现频率大于预设频率的基站标识,并将选取的基站标识作为所述待定位终端对应的基站标识。
在本发明的一个可选实施例,步骤S311具体包括:从所述待定位终端的历史定位信息中按照基站标识出现频率从高到低的顺序依次选取预设数量的基站标识,并将选取的基站标识作为所述待定位终端对应的基站标识。
步骤S312、对所述待定位终端对应的基站标识相关的历史位置信息进行聚类,得到与所述待定位终端对应的基站标识相关的常用位置信息集合。
在实际用于中,根据步骤S311,可以根据待定位终端的历史定位信息中基站标识出现的频率,确定出待定位终端对应的所有基站标识,但是,其中每一基站标识可能对应有多个相关的历史位置信息,为了保证基于基站的定位的准确性,本步骤中,通过对待定位终端对应的基站标识相关的历史位置信息进行基于密度的聚类,并通过对位置信息进行加权平均,进而准确的得到与所述待定位终端对应的基站标识相关的常用位置信息集合。
本发明实施例,首先根据所述待定位终端的历史定位信息中基站标识出现的频率,将出现频率高的基站标识确定为所述待定位终端对应的基站标识,并通过对所述待定位终端对应的基站标识相关的历史位置信息进行聚类、加权等计算,进而准确的得到待定位终端对应的基站标识以及与所述基站标识相关的常用位置信息集合,更加快速的实现基于基站的准确定位,提高基于基站的定位的速度,从而更好地满足用户的需求和体验。
图5示意性示出了本发明一个实施例的基于基站的定位方法的流程示意图。
参照图5,本发明实施例的基于基站的定位方法包括以下步骤:
步骤S51、获取待定位终端所接入基站的当前基站标识。
步骤S52、根据所述当前基站标识,获取所述当前基站标识对应的常用位置信息集合。
需要说明的是,步骤S51~S52与图1所示的实施方式的步骤S11~S12相同,在此不再赘述。
步骤S52、根据所述待定位终端前一次上传的位置信息与所述常用位置信息集合中各常用位置信息之间的距离,从所述常用位置信息集合中选取最小距离对应的常用位置信息作为所述待定位终端的即时位置信息。
本实施例中,通过根据待定位终端前一次上传的位置信息与接入基站的当前基站标识对应的常用位置信息集合中各常用位置信息之间的距离,从所述常用位置信息集合中选取最小距离对应的常用位置信息作为所述待定位终端的即时位置信息,可以进一步保证基于基站的定位的准确度,从而更好地满足用户的需求和体验。
进一步地,所述距离为直线距离或路面距离。
本实施例中,在进行待定位终端前一次上传的位置信息与所述常用位置信息集合中各常用位置信息之间的距离的确定过程中,可采用两点之间的直线距离,也可采用两点之间的路面距离。
可理解的,对于一些交通道路复杂的地区,可能两点之间的直线距离非常近,但是,若要想要从一点移动到另一点可能需要绕过一座山或是一段路才可以,因此,不能考虑直线距离。
本发明实施例,通过根据待定位终端所在区域的道路状况确定采用直线距离或路面距离的方式,从所述常用位置信息集合中选取最小距离对应的常用位置信息作为所述待定位终端的即时位置信息。可以进一步保证基于基站的定位的准确度,从而更好地满足用户的需求和体验。
图6示意性示出了本发明一个实施例的基于基站的定位方法的流程示意图。
参照图6,本发明实施例的基于基站的定位方法包括以下步骤:
步骤S61、获取待定位终端所接入基站的当前基站标识。
步骤S62、根据所述当前基站标识,获取所述当前基站标识对应的常用位置信息集合。
需要说明的是,步骤S61~S62与图1所示的实施方式的步骤S11~S12相同,在此不再赘述。
步骤S63、获取所述待定位终端在前n次上传的n个位置信息以及每一位置信息对应的上传时间,其中,n为大于或等于2的整数。
步骤S64、根据前n次上传的n个位置信息以及每一位置信息对应的上传时间确定所述待定位终端的移动方向。
步骤S65、提取所述常用位置信息集合中符合所述移动方向的常用位置信息;
步骤S66、根据所述待定位终端前一次上传的位置信息在提取的符合所述移动方向的常用位置信息中选取一个常用位置信息作为所述待定位终端的即时位置信息。
本发明实施例,通过获取待定位终端在前n次上传的n个位置信息以及每一位置信息对应的上传时间,进而确定出待定位终端的移动方向,进一步提取常用位置信息集合中符合所述移动方向的常用位置信息,并根据所述待定位终端前一次上传的位置信息在提取的符合所述移动方向的常用位置信息中选取一个常用位置信息作为所述待定位终端的即时位置信息。
本发明实施例,通过考虑到待定位终端的实际移动方向,进而在符合所述移动方向的常用位置信息中选取待定位终端的即时位置信息,进一步保证基于基站的定位的准确度。
对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是 本发明实施例所必须的。
图7示意性示出了本发明一个实施例的基于基站的定位装置的结构示意图。
参照图7,本发明实施例的基于基站的定位装置具体包括第一获取单元701、第二获取单元702以及选取单元703,其中:
所述的第一获取单元701,适于获取待定位终端所接入基站的当前基站标识;
所述的第二获取单元702,适于根据所述第一获取单元获取的当前基站标识,获取所述当前基站标识对应的常用位置信息集合;
所述的选取单元703,适于根据所述待定位终端前一次上传的位置信息从所述第二获取单元获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息。
在本发明的一个优选实施例中,所述第二获取单元具体适于根据所述当前基站标识查找预设映射关系,以获取所述当前基站标识相关的常用位置信息集合,所述预设映射关系中包括基站标识与常用位置信息集合之间的对应关系。
在本发明的一个优选实施例中,所述装置还包括第一确定单元:
所述的第一确定单元,适于在所述第一获取单元获取待定位终端所接入基站的当前基站标识之前,根据所述待定位终端的历史定位信息,确定所述待定位终端对应的基站标识以及与所述基站标识相关的常用位置信息集合;
关系建立单元,适于根据所述待定位终端对应的基站标识以及与所述基站标识相关的常用位置信息集合建立所述预设映射关系。
在本发明的一个优选实施例中,所述待定位终端的历史定位信息中包括多个历史位置信息以及每一历史位置信息相关的基站标识;
相应地,所述第一确定单元,具体包括:
确定模块,适于根据所述待定位终端的历史定位信息中基站标识出现的频率,确定所述待定位终端对应的基站标识;
聚类模块,适于对所述待定位终端对应的基站标识相关的历史位置信息进行聚类,得到与所述待定位终端对应的基站标识相关的常用位置信息集合。
在本发明的一个可选实施例中,所述确定模块,具体适于从所述待定位终端的历史定位信息中选取出现频率大于预设频率的基站标识,并将选取的基站标识作为所述待定位终端对应的基站标识。
在本发明的一个可选实施例中,所述确定模块,具体适于从所述待定位终端的历史定位信息中按照基站标识出现频率从高到低的顺序依次选取预设数量的基站标识,并将选取的基站标识作为所述待定位终端对应的基站标识。
在本发明的一个优选实施例中,所述选取单元,具体适于根据所述待定位终端前一次上传的位置信息与所述常用位置信息集合中各常用位置信息之间的距离,从所述常用位置信息集合中选取最小距离对应的常用位置信息作为所述待定位终端的即时位置信息。
其中,所述距离为直线距离或路面距离。
在本发明的一个优选实施例中,所述装置还包括:
第三获取单元,适于在所述选取单元根据所述待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息之前,获取所述待定位终端在前n次上传的n个位置信息以及每一位置信息对应的上传时间,其中,n为大于或等于2的整数;
第二确定单元,适于根据前n次上传的n个位置信息以及每一位置信息对应的上传时间确定所述待定位终端的移动方向;
相应地,所述选取单元,具体包括提取模块和选取模块:
所述的提取模块,适于提取所述常用位置信息集合中符合所述 移动方向的常用位置信息;
所述的选取模块,适于根据所述待定位终端前一次上传的位置信息在提取的符合所述移动方向的常用位置信息中选取一个常用位置信息作为所述待定位终端的即时位置信息。
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
综上所述,本发明实施例提供的基于基站的定位方法及装置,通过获取待定位终端所接入基站的当前基站标识,根据当前基站标识,获取当前基站标识对应的常用位置信息集合,并根据待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为待定位终端的即时位置信息,解决了接入同一个基站的待定位终端只能返回同一个位置信息的问题,有效地提高了基于基站的定位精度,提升用户体验。
应当注意,在此提供的算法和公式不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示例一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本发明并帮助理解本发明各个方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法和装置解释成反映如下意图:即所要求 保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如权利要求书所反映,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的网站安全检测设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可 以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的装置的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图8示出了可以实现根据本发明的基于基站的定位方法的计算设备。该计算设备传统上包括处理器710和以存储器720形式的计算机程序产品或者计算机可读介质。存储器720可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器720具有存储用于执行上述方法中的任何方法步骤的程序代码731的存储空间730。例如,存储程序代码的存储空间730可以存储分别用于实现上面的方法中的各种步骤的各个程序代码731。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为例如图9所示的便携式或者固定存储单元。该存储单元可以具有与图8的计算设备中的存储器720类似布置的存储段或者存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元存储有用于执行根据本发明的方法步骤的程序代码731’,即可以由例如诸如710之类的处理器读取的程序代码,当这些程序代码由计算设备运行时,导致该计算设备执行上面所描述的方法 中的各个步骤。
以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (20)

  1. 一种基于基站的定位方法,包括:
    获取待定位终端所接入基站的当前基站标识;
    根据所述当前基站标识,获取所述当前基站标识对应的常用位置信息集合;
    根据所述待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息。
  2. 如权利要求1所述的方法,其中,所述根据所述当前基站标识,获取所述当前基站标识对应的常用位置信息集合,具体包括:
    根据所述当前基站标识查找预设映射关系,以获取所述当前基站标识相关的常用位置信息集合,所述预设映射关系中包括基站标识与常用位置信息集合之间的对应关系。
  3. 如权利要求2所述的方法,其中,在所述获取待定位终端所接入基站的当前基站标识之前,所述方法还包括:
    根据所述待定位终端的历史定位信息,确定所述待定位终端对应的基站标识以及与所述基站标识相关的常用位置信息集合;
    根据所述待定位终端对应的基站标识以及与所述基站标识相关的常用位置信息集合建立所述预设映射关系。
  4. 如权利要求3所述的方法,其中,所述待定位终端的历史定位信息中包括多个历史位置信息以及每一历史位置信息相关的基站标识;
    相应地,所述根据所述待定位终端的历史定位信息,确定所述待定位终端对应的基站标识以及与所述基站标识相关的常用位置信息集合,具体包括:
    根据所述待定位终端的历史定位信息中基站标识出现的频率,确定所述待定位终端对应的基站标识;
    对所述待定位终端对应的基站标识相关的历史位置信息进行聚类,得到与所述待定位终端对应的基站标识相关的常用位置信息集合。
  5. 如权利要求4所述的方法,其中,所述根据所述待定位终端的历史定位信息中基站标识出现的频率,确定所述待定位终端对应的基站标识,具体包括:
    从所述待定位终端的历史定位信息中选取出现频率大于预设频率的基站标识,并将选取的基站标识作为所述待定位终端对应的基站标识。
  6. 如权利要求4所述的方法,其中,所述根据所述待定位终端的历史定位信息中基站标识出现的频率,确定所述待定位终端对应的基站标识,具体包括:
    从所述待定位终端的历史定位信息中按照基站标识出现频率从高到低的顺序依次选取预设数量的基站标识,并将选取的基站标识作为所述待定位终端对应的基站标识。
  7. 如权利要求1-6任一项所述的方法,其中,所述根据所述待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息,具体包括:
    根据所述待定位终端前一次上传的位置信息与所述常用位置信息集合中各常用位置信息之间的距离,从所述常用位置信息集合中选取最小距离对应的常用位置信息作为所述待定位终端的即时位置信息。
  8. 如权利要求7所述的方法,所述距离为直线距离或路面距离。
  9. 如权利要求1-6任一项所述的方法,其中,在所述根据所述待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置 信息之前,所述方法还包括:
    获取所述待定位终端在前n次上传的n个位置信息以及每一位置信息对应的上传时间,其中,n为大于或等于2的整数;
    根据前n次上传的n个位置信息以及每一位置信息对应的上传时间确定所述待定位终端的移动方向;
    相应地,所述根据所述待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息,具体包括:
    提取所述常用位置信息集合中符合所述移动方向的常用位置信息;
    根据所述待定位终端前一次上传的位置信息在提取的符合所述移动方向的常用位置信息中选取一个常用位置信息作为所述待定位终端的即时位置信息。
  10. 一种基于基站的定位装置,包括:
    第一获取单元,适于获取待定位终端所接入基站的当前基站标识;
    第二获取单元,适于根据所述第一获取单元获取的当前基站标识,获取所述当前基站标识对应的常用位置信息集合;
    选取单元,适于根据所述待定位终端前一次上传的位置信息从所述第二获取单元获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息。
  11. 如权利要求10所述的装置,其中,所述第二获取单元具体适于根据所述当前基站标识查找预设映射关系,以获取所述当前基站标识相关的常用位置信息集合,所述预设映射关系中包括基站标识与常用位置信息集合之间的对应关系。
  12. 如权利要求11所述的装置,其中,还包括:
    第一确定单元,适于在所述第一获取单元获取待定位终端所接 入基站的当前基站标识之前,根据所述待定位终端的历史定位信息,确定所述待定位终端对应的基站标识以及与所述基站标识相关的常用位置信息集合;
    关系建立单元,适于根据所述待定位终端对应的基站标识以及与所述基站标识相关的常用位置信息集合建立所述预设映射关系。
  13. 如权利要求12所述的装置,其中,所述待定位终端的历史定位信息中包括多个历史位置信息以及每一历史位置信息相关的基站标识;
    相应地,所述第一确定单元,具体包括:
    确定模块,适于根据所述待定位终端的历史定位信息中基站标识出现的频率,确定所述待定位终端对应的基站标识;
    聚类模块,适于对所述待定位终端对应的基站标识相关的历史位置信息进行聚类,得到与所述待定位终端对应的基站标识相关的常用位置信息集合。
  14. 如权利要求13所述的装置,其中,所述确定模块,具体适于从所述待定位终端的历史定位信息中选取出现频率大于预设频率的基站标识,并将选取的基站标识作为所述待定位终端对应的基站标识。
  15. 如权利要求13所述的装置,其中,所述确定模块,具体适于从所述待定位终端的历史定位信息中按照基站标识出现频率从高到低的顺序依次选取预设数量的基站标识,并将选取的基站标识作为所述待定位终端对应的基站标识。
  16. 如权利要求10-15任一项所述的装置,其中,所述选取单元,具体适于根据所述待定位终端前一次上传的位置信息与所述常用位置信息集合中各常用位置信息之间的距离,从所述常用位置信息集合中选取最小距离对应的常用位置信息作为所述待定位终端的即时位置信息。
  17. 如权利要求16所述的装置,所述距离为直线距离或路面距离。
  18. 如权利要求10-15任一项所述的装置,其中,还包括:
    第三获取单元,适于在所述选取单元根据所述待定位终端前一次上传的位置信息从获取的常用位置信息集合中选取符合预定条件的常用位置信息以作为所述待定位终端的即时位置信息之前,获取所述待定位终端在前n次上传的n个位置信息以及每一位置信息对应的上传时间,其中,n为大于或等于2的整数;
    第二确定单元,适于根据前n次上传的n个位置信息以及每一位置信息对应的上传时间确定所述待定位终端的移动方向;
    相应地,所述选取单元,具体包括:
    提取模块,适于提取所述常用位置信息集合中符合所述移动方向的常用位置信息;
    选取模块,适于根据所述待定位终端前一次上传的位置信息在提取的符合所述移动方向的常用位置信息中选取一个常用位置信息作为所述待定位终端的即时位置信息。
  19. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行如权利要求1-9中的任一项权利要求所述的方法。
  20. 一种计算机可读介质,其中存储了如权利要求19所述的计算机程序。
PCT/CN2016/104569 2015-12-23 2016-11-04 一种基于基站的定位方法及装置 WO2017107678A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510977833.8 2015-12-23
CN201510977833.8A CN106912102A (zh) 2015-12-23 2015-12-23 一种基于基站的定位方法及装置

Publications (1)

Publication Number Publication Date
WO2017107678A1 true WO2017107678A1 (zh) 2017-06-29

Family

ID=59088950

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/104569 WO2017107678A1 (zh) 2015-12-23 2016-11-04 一种基于基站的定位方法及装置

Country Status (2)

Country Link
CN (1) CN106912102A (zh)
WO (1) WO2017107678A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756837B (zh) * 2017-11-03 2020-11-24 滴图(北京)科技有限公司 定位方法及装置
CN110800274A (zh) 2017-07-07 2020-02-14 北京嘀嘀无限科技发展有限公司 确定终端设备位置的系统和方法
CN108668224B (zh) * 2018-05-15 2021-01-15 北京三快在线科技有限公司 基站位置确定方法、装置、服务器及存储介质
CN111542113A (zh) * 2020-05-09 2020-08-14 清华大学 定位方法、定位以及地图构建方法、装置、可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820677A (zh) * 2010-04-14 2010-09-01 中兴通讯股份有限公司 一种移动终端的定位方法和移动定位中心
CN102111871A (zh) * 2009-12-23 2011-06-29 中国移动通信集团公司 基于小区标识定位技术的终端定位方法及装置
CN103067852A (zh) * 2011-10-21 2013-04-24 北京百度网讯科技有限公司 一种移动终端定位方法及装置
US20150215890A1 (en) * 2014-01-27 2015-07-30 Fujitsu Limited Wireless terminal device and method for outputting location information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144493B (zh) * 2013-05-10 2018-05-15 中国电信股份有限公司 定位方法、定位系统以及基站定位平台

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111871A (zh) * 2009-12-23 2011-06-29 中国移动通信集团公司 基于小区标识定位技术的终端定位方法及装置
CN101820677A (zh) * 2010-04-14 2010-09-01 中兴通讯股份有限公司 一种移动终端的定位方法和移动定位中心
CN103067852A (zh) * 2011-10-21 2013-04-24 北京百度网讯科技有限公司 一种移动终端定位方法及装置
US20150215890A1 (en) * 2014-01-27 2015-07-30 Fujitsu Limited Wireless terminal device and method for outputting location information

Also Published As

Publication number Publication date
CN106912102A (zh) 2017-06-30

Similar Documents

Publication Publication Date Title
US10715949B2 (en) Determining timing for determination of applicable geo-fences
CN107798557B (zh) 电子装置、基于lbs数据的服务场所推荐方法及存储介质
WO2017107678A1 (zh) 一种基于基站的定位方法及装置
JP6225257B2 (ja) 関心ポイントのクラスタリング方法及び関連する装置
US10289695B2 (en) Computerized system and method for performing a location-based search
TW201822032A (zh) 虛假地址資訊識別的方法及裝置
CN107389078B (zh) 一种路线推荐方法、装置及计算机可读存储介质
CN108834077B (zh) 基于用户移动特性的跟踪区划分方法、装置及电子设备
WO2017181616A1 (zh) 一种基于地理位置推送视频的方法、推送装置及其服务器
EP3425530A1 (en) Target location search method and apparatus
CN106153031B (zh) 运动轨迹表示方法和装置
US20150089346A1 (en) Address information input method, acquisition method, apparatus, device, and system
CN104239453A (zh) 数据处理方法及装置
CN110610182A (zh) 用户轨迹相似度判断方法和相关装置
CN112653748A (zh) 信息推送的方法、装置、电子设备及可读存储介质
WO2017084282A1 (zh) 一种历史浏览记录的排序方法及系统
CN103176800A (zh) 应用程序登录方法及装置
CN109699003B (zh) 位置确定方法及装置
CN114120221A (zh) 基于深度学习的环境核查方法、电子设备及存储介质
US20170094022A1 (en) Systems and methods for fingerprinting operating systems and software applications based on network resource access pattern
CN110019863B (zh) 一种物体查找方法、装置、终端设备和存储介质
WO2017107403A1 (zh) 电子书更新章节的调度方法和装置
CN110324292B (zh) 身份验证装置、身份验证方法及计算机存储介质
TWI668587B (zh) 身份驗證裝置、身份驗證方法及電腦存儲介質
WO2016191917A1 (zh) 位置伪装方法、装置及系统

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

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

Country of ref document: EP

Kind code of ref document: A1