Disclosure of Invention
In view of this, the present invention provides a method, an apparatus and a system for processing a lost mobile terminal, which are used to control the lost mobile terminal, so as to retrieve an unexpectedly lost mobile terminal or remotely process data stored in the mobile terminal, thereby reducing loss caused by the lost mobile terminal to a user.
In view of this, the embodiment of the present invention provides:
a processing method for losing a mobile terminal comprises the following steps:
the method comprises the steps that a first mobile terminal logs in a network server by using a registered account number registered on the network server and establishes TCP-Socket long connection with the network server; the registration account is a sequence uniquely bound with an International Mobile Equipment Identity (IMEI) or a mobile terminal identity (MEID) of the first mobile terminal;
when the first mobile terminal is lost, the first mobile terminal receives a positioning command and a connection command sent by the network server by using the TCP-Socket long connection, wherein the positioning command is used for indicating the first mobile terminal to send the position information of the first mobile terminal to the network server, and the connection command is used for indicating the first mobile terminal to be connected with the second mobile terminal;
the first mobile terminal sends the position information of the first mobile terminal to the network server according to the positioning command, and indicates the second mobile terminal to move to the vicinity of the first mobile terminal, so that the second mobile terminal can establish connection with the first mobile terminal; the vicinity of the first mobile terminal is a geographical position where the second mobile terminal can be connected with the first mobile terminal at the position indicated by the position information;
the first mobile terminal is connected with the second mobile terminal according to the connection command;
the first mobile terminal receives a control command sent by the second mobile terminal, wherein the control command is used for controlling the first mobile terminal to execute processing operation after the mobile terminal is lost;
the first mobile terminal performs the processing operation after the mobile terminal is lost.
A processing method for losing a mobile terminal comprises the following steps:
the network server establishes TCP-Socket long connection with the first mobile terminal;
when a first mobile terminal is lost, the network server sends a positioning command and a connection command to the first mobile terminal by using the TCP-Socket long connection, wherein the positioning command is used for indicating the first mobile terminal to send the position information of the first mobile terminal to the network server, and the connection command is used for indicating the first mobile terminal to search and connect a second mobile terminal;
the network server receives the position information of the first mobile terminal sent by the first mobile terminal;
the network server feeds back the position information of the first mobile terminal to the second mobile terminal, wherein the position information of the first mobile terminal is used for indicating the second mobile terminal to move to the vicinity of the first mobile terminal so that the second mobile terminal can establish connection with the first mobile terminal; the vicinity of the first mobile terminal refers to a geographical position where the second mobile terminal can connect with the first mobile terminal at the position indicated by the position information.
A mobile terminal, the mobile terminal being a first mobile terminal, comprising:
the first connection module is used for logging in the network server by using a registered account registered on the network server and establishing TCP-Socket long connection with the network server;
a first receiving module, configured to receive, by using the TCP-Socket long connection, a positioning command and a connection command sent by a network server when the first mobile terminal is lost, where the positioning command is used to instruct the first mobile terminal to send location information of the first mobile terminal to the network server, and the connection command is used to instruct the first mobile terminal to connect to a second mobile terminal;
the reporting module is used for sending the position information of the first mobile terminal to the network server according to the positioning command and indicating that the second mobile terminal moves to the vicinity of the first mobile terminal so that the second mobile terminal can establish connection with the first mobile terminal; the vicinity of the first mobile terminal is a geographical position where the second mobile terminal can be connected with the first mobile terminal at the position indicated by the position information;
the second connection module is used for connecting the second mobile terminal according to the connection command;
a second receiving module, configured to receive a control command sent by the second mobile terminal after the second mobile terminal is connected, where the control command is used to control the first mobile terminal to perform a processing operation after the first mobile terminal is lost;
and the execution module is used for executing the processing operation after the first mobile terminal is lost.
A network server, comprising:
the connection module is used for establishing TCP-Socket long connection with the first mobile terminal;
the sending module is used for sending a positioning command and a connection command to the first mobile terminal by utilizing the TCP-Socket long connection when the first mobile terminal is lost, wherein the positioning command is used for indicating the first mobile terminal to send the position information of the first mobile terminal to the network server, and the connection command is used for indicating the first mobile terminal to be connected with the second mobile terminal;
a receiving module, configured to receive the location information of the first mobile terminal sent by the first mobile terminal;
a feedback module, configured to feed back location information of the first mobile terminal to the second mobile terminal, where the location information of the first mobile terminal is used to indicate that the second mobile terminal moves to a location near the first mobile terminal, so that the second mobile terminal can establish a connection with the first mobile terminal; the vicinity of the first mobile terminal refers to a geographical position where the second mobile terminal can connect with the first mobile terminal at the position indicated by the position information.
A communication system, comprising:
the first mobile terminal, the network server and the second mobile terminal,
and the second mobile terminal is used for receiving the position information of the first mobile terminal fed back by the network server, establishing connection with the first mobile terminal and sending a control command to the first mobile terminal.
According to the technical scheme, the invention has the following advantages:
the embodiment of the invention utilizes the network server to send the positioning command and the connection command to the lost first mobile terminal, and indicates the lost first mobile terminal to feed back the position information of the first mobile terminal, and the position information indicates the second mobile terminal to move to the vicinity of the first mobile terminal, so that the first mobile terminal and the second mobile terminal can be conveniently connected, and the first mobile terminal can receive the control command sent by the second mobile terminal and execute corresponding operation, so as to realize the control of the lost first mobile terminal.
Detailed Description
The embodiment of the invention provides a processing method for a lost mobile terminal, which is used for controlling the lost mobile terminal, so that the mobile terminal which is lost accidentally is found back or data stored in the mobile terminal is processed remotely, and economic or other losses caused by the lost mobile terminal to a user are reduced. The embodiment of the invention also provides a corresponding processing device and a corresponding system for losing the mobile terminal. The following are detailed descriptions of the respective components.
Referring to fig. 1, a specific operation flow of a method for processing a lost mobile terminal according to a first embodiment of the present invention mainly includes the steps of:
101. the first mobile terminal receives a positioning command and a connection command sent by the network server.
Wherein, the network server may be a Push server.
When the user finds that the first mobile terminal is lost, the positioning command and the connection command can be sent to the lost first mobile terminal through the network server, and the lost first mobile terminal receives the positioning command and the connection command sent by the network server.
The positioning command is used for indicating the lost first mobile terminal to send the position information of the first mobile terminal to the network server so that the network server can obtain the position of the first mobile terminal, and the connection command is used for indicating the lost first mobile terminal to be connected with the second mobile terminal.
102. And the first mobile terminal sends the position information of the first mobile terminal to the network server according to the positioning command.
The lost first mobile terminal sends the position information of the first mobile terminal to a network server, wherein the position information is used for indicating that a second mobile terminal moves to the vicinity of the first mobile terminal so that the second mobile terminal can establish connection with the first mobile terminal. And the user determines the approximate position of the first mobile terminal according to the reported position information, moves to and fro to the vicinity of the position indicated by the position information with the second mobile terminal, and the vicinity of the position indicated by the position information is the geographical position where the second mobile terminal can be connected with the first mobile terminal at the position indicated by the position information.
103. And the first mobile terminal is connected with the second mobile terminal according to the connection command.
And when the second mobile terminal enters the connection range of the lost first mobile terminal, the lost first mobile terminal is connected with the second mobile terminal according to the connection command.
104. And the first mobile terminal receives the control command sent by the second mobile terminal.
In step 103, the lost first mobile terminal has established a connection with the second mobile terminal, and the second mobile terminal sends a control command to the lost first mobile terminal through the connection.
The control command is used for instructing the lost first mobile terminal to execute the processing operation after the mobile terminal is lost.
105. The first mobile terminal performs processing operations after the mobile terminal is lost.
The lost first mobile terminal executes a control command issued by the second mobile terminal, namely, executes the processing operation after the mobile terminal is lost, wherein the control command is used for indicating to copy the user data in the first mobile terminal to the second mobile terminal, and then the first mobile terminal sends the user data in the first mobile terminal to the second mobile terminal according to the control command; or the control command is used for indicating to delete the user data in the first mobile terminal, and the first mobile terminal deletes the user data in the first mobile terminal according to the control command; or, the control command is used to instruct the first mobile terminal to alarm, and the first mobile terminal alarms, specifically, the alarm audio may be played, and at this time, the lost first mobile terminal may shield all instructions input by the thief from the keyboard, and forcibly play the alarm audio.
The embodiment of the invention utilizes the network server to send the positioning command and the connection command to the lost first mobile terminal, and indicates the lost first mobile terminal to feed back the position information of the first mobile terminal, and the position information indicates the second mobile terminal to move to the vicinity of the first mobile terminal, so that the first mobile terminal and the second mobile terminal can be conveniently connected, and the first mobile terminal can receive the control command sent by the second mobile terminal and execute corresponding operation, so as to realize the control of the lost first mobile terminal.
The second embodiment of the present invention will be described in detail with reference to the steps in the first embodiment, and with reference to fig. 2, the present embodiment includes the steps of:
201. the first mobile terminal establishes a TCP-Socket long connection between the first mobile terminal and the push server by using the registered account.
The registered account is a sequence uniquely bound with an International Mobile Equipment Identity (IMEI) or a Mobile terminal Identity (MEID) of the first Mobile terminal. The TCP-Socket long connection establishing process includes that the first mobile terminal logs in the push server through a preset push service client when the first mobile terminal leaves a factory by using a registered account number registered on the push server, and establishes TCP-Socket long connection with the push server. Therefore, the first mobile terminal and the registered account are bound together, and the user can set the password for using the registered account at the same time to become the only legal user of the registered account, namely the only legal user of the first mobile terminal.
The TCP-Socket long connection is stateful connection, and the first mobile terminal sends a data packet to the push server through the TCP-Socket long connection according to a set frequency, so that the TCP-Socket long connection between the first mobile terminal and the push server is in an activated state.
202. And the first mobile terminal receives the positioning command and the connection command sent by the push server.
When the user finds that the first mobile terminal is lost, the push server can send a positioning command and a connection command to the lost first mobile terminal by using the registered account mentioned in step 201 and logging in the push server through a push service login platform provided by the push server on the internet, and the lost first mobile terminal receives the positioning command and the connection command sent by the push server.
The positioning command is used for indicating the lost first mobile terminal to send the position information of the first mobile terminal to the push server, so that the push server can master the real-time position of the first mobile terminal. The positioning command may further carry frequency indication information for indicating the first mobile terminal to send the location information of the first mobile terminal to the push server by using the set frequency, so that the push server dynamically grasps the real-time location of the lost first mobile terminal.
The connection command is used for instructing the first mobile terminal to connect the second mobile terminal. The connection command carries connection authentication information, and the connection authentication information may be a WIFI hotspot and a connection password of the second mobile terminal, or the connection authentication information is a bluetooth name and a connection pairing code of the second mobile terminal.
203. And the first mobile terminal reports the GPRS position information to the push server.
The lost first mobile terminal sends GPRS position information of the first mobile terminal to a push server according to the frequency set by the user in the positioning command, and the user determines the approximate position of the first mobile terminal according to the reported GPRS position information. The GPRS location information is used to indicate that the second mobile terminal moves into the vicinity of the first mobile terminal so that the second mobile terminal can establish a connection with the first mobile terminal. After the user determines the approximate position of the first mobile terminal, the user carries the second mobile terminal to move around to the reported position.
204. The first mobile terminal searches for and connects to the second mobile terminal.
In step 203, since the push server has sent the connection authentication information of the first mobile terminal and the second mobile terminal to the lost first mobile terminal through the connection command. If the connection authentication information carried in the connection command is the WIFI hotspot and the connection password of the second mobile terminal, the first mobile terminal starts the wireless network connection function of the first mobile terminal, searches for the WIFI hotspot, and then is connected with the WIFI module in the second mobile terminal through the connection password, so that the first mobile terminal and the second mobile terminal establish wireless network communication protocol connection. If the authentication information carried in the connection command is the Bluetooth name and the pairing code, the first mobile terminal starts the Bluetooth connection function of the first mobile terminal, searches the Bluetooth name, and is connected with the Bluetooth module in the second mobile terminal by using the pairing code, so that the first mobile terminal and the second mobile terminal establish Bluetooth communication protocol connection.
205. And the first mobile terminal receives the control command sent by the second mobile terminal.
In step 204, the lost first mobile terminal has established a wireless network communication protocol connection or a bluetooth communication protocol connection with the second mobile terminal, and the second mobile terminal can send a control command to the lost first mobile terminal through the connection.
The control command is used for controlling the first mobile terminal to execute the processing operation after the mobile terminal is lost.
206. The first mobile terminal performs processing operations after the mobile terminal is lost.
The processing operation after the mobile terminal is lost can be copying user data to a second mobile terminal, specifically copying the user data to the second mobile terminal through an established wireless network communication connection or a bluetooth connection, or deleting the user data in the lost first mobile terminal, or forcing the lost first mobile terminal to play an alarm audio, wherein the alarm audio cannot be stopped, any operation is prohibited for the lost first mobile terminal during playing, and a user can find out a specific position of the lost first mobile terminal through the prompt of the alarm audio.
Through the operation steps of the embodiment, a user can know the specific position of the lost first mobile terminal, the second mobile terminal moves to the position near the first mobile terminal, so that the first mobile terminal is connected with the second mobile terminal, the connection is established with the lost first mobile terminal through a wireless network or a Bluetooth connection technology, and then a control command is issued through the connection, so that the lost first mobile terminal copies user data to the second mobile terminal or deletes the user data in the first mobile terminal, or the first mobile terminal is forced to play an alarm audio, and the loss caused by the loss of the first mobile terminal is recovered.
A third embodiment of the present invention will describe a processing method of a lost first mobile terminal from the perspective of a network server, and a specific operation flow refers to fig. 3, which mainly includes the steps of:
301. the network server sends a positioning command and a connection command to the first mobile terminal.
Wherein, the network server may be a Push server.
When the user finds that the first mobile terminal is lost, the positioning command and the connection command can be sent to the lost first mobile terminal through the network server, and the lost first mobile terminal receives the positioning command and the connection command sent by the network server.
The positioning command is used for indicating the lost first mobile terminal to send the position information of the first mobile terminal to the network server so that the network server can master the real-time position of the first mobile terminal, and the connection command is used for indicating the first mobile terminal to be connected with the second mobile terminal.
302. The network server receives the position information of the first mobile terminal sent by the first mobile terminal.
303. And the network server feeds back the position information of the first mobile terminal to the second mobile terminal.
The connection command comprises connection authentication information, and the connection authentication information can be a WIFI hotspot and a connection password of the second mobile terminal, or a Bluetooth name and a pairing code of the second mobile terminal.
And the network server feeds back the position information of the first mobile terminal to the second mobile terminal. And the user can conveniently carry the second mobile terminal to move around to the vicinity of the reported position after determining the approximate position of the first mobile terminal. Because the network server pushes the connection authentication information of the lost first mobile terminal and the lost second mobile terminal to the lost first mobile terminal through the connection command, and the lost first mobile terminal starts to search the lost second mobile terminal according to the connection authentication information, when the user walks around near the reported position with the lost second mobile terminal and enters the connection range of the lost first mobile terminal, the lost first mobile terminal uses the connection authentication information to connect to the second mobile terminal.
The embodiment of the invention utilizes the network server to send the positioning command and the connection command to the lost first mobile terminal, and indicates the lost first mobile terminal to feed back the position information of the first mobile terminal, and the position information indicates the second mobile terminal to move to the vicinity of the first mobile terminal, so that the first mobile terminal and the second mobile terminal can be conveniently connected, and the first mobile terminal can receive the control command sent by the second mobile terminal and execute corresponding operation, so as to realize the control of the lost first mobile terminal.
The fourth embodiment of the present invention will be described in detail with reference to the steps in the third embodiment, and with reference to fig. 4, the present embodiment includes the steps of:
401. the first mobile terminal establishes a TCP-Socket long connection between the first mobile terminal and the push server by using the registered account.
This step is similar to the implementation process of step 201, and is not described herein again.
402. And the push server sends a positioning command and a connection command to the first mobile terminal.
Specifically, please refer to the related description of step 202 for the description of the positioning command and the connection command, which is not described herein again.
403. And the push server receives the GPRS position information sent by the first mobile terminal.
The lost first mobile terminal sends GPRS position information of the lost first mobile terminal to the push server according to the frequency set by the user in the positioning command, and the user determines the approximate position of the lost first mobile terminal according to the GPRS position information.
404. The push server returns the GPRS position information of the first mobile terminal to the second mobile terminal, and the second mobile terminal displays the GPRS position information, so that the user carrying the second mobile terminal moves to the position represented by the GPRS position information.
After the user has determined the approximate location of the lost first mobile terminal, the user moves around with the second mobile terminal to the vicinity of the location indicated by the GPRS location information, via step 403.
Because the push server sends the lost connection authentication information of the first mobile terminal and the second mobile terminal to the lost first mobile terminal through the connection command, and the lost first mobile terminal starts the wireless network connection function or the Bluetooth connection function in the first mobile terminal to connect with the second mobile terminal, when the user moves around near the reporting position and enters the connection range of the lost first mobile terminal, the second mobile terminal can establish connection with the first mobile terminal.
Through the operation steps of the embodiment, the user can know the general position of the lost first mobile terminal, establish connection with the lost first mobile terminal through the second mobile terminal, and issue a control command through the connection, so that the lost first mobile terminal copies user data to the second mobile terminal or deletes the user data in the lost first mobile terminal, or the lost first mobile terminal is forced to play an alarm audio, and the loss caused by the loss of the first mobile terminal is recovered.
A fifth embodiment of the present invention provides a mobile terminal, please refer to fig. 5, which includes:
a first receiving module 502, configured to receive a positioning command and a connection command sent by the push server. The first receiving module 502 forwards the positioning command to the reporting module 503, and forwards the connection command to the second connecting module 504.
A reporting module 503, configured to report the location information of the mobile terminal to the push server according to the positioning command.
A second connection module 504, configured to connect to the second mobile terminal according to the connection command.
A second receiving module 505, configured to receive a control command sent by a second mobile terminal, where the control command is used to instruct the mobile terminal to perform a processing operation after the mobile terminal is lost. The second receiving module 505 forwards the control command to the executing module 506.
And the executing module 506 is configured to execute the processing operation after the mobile terminal is lost according to the control command.
The processing operation after the mobile terminal is lost can be copying user data to a second mobile terminal or deleting the user data in the lost mobile terminal, or forcing the lost first mobile terminal to play an alarm audio, wherein the alarm audio cannot be stopped, the lost first mobile terminal forbids any operation during playing, and a user can find out the specific position of the lost first mobile terminal through the prompt of the alarm audio.
In order to enable the mobile terminal and the push server to communicate with each other, the mobile terminal may further include:
the first connection module 501, where the first connection module 501 includes a push server client, is configured to log in a push server through a registered account registered in the push server and establish a TCP-Socket long connection with the push server.
The mobile terminal provided by the embodiment of the invention reports the position of the mobile terminal to the push server after being lost, so that a user knows the position of the lost mobile terminal and carries the second mobile terminal to move back and forth to the vicinity of the position.
A sixth embodiment of the present invention provides a network server, which may be a push server, and referring to fig. 6, the apparatus includes:
a sending module 602, configured to send a positioning command and a connection command to the first mobile terminal by the push server.
A receiving module 603, configured to receive, by the push server, the location information of the first mobile terminal reported by the first mobile terminal. The receiving module 603 forwards the position information to the feedback module 604.
A feedback module 604, configured to feed back, by the push server, the location information of the first mobile terminal to the second mobile terminal.
In order to make the functions of the apparatus in this embodiment more flexible, the apparatus may further include:
the connection module 601 is configured to receive, by the push server, a login request for logging in the push server by using a registered account registered in the push server by the first mobile terminal, and establish a TCP-Socket long connection with the first mobile terminal.
The embodiment of the invention utilizes the push server to send the positioning command and the connection command to the lost first mobile terminal, and indicates the lost first mobile terminal to feed back the position information of the first mobile terminal, so that a user can carry a second mobile terminal to move to the vicinity of the lost first mobile terminal, and the lost first mobile terminal can be connected with the second mobile terminal according to the connection command, receive the control command sent by the second mobile terminal and execute corresponding operation, thereby realizing the control of the lost first mobile terminal.
Referring to fig. 7, a seventh embodiment of the present invention provides a communication system for controlling, retrieving, or remotely processing data stored in a lost first mobile terminal, the system comprising: a first mobile terminal 500, a push server 600 and a second mobile terminal 700, wherein, please refer to the detailed description of the embodiment shown in fig. 5 for the structure of the first mobile terminal 500 and the connection relationship between the units; the structure of the push server 600 and the connection relationship between the units are described in detail with reference to fig. 6, wherein,
and the second mobile terminal is used for receiving the position information of the first mobile terminal fed back by the push server and sending a control command to the first mobile terminal to instruct the first mobile terminal to execute the processing operation of losing the first mobile terminal.
The embodiment of the invention utilizes the push server to send the positioning command and the connection command to the lost first mobile terminal, and indicates the lost first mobile terminal to feed back the position information of the first mobile terminal, so that the user carries the second mobile terminal to move to the vicinity of the first mobile terminal, and the first mobile terminal and the second mobile terminal can be conveniently connected. And the first mobile terminal receives the control command sent by the second mobile terminal and executes the processing operation of losing the first mobile terminal so as to control the lost first mobile terminal.
Please refer to fig. 8 for a signaling diagram of the processing system for losing the first mobile terminal in this embodiment.
701. And a TCP-Socket long connection is established between the first mobile terminal and the push server.
702. And after the first mobile terminal is lost, the push server sends a positioning command and a connection command to the first mobile terminal. The positioning command is used for instructing the first mobile terminal to send the position information of the first mobile terminal to the push server, and the connection command is used for instructing the first mobile terminal to connect with the second mobile terminal.
703. The first mobile terminal sends the position information of the lost first mobile terminal to the push server.
704. The push server forwards the location information received in step 703 to the second mobile terminal, and the second mobile terminal displays the location information to the user, and the user moves to the vicinity of the location indicated by the location information.
705. And the first mobile terminal establishes connection with the second mobile terminal according to the connection command.
706. And the second mobile terminal sends a control command to the first mobile terminal.
707. The first mobile terminal performs the processing operation after the first mobile terminal is lost according to the control command in step 706.
The embodiment of the invention utilizes the push server to send the positioning command and the connection command to the lost first mobile terminal, indicates the lost first mobile terminal to feed back the position information of the first mobile terminal, and enables the user to carry the second mobile terminal to move to the vicinity of the first mobile terminal, so that the first mobile terminal and the second mobile terminal can establish connection, the first mobile terminal can receive the control command sent by the second mobile terminal and execute corresponding operation, the user can find the lost mobile terminal, or delete user data, or directly copy user equipment to the second mobile terminal, thereby reducing the loss of the user.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
While the above detailed description has been directed to a method for processing a lost mobile terminal, a related device, and a communication system provided by the present invention, those skilled in the art will recognize that changes may be made in the embodiments and applications of the method according to the present invention.