CN110741727A - Terminal position sending method and device - Google Patents

Terminal position sending method and device Download PDF

Info

Publication number
CN110741727A
CN110741727A CN201780092013.8A CN201780092013A CN110741727A CN 110741727 A CN110741727 A CN 110741727A CN 201780092013 A CN201780092013 A CN 201780092013A CN 110741727 A CN110741727 A CN 110741727A
Authority
CN
China
Prior art keywords
terminal
preset
network
wireless network
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201780092013.8A
Other languages
Chinese (zh)
Other versions
CN110741727B (en
Inventor
龚敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huantai Technology Co Ltd
Original Assignee
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huantai Technology Co Ltd filed Critical Shenzhen Huantai Technology Co Ltd
Publication of CN110741727A publication Critical patent/CN110741727A/en
Application granted granted Critical
Publication of CN110741727B publication Critical patent/CN110741727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

methods for sending terminal location, wherein the method comprises the steps of determining that the terminal is in a lost state, inquiring network identification of a wireless network searched by the terminal when the terminal is not connected with the network, connecting a preset wireless network corresponding to the preset network identification based on prestored account information and password information when the preset network identification exists in the network identification, and sending geographic location information of the terminal to a server through the preset wireless network.

Description

Terminal position sending method and device Technical Field
The invention relates to the technical field of mobile terminals, in particular to a method and a device for transmitting terminal positions.
Background
With the improvement of living standard of people, mobile wireless communication devices such as mobile phones and the like become more and more important tools for communication between people, and the development of mobile phones is changing day by day, and the mobile phone has developed from a simple communication function to a multifunctional direction such as computer, television camera shooting and the like. Meanwhile, the body of the mobile phone is gradually miniaturized and is convenient to carry, so that great convenience is brought to the use of people. However, the small size of the handset also makes it susceptible to being inadvertently lost by the user or stolen by a thief.
Disclosure of Invention
The embodiment of the invention provides terminal position sending methods and devices.
, an embodiment of the present invention provides a method for sending terminal locations, including:
determining that the terminal is in a lost state;
when the terminal is not connected with a network, inquiring the network identification of the wireless network searched by the terminal;
when the preset network identification exists in the network identification, connecting a preset wireless network corresponding to the preset network identification based on prestored account information and password information;
and sending the geographical position information of the terminal to a server through the preset wireless network.
In a second aspect, an embodiment of the present invention provides apparatus for sending a terminal position, including:
a determining unit, configured to determine that the terminal is in a lost state;
the inquiry unit is used for inquiring the network identifier of the wireless network searched by the terminal when the terminal is not connected with the network;
the connection unit is used for connecting a preset wireless network corresponding to the preset network identifier based on prestored account information and password information when the preset network identifier exists in the network identifier;
and the sending unit is used for sending the geographical position information of the terminal to a server through the preset wireless network.
In a third aspect, an embodiment of the present invention provides kinds of mobile terminals, including:
the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are connected through the communication bus and complete mutual communication;
the memory stores executable program code, the communication interface is for wireless communication;
the processor is configured to call the executable program code in the memory to perform some or all of the steps described in of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention provides computer-readable storage media, where the computer-readable storage media stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps as described in of the embodiment of the present invention, and the computer includes a mobile terminal.
In a fifth aspect, embodiments of the present invention provide computer program products, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps as described in embodiments of the present invention the computer program product may be software installation packages, the computer comprising a mobile terminal.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flow chart of methods for sending terminal locations, which are disclosed in the embodiments of the present invention;
fig. 2 is a flowchart illustrating another terminal location transmitting method according to an embodiment of the present invention;
fig. 3-1 is a block diagram of the components of terminal position transmitting devices disclosed in the embodiment of the invention;
fig. 3-2 is a block diagram of the components of terminal position transmitting devices disclosed in the embodiment of the invention;
fig. 4 is a schematic structural diagram of kinds of mobile terminals disclosed by the embodiment of the invention;
fig. 5 is a schematic structural diagram of another kinds of mobile terminals disclosed in the embodiment of the present invention.
Detailed Description
For those skilled in the art to better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a partial embodiment, not a whole embodiment, of the present invention.
Moreover, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a series of steps or elements is not limited to the listed steps or elements, but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least embodiments of the present invention the appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments.
Some mobile phones sold in the market are internally provided with a recovery function, and mobile phones lost by users are found by opening the recovery function, but the recovery function needs to be established with a data network, the built-in recovery function can only play a role after the data network of the mobile phones is opened, and the built-in recovery function cannot take effect once the data network of the mobile phones is closed due to the fact that a SIM card is pulled out and the like.
In the terminal position sending method provided by the embodiment of the invention, the terminal determines that the terminal is in a lost state, queries the network identifier of the wireless network searched by the terminal when the terminal is not connected with the network, and when the network identifier has the preset network identifier, the terminal is connected with the preset wireless network corresponding to the preset network identifier based on the prestored account information and password information and sends the geographical position information of the terminal to the server through the preset wireless network.
Referring to fig. 1, fig. 1 is a schematic flow chart of terminal location sending methods according to an embodiment of the present invention, and as shown in fig. 1, the terminal location sending method according to the embodiment of the present invention includes the following steps:
s101, the terminal determines that the terminal is in a lost state.
In embodiments, the terminal may obtain the current location information of the terminal at preset time intervals, and determine that the terminal is in a lost state when detecting that the current location information of the terminal is not in the pre-stored location information list.
In embodiments, the terminal obtains a stored last times of usage time node of the terminal, where the last times of usage time node is stored in a preset storage area, and data stored in the preset storage area is not cleared when the terminal performs system upgrade or system reset, and in a th time period with the usage time node as a starting point of the time period, the terminal detects whether the terminal is continuously in a th preset state, where the th preset state may be a screen locking state (or an unused state), and when it is detected that the terminal is continuously in a th preset state, the terminal is determined to be in a lost state.
In embodiments, a terminal starts a Timer2, the starting time of the Timer is a latest times of usage time node of the terminal, the usage state of the mobile phone is queried in a th time period, if it is detected that the terminal is continuously in a th preset state (a screen locking state or an unused state), it is determined that the terminal is in a lost state, and if it is detected that the mobile phone is in a second preset state (an unlocking state or a usage state), the Timer2 is turned off.
In embodiments, the time of use node of the terminal times last is updated in real time, and the implementation manner of the terminal updating the time of use node of times last may be:
the method comprises the steps that the terminal detects whether the terminal is in a second preset state every second time period, wherein the second preset state can be an unlocking state (or a using state), when the terminal is detected to be in the second preset state, the current system time is obtained, and the current system time is stored in a preset storage area so as to update the latest times of using time nodes of the terminal stored in the preset storage area.
In embodiments, after a user unlocks a terminal, the terminal starts Timer timers 1, the terminal detects whether the terminal is in a second preset state every second time period, acquires the current system time when detecting that the terminal is in the second preset state, stores the current system time in a preset storage area, and closes the Timer1 when detecting that the terminal is not in the second preset state.
Or, the implementation manner of the terminal updating the latest usage time nodes may also be:
when the terminal is switched from a second preset state (an unlocking state or a using state) to the th preset state (a screen locking state or an unused state), acquiring current system time, and storing the current system time in a preset storage area to update the latest using time node of the terminal.
In embodiments, after a user unlocks a terminal, the terminal starts Timer timers 1, and when the terminal is switched from a second preset state (an unlocked state or a used state) to a th preset state (a screen locking state or an unused state), obtains a current system time, stores the current system time in a preset storage area, and simultaneously closes the Timer 1.
S102, when the terminal is not connected with the network, the terminal inquires the network identification of the wireless network searched by the terminal.
The terminal searches the wireless network which can be accessed currently and acquires the network identification of the searched wireless network. The terminal inquires the network identification of the wireless network searched by the terminal to detect whether the preset network identification exists in the searched network identification of the wireless network.
In embodiments, after determining that the terminal is in a lost state, the terminal may detect whether the terminal is connected to a network, where the network includes a mobile data network or a wireless network, before querying a network identifier of a wireless network searched by the terminal, and when detecting that the terminal is not connected to the network, the terminal performs the step S102 of querying the network identifier of the wireless network searched by the terminal, and when detecting that the terminal is connected to the network, the terminal may directly send the geographic location information of the terminal to the server through the mobile data network or the wireless network connected to the terminal.
S103, when the preset network identification exists in the network identification, the terminal is connected with a preset wireless network corresponding to the preset network identification based on prestored account information and password information.
In embodiments, the preset network identifier and the account information and the password information corresponding to the preset network identifier may be pre-stored in the terminal by the terminal manufacturer when the terminal leaves the factory, and are used to indicate that the terminal is connected to the preset wireless network corresponding to the preset network identifier when the terminal is lost.
And S104, the terminal sends the geographical position information of the terminal to a server through the preset wireless network.
And after the terminal is connected with the preset wireless network corresponding to the preset network identification, acquiring current geographical position information, and sending the geographical position information to a server which establishes communication connection with the terminal, so that when a user of the terminal logs in the server at other terminals except the terminal, the user can acquire the geographical position information of the lost terminal from the server, and further retrieve the lost terminal.
In embodiments, after determining that the terminal is in the lost state, the terminal may further perform the following operations before querying the network identification of the wireless network searched by the terminal:
and detecting whether the terminal is connected with a network.
In embodiments, the terminal may further perform the following operations:
and when the terminal is connected with the network, sending the geographical position information of the terminal to the server through the network connected with the terminal.
In embodiments, the specific implementation manner of the terminal determining that the terminal is in the lost state may be:
the method comprises the steps of obtaining stored usage time nodes of the terminal times recently, detecting whether the terminal is in a th preset state continuously in a th time period taking the usage time nodes as a time period starting point, and determining that the terminal is in a lost state when detecting that the terminal is in a th preset state continuously.
In embodiments, the terminal may further perform the following operations:
detecting whether the terminal is in a second preset state every second time period;
when the terminal is detected to be in a second preset state, acquiring the current system time;
and storing the current system time to update the latest times of use time node of the terminal.
In embodiments, the terminal may further perform the following operations:
and when the terminal is switched from the second preset state to the th preset state, storing the current system time so as to update the usage time node of the terminal for the last times.
In embodiments, after connecting the preset wireless network corresponding to the preset network identifier based on the pre-stored account information and password information, the terminal may further perform the following operations:
and setting the reference flag bit as a preset value.
In embodiments, the terminal may further perform the following operations:
when a data transmission request passing through the preset wireless network is detected, judging whether the reference zone bit is a preset value or not, wherein the data transmission request is a transmission request aiming at any data except the geographical position information of the terminal; and when the reference marker bit is judged to be the preset value, the connection of the preset wireless network is interrupted.
In embodiments, in order to prevent the terminal from transmitting any data except for the geographical location information through the preset wireless network or receiving data through the preset wireless network, the terminal sets a reference Flag to a preset value, for example, sets Flag to 1 (or true), after determining that it is in a lost state and connecting to the preset wireless network.
When the terminal is switched from a screen locking state to an unlocking state, or when a data transmission request passing through the preset wireless network is detected, the terminal judges whether the current reference zone bit is the preset value, and when the reference zone bit is judged to be the preset value, the connection of the preset wireless network is interrupted to prevent the terminal from carrying out data transmission through the preset wireless network; and when the reference zone bit is judged not to be the preset value, the terminal transmits data based on the currently connected network.
According to the terminal position sending method provided by the embodiment of the invention, the terminal determines that the terminal is in a lost state, when the terminal is not connected with a network, the network identifier of the wireless network searched by the terminal is inquired, when the preset network identifier exists in the network identifier, the terminal is connected with the preset wireless network corresponding to the preset network identifier based on the prestored account information and password information, and the geographical position information of the terminal is sent to the server through the preset wireless network. Therefore, by implementing the terminal position sending method in the embodiment of the invention, the geographical position information can still be sent to the server when the terminal is lost and is not connected with a data network, so that the user can find the lost terminal in time.
Referring to fig. 2, fig. 2 is a schematic flow chart of another terminal location transmitting method according to an embodiment of the present invention, which is similar to the embodiment shown in fig. 1, as shown in fig. 2, the terminal location transmitting method according to the embodiment of the present invention includes the following steps:
s201, the terminal acquires stored usage time nodes of times recently.
In embodiments, the node of the usage time of the terminal that has been used times last is updated, and the specific updating method may be:
and the terminal detects whether the terminal is in a second preset state every a second time period, acquires the current system time when detecting that the terminal is in the second preset state, and stores the current system time so as to update the latest use time nodes of the terminal.
The updating mode of the node of the latest times of use time of the terminal may also be as follows:
and when the terminal is switched from the second preset state to the th preset state, storing the current system time so as to update the usage time node of the terminal for the last times.
S202, in the th time period taking the using time node as the starting point of the time period, the terminal detects whether the terminal is continuously in the th preset state.
S203, when the terminal detects that the terminal is continuously in the preset state , the terminal is determined to be in the lost state.
S204, the terminal detects whether the terminal is connected with a network or not;
when detecting that the terminal is not connected to the network, the terminal performs step S205 to step S207; when detecting that the terminal is connected to the network, the terminal performs step S210;
s205, when detecting that the terminal is not connected with the network, the terminal inquires the network identification of the wireless network searched by the terminal;
s206, when the preset network identification exists in the network identification, the terminal is connected with a preset wireless network corresponding to the preset network identification based on prestored account information and password information;
after the terminal connects to the preset wireless network corresponding to the preset network identifier based on the pre-stored account information and password information, step S207 may be executed;
after the terminal is connected with the preset wireless network corresponding to the preset network identifier based on the pre-stored account information and password information, steps S208 to S209 may also be executed;
the terminal may further perform step S211 after connecting the preset wireless network corresponding to the preset network identifier based on the pre-stored account information and password information.
And S207, the terminal sends the geographical position information of the terminal to a server through the preset wireless network.
S208, when a data transmission request passing through the preset wireless network is detected, the terminal judges whether the reference zone bit is a preset value or not, and the data transmission request is a transmission request aiming at any data except the geographical position information of the terminal.
And S209, when the reference flag bit is judged to be the preset value, the terminal interrupts the connection with the preset wireless network.
S210, when the terminal is detected to be connected with the network, the terminal sends the geographical position information of the terminal to the server through the network connected with the terminal.
S211, the terminal sets the reference flag bit as a preset value.
According to the terminal position sending method provided by the embodiment of the invention, the terminal determines that the terminal is in a lost state, when the terminal is not connected with a network, the network identifier of the wireless network searched by the terminal is inquired, when the preset network identifier exists in the network identifier, the terminal is connected with the preset wireless network corresponding to the preset network identifier based on the prestored account information and password information, and the geographical position information of the terminal is sent to the server through the preset wireless network. Therefore, by implementing the terminal position sending method in the embodiment of the invention, the geographical position information can still be sent to the server when the terminal is lost and is not connected with a data network, so that the user can find the lost terminal in time.
Referring to fig. 3-1, fig. 3-1 is a block diagram of components of terminal location transmitting devices disclosed in the embodiment of the present invention, and as shown in fig. 3-1, the terminal location transmitting device may include a determining unit 301, a querying unit 302, a connecting unit 303, and a transmitting unit 304, where:
a determining unit 301, configured to determine that the terminal is in a lost state;
an inquiring unit 302, configured to inquire a network identifier of a wireless network searched by the terminal when the terminal is not connected to a network;
a connection unit 303, configured to connect, when a preset network identifier exists in the network identifier, a preset wireless network corresponding to the preset network identifier based on prestored account information and password information;
a sending unit 304, configured to send the geographical location information of the terminal to a server through the preset wireless network.
Referring to fig. 3-2, fig. 3-2 is a block diagram of the components of another terminal location transmitting devices disclosed in the embodiments of the present invention, and as shown in fig. 3-2, the terminal location transmitting device may include a determining unit 301, an inquiring unit 302, a connecting unit 303, and a transmitting unit 304 in the embodiments corresponding to fig. 3-1
In embodiments, the terminal position sending device further includes:
a detecting unit 305, configured to detect whether the terminal is connected to a network;
a triggering unit 306, configured to, when it is detected that the terminal is not connected to a network, trigger the querying unit 302 to perform the operation of querying the network identifier of the wireless network searched by the terminal when the terminal is not connected to a network.
In embodiments, the sending unit 304 is further configured to send, to the server through the network to which the terminal is connected, the geographic location information of the terminal when it is detected that the terminal is connected to the network.
In embodiments, the determining unit 301 is specifically configured to:
the method comprises the steps of obtaining stored usage time nodes of the terminal times recently, detecting whether the terminal is in a th preset state continuously in a th time period taking the usage time nodes as a time period starting point, and determining that the terminal is in a lost state when detecting that the terminal is in a th preset state continuously.
In embodiments, the terminal position sending device further includes:
an th updating unit 307, configured to detect whether the terminal is in a second preset state every second time period, obtain a current system time when the terminal is detected to be in the second preset state, and store the current system time to update the most recent times of usage time nodes of the terminal.
In embodiments, the terminal position sending device further includes:
a second updating unit 308, configured to store the current system time when the terminal is switched from the second preset state to the th preset state, so as to update the most recent times of usage time nodes of the terminal.
In embodiments, the terminal position sending device further includes:
a setting unit 309, configured to set the reference flag to a preset value.
In embodiments, the terminal position sending device further includes:
a determining unit 310, configured to determine whether the reference flag is a preset value when a data transmission request through the preset wireless network is detected, where the data transmission request is a transmission request for any data except the geographical location information of the terminal;
an interrupting unit 311, configured to interrupt connection to the preset wireless network when the reference flag is determined to be the preset value.
Specifically, the specific implementation of each unit may refer to the description of the relevant steps in the embodiment corresponding to fig. 1 to 2, which is not described herein again.
It should be noted that the term "unit" as used herein is to be understood in its broadest possible sense and the objects used to implement the functionality described by the various "units" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or chipset) and memory that execute or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.
For example, the function of determining that the terminal is in the lost state by the determining unit 301 may be implemented by the mobile terminal shown in fig. 4, and specifically, the processor 101 may determine that the terminal is in the lost state by calling the executable program code in the memory 102.
The terminal position sending device provided by the embodiment of the invention determines that the terminal is in a lost state, queries the network identifier of the wireless network searched by the terminal when the terminal is not connected with the network, connects the preset wireless network corresponding to the preset network identifier based on the prestored account information and password information when the preset network identifier exists in the network identifier, and sends the geographical position information of the terminal to the server through the preset wireless network. Therefore, the terminal position sending device in the embodiment of the invention can still send the geographic position information to the server when the terminal is lost and is not connected with the data network, thereby being beneficial to a user to find the lost terminal in time.
The embodiment of the present invention further provides mobile terminals, as shown in fig. 4, which includes a processor 101, a memory 102, a communication interface 103 and a communication bus 104, where the processor 101, the memory 102 and the communication interface 103 are connected via the communication bus 104 and complete communication with each other, the processor 101 controls wireless communication with an external cellular network via the communication interface 103, the communication interface 103 includes, but is not limited to, an antenna, an Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, etc., the memory 102 includes at least types of ram, a non-volatile memory and an external memory, and the memory 102 stores executable program codes capable of directing the processor 101 to execute the terminal location transmitting method specifically disclosed in the method embodiment of the present invention.
The processor 101 is configured to determine that the terminal is in a lost state; when the terminal is not connected with a network, inquiring the network identification of the wireless network searched by the terminal; when the preset network identification exists in the network identification, connecting a preset wireless network corresponding to the preset network identification based on prestored account information and password information; and sending the geographical position information of the terminal to a server through the preset wireless network.
In embodiments, after determining that the terminal is in the lost state, the processor 101 is further configured to, before querying for a network identification of a wireless network searched by the terminal:
detecting whether the terminal is connected with a network; and when detecting that the terminal is not connected with the network, triggering and executing the operation of inquiring the network identifier of the wireless network searched by the terminal when the terminal is not connected with the network.
In embodiments, the processor 101 is further configured to:
and when the terminal is detected to be connected with the network, sending the geographical position information of the terminal to the server through the network connected with the terminal.
In embodiments, when determining that the terminal is in the lost state, the processor 101 is specifically configured to:
the method comprises the steps of obtaining stored usage time nodes of the terminal times recently, detecting whether the terminal is in a th preset state continuously in a th time period taking the usage time nodes as a time period starting point, and determining that the terminal is in a lost state when detecting that the terminal is in a th preset state continuously.
In embodiments, the processor 101 is further configured to:
the method comprises the steps of detecting whether a terminal is in a second preset state every other second time period, obtaining current system time when the terminal is detected to be in the second preset state, and storing the current system time to update latest use time nodes of the terminal.
In embodiments, the processor 101 is further configured to:
and when the terminal is switched from the second preset state to the th preset state, storing the current system time so as to update the usage time node of the terminal for the last times.
In embodiments, after the processor 101 is configured to connect a preset wireless network corresponding to the preset network identifier based on pre-stored account information and password information, the processor is further configured to:
and setting the reference flag bit as a preset value.
In embodiments, the processor 101 is further configured to:
when a data transmission request passing through the preset wireless network is detected, judging whether the reference zone bit is a preset value or not, wherein the data transmission request is a transmission request aiming at any data except the geographical position information of the terminal; and when the reference marker bit is judged to be the preset value, the connection of the preset wireless network is interrupted.
Specifically, the specific implementation of each unit may refer to the description of the relevant step in the embodiment corresponding to fig. 1 or fig. 2, which is not described herein again.
The mobile terminal provided by the embodiment of the invention determines that the terminal is in a lost state, queries the network identifier of the wireless network searched by the terminal when the terminal is not connected with the network, connects the preset wireless network corresponding to the preset network identifier based on the prestored account information and password information when the preset network identifier exists in the network identifier, and sends the geographical position information of the terminal to the server through the preset wireless network. Therefore, by the mobile terminal provided by the embodiment of the invention, the geographical position information can still be sent to the server when the terminal is lost and is not connected with a data network, so that a user can find the lost terminal in time.
As shown in fig. 5, for convenience of description, only a part related to the embodiment of the present invention is shown, and details of the specific technology are not disclosed, please refer to the method part of the embodiment of the present invention, the mobile terminal may be any terminal device including a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a point of sale (POS), a vehicle-mounted computer, and the like, taking the mobile terminal as the mobile phone:
fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 5, the handset includes: radio Frequency (RF) circuitry 910, memory 920, input unit 930, display unit 940, sensor 950, audio circuitry 960, wireless fidelity (Wi-Fi) module 970, processor 980, and power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 5:
in general, RF circuit 910 may be used for the reception and transmission of information, RF circuit 910 may include, but is not limited to, an antenna, at least amplifiers, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, etc. in addition, RF circuit 910 may communicate with networks and other devices via wireless communication, which may use any communication standards or protocols including, but not limited to, Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 920 may be used to store software programs and modules, and the processor 980 may execute various functional applications and data processing of the cellular phone by executing the software programs and modules stored in the memory 920, the memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least application programs required for functions, and the like, the data storage area may store data created according to the use of the cellular phone, and the like, and further, the memory 920 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least magnetic disk storage devices, flash memory devices, or other volatile solid-state storage devices.
The input unit 930 may be configured to receive input numbers or character information and generate key signal inputs related to user settings and function controls of the mobile phone, in embodiments, the input unit 930 may include a fingerprint recognition module 931 and other input devices 932, the fingerprint recognition module 931 may collect fingerprint data of a user thereon, in embodiments, the fingerprint recognition module 931 may include an optical fingerprint module, a capacitive fingerprint module, and a radio frequency fingerprint module, taking the fingerprint recognition module 931 as an example of the capacitive fingerprint recognition module, specifically including sensing electrodes (abnormal sensing electrodes and normal sensing electrodes) and a signal processing circuit (such as an amplifying circuit, a noise suppression circuit, an analog-to-digital conversion circuit, and so on) connected to the sensing electrodes, in addition to the fingerprint recognition module 931, the input unit 930 may further include other input devices 932, in embodiments, the other input devices 932 may include, but are not limited to, or more of a physical keyboard, function keys (such as volume control keys, switch keys, a trackball, a mouse, a joystick, and so on.
The display unit 940 may include a display screen 941, and in embodiments, the display screen 941 may be configured by a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), and the like, although in fig. 5, the fingerprint identification module 931 and the display screen 941 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the fingerprint identification module 931 and the display screen 941 may be integrated to implement the input and output functions of the mobile phone.
The mobile phone may further include at least sensors 950, such as a light sensor, a motion sensor, and other sensors, in embodiments, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen 941 according to the brightness of ambient light, and the proximity sensor may turn off the display screen 941 and/or backlight when the mobile phone moves to the ear, as the motion sensor, the accelerometer sensor may detect the acceleration in each direction (three axes in ), may detect the gravity when the mobile phone is stationary, may be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are also configured on the mobile phone, and will not be described herein again.
The audio circuit 960, the speaker 961, and the microphone 962 may provide an audio interface between a user and a mobile phone, the audio circuit 960 may transmit an electrical signal obtained by converting received audio data to the speaker 961, and the audio signal is converted by the speaker 961 and output, and in the aspect of , the microphone 962 converts a collected sound signal into an electrical signal, and the electrical signal is received by the audio circuit 960 and converted into audio data, and the audio data is processed by the audio data output processor 980 and then transmitted to another mobile phone through the RF circuit 910, or the audio data is output to the memory 920 for further processing at step .
Wi-Fi belongs to short-distance wireless transmission technology, and a mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a Wi-Fi module 970, and provides wireless broadband internet access for the user. Although fig. 5 shows the Wi-Fi module 970, it is understood that it does not belong to the essential constitution of the cellular phone and can be omitted entirely as needed within the scope not changing the essence of the invention.
Processor 980 is the control center of the handset, and interfaces and circuitry are used to connect various parts of the overall handset to enable overall monitoring of the handset by running or executing software programs and/or modules stored in memory 920 and invoking data stored in memory 920 to perform various functions and processes on the handset data in embodiments, processor 980 may include or more processing units, and preferably, processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 980 via a power management system, thereby providing management of charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein. In the embodiments shown in fig. 1 and fig. 2, the method flows of the steps may be implemented based on the structure of the mobile phone.
In the embodiment shown in fig. 3, the functions of the units can be implemented based on the structure of the mobile phone.
Embodiments of the present invention further provide computer program products comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the terminal position transmitting methods as recited in the above method embodiments.
The embodiment of the present invention further provides computer storage media, where the computer storage media may store a program, and the program includes part or all of the steps of any terminal position transmission methods described in the above method embodiments when executed.
It should be noted that for simplicity of description, the aforementioned method embodiments are described as series combinations of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
For example, the above-described embodiments of the apparatus are merely illustrative, such as the division of the units described, only the logical function divisions, and other divisions may be possible in actual implementation, such as multiple units or components may be combined or integrated into another systems, or features may be omitted, or not executed, another point, and the shown or discussed mutual coupling or direct coupling or communication connection may be through interfaces, indirect coupling or communication connection of the apparatuses or units, and may be electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in places, or may also be distributed on multiple network units.
In addition, the functional units in the embodiments of the present invention may be integrated into processing units, or each unit may exist alone physically, or two or more units are integrated into units.
Based on the understanding that the technical solution of the present invention, in essence or a part thereof contributing to the prior art, or all or part of the technical solution, can be embodied in the form of a software product stored in memories, including several instructions for making computer devices (which may be personal computers, servers, network devices, etc.) execute all or part of the steps of the methods described in the embodiments of the present invention, and the aforementioned memories include various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be performed by associated hardware as instructed by a program stored in computer readable memory which may include flash memory disks, read-only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, etc.
While the embodiments of the present invention have been described in detail, the principles and embodiments of the present invention have been illustrated and described herein by means of specific examples, which are provided only for the purpose of facilitating understanding of the method and the core concept of the present invention, and meanwhile, for those skilled in the art , the description should not be construed as limiting the present invention in view of the above description.

Claims (16)

  1. A method for transmitting a terminal location, comprising:
    determining that the terminal is in a lost state;
    when the terminal is not connected with a network, inquiring the network identification of the wireless network searched by the terminal;
    when the preset network identification exists in the network identification, connecting a preset wireless network corresponding to the preset network identification based on prestored account information and password information;
    and sending the geographical position information of the terminal to a server through the preset wireless network.
  2. The method of claim 1, wherein the method further comprises:
    and when the terminal is connected with the network, sending the geographical position information of the terminal to the server through the network connected with the terminal.
  3. The method of claim 1, wherein the determining that the terminal is in a lost state comprises:
    acquiring stored latest times of use time nodes of the terminal;
    detecting whether the terminal is continuously in a th preset state during an th time period starting from the usage time node;
    and when the terminal is detected to be continuously in the preset state , determining that the terminal is in the lost state.
  4. The method of claim 3, wherein the method further comprises:
    detecting whether the terminal is in a second preset state every second time period;
    when the terminal is detected to be in a second preset state, acquiring the current system time;
    and storing the current system time to update the latest times of use time node of the terminal.
  5. The method of claim 3, wherein the method further comprises:
    and when the terminal is switched from the second preset state to the th preset state, storing the current system time so as to update the usage time node of the terminal for the last times.
  6. The method according to of any one of claims 1-5, wherein after connecting to the preset wireless network corresponding to the preset network identifier based on the pre-stored account information and password information, the method further comprises:
    and setting the reference flag bit as a preset value.
  7. The method of claim 6, wherein the method further comprises:
    when a data transmission request passing through the preset wireless network is detected, judging whether the reference zone bit is the preset value or not, wherein the data transmission request is a transmission request aiming at any data except the geographical position information of the terminal;
    and when the reference marker bit is judged to be the preset value, the connection of the preset wireless network is interrupted.
  8. A terminal position transmitter, comprising:
    a determining unit, configured to determine that the terminal is in a lost state;
    the inquiry unit is used for inquiring the network identifier of the wireless network searched by the terminal when the terminal is not connected with the network;
    the connection unit is used for connecting a preset wireless network corresponding to the preset network identifier based on prestored account information and password information when the preset network identifier exists in the network identifier;
    and the sending unit is used for sending the geographical position information of the terminal to a server through the preset wireless network.
  9. The apparatus of claim 8,
    and the sending unit is used for sending the geographical position information of the terminal to the server through the network connected with the terminal when the terminal is connected with the network.
  10. The apparatus of claim 8, wherein the determining unit is specifically configured to:
    the method comprises the steps of obtaining stored usage time nodes of the terminal times recently, detecting whether the terminal is in a th preset state continuously in a th time period taking the usage time nodes as a time period starting point, and determining that the terminal is in a lost state when detecting that the terminal is in a th preset state continuously.
  11. The apparatus of claim 10, wherein the apparatus further comprises:
    an updating unit, configured to detect whether the terminal is in a second preset state every second time period, obtain a current system time when the terminal is detected to be in the second preset state, and store the current system time to update the most recent times of usage time nodes of the terminal.
  12. The apparatus of claim 10, wherein the apparatus further comprises:
    and the second updating unit is used for storing the current system time when the terminal is switched from the second preset state to the th preset state so as to update the latest times of use time nodes of the terminal.
  13. The apparatus of any one of claims 8 to 12, , wherein the apparatus further comprises:
    and the setting unit is used for setting the reference zone bit as a preset value.
  14. The apparatus of claim 13, wherein the apparatus further comprises:
    a determining unit, configured to determine whether the reference flag is the preset value when a data transmission request through the preset wireless network is detected, where the data transmission request is a transmission request for any data except the geographical location information of the terminal;
    and the interruption unit is used for interrupting the connection with the preset wireless network when the reference zone bit is judged to be the preset value.
  15. A mobile terminal, comprising:
    a processor, a memory;
    the memory stores executable program code;
    the processor is configured to call the executable program code in the memory to perform the method as recited in any of claims 1-7.
  16. computer-readable storage medium, characterized in that the computer storage medium stores a program which, when executed, comprises the method of any of claims 1-7 to .
CN201780092013.8A 2017-08-31 2017-08-31 Terminal position sending method and device Active CN110741727B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/100090 WO2019041287A1 (en) 2017-08-31 2017-08-31 Terminal location sending method and device

Publications (2)

Publication Number Publication Date
CN110741727A true CN110741727A (en) 2020-01-31
CN110741727B CN110741727B (en) 2023-02-28

Family

ID=65524635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780092013.8A Active CN110741727B (en) 2017-08-31 2017-08-31 Terminal position sending method and device

Country Status (2)

Country Link
CN (1) CN110741727B (en)
WO (1) WO2019041287A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104700050A (en) * 2015-03-17 2015-06-10 上海天奕达电子科技有限公司 Mobile terminal safety positioning method and device
CN105263099A (en) * 2015-08-28 2016-01-20 小米科技有限责任公司 Method and device for sending position information
CN105872195A (en) * 2015-12-08 2016-08-17 乐视移动智能信息技术(北京)有限公司 Mobile terminal positioning method, device and system
CN106385671A (en) * 2016-11-29 2017-02-08 维沃移动通信有限公司 Positioning method and mobile terminal
CN106488434A (en) * 2015-08-26 2017-03-08 广州市动景计算机科技有限公司 A kind of anti-theft method of mobile phone, device, system and mobile phone

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9253630B2 (en) * 2011-06-02 2016-02-02 Truphone Limited Identity management for mobile devices
CN103888983B (en) * 2014-03-31 2018-03-13 美的集团股份有限公司 Terminal WIFI mode of operations automatic switching method and system
CN105306697B (en) * 2015-09-30 2019-10-29 联想(北京)有限公司 A kind of information processing method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104700050A (en) * 2015-03-17 2015-06-10 上海天奕达电子科技有限公司 Mobile terminal safety positioning method and device
CN106488434A (en) * 2015-08-26 2017-03-08 广州市动景计算机科技有限公司 A kind of anti-theft method of mobile phone, device, system and mobile phone
CN105263099A (en) * 2015-08-28 2016-01-20 小米科技有限责任公司 Method and device for sending position information
CN105872195A (en) * 2015-12-08 2016-08-17 乐视移动智能信息技术(北京)有限公司 Mobile terminal positioning method, device and system
CN106385671A (en) * 2016-11-29 2017-02-08 维沃移动通信有限公司 Positioning method and mobile terminal

Also Published As

Publication number Publication date
WO2019041287A1 (en) 2019-03-07
CN110741727B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN107480489B (en) unlocking control method and related product
CN107645551B (en) File transmission method and device
CN107423601B (en) Fingerprint identification control method, fingerprint identification control device, fingerprint identification control terminal, fingerprint identification control storage medium and computer product
CN107329778B (en) System updating method and related product
CN110430592B (en) Network control method and related product
CN107172267B (en) Fingerprint identification control method and related product
CN107634952B (en) Method and device for determining brushing amount resource, service equipment, mobile terminal and storage medium
CN106446111B (en) Data migration method and terminal
CN106604277B (en) Wireless network access method and mobile terminal
CN110771121A (en) Application resource recommendation method and related equipment
WO2018049885A1 (en) Data migration method and device
CN106793010B (en) Network access method and equipment
CN107194223B (en) Fingerprint identification area display method and related product
CN107071151B (en) Control method for physical key corresponding to home key and mobile terminal
CN111966373B (en) APN resetting method, terminal equipment and storage medium
CN106851784B (en) network scanning method and terminal equipment
CN112135321B (en) Channel switching method and related product
CN109041212B (en) Positioning method and wearable device
CN108712281B (en) Method, device, storage medium and terminal for triggering detection management application update
CN106535229B (en) WiFi signal receiving sensitivity testing method and mobile terminal
CN106686704B (en) Terminal monitoring method and mobile terminal
CN110602766A (en) Personal hotspot identification method and method for determining association relationship between terminals
CN107862190B (en) Reminding method and related product
CN106817751B (en) Data sending method and mobile terminal
CN106792583B (en) Multimedia message sending method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant