[go: up one dir, main page]

WO2018129838A1 - 一种定位方法、终端及服务器 - Google Patents

一种定位方法、终端及服务器 Download PDF

Info

Publication number
WO2018129838A1
WO2018129838A1 PCT/CN2017/082403 CN2017082403W WO2018129838A1 WO 2018129838 A1 WO2018129838 A1 WO 2018129838A1 CN 2017082403 W CN2017082403 W CN 2017082403W WO 2018129838 A1 WO2018129838 A1 WO 2018129838A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
satellite data
time range
set time
partitions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/082403
Other languages
English (en)
French (fr)
Inventor
隆仲莹
范毅
陈崇录
孙树辉
潘光胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201780012495.1A priority Critical patent/CN108780155B/zh
Priority to CN202110200903.4A priority patent/CN113064185B/zh
Publication of WO2018129838A1 publication Critical patent/WO2018129838A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/24Acquisition or tracking or demodulation of signals transmitted by the system
    • G01S19/25Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS
    • G01S19/258Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS relating to the satellite constellation, e.g. almanac, ephemeris data, lists of satellites in view
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/24Acquisition or tracking or demodulation of signals transmitted by the system
    • G01S19/25Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/24Acquisition or tracking or demodulation of signals transmitted by the system
    • G01S19/25Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS
    • G01S19/256Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS relating to timing, e.g. time of week, code phase, timing offset
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/24Acquisition or tracking or demodulation of signals transmitted by the system
    • G01S19/28Satellite selection

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a positioning method, a terminal, and a server.
  • GPS Global Positioning System
  • satellite positioning system is a technology that uses satellites to accurately locate any object. GPS can guarantee that at least 4 satellites can be observed at any time on the earth at any time for navigation, positioning, timing and other functions.
  • the GPS system includes: a space portion, a control portion, and a user portion.
  • the space part of GPS is composed of 24 GPS working satellites, and each GPS working satellite sends satellite signals for navigation and positioning.
  • the control part of the GPS consists of a globally distributed monitoring system consisting of several tracking stations for monitoring the working state of the satellite.
  • the user part of the GPS consists of a GPS receiver, data processing software and corresponding user equipment such as computer meteorological instruments, which are used to receive signals from GPS satellites and use these signals for positioning.
  • the traditional satellite positioning scheme on a terminal such as a mobile phone or a wearable device, it is often necessary to poll the satellite receiver of the terminal to receive the satellite signal, obtain the local satellite signal in real time, and then complete the map by the processor of the terminal. Mapping on top, achieving positioning. It can be seen that the following drawbacks exist in the traditional satellite positioning scheme: on the one hand, the positioning time depends on the performance of the hardware devices such as the terminal GPS receiver and the processor; on the other hand, polling the satellite signal may need to cover all satellite parameters. And it will take a long time to accurately collect the satellite signals of the required satellites, which will make the subsequent use of satellite signals for map mapping or navigation longer.
  • the present application provides a positioning method, a terminal, and a server, so that the terminal can quickly acquire satellite data corresponding to the target area in the target time period.
  • the present application provides a positioning method, the method comprising:
  • the map is divided into M partitions, and the first terminal determines that it is necessary to acquire satellite data corresponding to N partitions in the map in a set time range in the future, where M and N are positive integers, and M is greater than or equal to N;
  • the satellite data corresponding to a partition includes satellite data of each satellite passing over the partition within the set time range.
  • the map is divided into a plurality of partitions according to a setting rule, so that the terminal can select and acquire N partitions in the map as needed in a future set time range.
  • the server can obtain the satellite data corresponding to the N partitions in the set time range based on the historical satellite data after the server knows the N partitions and the set time range on the map corresponding to the satellite data required by the terminal. And feedback to the terminal, through the above process, the terminal will be able to quickly acquire satellite data corresponding to the target area within the target time period.
  • the method further includes:
  • the first terminal searches for satellite signals in the set time range by using satellite data corresponding to the N partitions in the set time range carried in the response message.
  • the first terminal can targetly acquire satellite signals within the set time range according to the satellite data of the N partitions within the set time range acquired in advance, thereby avoiding the current polling of the search satellite.
  • the shortcomings that result in the long time required to capture satellite signals provide search efficiency and reduce satellite positioning time.
  • the method further includes:
  • the first terminal determines that a communication connection is established with the second terminal, the first terminal transmits the satellite data corresponding to the N partitions in the set time range to the second terminal, to Having the second terminal search for satellite signals using the satellite data over the set time range.
  • the first terminal may transmit the acquired satellite data to the second terminal, so that the second terminal can also targetly acquire satellite signals based on the satellite data within a set time range, and provide Search efficiency and reduce satellite positioning time.
  • the first terminal determines that it is required to acquire satellite data corresponding to N partitions in a future set time range, including:
  • the first terminal receives an instruction for acquiring satellite data, where the instruction carries the set time range and indication information of the N partitions;
  • the user of the first terminal can obtain the satellite data corresponding to the target area in the future time period required for the subsequent satellite positioning.
  • the setting rule is to divide the map according to longitude and/or latitude; or, the setting rule is to divide the map according to the administrative region.
  • each partition has a certain geographical range, so that the computational complexity of the server in estimating the satellite data will be reduced.
  • the satellite data of each satellite passing through the partition within the set time range includes at least an ID and an orbit of each satellite passing through the partition within the set time range.
  • Data, and star clock data are examples of the satellite data of each satellite passing through the partition within the set time range.
  • the present application provides a positioning method, the method comprising:
  • the server Receiving, by the server, a request message sent by the first terminal, where the request message carries N partitions in the map corresponding to the satellite data that the first terminal needs to acquire, and indication information of a set time range; the map is set according to the setting The rule is divided into M partitions, where M and N are positive integers, and M is greater than or equal to N;
  • the server calculates satellite data corresponding to the N partitions in the set time range according to historical satellite data; wherein the satellite data corresponding to one partition includes each satellite passing through the partition within the set time range Satellite data;
  • the server sends a response message to the first terminal, where the response message carries satellite data corresponding to the N partitions in the set time range.
  • the historical satellite data is acquired by the server and stored on the server Satellite data published by various satellites in the GPS.
  • the present application provides a positioning device, the device is deployed in a terminal, and the device includes: a functional module for performing the positioning method according to any one of the above first aspect or the first aspect.
  • the application provides a positioning device, the device is deployed in a server, and the device includes: a function module for performing the positioning method according to any one of the second aspect or the second aspect.
  • the application provides a terminal, where the terminal includes: a processing unit and a wireless communication unit;
  • the processing unit is configured to implement the positioning method by using the wireless communication unit to perform any one of the foregoing first aspect or the first aspect.
  • the implementation of the terminal and the beneficial effects of any of the above fifth aspect or the fifth aspect of the present invention can achieve the implementation of the positioning method and the beneficial effects of the first aspect or the first aspect of the present invention. See, repetitions are not repeated here.
  • the present application provides a computer readable storage medium for storing computer software instructions for performing the functions of any of the above first aspect, the first aspect, including Aspect, the program designed by any of the methods of the first aspect.
  • the application provides a server, where the server includes: a processing unit and a wireless communication unit;
  • the processing unit is configured to implement the positioning method by using the wireless communication unit to perform any one of the foregoing second aspect or the second aspect.
  • the present application provides a computer readable storage medium, configured to store computer software instructions for performing the functions of any of the foregoing second aspect, the second aspect, including A program designed by any of the methods of the second aspect.
  • FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart diagram of a positioning method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of N partitions in a map in a positioning method according to an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of establishing a Bluetooth connection between a first terminal and a second terminal in a positioning method according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart of a positioning method in an actual application according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a positioning device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic flowchart diagram of a positioning method according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a positioning apparatus according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a server according to an embodiment of the present application.
  • the present application provides a positioning method, a terminal, and a server, so that the terminal can quickly acquire satellite data corresponding to the target area in the target time period.
  • the positioning method, the terminal, and the server provided by the present application are based on the same inventive concept, and the principles for solving the problem are similar. Therefore, the positioning method, the terminal, and the server provided by the present application can be mutually referred to, and the repetition is no longer repeated. Narration.
  • the map is divided into a plurality of partitions according to a setting rule, so that the first terminal needs to acquire satellite data corresponding to one or more partitions on the map within a set time range in the future.
  • sending, to the server, a request message carrying the set time range and the indication information of the one or more partitions, and receiving a response returned by the server and carrying the satellite data corresponding to the one or more partitions within the set time range The message can thus achieve the purpose of quickly acquiring the satellite data corresponding to the target area in the target time period; further, since the first terminal can obtain the satellite data corresponding to one or more partitions in a future set time range in advance by the above manner Therefore, when the satellite signal needs to be searched within the set time range, the target satellite can be quickly captured according to the satellite data in the set time range acquired in advance, thereby avoiding the time required to capture the satellite signal by polling the search satellite. Long defects.
  • FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application.
  • the exemplary communication system 100 includes a server 101 and a plurality of terminals 102-104.
  • the terminals 102-104 and the server 101 can communicate via the network 105; the terminal 103 and the terminal 102 can communicate via a short-range wireless communication connection.
  • the communication system 100 illustrated in FIG. 1 is for example only and is not intended to limit the application. Those skilled in the art should understand that in a specific implementation process, the communication system 100 may also include other devices, and the number of servers and terminals may also be configured according to specific needs. Furthermore, the terms “system” and “network” are interchangeable.
  • the servers involved in the embodiments of the present application may include a single server device or a cluster of local or remote distributed server devices.
  • the server can establish a communication connection with the terminal through a communication network such as an open Internet, an intranet, a firewall protection secure network, a wide area cellular network, or the like.
  • One or more server applications for serving client applications running in the terminal can be hosted in the server.
  • the terminals involved in the embodiments of the present application may be various wireless communication devices having long-distance wireless communication and/or short-range wireless communication functions;
  • Short-range wireless communication allows a terminal to exchange data with other terminals that are close enough to use signals in a low frequency band that is transmitted close to the ground rather than being transmitted over the air.
  • An antenna for short-range wireless communication may be referred to as a low frequency antenna.
  • Typical examples of short-range wireless communication include Bluetooth, Wireless Local Area Network (Wi-Fi), Infrared Data Association (IrDA), and the like;
  • Long-range wireless communication allows a terminal having a long-range wireless communication function to receive or transmit a wireless signal to one or more of a base station, a terminal, and a server in a wireless communication network established according to a corresponding wireless communication standard, using a strong linear high The signal in the frequency band.
  • An antenna for long-distance wireless communication may be referred to as a high frequency antenna.
  • Typical examples of long-range wireless communication include Global System for Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), and code. Division Multiple Access 2000, Wideband WCDMA (Wide-CDMA), Long Term Evolution (LTE), and Long Term Evolution-Advanced (LTE-A).
  • the terminal 102 is a mobile phone having a wireless cellular communication system and a wireless local area network communication system, which can perform long-distance wireless communication and short-range wireless communication with nearby terminals; and the terminal 103 is provided with a short-range wireless communication system ( A smart watch such as Bluetooth can only perform short-range wireless communication with a nearby terminal (as shown in FIG. 1, the terminal 103 and the terminal 102 can communicate via a short-range wireless communication connection).
  • a smart watch such as Bluetooth can only perform short-range wireless communication with a nearby terminal (as shown in FIG. 1, the terminal 103 and the terminal 102 can communicate via a short-range wireless communication connection).
  • a terminal involved in the embodiment of the present application may also be referred to as a user equipment (User Equipment, UE), a mobile terminal, a mobile device, an access terminal, a subscriber unit, a user terminal, a wireless terminal, a handheld device, a client, and the like.
  • UE User Equipment
  • FIG. 2 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • the terminal 200 may have components such as a wireless communication unit 210, a GPS unit 220, an input unit 230, an output unit 240, a sensing unit 250, an interface unit 260, a storage unit 270, a processing unit 280, and a power supply unit 290. . These components can communicate over one or more communication buses or signal lines. These components can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the wireless communication unit 210 generally includes one or more of communication that allows wireless communication between the terminal 200 and the wireless communication system, communication between the terminal 200 and another terminal, communication between the terminal 200 and an external server, and the like. Device. Moreover, wireless communication unit 210 typically includes one or more devices that connect terminal 200 to one or more networks. For example, as shown in FIG. 2, the wireless communication unit 210 can include a wireless cellular communication module 211 (which can be used to provide long-range wireless communication functions), a wireless Internet module 212, and a short-range wireless communication module 213 (which can be used to provide short-range wireless communication functions). ),and many more.
  • GPS unit 220 is used to allow communication between terminal 200 and satellites in a global positioning system.
  • the GPS unit 220 can receive satellite signals (wireless signals) from satellites in the GPS through an antenna, and based on these satellite signals, the GPS unit 220 can generate information that can be used for various applications. For example, each satellite in the GPS often repeats its own ephemeris information according to a fixed period. Based on the principle of satellite positioning technology, the GPS unit 220 usually knows exactly 3 to 4 satellite clocks in the GPS (clock). After the track information, the location information (such as longitude/latitude information) of the current location of the terminal 200 can be determined, and the information can be used for applications such as navigation and map mapping as needed.
  • GPS unit 220 After the track information, the location information (such as longitude/latitude information) of the current location of the terminal 200 can be determined, and the information can be used for applications such as navigation and map mapping as needed.
  • Input unit 230 is typically configured to receive various types of input information such as audio, video, tactile input, and the like.
  • the input unit 230 may include, for example, a user input unit 231 (eg, a touch screen, a touch key, a push key, a mechanical key, a soft key, etc.), an audio input unit 232 (eg, a microphone), a camera 233, and the like.
  • User input unit 231 can be used to allow the user to enter information; audio input unit 232 can be used to input audio signals; camera 233 can be used to obtain images or video.
  • Data is obtained by input unit 230 and may be analyzed and processed by processing unit 280 based on device parameters, user commands, and combinations thereof.
  • Output unit 240 is typically configured to output various types of information such as audio, video, haptic output, and the like.
  • the output unit 240 may have, for example, a display unit 241, an audio output unit 242, and the like.
  • the display unit 241 may have an interlayer structure or an integral structure having a touch sensor for promoting a touch screen or the like.
  • the touch screen can provide an input interface and an output interface between the terminal 200 and the user.
  • it can be used as a user input unit 231 to receive user input, such as collecting contact or non-contact operations on or near the user, and driving the corresponding connection device according to a preset program; on the other hand, it can be used for the display unit.
  • 241 is used to display visual output to a user, which may include graphics, text, icons, video, and any combination thereof, such as information that may be displayed by the user, information provided to the user, and various menus of the terminal 200, and the like.
  • the sensing unit 250 is typically configured to sense internal information of the terminal, the surrounding environment of the terminal, user information, etc., and may be implemented by one or more sensors.
  • the sensing unit 250 may include, for example, a touch sensor, an acceleration sensor, a magnetic sensor, a gyro sensor, a motion sensor, a pressure sensor, an RGB sensor, an infrared (IR) sensor, a finger scan sensor, an ultrasonic sensor, an optical sensor, a battery galvanometer, Environmental sensors (eg, barometers, hygrometers, thermometers, radiation detection sensors, light sensors, thermal sensors, gas sensors, etc.), and sensors such as chemical sensors (eg, electronic noses, biometric sensors, etc.).
  • Terminal 200 can be configured to acquire signals from one or more sensors of sensing unit 250 and/or to communicate signals to one or more sensors.
  • the interface unit 260 serves as an interface with various types of external terminals that can be coupled to the terminal 200.
  • the interface unit 260 may include, for example, any wired or wireless port, an external power port, a wired or wireless data port, a memory card port, a port for connecting a terminal having an identification module, and an audio input/output (I/O). Port, video I/O port, headphone port, etc.
  • the terminal 200 may perform a control function associated with the connected external terminal in response to the external terminal being connected to the interface unit 260.
  • Storage unit 270 is typically implemented to store data to support various functions or features of terminal 200.
  • the storage unit 270 may be configured to store an application executed in the terminal 200, data or an indication for the operation of the terminal 200, and the like. Some of these applications can be downloaded from an external server via wireless communication. Other applications may be installed in the terminal 200 at the time of manufacture or shipment, and these applications generally correspond to the basic functions of the terminal 200 (eg, receiving a call, making a call, receiving a message, sending a message, etc.). It is common that the application is stored in the storage unit 270, installed in the terminal 200, and executed by the processing unit 280 to perform operations on the terminal 200.
  • Processing unit 280 is the control center of terminal 200, which connects various portions of the entire terminal using various interfaces and lines, by running or executing software programs and/or devices stored in storage unit 270, and by calling stored in storage unit 270. The data, performing various functions and processing data of the terminal 200, thereby performing overall monitoring of the terminal. Processing unit 280 can process signals, data, information, etc., input or output via various components shown in FIG. 2, or activate an application stored in storage unit 270 to provide or process information or functionality that interacts with the user. For example, processing unit 280 can control some or all of the components of terminal 200 in accordance with the execution of an application that has been stored in storage unit 270.
  • the power supply unit 290 can be configured to receive external power or provide internal power to supply the terminal 200 with the appropriate power required to operate the components and components it includes.
  • the power supply can be logically coupled to the processing unit 280 through the power management system to manage functions such as charging, discharging, and power consumption through the power management system.
  • the power supply unit 290 may include a battery, and the battery may be configured to be embedded in the terminal body or configured to be detachable from the terminal body.
  • terminal structure shown in FIG. 2 does not constitute a limitation of the terminal, and may include more or less components than those illustrated, or combine some components, or split some components, or different. Assembly of parts.
  • terminals such as mobile phones, tablets, laptops, etc. often have the same or more functions and components than the terminal 200 shown in FIG. 2; for example, for example, smart watches, smart bracelets, smart glasses, and head-mounted Wearable, smaller terminals, such as displays (HMDs), are limited in size and tend to have fewer functions and components than the terminal 200 shown in FIG.
  • a wireless communication unit in a wearable terminal often does not include a wireless cellular communication module, but includes a short-range wireless communication module.
  • a wearable terminal can be used to exchange data or cooperate with terminals in its vicinity.
  • the terminal 103 can be sensed or identified by the short-range communication module according to the corresponding communication protocol in the terminal 102 close enough to the short-distance communication module provided therein, when the terminal 102 senses that the terminal 103 is
  • the terminal 102 can transmit the data processed in the terminal 102 to the terminal 103 via the short-range communication module, so that the user of the terminal 103 can use the data processed in the terminal 102 on the terminal 103.
  • the terminal 102 runs a music playing application, the user can listen to music using the terminal 103.
  • the terminal can receive satellite signals by configuring the GPS unit therein.
  • the GPS unit of the terminal often polls and collects the satellite signal, so it may need to cover all the satellite parameters, resulting in a long time required to accurately collect the satellite signal of the desired satellite, and the GPS unit of the terminal and
  • the performance requirements of hardware devices such as processing units are also relatively high.
  • the terminal can quickly acquire the satellite data corresponding to the target area in the target time period and improve the user experience.
  • the present application provides a positioning solution.
  • the positioning solution provided by the embodiment of the present application can be applied to a communication system including a terminal and a server, such as the communication system 100 shown in FIG. 1 , and specifically configured on the terminal and the server to implement the present application.
  • the function modules of the positioning scheme provided by the embodiment, the function modules for executing the process may be implemented by hardware, software programming or a combination of software and hardware, for example, the server 101 and the terminal 102 and the terminal 104 in the communication system 100 respectively.
  • the server-side software and the client software configured to implement the positioning solution provided by the embodiment of the present application are configured.
  • FIG. 3 is a schematic flowchart diagram of a positioning method provided by an embodiment of the present application. Specifically, the process may be performed by the first terminal, for example, the terminal 102 and the terminal 104 in FIG. 1 may be configured to implement the function module shown in FIG.
  • the process includes the following steps:
  • Step 301 Divide the map into M partitions according to the setting rule, and the first terminal determines that it is necessary to acquire satellite data corresponding to N partitions in the map in a set time range in the future, where M and N are positive integers, and M is greater than or equal to N.
  • the above-mentioned setting rule for dividing the map into M partitions may be to divide the map according to longitude and/or latitude.
  • the setting rule may be that the latitude and longitude lines for dividing the map are first determined according to the set longitude interval and the latitude interval, and each geographical area separated by the latitude and longitude lines on the map is used as each partition. It can be seen that the partition obtained by the setting rule can conveniently correspond to the orbit data of the satellite, thereby facilitating calculation of satellite data corresponding to each partition for each partition.
  • the above setting rule may also be to divide the map according to the administrative area.
  • the partition may be each country on the map, or more finely, an administrative area (such as a province, a district, a county, etc.) obtained by administrative division of the jurisdiction of each country. It can be seen that the partition obtained by the setting rule has the advantage that it is more in line with the user's habits and is beneficial to improving the user experience.
  • the M partitions that are obtained by dividing the map according to the setting rules may be identified by a number, a label, or a coordinate, etc., which is not limited in this application.
  • the first terminal may determine N partitions from the M partitions obtained by dividing the map, and further determine that it is necessary to acquire satellite data corresponding to the N partitions in a future set time range.
  • the first terminal may determine one partition from the M partitions in the map, and then N is equal to 1, thereby determining that it is necessary to acquire satellite data corresponding to the partition within a set time range in the future; for example, A terminal may also determine two or more partitions from the M partitions in the map, thereby determining that it is necessary to acquire satellite data corresponding to the plurality of partitions in a future set time range.
  • FIG. 4 is a schematic diagram of N partitions in a map in a positioning method provided by some embodiments of the present application.
  • the first terminal may be configured to receive an instruction for acquiring satellite data, so as to determine, according to the received instruction, that the satellite data corresponding to the N partitions in the map in the set time range needs to be acquired.
  • the above instruction for acquiring satellite data may carry information of a set time range and N partitions.
  • a function module configured to perform the process shown in FIG. 3 may be configured on the terminal 102, and provided to the user of the terminal 102 through a user interface (UI) for acquiring a future satellite.
  • UI user interface
  • the above menu may include a UI control for directly confirming that the user needs to acquire future satellite data, which is equivalent to confirming acquisition of satellite data corresponding to the default partition in the default time range, wherein the default time may be pre-configured,
  • the default time may be a day or a longer time starting from the current time.
  • the default partition may also be a pre-configured N partitions, such as a user's own preset geographical area. The corresponding partition on the map, or the default partition can also be provided to the user for modification settings, etc.;
  • the menu may specifically include a UI control for providing a user to select or input (including voice or keying manner, etc.) for a future time range, which is equivalent to confirming the satellite data corresponding to the default partition within the time range required by the user.
  • the menu may also include a UI control for providing a user to select a partition or input the required partition information, which is equivalent to confirming the satellite data corresponding to the N partitions required by the user in the default time range; or, the menu is also
  • the UI control may be specifically included to provide a user to select or input a future time range, and a UI control for providing a user to select a partition or input required partition information, which is equivalent to confirming that the time required by the user is N. Satellite data corresponding to each partition.
  • the user of the terminal 102 can operate on the above menu according to requirements. For example, the user of the terminal 102 can select the time corresponding to the satellite data that needs to be acquired according to the geographical range that may be located in a future setting range. Range and N partitions, the above user operations are converted into instructions into the processor of the terminal 102, and the processor of the terminal 102 can further determine, according to the instruction, that the N partitions in the set time range need to be acquired. Satellite data.
  • the request message for acquiring the satellite data may be generated, and then step 302 in the process shown in FIG. 3 may be performed. .
  • Step 302 The first terminal sends a request message to the server, where the request message carries the set time range and the indication information of the N partitions.
  • the server may be configured to receive and process request messages for acquiring satellite data from any terminal or authenticated terminal, and may be configured to return its requested satellite data to the corresponding terminal.
  • a functional module for receiving and processing request messages for acquiring satellite data from any terminal or authenticated terminal can be configured on the server 101, and is configurable useful.
  • server 101 can receive a request message sent by terminal 102 with which it has established a communication connection, and can return its requested satellite data to terminal 102.
  • the server may parse the request message, and determine a set time range corresponding to the satellite data required by the terminal and N partitions in the map.
  • the server may calculate, according to the historical satellite data, the N partitions corresponding to the set time range.
  • the satellite data returns a response message carrying the satellite data corresponding to the N partitions within the set time range to the first terminal.
  • the historical satellite data may be satellite data issued by each satellite in the GPS acquired by the server and stored on the server.
  • a GPS unit configured to receive satellite signals can be configured on the server to receive satellite data of the satellite broadcast in real time, and can be received after receiving.
  • the processing unit of the server Stored in the storage unit of the server, the processing unit of the server performs the above calculation process by reading the historical satellite data stored in the storage unit.
  • the server may also set an expiration date for the satellite data at each moment of the stored history, thereby ensuring the accuracy of the calculation result, for example, the expiration date may be set to one day;
  • the server may be configured with a communication interface for communicating with a network device for storing satellite data, and the server may directly acquire historical satellite data from the network device through the communication interface.
  • the server may acquire historical satellite data within a preset duration from the current time to the endpoint, and the preset duration may be a period of one day or longer; and the like.
  • the satellite data corresponding to the N partitions in the set time range may be calculated according to a preset algorithm. For example, the server may determine the distribution of each satellite from the historical satellite data, and then calculate the satellite data of each satellite passing through the partition in the future set time range for each of the N partitions.
  • the satellite data of each satellite passing through the partition within the set time range may include an identity (Identity, ID), orbit data, and each satellite passing through the partition within the set time range.
  • Identity, ID identity
  • orbit data orbit data
  • Star clock data etc.; it can be seen that these satellite data can be used to indicate that the terminal is searching for satellite signals more efficiently.
  • the server may also acquire historical satellite data according to a set period, calculate satellite data corresponding to each partition on the map in the default time range, and store the calculation result in the storage unit of the server. For example, the satellite data corresponding to each partition may be bound and stored in each partition. Further, after receiving the request message sent by the first terminal, if the server determines that the set time range is within the default time range, the server may directly read The stored calculation result is returned to the first terminal to speed up the response.
  • the server may also store map data, and further, return the map data of the partition bound to the satellite data while returning the satellite data required by the first terminal.
  • the server will be able to return a response message carrying the satellite data corresponding to the N partitions within the set time range to the first terminal. Further, the first terminal may perform step 303 in the flow shown in FIG. 3.
  • Step 303 The first terminal receives a response message returned by the server.
  • the first terminal may obtain the satellite data corresponding to the N partitions within the set time range required by the response message.
  • the acquired satellite data may be stored in the storage unit of the first terminal, and then in the set time range, the first The terminal can read the satellite data corresponding to the N partitions in the set time range stored in the storage unit, and use the satellite data. Searching for satellite signals; it can be seen that, in the above manner, the first terminal can perform satellite search based on the acquired future satellite data pre-inferred by the server, which is more targeted than the current method of polling the search stars, thereby enabling Avoid the defects that the current polling of the search star leads to the search for accurate satellite signals and the long time required to achieve positioning;
  • the traditional polling star search scheme will make the first terminal need to search.
  • PRNs pseudo random noise codes
  • a terminal may transmit satellite data corresponding to N partitions in the set time range to the second terminal, so that the second terminal can use the satellite data to search for satellite signals within the set time range.
  • the terminal 102 can transmit the satellite data acquired by the terminal 102 to the terminal 103, so that the terminal 103 can also use the satellite data to search for satellite signals within a set time range.
  • the terminal 102 can first confirm whether the satellite data can be transmitted to the terminal. For example, the terminal 102 can authenticate the validity of the transmission to the terminal 103, which will not be described in detail in this application.
  • the second terminal may be connected to the first terminal by using a short-range wireless communication technology
  • the short-range wireless communication technology may be referred to the foregoing description, and may include, for example, Bluetooth, Wi-Fi, infrared data transmission, and the like.
  • the second terminal may specifically be a terminal having a short-range wireless communication function without a function of communicating with a base station and/or a function of communicating with a server.
  • a Bluetooth wristband with only a GPS unit and a Bluetooth watch as a wearable device, often do not have the function of communicating with a base station due to the volume.
  • searching for satellite signals when working alone often takes a long time to complete positioning (usually more than 30 seconds), and the user experience is poor.
  • the second terminal of this type moves to a brand new geographical range, the time required for the GPS unit configured on the satellite unit to search for the satellite signal will be longer;
  • the second terminal of the above type can establish a communication connection with the first terminal by using the short-range wireless communication function, and then obtain the communication process between the first terminal and the server.
  • the satellite data After the satellite data corresponding to the N partitions in the set time range, the satellite data can be indirectly obtained through a communication connection established with the first terminal, so that the obtained satellite data can be used when the first device is separated from the work.
  • the satellite data arrives with a purpose to search for satellite signals to achieve rapid positioning and enhance the user experience.
  • the first terminal may specifically be a mobile phone, a tablet computer, a notebook, etc.
  • the second terminal may specifically be a smart watch, a smart bracelet, or a smart device. Glasses and so on.
  • FIG. 5 is a schematic diagram of establishing a Bluetooth connection between a first terminal and a second terminal in a positioning method according to an embodiment of the present application.
  • the first terminal 501 can establish a Bluetooth connection with the second terminal 502 that is also configured with the Bluetooth function module through the Bluetooth function module configured thereon, so that the first terminal 501 is obtained through the process shown in FIG.
  • the satellite data may be transmitted to the second terminal 502 through the Bluetooth connection, so that the second terminal 502 searches through the GPS unit configured on the second terminal 502 within the set time range. satellite signal.
  • the function of the server side in the communication process is configured as an application (Application) service program configured on the server, and can provide a first type of application that can be configured to the first terminal of a type such as a mobile phone or a tablet (or Represented as a main App), and a second type of application (or can be represented as an Application) that can be configured to a second terminal of a type such as a Bluetooth bracelet, a Bluetooth watch, or the like;
  • Application Application
  • the first terminal may provide the satellite data corresponding to the N zones in the set time range by using the App service program on the main App trigger server; the second terminal may transmit the primary App to the first terminal by triggering the first terminal from the App. Obtain satellite data corresponding to N partitions within the set time range.
  • the corresponding storage space may be configured for the App service program, the main App, and the App, for example, it may be a storage space of one hundred to two hundred megabytes.
  • FIG. 6 is a schematic diagram of a communication process in a practical application of a positioning method provided by an embodiment of the present application.
  • an App service program is configured on the server
  • a mobile phone (corresponding to the first terminal described above) is configured with a main App
  • a watch (corresponding to the second terminal described above) is configured with a slave application
  • the communication flow is as follows: :
  • Step 600 The map is divided into a plurality of partitions (corresponding to the above M partitions) according to a set rule in advance.
  • the map can be pre-downloaded and stored on servers, mobile phones, and watches.
  • the identification information of each partition obtained by the map may be configured to an App service program on the server, a main App on the mobile phone, and a slave application on the watch.
  • Step 601 The user starts the main App on the mobile phone
  • the UI menu may be provided to the user, thereby receiving the user input user for indicating the target time range (corresponding to the set time range mentioned above) and the target area (corresponding to the above N partitions). instruction.
  • Step 602 The main application on the mobile phone generates a request message for requesting satellite data corresponding to the target area in the target time range according to the user instruction, and sends the request message to the server.
  • Step 603 After receiving the request message, the App service program on the server parses the request message to determine a target time range and a target area corresponding to the satellite data required by the mobile phone.
  • Step 604 The App service program on the server initiates the calculation of the satellite data corresponding to the target area within the determined target time range; specifically, the historical satellite data may be acquired to perform the above calculation;
  • Step 605 After obtaining the estimated result, the App service program on the server generates a response message carrying the estimated result and feeds back to the mobile phone.
  • Step 606 After receiving the response message, the mobile phone parses the response message, so as to obtain satellite data corresponding to the target area in the target time range and store it; it can be seen that, by using the above steps, the mobile phone can be within the target time range. Searching for satellite signals using the acquired satellite data to complete positioning;
  • Step 607 the watch is sensed by the Bluetooth module in the mobile phone with the Bluetooth module provided by the watch; and the mobile phone recognizes the watch as a terminal that is authenticated to communicate with the terminal;
  • Step 608 The mobile phone sends the satellite data corresponding to the target area in the target time range stored by the mobile phone to the watch through a Bluetooth connection established between the watch and the watch;
  • Step 609 The watch stores the satellite data corresponding to the target area within the received target time range, so that the stored satellite data can be used to search for the satellite signal in the target time range to complete the positioning, thereby overcoming the current wearable terminal requirements such as watches. Polling search satellites takes time, delays in positioning, and poor user experience.
  • the map is divided into a plurality of partitions according to a setting rule, so that the first terminal needs to acquire one or more partitions within a set time range in the future.
  • the star data may send a request message carrying the set time range and the indication information of the one or more partitions to the server, and receive the satellite data returned by the server and carrying the one or more partitions within the set time range. Response message, thus achieving the purpose of quickly acquiring satellite data corresponding to the target area within the target time period;
  • the map is divided into several partitions (for example, divided into administrative areas), etc., because each partition has a certain latitude and longitude span, rather than a specific location (a certain latitude and longitude) ), thus reducing the computational complexity and speeding up the search time when extrapolating satellite data;
  • the server may calculate satellite data corresponding to the target area in a future target time period (such as one day or longer) based on the historical satellite data, and the first terminal may obtain The calculated target is the satellite data corresponding to the target area in the segment. Therefore, when the target time period arrives, if the first terminal is in the target area and needs to search for satellite signals for positioning, it can be based on the pre-obtained target time range.
  • a future target time period such as one day or longer
  • the satellite data corresponding to the target area quickly captures the satellite signals of the satellites located above the target area, avoiding the short-time defects of capturing the satellite signals by polling the search satellites at present, improving the positioning efficiency and improving the user experience, for example, from Theoretically, by using the positioning scheme provided by the present application, as long as searching for 4 to 5 PRNs, the time required to search 32 PRNs compared to the conventional scheme is greatly shortened;
  • the positioning solution provided by the foregoing embodiment of the present application may be specifically implemented as an APP solution, and thus may be used by different terminals in the same partition, or may be used by terminals of different partitions at the same time, and the used terminal is not limited, and the used time is not limited. Not limited, it is convenient for the terminal to achieve fast positioning after offline.
  • the present application also provides a positioning method.
  • FIG. 7 is a schematic flowchart diagram of a positioning method provided by an embodiment of the present application. Specifically, the process may be performed by a server, for example, a function module configured on the server 101 to implement the process shown in FIG.
  • the process includes the following steps:
  • Step 701 The server receives a request message sent by the first terminal, where the request message carries N partitions in the map corresponding to the satellite data that the first terminal needs to acquire, and indication information of a set time range; the map is According to the setting rules, it is divided into M partitions, where M and N are positive integers, and M is greater than or equal to N;
  • Step 702 The server calculates, according to the historical satellite data, satellite data corresponding to the N partitions in the set time range, where the satellite data corresponding to one partition includes each of the satellites that pass through the partition within the set time range. Satellite data of the satellite;
  • Step 703 The server sends a response message to the first terminal, where the response message carries satellite data corresponding to the N partitions in the set time range.
  • the historical satellite data is satellite data issued by each satellite in the GPS acquired by the server and stored on the server.
  • the present application further provides a positioning device, which can be deployed on a first terminal (such as the terminal 102 and the terminal 104 shown in FIG. 1) for performing the above implementation of the present application.
  • a positioning device which can be deployed on a first terminal (such as the terminal 102 and the terminal 104 shown in FIG. 1) for performing the above implementation of the present application.
  • the flow of the positioning method on the first terminal side described in the example, the functional modules in the device can be implemented by hardware, software or a combination of hardware and software.
  • FIG. 8 is a schematic structural diagram of a positioning device provided by an embodiment of the present application.
  • the device includes:
  • a determining module 801 configured to divide the map into M partitions according to a setting rule, and determine that it is necessary to acquire satellite data corresponding to N partitions in the map in a future set time range, where M and N are positive integers, and M is greater than or equal to N;
  • the sending module 802 is configured to send a request message to the server, where the request message carries the set time range and the indication information of the N partitions;
  • the receiving module 803 is configured to receive a response message returned by the server, where the response message carries satellite data corresponding to the N partitions in the set time range calculated by the server according to historical satellite data;
  • the satellite data corresponding to one partition includes satellite data of each satellite passing through the partition within the set time range.
  • the device further includes:
  • a GPS module configured to use, after the receiving module 803 receives the response message returned by the server, in the set time range, using the N partitions in the set time range carried in the response message Corresponding satellite data searches for satellite signals.
  • the device further includes:
  • a transmission module configured to: after the receiving module 803 receives the response message returned by the server, if it is determined that a communication connection is established with the second terminal, the N partitions corresponding to the set time range are corresponding Satellite data is transmitted to the second terminal to cause the second terminal to search for satellite signals using the satellite data within the set time range.
  • the device further includes: an input module, configured to receive an instruction for acquiring satellite data, where the instruction carries the set time range and information of the N partitions;
  • the determining module is specifically configured to: determine the set time range and the N partitions according to the instruction.
  • the setting rule is to divide the map according to longitude and/or latitude; or, the setting rule is to divide the map according to the administrative region.
  • the satellite data of each satellite passing through the partition within the set time range includes at least an identifier ID of each satellite passing through the partition within the set time range, Track data, and star clock data.
  • the device provided by the foregoing embodiment of the present invention is similar to the method for solving the problem in the method of the first terminal side provided by the foregoing embodiment of the present invention. Therefore, the specific implementation of the device provided by the foregoing embodiment of the present invention may be The implementation of the method on the first terminal side provided by the foregoing embodiments of the present invention may be referred to each other, and the repeated description is not repeated.
  • the present application further provides a positioning device, which can be deployed on a server (such as can be deployed on the server 101 shown in FIG. 1) to execute the server described in the above embodiment of the present application.
  • the positioning method of the side, the function module in the device can be realized by hardware, software or a combination of software and hardware.
  • FIG. 9 is a schematic structural diagram of a positioning device provided by an embodiment of the present application.
  • the device includes:
  • the receiving module 901 is configured to receive a request message sent by the first terminal, where the request message carries N partitions in a map corresponding to the satellite data that the first terminal needs to acquire, and indication information of a set time range;
  • the map is divided into M partitions according to the set rules, where M and N are positive integers, and M is greater than or equal to N;
  • the calculating module 902 is configured to calculate, according to the historical satellite data, satellite data corresponding to the N partitions in the set time range; wherein the satellite data corresponding to one partition includes the sky over the partition within the set time range Satellite data for each satellite;
  • the sending module 903 is configured to send a response message to the first terminal, where the response message carries satellite data corresponding to the N partitions in the set time range.
  • the historical satellite data is satellite data issued by each satellite in the GPS acquired by the server and stored on the server.
  • the device provided by the foregoing embodiment of the present invention is similar to the method for solving the problem in the server-side method embodiment provided by the foregoing embodiment of the present invention. Therefore, the specific implementation of the device provided by the foregoing embodiment of the present invention may be The implementation of the method on the server side provided by the foregoing embodiments may be referred to each other, and the repeated description is not repeated.
  • each functional module in each embodiment of the present application may be integrated into one processing. In the device, it can also be physically existed alone, or two or more modules can be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the present application further provides a terminal on which the positioning device as shown in FIG. 8 can be deployed.
  • FIG. 10 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • the terminal 1000 may include a processing unit 1001 and a wireless communication unit 1002.
  • the processing unit 1001 may include a central processing unit (CPU), or may also include a digital processing module or the like.
  • the processing unit 1001 is configured to divide the map into M partitions according to a setting rule, and determine that it is necessary to acquire satellite data corresponding to N partitions in the map in a future set time range, where M and N are positive integers. And M is greater than or equal to N; and, for transmitting, by the wireless communication unit 1002, a request message carrying a set time range and indication information of N partitions; and, for receiving by the wireless communication unit 1002 a response message returned by the server, where the response message carries satellite data corresponding to N partitions in a set time range calculated by the server according to historical satellite data, wherein the satellite data corresponding to one partition includes the set time range Satellite data for each satellite above the subarea.
  • the terminal 1000 may further include a storage unit 1003 and a GPS unit 1004.
  • the storage unit 1003 may be configured to store satellite data corresponding to N partitions in a set time range carried in the response message.
  • the processing unit 1001 is further configured to: read the satellite data corresponding to the N partitions in the set time range stored in the storage unit 1003 within the set time range, and use the satellite data to instruct the GPS unit 1004 to search for the satellite signal.
  • the processing unit 1001, the wireless communication unit 1002, the storage unit 1003, and the GPS unit 1004 may be specifically configured to perform the method on the first terminal side provided by the foregoing embodiments of the present invention. This application does not repeat here.
  • the storage unit 1003 can also be used to store a program executed by the processing unit 1001.
  • the storage unit 1003 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), or a volatile memory such as a random access memory ( Random-access memory, RAM).
  • the storage unit 1003 is any other medium that can be used to carry or store desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto.
  • the specific connection medium between the processing unit 1001, the wireless communication unit 1002, the storage unit 1003, and the GPS unit 1004 is not limited in the embodiment of the present application.
  • the bus can be connected, and the bus can be divided into an address bus, a data bus, a control bus, and the like.
  • An embodiment of the present invention further provides a readable storage medium for storing required to execute the foregoing processing unit.
  • a software instruction that includes a program for executing the execution of the processing unit described above.
  • the present application also provides a server on which the positioning device as shown in FIG. 9 can be deployed.
  • FIG. 11 is a schematic structural diagram of a server provided by an embodiment of the present application.
  • the server 1100 may include a processing unit 1101 and a wireless communication unit 1102.
  • Processing unit 1101 may include a central processing module or may also include a digital processing module or the like.
  • the processing unit 1101 is configured to receive, by using the wireless communication unit 1102, a request message sent by the first terminal, where the request message carries N partitions in a map corresponding to satellite data that the first terminal needs to acquire, and a set time range.
  • the map is divided into M partitions according to a setting rule, wherein M and N are positive integers, and M is greater than or equal to NM; and, for calculating, according to historical satellite data, N partitions corresponding to a set time range Satellite data; wherein satellite data corresponding to one partition includes satellite data of each satellite passing over the partition within a set time range; and, for transmitting a response message to the first terminal through the wireless communication unit 1102, the response The message carries satellite data corresponding to N partitions within a set time range.
  • processing unit 1101 and the wireless communication unit 1102 are specifically configured to perform the server-side method provided by the foregoing embodiments of the present invention. This application does not repeat here.
  • the server 1100 may further include a storage unit 1103.
  • the processing unit 1101 may be further configured to: acquire satellite data issued by each satellite in the GPS, and store the acquired satellite data into the storage unit 1103.
  • the storage unit 1103 can also be used to store a program executed by the processing unit 1101.
  • the storage unit 1103 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), or may be a volatile memory such as a random access memory ( Random-access memory, RAM).
  • the storage unit 1103 is any other medium that can be used to carry or store desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto.
  • the specific connection medium between the processing unit 1101, the wireless communication unit 1102, and the storage unit 1103 is not limited in the embodiment of the present application.
  • the bus can be connected, and the bus can be divided into an address bus, a data bus, a control bus, and the like.
  • the embodiment of the present invention further provides a readable storage medium for storing software instructions required to execute the above processing unit, which includes a program for executing the execution of the processing unit.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • These computer program instructions can also be stored in a particular computer capable of booting a computer or other programmable data processing device In a computer readable memory that operates in a computer readable memory, causing instructions stored in the computer readable memory to produce an article of manufacture comprising instruction means implemented in a block or in a flow or a flow diagram and/or block diagram of the flowchart The functions specified in the boxes.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

一种定位方法、终端及服务器,用以使终端能够快速获取目标时段内目标区域对应的卫星数据。该方法包括:按照设定规则将地图划分为M个分区,第一终端确定需要获取未来的一个设定时间范围内地图中N个分区对应的卫星数据,其中M、N为正整数,且M大于等于N;第一终端向服务器发送请求消息,请求消息中携带设定时间范围以及N个分区的指示信息;第一终端接收服务器返回的响应消息,响应消息中携带服务器根据历史卫星数据计算得到的、设定时间范围内N个分区对应的卫星数据;其中,一个分区对应的卫星数据包括设定时间范围内经过该分区上空的每个卫星的卫星数据。

Description

一种定位方法、终端及服务器
本申请要求在2017年01月11日提交中国专利局、申请号为201710020365.4、发明名称为“一种GPS定位的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种定位方法、终端及服务器。
背景技术
全球定位系统(Global Positioning System,GPS),或可称为卫星定位系统、,就是使用卫星对任一物体进行准确定位的技术。GPS可以保证在任意时刻,地球上任意一点都可以同时观测到至少4颗卫星,以用于实现导航、定位、授时等功能。
GPS系统包括有:空间部分、控制部分以及用户部分。其中,GPS的空间部分由24颗GPS工作卫星所组成,每颗GPS工作卫星都发出用于导航定位的卫星信号。GPS的控制部分由分布在全球的由若干个跟踪站所组成的监控系统所构成,用于监控卫星的工作状态。GPS的用户部分由GPS接收机、数据处理软件及相应的用户设备如计算机气象仪器等所组成,用于接收GPS卫星所发出的信号,并利用这些信号进行定位等。
传统卫星定位方案中,在诸如手机或穿戴式设备产品等终端上,往往需要由终端的GPS接收机轮询收取卫星信号,实时获取当时当地的卫星信号后,再由终端的处理器完成到地图上的映射,实现定位。可以看到,传统卫星定位方案中存在以下弊端:一方面,定位时间取决于终端GPS接收机及处理器等硬件设备的性能;另一方面,轮询收取卫星信号可能需要覆盖到所有的卫星参数,并会导致准确收取到所需卫星的卫星信号所需时间较长,进而使得后续使用卫星信号进行地图映射或导航所需时间较长。
如何克服传统卫星定位方案中的上述弊端,提升用户体验,是亟待业界解决的问题。
发明内容
本申请提供一种定位方法、终端及服务器,用以使得终端能够快速获取目标时段内目标区域对应的卫星数据。
第一方面,本申请提供了一种定位方法,所述方法包括:
按照设定规则将地图划分为M个分区,第一终端确定需要获取未来的一个设定时间范围内所述地图中N个分区对应的卫星数据,其中M、N为正整数,且M大于等于N;
所述第一终端向服务器发送请求消息,所述请求消息中携带所述设定时间范围以及所述N个分区的指示信息;
所述第一终端接收所述服务器返回的响应消息,所述响应消息中携带所述服务器根据历史卫星数据计算得到的、所述设定时间范围内所述N个分区对应的卫星数据;其中,一个分区对应的卫星数据包括所述设定时间范围内经过该分区上空的每个卫星的卫星数据。
可以看到,在本申请提供的上述定位方案中,地图被按照设定规则划分为若干个分区,从而终端可按需选择获取地图中的N个分区在未来的一个设定时间范围内对应的卫星数 据,并通知给服务器,服务器获知终端所需卫星数据对应的地图上的N个分区和设定时间范围后,可基于历史卫星数据计算出该设定时间范围内该N个分区对应的卫星数据,反馈给该终端,通过上述过程,终端将能够快速获取到目标时段内目标区域对应的卫星数据。
在一种可能的实现中,所述第一终端接收所述服务器返回的响应消息之后,还包括:
所述第一终端在所述设定时间范围内,使用所述响应消息中携带的所述设定时间范围内所述N个分区对应的卫星数据搜索卫星信号。
可以看到,通过上述方式,第一终端便可依据预先获取到的设定时间范围内N个分区的卫星数据在该设定时间范围内有目标地捕获卫星信号,避免目前轮询搜索卫星而导致捕获卫星信号所需时间较长的缺陷,提供搜索效率,降低卫星定位时间。
在一种可能的实现中,所述第一终端接收所述服务器返回的响应消息之后,还包括:
所述第一终端若确定与第二终端之间建立有通信连接,则所述第一终端将所述设定时间范围内所述N个分区对应的卫星数据传输给所述第二终端,以使所述第二终端在所述设定时间范围内使用所述卫星数据搜索卫星信号。
可以看到,通过上述方式,第一终端可将所获取到的上述卫星数据传输给第二终端,使得第二终端在设定时间范围内也能够基于上述卫星数据有目标地捕获卫星信号,提供搜索效率,降低卫星定位时间。
在一种可能的实现中,所述第一终端确定需要获取未来的一个设定时间范围内N个分区对应的卫星数据,包括:
所述第一终端接收用于获取卫星数据的指令,所述指令中携带所述设定时间范围以及所述N个分区的指示信息;
所述第一终端根据所述指令,确定所述设定时间范围以及所述N个分区。
可以看到,通过上述方式,使得第一终端的用户可以获取其所需要的未来时间段内目标区域对应的卫星数据,以用于后续的卫星定位。
在一种可能的实现中,所述设定规则为将地图按照经度和/或纬度进行划分;或者,所述设定规则为将地图按照行政区域进行划分。
可以看到,通过上述方式,各个分区具有一定的地理范围,从而服务器在推算卫星数据时的计算复杂度将减小。
在一种可能的实现中,所述设定时间范围内经过所述分区上空的每个卫星的卫星数据,至少包括所述设定时间范围内经过所述分区上空的每个卫星的ID、轨道数据、和星钟数据。
第二方面,本申请提供了一种定位方法,所述方法包括:
服务器接收第一终端发送的请求消息,所述请求消息中携带所述第一终端需要获取的卫星数据对应的地图中的N个分区以及设定时间范围的指示信息;所述地图被按照设定规则划分为M个分区,其中M、N为正整数,且M大于等于N;
所述服务器根据历史卫星数据,计算所述设定时间范围内所述N个分区对应的卫星数据;其中,一个分区对应的卫星数据包括所述设定时间范围内经过该分区上空的每个卫星的卫星数据;
所述服务器向所述第一终端发送响应消息,所述响应消息中携带所述设定时间范围内所述N个分区对应的卫星数据。
在一种可能的实现中,所述历史卫星数据为所述服务器获取并存储在所述服务器上 的、GPS中的各个卫星所发布的卫星数据。
本发明上述第二方面或第二方面的任一种实现所述方法的实施及有益效果可参见本发明上述第一方面或第一方面的任一种实现所述方法的实施及有益效果,重复之处不再赘述。
第三方面,本申请提供了一种定位装置,所述装置部署于终端,所述装置包括:用以执行上述第一方面或第一方面的任一种实现所述的定位方法的功能模块。
本发明上述第三方面或第三方面的任一种实现所述装置的实施以及有益效果可与本发明上述第一方面或第一方面的任一种实现所述方法的实施以及有益效果相互参见,重复之处不再赘述。
第四方面,本申请提供了一种定位装置,所述装置部署于服务器,所述装置包括:用以执行上述第二方面或第二方面的任一种实现所述的定位方法的功能模块。
本发明上述第四方面或第四方面的任一种实现所述装置的实施以及有益效果可与本发明上述第二方面或第二方面的任一种实现所述方法的实施以及有益效果相互参见,重复之处不再赘述。
第五方面,本申请提供了一种终端,所述终端包括:处理单元和无线通信单元;
其中,所述处理单元用于通过所述无线通信单元执行上述第一方面或第一方面的任一种实现所述的定位方法。
本发明上述第五方面或第五方面的任一种实现所述终端的实施以及有益效果可与本发明上述第一方面或第一方面的任一种实现所述定位方法的实施以及有益效果相互参见,重复之处不再赘述。
第六方面,本申请提供了一种计算机可读存储介质,用于存储为执行上述第一方面、第一方面的任意一种实现的功能所用的计算机软件指令,其包含用于执行上述第一方面、第一方面的任意一种实现的方法所设计的程序。
第七方面,本申请提供了一种服务器,所述服务器包括:处理单元和无线通信单元;
其中,所述处理单元用于通过所述无线通信单元执行上述第二方面或第二方面的任一种实现所述的定位方法。
本发明上述第七方面或第七方面的任一种实现所述服务器的实施以及有益效果可与本发明上述第二方面或第二方面的任一种实现所述定位方法的实施以及有益效果相互参见,重复之处不再赘述。
第八方面,本申请提供了一种计算机可读存储介质,用于存储为执行上述第二方面、第二方面的任意一种实现的功能所用的计算机软件指令,其包含用于执行上述第二方面、第二方面的任意一种实现的方法所设计的程序。
附图说明
图1为本申请实施例提供的一种通信系统的架构示意图;
图2为本申请实施例提供的一种终端的结构示意图;
图3为本申请实施例提供的一种定位方法的流程示意图;
图4为本申请实施例提供的一种定位方法中地图中N个分区的示意图;
图5为本申请实施例提供的一种定位方法中第一终端与第二终端之间建立蓝牙连接的示意图;
图6为本申请实施例提供的一种定位方法在实际应用中的流程示意图;
图7为本申请实施例提供的一种定位装置的结构示意图;
图8为本申请实施例提供的一种定位方法的流程示意图;
图9为本申请实施例提供的一种定位装置的结构示意图;
图10为本申请实施例提供的一种终端的结构示意图;
图11为本申请实施例提供的一种服务器的结构示意图。
具体实施方式
本申请提供了一种定位方法、终端及服务器,用以使得终端能够快速获取目标时段内目标区域对应的卫星数据。应当指出的是,本申请所提供的定位方法、终端及服务器基于同一发明构思,解决问题的原理相似,因此本申请所提供的定位方法、终端及服务器的实施可以相互参见,重复之处不再赘述。
在本申请实施例所提供的定位方案中,地图被按照设定规则划分为若干分区,从而第一终端在需要获取未来的一个设定时间范围内的地图上一个或多个分区对应的卫星数据时,可向服务器发送携带该设定时间范围和该一个或多个分区的指示信息的请求消息,并接收服务器返回的携带该设定时间范围内该一个或多个分区对应的卫星数据的响应消息,因而可达到快速获取目标时段内目标区域对应的卫星数据的目的;进一步地,由于第一终端可通过上述方式预先获取未来的一个设定时间范围内的一个或多个分区对应的卫星数据,因而在该设定时间范围内需要搜索卫星信号时将能够依据预先获取到的该设定时间范围内的卫星数据迅速捕获目标卫星,避免目前轮询搜索卫星而导致捕获卫星信号所需时间较长的缺陷。
应当指出的是,在本申请的描述中使用术语“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。
图1示出了本申请实施例提供的一种通信系统的架构示意图。
如图1所示,该示例性的通信系统100中包括:服务器101以及多个终端102~104。其中,终端102~104与服务器101之间可通过网络105进行通信;终端103与终端102之间可通过短距离无线通信连接进行通信。
应当理解的是,图1所示的通信系统100仅用于举例,并非用于限制本申请。本领域的技术人员应当明白,在具体实现过程中,通信系统100还可能包括其他设备,同时也可根据具体需要来配置服务器和终端的数量。此外,术语“系统”和“网络”可相互替换。
本申请实施例中涉及到的服务器可包含单个的服务器设备或本地或远程分布式服务器设备集群。服务器可通过诸如开放的因特网、内联网、防火墙保护安全网络、广域蜂窝网络等通信网络与终端建立通信连接。服务器中可托管用于为在终端中运行的客户端应用提供服务的一个或多个服务器应用。
本申请实施例中涉及到的终端可以是具有长距离无线通信和/或短距离无线通信功能的各种无线通信设备;
短距离无线通信允许终端与足够近的其它终端交换数据,使用靠近地面发送而不是在空中传播的低频带中的信号。用于短距离无线通信的天线可以称为低频天线。短距离无线通信的典型示例包括有蓝牙(Bluetooth),无线局域网(Wi-Fi)、红外数据传输(Infrared Data Association,IrDA)等;
长距离无线通信允许具备长距离无线通信功能的终端接收或向根据对应的无线通信标准建立的无线通信网络中的基站、终端和服务器中的一个或多个发送无线信号,使用具有强线性的高频带中的信号。用于长距离无线通信的天线可称为高频天线。长距离无线通信的典型示例包括有全球移动通信系统(Global System for Mobile Communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、码分多址2000、宽带WCDMA(Wide-CDMA)、长期演进(Long Term Evolution,LTE)和长期演进-高级(Long Term Evolution-Advanced,LTE-A)等。
比如,终端102是具备有无线蜂窝通信系统以及无线局域网通信系统的手机,既可进行长距离无线通信,又可与附近的终端进行短距离无线通信;终端103是具备有短距离无线通信系统(诸如蓝牙)的智能手表,仅可与附近的终端进行短距离无线通信(如图1所示,终端103与终端102之间可通过短距离无线通信连接进行通信)。
本申请实施例中涉及到的终端也可称为用户设备(User Equipment,UE)、移动终端、移动设备、接入终端、用户单元、用户终端、无线终端、手持设备、客户端等。
图2示出了本申请实施例提供的一种终端的结构示意图。
如图2所示,终端200可具有诸如无线通信单元210、GPS单元220、输入单元230、输出单元240、感测单元250、接口单元260、存储单元270、处理单元280和电源单元290等部件。这些部件可通过一根或多根通信总线或信号线进行通信。这些部件可以由硬件、软件方式或软硬件组合来实现,包括一个或多个信号处理和/或专用集成电路,
参照图2,无线通信单元210通常包括允许终端200与无线通信系统之间的无线通信、终端200与另一个终端之间的通信、终端200与外部服务器之间的通信等通信的一个或多个装置。此外,无线通信单元210通常包括将终端200连接到一个或多个网络的一个或多个装置。例如图2所示出的,无线通信单元210可包括无线蜂窝通信模块211(可用于提供长距离无线通信功能)、无线因特网模块212、短距离无线通信模块213(可用于提供短距离无线通信功能),等等。
GPS单元220用以允许终端200与全球定位系统中卫星之间的通信。GPS单元220可通过天线接收GPS中的卫星发出的卫星信号(无线信号),根据这些卫星信号,GPS单元220可生成可用于各种应用程序的信息。比如,GPS中的每个卫星往往按照固定周期重复广播各自的星历数据(ephemeris information),基于卫星定位技术原理,GPS单元220通常在精确得知GPS中3至4个卫星的星钟(clock)和轨道信息后,便可确定出终端200当前位置的位置信息(比如经度/纬度信息),这些信息可根据需要用于导航和地图映射等应用程序。
输入单元230通常被构造成接收诸如音频、视频、触觉输入等各种类型的输入信息。输入单元230例如可包括用户输入单元231(例如,触摸屏、触摸键、推动键(push key)、机械键、软键等)、音频输入单元232(例如,麦克风)、照相机233等。用户输入单元231可用于允许用户输入信息;音频输入单元232可用于输入音频信号;照相机233可用于获得图像或视频。数据由输入单元230获得,并且可以根据装置参数、用户命令及其组合由处理单元280分析和处理。
输出单元240通常被构造成输出诸如音频、视频、触觉输出等各种类型的信息。输出单元240例如可具有显示单元241、音频输出单元242等。显示单元241可以具有层间结构或具有用于促进触摸屏的触摸传感器的一体结构等。
其中,触摸屏可提供终端200与用户之间的输入接口和输出接口。一方面可用作用户输入单元231,接收用户输入,比如可收集用户在其上或附近的接触或者非接触操作,并根据预先设定的程式驱动相应的连接装置;另一方面可用于显示单元241用于向用户显示视觉输出,视觉输出可包括图形、文本、图标、视频及它们的任何组合,比如可显示由用户输入的信息、提供给用户的信息以及终端200的各种菜单等。
感测单元250通常被构造成感测终端的内部信息、终端的周围环境、用户信息等,可由一个或多个传感器来实现。感测单元250例如可包括诸如触摸传感器、加速度传感器、磁传感器、陀螺仪传感器、运动传感器、压力传感器、RGB传感器、红外(IR)传感器、手指扫描传感器、超声传感器、光学传感器、电池电流计、环境传感器(例如,气压计、湿度计、温度计、辐射检测传感器、光传感器、热传感器和气体传感器等)、以及化学传感器(例如,电子鼻、生物计量传感器等)等传感器。终端200可以被构造成从感测单元250的一个或更多个传感器获取信号和/或者向一个或者多个传感器传递信号。
接口单元260充当与可以耦接到终端200的各种类型的外部终端的接口。接口单元260例如可以包括任意有线或无线端口、外部电源端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的终端的端口、音频输入/输出(Input/Output,I/O)端口、视频I/O端口、耳机端口等。在一些情况下,终端200可以响应于外部终端连接到接口单元260执行与所连接的外部终端关联的控制功能。
存储单元270通常实现为存储数据,以支持终端200的各种功能或特征。例如,存储单元270可以被构造成存储终端200中执行的应用程序、用于终端200的操作的数据或指示等。这些应用程序中的一些应用程序可以经由无线通信从外部服务器下载。其他应用程序可以在制造或出货时安装在终端200内,这些应用程序通常对应于终端200的基本功能(例如,接收呼叫、打电话、接收消息、发送消息等)。常见的是,应用程序存储在存储单元270中、安装在终端200中、并且由处理单元280执行,以执行对于终端200的操作。
处理单元280是终端200的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储单元270内的软件程序和/或装置,以及调用存储在存储单元270内的数据,执行终端200的各种功能和处理数据,从而对终端进行整体监控。处理单元280可以处理经由图2所示的各种部件输入或输出的信号、数据、信息等,或激活存储单元270中存储的应用程序,提供或处理与用户交互的信息或功能。比如,处理单元280可根据已经存储在存储单元270中的应用程序的执行,控制终端200的一些或所有部件。
电源单元290可以被构造成接收外部电力或提供内部电力,以供给终端200操作其包括的元件和部件所需的合适电力。电源可以通过电源管理系统与处理单元280逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。电源单元290可以包括电池,并且电池可以被构造成嵌入在终端本体中,或被构造成从终端主体可拆除。
应当理解是的,图2中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。
比如,对于诸如手机、平板电脑、笔记本电脑等终端,往往具有比图2所示终端200相同或更多的功能和部件;又比如,对于诸如智能手表、智能手环、智能眼镜、头戴式显示器(HMD)等可穿戴的、体积较小的终端,受限于体积的缘故,往往具有比图2所示终端200更少的功能和部件。例如,可穿戴的终端中的无线通信单元往往不包括无线蜂窝通信模块,而包括短距离无线通信模块。
通常地,可穿戴的终端可用于与其附近的终端交换数据或协作。如图1所示,终端103可通过其具备的短距离通信模块被与其足够近的终端102中根据对应的通信协议的短距离通信模块感测或识别,当终端102感测到终端103是被认证可与终端102进行通信的终端时,终端102可经由短距离通信模块向终端103发送终端102中处理的数据,从而终端103的用户可以在终端103上使用终端102中处理的数据。例如,当终端102运行音乐播放应用程序时,用户可以使用终端103聆听音乐。
基于如图2所示的终端200,可以看到,终端可通过配置其中的GPS单元收取卫星信号。传统的卫星定位方案中,终端的GPS单元往往轮询收取卫星信号,因而可能需要覆盖到所有的卫星参数,导致准确收取到所需卫星的卫星信号所需时间较长,对终端的GPS单元以及处理单元等硬件设备的性能要求也相对较高。为了克服传统卫星定位方案中的上述弊端,使终端能够快速获取目标时段内目标区域对应的卫星数据,提升用户体验,本申请提供了一种定位方案。
具体地,本申请实施例所提供的定位方案可应用于包括有终端和服务器的通信系统中,比如图1所示的通信系统100;并具体可在终端和服务器上分别配置用以实现本申请实施例所提供的定位方案的功能模块,用以执行该流程的功能模块可通过硬件、软件编程或者软硬件的结合实现,比如可在通信系统100中的服务器101以及终端102、终端104上分别配置用以实现本申请实施例所提供的定位方案的服务器端软件和客户端软件。
下面基于图1所示的通信系统架构,结合图3描述本申请实施例提供的定位方法流程。
图3示出了本申请实施例提供的一种定位方法的流程示意图。具体地,该流程可以由第一终端执行,比如可在图1中的终端102、终端104上配置用以实现如图3所示流程的功能模块。
如图3所示,该流程包括如下步骤:
步骤301:按照设定规则将地图划分为M个分区,第一终端确定需要获取未来的一个设定时间范围内所述地图中N个分区对应的卫星数据,其中M、N为正整数,且M大于等于N。
具体地,在一些实际场景中,上述将地图划分为M个分区的设定规则,可以是将地图按照经度和/或纬度进行划分。比如,上述设定规则可以是先按照设定经度间隔和纬度间隔确定出用于划分地图的经纬线,再将地图上由这些经纬线所分割出的各个地理区域作为各个分区。可以看到,通过该种设定规则得到的分区能够方便的与卫星的轨道数据相对应,因而便于对各个分区计算各个分区对应的卫星数据。
在又一些实际场景中,上述设定规则也可以是将地图按照行政区域进行划分。比如分区可以是地图上的各个国家,或者更细度地可以是各个国家对辖境进行行政分区得到的行政区域(诸如省,区、县等)。可以看到,通过该种设定规则得到的分区所具有的优势在于更符合用户习惯,有利于提高用户体验。
应当理解的是,用于将地图划分为若干个分区的设定规则还可以有其它方式,本申请在此将不再一一列举。
具体地,地图被按照设定规则划分得到的M个分区可通过编号、标签、或者坐标等方式来进行标识,本申请对此不作限定。
具体地,第一终端可从地图被划分得到的M个分区中确定出N个分区,进而确定需要获取未来的一个设定时间范围内这N个分区对应的卫星数据。
比如,第一终端可从地图中的这M个分区中确定出1个分区,此时N等于1,进而确定需要获取未来的一个设定时间范围内该分区对应的卫星数据;又比如,第一终端也可从地图中的这M个分区中确定出2个或者更多个分区,进而确定需要获取未来的一个设定时间范围内这多个分区对应的卫星数据。
作为一个示例,图4示出了本申请一些实施例提供的一种定位方法中地图中N个分区的示意图。如图4所示,地图被按照设定规则划分为了5×5共25个分区,相当于上述M=25,假设这25个分区通过编号1-25进行标识,第一终端从这25个分区中,确定需要获取未来的一个设定时间范围内、编号依次为7、8、17、25的这4个分区对应的卫星数据,如图4所示出的填充有斜线的区域,即相当于上述N=4。
具体地,在一种可能的实现场景中,第一终端可以是接收用于获取卫星数据的指令,从而根据接收到的指令来确定需要获取设定时间范围内地图中N个分区对应的卫星数据;其中,上述用于获取卫星数据的指令中可携带有设定时间范围和N个分区的信息。
比如,基于图1所示的通信系统示例,终端102上可配置有用以执行如图3所示流程的功能模块,通过用户界面(User Interface,UI)向终端102的用户提供用于获取未来卫星数据的菜单。
具体地,上述菜单可包括用以提供用户直接确认需要获取未来的卫星数据的UI控件,相当于确认获取默认时间范围内默认分区对应的卫星数据,其中,默认时间可以是预先配置的,出于提高用户体验的目的,默认时间可以是以当前时刻为起始的一天或更长的时间长度,默认分区也可以是预先配置的N个分区,比如可以是用户预先设置的自己常在的地理区域所对应的地图上的分区,或者默认分区也可提供给用户进行修改设置等;
或者,菜单上也可具体可包括用以提供用户来选择或输入(包括语音或键入方式等)未来的一个时间范围的UI控件,相当于确认获取用户所需时间范围内默认分区对应的卫星数据;或者,菜单上也可包括用以提供用户选择分区或输入所需分区信息的UI控件,相当于确认获取默认时间范围内用户所需要的N个分区对应的卫星数据;又或者,菜单上也可具体可包括用以提供用户选择或输入未来的一个时间范围的UI控件,以及,用以提供用户选择分区或输入所需分区信息的UI控件,相当于确认获取用户所需要时间范围内的N个分区对应的卫星数据等。
进而,终端102的用户可按照需求在上述菜单上进行操作,比如终端102的用户可根据自己在未来的一个设定范围内所可能位于的地理范围,选择出所需获取的卫星数据对应的时间范围和N个分区,上述用户操作在终端102内部将转化为指令传递到终端102的处理器中,终端102的处理器进而可基于该指令确定需要获取该设定时间范围内这N个分区对应的卫星数据。
第一终端通过步骤301确定需要获取设定时间范围内地图中N个分区对应的卫星数据之后,便可生成用于获取上述卫星数据的请求消息,进而可执行图3所示流程中的步骤302。
步骤302:第一终端向服务器发送请求消息;其中,该请求消息中携带设定时间范围以及N个分区的指示信息。
具体地,上述服务器可被配置为接收和处理来自任何终端或已认证的终端的用于获取卫星数据的请求消息,并可被配置为向对应的终端返回其所请求的卫星数据。
比如,仍然基于图1所示的通信系统示例,服务器101上可配置有用以接收和处理来自任何终端或已认证的终端的用于获取卫星数据的请求消息的功能模块,以及可配置有用 以向对应的终端返回其所请求的卫星数据的功能模块。比如,服务器101可接收与其建立有通信连接的终端102发送的请求消息,以及可向终端102返回其所请求的卫星数据。
具体地,服务器接收到第一终端通过步骤301发送的请求消息后,将可解析该请求消息,并从中确定出终端所需卫星数据对应的设定时间范围以及地图中的N个分区。
在一种可能的实现场景中,服务器在确定出终端所需卫星数据对应的设定时间范围和N个分区之后,可根据历史卫星数据,计算出该设定时间范围内该N个分区对应的卫星数据,从而向第一终端返回携带有该设定时间范围内该N个分区对应的卫星数据的响应消息。
具体地,上述历史卫星数据可以是服务器获取并存储到服务器上的、GPS中的各个卫星所发布的卫星数据。
由于GPS中的各个卫星通常按照固定周期广播各自实时的卫星数据,因而,在一些实际场景中,服务器上可配置有用以接收卫星信号的GPS单元,以实时接收卫星广播的卫星数据,接收后可存储到服务器的存储单元中,服务器的处理单元通过读取存储单元中存储的历史卫星数据,来执行上述计算过程。其中,服务器还可对所存储的历史的各个时刻的卫星数据设置有效期限,从而保证计算结果的准确性,比如有效期限可以设置为一天等;
或者,在一些实际场景中,服务器上可配置有与用以存储有卫星数据的网络设备进行通信的通信接口,进而服务器通过该通信接口可直接从上述网络设备中获取历史卫星数据。具体地,服务器可获取以当前时刻为端点往前的一个预设时长内的历史卫星数据,预设时长可以是一天或更长的时间段;等等。
进一步地,服务器获取历史卫星数据后,便可按照预设的算法计算设定时间范围内N个分区对应的卫星数据。比如,服务器可由历史卫星数据确定出各个卫星的分布情况,进而分别对这N个分区中每个分区推算出未来的这个设定时间范围内经过该分区上空的每个卫星的卫星数据。
具体地,上述设定时间范围内经过该分区上空的每个卫星的卫星数据,可以包括有该设定时间范围内经过该分区上空的每个卫星的标识(Identity,ID)、轨道数据、以及星钟数据等等;可以看到,上述这些卫星数据可用于指示终端更有效地搜索卫星信号。
在一些实际场景中,出于提高用户体验的考虑,服务器也可按照设定周期获取历史卫星数据,计算默认时间范围内地图上各个分区对应的卫星数据,并将计算结果存储到服务器的存储单元中,比如可将各个分区对应的卫星数据与各个分区绑定存储,进而,服务器在接收到第一终端发送的请求消息后,如果确定设定时间范围位于默认时间范围内,那么服务器可直接读取所存储的计算结果,返回给第一终端,以加快响应速度。
具体地,服务器上还可存储有地图数据,进而,在向第一终端返回其所需的卫星数据的同时,可返回与卫星数据绑定的分区的地图数据。
通过上述过程,服务器将可以向第一终端返回携带有设定时间范围内N个分区对应的卫星数据的响应消息。进而,第一终端可执行图3所示流程中的步骤303。
步骤303:第一终端接收服务器返回的响应消息。
具体地,第一终端接收到服务器返回的上述响应消息后,可通过对该响应消息的解析,获取到其所需的设定时间范围内N个分区对应的卫星数据。
进一步地,第一终端获取到设定时间范围内N个分区对应的卫星数据之后,可将获取到的上述卫星数据存储到第一终端的存储单元中,进而在设定时间范围内,第一终端可以读取存储单元中存储的上述设定时间范围内N个分区对应的卫星数据,使用这些卫星数据 搜索卫星信号;可以看到,通过上述方式,第一终端可以基于获取到的由服务器预先推算出的未来的卫星数据进行卫星搜索,较目前轮询搜星的方式将具备有针对性,因而能够避免当前轮询搜星所导致搜索到准确卫星信号、实现定位所需时间较长的缺陷;
特别是在第一终端不具备与基站通信的能力或者第一终端离线等使第一终端的GPS单元得不到辅助定位信息的情况下,传统的轮询搜星方案将使得第一终端需要搜寻约32个伪随机噪声码(pseudo random noise code,PRN)(相当于上述的卫星信号),而通过上述如图3所示的流程,第一终端只要搜寻4~5个PRN便可以准确定位,时间上大大缩短。
进一步地,第一终端将获取到的设定时间范围内N个分区对应的卫星数据存储到第一终端的存储单元中之后,如果检测到第二终端与第一终端建立有通信连接,那么第一终端可以将上述设定时间范围内N个分区对应的卫星数据传输给第二终端,从而使得第二终端在上述设定时间范围内能够使用上述卫星数据搜索卫星信号。
比如,仍然基于图1所示的通信系统示例,终端102通过与服务器101之间的上述通信过程获取到了设定时间范围内N个分区对应的卫星数据之后,由于检测到终端103与其建立有通信连接,那么终端102可将其获取到的上述卫星数据传输给终端103,以使得终端103在设定时间范围内也可使用上述卫星数据搜索卫星信号。
具体地,终端103连接到终端102之后,终端102可先确认能否向其传输卫星数据;比如,终端102可对终端103进行传输的合法性认证,本申请对此将不做详述。
具体地,第二终端可以是通过短距离无线通信技术连接到第一终端上的,短距离无线通信技术可参见前文描述,具体比如可包括有蓝牙、Wi-Fi、红外数据传输等。
进一步地,第二终端具体可以是具备短距离无线通信功能,而不具备与基站进行通信的功能和/或与服务器进行通信的功能的终端。比如仅带GPS单元的蓝牙手环、蓝牙手表,作为可穿戴设备,受限于体积的缘故往往不具备与基站进行通信的功能等。此类第二终端在搜索卫星信号进行GPS定位时由于无法直接获得来自基站或互联网服务器的辅助,因而单独工作时搜索卫星信号完成定位的时间往往较长(通常超过30秒),用户体验不佳;特别是这类的第二终端移动到一个全新的地理范围时,其上配置的GPS单元搜索卫星信号完成定位所需的时间将会更长;
而通过本申请上述实施例所提供的通信过程,上述类型的第二终端可以通过短距离无线通信功能与第一终端建立起通信连接,进而在第一终端通过与服务器之间的上述通信过程获取到设定时间范围内N个分区对应的卫星数据后,可以通过与第一终端之间建立的通信连接间接地获取到上述卫星数据,从而可以在脱离第一设备单独工作时,可以使用所获取到的卫星数据有目的搜索卫星信号,实现快速定位,提升用户体验。
比如,基于上文图1、图2中的相关描述,在一些实际场景中,第一终端具体可以是手机、平板电脑、笔记本等等,第二终端具体可以是智能手表、智能手环、智能眼镜等等。
图5示出了本申请实施例提供的一种定位方法中第一终端与第二终端之间建立蓝牙连接的示意图。
如图5所示,第一终端501可通过其上配置的蓝牙功能模块与同样配置有蓝牙功能模块的第二终端502建立蓝牙连接,从而第一终端501在通过如图3所示的流程获取到设定时间范围内N个分区对应的卫星数据后,可通过蓝牙连接将上述卫星数据传输给第二终端502,以供第二终端502在设定时间范围内通过其上配置的GPS单元搜索卫星信号。
具体地,在通过软件实现本申请上述实施例所提供的定位方案的一些场景中,可将上 述通信过程中服务器侧的功能配置为应用(Application,App)服务程序配置到服务器上,并可提供能够配置到诸如手机、平板电脑等类型的第一终端上的第一类应用程序(或可表示为主App),以及能够配置到诸如蓝牙手环、蓝牙手表等类型的第二终端上的第二类应用程序(或可表示为从Application);
进而,第一终端可通过主App触发服务器上的App服务程序为其提供设定时间范围内N个分区对应的卫星数据;第二终端可通过从App触发第一终端的主App向其传输所获取到的设定时间范围内N个分区对应的卫星数据。
其中,考虑到卫星数据可能数据量较大,在软件实现时,可为上述App服务程序、主App、从App均配置相应的存储空间,具体比如可以是一百至两百兆的存储空间。
具体比如,图6示出了本申请实施例提供的一种定位方法在实际应用中的通信流程示意图。如图6所示,服务器上配置有App服务程序,手机(相当于上述的第一终端)上配置有主App,手表(相当于上述的第二终端)上配置有从App,通信流程具体如下:
步骤600:地图被预先按照设定规则划分为若干个分区(相当于上述的M个分区)。
可选地,地图可被预先下载和存储到服务器、手机以及手表上。
具体地,地图被划分得到的各个分区的标识信息可配置到服务器上的App服务程序、手机上的主App以及手表上的从App上。
步骤601:用户启动手机上的主App;
具体地,主App启动后,可向用户提供UI菜单,从而接收用户输入的、用于指示目标时间范围(相当于上述的设定时间范围)和目标区域(相当于上述N个分区)的用户指令。
步骤602:手机上的主App根据上述用户指令,生成用于请求目标时间范围内目标区域对应的卫星数据的请求消息,并将该请求消息发送给服务器;
步骤603:服务器上的App服务程序接收到该请求消息后,将解析该请求消息,确定手机所需卫星数据对应的目标时间范围和目标区域;
步骤604:服务器上的App服务程序启动对所确定出的目标时间范围内目标区域对应的卫星数据的推算;具体可通过获取历史卫星数据来进行上述推算;
步骤605:服务器上的App服务程序得到推算结果后,生成携带有该推算结果的响应消息反馈给手机;
步骤606:手机接收到该响应消息后,将解析该响应消息,从而获取到目标时间范围内目标区域对应的卫星数据并进行存储;可以看到,通过上述步骤,手机便可在目标时间范围内使用所获取到的上述卫星数据搜索卫星信号完成定位;
步骤607:手表通过其具备的蓝牙模块被与其足够近的手机中的蓝牙模块感测;并且,手机识别手表为被认证可与其进行通信的终端;
步骤608:手机通过与手表之间建立的蓝牙连接,向手表发送其存储的目标时间范围内目标区域对应的卫星数据;
步骤609:手表存储所接收到的目标时间范围内目标区域对应的卫星数据,从而可在目标时间范围内使用所存储的上述卫星数据搜索卫星信号完成定位,克服目前诸如手表类的可穿戴终端需要轮询搜索卫星,耗时较长,定位滞后以及用户体验不佳等缺陷。
综上所述,在本申请上述实施例所提供的定位方案中,地图被按照设定规则划分为若干分区,从而第一终端在需要获取未来的一个设定时间范围内的一个或多个分区对应的卫 星数据时,可向服务器发送携带该设定时间范围和该一个或多个分区的指示信息的请求消息,并接收服务器返回的携带该设定时间范围内该一个或多个分区对应的卫星数据的响应消息,因而可达到快速获取目标时段内目标区域对应的卫星数据的目的;
可以看到,由于本申请上述实施例所提供的定位方案将地图划分为若干个分区(比如划分为行政区域)等,由于各个分区有一定的经纬度跨度,而不是某一个具体位置(某一个经纬度),因而在推算卫星数据时将能够降低计算复杂度,同时加快搜索时间;
进一步地,本申请上述实施例所提供的定位方案中,服务器可基于历史卫星数据,推算未来的目标时段(比如一天或更长时间段)内目标区域对应的卫星数据,第一终端可获取到该推算出的目标是段内目标区域对应的卫星数据,因而在该目标时段到达时,第一终端如果处于目标区域且需要搜索卫星信号进行定位,将能够依据预先得到的的该目标时间范围内目标区域对应的卫星数据迅速捕获到位于该目标区域上空的卫星的卫星信号,避免目前轮询搜索卫星而导致捕获卫星信号所需时间较长的缺陷,提高定位效率,提升用户体验,比如,从理论上来看通过本申请所提供的定位方案只要搜寻4至5个PRN,相对于传统方案要搜寻32个PRN而言所需时间大大缩短;
此外,本申请上述实施例所提供的定位方案可具体实现为APP方案,因而可供同一个分区内的不同终端使用,也可以供不同分区的终端同时使用,使用的终端不限,使用的时间不限,利于终端实现脱机后快速定位。
基于同样的发明构思,本申请还提供了一种定位方法。
图7示出了本申请实施例提供的一种定位方法的流程示意图。具体地,该流程可以由服务器执行,比如可在服务器101上配置用以实现如图7所示流程的功能模块。
如图7所示,该流程包括如下步骤:
步骤701:服务器接收第一终端发送的请求消息,所述请求消息中携带所述第一终端需要获取的卫星数据对应的地图中的N个分区以及设定时间范围的指示信息;所述地图被按照设定规则划分为M个分区,其中M、N为正整数,且M大于等于N;
步骤702:服务器根据历史卫星数据,计算所述设定时间范围内所述N个分区对应的卫星数据;其中,一个分区对应的卫星数据包括所述设定时间范围内经过该分区上空的每个卫星的卫星数据;
步骤703:服务器向所述第一终端发送响应消息,所述响应消息中携带所述设定时间范围内所述N个分区对应的卫星数据。
在一种可能的实现中,所述历史卫星数据为所述服务器获取并存储在所述服务器上的、GPS中的各个卫星所发布的卫星数据。
具体地,由于上述如图7所示流程以及其各可能的实现场景与本申请前述图3所示流程以及其各可能的实现场景对应,因而上述如图7所示流程以及其各可能的实现场景的具体实现以及有益效果具体可参见本申请前述对如图3所示流程以及其各可能的实现场景中的相关描述,本申请在此将不再赘述。
基于同样的发明构思,本申请还提供了一种定位装置,该装置可部署于第一终端(比如可部署于图1所示出的终端102、终端104上),用以执行本申请上述实施例所描述的第一终端侧的定位方法流程,该装置中的功能模块可通过硬件、软件或软硬件的结合实现。
图8示出了本申请实施例提供的一种定位装置的结构示意图。
如图8所示,该装置包括:
确定模块801,用于按照设定规则将地图划分为M个分区,确定需要获取未来的一个设定时间范围内所述地图中N个分区对应的卫星数据,其中M、N为正整数,且M大于等于N;
发送模块802,用于向服务器发送请求消息,所述请求消息中携带所述设定时间范围以及所述N个分区的指示信息;
接收模块803,用于接收所述服务器返回的响应消息,所述响应消息中携带所述服务器根据历史卫星数据计算得到的、所述设定时间范围内所述N个分区对应的卫星数据;其中,一个分区对应的卫星数据包括所述设定时间范围内经过该分区上空的每个卫星的卫星数据。
在一种可能的实现中,所述装置还包括:
GPS模块,用于在所述接收模块803接收所述服务器返回的响应消息之后,在所述设定时间范围内,使用所述响应消息中携带的所述设定时间范围内所述N个分区对应的卫星数据搜索卫星信号。
在一种可能的实现中,所述装置还包括:
传输模块,用于在所述接收模块803接收所述服务器返回的响应消息之后,若确定与第二终端之间建立有通信连接,则将所述设定时间范围内所述N个分区对应的卫星数据传输给所述第二终端,以使所述第二终端在所述设定时间范围内使用所述卫星数据搜索卫星信号。
在一种可能的实现中,所述装置还包括:输入模块,用于接收用于获取卫星数据的指令,所述指令中携带所述设定时间范围以及所述N个分区的信息;
所述确定模块,具体用于:根据所述指令,确定所述设定时间范围以及所述N个分区。
在一种可能的实现中,所述设定规则为将地图按照经度和/或纬度进行划分;或者,所述设定规则为将地图按照行政区域进行划分。
在一种可能的实现中,所述设定时间范围内经过所述分区上空的每个卫星的卫星数据,至少包括所述设定时间范围内经过所述分区上空的每个卫星的标识ID、轨道数据、以及星钟数据。
具体地,由于本发明上述实施例所提供的装置与本发明前述实施例所提供的第一终端侧的方法实施例解决问题的原理相似,因而本发明上述实施例所提供的装置的具体实施可与本发明前述实施例所提供的第一终端侧的方法的实施可以相互参见,重复之处不再赘述。
基于同样的发明构思,本申请还提供了一种定位装置,该装置可部署于服务器(比如可部署于图1所示出的服务器101上),用以执行本申请上述实施例所描述的服务器侧的定位方法流程,该装置中的功能模块具体可通过硬件、软件或软硬件的结合实现,
图9示出了本申请实施例提供的一种定位装置的结构示意图。
如图9所示,该装置包括:
接收模块901,用于接收第一终端发送的请求消息,所述请求消息中携带所述第一终端需要获取的卫星数据对应的地图中的N个分区以及设定时间范围的指示信息;所述地图被按照设定规则划分为M个分区,其中M、N为正整数,且M大于等于N;
计算模块902,用于根据历史卫星数据,计算所述设定时间范围内所述N个分区对应的卫星数据;其中,一个分区对应的卫星数据包括所述设定时间范围内经过该分区上空的 每个卫星的卫星数据;
发送模块903,用于向所述第一终端发送响应消息,所述响应消息中携带所述设定时间范围内所述N个分区对应的卫星数据。
在一种可能的实现中,所述历史卫星数据为所述服务器获取并存储在所述服务器上的、GPS中的各个卫星所发布的卫星数据。
具体地,由于本发明上述实施例所提供的装置与本发明前述实施例所提供的服务器侧的方法实施例解决问题的原理相似,因而本发明上述实施例所提供的装置的具体实施可与本发明前述实施例所提供的服务器侧的方法的实施可以相互参见,重复之处不再赘述。
本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
基于同样的发明构思,本申请还提供了一种终端,所述终端上可部署有上述如图8所示的定位装置。
图10示出了本申请实施例提供的一种终端的结构示意图。
如图10所示,该终端1000可以包括有处理单元1001和无线通信单元1002。处理单元1001可以包括中央处理模块(central processing unit,CPU),或者也可包括数字处理模块等等。
具体地,处理单元1001用于按照设定规则将地图划分为M个分区,确定需要获取未来的一个设定时间范围内所述地图中N个分区对应的卫星数据,其中M、N为正整数,且M大于等于N;以及,用于通过无线通信单元1002向服务器发送请求消息,所述请求消息中携带设定时间范围以及N个分区的指示信息;以及,用于通过无线通信单元1002接收服务器返回的响应消息,所述响应消息中携带服务器根据历史卫星数据计算得到的、设定时间范围内N个分区对应的卫星数据,其中,一个分区对应的卫星数据包括设定时间范围内经过该分区上空的每个卫星的卫星数据。
如图10所示,该终端1000还可以包括有存储单元1003和GPS单元1004;其中,存储单元1003可用于存储上述响应消息中携带的设定时间范围内N个分区对应的卫星数据;
处理单元1001,还可以用于:在设定时间范围内,读取存储单元1003中存储的设定时间范围内N个分区对应的卫星数据,使用卫星数据指示GPS单元1004搜索卫星信号。
具体地,处理单元1001、无线通信单元1002、存储单元1003和GPS单元1004可具体用于执行本发明前述实施例所提供的第一终端侧的方法。本申请在此不再赘述。
存储单元1003,还可以用于存储处理单元1001执行的程序。存储单元1003可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储单元1003是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。
本申请实施例中不限定上述处理单元1001、无线通信单元1002、存储单元1003和GPS单元1004之间的具体连接介质。比如可以通过总线连接,总线可以分为地址总线、数据总线、控制总线等等。
本发明实施例还提供了一种可读存储介质,用于存储为执行上述处理单元所需执行的 软件指令,其包含用于执行上述处理单元所需执行的程序。
基于同样的发明构思,本申请还提供了一种服务器,所述服务器上可部署有上述如图9所示的定位装置。
图11示出了本申请实施例提供的一种服务器的结构示意图。
如图11所示,该服务器1100可以包括有处理单元1101和无线通信单元1102。处理单元1101可以包括中央处理模块,或者也可包括数字处理模块等等。
具体地,处理单元1101用于通过无线通信单元1102接收第一终端发送的请求消息,所述请求消息中携带第一终端需要获取的卫星数据对应的地图中的N个分区以及设定时间范围的指示信息;所述地图被按照设定规则划分为M个分区,其中M、N为正整数,且M大于等于NM;以及,用于根据历史卫星数据,计算设定时间范围内N个分区对应的卫星数据;其中,一个分区对应的卫星数据包括设定时间范围内经过该分区上空的每个卫星的卫星数据;以及,用于通过无线通信单元1102向第一终端发送响应消息,所述响应消息中携带设定时间范围内N个分区对应的卫星数据。
具体地,处理单元1101和无线通信单元1102具体用于执行本发明前述实施例所提供的服务器侧的方法。本申请在此不再赘述。
如图11所示,该服务器1100还可以包括有存储单元1103;处理单元1101,还可用于:获取GPS中的各个卫星发布的卫星数据,并将获取到的卫星数据存储到存储单元1103中。
存储单元1103,还可以用于存储处理单元1101执行的程序。存储单元1103可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储单元1103是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。
本申请实施例中不限定上述处理单元1101、无线通信单元1102和存储单元1103之间的具体连接介质。比如可以通过总线连接,总线可以分为地址总线、数据总线、控制总线等等。
本发明实施例还提供了一种可读存储介质,用于存储为执行上述处理单元所需执行的软件指令,其包含用于执行上述处理单元所需执行的程序。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方 式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (16)

  1. 一种定位方法,其特征在于,所述方法包括:
    按照设定规则将地图划分为M个分区,第一终端确定需要获取未来的一个设定时间范围内所述地图中N个分区对应的卫星数据,其中M、N为正整数,且M大于等于N;
    所述第一终端向服务器发送请求消息,所述请求消息中携带所述设定时间范围以及所述N个分区的指示信息;
    所述第一终端接收所述服务器返回的响应消息,所述响应消息中携带所述服务器根据历史卫星数据计算得到的、所述设定时间范围内所述N个分区对应的卫星数据;其中,一个分区对应的卫星数据包括所述设定时间范围内经过该分区上空的每个卫星的卫星数据。
  2. 如权利要求1所述的方法,其特征在于,所述第一终端接收所述服务器返回的响应消息之后,还包括:
    所述第一终端在所述设定时间范围内,使用所述响应消息中携带的所述设定时间范围内所述N个分区对应的卫星数据搜索卫星信号。
  3. 如权利要求1或2所述的方法,其特征在于,所述第一终端接收所述服务器返回的响应消息之后,还包括:
    所述第一终端若确定与第二终端之间建立有通信连接,则所述第一终端将所述设定时间范围内所述N个分区对应的卫星数据传输给所述第二终端,以使所述第二终端在所述设定时间范围内使用所述卫星数据搜索卫星信号。
  4. 如权利要求1-3中任一项所述的方法,其特征在于,所述第一终端确定需要获取未来的一个设定时间范围内N个分区对应的卫星数据,包括:
    所述第一终端接收用于获取卫星数据的指令,所述指令中携带所述设定时间范围以及所述N个分区的信息;
    所述第一终端根据所述指令,确定所述设定时间范围以及所述N个分区。
  5. 如权利要求1-4中任一项所述的方法,其特征在于,所述设定规则为将地图按照经度和/或纬度进行划分;或者,所述设定规则为将地图按照行政区域进行划分。
  6. 如权利要求1-5所述的方法,其特征在于,所述设定时间范围内经过所述分区上空的每个卫星的卫星数据,至少包括所述设定时间范围内经过所述分区上空的每个卫星的标识ID、轨道数据、以及星钟数据。
  7. 一种定位方法,其特征在于,所述方法包括:
    服务器接收第一终端发送的请求消息,所述请求消息中携带所述第一终端需要获取的卫星数据对应的地图中的N个分区以及设定时间范围的指示信息;所述地图被按照设定规则划分为M个分区,其中M、N为正整数,且M大于等于N;
    所述服务器根据历史卫星数据,计算所述设定时间范围内所述N个分区对应的卫星数据;其中,一个分区对应的卫星数据包括所述设定时间范围内经过该分区上空的每个卫星的卫星数据;
    所述服务器向所述第一终端发送响应消息,所述响应消息中携带所述设定时间范围内所述N个分区对应的卫星数据。
  8. 如权利要求7所述的方法,其特征在于,所述历史卫星数据为所述服务器获取并 存储在所述服务器上的、GPS中的各个卫星所发布的卫星数据。
  9. 一种终端,其特征在于,所述终端包括:处理单元和无线通信单元;其中,
    所述处理单元,用于按照设定规则将地图划分为M个分区,确定需要获取未来的一个设定时间范围内所述地图中N个分区对应的卫星数据,其中M、N为正整数,且M大于等于N;以及,
    用于通过所述无线通信单元向服务器发送请求消息,所述请求消息中携带所述设定时间范围以及所述N个分区的指示信息;以及,
    用于通过所述无线通信单元接收所述服务器返回的响应消息,所述响应消息中携带所述服务器根据历史卫星数据计算得到的、所述设定时间范围内所述N个分区对应的卫星数据,其中,一个分区对应的卫星数据包括所述设定时间范围内经过该分区上空的每个卫星的卫星数据。
  10. 如权利要求9所述的终端,其特征在于,所述终端还包括:存储单元和全球定位系统GPS单元;其中,
    所述存储单元,用于存储所述响应消息中携带的所述设定时间范围内所述N个分区对应的卫星数据;
    所述处理单元,还用于:
    在所述设定时间范围内,读取所述存储单元中存储的所述设定时间范围内所述N个分区对应的卫星数据,使用所述卫星数据指示所述GPS单元搜索卫星信号。
  11. 如权利要求9或10所述的终端,其特征在于,所述终端还包括:接口单元;
    所述处理单元,还用于:
    在确定所述接口单元上建立有与第二终端的通信连接时,将所述设定时间范围内所述N个分区对应的卫星数据通过所述接口单元传输给所述第二终端,以使所述第二终端在所述设定时间范围内使用所述卫星数据指示所述第二终端中的GPS单元搜索卫星信号。
  12. 如权利要求9-11中任一项所述的终端,其特征在于,所述终端还包括:
    输入单元,用于接收用于获取卫星数据的指令,所述指令中携带所述设定时间范围以及所述N个分区的信息;
    所述处理单元,具体用于:
    根据所述输入单元接收到的用于获取卫星数据的指令,确定所述设定时间范围以及所述N个分区。
  13. 如权利要求9-12中任一项所述的终端,其特征在于,所述设定规则为将地图按照经度和/或纬度进行划分;或者,所述设定规则为将地图按照行政区域进行划分。
  14. 如权利要求9-13所述的终端,其特征在于,所述设定时间范围内经过所述分区上空的每个卫星的卫星数据,至少包括所述设定时间范围内经过所述分区上空的每个卫星的标识ID、轨道数据、以及星钟数据。
  15. 一种服务器,其特征在于,所述服务器包括:处理单元和无线通信单元;其中,
    所述处理单元,用于通过所述无线通信单元接收第一终端发送的请求消息,所述请求消息中携带所述第一终端需要获取的卫星数据对应的地图中的N个分区以及设定时间范围的指示信息,所述地图被按照设定规则划分为M个分区,其中M、N为正整数,且M大于等于N;以及,
    用于根据历史卫星数据,计算所述设定时间范围内所述N个分区对应的卫星数据;其 中,一个分区对应的卫星数据包括所述设定时间范围内经过该分区上空的每个卫星的卫星数据;以及,
    用于通过所述无线通信单元向所述第一终端发送响应消息,所述响应消息中携带所述设定时间范围内所述N个分区对应的卫星数据。
  16. 如权利要求15所述的服务器,其特征在于,所述服务器,还包括:存储单元;
    所述处理单元,还用于:获取GPS中的各个卫星所发布的卫星数据,并将获取到的卫星数据存储到所述存储单元中。
PCT/CN2017/082403 2017-01-11 2017-04-28 一种定位方法、终端及服务器 Ceased WO2018129838A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780012495.1A CN108780155B (zh) 2017-01-11 2017-04-28 一种定位方法、终端及服务器
CN202110200903.4A CN113064185B (zh) 2017-01-11 2017-04-28 一种定位方法、终端及服务器

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710020365.4 2017-01-11
CN201710020365 2017-01-11

Publications (1)

Publication Number Publication Date
WO2018129838A1 true WO2018129838A1 (zh) 2018-07-19

Family

ID=62839717

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/082403 Ceased WO2018129838A1 (zh) 2017-01-11 2017-04-28 一种定位方法、终端及服务器

Country Status (2)

Country Link
CN (2) CN108780155B (zh)
WO (1) WO2018129838A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109490913A (zh) * 2018-11-07 2019-03-19 深圳市昱乐科技开发有限公司 一种卫星接收终端及其接收方法

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327354B (zh) * 2018-12-14 2022-01-11 华为技术有限公司 卫星网络通信方法、相关装置及系统
CN109657146A (zh) * 2018-12-21 2019-04-19 拉扎斯网络科技(上海)有限公司 分布式搜索方法、装置、系统、主服务器与区域服务器
CN109936619B (zh) * 2019-01-18 2021-07-20 中国科学院空间应用工程与技术中心 一种基于雾计算的空间信息网络架构、方法和可读存储介质
CN113315562B (zh) * 2020-02-27 2025-08-12 华为技术有限公司 通信方法、装置及系统
CN114494408A (zh) * 2020-10-26 2022-05-13 华为技术有限公司 寻星方法及装置
CN114666722B (zh) * 2020-12-22 2025-01-07 中国石油化工股份有限公司 基于定位信标的化工装置内外定位系统及方法
CN114624751B (zh) * 2022-01-29 2024-07-26 上海移为通信技术股份有限公司 辅助定位方法、装置、电子设备和存储介质
CN115361058B (zh) * 2022-10-19 2023-03-10 成都星联芯通科技有限公司 一种卫星便携站对星方法、装置、存储介质及卫星便携站
CN117015984A (zh) * 2023-04-07 2023-11-07 北京小米移动软件有限公司 信息传输方法、装置、系统、通信设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101088024A (zh) * 2004-09-14 2007-12-12 SiRF技术公司 在不使用广播星历信息的情况下确定位置
CN101776743A (zh) * 2009-01-09 2010-07-14 华晶科技股份有限公司 搜寻卫星的电子装置与方法
CN105191358A (zh) * 2014-03-07 2015-12-23 华为终端有限公司 定位设备间数据共享的方法及装置

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6992617B2 (en) * 2003-11-13 2006-01-31 Global Locate, Inc. Method and apparatus for monitoring the integrity of satellite tracking data used by a remote receiver
US8493267B2 (en) * 2006-11-10 2013-07-23 Qualcomm Incorporated Method and apparatus for position determination with extended SPS orbit information
US8085190B2 (en) * 2008-03-31 2011-12-27 Intel Corporation Method and apparatus for faster global positioning system (GPS) location using a pre-computed spatial location for tracking GPS satellites
CA2724994C (en) * 2008-05-22 2014-08-12 Novatel Inc. Gnss receiver using signals of opportunity and assistance information to reduce the time to first fix
CN101900803A (zh) * 2009-06-01 2010-12-01 和硕联合科技股份有限公司 全球定位系统装置及其定位方法及系统
US8634850B2 (en) * 2011-03-11 2014-01-21 Qualcomm Incorporated Providing wireless transmitter almanac information to mobile station based on expected contribution to future navigation operation
US8812019B2 (en) * 2011-08-05 2014-08-19 Qualcomm Incorporated Providing wireless transmitter almanac information to mobile device based on expected route
CN103344976B (zh) * 2013-07-05 2016-10-05 泰斗微电子科技有限公司 一种辅助卫星导航定位方法及相应的定位终端
US9739888B2 (en) * 2013-09-12 2017-08-22 Marvell World Trade Ltd. Method, system and device for position determination with predicted ephemeris
CN103954980A (zh) * 2014-04-04 2014-07-30 北京航空航天大学 一种多模gnss接收机的选星方法
US20160029224A1 (en) * 2014-07-23 2016-01-28 Qualcomm Incorporated Determination of environment characteristics from mobile device-based sensor measurements
CN104181570A (zh) * 2014-08-19 2014-12-03 豪芯微电子科技(上海)有限公司 基于卫星轨道信息的本地定位方法及其系统
CN106125110B (zh) * 2016-06-12 2018-08-24 中国科学院上海天文台 基于分区改正的星基增强系统定位精度提高方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101088024A (zh) * 2004-09-14 2007-12-12 SiRF技术公司 在不使用广播星历信息的情况下确定位置
CN101776743A (zh) * 2009-01-09 2010-07-14 华晶科技股份有限公司 搜寻卫星的电子装置与方法
CN105191358A (zh) * 2014-03-07 2015-12-23 华为终端有限公司 定位设备间数据共享的方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109490913A (zh) * 2018-11-07 2019-03-19 深圳市昱乐科技开发有限公司 一种卫星接收终端及其接收方法
CN109490913B (zh) * 2018-11-07 2023-02-28 深圳市昱乐科技开发有限公司 一种卫星接收终端及其接收方法

Also Published As

Publication number Publication date
CN108780155B (zh) 2021-03-09
CN113064185A (zh) 2021-07-02
CN108780155A (zh) 2018-11-09
CN113064185B (zh) 2022-07-19

Similar Documents

Publication Publication Date Title
CN113064185B (zh) 一种定位方法、终端及服务器
US7970419B2 (en) Systems, devices and methods for location determination
US8494544B2 (en) Method, apparatus and computer program to perform location specific information retrieval using a gesture-controlled handheld mobile device
KR102092057B1 (ko) 전자 장치의 위치 정보 공유 방법 및 장치
US10989559B2 (en) Methods, systems, and devices for displaying maps
CN108337368B (zh) 一种定位数据的更新方法及移动终端
CN108566624B (zh) 控制智能设备的方法、装置、移动终端及存储介质
WO2011003290A1 (zh) 终端定位方法及终端
US10760912B2 (en) Information acquisition method, wireless communication device, electronic timepiece and recording medium
CN107534932B (zh) 一种功能状态控制的方法及相关设备
WO2013155918A1 (zh) 计划任务执行方法、装置、计算机可读存储介质、图形用户接口及移动终端
CN110023778B (zh) 一种定位方法及设备
US9317617B2 (en) Trip plan sharing and matching method
WO2014067345A1 (zh) 卫星定位方法、装置及系统
WO2015035812A1 (zh) 一种位置跟踪的方法及终端
CN106997052B (zh) 位置信息处理方法、装置及计算机设备
JP7412505B2 (ja) 同期ローカル検索結果のための可視ネットワークの添付
US20170299688A1 (en) Beacon transmitting device and beacon transmitting method
US11743857B2 (en) Method and system of wireless device location service
CN109936817A (zh) 一种定位方法及终端设备
CN116007642A (zh) 一种目的地导航方法及设备
JP2015068661A (ja) 衛星信号検索方法
US9842483B2 (en) Information processing system for reducing load on a server
CN114449647B (zh) 定位方法及装置
CN108387226A (zh) 终端的导航方法和装置、电子设备、存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17891760

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17891760

Country of ref document: EP

Kind code of ref document: A1