WO2018184263A1 - 一种定位方法及装置 - Google Patents
一种定位方法及装置 Download PDFInfo
- Publication number
- WO2018184263A1 WO2018184263A1 PCT/CN2017/081727 CN2017081727W WO2018184263A1 WO 2018184263 A1 WO2018184263 A1 WO 2018184263A1 CN 2017081727 W CN2017081727 W CN 2017081727W WO 2018184263 A1 WO2018184263 A1 WO 2018184263A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- signal source
- identifier
- terminal
- location
- comprehensive
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO 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
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/24—Acquisition or tracking or demodulation of signals transmitted by the system
- G01S19/25—Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
Definitions
- the present application relates to the field of communications technologies, and in particular, to a positioning method and apparatus.
- LBS Location Based Service
- GIS Geographic Information System
- GPS Global Positioning System
- TTFF GPS Time to First Fix
- the GPS first positioning time refers to the time required for the terminal with GPS positioning function to start GPS positioning and successfully locate.
- a positioning method widely used at present is that the terminal acquires the auxiliary position, and searches for the tracking satellite according to the obtained auxiliary position to complete the first positioning.
- a method for obtaining an auxiliary location includes: pre-storing a mapping relationship between a cell identifier, a location, and a location frequency; and during positioning, the terminal acquires an identifier of a currently registered cell, and searches for a pre-stored identifier according to the cell identifier.
- the mapping relationship obtains all the locations corresponding to the currently registered cell of the user, and the location with the highest frequency of occurrence among all the locations is used as the auxiliary location.
- this implementation can cause errors in the following situations, resulting in the inability to get the auxiliary location.
- the physical distances of P and Q are not far (within a few kilometers), but correspond to different registered cells, for example, the corresponding registered cell at P is cell A, and the corresponding registered cell at Q is cell B.
- the terminal only stores the mapping relationship between the locations at the cells A and P (the location at the P is called the location P for convenience of description)
- the terminal moves to the Q and needs GPS positioning, since the terminal acquires If the identity of the cell B is not found, the location assistance function cannot be completed.
- the position P can be positioned as an auxiliary position assisting terminal.
- the area P is a cross-over coverage area of the cell A and the cell B.
- the terminal may be registered to different cells at different times: at a certain time T1, the terminal is registered in the cell A, and the terminal is acquired in advance.
- the location P the terminal stores the mapping relationship of the location P at the cell A and the P; then, at the time T2, when the terminal is located at the P and needs GPS positioning, the identifier of the currently registered cell acquired by the terminal is the cell B.
- the location assistance function cannot be completed because the mapping relationship corresponding to the cell B is not found.
- the mapping relationship between the locations of the cells A and P established when the cell A is registered can be used as the location assistance information providing terminal to assist the positioning.
- Embodiments of the present application provide a positioning method and apparatus for solving the problem of low success rate of providing an auxiliary position existing in the prior art.
- a positioning method which can be applied to a scenario for performing satellite positioning.
- the method includes: determining, by the terminal, an identifier of the M target signal sources, where the value of M is an integer greater than 1, and the target signal source is the current terminal.
- the signal source whose detected signal strength is greater than a preset threshold; then, the terminal acquires a position that matches the identifier of the M target signal sources according to the identifiers of the M target signal sources; and further, the terminal uses the position as the auxiliary position and Satellite positioning is performed based on the location.
- the signal source referred to in the embodiment of the present application is an access point that can be detected by the base station or the terminal that the terminal can detect, such as a wireless router.
- the value of the preset threshold can be set according to actual needs.
- the terminal when determining the auxiliary location, the terminal considers multiple signal sources that can be detected currently, and the multiple signal sources may be the signal source currently accessed by the terminal, or may be the current access signal source.
- Adjacent signal sources and in the case of determining the auxiliary position, may refer to positions corresponding to adjacent signal sources only when the auxiliary source position cannot be successfully acquired according to the currently accessed signal source, for example, the position corresponding to the adjacent signal source It is determined as the auxiliary position, so the success rate of obtaining the auxiliary position can be improved by the above method.
- the terminal acquires a location that matches the identifiers of the M target signal sources according to the identifiers of the M target signal sources, including: determining, by the terminal, the current source according to the identifiers of the M target signal sources.
- the comprehensive identifier, the current signal source comprehensive identifier is composed of the identifiers of the M target signal sources; further, the terminal determines a target signal source comprehensive identifier that matches the current signal source comprehensive identifier and a location corresponding to the target signal source comprehensive identifier;
- the location corresponding to the target signal source integrated identifier is determined as a location that matches the identifier of the M target signal sources, that is, the current auxiliary location of the terminal, and is located according to the current auxiliary location.
- the determining, by the terminal, the current signal source comprehensive identifier comprises: the terminal arranging the identifiers of the M target signal sources according to the signal strength of the signal source to generate the current signal source comprehensive identifier.
- the preset threshold can be set according to actual needs.
- the current signal source comprehensive identifier may be a set of identifiers of the M target signal sources as a signal source, and the identifier of each of the M target signal sources is an element of the set, and the order of each element in the set may be Arranged in order of signal strength, such as in order of signal strength from high to low or from low to high.
- the signal source comprehensive identifier when determining the auxiliary position, first determining the current signal source comprehensive identifier, and determining a position corresponding to the target signal source comprehensive identifier that can match the current signal source comprehensive identifier as the current auxiliary position, and according to the current auxiliary Position for positioning.
- the signal source comprehensive identifier when determining the auxiliary position, the signal source comprehensive identifier is used, and the signal source comprehensive identifier is composed of the identifiers of the M signal sources whose terminal can detect the signal strength and the signal strength is greater than a preset threshold, therefore,
- the signal source comprehensive identifier can reflect the relationship between the terminal and the coverage of multiple signal sources, indicating that the terminal may be located in the coverage of multiple signal sources.
- the method provided by the embodiment of the present application comprehensively considers multiple signal sources, and can further position other signal sources, such as terminal neighbors.
- the location corresponding to the cell is determined as an auxiliary The location can improve the success rate of the terminal to obtain the auxiliary location.
- the terminal locally stores the mapping relationship between the integrated identifier of the signal source and the location; the terminal searches for the target signal source that satisfies the preset condition similarity to the current signal source in the stored mapping relationship. And identifying the location corresponding to the target signal source comprehensive identifier, and using the location as a location matching the identifiers of the M target signal sources, that is, the current auxiliary location of the terminal.
- the terminal since the terminal locally pre-stores the mapping relationship between the integrated identifier of the signal source and the location, the terminal does not need to interact with the network side or other devices, even in the unconnected state, the terminal determines the current signal source. After the comprehensive identification, the location corresponding to the comprehensive identifier of the signal source similar to the current signal source comprehensive identifier is determined as the auxiliary location by searching for the already stored mapping relationship.
- the preset condition referred to in the embodiment of the present application includes: the target signal source comprehensive identifier is a comprehensive identifier of the signal source that comprehensively identifies the identifier including at least N identical signal sources with the current signal source.
- the N is an integer whose value is greater than or equal to 1 and less than or equal to M.
- the preset condition further includes: the target signal source integrated identifier is the at least two signals, when there is at least two signal source integrated identifiers that are different from the current source and the identifiers of the current source, The comprehensive identification of the source of the source ID and the source ID of the current source is the same.
- the terminal also saves the setup time of the mapping relationship between the integrated identifier of the signal source and the location; and when there are at least two signal sources integrated with the identifier of the current signal source including at least N identical signal sources
- the preset condition further includes: the target signal source comprehensive identifier is that the establishing time of the mapping relationship in the comprehensive identifier of the at least two signal sources is the latest signal source comprehensive identifier.
- the method further includes: determining, by the terminal, whether the mapping relationship corresponding to the current signal source comprehensive identifier is saved locally; if the terminal is saved, the terminal locates the satellite. The current location of the terminal is updated to the location corresponding to the current source integrated identifier; if not saved, the terminal stores the mapping relationship between the current source integrated identifier and the current location of the terminal obtained after satellite positioning.
- the terminal can update the mapping relationship between the integrated identification of the signal source and the location in real time during the satellite positioning process.
- another implementation manner in which the terminal acquires a location matching the identifiers of the M signal sources includes: the terminal sends the current signal source comprehensive identifier to the network device, by the network The device determines, according to the current signal source comprehensive identifier, a target signal source comprehensive identifier that meets the preset condition, and a location corresponding to the target signal source comprehensive identifier, and the network device integrates the target signal source identifier And the location corresponding to the target signal source comprehensive identifier is sent to the terminal.
- the network device may be a network location server or a device located on the core network side.
- the network device stores a mapping relationship between the signal source integrated identifier and the location.
- the network device determines the target signal source comprehensive identifier and the location corresponding to the target signal source comprehensive identifier according to the current signal source comprehensive identifier and searches for the stored mapping relationship, and sends the location to the terminal.
- the network side The specific implementation of determining the target signal source comprehensive identifier by the device may refer to the foregoing possible design of the terminal in determining the target signal source comprehensive identifier.
- the process of determining the comprehensive identifier of the target signal source is performed by the network side device, which can save the memory of the terminal and reduce the occupation of the terminal resources.
- a terminal including: a determining unit, configured to determine an identifier of the M target signal sources, where the value of the M is an integer greater than 1, and the target signal source is a signal that the terminal can currently detect. a signal source having a strength greater than a preset threshold; an acquiring unit, configured to acquire, according to the identifiers of the M target signal sources determined by the determining unit, a location that matches an identifier of the M target signal sources; and a positioning unit, configured to The location acquired by the acquisition unit is used for satellite positioning.
- the determining unit is specifically configured to determine a current signal source comprehensive identifier, where the current signal source comprehensive identifier is composed of identifiers of the M target signal sources; and the obtaining unit is specifically configured to: Obtaining a target signal source comprehensive identifier that matches the current signal source comprehensive identifier determined by the determining unit, and a location corresponding to the target signal source comprehensive identifier; and determining a location corresponding to the target signal source comprehensive identifier as the M The location of the target source's identity matches.
- the determining unit is further configured to generate the current signal source integrated identifier by sequentially arranging the identifiers of the M target signal sources according to signal strength of the signal source.
- the terminal further includes a storage unit, configured to store a mapping relationship between the signal source integrated identifier and the location; the acquiring unit is further configured to search in the mapping relationship stored by the storage unit And integrating, by the current signal source, a target signal source comprehensive identifier whose similarity satisfies a preset condition and a position corresponding to the target signal source comprehensive identifier.
- the preset condition includes: the target signal source is comprehensively identified as: a comprehensive identifier of the signal source including the identifier of the at least N identical signal sources, and the N It is an integer whose value is greater than or equal to 1 and less than or equal to M.
- the preset condition when there are at least two signal source integrated identifiers that are combined with the identification of at least N identical signal sources of the current signal source, the preset condition further includes: the target signal source
- the comprehensive identifier is a comprehensive identifier of the signal source with the same identification of the same source source included in the comprehensive identifier of the at least two signal sources.
- the storage unit is further configured to save a setup time of a mapping relationship between the integrated identifier of the signal source and the location; and when there are at least two identifiers that include at least N identical signal sources with the current source integrated identifier
- the preset condition further includes: the target signal source comprehensive identifier is that the establishing time of the mapping relationship in the comprehensive identifier of the at least two signal sources is the latest signal source comprehensive identifier.
- the determining unit is further configured to determine whether a mapping relationship corresponding to the current signal source comprehensive identifier is saved locally; if the mapping relationship corresponding to the current signal source comprehensive identifier is saved, The location of the current location of the terminal obtained by the location unit is updated to the location corresponding to the current source identifier; if the mapping relationship corresponding to the current source identifier is not saved, the storage unit stores the current source synthesis. And mapping a mapping relationship between the location of the terminal and the current location of the terminal obtained by the positioning unit.
- a terminal comprising a processor and a memory, the memory storing instructions for executing instructions stored in the memory to perform the method of the above aspect.
- a computer readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method described in the above aspects.
- a computer program product comprising instructions that, when run on a computer, cause the computer to perform the method described in the above aspects.
- FIG. 1a and 1b are schematic views showing the inability to provide an effective auxiliary position when the auxiliary position is provided by the prior art method
- FIG. 2a is a schematic diagram of an application scenario provided by an embodiment of the present application.
- 2b is a schematic structural diagram of a mobile phone according to an embodiment of the present application.
- FIG. 3 is a flowchart of a positioning method according to an embodiment of the present application.
- FIG. 3b is a flowchart of another positioning method according to an embodiment of the present application.
- 4a is a flowchart of a method for determining a comprehensive identifier of a current signal source according to an embodiment of the present application
- 4b is a flowchart of a method for determining a target signal source integrated identifier that matches a current signal source comprehensive identifier according to an embodiment of the present application
- FIG. 5 is a schematic diagram of an application scenario according to an embodiment of the present disclosure.
- FIG. 6 is a flowchart of a method for updating a mapping relationship between a comprehensive identifier of a signal source and a location according to an embodiment of the present disclosure
- FIG. 7 is a schematic diagram of a process of applying a positioning method according to an embodiment of the present application in an actual scenario
- FIG. 7b is a schematic diagram of a process of applying a positioning method according to an embodiment of the present application in an actual scenario
- FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application.
- FIG. 8b is a schematic structural diagram of another terminal according to an embodiment of the present application.
- FIG. 8 is a schematic structural diagram of still another terminal according to an embodiment of the present application.
- the term “plurality” in the embodiment of the present application means two or more.
- the terms “first”, “second” and the like in the embodiments of the present application are only for distinguishing different objects, and the order is not limited.
- the first condition and the second condition are merely for distinguishing between different conditions and are not limited to their order.
- the term “and/or” in the embodiment of the present application is merely an association relationship describing an association object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist at the same time. There are three cases of B alone.
- the character “/” in the embodiment of the present application generally indicates that the context related object is an “or” relationship.
- the application first determines the current geographic location of the terminal, and then provides the user with the name and address of a hotel, theater, library, gas station, etc. within a certain range from the location.
- These location-based services involve a variety of positioning technologies. Therefore, users are increasingly demanding positioning.
- Positioning speed is a key factor affecting positioning.
- common positioning technologies using satellite systems for positioning include Beidou positioning, GPS positioning, Galileo positioning, and Global Navigation Satellite System (GLONASS).
- GLONASS Global Navigation Satellite System
- the embodiment of the present application provides a positioning method, which is mainly used in a process in which a terminal uses a satellite system for positioning.
- the terminal referred to in the embodiment of the present application can be located by using a satellite system.
- the terminal can be a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a car navigation device, a wearable device, and the like.
- UMPC ultra-mobile personal computer
- PDA personal digital assistant
- the mobile phone 100 includes: a radio frequency (RF) circuit 110, a memory 120, an input unit 130, a positioning module 140, a processor 150, a power supply 160, and a display unit. 170, gravity sensor 180, audio circuit 190 and other components.
- RF radio frequency
- the handset structure illustrated in Figure 2b does not constitute a limitation to a handset, and may include more or fewer components than those illustrated, or some components may be combined, or different components may be arranged.
- the RF circuit 110 can be used for receiving and transmitting signals during the transmission and reception of information or during a call. Specifically, after receiving the downlink information of the base station, the RF 150 is processed by the processor 150. In addition, the uplink data is sent to the base station.
- RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
- RF circuitry 110 can also communicate with the network and other devices via wireless communication.
- the wireless communication may use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (code) Division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), e-mail, short messaging service (SMS), and the like.
- GSM global system of mobile communication
- GPRS general packet radio service
- code code division multiple access
- WCDMA wideband code division multiple access
- LTE long term evolution
- SMS short messaging service
- the memory 120 can be used to store software programs and modules that execute various functional applications and data processing of the handset 100 by running software programs and modules stored in the memory 120.
- the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application (Application, APP) and the like required for at least one function, such as a sound playing function, an image playing function, and the like; and storing the data.
- the area may store data (such as audio data, image data, phone book, etc.) created according to the use of the mobile phone 100.
- memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the input unit 130 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 100.
- the input unit 130 may include a touch screen 131 and other input devices 132.
- the touch screen 131 also referred to as a touch panel, can collect touch operations on or near the user (such as the operation of the user using any suitable object or accessory on the touch screen 131 or near the touch screen 131 using a finger, a stylus, etc.), and The corresponding connecting device is driven according to a preset program.
- the touch screen 131 may include two parts of a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
- the touch screen 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 130 may also include other input devices 132.
- other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, power switch buttons, etc.), trackballs, mice, joysticks, and the like.
- the positioning module 140 is a module with a positioning function, which can be a Beidou positioning, a GPS positioning, a Galileo positioning, a Global Navigation Satellite System (GLONASS) module, and the positioning module can exist in an integrated package or can be independent. Chip.
- the mobile phone 100 can be positioned by the positioning module 140.
- the display unit 170 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 100.
- the display unit 170 may include a display panel 171.
- the display panel 171 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
- the touch screen 131 may cover the display panel 171. When the touch screen 131 detects a touch operation on or near it, the touch screen 131 transmits to the processor 150 to determine the type of the touch event, and then the processor 150 displays the panel according to the type of the touch event. A corresponding visual output is provided on 171.
- the touch screen 131 and the display panel 171 are implemented as two separate components to implement the input and input functions of the mobile phone 100, in some embodiments, the touch screen 131 may be integrated with the display panel 171 to implement the mobile phone 100. Input and output functions.
- a gravity sensor 180 can detect the magnitude of the acceleration of the mobile phone in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
- the handset 100 can also include other sensors, such as light sensors.
- the light sensor can include an ambient light sensor and a proximity light sensor.
- the ambient light sensor can adjust the brightness of the display panel 131 according to the brightness of the ambient light; the proximity light sensor can detect whether an object approaches or contacts the mobile phone, and can close the display panel 131 and/or the backlight when the mobile phone 100 moves to the ear.
- the mobile phone 100 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and will not be described herein.
- the audio circuit 190, the speaker 191, and the microphone 192 can provide an audio interface between the user and the handset 100.
- the audio circuit 190 can transmit the converted electrical data of the received audio data to the speaker 191 for conversion to the sound signal output by the speaker 191; on the other hand, the microphone 192 converts the collected sound signal into an electrical signal by the audio circuit 190. After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 110 for transmission to, for example, another mobile phone, or the audio data is output to the memory 120 for further processing.
- the processor 150 is the control center of the handset 100, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, The various functions and processing data of the mobile phone 100 are executed to perform overall monitoring of the mobile phone.
- the processor 150 may include one or more processing units;
- the processor 150 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, and the like, and the modem processor mainly processes wireless communications. It can be understood that the above modem processor may not be integrated into the processor 150.
- the mobile phone 100 also includes a power source 160 (such as a battery) for supplying power to various components.
- a power source 160 such as a battery
- the power source can be logically connected to the processor 150 through the power management system to manage functions such as charging, discharging, and power management through the power management system. .
- the handset 100 may also include an antenna, a Wireless-Fidelity (WiFi) module, a Near Field Communication (NFC) module, a Bluetooth module, a speaker, an accelerometer, a gyroscope, and the like.
- WiFi Wireless-Fidelity
- NFC Near Field Communication
- Bluetooth Bluetooth
- a speaker an accelerometer, a gyroscope, and the like.
- the embodiment of the present application provides a positioning method, which can be applied to the foregoing application scenarios and terminals, and is particularly applicable to satellite positioning during satellite positioning, for example, in assisted GPS (A-GPS) positioning.
- the method includes:
- Step 201 The terminal determines an identifier of the M target signal sources.
- the signal source referred to in the embodiment of the present application may be a base station, a cell, and other various types of access points (Acess Point, AP), such as a wireless routing device, a device as a hotspot, and the like.
- AP Access Point
- the value of M is an integer greater than 1.
- the target signal source is a signal source that the terminal can currently detect the signal strength and the signal strength is greater than a preset threshold.
- the preset threshold can be set according to actual needs.
- Step 202 The terminal acquires a location that matches an identifier of the M target signal sources according to the identifiers of the M target signal sources.
- This location is the auxiliary location for satellite positioning.
- Step 203 The terminal performs satellite positioning according to the location.
- the terminal directly uses the location obtained in step 202 as the final satellite positioning result.
- the terminal can use the auxiliary location to quickly track the satellite to implement the positioning.
- the specific implementation process may refer to the prior art, and details are not described herein again.
- the terminal when determining the auxiliary location, the terminal considers multiple signal sources that can be detected currently, and the multiple signal sources may be the signal source currently accessed by the terminal, or may be the current access signal source.
- Adjacent signal sources and in the case of determining the auxiliary position, may refer to positions corresponding to adjacent signal sources only when the auxiliary source position cannot be successfully acquired according to the currently accessed signal source, for example, the position corresponding to the adjacent signal source It is determined as the auxiliary position, so the success rate of obtaining the auxiliary position can be improved by the above method.
- the embodiment of the present application provides a possible implementation manner of the foregoing step 202, “the location of the terminal matching the identifiers of the M target signal sources according to the identifiers of the M target signal sources”, as shown in FIG. 3b.
- the method includes:
- Step 301 The terminal determines, according to the identifiers of the M target signal sources, a current signal source comprehensive identifier.
- the current signal source comprehensive identifier is composed of identifiers of the M target signal sources.
- the signal source comprehensive identifier is represented by a one-dimensional matrix (set) composed of identifiers of M target signal sources, and the elements in the set may be randomly arranged or arranged in order of signal strength.
- the current source integrated identifier is [ID A ID B ID C ID D ], where ID A , ID B , ID C , and ID D respectively represent the identifiers of cells A, B, C, and D, and the signal strength is strong to The weak order is A>B>C>D.
- the current source integrated identifier may also be represented in other forms, such as ID A - ID C - ID B - ID D .
- Step 302 The terminal determines a target signal source comprehensive identifier that matches the current signal source comprehensive identifier and a location corresponding to the target signal source comprehensive identifier.
- the location information corresponding to the target signal source comprehensive identifier is latitude and longitude information.
- the mapping relationship between the signal source integrated identifier and the location information is pre-established.
- the pre-established mapping relationship may exist in the form of a mapping relationship table.
- the mapping relationship table may be stored locally in the terminal.
- the terminal searches the locally stored mapping relationship table for the location corresponding to the target signal source comprehensive identifier and the target signal source comprehensive identifier.
- the terminal when determining the target signal source integrated identifier and its corresponding location, the terminal does not need to interact with other devices, that is, does not depend on the network connection, and the terminal can still match the target signal source in the networkless state.
- Comprehensive identification and its corresponding location information when determining the target signal source integrated identifier and its corresponding location, the terminal does not need to interact with other devices, that is, does not depend on the network connection, and the terminal can still match the target signal source in the networkless state.
- the mapping relationship table may be stored in a network device, where the network device may be a network positioning server or a core network side device, and when performing this step, the terminal sends the current signal source comprehensive identifier to the network device, where the network device Match the target signal source comprehensive identification and its corresponding location.
- the terminal determines, as the target signal source comprehensive identifier, the signal source comprehensive identifier that meets the preset condition that the similarity of the current signal source comprehensive identifier meets the preset condition.
- the similarity with the current signal source comprehensive identifier satisfies the preset condition including at least the target signal source comprehensive identifier and the current signal source comprehensive identifier including the identifiers of the N identical signal sources.
- the value of N may be greater than or equal to 1 and less than or equal to M. This specific implementation can be referred to later in detail.
- the current source integrated identifier determined in step 301 includes only the identifier of one source, such as the cell currently registered by the terminal or the identifier of the currently accessed access point.
- the target signal source integrated identifier that is matched with the current signal source integrated identifier in the step 302 may be an identifier of an adjacent signal source, for example, although it is not registered, but the signal strength can be detected, and the signal strength is compared.
- the current signal source comprehensive identifier includes only the identifier of one signal source, such as the identifier ID A of the cell A , and when the matching target signal source comprehensive identifier is obtained, the identifier of the cell A may be included, but The neighboring area of the cell A, and the identity of the neighboring cell with a strong signal (the signal strength is greater than a certain threshold) matches the target signal source comprehensive identifier, and the identity ID B of the cell B is determined as the target signal source integrated identifier.
- Step 303 The terminal determines, by the terminal, a location corresponding to the target signal source comprehensive identifier as a location that matches the identifier of the M target signal sources.
- the location corresponding to the target signal source integrated identifier is also determined as the current auxiliary location of the terminal.
- the signal source comprehensive identifier when determining the auxiliary position, first determining the current signal source comprehensive identifier, and then determining a position corresponding to the target signal source comprehensive identifier that can match the current signal source comprehensive identifier as the current auxiliary position, and performing according to the current auxiliary position. Positioning.
- the signal source comprehensive identifier when determining the auxiliary position, the signal source comprehensive identifier is used, and the signal source comprehensive identifier is composed of the identifiers of the M signal sources whose terminal can detect the signal strength and the signal strength is greater than a preset threshold, therefore,
- the signal The source comprehensive identifier can reflect the relationship between the terminal and the coverage of multiple signal sources, indicating that the terminal may be located in the coverage of multiple signal sources.
- the method provided by the embodiment of the present application comprehensively considers multiple signal sources, and can further position other signal sources, such as terminal neighbors.
- the location corresponding to the cell is determined as the auxiliary location, which can improve the success rate of the terminal acquiring the auxiliary location.
- step 301 “determining a current signal source comprehensive identifier according to the identifiers of the M target signal sources” includes:
- Step 401 The terminal arranges the identifiers of the M target signal sources according to the signal strength of the signal source to generate a current signal source comprehensive identifier.
- the signal source is a cell that the terminal can detect
- the terminal can detect seven cells A, B, C, D, E, F, and G
- the signal strengths of the seven cells are as follows: One is shown.
- the M target signal sources in the embodiment of the present application may be some or all of the seven cells, that is, the value of M is greater than or equal to 1 and less than or equal to 7, and the value of M is 4
- the four cells with strong signal strength in the seven cells are cells A, C, B, and D, respectively, and the corresponding identifiers are ID A , ID C , ID B, and ID D.
- the comprehensive identification of the signal source referred to in the example may be obtained by arranging the identifiers of the four cells according to a certain rule. For example, according to the signal strength of the four cells, the current integrated signal source identifier is determined as ID A - ID C. -ID B -ID D .
- the terminal can obtain the signal identifier and the signal strength of each cell by using the method of the cell route paging, the location area update, and the like.
- the method of the cell route paging the location area update, and the like.
- the signal source is an access point (AP) that the terminal can detect, such as when the signal source is a wireless router for establishing a Wi-Fi (Wireless-Fidelity) connection for the terminal
- the terminal can detect six wireless routers R1, R2, R3, R4, R5, and R6, and the signal strengths of the six wireless routers are shown in Table 2 below.
- the M target signal sources referred to in the embodiment of the present application may be some of the six wireless routers or all the wireless routers, that is, the value of M is greater than or equal to 1 and less than or equal to 6, and is determined by M. A value of 3 is taken as an example.
- the three target signal sources are the three wireless routers with the strongest signal strength, such as the wireless routers 2, 1, and 3, respectively, and the corresponding basic services are assumed.
- the basic service set identifier (BSSID) is the BSSID R2, the BSSID R1 , and the BSSID R3 .
- the comprehensive identifier of the signal source in the embodiment of the present application may be obtained by arranging the identifiers of the three wireless access points according to certain rules.
- the signal source integrated identifiers in the embodiments of the present application are BSSID R2 -BSSID R1 -BSSID R3 , as obtained by the signal strengths of the three wireless access points.
- the identifier of the wireless router is described by taking the identifier as a BSSID as an example. In other implementation manners, the identifier of the wireless router may also be a Service Set Identifier (SSID).
- SSID Service Set Identifier
- the terminal when the terminal can detect the signal strengths of multiple different types of signal sources, such as detecting the signal strength of multiple cells and detecting the signal strength of multiple wireless routers, the terminal can be separately The mapping between the two types of mappings is maintained, and the mapping between the identifier of the cell and the identifier of the wireless router is also maintained.
- the integrated identifier of the signal source may include the identifier of the cell and the identifier of the wireless router.
- the source integrated identifier is ID A -ID C -BSSID R2 -ID B -BSSID R1 -BSSID R3 -ID D .
- the terminal locally stores the mapping relationship between the comprehensive identifier of the source and the location.
- the terminal determines the location of the target signal source integrated identifier that matches the current source identifier and the location of the target signal source identifier.
- the terminal may be specifically implemented as follows:
- Step 501 The terminal searches, in the stored mapping relationship, a target signal source comprehensive identifier that meets a preset condition, and a location corresponding to the target signal source comprehensive identifier.
- the embodiment of the present application provides an implementation manner of the mapping relationship.
- the embodiment of the present application provides an implementation manner of the mapping relationship.
- the terminal can maintain both types of mappings at the same time.
- mapping relationship table may also save the generation time of each mapping relationship.
- the preset condition includes a first condition: the current signal source comprehensive identifier and the target signal source comprehensive identifier both include identifiers of at least N identical signal sources, and the N is an integer whose value is greater than or equal to 1 and less than or equal to M.
- the value of N can be set according to the actual situation. For example, if the current signal source comprehensive identifier is composed of 4 cell identifiers, the value of the N may be an integer greater than or equal to 1 and less than or equal to 4. When the signal source comprehensive identifier is composed of two cell identifiers, the value of the N may be an integer greater than or equal to 1 and less than or equal to 2.
- the preset condition may further include any one or more of the following conditions:
- the second condition is that, in the plurality of signal source comprehensive identifiers that meet the first condition, the signal source integrated identifier that is the same as the same source source identifier included in the current signal source comprehensive identifier is determined as the target signal source comprehensive identifier.
- the current source is comprehensively identified as ID A -ID B -ID C -ID d , and the value of N is assumed to be 2, and the candidate that satisfies the first condition is determined by looking at the mapping table shown in Table 3.
- ID A - ID B - ID D and the current source integrated identifier ID A - ID B - ID C - ID d both include ID A , ID B , ID D 3 source identifiers, and ID A - ID B -ID H -ID J integrated with the current source identifier ID a -ID B -ID C -ID d comprises only ID a, ID B two signals source identification, therefore, ID a -ID B -ID D is The final target signal source is comprehensively identified.
- the first condition further includes the following third condition.
- the third condition determines the candidate signal source identifier that is first matched to the signal source identifier included in the current signal source comprehensive identifier as the target signal source comprehensive identifier.
- the current signal source is comprehensively identified as ID A -ID B -ID C -ID D , and the value of N is assumed to be 3, and the signal satisfying the first condition is determined by looking at the mapping table shown in Table 3.
- the first condition further includes the following fourth condition.
- the fourth condition, the establishment time of the mapping relationship is determined as the latest signal source comprehensive identification as the target Signal source comprehensive identification.
- the current signal source is comprehensively identified as ID A -ID B -ID C -ID D , and the value of N is assumed to be 3, and the signal satisfying the first condition is determined by looking at the mapping table shown in Table 3.
- the signal source comprehensive identifier when expressed in a matrix form (the set can be regarded as a one-dimensional matrix), the same element in the one-dimensional matrix corresponding to the integrated identifier of the stored signal source and the current signal source comprehensive identifier may be compared. Number to determine the target signal source comprehensive identification.
- the signal source integrated identifier corresponding to the matrix with the most elements of the same element included in the matrix corresponding to the current signal source comprehensive identifier is determined as the target signal source comprehensive identifier.
- the signal source integrated identifier corresponding to the matrix containing the same element having the largest position in the same position of the matrix corresponding to the current signal source comprehensive identifier is determined as the target signal source comprehensive identifier.
- the matched plurality of signal source integrated identifiers may be respectively compared with the elements at each position of the current signal source comprehensive identifier.
- the comprehensive identification of the signal source that first matches the signal source identification with strong signal is determined as the comprehensive identification of the target signal source.
- the current source integrated identifier is [ID A ID B ID C ID D ]
- the signal source comprehensive identifier satisfying the first condition includes [ID B ID D ID C ID J ] and [ID B ID C ID A ID J ] .
- the first condition, the second condition, the third condition, and the fourth condition may be combined with each other, and the candidate signal source with the most constrained condition is comprehensively identified as the final target signal source comprehensive identifier.
- mapping relationship table To clarify the method provided by the embodiment of the present application, as shown in Table 5, the following mapping relationship is stored in the mapping relationship table:
- the terminal determines that the current cell comprehensive identifier is ID B -ID A , because the cell comprehensive identification identifier And the identifier of the ID A - ID B stored in the mapping relationship table includes the identifiers of the cell A and the cell B, and the identifier of the ID A - ID B stored in the mapping relationship table is used as the target cell comprehensive identifier, and corresponds to
- the position, that is, the position P, is the auxiliary position required when positioning at the Q. It can be seen that compared with the prior art, the present application can position the position P as an auxiliary position required for positioning at the Q, thereby enabling fast positioning at the Q.
- the current cell comprehensive identifier of the terminal is ID B - ID A or ID A - ID B.
- ID A stored in the mapping relationship table
- the ID-ID B is used as the target cell comprehensive identifier
- the corresponding location, that is, the location P stored in the mapping relationship table is used as the auxiliary location required for positioning.
- the current registered cell when the terminal moves to the Q again is the cell B, and therefore the location P in the mapping relationship stored in the cell A cannot be used as the auxiliary location.
- the position P in the stored mapping relationship can be used as the auxiliary position, thereby enabling quick positioning when moving to the P again.
- ID A - ID C - ID B - ID are obtained.
- D Establish a mapping relationship between the comprehensive identifier of the cell and the location P.
- the terminal collects the identifiers and signal strengths of the A, B, C, and D cells, and generates the cell comprehensive identifier according to the order of the signal strength from strong to weak. This may be ID B - ID A. -ID D - ID C , cell identification code B.
- the mapping relationship between the cell and the location of the cell registration is not established, but the correspondence between the cell comprehensive identification identifier and the location indicated in the embodiment of the present application is established.
- the target cell comprehensive identifier that satisfies the condition that the similarity of the current cell comprehensive identification identifier meets is stored in the table, and the location corresponding to the target cell comprehensive identifier may be determined as the auxiliary location.
- the terminal can quickly track the satellite near the auxiliary position after providing the auxiliary position, thereby speeding up the speed of the terminal tracking satellite and realizing the fast satellite.
- Positioning In an open environment (no obstacles such as tall buildings around), you can increase the terminal's first positioning time by about 50%. In an occluded environment (double-sided/three-sided occlusion test), the first positioning time can be increased by 80%-90%.
- the terminal after determining the current signal source comprehensive identifier, the terminal searches for a mapping relationship table that stores the mapping relationship between the signal source integrated identifier and the location, and integrates with the current signal source.
- the location corresponding to the most similar source identification identifier is determined as the auxiliary location.
- the mapping table of the mapping relationship between the integrated identifier of the signal source and the location may be used to obtain location information by using other positioning methods, such as location information obtained by using Wi-Fi positioning, base station positioning, and the like. And determining the comprehensive identification of the signal source corresponding to the terminal at the location, thereby preserving the mapping relationship between the comprehensive identifier and the location of the signal source.
- the mapping table of the storage mapping relationship can be continuously updated according to actual conditions, including deleting an existing mapping relationship, adding a new mapping relationship, and modifying a signal source comprehensive identification code or location in an existing mapping relationship. Therefore, after the terminal performs satellite positioning according to the location in step 204, as shown in FIG. 6, the method provided by the embodiment of the present application further includes:
- Step 601 The terminal determines whether the mapping relationship corresponding to the current identifier of the current signal source is saved locally.
- step 602 If it is saved, the following step 602 is performed, and if it is not saved, the following step 603 is performed.
- Step 602 The terminal updates the current location of the terminal obtained by the satellite positioning to a location corresponding to the current signal source comprehensive identifier.
- the location of the signal source integrated identifier saved in the mapping relationship table is replaced with a new location, and the signal source comprehensive identifier is implemented.
- the corresponding location is updated.
- Step 603 The terminal stores a mapping relationship between the current signal source comprehensive identifier and the current location of the terminal obtained by the satellite positioning.
- mapping relationship between the current source integrated identifier and the current location of the terminal obtained by the satellite positioning is added as a new mapping relationship to the mapping relationship. In the table.
- the terminal can simultaneously maintain a mapping table (for the convenience of description, referred to as an AP-location mapping table) storing the mapping relationship between the integrated identifier of the wireless access point and the location, and storing the mapping relationship between the comprehensive identifier of the cell and the location.
- a mapping table for convenience of description, referred to as an AP-location mapping table
- Mapping table for convenience of description, referred to as cell-location mapping table for short.
- the terminal when the terminal can communicate with the base station, if the terminal is equipped with a Subscriber Identification Module (SIM) card or an eSIM card (hereinafter, the SIM card is taken as an example), and the SIM card is in an active state, the terminal is The signal strength and signal identity of the surrounding cells can be detected, and then the cell-location mapping table can be viewed to determine the target cell comprehensive identity and determine the secondary location.
- SIM Subscriber Identification Module
- eSIM card eSIM card
- the terminal cannot communicate with the base station, for example, if the terminal does not have a SIM card installed or the SIM card is in an invalid state, but the terminal turns on the function of scanning the wireless access point, that is, the terminal can detect the identifier and signal strength of the surrounding wireless access point, then The AP-location mapping table can be viewed to determine the target wireless access point integrated identification and determine the secondary location.
- an optional manner is to arbitrarily select the AP-location mapping table or the cell-location mapping table. Determine the auxiliary location. Since the coverage of the AP is smaller and its positioning is more accurate, another alternative is to first view the AP-location mapping table. If the secondary location can be determined in the AP-location mapping table, the location is determined. Determined as a secondary location; if the secondary location cannot be determined in the AP-location mapping table, view the cell-location mapping table to determine the secondary location Set.
- the AP maintains the AP-location mapping table and the cell-location mapping table.
- the mobile phone determines the current wireless access point comprehensive identifier, and searches the AP-location mapping table for the target wireless access point comprehensive identifier that satisfies the condition that the current wireless access point comprehensive identifier meets the condition, and the target wireless The location corresponding to the access point integrated identifier is determined as the secondary location. If the user does not enable the function of scanning the wireless access point, as shown in FIG.
- the mobile phone determines the current cell comprehensive identifier, and searches the cell-location mapping table for the target cell comprehensive identifier that satisfies the condition that the current cell comprehensive identifier similarity meets the condition. And determining a location corresponding to the target cell comprehensive identifier as the auxiliary location.
- the terminal includes corresponding hardware structures and/or software modules for performing various functions.
- the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the examples described in the embodiments disclosed in the embodiments of the present application. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
- the embodiment of the present application may divide the function module into the terminal according to the foregoing method example.
- each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
- FIG. 8a is a schematic diagram of a possible structure of the terminal involved in the foregoing embodiment, where the terminal 700 includes: a determining unit 701, an obtaining unit 702, a positioning unit 703, Storage unit 704.
- the determining unit 701 is configured to support the terminal 700 to perform the process 201 in FIG. 3a and 601 in FIG. 6.
- the obtaining unit 702 is configured to support the terminal 700 to perform the process 202 in FIG. 3a, the processes 301, 302, and 303 in FIG. 3b, the process 401 in FIG. 4a, and the process 501 in FIG. 4b.
- the positioning unit 703 is configured to support the terminal 700 to execute. Process 203 in Figure 3a.
- the storage unit 704 is configured to store a mapping relationship between the signal source integrated identifier and the location.
- FIG. 8b shows a possible structural diagram of the terminal involved in the above embodiment.
- the terminal 800 includes a processing module 802 and a communication module 803.
- the processing module 802 is configured to perform control management on the actions of the terminal.
- the processing module 802 is configured to support the terminal to perform the processes 201, 202, and 203 in FIG. 3a, the processes 301, 302, and 303 in FIG. 3b, and the process in FIG. 4a.
- the communication module 803 is configured to support communication between the terminal and other network entities, such as communication with various types of access points, base stations.
- the terminal may further include a storage module 801 for storing program codes and data of the terminal.
- the processing module 802 can be a processor or a controller, such as a central processing unit (CPU), a general-purpose processor, and a digital signal processor (Digital Signal). Processor, DSP), Application-Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
- the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
- the communication module 803 can be a transceiver, a transceiver circuit, a communication interface, or the like.
- the storage module 801 can be a memory.
- the terminal involved in the embodiment of the present application may be the terminal shown in FIG. 8c.
- the terminal 900 includes a processor 902, a transceiver 903, a memory 901, and a bus 904.
- the transceiver 903, the processor 902, and the memory 901 are connected to each other through a bus 904.
- the bus 904 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. Wait.
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 8c, but it does not mean that there is only one bus or one type of bus.
- the steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware or may be implemented by a processor executing software instructions.
- the software instructions may be composed of corresponding software modules, which may be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory ( Erasable Programmable ROM (EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art.
- An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
- the storage medium can also be an integral part of the processor.
- the processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a core network interface device.
- the processor and the storage medium may also exist as discrete components in the core network interface device.
- the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
- the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
- Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
- a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种定位方法及装置,涉及通信技术领域,应用于卫星定位的过程中,用于解决现有技术中存在的获取辅助位置成功率较低的问题。方法包括:终端确定M个目标信号源的标识,M的取值为大于1的整数,目标信号源为终端当前能够检测到的信号强度大于预设阈值的信号源(201);根据M个目标信号源的标识获取与M个目标信号源的标识匹配的位置(202);终端根据位置进行卫星定位(203)。
Description
本申请要求于2017年04月06日提交中国专利局、申请号为201710222015.6、发明名称为“一种终端定位的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及通信技术领域,尤其涉及一种定位方法及装置。
基于位置的服务(Location Based Service,LBS)是指通过各种定位技术获取终端用户的位置信息(如地理坐标),在地理信息***(Geographic Information System,GIS)平台的支持下,为用户提供相应服务的一种增值业务。随着基于位置的服务的应用越来越广泛,用户对定位要求也越来越高。全球定位***(Global Positioning System,GPS)作为一种常用的定位技术,GPS首次定位时间(Time to First Fix,TTFF)是影响定位的关键因素。GPS首次定位时间是指具备GPS定位功能的终端从开始GPS定位到成功定位所需要的时间。
为了缩短GPS首次定位时间,目前广泛采用的一种定位方法是终端获取辅助位置,根据获取的辅助位置搜索跟踪卫星以完成首次定位。现有技术中,一种获取辅助位置的方法,包括:终端预先存储小区标识、位置和位置频率的映射关系;在定位时,终端获取当前注册小区的标识,并根据该小区标识查找预先存储的映射关系,得到用户当前注册小区对应的所有位置,将该所有位置中,出现频率最高的位置作为辅助位置。但这种实现方式在以下情况会出现错误,导致无法得到辅助位置。
如图1a所示,P和Q的物理距离并不远(几公里以内),但是分别对应不同的注册小区,如P处对应的注册小区为小区A,Q处对应的注册小区为小区B。当终端仅存储有小区A和P处的位置(为便于描述,P处的位置称为位置P)的映射关系时,则当终端移动到Q处且需要GPS定位时,由于终端获取到的是小区B的标识,未查找到小区B对应的映射关系,则无法完成位置辅助功能。而实际上,在Q处时,位置P是可以作为辅助位置辅助终端定位的。
如图1b所示,区域P为小区A和小区B的交叉覆盖区域,则终端在区域P时,不同时间可能注册到不同的小区:某时刻T1,终端注册在小区A,且预先获取了终端的位置P,则终端存储小区A和P处的位置P的映射关系;则在时刻T2时,当终端重新位于P处且需要GPS定位时,终端获取到的当前注册小区的标识是小区B的标识,由于未查找到小区B对应的映射关系,则无法完成位置辅助功能。而实际上,注册在小区A时建立的小区A和P处位置的映射关系是可以作为位置辅助信息提供终端辅助定位的。
发明内容
本申请的实施例提供一种定位方法及装置,用以解决现有技术中存在的提供辅助位置的成功率较低的问题。
为达到上述目的,本申请的实施例采用如下技术方案:
第一方面,提供一种定位方法,可应用于进行卫星定位的场景,该方法包括:终端确定M个目标信号源的标识,M的取值为大于1的整数,该目标信号源为终端当前能够检测到的信号强度大于预设阈值的信号源;然后,终端根据该M个目标信号源的标识获取与该M个目标信号源的标识匹配的位置;进而,终端将该位置作为辅助位置并根据该位置进行卫星定位。
其中,本申请实施例所指的信号源为终端能检测到的基站或终端能检测到的接入点,如无线路由器等。预设阈值的取值可根据实际需求设定。
可见,上述方法中,终端在确定辅助位置时,考虑到了当前所能检测到的多个信号源,该多个信号源可能是终端当前接入的信号源,也可能是当前接入的信号源相邻信号源,进而在确定辅助位置时,在仅仅根据当前接入的信号源无法成功获取辅助位置的情况下,可以参考相邻信号源对应的位置,例如:将相邻信号源对应的位置确定为辅助位置,因此采用上述方法能够提高获取辅助位置的成功率。
在一种可能的设计中,终端根据该M个目标信号源的标识获取与所述M个目标信号源的标识匹配的位置,包括:终端根据所述M个目标信号源的标识确定当前信号源综合标识,该当前信号源综合标识由该M个目标信号源的标识组成;进而,终端确定与该当前信号源综合标识匹配的目标信号源综合标识以及该目标信号源综合标识对应的位置;将该目标信号源综合标识对应的位置确定为与该M个目标信号源的标识匹配的位置,也即终端的当前辅助位置,并根据该当前辅助位置进行定位。
其中,终端确定当前信号源综合标识包括:终端将所述M个目标信号源的标识按照信号源的信号强度顺序排列后生成所述当前信号源综合标识。
其中,预设阈值可以根据实际需要设定。当前信号源综合标识可以将M个目标信号源的标识组成的集合作为信号源综合标识,这M个目标信号源中每个信号源的标识为该集合的元素,该集合中各个元素的顺序可以按照信号强度的顺序排列,如按照信号强度由高到低的顺序或由低到高的顺序排列。
可见,上述方法中,在确定辅助位置时,先确定当前信号源综合标识,再将能够与该当前信号源综合标识匹配的目标信号源综合标识对应的位置确定为当前辅助位置,并根据当前辅助位置进行定位。其中,由于在确定辅助位置时,依据的是信号源综合标识,且该信号源综合标识是由终端能够检测到信号强度,且信号强度大于预设阈值的M个信号源的标识组成,因此,该信号源综合标识能够反映终端与多个信号源的覆盖范围的关系,表明终端可能位于多个信号源的覆盖范围。这样,在确定辅助位置时,与现有技术中仅考虑终端注册小区相比,本申请实施例提供的方法综合考虑了多个信号源,进而能够将其他信号源对应的位置,如终端相邻小区对应的位置确定为辅助
位置,能够提高终端获取辅助位置的成功率。
在一种可能的设计中,终端本地存储有信号源综合标识和位置的映射关系;则终端在已存储的该映射关系中查找与当前信号源综合标识相似度满足预设条件的目标信号源综合标识以及该目标信号源综合标识对应的位置,并将该位置作为与该M个目标信号源的标识匹配的位置,也即终端的当前辅助位置。
在该实现方式中,由于终端本地预存储了信号源综合标识和位置的映射关系,因此,终端无需和网络侧或其他设备进行交互,即使在未联网的状态下,终端在确定当前的信号源综合标识后,通过查找已经存储的映射关系,将与当前的信号源综合标识相似的信号源综合标识对应的位置确定为辅助位置。
在一种可能的设计中,本申请实施例所指的预设条件包括:该目标信号源综合标识为与当前信号源综合标识包括至少N个相同信号源的标识的信号源综合标识。其中,该N为取值大于等于1小于等于M的整数。
其中,当存在至少两个与当前信号源综合标识都包括至少N个相同信号源的标识的信号源综合标识时,该预设条件,还包括:该目标信号源综合标识为该至少两个信号源综合标识中与当前信号源综合标识包含的相同信号源标识最多的信号源综合标识。
在一种可能的设计中,终端还保存信号源综合标识和位置的映射关系的建立时间;则当存在至少两个与当前信号源综合标识都包括至少N个相同信号源的标识的信号源综合标识时,该预设条件,还包括:目标信号源综合标识为,该至少两个信号源综合标识中映射关系的建立时间为最新的信号源综合标识。
在一种可能的设计中,在终端根据当前辅助位置进行卫星定位之后,该方法还包括:终端确定本地是否保存当前信号源综合标识对应的映射关系;如果已保存,则终端将卫星定位后得到的终端当前所在位置更新为当前信号源综合标识对应的位置;如果未保存,终端则存储当前信号源综合标识和卫星定位后得到的终端当前所在位置的映射关系。通过该设计方式,终端能够在进行卫星定位的过程中,实时更新信号源综合标识和位置的映射关系。
结合上述各种可能的设计方式,在一种可能的设计中,终端获取与M个信号源的标识匹配的位置的另一种实现方式包括:终端向网络设备发送当前信号源综合标识,由网络设备根据该当前信号源综合标识确定与该当前信号源综合标识相似度满足预设条件的目标信号源综合标识以及该目标信号源综合标识对应的位置;并由网络设备将该目标信号源综合标识以及该目标信号源综合标识对应的位置发送给终端。
其中,该网络设备可以为网络定位服务器,或者位于核心网侧的设备。在该实现方式中,网络设备存储有信号源综合标识和位置的映射关系。由网络设备根据当前信号源综合标识并查找存储的映射关系确定目标信号源综合标识以及该目标信号源综合标识对应的位置,并发送给终端。其中,网络侧
设备确定目标信号源综合标识的具体实现可参考前述终端在确定目标信号源综合标识的各个可能设计中。通过该实现方式,确定目标信号源综合标识的处理过程由网络侧设备承担,能够节约终端的内存,减少对终端资源的占用。
第二方面,提供一种终端,包括:确定单元,用于确定M个目标信号源的标识,所述M的取值为大于1的整数,所述目标信号源为终端当前能够检测到的信号强度大于预设阈值的信号源;获取单元,用于根据所述确定单元确定的M个目标信号源的标识获取与所述M个目标信号源的标识匹配的位置;定位单元,用于根据所述获取单元获取的位置进行卫星定位。
在一种可能的设计中,所述确定单元,具体用于确定当前信号源综合标识,所述当前信号源综合标识由所述M个目标信号源的标识组成;所述获取单元,具体用于获取与所述确定单元确定的当前信号源综合标识匹配的目标信号源综合标识以及所述目标信号源综合标识对应的位置;并将所述目标信号源综合标识对应的位置确定为与所述M个目标信号源的标识匹配的位置。
在一种可能的设计中,所述确定单元,还用于将所述M个目标信号源的标识按照信号源的信号强度顺序排列后生成所述当前信号源综合标识。
在一种可能的设计中,所述终端还包括存储单元,用于存储信号源综合标识和位置的映射关系;所述获取单元,还用于在所述存储单元存储的所述映射关系中查找与所述当前信号源综合标识相似度满足预设条件的目标信号源综合标识以及所述目标信号源综合标识对应的位置。
在一种可能的设计中,所述预设条件包括:所述目标信号源综合标识为,与所述当前信号源综合标识包括至少N个相同信号源的标识的信号源综合标识,所述N为取值大于等于1小于等于M的整数。
在一种可能的设计中,当存在至少两个与当前信号源综合标识都包括至少N个相同信号源的标识的信号源综合标识时,所述预设条件,还包括:所述目标信号源综合标识为,所述至少两个信号源综合标识中与当前信号源综合标识包含的相同信号源标识最多的信号源综合标识。
在一种可能的设计中,所述存储单元还用于保存信号源综合标识和位置的映射关系的建立时间;当存在至少两个与当前信号源综合标识都包括至少N个相同信号源的标识的信号源综合标识时,所述预设条件,还包括:所述目标信号源综合标识为,所述至少两个信号源综合标识中所述映射关系的建立时间为最新的信号源综合标识。
在一种可能的设计中,所述确定单元,还用于确定本地是否保存所述当前信号源综合标识对应的映射关系;如果保存有所述当前信号源综合标识对应的映射关系,则将所述定位单元定位后得到的终端当前所在位置更新为所述当前信号源综合标识对应的位置;如果未保存有所述当前信号源综合标识对应的映射关系,则所述存储单元存储当前信号源综合标识和所述定位单元定位后得到的终端当前所在位置的映射关系。
第三方面,提供一种终端,包括处理器和存储器,该存储器中存储有指令,处理器用于执行存储器中存储的指令以执行上述方面所述的方法。
第四方面,提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述方面所述的方法。
第五方面,提供一种计算机程序产品,该计算机程序产品包含指令,当其在计算机上运行时,使得计算机执行上述方面所述的方法。
图1a和图1b为采用现有技术的方法提供辅助位置时无法提供有效辅助位置的示意图;
图2a为本申请实施例提供的应用场景示意图;
图2b为本申请实施例提供的手机的结构示意图;
图3a为本申请实施例提供的一种定位方法的流程图;
图3b为本申请实施例提供的另一种定位方法的流程图;
图4a为本申请实施例提供的一种确定当前信号源综合标识的方法的流程图;
图4b为本申请实施例提供的一种确定与当前信号源综合标识匹配的目标信号源综合标识的方法的流程图;
图5为本申请实施例提供的一种应用场景的示意图;
图6为本申请实施例提供的一种更新信号源综合标识和位置的映射关系的方法的流程图;
图7a为本申请实施例提供的定位方法在实际场景中应用的过程示意图;
图7b为本申请实施例提供的定位方法在实际场景中应用的过程示意图;
图8a为本申请实施例提供的一种终端的结构示意图;
图8b为本申请实施例提供的另一种终端的结构示意图;
图8c为本申请实施例提供的再一种终端的结构示意图。
本申请实施例中的术语“多个”是指两个或两个以上。本申请实施例中的术语“第一”、“第二”等仅是为了区分不同的对象,并不对其顺序进行限定。例如,第一条件和第二条件仅仅是为了区分不同的条件,并不对其先后顺序进行限定。本申请实施例中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本申请实施例中字符“/”,一般表示前后关联对象是一种“或”的关系。
目前,在用户使用终端的过程中,基于位置的服务的应用越来越广泛。如图2a所示,应用先确定终端的当前地理位置,然后为用户提供距离该位置一定范围内的宾馆、影院、图书馆、加油站等的名称和地址。这些基于位置的服务涉及到了各种定位技术。因此,用户对定位要求也越来越高。定位速度是影响定位的关键因素。目前,常见的采用卫星***进行定位的定位技术包括:北斗定位、GPS定位、伽利略定位、全球卫星导航***(Global Navigation Satellite System,GLONASS)等。为了提高定位速度,本申请实施例提供一种定位方法,主要应用在终端利用卫星***进行定位的过程中。
其中,本申请实施例所指的终端能够通过卫星***进行定位。该终端可以为手机、平板电脑、笔记本电脑、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、上网本、个人数字助理(Personal Digital Assistant,PDA)、车载导航、可穿戴设备等设备。
以所述终端为手机为例,如图2b所示,该手机100包括:射频(radio frequency,RF)电路110、存储器120、输入单元130、定位模块140、处理器150、电源160、显示单元170、重力传感器180、音频电路190等部件。本领域技术人员可以理解,图2b中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面分别对手机100的各功能组件进行介绍:
其中,RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器150处理;另外,将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(low noise amplifier,LNA)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯***(global system of mobile communication,GSM)、通用分组无线服务(general packet radio service,GPRS)、码分多址(code division multiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA)、长期演进(long term evolution,LTE)、电子邮件、短消息服务(short messaging service,SMS)等。
存储器120可用于存储软件程序以及模块,该处理器150通过运行存储在存储器120的软件程序以及模块,从而执行手机100的各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(Application,APP)等,比如声音播放功能、图像播放功能等;存储数据区可存储根据手机100的使用所创建的数据(比如音频数据、图像数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元130可用于接收输入的数字或字符信息,以及产生与手机100的用户设置以及功能控制有关的键信号输入。具体地,输入单元130可包括触摸屏131以及其他输入设备132。触摸屏131,也称为触控面板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸屏131上或在触摸屏131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触摸屏131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器150,并能接收处理器150发来
的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触摸屏131。除了触摸屏131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、电源开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
定位模块140是具备定位功能的模块,可以为北斗定位、GPS定位、伽利略定位、全球卫星导航***(Global Navigation Satellite System,GLONASS)模块,该定位模块可以以集成封装的形式存在,也可以是独立的芯片。手机100可通过定位模块140进行定位。
显示单元170可用于显示由用户输入的信息或提供给用户的信息以及手机100的各种菜单。显示单元170可包括显示面板171,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板171。进一步的,触摸屏131可覆盖显示面板171,当触摸屏131检测到在其上或附近的触摸操作后,传送给处理器150以确定触摸事件的类型,随后处理器150根据触摸事件的类型在显示面板171上提供相应的视觉输出。虽然在图2b中,触摸屏131与显示面板171是作为两个独立的部件来实现手机100的输入和输入功能,但是在某些实施例中,可以将触摸屏131与显示面板171集成而实现手机100的输入和输出功能。
重力传感器(gravity sensor)180,可以检测手机在各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。
手机100还可以包括其它传感器,比如光传感器。具体地,光传感器可包括环境光传感器及接近光传感器。其中,环境光传感器可根据环境光线的明暗来调节显示面板131的亮度;接近光传感器可以检测是否有物体靠近或接触手机,可在手机100移动到耳边时,关闭显示面板131和/或背光。手机100还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路190、扬声器191、麦克风192可提供用户与手机100之间的音频接口。音频电路190可将接收到的音频数据转换后的电信号,传输到扬声器191,由扬声器191转换为声音信号输出;另一方面,麦克风192将收集的声音信号转换为电信号,由音频电路190接收后转换为音频数据,再将音频数据输出至RF电路110以发送给比如另一手机,或者将音频数据输出至存储器120以便进一步处理。
处理器150是手机100的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行手机100的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器150可包括一个或多个处理单元;
可选的,处理器150可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器150中。
手机100还包括给各个部件供电的电源160(比如电池),可选的,电源可以通过电源管理***与处理器150逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。
尽管未示出,手机100还可以包括天线、无线保真(Wireless-Fidelity,WiFi)模块、近距离无线通信(Near Field Communication,NFC)模块、蓝牙模块、扬声器、加速计、陀螺仪等。
本申请实施例提供一种定位方法,可应用于前述应用场景和终端,尤其是应用于卫星定位时,辅助卫星定位的过程中,例如应用于辅助GPS(Assisted GPS,A-GPS)定位中,如图3a所示,该方法包括:
步骤201、终端确定M个目标信号源的标识。
其中,本申请实施例所指的信号源可以为基站、蜂窝小区(cell)以及其他各种类型的接入点(Acess Point,AP),如无线路由设备、作为热点的设备等。其中,M的取值为大于1的整数,目标信号源为终端当前能够检测到信号强度且信号强度大于预设阈值的信号源。其中,该预设阈值可根据实际需求设定。
步骤202、终端根据所述M个目标信号源的标识获取与所述M个目标信号源的标识匹配的位置。
该位置即为用于辅助卫星定位的辅助位置。
步骤203、终端根据所述位置进行卫星定位。
可选的,终端可直接将步骤202获取的位置作为最终的卫星定位结果。
可选的,在确定了辅助位置后,终端可利用该辅助位置快速跟踪卫星进而实现定位,该具体实现过程可参考现有技术,本申请实施例不再赘述。
可见,上述方法中,终端在确定辅助位置时,考虑到了当前所能检测到的多个信号源,该多个信号源可能是终端当前接入的信号源,也可能是当前接入的信号源相邻信号源,进而在确定辅助位置时,在仅仅根据当前接入的信号源无法成功获取辅助位置的情况下,可以参考相邻信号源对应的位置,例如:将相邻信号源对应的位置确定为辅助位置,因此采用上述方法能够提高获取辅助位置的成功率。
可选的,本申请实施例提供了上述步骤202“终端根据所述M个目标信号源的标识获取与所述M个目标信号源的标识匹配的位置”的一种可能实现方式,如图3b所示,该方法包括:
步骤301、终端根据所述M个目标信号源的标识确定当前信号源综合标识。
其中,当前信号源综合标识由所述M个目标信号源的标识组成。
示例性的,信号源综合标识以M个目标信号源的标识组成的一维矩阵(集合)的形式表示,集合中的元素可以随机排列,也可以按照信号强度顺序排
列。如当前信号源综合标识为[IDA IDB IDC IDD],其中,IDA、IDB、IDC、IDD分别表示小区A、B、C、D的标识,且信号强度由强到弱的顺序依次为A>B>C>D。该当前信号源综合标识还可以以其他形式表示,如IDA-IDC-IDB-IDD。
步骤302、终端确定与当前信号源综合标识匹配的目标信号源综合标识以及目标信号源综合标识对应的位置。
其中,目标信号源综合标识对应的位置信息为经纬度信息。信号源综合标识和位置信息的映射关系为预先建立的。可选的,该预先建立的映射关系可以以映射关系表的形式存在。可选的,该映射关系表可以在终端本地存储,则在执行本步骤时,终端在本地存储的映射关系表中查找所述目标信号源综合标识以及目标信号源综合标识对应的位置。该实现方式中,终端在确定目标信号源综合标识及其对应的位置时,不需要和其他设备进行交互,也即不依赖于网络连接,在没网状态下,终端仍然能够匹配出目标信号源综合标识及其对应的位置信息。
可选的,该映射关系表可以存储在网络设备中,该网络设备可以为网络定位服务器或核心网侧设备,则在执行本步骤时,终端向网络设备发送当前信号源综合标识,由网络设备匹配出目标信号源综合标识及其对应的位置。
可选的,一种可能实现方式中,终端将与当前信号源综合标识的相似度满足预设条件的信号源综合标识确定为目标信号源综合标识。其中,与当前信号源综合标识的相似度满足预设条件至少包括目标信号源综合标识和当前信号源综合标识包括N个相同信号源的标识。该N的取值可以为大于等于1小于等于M。该具体实现可参考后文详述。
在其他实现方式中,作为一种特殊情况,步骤301确定的当前信号源综合标识仅包含一个信号源的标识,如为终端当前所注册的小区或当前所接入的接入点的标识,则该步骤302所指的与当前信号源综合标识匹配的目标信号源综合标识可以为某个相邻信号源的标识,如为某个虽然未注册,但能检测到其信号强度,且信号强度较强的相邻小区的标识或某个虽然未接入但能够检测到其信号强度,且信号强度较强的接入点的标识。示例性的,当前信号源综合标识仅包括1个信号源的标识,如小区A的标识IDA,则在匹配得出目标信号源综合标识时,可以将虽然不包含小区A的标识,但为小区A的邻区,且信号比较强(信号强度大于一定阈值)的邻区的标识匹配为目标信号源综合标识,如小区B的标识IDB确定为目标信号源综合标识。
步骤303、终端将目标信号源综合标识对应的位置确定为与所述M个目标信号源的标识匹配的位置。
也即将目标信号源综合标识对应的位置确定为终端的当前辅助位置。
通过上述方法,在确定辅助位置时,先确定当前信号源综合标识,再将能够与该当前信号源综合标识匹配的目标信号源综合标识对应的位置确定为当前辅助位置,并根据当前辅助位置进行定位。其中,由于在确定辅助位置时,依据的是信号源综合标识,且该信号源综合标识是由终端能够检测到信号强度,且信号强度大于预设阈值的M个信号源的标识组成,因此,该信号
源综合标识能够反映终端与多个信号源的覆盖范围的关系,表明终端可能位于多个信号源的覆盖范围。这样,在确定辅助位置时,与现有技术中仅考虑终端注册小区相比,本申请实施例提供的方法综合考虑了多个信号源,进而能够将其他信号源对应的位置,如终端相邻小区对应的位置确定为辅助位置,能够提高终端获取辅助位置的成功率。
可选的,如图4a所示,步骤301“终端根据所述M个目标信号源的标识确定当前信号源综合标识”的一种实现方式,包括:
步骤401、终端将所述M个目标信号源的标识按照信号源的信号强度顺序排列后生成当前信号源综合标识。
示例性的,当信号源为终端能检测到的小区时,假设终端能够检测到A、B、C、D、E、F、G这七个小区,且这七个小区的信号强度如下表表一所示。则本申请实施例所指的M个目标信号源可以为这七个小区中的其中几个小区或全部小区,也即M的取值为大于等于1小于等于7,以M的取值为4为例,则这七个小区中信号强度较强的4个小区分别为小区A、C、B、D,其分别对应的标识为IDA、IDC、IDB、IDD,则本申请实施例所指的信号源综合标识可以为将这四个小区的标识按照一定规则排列后得到,如按照这四个小区的信号强度得到,则确定的当前的信号源综合标识为IDA-IDC-IDB-IDD。
需要说明的是,终端可通过小区路由寻呼、定位区域更新等方法获取各个小区的信号标识和信号强度,该具体实现可参考现有技术,此处不再赘述。
表一
小区标识 | 信号强度(dBm) |
IDA | -55 |
IDB | -65 |
IDC | -57 |
IDD | -73 |
IDE | -90 |
IDF | -100 |
IDG | -87 |
示例性的,当信号源为终端能检测到的接入点(Acess Point,AP)时,如信号源为用于终端建立Wi-Fi(Wireless-Fidelity,无线保真)连接的无线路由器时,假设终端能够检测到R1、R2、R3、R4、R5、R6这六个无线路由器,且这六个无线路由器的信号强度如下表表二所示。则本申请实施例所指的M个目标信号源可以为这六个无线路由器中的其中几个无线路由器或全部无线路由器,也即M的取值为大于等于1小于等于6,以M的取值为3为例,根据这六个无线路由器的信号强度,则这三个目标信号源为信号强度最强的3个无线路由器,如无线路由器2、1、3,假设其分别对应的基本服务集标识(Basic Service Set Identifier,BSSID)为BSSIDR2、BSSIDR1、BSSIDR3,则本申请实施例所指的信号源综合标识可以为将这三个无线接入点的标识按照一定规则排列后得到,如按照这三个无线接入点的信号强度得到,则本申请实施例所
指的信号源综合标识为BSSIDR2–BSSIDR1-BSSIDR3。
表二
无线接入点标识 | 信号强度(dBm) |
BSSIDR1 | -69 |
BSSIDR2 | -63 |
BSSIDR3 | -72 |
BSSIDR4 | -79 |
BSSIDR5 | -82 |
BSSIDR6 | -87 |
BSSIDR7 | -95 |
需要说明的是,上述无线路由器的标识以该标识为BSSID为例进行说明;在其他实现方式中,无线路由器的标识还可以为服务集标识(Service Set Identifier,SSID)。
在其他实现方式中,当终端能检测到多种不同类型的信号源的信号强度时,如既能检测到多个小区的信号强度又能检测到多个无线路由器的信号强度,终端除了可以分别维护两种不同类型的映射关系,也可以维护一个既包含小区的标识还包含无线路由器的标识的映射关系,这种情况下,该信号源综合标识可以既包括小区的标识和无线路由器的标识,如信号源综合标识为IDA-IDC-BSSIDR2-IDB-BSSIDR1-BSSIDR3-IDD。
可选的,终端本地存储有信号源综合标识和位置的映射关系。
则步骤302“终端确定与当前信号源综合标识匹配的目标信号源综合标识以及目标信号源综合标识对应的位置”,如图4b所示,可具体实现为:
步骤501、终端在已存储的映射关系中查找与当前信号源综合标识相似度满足预设条件的目标信号源综合标识以及该目标信号源综合标识对应的位置。
如表三所示,当信号源为终端能检测到的小区,本申请实施例提供了映射关系的一种实现方式。如表四所示,当信号源为终端能检测到的无线接入点时,本申请实施例提供了映射关系的一种实现方式。终端可以同时维护这两种类型的映射关系。
可选的,如表三和表四所示,映射关系表中还可以保存有每个映射关系的生成时间。
表三
小区综合标识 | 位置 | 映射关系生成时间 |
IDA-IDB-IDD | 北纬X1度,东经Y1度 | 2017-01-01,09:58 |
IDA-IDB-IDH-IDJ | 北纬X2度,东经Y2度 | 2017-01-01,16:35 |
IDA-IDB-IDD-IDJ | 北纬X3度,东经Y3度 | 2017-01-02,06:45 |
IDA-IDB-IDC-IDJ | 北纬X4度,东经Y5度 | 2017-01-02,07:58 |
表四
其中,预设条件包括第一条件:当前的信号源综合标识与目标信号源综合标识中都包括至少N个相同信号源的标识,该N为取值大于等于1小于等于M的整数。该N的取值可以根据实际情况设定。例如:当前的信号源综合标识由4个小区标识组成,则该N的取值可以为大于等于1小于等于4的整数。当信号源综合标识由2个小区标识组成,则该N的取值可以为大于等于1小于等于2的整数。
当出现有多个信号源综合标识均满足上述第一条件时,该预设条件还可以进一步包括以下任意一个或多个条件:
第二条件、将上述多个满足第一条件的信号源综合标识中,与当前的信号源综合标识包含的相同信号源标识最多的信号源综合标识确定为目标信号源综合标识。
示例性的,当前的信号源综合标识为IDA-IDB-IDC-IDd,假设N的取值为2,且通过查看表三所示的映射表,确定满足上述第一条件的候选信号源综合标识有两个,分别为:IDA-IDB-IDH-IDJ和IDA-IDB-IDD。则由于IDA-IDB-IDD与当前的信号源综合标识IDA-IDB-IDC-IDd均包括IDA、IDB、IDD3个信号源标识,而IDA-IDB-IDH-IDJ与当前的信号源综合标识IDA-IDB-IDC-IDd均只包括IDA、IDB这2个信号源标识,因此,IDA-IDB-IDD为最终的目标信号源综合标识。
当信号源综合标识是按照信号源的信号强度,将各个信号源的标识依次排列而成时,第一条件还进一步包括下述第三条件。
第三条件、将最先匹配到当前信号源综合标识中包含的信号源标识的候信号源标识确定为目标信号源综合标识。
示例性的,当前的信号源综合标识为IDA-IDB-IDC-IDD,假设N的取值为3,且通过查看表三所示的映射表,确定满足上述第一条件的信号源综合标识有三个,分别为:IDA-IDB-IDD、IDA-IDB-IDD-IDJ和IDA-IDB-IDC-IDJ,则由于IDA-IDB-IDC-IDJ最先匹配到IDC,则将IDA-IDB-IDC-IDJ确定为最终的目标信号源综合标识。
可选的,当映射关系表中还包括信号源综合标识和位置的映射关系的建立时间时,第一条件还进一步包括下述第四条件。
第四条件、将映射关系的建立时间为最新的信号源综合标识确定为目标
信号源综合标识。
示例性的,当前的信号源综合标识为IDA-IDB-IDC-IDD,假设N的取值为3,且通过查看表三所示的映射表,确定满足上述第一条件的信号源综合标识有两个,分别为:IDA-IDB-IDD和IDA-IDB-IDC-IDJ,其对应的映射关系的建立时间分别为:2017-01-01,09:58以及2017-01-02,07:58则由于IDA-IDB-IDC-IDJ对应的映射关系的建立时间(2017-01-02,07:58)为最新的,则将IDA-IDB-IDC-IDJ确定为最终的目标信号源综合标识。
可选的,当信号源综合标识以矩阵形式(集合可以看作一维矩阵)表示时,可通过比较已存储的信号源综合标识和当前信号源综合标识对应的一维矩阵中相同元素的个数来确定目标信号源综合标识。将与当前信号源综合标识对应的矩阵包含的相同元素最多的矩阵对应的信号源综合标识确定为目标信号源综合标识。
当存在多个满足上述条件的信号源综合标识时,将与与当前信号源综合标识对应的矩阵相同位置包含的相同元素最多的矩阵对应的信号源综合标识确定为目标信号源综合标识。
或者,当匹配出满足上述第一条件的信号源综合标识有多个时,可以分别将匹配出来的该多个信号源综合标识分别和当前信号源综合标识的每个位置处的元素一一比较,将最先匹配到信号较强的信号源标识的信号源综合标识确定为目标信号源综合标识。例如:当前信号源综合标识为[IDA IDB IDC IDD],满足第一条件的信号源综合标识包括[IDB IDD IDC IDJ]和[IDB IDC IDA IDJ]。则将[IDB IDD IDC IDJ]中的元素与[IDA IDB IDC IDD]的元素进行匹配,匹配到的第一个相同元素为IDB、第二个相同元素为IDD,以及将[IDB IDD IDC IDJ]每个位置的元素和[IDA IDB IDC IDD]的元素进行匹配,匹配到的第一个相同元素为IDB,匹配到的第二个相同元素为IDC。由于终端检测到的小区C的信号强度大于小区D的信号强度,而[IDB IDC IDA IDJ]。优先匹配到IDC,因此,将[IDB IDC IDA IDJ]。确定为目标信号源综合标识。将矩阵之间进行元素匹配的具体实现可参考现有技术,此处不再赘述。
其中,上述第一条件、第二条件、第三条件、第四条件可以互相结合,满足的约束条件最多的候选信号源综合标识为最终的目标信号源综合标识。
为了更清楚的说明本申请实施例提供的方法,示例性的,如表五所示,映射关系表中存储了如下映射关系:
表五
小区综合标识 | 位置 | 映射关系生成时间 |
IDA-IDB | 位置P | 2017-01-01,09:58 |
则将本申请实施例提供的方法应用于图1a所示的场景时,当终端移动到Q处且需要进行定位时,终端确定当前小区综合标识为IDB-IDA,由于该小区综合识别标识与映射关系表中存储的IDA-IDB这一标识均包含小区A和小区B的标识,则将映射关系表中存储的IDA-IDB这一标识作为目标小区综合标识,将其对应的位置,也即位置P作为在Q处定位时需要的辅助位置。可
见,与现有技术相比,本申请能够将位置P作为Q处定位所需的辅助位置,进而能够实现在Q处的快速定位。
将本申请实施例提供的方法应用于图1b所示的场景时,当终端再次移动到P处且需要进行定位时,确定终端当前的小区综合标识为IDB-IDA或IDA-IDB(具体可根据实际情况确定),由于该小区综合识别标识与映射关系表中存储的IDA-IDB这一标识均包含小区A和小区B的标识,则将映射关系表中存储的IDA-IDB这一标识作为目标小区综合标识,将其对应的位置,也即映射关系表中存储的位置P作为定位时需要的辅助位置。可见,与现有技术中,由于终端再次移动到Q处时的当前注册小区为小区B,因此无法将注册在小区A时存储的映射关系中的位置P作为辅助位置相比,本申请实施例能够将已存储的映射关系中的位置P作为辅助位置,进而能够实现再次移动到P处时的快速定位。
示例性的,将本申请实施例提供的方法应用于图5所示的情况时,在P处时,获取位置P,小区识别码A,小区综合标识:IDA-IDC-IDB-IDD,建立该小区综合标识和位置P的映射关系。当移动到Q处且需要定位时,终端采集到A、B、C、D小区的标识及信号强度,按照信号强度由强到弱的顺序生成小区综合标识,此时可能是IDB-IDA-IDD-IDC,小区识别码B。此时Q和P虽然距离较近,但小区识别码不同,按现有技术方案无法匹配出Q处的位置;而采用本申请实施例的方法IDB-IDA-IDD-IDC和IDA-IDC-IDB-IDD的相似度符合特定的规则,即可匹配成功,则将位置P作为在Q处定位所需的辅助位置。
可见,本申请实施例中在建立映射关系时,不是建立终端注册的小区与位置的映射关系,而是建立本申请实施例所指的小区综合识别标识和位置的对应关系,因此,只要映射关系表中存储有与当前小区综合识别标识相似度满足条件的目标小区综合标识,就可以将该目标小区综合标识对应的位置确定为辅助位置。
实际应用中,采用本申请实施例提供的方法后,由于能够提供辅助位置,在提供辅助位置后,终端能够快速跟踪该辅助位置附近的卫星,因此,能够加速终端跟踪卫星的速度,实现快速卫星定位。在空旷环境下(周围无高楼等障碍物),可以将终端进行首次定位时间提升50%左右。在有遮挡环境下(双面/三面遮挡测试),可以将首次定位时间提升80%-90%左右。
综上所述,本申请实施例提供的定位方法,终端在确定当前的信号源综合标识后,通过查找保存有信号源综合标识和位置的映射关系的映射关系表,将与当前的信号源综合标识最相似的信号源综合标识对应的位置确定为辅助位置。可见,本申请实施例提供的上述方法中,在确定辅助位置时,依据的是信号源综合标识,该信号源综合标识是由终端能够检测到信号强度的M个信号源的标识组成,因此,该信号源综合标识能够反映终端与多个信号源的覆盖范围的关系,表明终端可能位于多个信号源的覆盖范围。这样,在确定辅助位置时,与现有技术中仅考虑终端注册小区相比,本申请提供的方法综合考虑了多个信号源,能够将多个信号源对应的位置均考虑在内进而提供有
效的辅助位置。
在一些实施例中,存储信号源综合标识和位置的映射关系的映射表在初始建立时,可利用其他定位方式获得位置信息,如通过Wi-Fi定位、基站定位等方式进行定位得到的位置信息;并确定终端在该位置对应的信号源综合标识,进而保存该信号源综合标识和位置的映射关系。之后,存储映射关系的映射表可根据实际情况不断的更新,包括删除已有的某个映射关系、增加新的映射关系、修改已有的某个映射关系中的信号源综合识别码或位置。因此,在步骤204“终端根据所述位置进行卫星定位”之后,如图6所示,本申请实施例提供的方法还包括:
步骤601、终端确定本地是否保存所述当前信号源综合标识对应的映射关系。
如果保存,则执行下述步骤602,如果未保存,则执行下述步骤603。
步骤602、终端将卫星定位后得到的终端当前所在位置更新为当前信号源综合标识对应的位置。
通过执行该步骤602,在终端已经保存了当前信号源综合标识和位置的映射关系时,将映射关系表中已保存的该信号源综合标识的位置替换为新的位置,实现该信号源综合标识对应的位置的更新。
步骤603、终端存储当前信号源综合标识和卫星定位得到的终端当前所在位置的映射关系。
通过执行该步骤,在终端没有保存当前信号源综合标识和位置的映射关系时,将当前的信号源综合标识和卫星定位后得到的终端当前所在位置的映射关系作为新的映射关系添加到映射关系表中。
实际应用中,终端可同时维护存储有无线接入点综合标识与位置的映射关系的映射表(为便于描述,简称为AP-位置映射表),以及存储有小区综合标识与位置的映射关系的映射表(为便于描述,简称为小区-位置映射表)。
这样,当终端能够和基站通信的情况下,如终端安装有客户识别模块(Subscriber Identification Module,SIM)卡或eSIM卡(下文以SIM卡为例进行说明),且SIM卡为有效状态,则终端能够检测到周围小区的信号强度和信号标识,进而可查看小区-位置映射表以确定目标小区综合标识并确定辅助位置。
如果终端无法和基站通信,如终端未装有SIM卡或SIM卡处于无效状态,但终端打开了扫描无线接入点的功能,也即终端能够检测周围无线接入点的标识和信号强度,则可查看AP-位置映射表,进而确定目标无线接入点综合标识并确定辅助位置。
如果存在终端能够和基站通信(如终端中的SIM卡处于有效状态)且终端打开了扫描无线接入点的功能,一种可选的方式为任意选择AP-位置映射表或者小区-位置映射表以确定辅助位置。由于AP的覆盖范围更小,其定位更精确,因此,另一种可选的方式为先查看AP-位置映射表,如果在该AP-位置映射表中就能够确定辅助位置,则将该位置确定为辅助位置;如果在该AP-位置映射表中无法确定辅助位置,则查看小区-位置映射表以确定辅助位
置。
以终端为手机为例,结合实际应用的场景,如图7a所示,手机中同时维护了AP-位置映射表和小区-位置映射表,当用户需要定位时,如果用户开启了扫描无线接入点的功能,手机确定当前的无线接入点综合标识,并在AP-位置映射表中查找与当前无线接入点综合标识相似度满足条件的目标无线接入点综合标识,并将该目标无线接入点综合标识对应的位置确定为辅助位置。如果用户未开启扫描无线接入点的功能,则如图7b所示,手机确定当前的小区综合标识,并在小区-位置映射表中查找与当前小区综合标识相似度满足条件的目标小区综合标识,并将该目标小区综合标识对应的位置确定为辅助位置。
可以理解的是,终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本申请实施例中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对终端进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图8a示出了上述实施例中所涉及的终端的一种可能的结构示意图,终端700包括:确定单元701、获取单元702、定位单元703、存储单元704。确定单元701用于支持终端700执行图3a中的过程201、图6中的601。获取单元702用于支持终端700执行图3a中的过程202,图3b中的过程301、302、303,图4a中的过程401,图4b中的过程501,定位单元703用于支持终端700执行图3a中的过程203。存储单元704用于存储信号源综合标识和位置的映射关系。
在采用集成的单元的情况下,图8b示出了上述实施例中所涉及的终端的一种可能的结构示意图。终端800包括:处理模块802和通信模块803。处理模块802用于对终端的动作进行控制管理,例如,处理模块802用于支持终端执行图3a中的过程201、202、203,图3b中的过程301、302、303,图4a中的过程401,图4b中的过程501,图6中的过程601、602和/或用于本申请实施例所描述的技术的其它过程。通信模块803用于支持终端与其他网络实体的通信,例如与各种类型的接入点、基站之间的通信。终端还可以包括存储模块801,用于存储终端的程序代码和数据。
其中,处理模块802可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal
Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块803可以是收发器、收发电路或通信接口等。存储模块801可以是存储器。
当处理模块802为处理器,通信模块803为收发器,存储模块801为存储器时,本申请实施例所涉及的终端可以为图8c所示的终端。
参阅图8c所示,该终端900包括:处理器902、收发器903、存储器901以及总线904。其中,收发器903、处理器902以及存储器901通过总线904相互连接;总线904可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8c中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
结合本申请公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于核心网接口设备中。当然,处理器和存储介质也可以作为分立组件存在于核心网接口设备中。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。
Claims (19)
- 一种定位方法,其特征在于,包括:终端确定M个目标信号源的标识,所述M的取值为大于1的整数,所述目标信号源为终端当前能够检测到的信号强度大于预设阈值的信号源;所述终端根据所述M个目标信号源的标识获取与所述M个目标信号源的标识匹配的位置;所述终端根据所述位置进行卫星定位。
- 根据权利要求1所述的方法,其特征在于,所述终端根据所述M个目标信号源的标识获取与所述M个目标信号源的标识匹配的位置,包括:所述终端根据所述M个目标信号源的标识确定当前信号源综合标识,所述当前信号源综合标识由所述M个目标信号源的标识组成;所述终端确定与所述当前信号源综合标识匹配的目标信号源综合标识以及所述目标信号源综合标识对应的位置;所述终端将所述目标信号源综合标识对应的位置确定为与所述M个目标信号源的标识匹配的位置。
- 根据权利要求2所述的方法,其特征在于,所述终端根据所述M个目标信号源的标识确定当前信号源综合标识包括:所述终端将所述M个目标信号源的标识按照信号源的信号强度顺序排列后生成所述当前信号源综合标识。
- 根据权利要求2或3所述的方法,其特征在于,所述终端本地存储有信号源综合标识和位置的映射关系;所述终端确定与所述当前信号源综合标识匹配的目标信号源综合标识以及所述目标信号源综合标识对应的位置,包括:所述终端在已存储的所述映射关系中查找与所述当前信号源综合标识相似度满足预设条件的目标信号源综合标识以及所述目标信号源综合标识对应的位置。
- 根据权利要求4所述的方法,其特征在于,所述预设条件包括:所述目标信号源综合标识为,与所述当前信号源综合标识包括至少N个相同信号源的标识的信号源综合标识,所述N为取值大于等于1小于等于M的整数。
- 根据权利要求5所述的方法,其特征在于,当存在至少两个与当前信号源综合标识都包括至少N个相同信号源的标识的信号源综合标识时,所述预设条件,还包括:所述目标信号源综合标识为,所述至少两个信号源综合标识中与当前信号源综合标识包含的相同信号源标识最多的信号源综合标识。
- 根据权利要求5所述的方法,其特征在于,所述终端还保存信号源综合标识和位置的映射关系的建立时间;当存在至少两个与当前信号源综合标识都包括至少N个相同信号源的标识的信号源综合标识时,所述预设条件,还包括:所述目标信号源综合标识为,所述至少两个信号源综合标识中所述映射关系的建立时间为最新的信号源综合标识。
- 根据权利要求1至7任一项所述的方法,其特征在于,在所述终端根据所述位置进行卫星定位之后,所述方法还包括:所述终端确定本地是否保存所述当前信号源综合标识对应的映射关系;如果保存有所述当前信号源综合标识对应的映射关系,则终端将卫星定位后得到的终端当前所在位置更新为所述当前信号源综合标识对应的位置;如果未保存所述当前信号源综合标识对应的映射关系,则终端存储当前信号源综合标识和卫星定位后得到的终端当前所在位置的映射关系。
- 一种终端,其特征在于,包括:确定单元,用于确定M个目标信号源的标识,所述M的取值为大于1的整数,所述目标信号源为终端当前能够检测到的信号强度大于预设阈值的信号源;获取单元,用于根据所述确定单元确定的M个目标信号源的标识获取与所述M个目标信号源的标识匹配的位置;定位单元,用于根据所述获取单元获取的位置进行卫星定位。
- 根据权利要求9所述的终端,其特征在于,所述确定单元,具体用于确定当前信号源综合标识,所述当前信号源综合标识由所述M个目标信号源的标识组成;所述获取单元,具体用于获取与所述确定单元确定的当前信号源综合标识匹配的目标信号源综合标识以及所述目标信号源综合标识对应的位置;并将所述目标信号源综合标识对应的位置确定为与所述M个目标信号源的标识匹配的位置。
- 根据权利要求10所述的终端,其特征在于,所述确定单元,还用于将所述M个目标信号源的标识按照信号源的信号强度顺序排列后生成所述当前信号源综合标识。
- 根据权利要10或11所述的终端,其特征在于,所述终端还包括存储单元,用于存储信号源综合标识和位置的映射关系;所述获取单元,还用于在所述存储单元存储的所述映射关系中查找与所述当前信号源综合标识相似度满足预设条件的目标信号源综合标识以及所述目标信号源综合标识对应的位置。
- 根据权利要求12所述的终端,其特征在于,所述预设条件包括:所述目标信号源综合标识为,与所述当前信号源综合标识包括至少N个相同信号源的标识的信号源综合标识,所述N为取值大于等于1小于等于M的整数。
- 根据权利要求13所述的终端,其特征在于,当存在至少两个与当前信号源综合标识都包括至少N个相同信号源的标识的信号源综合标识时,所述预设条件,还包括:所述目标信号源综合标识为,所述至少两个信号源综合标识中与当前信号 源综合标识包含的相同信号源标识最多的信号源综合标识。
- 根据权利要求13所述的终端,其特征在于,所述存储单元还用于保存信号源综合标识和位置的映射关系的建立时间;当存在至少两个与当前信号源综合标识都包括至少N个相同信号源的标识的信号源综合标识时,所述预设条件,还包括:所述目标信号源综合标识为,所述至少两个信号源综合标识中所述映射关系的建立时间为最新的信号源综合标识。
- 根据权利要求9至15任一项所述的终端,其特征在于,所述确定单元,还用于确定本地是否保存所述当前信号源综合标识对应的映射关系;如果保存有所述当前信号源综合标识对应的映射关系,则将所述定位单元定位后得到的终端当前所在位置更新为所述当前信号源综合标识对应的位置;如果未保存有所述当前信号源综合标识对应的映射关系,则所述存储单元存储当前信号源综合标识和所述定位单元定位后得到的终端当前所在位置的映射关系。
- 一种终端,其特征在于,包括处理器和存储器,所述存储器中存储有指令,所述处理器用于执行所述存储器中存储的指令以执行权利要求1至8任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述权利要求1至8任一项所述的方法。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包含指令,当其在计算机上运行时,使得计算机执行权利要求1至8任一项所述的方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201780060214.XA CN109791209B (zh) | 2017-04-06 | 2017-04-24 | 一种定位方法及装置 |
EP17904676.8A EP3594720A4 (en) | 2017-04-06 | 2017-04-24 | POSITIONING METHOD AND DEVICE |
US16/603,499 US10962653B2 (en) | 2017-04-06 | 2017-04-24 | Positioning method and apparatus |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710222015 | 2017-04-06 | ||
CN201710222015.6 | 2017-04-06 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018184263A1 true WO2018184263A1 (zh) | 2018-10-11 |
Family
ID=63712778
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/081727 WO2018184263A1 (zh) | 2017-04-06 | 2017-04-24 | 一种定位方法及装置 |
Country Status (4)
Country | Link |
---|---|
US (1) | US10962653B2 (zh) |
EP (1) | EP3594720A4 (zh) |
CN (1) | CN109791209B (zh) |
WO (1) | WO2018184263A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114698094A (zh) * | 2020-12-29 | 2022-07-01 | 华为技术有限公司 | 一种数据处理方法及装置 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115471929A (zh) * | 2021-05-24 | 2022-12-13 | 北京骑胜科技有限公司 | 一种开锁方法、装置和电子设备 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101646920A (zh) * | 2007-03-30 | 2010-02-10 | 索尼株式会社 | 高效执行增强的移动设备定位过程的***和方法 |
CN101765201A (zh) * | 2008-12-26 | 2010-06-30 | 晨星软件研发(深圳)有限公司 | 定位辅助方法以及使用该方法的定位辅助装置 |
CN102223597A (zh) * | 2010-04-15 | 2011-10-19 | 上海启电信息科技有限公司 | 一种移动定位装置 |
CN102778685A (zh) * | 2011-05-11 | 2012-11-14 | 剑桥硅无线电有限公司 | 协作定位 |
CN103901398A (zh) * | 2014-04-16 | 2014-07-02 | 山东大学 | 一种基于组合排序分类的位置指纹定位方法 |
CN105629281A (zh) * | 2015-11-27 | 2016-06-01 | 东莞酷派软件技术有限公司 | 用于终端的辅助定位方法及辅助定位装置 |
Family Cites Families (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5613205A (en) | 1995-03-31 | 1997-03-18 | Telefonaktiebolaget Lm Ericsson | System and method of locating a mobile terminal within the service area of a cellular telecommunication system |
US8489669B2 (en) * | 2000-06-07 | 2013-07-16 | Apple Inc. | Mobile data processing system moving interest radius |
DE60229870D1 (de) * | 2001-09-10 | 2008-12-24 | Sirf Tech Inc | System zur benützung von zelleninformationen zum finden einer drahtlosen einrichtung |
CN1332215C (zh) | 2003-10-24 | 2007-08-15 | 中兴通讯股份有限公司 | 一种移动定位方法 |
US7873132B2 (en) * | 2005-09-21 | 2011-01-18 | Hewlett-Packard Development Company, L.P. | Clock recovery |
US7702843B1 (en) * | 2006-04-27 | 2010-04-20 | Vmware, Inc. | Determining memory conditions in a virtual machine |
CN101206253B (zh) * | 2006-12-20 | 2012-01-11 | 英华达(上海)电子有限公司 | 手持gps终端设备上的地图数据同步更新的装置及方法 |
US20080284646A1 (en) | 2007-05-18 | 2008-11-20 | Broadcom Corporation | Use of broadcast position data for subsequent gps location fix |
GB2460626A (en) * | 2008-05-22 | 2009-12-09 | Geotate Bv | File creation system and method |
US20100149029A1 (en) * | 2008-12-15 | 2010-06-17 | Sony Ericsson Mobile Communications Ab | System and Method for Obtaining Location Assistance Data |
US8259652B2 (en) * | 2009-11-17 | 2012-09-04 | Apple Inc. | Location-based network detection |
US8199051B2 (en) * | 2009-12-18 | 2012-06-12 | Trueposition, Inc. | Satellite positioning receiver and proxy location system |
CN102111872B (zh) * | 2009-12-23 | 2013-11-20 | ***通信集团公司 | 基于指纹定位技术的定位方法及装置 |
CN102236098A (zh) * | 2010-04-22 | 2011-11-09 | 中华电信股份有限公司 | 全球定位***的辅助定位方法与装置 |
JP5249991B2 (ja) | 2010-05-26 | 2013-07-31 | 株式会社エヌ・ティ・ティ・ドコモ | 測位装置及び方法 |
CN102064895B (zh) | 2010-12-21 | 2013-06-12 | 西安电子科技大学 | Rssi与模式匹配相结合的无源定位方法 |
EP2511658A1 (de) * | 2011-04-14 | 2012-10-17 | Hexagon Technology Center GmbH | Vermessungssystem und Verfahren zur Neupunktbestimmung |
US9194934B2 (en) | 2012-03-09 | 2015-11-24 | Blackberry Limited | Location estimation using radio scene signatures |
CN102610000A (zh) | 2012-03-14 | 2012-07-25 | 江苏钱旺网络科技有限公司 | 基于Wi-Fi技术的员工考勤定位的方法 |
CN102932911B (zh) * | 2012-09-26 | 2015-02-04 | 上海顶竹通讯技术有限公司 | 位置指纹定位方法及定位*** |
CN103974189B (zh) | 2013-01-24 | 2018-03-27 | 华为终端(东莞)有限公司 | 移动终端的gps定位方法及移动终端 |
CN103249143A (zh) * | 2013-05-20 | 2013-08-14 | 周小伟 | 一种立体式混合定位到点的搜索***及方法 |
CN104243662B (zh) | 2013-06-07 | 2020-09-01 | 中兴通讯股份有限公司 | 一种终端提示模式调整方法及终端 |
CN103458504B (zh) * | 2013-09-13 | 2016-08-17 | 中国科学院信息工程研究所 | 一种基于序列的传感器节点定位方法及装置 |
CN103796163A (zh) | 2013-11-03 | 2014-05-14 | 北京工业大学 | 一种接收信号强度排序指纹的室内定位方法 |
CN104007417A (zh) * | 2014-05-16 | 2014-08-27 | 上海交通大学 | 基于区块划分的室内定位方法 |
EP3290953B1 (en) * | 2015-06-04 | 2020-04-22 | Huawei Technologies Co., Ltd. | Method of setting positioning mode and mobile terminal |
CN105376712A (zh) * | 2015-11-17 | 2016-03-02 | 贵阳朗玛信息技术股份有限公司 | 终端位置信息的确定方法及终端 |
CN106019218B (zh) * | 2016-05-13 | 2018-05-18 | 中科劲点(北京)科技有限公司 | 终端相对距离获取方法及可获取相对距离的终端 |
CN106324642A (zh) * | 2016-10-18 | 2017-01-11 | 安徽天达网络科技有限公司 | 一种新型辅助定位方法 |
CN106385671A (zh) * | 2016-11-29 | 2017-02-08 | 维沃移动通信有限公司 | 一种定位方法及移动终端 |
US20190132815A1 (en) * | 2017-10-27 | 2019-05-02 | Sentry Centers Holdings LLC | Systems and methods for beacon integrated with displays |
US20190391980A1 (en) * | 2018-06-26 | 2019-12-26 | Live Nation Entertainment, Inc. | Systems methods and apparatus for generation of a database object |
-
2017
- 2017-04-24 EP EP17904676.8A patent/EP3594720A4/en not_active Ceased
- 2017-04-24 US US16/603,499 patent/US10962653B2/en active Active
- 2017-04-24 WO PCT/CN2017/081727 patent/WO2018184263A1/zh unknown
- 2017-04-24 CN CN201780060214.XA patent/CN109791209B/zh active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101646920A (zh) * | 2007-03-30 | 2010-02-10 | 索尼株式会社 | 高效执行增强的移动设备定位过程的***和方法 |
CN101765201A (zh) * | 2008-12-26 | 2010-06-30 | 晨星软件研发(深圳)有限公司 | 定位辅助方法以及使用该方法的定位辅助装置 |
CN102223597A (zh) * | 2010-04-15 | 2011-10-19 | 上海启电信息科技有限公司 | 一种移动定位装置 |
CN102778685A (zh) * | 2011-05-11 | 2012-11-14 | 剑桥硅无线电有限公司 | 协作定位 |
CN103901398A (zh) * | 2014-04-16 | 2014-07-02 | 山东大学 | 一种基于组合排序分类的位置指纹定位方法 |
CN105629281A (zh) * | 2015-11-27 | 2016-06-01 | 东莞酷派软件技术有限公司 | 用于终端的辅助定位方法及辅助定位装置 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3594720A4 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114698094A (zh) * | 2020-12-29 | 2022-07-01 | 华为技术有限公司 | 一种数据处理方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
EP3594720A4 (en) | 2020-04-08 |
CN109791209B (zh) | 2022-02-25 |
EP3594720A1 (en) | 2020-01-15 |
US20200371251A1 (en) | 2020-11-26 |
CN109791209A (zh) | 2019-05-21 |
US10962653B2 (en) | 2021-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9869769B2 (en) | GPS positioning method for mobile terminal, and mobile terminal | |
CN109891934B (zh) | 一种定位方法及装置 | |
EP2965546B1 (en) | Method and apparatus for peer-2-peer wi-fi ranging using near field communication | |
CN109716826B (zh) | 接入方法、网络设备、终端设备和amf设备 | |
CN109541655B (zh) | 一种差分定位***、方法 | |
CN111316673B (zh) | 电子围栏更新的方法和通信装置 | |
WO2018145477A1 (zh) | 一种网络接入方法及终端 | |
US20120201143A1 (en) | System and method for managing wireless connections and radio resources | |
WO2018166202A1 (zh) | 网络定位方法、计算机设备及非易失性可读存储介质 | |
KR20150039413A (ko) | 네트워크 기반의 위치 결정 방법 및 그 전자 장치 | |
CN110622528B (zh) | 一种信息推荐方法及装置 | |
WO2019178816A1 (zh) | 一种补充业务的设置方法及设备 | |
CN110234068B (zh) | 一种定位方法及终端设备 | |
CN104901992B (zh) | 一种资源转移的方法和装置 | |
CN111448825B (zh) | 一种传输控制方法及设备 | |
CN115336296A (zh) | 定位辅助终端设备的确定方法、装置 | |
WO2018184263A1 (zh) | 一种定位方法及装置 | |
WO2018098717A1 (zh) | 一种调整定位周期的方法及装置 | |
CN108848566B (zh) | 无线通信传输方法、装置、移动终端及计算机可读取存储介质 | |
CN108156313B (zh) | 定位控制方法、装置、存储介质及终端设备 | |
CN110602766A (zh) | 一种个人热点识别方法和终端之间关联关系的确定方法 | |
CN115336297A (zh) | 定位辅助终端设备的确定方法、装置 | |
CN109714800B (zh) | 信息查询方法、用户设备、服务器及存储介质 | |
CN117456764A (zh) | 一种基于电子围栏的停车预约方法及*** | |
JP2021040229A (ja) | 非スタンドアロンの無線通信網における通信方式を認識する携帯端末、プログラム及び方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17904676 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2017904676 Country of ref document: EP Effective date: 20191008 |