CN105516937B - Remote control method based on Android mobile phone system after mobile phone is lost - Google Patents

Remote control method based on Android mobile phone system after mobile phone is lost Download PDF

Info

Publication number
CN105516937B
CN105516937B CN201510851585.2A CN201510851585A CN105516937B CN 105516937 B CN105516937 B CN 105516937B CN 201510851585 A CN201510851585 A CN 201510851585A CN 105516937 B CN105516937 B CN 105516937B
Authority
CN
China
Prior art keywords
mobile phone
message
server
receiver
background service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510851585.2A
Other languages
Chinese (zh)
Other versions
CN105516937A (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.)
Linewell Software Co Ltd
Original Assignee
Linewell Software 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 Linewell Software Co Ltd filed Critical Linewell Software Co Ltd
Priority to CN201510851585.2A priority Critical patent/CN105516937B/en
Publication of CN105516937A publication Critical patent/CN105516937A/en
Application granted granted Critical
Publication of CN105516937B publication Critical patent/CN105516937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a remote control method for a lost mobile phone based on an Android mobile phone system, which needs to provide a mobile phone and a server, wherein the mobile phone comprises a message background service, and the message background service is self-started when the mobile phone is started, and the method comprises the following steps: the message background service of the sender mobile phone selects a command message sending mode by judging whether the message background service of the receiver mobile phone is connected with the server or not, if the receiver mobile phone is connected with the Internet, the command message is packaged into a network message and forwarded to the receiver mobile phone through the server, otherwise, the message is packaged into an encrypted short message and sent to the receiver mobile phone number through a GSM network; and intercepting the instruction message by the message background service of the receiver mobile phone, analyzing the instruction message and executing the instruction. The invention selects different message sending modes according to different network connection states, ensures the timely pushing and the timely execution of the messages, ensures the stability of message transmission and improves the message processing efficiency.

Description

Remote control method based on Android mobile phone system after mobile phone is lost
Technical Field
The invention relates to a message pushing mechanism, in particular to a remote control method for a lost mobile phone based on an Android mobile phone system.
Background
In the Android mobile phone operating system, due to different network environments of the mobile phones, when some important messages are pushed to the mobile phones, the problem that the messages are not pushed timely or the messages are not pushed successfully often occurs. For example, when a mobile phone is lost or stolen, it is desirable to push an instruction message to the mobile phone in time for corresponding operations, such as deleting some applications to protect important information, a traditional solution is to push messages by connecting to the internet, but if the mobile phone is not connected to a network, the message pushing is not meaningful, so that a remote control method after the mobile phone is lost needs to be designed to ensure the timely pushing of the message, which is not limited by a mobile phone network, and ensure the stability of information transmission.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a remote control method for a lost mobile phone based on an Android mobile phone system, so that the timeliness and stability of message pushing are ensured, and the message processing efficiency is improved.
The invention is realized by the following steps: a remote control method for lost mobile phones based on an Android mobile phone system is characterized in that the mobile phones and a server are required to be provided, the mobile phones comprise a message background service, and the message background service is self-started when the mobile phones are started, and the method comprises the following steps:
step 1, message background service of a sender mobile phone is connected with a server through a network, an instruction message is edited for a designated receiver mobile phone, whether the message background service of the receiver mobile phone is connected with the server or not is judged, if yes, the message is packaged into a network message and is directly sent to the server, and the step 2 is entered; otherwise, packaging the message into an encrypted short message, calling a short message interface, sending the short message to a mobile phone number of a receiver through a GSM network, and jumping to the step 3;
step 2, the server acquires the network address of the appointed receiver mobile phone and forwards the received network message to the appointed receiver mobile phone;
step 3, message background service of the receiver mobile phone intercepts all received messages, if the messages are network messages, the instructions in the network messages are directly analyzed according to predefined rules, and the instructions are executed; if the received message is not the short message, the short message is delivered to a short message inbox of a mobile phone system for processing.
Further, when the message background service is in a connection state with the server, the message background service and the server are connected by heartbeat packets at intervals of a certain time, and the current network address and the current mobile phone number of the mobile phone are transmitted to the server.
Further, the server comprises a data connection table, and the network address and the mobile phone number of the mobile phone connected with the server are recorded in the data connection table.
Further, the manner of judging whether the message background service of the receiver is connected to the server in step 1 is specifically as follows: the message background service of the sender initiates a request to the server, acquires the information of the mobile phone of the receiver in the data connection table of the server, judges that the message background service of the receiver is connected with the server if the network address of the mobile phone of the receiver exists in the data connection table, and judges that the message background service of the receiver is not connected with the server if the network address of the mobile phone of the receiver exists in the data connection table.
Furthermore, the mobile phone of the sender and the mobile phone of the receiver are bound by the mobile phones before the first message transmission, and the bound mobile phone information of the opposite party is stored in the mobile phone.
Further, the content of the instruction message includes locking a screen, shutting down, opening an application, deleting a file, playing music, or automatically positioning.
Further, the encrypted short message means that an information identifier is added to the header of the short message.
Further, the server is also used for directly editing the instruction information and issuing the instruction information to the mobile phone of the receiver connected with the server.
Further, the step 3 further comprises: and after the message background service of the receiver mobile phone finishes the analysis instruction and executes the instruction, displaying the executed content in the status bar.
Further, the method also comprises step 4, the message background service of the receiver mobile phone stores the processing result of the received message and feeds the processing result back to the server under the condition of network connection.
The invention has the following advantages: by designing the message background service on the mobile phone, the mobile phone of the sender can correspondingly process the instruction message to be sent according to the networking condition of the mobile phone of the receiver, and can push the message to the mobile phone of the receiver in time by selecting an internet or GSM network mode so as to avoid the problem that the message cannot be effectively transmitted under the condition that a single network fails, and the received message is analyzed and executed in time through the message background service of the mobile phone of the receiver, so that the message can be pushed and executed in time, and the message processing efficiency is improved.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
Fig. 1 is an execution flowchart of a remote control method after a mobile phone is lost based on an Android mobile phone system.
Detailed Description
As shown in fig. 1, a remote control method for a lost mobile phone based on an Android mobile phone system needs to provide a mobile phone and a server, where the mobile phone includes a message background service, the message background service is self-started when the mobile phone is powered on, the server includes a data connection table, and a network address and a mobile phone number of the mobile phone connected to the server are recorded in the data connection table, and the method includes the following steps:
step 1, message background service of a sender mobile phone is connected with a server through a network, an instruction message is edited for a designated receiver mobile phone, the content of the instruction message comprises screen locking, shutdown, application opening, music playing or automatic positioning, and whether the message background service of the receiver mobile phone is connected with the server or not is judged at the same time, and the judgment mode is specifically as follows: initiating a request to a server through a message background service of a sender, acquiring information of a receiver mobile phone in a data connection table of the server, judging that the message background service of the receiver is connected with the server if the network address of the receiver mobile phone exists in the data connection table, otherwise judging that the message background service of the receiver is not connected with the server, packaging the message into a network message by the message background service of the sender mobile phone and directly sending the network message to the server if the message background service of the receiver mobile phone is connected with the server, and entering step 2; otherwise, the message background service of the sender mobile phone packages the message into an encrypted short message, encrypts the message by adding an information identifier at the head of the short message, calls a short message interface, sends the short message to the mobile phone number of the receiver through a GSM network, and jumps to the step 3;
step 2, the server acquires the network address of the appointed receiver mobile phone and forwards the received network message to the appointed receiver mobile phone;
step 3, message background service of the receiver mobile phone intercepts all received messages, if the messages are network messages, the instructions in the network messages are directly analyzed according to predefined rules, and the instructions are executed; if the received message is a short message, further judging whether the short message is encrypted, if so, decrypting the short message, then analyzing an instruction in the short message according to a predefined rule, and executing the instruction, otherwise, if not, submitting the short message to a short message inbox of a mobile phone system for processing, and after completing the analysis of the instruction and executing the instruction, displaying the executed content in a status bar by a message background service of the mobile phone of the receiver;
and 4, the message background service of the receiver mobile phone stores the processing result of the received message and feeds the processing result back to the server under the condition of connecting the network.
When the message background service is in a connection state with the server, the message background service and the server are connected by heartbeat packets at intervals of a certain time, and the current network address and the mobile phone number of the mobile phone are transmitted to the server.
The mobile phone of the sender and the mobile phone of the receiver are bound by mobile phones before the first message transmission, and the bound mobile phone information of the opposite party is stored in the mobile phone.
The server is also used for directly editing instruction information and issuing the instruction information to the receiver mobile phone connected with the server.
The invention is further illustrated below with reference to a specific embodiment:
starting mobile phone equipment, self-starting message background service resident in a mobile phone memory, connecting the background service with the internet under the condition that the mobile phone is connected with the internet, trying to connect a heartbeat packet with a server at intervals of a certain time (such as 5 minutes), sending a current network address of the mobile phone to the server through heartbeat packet connection, and receiving the network address by the server and recording the network address in a data connection table of the server;
when a sender mobile phone edits an instruction message to be sent, a message background service of the sender mobile phone initiates a request to a server to request to acquire the online condition of a receiver mobile phone, the server searches a data connection table to judge whether the receiver mobile phone is connected with the server or not after receiving the request, if so, the receiver mobile phone is judged to be online, and information such as a network address, a mobile phone number and the like of the receiver mobile phone is acquired, otherwise, the receiver mobile phone is judged to be offline;
the sender mobile phone pushes the edited instruction message through the message background service: if the mobile phone of the receiver is online, the instruction message is packaged into a network message and then is directly pushed to the server through the Internet, and then the server forwards the network message to the mobile phone of the specified receiver through the Internet; if the mobile phone of the receiver is not on-line, the instruction message is packaged into a short message with an information identification head, and a short message interface is called to send the short message to a specified mobile phone number through a GSM network;
when a mobile phone of a receiving party receives a message, the message background service intercepts the received message, judges whether the message is a network message, analyzes the instruction content and executes corresponding operation if the message is a network message, decrypts the instruction content and executes corresponding operation if the message is a network message, otherwise, sends the message to a message inbox in a mobile phone system for processing if the message does not have an information identification head, the instruction content comprises screen locking, shutdown, application opening, application deletion, file deletion, music playing or automatic positioning, and the like, when the mobile phone of the receiving party is stolen or lost, the instruction message for deleting the application or the file can be sent in time to protect the information on the mobile phone of the receiving party, and after the message background service of the mobile phone of the receiving party completes the analysis instruction and executes the instruction, displaying the executed content in a status bar and informing the user of the operation executed at this time;
and the message background service of the receiver mobile phone stores the processing result every time the message background service processes one message, judges whether the server is connected or not at present, feeds the processing result back to the server if the server is connected, and forwards the processing result to the receiver mobile phone by the server, otherwise, sends the processing result when the receiver mobile phone is connected with the server.
By designing the message background service on the mobile phone, the mobile phone of the sender can correspondingly process the instruction message to be sent according to the networking condition of the mobile phone of the receiver, and select the Internet or GSM network mode to push the message to the mobile phone of the receiver in time so as to avoid the problem that the message cannot be effectively transmitted under the condition that a single network fails.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (3)

1. A remote control method based on an Android mobile phone system after a mobile phone is lost is characterized by comprising the following steps: the mobile phone comprises a sender mobile phone, a receiver mobile phone and a server, wherein the sender mobile phone and the receiver mobile phone both comprise a message background service, the message background service is started automatically when the mobile phone is started, the server comprises a data connection table, the data connection table records the network address and the mobile phone number of the mobile phone connected with the server, the message background service is connected with the internet under the condition that the mobile phone is connected with the internet, the connection of a heartbeat packet with the server is tried at certain intervals, the current network address and the current mobile phone number of the mobile phone are sent to the server through the heartbeat packet connection, and the server receives the network address and the current mobile phone number and records the network address and the current mobile phone number in the data connection table of the server; the sender mobile phone and the receiver mobile phone are firstly bound by mobile phones before the first message transmission, and the bound mobile phone information of the opposite party is stored in the local mobile phone; the server is also used for directly editing instruction information and issuing the instruction information to a receiver mobile phone connected with the server; the method comprises the following steps:
step 1, message background service of a sender mobile phone is connected with a server through a network, an instruction message is edited for a designated receiver mobile phone, whether the message background service of the receiver mobile phone is connected with the server or not is judged, if yes, the instruction message is packaged into a network message and is directly sent to the server, and the step 2 is entered; otherwise, encrypting and packaging the instruction message into a short message with an information identification head, calling a short message interface, sending the short message to a mobile phone number of a receiver through a GSM network, and jumping to the step 3;
the method for judging whether the message background service of the receiver mobile phone is connected with the server in the step 1 specifically comprises the following steps: the message background service of the sender mobile phone initiates a request to the server to acquire the information of the receiver mobile phone in the data connection table of the server, if the network address of the receiver mobile phone exists in the data connection table, the message background service of the receiver mobile phone is judged to be connected with the server, otherwise, the message background service of the receiver mobile phone is judged not to be connected with the server;
the content of the instruction message comprises screen locking, shutdown, application deletion, file deletion or automatic positioning;
step 2, the server acquires the network address of the appointed receiver mobile phone and forwards the received network message to the appointed receiver mobile phone;
step 3, message background service of the receiver mobile phone intercepts all received messages, if the messages are network messages, the instructions in the network messages are directly analyzed according to predefined rules, and the instructions are executed; if the received message is not the short message, further judging whether the short message has an information identification head, if so, decrypting the short message, then analyzing an instruction in the short message according to a predefined rule, and executing the instruction, otherwise, if the short message does not have the information identification head, handing the short message to a short message inbox of a mobile phone system for processing.
2. The remote control method based on the Android mobile phone system after the mobile phone is lost, according to claim 1, characterized in that: the step 3 further comprises the following steps: and after the message background service of the receiver mobile phone finishes the analysis instruction and executes the instruction, displaying the executed content in the status bar.
3. The remote control method based on the Android mobile phone system after the mobile phone is lost, according to claim 1, characterized in that: and step 4, the message background service of the receiver mobile phone stores the processing result of the received message and feeds the processing result back to the server under the condition of network connection.
CN201510851585.2A 2015-11-27 2015-11-27 Remote control method based on Android mobile phone system after mobile phone is lost Active CN105516937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510851585.2A CN105516937B (en) 2015-11-27 2015-11-27 Remote control method based on Android mobile phone system after mobile phone is lost

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510851585.2A CN105516937B (en) 2015-11-27 2015-11-27 Remote control method based on Android mobile phone system after mobile phone is lost

Publications (2)

Publication Number Publication Date
CN105516937A CN105516937A (en) 2016-04-20
CN105516937B true CN105516937B (en) 2020-02-07

Family

ID=55724506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510851585.2A Active CN105516937B (en) 2015-11-27 2015-11-27 Remote control method based on Android mobile phone system after mobile phone is lost

Country Status (1)

Country Link
CN (1) CN105516937B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911564B (en) * 2017-02-23 2018-08-21 中卓信(北京)科技有限公司 The identification of binary format information and execution method
CN107342981B (en) * 2017-06-07 2021-11-12 北京小鸟看看科技有限公司 Sensor data transmission method and device and virtual reality head-mounted equipment
CN109379422A (en) * 2018-10-11 2019-02-22 广东小天才科技有限公司 Smartwatch reports the loss method, apparatus, equipment and storage medium
CN115550303B (en) * 2022-09-19 2023-11-17 中国建设银行股份有限公司 Notification message sending method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1209937A2 (en) * 2000-11-28 2002-05-29 NTT DoCoMo, Inc. Location registration control method, mobile communication network, and communication terminal
CN1633206A (en) * 2004-12-31 2005-06-29 侯万春 Apparatus and method for intelligent communication based on mobile communication network and Internet
CN102143444A (en) * 2010-09-02 2011-08-03 华为技术有限公司 Method, relevant equipment and system for pushing service delivery platform message
CN102355637A (en) * 2011-09-30 2012-02-15 奇智软件(北京)有限公司 Mobile terminal instant communication processing method and device
CN102938724A (en) * 2012-10-22 2013-02-20 深圳中兴网信科技有限公司 Message communication system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624515B (en) * 2011-11-24 2015-05-20 中联重科股份有限公司 Data transmission method, system and terminals
CN102833712A (en) * 2012-08-31 2012-12-19 北京小米科技有限责任公司 Method, device, server and system for preventing information leakage and equipment
CN104184821B (en) * 2014-08-29 2017-11-28 北京奇虎科技有限公司 The method and apparatus of session and terminal responds feedback based on sending out notice

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1209937A2 (en) * 2000-11-28 2002-05-29 NTT DoCoMo, Inc. Location registration control method, mobile communication network, and communication terminal
CN1633206A (en) * 2004-12-31 2005-06-29 侯万春 Apparatus and method for intelligent communication based on mobile communication network and Internet
CN102143444A (en) * 2010-09-02 2011-08-03 华为技术有限公司 Method, relevant equipment and system for pushing service delivery platform message
CN102355637A (en) * 2011-09-30 2012-02-15 奇智软件(北京)有限公司 Mobile terminal instant communication processing method and device
CN102938724A (en) * 2012-10-22 2013-02-20 深圳中兴网信科技有限公司 Message communication system and method

Also Published As

Publication number Publication date
CN105516937A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN105516937B (en) Remote control method based on Android mobile phone system after mobile phone is lost
US10607016B2 (en) Decrypting files for data leakage protection in an enterprise network
CN109558261B (en) Method and system for acquiring abnormal log of wearable device
CN108156178B (en) SSL/TLS data monitoring system and method
US20140208405A1 (en) Simplified and Safe User Authentication
EP2901660B1 (en) Termininal interaction methods and related devices and systems
US20090030917A1 (en) Multimedia messaging service-based database synchronization
CN109450777B (en) Session information extraction method, device, equipment and medium
US9612886B2 (en) Method and device for monitoring API function scheduling in mobile terminal
WO2012065381A1 (en) Method and apparatus for preventing malicious softwares from transmitting data
US20170251326A1 (en) Interactive system and process
US9876744B2 (en) Information sending method and information sending apparatus
KR20080090976A (en) Method for processing content and terminal thereof
US10652185B2 (en) Information sending method and information sending apparatus
CN110597706A (en) Method and device for testing application program interface data abnormity
JP2018537921A (en) Identification method and apparatus based on communication flow of different functions of Skype
EP3226516A1 (en) Unified data networking across heterogeneous networks
US20150382166A1 (en) Transmission of a multimedia message doubled with the transmission of a text message
EP2829996A1 (en) Authentication method, authentication apparatus and authentication device
CN106327143B (en) Method and apparatus for nodes in a flow
CN109408251B (en) Message sending method and device and message receiving processing method and device
EP2453688B1 (en) Securing private key access for cross-component message processing
JP2016520223A (en) Method and system for exchanging encrypted messages between computing devices in a communication network
WO2016037489A1 (en) Method, device and system for monitoring rcs spam messages
CN111163102B (en) Data processing method and device, network equipment and readable storage medium

Legal Events

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