CN105491660B - A kind of method and terminal of terminal positioning - Google Patents

A kind of method and terminal of terminal positioning Download PDF

Info

Publication number
CN105491660B
CN105491660B CN201510909018.8A CN201510909018A CN105491660B CN 105491660 B CN105491660 B CN 105491660B CN 201510909018 A CN201510909018 A CN 201510909018A CN 105491660 B CN105491660 B CN 105491660B
Authority
CN
China
Prior art keywords
terminal
down link
link signal
access point
base station
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.)
Expired - Fee Related
Application number
CN201510909018.8A
Other languages
Chinese (zh)
Other versions
CN105491660A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510909018.8A priority Critical patent/CN105491660B/en
Publication of CN105491660A publication Critical patent/CN105491660A/en
Application granted granted Critical
Publication of CN105491660B publication Critical patent/CN105491660B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The embodiment of the invention provides a kind of methods of terminal positioning, which comprises terminal receives the first down link signal sent by base station and the second down link signal sent by Wi-Fi access point;The terminal generates the first location information of the terminal according to first down link signal, and the first distance value between the terminal and the base station is calculated based on first location information;The terminal generates the second location information of the terminal according to second down link signal, and calculates the second distance value between the terminal and the Wi-Fi access point based on second location information;The terminal determines the position of the terminal according to the position of the base station, the first distance value, the position of the Wi-Fi access point and the second distance value.The embodiment of the invention also provides a kind of terminals.Precise positioning can be carried out to the position of terminal under environment indoors through the embodiment of the present invention.

Description

A kind of method and terminal of terminal positioning
Technical field
The present invention relates to field of locating technology, and in particular to a kind of method and terminal of terminal positioning.
Background technique
With the fast development of information technology, the function of terminal (such as mobile phone, tablet computer) is more and more perfect.With regard to terminal Location technology for, terminal is determined using based on global positioning system (Global Positioning System, GPS) Position technology positions to realize.Although however, can using the location technology of GPS signal under the open environment that GPS signal is enhanced Preferably the position of terminal is determined, but its location technology is weakened ground urban area, the region being blocked, room in signal Inner region or the positional accuracy in other regions are difficult to reach demand, and therefore, it is necessary to a kind of more accurate location technologies to solve The orientation problem of the indoor environments such as school, museum, underground garage.
Summary of the invention
The embodiment of the invention provides a kind of method of terminal positioning and terminal, under environment indoors to the position of terminal Set carry out precise positioning.
First aspect of the embodiment of the present invention provides a kind of method of terminal positioning, comprising:
Terminal receives the first down link signal sent by base station and the second downlink sent by Wi-Fi access point Signal;
The terminal generates the first location information of the terminal according to first down link signal, and based on described First location information calculates the first distance value between the terminal and the base station;
The terminal generates the second location information of the terminal according to second down link signal, and based on described Second location information calculates the second distance value between the terminal and the Wi-Fi access point;
The terminal is according to the position of the base station, the first distance value, the position of the Wi-Fi access point and described Second distance value determines the position of the terminal.
In conjunction with the embodiment of the present invention in a first aspect, in the first possible embodiment of first aspect, the end End generates the first location information according to first down link signal, comprising:
The terminal determines the receiving time of first down link signal;
The terminal parses first down link signal, to obtain the hair of first down link signal Send the symbol of time and first down link signal and the quantity of sampling;
The terminal is by the receiving time, the symbol and sampling of the sending time and first down link signal Quantity generate the first location information.
In conjunction with the first aspect of the embodiment of the present invention or the first possible embodiment of first aspect, in first aspect Second of possible embodiment in, position of the terminal according to the base station, the first distance value, the Wi-Fi The position of access point and the second distance value determine the position of the terminal, comprising:
The terminal determines that the first of the terminal estimates position according to the position and the first distance value of the base station Collection;
The terminal determines the second pre- of the terminal according to the position and the second distance value of the Wi-Fi access point Estimate position collection;
The terminal determines that described first estimates position collection and described second and estimate the intersection location point of position collection;
The terminal determines the intersection location point, to obtain the position of the terminal.
In conjunction with second of possible embodiment of the first aspect of the embodiment of the present invention, the third in first aspect can In the embodiment of energy, the terminal determines the intersection location point, comprising:
The intersection location point is mapped in the indoor map of indoor environment locating for the terminal by the terminal;
The terminal obtains user instruction;
The terminal determines the position of the terminal according to the user instruction.
In conjunction with the first aspect of the embodiment of the present invention or the first possible embodiment of first aspect, in first aspect The 4th kind of possible embodiment in, position of the terminal according to the base station, the first distance value, the Wi-Fi After the position of access point and the second distance value determine the position of the terminal, the method also includes:
The terminal obtains at least one target position;
The terminal generates the navigation routine between the position and at least one described target position of the terminal, and by institute It states navigation routine and maps in corresponding indoor map and shown.
Second aspect of the embodiment of the present invention provides a kind of terminal, comprising:
Receiving unit, for receiving the first down link signal sent by base station and being sent by Wi-Fi access point Two down link signals;
First generation unit, first down link signal for being received according to the receiving unit generate terminal The first location information;
First computing unit, first location information for being generated based on first generation unit calculate the end First distance value between end and the base station;
Second generation unit, described in second down link signal for being received according to the receiving unit generates Second location information of terminal;
Second computing unit, second location information for being generated based on second generation unit calculate the end Second distance value between end and the Wi-Fi access point;
Determination unit, for the position according to the base station, the calculated first distance of first computing unit Value, the position of the Wi-Fi access point and the calculated second distance value of second computing unit determine the terminal Position.
In conjunction with the second aspect of the embodiment of the present invention, in the first possible embodiment of second aspect, described One generation unit includes:
First determining module, when for determining the reception of first down link signal that the receiving unit receives Between;
Parsing module, for being parsed to first down link signal, to obtain the first downlink letter Number sending time and first down link signal symbol and sampling quantity;
First generates submodule, the receiving time, the parsing module for determining first determining module The quantity of the symbol and sampling that parse the obtained sending time and first down link signal generates the first positioning letter Breath.
In conjunction with the second aspect of the embodiment of the present invention or the first possible embodiment of second aspect, in second aspect Second of possible embodiment in, the determination unit includes:
Second determining module, for according to the base station position and first computing unit calculated described first Distance value determines that the first of the terminal estimates position collection;
Second determining module, is also used to:
It is determined according to the calculated second distance value in the position of the Wi-Fi access point and second computing unit The second of the terminal estimates position collection;
Second determining module, is also used to:
Determine that described first estimates position collection and described second and estimate the intersection location point of position collection;
Determination module, the intersection location point for determining to second determining module determines, to obtain the end The position at end.
In conjunction with second of possible embodiment of the second aspect of the embodiment of the present invention, the third in second aspect can In the embodiment of energy, the determination module includes:
Mapping block, the intersection location point for determining second determining module are mapped in locating for the terminal In the indoor map of indoor environment;
Module is obtained, for obtaining user instruction;
Third determining module, the user instruction for being got according to the acquisition module determine the position of the terminal It sets.
In conjunction with the second aspect of the embodiment of the present invention or the first possible embodiment of second aspect, in second aspect The 4th kind of possible embodiment in, the terminal further include:
Acquiring unit, for obtaining at least one target position;
Third generation unit, position and the acquiring unit for generating the terminal that the determination unit determines are obtained The navigation routine between at least one described target position got, and the navigation routine is mapped into corresponding indoor map On shown.
The implementation of the embodiments of the present invention has the following beneficial effects:
In the embodiments of the present invention, terminal can receive the first down link signal sent by base station and be connect by Wi-Fi The second down link signal that access point is sent, the first location information of the terminal is generated according to first down link signal, and First distance value between the terminal and the base station is calculated based on first location information and according to second down link signal The second location information is generated, and the second distance between the terminal and the Wi-Fi access point is calculated based on second location information Value, determines terminal according to the position of the base station, the first distance value, the position of the Wi-Fi access point and the second distance value Position.As it can be seen that the position of Wi-Fi access point can be predicted in advance indoors under environment, the position of base station is also in advance it is found that eventually First distance value, Wi-Fi access point and the terminal and Wi-Fi between position, the terminal and the base station of combinable base station is held to connect Second distance value between access point determines the position of the terminal, therefore, it can be achieved that the position to terminal carries out precise positioning.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the framework schematic diagram of the positioning system provided in an embodiment of the present invention for terminal positioning;
Fig. 2 is a kind of first embodiment flow diagram of the method for terminal positioning provided in an embodiment of the present invention;
Fig. 3 is a kind of second embodiment flow diagram of the method for terminal positioning provided in an embodiment of the present invention;
Fig. 4 is a kind of 3rd embodiment flow diagram of the method for terminal positioning provided in an embodiment of the present invention;
Fig. 5 a is a kind of schematic structural diagram of the first embodiment of terminal provided in an embodiment of the present invention;
Fig. 5 b is a kind of another structural schematic diagram of first embodiment of terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic structural diagram of the second embodiment of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It is described in detail separately below.
Description and claims of this specification and term " first ", " second ", " third " and " in the attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
The technical solution of the embodiment of the present invention for ease of understanding please refers to the present invention that is used to implement as shown in Figure 1 and discloses The positioning system for terminal positioning configuration diagram.The positioning system for being used to implement localization method disclosed by the invention System includes Wi-Fi (Wireless-Fidelity, Wireless Fidelity) access point, mobile communication in terminal, Internet communication system Base station in system.Wherein, the Wi-Fi access point executes the conversion of wire/wireless channel, will be received various from internet side Information is converted to the down link signal for being sent to the terminal.The time of the Wi-Fi access point is synchronous, and is held Transmission/packet retransmission the function of reception grouping, the grouping tune that effectively uses for guarantee radio resource of the row for zero defect Degree and wireless bandwidth distribution;The base station includes mobile communication system (such as CDMA Code Division Multiple Access, CDMA) in base station, such as eNB (Evolutional Node B, the evolved base in long term evolution LTE network It stands);The terminal includes the handheld device with wireless communication function, mobile unit, wearable device, calculates equipment or connection It is mobile to other processing equipments of radio modem and various forms of user equipmenies (User Equipment, UE) Platform (Mobile station, MS), terminal (Terminal), terminal device (Terminal Equipment) etc., above-mentioned end End is only citing, and non exhaustive, including but not limited to above-mentioned terminal.
Based on the configuration diagram of positioning system described in Fig. 1, referring to Fig. 2, being provided in an embodiment of the present invention one The first embodiment flow diagram of the method for kind terminal positioning.The method of terminal positioning as described in this embodiment, including Following steps:
201, terminal receives the first down link signal sent by base station and the second downlink sent by Wi-Fi access point Link signal.
In the embodiment of the present invention, terminal can receive the first down link signal sent by base station, first downlink Signal is made of multiple symbols, also, first down link signal can carry the base station and send first down link signal Sending time.Similarly, terminal can receive the second down link signal sent by Wi-Fi access point, second downlink Signal is made of multiple symbols, also, second down link signal can carry the base station and send second down link signal Sending time.
Optionally, before executing step 201, terminal can send the first Location Request to base station, then, base station in response this One Location Request sends the first down link signal to terminal.Further, which can also carry the base The location information stood.Optionally, the navigation of the target position in the map interface for the navigation application page can be detected in terminal When function button is selected, the first Location Request is generated, and send first Location Request to base station.Specifically, such as Fig. 1 institute Show, if terminal can send the first Location Request to base station, then base station is used for the first downlink of mobile communication system to terminal Signal;Terminal sends the second Location Request to Wi-Fi access point, then Wi-Fi access point sends to terminal and is used for internet communication Second down link signal of system.
Still optionally further, before executing step 201, terminal can send the second Location Request to Wi-Fi access point, so Afterwards, base station in response second Location Request sends the second down link signal to terminal.Further, which believes It number can carry the location information of the Wi-Fi access point.Optionally, the map interface for the navigation application page can be detected in terminal In the navigation feature button of target position when being selected, obtain mark and the position of N number of Wi-Fi access point in preset range Information, and the distance value of N number of the Wi-Fi access point and the target position is calculated, terminal can determine N number of Wi-Fi access point In with the smallest Wi-Fi access point of distance value of the target position be target Wi-Fi access point, and accessed to target Wi-Fi Point sends the second Location Request, wherein N is the integer more than or equal to 1.
202, the terminal generates the first location information of the terminal according to first down link signal, and is based on First location information calculates the first distance value between the terminal and the base station.
In the embodiment of the present invention, terminal can determine the receiving time of the first down link signal, can be to the first downlink Signal is parsed, to obtain the sending time of first down link signal and the symbol and sampling of the first down link signal Quantity, by the receiving time, sending time, the symbol of the first down link signal and the quantity of sampling generate first positioning believe Breath.
Further, terminal can calculate the time difference between the receiving time and sending time of the first down link signal (Time Difference of arrival, TDOA), root TDOA technology determines the first distance between the terminal and the base station Value.Specifically, terminal can determine that the sending time of the first down link signal sent by base station and terminal receive this under first The quantity of the symbol and sampling that receive in period between the receiving time of downlink signal, generating includes the first downlink chain First location information of the quantity of the quantity and sampling of the symbol of road signal.That is, terminal can utilize following formula, it is fixed based on first Position information determines the first distance between terminal and base station, as follows:
R1=(nsymbol1*t11+nample1*t12)*c
Wherein, R1 is first distance value, which is the quantity of the symbol of the first down link signal, should Nsample1 is the quantity of the sampling of first down link signal, which is the transmission duration of a symbol, which is one The duration of a sampling, the c are the light velocity.
203, the terminal generates the second location information of the terminal according to second down link signal, and is based on Second location information calculates the second distance value between the terminal and the Wi-Fi access point.
In the embodiment of the present invention, terminal can determine the receiving time of the second down link signal, can be to the second downlink Signal is parsed, to obtain the sending time of second down link signal and the symbol and sampling of the second down link signal Quantity, the quantity of the receiving time, the symbol of sending time and the second down link signal and sampling is generated into the second positioning Information.
Further, terminal can calculate the time difference between the receiving time and sending time of the second down link signal, The second distance value between the terminal and the Wi-Fi access point is determined according to TDOA technology.Specifically, terminal can determine by Wi- When the sending time and terminal of the second down link signal that Fi access point is sent receive the reception of second down link signal Between between period in the quantity of symbol and sampling that receives, generate include the second down link signal receiving time and Second location information of the quantity of the quantity and sampling of sending time and the symbol of the second down link signal.That is, terminal can benefit With following formula, the second distance value between terminal and Wi-Fi access point is determined based on the second location information, as follows:
R2=(nsymbol2*t21+nample2*t22)*c
Wherein, R2 is second distance value, which is the quantity of the symbol of the second down link signal, should Nsample2 is the quantity of the sampling of second down link signal, and the t21 is the transmission duration of a symbol, the t22 The duration sampled for one, the c are the light velocity.
204, the terminal according to the position of the base station, the first distance value, the Wi-Fi access point position and The second distance value determines the position of the terminal.
In the embodiment of the present invention, terminal can with the position of base station be first center of circle, and with first distance value be the first radius Make the first circle, then, with the position of Wi-Fi access point for second center of circle, and it is second round using second distance value to be that radius is made, this The intersection location point of one circle and the second circle is the possible position of terminal, since first center of circle and second center of circle be not be overlapped, thus, First circle with second circle be only possible to 1 or 2 intersection location points, intersection location point be 1 in the case where, first circle and Second circle is tangent;In the case where intersection location point is 2, the first circle and the second circle intersection.Firstly, terminal can be to intersection position The number of point is determined that if the number of the intersection location point is 1, the position of the intersection location point is the position of terminal It sets.If the number of the intersection location point is 2, which can be further determined, because this two Have in a intersection location point and only one intersection location point is the position of terminal.
Optionally, after step 204, terminal can also obtain at least one target position, generate the position of the terminal and be somebody's turn to do Navigation routine between at least one target position, and the navigation routine is mapped in corresponding indoor map and is shown. Wherein, indoor map can be in museum, school, airport, railway station, supermarket, market, shopping center, office building, hospital etc. The indoor map of any application scenarios.It is illustrated by taking school as an example, is some classroom in main teaching building in target position In the case of, terminal after the position to the terminal positions, can produce in position and main teaching building of the terminal Navigation routine between some classroom, and will be shown in the navigation routine indoors map.
In the embodiments of the present invention, terminal can receive the first down link signal sent by base station and be connect by Wi-Fi The second down link signal that access point is sent, the first location information of the terminal is generated according to first down link signal, and First distance value between the terminal and the base station is calculated based on first location information and according to second down link signal The second location information is generated, and the second distance between the terminal and the Wi-Fi access point is calculated based on second location information Value, determines terminal according to the position of the base station, the first distance value, the position of the Wi-Fi access point and the second distance value Position.As it can be seen that the position of Wi-Fi access point can be predicted in advance indoors under environment, the position of base station is also in advance it is found that eventually First distance value, Wi-Fi access point and the terminal and Wi-Fi between position, the terminal and the base station of combinable base station is held to connect Second distance value between access point determines the position of the terminal, therefore, it can be achieved that the position to terminal carries out precise positioning.
Based on the configuration diagram of positioning system described in Fig. 1, referring to Fig. 3, being provided in an embodiment of the present invention one The second embodiment flow diagram of the method for kind terminal positioning.The method of terminal positioning as described in this embodiment, including Following steps:
301, terminal receives the first down link signal sent by base station and the second downlink sent by Wi-Fi access point Link signal.
302, the terminal generates the terminal according to first down link signal and the location information of the base station The first location information, and calculate based on first location information first distance value between the terminal and the base station.
303, the terminal generates the second location information of the terminal according to second down link signal, and is based on Second location information calculates the second distance value between the terminal and the Wi-Fi access point.
304, the terminal determines that the first of the terminal estimates according to the position and the first distance value of the base station Position collection.
In the embodiment of the present invention, terminal can be using the position of base station as first center of circle, and using first distance value as first Radius make first circle, then first circle on any point be likely to the location point for terminal, then, this first circle in it is all can The location point of the terminal of energy constitutes the first of terminal and estimates position collection.
Optionally, firstly, terminal can be primarily determined by GPS technology locating for terminal relative to base station position first Angular range, within the scope of the first angle, then, terminal can be using the position of base station as first center of circle, and by first distance Value makees the first circle as the first radius, then any point on the first circle within the scope of the first angle is likely to as terminal Location point, then, the location point of all possible terminal constitutes terminal within the scope of the first angle first estimates position Collection.
305, the terminal determines the of the terminal according to the position and the second distance value of the Wi-Fi access point Two estimate position collection.
In the embodiment of the present invention, terminal can make second distance value using the position of Wi-Fi access point as first center of circle Make the second circle for the second radius, then any point on the second circle is likely to the location point for terminal, then, in second circle What the location point of all possible terminal constituted terminal second estimates position collection.
Optionally, firstly, terminal can primarily determine the position locating for terminal relative to Wi-Fi access point by GPS technology The second angle range set, within the scope of the second angle, then, terminal can be using the position of Wi-Fi access point as the second circle The heart, and make the second circle using second distance value as the second radius, then any on the second circle within the scope of the second angle Point is likely to the location point for terminal, then, the location point of all possible terminal constitutes end within the scope of the second angle The second of end estimates position collection.
306, the terminal determines that described first estimates position collection and described second and estimate the intersection location point of position collection.
In the embodiment of the present invention, terminal can estimate position collection to first and the second predeterminated position collection carries out taking intersection operation, To which the intersection location point of the two can be obtained.
Optionally, terminal can mark the first predeterminated position collection composition first is round and the second predeterminated position collection is constituted the The intersection point of two circles, using the intersection point of the two as intersection location point.
Optionally, the position of the position of base station, Wi-Fi access point can be marked on map indoors for terminal, meanwhile, The coordinate of the coordinate of the position of base station and the position of Wi-Fi access point is recorded, and the coordinate of the position based on base station is the first circle The heart and first distance value are the first equation that the first radius constitutes the first circle, and the position based on Wi-Fi access point is second center of circle It is the second equation that the second radius constitutes the second circle with second distance value, combines first equation and the second equation is asked Solution, the value of obtained solution of equation is the possible position of terminal.
307, the terminal determines the intersection location point, to obtain the position of the terminal.
In the embodiment of the present invention, terminal need to determine intersection location point, thus, intersection location point may for 1 or Person two, intersection location point one and only one when, which is the position of terminal.It is 2 in intersection location point When a, then need to further determine the intersection location point.Optionally, intersection location point can be mapped in the terminal institute by terminal In the indoor map for locating indoor environment;
Preferably, when intersection location point is 2, intersection location point is mapped in the room of indoor environment locating for terminal by terminal In interior map, user instruction is obtained, the position of the terminal is determined according to the user instruction.That is, terminal reflects intersection location point It penetrates in the indoor map of environment indoors, then, terminal determines 2 intersection location points in combination with the environment of surrounding, Therefrom choose position of the intersection location point as terminal.For producing when being chosen to two intersection location points User instruction, the position according to the intersection location point chosen in the user instruction as terminal.
Optionally, after step 307, terminal can also obtain at least one target position, generate the position of the terminal and be somebody's turn to do Navigation routine between at least one target position, and the navigation routine is mapped in corresponding indoor map and is shown. Wherein, indoor map can be in museum, school, airport, railway station, supermarket, market, shopping center, office building, hospital etc. The indoor map of any application scenarios.It is illustrated by taking school as an example, is some classroom in main teaching building in target position In the case of, terminal after the position to the terminal positions, can produce in position and main teaching building of the terminal Navigation routine between some classroom, and will be shown in the navigation routine indoors map.
In the embodiments of the present invention, terminal can receive the first down link signal sent by base station and be connect by Wi-Fi The second down link signal that access point is sent, the first location information of the terminal is generated according to first down link signal, and First distance value between the terminal and the base station is calculated based on first location information and according to second down link signal The second location information is generated, and the second distance between the terminal and the Wi-Fi access point is calculated based on second location information Value, determine the terminal according to the position of base station and first distance value first estimates position collection, according to the position of the Wi-Fi access point It sets and the second distance value determines that the second of the terminal estimates position collection, determine that first estimates position collection and second and estimate position collection Intersection location point, which is determined, to obtain the position of the terminal.As it can be seen that indoors under environment, Wi- The position of Fi access point can be predicted in advance, the position of base station be also in advance it is found that terminal in combination with the position of base station, the terminal with First distance value between base station determine the first of terminal estimate position collection, the position in conjunction with Wi-Fi access point and the terminal with Second distance value between Wi-Fi access point determines that the second of the terminal estimates position collection, seeks the intersection location point of the two, and The intersection location point is further determined, therefore, it can be achieved that the position to terminal carries out precise positioning.
Based on the configuration diagram of positioning system described in Fig. 1, referring to Fig. 4, being provided in an embodiment of the present invention one The 3rd embodiment flow diagram of the method for kind terminal positioning.The method of terminal positioning as described in this embodiment, including Following steps:
401, terminal receives the first down link signal sent by base station and the second downlink sent by Wi-Fi access point Link signal.
402, the terminal generates the terminal according to first down link signal and the location information of the base station The first location information, and calculate based on first location information first distance value between the terminal and the base station.
403, the terminal generates the according to the location information of second down link signal and the Wi-Fi access point Two location informations, and the second distance between the terminal and the Wi-Fi access point is calculated based on second location information Value.
404, the terminal determines the position of the terminal according to the first distance value and the second distance value.
405, the terminal obtains at least one target position.
In the embodiment of the present invention, step 404, can be by the position of the terminal indoors after the position of terminal has been determined It is marked in figure, meanwhile, terminal can obtain at least one target position of user's input.Wherein, indoor map can be natural science The indoor ground of any application scenarios in shop, school, airport, railway station, supermarket, market, shopping center, office building, hospital etc. Figure.
406, the terminal generates the navigation routine between the position and at least one described target position of the terminal, and The navigation routine is mapped in corresponding indoor map and is shown.
In the embodiment of the present invention, terminal can generate the position and at least one target position of terminal according to the most short principle in path Navigation routine between setting, wherein starting point of the position of the terminal as navigation routine, it is a certain at least one target position Terminal of the target position as navigation routine.Optionally, the choosing at least one target position that terminal can also be selected according to user The sequencing selected generates the navigation routine between the position and at least one target position of the terminal.Meanwhile by the navigation road Line is mapped in indoor map and is shown.Optionally, user can select the generating mode of navigation routine, for example, road The most short principle of diameter, terminal of some target position as navigation routine, alternatively, flow of the people minimum principle (i.e. people in navigation routine Flow is minimum) etc..
It is illustrated by taking school as an example, when target position is 1, in the case where target position is main teaching building, eventually End after the position to the terminal positions, can produce the navigation road between the position of the terminal and the main teaching building Line, and will be shown in the navigation routine indoors map.Target position be it is multiple when, for example, main teaching building, dining room, Library, then terminal can generate leading between position, main teaching building, dining room and the library of the terminal according to the most short principle in path Air route line.
In the embodiments of the present invention, terminal can receive the first down link signal sent by base station and be connect by Wi-Fi The second down link signal that access point is sent, the first location information of the terminal is generated according to first down link signal, and First distance value between the terminal and the base station is calculated based on first location information and according to second down link signal The second location information is generated, and the second distance between the terminal and the Wi-Fi access point is calculated based on second location information Value, determines terminal according to the position of the base station, the first distance value, the position of the Wi-Fi access point and the second distance value Position obtains at least one target position, generates the navigation routine between the position and at least one target position of the terminal, And the navigation routine is mapped in corresponding indoor map and is shown.As it can be seen that indoors under environment, Wi-Fi access point Position can be predicted in advance, and the position of base station is also in advance it is found that terminal is in combination between the position of base station, the terminal and base station Second distance value between first distance value, Wi-Fi access point and the terminal and Wi-Fi access point determines the position of the terminal, Therefore, it can be achieved that indoor map can be mapped in for the position of the terminal later by carrying out precise positioning to the position of terminal, for When obtaining the target position of user's input, navigation routine is provided for user.
Fig. 5 a is please referred to, is a kind of schematic structural diagram of the first embodiment of terminal provided in an embodiment of the present invention.This implementation Terminal described in example, comprising:
Receiving unit 501, for what is received by the first down link signal of base station transmission and sent by Wi-Fi access point Second down link signal.
First generation unit 502, first down link signal for being received according to the receiving unit 501 are raw At the first location information of terminal.
First computing unit 503, first location information for being generated based on first generation unit 502 are calculated First distance value between the terminal and the base station.
Second generation unit 504, second down link signal for being received according to the receiving unit 501 are raw At the second location information of the terminal.
Second computing unit 505, second location information for being generated based on second generation unit 504 are calculated Second distance value between the terminal and the Wi-Fi access point.
Determination unit 506, for according to the position of the base station, first computing unit 503 calculated described One distance value, the position of the Wi-Fi access point and the calculated second distance value of second computing unit 505 determine The position of the terminal.
Optionally, first generation unit 502 includes:
First determining module (does not mark) in figure, first downlink received for determining the receiving unit 501 The receiving time of link signal.
Parsing module (does not mark) in figure, for parsing to first down link signal, to obtain described The quantity of the symbol and sampling of the sending time of one down link signal and first down link signal.
First generate submodule (not marked in figure), for by first determining module determine the receiving time, The symbol of the sending time and first down link signal that the parsing module parses and the quantity of sampling are raw At the first location information.
Optionally, second generation unit 504 includes:
First determining module (does not mark) in figure, second downlink received for determining the receiving unit 501 The receiving time of link signal.
Parsing module (does not mark) in figure, for parsing to second down link signal, to obtain described The quantity of the symbol and sampling of the sending time of two down link signals and second down link signal.
Second generate submodule (not marked in figure), for by second determining module determine the receiving time, The symbol of the sending time and second down link signal that the parsing module parses and the quantity of sampling are raw At the second location information.
Optionally, the determination unit 506 includes:
Second determining module (does not mark) in figure, for according to the base station position and first computing unit 503 The calculated first distance value determines that the first of the terminal estimates position collection.
Second determining module, is also used to:
According to the position of the Wi-Fi access point and the calculated second distance value of second computing unit 505 Determine that the second of the terminal estimates position collection.
Second determining module, is also used to:
Determine that described first estimates position collection and described second and estimate the intersection location point of position collection.
Determination module (does not mark) in figure, and the intersection location point for determining to second determining module determines, To obtain the position of the terminal.
Optionally, the determination module includes:
Mapping block (does not mark) in figure, and the intersection location point for determining second determining module is mapped in In the indoor map of indoor environment locating for the terminal.
It obtains module (not marked in figure), for obtaining user instruction.
Third determining module (does not mark) in figure, and the user instruction for being got according to the acquisition module determines The position of the terminal.
As a kind of possible embodiment, as shown in Figure 5 b, terminal described in Fig. 5 a may also include that
Acquiring unit 507, for obtaining at least one target position;
Third generation unit 508, for generate the terminal that the determination unit 506 determines position and the acquisition The navigation routine between at least one described target position that unit 507 is got, and the navigation routine is mapped into correspondence Indoor map on shown.
Terminal described in the embodiments of the present invention, can receive the first down link signal sent by base station and by The second down link signal that Wi-Fi access point is sent generates the first positioning of the terminal according to first down link signal Information, and first distance value between the terminal and the base station calculated based on first location information and according to the second downlink chain Road signal generates the second location information, and calculated based on second location information between the terminal and the Wi-Fi access point the Two distance values are determined according to the position of the base station, the first distance value, the position of the Wi-Fi access point and the second distance value The position of terminal.As it can be seen that the position of Wi-Fi access point can be predicted in advance, and the position of base station is also in advance may be used indoors under environment Know, terminal is in combination with first distance value, Wi-Fi access point and terminal and Wi- between the position of base station, the terminal and base station Second distance value between Fi access point determines the position of the terminal, therefore, it can be achieved that the position to terminal carries out precise positioning.
Referring to Fig. 6, being a kind of schematic structural diagram of the second embodiment of terminal provided in an embodiment of the present invention.The present embodiment Described in terminal, comprising: at least one input equipment 1000;At least one output equipment 2000;At least one processor 3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output equipment 2000, processor 3000 and memory 4000 are connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely touch panel, physical button or mouse.
Above-mentioned output equipment 2000 concretely display screen.
Above-mentioned memory 4000 can be high speed RAM memory, can also be non-labile memory (non-volatile ), such as magnetic disk storage memory.Above-mentioned memory 4000 is used to store a set of program code, above-mentioned input equipment 1000, defeated Equipment 2000 and processor 3000 are used to call the program code stored in memory 4000 out, perform the following operations:
Above-mentioned processor 3000, is used for:
It receives the first down link signal sent by base station and is believed by the second downlink that Wi-Fi access point is sent Number;
The first location information of the terminal is generated according to first down link signal, and based on first positioning Information calculates the first distance value between the terminal and the base station;
The second location information of the terminal is generated according to second down link signal, and based on second positioning Information calculates the second distance value between the terminal and the Wi-Fi access point;
According to the position of the base station, the first distance value, the position of the Wi-Fi access point and the second distance Value determines the position of the terminal.
Optionally, above-mentioned processor 3000 generates the first location information according to first down link signal, comprising:
Determine the receiving time of first down link signal;
First down link signal is parsed, with obtain first down link signal sending time and The symbol of first down link signal and the quantity of sampling;
The quantity of the receiving time, the symbol of the sending time and first down link signal and sampling is raw At the first location information.
Optionally, above-mentioned processor 3000 is accessed according to the position of the base station, the first distance value, the Wi-Fi The position and the second distance value of point determine the position of the terminal, comprising:
Determine that the first of the terminal estimates position collection according to the position of the base station and the first distance value;
Determine the terminal according to the position of the Wi-Fi access point and the second distance value second estimates position Collection;
Determine that described first estimates position collection and described second and estimate the intersection location point of position collection;
The intersection location point is determined, to obtain the position of the terminal.
Optionally, above-mentioned processor 3000 determines the intersection location point, comprising:
The intersection location point is mapped in the indoor map of indoor environment locating for the terminal;
Obtain user instruction;
The position of the terminal is determined according to the user instruction.
Optionally, above-mentioned processor 3000 is accessed according to the position of the base station, the first distance value, the Wi-Fi After the position and the second distance value of point determine the position of the terminal, also particularly useful for:
Obtain at least one target position;
Generate the navigation routine between the position and at least one described target position of the terminal, and by the navigation road Line is mapped in corresponding indoor map and is shown.
In the specific implementation, input equipment 1000 described in the embodiment of the present invention, output equipment 2000 and processor 3000 can be performed first embodiment, second embodiment and the third reality of a kind of method of terminal positioning provided in an embodiment of the present invention Implementation described in example is applied, described in the first embodiment that a kind of terminal provided in an embodiment of the present invention also can be performed Terminal implementation, details are not described herein.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (8)

1. a kind of method of terminal positioning characterized by comprising
When terminal detects that the navigation feature button of the target position in the map interface for the navigation application page is selected, institute It states terminal and sends the first Location Request to base station, and obtain the mark and position letter of N number of Wi-Fi access point in preset range Breath, wherein N is the integer more than or equal to 1;
The terminal calculates the distance value of N number of the Wi-Fi access point and the target position, in N number of Wi-Fi access point Middle acquisition is target Wi-Fi access point with the smallest Wi-Fi access point of distance value of the target position, and to the target Wi-Fi access point sends the second Location Request;
The terminal receives the first down link signal that the first Location Request as described in the base station in response is sent and by target Wi-Fi access point responds the second down link signal that second Location Request is sent, wherein the first downlink letter Number include the base station send the first down link signal sending time, second down link signal includes the target Wi-Fi access point sends the sending time of the second down link signal;
The terminal generates the first location information of the terminal according to first down link signal, and is based on described first Location information calculates the first distance value between the terminal and the base station;
The terminal generates the second location information of the terminal according to second down link signal, and is based on described second Location information calculates the second distance value between the terminal and the target Wi-Fi access point;
The terminal based on global position system GPS determine locating for the terminal relative to base station position first angle model It encloses, determines that the first of the terminal estimates according to the first angle range, the position of the base station and the first distance value Position collection;
The terminal determines second jiao locating for the terminal relative to the position of target Wi-Fi access point based on the GPS Range is spent, according to the determination of the second angle range, the position of the target Wi-Fi access point and the second distance value The second of terminal estimates position collection;
The terminal determines that described first estimates position collection and described second and estimate the intersection location point of position collection;
The terminal determines the intersection location point, to obtain the position of the terminal.
2. the method according to claim 1, wherein the terminal is generated according to first down link signal First location information, comprising:
The terminal determines the receiving time of first down link signal;
The terminal parses first down link signal, when obtaining the transmission of first down link signal Between and first down link signal symbol and sampling quantity;
The terminal believes the receiving time, the sending time of first down link signal and first downlink Number symbol and sampling quantity generate the first location information.
3. the method as described in claim 1, which is characterized in that the terminal determines the intersection location point, comprising:
The intersection location point is mapped in the indoor map of indoor environment locating for the terminal by the terminal;
The terminal obtains user instruction;
The terminal determines the position of the terminal according to the user instruction.
4. the method according to any one of claims 1 and 2, which is characterized in that the terminal clicks through the intersection position Row determines, after obtaining the position of the terminal, the method also includes:
The terminal obtains at least one target position;
The terminal generates the navigation routine between the position and at least one described target position of the terminal, and leads described Air route line is mapped in corresponding indoor map and is shown.
5. a kind of terminal characterized by comprising
Receiving unit, for receiving the first down link signal sent by base station and sent by target Wi-Fi access point the Two down link signals, wherein the receiving unit is also used to: the mesh in the map interface for the navigation application page is detected When the navigation feature button of cursor position is selected, the first Location Request is sent to base station, and obtain N number of Wi- in preset range The mark and location information of Fi access point calculate the distance value of N number of the Wi-Fi access point and the target position, in the N Being obtained in a Wi-Fi access point with the smallest Wi-Fi access point of distance value of the target position is target Wi-Fi access point, And the second Location Request is sent to the target Wi-Fi access point, receive the hair of the first Location Request as described in the base station in response The first down link signal for sending and the second downlink that second Location Request is sent is responded by target Wi-Fi access point Signal, wherein first down link signal includes the sending time that the base station sends the first down link signal, described Second down link signal includes the sending time that the target Wi-Fi access point sends the second down link signal, N be greater than Or the integer equal to 1;
First generation unit, first down link signal for being received according to the receiving unit generate the of terminal One location information;
First computing unit, first location information for being generated based on first generation unit calculate the terminal with First distance value between the base station;
Second generation unit, second down link signal for being received according to the receiving unit generate the terminal The second location information;
Second computing unit, second location information for being generated based on second generation unit calculate the terminal with Second distance value between the target Wi-Fi access point;
Determination unit, for according to the position of the base station, the calculated first distance value of first computing unit, institute The position and the calculated second distance value of second computing unit for stating target Wi-Fi access point determine the terminal Position, wherein the determination unit is also used to: it is determined locating for the terminal based on global position system GPS relative to base station Position first angle range, according to the first angle range, the position of the base station and the first distance value determine The first of the terminal estimates position collection, is determined locating for the terminal based on the GPS relative to target Wi-Fi access point The second angle range of position, according to the second angle range, the position of the target Wi-Fi access point and described second away from Determine the terminal from value second estimates position collection, determines that described first estimates position collection and described second and estimate position collection Intersection location point determines the intersection location point, to obtain the position of the terminal.
6. terminal according to claim 5, which is characterized in that first generation unit includes:
First determining module, for determining the receiving time of first down link signal that the receiving unit receives;
Parsing module, for being parsed to first down link signal, to obtain first down link signal The quantity of the symbol and sampling of sending time and first down link signal;
First generates submodule, and the receiving time, the parsing module for determining first determining module parse The symbol of the obtained sending time and first down link signal and the quantity of sampling generate the first location information.
7. terminal as claimed in claim 6, which is characterized in that the determination module includes:
Mapping block, the intersection location point for determining the determination unit are mapped in indoor environment locating for the terminal Indoor map in;
Module is obtained, for obtaining user instruction;
Third determining module, the user instruction for being got according to the acquisition module determine the position of the terminal.
8. according to the described in any item terminals of claim 5 or 6, which is characterized in that the terminal further include:
Acquiring unit, for obtaining at least one target position;
Third generation unit, position and the acquiring unit for generating the terminal that the determination unit determines are got At least one described target position between navigation routine, and it is enterprising that the navigation routine mapped to corresponding indoor map Row display.
CN201510909018.8A 2015-12-09 2015-12-09 A kind of method and terminal of terminal positioning Expired - Fee Related CN105491660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510909018.8A CN105491660B (en) 2015-12-09 2015-12-09 A kind of method and terminal of terminal positioning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510909018.8A CN105491660B (en) 2015-12-09 2015-12-09 A kind of method and terminal of terminal positioning

Publications (2)

Publication Number Publication Date
CN105491660A CN105491660A (en) 2016-04-13
CN105491660B true CN105491660B (en) 2018-12-04

Family

ID=55678279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510909018.8A Expired - Fee Related CN105491660B (en) 2015-12-09 2015-12-09 A kind of method and terminal of terminal positioning

Country Status (1)

Country Link
CN (1) CN105491660B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106102006B (en) * 2016-06-20 2020-10-27 联想(北京)有限公司 Information processing method, information interaction method, control method and electronic equipment
KR102656490B1 (en) * 2016-09-09 2024-04-12 삼성전자주식회사 Electronic device and method for determining positions

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014000469A1 (en) * 2012-06-28 2014-01-03 华为技术有限公司 Real time location method and location server
CN104602185B (en) * 2014-12-24 2018-09-25 新浪网技术(中国)有限公司 A kind of localization method and device
CN104869636B (en) * 2015-05-12 2018-08-21 四川师范大学 Indoor orientation method based on ranging information fusion
CN105101082A (en) * 2015-07-14 2015-11-25 青岛海信网络科技股份有限公司 Positioning method and device
CN105093178A (en) * 2015-07-20 2015-11-25 小米科技有限责任公司 Terminal positioning method, apparatus and system

Also Published As

Publication number Publication date
CN105491660A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
EP3117233B1 (en) Location of terminals in a communications network
CN104867402B (en) A kind of method and device thereof and terminal device of offline inverse geocoding
US20170318556A1 (en) Method and Device for Enhancing Positioning
CN205103563U (en) Realize intelligent wrist -watch of pronunciation navigation control
CN104811497B (en) A kind of exchange method and system based on ultrasonic wave positioning
WO2013174212A1 (en) Location-based group generation method, apparatus and system
US20200294091A1 (en) Method, device, and storage medium for recommending point of interest for location-based service
CN105338483B (en) The methods, devices and systems of museum tour guide are realized based on enhancing realization technology
CN105554776B (en) The method and apparatus that identification border base station crosses covering
CN106658709B (en) Positioning method and device, electronic equipment and server
CN105606099B (en) A kind of method and terminal of scenic region navigation
CN106569243A (en) Multi-positioning-mode hybrid positioning method, control system, and intelligent watch
AU2022211860A1 (en) Determining the optimum coverage position in a building for externally provided rf signals
CN106568457A (en) Voice navigation control method, system and intelligent watch
CN105491660B (en) A kind of method and terminal of terminal positioning
CN107791251A (en) robot movement control method and robot
CN109674628A (en) A kind of intelligent glasses
CN110337062A (en) Localization method and device in a kind of exhibition
CN109827573B (en) Method, system and application for judging coordinate system
CN105472541A (en) Positioning method, system, positioning server and terminal
CN109257816A (en) A kind of localization method and relevant device
CN104469940A (en) Method and system for locating wireless terminal equipment based on wireless router
CN105025443B (en) A kind of based on WLAN localization method, relevant device and system
CN103984684B (en) Method and apparatus is determined based on the range coverage of LBS
CN104125605B (en) A kind of implementation method and device for asking to set up WIFI connections

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181204