CN103987022B - A kind of location information inquiry method, system and mobile terminal based on mobile terminal - Google Patents
A kind of location information inquiry method, system and mobile terminal based on mobile terminal Download PDFInfo
- Publication number
- CN103987022B CN103987022B CN201410244827.7A CN201410244827A CN103987022B CN 103987022 B CN103987022 B CN 103987022B CN 201410244827 A CN201410244827 A CN 201410244827A CN 103987022 B CN103987022 B CN 103987022B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- location information
- information
- cloud server
- sent
- 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.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the present application discloses a kind of location information inquiry method, system and mobile terminal based on mobile terminal, wherein querying method includes:Mobile terminal obtains the location information of itself in any time of communication process;The location information includes:Latitude and longitude information and/or geographical location information;The location information got is sent to cloud server by the mobile terminal log-on data business, so that the location information is saved in the account of the mobile terminal by cloud server, when user needs to inquire the historical position information of the mobile terminal, using the account information of the mobile terminal, logs in the cloud server and inquire corresponding location information.The application can solve the problems, such as that place information inquiry is inconvenient and inaccurate in the prior art.
Description
Technical field
This application involves fields of communication technology, more particularly to the place information inquiry side based on mobile terminal
Method, system and mobile terminal.
Background technology
With the development of the communication technology, mobile terminal has become the indispensable part of people's daily life.Such as:
People can be contacted by mobile terminal and friend's call, can also obtain information and money from internet by mobile terminal
Source can also pass through private capsule information of mobile terminal administration oneself etc..Since the function of mobile terminal can meet
The basic daily demand of people, therefore, mobile terminal have become a kind of portable equipment of people, common mobile terminal
There are mobile phone, smart mobile phone, notebook, tablet computer etc..
When mobile terminal is lost, the position before user needs to inquire the mobile terminal is found to track, alternatively, when using
Family need to know mobile terminal front position, be required to orient general position by base station from operator there, this
Kind inquiry mode needs user that operator there is gone to inquire in person, and the position inquired is only a value range.
Based on this, at present a technical problem that is urgently needed by the technical personnel in the field at present is that:How to innovate
A kind of location information inquiry method based on mobile terminal of offer, to solve to be inconvenient to inquire in the prior art, and inquire
The inaccurate problem in position.
Invention content
In view of this, the location information inquiry method that this application provides a kind of based on mobile terminal, system and it is mobile eventually
End can solve the problems, such as that inquiring position information is inconvenient and inaccurate in the prior art.
To achieve the above object, the application provides the following technical solutions:
First aspect this application provides a kind of location information inquiry method based on mobile terminal, the method includes:
Mobile terminal obtains the location information of itself in any time of communication process;The location information includes:Longitude and latitude
Spend information and/or geographical location information;
The location information got is sent to cloud server by the mobile terminal log-on data business, so that high in the clouds takes
The location information is saved in the account of the mobile terminal by business device, when user needs to inquire the history bit of the mobile terminal
When confidence ceases, using the account information of the mobile terminal, logs in the cloud server and inquire corresponding location information.
Preferably, described in the mobile terminal before the location information that any time of communication process obtains itself
Method further includes:
Mobile terminal sends inquiry status request in any time of communication process to base station, so that the base station receives institute
After stating inquiry status request, inquiry home location register whether there is the user identity identification number of the mobile terminal, such as
Fruit is to send local state information to the mobile terminal;Otherwise, roaming state information is sent to the mobile terminal;
What is received when the mobile terminal is roaming state information, then the mobile terminal execution appointing in communication process
When between obtain the operation of the location information of itself;
What is received when the mobile terminal is local state information, then the mobile terminal checks that user asks, when with
When family request is reporting position information, the mobile terminal execution obtains the location information of itself in any time of communication process
Operation.
Preferably, the mobile terminal obtains the location information of itself in any time of communication process, including:
The mobile terminal starts the GPS positioning function of itself and determines the location information of itself, the location information packet
It includes:Latitude and longitude information and/or geographical location information;Alternatively,
The mobile terminal first measures the distance between at least three base stations, then is respectively passed through distance by base station
Core net finally receives the location information of the mobile terminal forwarded by mobile terminal current home base station, institute's rheme
Confidence ceases:Latitude and longitude information and/or geographical location information;The location information is utilized by the core net and is received
The location information for the mobile terminal that distance and respective base station location determination go out.
Preferably, the location information got is sent to cloud server by the mobile terminal log-on data business, packet
It includes:
Whether the mobile terminal check current network connects normally;
If so, the location information got is sent to cloud server by the mobile terminal log-on data business;
Otherwise, the mobile terminal first caches accessed location information, when waiting for network connection normal, then will be obtained
The location information got is sent to cloud server.
Preferably, the location information got is sent to cloud server in the mobile terminal log-on data business
Meanwhile the method further includes:
Local zone time is sent to cloud server by the mobile terminal.
Second aspect, this application provides a kind of mobile terminal, the mobile terminal includes:
Location information acquiring unit, for obtaining the location information of itself in any time of communication process;The position
Information includes:Latitude and longitude information and/or geographical location information;
The location information got is sent to cloud server by position information sending unit for log-on data business,
So that the location information is saved in the account of the mobile terminal by cloud server, so that cloud server is by the position
The account of information preservation to the mobile terminal is utilized when user needs to inquire the historical position information of the mobile terminal
The account information of the mobile terminal logs in the cloud server and inquires corresponding location information.
Preferably, the mobile terminal further includes:
Query unit sends inquiry status request, so that the base station for any time in communication process to base station
After receiving the inquiry status request, inquiry home location register whether there is the user identity identification of the mobile terminal
Number, if so, sending local state information to the mobile terminal;Otherwise, roaming state information is sent to the mobile terminal;
First trigger element, for when the mobile terminal receive be roaming state information when, trigger the position
Information acquisition unit, which executes, obtains operation;
Second trigger element, for when the mobile terminal receive be local state information when, then it is described it is mobile eventually
End checks that user asks, and when user's request is reporting position information, triggers the location information acquiring unit execution and obtains behaviour
Make.
Preferably, the location information acquiring unit includes:
First obtains subelement, and the position of itself is determined for starting the mobile terminal GPS positioning function of itself
Information, the location information include:Latitude and longitude information and/or geographical location information;Alternatively,
Second obtains subelement, for the distance between first measuring at least three base stations, then respectively will be away from by base station
From core net is passed through, the position letter of the mobile terminal forwarded by mobile terminal current home base station is finally received
Breath, the location information include:Latitude and longitude information and/or geographical location information;The location information is by core net profit
With the location information for the mobile terminal that the distance and respective base station location determination that are received go out.
Preferably, the position information sending unit includes:
Subelement is checked, for checking whether current network connects normally, if so, the first transmission sub-unit of triggering, no
Then, the second transmission sub-unit is triggered;
The location information got is sent to cloud server by the first transmission sub-unit for log-on data business;
Second transmission sub-unit, for first caching accessed location information, when waiting for network connection normal, then by institute
The location information got is sent to cloud server.
Preferably, the mobile terminal further includes:
Temporal information transmission unit is used for while position information sending unit is executed and sent, by the mobile terminal
Local zone time be sent to cloud server.
The third aspect this application provides a kind of place information inquiry system based on mobile terminal, the system comprises:
Mobile terminal and cloud server described in any one of the above embodiments;
The mobile terminal registers an account in the cloud server in advance, and the account is for storing the shifting
Dynamic terminal is sent to the location information of cloud server.
It can be seen via above technical scheme that compared with prior art, the application, which discloses, to be provided based on mobile terminal
Location information inquiry method obtains the location information of itself by mobile terminal in any time of communication process first;It is described
Location information includes:Latitude and longitude information and/or geographical location information;Then, mobile terminal log-on data business will be got
Location information is sent to cloud server, so that the location information is saved in the account of the mobile terminal by cloud server
Family, using the account information of the mobile terminal, is logged in when user needs to inquire the historical position information of the mobile terminal
The cloud server inquires corresponding location information.As long as due to mobile terminal carry out telephone operation, must by itself
Location information is sent to high in the clouds to preserve, and high in the clouds can realize that network accesses user anywhere or anytime, can also realize that information is total
It enjoys.Therefore, when any one user wants to inquire the historical position information of the mobile terminal, it is only necessary to log in cloud server
In the mobile terminal account, this mode is more convenient also more humane for user, furthermore due to reporting
Location information be latitude and longitude information and/or geographical location information, therefore, compared with the value range inquired in the prior art, this
The query scheme of invention can realize the higher query result of precision.Furthermore inquiry system provided by the invention and movement are eventually
The operation principle at end is identical as above-mentioned inquiry mode, therefore, equally has inquire convenient, query result compared with prior art
Accurate advantageous effect.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow chart of location information inquiry method embodiment 1 of the application based on mobile terminal;
Fig. 2 is the flow chart of location information inquiry method embodiment 2 of the application based on mobile terminal;
Fig. 3 is the flow chart of the application mobile terminal embodiment 1;
Fig. 4 is the flow chart of the application mobile terminal embodiment 2;
Fig. 5 is the structural schematic diagram of place information inquiry system embodiment 1 of the application based on mobile terminal.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
It is the flow chart of the location information inquiry method embodiment 1 based on mobile terminal referring to Fig. 1, Fig. 1.The present embodiment carries
The technical scheme comprises the following steps for confession:
Step 101:Mobile terminal obtains the location information of itself in any time of communication process;The location information packet
It includes:Latitude and longitude information and/or geographical location information.
Wherein, mobile terminal can be the terminal device that call function and network connecting function may be implemented in any one.
No matter mobile terminal is calling party or callee, as long as executing acquisition operation in talking state.Mobile terminal can
, can also be when talk business just terminate with when talk business just triggers, it can also be during talk business carries out
Some time start execute obtain operation.Location information includes:Latitude and longitude information and/or geographical location information.Longitude and latitude
Information refers to longitude and latitude value;Geographical location information refers to actual geographic position, when user is whole using movement in Beijing Station
It is exactly " the Dongcheng District, Beijing during March gulfs Mao Jia lane first 13 " by the geographical location information that acquisition for mobile terminal arrives when end.
Preferably, this step can be realized by following two modes, including:
The mobile terminal starts the GPS positioning function of itself and determines the location information of itself, the location information packet
It includes:Latitude and longitude information and/or geographical location information.Alternatively,
The mobile terminal first measures the distance between at least three base stations, then is respectively passed through distance by base station
Core net finally receives the location information of the mobile terminal forwarded by mobile terminal current home base station, institute's rheme
Confidence ceases:Latitude and longitude information and/or geographical location information;The location information is utilized by the core net and is received
The location information for the mobile terminal that distance and respective base station location determination go out.
Wherein, GPS, that is, global positioning system (Global Position System).Briefly, this is
One satellite system being made of 24 satellites covering the whole world.This system can ensure at any time, arbitrary on the earth
4 satellites a little can be observed simultaneously, to ensure that satellite can collect the longitude and latitude and height of the observation point, so as to reality
The now functions such as navigation, positioning, time service.For mobile terminal, if it is desired to realize GPS positioning function, inside can install
One GPS module.
It should be noted that latitude and longitude information and geographical location information corresponding can be converted, that is, know one of them both
Another information can be converted out.Such as:Latitude and longitude value is tested, then can determine specific geography according to the latitude and longitude value
Position.
Step 102:The location information got is sent to cloud server by the mobile terminal log-on data business, with
Make cloud server that the location information to be saved in the account of the mobile terminal, when user needs to inquire the mobile terminal
Historical position information when, using the account information of the mobile terminal, log in the cloud server and inquire corresponding position
Information.
When location information can be sent to cloud service by the mobile terminal at once after getting location information
Device can also be that location information is sent to cloud server again after waiting for end of conversation.Cloud server has larger deposit
Energy storage power and processing capacity need first to take beyond the clouds if user wants the relevant information of mobile terminal being saved in cloud server
Business device one account of application, can be arranged name on account, account password etc..It is the mobile terminal that name on account, which can be arranged, in user
Identity code either one title account title of User Defined can be independently indicated by number, word, picture or
Combination indicates.Name on account should there are correspondences between mobile terminal, so that cloud server determines the mobile terminal
Corresponding name on account.It is of course also possible to without setting, but mobile terminal is while sending location information, it is also necessary to it accuses
Know cloud server account information.When user starts talk business, mobile terminal can will send information to cloud service
Device is to be stored in apllied account.
It, can be according to the movement after the location information for receiving mobile terminal transmission for cloud server
The correspondence of the user identity number and account of terminal, location information is saved in corresponding account.Cloud server
The account information that can be sent according to mobile terminal, location information is saved in corresponding account.Cloud server can be with
The location information of reception is saved in corresponding account successively according to the time sequencing for receiving location information, while can also
Record the correspondence of receiving time and location information.Such as:When the mobile terminal of user is mobile phone, and its user identity is numbered
It is cell-phone number, user applies for that the name on account of account setup is " making progress every day ", and password is " 123 ", when cloud server receives
After the location information sent to the mobile terminal, just according to the correspondence between cell-phone number and account name, by location information
It is saved in the account that name on account is " making progress every day ".Certainly, user can also be by account while sending location information
Title " making progress every day " and password " 123 " while being sent to cloud server, at this point, cloud server first determine name on account and
Password is accurate and then location information is stored in this account.Certainly, there can also be others in practical applications
Mode so that the location information that mobile terminal is sent is stored in corresponding account by cloud server, does not do specific limit herein
It is fixed.
When the user oneself of mobile terminal wants query history location information, then the user can pass through the mobile terminal
Cloud server can also be logged in by other equipment, relevant bits confidence is inquired into the account of oneself using account information
Breath.
When other users want the historical position information of the inquiry mobile terminal, then other users can pass through arbitrary equipment
Cloud server is logged in, relevant location information inquired according to the corresponding account information of the mobile terminal.Such as:User can be with
The account information of oneself server beyond the clouds is informed into the relatives and friends of oneself, so that relatives and friends can log in anywhere or anytime
Cloud server inquires the historical position information of user oneself.User can also be by the account information of oneself server beyond the clouds
Be set as Full-open state, that is, anyone may have access to, then other people only it is to be understood that the account of the user which is can be with
Meaning inquires the historical position information of the user.Such as:The mobile terminal of user is mobile phone, in the account of application cloud server
When, user sets cell-phone number to account name, and the account is arranged as Full-open state, then other people know the mobile phone of the user
It number both can arbitrarily inquire the historical position information of the user.User can also pre-set access rights when applying for account,
Only the authentication is passed can access its account for other users;Such as:Multiple good friend's Internet access oneself can be arranged in user
Account, will be in the information preservation of these good friends account of oneself, that is to say, that only these good friend's ability Internet access, other people
All have no right to access.Above-mentioned arbitrary equipment can be the equipment that any one can log in cloud server, such as:Notebook, meter
Calculation machine, mobile phone, IPAD, IPOD, smart mobile phone etc..Certainly, in practical applications, can be also arranged according to specific requirements
Other access considerations also can also be and log in cloud server using other equipment.This is not specifically limited.
This implementation is open to provide the location information inquiry method based on mobile terminal, is being conversed first by mobile terminal
Any time of process obtains the location information of itself;The location information includes:Latitude and longitude information and/or geographical location letter
Breath;Then, the location information got is sent to cloud server by mobile terminal log-on data business, so that cloud server
The location information is saved in the account of the mobile terminal, when user needs to inquire the history bit confidence of the mobile terminal
When breath, using the account information of the mobile terminal, logs in the cloud server and inquire corresponding location information.Due to movement
As long as terminal carries out telephone operation, the location information of itself must be sent to high in the clouds to preserve, high in the clouds can realize user
Network accesses anywhere or anytime, can also realize information sharing.Therefore, when any one user wants to inquire the mobile terminal
When historical position information, it is only necessary to log in the account of the mobile terminal in cloud server, this mode carrys out user
Say it is more convenient also more humane, furthermore since the location information reported is latitude and longitude information and/or geographical location information, because
This, compared with the value range inquired in the prior art, query scheme of the invention can realize the higher query result of precision.
In practical applications, the understanding due to user for local landform and environment, in mobile terminal local
Location information is not to be especially concerned about, when going to other places to go on business or go other places to travel due to, user, simultaneously to nonlocal landform and environment
It does not know about, therefore, user compares the location information for being concerned about oneself in other places, the situation of movement at other places, and in local
Location information can be handled with special circumstances.Based on this, the embodiment of the present invention also provides another querying method.
It is the flow chart of the location information inquiry method embodiment 2 based on mobile terminal referring to Fig. 2, Fig. 2.The present embodiment carries
The technical scheme comprises the following steps for confession:
Step 201, mobile terminal sends inquiry status request in any time of communication process to base station, so that the base
It stands after receiving the inquiry status request, inquiry home location register is known with the presence or absence of the user identity of the mobile terminal
Alias, if so, sending local state information to the mobile terminal;Otherwise, roaming state letter is sent to the mobile terminal
Breath.
When user is conversed using mobile terminal, no matter the mobile terminal is calling party or callee, whether
In the rigid beginning of call, or at the end of call is rigid, or when conversing progress, it can be asked to base station transmission inquiry state
It asks, which is for inquiring whether the mobile terminal is in roaming state;
When base station receives the inquiry status request of mobile terminal transmission, home location register (Ho is started a query at
Me Location Register, HLR), HLR is practical for storing local user's information in a mobile network
On be a database.Under normal circumstances, the information that whole home subscribers are stored in HLR, as user related number with
And class of subscriber, the related dynamic data information of each home subscriber can also be stored.
Explanation is further explained to above-mentioned technical characteristic by taking mobile phone as an example below, when user will use mobile phone, first
A user identity identification (Subscriber Identity Module, SIM) card is bought, the SIM card is practical
Upper is exactly a smart card for including large scale integrated circuit, for registering the significant data and information of user.SIM card card
Number, that is, integrated circuit card identification code (Integrate circu it card identity, ICC ID) consolidated
Change in SIM card.And the ownership place of the SIM can be recognized by SIM card card number, when mobile phone installs the SIM card
Later, SIM card card number just determines the homing position of the mobile phone, such as:The SIM card number that user is bought identifies ownership place
Beijing, then the relevant information of the SIM will be saved in the home location register of Beijing.Other mobile terminals
User identity identification number is similar to the relationship of above-mentioned mobile phone and SIM.It will not enumerate herein.
When there is no the user information in HLR, show that the user is not belonging to local user, therefore, can determine whether out the use
Family is in roaming state.Roaming refers to mobile terminal user when leaving local (ordinary circumstance refers to the province that opens an account) or this country,
The business of the mobile terminal still can be continuing in some other provinces and regions or country.Roaming state refers in the present embodiment
The mobile terminal uses the state of services of roaming.
Base station inquiry whether after roaming state, gives corresponding status information feedback to the movement to the mobile terminal
After the mobile terminal receives status information, different operations, respectively step are executed according to different status informations for terminal
202 and step 203;
Step 202, what is received when the mobile terminal is roaming state information, then the acquisition for mobile terminal itself
Location information;The location information includes:Latitude and longitude information and/or geographical location information.Then, step 204 is gone to.
If what the mobile terminal received is roaming state information, it is transferred to and executes step 204.
Step 203, what is received when the mobile terminal is local state information, then the mobile terminal checks that user asks
It asks, when user's request is reporting position information, is then transferred to and executes step 204.
Step 204, mobile terminal obtains the location information of itself in any time of communication process;The location information packet
It includes:Latitude and longitude information and/or geographical location information.
Wherein, which can be arranged a physical button or software keys, so that user's triggering is in local shape
A function choosing-item is arranged in the request of reporting position information when state such as in cell phone software function, and the function choosing-item is for providing
The reporting position information in local state, when user selects the function choosing-item, then it represents that the user triggers user's request, then hand
Machine terminal can inquire user request.The mobile terminal can also pop up one after receiving local state information
Selection window, so that user selects triggering user's request, user request can be reporting position information, can also be not report
Location information, such as pop-up window can ask the user whether to want reporting position information, then user can select "Yes" or
"No" is selected, the mobile terminal in this way can receive user's request, to make corresponding processing.
When user's request is expressed as reporting position information, indicate that user needs in local state, also by location information
Save, then the acquisition for mobile terminal location information of itself, certainly, the acquisition action can be in communication process,
Can be at the end of call is rigid.
Mobile terminal can obtain the location information of itself, concrete mode and above-described embodiment 1 by a variety of realization methods
Described in as, details are not described herein.
Preferably, above-mentioned steps 204 have following two realization methods, it may include:
The mobile terminal starts the GPS positioning function of itself and determines the location information of itself, the location information packet
It includes:Latitude and longitude information and/or geographical location information.Alternatively,
The mobile terminal first measures the distance between at least three base stations, then is respectively passed through distance by base station
Core net finally receives the location information of the mobile terminal forwarded by mobile terminal current home base station, institute's rheme
Confidence ceases:Latitude and longitude information and/or geographical location information;The location information is utilized by the core net and is received
The location information for the mobile terminal that distance and respective base station location determination go out.
It should be noted that latitude and longitude information and geographical location information corresponding can be converted, that is, know one of them both
Another information can be converted out.Such as:Latitude and longitude value is tested, then can determine specific geography according to the latitude and longitude value
Position.
Step 205, the location information got is sent to cloud server by the mobile terminal log-on data business, with
Make cloud server that the location information to be saved in the account of the mobile terminal, when user needs to inquire the movement eventually
When the historical position information at end, using the account information of the mobile terminal, logs in the cloud server and inquire corresponding position
Confidence ceases.
This step is identical as step 102 in embodiment 1, and details are not described herein.
The present embodiment discloses the location information inquiry method based on mobile terminal of offer, it is contemplated that user's actual need,
When mobile terminal is in roaming state, location information is saved in cloud server;When mobile terminal is in local state
When, according to user in local request, decide whether location information being saved in cloud server.Therefore, when any one
When user wants to inquire the historical position information of the mobile terminal, it is only necessary to log in the account of the mobile terminal in cloud server
, this mode is more convenient also more humane for user, it is further contemplated that the actual demand of user,
Furthermore since the location information reported is latitude and longitude information and/or geographical location information, with the model inquired in the prior art
It encloses value to compare, query scheme of the invention can realize the higher query result of precision.
In above-described embodiment 1 or 2, it is contemplated that user may leave the network coverage during using mobile terminal
Region causes network connection abnormal;In order to ensure the normal transmission of location information.The present invention is directed to mobile terminal log-on data
The location information got is sent to cloud server by business, additionally provides following preferred embodiment, including:
Whether the mobile terminal check current network connects normally;
If so, the location information got is sent to cloud server by the mobile terminal log-on data business;
Otherwise, the mobile terminal first caches accessed location information, when waiting for network connection normal, then will be obtained
The location information got is sent to cloud server.
Mobile terminal is can be seen that when sending location information by the preferred embodiment, needs first to judge network condition, when
When network connection is normal, location information is sent to cloud server to ensure that the safety of location information is sent;If network connects
It connects abnormal, then location information temporary cache gets up, retransmited until network connection is normal.It can ensure that position is believed in this way
Cease the safety preserved.
In above-described embodiment 1 or 2, in order to enable cloud server more orderly ground save location information, while being also
Convenient for user's more easily query history location information, the present invention also provides preferred embodiment, specifically it is described it is mobile eventually
While the location information got is sent to cloud server by end log-on data business, the method further includes:
Local zone time is sent to cloud server by the mobile terminal.
After the preferred embodiment, local zone time and location information packing are sent jointly to cloud service by mobile terminal
Device, then cloud server the location information received and local zone time are corresponded to and preserved.After handling in this way, when user wants
When inquiring corresponding location information of specific time, the account in cloud server can be directly logged in, correspondence is found according to the time
Location information.It can be seen that this mode is more convenient for inquiring, place information inquiry rate can be improved.
Corresponding with above method embodiment 1, the present invention also provides a kind of mobile terminals, below by specific implementation
The mobile terminal is explained in example.
It is the structure chart of mobile terminal embodiment 1 referring to Fig. 3, Fig. 3, it is right with reference to the operation principle of the mobile terminal
The connection relation and function of the inside each unit of the mobile terminal are further explained.The mobile terminal may include:
Location information acquiring unit 301, for obtaining the location information of itself in any time of communication process;Institute's rheme
Confidence ceases:Latitude and longitude information and/or geographical location information;
The location information got is sent to cloud service by position information sending unit 302 for log-on data business
Device, so that the location information is saved in the account of the mobile terminal by cloud server, so that cloud server will be described
Location information is saved in the account of the mobile terminal, when user needs to inquire the historical position information of the mobile terminal,
Using the account information of the mobile terminal, logs in the cloud server and inquire corresponding location information.
Preferably, the location information acquiring unit includes:
First obtains subelement, and the position of itself is determined for starting the mobile terminal GPS positioning function of itself
Information, the location information include:Latitude and longitude information and/or geographical location information;Alternatively,
Second obtains subelement, for the distance between first measuring at least three base stations, then respectively will be away from by base station
From core net is passed through, the position letter of the mobile terminal forwarded by mobile terminal current home base station is finally received
Breath, the location information include:Latitude and longitude information and/or geographical location information;The location information is by core net profit
With the location information for the mobile terminal that the distance and respective base station location determination that are received go out.
Preferably, the position information sending unit includes:
Subelement is checked, for checking whether current network connects normally, if so, the first transmission sub-unit of triggering, no
Then, the second transmission sub-unit is triggered;
The location information got is sent to cloud server by the first transmission sub-unit for log-on data business;
Second transmission sub-unit, for first caching accessed location information, when waiting for network connection normal, then by institute
The location information got is sent to cloud server.
Preferably, the mobile terminal further includes:
Temporal information transmission unit is used for while position information sending unit is executed and sent, by the mobile terminal
Local zone time be sent to cloud server.
Using the above-mentioned mobile terminal of the present invention, random time that can be during user's communication obtains location information, so
Location information is saved in cloud server afterwards.Therefore, when any one user wants the history bit of the inquiry mobile terminal
When confidence ceases, it is only necessary to log in the account of the mobile terminal in cloud server, this mode compares for user
It is convenient also more humane, furthermore since the location information reported is latitude and longitude information and/or geographical location information, with
The value range inquired in the prior art is compared, and query scheme of the invention can realize the higher query result of precision.
Corresponding with above method embodiment 2, the present invention also provides a kind of mobile terminals, below by specific implementation
The mobile terminal is explained in example.
It is the structure chart of mobile terminal embodiment 2 referring to Fig. 4, Fig. 4, it is right with reference to the operation principle of the mobile terminal
The connection relation and function of the inside each unit of the mobile terminal are further explained.The mobile terminal may include:
Query unit 401 sends inquiry status request, so that the base for any time in communication process to base station
It stands after receiving the inquiry status request, inquiry home location register is known with the presence or absence of the user identity of the mobile terminal
Alias, if so, sending local state information to the mobile terminal;Otherwise, roaming state letter is sent to the mobile terminal
Breath.
First trigger element 402, for when the mobile terminal receive be roaming state information when, trigger institute rheme
It sets information acquisition unit and executes acquisition operation.
Second trigger element 403, for when the mobile terminal receive be local state information when, then the movement
Terminal checks that user asks, and when user's request is reporting position information, triggers the location information acquiring unit and executes acquisition
Operation.
Location information acquiring unit 404, for obtaining the location information of itself in any time of communication process;Institute's rheme
Confidence ceases:Latitude and longitude information and/or geographical location information.
The location information got is sent to cloud service by position information sending unit 405 for log-on data business
Device, so that the location information is saved in the account of the mobile terminal by cloud server, so that cloud server will be described
Location information is saved in the account of the mobile terminal, when user needs to inquire the historical position information of the mobile terminal,
Using the account information of the mobile terminal, logs in the cloud server and inquire corresponding location information.
Preferably, the location information acquiring unit includes:
First obtains subelement, and the position of itself is determined for starting the mobile terminal GPS positioning function of itself
Information, the location information include:Latitude and longitude information and/or geographical location information;Alternatively,
Second obtains subelement, for the distance between first measuring at least three base stations, then respectively will be away from by base station
From core net is passed through, the position letter of the mobile terminal forwarded by mobile terminal current home base station is finally received
Breath, the location information include:Latitude and longitude information and/or geographical location information;The location information is by core net profit
With the location information for the mobile terminal that the distance and respective base station location determination that are received go out.
Preferably, the position information sending unit includes:
Subelement is checked, for checking whether current network connects normally, if so, the first transmission sub-unit of triggering, no
Then, the second transmission sub-unit is triggered;
The location information got is sent to cloud server by the first transmission sub-unit for log-on data business;
Second transmission sub-unit, for first caching accessed location information, when waiting for network connection normal, then by institute
The location information got is sent to cloud server.
Preferably, the mobile terminal can also include:
Temporal information transmission unit is used for while position information sending unit is executed and sent, by the mobile terminal
Local zone time be sent to cloud server.
User's actual need can be further contemplated using the above-mentioned mobile terminal of the present invention, when mobile terminal is in roaming
When state, location information is saved in cloud server;When mobile terminal is in local state, according to user in local
Request, decides whether location information being saved in cloud server.Therefore, when any one user wants to inquire movement end
When the historical position information at end, it is only necessary to log in the account of the mobile terminal in cloud server, this mode for
It is more convenient also more humane for family, it is further contemplated that the actual demand of user, furthermore position due to reporting
Information is latitude and longitude information and/or geographical location information, therefore, of the invention compared with the value range inquired in the prior art
Query scheme can improve the precision of query result.
It should be noted that mobile terminal provided by the invention as described in above-described embodiment 1 or 2 in addition to having above-mentioned work(
It, can also other specific functional units except energy unit.Below by taking smart mobile phone as an example, lay down a definition to the result of mobile terminal
It is bright.It should be understood that mobile phone is only an example of mobile terminal, and mobile phone can have than referenced below to more
Or less component, two or more components can be combined, or can have different components to configure.Such as:Hand
Machine may include memory, central processing unit (Centra lProcessing Unit, hereinafter referred to as CPU), peripheral hardware
Interface, RF circuits, voicefrequency circuit, loud speaker, power management chip, input/output (I/O) subsystem, other input/controls
Control equipment and outside port etc., these components are communicated by one or more communication bus or signal wire.
It is worth noting that mobile phone provided in this embodiment is only an example of mobile terminal, the embodiment of the present invention
The mobile terminal being related to can have than the above-mentioned more or fewer components being mentioned to, and can combine two or more portions
Part, or can have different components configure or set up, all parts can including one or more signal processings and/or
The combination of hardware, software or hardware and software including application-specific integrated circuit is realized.
Based on practical application scene, the present invention also provides a kind of place information inquiry system based on mobile terminal, under
Face in conjunction with the embodiments lays down a definition explanation to the system.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of the place information inquiry system embodiment 1 based on mobile terminal, is tied below
The operation principle for closing the system is further explained each device and its connection relation of the system.The system can wrap
It includes:
Any one of the above mobile terminal and cloud server;
The mobile terminal registers an account in the cloud server in advance, and the account is for storing the shifting
Dynamic terminal is sent to the location information of cloud server.
By network communication between mobile terminal and cloud server, any time of the mobile terminal in communication process will
The location information of itself is sent to cloud server and is stored in corresponding account.The location information includes:Latitude and longitude information and/
Or geographical location information.
For the user of the mobile terminal, the mobile terminal can be utilized to log in the account of oneself in cloud server
Family, query history location information.It is of course also possible to log in cloud server using other equipment with query history location information.
For other users, any equipment can be utilized to log in cloud server, be believed according to the account of above-mentioned user
Breath, inquires the historical position information of above-mentioned user.
As shown in figure 5, in practical applications, can there are multiple mobile terminals to take the location information preservation of itself beyond the clouds
In business, how many specific mobile terminal can be determined according to the storage capacity of cloud server and processing capacity, can also be by
Other factors determine, are not specifically limited herein.
It can be seen that:Inquiry system provided by the invention disclosure satisfy that user inquires oneself or other people whenever and wherever possible
Historical position information, inquiry is convenient and the precision of location information that inquires is higher.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
It should also be noted that, each embodiment in this specification is described in a progressive manner, each embodiment
Between just to refer each other for identical similar part, the highlights of each of the examples are it is different from other embodiment it
Place.For equipment and system embodiment, since it is substantially similar to the method embodiment, so describing simpler
Single, the relevent part can refer to the partial explaination of embodiments of method.Equipment and system embodiment described above is only to show
Meaning property, wherein may or may not be physically separated as the unit that separating component illustrates.It can be according to reality
Border needs to select some or all of module therein to realize the purpose of the present invention program.Those of ordinary skill in the art exist
In the case of not making the creative labor, you can to understand and implement.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can
It is realized by the mode of software plus required general hardware platform.Based on this understanding, the technical solution essence of the application
On in other words the part that contributes to existing technology can be expressed in the form of software products, the computer software product
It can be stored in a storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used so that a station terminal
Equipment (can be personal computer, server either network equipment etc.) executes each embodiment of the application or embodiment
Method described in certain parts.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the application.
Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein
General Principle can in other embodiments be realized in the case where not departing from spirit herein or range.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest range caused.
Claims (11)
1. a kind of location information inquiry method based on mobile terminal, which is characterized in that the method includes:
Mobile terminal obtains the location information of itself in any time of communication process;The location information includes:Longitude and latitude is believed
Breath and/or geographical location information;
The location information got is sent to cloud server by the mobile terminal log-on data business, so that cloud server
The location information is saved in the corresponding account of the mobile terminal, when user needs to inquire the history bit of the mobile terminal
When confidence ceases, using the account information of the mobile terminal, logs in the cloud server and inquire corresponding location information.
2. according to the method described in claim 1, it is characterized in that, being obtained in any time of communication process in the mobile terminal
It is derived from before the location information of body, the method further includes:
Mobile terminal sends inquiry status request in any time of communication process to base station, so as to be looked into described in the reception of the base station
After asking status request, inquiry home location register whether there is the user identity identification number of the mobile terminal, if so,
Local state information is sent to the mobile terminal;Otherwise, roaming state information is sent to the mobile terminal;
What is received when the mobile terminal is roaming state information, then the mobile terminal execution communication process it is any when
Between obtain the operation of the location information of itself;
What is received when the mobile terminal is local state information, then the mobile terminal checks that user asks, when user asks
Ask for reporting position information when, the mobile terminal execution obtains the behaviour of the location information of itself in any time of communication process
Make.
3. according to claim 1 or claim 2, which is characterized in that the mobile terminal communication process it is any when
Between obtain the location information of itself, including:
The mobile terminal starts the GPS positioning function of itself and determines that the location information of itself, the location information include:Longitude and latitude
Spend information and/or geographical location information;Alternatively,
The mobile terminal first measures the distance between at least three base stations, then distance is passed through core by base station respectively
Net finally receives the location information of the mobile terminal forwarded by mobile terminal current home base station, the position letter
Breath includes:Latitude and longitude information and/or geographical location information;The location information is that received distance is utilized by the core net
The location information of the mobile terminal gone out with respective base station location determination.
4. according to claim 1 or claim 2, which is characterized in that the mobile terminal log-on data business will obtain
To location information be sent to cloud server, including:
Whether the mobile terminal check current network connects normally;
If so, the location information got is sent to cloud server by the mobile terminal log-on data business;
Otherwise, the mobile terminal first caches accessed location information, when waiting for network connection normal, then will be accessed
Location information be sent to cloud server.
5. according to claim 1 or claim 2, which is characterized in that will be obtained in the mobile terminal log-on data business
While the location information got is sent to cloud server, the method further includes:
Local zone time is sent to cloud server by the mobile terminal.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Location information acquiring unit, for obtaining the location information of itself in any time of communication process;The location information
Including:Latitude and longitude information and/or geographical location information;
The location information got is sent to cloud server by position information sending unit for log-on data business, so that
The location information is saved in the corresponding account of the mobile terminal by cloud server, when user needs to inquire the movement eventually
When the historical position information at end, using the account information of the mobile terminal, logs in the cloud server and inquire corresponding position
Confidence ceases.
7. mobile terminal according to claim 6, which is characterized in that the mobile terminal further includes:
Query unit sends inquiry status request, so that the base station is received for any time in communication process to base station
After the inquiry status request, inquiry home location register whether there is the user identity identification number of the mobile terminal,
If so, sending local state information to the mobile terminal;Otherwise, roaming state information is sent to the mobile terminal;
First trigger element, for when the mobile terminal receive be roaming state information when, trigger the location information
Acquiring unit, which executes, obtains operation;
Second trigger element, for when the mobile terminal receive be local state information when, then the mobile terminal is looked into
It sees that user asks, when user's request is reporting position information, triggers the location information acquiring unit and execute acquisition operation.
8. according to the mobile terminal described in claim 6 or 7, which is characterized in that the location information acquiring unit includes:
First obtains subelement, and the location information of itself, institute are determined for starting the mobile terminal GPS positioning function of itself
Stating location information includes:Latitude and longitude information and/or geographical location information;Alternatively,
Second obtains subelement, for first the distance between measurement and at least three base stations, then respectively will be apart from saturating by base station
It is transmitted to core net, finally receives the location information of the mobile terminal forwarded by mobile terminal current home base station, institute
Stating location information includes:Latitude and longitude information and/or geographical location information;The location information is by the core net using being connect
The location information for the mobile terminal that the distance and respective base station location determination of receipts go out.
9. according to the mobile terminal described in claim 6 or 7, which is characterized in that the position information sending unit includes:
Subelement is checked, for checking whether current network connects normally, if so, otherwise the first transmission sub-unit of triggering is touched
Send out the second transmission sub-unit;
The location information got is sent to cloud server by the first transmission sub-unit for log-on data business;
Second transmission sub-unit, for first caching accessed location information, when waiting for network connection normal, then will be acquired
To location information be sent to cloud server.
10. according to the mobile terminal described in claim 6 or 7, which is characterized in that the mobile terminal further includes:
Temporal information transmission unit is used for while position information sending unit is executed and sent, by the sheet of the mobile terminal
The ground time is sent to cloud server.
11. a kind of place information inquiry system based on mobile terminal, which is characterized in that the system comprises:
Mobile terminal as described in any one of claim 6 to 10 and cloud server;
The mobile terminal registers an account in the cloud server in advance, and the account is described mobile whole for storing
End is sent to the location information of cloud server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410244827.7A CN103987022B (en) | 2014-06-04 | 2014-06-04 | A kind of location information inquiry method, system and mobile terminal based on mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410244827.7A CN103987022B (en) | 2014-06-04 | 2014-06-04 | A kind of location information inquiry method, system and mobile terminal based on mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103987022A CN103987022A (en) | 2014-08-13 |
CN103987022B true CN103987022B (en) | 2018-10-16 |
Family
ID=51278826
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410244827.7A Active CN103987022B (en) | 2014-06-04 | 2014-06-04 | A kind of location information inquiry method, system and mobile terminal based on mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103987022B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105653574A (en) * | 2015-11-20 | 2016-06-08 | 乐视移动智能信息技术(北京)有限公司 | Ordering method and system for browsing history records |
CN107896285A (en) * | 2017-12-27 | 2018-04-10 | 广东欧珀移动通信有限公司 | data reporting method, device, mobile terminal and computer-readable medium |
CN108924737B (en) * | 2018-06-20 | 2021-07-23 | 北京三快在线科技有限公司 | Positioning method, device, equipment and computer readable storage medium |
CN108924762B (en) * | 2018-06-26 | 2021-03-23 | 中国联合网络通信集团有限公司 | Positioning method, device and equipment based on telecommunication card and readable storage medium |
CN111142067A (en) * | 2019-08-27 | 2020-05-12 | 广东小天才科技有限公司 | Three-dimensional positioning method of mobile equipment and mobile equipment |
CN114845248A (en) * | 2022-03-17 | 2022-08-02 | 中国联合网络通信集团有限公司 | User position acquisition method, front-end processor, equipment and system |
CN117395620B (en) * | 2023-09-20 | 2024-04-09 | 中科金联(北京)科技有限公司 | Method for screening and analyzing abnormal behaviors based on mobile terminal |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101039195A (en) * | 2007-03-09 | 2007-09-19 | 华为技术有限公司 | Charging method, system and network appliance |
CN101729981A (en) * | 2009-12-18 | 2010-06-09 | 范传远 | Decision method supported on basis of location service information data |
CN101841799A (en) * | 2010-05-12 | 2010-09-22 | 中兴通讯股份有限公司 | Method, terminal and system for realizing difference charging among fixed wireless telephone cells |
CN101848413A (en) * | 2009-03-24 | 2010-09-29 | 宏达国际电子股份有限公司 | Place character description method and system and computer program product |
CN101848416A (en) * | 2010-04-02 | 2010-09-29 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal, application server, application push method and application push system |
US7848760B2 (en) * | 2003-09-26 | 2010-12-07 | Siemens Enterprise Communications, Inc. | System and method for presence alarming |
CN202026466U (en) * | 2010-12-30 | 2011-11-02 | 上海博泰悦臻电子设备制造有限公司 | Call center and system for tracking vehicle position |
CN202085881U (en) * | 2011-06-03 | 2011-12-28 | 刘屹 | Multifunctional positioning and warning environment-friendly schoolbag |
US8116723B2 (en) * | 2008-01-17 | 2012-02-14 | Kaltsukis Calvin L | Network server emergency information accessing method |
CN102945613A (en) * | 2012-11-15 | 2013-02-27 | 深圳华宏联创科技有限公司 | Traffic information predicting system for solving traffic jam |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5366206B2 (en) * | 2009-09-04 | 2013-12-11 | 独立行政法人情報通信研究機構 | Wireless communication network system, communication apparatus, communication terminal, and wireless communication method. |
CN103686603B (en) * | 2013-12-20 | 2017-06-16 | 海信集团有限公司 | A kind of method and system for searching electronic equipment |
-
2014
- 2014-06-04 CN CN201410244827.7A patent/CN103987022B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7848760B2 (en) * | 2003-09-26 | 2010-12-07 | Siemens Enterprise Communications, Inc. | System and method for presence alarming |
CN101039195A (en) * | 2007-03-09 | 2007-09-19 | 华为技术有限公司 | Charging method, system and network appliance |
US8116723B2 (en) * | 2008-01-17 | 2012-02-14 | Kaltsukis Calvin L | Network server emergency information accessing method |
CN101848413A (en) * | 2009-03-24 | 2010-09-29 | 宏达国际电子股份有限公司 | Place character description method and system and computer program product |
CN101729981A (en) * | 2009-12-18 | 2010-06-09 | 范传远 | Decision method supported on basis of location service information data |
CN101848416A (en) * | 2010-04-02 | 2010-09-29 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal, application server, application push method and application push system |
CN101841799A (en) * | 2010-05-12 | 2010-09-22 | 中兴通讯股份有限公司 | Method, terminal and system for realizing difference charging among fixed wireless telephone cells |
CN202026466U (en) * | 2010-12-30 | 2011-11-02 | 上海博泰悦臻电子设备制造有限公司 | Call center and system for tracking vehicle position |
CN202085881U (en) * | 2011-06-03 | 2011-12-28 | 刘屹 | Multifunctional positioning and warning environment-friendly schoolbag |
CN102945613A (en) * | 2012-11-15 | 2013-02-27 | 深圳华宏联创科技有限公司 | Traffic information predicting system for solving traffic jam |
Also Published As
Publication number | Publication date |
---|---|
CN103987022A (en) | 2014-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103987022B (en) | A kind of location information inquiry method, system and mobile terminal based on mobile terminal | |
CN101583075B (en) | System and method for positioning and inquiring wireless mobile terminal | |
US20150119084A1 (en) | System and method for positioning terminal | |
CN105306204A (en) | Security verification method, device and system | |
TW201443810A (en) | Method, device, apparatus and system for recommending user information | |
CN101551922A (en) | A method and system for remotely fetching number | |
CN108289281A (en) | Method, apparatus, electronic equipment and the storage medium that location information is shared | |
CN106685891A (en) | Verification method and apparatus for accessing network | |
CN103095935B (en) | A kind of method of urgent call and terminal equipment | |
CN103106579A (en) | Data monitoring method, mobile payment terminal, server and payment system | |
CN112866984B (en) | Call record synchronization method, cloud platform and terminal | |
CN111083120B (en) | Data transmission method and device, electronic equipment and storage medium | |
US8301111B2 (en) | Method of and system for setting up a telephone call | |
CN103916444A (en) | Method for displaying number information through cloud model | |
CN104935495B (en) | Determine method, unified communication system and the relevant device of User Status | |
CN107613099B (en) | Method and device for loading emergency number | |
CN105530231B (en) | The method and device of charge information is provided | |
CN105933869B (en) | Method of locating terminal, device and terminal server | |
CN111148276A (en) | Communication method, device, base station and storage medium based on LoRa technology | |
CN105191365B (en) | The emergent session of localization secure user plane positioning (SUPL) | |
CN108112031A (en) | Network type determines method and device | |
CN112770253B (en) | Positioning method and device for emergency call, storage medium and electronic equipment | |
CN106790765A (en) | The recognition methods of insincere MAC Address and device, mobile terminal locating method | |
CN103747150B (en) | Information processing method and electronic equipment | |
CN106507306A (en) | A kind of position information of contact display packing and device |
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 | ||
CP02 | Change in the address of a patent holder |
Address after: Room 101-105, floor 1, Chuangda building, No. 9, Qinghua East Road, Haidian District, Beijing 100083 (Dongsheng District) Patentee after: Thunder Software Technology Co., Ltd. Address before: 100191 Beijing Haidian District Lung Cheung Road No. 1 Tai Xiang 4 storey commercial building Patentee before: Thunder Software Technology Co., Ltd. |
|
CP02 | Change in the address of a patent holder |