WO2016045462A1 - 一种定位方法及电子设备 - Google Patents

一种定位方法及电子设备 Download PDF

Info

Publication number
WO2016045462A1
WO2016045462A1 PCT/CN2015/086938 CN2015086938W WO2016045462A1 WO 2016045462 A1 WO2016045462 A1 WO 2016045462A1 CN 2015086938 W CN2015086938 W CN 2015086938W WO 2016045462 A1 WO2016045462 A1 WO 2016045462A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
geomagnetic
information
information group
geomagnetic information
Prior art date
Application number
PCT/CN2015/086938
Other languages
English (en)
French (fr)
Inventor
赵清伟
马其锋
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP15844279.8A priority Critical patent/EP3182773A4/en
Publication of WO2016045462A1 publication Critical patent/WO2016045462A1/zh
Priority to US15/463,014 priority patent/US9913243B2/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
    • H04W64/003Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0257Hybrid positioning
    • G01S5/0263Hybrid positioning by combining or switching between positions derived from two or more separate positioning systems
    • G01S5/0264Hybrid positioning by combining or switching between positions derived from two or more separate positioning systems at least one of the systems being a non-radio wave positioning system
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/04Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by terrestrial means
    • G01C21/08Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by terrestrial means involving use of the magnetic field of the earth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • 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 communications technologies, and in particular, to a positioning method and an electronic device.
  • Location services have evolved into an important public service in people's daily lives.
  • the core technology lies in location technology.
  • the current mainstream positioning technologies include: Global Position System (GPS) technology using positioning satellites for positioning, and CELL ID positioning technology for determining the location of the terminal by acquiring the cell identification code (CELL ID) of the terminal to be located.
  • GPS Global Position System
  • CELL ID cell identification code
  • WIFI Wireless Fidelity
  • geomagnetic positioning technology the theoretical basis of geomagnetic positioning technology is: the geomagnetic field strength of any location on the earth is different, and the geomagnetic field strength corresponds to the latitude and longitude, so as long as the location of the location of the terminal to be located is measured. With the strength of the magnetic field, positioning can be achieved.
  • GPS technology and positioning technology using active signal devices rely heavily on the signal source.
  • the signal is poor or unstable, there is a discontinuity that does not provide a stable positioning service.
  • the CELL ID positioning technology is stable, the positioning accuracy is low, and only the cell-range positioning accuracy can be provided.
  • geomagnetic information may be interfered by the surface form, geomagnetic information of multiple locations may be similar or equal, so the geomagnetic positioning technology has low positioning accuracy.
  • the existing positioning technology has technical problems that cannot be balanced in positioning stability, positioning accuracy, and positioning accuracy.
  • the invention provides a positioning method for solving the technical problem that the existing positioning technology can not balance the positioning stability, the positioning accuracy and the positioning accuracy.
  • a positioning method comprising:
  • obtaining the geographical location information of the to-be-located terminal according to the geomagnetic information group of the to-be-located terminal includes:
  • obtaining the geographical location information of the to-be-located terminal according to the geomagnetic information group of the to-be-located terminal includes:
  • a location information set corresponding to a cell identifier of the to-be-located terminal receives, by the positioning server, a location information set corresponding to a cell identifier of the to-be-located terminal, where the location information set includes at least one geomagnetic information group and at least one geographic location information corresponding to the at least one geomagnetic information group ;
  • Determining, in the at least one geographic location information, geographic location information corresponding to the matching geomagnetic information group is geographic location information of the to-be-located terminal.
  • obtaining the geographical location information of the to-be-located terminal according to the geomagnetic information group of the to-be-located terminal includes:
  • a fourth possible implementation manner according to the cell identifier of the to-be-located terminal Determining at least one neighboring terminal of the terminal to be located, including:
  • the context information is one or more of a wireless fidelity identifier, a Bluetooth identifier, and a global positioning system parameter. Combination of species.
  • acquiring geomagnetic information of a location of each of the at least one neighboring terminal and geomagnetic information of a location of the to-be-located terminal, to generate the The geomagnetic information group of the terminal to be located including:
  • a seventh possible implementation after obtaining the geographical location information of the to-be-located terminal according to the geomagnetic information group of the to-be-located terminal, include:
  • a positioning method including:
  • the geomagnetic information group comprising geomagnetic information of a location where the terminal is located and geomagnetic information of a location where the terminal to be located is located, wherein the neighboring terminal is a cell identification code and the a terminal with the same cell identification code of the terminal to be located;
  • a positioning method including:
  • a location information set corresponding to the cell identification code from a pre-stored geomagnetic database, the location information set including at least one geomagnetic information group and at least corresponding to the at least one geomagnetic information group a geographical location information;
  • a positioning method including:
  • a location information set corresponding to the cell identification code from a pre-stored geomagnetic database, the location information set including at least one geomagnetic information group and at least corresponding to the at least one geomagnetic information group a geographical location information;
  • an electronic device including:
  • a processor configured to acquire a cell identifier of the terminal to be located; determine, according to the cell identifier of the terminal to be located, at least one neighboring terminal of the to-be-located terminal, and each of the at least one neighboring terminal The cell identifier is the same as the cell identifier of the terminal to be located;
  • a transceiver configured to acquire geomagnetic information of a location of each of the at least one neighboring terminal determined by the processor and geomagnetic information of a location where the terminal to be located is located, to generate the to-be-positioned terminal And acquiring the geographical location information of the terminal to be located according to the geomagnetic information group of the terminal to be located.
  • the transceiver is further configured to:
  • the transceiver is further configured to: send a cell identifier of the terminal to be located to a positioning server; and receive, by the positioning server, the terminal to be located a location information set corresponding to the cell identifier, the location information set including at least one geomagnetic information group and at least one geographic location information corresponding to the at least one geomagnetic information group;
  • the processor is further configured to: determine, from the at least one geomagnetic information group, a matching geomagnetic information group that matches a geomagnetic information group of the to-be-located terminal; determine, in the at least one geographic location information, the matching The geographical location information corresponding to the geomagnetic information group is the geographical location information of the terminal to be located.
  • the transceiver is further configured to: send a cell identifier of the terminal to be located, and a geomagnetic information group of the terminal to be located to a positioning server; Geolocation information corresponding to the matching geomagnetic information group matched by the geomagnetic information group of the to-be-located terminal returned by the positioning server;
  • the processor is further configured to determine that the geographical location information corresponding to the matched geomagnetic information group is the geographical location information of the to-be-located terminal.
  • the processor is further used In:
  • the neighboring terminal forms at least one neighboring terminal of the terminal to be located.
  • the context information is one or more of a wireless fidelity identifier, a Bluetooth identifier, and a global positioning system parameter. Combination of species.
  • the transceiver is further configured to acquire geomagnetic information of a location of each of the at least one neighboring terminal and a location of the to-be-located terminal Geomagnetic information, composing a pre-geomagnetic information group, and transmitting the pre-geomagnetic information group to the processor;
  • the processor is further configured to receive the pre-geomagnetic information group sent by the transceiver, and determine, from the pre-geomagnetic information group, a vertical component value and a vertical direction of geomagnetic information of a location where the terminal to be located is located.
  • the geomagnetic information whose difference value of the component values is smaller than a preset threshold constitutes a geomagnetic information group of the terminal to be located.
  • the processor is further configured to:
  • a positioning server including:
  • a transceiver configured to receive a geomagnetic information group sent by the terminal to be located, and send the geomagnetic information group to a processor, where the geomagnetic information group includes geomagnetic information of a location adjacent to the terminal and a location of the terminal to be located Geomagnetic information, wherein the neighboring terminal is a terminal whose cell identifier is the same as the cell identifier of the terminal to be located;
  • the processor is configured to determine geographic location information corresponding to the geomagnetic information group according to the geomagnetic information group sent by the transceiver, and control the transceiver to send the geographic location information to the to-be-positioned terminal.
  • a positioning server including:
  • a transceiver configured to receive a cell identifier sent by the terminal to be located, and send the cell identifier to the processor;
  • the processor is configured to determine, according to the cell identifier sent by the transceiver, a location information set corresponding to the cell identifier from a pre-stored geomagnetic database, where the location information set includes at least one geomagnetic information group and At least one geographic location information corresponding to the at least one geomagnetic information group; and controlling the transceiver to send the location information set to the to-be-located terminal.
  • a positioning server including:
  • a transceiver configured to receive a cell identification code sent by the terminal to be located and a geomagnetic information group of the terminal to be located; and send the cell identification code and the geomagnetic information group of the terminal to be located to the processor;
  • the processor is configured to determine, according to the cell identifier, a location information set corresponding to the cell identification code from a pre-stored geomagnetic database, where the location information set includes at least one geomagnetic information group and the at least At least one geographic location information corresponding to a geomagnetic information group; determining, from the at least one geomagnetic information group, a matching geomagnetic information group matching the geomagnetic information group of the to-be-located terminal; from the at least one geographic location information, Determining geographical location information corresponding to the matching geomagnetic information group; and controlling the transceiver to send the geographical location information corresponding to the matching geomagnetic information group to the to-be-located terminal.
  • the neighboring terminal with the same cell identification code and the target cell identifier of the to-be-located terminal is determined by the CELL ID positioning technology with high stability, and then the geomagnetic information of the location where the neighboring terminal is located and the terminal to be located are determined.
  • the geomagnetic information of the location is used as the geomagnetic information group to locate the geographical location information through the geomagnetic positioning technology, which not only continues the stability of the CELL ID positioning technology, but also improves the positioning accuracy through hierarchical positioning.
  • FIG. 1 is a schematic diagram of a system corresponding to a positioning method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a positioning method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a terminal to be located when secondary positioning is performed according to an embodiment of the present invention
  • FIG. 4 is a flowchart of positioning a server side during initial positioning according to an embodiment of the present invention.
  • FIG. 5 is a flowchart 1 of a positioning server side during secondary positioning according to an embodiment of the present invention.
  • FIG. 6 is a second flowchart of a positioning server side during secondary positioning according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a system corresponding to a positioning method according to another embodiment of the present invention.
  • FIG. 8 is a flowchart of a positioning method according to another embodiment of the present invention.
  • FIG. 9 is a flowchart of a positioning method on a positioning server side according to another embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram 1 of a positioning server according to an embodiment of the present invention.
  • FIG. 12 is a second schematic structural diagram of a positioning server according to an embodiment of the present invention.
  • FIG. 13 is a third schematic structural diagram of a positioning server according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of an active signal device according to an embodiment of the present invention.
  • 16 is a schematic diagram of a system corresponding to a communication method according to an embodiment of the present invention.
  • FIG. 17 is a flowchart of a communication method according to an embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of a precision marketing server according to an embodiment of the present invention.
  • FIG. 1 is a system for implementing the positioning method of the present invention, where the system includes: a positioning server, The terminal to be located and the plurality of terminals in the vicinity (for example, the first terminal, the second terminal, and the third terminal, etc., only two terminals are illustrated in FIG. 1), wherein the system may be specifically based on
  • the communication system of the UMTS may also be a Global System For Mobile Communication (GSM)-based communication system, or may be a Long Term Evolution (LTE)-based communication system, or may be based on a code division.
  • GSM Global System For Mobile Communication
  • LTE Long Term Evolution
  • CDMA Code Division Multiple Access
  • TD-SCDMA Time Division-Synchronous Code Division Multiple Access
  • the positioning method includes:
  • Step S201 acquiring a cell identification code of the terminal to be located
  • Step S202 determining, according to the cell identification code of the to-be-located terminal, at least one neighboring terminal of the to-be-located terminal, a cell identifier of each neighboring terminal in the at least one neighboring terminal, and a cell of the to-be-located terminal The same identification code;
  • Step S203 acquiring geomagnetism information of a location of each of the at least one neighboring terminal and geomagnetic information of a location of the to-be-located terminal, to generate a geomagnetic information group of the to-be-located terminal;
  • Step S204 Acquire, according to the geomagnetic information group of the to-be-located terminal, location information of the to-be-located terminal.
  • the positioning method provided in this embodiment may be applied to a terminal such as a mobile phone, a tablet computer, or a smart watch; or may be applied to a positioning server, which is not limited in this embodiment.
  • the positioning method provided in this embodiment may be classified into two situations: initial positioning and secondary positioning.
  • initial positioning is the application of the positioning method to the terminal to be located. Be explained:
  • the area matching the geomagnetic information group of the terminal to be located is determined in the measured geomagnetic information map, and the geographic location information is obtained according to the geodetic coordinate system.
  • the specific implementation steps are as follows:
  • step S201 is performed to obtain the CELL ID of the terminal to be located.
  • the terminal to be located may be in the receiving user to open the positioning application, and After the line location triggering operation, the CELL ID of the terminal to be located is triggered.
  • the CELL ID of the terminal to be located is triggered after the positioning command sent by the remaining devices is received, which is not limited in this embodiment.
  • the Android terminal operating system is installed as an example, and the terminal to be located can call the CellLocation interface to communicate with the server, the base station, or the Radio Network Controller (RNC). Communication, and then get the CELL ID.
  • RNC Radio Network Controller
  • step S202 After the CELL ID of the terminal to be located is obtained, the process proceeds to step S202, and at least one neighboring terminal of the terminal to be located is determined according to the CELL ID of the terminal to be located, and each of the at least one neighboring terminal is determined.
  • the CELL ID of the neighboring terminal is the same as the CELL ID of the terminal to be located.
  • the manner of determining the at least one neighboring terminal may be at least divided into the following two types: determined according to the CELL ID, determined according to the CELL ID and the context information, and respectively described below:
  • the first one is determined by the CELL ID.
  • the terminal that determines that the CELL ID is the same as the CELL ID of the terminal to be located is the at least one neighboring terminal.
  • the terminal to be located may communicate with the server to determine a terminal with the same CELL ID as the CELL ID of the terminal to be located.
  • the terminal to be located sends its own CELL ID to the server.
  • the server queries the storage unit for the context list that includes the CELL ID, or the server communicates with the base station corresponding to the CELL ID to obtain the context list of the terminal corresponding to the CELL ID. Thereby determining the at least one neighboring terminal.
  • the context list can be as shown in Table 1:
  • the at least one neighboring terminal of the terminal Ma to be located determined in Table 1 includes: Mb, Mc, Md, and Me.
  • the terminal that determines that the CELL ID is the same as the CELL ID of the to-be-located terminal is the at least one neighboring terminal. Since the remaining data is not analyzed and processed, the neighboring terminal can be quickly determined to improve the positioning efficiency.
  • the pre-neighboring terminal set may be determined according to the CELL ID, and the context information may be analyzed, and the neighboring terminal is determined from the pre-neighboring terminal set; or the pre-neighboring terminal set may be determined according to the context information, and then according to the CELL. ID, determining a neighboring terminal from a set of pre-neighboring terminals.
  • the specific implementation steps may be:
  • determining at least one pre-adjacent terminal and a method for obtaining context information In the first case, the method for determining the neighboring terminal according to the CELL ID and obtaining the context information of the neighboring terminal is the same, and is not described here.
  • the context information may be a combination of one or more of a WIFI identifier, a Bluetooth identifier, and a GPS parameter.
  • the pre-neighboring terminal that determines that the context information matches the context information of the to-be-located terminal, specifically determines the context information and the location. Pre-proximity terminals with the same context information of the positioning terminal are mentioned.
  • the pre-neighboring terminal that determines that the context information matches the context information of the to-be-located terminal is specifically determined to have a high degree of matching between the context information and the context information of the to-be-located terminal. Pre-adjacent terminal with preset value.
  • the at least the terminal Ma to be located determined in Table 1 is at least A neighboring terminal includes: Mb, Mc, and Md, excluding Me.
  • the at least one neighboring terminal of the terminal Ma to be located determined in Table 1 includes: Mb and Md. Excluding Mc and Me.
  • the specific implementation steps may be:
  • the to-be-located terminal scans and acquires the Bluetooth identifier of the nearby Bluetooth device, confirms that the scanned Bluetooth device is the at least one pre-neighboring terminal, and sends a Bluetooth connection request to the scanned Bluetooth device.
  • the to-be-located terminal scans and acquires the Bluetooth identifier of the nearby Bluetooth device, confirms that the scanned Bluetooth device is the at least one pre-neighboring terminal, and sends a Bluetooth connection request to the scanned Bluetooth device.
  • To establish a Bluetooth communication connection and then send a request to obtain the CELL ID of the scanned Bluetooth device, and determine that the CELL ID is the same as the CELL ID of the terminal to be located.
  • the device is a neighboring terminal.
  • the terminal to be located sends its own GPS parameter to the server, and the server determines that the terminal whose GPS parameter is close to the position indicated by the GPS parameter of the terminal to be located is the at least one pre-adjacent terminal. Sending the CELL ID of the at least one pre-neighboring terminal to the terminal to be located, to determine that the device with the same CELL ID and the CELL ID of the to-be-located terminal is a neighboring terminal.
  • determining the at least one neighboring terminal by combining the CELL ID and the context information can further narrow the range of the neighboring terminal, improve the accuracy of the determined neighboring terminal, and improve the positioning accuracy.
  • step S202 After the at least one neighboring terminal is determined in step S202, the process proceeds to step S203, that is, the geomagnetism information of the location of each of the at least one neighboring terminal and the geomagnetism information of the location of the to-be-located terminal are obtained, Generating a geomagnetic information group of the terminal to be located.
  • the geomagnetism information may include an X-direction component value parallel to the horizontal plane, a Y-direction component value parallel to the horizontal plane, a Z-direction vertical component value perpendicular to the horizontal plane, and a geomagnetic accuracy value, wherein the X-direction component value represents the X-direction
  • the geomagnetism intensity, the Y-direction component value indicates the geomagnetism intensity in the Y direction, the vertical component value indicates the geomagnetism intensity in the Z direction, and the geomagnetism accuracy value indicates the measurement accuracy of the component values in each direction.
  • the geomagnetism information may be ⁇ x, y, z, acc ⁇ , where x is the X-direction component value, y is the Y-direction component value, z is the vertical component value, and acc is the geomagnetism precision value.
  • the geomagnetic information of the location where the terminal to be located is located may be obtained by sensing a geomagnetic sensor disposed on the terminal to be located.
  • the geomagnetic information of the location of each of the at least one neighboring terminal may be obtained by directly communicating with the at least one neighboring terminal through a WIFI connection or a Bluetooth connection, or may be located by the terminal to be located.
  • the terminal is obtained by communicating with the at least one neighboring terminal through a server, which is not limited in this embodiment.
  • the vertical distribution range of the adjacent terminal for positioning may be further narrowed according to the vertical component value in the geomagnetic information, and the specific steps include :
  • the geomagnetic information of the adjacent terminal substantially at the same horizontal plane as the terminal to be located is filtered to form a geomagnetic information group, which further reduces the positioning range and improves the positioning accuracy.
  • step S204 is performed, that is, the geographical location information of the terminal to be located is obtained according to the geomagnetic information group of the terminal to be located.
  • the method for acquiring the geographical location information of the terminal to be located may be: sending the geomagnetic information group of the terminal to be located to the positioning server; and receiving the positioning server based on the terminal to be located. Geomagnetic information group, returned geographical location information of the terminal to be located.
  • the location information of the to-be-located terminal returned by the location server may be that the location server first determines an area matching the geomagnetic information group of the terminal to be located in the measured geomagnetic information map, and then according to the geodetic coordinates. Get the geodetic coordinates and geographic location information of the area.
  • the positioning server may store the cell identification code, the geomagnetic information group, the geodetic coordinates and the geographical location information of the terminal to be located. For use in subsequent positioning processes.
  • the CELL ID positioning technology with high stability is firstly determined to determine the neighboring terminal with the same cell identification code and the target cell identifier of the terminal to be located, and then according to the geomagnetic information of the location of the neighboring terminal.
  • the geomagnetic information of the target location of the terminal to be located generates the geomagnetic information group to locate the geographical location information through the geomagnetic positioning technology, which not only extends the stability of the CELL ID positioning technology, but also improves the positioning accuracy through the hierarchical positioning.
  • the secondary positioning is performed by the geographical location information pre-stored in the previous positioning process.
  • the following is also applied to the terminal to be located as an example to describe the specific implementation steps of the secondary positioning:
  • the secondary positioning also includes the step S201, the step S202, the step S203, and the step S204 in the initial positioning, wherein the geographical location information of the terminal to be located is obtained according to the geomagnetic information group of the terminal to be located in step S204, As shown in Figure 3, it includes:
  • Step S301 sending a cell identification code of the terminal to be located to a positioning server
  • Step S302 receiving a location information set corresponding to the cell identification code of the to-be-located terminal returned by the positioning server, where the location information set includes at least one geomagnetic information group and at least one corresponding to the at least one geomagnetic information group Geographic location information;
  • Step S303 determining, from the at least one geomagnetic information group, a matching geomagnetic information group that matches the geomagnetic information group of the to-be-located terminal;
  • Step S304 determining that the geographical location information corresponding to the matching geomagnetic information group is the geographical location information of the to-be-located terminal in the at least one geographical location information.
  • the matching geomagnetic information group may be the same geomagnetic information group as the geomagnetic information group of the to-be-positioned terminal, or may be the matching degree with the geomagnetic information group of the to-be-located terminal being higher than a threshold.
  • the geomagnetic information group is not limited in this embodiment.
  • the geomagnetic information group is ⁇ x0', y0', z0', acc0' ⁇ , ⁇ x1', y1', z1', acc1' ⁇ , ⁇ x2', y2 ', z2', acc2' ⁇ :
  • the terminal to be located sends the CELL ID to the location server.
  • the positioning server After receiving the CELL ID, the positioning server parses out the CELL ID as c1982, and reads all the geomagnetic information groups corresponding to the c1982 and the corresponding geographical location information from the storage unit, and forms a location information set, and the location is set.
  • the information set is sent to the terminal to be located, and the location information set is as shown in Table 2:
  • the to-be-positioned terminal determines, from the received geomagnetic information group, a matching geomagnetic information group that matches the geomagnetic information group of the to-be-positioned terminal.
  • the geomagnetic information group As the vertical component value of the geomagnetic information, the geomagnetic information group composed of the geomagnetic information of the neighboring terminals which are basically in the same horizontal plane as the terminal to be located is selected as an example, and the specific matching manner is as follows:
  • the X-direction component value and the Y-direction component value of each geomagnetic information group in the position information set are respectively multiplied by the corresponding geomagnetism precision values, and the geomagnetic information group of the position information set obtained by the weight precision is as follows:
  • the matching degree of each group of geomagnetic information groups is calculated separately, as follows:
  • P1 is equal to 0.8 and P2 is equal to 0.72. Because P1 is greater than P2, it is confirmed that the first group of geomagnetic information groups with higher matching degree in Table 2 are matched geomagnetic information groups, thereby determining the geographical position information corresponding to the first group of geomagnetic information groups, that is, The first noodle shop of No. 10 Beijing First Avenue is the geographical location information of the terminal to be located.
  • the terminal to be located may send the geomagnetic information group to the positioning server, and the positioning server side performs matching to match the geomagnetic information group and determine the geographical location information corresponding to the matching geomagnetic information group.
  • the specific steps of the location terminal to obtain the location information of the terminal to be located are as follows:
  • the method for matching the matching geomagnetic information group on the positioning server side is the same as the method for matching the geomagnetic information group to the positioning terminal, and is not described here.
  • the positioning method can also be applied to the positioning server.
  • the specific steps are as follows:
  • step S201 is performed to obtain the CELL ID of the terminal to be located.
  • the positioning server may receive the CELL ID and the positioning request sent by the terminal to be located.
  • step S202 is performed to determine, according to the CELL ID of the to-be-located terminal, at least one neighboring terminal of the to-be-located terminal, a CELL ID of each of the at least one neighboring terminal, and the to-be-located terminal.
  • the positioning server may communicate with the cell base station where the terminal to be located is located to determine the at least one neighboring terminal, and may also read the correspondence between the pre-stored CELL ID and the terminal from the storage unit to determine the location. Said at least one neighboring terminal.
  • step S203 is performed to acquire geomagnetic information of a location of each of the at least one neighboring terminal and geomagnetic information of a location where the terminal to be located is located, to generate a geomagnetic information group of the terminal to be located;
  • the positioning server may obtain the geomagnetic information group by communicating with the at least one neighboring terminal and the to-be-located terminal, or may acquire the geomagnetic information group by communicating with the at least one neighboring terminal by using the to-be-located terminal. .
  • step S204 is performed to acquire geographic location information of the to-be-located terminal according to the geomagnetic information group of the to-be-located terminal.
  • the positioning server may first determine an area matching the geomagnetic information group of the terminal to be located in the measured geomagnetic information map, and then acquire the geodetic coordinates and geographic location information of the area according to the geodetic coordinate system.
  • the positioning server may search for a matching geomagnetic information group matching the geomagnetic information group of the to-be-located terminal from the pre-stored location information set, and determine the geographical location information corresponding to the matching geomagnetic information group.
  • the geographical location information of the positioning terminal is mentioned.
  • the positioning principle of the positioning method applied to the positioning server is basically the same as the positioning principle when the positioning method is applied to the terminal to be located, and will not be described here.
  • the positioning map may be output for the user to accurately locate. That is, after obtaining the geographical location information of the terminal to be located through step S204:
  • the positioning map is output for the user to locate, which not only avoids the complicated operation steps caused by the user self-positioning, but also ensures the positioning accuracy.
  • the positioning method provided by the present application first uses the CELL ID to obtain a large positioning range, and then uses the geomagnetic information of the location of the terminal to be located and its neighboring terminal to perform precise positioning, and can compensate for WIFI on the one hand.
  • the instability of active signal positioning methods such as Bluetooth improves the positioning stability; on the other hand, it compensates for the low accuracy of the CELL ID positioning method and improves the positioning accuracy; on the other hand, the position of the terminal to be located and its neighboring terminal is used.
  • the geomagnetic information is co-located, avoiding the inaccuracy of positioning using a single geomagnetic information, improving the positioning accuracy, and achieving the technical effect of both positioning stability, accuracy and accuracy.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the case where the method provided in the first embodiment is applied to the terminal to be located is described from the positioning server side in the case of the initial positioning and the secondary positioning.
  • FIG. 4 is a flowchart of processing on the positioning server side during initial positioning in the embodiment of the present invention.
  • the positioning method includes:
  • Step S401 Receive a geomagnetic information group sent by a terminal to be located, where the geomagnetic information group includes geomagnetic information of a location where the terminal is located and geomagnetic information of a location where the terminal to be located is located, where the neighboring terminal is a cell identification code. a terminal that is the same as the cell identifier of the terminal to be located;
  • Step S402 determining geographic location information corresponding to the geomagnetic information group according to the geomagnetic information group;
  • Step S403 sending the geographical location information to the terminal to be located.
  • the terminal to be located may be a terminal such as a mobile phone, a tablet computer, or a smart watch, and is not limited in this embodiment.
  • determining the geographic location information corresponding to the geomagnetic information group according to the geomagnetic information group in step S402 may be: the positioning server first determines the geomagnetic information of the terminal to be located in the measured geomagnetic information map. The group matching area, and then obtaining the geodetic coordinates and geographical location information of the area according to the geodetic coordinate system.
  • FIG. 5 is a flowchart 1 of processing on the positioning server side during secondary positioning according to an embodiment of the present invention.
  • the positioning method includes:
  • Step S501 receiving a cell identification code sent by the terminal to be located
  • Step S502 determining, according to the cell identification code, a location information set corresponding to the cell identification code from a pre-stored geomagnetic database, where the location information set includes at least one geomagnetic information group and the at least one geomagnetic information group Corresponding at least one geographical location information;
  • Step S503 sending the location information set to the to-be-located terminal.
  • the terminal to be located may be a terminal such as a mobile phone, a tablet computer, or a smart watch, and is not limited in this embodiment.
  • step S502 determining, from the pre-stored geomagnetic database, the location information set corresponding to the cell identifier may be: after the location server receives the CELL ID, parsing the CELL ID. And reading all the geomagnetic information groups stored corresponding to the value of the CELL ID and the corresponding geographical location information from the storage unit to form a location information set.
  • the terminal to be located may send the geomagnetic information group to the positioning server, and the positioning server side performs matching to match the geomagnetic information group and determine the geographical location information corresponding to the matching geomagnetic information group.
  • the positioning server side performs matching to match the geomagnetic information group and determine the geographical location information corresponding to the matching geomagnetic information group.
  • FIG. 6 is a second flowchart of processing on the positioning server side during secondary positioning according to an embodiment of the present invention.
  • Step S601 receiving a cell identification code sent by the terminal to be located and a geomagnetic information group of the terminal to be located;
  • Step S602 determining, according to the cell identification code, a location information set corresponding to the cell identification code from a pre-stored geomagnetic database, the location information set including at least one geomagnetic information group and the at least one geomagnetic information group Corresponding at least one geographical location information;
  • Step S603 determining, from the at least one geomagnetic information group, a matching geomagnetic information group that matches the geomagnetic information group of the terminal to be located;
  • Step S604 determining, from the at least one geographical location information, geographic location information corresponding to the matching geomagnetic information group;
  • Step S605 Send the geographical location information corresponding to the matched geomagnetic information group to the to-be-located terminal.
  • FIG. 7 is a system for implementing the positioning method provided by this embodiment, and the system includes: A bit server, a terminal to be located, and at least one active signal device.
  • the positioning method includes:
  • Step S801 acquiring geomagnetic information of a location where the active signal device is broadcasted by an active signal device and a device identifier of the active signaling device;
  • Step S802 when the geomagnetic information meets a preset condition, sending the device identifier to a positioning server;
  • Step S803 receiving the geographical location information corresponding to the device identifier returned by the positioning server based on the correspondence between the device identifier and the pre-stored device identifier and the geographic location information.
  • the positioning method provided in this embodiment may be applied to a mobile phone, a tablet computer, or a smart watch waiting for a positioning terminal, which is not limited in this embodiment.
  • the active signal device may be a Bluetooth device that uses the Bluetooth technology to broadcast, or a WIFI device that uses the WIFI technology to broadcast, which is not limited in this embodiment.
  • step S801 is performed to acquire geomagnetic information of the location of the active signal device broadcasted by the active signal device and device identification of the active signal device.
  • the terminal to be located receives the signaling broadcasted by the surrounding active signal device through WIFI or Bluetooth search; and parses the received signaling to acquire the geomagnetic information of the active signal device. And device identification of the active signal device.
  • step S802 is performed, that is, when the geomagnetic information meets a preset condition, the device identifier is sent to the positioning server;
  • the geomagnetic information meets a preset condition, and at least the geomagnetic information conforms to the regional limitation and the geomagnetic information and the historical geomagnetic information are matched, and the following descriptions are respectively performed:
  • the geomagnetic information conforms to regional restrictions.
  • the device identifier is sent to the positioning server, specifically:
  • the device identifier is sent to the location server.
  • any one or more of the X-direction component value, the Y-direction component value, the Z-direction component value, and the geomagnetism precision value in the geomagnetism information are in a preset numerical range, thereby determining the geomagnetic information. Whether the corresponding area in the geodetic coordinate system is within a preset area.
  • the device identifier is sent to the positioning server.
  • the preset area may be: an initial area determined according to a positioning technology such as a CELL ID.
  • the device identifier is sent to the positioning server for positioning, which can ensure that the geomagnetic information used for positioning meets certain positioning accuracy requirements, and the positioning accuracy is improved.
  • the geomagnetic information matches the historical geomagnetic information.
  • the device identifier is sent to the positioning server, specifically:
  • the device identifier is sent to the positioning server.
  • the method for determining whether the geomagnetic information matches the historical geomagnetic information may be: determining whether a matching degree between the geomagnetic information and the historical geomagnetic information is greater than a preset threshold.
  • the calculation method of the specific matching degree may be the same as the calculation method of the matching degree provided in the first embodiment, and will not be described here.
  • the device identifier is sent to the positioning server for positioning, and the geomagnetic information transmitted by the active signal device whose position is greatly changed is screened out, and the ground information can be guaranteed.
  • the positioning geomagnetic information meets certain accuracy requirements and improves positioning accuracy.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • FIG. 9 is a flowchart of processing on the active signal device side in the embodiment of the present invention.
  • the positioning method includes:
  • Step S901 acquiring geomagnetic information of a location where the active signal device is located and a device identifier of the active signaling device;
  • Step S902 broadcasting the geomagnetism information and the device identifier.
  • the positioning method provided in this embodiment may be applied to an active signal device that uses the Bluetooth technology to broadcast, and may also be applied to an active signal device that uses the WIFI technology to perform broadcast, which is not limited in this embodiment.
  • the geomagnetic information of the location where the active signal device is located may be obtained by sensing a geomagnetic sensor disposed on the active signal device.
  • the active signal device calls the geomagnetic sensor to acquire geomagnetic data
  • the active signal device performs pairwise storage with time stamp and geomagnetic data
  • the active signal device broadcasts the currently acquired geomagnetic data, device information device ID, signaling strength, and the like;
  • the terminal to be located After receiving the positioning request, the terminal to be located acquires signaling for receiving the broadcast of the active signal device;
  • the positioning terminal to analyze the signaling message is to identify the state of the geomagnetic record of each device in the message, and sequentially identify the device identifier and the geomagnetic data whose geomagnetic data changes greatly according to the geomagnetic value of the XYZ axis within the allowable range.
  • the device identifier in the device; and the device identifier set after the recognition state is set as the device identifier set of the query location;
  • the terminal to be located sends the query location device identifier set to the location server, and requests the query location;
  • the device identifier of the device that sets a large change in the geomagnetic data is invalid, and obtains the location information corresponding to the device identifier whose geomagnetic data changes within the allowable range;
  • the location server returns the location information to the location query unit
  • the location query unit returns the location information of the query to the terminal to be located.
  • the present application also provides an electronic device.
  • the electronic device includes:
  • the processor 1001 is configured to acquire a cell identifier of the terminal to be located, and determine, according to the cell identifier of the terminal to be located, at least one neighboring terminal of the to-be-located terminal, and each of the at least one neighboring terminal
  • the cell identifier is the same as the cell identifier of the terminal to be located;
  • the transceiver 1002 is configured to acquire geomagnetic information of a location of each of the at least one neighboring terminal determined by the processor 1001 and geomagnetic information of a location where the terminal to be located is located, to generate the to-be-determined And acquiring the geographical location information of the terminal to be located according to the geomagnetic information group of the terminal to be located.
  • the specific connection relationship is that the processor 1001 is connected to the transceiver 1002.
  • the electronic device may be a terminal such as a mobile phone, a tablet computer, or a smart watch; or may be a positioning server, which is not limited in this embodiment.
  • the transceiver 1002 is further configured to: send a geomagnetic information group of the terminal to be located to a positioning server; and receive the positioning server based on the terminal to be located. Geomagnetic information group, returned geographical location information of the terminal to be located.
  • the transceiver 1002 is further configured to: send a cell identifier of the terminal to be located to a positioning server; and receive the returned by the positioning server and the to-be-positioned a location information set corresponding to the cell identifier of the terminal, where the location information set includes at least one geomagnetic information group and at least one geographic location information corresponding to the at least one geomagnetic information group;
  • the processor 1001 is further configured to: determine, from the at least one geomagnetic information group, a matching geomagnetic information group that matches a geomagnetic information group of the to-be-located terminal; determine the at least one geographic location information, and the The geographical location information corresponding to the matching geomagnetic information group is the geographical location information of the terminal to be located.
  • the transceiver 1002 is further configured to: send a cell identifier of the terminal to be located, and a geomagnetic information group of the terminal to be located to a positioning server; and receive The matching geomagnet returned by the positioning server and matching the geomagnetic information group of the terminal to be located Geographical location information corresponding to the information group;
  • the processor 1001 is further configured to determine that the geographical location information corresponding to the matched geomagnetic information group is the geographical location information of the to-be-located terminal.
  • the processor 1001 is further configured to: determine, according to the cell identifier of the to-be-located terminal, at least one pre-neighboring terminal, where the at least one pre-neighboring terminal includes a cell identifier and a cell identifier of the to-be-located terminal Pre-proximity terminals having the same code; acquiring context information of each pre-neighboring terminal in the at least one pre-neighboring terminal, and context information of the to-be-located terminal; determining context information from the at least one pre-neighboring terminal The pre-neighboring terminal that matches the context information of the to-be-located terminal constitutes at least one neighboring terminal of the to-be-located terminal.
  • the context information is a combination of one or more of a wireless fidelity identifier, a Bluetooth identifier, and a global positioning system parameter.
  • the transceiver 1002 is further configured to acquire geomagnetic information of a location of each of the at least one neighboring terminal and geomagnetic information of a location where the terminal to be located is located, form a pre-geomagnetic information group, and send The pre-geomagnetic information group to the processor 1001;
  • the processor 1001 is further configured to receive the pre-geomagnetic information group sent by the transceiver 1002, and determine, from the pre-geomagnetic information group, a vertical component value and geomagnetic information of a location where the terminal to be located is located.
  • the geomagnetic information whose difference of the vertical component values is smaller than a preset threshold constitutes a geomagnetic information group of the terminal to be located.
  • the processor 1001 is further configured to: acquire a positioning accuracy of the geographic location information where the terminal to be located is located; determine whether the positioning accuracy meets a preset accuracy requirement; and when the positioning accuracy is not satisfied And controlling, by the preset accuracy, to display the set positioning map; and after detecting the determining operation of determining the positioning point on the positioning map, acquiring the precise geography of the positioning point based on the determining operation
  • the location information is used as the geographical location information of the terminal to be located.
  • the electronic device provided in this embodiment and the positioning method in the first embodiment are based on two aspects under the same inventive concept.
  • the implementation process of the method has been described in detail above, so those skilled in the art can A clear understanding of the structure and implementation process of the device in this embodiment is omitted here for the sake of brevity of the description.
  • the present application also provides a positioning server.
  • the positioning server includes:
  • the transceiver 1101 is configured to receive a geomagnetic information group sent by the terminal to be located, and send the geomagnetic information group to a processor, where the geomagnetic information group includes geomagnetic information of a location adjacent to the terminal and a location of the to-be-located terminal Geomagnetic information, wherein the neighboring terminal is a terminal whose cell identifier is the same as the cell identifier of the terminal to be located;
  • the processor 1102 is configured to determine, according to the geomagnetic information group sent by the transceiver 1101, geographic location information corresponding to the geomagnetic information group, and control the transceiver to send the geographic location information to the The terminal to be located.
  • the specific connection relationship is that the processor 1102 is connected to the transceiver 1101.
  • the present application also provides a positioning server.
  • the positioning server includes:
  • the transceiver 1201 is configured to receive a cell identifier sent by the terminal to be located, and send the cell identifier to the processor 1202.
  • the processor 1202 is configured to determine, according to the cell identifier sent by the transceiver 1201, a location information set corresponding to the cell identifier from a pre-stored geomagnetic database, where the location information set includes at least one geomagnetic information. And a group and at least one geographic location information corresponding to the at least one geomagnetic information group; and controlling the transceiver to send the location information set to the to-be-located terminal.
  • the specific connection relationship is that the processor 1202 is connected to the transceiver 1201.
  • the present application also provides a positioning server.
  • the positioning server includes:
  • the transceiver 1301 is configured to receive a cell identification code sent by the terminal to be located and a geomagnetic information group of the terminal to be located; and send the cell identification code and the geomagnetic information group of the terminal to be located to the processor 1302;
  • the processor 1302 is configured to determine, according to the cell identifier, a location information set corresponding to the cell identifier from a pre-stored geomagnetic database, where the location information set includes at least one location a magnetic information group and at least one geographic location information corresponding to the at least one geomagnetic information group; determining, from the at least one geomagnetic information group, a matching geomagnetic information group matching the geomagnetic information group of the to-be-located terminal; And determining, by the at least one geographical location information, geographic location information corresponding to the matching geomagnetic information group; and controlling the transceiver 1301 to send the geographical location information corresponding to the matching geomagnetic information group to the to-be-located terminal.
  • the specific connection relationship is that the processor 1302 is connected to the transceiver 1301.
  • the positioning server provided in this embodiment and the positioning method in the second embodiment are based on two aspects under the same inventive concept.
  • the implementation process of the method has been described in detail above, so those skilled in the art can A clear understanding of the structure and implementation process of the device in this embodiment is omitted here for the sake of brevity of the description.
  • the present application also provides a terminal.
  • the terminal includes:
  • a transceiver 1401 configured to acquire geomagnetic information of a location where the active signal device is broadcasted by an active signal device, and a device identifier of the active signal device; and send the device when the geomagnetic information meets a preset condition Identifying the location information to the location server; and receiving the location information corresponding to the device identifier returned by the location server based on the device identifier and the pre-stored device identifier and the geographic location information.
  • the terminal further includes:
  • the processor 1402 is configured to receive the geomagnetism information and the device identifier sent by the transceiver 1401, and determine whether the geomagnetism information matches a pre-stored historical geomagnetic information corresponding to the device identifier; when the geomagnetism When the information matches the historical geomagnetic information, the transceiver 1401 is controlled to send the device identifier to the positioning server.
  • the specific connection relationship is that the processor 1402 is connected to the transceiver 1401.
  • the terminal provided in this embodiment and the positioning method in the third embodiment are based on two aspects under the same inventive concept.
  • the implementation process of the method has been described in detail above, so those skilled in the art can refer to the foregoing description. A clear understanding of the device structure and implementation process in this embodiment, in order to explain The simplicity of the book is not repeated here.
  • the present application also provides an active signal device.
  • the active signal device includes:
  • the transceiver 1501 is configured to acquire geomagnetic information of a location where the active signal device is located and a device identifier of the active signaling device; and broadcast the geomagnetic information and the device identifier.
  • the terminal provided in this embodiment and the positioning method in the fourth embodiment are based on two aspects under the same inventive concept.
  • the implementation process of the method has been described in detail above, so those skilled in the art can refer to the foregoing description.
  • the structure and implementation process of the device in this embodiment are clearly understood. For the sake of brevity of the description, details are not described herein again.
  • FIG. 16 is a system for implementing the communication method provided by this embodiment, and the system includes: precision marketing.
  • the server, the precise marketing rule defines the terminal and the at least one user terminal.
  • the positioning method includes:
  • Step S1701 The precision marketing server acquires geomagnetism information of a location of each of the at least one user terminal;
  • Step S1702 The precision marketing server determines a user terminal group from the at least one user terminal according to a preset range of geomagnetic information, wherein the geomagnetic information of the location of each user terminal in the user terminal group satisfies The geomagnetic information takes a value range;
  • Step S1703 The precision marketing server sends preset data to each user terminal in the user terminal group.
  • the user terminal may be a terminal such as a mobile phone, a tablet computer, or a smart watch, which is not limited in this embodiment.
  • the precision marketing server acquires each of the at least one user terminal. Geomagnetic information of the location where the user terminal is located.
  • the geomagnetism information may include an X-direction component value parallel to the horizontal plane, a Y-direction component value parallel to the horizontal plane, and a Z-direction vertical component value perpendicular to the horizontal plane, wherein the X-direction component value represents the geomagnetism intensity along the X direction, Y
  • the direction component value indicates the geomagnetism intensity in the Y direction
  • the vertical component value indicates the geomagnetism intensity in the Z direction.
  • the geomagnetism information may be ⁇ x, y, z ⁇ , where x is the X-direction component value, y is the Y-direction component value, and z is the vertical component value.
  • step S1702 is performed, that is, the precision marketing server determines the user terminal group from the at least one user terminal according to the preset range of the geomagnetic information value; wherein each user terminal in the user terminal group is located The geomagnetic information of the position satisfies the range of the geomagnetic information.
  • the preset geomagnetic information value range may be that the precision marketing rule definition terminal in the system shown in FIG. 16 is pre-sent to the precision marketing server.
  • the range of the geomagnetic information may include a range of values of the X-direction component values in the geomagnetism information, a range of values of the Y-direction component values, and a range of values of the vertical component values.
  • the X-direction component value, the Y-direction component value, and the vertical component value of each user terminal in the user terminal group satisfy the corresponding value range requirement.
  • step S1703 the precision marketing server sends preset data to each user terminal in the user terminal group.
  • the preset data may be pre-sent to the precision marketing server for the precise marketing rule definition terminal in the system shown in FIG. 16.
  • the present application also provides a precision marketing server.
  • the precision marketing server includes:
  • the transceiver 1801 is configured to receive geomagnetic information of a location of each of the at least one user terminal; and send the geomagnetic information to the processor 1802;
  • the processor 1802 is configured to determine, according to a preset range of values of geomagnetic information, a user terminal group from the at least one user terminal, where each user terminal in the user terminal group is located The geomagnetic information is set to satisfy the geomagnetic information value range; and the transceiver 1801 is controlled to transmit preset data to each user terminal in the user terminal group.
  • the user terminal may be a terminal such as a mobile phone, a tablet computer, or a smart watch, which is not limited in this embodiment.
  • the specific connection relationship is that the processor 1802 is connected to the transceiver 1801.
  • the transceiver may be a transceiver unit or a transceiver module; the processor may be a processing unit or a processing module.
  • the CELL ID is used to obtain a large positioning range, and then the geomagnetic information of the location of the terminal to be located and its neighboring terminal is used for precise positioning, and on the one hand, the active signals such as WIFI and Bluetooth can be compensated.
  • the positioning method is unstable and improves the positioning stability. On the other hand, it compensates for the low accuracy of the CELL ID positioning method and improves the positioning accuracy.
  • the geomagnetic information of the position of the terminal to be located and its neighboring terminal is used to cooperate. The positioning avoids the inaccuracy of positioning using a single geomagnetic information, improves the positioning accuracy, and achieves the technical effect of both positioning stability, accuracy and accuracy.

Abstract

本发明公开了一种定位方法及电子设备,所述定位方法包括:获取待定位终端的小区识别码;根据所述待定位终端的小区识别码,确定出所述待定位终端的至少一个邻近终端,所述至少一个邻近终端中每个邻近终端的小区识别码与所述待定位终端的小区识别码相同;获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,以生成所述待定位终端的地磁信息组;根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息。本发明提供的方法和电子设备用以解决现有的定位技术存在的定位稳定性、定位精度和定位准确度不能兼顾的技术问题。

Description

一种定位方法及电子设备
本申请要求于2014年09月25日提交中国专利局、申请号为201410499303.2,发明名称为“一种定位方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信技术领域,尤其涉及一种定位方法及电子设备。
背景技术
定位服务已经发展为人们日常生活中一项重要的公共服务,其核心技术在于定位技术。
当前主流的定位技术有:使用定位卫星进行定位的全球定位系统(Global Position System,GPS)技术、通过获取待定位终端所在的小区识别码(CELL ID)来确定其所在的位置的CELL ID定位技术、使用无线保真(Wireless Fidelity,WIFI)或蓝牙等有源信号设备来进行定位的定位技术。
另外,还有地磁定位技术,地磁定位技术的理论依据为:地球上任意地点的地磁场强度均不相同,且地磁场强度与经纬度一一对应,因此只要测量出待定位终端所处位置的地磁场强度,就可以实现定位。
然而,GPS技术和使用有源信号设备的定位技术,对信号源依赖大,在信号不佳或不稳定时,会出现间断,不能提供持续稳定的定位服务。CELL ID定位技术虽稳定,但定位精度低,只能提供小区范围的定位精度。另外,由于地磁信息会受地表形态的干扰,可能会出现多个地点的地磁信息相近或相等的情况,故地磁定位技术的定位准确度较低。
也就是说,现有的定位技术存在定位稳定性、定位精度和定位准确度不能兼顾的技术问题。
发明内容
本发明提供一种定位方法,用以解决现有的定位技术存在定位稳定性、定位精度和定位准确度不能兼顾的技术问题。
第一方面,提供一种定位方法,包括:
获取待定位终端的小区识别码;
根据所述待定位终端的小区识别码,确定出所述待定位终端的至少一个邻近终端,所述至少一个邻近终端中每个邻近终端的小区识别码与所述待定位终端的小区识别码相同;
获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,以生成所述待定位终端的地磁信息组;
根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息。
结合第一方面,在第一种可能的实现方式中,根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息,包括:
发送所述待定位终端的地磁信息组至定位服务器;
接收所述定位服务器基于所述待定位终端的地磁信息组,返回的所述待定位终端所处的地理位置信息。
结合第一方面,在第二种可能的实现方式中,根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息,包括:
发送所述待定位终端的小区识别码至定位服务器;
接收所述定位服务器返回的与所述待定位终端的小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;
从所述至少一个地磁信息组中确定出与所述待定位终端的地磁信息组匹配的匹配地磁信息组;
确定所述至少一个地理位置信息中,与所述匹配地磁信息组对应的地理位置信息为所述待定位终端所处的地理位置信息。
结合第一方面,在第三种可能的实现方式中,根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息,包括:
发送所述待定位终端的小区识别码和所述待定位终端的地磁信息组至定位服务器;
接收所述定位服务器返回的与所述待定位终端的地磁信息组匹配的匹配地磁信息组对应的地理位置信息;
确定所述匹配地磁信息组对应的地理位置信息为所述待定位终端所处的地理位置信息。
结合第一方面或者第一方面的第一种可能的实现方式到第三种可能的实现方式中的任意一种,在第四种可能的实现方式中,根据所述待定位终端的小区识别码,确定出所述待定位终端的至少一个邻近终端,包括:
根据所述待定位终端的小区识别码,确定出至少一个预邻近终端,所述至少一个预邻近终端包括小区识别码与所述待定位终端的小区识别码相同的预邻近终端;
获取所述至少一个预邻近终端中每个预邻近终端的上下文信息,和所述待定位终端的上下文信息;
从所述至少一个预邻近终端中,确定出上下文信息与所述待定位终端的上下文信息匹配的预邻近终端,组成所述待定位终端的至少一个邻近终端。
结合第一方面或者第一方面的第四种可能的实现方式,在第五种可能的实现方式中,所述上下文信息为无线保真标识、蓝牙标识和全球定位系统参数中的一种或多种的组合。
结合第一方面,在第六种可能的实现方式中,获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,以生成所述待定位终端的地磁信息组,包括:
获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,组成预地磁信息组;
从所述预地磁信息组中,确定出垂直分量值与所述待定位终端所处位置的地磁信息的垂直分量值的差值小于预设阈值的地磁信息,组成所述待定位终端的地磁信息组。
结合第一方面,在第七种可能的实现方式中,在根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息之后,还包 括:
获取所述待定位终端所处的地理位置信息的定位精度;
判断所述定位精度是否满足预设精度要求;
当所述定位精度不满足所述预设精度要求时,显示设定的定位地图;
检测到所述定位地图上被触发确定一定位点的确定操作;
基于所述确定操作,获取所述定位点的精确地理位置信息,作为所述待定位终端所处的地理位置信息。
第二方面,提供一种定位方法,包括:
接收待定位终端发送的地磁信息组,所述地磁信息组包括邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,其中,所述邻近终端为小区识别码与所述待定位终端的小区识别码相同的终端;
根据所述地磁信息组,确定与所述地磁信息组对应的地理位置信息;
发送所述地理位置信息至所述待定位终端。
第三方面,提供一种定位方法,包括:
接收待定位终端发送的小区识别码;
根据所述小区识别码,从预存的地磁数据库中,确定与所述小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;
发送所述位置信息集合至所述待定位终端。
第四方面,提供一种定位方法,包括:
接收待定位终端发送的小区识别码和所述待定位终端的地磁信息组;
根据所述小区识别码,从预存的地磁数据库中,确定与所述小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;
从所述至少一个地磁信息组中确定出与所述待定位终端的地磁信息组匹配的匹配地磁信息组;
从所述至少一个地理位置信息中,确定出与所述匹配地磁信息组对应的地理位置信息;
发送所述匹配地磁信息组对应的地理位置信息至所述待定位终端。
第五方面,提供一种电子设备,包括:
处理器,用于获取待定位终端的小区识别码;根据所述待定位终端的小区识别码,确定出所述待定位终端的至少一个邻近终端,所述至少一个邻近终端中每个邻近终端的小区识别码与所述待定位终端的小区识别码相同;
收发器,用于获取所述处理器确定的所述至少一个邻近终端中的每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,以生成所述待定位终端的地磁信息组;并根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息。
结合第五方面,在第一种可能的实现方式中,所述收发器还用于:
发送所述待定位终端的地磁信息组至定位服务器;接收所述定位服务器基于所述待定位终端的地磁信息组,返回的所述待定位终端所处的地理位置信息。
结合第五方面,在第二种可能的实现方式中,所述收发器还用于,发送所述待定位终端的小区识别码至定位服务器;接收所述定位服务器返回的与所述待定位终端的小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;
所述处理器还用于,从所述至少一个地磁信息组中确定出与所述待定位终端的地磁信息组匹配的匹配地磁信息组;确定所述至少一个地理位置信息中,与所述匹配地磁信息组对应的地理位置信息为所述待定位终端所处的地理位置信息。
结合第五方面,在第三种可能的实现方式中,所述收发器还用于,发送所述待定位终端的小区识别码和所述待定位终端的地磁信息组至定位服务器;并接收所述定位服务器返回的与所述待定位终端的地磁信息组匹配的匹配地磁信息组对应的地理位置信息;
所述处理器还用于,确定所述匹配地磁信息组对应的地理位置信息为所述待定位终端所处的地理位置信息。
结合第五方面或者第五方面的第一种可能的实现方式至第五方面的第三种可能的实现方式中的任意一种,在第四种可能的实现方式中,所述处理器还用于:
根据所述待定位终端的小区识别码,确定出至少一个预邻近终端,所述至少一个预邻近终端包括小区识别码与所述待定位终端的小区识别码相同的预邻近终端;获取所述至少一个预邻近终端中每个预邻近终端的上下文信息,和所述待定位终端的上下文信息;从所述至少一个预邻近终端中,确定出上下文信息与所述待定位终端的上下文信息匹配的预邻近终端,组成所述待定位终端的至少一个邻近终端。
结合第五方面或者第五方面的第四种可能的实现方式,在第五种可能的实现方式中,所述上下文信息为无线保真标识、蓝牙标识和全球定位系统参数中的一种或多种的组合。
结合第五方面,在第六种可能的实现方式中,所述收发器还用于,获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,组成预地磁信息组,并发送所述预地磁信息组至所述处理器;
所述处理器还用于,接收所述收发器发送的所述预地磁信息组,从所述预地磁信息组中,确定出垂直分量值与所述待定位终端所处位置的地磁信息的垂直分量值的差值小于预设阈值的地磁信息,组成所述待定位终端的地磁信息组。
结合第五方面,在第七种可能的实现方式中,所述处理器还用于:
获取所述待定位终端所处的地理位置信息的定位精度;判断所述定位精度是否满足预设精度要求;当所述定位精度不满足所述预设精度要求时,控制显示设定的定位地图;并在检测到所述定位地图上被触发确定一定位点的确定操作后,基于所述确定操作,获取所述定位点的精确地理位置信息,作为所述待定位终端所处的地理位置信息。
第六方面,提供一种定位服务器,包括:
收发器,用于接收待定位终端发送的地磁信息组,并发送所述地磁信息组至处理器,所述地磁信息组包括邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,其中,所述邻近终端为小区识别码与所述待定位终端的小区识别码相同的终端;
所述处理器,用于根据所述收发器发送的所述地磁信息组,确定与所述地磁信息组对应的地理位置信息,并控制所述收发器发送所述地理位置信息至所述待定位终端。
第七方面,提供一种定位服务器,包括:
收发器,用于接收待定位终端发送的小区识别码,并发送所述小区识别码至处理器;
所述处理器,用于根据收发器发送的所述小区识别码,从预存的地磁数据库中,确定与所述小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;并控制所述收发器发送所述位置信息集合至所述待定位终端。
第八方面,提供一种定位服务器,包括:
收发器,用于接收待定位终端发送的小区识别码和所述待定位终端的地磁信息组;并发送所述小区识别码和所述待定位终端的地磁信息组至处理器;
所述处理器,用于根据所述小区识别码,从预存的地磁数据库中,确定与所述小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;从所述至少一个地磁信息组中确定出与所述待定位终端的地磁信息组匹配的匹配地磁信息组;从所述至少一个地理位置信息中,确定出与所述匹配地磁信息组对应的地理位置信息;并控制所述收发器发送所述匹配地磁信息组对应的地理位置信息至所述待定位终端。
本发明实施例中,先通过稳定性高的CELL ID定位技术,确定出小区识别码与待定位终端的目标小区识别码相同的邻近终端,再以邻近终端所处位置的地磁信息和待定位终端所处位置的目标地磁信息作为地磁信息组,来通过地磁定位技术定位出地理位置信息,不仅延续了CELL ID定位技术的稳定性,还通过分级定位提高了定位精度。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例中定位方法对应的系统示意图;
图2为本发明一实施例中的定位方法的流程图;
图3为本发明一实施例中二次定位时待定位终端侧的流程图;
图4为本发明一实施例中初次定位时定位服务器侧的流程图;
图5为本发明一实施例中二次定位时定位服务器侧的流程图一;
图6为本发明一实施例中二次定位时定位服务器侧的流程图二;
图7为本发明另一实施例中定位方法对应的系统示意图;
图8为本发明另一实施例中的定位方法的流程图;
图9为本发明另一实施例中定位服务器侧的定位方法的流程图;
图10为本发明一实施例中电子设备的结构示意图;
图11为本发明一实施例中的定位服务器的结构示意图一;
图12为本发明一实施例中的定位服务器的结构示意图二;
图13为本发明一实施例中的定位服务器的结构示意图三;
图14为本发明一实施例中的终端的结构示意图;
图15为本发明一实施例中的有源信号设备的结构示意图;
图16为本发明实施例中通信方法对应的系统示意图;
图17为本发明一实施例中的通信方法的流程图;
图18为本发明一实施例中精准营销服务器的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
在介绍本发明实施例之前,先介绍本发明实施例中定位方法所对应的系统,如图1所示,图1为一种用于实施本发明定位方法的系统,该系统包括:定位服务器、待定位终端和附近的多个终端(例如:第一终端、第二终端、以及第三终端等等,图1中只示意出两个终端),其中,所述系统,具体可以是基于 UMTS的通信系统,也可以是基于全球移动通信(Global System For Mobile Communication,GSM)的通信系统、还可以是基于长期演进系统(Long Term Evolution,LTE)的通信系统,还可以是基于码分多址(Code Division Multiple Access,CDMA)的通信系统,还可以是基于时分同步码分多址(Time Division-Synchronous Code Division Multiple Access,TD-SCDMA)等,在本申请中不作限制。
实施例一
本实施例提供一种定位方法,如图2所示,该定位方法包括:
步骤S201,获取待定位终端的小区识别码;
步骤S202,根据所述待定位终端的小区识别码,确定出所述待定位终端的至少一个邻近终端,所述至少一个邻近终端中每个邻近终端的小区识别码与所述待定位终端的小区识别码相同;
步骤S203,获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,以生成所述待定位终端的地磁信息组;
步骤S204,根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息。
在具体实施过程中,本实施例提供的定位方法可以应用于手机、平板电脑或智能手表等终端;也可以应用于定位服务器,在本实施例中不作限制。
在具体实施过程中,根据获取地理位置信息的方式不同,本实施例提供的定位方法可以分为初次定位和二次定位两种情况,下面以所述定位方法应用于待定位终端为例,分别进行说明:
先介绍初次定位。
即在实测的地磁信息图中确定出与待定位终端的地磁信息组匹配的区域,再根据大地坐标系获取地理位置信息,具体实现步骤如下:
首先,执行步骤S201,获取待定位终端的CELL ID。
在具体实施过程中,待定位终端可以是在接收到用户打开定位应用,并进 行定位触发操作后,触发获取待定位终端的CELL ID;也可以是接收到其余设备发送的定位指令后,触发获取待定位终端的CELL ID,在本实施例中不作限制。
具体来讲,对于获取待定位终端的CELL ID的方式,以待定位终端安装安卓操作系统为例,待定位终端可以调用CellLocation接口来与服务器、基站或无线网络控制器(Radio Network Controller,RNC)通信,进而获取CELL ID。
在通过步骤S201,获取待定位终端的CELL ID后,进入步骤S202,根据所述待定位终端的CELL ID,确定出所述待定位终端的至少一个邻近终端,所述至少一个邻近终端中每个邻近终端的CELL ID与所述待定位终端的CELL ID相同。
在具体实施过程中,确定所述至少一个邻近终端的方式,至少可以分为以下两种:根据CELL ID来确定,根据CELL ID和上下文信息确定,下面分别进行说明:
第一种,根据CELL ID来确定。
即确定CELL ID与所述待定位终端的CELL ID相同的终端为所述至少一个邻近终端。
在具体实施过程中,待定位终端可以与服务器通信来确定出CELL ID与所述待定位终端的CELL ID相同的终端。
具体来讲,即待定位终端将自身的CELL ID发送至服务器。服务器从存储单元中查询出包含该CELL ID的上下文列表,或服务器与该CELL ID对应的基站通信获取该CELL ID对应终端的上下文列表。从而确定出所述至少一个邻近终端。
例如:当待定位终端Ma的CELL ID为c1982时,所述上下文列表可以如表1所示:
终端标识 CELL ID 蓝牙标识 Wifi标识
Mb c1982 {b1,b2,b3} 01
Mc c1982 {b1,a1,a4} 02
Md c1982 {b1,a2,a5} 01
Me c1982 {c1,c2,c3} 03
表1
表1中确定出的待定位终端Ma的所述至少一个邻近终端包括:Mb、Mc、Md和Me。
具体来讲,确定CELL ID与所述待定位终端的CELL ID相同的终端为所述至少一个邻近终端,由于不需要对其余数据进行分析处理,能快速确定出邻近终端,提高定位效率。
进一步,由于在定位过程中,不需要依赖WIFI或蓝牙等间断性可用的信号源,避免了间断性定位失败的情况,提高了定位可靠性。
第二种,根据CELL ID和上下文信息确定。
在具体实施过程中,可以先根据CELL ID来确定预邻近终端集合,再分析上下文信息,从预邻近终端集合中确定出邻近终端;也可以先根据上下文信息来确定预邻近终端集合,再根据CELL ID,从预邻近终端集合中确定出邻近终端。
对于先根据CELL ID来确定预邻近终端集合,再分析上下文信息确定出邻近终端的情况,具体实施步骤可以为:
根据所述待定位终端的CELL ID,确定出至少一个预邻近终端,所述至少一个预邻近终端包括CELL ID与所述待定位终端的CELL ID相同的预邻近终端;
获取所述至少一个预邻近终端中每个预邻近终端的上下文信息,和所述待定位终端的上下文信息;
从所述至少一个预邻近终端中,确定出上下文信息与所述待定位终端的上下文信息匹配的预邻近终端,组成所述待定位终端的至少一个邻近终端。
在具体实施过程中,确定出至少一个预邻近终端和获取上下文信息的方法, 与上述第一种情况中,根据CELL ID来确定邻近终端和获取邻近终端上下文信息的方法相同,在此不再累述。
在本申请实施例中,所述上下文信息可以为WIFI标识、蓝牙标识和GPS参数中的一种或多种的组合。
在具体实施过程中,当所述上下文信息为WIFI标识和/或蓝牙标识时,所述确定出上下文信息与所述待定位终端的上下文信息匹配的预邻近终端,具体为确定出上下文信息与所述待定位终端的上下文信息相同的预邻近终端。
当所述上下文信息为GPS参数时,所述确定出上下文信息与所述待定位终端的上下文信息匹配的预邻近终端,具体为确定出上下文信息与所述待定位终端的上下文信息的匹配度高与预设值的预邻近终端。
例如:同样请参考表1,以所述上下文信息为蓝牙标识为例,当待定位终端Ma的CELL ID为c1982,蓝牙标识为b1时,表1中确定出的待定位终端Ma的所述至少一个邻近终端包括:Mb、Mc和Md,不包括Me。
以所述上下文信息为WIFI标识为例,当待定位终端Ma的CELL ID为c1982,WIFI标识为01时,表1中确定出的待定位终端Ma的所述至少一个邻近终端包括:Mb和Md,不包括Mc和Me。
对于先根据上下文信息确定预邻近终端集合,再根据CELL ID来确定邻近终端的情况,具体实施步骤可以为:
根据所述待定位终端的上下文信息,确定出上下文信息与所述待定位终端的上下文信息匹配的至少一个预邻近终端;
从所述至少一个预邻近终端中,确定出CELL ID与所述待定位终端的CELL ID相同的预邻近终端,组成所述待定位终端的至少一个邻近终端。
例如:
以所述上下文信息为蓝牙标识为例,待定位终端扫描获取附近的蓝牙设备的蓝牙标识,确认扫描到的蓝牙设备为所述至少一个预邻近终端,并向扫描到的蓝牙设备发送蓝牙连接请求,以建立蓝牙通信连接;再发送请求以获取扫描到的蓝牙设备的CELL ID,确定出CELL ID与所述待定位终端的CELL ID相同 的设备为邻近终端。
以所述上下文信息为GPS参数为例,待定位终端将自身的GPS参数发送至服务器,服务器确定出GPS参数与待定位终端的GPS参数表示的位置接近的终端作为所述至少一个预邻近终端,并将所述至少一个预邻近终端的CELL ID发送至待定位终端,以确定出CELL ID与所述待定位终端的CELL ID相同的设备为邻近终端。
具体来讲,结合CELL ID和上下文信息来确定所述至少一个邻近终端,能进一步缩小邻近终端的范围,提高确定出的邻近终端的准确度,提高定位精度。
在通过步骤S202确定出所述至少一个邻近终端后,进入步骤S203,即获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,以生成所述待定位终端的地磁信息组。
具体来讲,地磁信息可以包括与水平面平行的X方向分量值、与水平面平行Y方向分量值、与水平面垂直的Z方向垂直分量值和地磁精度值,其中,X方向分量值表示沿X方向的地磁强度,Y方向分量值表示沿Y方向的地磁强度,垂直分量值表示沿Z方向的地磁强度,地磁精度值表示各方向分量值的测量精度。
例如,地磁信息可以为{x,y,z,acc},其中,x为X方向分量值,y为Y方向分量值,z为垂直分量值,acc为地磁精度值。
在具体实施过程中,所述待定位终端所处位置的地磁信息可以通过设置在所述待定位终端上的地磁感应器感应获得。
在具体实施过程中,所述至少一个邻近终端中每个邻近终端所处位置的地磁信息可以由待定位终端通过WIFI连接或蓝牙连接与所述至少一个邻近终端直接通信获得,也可以由待定位终端通过服务器与所述至少一个邻近终端通信获得,在本实施例中不作限制。
在本申请实施例中,为了进一步缩小待定位终端的地磁信息组的范围,提高定位精度,可以根据地磁信息中的垂直分量值,进一步缩小用于定位的邻近终端的垂直分布范围,具体步骤包括:
获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,组成预地磁信息组;
从所述预地磁信息组中,确定出垂直分量值与所述待定位终端所处位置的地磁信息的垂直分量值的差值小于预设阈值的地磁信息,组成所述待定位终端的地磁信息组。
具体来讲,根据地磁信息的垂直分量值,筛选出与待定位终端基本处于同一水平面的邻近终端的地磁信息,组成地磁信息组,进一步缩小了定位范围,提高了定位精度。
在通过步骤S203,生成所述待定位终端的地磁信息组后,执行步骤S204,即根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息。
在本申请实施例中,获取所述待定位终端所处的地理位置信息的方式可以为,发送所述待定位终端的地磁信息组至定位服务器;再接收所述定位服务器基于所述待定位终端的地磁信息组,返回的所述待定位终端所处的地理位置信息。
具体来讲,定位服务器返回的所述待定位终端所处的地理位置信息,可以是定位服务器先在实测的地磁信息图中确定出与待定位终端的地磁信息组匹配的区域,再根据大地坐标系获取该区域的大地坐标和地理位置信息。
在具体实施过程中,为了提高后续进行定位的效率,定位服务器在确定出待定位终端的地理位置信息后,可以将待定位终端的小区标识码、地磁信息组、大地坐标和地理位置信息对应存储,以供后续定位过程中使用。
具体来讲,在初次定位时,先通过稳定性高的CELL ID定位技术,确定出小区识别码与待定位终端的目标小区识别码相同的邻近终端,再根据邻近终端所处位置的地磁信息和待定位终端所处位置的目标地磁信息生成地磁信息组,来通过地磁定位技术定位出地理位置信息,不仅延续了CELL ID定位技术的稳定性,还通过分级定位提高了定位精度。
在介绍了初次定位后,接下来,介绍二次定位。
二次定位即通过之前定位过程中预存的地理位置信息来进行快速定位,下面同样以所述定位方法应用于待定位终端为例,来详细介绍二次定位的具体实现步骤:
二次定位同样包括初次定位中的步骤S201、步骤S202、步骤S203和步骤S204,其中,步骤S204中根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息,如图3所示,包括:
步骤S301,发送所述待定位终端的小区识别码至定位服务器;
步骤S302,接收所述定位服务器返回的与所述待定位终端的小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;
步骤S303,从所述至少一个地磁信息组中确定出与所述待定位终端的地磁信息组匹配的匹配地磁信息组;
步骤S304,确定所述至少一个地理位置信息中,与所述匹配地磁信息组对应的地理位置信息为所述待定位终端所处的地理位置信息。
在具体实施过程中,所述匹配地磁信息组可以为与所述待定位终端的地磁信息组相同的地磁信息组,也可以为与所述待定位终端的地磁信息组的匹配度高于阈值的地磁信息组,在本实施例中不作限制。
例如,当待定位终端Ma的CELL ID为c1982,地磁信息组为{x0′,y0′,z0′,acc0′},{x1′,y1′,z1′,acc1′},{x2′,y2′,z2′,acc2′}时:
待定位终端将CELL ID发送至定位服务器。
定位服务器接收到CELL ID后,解析出CELL ID为c1982,并从存储单元中读取出与c1982对应存储的所有地磁信息组,及对应的地理位置信息,组成位置信息集合,并将所述位置信息集合发送至待定位终端,所述位置信息集合如表2所示:
Figure PCTCN2015086938-appb-000001
Figure PCTCN2015086938-appb-000002
表2
接下来,待定位终端从接收到的地磁信息组中确定出与所述待定位终端的地磁信息组匹配的匹配地磁信息组。
以所述地磁信息组为根据地磁信息的垂直分量值,筛选出的与待定位终端基本处于同一水平面的邻近终端的地磁信息组成的地磁信息组为例,具体匹配方式如下:
用待定位终端的地磁信息组中的X方向分量值、Y方向分量值分别乘以地磁精度值获得权重精度后的待定位终端的地磁信息组:
{x0′*acc0′,y0′*acc0′,z0′},{x1′*acc1′,y1′*acc1′,z1′*acc1′},{x2′*acc2′,y2′*acc2′,z2′}
同样用位置信息集合中的每个地磁信息组的X方向分量值、Y方向分量值分别乘以对应的地磁精度值,获得权重精度后的位置信息集合的地磁信息组如下:
对表2中第一组权重精度后的地磁信息组:
{x0*acc0,y0*acc0,z0},{x1*acc1,y1*acc1,z1},{x2*acc2,y2*acc2,z2},{x3*acc3,y3*acc3,z3}
对表2中第二组权重精度后的地磁信息组:
{xa*acca,ya*acca,za},{xb*accb,yb*accb,zb},{xc*accc,yc*accc,zc}
再根据权重精度后的地磁信息,分别计算每组地磁信息组的匹配度,具体如下:
表2中第一组地磁信息组与所述待定位终端的地磁信息组的匹配度
Figure PCTCN2015086938-appb-000003
Figure PCTCN2015086938-appb-000004
表2中第二组地磁信息组与所述待定位终端的地磁信息组的匹配度
Figure PCTCN2015086938-appb-000005
Figure PCTCN2015086938-appb-000006
假设P1等于0.8,P2等于0.72,因为P1大于P2,确认表2中匹配度较高的第一组地磁信息组为匹配地磁信息组,从而确定第一组地磁信息组对应的地理位置信息,即北京第一大道10号的第一面馆为所述待定位终端所处的地理位置信息。
在具体实施过程中,在二次定位时,也可以是待定位终端将地磁信息组发送给定位服务器,由定位服务器侧来进行匹配出匹配地磁信息组和确定匹配地磁信息组对应的地理位置信息,此时,待定位终端获取所述待定位终端所处的地理位置信息的具体步骤如下:
发送所述待定位终端的小区识别码和所述待定位终端的地磁信息组至定位服务器;
接收所述定位服务器返回的与所述待定位终端的地磁信息组匹配的匹配地磁信息组对应的地理位置信息;
确定所述匹配地磁信息组对应的地理位置信息为所述待定位终端所处的地理位置信息。
具体来讲,定位服务器侧匹配出匹配地磁信息组的方法与前述待定位终端匹配出匹配地磁信息组的方法相同,在此不再累述。
当然,所述定位方法也可以应用于定位服务器,当所述定位方法应用于定位服务器时,具体步骤如下:
首先,执行步骤S201获取待定位终端的CELL ID。
在具体实施过程中,定位服务器可以接收待定位终端发送的CELL ID及定位请求。
接下来,执行步骤S202,根据所述待定位终端的CELL ID,确定出所述待定位终端的至少一个邻近终端,所述至少一个邻近终端中每个邻近终端的CELL ID与所述待定位终端的CELL ID相同;
在具体实施过程中,定位服务器可以与所述待定位终端所处的小区基站通信来确定所述至少一个邻近终端,也可以从存储单元中读取预存的CELL ID与终端的对应关系来确定所述至少一个邻近终端。
再下来,执行步骤S203,获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,以生成所述待定位终端的地磁信息组;
在具体实施过程中,定位服务器可以与所述至少一个邻近终端和所述待定位终端通信来获取地磁信息组,也可以通过所述待定位终端来与所述至少一个邻近终端通信获取地磁信息组。
然后,执行步骤S204,根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息。
在初次定位时,定位服务器可以先在实测的地磁信息图中确定出与待定位终端的地磁信息组匹配的区域,再根据大地坐标系获取该区域的大地坐标和地理位置信息。
在二次定位时,定位服务器可以从预存的位置信息集合中查找出与所述待定位终端的地磁信息组匹配的匹配地磁信息组,再确定所述匹配地磁信息组对应的地理位置信息为所述待定位终端所处的地理位置信息。
由于,所述定位方法应用于定位服务器时的定位原理与前述的所述定位方法应用于待定位终端时的定位原理基本相同,在此就不再累述。
在具体实施过程中,当上述初次定位或二次定位获得的地理位置信息不能满足用户的定位精度要求时,可以输出定位地图以供用户自行准确定位。即在通过步骤S204获取所述待定位终端所处的地理位置信息后:
获取所述待定位终端所处的地理位置信息的定位精度;
判断所述定位精度是否满足预设精度要求;
当所述定位精度不满足所述预设精度要求时,显示设定的定位地图;
检测到所述定位地图上被触发确定一定位点的确定操作;
基于所述确定操作,获取所述定位点的精确地理位置信息,作为所述待定位终端所处的地理位置信息。
具体来讲,在定位精度不能满足预设精度要求时,才输出定位地图供用户自行定位,不仅能避免每次都需用户自行定位导致的操作步骤复杂,还能保证定位的精确度。
具体来讲,本申请提供的定位方法,先使用CELL ID来获取一个较大的定位范围,再使用待定位终端及其邻近终端所处位置的地磁信息来进行精确定位,一方面能够弥补WIFI、蓝牙等有源信号定位方法不稳定的缺陷,提高定位稳定性;另一方面弥补了CELL ID定位方法精度低的缺陷,提高了定位精度;再一方面使用待定位终端及其邻近终端所处位置的地磁信息来协同定位,避免了使用单一地磁信息定位存在的定位不准确的缺陷,提高了定位准确度,实现了兼顾定位稳定性、精确度和准确度的技术效果。
下面,以实施例一中的定位方法应用于待定位终端时,站在图1所示系统中的定位服务器的角度对上述方法进行介绍。
实施例二:
在本实施例中,将分初次定位和二次定位两种情况,从定位服务器侧对实施例一中提供的方法应用于待定位终端的情况进行描述。
对于初次定位,请参考图4,图4为本发明实施例中初次定位时定位服务器侧的处理流程图。
该定位方法包括:
步骤S401,接收待定位终端发送的地磁信息组,所述地磁信息组包括邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,其中,所述邻近终端为小区识别码与所述待定位终端的小区识别码相同的终端;
步骤S402,根据所述地磁信息组,确定与所述地磁信息组对应的地理位置信息;
步骤S403,发送所述地理位置信息至所述待定位终端。
在具体实施过程中,所述待定位终端可以为手机、平板电脑或智能手表等终端,在本实施例中不作限制。
在具体实施过程中,步骤S402中根据所述地磁信息组,确定与所述地磁信息组对应的地理位置信息可以为:定位服务器先在实测的地磁信息图中确定出与待定位终端的地磁信息组匹配的区域,再根据大地坐标系获取该区域的大地坐标和地理位置信息。
对于二次定位,请参考图5,图5为本发明实施例中二次定位时定位服务器侧的处理流程图一。
该定位方法包括:
步骤S501,接收待定位终端发送的小区识别码;
步骤S502,根据所述小区识别码,从预存的地磁数据库中,确定与所述小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;
步骤S503,发送所述位置信息集合至所述待定位终端。
在具体实施过程中,所述待定位终端可以为手机、平板电脑或智能手表等终端,在本实施例中不作限制。
在具体实施过程中,步骤S502中根据所述CELL ID,从预存的地磁数据库中,确定与所述小区识别码对应的位置信息集合可以为:定位服务器接收到CELL ID后,解析出CELL ID的值,并从存储单元中读取出与该CELL ID的值对应存储的所有地磁信息组,及对应的地理位置信息,组成位置信息集合。
在具体实施过程中,在二次定位时,也可以是待定位终端将地磁信息组发送给定位服务器,由定位服务器侧来进行匹配出匹配地磁信息组和确定匹配地磁信息组对应的地理位置信息,请参考图6,图6为本发明实施例中二次定位时定位服务器侧的处理流程图二。
此时,定位服务器侧二次定位的具体步骤如下:
步骤S601,接收待定位终端发送的小区识别码和所述待定位终端的地磁信息组;
步骤S602,根据所述小区识别码,从预存的地磁数据库中,确定与所述小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;
步骤S603,从所述至少一个地磁信息组中确定出与所述待定位终端的地磁信息组匹配的匹配地磁信息组;
步骤S604,从所述至少一个地理位置信息中,确定出与所述匹配地磁信息组对应的地理位置信息;
步骤S605,发送所述匹配地磁信息组对应的地理位置信息至所述待定位终端。
实施例三
在本实施例中,提供了一种定位方法,
在介绍本实施例之前,先介绍本实施例中定位方法所对应的系统,如图7所示,图7为一种用于实施本实施例提供的定位方法的系统,该系统包括:定 位服务器、待定位终端和至少一个有源信号设备。
如图8所示,该定位方法包括:
步骤S801,获取有源信号设备广播的所述有源信号设备所处位置的地磁信息和所述有源信号设备的设备标识;
步骤S802,当所述地磁信息符合预设条件时,发送所述设备标识至定位服务器;
步骤S803,接收所述定位服务器基于所述设备标识和预存的设备标识与地理位置信息的对应关系,返回的与所述设备标识对应的地理位置信息。
在具体实施过程中,本实施例提供的定位方法可以应用于手机、平板电脑或智能手表等待定位终端,在本实施例中不作限制。
在具体实施过程中,所述有源信号设备可以为使用蓝牙技术进行广播的蓝牙设备,也可以为使用WIFI技术进行广播的WIFI设备,在本实施例中不作限制。
下面对本实施例提供的方法进行说明:
首先,执行步骤S801获取有源信号设备广播的所述有源信号设备所处位置的地磁信息和所述有源信号设备的设备标识。
具体来讲,待定位终端在接收到定位请求后,通过WIFI或蓝牙搜索接收周边有源信号设备广播的信令;并对接收到的信令进行解析,获取所述有源信号设备的地磁信息和所述有源信号设备的设备标识。
接下来,执行步骤步骤S802,即当所述地磁信息符合预设条件时,发送所述设备标识至定位服务器;
在具体实施过程中,所述地磁信息符合预设条件,至少可以有所述地磁信息符合区域限制和所述地磁信息与历史地磁信息匹配两种,下面分别进行说明:
第一种,所述地磁信息符合区域限制。
即所述当所述地磁信息符合预设条件时,发送所述设备标识至定位服务器,具体为:
判断所述地磁信息中的分量值是否处于预设数值范围;
当所述地磁信息中的分量值是否处于预设数值范围时,发送所述设备标识至定位服务器。
具体来讲,即先判断所述地磁信息中的X方向分量值、Y方向分量值、Z方向分量值和地磁精度值中的任意一个或多个均处于预设数值范围,从而确定该地磁信息在大地坐标系中所对应的区域是否在一个预设的区域内。
当确定该地磁信息在大地坐标系中所对应的区域在一个预设的区域内时,再发送所述设备标识至定位服务器。
在具体实施过程中,所述预设的区域可以为:根据CELL ID等定位技术确定的初始区域。
具体来讲,在地磁信息中的分量值是否处于预设数值范围时,才将设备标识发送至定位服务器来进行定位,能保证用于定位地磁信息符合一定的定位精度要求,提高定位精度。
第二种,所述地磁信息与历史地磁信息匹配。
即所述当所述地磁信息符合预设条件时,发送所述设备标识至定位服务器,具体为:
判断所述地磁信息是否与预存的与所述设备标识对应的历史地磁信息匹配;
当所述地磁信息与所述历史地磁信息匹配时,发送所述设备标识至定位服务器。
在具体实施过程中,判断所述地磁信息是否与所述历史地磁信息匹配的方法可以为:判断所述地磁信息与所述历史地磁信息的匹配度是否大于预设阈值。
具体的匹配度的计算方法可以与实施例一提供的匹配度的计算方法相同,在此不再累述。
具体来讲,在所述地磁信息与所述历史地磁信息匹配时,才将设备标识发送至定位服务器来进行定位,筛除位置发生较大变动的有源信号设备发送的地磁信息,能保证用于定位地磁信息符合一定的准确度要求,提高定位准确度。
下面站在图7所示系统中的有源信号设备的角度对上述方法进行介绍。
实施例四:
在本实施例中,将从有源信号设备侧对上述方法进行描述,请参考图9,图9为本发明实施例中有源信号设备侧的处理流程图。
该定位方法包括:
步骤S901,获取有源信号设备所处位置的地磁信息和所述有源信号设备的设备标识;
步骤S902,广播所述地磁信息和所述设备标识。
在具体实施过程中,本实施例提供的定位方法可以应用于使用蓝牙技术进行广播的有源信号设备,也可以应用于使用WIFI技术进行广播的有源信号设备,在本实施例中不作限制。
在具体实施过程中,所述有源信号设备所处位置的地磁信息可以通过设置在所述有源信号设备上的地磁感应器感应获得。
下面,结合图7从有源信号设备、待定位终端和定位服务器的交互的角度来说明实施例三和实施例四中定位方法的详细步骤:
有源信号设备调用地磁传感器获取地磁数据;
有源信号设备以时间戳和地磁数据进行成对存储;
有源信号设备广播当前获取的地磁数据、设备信息设备ID、信令强度等;
待定位终端收到定位请求后,获取接收到有源信号设备广播的信令;
待定位终端定位解析信令消息,分别对消息中的每个设备的地磁记录进行状态识别,依次根据XYZ轴的地磁值识别出地磁数据发生较大变化的设备标识和地磁数据变化在允许的范围内的设备标识;并设置识别状态后的设备标识集为查询位置设备标识集;
待定位终端发送所述查询位置设备标识集至定位服务器,请求查询位置;
定位服务器设置地磁数据发生较大变化的设备标识为失效,获取地磁数据变化在允许的范围内的设备标识对应的位置信息;
定位服务器返回所述位置信息到位置查询单元;
位置查询单元返回查询的位置信息到待定位终端。
实施例五
基于同一发明构思,本申请还提供一种电子设备。
如图10所示,所述电子设备包括:
处理器1001,用于获取待定位终端的小区识别码;根据所述待定位终端的小区识别码,确定出所述待定位终端的至少一个邻近终端,所述至少一个邻近终端中每个邻近终端的小区识别码与所述待定位终端的小区识别码相同;
收发器1002,用于获取所述处理器1001确定的所述至少一个邻近终端中的每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,以生成所述待定位终端的地磁信息组;并根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息。
具体连接关系为:处理器1001与收发器1002连接。
在本实施例中,所述电子设备可以为手机、平板电脑或智能手表等终端;也可以为定位服务器,在本实施例中不作限制。
在本实施例中,当所述电子设备为终端时,所述收发器1002还用于:发送所述待定位终端的地磁信息组至定位服务器;接收所述定位服务器基于所述待定位终端的地磁信息组,返回的所述待定位终端所处的地理位置信息。
在本实施例中,当所述电子设备为终端时,所述收发器1002还用于,发送所述待定位终端的小区识别码至定位服务器;接收所述定位服务器返回的与所述待定位终端的小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;
所述处理器1001还用于,从所述至少一个地磁信息组中确定出与所述待定位终端的地磁信息组匹配的匹配地磁信息组;确定所述至少一个地理位置信息中,与所述匹配地磁信息组对应的地理位置信息为所述待定位终端所处的地理位置信息。
在本实施例中,当所述电子设备为终端时,所述收发器1002还用于,发送所述待定位终端的小区识别码和所述待定位终端的地磁信息组至定位服务器;并接收所述定位服务器返回的与所述待定位终端的地磁信息组匹配的匹配地磁 信息组对应的地理位置信息;
所述处理器1001还用于,确定所述匹配地磁信息组对应的地理位置信息为所述待定位终端所处的地理位置信息。
进一步,所述处理器1001还用于,根据所述待定位终端的小区识别码,确定出至少一个预邻近终端,所述至少一个预邻近终端包括小区识别码与所述待定位终端的小区识别码相同的预邻近终端;获取所述至少一个预邻近终端中每个预邻近终端的上下文信息,和所述待定位终端的上下文信息;从所述至少一个预邻近终端中,确定出上下文信息与所述待定位终端的上下文信息匹配的预邻近终端,组成所述待定位终端的至少一个邻近终端。
具体的,所述上下文信息为无线保真标识、蓝牙标识和全球定位系统参数中的一种或多种的组合。
进一步,所述收发器1002还用于,获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,组成预地磁信息组,并发送所述预地磁信息组至所述处理器1001;
所述处理器1001还用于,接收所述收发器1002发送的所述预地磁信息组,从所述预地磁信息组中,确定出垂直分量值与所述待定位终端所处位置的地磁信息的垂直分量值的差值小于预设阈值的地磁信息,组成所述待定位终端的地磁信息组。
在本实施例中,所述处理器1001还用于,获取所述待定位终端所处的地理位置信息的定位精度;判断所述定位精度是否满足预设精度要求;当所述定位精度不满足所述预设精度要求时,控制显示设定的定位地图;并在检测到所述定位地图上被触发确定一定位点的确定操作后,基于所述确定操作,获取所述定位点的精确地理位置信息,作为所述待定位终端所处的地理位置信息。
本实施例中提供的电子设备与实施例一中的定位方法,是基于同一发明构思下的两个方面,在前面已经对方法的实施过程作了详细的描述,所以本领域技术人员可根据前述描述清楚的了解本实施例中的设备结构及实施过程,为了说明书的简洁,在此就不再赘述了。
实施例六
基于同一发明构思,本申请还提供一种定位服务器。
如图11所示,所述定位服务器包括:
收发器1101,用于接收待定位终端发送的地磁信息组,并发送所述地磁信息组至处理器,所述地磁信息组包括邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,其中,所述邻近终端为小区识别码与所述待定位终端的小区识别码相同的终端;
所述处理器1102,用于根据所述收发器1101发送的所述地磁信息组,确定与所述地磁信息组对应的地理位置信息,并控制所述收发器发送所述地理位置信息至所述待定位终端。
具体连接关系为:处理器1102与收发器1101连接。
基于同一发明构思,本申请还提供一种定位服务器。
如图12所示,所述定位服务器包括:
收发器1201,用于接收待定位终端发送的小区识别码,并发送所述小区识别码至处理器1202;
所述处理器1202,用于根据收发器1201发送的所述小区识别码,从预存的地磁数据库中,确定与所述小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;并控制所述收发器发送所述位置信息集合至所述待定位终端。
具体连接关系为:处理器1202与收发器1201连接。
基于同一发明构思,本申请还提供一种定位服务器。
如图13所示,所述定位服务器包括:
收发器1301,用于接收待定位终端发送的小区识别码和所述待定位终端的地磁信息组;并发送所述小区识别码和所述待定位终端的地磁信息组至处理器1302;
所述处理器1302,用于根据所述小区识别码,从预存的地磁数据库中,确定与所述小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地 磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;从所述至少一个地磁信息组中确定出与所述待定位终端的地磁信息组匹配的匹配地磁信息组;从所述至少一个地理位置信息中,确定出与所述匹配地磁信息组对应的地理位置信息;并控制所述收发器1301发送所述匹配地磁信息组对应的地理位置信息至所述待定位终端。
具体连接关系为:处理器1302与收发器1301连接。
本实施例中提供的定位服务器与实施例二中的定位方法,是基于同一发明构思下的两个方面,在前面已经对方法的实施过程作了详细的描述,所以本领域技术人员可根据前述描述清楚的了解本实施例中的设备结构及实施过程,为了说明书的简洁,在此就不再赘述了。
实施例七
基于同一发明构思,本申请还提供一种终端。
如图14所示,所述终端包括:
收发器1401,用于获取有源信号设备广播的所述有源信号设备所处位置的地磁信息和所述有源信号设备的设备标识;当所述地磁信息符合预设条件时发送所述设备标识至定位服务器;并接收所述定位服务器基于所述设备标识和预存的设备标识与地理位置信息的对应关系,返回的与所述设备标识对应的地理位置信息。
进一步,所述终端还包括:
处理器1402,用于接收所述收发器1401发送的所述地磁信息和所述设备标识,并判断所述地磁信息是否与预存的与所述设备标识对应的历史地磁信息匹配;当所述地磁信息与所述历史地磁信息匹配时,控制所述收发器1401发送所述设备标识至定位服务器。
具体连接关系为:处理器1402与收发器1401连接。
本实施例中提供的终端与实施例三中的定位方法,是基于同一发明构思下的两个方面,在前面已经对方法的实施过程作了详细的描述,所以本领域技术人员可根据前述描述清楚的了解本实施例中的设备结构及实施过程,为了说明 书的简洁,在此就不再赘述了。
实施例八
基于同一发明构思,本申请还提供一种有源信号设备。
如图15所示,所述有源信号设备包括:
收发器1501,用于获取有源信号设备所处位置的地磁信息和所述有源信号设备的设备标识;并广播所述地磁信息和所述设备标识。
本实施例中提供的终端与实施例四中的定位方法,是基于同一发明构思下的两个方面,在前面已经对方法的实施过程作了详细的描述,所以本领域技术人员可根据前述描述清楚的了解本实施例中的设备结构及实施过程,为了说明书的简洁,在此就不再赘述了。
实施例九
在本实施例中,提供了一种通信方法,
在介绍本实施例之前,先介绍本实施例中通信方法所对应的系统,如图16所示,图16为一种用于实施本实施例提供的通信方法的系统,该系统包括:精准营销服务器、精准营销规则定义终端和至少一个用户终端。
如图17所示,该定位方法包括:
步骤S1701,精准营销服务器获取所述至少一个用户终端中每个用户终端所处位置的地磁信息;
步骤S1702,精准营销服务器根据预设的地磁信息取值范围,从所述至少一个用户终端中确定出用户终端组;其中,所述用户终端组中的每个用户终端所处位置的地磁信息满足所述地磁信息取值范围;
步骤S1703,精准营销服务器发送预设数据至所述用户终端组中的每个用户终端。
在具体实施过程中,所述用户终端可以为手机、平板电脑或智能手表等终端,在本实施例中不作限制。
下面对本实施例提供的方法进行说明:
首先,执行步骤S1701,精准营销服务器获取所述至少一个用户终端中每 个用户终端所处位置的地磁信息。
具体来讲,地磁信息可以包括与水平面平行的X方向分量值、与水平面平行Y方向分量值、与水平面垂直的Z方向垂直分量值,其中,X方向分量值表示沿X方向的地磁强度,Y方向分量值表示沿Y方向的地磁强度,垂直分量值表示沿Z方向的地磁强度。
例如,地磁信息可以为{x,y,z},其中,x为X方向分量值,y为Y方向分量值,z为垂直分量值。
接下来,执行步骤S1702,即精准营销服务器根据预设的地磁信息取值范围,从所述至少一个用户终端中确定出用户终端组;其中,所述用户终端组中的每个用户终端所处位置的地磁信息满足所述地磁信息取值范围。
在具体实施过程中,所述预设的地磁信息取值范围可以是图16所示系统中的精准营销规则定义终端预先发送给所述精准营销服务器的。
具体来讲,所述地磁信息取值范围可以包括地磁信息中的X方向分量值的取值范围,Y方向分量值的取值范围和垂直分量值的取值范围。所述用户终端组中的每个用户终端的X方向分量值,Y方向分量值和垂直分量值均满足对应的取值范围要求。
最后,执行步骤S1703,精准营销服务器发送预设数据至所述用户终端组中的每个用户终端。
在具体实施过程中,所述预设数据可以为图16所示系统中的精准营销规则定义终端预先发送给所述精准营销服务器的。
实施例十
基于同一发明构思,本申请还提供一种精准营销服务器。
如图18所示,所述精准营销服务器包括:
收发器1801,用于接收所述至少一个用户终端中每个用户终端所处位置的地磁信息;并发送所述地磁信息至处理器1802;
所述处理器1802,用于根据预设的地磁信息取值范围,从所述至少一个用户终端中确定出用户终端组;其中,所述用户终端组中的每个用户终端所处位 置的地磁信息满足所述地磁信息取值范围;并控制所述收发器1801发送预设数据至所述用户终端组中的每个用户终端。
在具体实施过程中,所述用户终端可以为手机、平板电脑或智能手表等终端,在本实施例中不作限制。
具体连接关系为:处理器1802与收发器1801连接。
本实施例中提供的精准营销服务器与实施例九中的通信方法,是基于同一发明构思下的两个方面,在前面已经对方法的实施过程作了详细的描述,所以本领域技术人员可根据前述描述清楚的了解本实施例中的设备结构及实施过程,为了说明书的简洁,在此就不再赘述了。
在本申请所提供的几个实施例中,应该理解到,所述收发器可以为收发单元或收发模块;所述处理器可以为处理单元或处理模块。
上述本申请实施例中的技术方案,具有至少一个如下的技术效果或优点:
本发明实施例中,先使用CELL ID来获取一个较大的定位范围,再使用待定位终端及其邻近终端所处位置的地磁信息来进行精确定位,一方面能够弥补WIFI、蓝牙等有源信号定位方法不稳定的缺陷,提高定位稳定性;另一方面弥补了CELL ID定位方法精度低的缺陷,提高了定位精度;再一方面使用待定位终端及其邻近终端所处位置的地磁信息来协同定位,避免了使用单一地磁信息定位存在的定位不准确的缺陷,提高了定位准确度,实现了兼顾定位稳定性、精确度和准确度的技术效果。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发
明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (22)

  1. 一种定位方法,其特征在于,包括:
    获取待定位终端的小区识别码;
    根据所述待定位终端的小区识别码,确定出所述待定位终端的至少一个邻近终端,所述至少一个邻近终端中每个邻近终端的小区识别码与所述待定位终端的小区识别码相同;
    获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,以生成所述待定位终端的地磁信息组;
    根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息。
  2. 如权利要求1所述的定位方法,其特征在于,根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息,包括:
    发送所述待定位终端的地磁信息组至定位服务器;
    接收所述定位服务器基于所述待定位终端的地磁信息组,返回的所述待定位终端所处的地理位置信息。
  3. 如权利要求1所述的定位方法,其特征在于,根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息,包括:
    发送所述待定位终端的小区识别码至定位服务器;
    接收所述定位服务器返回的与所述待定位终端的小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;
    从所述至少一个地磁信息组中确定出与所述待定位终端的地磁信息组匹配的匹配地磁信息组;
    确定所述至少一个地理位置信息中,与所述匹配地磁信息组对应的地理位置信息为所述待定位终端所处的地理位置信息。
  4. 如权利要求1所述的定位方法,其特征在于,根据所述待定位终端的地 磁信息组,获取所述待定位终端所处的地理位置信息,包括:
    发送所述待定位终端的小区识别码和所述待定位终端的地磁信息组至定位服务器;
    接收所述定位服务器返回的与所述待定位终端的地磁信息组匹配的匹配地磁信息组对应的地理位置信息;
    确定所述匹配地磁信息组对应的地理位置信息为所述待定位终端所处的地理位置信息。
  5. 如权利要求1-4任一所述的定位方法,其特征在于,根据所述待定位终端的小区识别码,确定出所述待定位终端的至少一个邻近终端,包括:
    根据所述待定位终端的小区识别码,确定出至少一个预邻近终端,所述至少一个预邻近终端包括小区识别码与所述待定位终端的小区识别码相同的预邻近终端;
    获取所述至少一个预邻近终端中每个预邻近终端的上下文信息,和所述待定位终端的上下文信息;
    从所述至少一个预邻近终端中,确定出上下文信息与所述待定位终端的上下文信息匹配的预邻近终端,组成所述待定位终端的至少一个邻近终端。
  6. 如权利要求5所述的定位方法,其特征在于,所述上下文信息为无线保真标识、蓝牙标识和全球定位系统参数中的一种或多种的组合。
  7. 如权利要求1所述的定位方法,其特征在于,获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,以生成所述待定位终端的地磁信息组,包括:
    获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,组成预地磁信息组;
    从所述预地磁信息组中,确定出垂直分量值与所述待定位终端所处位置的地磁信息的垂直分量值的差值小于预设阈值的地磁信息,组成所述待定位终端的地磁信息组。
  8. 如权利要求1所述的定位方法,其特征在于,在根据所述待定位终端的 地磁信息组,获取所述待定位终端所处的地理位置信息之后,还包括:
    获取所述待定位终端所处的地理位置信息的定位精度;
    判断所述定位精度是否满足预设精度要求;
    当所述定位精度不满足所述预设精度要求时,显示设定的定位地图;
    检测到所述定位地图上被触发确定一定位点的确定操作;
    基于所述确定操作,获取所述定位点的精确地理位置信息,作为所述待定位终端所处的地理位置信息。
  9. 一种定位方法,其特征在于,包括:
    接收待定位终端发送的地磁信息组,所述地磁信息组包括邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,其中,所述邻近终端为小区识别码与所述待定位终端的小区识别码相同的终端;
    根据所述地磁信息组,确定与所述地磁信息组对应的地理位置信息;
    发送所述地理位置信息至所述待定位终端。
  10. 一种定位方法,其特征在于,包括:
    接收待定位终端发送的小区识别码;
    根据所述小区识别码,从预存的地磁数据库中,确定与所述小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;
    发送所述位置信息集合至所述待定位终端。
  11. 一种定位方法,其特征在于,包括:
    接收待定位终端发送的小区识别码和所述待定位终端的地磁信息组;
    根据所述小区识别码,从预存的地磁数据库中,确定与所述小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;
    从所述至少一个地磁信息组中确定出与所述待定位终端的地磁信息组匹配的匹配地磁信息组;
    从所述至少一个地理位置信息中,确定出与所述匹配地磁信息组对应的地理位置信息;
    发送所述匹配地磁信息组对应的地理位置信息至所述待定位终端。
  12. 一种电子设备,其特征在于,包括:
    处理器,用于获取待定位终端的小区识别码;根据所述待定位终端的小区识别码,确定出所述待定位终端的至少一个邻近终端,所述至少一个邻近终端中每个邻近终端的小区识别码与所述待定位终端的小区识别码相同;
    收发器,用于获取所述处理器确定的所述至少一个邻近终端中的每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,以生成所述待定位终端的地磁信息组;并根据所述待定位终端的地磁信息组,获取所述待定位终端所处的地理位置信息。
  13. 如权利要求12所述的电子设备,其特征在于,所述收发器还用于:
    发送所述待定位终端的地磁信息组至定位服务器;接收所述定位服务器基于所述待定位终端的地磁信息组,返回的所述待定位终端所处的地理位置信息。
  14. 如权利要求12所述的电子设备,其特征在于:
    所述收发器还用于,发送所述待定位终端的小区识别码至定位服务器;接收所述定位服务器返回的与所述待定位终端的小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;
    所述处理器还用于,从所述至少一个地磁信息组中确定出与所述待定位终端的地磁信息组匹配的匹配地磁信息组;确定所述至少一个地理位置信息中,与所述匹配地磁信息组对应的地理位置信息为所述待定位终端所处的地理位置信息。
  15. 如权利要求12所述的电子设备,其特征在于:
    所述收发器还用于,发送所述待定位终端的小区识别码和所述待定位终端的地磁信息组至定位服务器;并接收所述定位服务器返回的与所述待定位终端的地磁信息组匹配的匹配地磁信息组对应的地理位置信息;
    所述处理器还用于,确定所述匹配地磁信息组对应的地理位置信息为所述待定位终端所处的地理位置信息。
  16. 如权利要求12-15任一所述的电子设备,其特征在于,所述处理器还用于:
    根据所述待定位终端的小区识别码,确定出至少一个预邻近终端,所述至少一个预邻近终端包括小区识别码与所述待定位终端的小区识别码相同的预邻近终端;获取所述至少一个预邻近终端中每个预邻近终端的上下文信息,和所述待定位终端的上下文信息;从所述至少一个预邻近终端中,确定出上下文信息与所述待定位终端的上下文信息匹配的预邻近终端,组成所述待定位终端的至少一个邻近终端。
  17. 如权利要求16所述的电子设备,其特征在于,所述上下文信息为无线保真标识、蓝牙标识和全球定位系统参数中的一种或多种的组合。
  18. 如权利要求13所述的电子设备,其特征在于:
    所述收发器还用于,获取所述至少一个邻近终端中每个邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,组成预地磁信息组,并发送所述预地磁信息组至所述处理器;
    所述处理器还用于,接收所述收发器发送的所述预地磁信息组,从所述预地磁信息组中,确定出垂直分量值与所述待定位终端所处位置的地磁信息的垂直分量值的差值小于预设阈值的地磁信息,组成所述待定位终端的地磁信息组。
  19. 如权利要求13所述的电子设备,其特征在于,所述处理器还用于:
    获取所述待定位终端所处的地理位置信息的定位精度;判断所述定位精度是否满足预设精度要求;当所述定位精度不满足所述预设精度要求时,控制显示设定的定位地图;并在检测到所述定位地图上被触发确定一定位点的确定操作后,基于所述确定操作,获取所述定位点的精确地理位置信息,作为所述待定位终端所处的地理位置信息。
  20. 一种定位服务器,其特征在于,包括:
    收发器,用于接收待定位终端发送的地磁信息组,并发送所述地磁信息组 至处理器,所述地磁信息组包括邻近终端所处位置的地磁信息和所述待定位终端所处位置的地磁信息,其中,所述邻近终端为小区识别码与所述待定位终端的小区识别码相同的终端;
    所述处理器,用于根据所述收发器发送的所述地磁信息组,确定与所述地磁信息组对应的地理位置信息,并控制所述收发器发送所述地理位置信息至所述待定位终端。
  21. 一种定位服务器,其特征在于,包括:
    收发器,用于接收待定位终端发送的小区识别码,并发送所述小区识别码至处理器;
    所述处理器,用于根据收发器发送的所述小区识别码,从预存的地磁数据库中,确定与所述小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;并控制所述收发器发送所述位置信息集合至所述待定位终端。
  22. 一种定位服务器,其特征在于,包括:
    收发器,用于接收待定位终端发送的小区识别码和所述待定位终端的地磁信息组;并发送所述小区识别码和所述待定位终端的地磁信息组至处理器;
    所述处理器,用于根据所述小区识别码,从预存的地磁数据库中,确定与所述小区识别码对应的位置信息集合,所述位置信息集合包括至少一个地磁信息组和与所述至少一个地磁信息组对应的至少一个地理位置信息;从所述至少一个地磁信息组中确定出与所述待定位终端的地磁信息组匹配的匹配地磁信息组;从所述至少一个地理位置信息中,确定出与所述匹配地磁信息组对应的地理位置信息;并控制所述收发器发送所述匹配地磁信息组对应的地理位置信息至所述待定位终端。
PCT/CN2015/086938 2014-09-25 2015-08-14 一种定位方法及电子设备 WO2016045462A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP15844279.8A EP3182773A4 (en) 2014-09-25 2015-08-14 Positioning method and electronic device
US15/463,014 US9913243B2 (en) 2014-09-25 2017-03-20 Positioning method and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410499303.2 2014-09-25
CN201410499303.2A CN105451329B (zh) 2014-09-25 2014-09-25 一种定位方法及电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/463,014 Continuation US9913243B2 (en) 2014-09-25 2017-03-20 Positioning method and electronic device

Publications (1)

Publication Number Publication Date
WO2016045462A1 true WO2016045462A1 (zh) 2016-03-31

Family

ID=55560999

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/086938 WO2016045462A1 (zh) 2014-09-25 2015-08-14 一种定位方法及电子设备

Country Status (4)

Country Link
US (1) US9913243B2 (zh)
EP (1) EP3182773A4 (zh)
CN (1) CN105451329B (zh)
WO (1) WO2016045462A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10524224B2 (en) * 2017-07-18 2019-12-31 Futurewei Technologies, Inc. Method and system for positioning of remote user equipment
EP3592055B1 (en) * 2018-07-03 2022-03-23 Sony Network Communications Europe B.V. Methods for securely validating localization of a wireless communication device, and related devices
CN111121752B (zh) * 2019-12-30 2021-08-10 中祖建设安装工程有限公司 一种智慧工地定位装置控制方法及系统
CN113301551A (zh) * 2020-01-13 2021-08-24 上海麦腾物联网技术有限公司 一种基于地磁传感器的蓝牙设备
CN114727220B (zh) * 2020-08-05 2022-12-27 华为技术有限公司 一种设备搜寻方法以及电子设备
CN112013842A (zh) * 2020-08-29 2020-12-01 桂林电子科技大学 一种基于图像地磁场和惯性传感器的多模态室内定位方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008120149A1 (en) * 2007-04-02 2008-10-09 Nxp B.V. Low cost electronic compass with 2d magnetometer
CN102547572A (zh) * 2012-03-01 2012-07-04 华为技术有限公司 确定用户的位置的方法和装置及通信系统
CN103067861A (zh) * 2013-01-16 2013-04-24 百度在线网络技术(北京)有限公司 无线接入设备的地理位置信息获取方法及设备
CN103634900A (zh) * 2012-08-24 2014-03-12 富士通株式会社 定位移动终端的方法和移动终端
CN104020447A (zh) * 2014-05-27 2014-09-03 美新半导体(无锡)有限公司 一种室内组合定位系统及其定位方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008122160A (ja) * 2006-11-09 2008-05-29 Nec Corp 携帯端末、サーバ、簡易ナビゲーションシステム、簡易ナビゲーション方法およびプログラム
CN101354253B (zh) 2008-09-19 2010-09-01 北京航空航天大学 一种基于匹配度的地磁辅助导航方法
KR101702922B1 (ko) * 2010-05-31 2017-02-09 삼성전자주식회사 휴대용 단말기의 영역 인식 장치 및 방법
KR101744723B1 (ko) 2010-12-20 2017-06-20 한국전자통신연구원 실내 위치 인식 시스템 및 이를 이용한 실내 위치 인식 방법
CN103363988B (zh) 2013-07-24 2016-02-03 武汉诚迈科技有限公司 一种利用智能手机传感器实现地磁室内定位导航的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008120149A1 (en) * 2007-04-02 2008-10-09 Nxp B.V. Low cost electronic compass with 2d magnetometer
CN102547572A (zh) * 2012-03-01 2012-07-04 华为技术有限公司 确定用户的位置的方法和装置及通信系统
CN103634900A (zh) * 2012-08-24 2014-03-12 富士通株式会社 定位移动终端的方法和移动终端
CN103067861A (zh) * 2013-01-16 2013-04-24 百度在线网络技术(北京)有限公司 无线接入设备的地理位置信息获取方法及设备
CN104020447A (zh) * 2014-05-27 2014-09-03 美新半导体(无锡)有限公司 一种室内组合定位系统及其定位方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3182773A4 *

Also Published As

Publication number Publication date
US20170195985A1 (en) 2017-07-06
US9913243B2 (en) 2018-03-06
EP3182773A4 (en) 2017-08-23
CN105451329B (zh) 2019-04-05
CN105451329A (zh) 2016-03-30
EP3182773A1 (en) 2017-06-21

Similar Documents

Publication Publication Date Title
WO2016045462A1 (zh) 一种定位方法及电子设备
US11564199B2 (en) Navigation and positioning system using radio beam support information
US11360195B2 (en) Determining a location of a transmitter device
US8364166B2 (en) System and method of position location transfer
US10075934B2 (en) Positioning method and apparatus
CN108353246B (zh) 移动网络中的定位方法、服务器、基站、移动终端和系统
EP2677337B1 (en) Method and apparatus for providing semantic location in electronic device
CN108712712B (zh) 无线保真WiFi网络关联信息显示方法及装置
US20150055492A1 (en) System and method for selecting a wi-fi access point for position determnation
EP3451756A1 (en) Enhanced timing measurement techniques for determining distance in wireless networks
WO2010107351A1 (en) Angle of arrival downlink signaling
US20200022103A1 (en) Electronic device, server device, and method for determining location of electronic device
WO2020063541A1 (zh) 信息处理方法、通信设备、系统及存储介质
WO2017214979A1 (zh) 移动终端及其定位方法
CN110856113A (zh) 查找识别附近设备的方法、装置和系统
WO2022007923A1 (zh) 定位校准方法及设备
CN112822627B (zh) 多模终端的定位方法、多模终端和计算机可读存储介质
US10306585B2 (en) Signal determining method and apparatus
US9277527B2 (en) Wireless access node calibration capability for improved mobile wireless device location accuracy
US20240007991A1 (en) Positioning method and apparatus, and communication device

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

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2015844279

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015844279

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE