CN110806951A - Data transmission method of terminal - Google Patents
Data transmission method of terminal Download PDFInfo
- Publication number
- CN110806951A CN110806951A CN201910962315.7A CN201910962315A CN110806951A CN 110806951 A CN110806951 A CN 110806951A CN 201910962315 A CN201910962315 A CN 201910962315A CN 110806951 A CN110806951 A CN 110806951A
- Authority
- CN
- China
- Prior art keywords
- terminal
- function
- restored
- needing
- local database
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the application provides a data transmission method of a terminal, which is used for solving the problem that a terminal system is easy to crash during data backup and relates to the technical field of intelligent terminals. The method comprises the following steps: the first terminal responds to the command of changing the machine and searches parameters corresponding to the functions needing to be recovered in the received parameter set sent by the second terminal; the first terminal backups available fields in the parameters corresponding to the functions needing to be restored to a local database corresponding to the functions needing to be restored according to version information corresponding to the functions needing to be restored in the parameter set; the first terminal resets the function to be restored according to the local database. According to the method, the second terminal sends the parameters of the functions to be recovered and the corresponding version information to the first terminal together, so that the first terminal can back up the available fields according to the version information, the safety of the system of the first terminal can be ensured, and system breakdown or failure caused by different data compatibility is avoided.
Description
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a data transmission method of a terminal.
Background
With the development of science and technology, the smart phone is updated quickly, and an object can be changed into one mobile phone in two years. In the current method of changing the phone, only data such as pictures, downloaded music and the like can be backed up to a new mobile phone. However, the data related to the usage habits of the objects also needs to be manually set for the system setting items of the new mobile phone. For example, the connected wifi password, the set ring tone, the logged mobile phone account, the customized desktop layout, the set alarm clock, the setting of numerous setting items, and the like.
Because the models of mobile phones are different, the compatibility of data is different. If the related data of the system setting item is directly backed up to the new mobile phone, the new mobile phone will have a fault, and even the system will crash.
Disclosure of Invention
The embodiment of the application provides a data transmission method of a terminal, which is used for solving the problem that a terminal system is easy to crash during data backup due to different compatibility of mobile phone models to data.
In a first aspect, an embodiment of the present application provides a data transmission method for a terminal, where the method includes:
the method comprises the steps that a first terminal responds to a switch instruction, and searches parameters corresponding to functions needing to be recovered in a received parameter set sent by a second terminal, wherein the parameter set is parameters set in the second terminal by an object;
the first terminal backups an available field in a parameter corresponding to the function needing to be restored to a local database corresponding to the function needing to be restored according to version information corresponding to the function needing to be restored in the parameter set;
and the first terminal resets the function needing to be recovered according to the local database.
According to the method, the second terminal sends the parameters of the functions to be recovered and the corresponding version information to the first terminal together, so that the first terminal can determine the available fields in the parameters according to the version information and back up the available fields, the safety of the system of the first terminal can be guaranteed, and system breakdown or failure caused by different data compatibility is avoided.
Optionally, after the first terminal backs up the available field in the parameter corresponding to the function to be restored to the local database corresponding to the function to be restored, and before the first terminal resets the function to be restored according to the local database, the method further includes:
and if a blank field exists in the local database corresponding to the function needing to be recovered, filling by adopting a preset parameter corresponding to the blank field.
According to the method, the first terminal fills the blank fields existing in the local database by using the preset parameters, so that the normal operation of the functions is ensured.
Optionally, the method further includes:
if the first terminal determines that no available field exists in the parameter corresponding to the function to be restored according to the version information corresponding to the function to be restored in the parameter set, backing up the preset parameter corresponding to the function to be restored to a local database corresponding to the function to be restored.
According to the method, when no available field exists in the parameters of the second terminal, the normal operation of the functions can be ensured and the faults are avoided by backing up the preset parameters to the local database.
Optionally, the function to be recovered includes part or all of the following:
wireless network, ringtone, alarm clock, harassment interception, screen locking, self-starting setting, notes, account setting and electric quantity setting.
According to the method, the use habit of the user can be recovered, so that the user does not need to set the use habit again in a new mobile phone through the setting item, the user operation is saved, and the time cost is saved.
Optionally, the method further includes:
and the first terminal displays the reset progress of the function needing to be recovered in a display interface.
According to the method, the recovery process of each function can be known by the user at the first time through the display interface to display the recovery process of the function, and the experience of the user is improved.
In a second aspect, an embodiment of the present application provides another data transmission method for a terminal, where the method includes:
the second terminal acquires parameters corresponding to the functions needing to be recovered according to a switch instruction triggered by a user;
and the second terminal forms a parameter set by the parameter corresponding to the function to be restored and the version information corresponding to the function to be restored and sends the parameter set to the first terminal, so that the first terminal backs up the available field in the parameter corresponding to the function to be restored to a local database corresponding to the function to be restored according to the version information corresponding to the function to be restored in the parameter set, and resets the function to be restored according to the local database.
Optionally, the obtaining, by the second terminal, a parameter corresponding to a function to be restored according to a switch instruction triggered by a user includes:
the second terminal displays the recoverable function after receiving a switch instruction triggered by a user;
and the second terminal acquires the parameters corresponding to the functions needing to be recovered and selected by the user.
Optionally, the function to be recovered includes part or all of the following:
wireless network, ringtone, alarm clock, harassment interception, screen locking, self-starting setting, notes, account setting and electric quantity setting.
In a third aspect, an embodiment of the present application provides a first terminal, where the first terminal includes:
a response module, configured to respond to a switch instruction, and search for a parameter corresponding to a function to be recovered in a received parameter set sent by a second terminal, where the parameter set is a parameter for setting an object in the second terminal;
the backup module is used for backing up the available fields in the parameters corresponding to the functions needing to be restored to the local database corresponding to the functions needing to be restored according to the version information corresponding to the functions needing to be restored in the parameter set;
and the resetting module is used for resetting the function needing to be recovered according to the local database.
Optionally, the terminal further includes:
and the filling module is used for backing up the available field in the parameter corresponding to the function needing to be restored into the local database corresponding to the function needing to be restored, and filling by adopting the preset parameter corresponding to the blank field if the blank field exists in the local database corresponding to the function needing to be restored before the function needing to be restored is reset according to the local database.
Optionally, the backup module is further configured to:
if the first terminal determines that no available field exists in the parameter corresponding to the function to be restored according to the version information corresponding to the function to be restored in the parameter set, backing up the preset parameter corresponding to the function to be restored to a local database corresponding to the function to be restored.
Optionally, the function to be recovered includes part or all of the following:
wireless network, ringtone, alarm clock, harassment interception, screen locking, self-starting setting, notes, account setting and electric quantity setting.
Optionally, the terminal further includes:
and the display module is used for displaying the reset progress of the function needing to be recovered in a display interface.
In a fourth aspect, an embodiment of the present application provides a second terminal, where the second terminal includes:
the acquisition module is used for acquiring parameters corresponding to functions needing to be recovered according to a switch instruction triggered by a user;
and the sending module is used for forming a parameter set by the parameter corresponding to the function needing to be restored and the version information corresponding to the function needing to be restored and sending the parameter set to the first terminal, so that the first terminal backs up the available field in the parameter corresponding to the function needing to be restored to the local database corresponding to the function needing to be restored according to the version information corresponding to the function needing to be restored in the parameter set, and resets the function needing to be restored according to the local database.
Optionally, the obtaining module is specifically configured to:
displaying a recoverable function after receiving a switch instruction triggered by a user;
and acquiring parameters corresponding to the functions needing to be recovered and selected by the user.
Optionally, the function to be recovered includes part or all of the following:
wireless network, ringtone, alarm clock, harassment interception, screen locking, self-starting setting, notes, account setting and electric quantity setting.
In a fifth aspect, an embodiment of the present application provides another first terminal, including a processor and a memory, where the memory stores program codes, and when the program codes are executed by the processor, the processor is caused to execute the following processes:
responding to a switch instruction, and searching a parameter corresponding to a function needing to be recovered in a received parameter set sent by a second terminal, wherein the parameter set is a parameter set by an object in the second terminal;
according to version information corresponding to the function needing to be restored in the parameter set, backing up an available field in a parameter corresponding to the function needing to be restored to a local database corresponding to the function needing to be restored;
and resetting the function needing to be recovered according to the local database.
Optionally, the processor is further configured to:
after the available field in the parameter corresponding to the function to be restored is backed up to the local database corresponding to the function to be restored, and before the function to be restored is reset according to the local database, if a blank field exists in the local database corresponding to the function to be restored, filling the blank field with a preset parameter corresponding to the blank field.
Optionally, the processor is further configured to:
if it is determined that no available field exists in the parameter corresponding to the function to be restored according to the version information corresponding to the function to be restored in the parameter set, backing up the preset parameter corresponding to the function to be restored to a local database corresponding to the function to be restored.
Optionally, the function to be recovered includes part or all of the following:
wireless network, ringtone, alarm clock, harassment interception, screen locking, self-starting setting, notes, account setting and electric quantity setting.
Optionally, the processor is further configured to:
and displaying the reset progress of the function needing to be recovered in a display interface.
In a sixth aspect, an embodiment of the present application provides another second terminal, including a processor and a memory, where the memory stores program codes, and when the program codes are executed by the processor, the processor is caused to execute the following processes:
acquiring parameters corresponding to functions needing to be recovered according to a switch instruction triggered by a user;
and the parameters corresponding to the functions to be recovered and the version information corresponding to the functions to be recovered form a parameter set and are sent to the first terminal.
Optionally, the processor is specifically configured to:
the second terminal displays the recoverable function after receiving a switch instruction triggered by a user;
and the second terminal acquires the parameters corresponding to the functions needing to be recovered and selected by the user.
Optionally, the function to be recovered includes part or all of the following:
wireless network, ringtone, alarm clock, harassment interception, screen locking, self-starting setting, notes, account setting and electric quantity setting.
In a seventh aspect, another embodiment of the present application further provides a computer storage medium, where the computer storage medium stores computer-executable instructions, and the computer-executable instructions are configured to cause a computer to execute a data transmission method of any terminal in the embodiments of the present application.
In addition, for technical effects brought by any one implementation manner of the second aspect to the seventh aspect, reference may be made to technical effects brought by different implementation manners of the first aspect, and details are not described here.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a data transmission method of a terminal in an embodiment of the present application;
fig. 2 is a schematic flowchart of a data transmission method of a terminal in an embodiment of the present application;
fig. 3 is a schematic view of a display interface of a data transmission method of a terminal according to an embodiment of the present application;
fig. 4 is a schematic view of a display interface of a data transmission method of a terminal according to an embodiment of the present application;
fig. 5 is a schematic view of an application scenario of a data transmission method of a terminal in an embodiment of the present application;
fig. 6 is a schematic diagram of a first terminal according to an embodiment of the present application;
fig. 7 is a schematic diagram of a second terminal in an embodiment of the present application;
fig. 8 is a schematic diagram of a terminal for processing an application in an embodiment of the present application.
Detailed Description
Hereinafter, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
(1) In the embodiments of the present application, the term "plurality" means two or more, and other terms are similar thereto.
After the user replaces the new mobile phone, the data of the old mobile phone needs to be backed up to the new mobile phone. In the current method of changing the machine, a public database of short messages, contacts, address lists, pictures, music and the like can be backed up. However, the data related to the usage habits of the user also needs to be manually set for the system setting items of the new mobile phone. For example, the connected wifi password, the set ring tone, the logged mobile phone account, the customized desktop layout, the set alarm clock, the setting of numerous setting items, and the like.
At present, the mobile phones have different data compatibility due to different models of the mobile phones. If the related data of the system setting item is directly backed up to the new mobile phone, the new mobile phone will have a fault, and even the system will crash.
The embodiment of the application provides a data transmission method of a terminal. In the method, a user triggers a switch instruction at a second terminal, and the second terminal acquires parameters corresponding to functions needing to be recovered. And the second terminal acquires the parameters corresponding to the functions needing to be restored and the version information corresponding to the functions needing to be restored to form a parameter set and sends the parameter set to the first terminal. And the first terminal responds to a switch instruction triggered by a user and searches parameters corresponding to the functions needing to be recovered in the parameter set. And the first terminal backups the available field in the parameter corresponding to the function needing to be restored to a local database corresponding to the function needing to be restored according to the version information in the parameter combination. The first terminal resets the function to be restored according to the local database.
According to the method, the second terminal sends the parameter corresponding to the function needing to be restored and the version information corresponding to the function needing to be restored to the first terminal, so that the first terminal can determine the available field in the parameter corresponding to the function needing to be restored according to the version information, only the available field is backed up when data backup is carried out, and system breakdown or failure of the first terminal cannot occur.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
Fig. 1 is a schematic view of an application scenario of a data transmission method of a terminal in an embodiment of the present application. The scene comprises the following steps: a terminal 100 and a terminal 101 of a user 10.
The user 10 needs to back up the parameters of the terminal 100 to the terminal 101. The user 10 triggers a change of machine instruction in the terminal 100 to determine the function that needs to be restored. The terminal 100 acquires parameters corresponding to a function that a user needs to restore, and version information of the function that needs to restore. The terminal 100 transmits parameters corresponding to the function to be restored and version information to the terminal 101. The user 10 triggers a switch instruction at the terminal 101, the terminal 101 responds to the switch instruction, and according to the version information corresponding to the function to be restored, which is sent by the terminal 100, the available fields in the parameters are backed up to the local database corresponding to the function. Finally, the terminal 101 resets the function to be restored according to the local database.
Referring to fig. 2, a schematic flowchart of a data transmission method of a terminal in an embodiment of the present application may include the following steps:
step 201: and the second terminal acquires the parameters corresponding to the functions needing to be recovered according to the switch instruction triggered by the user.
Step 202: and the second terminal forms a parameter set by the parameters corresponding to the functions needing to be recovered and the version information corresponding to the functions needing to be recovered and sends the parameter set to the first terminal.
When the function recovery method is implemented, the second terminal stores a parameter set formed by the parameters corresponding to the function needing recovery and the version information corresponding to the function needing recovery in a specified folder. And generates an identification for the parameter set, which may be a function identification or may also include an identification of the function identification and version information. Similarly, the first terminal stores the parameter set in the designated folder of the first terminal after receiving the parameter set sent by the second terminal.
In one possible embodiment, the second terminal and the first terminal may transmit the set of parameters through a wifi hotspot. Specifically, a first terminal starts a wifi hotspot, and a second terminal is connected with the wifi hotspot of the first terminal and transmits a parameter set to the first terminal through the wifi hotspot. Or the second terminal starts a wifi hotspot, the first terminal is connected with the wifi hotspot of the second terminal, and the second terminal transmits the parameter set to the first terminal through the wifi hotspot.
Or the second terminal may establish a bluetooth connection with the first terminal, and the second terminal may send the parameter set to the first terminal through the bluetooth connection. Or, the parameter set in the designated folder of the second terminal may be backed up to the designated folder of the first terminal through the usb disk.
Step 203: and the first terminal responds to the command of changing the machine and searches the parameters corresponding to the functions needing to be recovered in the received parameter set sent by the second terminal.
Wherein the parameter set is a parameter set by the object in the second terminal.
Step 204: and the first terminal backups the available field in the parameter corresponding to the function needing to be restored to a local database corresponding to the function needing to be restored according to the version information corresponding to the function needing to be restored in the parameter set.
Step 205: and the first terminal resets the function needing to be recovered according to the local database.
According to the method, the second terminal sends the parameters of the functions to be recovered and the corresponding version information to the first terminal together, so that the first terminal can determine the available fields in the parameters according to the version information and back up the available fields, the safety of the system of the first terminal can be guaranteed, and system breakdown or failure caused by different data compatibility is avoided.
In implementation, the function to be recovered may be a user's use habit, such as a wireless network, a ringtone, an alarm clock, harassment interception, screen locking, self-start setting, a memo, an account setting, an electric quantity setting, a desktop layout, and the like. Specifically, the account setting is, for example, a registered account (applet ID or the like) of the terminal. Or, the application software can be application software, such as instant messaging software, video software, input method software and the like.
In a possible embodiment, after the user triggers the switch instruction at the second terminal, the second terminal displays the functions on the display interface, and the user can select the function to be restored through the display interface. Fig. 3 is a schematic view of a display interface of a data transmission method of a terminal according to an embodiment of the present application.
And the user triggers a switch instruction at the second terminal, and the second terminal displays all functions on the display interface. After the user selects the function to be restored, the second terminal may obtain parameters corresponding to the functions. (as shown in fig. 3, the function corresponding to the black circle is a function selected by the user and needing to be restored, and the function corresponding to the white circle is a function not selected by the user), it should be noted that the second terminal needs to obtain the authorization of the user before acquiring the parameters corresponding to the functions. Or, the second terminal may notify the user of each function that needs to be restored, so that each function module stores the parameters in a designated folder. And the second terminal takes the parameters of each function in the appointed folder and the version information corresponding to each function as a parameter set and sends the parameter set to the first terminal.
The first terminal stores the parameter set in a designated folder, and after the user triggers a switch instruction at the first terminal, the user is informed of the functional modules of the functions which need to be restored and are selected at the second terminal, so that the functional modules can determine the available fields in the parameters according to the version information in the parameter set and backup the available fields to the local database corresponding to the functions.
In implementation, the first terminal may display the recovery process of each function on the display interface. Fig. 4 is a schematic view of a display interface of a data transmission method of a terminal according to an embodiment of the present application. The first terminal can display the functions needing to be recovered on the display interface and display the recovery process of each function according to the form of the progress bar. Or the first terminal displays the function needing to be recovered in the display interface, and after any function is recovered, the user is prompted through a popup window that the function is recovered.
According to the method, the use habit of the user can be recovered, so that the user does not need to set the use habit again in a new mobile phone through the setting item, the user operation is saved, and the time cost is saved. In addition, the recovery process of each function can be displayed through the display interface, so that a user can know the recovery process of each function at the first time, and the experience of the user is improved.
The following describes available fields and blank fields in the technical solution of the present application. It should be noted that, the field mentioned in the embodiment of the present application may be a field name or a field value, and the embodiment of the present application is not particularly limited.
1. Available field
In one possible embodiment, the available field refers to a field in which the same function exists both under the version information of the first terminal and under the version information of the second terminal.
For example, the version information of the second terminal for the alarm clock function is 1.1, and the version information of the first terminal is 2.0. The parameters of the alarm clock of the second terminal include field a, field B, field C, and field D, and the parameters of the alarm clock of the first terminal include field a, field B, field C, and field D. Then, the first terminal backups the available fields in the parameters of the alarm clock to a local database corresponding to the alarm clock according to the version information in the parameter set sent by the second terminal, wherein the fields are field a, field B, field C and field D.
2. Blank field
In one possible embodiment, the blank field refers to a field in which the same function exists under the version of the first terminal, but does not exist under the version information of the second terminal.
For example, the version information of the second terminal for the ring function is 2.0.1, and the version information of the first terminal is 2.1.1. The parameters of the ring tone of the second terminal include field 1, field 2, and field 3, and the parameters of the ring tone of the first terminal include field 1, field 2, field 3, and field 4. Then, the first terminal backups the available fields in the parameters of the ring tone to the local database corresponding to the ring tone according to the version information in the parameter set sent by the second terminal, wherein the available fields are field 1, field 2 and field 3 respectively. And if the field 4 is a blank field, the second terminal fills the blank field by adopting the preset parameters corresponding to the field 4.
In a possible implementation manner, if the first terminal determines that there is no available field in the parameter corresponding to the function to be restored according to the version information corresponding to the function to be restored in the parameter set, the preset parameter corresponding to the function to be restored is backed up to the local database corresponding to the function to be restored.
For example, the version information set at the second terminal for the lock screen is 10.0.1, and the version information set at the first terminal is 12.0.3. The parameters of the screen locking setting of the second terminal comprise a field 01, a field 02 and a field 03, and the parameters of the screen locking setting of the first terminal comprise a field 04, a field 05 and a field 06. The first terminal determines that no available field exists in the parameters according to the version information of the screen locking setting sent by the second terminal. And the first terminal backs up the preset parameters corresponding to the screen locking setting to a local database corresponding to the screen locking setting.
The technical solution provided by the present application is further explained below according to specific embodiments:
fig. 5 is a schematic view of an application scenario of a data transmission method of a terminal in the embodiment of the present application. The scene comprises the following steps: user 500, terminal 501 and terminal 502.
The user 500 selects the functions to be restored in the terminal 501, which respectively include desktop layout, wireless network, ring, alarm clock, and lock screen, and then triggers a switch instruction in the terminal 501. And storing the corresponding parameters into the appointed folder A by the functional modules of the functions selected by the user. The terminal 501 is connected to a wifi hotspot of the terminal 502, and sends parameters corresponding to functions to be restored and version information corresponding to each function as a parameter set to the terminal 502 through a local area network transmission method.
The terminal 502 receives the parameter set transmitted by the terminal 501 and stores the parameter set in the designated folder B, and determines the function which needs to be restored and is selected by the user. Then, the terminal 502 notifies the function modules of each function to change the machine, and each function module backs up the available fields in the parameters to the local database in the specified folder B according to the version information in the parameter set. If a blank field exists in the local database, filling the blank field by adopting a preset parameter corresponding to the blank field. After the data backup is completed, the terminal 502 resets the function to be restored selected by the user according to the local database.
Based on the same inventive concept, the embodiment of the application provides a first terminal. Referring to fig. 6, a schematic diagram of a first terminal in an embodiment of the present application is shown, where the first terminal includes: a processor 601 and a memory 602.
Wherein the memory 602 stores program code which, when executed by the processor 601, causes the processor 601 to perform the process of:
responding to a switch instruction, and searching a parameter corresponding to a function needing to be recovered in a received parameter set sent by a second terminal, wherein the parameter set is a parameter set by an object in the second terminal;
according to version information corresponding to the function needing to be restored in the parameter set, backing up an available field in a parameter corresponding to the function needing to be restored to a local database corresponding to the function needing to be restored;
and resetting the function needing to be recovered according to the local database.
Optionally, the processor is further configured to:
after the available field in the parameter corresponding to the function to be restored is backed up to the local database corresponding to the function to be restored, and before the function to be restored is reset according to the local database, if a blank field exists in the local database corresponding to the function to be restored, filling the blank field with a preset parameter corresponding to the blank field.
Optionally, the processor is further configured to:
if it is determined that no available field exists in the parameter corresponding to the function to be restored according to the version information corresponding to the function to be restored in the parameter set, backing up the preset parameter corresponding to the function to be restored to a local database corresponding to the function to be restored.
Optionally, the function to be recovered includes part or all of the following:
wireless network, ringtone, alarm clock, harassment interception, screen locking, self-starting setting, notes, account setting and electric quantity setting.
Optionally, the processor is further configured to:
and displaying the reset progress of the function needing to be recovered in a display interface.
Based on the same inventive concept, the embodiment of the application also provides a second terminal. Fig. 7 is a schematic diagram of a second terminal according to an embodiment of the present application. The second terminal includes: a processor 701 and a memory 702;
wherein the memory 702 stores program code which, when executed by the processor 701, causes the processor 701 to perform the process of:
acquiring parameters corresponding to functions needing to be recovered according to a switch instruction triggered by a user;
and the parameters corresponding to the functions to be recovered and the version information corresponding to the functions to be recovered form a parameter set and are sent to the first terminal.
Optionally, the processor is specifically configured to:
the second terminal displays the recoverable function after receiving a switch instruction triggered by a user;
and the second terminal acquires the parameters corresponding to the functions needing to be recovered and selected by the user.
Optionally, the function to be recovered includes part or all of the following:
wireless network, ringtone, alarm clock, harassment interception, screen locking, self-starting setting, notes, account setting and electric quantity setting.
Based on the same inventive concept, the embodiment of the application provides a terminal for processing application. The processing terminal may be a terminal in the embodiment of the present application, for example, a first terminal and a second terminal. As shown in fig. 8, a terminal 800 for processing an application according to an embodiment of the present application includes: radio Frequency (RF) circuitry 810, a power supply 820, a processor 830, a memory 840, an input unit 850, a display unit 860, a camera 870, a communication interface 880, and a WiFi module 890. Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 8 is not intended to be limiting, and that the terminal provided by the embodiments of the present application may include more or less components than those shown, or some components may be combined, or a different arrangement of components may be provided.
The following describes the various components of the terminal 800 in detail with reference to fig. 8:
the RF circuitry 810 may be used for receiving and transmitting data during a communication or conversation. Specifically, the RF circuit 810 sends downlink data of the base station to the processor 830 for processing; and in addition, sending the uplink data to be sent to the base station. Generally, the RF circuit 810 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
In addition, the RF circuit 810 may also communicate with networks and other terminals via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The WiFi technology belongs to a short-distance wireless transmission technology, and the terminal 800 may connect to an Access Point (AP) through a WiFi module 890, thereby implementing Access to a data network. The WiFi module 890 can be used for receiving and transmitting data during communication.
The terminal 800 may be physically connected to other terminals through the communication interface 880. In some embodiments, the communication interface 880 is connected to the communication interface of the other terminal through a cable, so as to implement data transmission between the terminal 800 and the other terminal.
In the embodiment of the present application, the terminal 800 can implement a communication service and send information to other contacts, so the terminal 800 needs to have a data transmission function, that is, the terminal 800 needs to include a communication module inside. Although fig. 8 shows communication modules such as the RF circuit 810, the WiFi module 890 and the communication interface 880, it is understood that at least one of the above components or other communication modules (e.g., bluetooth modules) for enabling communication are present in the terminal 800 for data transmission.
For example, when the terminal 800 is a mobile phone, the terminal 800 may include the RF circuit 810 and may further include the WiFi module 890; when the terminal 800 is a computer, the terminal 800 may include the communication interface 880 and may further include the WiFi module 890; when the terminal 800 is a tablet computer, the terminal 800 may include the WiFi module.
The memory 840 may be used to store software programs and modules. The processor 830 executes various functional applications and data processing of the terminal 800 by executing the software programs and modules stored in the memory 840, and after the processor 830 executes the program codes in the memory 840, part or all of the processes in fig. 2 in the embodiment of the present application can be implemented.
In some embodiments, the memory 840 may mainly include a program storage area and a data storage area. The storage program area can store an operating system, various application programs (such as communication application), a face recognition module and the like; the storage data area may store data (such as various multimedia files like pictures, video files, etc., and face information templates) created according to the use of the terminal, etc.
Further, the memory 840 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 850 may be used to receive numeric or character information input by a user and generate key signal inputs related to user settings and function control of the terminal 800.
In some embodiments, input unit 850 may include a touch panel 851 and other input terminals 852.
The touch panel 851, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 851 (for example, operations of the user on or near the touch panel 851 using any suitable object or accessory such as a finger or a stylus), and drive the corresponding connection device according to a preset program. In some embodiments, the touch panel 851 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 830, and can receive and execute commands sent by the processor 830. In addition, the touch panel 851 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave.
In some embodiments, the other input terminals 852 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 860 may be used to display information input by a user or information provided to a user and various menus of the terminal 800. The display unit 860 is a display system of the terminal 800, and is configured to present an interface and implement human-computer interaction.
Further, the touch panel 851 covers the display panel 961, and when the touch panel 851 detects a touch operation on or near the touch panel 851, the touch operation is transmitted to the processor 830 to determine the type of the touch event, and then the processor 830 provides a corresponding visual output on the display panel 961 according to the type of the touch event.
Although in fig. 8, the touch panel 851 and the display panel 961 are two separate components to implement the input and output functions of the terminal 800, in some embodiments, the touch panel 851 and the display panel 961 may be integrated to implement the input and output functions of the terminal 800.
The processor 830 is a control center of the terminal 800, connects various components using various interfaces and lines, and performs various functions of the terminal 800 and processes data by operating or executing software programs and/or modules stored in the memory 840 and calling data stored in the memory 840, thereby implementing various services based on the terminal.
In some implementations, the processor 830 may include one or more processors. In some embodiments, the processor 830 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 830.
The camera 870 is configured to implement a shooting function of the terminal 800, and shoot pictures or videos. The camera 870 may also be used to implement a scanning function of the terminal 800, and scan a scanned object (two-dimensional code/barcode).
The terminal 800 also includes a power supply 820 (e.g., a battery) for powering the various components. In some embodiments, the power supply 820 may be logically connected to the processor 830 via a power management system, so as to manage charging, discharging, and power consumption via the power management system.
Although not shown, the terminal 800 may further include at least one sensor, an audio circuit, and the like, which will not be described herein.
The memory 830 may store the same program code as the memory 820, which when executed by the processor 820, causes the processor 820 to implement all of the functions of the processor 810.
The embodiment of the present application further provides a computer-readable non-volatile storage medium, which includes a program code, and when the program code runs on a computing terminal, the program code is configured to enable the computing terminal to execute the steps of the method for data transmission according to the embodiment of the present application.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (10)
1. A data transmission method of a terminal, the method comprising:
the method comprises the steps that a first terminal responds to a switch instruction, and searches parameters corresponding to functions needing to be recovered in a received parameter set sent by a second terminal, wherein the parameter set is parameters set in the second terminal by an object;
the first terminal backups an available field in a parameter corresponding to the function needing to be restored to a local database corresponding to the function needing to be restored according to version information corresponding to the function needing to be restored in the parameter set;
and the first terminal resets the function needing to be recovered according to the local database.
2. The method according to claim 1, wherein after the first terminal backs up an available field in the parameter corresponding to the function to be restored to the local database corresponding to the function to be restored, and before the first terminal resets the function to be restored according to the local database, the method further comprises:
and if a blank field exists in the local database corresponding to the function needing to be recovered, filling by adopting a preset parameter corresponding to the blank field.
3. The method of claim 1, further comprising:
if the first terminal determines that no available field exists in the parameter corresponding to the function to be restored according to the version information corresponding to the function to be restored in the parameter set, backing up the preset parameter corresponding to the function to be restored to a local database corresponding to the function to be restored.
4. The method of claim 1, wherein the function requiring recovery comprises some or all of:
wireless network, ringtone, alarm clock, harassment interception, screen locking, self-starting setting, notes, account setting and electric quantity setting.
5. The method of claim 1, further comprising:
and the first terminal displays the reset progress of the function needing to be recovered in a display interface.
6. A data transmission method of a terminal, the method further comprising:
the second terminal acquires parameters corresponding to the functions needing to be recovered according to a switch instruction triggered by a user;
and the second terminal forms a parameter set by the parameter corresponding to the function to be restored and the version information corresponding to the function to be restored and sends the parameter set to the first terminal, so that the first terminal backs up the available field in the parameter corresponding to the function to be restored to a local database corresponding to the function to be restored according to the version information corresponding to the function to be restored in the parameter set, and resets the function to be restored according to the local database.
7. The method according to claim 6, wherein the second terminal obtains the parameter corresponding to the function to be restored according to a switch instruction triggered by the user, and the method includes:
the second terminal displays the recoverable function after receiving a switch instruction triggered by a user;
and the second terminal acquires the parameters corresponding to the functions needing to be recovered and selected by the user.
8. The method of claim 6, wherein the function requiring recovery comprises some or all of:
wireless network, ringtone, alarm clock, harassment interception, screen locking, self-starting setting, notes, account setting and electric quantity setting.
9. A first terminal, characterized in that the first terminal comprises: a processor and a memory, wherein the memory stores program code which, when executed by the processor, causes the processor to perform the method of any of claims 1-5.
10. A second terminal, characterized in that the second terminal comprises: a processor and a memory, wherein the memory stores program code which, when executed by the processor, causes the processor to perform the method of any of claims 6-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910962315.7A CN110806951A (en) | 2019-10-11 | 2019-10-11 | Data transmission method of terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910962315.7A CN110806951A (en) | 2019-10-11 | 2019-10-11 | Data transmission method of terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110806951A true CN110806951A (en) | 2020-02-18 |
Family
ID=69488273
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910962315.7A Pending CN110806951A (en) | 2019-10-11 | 2019-10-11 | Data transmission method of terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110806951A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100210240A1 (en) * | 2009-02-17 | 2010-08-19 | Flexilis, Inc. | System and method for remotely securing or recovering a mobile device |
CN102714789A (en) * | 2011-04-19 | 2012-10-03 | 华为终端有限公司 | Method for backuping and recovering data of mobile terminal and mobile terminal thereof |
CN105491113A (en) * | 2015-11-25 | 2016-04-13 | 小米科技有限责任公司 | Migrating method, device and terminal |
CN106802817A (en) * | 2016-12-29 | 2017-06-06 | 杭州迪普科技股份有限公司 | The upgrade method and device of SQLite databases |
CN107026908A (en) * | 2017-03-31 | 2017-08-08 | 青岛海信移动通信技术股份有限公司 | By the method and device of the Data Migration of second terminal to first terminal |
CN107659726A (en) * | 2017-08-23 | 2018-02-02 | 努比亚技术有限公司 | A kind of method, equipment and computer-readable recording medium for recovering end message |
-
2019
- 2019-10-11 CN CN201910962315.7A patent/CN110806951A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100210240A1 (en) * | 2009-02-17 | 2010-08-19 | Flexilis, Inc. | System and method for remotely securing or recovering a mobile device |
CN102714789A (en) * | 2011-04-19 | 2012-10-03 | 华为终端有限公司 | Method for backuping and recovering data of mobile terminal and mobile terminal thereof |
CN105491113A (en) * | 2015-11-25 | 2016-04-13 | 小米科技有限责任公司 | Migrating method, device and terminal |
CN106802817A (en) * | 2016-12-29 | 2017-06-06 | 杭州迪普科技股份有限公司 | The upgrade method and device of SQLite databases |
CN107026908A (en) * | 2017-03-31 | 2017-08-08 | 青岛海信移动通信技术股份有限公司 | By the method and device of the Data Migration of second terminal to first terminal |
CN107659726A (en) * | 2017-08-23 | 2018-02-02 | 努比亚技术有限公司 | A kind of method, equipment and computer-readable recording medium for recovering end message |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101784898B1 (en) | Near field communication-based data transmission method and apparatus, and near field communication device | |
CN112579264B (en) | Application program jumping method, terminal and computer storage medium | |
CN108021642B (en) | Application program recommendation method and device, mobile terminal and storage medium | |
CN105426189A (en) | Notification bar combining method and system | |
EP2838309A1 (en) | Method, device and system for establishing data connection | |
CN109075820A (en) | A kind of Bluetooth pairing methods and terminal device | |
CN104978180B (en) | Unprocessed event prompting method and device and mobile terminal | |
CN105208015A (en) | Application multi-account login processing method and device and terminal device | |
CN107678884A (en) | A kind of data transmission method, mobile terminal and computer-readable recording medium | |
AU2019203256B2 (en) | Fingerprint event processing method, apparatus, and terminal | |
CN105320616A (en) | External device control method and device | |
JP2019510303A (en) | Icon processing method and apparatus for application | |
CN109801136B (en) | Food ordering method, system, terminal, server and medium for preventing malicious ordering | |
CN112463199A (en) | System upgrading method and terminal | |
CN110891265B (en) | Wireless connection control method and device, mobile terminal and storage medium | |
CN108605207B (en) | Synchronization method, cloud platform and terminal for call records | |
CN107360179B (en) | Risk information sharing method, terminal and computer readable storage medium | |
CN106330681B (en) | Method, system and related equipment for sharing film watching information | |
CN112235412B (en) | Message processing method and device | |
CN108763243A (en) | Application program recommendation method and device, mobile terminal and server | |
CN104679506A (en) | Terminal | |
CN105425936B (en) | Method and device for adapting terminal to external device and terminal | |
CN110806951A (en) | Data transmission method of terminal | |
CN107509195B (en) | Data transmission method and device, terminal and readable storage medium | |
CN107148011B (en) | Method, device and system for executing target service |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200218 |
|
RJ01 | Rejection of invention patent application after publication |