Summary of the invention
The present invention is to solve how to reduce mobile terminal there is Radio Link connection failure in application E-CID function
And the case where call drop.
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;
According to the request for obtaining location information, corresponding positioning letter is obtained from the system message being previously received
Breath, and the location-server is reported to, by the location-server according to the location information reported to the mobile terminal
Geographical location positioned;
The system message being previously received includes: when the mobile terminal can not be in the idle periods of current communication mode
When being inside successfully received system message, system message is received according to preset windowing length and windowing density, it is described preset
The length that opens a window and windowing density communication pattern corresponding with the mobile terminal current communication mode and system message to be received
It is related.
Optionally, the preset windowing length and windowing density are obtained by system emulation and actual test.
Optionally, respectively refer to the mobile terminal under LTE mode using CGI function when, corresponding windowing length and
The preset windowing length and windowing density is arranged in the density that opens a window.
Optionally, the mobile terminal can not be successfully received system message in the idle periods of current communication mode, packet
Include following one of which:
The mobile terminal current communication mode does not support idle periods;
The idle periods supported are less than the first default idle period length;
The idle periods supported are greater than the second default idle period length but the idle periods configured are default less than first idle
Phase length, the first default idle period length is less than the second default idle period length.
The embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes:
First receiving unit, suitable for receiving the system message for obtaining corresponding location information, the preparatory reception in advance
To system message include: when the mobile terminal can not be successfully received system message in the idle periods of current communication mode
When, receive system message according to preset windowing length and windowing density, the preset windowing length and windowing density and
The mobile terminal current communication mode and the corresponding communication pattern of system message to be received are related;
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;
Second transmission unit, suitable for the request according to the acquisition location information, from the system message being previously received
Corresponding location information is obtained, and reports to the location-server, is believed by the location-server according to the positioning reported
Breath positions the geographical location of the mobile terminal.
Optionally, the preset windowing length and windowing density are obtained by system emulation and actual test.
Optionally, respectively refer to the mobile terminal under LTE mode using CGI function when, corresponding windowing length and
The preset windowing length and windowing density is arranged in the density that opens a window.
Optionally, the mobile terminal can not be successfully received system message in the idle periods of current communication mode, packet
Include following one of which:
The mobile terminal current communication mode does not support idle periods;
The idle periods supported are less than the first default idle period length;
The idle periods supported are greater than the second default idle period length but the idle periods configured are default less than first idle
Phase length, the first default idle period length is less than the second default idle period length.
Compared with prior art, technical solution of the present invention has at least the following advantages:
When can not be successfully received system message in the idle periods of current communication mode, by being grown according to preset windowing
Degree and windowing density receive system message, and then can be in the request for the acquisition location information for receiving location-server transmission
When, corresponding location information is obtained from received system message and reports to location-server.Due to described preset
The length that opens a window and windowing density communication pattern corresponding with the mobile terminal current communication mode and system message to be received
Correlation, therefore the corresponding information of base station transmission can not be received or timely received to avoid the mobile terminal, it reduces and moves
There is the case where Radio Link connection failure and call drop in application E-CID function in dynamic terminal.
Specific embodiment
Currently, when mobile terminal opens E-CID function, it usually needs the voluntarily scheduling measurement in present mode idle periods
With the time for reading system information in neighboring area, base station will not reserve measurement specifically for the mobile terminal and read system information in neighboring area
Time.If the mobile terminal can not be successfully received system message in the idle periods of present mode, usually to suspend
The signal for receiving current service cell, receiver is switched on the frequency point of adjacent area, and is arranged according to the soft and hardware framework of itself
Windowing length and the density that opens a window receive the system message of the adjacent area.Since mobile terminal is according to the soft and hardware framework of itself
Setting windowing length and windowing density the case where being easy to cause radio link failure appearance, especially in mobile terminal frequency one by one
When point receives system message, so that the mobile terminal can not receive or timely receive the corresponding letter of base station transmission
Breath eventually leads to the mobile terminal Radio Link connection failure, or even call drop occurs.
In view of the above-mentioned problems, the embodiment provides a kind of localization method of mobile terminal, the method can be with
When so that the mobile terminal can not be successfully received system message in the idle periods of current communication mode, opened according to preset
Window length and windowing density receive system message, and then can receive the acquisition location information of location-server transmission
When request, corresponding location information is obtained from received system message and reports to location-server.Due to described pre-
If windowing length and corresponding with the mobile terminal current communication mode and system message to be received communication of windowing density
Mode is related, and immobile terminal is configured according to the soft and hardware framework of itself, thus can to avoid the mobile terminal without
Method receives or timely receives the corresponding information of base station transmission, reduces mobile terminal and occurs wirelessly in application E-CID function
The case where link connection failure and call drop.
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 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 generate Location Request in several ways, for example, can be by described mobile whole
The application programs such as the map software at end generate Location Request.
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, it according to the request for obtaining location information, is obtained from the system message being previously received corresponding
Location information, and the location-server is reported to, by the location-server according to the location information reported to the shifting
The geographical location of dynamic terminal is positioned.
In specific implementation, the system message being previously received includes: when the mobile terminal can not lead to currently
When being successfully received system message in the idle periods of letter mode, receives system according to preset windowing length and windowing density and disappear
Breath.That is, when the mobile terminal can be successfully received system message in the idle periods of current communication mode, then
The reading for the system information in neighboring area initiated by E-CID function is placed in the idle periods.When the mobile terminal can not work as
When being successfully received system message in the idle periods of preceding communication pattern, then read according to preset windowing length and windowing density adjacent
The system message in area, i.e. the windowing length to the system message for reading adjacent area and windowing density limit, rather than by mobile whole
Hold the soft and hardware framework self-setting according to itself.
In specific implementation, the preset windowing length and windowing density and the mobile terminal current communication mode and
The corresponding communication pattern of system message to be received is related, specifically can pass through system emulation and actual test by those skilled in the art
Sets itself can also refer to the setting of similar functions in the protocol.For example, the CGI function is related to the E-CID function
And system information in neighboring area is read under connected state, therefore be referred to the mobile terminal under LTE mode using CGI function
When, the windowing length and windowing density is arranged in corresponding windowing length and windowing density, that is, the length that opens a window is 150ms, and two
Windowing interval 1s.
In specific implementation, the mobile terminal can not be successfully received system in the idle periods of current communication mode and disappear
Breath may exist a variety of situations, and the current communication mode that can be the mobile terminal does not support idle periods, be also possible to described
The idle periods that the current communication mode of mobile terminal is supported less than the first default idle period length (idle periods supported compared with
It is short), although the idle periods that can also be that the current communication mode of the mobile terminal is supported are greater than the second default idle period length
(idle periods supported are longer), but the idle periods configured are less than the second default idle period length (free time configured
Phase is shorter) etc..Wherein, the described first default idle period length is less than the second default idle period length, and can be by ability
Domain personnel are obtained by way of system emulation and actual test.
At this point, the mobile terminal can suspend the signal for receiving current service cell, and receiver is switched into adjacent area
Frequency point on, according to it is preset windowing length and open a window density receive adjacent area system message.Compared with the existing technology, according to working as
Preceding communication pattern and the corresponding communication pattern of system message to be received are arranged the preset windowing length and windowing density, can
To avoid due to the signal for not receiving current service cell for a long time with current service cell step-out, and then can be to avoid the shifting
Dynamic terminal links connection failure even call drop.
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 system message being previously received
Middle acquisition.It, on the one hand can be with when the mobile terminal reports the location information according to the request for obtaining location information
The non real-time location information is obtained from the system message being previously received, and on the other hand can pass through cell measurement
The obtained real-time location information reports to the non real-time location information and real-time location information described jointly
Location-server.
The localization method of the mobile terminal described in the embodiment of the present invention it can be seen from above content, when described mobile whole
It is close according to preset windowing length and windowing when end can not be successfully received system message in the idle periods of current communication mode
Degree receives system message, so can when receiving the request of acquisition location information of location-server transmission, directly from
Corresponding location information is read in received system message, thus can not be received to avoid the mobile terminal or and
When receive base station transmission corresponding information, reduce mobile terminal application E-CID function when there is Radio Link connection failure
And the case where call drop.
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 Fig. 2, 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 and the second transmission unit 25.Wherein:
First receiving unit 23 is suitable for receiving the system message for obtaining corresponding location information in advance, described preparatory
The system message received includes: when the mobile terminal can not be successfully received system in the idle periods of current communication mode
When message, system message is received according to preset windowing length and windowing density.Second receiving unit 22 is suitable for receiving
The stationkeeping ability that the location-server is sent reports request.First transmission unit 23 is suitable for according on the stationkeeping ability
It submits a report asking for ask to the location-server and reports stationkeeping ability information.The third receiving unit 24 is suitable for receiving the positioning service
The request for the acquisition location information that device is generated according to the stationkeeping ability information reported.Second transmission unit 25 is suitable for basis
The request for obtaining location information, obtains corresponding location information, and report to institute from the system message being previously received
Location-server is stated, is carried out by the location-server according to geographical location of the location information reported to the mobile terminal
Positioning.
In specific implementation, the preset windowing length and windowing density and the mobile terminal current communication mode and
The corresponding communication pattern of system message to be received is related, specifically can pass through system emulation and actual test by those skilled in the art
Sets itself can also refer to the setting of similar functions in the protocol.For example, the CGI function is related to the E-CID function
And system information in neighboring area is read under connected state, therefore be referred to the mobile terminal under LTE mode using CGI function
When, the windowing length and windowing density is arranged in corresponding windowing length and windowing density, that is, the length that opens a window is 150ms, and two
Windowing interval 1s.
In specific implementation, the mobile terminal can not be successfully received system in the idle periods of current communication mode and disappear
Breath, the current communication mode that can be the mobile terminal do not support idle periods, are also possible to the current logical of the mobile terminal
The idle periods that letter mode is supported can also be described less than the first default idle period length (idle periods supported are shorter)
Although the idle periods that the current communication mode of mobile terminal is supported are greater than the second default idle period length (idle periods supported
It is longer), but the idle periods configured are less than second default idle period length (idle periods configured are shorter) etc..Wherein, institute
The first default idle period length is stated less than the second default idle period length, and can pass through system emulation by those skilled in the art
And the mode of actual test obtains.
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 is received, and then can be when third receiving unit 24 receives the request for obtaining location information, directly from institute
It states and reads corresponding location information in the first system message.Due to first receiving unit 21 according to preset windowing length and
The density that opens a window receives the system message of adjacent area, also, the preset windowing length and windowing density are worked as with the mobile terminal
Preceding communication pattern and the corresponding communication pattern of system message to be received are related, can not receive to avoid the mobile terminal
Or the corresponding information of base station transmission is timely received, it reduces mobile terminal and Radio Link connection occurs in application E-CID function
The case where failure and call drop.
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.