Summary of the invention
The present invention is to solve how rapidly to position to mobile terminal, and reduce the function of the mobile terminal
Consumption.
To solve the above problems, the embodiment of the invention provides a kind of localization methods of mobile terminal, which comprises
It receives the stationkeeping ability that location-server is sent and reports request;
Request is reported to report stationkeeping ability information to the location-server according to the stationkeeping ability;
Receive the request for the acquisition location information that the location-server is generated according to the stationkeeping ability information reported;
The system message that the cell being previously received is read according to the request for obtaining location information, from read system
Corresponding location information is obtained in system message, and reports to the location-server, by the location-server according to being reported
Location information the geographical location of the mobile terminal is positioned;
The system message of the cell being previously received includes:
The mobile terminal resides in the first system message received when previous serving cell, and the first system disappears
It is identical with the adjacent area of currently resident serving cell in the adjacent area for the previous serving cell that breath is resident for the mobile terminal
The system message of cell;
The mobile terminal resides in second system message received when current service cell, and the second system disappears
Breath is in the adjacent area for the current service cell that the mobile terminal is resident, and different from the adjacent area for being resident previous serving cell is small
The system message in area.
Optionally, the first system message and second system message are that cell that signal quality meets preset condition is
System message.
Optionally, the preset condition includes: that the cell signal strength is greater than the first preset threshold, and the cell
Signal is disturbed degree less than the second preset threshold.
Optionally, the system for reading the cell for meeting preset condition according to the request for obtaining location information disappears
Breath, comprising:
It is successively read according to the request for obtaining location information according to the priority orders of the signal quality of the cell
Take the system message of respective cell.
Optionally, the signal quality meets in the system message of the cell of preset condition, effective system message number etc.
In third preset threshold.
The embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes:
First receiving unit meets the system message of the cell of preset condition suitable for preparatory received signal quality, wherein institute
The system message for stating the cell being previously received includes:
The mobile terminal resides in the first system message received when previous serving cell, and the first system disappears
It is identical with the adjacent area of currently resident serving cell in the adjacent area for the previous serving cell that breath is resident for the mobile terminal
The system message of cell;
The mobile terminal resides in second system message received when current service cell, and the second system disappears
Breath is in the adjacent area for the current service cell that the mobile terminal is resident, and different from the adjacent area for being resident previous serving cell is small
The system message in area;
Second receiving unit reports request suitable for receiving the stationkeeping ability that the location-server is sent;
First transmission unit, suitable for reporting request to report stationkeeping ability to the location-server according to the stationkeeping ability
Information;
Third receiving unit, the acquisition generated suitable for receiving the location-server according to the stationkeeping ability information reported
The request of location information;
Reading unit, the system suitable for reading the cell being previously received according to the request for obtaining location information disappear
Breath;
Second transmission unit suitable for obtaining corresponding location information from read system message, and reports to described
Location-server is determined by the location-server according to geographical location of the location information reported to the mobile terminal
Position.
Optionally, the first system message and second system message that first receiving unit receives are full for signal quality
The system message of the cell of sufficient preset condition.
Optionally, the preset condition includes: that the cell signal strength is greater than the first preset threshold, and the cell
Signal is disturbed degree less than the second preset threshold.
Optionally, the reading unit is suitable for according to the request for obtaining location information, according to the signal of the cell
The priority orders of quality are successively read the system message of respective cell.
Optionally, the signal quality that first receiving unit receives meets the system message of the cell of preset condition
In, effective system message number is equal to third preset threshold.
Compared with prior art, technical solution of the present invention has at least the following advantages:
By receiving the first system message and second system message in advance, and then can be sent receiving location-server
Acquisition location information request when, location information is directly read from preparatory received system message and reports to positioning service
Device, and need not repeat to receive the system message of cell, therefore the power consumption of the mobile terminal can be reduced, and can be rapidly
The geographical location of the mobile terminal is positioned.
Specific embodiment
Currently, being received when usually will reside in previous serving cell after mobile terminal resides in current service cell
The system information in neighboring area arrived is all deleted, and to collect each neighbour after causing the mobile terminal to reside in current service cell again
When the system message in area, power wastage is caused, and location-server can not rapidly position the mobile terminal.
In view of the above-mentioned problems, the embodiment provides a kind of localization method of mobile terminal, the method can be with
So that the system message of the preparatory cell of mobile terminal, and then can be in the acquisition positioning letter for receiving location-server transmission
When the request of breath, location information directly is read from preparatory received system message, and report to location-server, by described fixed
Position server is positioned according to geographical location of the location information reported to the mobile terminal.
Since the cell system message being previously received both had included that the mobile terminal resides in previous serving cell when institute
The first system message received, and second system message received when current service cell is resided in, also, described
One system message is the adjacent area in the adjacent area for the previous serving cell that the mobile terminal is resident, with currently resident serving cell
In identical cell system message, it is described second system message be the mobile terminal be resident current service cell adjacent area
In, the system message of the cell different from the adjacent area for being resident previous serving cell.That is, receiving location-server
Before the request of the acquisition location information of transmission, retain the mobile terminal reside in received when previous serving cell with work as
The system message of the identical adjacent area of preceding resident serving cell, and then current service cell can be resided in the mobile terminal
When, without the system message for receiving adjacent area identical as previous serving cell is repeated, so as to reduce the mobile terminal
Power consumption, and the location-server can be allowed rapidly to position to the mobile terminal.
To make the above purposes, features and advantages of the invention more obvious and understandable, with reference to the accompanying drawing to the present invention
Specific embodiment be described in detail.
As shown in Figure 1, the embodiment of the invention provides a kind of localization methods of mobile terminal.
The method may include following steps:
Step 11, it receives the stationkeeping ability that location-server is sent and reports request.
In specific implementation, the location-server is obtained by way of sending stationkeeping ability request to mobile terminal
The current stationkeeping ability of the mobile terminal.Wherein, whether the stationkeeping ability of the mobile terminal, i.e., the described mobile terminal can be with
Obtain the ability of related position information.
In specific implementation, the location-server transmission stationkeeping ability can be triggered using various ways report request,
For example, the location-server can be triggered in such a way that the mobile terminal sends Location Request to the location-server
It sends stationkeeping ability and reports request;It can also be in such a way that the location-server sends Location Request to the mobile terminal
It triggers the location-server transmission stationkeeping ability and reports request.That is, the location-server and mobile terminal all may be used
Request is reported to trigger the location-server transmission stationkeeping ability.Wherein, the mobile terminal can produce in several ways
Raw Location Request, for example, Location Request can be generated by application programs such as the map softwares of the mobile terminal.
It should be noted that in an embodiment of the present invention, the mobile terminal refers to the meter that can be used on the move
Calculate machine equipment, the including but not limited to equipment such as mobile phone, notebook, tablet computer and vehicle-mounted computer.The mobile terminal can be with
It supports two kinds of communication patterns, can also support the communication pattern of three kinds or more.It is specific no matter the mobile terminal can be with
How is the quantity of the communication pattern of support, is not construed as limiting the invention, and within the scope of the present invention.
It should be noted that in an embodiment of the present invention, the location-server can be an independent Special clothes
Business device, can also provide other services, for example one piece of dedicated memory block and memory can be opened up on other servers simultaneously
Area, to provide positioning service.Certainly, whether use which kind of mode location-server, can with the mobile terminal into
Row communication.
It should be noted that between the mobile terminal and the location-server can by the way of wired connection into
Row communication can also be communicated by the way of being wirelessly connected.Wherein, the method for the wireless connection may include WiFi,
The communications such as bluetooth, infrared.It is specific no matter the connection type between the mobile terminal and the location-server such as
What, is not construed as limiting the invention, and within the scope of the present invention.
Step 12, request is reported to report stationkeeping ability information to the location-server according to the stationkeeping ability.
When the mobile terminal, which receives the stationkeeping ability, reports request, the stationkeeping ability of itself is reported to described
Location-server.Wherein, the stationkeeping ability of the mobile terminal had both included the stationkeeping ability to cell each under current communication networks,
It again include the stationkeeping ability to cell each under different system.
In specific implementation, in addition to the corresponding communication system of current communication pattern, the mobile terminal supported its
His communication system is different system.For example, the current communication pattern of the mobile terminal is LTE mode, corresponding present communications
System is LTE system.The different system can be WLAN (Wireless Local Area Network, WLAN), entirely
Ball mobile communication system (Global System For Mobile, GSM), TD SDMA (Time Division-
Synchronous Code Division Multiple Access, TD-SCDMA) and CDMA (Code Division
One or more of Multiple Access, CDMA) systems such as 2000.
The mobile terminal is when reporting stationkeeping ability information, in addition to the stationkeeping ability information for reporting current communication networks,
The stationkeeping ability information of at least one different system can also be reported.At least one described different system, can be the mobile terminal
One in different system supported, is also possible to two or more.In one embodiment of this invention, described mobile whole
End can report the stationkeeping ability information of current communication networks and the stationkeeping ability information of whole different systems.
Step 13, the acquisition location information that the location-server is generated according to the stationkeeping ability information that is reported is received
Request.
After the location-server receives the stationkeeping ability information of mobile terminal transmission, it can produce corresponding obtain and determine
The request of position information.For example, when the stationkeeping ability information that the mobile terminal is reported includes LTE communication system and WLAN communication
When system, the request for obtaining location information obtains the related position information of LTE communication system and WLAN communication system.
Step 14, the system message that the cell being previously received is read according to the request for obtaining location information, from institute
Corresponding location information is obtained in the system message of reading, and reports to the location-server, by the location-server root
It is positioned according to geographical location of the location information reported to the mobile terminal.
In one embodiment of this invention, the system message of the cell being previously received may include: the first system
Message and second system message.Wherein, the first system message resides in previous serving cell when institute for the mobile terminal
The system message of the adjacent area received, the second system message connect when residing in current service cell by the mobile terminal
The system message of the adjacent area received.The first system message and second system message can only include a system message,
It can respectively include multiple pieces of system message.Therefore, the system to the poor cell of signal quality is being reduced by the preset condition
After the unnecessary reception of message, the repetition of system message can also be connect by the first system message and the reduction of second system message
It receives, to further decrease the power consumption of the mobile terminal.
Specifically, the first system message is and to work as in the adjacent area for the previous serving cell that the mobile terminal is resident
The system message of identical cell in the adjacent area of preceding resident serving cell.The second system message is that the mobile terminal is stayed
In the adjacent area for the current service cell stayed, the system message of the cell different from the adjacent area for being resident previous serving cell.At this point,
After the mobile terminal resides in current service cell, without the system message for deleting all adjacent areas, it can be appropriately extended and work as
The storage period of the system message of identical cell in the adjacent area of preceding resident serving cell.
For example, the adjacent area of cell A and cell B include cell C in cellular cell as described in Figure 2, when described mobile whole
When end switches to cell B by cell A, if the mobile terminal had received the system message of cell C when residing in cell A,
After the mobile terminal resides in cell B, without receiving the system message of cell C again, and directly reads the mobile terminal and stay
Stay in the system message of received cell C when cell A.
It should be noted that in specific implementation, it can be according to communication pattern, frequency point and the physical area where cell
Number judge identical cell in the adjacent area of previous serving cell and the adjacent area of current service cell.When leading to for the place of two cells
When letter mode, frequency point and physical area number all the same, determine the two cells for same cells.When two cells communication pattern,
When one or two of frequency point and physical area number are above different, determine the two cells for different community.
Since current mobile terminal is when collecting the system message of different adjacent areas, if carrying the letter of different system information in neighboring area
The weak output signal in road is heavily disturbed, i.e., the signal quality of the described channel for carrying different system information in neighboring area is poor,
Under normal conditions, the system message that the mobile terminal may repeatedly read the cell can not also be successfully decoded, and cause function
Consumption waste.
Also, when the channel respective cell that the mobile terminal is first read or earlier reading signal quality is poor
When system message, if the system message of the cell can not be successfully decoded, will lead to the mobile terminal can not be in the defined time
The case where being easy the system message of decoded cell behind interior reading, and then the mobile terminal reporting usually occur not in time.
For this problem, in an embodiment of the present invention, the first system message and second system message are signal matter
Amount meets the system message of the cell of preset condition.That is, after the mobile terminal is resident a serving cell, Ke Yigen
It is screened according to the cell that signal quality treats received system message, only received signal quality meets the cell of preset condition
System message.In this way, the mobile terminal would not waste power consumption because of the system message of the cell of received signal quality difference, with
And the case where reporting orientation information occur not in time.
In specific implementation, the signal quality can be disturbed degree measurement by signal strength and signal.Therefore, described
Preset condition may include: that the cell signal strength is greater than the first preset threshold, and the cell signal is disturbed journey
Degree is less than the second preset threshold.Wherein, first preset threshold and the second preset threshold can be by those skilled in the art by having
The test of limit time and relevant theoretical calculation obtain.According to the preset condition, the mobile terminal when receiving system message,
Signal strength can be less than or equal to the cell of the first preset threshold and signal is disturbed degree more than or equal to the second default valve
The cell of value excludes except the cell of system message to be received, it is possible thereby to which the mobile terminal is avoided to receive signal strength
The system message of weaker cell, and it is disturbed the system message of degree large cell.
In specific implementation, the intensity of the cell signal and be disturbed degree can be by being measured to correlated channels
To realize.For example, can be obtained by the channel where the corresponding frequency pilot sign of measurement for the cell under WLAN communication pattern
It obtains the intensity of the cell signal and is disturbed degree.It, can be corresponding with reference to letter by measurement for the cell under LTE communication mode
Channel where number obtains the intensity of the cell signal and is disturbed degree.
It in specific implementation, can be according to the signal of cell after obtaining the intensity of each cell signal and being disturbed degree
Quality priority sequence, the i.e. signal quality of cell, to poor sequence, are successively read the system message of respective cell, by good with more
The appearance for causing location information to report situation not in time due to the system message because first reading poor signal quality cell is avoided well.
In order to further decrease the power consumption of the mobile terminal, in specific implementation, the signal quality can be met
Effective system message number is limited in the system message of the cell of preset condition.That is, when the mobile terminal is stayed
After staying a serving cell, if received signal quality meets in the system message of the cell of preset condition, effective system message
Quantity when being equal to third preset threshold, pause receives the system message of other adjacent areas, and otherwise continue to other adjacent areas is
System message, until the quantity of effective system message is equal to third preset threshold in the system message of received adjacent area.Wherein, institute
Stating third preset threshold can be obtained by those skilled in the art by the test of limited times and relevant theoretical calculation, can also be by institute
Communication protocol between mobile terminal and location-server is stated to provide.The received signal quality meets the cell of preset condition
System message include the first system message.
In specific implementation, the mobile terminal can know the quantity of the effective system message in several ways
Whether third preset threshold is reached, it, can also be with for example, can be counted by the quantity to the effective system message reported
By receiving the corresponding message etc. that the location-server is sent.
In specific implementation, the location information may include: real-time location information and non real-time location information.
Wherein, the real-time location information can be obtained by way of cell measurement by the mobile terminal, for example, each cell
Signal strength.The non real-time location information can read corresponding system message by the mobile terminal to obtain, for example,
Land Public Mobile Communication Network (Public Land Mobile Network, PLMN), Location Area Code (Location Area
Code, LAC), Route Area code (Routing Area Code, RAC), tracking area code (Tracking Area Code, TAC),
Unique Cell ID (Global Cell Identity, Global Cell ID), subdistrict frequency point (freq), physical area in PLMN
Information such as number (phy cell id).It is understood that the location information of different communication systems is different, specific location information
Content with no restriction, takes as long as the mobile terminal can report to location information some or all of under correspondence system to position
Business device.
In an embodiment of the present invention, the non real-time location information can be from the first system message being previously received
And it is obtained in second system message.When the mobile terminal reports the location information according to the request for obtaining location information
When, the non real-time positioning letter on the one hand can be obtained from the first system message and second system message being previously received
Breath, the real-time location information that on the other hand can be obtained by cell measurement, by the non real-time location information and
Real-time location information reports to the location-server jointly.
In specific implementation, the mobile terminal does not make the mode that the location information reports to the location-server
It limits, as long as the location-server can receive the location information.For example, can be by the location information to believe
The mode of order is sent to the location-server, and it is described fixed location information can also to be sent in such a way that IP data-link is informed of a case
Position server.
The localization method of the mobile terminal described in the embodiment of the present invention it can be seen from above content, by receiving in advance
The first system message and second system message, and then can be in the request for the acquisition location information for receiving location-server transmission
When, location information directly is read from preparatory received system message, and report to location-server, by the location-server
It is positioned according to geographical location of the location information reported to the mobile terminal, so that repetition reception system be avoided to disappear
Breath, therefore the location-server can quickly position the mobile terminal, and can be effectively reduced described mobile whole
The power consumption at end.
In order to more fully understand those skilled in the art and realize the present invention, above-mentioned mobile terminal is determined individually below
Method corresponding mobile terminal in position is described in detail.
As shown in figure 3, the embodiment of the invention provides a kind of mobile terminals 20.In an embodiment of the present invention, the shifting
Dynamic terminal refers to the computer equipment that can be used on the move, including but not limited to mobile phone, notebook, tablet computer and vehicle
Carry apparatus such as computer.The mobile terminal can support two kinds of communication patterns, can also support the communication of three kinds or more
Mode, the quantity for the communication pattern that can specifically support regardless of the mobile terminal, is not construed as limiting the invention.
Specifically, the mobile terminal 20 may include: the first receiving unit 21, and the second receiving unit 22, first sends
Unit 23, third receiving unit 24, reading unit 25 and the second transmission unit 26.Wherein:
First receiving unit 21 is suitable for receiving the system message of cell in advance.Second receiving unit 22 is suitable for connecing
It receives the stationkeeping ability that the location-server is sent and reports request.First transmission unit 23 is suitable for according to the stationkeeping ability
Request is reported to report stationkeeping ability information to the location-server.The third receiving unit 24 is suitable for receiving the positioning clothes
The request for the acquisition location information that business device is generated according to the stationkeeping ability information reported.The reading unit 25 is suitable for according to institute
State the system message for requesting to read the cell being previously received for obtaining location information.Second transmission unit 26 is suitable for from institute
Corresponding location information is obtained in the system message of reading, and reports to the location-server, by the location-server root
It is positioned according to geographical location of the location information reported to the mobile terminal.
In specific implementation, the system message for the cell that first receiving unit 21 is previously received may include: institute
State the first system message and second system message.Wherein, the first system message is resident previous for the mobile terminal
System message in the adjacent area of serving cell, with identical cell in the adjacent area of currently resident serving cell.Second system
It is different from the adjacent area for being resident previous serving cell in the adjacent area for the current service cell that message of uniting is resident for the mobile terminal
Cell system message.
In specific implementation, the first system message and second system message are that signal quality meets the small of preset condition
The system message in area.Specifically, the preset condition may include: the cell signal strength greater than the first preset threshold, and
And the cell signal is disturbed degree less than the second preset threshold.Wherein, first preset threshold and the second default valve
Value can be obtained by those skilled in the art by the test of limited times and relevant theoretical calculation.It is described according to the preset condition
Signal strength can be less than or equal to the first preset threshold and signal by dry when receiving system message by the first receiving unit 21
The cell that degree is more than or equal to the second preset threshold is disturbed, is excluded except the cell of system message to be received, it is possible thereby to avoid
The mobile terminal receives the system message of signal strength weaker cell, and the system for being disturbed degree large cell disappears
Breath.
It in specific implementation, can be according to the signal of cell after obtaining the intensity of each cell signal and being disturbed degree
Quality priority is ranked up.The reading unit 25 can be according to the priority orders of the signal quality of the cell, successively
Read the system message of respective cell.
In specific implementation, what the signal quality that first receiving unit 21 receives met the cell of preset condition is
In message of uniting, effective system message number is equal to third preset threshold.That is, when the resident service of the mobile terminal is small
Qu Hou, if in the system message for the cell that the received signal quality of first receiving unit 21 meets preset condition, effectively
When the quantity of system message is equal to third preset threshold, pause receives the system message of other adjacent areas, otherwise continues to other
The system message of adjacent area, until the quantity of effective system message is equal to the default valve of third in the system message of received adjacent area
Value.
The mobile terminal described in the embodiment of the present invention it can be seen from above content, in advance by the first receiving unit 21
The first system message and second system message are received, and then can be received in third receiving unit 24 and obtain asking for location information
When asking, directly meets from the signal quality and read corresponding location information in the system message of the cell of preset condition, thus
It avoids the mobile terminal from repeating to receive system message, therefore can allow the location-server more rapidly to institute
It states mobile terminal to be positioned, and the power consumption of the mobile terminal can be effectively reduced.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: ROM, RAM, disk or CD etc..
Although present disclosure is as above, present invention is not limited to this.Anyone skilled in the art are not departing from this
It in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim institute
Subject to the range of restriction.