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
- information
- location information
- position information
- cloud server
- 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
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000006854 communication Effects 0.000 claims abstract description 11
- 230000008569 process Effects 0.000 claims description 21
- 238000004891 communication Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 17
- 238000012545 processing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 241000722731 Carex Species 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
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
The present application relates to the field of communications technologies, and in particular, to a method and a system for querying location information based on a mobile terminal, and a mobile terminal.
Background
With the development of communication technology, mobile terminals have become an indispensable part of people's daily life. Such as: people can communicate with friends through the mobile terminal, can also obtain information and resources from the internet through the mobile terminal, can also manage personal important materials through the mobile terminal, and the like. Because the functions of the mobile terminal can meet the basic daily requirements of people, the mobile terminal has become a device carried by people, and commonly used mobile terminals include mobile phones, smart phones, notebooks, tablet computers and the like.
When the mobile terminal is lost, the user needs to query the previous position of the mobile terminal to track and search, or when the user needs to know the previous position of the mobile terminal, the user needs to locate an approximate position from the operator through the base station.
Based on this, one of the technical problems that needs to be urgently solved by those skilled in the art is: how to creatively provide a position information query method based on a mobile terminal to solve the problems of inconvenient query and inaccurate queried position in the prior art.
Disclosure of Invention
In view of this, the present application provides a method and a system for querying location information based on a mobile terminal, and a mobile terminal, which can solve the problem in the prior art that querying location information is inconvenient and inaccurate.
In order to achieve the above purpose, the present application provides the following technical solutions:
in a first aspect, the present application provides a method for querying location information based on a mobile terminal, where the method includes:
the mobile terminal acquires the position information of the mobile terminal at any time in the call process; the location information includes: latitude and longitude information and/or geographical location information;
the mobile terminal starts a data service and sends the acquired position information to a cloud server so that the cloud server stores the position information to an account of the mobile terminal, and when a user needs to inquire the historical position information of the mobile terminal, the user logs in the cloud server to inquire the corresponding position information by using the account information of the mobile terminal.
Preferably, before the mobile terminal acquires its own location information at any time during the call, the method further includes:
the mobile terminal sends a state query request to a base station at any time in the conversation process, so that the base station queries whether a home location register has a user identity identification number of the mobile terminal after receiving the state query request, and if so, sends local state information to the mobile terminal; otherwise, sending roaming state information to the mobile terminal;
when the mobile terminal receives the roaming state information, the mobile terminal executes the operation of acquiring the position information of the mobile terminal at any time in the conversation process;
and when the mobile terminal receives the local state information, the mobile terminal checks the user request, and when the user request is the report position information, the mobile terminal executes the operation of acquiring the position information of the mobile terminal at any time in the conversation process.
Preferably, the mobile terminal obtains its own location information at any time during the call, including:
the mobile terminal starts a GPS positioning function of the mobile terminal to determine position information of the mobile terminal, wherein the position information comprises: latitude and longitude information and/or geographical location information; or,
the mobile terminal firstly measures distances between the mobile terminal and at least three base stations, then respectively transmits the distances to a core network through the base stations, and finally receives the position information of the mobile terminal forwarded by the current home base station of the mobile terminal, wherein the position information comprises: latitude and longitude information and/or geographical location information; the location information is the location information of the mobile terminal determined by the core network using the received distance and the location of the corresponding base station.
Preferably, the mobile terminal starts a data service to send the acquired location information to the cloud server, including:
the mobile terminal checks whether the current network is normally connected;
if so, the mobile terminal starts a data service and sends the acquired position information to a cloud server;
otherwise, the mobile terminal caches the acquired position information, and sends the acquired position information to the cloud server after the network connection is normal.
Preferably, when the mobile terminal starts a data service and sends the acquired location information to the cloud server, the method further includes:
and the mobile terminal sends the local time to a cloud server.
In a second aspect, the present application provides a mobile terminal, comprising:
the device comprises a position information acquisition unit, a communication unit and a communication unit, wherein the position information acquisition unit is used for acquiring the position information of the device at any time in the communication process; the location information includes: latitude and longitude information and/or geographical location information;
the mobile terminal comprises a position information sending unit, a cloud server and a cloud server, wherein the position information sending unit is used for starting a data service and sending the obtained position information to the cloud server, so that the cloud server stores the position information to an account of the mobile terminal, the cloud server stores the position information to the account of the mobile terminal, and when a user needs to inquire the historical position information of the mobile terminal, the user logs in the cloud server to inquire the corresponding position information by using the account information of the mobile terminal.
Preferably, the mobile terminal further includes:
the inquiring unit is used for sending an inquiring state request to a base station at any time in the conversation process so that the base station inquires whether a home location register has a user identity identification number of the mobile terminal after receiving the inquiring state request, and if so, the inquiring unit sends local state information to the mobile terminal; otherwise, sending roaming state information to the mobile terminal;
the first triggering unit is used for triggering the position information acquisition unit to execute the acquisition operation when the mobile terminal receives the roaming state information;
and the second triggering unit is used for checking the user request by the mobile terminal when the local state information is received by the mobile terminal, and triggering the position information acquisition unit to execute the acquisition operation when the user request is the reported position information.
Preferably, the position information acquiring unit includes:
a first obtaining subunit, configured to start a GPS positioning function of the mobile terminal to determine location information of the mobile terminal, where the location information includes: latitude and longitude information and/or geographical location information; or,
a second obtaining subunit, configured to measure distances to at least three base stations, respectively transmit the distances to a core network through the base stations, and finally receive location information of the mobile terminal forwarded by a base station to which the mobile terminal currently belongs, where the location information includes: latitude and longitude information and/or geographical location information; the location information is the location information of the mobile terminal determined by the core network using the received distance and the location of the corresponding base station.
Preferably, the location information transmitting unit includes:
the checking subunit is used for checking whether the current network is normally connected, if so, triggering the first sending subunit, and otherwise, triggering the second sending subunit;
the first sending subunit is used for starting a data service and sending the acquired position information to the cloud server;
and the second sending subunit is used for caching the acquired position information, and sending the acquired position information to the cloud server after the network connection is normal.
Preferably, the mobile terminal further includes:
and the time information sending unit is used for sending the local time of the mobile terminal to the cloud server while the position information sending unit executes sending.
In a third aspect, the present application provides a location information query system based on a mobile terminal, where the system includes:
the mobile terminal and the cloud server of any one of the above;
the mobile terminal registers an account in the cloud server in advance, and the account is used for storing the position information sent to the cloud server by the mobile terminal.
According to the technical scheme, compared with the prior art, the position information query method based on the mobile terminal is provided, and the position information of the mobile terminal is acquired at any time in the conversation process through the mobile terminal; the location information includes: latitude and longitude information and/or geographical location information; then, the mobile terminal starts a data service and sends the acquired position information to a cloud server so that the cloud server stores the position information to an account of the mobile terminal, and when a user needs to inquire the historical position information of the mobile terminal, the user logs in the cloud server to inquire the corresponding position information by using the account information of the mobile terminal. As the mobile terminal only needs to carry out the call operation, the position information of the mobile terminal needs to be sent to the cloud end for storage, the cloud end can realize the network access of the user at any time and any place, and can also realize the information sharing. Therefore, when any user wants to inquire the historical position information of the mobile terminal, only the user needs to log in the account of the mobile terminal in the cloud server, the mode is convenient and humanized for the user, and moreover, the reported position information is longitude and latitude information and/or geographical position information, so that compared with the range value inquired in the prior art, the inquiry scheme can realize the inquiry result with higher accuracy. Moreover, the working principle of the query system and the mobile terminal provided by the invention is the same as that of the query mode, so that the query system and the mobile terminal have the advantages of convenience in query and accurate query result compared with the prior art.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a location information query method based on a mobile terminal according to an embodiment 1 of the present application;
fig. 2 is a flowchart of a location information query method based on a mobile terminal according to embodiment 2 of the present application;
fig. 3 is a flowchart of the mobile terminal of embodiment 1 of the present application;
fig. 4 is a flowchart of the mobile terminal of embodiment 2 of the present application;
fig. 5 is a schematic structural diagram of a location information query system 1 based on a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of an embodiment 1 of a location information query method based on a mobile terminal. The technical scheme provided by the embodiment comprises the following steps:
step 101: the mobile terminal acquires the position information of the mobile terminal at any time in the call process; the location information includes: latitude and longitude information and/or geographic location information.
The mobile terminal may be any terminal device capable of implementing a call function and a network connection function. The obtaining operation can be executed as long as the mobile terminal is in a call state, no matter whether the mobile terminal is a calling party or a called party. The mobile terminal may start to perform the obtaining operation at a certain time during the call service process when the call service is just triggered or when the call service is just finished. The location information includes: latitude and longitude information and/or geographic location information. The longitude and latitude information refers to a longitude value and a latitude value; the geographic position information refers to an actual geographic position, and when a user uses the mobile terminal at a Beijing station, the geographic position information acquired through the mobile terminal is '13 th of the Carex Goujia Bay in the Tokyo city of the Beijing city'.
Preferably, this step can be achieved in two ways, including:
the mobile terminal starts a GPS positioning function of the mobile terminal to determine position information of the mobile terminal, wherein the position information comprises: latitude and longitude information and/or geographic location information. Or,
the mobile terminal firstly measures distances between the mobile terminal and at least three base stations, then respectively transmits the distances to a core network through the base stations, and finally receives the position information of the mobile terminal forwarded by the current home base station of the mobile terminal, wherein the position information comprises: latitude and longitude information and/or geographical location information; the location information is the location information of the mobile terminal determined by the core network using the received distance and the location of the corresponding base station.
Among them, GPS is Global positioning System (Global positioning System). Briefly, this is a satellite system consisting of 24 satellites covering the world. The system can ensure that 4 satellites can be observed at any point on the earth at any time, so that the satellite can acquire the longitude and latitude and the height of the observation point, and functions of navigation, positioning, time service and the like can be realized. For a mobile terminal, if a GPS positioning function is to be implemented, a GPS module may be installed therein.
It should be noted that the latitude and longitude information and the geographic location information may be correspondingly converted, that is, it is known that one of the information may be converted into the other information. Such as: and if the longitude and latitude values are tested, the specific geographic position can be determined according to the longitude and latitude values.
Step 102: the mobile terminal starts a data service and sends the acquired position information to a cloud server so that the cloud server stores the position information to an account of the mobile terminal, and when a user needs to inquire the historical position information of the mobile terminal, the user logs in the cloud server to inquire the corresponding position information by using the account information of the mobile terminal.
When the mobile terminal can acquire the position information, the position information is immediately sent to the cloud server, or the position information is sent to the cloud server after the call is finished. The cloud server has large storage capacity and processing capacity, and if a user wants to store the relevant information of the mobile terminal in the cloud server, the user needs to apply for an account in the cloud server, and the account name, the account password and the like can be set. The user can set an account name, which can be represented by numbers, characters, pictures independently or in combination, as the mobile terminal identification code or the user can define a name by himself/herself. The account name should have a corresponding relationship with the mobile terminal, so that the cloud server determines the account name corresponding to the mobile terminal. Of course, the setting may not be needed, but the mobile terminal needs to inform the cloud server of the account information while sending the location information. When the user starts the call service, the mobile terminal can send the information to the cloud server to store in the applied account.
For the cloud server, after receiving the location information sent by the mobile terminal, the location information may be stored in a corresponding account according to the correspondence between the user identity number of the mobile terminal and the account. The cloud server can also store the position information into a corresponding account according to the account information sent by the mobile terminal. The cloud server can also sequentially store the received position information into corresponding accounts according to the time sequence of the received position information, and can also record the corresponding relation between the receiving time and the position information. Such as: when the mobile terminal of the user is a mobile phone and the user identity number of the user is a mobile phone number, the account name set by the user for the account is 'heaven-upward' and the password is '123', and after the cloud server receives the position information sent by the mobile terminal, the position information is stored in the account with the account name of 'heaven-upward' according to the corresponding relation between the mobile phone number and the account name. Certainly, the user can send the account name "day to day" and the password "123" to the cloud server at the same time when sending the location information, and at this time, the cloud server first determines that the account name and the password are accurate, and then stores the location information in the account. Certainly, in practical application, there may be other manners, so that the cloud server stores the location information sent by the mobile terminal in the corresponding account, which is not specifically limited herein.
When a user of the mobile terminal wants to inquire historical position information, the user can log in the cloud server through the mobile terminal or other equipment, and enters an account of the user to inquire the relevant position information by using the account information.
When other users want to inquire the historical position information of the mobile terminal, the other users can log in the cloud server through any equipment, and inquire the relevant position information according to the account information corresponding to the mobile terminal. Such as: the user can inform the account information of the user in the cloud server to friends and relatives of the user, so that the friends and relatives can log in the cloud server to inquire the historical position information of the user at any time and any place. The user can set the account information of the user in the cloud server to be in a full-open state, namely, anyone can access the user, and the other people can query the historical position information of the user at will as long as the other people know which account of the user is. Such as: the mobile terminal of the user is a mobile phone, when the user applies for an account of the cloud server, the user sets the mobile phone number as an account name, the account is set to be in a fully open state, and then other people know that the mobile phone number of the user can inquire historical position information of the user at will. The user can also preset access authority when applying for the account, and other users can access the account only if authentication is passed; such as: the user can set that a plurality of friends have access to own accounts and store the information of the friends in the own accounts, namely, only the friends have access and other people do not have access. Any of the above devices may be any device capable of logging in to the cloud server, such as: notebook, computer, cell phone, IPAD, IPOD, smart phone, etc. Certainly, in practical application, other access conditions may be set according to specific requirements, and other devices may also be used to log in the cloud server. This is not particularly limited.
The implementation disclosure provides a position information query method based on a mobile terminal, which comprises the steps of firstly, acquiring position information of the mobile terminal at any time in a call process through the mobile terminal; the location information includes: latitude and longitude information and/or geographical location information; then, the mobile terminal starts a data service and sends the acquired position information to a cloud server so that the cloud server stores the position information to an account of the mobile terminal, and when a user needs to inquire the historical position information of the mobile terminal, the user logs in the cloud server to inquire the corresponding position information by using the account information of the mobile terminal. As the mobile terminal only needs to carry out the call operation, the position information of the mobile terminal needs to be sent to the cloud end for storage, the cloud end can realize the network access of the user at any time and any place, and can also realize the information sharing. Therefore, when any user wants to inquire the historical position information of the mobile terminal, only the user needs to log in the account of the mobile terminal in the cloud server, the mode is convenient and humanized for the user, and moreover, the reported position information is longitude and latitude information and/or geographical position information, so that compared with the range value inquired in the prior art, the inquiry scheme can realize the inquiry result with higher accuracy.
In practical applications, the user is not particularly concerned about the local position information of the mobile terminal due to the knowledge of the local terrain and environment, and the user is not aware of the local terrain and environment when going on a business trip or traveling on a foreign trip, so that the user is concerned about the local position information of the user and the movement situation of the user at the foreign trip, and the local position information is processed along with special situations. Based on this, the embodiment of the present invention further provides another query method.
Referring to fig. 2, fig. 2 is a flowchart of an embodiment 2 of a location information query method based on a mobile terminal. The technical scheme provided by the embodiment comprises the following steps:
step 201, a mobile terminal sends a status query request to a base station at any time during a call process, so that the base station queries whether a home location register has a user identity identifier of the mobile terminal after receiving the status query request, and if so, sends local status information to the mobile terminal; otherwise, sending the roaming state information to the mobile terminal.
When a user uses a mobile terminal to carry out a call, whether the mobile terminal is a calling party or a called party, whether the call is just started, or just finished, or during the call, a state inquiry request can be sent to a base station, wherein the request is used for inquiring whether the mobile terminal is in a roaming state;
when the base station receives the status query request sent by the mobile terminal, it starts querying a Home Location Register (HLR), which is actually a database for storing local subscriber information in the mobile network. In general, the HLR stores all home subscriber information, such as the subscriber's associated number and subscriber category, and also stores dynamic data information about each home subscriber.
To explain the above technical features by taking a mobile phone as an example, when a user wants to use the mobile phone, he first purchases a Subscriber Identity Module (SIM) card, which is actually a smart card with a large-scale integrated circuit (lsi) therein, to register important data and information of the user. The SIM card number, i.e. the integrated circuit card identification (ICC ID), is fixed in the SIM card. The home location of the SIM card can be identified by the SIM card number, and when the mobile phone installs the SIM card, the SIM card number determines the home location of the mobile phone, such as: if the SIM card number purchased by the user is identified to be in Beijing, the related information of the SIM will be stored in the home location register of Beijing. The subscriber identity numbers of other mobile terminals are similar to the above-described relationship between the handset and the SIM. Are not listed here.
When the HLR does not have the user information, the user is not the local user, so that the user can be judged to be in a roaming state. Roaming means that when a mobile terminal user leaves home (typically, the province of an account) or the country, the service of the mobile terminal can still be used in some other province or country. The roaming state in this embodiment means a state in which the mobile terminal uses a roaming service.
After inquiring whether the mobile terminal is in the roaming state or not, the base station feeds back corresponding state information to the mobile terminal, and after receiving the state information, the mobile terminal executes different operations according to different state information, namely step 202 and step 203;
step 202, when the mobile terminal receives the roaming state information, the mobile terminal acquires the position information of the mobile terminal; the location information includes: latitude and longitude information and/or geographic location information. Then, go to step 204.
If the mobile terminal receives the roaming status information, step 204 is executed.
Step 203, when the mobile terminal receives the local state information, the mobile terminal checks the user request, and when the user request is the reported position information, the step 204 is executed.
Step 204, the mobile terminal acquires the position information of the mobile terminal at any time in the call process; the location information includes: latitude and longitude information and/or geographic location information.
The mobile terminal may be configured with a physical key or a software key, so that a user triggers a request for reporting location information in a local state, for example, a function option is configured in a mobile phone software function, the function option is used for providing location information in a local state, and when the user selects the function option, the user triggers a user request, and the mobile phone terminal can query the user request. The mobile terminal may also pop up a selection window after receiving the local state information, so that the user selects to trigger the user request, where the user request may be to report the location information or not, and if the pop-up window may ask the user whether to report the location information, the user may select "yes" or "no", so that the mobile terminal may receive the user request to perform corresponding processing.
When the user request indicates reporting location information, and indicates that the user needs to be in a local state, the location information is also stored, and the mobile terminal acquires the location information of the mobile terminal.
The mobile terminal may obtain the location information of itself through various implementation manners, and the specific manner is the same as that described in embodiment 1 above, and is not described herein again.
Preferably, the step 204 has the following two implementation manners, which may include:
the mobile terminal starts a GPS positioning function of the mobile terminal to determine position information of the mobile terminal, wherein the position information comprises: latitude and longitude information and/or geographic location information. Or,
the mobile terminal firstly measures distances between the mobile terminal and at least three base stations, then respectively transmits the distances to a core network through the base stations, and finally receives the position information of the mobile terminal forwarded by the current home base station of the mobile terminal, wherein the position information comprises: latitude and longitude information and/or geographical location information; the location information is the location information of the mobile terminal determined by the core network using the received distance and the location of the corresponding base station.
It should be noted that the latitude and longitude information and the geographic location information may be correspondingly converted, that is, it is known that one of the information may be converted into the other information. Such as: and if the longitude and latitude values are tested, the specific geographic position can be determined according to the longitude and latitude values.
Step 205, the mobile terminal starts a data service to send the acquired location information to a cloud server, so that the cloud server stores the location information to an account of the mobile terminal, and when a user needs to query historical location information of the mobile terminal, the user logs in the cloud server to query corresponding location information by using the account information of the mobile terminal.
This step is the same as step 102 in embodiment 1, and is not described herein again.
According to the position information query method based on the mobile terminal, the actual requirements of a user are considered, and when the mobile terminal is in a roaming state, the position information is stored in the cloud server; when the mobile terminal is in a local state, whether the position information is stored in the cloud server or not is determined according to a local request of a user. Therefore, when any user wants to inquire the historical position information of the mobile terminal, only the account of the mobile terminal in the cloud server needs to be logged in, the mode is convenient and humanized for the user, the actual requirements of the user are further considered, and moreover, the reported position information is longitude and latitude information and/or geographic position information, so that compared with the range value inquired in the prior art, the inquiry scheme can realize the inquiry result with higher accuracy.
In the above embodiment 1 or 2, it is considered that the user may leave the network coverage area during the process of using the mobile terminal, which results in abnormal network connection; in order to guarantee the normal transmission of location information. The invention also provides the following preferred modes aiming at the situation that the mobile terminal starts a data service and sends the acquired position information to the cloud server, wherein the preferred modes comprise:
the mobile terminal checks whether the current network is normally connected;
if so, the mobile terminal starts a data service and sends the acquired position information to a cloud server;
otherwise, the mobile terminal caches the acquired position information, and sends the acquired position information to the cloud server after the network connection is normal.
Through the preferred mode, when the mobile terminal sends the position information, the network condition needs to be judged first, and when the network connection is normal, the position information is sent to the cloud server to ensure the safe sending of the position information; if the network connection is abnormal, the position information is temporarily cached, and the position information is transmitted when the network connection is normal. Thus, the safety of the position information storage can be ensured.
In the above embodiment 1 or 2, in order to enable the cloud server to store the location information in a more orderly manner, and to facilitate a user to query the historical location information more conveniently, the present invention further provides a preferable scheme, specifically, when the mobile terminal starts a data service to send the acquired location information to the cloud server, the method further includes:
and the mobile terminal sends the local time to a cloud server.
After the optimal scheme is utilized, the mobile terminal packs the local time and the position information and sends the local time and the position information to the cloud server, and then the cloud server correspondingly stores the received position information and the local time. After the processing, when the user wants to query the location information corresponding to the specific time, the user can directly log in the account in the cloud server and find the corresponding location information according to the time. Therefore, the method is more convenient to query and can improve the query speed of the position information.
Corresponding to the above method embodiment 1, the present invention also provides a mobile terminal, which is explained by the following specific embodiment.
Referring to fig. 3, fig. 3 is a block diagram of an embodiment 1 of the mobile terminal, and the connection relationship and functions of each internal unit of the mobile terminal are further explained in conjunction with the operating principle of the mobile terminal. The mobile terminal may include:
a location information acquiring unit 301 for acquiring location information of itself at any time during a call; the location information includes: latitude and longitude information and/or geographical location information;
a location information sending unit 302, configured to start a data service and send the obtained location information to a cloud server, so that the cloud server stores the location information to an account of the mobile terminal, so that the cloud server stores the location information to the account of the mobile terminal, and when a user needs to query historical location information of the mobile terminal, the user logs in the cloud server to query corresponding location information by using the account information of the mobile terminal.
Preferably, the position information acquiring unit includes:
a first obtaining subunit, configured to start a GPS positioning function of the mobile terminal to determine location information of the mobile terminal, where the location information includes: latitude and longitude information and/or geographical location information; or,
a second obtaining subunit, configured to measure distances to at least three base stations, respectively transmit the distances to a core network through the base stations, and finally receive location information of the mobile terminal forwarded by a base station to which the mobile terminal currently belongs, where the location information includes: latitude and longitude information and/or geographical location information; the location information is the location information of the mobile terminal determined by the core network using the received distance and the location of the corresponding base station.
Preferably, the location information transmitting unit includes:
the checking subunit is used for checking whether the current network is normally connected, if so, triggering the first sending subunit, and otherwise, triggering the second sending subunit;
the first sending subunit is used for starting a data service and sending the acquired position information to the cloud server;
and the second sending subunit is used for caching the acquired position information, and sending the acquired position information to the cloud server after the network connection is normal.
Preferably, the mobile terminal further includes:
and the time information sending unit is used for sending the local time of the mobile terminal to the cloud server while the position information sending unit executes sending.
By using the mobile terminal, the position information can be acquired at any time in the conversation process of the user, and then the position information is stored in the cloud server. Therefore, when any user wants to inquire the historical position information of the mobile terminal, only the user needs to log in the account of the mobile terminal in the cloud server, the mode is convenient and humanized for the user, and moreover, the reported position information is longitude and latitude information and/or geographical position information, so that compared with the range value inquired in the prior art, the inquiry scheme can realize the inquiry result with higher accuracy.
Corresponding to the above method embodiment 2, the present invention also provides a mobile terminal, which is explained by the following specific embodiment.
Referring to fig. 4, fig. 4 is a block diagram of an embodiment 2 of the mobile terminal, and the connection relationship and functions of the internal units of the mobile terminal are further explained in conjunction with the operating principle of the mobile terminal. The mobile terminal may include:
an inquiring unit 401, configured to send a status inquiring request to a base station at any time during a call, so that after receiving the status inquiring request, the base station inquires whether a home location register has a user id of the mobile terminal, and if so, sends local status information to the mobile terminal; otherwise, sending the roaming state information to the mobile terminal.
A first triggering unit 402, configured to trigger the location information acquiring unit to perform an acquiring operation when the roaming state information is received by the mobile terminal.
A second triggering unit 403, configured to, when the mobile terminal receives the local state information, check a user request by the mobile terminal, and when the user request is location information reporting, trigger the location information obtaining unit to perform an obtaining operation.
A location information acquiring unit 404 for acquiring location information of itself at any time during the call; the location information includes: latitude and longitude information and/or geographic location information.
A location information sending unit 405, configured to start a data service and send the obtained location information to a cloud server, so that the cloud server stores the location information to an account of the mobile terminal, so that the cloud server stores the location information to the account of the mobile terminal, and when a user needs to query historical location information of the mobile terminal, the user logs in the cloud server to query corresponding location information by using the account information of the mobile terminal.
Preferably, the position information acquiring unit includes:
a first obtaining subunit, configured to start a GPS positioning function of the mobile terminal to determine location information of the mobile terminal, where the location information includes: latitude and longitude information and/or geographical location information; or,
a second obtaining subunit, configured to measure distances to at least three base stations, respectively transmit the distances to a core network through the base stations, and finally receive location information of the mobile terminal forwarded by a base station to which the mobile terminal currently belongs, where the location information includes: latitude and longitude information and/or geographical location information; the location information is the location information of the mobile terminal determined by the core network using the received distance and the location of the corresponding base station.
Preferably, the location information transmitting unit includes:
the checking subunit is used for checking whether the current network is normally connected, if so, triggering the first sending subunit, and otherwise, triggering the second sending subunit;
the first sending subunit is used for starting a data service and sending the acquired position information to the cloud server;
and the second sending subunit is used for caching the acquired position information, and sending the acquired position information to the cloud server after the network connection is normal.
Preferably, the mobile terminal may further include:
and the time information sending unit is used for sending the local time of the mobile terminal to the cloud server while the position information sending unit executes sending.
The mobile terminal can further consider the actual requirements of the user, and when the mobile terminal is in a roaming state, the position information is stored in the cloud server; when the mobile terminal is in a local state, whether the position information is stored in the cloud server or not is determined according to a local request of a user. Therefore, when any user wants to inquire the historical position information of the mobile terminal, only the user needs to log in the account of the mobile terminal in the cloud server, the mode is convenient and humanized for the user, the actual requirements of the user are further considered, and the reported position information is longitude and latitude information and/or geographic position information, so that compared with the range value inquired in the prior art, the inquiry scheme can improve the accuracy of the inquiry result.
It should be noted that the mobile terminal provided by the present invention may further include other functional units in addition to the functional units described in the above embodiment 1 or 2. The following explains the results of the mobile terminal by taking a smart phone as an example. It should be understood that a handset is only one example of a mobile terminal and that a handset may have more or fewer components than mentioned below, may combine two or more components, or may have a different configuration of components. Such as: a cell phone may include memory, a Central Processing Unit (CPU), peripheral interfaces, RF circuitry, audio circuitry, speakers, a power management chip, input/output (I/O) subsystems, other input/control devices, and external ports, etc., which communicate via one or more communication buses or signal lines.
It should be noted that the mobile phone provided in this embodiment is only one example of the mobile terminal, and the mobile terminal related to the embodiment of the present invention may have more or less components than those mentioned above, may combine two or more components, or may have different configurations or arrangements of components, and each component may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
Based on the practical application scenario, the invention also provides a position information query system based on the mobile terminal, and the system is explained with reference to the embodiment.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an embodiment 1 of a location information query system based on a mobile terminal, and the following explains each device of the system and the connection relationship thereof further in combination with the operating principle of the system. The system may include:
any one of the mobile terminal and the cloud server;
the mobile terminal registers an account in the cloud server in advance, and the account is used for storing the position information sent to the cloud server by the mobile terminal.
The mobile terminal and the cloud server are communicated through a network, and the mobile terminal sends the position information of the mobile terminal to the cloud server at any time in the communication process and stores the position information in the corresponding account. The location information includes: latitude and longitude information and/or geographic location information.
For the user of the mobile terminal, the mobile terminal can be used for logging in an account of the cloud server to inquire historical position information. Of course, other devices may be used to log in the cloud server to query the historical location information.
For other users, any device can be used to log in a cloud server, and the historical position information of the user can be inquired according to the account information of the user.
As shown in fig. 5, in practical applications, a plurality of mobile terminals may store their own location information in the cloud service, and the specific number of the mobile terminals may be determined according to the storage capability and the processing capability of the cloud server, or may be determined by other factors, which is not limited herein.
It can be seen from this that: the query system provided by the invention can meet the requirement that a user queries the historical position information of the user or others at any time and any place, the query is convenient, and the accuracy of the queried position information is higher.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It should be further noted that, in the present specification, all the embodiments are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus and system embodiments, since they are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described apparatus and system embodiments are merely illustrative, in that elements described as separate components may or may not be physically separate. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a terminal device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (11)
1. A position information query method based on a mobile terminal is characterized by comprising the following steps:
the mobile terminal acquires the position information of the mobile terminal at any time in the call process; the location information includes: latitude and longitude information and/or geographical location information;
the mobile terminal starts a data service and sends the acquired position information to a cloud server so that the cloud server stores the position information to an account corresponding to the mobile terminal, and when a user needs to inquire the historical position information of the mobile terminal, the user logs in the cloud server to inquire the corresponding position information by using the account information of the mobile terminal.
2. The method according to claim 1, wherein before the mobile terminal acquires its own location information at any time during the call, the method further comprises:
the mobile terminal sends a state query request to a base station at any time in the conversation process, so that the base station queries whether a home location register has a user identity identification number of the mobile terminal after receiving the state query request, and if so, sends local state information to the mobile terminal; otherwise, sending roaming state information to the mobile terminal;
when the mobile terminal receives the roaming state information, the mobile terminal executes the operation of acquiring the position information of the mobile terminal at any time in the conversation process;
and when the mobile terminal receives the local state information, the mobile terminal checks the user request, and when the user request is the report position information, the mobile terminal executes the operation of acquiring the position information of the mobile terminal at any time in the conversation process.
3. The method according to claim 1 or 2, wherein the mobile terminal obtains its own location information at any time during the call, comprising:
the mobile terminal starts a GPS positioning function of the mobile terminal to determine position information of the mobile terminal, wherein the position information comprises: latitude and longitude information and/or geographical location information; or,
the mobile terminal firstly measures distances between the mobile terminal and at least three base stations, then respectively transmits the distances to a core network through the base stations, and finally receives the position information of the mobile terminal forwarded by the current home base station of the mobile terminal, wherein the position information comprises: latitude and longitude information and/or geographical location information; the location information is the location information of the mobile terminal determined by the core network using the received distance and the location of the corresponding base station.
4. The method according to claim 1 or 2, wherein the mobile terminal initiates a data service to send the acquired location information to a cloud server, and the method comprises:
the mobile terminal checks whether the current network is normally connected;
if so, the mobile terminal starts a data service and sends the acquired position information to a cloud server;
otherwise, the mobile terminal caches the acquired position information, and sends the acquired position information to the cloud server after the network connection is normal.
5. The method according to claim 1 or 2, wherein while the mobile terminal initiates a data service to send the acquired location information to a cloud server, the method further comprises:
and the mobile terminal sends the local time to a cloud server.
6. A mobile terminal, characterized in that the mobile terminal comprises:
the device comprises a position information acquisition unit, a communication unit and a communication unit, wherein the position information acquisition unit is used for acquiring the position information of the device at any time in the communication process; the location information includes: latitude and longitude information and/or geographical location information;
the location information sending unit is used for starting a data service and sending the obtained location information to a cloud server so that the cloud server stores the location information to an account corresponding to the mobile terminal, and when a user needs to inquire the historical location information of the mobile terminal, the user logs in the cloud server to inquire the corresponding location information by using the account information of the mobile terminal.
7. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
the inquiring unit is used for sending an inquiring state request to a base station at any time in the conversation process so that the base station inquires whether a home location register has a user identity identification number of the mobile terminal after receiving the inquiring state request, and if so, the inquiring unit sends local state information to the mobile terminal; otherwise, sending roaming state information to the mobile terminal;
the first triggering unit is used for triggering the position information acquisition unit to execute the acquisition operation when the mobile terminal receives the roaming state information;
and the second triggering unit is used for checking the user request by the mobile terminal when the local state information is received by the mobile terminal, and triggering the position information acquisition unit to execute the acquisition operation when the user request is the reported position information.
8. The mobile terminal according to claim 6 or 7, wherein the location information acquiring unit comprises:
a first obtaining subunit, configured to start a GPS positioning function of the mobile terminal to determine location information of the mobile terminal, where the location information includes: latitude and longitude information and/or geographical location information; or,
a second obtaining subunit, configured to measure distances to at least three base stations, respectively transmit the distances to a core network through the base stations, and finally receive location information of the mobile terminal forwarded by a base station to which the mobile terminal currently belongs, where the location information includes: latitude and longitude information and/or geographical location information; the location information is the location information of the mobile terminal determined by the core network using the received distance and the location of the corresponding base station.
9. The mobile terminal according to claim 6 or 7, wherein the location information transmitting unit includes:
the checking subunit is used for checking whether the current network is normally connected, if so, triggering the first sending subunit, and otherwise, triggering the second sending subunit;
the first sending subunit is used for starting a data service and sending the acquired position information to the cloud server;
and the second sending subunit is used for caching the acquired position information, and sending the acquired position information to the cloud server after the network connection is normal.
10. The mobile terminal according to claim 6 or 7, characterized in that the mobile terminal further comprises:
and the time information sending unit is used for sending the local time of the mobile terminal to the cloud server while the position information sending unit executes sending.
11. A location information query system based on a mobile terminal, the system comprising:
the mobile terminal and cloud server of any of claims 6 to 10;
the mobile terminal registers an account in the cloud server in advance, and the account is used for storing the position information sent to the cloud server by the mobile terminal.
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 |
CN114845248B (en) * | 2022-03-17 | 2024-07-30 | 中国联合网络通信集团有限公司 | User location acquisition method, front-end, device 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 |
CN101848416A (en) * | 2010-04-02 | 2010-09-29 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal, application server, application push method and application push system |
CN101848413A (en) * | 2009-03-24 | 2010-09-29 | 宏达国际电子股份有限公司 | Location feature description method, system and computer program product |
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 | 宏达国际电子股份有限公司 | Location feature description method, 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 | |
US11002822B2 (en) | Service enhancements using near field communication | |
US7577441B2 (en) | Method and device for determining a position of a portable electronic device | |
CN105472737B (en) | A kind of method of locating terminal and server | |
CN109541655B (en) | Differential positioning system and method | |
US8121620B2 (en) | Location tracking of mobile phone using GPS function | |
CN105306204A (en) | Security verification method, device and system | |
EP2059075A2 (en) | Method and system for locating a lost and/or stolen phone based on supl network initiated, triggered by reverse-billed SMS | |
CN102695124A (en) | Electronic name card sending method, device and server | |
CN105068103A (en) | Auxiliary positioning method and electronic equipment | |
CN104244174A (en) | Method for obtaining geographical location information of terminals and server | |
US9179004B2 (en) | Method and apparatus for charging | |
CN105472585A (en) | Network setting method and mobile terminal | |
EP2544468A1 (en) | Region access platform, mobile positioning method and system | |
US20170019855A1 (en) | Enabling and disabling low energy, short-range wireless communication modules | |
US8254963B2 (en) | Method of providing location-based service in a communication system | |
US8712378B1 (en) | Authorization method for location based services | |
KR20090036714A (en) | A portable terminal using the SAT and its location information providing method | |
CN107613099A (en) | Load the method and device of emergency numbers | |
WO2014110945A1 (en) | Information pushing method, information pushing system and information transmitter | |
WO2021000319A1 (en) | Method, apparatus, and system for ensuring terminal security | |
TWI668595B (en) | Electronic device and system and method for searching the same | |
US20220350878A1 (en) | Subscriber authentication responsive to emergency services registration | |
EP2016741B1 (en) | Method for managing service requests via a mobile station of a digital mobile communications network | |
KR101910737B1 (en) | System for checking communication quality according to position of user mobile and control method thereof |
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 |