Data migration method and terminal device
By learning user habits on terminal devices to form user profiles, prioritizing the migration and installation of important applications, and providing multiple migration options, the problem of excessively long data migration time on terminal devices is solved, thus improving the user experience.
Patent Information
- Application Number
- CN202211340196.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-27
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-10-27
AI Technical Summary
The data migration process between existing terminal devices is too time-consuming, affecting user experience. In particular, due to the full migration and unreasonable application installation order, users have to wait too long for commonly used applications.
By learning user usage habits from terminal devices, user profiles are created. Applications that are frequently used, used for a long time, or have a high degree of overlap in the current time period are prioritized for migration and installation. Multiple data migration methods are provided for users to choose from, and the migration progress and precautions are displayed during the migration process.
It improves data migration efficiency, reduces the time users spend waiting to install commonly used applications, enhances the user experience, and allows users to use important applications in advance during the migration process.
Smart Images

Figure CN117992423B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a data migration method and terminal device. Background Technology
[0002] With the rapid development of the terminal industry, the replacement of terminal devices is becoming more and more frequent. Therefore, it is increasingly common for users to change their terminal devices. After acquiring a new terminal device, users want to maintain their usage habits and need to migrate user data from the old device to the new one. This includes contact information, historical communication data, and various applications.
[0003] Currently, there are various solutions for data migration between terminal devices, such as full or partial data migration. However, the time required for data transfer and application installation on terminal devices leads to excessively long data migration times, preventing users from accessing applications on their devices promptly and thus impacting the user experience.
[0004] Therefore, the industry urgently needs a data migration solution between terminal devices to improve the efficiency of data migration between terminal devices and optimize user experience. Summary of the Invention
[0005] This application provides a data migration method and terminal device, which can improve the efficiency of data migration between terminal devices.
[0006] In a first aspect, embodiments of this application provide a data migration method, which is applied to a first terminal device and a second terminal device, the first terminal device and the second terminal device having a communication relationship. The method includes: the first terminal device displaying a first interface, the first interface including: multiple controls, the multiple controls corresponding one-to-one with multiple data migration methods, the multiple controls including a first control, the first control corresponding to a first data migration method; in response to a first operation on the first control, the first terminal device displaying a second interface, the second interface including a first application set, the number of the first application set being less than the total number of applications installed on the first terminal device; in response to a second operation of selecting the first application set, the first terminal device sending application data corresponding to the application to be migrated selected by the second operation to the second terminal device.
[0007] In this way, during data migration, the terminal device can display multiple controls on the first interface, allowing the user to select the data migration method. After the user selects the first control corresponding to the first data migration method, the terminal device displays a set of recommended applications for data migration on the second interface. The user can flexibly choose whether to add or remove applications to be migrated from the first set of applications, thereby improving the efficiency of data migration between terminal devices and enhancing the user experience.
[0008] In conjunction with the first aspect, in one possible implementation, the first interface further includes at least one of the following: the amount of migrated data corresponding to each of the multiple data migration methods; and the estimated migration time corresponding to each of the multiple data migration methods.
[0009] In this way, users can flexibly choose the data migration method according to their own needs and with reference to the amount of data to be migrated and the expected migration time, thereby improving the user experience.
[0010] In conjunction with the first aspect, in one possible implementation, the method further includes: in response to a second operation of selecting the first set of applications, displaying at least one of the following in the second interface: the migration data amount of each application to be migrated among the applications to be migrated selected by the second operation; the total migration data amount corresponding to the applications to be migrated selected by the second operation; and the estimated migration time corresponding to the applications to be migrated selected by the second operation.
[0011] In this way, users can flexibly choose the application to be migrated according to their own needs, and based on the amount of migration data and the estimated migration time of the selected application in real time, thus improving the user experience.
[0012] In conjunction with the first aspect, in one possible implementation, the application to be migrated includes multiple applications to be migrated, and the method further includes: the first terminal device sequentially sending the multiple applications to be migrated to the second terminal device according to a first order, wherein the first order conforms to at least one of the following rules: the higher the usage frequency of the second application, the higher its position in the first order, and the second application is any one of the multiple applications to be migrated; the longer the usage duration of the second application, the higher its position in the first order; the higher the overlap between the usage time period of the second application and the current time period, the higher its position in the first order.
[0013] In this way, the first terminal device can sort the applications to be migrated and send the applications to be migrated to the second terminal device according to the first sorting, so as to prioritize the sending and installation of applications with high user usage probability.
[0014] In conjunction with the first aspect, in one possible implementation, the first sorting is determined based on user profile information, which is user habit information of a user using multiple applications in the first terminal device. The user profile information includes at least one of the following: frequency information, which is statistical information indicating the frequency of the user's use of the application; time length information, which is statistical information indicating the length of time the user uses the application; and time period information, which is statistical information indicating the time period during which the user uses the application.
[0015] In this way, the user profile information includes information on the frequency, duration, and time period of user application usage, reflecting the user's usage habits. The primary terminal device can filter data based on the user profile information to recommend applications with high usage probability to the user, thereby reducing the waiting time for frequently used applications to install and improving the user experience.
[0016] In conjunction with the first aspect, in one possible implementation, the application to be migrated includes multiple applications to be migrated, and the method further includes: the first terminal device sending first indication information to the second terminal device, the first indication information being used to indicate a first order for sending the multiple applications to be migrated.
[0017] In this way, before sending migration data, the first terminal device sends a first instruction message to the second terminal device to indicate the first order of multiple applications to be migrated, so that the second terminal device can install the applications to be migrated according to the first order. When installing applications according to the first order, applications with high user usage probability can be installed first, thereby improving the user experience.
[0018] In conjunction with the first aspect, in one possible implementation, the method further includes: the first terminal device performing a second sorting of the applications installed on the first terminal device, the second sorting conforming to at least one of the following rules: the higher the usage frequency of a third application, the higher its position in the second sorting, the third application being any application installed on the first terminal device; the longer the usage time of a third application, the higher its position in the second sorting; and determining the top N applications in the second sorting as applications in the first application set, where N is an integer greater than 1.
[0019] In this way, the first terminal device can select the first set of recommended applications for migration based on the frequency and duration of application use, thereby selecting applications with high user usage probability or long usage time for migration, thus improving the user experience.
[0020] In conjunction with the first aspect, in one possible implementation, the plurality of controls further includes at least one of the following: a second control corresponding to a second data migration method, the second data migration method being used to instruct the migration of all third-party applications in the first terminal device; and a third control corresponding to a third data migration method, being used to instruct the migration of the minimum set of applications that must be migrated in the first terminal device.
[0021] In conjunction with the first aspect, in one possible implementation, the method further includes: the second terminal device receiving application data corresponding to the application to be migrated from the first terminal device; the second terminal device installing the application to be migrated, wherein, during the installation of the application to be migrated, the second terminal device displays a sixth interface, the sixth interface including a first button for entering the desktop; and in response to a third operation on the first button, the second terminal device displays the desktop.
[0022] In this way, users can access and use the installed applications on the desktop before all applications are fully installed, while the remaining applications continue to install in the background. This allows users to operate the applications in advance during the data migration process, improving the user experience.
[0023] In conjunction with the first aspect, in one possible implementation, the method further includes: in response to a third operation on the first button, the second terminal device displays third indication information, the third indication information being used to notify the user of precautions during the application installation process.
[0024] In conjunction with the first aspect, in one possible implementation, the application to be migrated includes multiple applications to be migrated, and the method further includes: the second terminal device receiving first indication information from the first terminal device, the first indication information being used to indicate a first order for sending the multiple applications to be migrated; the second terminal device installing the applications to be migrated includes: the second terminal device installing the applications to be migrated sequentially according to the first order.
[0025] In this way, the second terminal device installs the applications to be migrated according to the first sorting. Since the first sorting is based on the frequency, duration and time period of application use, applications with high usage probability can be installed first. During the data migration process, users can open and operate applications with high usage probability in advance, while other applications with low usage probability can be installed in the background, thereby improving the user experience.
[0026] In conjunction with the first aspect, in one possible implementation, the method further includes: during the installation of the application to be migrated, the second terminal device displays second indication information on the desktop, the second indication information indicating that the user can currently use a fourth application, the fourth application being an application that has already been installed among the applications to be migrated.
[0027] In this way, once the applications listed at the top of the timer have finished installing, users can use them immediately, while the remaining applications continue to install in the background. This allows users to operate their frequently used applications in advance during the data migration process, improving the user experience.
[0028] In conjunction with the first aspect, in one possible implementation, the method further includes: in response to a fourth operation, the second terminal device displays a pull-down notification menu on the desktop, the pull-down notification menu including fourth indication information for indicating the progress of data migration.
[0029] In a second aspect, a terminal device is provided, which includes functional modules. The functional modules may include software modules or hardware modules, or modules combining software and hardware. The functional modules are used to implement the methods executed by the first terminal device as described in the first aspect or any implementation thereof.
[0030] Thirdly, a terminal device is provided, which includes functional modules. The functional modules may include software modules or hardware modules, or modules combining software and hardware. The functional modules are used to implement the method executed by the second terminal device as described in the first aspect or any implementation thereof.
[0031] Fourthly, embodiments of this application provide a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it causes the terminal device to perform the method executed by the first terminal device as described in the first aspect or any implementation thereof.
[0032] Fifthly, a terminal device is provided, the terminal device including functional modules, the functional modules including software modules or hardware modules, or including modules combining software and hardware, the functional modules being used to implement the methods executed by the second terminal device as described in the second aspect or any implementation thereof.
[0033] Sixthly, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed, cause a computer to perform a method performed by a first terminal device as described in the first aspect or any implementation thereof.
[0034] In a seventh aspect, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed, cause a computer to perform a method performed by a second terminal device as described in the first aspect or any implementation thereof.
[0035] Eighth aspect, a computer program product comprising a computer program that, when run, causes a computer to perform a method executed by a first terminal device as described in the first aspect or any implementation thereof.
[0036] Ninth aspect, a computer program product comprising a computer program that, when run, causes a computer to perform a method executed by a second terminal device as described in the first aspect or any implementation thereof.
[0037] It should be understood that the second to ninth aspects of this application correspond to the technical solutions of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be repeated here. Attached Figure Description
[0038] Figure 1 This is a schematic diagram illustrating an application scenario of an embodiment of this application;
[0039] Figure 2 This is a flowchart illustrating a data migration method according to an embodiment of this application;
[0040] Figure 3 This is a flowchart illustrating a data migration method according to another embodiment of this application;
[0041] Figure 4 This is a schematic flowchart illustrating a data migration method according to another embodiment of this application;
[0042] Figure 5 This is a schematic diagram of a first terminal device presenting a first interface 500 according to an embodiment of this application;
[0043] Figure 6 This is a schematic diagram of the interface of a first terminal device performing data migration according to an embodiment of this application;
[0044] Figure 7 This is a schematic diagram of the user interface for selecting a recommended data mode according to an embodiment of this application;
[0045] Figure 8 This is a schematic diagram of the user interface for selecting a recommended data mode according to another embodiment of this application;
[0046] Figure 9 This is a schematic diagram of the interface of a second terminal device receiving migration data according to an embodiment of this application;
[0047] Figure 10 This is a schematic diagram of the interface for installing an application on a second terminal device according to an embodiment of this application;
[0048] Figure 11 This is a schematic diagram of a second terminal device displaying a drop-down notification menu according to an embodiment of this application;
[0049] Figure 12 This is a schematic diagram of the interface of a second terminal device completing data migration according to an embodiment of this application;
[0050] Figure 13 This is a schematic diagram showing the icon changes of application A, which already exists in the second terminal device, according to an embodiment of this application;
[0051] Figure 14 This is a schematic diagram illustrating the icon changes of application A, which does not exist in the second terminal device, according to an embodiment of this application.
[0052] Figure 15 This is a schematic diagram of a data migration method according to an embodiment of this application;
[0053] Figure 16 This is a schematic diagram of the hardware structure of a terminal device 100 according to an embodiment of this application;
[0054] Figure 17 This is a schematic diagram of the hardware structure of another terminal device provided in an embodiment of this application. Detailed Implementation
[0055] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. For example, the first value and the second value are only used to distinguish different values and do not limit their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.
[0056] It should be noted that, in this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0057] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.
[0058] Figure 1 This is a schematic diagram illustrating an application scenario according to an embodiment of this application. For example... Figure 1 As shown, this application scenario includes a first terminal device and a second terminal device. The first terminal device is the source of the data migration, and the second terminal device is the target of the data migration. The first terminal device needs to transmit data to the second terminal device, including the installation data of each application and the user history data corresponding to each application. After receiving the migrated data, the second terminal device can install the applications based on their installation data. After installation, the second terminal device also needs to import the user history data corresponding to each application into the installed applications. After the data import is complete, the user can use the application on the second terminal device.
[0059] Optionally, during the process of the first terminal device sending data to the second terminal device, the installation data of each application and the user's historical data can be compressed and transmitted separately.
[0060] Optionally, the first terminal device and the second terminal device can communicate and transmit data via wired or wireless means. For example, they can communicate via wireless local area networks (WLAN), Bluetooth, or WiFi technology.
[0061] Optionally, a data migration cloning application can be installed on both the first and second terminal devices. This application is used to manage data migration. In some examples, the data migration cloning application may use other names, as long as it has the function of managing data migration between terminal devices; this application does not limit this. The first and second terminal devices can interact with each other through the aforementioned data migration management application.
[0062] As mentioned earlier, existing data migration solutions have many drawbacks, leading to excessively long migration times and negatively impacting user experience. Taking a full migration of all applications across multiple devices as an example, not all applications on the primary device are worth migrating. Migrating applications that users rarely use will waste storage space on the secondary device. Alternatively, if a user frequently uses a particular application, and the installation process used an alphabetical order, that application might be ranked lower in the installation list, requiring a longer wait before the user can access it.
[0063] To address the aforementioned issues, this application provides a data migration scheme that leverages user profile information. This user profile information indicates a user's usage habits when using applications on their terminal device, reflecting their usage patterns. The terminal device can learn and accumulate historical user data to form user profile information. For example, user profile information may include the frequency, duration, and time period of each application's usage. The terminal device can filter data based on the user profile information to recommend frequently used applications. During data migration, the terminal device can prioritize the transfer and installation of frequently used applications based on the user profile information, thereby reducing the user's waiting time for commonly used applications and improving the user experience.
[0064] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be implemented independently or in combination with each other. The same or similar concepts or processes may not be described again in some embodiments.
[0065] In this embodiment of the application, a mobile phone is used as an example for illustration. This example does not constitute a limitation on the embodiments of this application.
[0066] Figure 2 This is a schematic diagram of a data migration method according to an embodiment of this application. In this embodiment, data migration may refer to the process of migrating application data from a first terminal device to a second terminal device and completing the installation on the second terminal device. Figure 2 The method can be executed by the first terminal device, such as Figure 2 As shown, the method includes the following.
[0067] S201. The first terminal device obtains user profile information, which is information about the user's usage habits when using multiple applications on the first terminal device.
[0068] The first terminal device can store historical information about the user's use of the application and acquire user profile information by learning from the historical information. The user profile information may include at least one of the following: frequency information, which is statistical information indicating the frequency of the user's use of the application; time length information, which is statistical information indicating the length of time the user uses the application; and time period information, which is statistical information indicating the time period during which the user uses the application.
[0069] For example, Table 1 shows an example of user profile information, which includes information on the frequency, duration, and time period of a user's use of various applications.
[0070] Table 1
[0071] application Frequency / day Usage time (h) Usage period Application A 20 5.5 10:00-11:00、12:30-14:00、18:00-21:00 Application B 15 2 14:00-16:00 Application C 10 1.5 12:00-12:30、17:30-18:30 … … … …
[0072] S202. The first terminal device identifies multiple applications to be migrated.
[0073] The process of identifying multiple applications to be migrated can also be called the data filtering stage, which involves filtering the data that needs to be migrated. Optionally, identifying multiple applications to be migrated can include various methods. In some examples, the first terminal device can use a default method to identify the applications to be migrated, and this default method is fixed. For example, all applications on the terminal device can be migrated by default, or all third-party applications on the terminal device can be migrated by default. Alternatively, some applications on the terminal device can be migrated by default, and these partial applications can be determined according to the manufacturer's specifications. For example, all applications on the first terminal device except for financial applications can be migrated.
[0074] Optionally, the first terminal device may also support one or more data migration methods for the user to choose from. The aforementioned data migration modes may include at least one of the following: recommended data mode, full data mode, and minimal data mode.
[0075] For example, Figure 5 This is a schematic diagram of a first terminal device displaying a first interface 500 according to an embodiment of this application. Figure 5 As shown, the first terminal device displays a first interface 500 to the user via a display screen. The first interface 500 is used to display data migration methods for the user to choose from. The first interface 500 includes a display area 501 for a recommended data mode, a display area 502 for a full data mode, and a display area 503 for a minimized data mode. As an example, this first interface 500 can be the operation interface in a device cloning application.
[0076] Among them, the recommended data mode refers to the first terminal device analyzing user profile information and recommending frequently used applications to the user. The full data mode refers to migrating all third-party applications on the first terminal device. The minimal data mode refers to migrating the minimum set of applications that must be migrated from the first terminal device; that is, the minimal data mode provides a method for migrating the minimum amount of data.
[0077] Optionally, such as Figure 5 As shown, the first terminal device can also display the size of the data to be migrated and the estimated time for migrating and installing the application in the display area of each data migration mode in the first interface 500. For example, for the recommended data mode, the size of the data to be migrated is 18.23G, and the estimated time is 15 minutes; for the full data mode 502, the size of the data to be migrated is 48.3G, and the estimated time is 48 minutes; for the minimized data mode, the size of the data to be migrated is 8.3G, and the estimated time is 8 minutes.
[0078] For the recommendation data model, the first terminal device recommends a first set of applications to the user as applications to be migrated. Specifically, the first terminal device can determine the first set of applications based on user profile information, and the first set of applications includes at least one first application. The first application can be an application that the user uses frequently or for a long time. When determining the first set of applications, the first terminal device can use at least one of the following from the user profile information: time length information, statistical information indicating the length of time the user uses the application; and time period information, statistical information indicating the time period during which the user uses the application.
[0079] The first set of recommended applications for the data migration method is determined based on user profile information. This first set of applications includes applications that users use frequently, making it easier for users to choose commonly used applications during data migration and improving the user experience.
[0080] As an example, the method for determining the first application set may include the following: the second terminal device performs a second sorting of multiple applications installed on the terminal device based on user profile information, and the second sorting conforms to at least one of the following rules: the higher the usage frequency of the third application, the higher its position in the second sorting; the longer the usage time of the third application, the higher its position in the second sorting; wherein, the third application is any application among the multiple applications installed on the first terminal device; the top N applications in the second sorting are determined as the first application in the first application set, where N is an integer greater than 1.
[0081] As an example, the first terminal device can assign different weights to different pieces of information in the user profile and determine the importance of each application based on the weights to identify the first set of applications. For instance, usage time information can be given a higher weight, thereby prioritizing the migration and installation of applications that the user uses for a longer period of time.
[0082] Optionally, users can... Figure 5 The user operates on the first interface 500 to select a data migration method. Based on the user's selected data migration method, the first terminal device can determine multiple applications to be migrated. For example, if the first terminal device selects the full data mode, it determines that all third-party applications are to be migrated. If the user selects the minimal data mode, it determines that the minimum set of applications is to be migrated.
[0083] Figure 6 This is a schematic diagram of the interface of a first terminal device performing data migration according to an embodiment of this application. Figure 6 (a) in the diagram is a schematic diagram of the first interface 500, as shown below. Figure 6 As shown in (a) above, taking the full migration mode as an example, the user can migrate data by clicking the "Migrate Now" button 505 in the full migration mode display area 502. Figure 6 As shown in (b), after the user selects the full migration mode, the first terminal device can display a third interface 530. The third interface 530 is used to display the progress of the data migration and the data migration status of each application. For example, Figure 6 The data migration progress in (b) is represented as 28.4%. Figure 6 As shown in (c), after the data migration is complete, the first terminal device can display the fourth interface 540. The fourth interface 540 is used to notify the user that the first terminal device has completed the transmission of the application data to be migrated.
[0084] In some examples, if the user selects the recommended data mode, the first terminal device can adopt either of the following two processing methods. In the first method, the first terminal device can treat the first set of applications as multiple applications to be migrated. See [link to relevant documentation] for more information on the first method. Figure 7 The relevant description is as follows. In the second method, the first terminal device can present a second interface to the terminal device. This second interface is used by the user to select, add, or remove candidate applications to be migrated based on the first application set. The first terminal device determines the applications to be migrated based on the user's actions on the second interface. For more information on the second method, please refer to [link to relevant documentation]. Figure 8 Related descriptions.
[0085] Figure 7 This is a schematic diagram of the user interface for selecting a recommended data mode according to an embodiment of this application. Figure 7As shown in (a), if the user selects the first method, they can begin data migration by clicking the "Migrate Now" button 505 in the recommended data mode display area 501. Figure 7 As shown in (b), after the user selects the recommended data mode, the first terminal device can display a third interface 530. The third interface 530 is used to display the progress of data migration and the data migration status of each application. Figure 7 As shown in (c), after the data migration is complete, the first terminal device can display the fourth interface 540. The fourth interface 540 is used to notify the user that the first terminal device has completed sending the data of the application to be migrated.
[0086] Figure 8 This is a schematic diagram of the user interface for selecting a recommended data mode, according to another embodiment of this application. Figure 8 As shown in (a), if the user selects the second method, they can click the button to enter the second interface 600. For example, the user can select the area outside the "Migrate Now" button 505 in the display area 501 of the recommended data mode to enter the second interface 600. Figure 8 As shown in (b), after the user selects the recommended data mode, the first terminal device can display a second interface 600 for the user to make further selections. The second interface 600 is used by the user to add or remove candidate applications to be migrated based on the first application set; the first terminal device determines the applications to be migrated based on the user's actions on the second interface. After determining the applications to be migrated, the first terminal device can initiate the sending of the applications to be migrated by clicking the "Next" button 507. Figure 8 (c) and (d) in Figure 7 , Figure 8 Similarly, this will not be elaborated upon here.
[0087] In some examples, after the user selects the full data mode or the minimized data mode, the first terminal device can also display a second interface 600, allowing the user to add or remove applications to be migrated based on the applications indicated in the above mode.
[0088] Optionally, the above three data migration methods are only examples. In addition to the above three data migration methods, the first terminal device may also provide other data migration methods for users to choose from. This application embodiment does not limit this.
[0089] In this embodiment of the application, after the user selects the recommended data mode, the first terminal device can display a second interface, so that the user can flexibly choose whether to add applications to be migrated based on the first set of recommended applications, thereby improving the user experience.
[0090] S203. The first terminal device determines the first order of sending multiple applications to be migrated based on the user profile information.
[0091] The first terminal device can analyze user profile information to determine which applications the user is likely to use most frequently, and then prioritize their installation. For example, it can select applications that the user uses frequently, or applications that the user uses most frequently during the current time period, and prioritize their installation.
[0092] Optionally, the first terminal device determines the specific method of the first sorting, which may include: the first terminal device performs the first sorting according to at least one of the following rules: the higher the usage frequency of the second application, the higher its position in the first sorting; the longer the usage time of the second application, the higher its position in the first sorting; the higher the overlap between the usage time period of the second application and the current time period, the higher its position in the first sorting; wherein, the second application is any one of multiple applications to be migrated.
[0093] As an example, the current time period can refer to the time interval from when the first terminal device starts data migration until the second terminal device completes application installation. For instance, assuming the first terminal device starts data migration at time T1 and the second terminal device completes application installation at time T2, then the time interval between time T1 and time T2 is the current time period. Assuming application A is used from 12:30 to 14:00, and the first terminal device starts data migration at 12:20, with an estimated completion time of 30 minutes for both data migration and application installation, then the current time period is 12:20 to 12:50.
[0094] The aforementioned overlap can refer to the degree of proximity or overlap between the first user's usage time period and the current time period. For example, if the usage time period of application A is 12:30-14:00, the usage time period of application B is 14:30-16:00, and the current time period is 12:20-12:50, then the overlap between the usage time period of application A and the current time period is greater than that of application B.
[0095] Specifically, different weights can be assigned to different pieces of information included in the user profile, and the importance of each application can be determined based on these weights to establish a first ranking. For example, higher weights can be assigned to application usage time periods, thereby prioritizing the migration and installation of applications that users are more likely to use during the current time period.
[0096] The first terminal device can prioritize the applications to be migrated based on their frequency, duration, and time period of use. This prioritizes sending applications that the user is more likely to use at the current time, or applications that the user uses frequently or for long periods, thereby improving the user experience.
[0097] S204. The first terminal device sends data of multiple applications to be migrated to the second terminal device in sequence according to the first sorting.
[0098] Optionally, the data for the aforementioned applications to be migrated includes application installation data and user history data.
[0099] During the data migration process, the first terminal device can display the progress of the data migration. For example, see... Figure 6 (b) and Figure 7 In (b) of the above, during the data migration process, the first terminal device can display a third interface 530. The third interface 530 is used to display the progress of the data migration and the data migration status of each application. Figure 6 The data migration progress in (b) is represented as 28.4%. See also... Figure 6 (c) and Figure 7 In step (c), after the data migration is complete, the first terminal device can display the fourth interface 540. The fourth interface 540 is used to notify the user that the first terminal device has completed sending the data of the application to be migrated.
[0100] Optionally, in some examples, the applications installed on the first terminal device include two types: the first type is applications developed by the manufacturer, or applications that are installed by default at the factory, such as telephone applications, SMS applications, and contact lists; the second type is third-party applications, which are applications developed by third parties other than the manufacturer. For manufacturer-developed applications, since they are installed by default at the factory, only the user history data corresponding to these applications needs to be transferred during data migration. Furthermore, by default, the user history data of manufacturer-developed applications is transferred first, followed by the transfer and installation of third-party applications. Therefore, in some examples, manufacturer-developed applications can be placed before third-party applications. That is, applications participating in the first and second sorting can be third-party applications, while the user history data of manufacturer-developed applications can be transferred before the data of third-party applications.
[0101] Optionally, before executing S204, Figure 2 The method further includes: the first terminal device sending first instruction information to the second terminal device, the first instruction information being used to indicate a first order of multiple applications to be migrated, so that the second terminal device can install the applications to be migrated according to the first order indicated by the first instruction information.
[0102] In this embodiment, the first terminal device can sort the applications to be migrated according to the user profile information and send the applications to be migrated to the second terminal device according to the first sorting, so as to prioritize sending and installing applications with high user usage probability. Users can open and operate applications with high usage probability in advance during the data migration process, while other applications with low usage probability can be installed in the background, thereby improving the user experience.
[0103] Figure 3 This is a flowchart illustrating a data migration method according to another embodiment of this application. This method can be executed by a second terminal device, such as... Figure 3 As shown, the method includes the following.
[0104] S301. The second terminal device receives first instruction information from the first terminal device. Correspondingly, the first terminal device sends first instruction information to the second terminal device. The first instruction information is used to indicate the first order of sending multiple applications to be migrated. The first order is determined based on user profile information, which is the user's usage habits information of multiple applications in the first terminal device.
[0105] The method by which the first terminal device determines the first order can be referred to Figure 2 For the sake of brevity, the relevant descriptions in section S203 will not be repeated here.
[0106] In some examples, both the first terminal device and the second terminal device have device swapping and cloning software installed, and the first terminal device can send a first instruction message to the second terminal device through the device swapping and cloning software.
[0107] Optionally, a wireless or wired connection can be established between the first terminal device and the second terminal device. For example, a wireless connection can be established between the first terminal device and the second terminal device using short-range wireless communication technology. In a specific example, a WiFi connection can be established between the first terminal device and the second terminal device.
[0108] S302. The second terminal device receives data from the first terminal device for multiple applications to be migrated.
[0109] Optionally, the multiple applications to be migrated received by the second terminal device are sent according to a first order. In other words, the second terminal device can preferentially receive and install applications with a higher probability of use from the first terminal device.
[0110] Optionally, the data of the applications to be migrated includes installation data and user history data.
[0111] As an example, Figure 9 This is a schematic diagram of the interface of a second terminal device receiving migration data according to an embodiment of this application. Figure 9(a) shows the fifth interface 710, which displays the progress of the second terminal device receiving migration data and the data migration status of each application. For example, Figure 9 The progress of data migration in (a) is represented as 28.4%.
[0112] S303. The second terminal device installs multiple applications to be migrated in sequence according to the first order.
[0113] For example, Figure 9 (b) shows the sixth interface 720 of the second terminal device. Figure 9 As shown in (b), after the second terminal device completes the data reception for the application to be migrated, the second terminal device can display the sixth interface 720. The sixth interface 720 shows the progress of the second terminal device installing the application to be migrated. For example, the current total installation progress of the application to be migrated is shown as 20.2%. During the installation of the application to be migrated on the second terminal device, the user can enter the desktop and use the application that has imported the user's historical data. For example, the user can click... Figure 9 The "Go to Desktop" button 701 in (b) is used to enter the desktop.
[0114] like Figure 9 As shown in (c), after the user clicks the "Enter Desktop" button 701, the second terminal device can display a third instruction message on its screen. This third instruction message is used to inform the user of precautions during the application installation process. Since the second terminal device has not yet completed the application installation process, it is necessary to use the third instruction message to remind the user of the precautions to ensure a smooth application migration. As an example, Figure 9 (c) The third instruction information is displayed through the first pop-up window area 702. After the user clicks the "OK" button 703 in the first pop-up window area 702, the second terminal device can display the desktop 810 of the second terminal device to the user. For details on the interface of the second terminal device after entering the desktop 810, please refer to the following. Figure 10 The relevant description is provided. Optionally, the embodiments of this application do not limit the specific content of the third instruction information, and the display content of the third instruction information can be determined according to practice.
[0115] In some examples, the second terminal device can begin installing the application based on the received application data during the process of receiving the application data to be migrated in S302, thereby reducing the total time for application migration and installation and improving application installation efficiency. For example, as... Figure 9As shown in (b), after the second terminal device completes the data reception of the application to be migrated, the second terminal device displays the sixth interface 720, which shows that some applications have been installed during the process of receiving migration data.
[0116] In some examples, the process of installing an application on a second terminal device includes: the second terminal device receiving installation data for a fourth application and user history data; the second terminal device installing the fourth application based on the installation data; and after installing the fourth application, the second terminal device importing the user history data into the fourth application, where the fourth application is an application among multiple applications to be migrated. After the import of the user history data is completed, the fourth application can then be made available to the user.
[0117] In this embodiment, the second terminal device installs multiple applications to be migrated in sequence according to the first order. After the applications at the top of the order are installed, the user can use them, while the remaining applications continue to be installed in the background. Thus, during the data migration process, the user can operate the applications they usually use in advance, which improves the user experience.
[0118] In some examples, after importing the user history data for the fourth application, the second terminal device displays a second indication on its screen, indicating that the user can currently use the fourth application. After displaying the second indication on the screen, the second terminal device installs a fifth application, which is listed after the fourth application in the first order.
[0119] The aforementioned second instruction information can be displayed explicitly or implicitly. In the explicit mode, the second terminal device can display the second instruction information via a pop-up window or a pull-down notification. In the implicit mode, the second terminal device can implicitly indicate that the application is available by illuminating the application icon. For example, below... Figure 10 (a) shows an example of the application being lit up.
[0120] Figure 10 This is a schematic diagram of the interface for installing an application on a second terminal device according to an embodiment of this application. Figure 10This represents the desktop 810 of the second terminal device during the application installation process. Desktop 810 includes icons for the applications to be migrated. If an application icon is lit up, it indicates that the application is in a "normal usage" state, meaning it has been installed or its user history data has been imported and it is ready for use. For example, if applications 1 through 3 are all lit up, it means the application is currently usable. If an application icon is partially lit, it indicates that the application is in an "installing" or "restoring" state. "Installing" means the application is being installed based on installation data, while "restoring" means the user history data is being imported. It should be noted that for applications already existing on the second terminal device, only the user history data needs to be imported. In some examples, for applications in the "installing" state, the application icon may be partially lit; for applications in the "restoring" state, the application icon may be mostly lit. For applications without user history data, only installation is required. For example, applications 4 through 6 are partially lit. In this context, apps 4 and 5 are mostly lit, indicating they are in a "recovering" state. App 6 is partially lit, indicating it is in a "installing" state. If an app's icon is completely dark, it means the app is in a "waiting to recover" state, meaning the app has not yet started installing. For example, apps 7 through 11 are in an uninstalled state.
[0121] Optionally, when the user issues a fourth operation on the desktop, in response to the fourth operation, the second terminal device may display fourth indication information on the desktop. The fourth indication information is used to indicate the progress of data migration. The fourth indication information may be located in a drop-down notification menu. The fourth operation may refer to a gesture that displays the drop-down notification menu, or it may refer to other operations that can trigger the display of the fourth indication information; this embodiment of the application does not limit this.
[0122] Figure 11 This is a schematic diagram illustrating the display of a drop-down notification menu on a second terminal device according to an embodiment of this application. Figure 11 As shown in (a), after the user clicks to enter the desktop 810, the second terminal device can continue installing the remaining applications to be migrated in the background. The data migration progress can be displayed via a pull-down notification menu 820. For example, when the user makes a gesture to display the pull-down notification menu 820 on the screen, the second terminal device can display [the notification menu] after sensing the user's gesture. Figure 11 The drop-down notification menu interface 820 is shown in (b) of the diagram. The drop-down notification menu interface 820 includes a fourth indicator message to indicate the progress of the data migration. For example, the current data migration progress has reached 42%.
[0123] Figure 12 This is a schematic diagram of the interface of a second terminal device completing data migration according to an embodiment of this application. Figure 12 As shown, the second terminal device can indicate that the data migration is complete via the second pop-up window 823. At this time, all application icons on the desktop 810 are lit up, indicating that the data migration is complete.
[0124] In this embodiment of the application, the second terminal device installs the applications to be migrated according to the first sorting. Since the first sorting is based on user profile information, applications with high usage probability can be installed first. Users can open and operate applications with high usage probability in advance during the data migration process, while other applications with low usage probability can be installed in the background, thereby improving the user experience.
[0125] Figure 4 This is a schematic diagram illustrating the specific process of a data migration method according to another embodiment of this application. Figure 4 As shown, the method includes the following.
[0126] S401. A transmission connection is established between the first terminal device and the second terminal device.
[0127] Optionally, a wireless or wired connection can be established between the first terminal device and the second terminal device to facilitate the transmission of data to be migrated. For example, a wireless connection can be established between the first terminal device and the second terminal device using short-range wireless communication technology. In a specific example, a WiFi connection can be established between the first terminal device and the second terminal device.
[0128] S402. The first terminal device identifies multiple applications to be migrated.
[0129] The process by which the first terminal device identifies multiple applications to be migrated can be referenced. Figure 2 The S202 section, and Figures 6-8 The relevant descriptions in the document will not be repeated here.
[0130] S403. The first terminal device determines the first order of multiple applications to be migrated.
[0131] For details on the process of determining the first order, please refer to [link / reference]. Figure 2 The S203 part.
[0132] S404. The first terminal device sends first instruction information to the second terminal device, and the second terminal device receives the first instruction information accordingly. The first instruction information is used to indicate the first order of multiple applications to be migrated.
[0133] Regarding the section on the first instruction information, please refer to... Figure 3 The relevant description in S301.
[0134] S405. The first terminal device sends the data of the application to be migrated to the second terminal device according to the first sorting, and the second terminal device receives the data of the application to be migrated accordingly.
[0135] For details regarding the process of the first terminal device sending data from multiple applications to be migrated, please refer to [link / reference]. Figure 2 In Figure S204, and Figures 6 to 8 The relevant description is provided in [the relevant documentation]. For details regarding the process of a second terminal device receiving data from multiple applications to be migrated, please refer to [the relevant documentation / reference]. Figure 3 The S302 part and Figure 9 The relevant description in the document.
[0136] S406. The second terminal device installs multiple applications to be migrated according to the first sorting.
[0137] In some examples, the second terminal device can launch and install the application that has already received the data to be migrated while receiving the data from the application to be migrated, thus saving data migration time. For example... Figure 9 As shown in (a) above, during the process of receiving data from the application to be migrated, the second terminal device can display a fifth interface 710 to show the progress of the data migration. Figure 9 As shown in (b), after receiving the data for the application to be migrated, the second terminal device can display a sixth interface 720, which shows the progress of the second terminal device installing the application to be migrated. At this time, the second terminal device has completed the installation of part of the application to be migrated during the data reception process. The user can click... Figure 9 The "Enter Desktop" button 701 in (b) is used to enter... Figure 10 Desktop 810 in the middle.
[0138] See also Figure 10 , Figure 10 The desktop 810 of the second terminal device is displayed. At this time, the user can operate the application whose icon is lit up. This indicates that the application has been installed or the user's historical data has been imported and is in a usable state, such as application 1 to application 3. Other applications can be moved to the background to continue installation.
[0139] See also Figure 4 Next, taking the current second terminal device, Display Desktop 810, as an example, we will describe the process of installing the application to be migrated.
[0140] S1. After receiving data from application A, the second terminal device determines whether application A already exists in the second terminal device. If it exists, proceed to S2; otherwise, proceed to S4.
[0141] Optionally, application A can refer to any application among the applications to be migrated.
[0142] In this case, "application A already exists" means that the application is already installed on the second terminal device. In this case, there is no need to reinstall application A based on the installation data sent by the first terminal device. Instead, it is only necessary to import the user history data of application A.
[0143] S2. If application A already exists in the second terminal device, then the second terminal device imports user history data into application A.
[0144] Figure 13 This is a schematic diagram illustrating the icon changes of application A, which already exists on a second terminal device, according to an embodiment of this application. For example... Figure 13 As shown in (a) above, in the initial state, the icon of application A is completely dark, i.e., in the "waiting to resume" state. Figure 13 As shown in (b), during the import of user historical data, the icon of application A is mostly lit up, i.e., in the "recovering" state.
[0145] S3. After importing user history data, the second terminal device lights up the icon of application A.
[0146] See also Figure 13 In (c), after the user's historical data import is completed, the icon of application A is fully lit, meaning that application A can be used normally.
[0147] S4. If application A does not exist in the second terminal device, the second terminal device imports the icon of application A into the desktop layout to place it on the desktop. At this time, the icon of application A is completely dark.
[0148] Figure 14 This is a schematic diagram illustrating the icon changes of application A, which does not exist on the second terminal device, according to an embodiment of this application. For example... Figure 14 As shown in (a), after importing the icon of application A as a desktop placeholder, the icon of application A is completely dark, i.e., in the "waiting to be restored" state.
[0149] S5. The second terminal device installs application A based on the installation data.
[0150] See also Figure 14 In (b), during the installation of application A, application A is partially lit, i.e., in the "installing" state.
[0151] S6. The second terminal device imports user historical data into application A.
[0152] See also Figure 14 In (c), during the import of user historical data, the icon of application A is mostly lit up, i.e., in the "recovering" state.
[0153] S7. After importing user history data, the second terminal device lights up the icon of application A.
[0154] See also Figure 14 In (d), after the user's historical data import is completed, the icon of application A is fully lit, meaning that application A can be used normally.
[0155] During the installation of the application to be migrated on the second terminal device, the second terminal device can display the data migration progress through a drop-down notification menu. For details on the drop-down notification menu, please refer to [link / reference needed]. Figure 11 Related descriptions.
[0156] After the second terminal device completes the installation of all applications to be migrated and the import of user data, the second terminal device will indicate that the data migration is complete via a second pop-up window. For details regarding the second pop-up window, please refer to [link / reference needed]. Figure 12 Related descriptions.
[0157] In this embodiment of the application, the first terminal device sends the applications to be migrated according to the first sorting, and the second terminal device receives and installs the applications to be migrated according to the first sorting. Since the first sorting is based on user profile information, applications with high user usage probability can be installed first. Users can open and operate applications with high usage probability in advance during the data migration process, while other applications with low usage probability can be installed in the background, thereby improving the user experience.
[0158] Figure 15 This is a schematic diagram of a data migration method according to an embodiment of this application. In this embodiment, data migration may refer to the process of migrating application data from a first terminal device to a second terminal device and completing the installation on the second terminal device. Figure 15 The method can be executed by a first terminal device and a second terminal device, and the first terminal device and the second terminal device have a communication relationship, such as... Figure 15 As shown, the method includes the following.
[0159] S101. The first terminal device displays a first interface, which includes multiple controls, each of which corresponds to a different data migration method. Among the multiple controls is a first control, which corresponds to the first data migration method.
[0160] Optionally, for information about the first interface, please refer to... Figure 5 The description of the first interface 500 in the text. For example, as shown... Figure 5 As shown, the first interface 500 also includes: the amount of data to be migrated for each of the multiple data migration methods; and the estimated migration time for each of the multiple data migration methods.
[0161] Optionally, the first data migration mode mentioned above may refer to the recommended data mode described earlier. For more information on the recommended data mode, please refer to... Figure 2 In part S202, Figure 5 as well as Figure 8 The relevant descriptions in the document will not be repeated here.
[0162] This application does not limit the specific implementation of various data migration modes in its embodiments. In some examples, the aforementioned various data migration modes also include the full data mode or the minimal data mode mentioned above. For example, the multiple controls also include at least one of the following: a second control, corresponding to a second data migration method, which is used to indicate the migration of all third-party applications in the first terminal device; and a third control, corresponding to a third data migration method, which is used to indicate the minimum set of applications that must be migrated in the first terminal device.
[0163] The second data migration method corresponds to the full data mode, and the third data migration method corresponds to the minimized data mode. For information on the full data mode and the minimized data mode, please refer to [link / reference needed]. Figure 2 The S202 part and Figure 6 The relevant descriptions will not be repeated here.
[0164] S102. In response to a first operation on the first control, the first terminal device displays a second interface, the second interface including a first application set, the number of the first application set being less than the total number of applications installed on the first terminal device.
[0165] Optionally, for details regarding the first operation and the second interface, please refer to... Figure 8 The text discusses the second interface (600) and related descriptions. For example, the first operation on the first control could refer to the user clicking... Figure 8 The recommended data mode in (a) is displayed in the display area 501 to enter the second interface 600.
[0166] Optionally, for information regarding the first set of applications, please refer to... Figure 2 The relevant description in S202.
[0167] S103. In response to the second operation of selecting the first set of applications, the first terminal device sends the application data corresponding to the application to be migrated selected by the second operation to the second terminal device.
[0168] Optionally, the aforementioned application data may include installation data and user history data.
[0169] Optionally, for details regarding the second operation, please refer to [link / reference]. Figure 8The relevant description in (b) is provided. For example, a user can determine whether to add or remove an application from the list of applications to be migrated by clicking the selection box to the left of each application in the second interface 600.
[0170] Optionally, such as Figure 8 As shown, in response to a second operation of selecting a first set of applications, at least one of the following is displayed in the second interface 600: the amount of migration data for each application to be migrated among the applications to be migrated selected by the second operation; the total amount of migration data corresponding to the applications to be migrated selected by the second operation; and the estimated migration time corresponding to the applications to be migrated selected by the second operation.
[0171] In this embodiment of the application, during data migration, the terminal device can display multiple controls on the first interface, allowing the user to select a data migration method. After the user selects the first control corresponding to the first data migration method, the terminal device displays a first set of recommended applications for data migration on the second interface. The user can flexibly choose whether to add or remove applications to be migrated from the first set of applications, thereby improving the user experience during the data migration process.
[0172] Optionally, the application to be migrated includes multiple applications to be migrated, and the method further includes the first terminal device sending multiple applications to be migrated to the second terminal device in sequence according to a first order, wherein the first order conforms to at least one of the following rules: the higher the usage frequency of the second application, the higher its position in the first order; the second application is any one of the multiple applications to be migrated; the longer the usage time of the second application, the higher its position in the first order; the higher the overlap between the usage time period of the second application and the current time period, the higher its position in the first order.
[0173] Optionally, the first sorting is determined based on user profile information, which is the user's usage habits information for multiple applications on the first terminal device. The user profile information includes at least one of the following: frequency information, which is statistical information used to indicate the frequency of the user's use of the application; time length information, which is statistical information used to indicate the length of time the user uses the application; and time period information, which is statistical information used to indicate the time period during which the user uses the application.
[0174] Optionally, the application to be migrated includes multiple applications to be migrated, and the method further includes: the first terminal device sending first indication information to the second terminal device, the first indication information being used to indicate a first order of sending multiple applications to be migrated.
[0175] Optionally, Figure 15The method further includes: the first terminal device performing a second sorting of the applications installed on the first terminal device, the second sorting conforming to at least one of the following rules: the higher the usage frequency of the third application, the higher its position in the second sorting, the third application being any application installed on the first terminal device; the longer the usage time of the third application, the higher its position in the second sorting; and determining the top N applications in the second sorting as applications in the first application set, where N is an integer greater than 1.
[0176] Optionally, Figure 15 The method further includes: the second terminal device receiving application data corresponding to the application to be migrated from the first terminal device; the second terminal device installing the application to be migrated, wherein, during the installation of the application to be migrated, the second terminal device displays a sixth interface, the sixth interface including a first button, the first button being used to enter the desktop; in response to a third operation on the first button, the second terminal device displays the desktop.
[0177] For details regarding the sixth interface, please refer to [link / reference]. Figure 9 The description of the sixth interface 720. The first button can point to... Figure 9 The "Enter Desktop" button 701 in (b) of the document.
[0178] Optionally, Figure 15 The method also includes: in response to a third operation on the first button, the second terminal device displays third instruction information, which is used to notify the user of precautions during the application installation process.
[0179] For example, the third instruction information can refer to Figure 9 The information displayed in pop-up 702 in (c) of the document.
[0180] Optionally, Figure 15 The method further includes: the application to be migrated includes multiple applications to be migrated, and the method further includes: the second terminal device receives first indication information from the first terminal device, the first indication information being used to indicate a first order for sending multiple applications to be migrated; the second terminal device installs the applications to be migrated, including: the second terminal device installs the applications to be migrated sequentially according to the first order.
[0181] Optionally, Figure 15 The method also includes: during the installation of the application to be migrated, the second terminal device displays second instruction information on the desktop, the second instruction information being used to indicate to the user that a fourth application can be used now, the fourth application being an application that has already been installed among the applications to be migrated.
[0182] The aforementioned second instruction information can be displayed explicitly or implicitly. In the explicit mode, the second terminal device can display the second instruction information via a pop-up window or a pull-down notification. In the implicit mode, the second terminal device can implicitly indicate that the application is available by illuminating the application icon. For example, Figure 10 (a) and Figure 14 The image shows an example of the application being lit up.
[0183] Optionally, Figure 15 The method also includes: in response to the fourth operation, the second terminal device displays a drop-down notification menu on the desktop, the drop-down notification menu including fourth indication information, the fourth indication information being used to indicate the progress of data migration.
[0184] For example, the fourth operation described above may include Figure 11 The pull-down gesture in (a) above, the fourth instruction information may include Figure 11 The contents of the drop-down notification menu 820 shown.
[0185] In this embodiment, users can access the desktop and use the installed applications before all applications are fully installed, while the remaining applications continue to install in the background. This allows users to operate the applications in advance during the data migration process, improving the user experience.
[0186] The above combination Figures 1-15 The methods provided in the embodiments of this application have been described. The apparatus for performing the above methods provided in the embodiments of this application is described below.
[0187] Figure 16 This is a schematic diagram of the hardware structure of a terminal device 100 according to an embodiment of this application. The terminal device 100 can be either the first terminal device or the second terminal device mentioned above. To better understand the embodiments of this application, the structure of the terminal device according to these embodiments is described below:
[0188] like Figure 16 As shown, the terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a sensor module 180, buttons 190, and a display screen 194, etc.
[0189] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the terminal device. In other embodiments of this application, the terminal device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0190] The processor 110 may include one or more processing units. These processing units may be independent devices or integrated within one or more processors. The processor 110 may also include memory for storing instructions and data.
[0191] USB port 130 is a USB standard compliant interface, which can be a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge terminal devices, and can also be used for data transfer between terminal devices and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices.
[0192] The wireless communication function of the terminal device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor.
[0193] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Antennas in terminal equipment can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization.
[0194] The mobile communication module 150 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G on terminal devices. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation.
[0195] The wireless communication module 160 can provide solutions for wireless communication applications on terminal devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), etc.
[0196] The terminal device implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering.
[0197] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the terminal device may include one or N display screens 194, where N is a positive integer greater than 1.
[0198] In one possible implementation, when the terminal device is a device with touch functionality, the display screen 194 and the touch screen can be combined. When the user presses a corresponding position on the display screen 194, it is equivalent to the user pressing a corresponding position on the touch screen.
[0199] In possible implementations, the display screen 194 and the touch screen may not be combined. In this case, the click operation and long press operation in this embodiment can be replaced with other operations, etc. This embodiment does not limit this.
[0200] The external storage interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the terminal device. The external storage card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.
[0201] Internal memory 121 can be used to store executable program code, including instructions. Internal memory 121 may include a program storage area and a data storage area.
[0202] Sensor module 180 may include one or more of the following sensors: pressure sensor, gyroscope sensor, barometric pressure sensor, magnetic sensor, accelerometer, distance sensor, proximity sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor, or bone conduction sensor, etc. Figure 1 (Not shown in the image).
[0203] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. The terminal device can receive button input and generate key signal inputs related to user settings and function control of the terminal device.
[0204] The software system of terminal devices can adopt layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture, etc., which will not be elaborated here.
[0205] Figure 17This is a schematic diagram of the hardware structure of another terminal device 1700 provided in an embodiment of this application. The terminal device 1700 can be the first terminal device or the second terminal device in the embodiments of this application, such as... Figure 17 As shown, the terminal device 1700 includes a processor 1701, a communication line 1704, and at least one communication interface. Figure 17 (The example provided uses communication interface 1703 as an example.)
[0206] The processor 1701 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of programs according to the present application.
[0207] Communication line 1704 may include circuitry for transmitting information between the aforementioned components.
[0208] The communication interface 1703 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, wireless local area networks (WLAN), etc.
[0209] It is possible that the terminal device 1700 may also include a memory 1702.
[0210] Memory 1702 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. Memory may exist independently and be connected to the processor via communication line 1704. Memory may also be integrated with the processor.
[0211] The memory 1702 stores computer execution instructions for implementing the scheme of this application, and the processor 1701 controls the execution. The processor 1701 executes the computer execution instructions stored in the memory 1702, thereby implementing the binaural pickup method provided in the embodiments of this application.
[0212] It is possible that the computer execution instructions in the embodiments of this application may also be referred to as application code, and the embodiments of this application do not specifically limit this.
[0213] In a specific implementation, as one example, the processor 1701 may include one or more CPUs, for example... Figure 17 CPU0 and CPU1 in the CPU.
[0214] In a specific implementation, as one example, the terminal device 1700 may include multiple processors, for example... Figure 17 Processors 1701 and 1705 are mentioned. Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. Here, "processor" can refer to one or more devices, circuits, and / or processing cores used to process data (such as computer program instructions).
[0215] In the above embodiments, the instructions stored in the memory for execution by the processor can be implemented in the form of a computer program product. This computer program product can be pre-written into the memory, or it can be downloaded and installed into the memory as software.
[0216] A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. For example, available media may include magnetic media (e.g., floppy disks, hard disks, or magnetic tapes), optical media (e.g., digital versatile discs (DVDs)), or semiconductor media (e.g., solid-state disks (SSDs)).
[0217] This application also provides a terminal device, which includes functional modules. The functional modules may include software modules or hardware modules, or modules combining software and hardware. The functional modules are used to implement the method described in this application executed by the first terminal device.
[0218] This application also provides a terminal device, which includes functional modules. The functional modules may include software modules or hardware modules, or modules combining software and hardware. The functional modules are used to implement the method described in this application executed by the second terminal device.
[0219] This application also provides a computer-readable storage medium. The methods described in the above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. The computer-readable medium may include computer storage media and communication media, and may also include any medium capable of transferring a computer program from one place to another. The storage medium can be any target medium accessible by a computer.
[0220] As one possible design, computer-readable media may include compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM, or other optical disc storage; computer-readable media may also include disk storage or other disk storage devices. Furthermore, any connecting cable may also be appropriately referred to as computer-readable media. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of media. As used herein, disks and optical discs include optical discs (CD), laser discs, optical discs, digital versatile discs (DVD), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs optically reproduce data using lasers.
[0221] The above combinations should also be included within the scope of computer-readable media. The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A data migration method, characterized in that, The method is applied to a first terminal device and a second terminal device, the first terminal device and the second terminal device having a communication relationship, the method comprising: The first terminal device displays a first interface, which includes multiple controls, each of which corresponds to a different data migration method. Among the multiple controls is a first control, which corresponds to a first data migration method. In response to a first operation on the first control, the first terminal device displays a second interface, the second interface including a first application set, the number of which is less than the total number of applications installed on the first terminal device; In response to a second operation of selecting the first set of applications, the first terminal device sequentially sends application data corresponding to the multiple applications to be migrated selected by the second operation to the second terminal device according to a first sorting; the first sorting follows the rule that the higher the overlap between the usage time period of the second application and the current time period, the higher its position in the first sorting; the current time period refers to the time interval from when the first terminal device starts data migration until the second terminal device completes application installation; the first sorting is determined based on user profile information, which is the user's usage habits information for multiple applications on the first terminal device; The user profile information includes at least one of the following: time length information, which is statistical information indicating the length of time a user uses the application; and time period information, which is statistical information indicating the time period during which a user uses the application. The second terminal device receives application data corresponding to the application to be migrated from the first terminal device, and installs the corresponding application to be migrated each time it finishes receiving application data corresponding to the application to be migrated, and continues to receive application data corresponding to the next application to be migrated. During the installation of the application to be migrated, the second terminal device displays a status indicator corresponding to the application on its desktop. The status indicator changes dynamically according to the installation progress. The status indicator includes an icon and text, and includes the following status indicators: waiting to be restored, restoring, and restoration completed.
2. The method according to claim 1, characterized in that, The first interface also includes at least one of the following: The amount of data to be migrated for each of the various data migration methods; The estimated migration time for each of the various data migration methods is as follows.
3. The method according to claim 2, characterized in that, The method further includes: In response to a second operation of selecting the first set of applications, at least one of the following is displayed in the second interface: The amount of migration data for each of the selected migration applications in the second operation; The second operation refers to the total amount of migration data corresponding to the selected application to be migrated; The estimated migration time for the selected application to be migrated in the second operation.
4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: the first terminal device sending first indication information to the second terminal device, the first indication information being used to indicate a first order for sending the plurality of applications to be migrated.
5. The method according to any one of claims 1 to 3, characterized in that, The method further includes: The first terminal device performs a second sorting of the applications installed on the first terminal device, and the second sorting conforms to at least one of the following rules: The higher the frequency of use of the third application, the higher its position in the second ranking. The third application is any application installed on the first terminal device. The longer the third application is used, the higher it ranks in the second sorting. The first N applications in the second sort are determined as applications in the first application set, where N is an integer greater than 1.
6. The method according to any one of claims 1 to 3, characterized in that, The plurality of controls also includes at least one of the following: The second control corresponds to the second data migration method, which is used to instruct the migration of all third-party applications in the first terminal device; The third control, corresponding to the third data migration method, is used to indicate the minimum set of applications that must be migrated from the first terminal device.
7. The method according to any one of claims 1 to 3, characterized in that, The method further includes: During the installation of the application to be migrated on the second terminal, the second terminal device displays a sixth interface, which includes a first button for entering the desktop. In response to a third operation on the first button, the second terminal device displays the desktop.
8. The method according to claim 7, characterized in that, The method further includes: In response to a third operation on the first button, the second terminal device displays third instruction information, which is used to notify the user of precautions during the application installation process.
9. The method according to claim 8, characterized in that, The method further includes: The second terminal device receives first indication information from the first terminal device, the first indication information being used to indicate a first order for sending the plurality of applications to be migrated; The second terminal device installs the application to be migrated, including: the second terminal device installs the application to be migrated sequentially according to the first sorting.
10. The method according to claim 8 or 9, characterized in that, The method further includes: During the installation of the application to be migrated, the second terminal device displays a second instruction on the desktop. The second instruction indicates that the user can currently use a fourth application, which is an application that has already been installed among the applications to be migrated.
11. The method according to claim 8 or 9, characterized in that, The method further includes: In response to the fourth operation, the second terminal device displays a drop-down notification menu on the desktop, the drop-down notification menu including a fourth indication message for indicating the progress of data migration.
12. A terminal device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, when the processor executes the computer program, it causes the terminal device to perform the method performed by the first terminal device as claimed in any one of claims 1 to 11.
13. A terminal device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, when the processor executes the computer program, it causes the terminal device to perform the method performed by the second terminal device as claimed in any one of claims 1 to 11.
14. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it causes the computer to perform the method performed by the first terminal device as described in any one of claims 1 to 11.
15. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it causes the computer to perform the method performed by the second terminal device as described in any one of claims 1 to 11.
16. A computer program product, characterized in that, Includes a computer program that, when run, causes a computer to perform the method performed by the first terminal device as claimed in any one of claims 1 to 11.
17. A computer program product, characterized in that, Includes a computer program that, when run, causes a computer to perform the method performed by a second terminal device as described in any one of claims 1 to 11.
Citation Information
Patent Citations
Data migration method and apparatus
CN106792442A
A data backup method and terminal equipment
CN109800105A