Data migration method, electronic equipment and computer readable medium

By establishing wireless connections between mobile phones, generating and updating data migration lists, the problem of data migration when the mobile phone screen is broken is solved, wireless data migration is realized, cost reduction and data security is ensured.

CN118900296APending Publication Date: 2024-11-05ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310506180.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-05
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

When the mobile phone screen is broken, it is difficult for users to migrate data from old phones to new phones. The existing data migration method relies on screen operations and is costly.

Method used

By establishing a wireless connection between the target terminal and the original terminal, sending status information, generating and updating the data migration list, receiving and transmitting selected data items, wireless data migration can be achieved, and data migration can be completed even when the screen is unavailable.

Benefits of technology

It enables data migration safely and efficiently when the old mobile phone screen is unavailable, reduces data migration costs, simplifies the process, and avoids data loss caused by screen damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118900296A_ABST
    Figure CN118900296A_ABST
Patent Text Reader

Abstract

The invention provides a data migration method, electronic equipment and a computer readable medium, and the data transmission method comprises the steps: building wireless connection with an original terminal under the condition that a target terminal is in a replacement mode; sending the state information of the target terminal to the original terminal through the wireless connection; receiving a mobile phone changing data item list sent by the original terminal through the wireless connection and displaying the mobile phone changing data item list; wherein the mobile phone changing data item list is generated according to the state information of the target terminal; receiving a control instruction for the mobile phone changing data item list, and updating the display state of the mobile phone changing data item list according to the control instruction; and receiving the mobile phone exchangeable data corresponding to the mobile phone exchange data item selected in the mobile phone exchange data list and sent by the original terminal, and storing the mobile phone exchangeable data corresponding to the selected mobile phone exchange data item.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of terminal technology, and in particular to a data migration method, an electronic device, and a computer-readable medium. Background Art

[0002] At present, when users change their mobile phones, they usually use tools such as one-click switching and mobile phone transfer to transfer data, that is, to establish a connection through WIFI or hotspot connection channels, convert files into data streams and transfer them in WIFI or hotspots. At present, data migration is generally performed by operating the screens of the old and new mobile phones, using a wireless connection based on mobile hotspots (WIFI, Wireless Fidelity) and hotspots, that is, migrating data from the old mobile phone to the new mobile phone. Summary of the invention

[0003] Embodiments of the present application provide a data migration method, an electronic device, and a computer-readable medium.

[0004] In a first aspect, an embodiment of the present application provides a data migration method, which is applied to a target terminal, and the method includes: when the target terminal is in a machine-changing mode, establishing a wireless connection with an original terminal; sending status information of the target terminal to the original terminal through the wireless connection; receiving and displaying a machine-changing data item list sent by the original terminal through the wireless connection; wherein the machine-changing data item list is generated according to the status information of the target terminal; receiving a control instruction for the machine-changing data item list, and updating the display status of the machine-changing data item list according to the control instruction; receiving the machine-changing data corresponding to the machine-changing data item selected in the machine-changing data item list sent by the original terminal, and saving the machine-changing data corresponding to the selected machine-changing data item.

[0005] In a second aspect, an embodiment of the present application provides a data migration method, which is applied to an original terminal, and the method includes: when the original terminal is in a machine-changing mode, establishing a wireless connection with a target terminal; receiving status information of the target terminal sent by the target terminal through the wireless connection; generating a machine-changing data item list according to the status information of the target terminal, and displaying the machine-changing data item list; sending the machine-changing data item list to the target terminal through the wireless connection; receiving a control instruction for the machine-changing data item list, and updating the display status of the machine-changing data item list according to the control instruction; receiving a data migration instruction, and sending the switchable data corresponding to the machine-changing data item selected in the machine-changing data list to the target terminal through the wireless connection.

[0006] In a third aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor; a memory, wherein at least one program is stored in the memory, and when the at least one program is executed by the at least one processor, any one of the above-mentioned data migration methods is implemented.

[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, wherein the computer program implements any one of the above-mentioned data migration methods when executed by a processor.

[0008] The data transfer and migration method provided in the embodiment of the present application can operate any one of the original terminal and the target terminal to realize data migration, and realizes data migration even when the screen of the original terminal is broken and cannot be used. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 A flow chart of a data migration method applied to a target terminal provided by an embodiment of the present application;

[0010] Figure 2 A flowchart of a data migration method applied to an original terminal provided by another embodiment of the present application;

[0011] Figure 3 An interactive schematic diagram of a data migration method provided in Example 1 of an embodiment of the present application;

[0012] Figure 4 An interactive schematic diagram of a data migration method provided for Example 2 of an embodiment of the present application;

[0013] Figure 5 A block diagram of an electronic device according to another embodiment of the present application;

[0014] Figure 6 A block diagram of the composition of a data migration system provided in another embodiment of the present application. DETAILED DESCRIPTION

[0015] In order to enable those skilled in the art to better understand the technical solution of the present application, the data migration method, electronic device, and computer-readable medium provided by the present application are described in detail below in conjunction with the accompanying drawings.

[0016] Example embodiments will be described more fully below with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. On the contrary, the purpose of providing these embodiments is to make this application thorough and complete and to enable those skilled in the art to fully understand the scope of this application.

[0017] In the absence of conflict, the embodiments of the present application and the features therein may be combined with each other.

[0018] As used herein, the term "and / or" includes any and all combinations of at least one of the associated listed items.

[0019] The terms used herein are only used to describe specific embodiments and are not intended to limit the present application. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements and / or components is specified, but the presence or addition of at least one other feature, whole, step, operation, element, component and / or its group is not excluded.

[0020] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this application, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined herein.

[0021] The mainstream mobile phones on the market are now large-screen smartphones. Except for the power and volume buttons, all other functions of the mobile phone must be completed by clicking on the screen. One of the biggest disadvantages of touch screen mobile phones is that the screen is easy to break and the screen is expensive. In the after-sales field of various mobile phone manufacturers, such a scene is often seen: the user's mobile phone screen is broken, and the price of replacing the screen is too expensive for the old mobile phone, so it is more cost-effective to pay a little more to buy a newer mobile phone. However, the data in the old mobile phone is very important, and the data in the old mobile phone needs to be exported to the new mobile phone.

[0022] Figure 1 A flowchart of a data migration method applied to a target terminal provided by one embodiment of the present application.

[0023] First, refer to Figure 1 An embodiment of the present application provides a data migration method, which is applied to a target terminal. The method includes:

[0024] Step 100: When the target terminal is in a device switching mode, a wireless connection is established with the original terminal; and status information of the target terminal is sent to the original terminal via the wireless connection.

[0025] In some exemplary embodiments, the method further includes: when the target terminal is in a non-switch mode, triggering the target terminal to enter a switch mode through a first voice command or a first sound wave information of a preset frequency band or a first screen operation command or a first hardware operation command.

[0026] In some exemplary embodiments, the first sound wave information of the preset frequency band may come from the original terminal, or may come from other terminals except the original terminal and the target terminal.

[0027] In some exemplary embodiments, the first voice instruction may come from the user, from the original terminal, or from other terminals except the original terminal and the target terminal.

[0028] In some exemplary embodiments, the first hardware operation instruction may be to long press a power button and a volume button simultaneously.

[0029] In some exemplary embodiments, when the target terminal is in the machine-changing mode, before establishing a wireless connection with the original terminal, the method also includes: sending a second voice command or a second sound wave information of a preset frequency band to the original terminal, and causing the original terminal to enter the machine-changing mode through the second voice command or the second sound wave information of the preset frequency band.

[0030] In some exemplary embodiments, in order to improve security, before sending the status information of the target terminal to the original terminal via a wireless connection, the method also includes: jumping to a security verification interface; receiving password information entered in the security verification interface, and if the password information is verified, continuing to execute the step of sending the status information of the target terminal to the original terminal via a wireless connection.

[0031] In some exemplary embodiments, if the password information verification fails, the process ends.

[0032] In some exemplary embodiments, when verifying password information, the password information is sent to the original terminal via a wireless connection, the original terminal verifies the password information based on the lock screen password information of the original terminal, and returns the verification result to the target terminal via a wireless connection.

[0033] In some exemplary embodiments, when verifying the password information, the password information is compared with the lock screen password information of the original terminal. If the password information is the same as the lock screen password information of the original terminal, the password information verification passes; if the password information is different from the lock screen password information of the original terminal, the password information verification fails.

[0034] In some exemplary embodiments, a wireless connection with the original terminal may be established by using any one of mobile hotspot direct connection (WIFI direct, Wireless Fidelity direct), Bluetooth, WIFI and hotspot, etc.

[0035] The following uses WIFI and hotspot as an example to explain how to establish a wireless connection with the original terminal.

[0036] In some exemplary embodiments, establishing a wireless connection with an original terminal includes: searching for a first hotspot having a first preset feature established by the original terminal; generating a password for the first hotspot based on the name of the first hotspot; sending a first connection request to the original terminal; wherein the first connection request includes the name and password of the first hotspot; and receiving a first connection success message sent by the original terminal.

[0037] In some exemplary embodiments, the name of the first hotspot may have a first preset feature.

[0038] In some exemplary embodiments, the password of the first hotspot may be generated using a predetermined algorithm according to the name of the first hotspot.

[0039] In some exemplary embodiments, establishing a wireless connection with the original terminal includes: establishing a second hotspot with a second preset feature; receiving a second connection request sent by the original terminal; wherein the second connection request includes the name and password of the second hotspot; and when the name and password of the second hotspot in the second connection request are verified, sending a second connection success message to the original terminal.

[0040] In some exemplary embodiments, the name of the second hotspot may have a second preset feature.

[0041] In some exemplary embodiments, when the name and password of the second hotspot in the second connection request are verified, the password of the second hotspot is generated according to the name of the second hotspot, and the password of the second hotspot in the second connection request is compared with the generated password of the second hotspot. When the password of the second hotspot in the second connection request is the same as the generated password of the second hotspot, the name and password of the second hotspot in the second connection request are verified successfully; when the password of the second hotspot in the second connection request is different from the generated password of the second hotspot, the name and password of the second hotspot in the second connection request fail to be verified.

[0042] In some exemplary embodiments, the password of the second hotspot may be generated using a predetermined algorithm according to the name of the second hotspot.

[0043] In some exemplary embodiments, the name of the second hotspot may be generated based on the first voice information sent by the original terminal or the third sound wave information of a preset frequency band.

[0044] In some exemplary embodiments, the status information of the target terminal includes at least one of the following: system board information, remaining storage space information, system preset application module information supported by the target terminal, uninstallable application information, supported data type information, desktop version number, etc.

[0045] In some exemplary embodiments, the application module information includes an application module name and a version number.

[0046] In some exemplary embodiments, the application information includes an application name and a version number.

[0047] Step 101: receiving and displaying a list of device-changing data items sent by an original terminal via a wireless connection; wherein the list of device-changing data items is generated according to status information of a target terminal.

[0048] In some exemplary embodiments, receiving and displaying the list of device-changing data items sent by the original terminal through a wireless connection includes: receiving a screenshot corresponding to the list of device-changing data items sent by the original terminal through a wireless connection.

[0049] In some exemplary embodiments, the screenshot corresponding to the phone-changing data item list may be a screenshot of a display interface when the original terminal displays the phone-changing data item list.

[0050] Step 102: receiving a control instruction for the machine-changing data item list, and updating a display status of the machine-changing data item list according to the control instruction.

[0051] In some exemplary embodiments, the control instruction includes a first touch instruction, or a voice instruction.

[0052] In some exemplary embodiments, the control instruction may come from a user or from an original terminal.

[0053] In some exemplary embodiments, the display state is used to display the selection state of the machine change data item list, and can be updated from the selection state to the non-selection state, or from the non-selection state to the selection state.

[0054] In some exemplary embodiments, updating the display status of the list of machine-changing data items according to the control instruction includes: receiving a screenshot corresponding to the updated list of machine-changing data items through a wireless connection.

[0055] In some exemplary embodiments, the screenshot corresponding to the updated list of data items for changing phones may be a screenshot of a display interface when the original terminal displays the updated list of data items for changing phones.

[0056] In some exemplary embodiments, after receiving the control instruction for the list of machine-changing data items, the method further includes: sending the control instruction to the original terminal via a wireless connection to generate a simulated control instruction.

[0057] In some exemplary embodiments, when the control instruction is a first touch instruction, sending the control instruction to the original terminal via a wireless connection includes: sending the first coordinate information corresponding to the first touch instruction in the target terminal coordinate system to the original terminal via a wireless connection to generate a first simulated touch event on the original terminal.

[0058] In some exemplary embodiments, the coordinate origin of the target terminal coordinate system is one of the corners of the screen of the target terminal.

[0059] In some exemplary embodiments, the x-axis of the target terminal coordinate system is the width direction of the screen of the target terminal, and the y-axis of the target terminal coordinate system is the length direction of the screen of the target terminal.

[0060] In some exemplary embodiments, the first touch instruction is a click operation, and the first coordinate information corresponding to the first touch instruction is the first coordinate information corresponding to the click position of the click operation.

[0061] Step 103: receiving the replaceable data corresponding to the selected device replacement data item in the device replacement data list sent by the original terminal, and saving the replaceable data corresponding to the selected device replacement data item.

[0062] In some exemplary embodiments, saving the interchangeable data corresponding to the selected interchangeable data item includes: if the interchangeable data corresponding to the selected interchangeable data item is data not involving user privacy, saving the interchangeable data corresponding to the selected interchangeable data item.

[0063] In some exemplary embodiments, saving the replaceable data corresponding to the selected replacement data item includes: when the replaceable data corresponding to the selected replacement data item is data involving user privacy, decrypting the replaceable data corresponding to the selected replacement data item and saving the decrypted data.

[0064] In some exemplary embodiments, the method further includes: sending the unique identifier of the target terminal to the original terminal via a wireless connection.

[0065] Decrypting the replaceable data corresponding to the selected replacement data item includes: using the unique identifier of the target terminal as a key to decrypt the replaceable data corresponding to the selected replacement data item.

[0066] In some exemplary embodiments, the unique identifier of the target terminal may be an International Mobile Equipment Identity (IMEI).

[0067] In some exemplary embodiments, the data related to user privacy includes at least one of the following: schedule, alarm, contact, text messages, WeChat chat history, etc.

[0068] In some exemplary embodiments, the data not involving user privacy includes at least one of the following: photos, audio, video, music, etc.

[0069] In some exemplary embodiments, before receiving the switchable data corresponding to the switch data item selected in the switch data list sent by the original terminal, the method further includes: receiving a data migration instruction.

[0070] In some exemplary embodiments, the data migration instruction includes a second touch instruction.

[0071] In some exemplary embodiments, after receiving the data migration instruction and before receiving the replaceable data corresponding to the replacement data item selected in the replacement data list sent by the original terminal, it also includes: sending the third coordinate information in the target terminal coordinate system corresponding to the second touch instruction to the original terminal via a wireless connection to generate a second simulated touch event on the original terminal.

[0072] The embodiment of the present application does not limit the timing of sending the unique identifier of the target terminal to the original terminal via the wireless connection. For example, the unique identifier of the target terminal can be sent to the original terminal via the wireless connection when the target terminal is in a non-changing mode; the unique identifier of the target terminal can be sent to the original terminal via the wireless connection when the target terminal is in a changing mode; the unique identifier of the target terminal can also be sent to the original terminal via the wireless connection before or after receiving a screenshot of the current display interface sent by the original terminal via the wireless connection.

[0073] The data transfer and migration method provided in the embodiment of the present application can operate any one of the original terminal and the target terminal to realize data migration, and realizes data migration even when the screen of the original terminal is broken and cannot be used.

[0074] Figure 2 A flowchart of a data migration method applied to an original terminal provided in another embodiment of the present application.

[0075] Second, refer to Figure 2 Another embodiment of the present application provides a data migration method, which is applied to an original terminal. The method includes:

[0076] Step 200, when the original terminal is in the machine-changing mode, establish a wireless connection with the target terminal; receive the target terminal status information sent by the target terminal through the wireless connection; generate a machine-changing data item list according to the target terminal status information, and display the machine-changing data item list.

[0077] In some exemplary embodiments, the method also includes: when the original terminal is in a non-switch mode, entering the switch mode through a second voice command or a second sound wave information of a preset frequency band; or triggering the original terminal to enter the switch mode through a second screen operation command or a second hardware operation command acting on the original terminal.

[0078] In some exemplary embodiments, the second sound wave information of the preset frequency band may come from the target terminal, or may come from other terminals except the original terminal and the target terminal.

[0079] In some exemplary embodiments, the second voice instruction may come from the user, from the target terminal, or from other terminals except the original terminal and the target terminal.

[0080] In some exemplary embodiments, the second hardware operation instruction may be to long press the power button and the volume button at the same time.

[0081] In some exemplary embodiments, a wireless connection with a target terminal may be established by using any one of WIFI direct, Bluetooth, WIFI and hotspot, etc.

[0082] The following uses WIFI and hotspot as an example to explain how to establish a wireless connection with the target terminal.

[0083] In some exemplary embodiments, establishing a wireless connection with a target terminal includes: establishing a first hotspot having a first preset feature; receiving a first connection request sent by the target terminal; wherein the first connection request includes a name and a password of the first hotspot; and when the name and the password of the first hotspot in the first connection request are verified, sending a first connection success message to the target terminal.

[0084] In some exemplary embodiments, the name of the first hotspot may have a first preset feature.

[0085] In some exemplary embodiments, when verifying the name and password of the first hotspot in the first connection request, a password of the first hotspot is generated based on the name of the first hotspot, and the password of the first hotspot in the first connection request is compared with the generated password of the first hotspot. When the password of the first hotspot in the first connection request is the same as the generated password of the first hotspot, the verification of the name and password of the first hotspot in the first connection request succeeds; when the password of the first hotspot in the first connection request is different from the generated password of the first hotspot, the verification of the name and password of the first hotspot in the first connection request fails.

[0086] In some exemplary embodiments, the password of the first hotspot may be generated using a predetermined algorithm according to the name of the first hotspot.

[0087] In some exemplary embodiments, the name of the first hotspot may be generated based on the second voice information sent by the target terminal or the fourth sound wave information of a preset frequency band.

[0088] In some exemplary embodiments, establishing a wireless connection with a target terminal includes: searching for a second hotspot having a second preset feature established by the target terminal; generating a password for the second hotspot based on the name of the second hotspot; sending a second connection request to the target terminal; wherein the second connection request includes the name and password of the second hotspot; and receiving a second connection success message sent by the target terminal.

[0089] In some exemplary embodiments, the name of the second hotspot may have a second preset feature.

[0090] In some exemplary embodiments, the status information of the target terminal includes at least one of the following: system board information, remaining storage space information, system preset application module information supported by the target terminal, uninstallable application information, supported data type information, desktop version number, etc.

[0091] In some exemplary embodiments, the application module information includes an application module name and a version number.

[0092] In some exemplary embodiments, the application information includes an application name and a version number.

[0093] In some exemplary embodiments, generating a list of machine change data items according to the status information of the target terminal includes: determining machine changeable data according to the status information of the target terminal; generating machine change data information according to the machine changeable data; and generating a list of machine change data items according to the machine change data information.

[0094] In some exemplary embodiments, the data replacement information includes at least one of the following: the type of data that needs to be migrated, the number of files contained in this type of data, the storage path, and user selection status information; wherein the user selection status information is used to indicate whether the user selects this type of data.

[0095] In some exemplary embodiments, determining the replaceable device data based on the status information of the target terminal includes: comparing the application name in the uninstallable application information in the status information of the target terminal with the application name in the uninstallable application information in the original terminal; when the application name in the uninstallable application information in the status information of the target terminal is the same as the application name in the uninstallable application information in the original terminal, comparing the version numbers of the applications with the same application name; when the version number of the application with the same application name in the original terminal is lower than the version number of the application with the same application name in the target terminal, determining that the replaceable device data does not include data corresponding to the application with the same application name in the original terminal; when the version number of the application with the same application name in the original terminal is higher than the version number of the application with the same application name in the target terminal, determining that the replaceable device data includes data corresponding to the application with the same application name in the original terminal.

[0096] In some exemplary embodiments, determining the replaceable data according to the status information of the target terminal includes: determining that the replaceable data includes desktop layout configuration information supported by both the original terminal and the target terminal according to the desktop version number in the original terminal and the desktop version number of the target terminal in the status information of the target terminal. For example, version number 1 only supports rounded icons, version number 2 supports icons of various shapes, version number 3 further supports desktop widgets, and version number 4 supports setting dynamic wallpapers. Assuming that the desktop version number of the original terminal is 4 and the desktop version number of the target terminal is 2, only the custom shape of the desktop application icon of the original terminal is transmitted to the target terminal. If the user of the original terminal also sets dynamic wallpapers, the dynamic wallpaper data is not transmitted to the target terminal.

[0097] Step 201: Send the list of device change data items to the target terminal via a wireless connection.

[0098] In some exemplary embodiments, sending the list of data items for changing the phone to the target terminal via a wireless connection includes: sending a screenshot corresponding to the list of data items for changing the phone to the target terminal via a wireless connection.

[0099] In some exemplary embodiments, the screenshot corresponding to the phone-changing data item list may be a screenshot of a display interface when the original terminal displays the phone-changing data item list.

[0100] Step 202: receiving a control instruction for the machine-changing data item list, and updating a display status of the machine-changing data item list according to the control instruction.

[0101] In some exemplary embodiments, the control instruction includes a first touch instruction, or a voice instruction.

[0102] In some exemplary embodiments, the control instruction may come from a user or from a target terminal.

[0103] In some exemplary embodiments, when the control instruction is a first touch instruction, receiving the control instruction for the machine switching data item list includes: receiving first coordinate information in the target terminal coordinate system corresponding to the first touch instruction through a wireless connection, converting the first coordinate information into second coordinate information in the original terminal coordinate system; and generating a first simulated touch event based on the second coordinate information.

[0104] In some exemplary embodiments, the coordinate origin of the target terminal coordinate system is one of the corners of the screen of the target terminal.

[0105] In some exemplary embodiments, the x-axis of the target terminal coordinate system is the width direction of the screen of the target terminal, and the y-axis of the target terminal coordinate system is the length direction of the screen of the target terminal.

[0106] In some exemplary embodiments, the touch instruction is a click operation, and the first coordinate information corresponding to the touch instruction is the first coordinate information corresponding to the click position of the click operation.

[0107] In some exemplary embodiments, the coordinate origin of the original terminal coordinate system is one of the corners of the screen of the original terminal.

[0108] In some exemplary embodiments, the x-axis of the original terminal coordinate system is the width direction of the screen of the original terminal, and the y-axis of the original terminal coordinate system is the length direction of the screen of the original terminal.

[0109] In some exemplary embodiments, the first simulated touch event is a click event, and generating the first simulated touch event according to the second coordinate information refers to a click event at the position of the second coordinate information.

[0110] In some exemplary embodiments, when converting the first coordinate information into the second coordinate information in the original terminal coordinate system, it is assumed that the coordinate origin of the target terminal coordinate system is the upper left corner of the screen of the target terminal, from the coordinate origin to the right is the positive direction of the X-axis of the target coordinate system, and from the coordinate origin downward is the positive direction of the Y-axis of the target coordinate system.

[0111] Assume that the coordinate origin of the original terminal coordinate system is the upper left corner of the screen of the original terminal, the positive direction of the X axis of the original coordinate system is from the coordinate origin to the right, and the positive direction of the Y axis of the original coordinate system is from the coordinate origin downward.

[0112] Assuming that the width of the screen of the original terminal is X1 and the height is Y1, the coordinates of the lower right corner of the screen of the original terminal are (X1, Y1).

[0113] Assuming that the width of the target terminal's screen is X2 and the height is Y2, the coordinates of the lower right corner of the target terminal's screen are (X2, Y2).

[0114] Assuming that the first coordinate information is P1 (x1, y1) and the second coordinate information is P2 (x2, y2), the coordinate transformation relationship between points P1 and P2 is: x1 = x2 / X2*X1, y1 = y2 / Y2*Y1.

[0115] In some exemplary embodiments, the display state is used to display the selection state of the machine change data item list, and can be updated from the selection state to the non-selection state, or from the non-selection state to the selection state.

[0116] In some exemplary embodiments, after updating the display status of the machine change data item list according to the control instruction, the method further includes: sending a screenshot corresponding to the updated machine change data list to the target terminal via a wireless connection.

[0117] In some exemplary embodiments, the screenshot corresponding to the updated list of data items for changing phones may be a screenshot of a display interface when the original terminal displays the updated list of data items for changing phones.

[0118] In some exemplary embodiments, when the touch instruction is used to select a phone change data item on a phone change data item list, updating the display state of the phone change data item list according to the control instruction includes: updating the display state of the phone change data item corresponding to the second coordinate information to a selected state.

[0119] In some exemplary embodiments, when the touch instruction is used to cancel the machine change data item on the machine change data item list, updating the display status of the machine change data item list according to the control instruction includes: updating the display status of the machine change data item corresponding to the second coordinate information to a non-selected state.

[0120] Step 203: receiving a data migration instruction, and sending the replaceable data corresponding to the selected machine replacement data item in the machine replacement data list to the target terminal via a wireless connection.

[0121] In some exemplary embodiments, the data migration instruction comes from a user.

[0122] In some exemplary embodiments, receiving a data migration instruction includes: receiving third coordinate information in a target terminal coordinate system corresponding to a second touch instruction via a wireless connection, converting the third coordinate information into fourth coordinate information in an original terminal coordinate system; and generating a second simulated touch event based on the fourth coordinate information.

[0123] In some exemplary embodiments, the specific implementation process of converting the third coordinate information into the fourth coordinate information in the original terminal coordinate system is the same as the specific implementation process of converting the first coordinate information into the second coordinate information in the original terminal coordinate system, which will not be repeated here.

[0124] In some exemplary embodiments, sending the convertible data corresponding to the selected phone-changing data item to the target terminal via a wireless connection includes: when the convertible data corresponding to the selected phone-changing data item is data that does not involve user privacy, sending the convertible data corresponding to the selected phone-changing data item to the target terminal via a wireless connection.

[0125] In some exemplary embodiments, sending the replaceable data corresponding to the selected replacement data item to the target terminal via a wireless connection includes: when the replaceable data corresponding to the selected replacement data item is data involving user privacy, encrypting the replaceable data corresponding to the selected replacement data item, and sending the encrypted data to the target terminal via a wireless connection.

[0126] In some exemplary embodiments, the method further includes: receiving a unique identification of the target terminal sent by the target terminal through a wireless connection.

[0127] Encrypting the replaceable data corresponding to the selected replacement data item includes: using the unique identifier of the target terminal as a key to encrypt the replaceable data corresponding to the selected replacement data item.

[0128] In some exemplary embodiments, the unique identifier of the target terminal may be an IMEI.

[0129] In some exemplary embodiments, the data related to user privacy includes at least one of the following: schedule, alarm, contact, text messages, WeChat chat history, etc.

[0130] In some exemplary embodiments, the data not involving user privacy includes at least one of the following: photos, audio, video, music, etc.

[0131] The data transfer and migration method provided in the embodiment of the present application can operate any one of the original terminal and the target terminal to realize data migration, and realizes data migration even when the screen of the original terminal is broken and cannot be used.

[0132] In order to more clearly describe the specific implementation process of the data migration method of the embodiment of the present application, two examples are listed below for illustration. The listed examples are not used to limit the protection scope of the embodiment of the present application.

[0133] Example 1

[0134] This example describes the process of implementing data migration by operating on the screen of the old terminal. Figure 3 As shown, the data migration method includes:

[0135] Step 300: Terminal 2 enters the device switching mode through a first screen operation instruction, and terminal 1 enters the device switching mode through a second language instruction.

[0136] In this example, it is assumed that terminal 1 is an old terminal, that is, a sending terminal, and terminal 2 is a new terminal, that is, a receiving terminal.

[0137] Step 301: Terminal 1 establishes a first hotspot having a first preset feature.

[0138] Step 302, terminal 2 searches for the first hotspot, generates a password for the first hotspot according to the name of the first hotspot, and sends a first connection request to terminal 1; wherein the first connection request includes the name and password of the first hotspot.

[0139] In step 303, terminal 1 generates a password for the first hotspot based on the name of the first hotspot, and compares the password of the first hotspot in the first connection request with the generated password of the first hotspot. If the password of the first hotspot in the first connection request is the same as the generated password of the first hotspot, the name and password of the first hotspot in the first connection request are verified, and a first connection success message is sent to terminal 2.

[0140] Step 304 , terminal 2 jumps to the security verification interface; receives the password information input by the user in the security verification interface, and sends the password information to terminal 1 .

[0141] Step 305, terminal 1 compares the password information with the lock screen password information of terminal 1. When the password information is the same as the lock screen password information of terminal 1, the password information is verified and the verified information is sent to terminal 2.

[0142] Step 306 : Terminal 2 obtains the IMEI of terminal 2 , and sends the IMEI of terminal 2 to terminal 1 through the wireless connection established with terminal 1 .

[0143] Step 307 : Terminal 2 obtains the status information of Terminal 2 , and sends the status information of Terminal 2 to Terminal 1 through the wireless connection established with Terminal 1 .

[0144] Step 308 , terminal 1 determines the replaceable data according to the status information of terminal 2 , generates replacement data information according to the replaceable data, generates a replacement data item list according to the replacement data information, displays the replacement data item list, and sends a screenshot corresponding to the replacement data item list to terminal 2 .

[0145] Step 309: Terminal 2 displays the screenshot corresponding to the list of device-changing data items.

[0146] Step 310 , terminal 1 receives a first touch instruction from a user for the phone-changing data item list, updates a display state of the phone-changing data item list according to the first touch instruction, and sends a screenshot corresponding to the updated phone-changing data item list to terminal 2 .

[0147] Step 311 , terminal 2 displays the screenshot corresponding to the updated list of device replacement data items.

[0148] Step 312: Terminal 1 receives the data migration instruction input by the user, and sends the replaceable data corresponding to the selected data item in the replaceable data list to terminal 2 via a wireless connection.

[0149] Step 313: Terminal 2 saves the switchable data corresponding to the selected switch data item.

[0150] Example 2

[0151] This example describes the process of implementing data migration on the screen of the new terminal. Figure 4 As shown, the data migration method includes:

[0152] Step 400: Terminal 2 enters a device switching mode through a first screen operation instruction, and terminal 1 enters a device switching mode through a second language instruction.

[0153] In this example, it is assumed that terminal 1 is an old terminal, that is, a sending terminal, and terminal 2 is a new terminal, that is, a receiving terminal.

[0154] Step 401: Terminal 1 establishes a first hotspot having a first preset feature.

[0155] Step 402, terminal 2 searches for the first hotspot, generates a password for the first hotspot according to the name of the first hotspot, and sends a first connection request to terminal 1; wherein the first connection request includes the name and password of the first hotspot.

[0156] In step 403, terminal 1 generates a password for the first hotspot based on the name of the first hotspot, and compares the password of the first hotspot in the first connection request with the generated password of the first hotspot. If the password of the first hotspot in the first connection request is the same as the generated password of the first hotspot, the name and password of the first hotspot in the first connection request are verified, and a first connection success message is sent to terminal 2.

[0157] Step 404 , terminal 2 jumps to the security verification interface; receives the password information input by the user in the security verification interface, and sends the password information to terminal 1 .

[0158] Step 405 , terminal 1 compares the password information with the lock screen password information of terminal 1 , and if the password information is the same as the lock screen password information of terminal 1 , the password information is verified and the verified information is sent to terminal 2 .

[0159] Step 406 : Terminal 2 obtains the IMEI of terminal 2 , and sends the IMEI of terminal 2 to terminal 1 through the wireless connection established with terminal 1 .

[0160] Step 407 : Terminal 2 obtains the status information of Terminal 2 , and sends the status information of Terminal 2 to Terminal 1 through the wireless connection established with Terminal 1 .

[0161] Step 408 , terminal 1 determines the replaceable data according to the status information of terminal 2 , generates replacement data information according to the replaceable data, generates a replacement data item list according to the replacement data information, displays the replacement data item list, and sends a screenshot corresponding to the replacement data item list to terminal 2 .

[0162] Step 409: Terminal 2 displays the screenshot corresponding to the list of device-changing data items.

[0163] Step 410: Terminal 2 receives a first touch instruction for the list of device switching data items input by a user, and sends first coordinate information in the coordinate system of terminal 2 corresponding to the first touch instruction to terminal 1 via a wireless connection.

[0164] Step 411, terminal 1 converts the first coordinate information into second coordinate information in the coordinate system of terminal 1; generates a first simulated touch event according to the second coordinate information, executes the first simulated touch event to update the display status of the machine change data item list, and sends the screenshot corresponding to the updated machine change data item list to terminal 2.

[0165] Step 412: Terminal 2 displays the screenshot corresponding to the updated list of device replacement data items.

[0166] Step 413: Terminal 2 receives a second touch instruction input by the user indicating a data migration instruction, and sends third coordinate information corresponding to the second touch instruction in the coordinate system of terminal 2 to terminal 1 via a wireless connection.

[0167] Step 414, terminal 1 converts the third coordinate information into fourth coordinate information in the coordinate system of terminal 1; generates a second simulated touch event based on the fourth coordinate information, and executes the second simulated touch event to send the switchable data corresponding to the switch data item selected in the switch data list to terminal 2 via a wireless connection.

[0168] Step 415: Terminal 2 saves the switchable data corresponding to the selected switch data item.

[0169] Thirdly, refer to Figure 5 Another embodiment of the present application provides an electronic device, including: at least one processor 501; a memory 502, wherein at least one program is stored in the memory 502, and when the at least one program is executed by the at least one processor 501, any one of the above-mentioned data migration methods is implemented.

[0170] In some exemplary embodiments, the electronic device further includes: one or more I / O interfaces 503 connected between the processor 501 and the memory 502 , and configured to implement information interaction between the processor 501 and the memory 502 .

[0171] Among them, the processor 501 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 502 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) 503 is connected between the processor 501 and the memory 502, and can realize information interaction between the processor 501 and the memory 502, including but not limited to a data bus (Bus), etc.

[0172] In some embodiments, the processor 501 , the memory 502 , and the I / O interface 503 are connected to each other via a bus 504 , and further connected to other components of the computing device.

[0173] In a fourth aspect, another embodiment of the present application provides a computer-readable medium having a computer program stored thereon, wherein the computer program implements any one of the above-mentioned data migration methods when executed by a processor.

[0174] Figure 6 A block diagram of the composition of a data migration system provided in another embodiment of the present application.

[0175] Fifth, refer to Figure 6 Another embodiment of the present application provides a data migration system, including: an original terminal 601 and a target terminal 602.

[0176] Among them, the original terminal 601 is used to establish a wireless connection with the target terminal when the original terminal is in the machine-changing mode; receive the status information of the target terminal sent by the target terminal through the wireless connection; generate a machine-changing data item list according to the status information of the target terminal, and display the machine-changing data item list; send the machine-changing data item list to the target terminal through the wireless connection; receive a control instruction for the machine-changing data item list, and update the display status of the machine-changing data item list according to the control instruction; receive a data migration instruction, and send the switchable data corresponding to the machine-changing data item selected in the machine-changing data list to the target terminal through the wireless connection.

[0177] Among them, the target terminal 602 is used to establish a wireless connection with the original terminal when the target terminal is in a machine-changing mode; send the status information of the target terminal to the original terminal through the wireless connection; receive and display the machine-changing data item list sent by the original terminal through the wireless connection; wherein the machine-changing data item list is generated according to the status information of the target terminal; receive a control instruction for the machine-changing data item list, and update the display status of the machine-changing data item list according to the control instruction; receive the machine-changing data corresponding to the machine-changing data item selected in the machine-changing data item list sent by the original terminal, and save the machine-changing data corresponding to the selected machine-changing data item.

[0178] In some exemplary embodiments, the original terminal 601 is specifically used to generate a list of machine change data items according to the status information of the target terminal in the following manner: determine the replaceable machine data according to the status information of the target terminal; generate the machine change data information according to the replaceable machine data; generate the machine change data item list according to the machine change data information.

[0179] In some exemplary embodiments, the original terminal 601 is specifically configured to send the list of machine-changing data items to the target terminal via the wireless connection in the following manner: sending a screenshot corresponding to the list of machine-changing data items to the target terminal via the wireless connection.

[0180] The original terminal 601 is further used to send the screenshot corresponding to the updated device replacement data list to the target terminal via the wireless connection.

[0181] The target terminal 602 is specifically configured to receive and display the list of device-changing data items sent by the original terminal through the wireless connection in the following manner: receiving a screenshot corresponding to the list of device-changing data items sent by the original terminal through the wireless connection.

[0182] The target terminal 602 is specifically configured to update the display status of the device-changing data item list according to the control instruction in the following manner: receiving a screenshot corresponding to the updated device-changing data item list through the wireless connection.

[0183] In some exemplary embodiments, the target terminal 602 is further configured to: send the control instruction to the source terminal via the wireless connection to generate a simulated control instruction; wherein the control instruction includes a first touch instruction or a voice instruction.

[0184] In some exemplary embodiments, when the control instruction is a first touch instruction, the target terminal 602 is specifically used to send the control instruction to the original terminal via a wireless connection in the following manner: the first coordinate information corresponding to the first touch instruction in the target terminal coordinate system is sent to the original terminal via the wireless connection to generate a simulated touch event at the original terminal.

[0185] The original terminal 601 is specifically used to receive control instructions for the list of machine change data items in the following manner: receiving first coordinate information in the target terminal coordinate system corresponding to the first touch instruction through a wireless connection, converting the first coordinate information into second coordinate information in the original terminal coordinate system; generating a simulated touch event based on the second coordinate information.

[0186] In some exemplary embodiments, the original terminal 601 is specifically used to implement the sending of the replaceable data corresponding to the selected replacement data item to the target terminal through the wireless connection in the following manner: when the replaceable data corresponding to the selected replacement data item is data involving user privacy, encrypting the replaceable data corresponding to the selected replacement data item, and sending the encrypted data to the target terminal through the wireless connection.

[0187] The target terminal 602 is specifically used to save the replaceable data corresponding to the selected replacement data item in the following manner: when the replaceable data corresponding to the selected replacement data item is data involving user privacy, the replaceable data corresponding to the selected replacement data item is decrypted and the decrypted data is saved.

[0188] In some exemplary embodiments, the source terminal 601 is further configured to: receive, via the wireless connection, the unique identifier of the target terminal sent by the target terminal.

[0189] The original terminal 601 is specifically used to encrypt the replaceable data corresponding to the selected replacement data item in the following manner: using the unique identifier of the target terminal as a key to encrypt the replaceable data corresponding to the selected replacement data item.

[0190] The target terminal 602 is further configured to send the unique identifier of the target terminal to the source terminal via the wireless connection.

[0191] The target terminal 602 is specifically configured to decrypt the replaceable data corresponding to the selected replacement data item in the following manner: using the unique identifier of the target terminal as a key to decrypt the replaceable data corresponding to the selected replacement data item.

[0192] In some exemplary embodiments, the original terminal 601 is also used to: when the original terminal is in a non-changing mode, enter a changing mode through a second voice command or a second sound wave information of a preset frequency band; or trigger the original terminal to enter a changing mode through a second screen operation command or a second hardware operation command acting on the original terminal.

[0193] The target terminal 602 is also used to: when the target terminal is in a non-changing mode, enter a changing mode through a first voice command or a first sound wave information of a preset frequency band; or trigger the target terminal to enter a changing mode through a first screen operation command or a first hardware operation command acting on the target terminal.

[0194] In some exemplary embodiments, the target terminal 602 is further used to: send a second voice command or a second sound wave information of a preset frequency band to the original terminal, and enable the original terminal to enter a switching mode through the second voice command or the second sound wave information of the preset frequency band.

[0195] In some exemplary embodiments, the target terminal 602 is also used to: jump to a security verification interface; receive password information entered in the security verification interface, and if the password information is verified, continue to execute the step of sending the status information of the target terminal to the original terminal via the wireless connection.

[0196] In some exemplary embodiments, the original terminal 601 is specifically used to establish a wireless connection with the target terminal in the following manner: establish a first hotspot with a first preset feature; receive a first connection request sent by the target terminal; wherein the first connection request includes the name and password of the first hotspot; and when the name and password of the first hotspot in the first connection request are verified, send a first connection success message to the target terminal.

[0197] The target terminal 602 is specifically used to establish a wireless connection with the original terminal in the following manner: searching for a first hotspot with a first preset feature established by the original terminal; generating a password for the first hotspot according to the name of the first hotspot; sending a first connection request to the original terminal; wherein the first connection request includes the name and password of the first hotspot; and receiving a first connection success message sent by the original terminal.

[0198] In some exemplary embodiments, the target terminal 602 is specifically used to establish a wireless connection with the original terminal in the following manner: establish a second hotspot with a second preset feature; receive a second connection request sent by the original terminal; wherein the second connection request includes the name and password of the second hotspot; and when the name and password of the second hotspot in the second connection request are verified, send a second connection success message to the original terminal.

[0199] The original terminal 601 is specifically used to establish a wireless connection with the target terminal in the following manner: searching for a second hotspot with a second preset feature established by the target terminal; generating a password for the second hotspot according to the name of the second hotspot; sending a second connection request to the target terminal; wherein the second connection request includes the name and password of the second hotspot; and receiving a second connection success message sent by the target terminal.

[0200] The specific implementation process of the above data migration system is the same as the specific implementation process of the data migration method in the above embodiment, which will not be repeated here.

[0201] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0202] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly noted, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present application as set forth in the appended claims.

Claims

1. A data migration method, applied to a target terminal, comprising: When the target terminal is in the device switching mode, a wireless connection is established with the original terminal; Sending the status information of the target terminal to the source terminal via the wireless connection; receiving, via the wireless connection, a list of machine change data items sent by the original terminal and displaying the list; wherein the list of machine change data items is generated according to the status information of the target terminal; receiving a control instruction for the list of machine-changing data items, and updating a display state of the list of machine-changing data items according to the control instruction; The device-changeable data corresponding to the device-change data item selected in the device-change data list and sent by the original terminal is received, and the device-changeable data corresponding to the selected device-change data item is saved.

2. The data migration method according to claim 1, wherein: The receiving and displaying the list of data items for changing the device sent by the original terminal through the wireless connection includes: receiving a screenshot corresponding to the list of data items for changing the device sent by the original terminal through the wireless connection; The updating of the display status of the list of device-changing data items according to the control instruction includes: receiving a screenshot corresponding to the updated list of device-changing data items through the wireless connection.

3. The data migration method according to claim 1, after receiving the control instruction for the list of machine replacement data items, the method further comprises: The control instruction is sent to the original terminal through the wireless connection to generate a simulated control instruction; wherein the control instruction includes a first touch instruction or a voice instruction.

4. The data migration method according to claim 3, wherein: When the control instruction is a first touch instruction, sending the control instruction to the original terminal through the wireless connection includes: The first coordinate information corresponding to the first touch instruction in the target terminal coordinate system is sent to the original terminal through the wireless connection to generate a simulated touch event at the original terminal.

5. The data migration method according to any one of claims 1 to 4, wherein: The storing of the switchable data corresponding to the selected switch data item includes: In the case that the replaceable data corresponding to the selected replaceable data item is data involving user privacy, the replaceable data corresponding to the selected replaceable data item is decrypted, and the decrypted data is saved.

6. The data migration method according to claim 5, further comprising: Sending the unique identifier of the target terminal to the original terminal via the wireless connection; The decrypting the replaceable data corresponding to the selected replacement data item includes: using the unique identifier of the target terminal as a key to decrypt the replaceable data corresponding to the selected replacement data item.

7. The data migration method according to any one of claims 1 to 4, further comprising: When the target terminal is in the non-machine-changing mode, the target terminal is triggered to enter the machine-changing mode through a first voice instruction or a first sound wave information of a preset frequency band or a first screen operation instruction or a first hardware operation instruction.

8. The data migration method according to any one of claims 1 to 4, wherein when the target terminal is in a device replacement mode, before establishing a wireless connection with the original terminal, the method further comprises: A second voice command or second sound wave information of a preset frequency band is sent to the original terminal, and the original terminal is caused to enter a switching mode through the second voice command or the second sound wave information of the preset frequency band.

9. The data migration method according to any one of claims 1 to 4, before sending the state information of the target terminal to the source terminal through the wireless connection, the method further comprises: Jump to the security verification interface; The password information inputted in the security verification interface is received, and when the password information is verified to be successful, the step of sending the status information of the target terminal to the original terminal through the wireless connection is continued.

10. The data migration method according to any one of claims 1 to 4, wherein: The establishing of a wireless connection with the original terminal comprises: Searching for a first hotspot having a first preset feature established by the original terminal; generating a password for the first hotspot according to the name of the first hotspot; Sending a first connection request to the original terminal; wherein the first connection request includes the name and password of the first hotspot; A first connection success message sent by the original terminal is received.

11. The data migration method according to any one of claims 1 to 4, wherein: The establishing of a wireless connection with the original terminal comprises: establishing a second hotspot having a second preset characteristic; Receiving a second connection request sent by the original terminal; wherein the second connection request includes the name and password of the second hotspot; When the name and password of the second hotspot in the second connection request are verified, a second connection success message is sent to the original terminal.

12. A data migration method, applied to an original terminal, the method comprising: When the original terminal is in the device switching mode, a wireless connection is established with the target terminal; receiving the status information of the target terminal sent by the target terminal through the wireless connection; generating a list of machine change data items according to the status information of the target terminal, and displaying the list of machine change data items; Sending the list of device change data items to the target terminal via the wireless connection; receiving a control instruction for the list of machine-changing data items, and updating a display state of the list of machine-changing data items according to the control instruction; A data migration instruction is received, and the switchable data corresponding to the switch data item selected in the switch data list is sent to the target terminal through the wireless connection.

13. The data migration method according to claim 12, wherein: The generating a list of device change data items according to the status information of the target terminal comprises: Determining the replaceable device data according to the status information of the target terminal; generating device replacement data information according to the device replaceable data; The machine change data item list is generated according to the machine change data information.

14. The data migration method according to claim 12, further comprising: When the original terminal is in a non-changing mode, entering the changing mode through a second voice command or a second sound wave information of a preset frequency band; Alternatively, the original terminal is triggered to enter the device switching mode through a second screen operation instruction or a second hardware operation instruction acting on the original terminal.

15. The data migration method according to any one of claims 12 to 14, wherein: The establishing of a wireless connection with the target terminal comprises: Establishing a first hotspot having a first preset characteristic; Receiving a first connection request sent by the target terminal; wherein the first connection request includes the name and password of the first hotspot; When the name and password of the first hotspot in the first connection request are verified, a first connection success message is sent to the target terminal.

16. The data migration method according to any one of claims 12 to 14, wherein: The establishing of a wireless connection with the target terminal comprises: Searching for a second hotspot established by the target terminal and having a second preset feature; generating a password for the second hotspot according to the name of the second hotspot; Sending a second connection request to the target terminal; wherein the second connection request includes the name and password of the second hotspot; A second connection success message sent by the target terminal is received.

17. The data migration method according to any one of claims 12 to 14, wherein: The sending the list of data items for changing the device to the target terminal via the wireless connection comprises: sending a screenshot corresponding to the list of data items for changing the device to the target terminal via the wireless connection; After updating the display status of the phone change data item list according to the control instruction, the method further includes: sending a screenshot corresponding to the updated phone change data list to the target terminal via the wireless connection.

18. The data migration method according to any one of claims 12 to 14, wherein: When the control instruction is a first touch instruction, the receiving of the control instruction for the list of device-changing data items includes: The first coordinate information corresponding to the first touch instruction in the target terminal coordinate system is received through the wireless connection, and the first coordinate information is converted into second coordinate information in the original terminal coordinate system; and a simulated touch event is generated according to the second coordinate information.

19. The data migration method according to any one of claims 12 to 14, wherein: The sending the switchable data corresponding to the switch data item selected in the switch data list to the target terminal through the wireless connection comprises: In the case that the replaceable data corresponding to the selected replacement data item is data involving user privacy, the replaceable data corresponding to the selected replacement data item is encrypted, and the encrypted data is sent to the target terminal through the wireless connection.

20. The data migration method according to claim 18, further comprising: Receiving, through the wireless connection, a unique identifier of the target terminal sent by the target terminal; The encrypting the replaceable data corresponding to the selected replacement data item includes: using the unique identifier of the target terminal as a key to encrypt the replaceable data corresponding to the selected replacement data item.

21. An electronic device comprising: at least one processor; A memory, wherein at least one program is stored in the memory, and when the at least one program is executed by the at least one processor, the data migration method according to any one of claims 1 to 20 is implemented.

22. A computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the data migration method according to any one of claims 1 to 20.