CN111343261A - Mobile phone data backup method based on wireless hotspot transmission - Google Patents

Mobile phone data backup method based on wireless hotspot transmission Download PDF

Info

Publication number
CN111343261A
CN111343261A CN202010103807.3A CN202010103807A CN111343261A CN 111343261 A CN111343261 A CN 111343261A CN 202010103807 A CN202010103807 A CN 202010103807A CN 111343261 A CN111343261 A CN 111343261A
Authority
CN
China
Prior art keywords
mobile phone
data
communication
transmission
backed
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.)
Pending
Application number
CN202010103807.3A
Other languages
Chinese (zh)
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.)
Dalian Ruihai Information Technology Co ltd
Original Assignee
Dalian Ruihai Information 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 Dalian Ruihai Information Technology Co ltd filed Critical Dalian Ruihai Information Technology Co ltd
Priority to CN202010103807.3A priority Critical patent/CN111343261A/en
Publication of CN111343261A publication Critical patent/CN111343261A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data

Abstract

The invention discloses a mobile phone data backup method based on wireless hotspot transmission, which comprises the following steps: the external computer simulates a backup mobile phone and starts a wireless hotspot, and the mobile phone to be backed up is wirelessly connected with the remote computer; the mobile phone to be backed up and the external computer respectively establish a communication client and a communication server; the external computer starts the monitoring of the server side; the external computer analyzes the data received by the communication server and acquires the communication protocol of the mobile phone to be backed up; according to the communication protocol, the communication transmission rule of the mobile phone to be backed up is obtained through analysis, the data sent by the communication client side are received, the storage rule is set, the specific data transmitted by the communication client side are stored, and the data backup of the mobile phone is completed. The computer terminal backup of the specific data of the mobile phone can be carried out by utilizing exclusive transmission or backup software in the mobile phone on the premise of not setting and cracking any authority of the mobile phone.

Description

Mobile phone data backup method based on wireless hotspot transmission
Technical Field
The invention relates to a mobile phone data backup method, in particular to a backup method for simulating a mobile phone through a wireless hotspot based on an external computer.
Background
In the existing data storage and backup from a mobile phone to a computer, certain cracking or specific permission acquisition needs to be carried out on the system level of the mobile phone. In a special application scene, if the mobile phone information authorized by the owner of the mobile phone cannot be obtained in the process of evidence obtaining backup, under the condition that the authority cannot be cracked or obtained, no trace can be left for backup.
Disclosure of Invention
Aiming at the problems, the invention discloses a mobile phone data backup method based on wireless hotspot transmission, which comprises the following steps:
simulating an external computer into a backup mobile phone and starting a wireless hotspot, and establishing wireless connection between the mobile phone to be backed up and the remote computer;
establishing a communication client and a communication server respectively between the mobile phone to be backed up and the external computer; the external computer starts the monitoring of the server side;
the external computer analyzes the data received by the communication server to acquire the communication protocol of the mobile phone to be backed up; according to the communication protocol, the communication transmission rule of the mobile phone to be backed up is obtained through analysis, the data sent by the communication client side are received, the storage rule is set, the specific data transmitted by the communication client side are stored, and the data backup of the mobile phone is completed.
In a preferred embodiment, the communication service end includes a status confirmation port and a data receiving port.
Furthermore, a plurality of communication clients are simultaneously established on the mobile phone to be backed up, and mobile phone data is sent to the data receiving port according to multiple threads.
Furthermore, the data receiving port counts files transmitted by the plurality of communication clients within a set time, the computer generates a transmission state message according to the communication protocol, and the transmission state message is sent to the mobile phone to be backed up through the state confirmation port.
As a preferred embodiment, after the communication client and the communication server are successfully connected and handshake, the status confirmation port and the data receiving port send their own information packet flag packets to each other.
Furthermore, when the transmission starts, the communication client sends a transmission type flag data packet to the status confirmation port;
and the external computer analyzes the transmission type mark message in the transmission type mark data packet and selects to receive the data in the mobile phone to be backed up.
Furthermore, after the transmission type mark message is analyzed,
the data receiving port analyzes the length of the current message according to a communication protocol, then obtains message data with specified length, and analyzes the storage path of the received file in the mobile phone to be backed up, the file size and the number information of the files transmitted by the current client according to the received message data;
and receiving data by taking the byte number as the length of the continuous received data according to the byte number of the acquired file data, and storing the file to a computer or other specified storage media.
By adopting the technical scheme, the mobile phone data backup method based on wireless hotspot transmission disclosed by the invention simulates a third-party mobile phone through an external computer to establish wireless connection between the mobile phone and the computer, and meanwhile, the computer terminal backup of the specific data of the mobile phone can be carried out by utilizing exclusive transmission or backup software in the mobile phone on the premise of not setting and cracking any authority of the mobile phone.
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 some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a main flow chart of the present invention
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the following describes the technical solutions in the embodiments of the present invention clearly and completely:
as shown in fig. 1: the method for backing up the data of the mobile phone based on the wireless hotspot transmission is described by taking OPPO series mobile phones as examples in the embodiment provided by the invention. In the backup process, the mobile phone in the OPPO system can be used for moving APP to assist, and connection and data transmission are completed.
The method mainly comprises the following steps:
the external computer sets a wireless hotspot sharing transmission function, namely, a wireless hotspot can be created, and a two-dimensional code comprising a hotspot IP, a hotspot name, a hotspot password, part of mobile phone information and state of a simulated new mobile phone is generated according to actual needs so as to be simulated into a backup mobile phone, meanwhile, the simulated identity characteristic information can be conveniently identified by the mobile phone to be backed up, and wireless connection is established according to the information.
In the actual operation process, the operation of establishing the connection can be assisted by the mobile phone moving APP carried by the mobile phone system of the original factory.
Two SOCKET service terminals are created at an external computer terminal, and the ports are respectively as follows: and the state confirmation port 8939 and the data receiving port 8940 start monitoring and wait for the mobile phone end to create a client for connection.
In the actual operation process, the situation that disconnection occurs and then new client reconnection is established is found, so that the method is the preferred embodiment, after the closesocket () is called on the soket, forced closing is carried out, the TIME _ WAIT process is not carried out, and disconnection is carried out immediately without waiting for buffer TIME, otherwise, the disconnection and reconnection waiting TIME is very long, so that the interaction flow after reconnection is incorrect and incomplete.
And 6 SOCKET clients are established to be connected with the server established by the PC end by connecting the mobile phone end every time, 1 SOCKET client is connected with the 8939 port server, and the other 5 SOCKET clients are connected with the 8940 port server.
In the transmission process, the header flags of the messages transmitted by the client and the server are all "000003F 4". When the 8939 port server receives the data message of "000003 f 4000010000000000000000000001400000000000000000000000000000000000000000000" sent by the client, the connection is represented to be successful.
8939 the port server interacts with the connected client according to the specified communication protocol and flow rule.
8940 the port server receives the data information sent by the client connected with it, analyzes the protocol, obtains the information such as file name, file size, file type, file path, 8940 client number and file data, and then saves the data to the PC.
After the client and the server are successfully connected and handshake, the 8939 port server and the client send a data packet marked by a 000003E 8 message to each other, and the content of the packet is self information, such as a mobile phone model, an android version, a mobile phone moving version, a transmission data item mark and the like.
8939 the port server will send the data packet with message mark "00000418" to the connected client, and its content contains information such as the name and version number of the existing APP packet in the new handset simulated by PC.
After the mobile phone end clicks 'start moving', a data packet with a message mark '00000414' is sent to the 8939 port server end, and the contents of the data packet are divided into three types, which respectively represent different situations.
Break _ resume represents that the mobile phone continues to move last time, that is, the last time the mobile phone is abnormal, the background process of 'moving the mobile phone' is not finished, and when the next operation of changing the mobile phone is performed, the mobile phone has a popup window, and does not succeed in moving the mobile phone last time or not? ", then click" continue "; select _ all represents that the user-defined check transmission item interface is not entered, and the user directly clicks 'start moving home'. And selecting _ details represents entering a user-defined check transmission item interface and clicking to start moving.
8939 port service end message mark is "000003 EA" data message data segment:
0 is added when the message mark of the client connected with the 8939 port is 00000000;
"1" [? Is it? Is it? … … ], "? "is the file number statistics sent by the client with the number" 00000001 "connected with the port 8940;
"2 [? Is it? Is it? … … ], "? "is the file number statistics sent by the client with the serial number" 00000002 "connected with port 8940;
"3 [? Is it? Is it? … … ], "? "is the file number statistics sent by the client with the serial number" 00000003 "connected with port 8940;
"4 [? Is it? Is it? … … ], "? "is the file number statistics sent by the client with the serial number" 00000004 "connected with port 8940;
"5 [? Is it? Is it? … … ], "? "is the file number statistics sent by the client with the number" 00000005 "connected with the port 8940;
"6" [? Is it? Is it? … … ], "? "is the entry number statistics of the client communication message connected with the port 8939 (entry statistics without the heartbeat packet message).
During communication transmission, if the mobile phone end clicks 'stop moving home', a message with a message mark of '000003E 7' and with 'OldPhoneStopYes' character is sent to the PC end so as to inform the PC end (simulating a new mobile phone) that the old mobile phone stops transmission.
The mobile phone end message mark 000003 f5 indicates the data item to be transmitted, that is, what data the old mobile phone selects to transmit to the new mobile phone. "[ Modules ] is followed by a check of the data items to be transferred, such as call records, phone books, photos, etc., and" _[ APPS ] is followed by the Chinese name of the selected application.
8940 the port server only receives message in data transmission process, and does not reply message to client.
5 clients connected with the 8940 port server are in multi-thread work, and the sent message numbers the clients, namely, 4-8 bytes of the reciprocal of the received file information data segment. 8940 the port server analyzes the length of the message according to the communication protocol obtained by the previous analysis, then obtains the message data with the specified length, and analyzes the information such as the storage path of the received file at the mobile phone end, the byte number of the file data, the number of the file transmitted by the current client and the like according to the received message data.
And then receiving data and storing the file to a PC (personal computer) end by taking the byte number as the length of the continuous received data according to the byte number of the acquired file data, namely the field of 13-20 reciprocal of the data segment of the received file information.
During the period of receiving and storing the file, the 8940 port service port counts the file numbers received by each thread client, and sends a communication message with a message mark of '000003 EA' formed according to the specified communication protocol rule to the client connected with the 8939 port service port through the 8939 port service port to inform the mobile phone terminal that the file has been received. And counting and summarizing once every second, sending the statistics, and then counting again by taking the time as a node.
When the data transmission is finished, when the 8939 port server receives the message flag "000003F 3", it needs to analyze its message data to obtain the transmission item flag, and then according to the protocol structure rule, it composes the message with the protocol flag "0000001F" and replies to the client, where the message is spliced into phone _ clone _ break _ resume _ plug _ type _ and the obtained transmission item flag is spliced to inform that the data item has been transmitted.
8939 when the port server receives the message flag "0000000B", it needs to analyze its message data to obtain the application packet name, and then according to the protocol structure rule, it composes the message with the protocol flag "0000001F" to reply to the client, and the message is spliced into phone _ one _ break _ resume _ app _ and the obtained application packet name to inform that the data item has been transmitted.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.

Claims (7)

1. A mobile phone data backup method based on wireless hotspot transmission is characterized by comprising the following steps:
simulating an external computer into a backup mobile phone and starting a wireless hotspot, and establishing wireless connection between the mobile phone to be backed up and the remote computer;
establishing a communication client and a communication server respectively between the mobile phone to be backed up and the external computer; the external computer starts the monitoring of the server side;
the external computer analyzes the data received by the communication server to acquire the communication protocol of the mobile phone to be backed up; according to the communication protocol, the communication transmission rule of the mobile phone to be backed up is obtained through analysis, the data sent by the communication client side are received, the storage rule is set, the specific data transmitted by the communication client side are stored, and the data backup of the mobile phone is completed.
2. The method for backing up data of a mobile phone based on wireless hotspot transmission of claim 1, further characterized by comprising the following steps: the communication service end comprises a state confirmation port and a data receiving port.
3. The method for backing up data of a mobile phone based on wireless hotspot transmission of claim 2, further characterized by comprising the following steps: and simultaneously establishing a plurality of communication clients for the mobile phone to be backed up, and sending mobile phone data to the data receiving port according to multiple threads.
4. The method for backing up data of a mobile phone based on wireless hotspot transmission of claim 3, further characterized by comprising the following steps: the data receiving port counts files transmitted by the plurality of communication clients within a set time, the computer generates a transmission state message according to the communication protocol, and the state confirmation port sends the transmission state message to the mobile phone to be backed up.
5. The method for backing up data of a mobile phone based on wireless hotspot transmission of claim 2, further characterized by comprising the following steps: and after the communication client and the communication server are successfully connected and handshake-jointed, the state confirmation port and the data receiving port mutually send a self information message mark data packet.
6. The method of claim 5, further characterized in that when transmission starts, the communication client sends a transmission type flag packet to the status confirmation port;
and the external computer analyzes the transmission type mark message in the transmission type mark data packet and selects to receive the data in the mobile phone to be backed up.
7. The method for backing up data of a mobile phone based on wireless hotspot transmission of claim 6, further characterized by comprising the following steps:
after the transmission type mark message is obtained through analysis, the data receiving port analyzes the length of the current message according to a communication protocol, then obtains message data with a specified length, and analyzes the storage path of the received file in the mobile phone to be backed up, the file size and the number information of the files transmitted by the current client according to the received message data;
and receiving data by taking the byte number as the length of continuous receiving data according to the byte number of the acquired file data and storing the file to a computer or other specified storage media.
CN202010103807.3A 2020-02-20 2020-02-20 Mobile phone data backup method based on wireless hotspot transmission Pending CN111343261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010103807.3A CN111343261A (en) 2020-02-20 2020-02-20 Mobile phone data backup method based on wireless hotspot transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010103807.3A CN111343261A (en) 2020-02-20 2020-02-20 Mobile phone data backup method based on wireless hotspot transmission

Publications (1)

Publication Number Publication Date
CN111343261A true CN111343261A (en) 2020-06-26

Family

ID=71185383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010103807.3A Pending CN111343261A (en) 2020-02-20 2020-02-20 Mobile phone data backup method based on wireless hotspot transmission

Country Status (1)

Country Link
CN (1) CN111343261A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988773A (en) * 2020-09-02 2020-11-24 南京烽火星空通信发展有限公司 Device and method for backing up mobile phone data based on wireless mode

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1971520A (en) * 2006-12-13 2007-05-30 中山大学 Device capable of simulating basic function of mobile phone in computer
CN101800910A (en) * 2010-01-25 2010-08-11 中兴通讯股份有限公司 Simulation system, PC side simulator and mobile phone side agent client
CN102882938A (en) * 2012-09-10 2013-01-16 广东欧珀移动通信有限公司 Data share method and mobile terminal
CN103442024A (en) * 2013-06-21 2013-12-11 中国科学院深圳先进技术研究院 System and method for synchronizing smart mobile terminal and cloud virtual mobile terminal
CN106155842A (en) * 2016-07-08 2016-11-23 珠海市魅族科技有限公司 A kind of data migration method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1971520A (en) * 2006-12-13 2007-05-30 中山大学 Device capable of simulating basic function of mobile phone in computer
CN101800910A (en) * 2010-01-25 2010-08-11 中兴通讯股份有限公司 Simulation system, PC side simulator and mobile phone side agent client
CN102882938A (en) * 2012-09-10 2013-01-16 广东欧珀移动通信有限公司 Data share method and mobile terminal
CN103442024A (en) * 2013-06-21 2013-12-11 中国科学院深圳先进技术研究院 System and method for synchronizing smart mobile terminal and cloud virtual mobile terminal
CN106155842A (en) * 2016-07-08 2016-11-23 珠海市魅族科技有限公司 A kind of data migration method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988773A (en) * 2020-09-02 2020-11-24 南京烽火星空通信发展有限公司 Device and method for backing up mobile phone data based on wireless mode

Similar Documents

Publication Publication Date Title
CN109525990B (en) Wireless screen projection method and device, computer equipment and storage medium
CN111083161A (en) Data transmission processing method and device and Internet of things equipment
CN102710549B (en) To be established a communications link the method for relation, terminal and system by shooting
CN105898893B (en) Full-duplex communication method for mobile terminal and Internet of things equipment
CN102638417A (en) Information communication method, device and system
EP3641355A1 (en) Server and method for remotely controlling working of communications terminal, and communications terminal
CN103248452A (en) Data sending device, data receiving device, terminal and data transmission method
CN110808948B (en) Remote procedure calling method, device and system
WO2014183267A1 (en) Message sending method, messaging read notification method, method receiving method and apparatus
CN112423322B (en) Model information sending method, device, storage medium and electronic device
WO2020011026A1 (en) Terminal application control method, apparatus, and system
CN111405059B (en) Cloud device data transmission method, electronic device and Internet of things system
CN110582998A (en) Group communication method and device, computer storage medium and computer equipment
CN111884938B (en) Router information acquisition method and device
WO2012065393A1 (en) Method, mobile terminal and system for implementing data synchronization
CN111711680A (en) File breakpoint continuous transmission method and device based on UDP (user Datagram protocol)
CN111343261A (en) Mobile phone data backup method based on wireless hotspot transmission
CN103516766A (en) Method and system of communication between client-side and application server
CN103841587A (en) Method, apparatus, and system for realization of internet-of-things converged gateway
CN105681122B (en) Method and system for telecommunication equipment monitoring
CN110166479A (en) A kind of method that Transmission system promotes UDP transmitting efficiency
CN102256241B (en) Method, server and intelligent card for acquiring bearer independent protocol (BIP) information of terminal
US20170127472A1 (en) Method and wireless device for controlling disconnection of a wireless device in a wi-fi direct group of a wireless network
CN110417875B (en) Method, system, equipment and storage medium for docking between cloud servers
CN109039427B (en) Ship monitoring management device

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