CN106131777A - Mobile terminal positioner and method - Google Patents

Mobile terminal positioner and method Download PDF

Info

Publication number
CN106131777A
CN106131777A CN201610388473.2A CN201610388473A CN106131777A CN 106131777 A CN106131777 A CN 106131777A CN 201610388473 A CN201610388473 A CN 201610388473A CN 106131777 A CN106131777 A CN 106131777A
Authority
CN
China
Prior art keywords
mobile terminal
positional information
information
base station
described mobile
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.)
Granted
Application number
CN201610388473.2A
Other languages
Chinese (zh)
Other versions
CN106131777B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610388473.2A priority Critical patent/CN106131777B/en
Publication of CN106131777A publication Critical patent/CN106131777A/en
Application granted granted Critical
Publication of CN106131777B publication Critical patent/CN106131777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a kind of mobile terminal positioner and method, its device includes: acquisition module, for being obtained several base station informations near mobile terminal by mobile network, and obtain, by several base station informations described, one group of primary importance information that mobile terminal is corresponding;Second position computing module, for the second position information that described one group of primary importance information uses average algorithm be calculated mobile terminal;3rd position computation module, for according to several base station informations described, calculating the distance of mobile terminal and each base station, the positional information of at least three base station based on distance minimum, and the second position information of mobile terminal, it is calculated the 3rd positional information of mobile terminal.Present invention, avoiding user to close GPS function and cannot obtain the problem of positional information, improve practicality based on location-based service application, and this programme ensure that the customer location of acquisition is precisely and effectively.

Description

Mobile terminal positioner and method
Technical field
The present invention relates to mobile terminal positioning technology field, particularly relate to a kind of mobile terminal positioner and method.
Background technology
At present, in the mobile Internet epoch, along with popularizing of intelligent terminal, Various Functions based on location-based service Application arise at the historic moment.But, these application are required for by means of GPS that (Global Positioning System, the whole world is fixed Position system) obtain positional information accurately, if user is not turned on GPS positioning function, then cannot obtain the positional information of user.
Additionally, user is that satellite positioning signal is in skyscraper and underground indoor use intelligent terminal the most of the time Facility cannot ensure cover every nook and cranny, thereby result in the disappearance of customer position information or inaccurate, and compare power consumption.
Summary of the invention
Present invention is primarily targeted at a kind of mobile terminal locating method of proposition and device, it is intended to real-time and precise obtains to be used Family positional information.
For achieving the above object, a kind of mobile terminal positioner that the present invention provides, including:
Acquisition module, for obtaining several base station informations near described mobile terminal by mobile network, by institute State several base station informations and obtain one group of primary importance information that described mobile terminal is corresponding;
Second position computing module, for using average algorithm to be calculated described shifting described one group of primary importance information The second position information of dynamic terminal;
3rd position computation module, for according to several base station informations described, calculates described mobile terminal and each base The distance stood, the positional information of at least three base station based on distance minimum, and the second position information of described mobile terminal, It is calculated the 3rd positional information of described mobile terminal.
Alternatively, described base station information includes base coded and positional information;
Described 3rd position computation module, is additionally operable to, according to each base coded information, obtain the position of several base stations described Confidence ceases, and according to the positional information of several base stations described, calculates the distance of described mobile terminal and each base station;Obtain away from Positional information from three minimum base stations;Obtain the barycenter oftriangle constituted with the position of described three base stations for summit; Obtain the point midway between the second position of described barycenter oftriangle and described mobile terminal, obtain described mobile terminal 3rd positional information.
Alternatively, described 3rd position computation module, it is additionally operable to according to each base coded information, obtains several bases described The positional information stood, according to the positional information of several base stations described, calculates the distance of described mobile terminal and each base station;Obtain Take the positional information of four minimum base stations of distance;Obtain the weight of the tetragon constituted with the position of described four base stations for summit The heart;Obtain the point midway between the center of gravity of described tetragon and the second position of described mobile terminal, obtain described mobile whole 3rd positional information of end.
Alternatively, described device also includes:
Monitoring modular, for monitoring whether the GPS function of mobile terminal opens;If monitoring the GPS function of mobile terminal Do not open, then point out and whether open GPS function;If do not received the instruction of the GPS function opening mobile terminal yet by prompting, Or the GPS function monitoring mobile terminal has turned on but the signal quality of GPS is the most pre-conditioned, then monitor mobile terminal Whether it is inserted with SIM access to mobile network, to be obtained the positional information of described mobile terminal by mobile network;
Described 3rd position computation module, if the GPS function being additionally operable to monitor mobile terminal has turned on, and the letter of GPS Number quality reaches pre-conditioned, then obtained the positional information of described mobile terminal by GPS.
Alternatively, described monitoring modular, if being additionally operable to not receive the instruction of the GPS function opening mobile terminal, then supervise Survey whether mobile terminal is connected to WIFI network;If described mobile terminal is not attached to WIFI network, then monitoring mobile terminal is No it is inserted with SIM access to mobile network, to be obtained the positional information of described mobile terminal by mobile network;
Described 3rd position computation module, if being additionally operable to described mobile terminal to be already connected to WIFI network, then passes through WIFI MAC Address searches the positional information of described mobile terminal.
The embodiment of the present invention also proposes a kind of mobile terminal locating method, including:
Several base station informations near described mobile terminal are obtained by mobile network, and by several base stations described Information obtains one group of primary importance information that described mobile terminal is corresponding;
Described one group of primary importance information is used the second position information that average algorithm is calculated described mobile terminal;
According to several base station informations described, calculate the distance of described mobile terminal and each base station, minimum based on distance The positional information of at least three base station, and the second position information of described mobile terminal, be calculated described mobile terminal The 3rd positional information.
Alternatively, described base station information includes base coded and positional information, several base station informations described in described basis, Calculate the distance of described mobile terminal and each base station, the positional information of at least three base station based on distance minimum, Yi Jisuo Stating the second position information of mobile terminal, the step of the 3rd positional information being calculated described mobile terminal includes:
According to each base coded information, obtain the positional information of several base stations described, according to several base stations described Positional information, calculates the distance of described mobile terminal and each base station;
Obtain the positional information of three minimum base stations of distance;
Obtain the barycenter oftriangle constituted with the position of described three base stations for summit;
Obtain the point midway between the second position of described barycenter oftriangle and described mobile terminal, obtain described shifting 3rd positional information of dynamic terminal.
Alternatively, described base station information includes base coded and positional information, described according to several base station informations, calculates Described mobile terminal and the distance of each base station, the positional information of at least three base station based on distance minimum, and described shifting The second position information of dynamic terminal, the step of the 3rd positional information being calculated described mobile terminal includes:
According to each base coded information, obtain the positional information of several base stations described, according to several base stations described Positional information, calculates the distance of described mobile terminal and each base station;
Obtain the positional information of four minimum base stations of distance;
Obtain the center of gravity of the tetragon constituted with the position of described four base stations for summit;
Obtain the point midway between the center of gravity of described tetragon and the second position of described mobile terminal, obtain described shifting 3rd positional information of dynamic terminal.
Alternatively, monitoring before mobile terminal is inserted with SIM access to mobile network, also including:
Whether the GPS function of monitoring mobile terminal opens;
If the GPS function monitoring mobile terminal is not opened, then point out and whether open GPS function;
If the GPS function monitoring mobile terminal has turned on, and the signal quality of GPS reaches pre-conditioned, then pass through GPS Obtain the positional information of described mobile terminal;
If do not received the instruction of the GPS function opening mobile terminal yet by prompting, or monitor mobile terminal GPS function has turned on but the signal quality of GPS is the most pre-conditioned, then whether monitoring mobile terminal is inserted with SIM and connects Enter mobile network, to be obtained the positional information of described mobile terminal by mobile network.
Alternatively, also include after the step that whether described prompting opens GPS function:
If not receiving the instruction of the GPS function opening mobile terminal, then whether monitoring mobile terminal is connected to WIFI net Network;
If described mobile terminal is already connected to WIFI network, then searched the position of described mobile terminal by WIFI MAC Address Confidence ceases;
If described mobile terminal is not attached to WIFI network, then whether monitoring mobile terminal is inserted with SIM and accesses shifting Dynamic network, to obtain the positional information of described mobile terminal by mobile network.
A kind of mobile terminal locating method of present invention proposition and device, obtained near mobile terminal by mobile network Several base station informations, and obtain, by several base station informations described, one group of primary importance information that mobile terminal is corresponding;Root According to the position of one group of primary importance data-evaluation mobile terminal, obtain the second position information of mobile terminal;According to several bases The positional information stood, and the second position information of mobile terminal, be calculated the 3rd positional information of mobile terminal, thus keep away Exempt from user to close GPS function and cannot obtain the problem of positional information, improve practicality based on location-based service application, and This programme uses the strategy of adaptive polo placement customer position information, it is ensured that the customer location of acquisition is accurate and effective.Additionally, phase Position than GPS, use network positions speed faster, and save electricity, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram of the optional mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the module diagram of mobile terminal positioner first embodiment of the present invention;
Fig. 4 is the module diagram of mobile terminal positioner the second embodiment of the present invention;
Fig. 5 is the module diagram of mobile terminal positioner the 3rd embodiment of the present invention;
Fig. 6 is the refinement schematic flow sheet of the embodiment of the present invention;
Fig. 7 is the schematic flow sheet of mobile terminal locating method first embodiment of the present invention;
Fig. 8 is the schematic flow sheet of mobile terminal locating method the second embodiment of the present invention;
Fig. 9 is the schematic flow sheet of mobile terminal locating method the 3rd embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The terminal unit related in embodiment of the present invention scheme refers mainly to mobile terminal.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use For representing the suffix explanation only for the beneficially present invention of such as " module ", " parts " or " unit " of element, itself Not specific meaning.Therefore, " module " can mixedly use with " parts ".
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and consolidating of such as numeral TV, desk computer etc. Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, mobile except being used in particular for Outside the element of purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram of the optional mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, user input unit 130, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 shows the mobile terminal with various assembly, but It is to it should be understood that, it is not required that implement all assemblies illustrated.Can alternatively implement more or less of assembly.Will under Face describes the element of mobile terminal in detail.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and wireless communication system Or the radio communication between network.Such as, wireless communication unit can include mobile communication module 112, wireless Internet mould At least one in block 113 and positional information module 115.
Mobile communication module 112 sends radio signals to base station (such as, access point, node B etc.), exterior terminal And in server at least one and/or receive from it radio signal.Such radio signal can include that voice leads to Words signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.Positional information module Typical case be GPS (global positioning system).According to current technology, GPS module calculates from three or more satellites Range information and correct time information and for the Information application triangulation calculated, thus according to longitude, latitude and Highly accurately calculate three-dimensional current location information.Currently, for calculating method three satellites of use of position and temporal information And by using an other satellite to correct the position and the error of temporal information calculated.Additionally, GPS module can be led to Velocity information is calculated after Continuous plus current location information in real time.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user's input Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch Plate (such as, detection due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Interface unit 170 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through.Such as, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, for connect have the port of device of identification module, audio frequency input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses each of mobile terminal 100 Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..It addition, the device (hereinafter referred to as " identifying device ") with identification module can be to take the form of smart card, therefore, know Other device can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170 may be used for receive from The input (such as, data message, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements or may be used between mobile terminal and external device (ED) transmit data.
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing electricity by it Power provides the path of mobile terminal 100 from base or can serve as allowing from the various command signals of base input by it It is transferred to the path of mobile terminal.May serve as identifying that mobile terminal is from various command signals or the electric power of base input The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio frequency and/or tactile manner Go out signal (such as, audio signal, video signal, alarm signal, vibration signal etc.).
Output unit 150 can include display unit 151 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, it is in electricity when mobile terminal 100 During words call mode, display unit 151 can show and call or other (such as, text messaging, multimedia file that communicate Download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern Or during image capture mode, display unit 151 can show image and/or the image of reception of capture, illustrate video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another with formed touch screen time, display unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least A kind of.Some in these display may be constructed such that transparence is watched from outside with permission user, and this is properly termed as transparent Display, typical transparent display can for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, move Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detection and touches Input pressure and touch input position and touch input area.
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can Temporarily to store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output.And And, memorizer 160 can with storage about when touch be applied to touch screen time the vibration of various modes of output and audio signal Data.
Memorizer 160 can include that the storage medium of at least one type, described storage medium include flash memory, hard disk, many Media card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access store Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected execution memorizer with by network The network storage device cooperation of the storage function of 160.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and voice call, data Control that communication, video calling etc. are relevant and process.It addition, controller 180 can include for reproducing (or playback) many matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or it is so structured that with Controller 180 separates.Controller 180 can perform pattern recognition process, with the handwriting input that will perform on the touchscreen or Picture is drawn input and is identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Suitable electric power needed for part and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implementing for hardware, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. Software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code can be come by the software application (or program) write with any suitable programming language Implementing, software code can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, communication system use Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face relates to cdma communication system, but such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link. If back haul link can construct according to any one in the interface that Ganji knows, described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregion (or region), by multidirectional antenna or the sky of sensing specific direction Each subregion that line covers is radially away from BS270.Or, each subregion can be by for two or more of diversity reception Antenna covers.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent in system the mobile terminal operated by broadcsting transmitter (BT) 295 100.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 helps to position multiple mobile terminals 100 In at least one.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtain useful Location information.As a typical operation of wireless communication system, it is reverse that BS270 receives from various mobile terminals 100 Link signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.It is every that certain base station 270 receives Individual reverse link signal is processed in specific BS270.The data obtained are forwarded to the BSC275 being correlated with.BSC provides Call resource distribution and the mobile management function of the coordination of soft switching process included between BS270.BSC275 also will receive Data be routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 Forming interface with MSC280, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls BS270 to be believed by forward link Number it is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the present invention is proposed.
Owing to, in prior art, needing to obtain positional information accurately by means of GPS, if user is not turned on GPS location Function, then cannot obtain the positional information of user, and framing signal cannot ensure to cover in skyscraper and underground installation To every nook and cranny, thereby result in the disappearance of customer position information or inaccurate, cause inconvenience to the user.
To this end, the present invention proposes a solution, customer position information can be obtained with real-time and precise, improve based on position The practicality being served by, and then promote Consumer's Experience.
Specifically, as it is shown on figure 3, first embodiment of the invention proposes a kind of mobile terminal positioner, including: obtain mould Block 201, second position computing module 202 and the 3rd position computation module 203, wherein:
Acquisition module 201, for obtaining several base station informations near described mobile terminal by mobile network, and leads to Crossing several base station informations described and obtain one group of primary importance information that described mobile terminal is corresponding, this primary importance information is for moving One group of rough location information of dynamic terminal;
Second position computing module 202, for using average algorithm to be calculated institute described one group of primary importance information Stating the second position information of mobile terminal, this second position information is the estimated position information of mobile terminal;
3rd position computation module 203, for according to several base station informations described, calculates described mobile terminal with each The distance of base station, the positional information of at least three base station based on distance minimum, and the second confidence of described mobile terminal Breath, is calculated the 3rd positional information of described mobile terminal, and the 3rd positional information is the precise position information of mobile terminal.
Specifically, as a example by three base stations, described 3rd position computation module 203, it is additionally operable to according to several bases described Stand information, calculate the distance of described mobile terminal and each base station;Obtain the positional information of three minimum base stations of distance;Obtain The barycenter oftriangle constituted for summit with the position of described three base stations;Obtain described barycenter oftriangle mobile whole with described Point midway between the estimated position of end, as the exact position of described mobile terminal.
As a example by four base stations, described 3rd position computation module 203, it is additionally operable to, according to each base coded information, obtain The positional information of several base stations described, according to the positional information of several base stations described, calculates described mobile terminal with each The distance of base station;Obtain the positional information of four minimum base stations of distance;Obtain with the position of described four base stations for summit structure The center of gravity of the tetragon become;Obtain the point midway between the center of gravity of described tetragon and the second position of described mobile terminal, Obtain the 3rd positional information of described mobile terminal.
More specifically, the present embodiment mobile terminal positioner can be built in mobile terminal, it is also possible to independent of Arrange outside mobile terminal.
In the present embodiment, application scenarios is the situation that user is not turned on GPS positioning function.In order to obtain the position of user Information, the base station of the present embodiment SIM based on mobile terminal and carrying mobile network realizes.
Specifically, first, after mobile terminal starts, whether monitoring mobile terminal is inserted with effective SIM (Subscriber Identity Module, user identity identification) blocks, if SIM is not inserted in terminal by user, then Effective operation trader network information cannot be obtained, thus the base station information of carrying mobile network cannot be obtained.If user inserts SIM, then the terminal base station information that can be provided by operator near user, calculate the positional information of user accurately.
When whether being inserted with effective SIM in judging mobile terminal, following scheme can be used:
Whether the state of the telephone supervisor (TelephonyManager) on monitoring mobile terminal is network available status, If the state of the telephone supervisor on mobile terminal (TelephonyManager) be SIM_STATE_PIN_REQUIRED, The network available status such as SIM_STATE_PUK_REQUIRED, SIM_STATE_READY, then existing effective in explanation mobile terminal SIM.
Monitoring after mobile terminal is inserted with effective SIM access to mobile network, can automatically start backstage clothes Business device, for safeguarding, update, record the positional information of mobile terminal, under normal circumstances, can be at set intervals (such as 5 points Clock) monitoring users position.
More specifically, monitoring after mobile terminal is inserted with SIM access to mobile network, whether monitoring user opens Open data cube computation, wherein, when monitoring user's whether turn-on data and connecting, can pass through ConnectivityManager and (network Manager) obtain the type networked, if the type of networking is TYPE_MOBILE, then judge that user is to be joined by mobile data Net.
Then, the positional information of several base stations near acquisition mobile terminal, and search movement by several base stations The primary importance information of terminal, obtains one group of primary importance information that mobile terminal is corresponding.
Specifically, can be obtained the base station information of mobile terminal by operator near mobile terminal, this base station information can To include the information such as base coded, position, specifically can be by each base coded information, corresponding lookup obtains the position of each base station Confidence ceases.
As a kind of embodiment, base station information can be sent by the client of mobile terminal to carrier server and obtain Taking request, carrier server obtains request according to this base station information, each near mobile terminal client terminal feedback mobile terminal Base station relevant information.
As another embodiment, it is also possible to obtain the letter of associated base stations with base station by the way of mobile terminal communicates Breath.
Near acquisition mobile terminal after the relevant information of each base station, search one group by mobile terminal base station information and move end The primary importance information of end: P1 (X1, Y1, Z1), P2 (X2, Y2, Z2), P3 (X3, Y3, Z3) ... Pn (Xn, Yn, Zn), simultaneously The positional information of several base stations near record: S1 (x1, y1, z1), S2 (x2, y2, z2), S3 (x3, y3, z3) ... Sn (xm, Ym, zm).
Wherein, Xn, Yn, Zn represent three shaft position coordinates of mobile terminal respectively, and xm, ym, zm represent the three of base station respectively Shaft position coordinate.
Then, according to the position of the one group of primary importance data-evaluation mobile terminal obtained, the second of mobile terminal is obtained Positional information;
Wherein, primary importance information P (X, Y, Z) of estimation mobile terminal can use average algorithm, i.e. takes each point P1 (X1, Y1, Z1), P2 (X2, Y2, Z2), the X that P3 (X3, Y3, Z3) ... Pn (Xn, Yn, Zn) are corresponding, Y, Z coordinate value average With:
X = 1 n Σ n i = 1 X i ;
Y = 1 n Σ n i = 1 Y i ;
Z = 1 n Σ n i = 1 Z i .
Finally, according to the positional information of several base stations described, the distance of described mobile terminal and each base station, base are calculated In the positional information of at least three base station of distance minimum, and the second position information of described mobile terminal, it is calculated institute State the 3rd positional information of mobile terminal.
Specifically, first, according to the positional information of several base stations, the distance of mobile terminal and each base station, meter are calculated Calculation formula is as follows:
L j = ( X - x j ) 2 + ( Y - y j ) 2 + ( Z - z j ) 2 2 ;
Wherein, X, Y, Z represent three shaft position coordinates of mobile terminal respectively, and xj, yj, zj represent three axle positions of base station respectively Put coordinate.
Then, based on the above results, use quicksort mode, obtain the position letter of the minimum at least three base station of distance Breath, then, obtains the polygonal center of gravity constituted for summit with the position of the base station of above-mentioned quantity, finally, obtains polygonal Point midway between center of gravity and the estimated position P (X, Y, Z) of mobile terminal, as the exact position of this mobile terminal.
As a example by three base stations (the calculating process of the base station of other quantity is similar), obtain three bases that distance is minimum The positional information stood: S1 (x1, y1, z1), S2 (x2, y2, z2), S3 (x3, y3, z3).
Afterwards, (x, y z), calculate public affairs to the barycenter oftriangle Q that acquisition is constituted with the position of above three base station for summit Formula is as follows:
x = 1 n Σ n i = 1 x i ;
y = 1 n Σ n i = 1 y i ;
z = 1 n Σ n i = 1 z i .
Finally, barycenter oftriangle Q (x, y, the position, midpoint z) and between the estimated position P (X, Y, Z) of mobile terminal are obtained Putting, as the exact position of this mobile terminal, computing formula is as follows:
User (l, m, n)=1/2 (P (X, Y, Z)+Q (x, y, z))=1/2 (X+x, Y+y, Z+z).
Wherein, (l, m n) represent the exact position of mobile terminal to User.
The present embodiment passes through such scheme, obtains several base stations letter near mobile terminal especially by mobile network Breath, and obtain, by several base station informations described, one group of primary importance information that mobile terminal is corresponding;According to one group first Put the position of data-evaluation mobile terminal, obtain the second position information of mobile terminal;According to several base station informations, Yi Jiyi The second position information of dynamic terminal, is calculated the 3rd positional information of mobile terminal, thus avoid user and close GPS function The problem that cannot obtain positional information, improves practicality based on location-based service application, and this programme uses adaptometer Calculate the strategy of customer position information, it is ensured that the customer location of acquisition is accurate and effective.Additionally, compare GPS location, use network Locating speed faster, and saves electricity, improves Consumer's Experience.
As shown in Figure 4, second embodiment of the invention proposes a kind of mobile terminal positioner, and this second embodiment is with above-mentioned The difference of the first embodiment shown in Fig. 3 is, this second embodiment can also be by the 3rd of calculated mobile terminal the Confidence breath is updated to server.
Therefore, comparing the first embodiment shown in above-mentioned Fig. 3, the present embodiment device also includes:
More new module 204, is used for the 3rd updating location information of calculated described mobile terminal to server.
By the present embodiment, mobile terminal can be by the most calculated 3rd positional information and the 3rd of acquisition last time Positional information contrasts, if there is conversion the position of mobile terminal, then by the most calculated 3rd updating location information extremely Server, to guarantee the accuracy of data, utilizes server to store terminal positional information simultaneously, can save terminal storage data Space.
As it is shown in figure 5, third embodiment of the invention proposes a kind of mobile terminal positioner, the 3rd embodiment is with above-mentioned The difference of the second embodiment shown in Fig. 4 is, the 3rd embodiment can also select the GPS function by mobile terminal or WIFI network obtains the positional information of mobile terminal.
Therefore, the 3rd embodiment compares the second embodiment shown in above-mentioned Fig. 4, and described device also includes:
Monitoring modular 200, for monitoring whether the GPS function of mobile terminal opens;If monitoring the GPS merit of mobile terminal Can not open, then point out and whether open GPS function;If user is not turned on the GPS function of mobile terminal, then monitoring mobile terminal is No it is inserted with SIM access to mobile network, to be obtained the positional information of described mobile terminal by mobile network;
Described 3rd position computation module 203, if being additionally operable to user to open the GPS function of mobile terminal, is then obtained by GPS Take the positional information of described mobile terminal.
It is still further contemplated that the signal quality situation of GPS, if the GPS function monitoring mobile terminal has turned on but GPS Signal quality the most pre-conditioned, then monitoring mobile terminal whether be inserted with SIM access to mobile network, with by move The positional information of mobile terminal described in dynamic Network Capture;If the GPS function monitoring mobile terminal has turned on, and the signal of GPS Quality reaches pre-conditioned, then obtained the positional information of described mobile terminal by GPS, thus avoid in indoor use intelligence During terminal, satellite positioning signal cannot ensure to cover every nook and cranny in skyscraper and underground installation, causes gps signal matter Measure the best disappearance causing customer position information or inaccurate problem.
Further, described monitoring modular 200, if being additionally operable to user to be not turned on the GPS function of mobile terminal, then monitor shifting Whether dynamic terminal is connected to WIFI network;If described mobile terminal is not attached to WIFI network, then whether monitoring mobile terminal is inserted Enter to have SIM access to mobile network, to be obtained the positional information of described mobile terminal by mobile network;
Described 3rd position computation module 203, if being additionally operable to described mobile terminal to be already connected to WIFI network, then passes through WIFI MAC Address searches the positional information of described mobile terminal.
Specifically, after mobile terminal-opening starts, whether the GPS function of monitoring mobile terminal opens;If monitoring shifting The GPS function of dynamic terminal has turned on, then obtained the positional information of described mobile terminal by GPS.The position obtained by GPS function Confidence breath is accurate and simple to operate, if turned off, then cannot obtain position normal through GPS.
If the GPS function monitoring mobile terminal is not opened, then point out and whether open GPS function.
If user opens the GPS function of mobile terminal according to prompting, then obtained the position letter of described mobile terminal by GPS Breath;
If user is not turned on the GPS function of mobile terminal according to prompting, then whether monitoring mobile terminal is connected to WIFI net Network.
If mobile terminal is already connected to WIFI network, then searched the positional information of mobile terminal by WIFI MAC Address.
If described mobile terminal is not attached to WIFI network, then whether monitoring mobile terminal is inserted with SIM and accesses shifting Dynamic network.Monitoring after mobile terminal is inserted with SIM access to mobile network, according to the embodiment scheme base shown in Fig. 3 The positional information of mobile terminal is obtained in base station information.
The concrete refinement flow process of the present embodiment is referred to shown in Fig. 6.
The present embodiment passes through such scheme, is monitoring after mobile terminal is inserted with SIM access to mobile network, is obtaining Several base station informations near mobile terminal, and the primary importance letter of described mobile terminal is searched by several base stations described Breath, obtains one group of primary importance information that mobile terminal is corresponding;According to the position of one group of primary importance data-evaluation mobile terminal, Obtain the second position information of mobile terminal;According to the positional information of several base stations, and the second confidence of mobile terminal Breath, is calculated the 3rd positional information of mobile terminal, thus avoid user and closes GPS function and cannot obtain positional information Problem, improves practicality based on location-based service application, additionally can avoid that gps signal quality is the best causes customer location The disappearance of information or inaccurate problem.And this programme uses the strategy of adaptive polo placement customer position information, it is ensured that obtain The customer location taken is accurate and effective.Additionally, compare GPS location, use network positions speed faster, and save electricity, Improve Consumer's Experience.Further, it is also possible to by the most calculated 3rd updating location information to server, to guarantee The accuracy of data, utilizes server to store terminal positional information simultaneously, can save the space of terminal storage data;It addition, Can also be selected to be obtained by GPS function and WIFI network the positional information of mobile terminal by user, thus improve mobile whole The motility that end position obtains.
Accordingly, mobile terminal locating method embodiment of the present invention is proposed.
As it is shown in fig. 7, the method first embodiment of the present invention proposes a kind of mobile terminal locating method, corresponding above-mentioned Fig. 3 Shown device first embodiment, the method includes:
Step S101, obtains several base station informations near described mobile terminal by mobile network, and by described Several base station informations obtain one group of primary importance information that described mobile terminal is corresponding;
The executive agent of the present embodiment method can be mobile terminal, it is also possible to be a kind of mobile terminal positioner, should Mobile terminal positioner can be built in mobile terminal, it is also possible to arranges independent of outside mobile terminal.
In the present embodiment, application scenarios is the situation that user is not turned on GPS positioning function.In order to obtain the position of user Information, the base station of the present embodiment SIM based on mobile terminal and carrying mobile network realizes.
Specifically, first, after mobile terminal starts, whether monitoring mobile terminal is inserted with effective SIM, if SIM is not inserted in terminal by user, then cannot obtain effective operation trader network information, thus it is mobile to obtain carrying The base station information of network.If user inserts SIM, then can be believed by the terminal base station that operator near user provides Breath, calculates the positional information of user accurately.
When whether being inserted with effective SIM in judging mobile terminal, following scheme can be used:
Whether the state of the telephone supervisor (TelephonyManager) on monitoring mobile terminal is network available status, If the state of the telephone supervisor on mobile terminal (TelephonyManager) be SIM_STATE_PIN_REQUIRED, The network available status such as SIM_STATE_PUK_REQUIRED, SIM_STATE_READY, then existing effective in explanation mobile terminal SIM.
Monitoring after mobile terminal is inserted with effective SIM access to mobile network, can automatically start backstage clothes Business device, for safeguarding, update, record the positional information of mobile terminal, under normal circumstances, can be at set intervals (such as 5 points Clock) monitoring users position.
More specifically, monitoring after mobile terminal is inserted with SIM access to mobile network, whether monitoring user opens Open data cube computation, wherein, when monitoring user's whether turn-on data and connecting, can pass through ConnectivityManager and (network Manager) obtain the type networked, if the type of networking is TYPE_MOBILE, then judge that user is to be joined by mobile data Net.
Then, the positional information of several base stations near acquisition mobile terminal, and search movement by several base stations The primary importance information of terminal, obtains one group of primary importance information that mobile terminal is corresponding.
Specifically, the base station information of mobile terminal can be obtained by operator near mobile terminal, including base coded, The information such as position, specifically can be by each base coded information, and corresponding lookup obtains the positional information of each base station.
As a kind of embodiment, base station information can be sent by the client of mobile terminal to carrier server and obtain Taking request, carrier server obtains request according to this base station information, each near mobile terminal client terminal feedback mobile terminal Base station relevant information.
As another embodiment, it is also possible to obtain the letter of associated base stations with base station by the way of mobile terminal communicates Breath.
Near acquisition mobile terminal after the relevant information of each base station, search one group by mobile terminal base station information and move end The primary importance information of end: P1 (X1, Y1, Z1), P2 (X2, Y2, Z2), P3 (X3, Y3, Z3) ... Pn (Xn, Yn, Zn), simultaneously The positional information of several base stations near record: S1 (x1, y1, z1), S2 (x2, y2, z2), S3 (x3, y3, z3) ... Sn (xm, Ym, zm).
Wherein, Xn, Yn, Zn represent three shaft position coordinates of mobile terminal respectively, and xm, ym, zm represent the three of base station respectively Shaft position coordinate.
Step S102, uses average algorithm to be calculated the second of described mobile terminal described one group of primary importance information Positional information;
Wherein, estimation mobile terminal positional information P (X, Y, Z), i.e. take each point P1 (X1, Y1, Z1), P2 (X2, Y2, Z2), the X that P3 (X3, Y3, Z3) ... Pn (Xn, Yn, Zn) are corresponding, Y, Z coordinate value average and, formula is as follows:
X = 1 n Σ n i = 1 X i ;
Y = 1 n Σ n i = 1 Y i ;
Z = 1 n Σ n i = 1 Z i .
Step S103, according to several base station informations described, calculates the distance of described mobile terminal and each base station, based on The positional information of at least three base station that distance is minimum, and the second position information of described mobile terminal, be calculated described 3rd positional information of mobile terminal.
Specifically, first, according to the positional information of several base stations, the distance of mobile terminal and each base station is calculated, public Formula is as follows:
L j = ( X - x j ) 2 + ( Y - y j ) 2 + ( Z - z j ) 2 2 ;
Wherein, X, Y, Z represent three shaft position coordinates of mobile terminal respectively, and xj, yj, zj represent three axle positions of base station respectively Put coordinate.
Then, based on the above results, use quicksort mode, obtain the position letter of the minimum at least three base station of distance Breath, then, obtains the polygonal center of gravity constituted for summit with the position of the base station of above-mentioned quantity, finally, obtains polygonal Point midway between center of gravity and the estimated position P (X, Y, Z) of mobile terminal, as the exact position of this mobile terminal.
Specifically, as a example by three base stations (the calculating process of the base station of other quantity is similar), obtain distance minimum The positional information of three base stations: S1 (x1, y1, z1), S 2 (x2, y2, z2), S3 (x3, y3, z3).
Afterwards, (x, y z), calculate public affairs to the barycenter oftriangle Q that acquisition is constituted with the position of above three base station for summit Formula is as follows:
x = 1 n Σ n i = 1 x i ;
y = 1 n Σ n i = 1 y i ;
z = 1 n Σ n i = 1 z i .
Finally, barycenter oftriangle Q (x, y, the position, midpoint z) and between the estimated position P (X, Y, Z) of mobile terminal are obtained Putting, as the exact position of this mobile terminal, computing formula is as follows:
User (l, m, n)=1/2 (P (X, Y, Z)+Q (x, y, z))=1/2 (X+x, Y+y, Z+z).
Wherein, (l, m n) represent the exact position of mobile terminal to User.
The present embodiment passes through such scheme, obtains several base stations letter near mobile terminal especially by mobile network Breath, and obtain, by several base station informations described, one group of primary importance information that mobile terminal is corresponding;According to one group first Put the position of data-evaluation mobile terminal, obtain the second position information of mobile terminal;According to the positional information of several base stations, And the second position information of mobile terminal, it is calculated the 3rd positional information of mobile terminal, thus avoid user and close GPS function cannot obtain the problem of positional information, improves practicality based on location-based service application, and this programme uses certainly Adapt to the strategy of computed user locations information, it is ensured that the customer location of acquisition is accurate and effective.Additionally, compare GPS location, make By network positions speed faster, and save electricity, improve Consumer's Experience.
As shown in Figure 8, method second embodiment of the present invention proposes a kind of mobile terminal locating method, corresponding above-mentioned Fig. 4 Shown device the second embodiment, this second embodiment is with the difference of the first embodiment shown in above-mentioned Fig. 7, this second reality Executing example can also be by the 3rd updating location information of calculated mobile terminal to server.
Therefore, comparing the embodiment shown in above-mentioned Fig. 7, described second embodiment method also includes:
Step S104, by the 3rd updating location information of calculated described mobile terminal to server.
By the present embodiment, mobile terminal can be by the most calculated 3rd positional information and the 3rd of acquisition last time Positional information contrasts, if there is conversion the position of mobile terminal, then by the most calculated 3rd updating location information extremely Server, to guarantee the accuracy of data, utilizes server to store terminal positional information simultaneously, can save terminal storage data Space.
As it is shown in figure 9, method the 3rd embodiment of the present invention proposes a kind of mobile terminal locating method, corresponding above-mentioned Fig. 5 Shown device the 3rd embodiment;The method the 3rd embodiment is with the difference of the second embodiment shown in above-mentioned Fig. 7, the party Method the 3rd embodiment can also select the GPS function by mobile terminal or WIFI network to obtain the positional information of mobile terminal.
Therefore, based on the embodiment shown in above-mentioned Fig. 7, the method the 3rd embodiment is inserted with monitoring mobile terminal Before SIM access to mobile network, it is also possible to including:
Step S70, whether the GPS function of monitoring mobile terminal opens;The most then enter step S80, otherwise, enter step Rapid S90;
Step S80, obtains the positional information of described mobile terminal by GPS;
Step S90, whether prompting opens GPS function;If user opens the GPS function of mobile terminal, then enter step S80;If user is not turned on the GPS function of mobile terminal, then enter step S100;
Step S100, whether monitoring mobile terminal is connected to WIFI network;If described mobile terminal is already connected to WIFI net Network, then enter step S1001;If described mobile terminal is not attached to WIFI network, then enter step S1002;
Step S1001, searches the positional information of described mobile terminal by WIFI MAC Address;
Step S1002, whether monitoring mobile terminal is inserted with SIM access to mobile network, and enters step S101.
The present embodiment is with the difference of method the second embodiment shown in above-mentioned Fig. 7, and the present embodiment is except passing through Base station obtains outside location information of mobile terminal, it is also possible to selected to obtain mobile terminal by GPS function and WIFI network by user Positional information.
Specifically, after mobile terminal-opening starts, whether the GPS function of monitoring mobile terminal opens;If monitoring shifting The GPS function of dynamic terminal has turned on, then obtained the positional information of described mobile terminal by GPS.The position obtained by GPS function Confidence breath is accurate and simple to operate, if turned off, then cannot obtain position normal through GPS.
If the GPS function monitoring mobile terminal is not opened, then prompt the user whether to open GPS function.
If user opens the GPS function of mobile terminal according to prompting, then obtained the position letter of described mobile terminal by GPS Breath;
It is still further contemplated that the signal quality situation of GPS, if the GPS function monitoring mobile terminal has turned on but GPS Signal quality the most pre-conditioned, then monitoring mobile terminal whether be inserted with SIM access to mobile network, with by move The positional information of mobile terminal described in dynamic Network Capture;If the GPS function monitoring mobile terminal has turned on, and the signal of GPS Quality reaches pre-conditioned, then obtained the positional information of described mobile terminal by GPS, thus avoid in indoor use intelligence During terminal, satellite positioning signal cannot ensure to cover every nook and cranny in skyscraper and underground installation, causes gps signal matter Measure the best disappearance causing customer position information or inaccurate problem.
Further, if user is not turned on the GPS function of mobile terminal according to prompting, then whether monitoring mobile terminal connects To WIFI network.
If mobile terminal is already connected to WIFI network, then searched the positional information of mobile terminal by WIFI MAC Address.
If described mobile terminal is not attached to WIFI network, then whether monitoring mobile terminal is inserted with SIM and accesses shifting Dynamic network.Monitoring after mobile terminal is inserted with SIM access to mobile network, according to the embodiment scheme base shown in Fig. 7 The positional information of mobile terminal is obtained in base station information.
The concrete refinement flow process of the present embodiment is referred to shown in Fig. 6.
The present embodiment passes through such scheme, is monitoring after mobile terminal is inserted with SIM access to mobile network, is obtaining The positional information of several base stations near mobile terminal, and search the first of described mobile terminal by several base stations described Positional information, obtains one group of primary importance information that mobile terminal is corresponding;According to one group of primary importance data-evaluation mobile terminal Position, obtain the second position information of mobile terminal;According to the positional information of several base stations, and the second of mobile terminal Positional information, is calculated the 3rd positional information of mobile terminal, thus avoid user and closes GPS function and cannot obtain position The problem of information, improves practicality based on location-based service application, and gps signal quality the best causing additionally can be avoided to use The disappearance of family positional information or inaccurate problem.And this programme uses the strategy of adaptive polo placement customer position information, protect Demonstrate,prove the customer location obtained accurate and effective.Additionally, compare GPS location, use network positions speed faster, and save Electricity, improves Consumer's Experience.Further, it is also possible to by the most calculated 3rd updating location information to server, To guarantee the accuracy of data, utilize server to store terminal positional information simultaneously, the space of terminal storage data can be saved; Furthermore it is also possible to selected to be obtained the positional information of mobile terminal by GPS function and WIFI network by user, thus improve shifting The motility that dynamic terminal location obtains.
It should be noted that in this article, term " includes ", " comprising " or its any other variant are intended to non-row Comprising of his property, so that include that the process of a series of key element, method, article or device not only include those key elements, and And also include other key elements being not expressly set out, or also include intrinsic for this process, method, article or device Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including this The process of key element, method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-described embodiment side Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot of in the case of The former is more preferably embodiment.Based on such understanding, prior art is done by technical scheme the most in other words The part going out contribution can embody with the form of software product, and this computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, take Business device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skills Art field, is the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. a mobile terminal positioner, it is characterised in that including:
Acquisition module, for obtaining several base station informations near described mobile terminal by mobile network, if by described A dry base station information obtains one group of primary importance information that described mobile terminal is corresponding;
Second position computing module, described mobile whole for described one group of primary importance information uses average algorithm be calculated The second position information of end;
3rd position computation module, for according to several base station informations described, calculates described mobile terminal and each base station Distance, the positional information of at least three base station based on distance minimum, and the second position information of described mobile terminal, calculate Obtain the 3rd positional information of described mobile terminal.
Device the most according to claim 1, it is characterised in that described base station information includes base coded and positional information;
Described 3rd position computation module, is additionally operable to, according to each base coded information, obtain the position letter of several base stations described Breath, according to the positional information of several base stations described, calculates the distance of described mobile terminal and each base station;Obtain distance minimum The positional information of three base stations;Obtain the barycenter oftriangle constituted with the position of described three base stations for summit;Obtain institute State the point midway between the second position of barycenter oftriangle and described mobile terminal, obtain the 3rd of described mobile terminal Confidence ceases.
Device the most according to claim 1, it is characterised in that described 3rd position computation module, is additionally operable to according to each base Stand coding information, obtain the positional information of several base stations described, according to the positional information of several base stations described, calculate described Mobile terminal and the distance of each base station;Obtain the positional information of four minimum base stations of distance;Obtain with described four base stations Position be the center of gravity of tetragon that summit is constituted;Obtain the center of gravity of described tetragon and described mobile terminal the second position it Between point midway, obtain the 3rd positional information of described mobile terminal.
4. according to the device described in claim 1,2 or 3, it is characterised in that described device also includes:
Monitoring modular, for monitoring whether the GPS function of mobile terminal opens;If the GPS function monitoring mobile terminal is not opened Open, then point out and whether open GPS function;If do not received the instruction of the GPS function opening mobile terminal yet by prompting, or The GPS function monitoring mobile terminal has turned on but the signal quality of GPS is the most pre-conditioned, then whether monitoring mobile terminal It is inserted with SIM access to mobile network, to be obtained the positional information of described mobile terminal by mobile network;
Described 3rd position computation module, if the GPS function being additionally operable to monitor mobile terminal has turned on, and the signal matter of GPS Amount reaches pre-conditioned, then obtained the positional information of described mobile terminal by GPS.
Device the most according to claim 4, it is characterised in that
Described monitoring modular, if being additionally operable to not receive the instruction of the GPS function opening mobile terminal, then monitoring mobile terminal is No it is connected to WIFI network;If described mobile terminal is not attached to WIFI network, then whether monitoring mobile terminal is inserted with SIM And access to mobile network, to be obtained the positional information of described mobile terminal by mobile network;
Described 3rd position computation module, if being additionally operable to described mobile terminal to be already connected to WIFI network, then by WIFI MAC Address searches the positional information of described mobile terminal.
6. a mobile terminal locating method, it is characterised in that including:
Several base station informations near described mobile terminal are obtained by mobile network, and by several base station informations described Obtain one group of primary importance information that described mobile terminal is corresponding;
Described one group of primary importance information is used the second position information that average algorithm is calculated described mobile terminal;
According to several base station informations described, calculate the distance of described mobile terminal and each base station, minimum extremely based on distance The positional information of few three base stations, and the second position information of described mobile terminal, be calculated the of described mobile terminal Three positional informationes.
Method the most according to claim 6, it is characterised in that described base station information includes base coded and positional information, Several base station informations described in described basis, calculate the distance of described mobile terminal and each base station, minimum extremely based on distance The positional information of few three base stations, and the second position information of described mobile terminal, be calculated the of described mobile terminal The step of three positional informationes includes:
According to each base coded information, obtain the positional information of several base stations described, according to the position of several base stations described Information, calculates the distance of described mobile terminal and each base station;
Obtain the positional information of three minimum base stations of distance;
Obtain the barycenter oftriangle constituted with the position of described three base stations for summit;
Obtain the point midway between the second position of described barycenter oftriangle and described mobile terminal, obtain described mobile whole 3rd positional information of end.
Method the most according to claim 6, it is characterised in that described base station information includes base coded and positional information, Described calculate the distance of described mobile terminal and each base station according to several base station informations, based on distance minimum at least three The positional information of individual base station, and the second position information of described mobile terminal, be calculated the 3rd of described mobile terminal The step of confidence breath includes:
According to each base coded information, obtain the positional information of several base stations described, according to the position of several base stations described Information, calculates the distance of described mobile terminal and each base station;
Obtain the positional information of four minimum base stations of distance;
Obtain the center of gravity of the tetragon constituted with the position of described four base stations for summit;
Obtain the point midway between the center of gravity of described tetragon and the second position of described mobile terminal, obtain described mobile whole 3rd positional information of end.
9. according to the method described in claim 6,7 or 8, it is characterised in that be inserted with SIM monitoring mobile terminal and connect Before entering mobile network, also include:
Whether the GPS function of monitoring mobile terminal opens;
If the GPS function monitoring mobile terminal is not opened, then point out and whether open GPS function;
If the GPS function monitoring mobile terminal has turned on, and the signal quality of GPS reaches pre-conditioned, then obtained by GPS The positional information of described mobile terminal;
If do not received the instruction of the GPS function opening mobile terminal yet by prompting, or monitor the GPS merit of mobile terminal Can have turned on but the signal quality of GPS is the most pre-conditioned, then whether monitoring mobile terminal is inserted with SIM and accesses movement Network, to obtain the positional information of described mobile terminal by mobile network.
Method the most according to claim 9, it is characterised in that after the step whether described prompting opens GPS function also Including:
If not receiving the instruction of the GPS function opening mobile terminal, then whether monitoring mobile terminal is connected to WIFI network;
If described mobile terminal is already connected to WIFI network, then searched the position letter of described mobile terminal by WIFI MAC Address Breath;
If described mobile terminal is not attached to WIFI network, then whether monitoring mobile terminal is inserted with SIM and accesses mobile network Network, to obtain the positional information of described mobile terminal by mobile network.
CN201610388473.2A 2016-06-02 2016-06-02 Mobile terminal location device and method Active CN106131777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610388473.2A CN106131777B (en) 2016-06-02 2016-06-02 Mobile terminal location device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610388473.2A CN106131777B (en) 2016-06-02 2016-06-02 Mobile terminal location device and method

Publications (2)

Publication Number Publication Date
CN106131777A true CN106131777A (en) 2016-11-16
CN106131777B CN106131777B (en) 2019-08-16

Family

ID=57270876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610388473.2A Active CN106131777B (en) 2016-06-02 2016-06-02 Mobile terminal location device and method

Country Status (1)

Country Link
CN (1) CN106131777B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106646573A (en) * 2016-12-23 2017-05-10 烟台中飞海装科技有限公司 Method of positioning person in urban area and location sending device
CN110636441A (en) * 2019-09-29 2019-12-31 联想(北京)有限公司 Information processing method and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003098953A1 (en) * 2002-05-17 2003-11-27 Siemens Aktiengesellschaft Method and device for determining a position in a mobile radio system
CN103298109A (en) * 2013-06-21 2013-09-11 北京恒远创智信息技术有限公司 Method for improving base station location success rate
CN105050180A (en) * 2015-05-21 2015-11-11 深圳市赛格导航科技股份有限公司 Terminal positioning method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003098953A1 (en) * 2002-05-17 2003-11-27 Siemens Aktiengesellschaft Method and device for determining a position in a mobile radio system
CN103298109A (en) * 2013-06-21 2013-09-11 北京恒远创智信息技术有限公司 Method for improving base station location success rate
CN105050180A (en) * 2015-05-21 2015-11-11 深圳市赛格导航科技股份有限公司 Terminal positioning method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106646573A (en) * 2016-12-23 2017-05-10 烟台中飞海装科技有限公司 Method of positioning person in urban area and location sending device
CN110636441A (en) * 2019-09-29 2019-12-31 联想(北京)有限公司 Information processing method and mobile terminal
CN110636441B (en) * 2019-09-29 2021-04-13 联想(北京)有限公司 Information processing method and mobile terminal

Also Published As

Publication number Publication date
CN106131777B (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN104754516B (en) Client password method for retrieving, device and system based on LBS
CN106951291A (en) Application program accelerates to start method and device
CN105306457B (en) Data buffer storage device and method
CN105978788A (en) Message pushing device and method thereof
CN106033570A (en) Mobile payment device and method
CN106304037A (en) The management method of virtual SIM card and device
CN106844029A (en) The device and method that a kind of Android processes of Self management are freezed and thawed
CN105843478B (en) The icon display control method and device of rapid switch
CN106155695A (en) The removing control device and method of background application
CN106231650A (en) A kind of method for network access and terminal
CN105450865A (en) Mobile terminal and method thereof for realizing Wi-Fi management
CN105847068A (en) Map marking method and terminal
CN105898703A (en) Method and device for managing identified pseudo base stations
CN106130981A (en) The self-defined device and method of digital label of augmented reality equipment
CN106686687A (en) Access control method and apparatus
CN104735254B (en) terminal screen locking method and system
CN105975500A (en) Data processing method, data statistical system and backstage management system
CN106028382A (en) NV (Nonvolatile Random Access Memory) parameter reading-writing device and method
CN106502526A (en) A kind of back-stage management method and terminal
CN104754129B (en) The determination method and device of photographed scene
CN106507460A (en) A kind of intelligent power saving method, terminal
CN106657950A (en) Projection device management device, method and projection data sharing device
CN105979080A (en) Application state display device, method and terminal
CN106131777A (en) Mobile terminal positioner and method
CN105744508B (en) Game data backup method and mobile terminal

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