A data migration method, terminal and computer readable storage medium
By establishing a binding relationship between the data migration of the terminal and the data migration of the data and verifying the identity, the problem of the data migration in the existing technology has been solved. sex.
Patent Information
- Application Number
- CN202010281242.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-10
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2040-04-10
AI Technical Summary
Data migration in the prior art has the problem of illegal transfer of data by malicious persons, which leads to the privacy of legitimate users and poses security risks.
Establish an agreed binding relationship between data migration in the terminal and data out of the terminal, and use identity verification information for security verification to ensure the legality and security of data migration.
Effectively prevent data transfer, ensure the privacy security of legal users, and ensure the legality and security of the data migration process.
Smart Images

Figure CN113515498B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to, but are not limited to, the field of communications, and specifically, relate to, but are not limited to, a data migration method, a terminal, and a computer-readable storage medium. Background Art
[0002] At present, in response to the behavior of changing mobile terminals, mobile terminal manufacturers have also launched their own one-click replacement services (importing user data on the old mobile terminal to the new mobile terminal) to solve the first urgent need of users after purchasing a new mobile terminal: the need to easily import personal data on the old mobile terminal to the new mobile terminal, so that personal mobile terminal usage habits can be seamlessly migrated to the new mobile terminal;
[0003] Data switching tools in related technologies, such as mobile terminal cloning, one-click switching, Data Transfer Tool, etc., all directly migrate data on the old mobile terminal to the new mobile terminal; there is a possibility that they can be used by malicious persons to illegally transfer data from one mobile terminal to other mobile terminals, resulting in the leakage of privacy of the legitimate users of the original mobile terminals, posing a security risk to the legitimate users. Summary of the invention
[0004] A data migration method, terminal and computer-readable storage medium provided in an embodiment of the present invention mainly solve the technical problem of data migration in related technologies, which may be used by malicious persons to illegally transfer data on a mobile terminal to other mobile terminals, resulting in the leakage of privacy of the legitimate users of the original mobile terminals, posing a security risk to the legitimate users.
[0005] To solve the above technical problems, an embodiment of the present invention provides a data migration method, comprising: a data-input terminal and a data-output terminal establish a connection according to an agreed binding relationship, and perform a security check based on the identity authentication information in the binding relationship; when the check passes, the data-input terminal and the data-output terminal perform a data migration operation.
[0006] An embodiment of the present invention also provides a terminal, including a processor, a memory and a communication bus; the communication bus is used to realize connection and communication between the processor and the memory; the processor is used to execute one or more programs stored in the memory to implement the steps of the data migration method as described above.
[0007] An embodiment of the present invention further provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps in the data migration method as described above.
[0008] The beneficial effects of the present invention are:
[0009] According to an embodiment of the present invention, a data migration method, terminal and computer-readable storage medium are provided, including: a data-migrating terminal and a data-migrating terminal establish a connection according to an agreed binding relationship, and perform a security check according to the identity verification information in the binding relationship; when the check passes, the data-migrating terminal and the data-migrating terminal perform a data migration operation; that is, when the data-migrating terminal and the data-migrating terminal establish a connection, it is established based on the binding relationship, and in the process of establishing the connection, further identity legitimacy verification is performed through the identity verification information of the agreed binding relationship to ensure the legitimacy and security of the data migration.
[0010] Other features and corresponding beneficial effects of the present invention are described in the latter part of the specification, and it should be understood that at least part of the beneficial effects become obvious from the description in the specification of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 This is a flow chart of a data migration method according to a first embodiment of the present invention;
[0012] Figure 2 This is a schematic diagram of establishing a binding relationship by scanning a code according to the first embodiment of the present invention;
[0013] Figure 3 This is a flow chart of a data migration method according to a second embodiment of the present invention;
[0014] Figure 4 This is a flow chart of a data migration method according to Embodiment 3 of the present invention;
[0015] Figure 5 This is a schematic diagram of the structure of a terminal according to Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0016] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the following is a further detailed description of the embodiments of the present invention through specific implementation methods combined with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0017] Embodiment 1:
[0018] In the data migration of related technologies, there is a risk that malicious persons may use it to illegally transfer data from a mobile terminal to other mobile terminals, resulting in the leakage of privacy of the legitimate users of the original mobile terminals, which poses a security risk to the legitimate users. In order to solve the above problem, an embodiment of the present invention provides a data migration method, such as Figure 1 As shown, the data migration method may include:
[0019] S101. A data-input terminal and a data-output terminal establish a connection according to an agreed binding relationship, and perform a security check according to identity verification information in the binding relationship.
[0020] It is understandable that there are at least two data terminals to be migrated. In the embodiment of the present invention, two data terminals to be migrated are taken as an example for description. Both of the two data terminals to be migrated need to log in according to the login information, and the login information is used to ensure the legitimate user identity of the operator. After completing the login information, the two terminals to be migrated establish a connection according to the agreed binding relationship.
[0021] In an embodiment of the present invention, there may be one data-migrating terminal and one or more data-migrating terminals under the login information. Of course, in other embodiments, there may also be multiple data-migrating terminals and one data-migrating terminal under the login information. There may even be one terminal under the login information that is both a data-migrating terminal and a data-migrating terminal. The login information includes but is not limited to a login account and a password, which is stored in an account server and is bound to the local terminal of the data to be migrated. In an embodiment of the present invention, the login information is determined, and the data-migrating terminal and the data-migrating terminal are determined according to the login status of the login information. Specifically, both of the two data terminals to be migrated need to complete the same account login. When the account login occurs, it may be a device at one end that completes the account login, providing an account login verification service for the other end. For example, after the data-migrating terminal logs in according to the login information, the data-migrating terminal passes the data login verification service. The data migration terminal performs a login verification service based on the local login information of the data migration terminal, that is, the data migration terminal performs login account and password verification through the login information on the data migration terminal, that is, the data migration terminal and the data migration terminal are determined according to the login method; for example, assuming that when the data terminal 1 to be migrated logs in, the local login information and the login information of the account server are automatically verified, and when they are consistent, the login is successful; at this time, the data terminal 2 to be migrated performs account and password verification through the login information of the data terminal 1 to be migrated, such as obtaining the login information of the data terminal 1 to be migrated from the account server, such as the data terminal 1 to be migrated sends the login information to the data terminal 2 to be migrated, or the user directly fills in the login information of the data terminal 1 to be migrated; when both the data terminal 1 to be migrated and the data terminal 2 to be migrated log in successfully, it is determined that the data terminal 1 to be migrated is the data migration terminal, and the data terminal 2 to be migrated is the data migration terminal. In some embodiments, the data migration terminal and the data migration terminal can also be determined based on the login time of the login information. For example, if the first account login time of the data terminal 1 to be migrated is earlier than the first account login time of the data terminal 2 to be migrated, the migration data terminal 1 is determined to be the data migration terminal, and the data terminal 2 to be migrated is the data migration terminal. When logging in to the account, the unique identifier of the data terminal to be migrated can be obtained to determine whether the account is associated with the unique identifier of the device for the first time to log in, so as to determine whether the data terminal to be migrated is logged in for the first time, and then obtain the first login time.In some embodiments, users log in with the same account on the data terminals to be migrated, and can also determine the data-migrating terminal and the data-migrating terminal based on the content under the login information. For example, the login information has recorded that the data terminal 1 to be migrated is the data-migrating terminal, and the data terminal 2 to be migrated is the data-migrating terminal in the historical operations; for example, after logging in to the same account, an instruction issued by the user is received, and the data terminal 1 to be migrated is determined to be the data-migrating terminal, and the data terminal 2 to be migrated is the data-migrating terminal according to the instruction; for example, when there is a terminal under the same account, which plays the role of both the data-migrating terminal and the data-migrating terminal, the terminal initiates a data migration operation, and the user needs to issue an instruction to select whether to be the data-migrating terminal or the data-migrating terminal.
[0022] In the embodiment of the present invention, determining the data-outgoing terminal and the data-inward terminal may also be: obtaining terminal device information, determining the data-outgoing terminal and the data-inward terminal according to the terminal device information, the terminal device information including the activation date of the terminal; determining the data-outgoing terminal and the data-inward terminal according to the time difference between the activation date and the current time, assuming that the current time is April 2020, the activation date of the data terminal 1 to be migrated is January 2018 (indicated as the old terminal), and the activation date of the data terminal 2 to be migrated is April 2020 (indicated as the new terminal), then the data terminal 1 to be migrated is determined to be the data-outgoing terminal, and the data terminal 2 to be migrated is determined to be the data-inward terminal. ; In some embodiments, when the current time is 2020, the activation date of the data terminal 1 to be migrated is 2018, and the activation date of the data terminal 2 to be migrated is 2019, the data terminal 1 to be migrated and the data terminal 2 to be migrated are both old terminals. At this time, the data terminal 2 to be migrated can be determined as the data migration terminal, and the data terminal 1 to be migrated can be determined as the data migration terminal, indicating that the user will regularly migrate the data of the terminal currently in use to the previous terminal for backup; Of course, in some embodiments, the terminal device information can also include the installation date of the software corresponding to the migration operation on the terminal, and the time difference between the installation date and the current time is used to determine the data migration terminal and the data migration terminal. In some embodiments, the terminal device information can also include the set terminal label. If the user has two terminals, the current terminal is set as the main label, and the other terminals are set as the standby labels. The terminal with the main label is determined as the data migration terminal, and the terminal with the standby label is determined as the data migration terminal. The terminal label can be a user-defined setting, or it can be set according to the terminal usage time, usage content and other usage information, which is no longer limited here. It is worth noting that before determining the data migration terminal and the data migration terminal according to the terminal device information, the data migration terminal and the data migration terminal still need to log in the login information to ensure the legal user identity of the operator.
[0023] Of course, in an embodiment of the present invention, the data migration terminal and the data migration terminal can also be determined based on the login status of the login information and the terminal device information. For example, when the first login time of a terminal account is the same or close to the activation date of the terminal, and is close to the current time, the terminal is determined as the data migration terminal.
[0024] In some embodiments, in addition to logging in through an account number and password, the login information may also include the user's biometric information, such as facial information, and then the data migration terminal obtains the operator's facial information and determines whether the facial information matches the facial information recorded by the data migration terminal. If they match, the data migration terminal and the data migration terminal have successfully logged into the same account. For example, the login information also includes the user's fingerprint information, and whether the account login is successful is determined by the fingerprint information recorded by the data migration terminal and the current fingerprint information of the data migration terminal.
[0025] It is worth noting that the embodiment of the present invention uses login information to ensure the operator's legitimate user identity; after logging in the login information, before the data-migrating terminal and the data-migrating terminal establish a connection, it is also necessary to establish an agreed binding relationship, through which the data-migrating terminal and the data-migrating terminal are associated together. For example, in the embodiment of the present invention, when the data-migrating terminal and the data-migrating terminal have a binding relationship, the data-migrating terminal and the data-migrating terminal are associated under the same login information and are associated.
[0026] Of course, when the data migration terminal and the data migration terminal have been bound, and the network has been connected and the account server has been logged in, the user will be prompted whether to automatically bind the current terminal as the data migration terminal under the account according to the data migration terminal in the login information, and no binding operation is required; the binding operation of the data migration terminal and the data migration terminal includes the following two methods:
[0027] Method 1: The data-in terminal obtains the associated information of the data-out terminal by scanning the code; the data-in terminal establishes a communication connection with the data-out terminal based on the associated information and establishes a binding relationship. For example, the data-out terminal generates an interface containing a QR code, which includes but is not limited to the wifi hotspot information of the data-out terminal, the frequency band parameters supported by wifi, the device name, model, and account information; Figure 2 As shown, the data migration terminal (i.e., the old machine) displays a QR code interface, and the data migration terminal (i.e., the new machine) scans the code to establish a wifi connection and record the old machine's account information, model, device name, wifi frequency band parameters, etc.; then the data migration terminal (new machine) enters the account and password of the wifi hotspot, and after completing the account login, the binding relationship is established.
[0028] Method 2: Determine that the data-migration terminal is in an online state, and the login information of the data-migration terminal includes the data-migration terminal; the data-migration terminal establishes a binding relationship with the data-migration terminal based on the login information. For example, the data-migration terminal directly starts the account login interface under the premise that it can be connected to the Internet. After completing the account login, if there is a data-migration terminal role under the account, the information agreement can be completed through the account server to establish a binding relationship with the data-migration terminal under the login information. In some embodiments, when a terminal logs in to an existing account after connecting to the Internet, and the login information includes the data-migration terminal, if it is determined to be a data-migration terminal based on the activation date on the terminal and the date of the first login of the account, the user is prompted whether to automatically bind the data-migration terminal and the data-migration terminal under the login information. Of course, it can also be the default under the login information to automatically establish a binding relationship between the data-migration terminal and the data-migration terminal.
[0029] It is understandable that the above two binding relationship modes can be the first binding mode of the data-input terminal and the data-output terminal, or the above two modes can be used each time the data-input terminal and the data-output terminal are bound, and no limitation is made here.
[0030] In an embodiment of the present invention, after the data-migrating terminal and / or the data-migrating terminal logs in according to the login information, the binding relationship under the login information is managed, for example, the existing binding relationship is released, and the work role in the binding relationship (data-migrating terminal role, data-migrating terminal role) can also be set; that is, after the binding relationship is established using the above-mentioned method one and method two, the binding relationship is bound to the login information of the login, and the user can unbind it by operating the data-migrating terminal and the data-migrating terminal; of course, after the data-migrating terminal or the data-migrating terminal logs in to the account and the work role has been determined, the user can also reset the work role by operating the data-migrating terminal and the data-migrating terminal.
[0031] It should be noted that, in an embodiment of the present invention, when a binding relationship is established, unique identity authentication information is automatically generated. Each pair of binding relationships under one login information has a unique corresponding identity authentication information, and the identity authentication information serves as an identity legitimacy verification mechanism for establishing a connection between a data migration terminal and a data migration terminal; wherein the identity authentication information includes at least a digital fingerprint. In one embodiment, the algorithm for generating the digital fingerprint can be to collect information such as account number, model, International Mobile Equipment Identity (IMEI), Android version, etc., and use a hash algorithm such as Message Digest Algorithm MD5 or SHA 256 (the hash value length used by the SHA256 algorithm is 256 bits) to generate a unique and irreversible ciphertext. In other implementations, any applicable security algorithm (such as AES algorithm (Advanced Encryption Standard), DES algorithm (Data Encryption Standard), etc.) can also be used to generate it; in other embodiments, the digital fingerprint can also be a UUID (Universally Unique Identifier) assigned by the server to each data terminal to be migrated, and the server can be an account server or other third-party server.
[0032] In other embodiments, the identity authentication information may also include the operator's biometric information, which includes but is not limited to biometric fingerprint information or voiceprint information. For example, the biometric fingerprint information of the operator corresponding to the data migration terminal and the data migration terminal is obtained respectively, and when establishing the binding, the biometric fingerprint information is added to the binding relationship.
[0033] In an embodiment of the present invention, the binding relationship also includes the terminal information of the data-migrating terminal and the data-migrating terminal, and the hotspot parameters for establishing a Wifi connection. The data-migrating terminal and the data-migrating terminal establish a Wifi connection based on the terminal information and the hotspot parameters of the Wifi connection; wherein the hotspot parameters of the Wifi connection include but are not limited to the name, frequency band, channel, wifi connection password, which role is the Wifi hotspot party, which role is responsible for automatically scanning the wifi hotspot, establishing the wifi connection, and the wifi connection timeout parameters. The hotspot parameters of the Wifi connection are used for the connection of subsequent machine switching operations, such as the data-migrating terminal establishing an agreed wifi hotspot, and the data-migrating terminal scanning the surrounding hotspots to establish a wifi connection. Of course, under one account, all data-migrating terminals and data-migrating terminals can agree on the same wifi hotspot parameters for binding relationships, or can agree on different hotspot parameters one-to-one. The terminal information of the data-migrating terminal and the data-migrating terminal can be used to determine whether the opposite end is the corresponding terminal in the binding relationship. In some embodiments, the binding relationship may also include one or more of the following information: account ID (user account ID managed by the manufacturer required for the user to use the device and corresponding networking services), IMEI, model, Android version, software version, supported wifi hotspot frequency band parameters, binding role (data migration terminal or data migration terminal), subsequent migration data range, etc.
[0034] In the embodiment of the present invention, after the data-migrating terminal and the data-migrating terminal re-establish the binding relationship, the data-migrating terminal and the data-migrating terminal both record the device information and the agreed identity verification of both parties in the locally cached login information, and overwrite the previous historical binding relationship, that is, the historical binding relationship automatically becomes invalid; when the data-migrating terminal and the data-migrating terminal are connected to the Internet, the background needs to synchronize the account and binding information with the account server. Of course, when the data-migrating terminal or the data-migrating terminal is re-bound to other terminals, its account and the roles and identity verification information of the data-migrating terminal and the data-migrating terminal will be automatically updated.
[0035] In an embodiment of the present invention, when a Wifi connection is automatically established through the terminal information and the hotspot parameters of the Wifi connection, the identity verification information is used to further verify whether the current Wifi connection is legal. When the identity verification information is used for security verification, it can be a one-way verification or a two-way verification. The one-way verification includes: the data-migration terminal generates identity verification information in combination with the information of the data-migration terminal in the locally stored binding relationship; the data-migration terminal compares the generated identity verification information with the identity verification information in the agreed binding relationship, and when they are consistent, the verification passes; of course, in some embodiments, the data-migration terminal can also generate identity verification information in combination with the information of the data-migration terminal in the locally stored binding relationship; the data-migration terminal compares the generated identity verification information with the digital fingerprint in the agreed identity verification information, and when they are consistent, the verification passes. The two-way verification includes: the data-input terminal and the data-output terminal compare the identity authentication information generated by the other party with the identity authentication information in the agreed binding relationship, and when they are consistent, the verification is successful; for example, when the identity authentication information includes a digital fingerprint, a digital fingerprint is generated by combining the account number, model, international mobile equipment identity code and other information of the terminal in the locally stored binding relationship, and whether the verification is successful is determined by verifying whether the digital fingerprint sent by the other party is consistent with the generated digital fingerprint; in other embodiments, when the identity authentication information also includes biometric information, the local biometric information of the data-output terminal and the acquired biometric information are compared, and when the biometric information is consistent and the digital fingerprint information is consistent, the verification is successful.
[0036] S102: When the verification is passed, the data-input terminal and the data-output terminal perform data migration operations.
[0037] In the embodiment of the present invention, when the verification is passed, it means that the connection is successfully established, and based on the Wifi connection, the migration data is automatically exported from the data migration terminal to the data migration terminal. The migration data can be determined in real time according to the needs of the user, or it can be determined according to the binding relationship. Of course, when the verification fails, the connection is disconnected and a rebinding prompt is given.
[0038] It should be noted that, in an embodiment of the present invention, after the data-input terminal and the data-output terminal perform a data migration operation, the data-input terminal and the data-output terminal locally record the data migration operation, and when in a networked state, the data migration operation is saved locally and / or on a server based on the login information. The server may be an account server or other third-party server; that is, the data migration scope may be recorded and stored in the cloud in the login information as the default selection for the next data migration. At the same time, the data migration operation is recorded to facilitate subsequent users to query historical operation information through the account.
[0039] The embodiment of the present invention provides a data migration method, in which two terminals that need to migrate data are determined to be data migration terminals or data migration terminals according to the account login status; before using the data migration function, the data migration terminal needs to associate the data migration terminal and the data migration terminal to the same user account through a binding operation, and identify their respective roles to generate their own unique digital fingerprints. During data migration, the two terminals complete the wifi hotspot connection according to the established binding relationship definition. Then, after both parties verify the digital fingerprints, the user is allowed to complete the operation of importing data from the data migration terminal to the data migration terminal; if the digital fingerprint information does not match, the connection is disconnected and the user is prompted to re-bind; identity authentication before exchanging data between smart devices is added as a security mechanism to protect user data, and at the same time, the role-based connection management mechanism simplifies the UI interaction steps to the greatest extent, and simplifies the information agreement steps required for subsequent establishment of Wifi connections between devices by recording the first binding relationship.
[0040] Embodiment 2:
[0041] The embodiment of the present invention provides a data migration method, which is described by taking the first binding of two terminals to perform data migration as an example. Figure 3 As shown, the data migration method includes:
[0042] S301, two terminals log in the login information.
[0043] In an embodiment of the present invention, the login information is account information including an account number and a password. The two terminals can be an old terminal and a new terminal respectively. When the old terminal account logs in, it automatically verifies whether the local account information and the server account information are consistent. If they are consistent, the old terminal account login is successful. The new terminal verifies the login password through the account information on the old terminal. The account information completes the roles of the data migration terminal (i.e., the old terminal) and the data migration terminal (i.e., the new terminal).
[0044] S302: The data-migrating terminal obtains information by scanning the QR code of the data-migrating terminal, and agrees on a binding relationship with the data-migrating terminal.
[0045] In an embodiment of the present invention, a Wifi hotspot is turned on on the data-migrating terminal, and the data-migrating terminal supports the frequency band of the Wifi hotspot. The data-migrating terminal generates a QR code interface containing hotspot information (frequency band parameters supported by wifi, device name, model, hotspot account information, etc.). The data-migrating terminal scans the QR code interface. The QR code interface disappears once the connection is scanned or the user manually exits. After the wifi connection is established by scanning the code, the data-migrating terminal is prompted to enter the account and password of the hotspot party, and the data-migrating terminal verifies whether the account and password entered by the data-migrating terminal are correct. If the verification fails, the user is prompted to re-enter the information. If the number of failures exceeds the threshold, the user is prompted to log in to the account and the wifi connection is interrupted. When the wifi connection is successful, the data-migrating terminal and the data-migrating terminal establish a binding terminal.
[0046] In some embodiments, if the data-migration terminal has an available wireless network, it can directly start the account login interface. After completing the account login, if there is a data-migration terminal role under the account, the account server can complete the information agreement and establish a binding relationship with the data-migration terminal under the account. When the data migration operation is subsequently performed, when the app corresponding to the data migration function is started on the data-migration terminal, it is necessary to perform network account login verification, and the synchronized account information contains the data-migration terminal role in the logged-in state before the data migration operation can be entered.
[0047] S303: The data-input terminal and the data-output terminal establish a connection according to the agreed binding relationship, and perform a security check according to the unique digital fingerprint in the binding relationship.
[0048] In an embodiment of the present invention, a unique digital fingerprint is automatically generated when a data-migrating terminal and a data-migrating terminal establish a binding relationship. The digital fingerprint is generated based on an algorithm according to all or part of the information in the binding relationship and is irreversible to ensure uniqueness. When establishing a binding relationship, it is also necessary to agree on the hotspot parameters (name, frequency band, channel, wifi connection password, which role will be the Wifi hotspot party, which role is responsible for automatically scanning wifi hotspots, establishing wifi connections, and wifi connection timeout parameters) for subsequent data-migrating terminals and data-migrating terminals to automatically establish Wifi connections.
[0049] Assuming that the data-migrating terminal serves as the Wifi hotspot, the data-migrating terminal automatically scans the Wifi hotspot and automatically establishes a connection based on the hotspot parameters of the Wifi connection in the binding relationship. When establishing a Wifi connection, both the data-migrating terminal and the data-migrating terminal need to verify whether the digital fingerprint transmitted by the other party is consistent with the digital fingerprint retained in the local binding relationship. Only when both verifications are passed can the Wifi connection between the current terminals be determined to be legal.
[0050] S304: When the verification is passed, the data-input terminal and the data-output terminal perform data migration operations.
[0051] S305: The data migration terminal or the data migration terminal locally records the data migration operation, and when in a networked state, saves the data migration operation on an account server based on the login information record.
[0052] After the wifi connection is established, the data migration operation is performed, and the data migration range set by the user is recorded in the account as the default selection for the next data migration. When the data migration terminal or the data migration terminal is connected to the Internet, the data migration operation is saved in the account server through the login information, so that the user can query it through the login information later. In addition, data migration does not change the work role and digital fingerprint. The direction of data migration is strictly executed according to the role defined in the binding relationship. When reverse data migration is required, the binding relationship needs to be re-established.
[0053] In the data migration method provided by the embodiment of the present invention, the data terminal to be migrated determines the data-in terminal and the data-out terminal according to the login information; the data-in terminal and the data-out terminal establish a connection according to the agreed binding relationship, and perform a security check according to the unique digital fingerprint in the binding relationship; when the check passes, the connection is successfully established, and the data-in terminal and the data-out terminal perform a data migration operation; that is, log in through an account to ensure the legal user identity of the operator; when the connection is established, further identity legitimacy verification is performed through the digital fingerprint of the agreed binding relationship to ensure the legitimacy and security of the data migration; further, a data migration record function is added, and the bound data-in terminal and the data-out terminal can truly achieve minimal manual operation during the machine change operation.
[0054] Embodiment three:
[0055] The embodiment of the present invention provides a data migration method, which is described by taking data migration of two bound terminals as an example. Figure 4 As shown, the data migration method includes:
[0056] S401, the data migration terminal and the data migration terminal register login information.
[0057] In an embodiment of the present invention, the login information includes an account number, a password, and also the facial information of the operator; assuming that the data migration terminal and the data migration terminal are both in a networked state, the data migration terminal and the data migration terminal verify the login based on the account password on the account server and the local account password, and at the same time, the data migration terminal obtains the facial information of the operator, and compares and verifies the facial information with the facial information obtained in real time by the data migration terminal.
[0058] S402: The data-migrating terminal and the data-migrating terminal automatically establish a connection according to the agreed binding relationship, and perform security verification through the agreed digital fingerprint.
[0059] Since the two terminals have been bound before, the login information includes the binding relationship. At this time, the connection is established directly based on the binding relationship. According to the data migration terminal information in the account on the account server, the user is prompted whether to automatically bind the current terminal as the data migration terminal under the account (automatically completing the WiFi hotspot connection parameter agreement, the digital fingerprints of both parties' identities, etc.), and then perform security verification through the agreed digital fingerprint; specifically, the data migration terminal generates a digital fingerprint based on the information of the data migration terminal in the binding relationship stored locally; the data migration terminal compares the generated digital fingerprint with the unique digital fingerprint, and when they are consistent, the verification passes.
[0060] In some embodiments, since the two terminals have been bound, the login information includes a binding relationship. If the user first operates from the data migration terminal, and there is a past data migration terminal and data migration terminal binding relationship in the login information, but the data migration terminal in the binding relationship is not the new terminal for data migration at present, in order to prompt the user, in addition to the interface displaying the data migration terminal and data migration terminal device information and hotspot information bound to the current account; at the same time, a timeout mechanism is added. When the data migration terminal and data migration terminal wifi connection cannot be established after exceeding the threshold, the operation interface displays a reminder to the user to check whether the other end is the corresponding terminal in the binding relationship (the user is prompted by displaying the data migration terminal and data migration terminal device information on both sides). Similarly, when the user first operates from the data migration terminal, a timeout mechanism is added. When the data migration terminal and data migration terminal wifi connection cannot be established after exceeding the threshold, the operation interface displays a reminder to the user to check whether the other end is the corresponding device in the binding relationship.
[0061] Furthermore, the data migration terminal and / or the data migration terminal can manage the existing binding relationship under the login information, that is, cancel the original binding relationship and establish a new binding relationship with other terminals. It is understandable that each time the terminal is bound, the current binding relationship will be recorded in the same login information of the data migration terminal and the data migration terminal, and the previous binding relationship will be overwritten. When there are network conditions, the background needs to synchronize the account and binding information with the account server.
[0062] S403: Based on the WiFi connection, automatically export data from the data migration terminal to the data migration terminal.
[0063] In an embodiment of the present invention, assuming that the data migration operation has been performed last time on the data migration terminal and the data migration terminal, the data migration scope set by the user recorded in the account (contacts, call records, schedules, alarms, system settings, (photos, pictures, music, videos, etc.) multimedia files, documents (txt, pdf, word, excel, etc.), App and App data, etc.) is used as the default selection for this data migration; and the account-based data migration record is retained on the terminal and the account server at the same time, which can be used for subsequent security backtracking.
[0064] The embodiment of the present invention provides a data migration method, which ensures the legal user identity of the operator by logging in with login information; when establishing a connection, further identity legitimacy verification is performed through the digital fingerprint of the agreed binding relationship to ensure the legitimacy and security of data migration; at the same time, compared with the stateless machine switching operation in the related technology, each data migration requires repeating the operation steps of establishing a wifi connection, compared with the embodiment of the present invention, binding is performed before the first use, such as when the data is migrated between two terminals again, and no binding operation and wifi connection-related operations are required; at the same time, because the wireless signal frequency band parameters and hotspot name and password required for the wifi connection can be agreed upon during binding, unnecessary frequency band switching when the two terminals establish a wifi connection during subsequent machine switching data migration, and UI interactions such as scanning codes to obtain hotspot information are avoided.
[0065] Embodiment 4
[0066] The embodiment of the present invention further provides a terminal, such as Figure 5 As shown, the system includes a processor 501, a memory 502 and a communication bus 503, wherein:
[0067] The communication bus 503 is used to realize the connection and communication between the processor 501 and the memory 502;
[0068] The processor 501 is used to execute one or more programs stored in the memory 502 to implement the data migration method in each embodiment; the data migration method is as described in Embodiment 1 to Embodiment 3, and will not be described in detail here.
[0069] The embodiment of the present invention also provides a computer-readable storage medium, which includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer.
[0070] The computer-readable storage medium in the embodiment of the present invention can be used to store one or more computer programs, and the one or more computer programs stored therein can be executed by a processor to implement the above-mentioned data migration method; the data migration method is as described in Embodiments 1 to 3, and will not be described in detail here.
[0071] It is worth noting that in order to avoid redundant explanations, all examples in Embodiment 1, Embodiment 2, and Embodiment 3 are not fully described in this embodiment. It should be clear that all examples in Embodiment 1, Embodiment 2, and Embodiment 3 are applicable to this embodiment.
[0072] It can be seen that those skilled in the art should understand that all or some of the steps, systems, and functional modules / units in the above disclosed methods can be implemented as software (which can be implemented with computer program code executable by a computing device), 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 can have multiple functions, or a function or step can be performed by several physical components in cooperation. Some or all physical components can 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.
[0073] In addition, it is well known to those skilled in the art that communication media generally contain computer readable instructions, data structures, computer program modules or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery media. Therefore, the present invention is not limited to any specific hardware and software combination.
[0074] The above contents are further detailed descriptions of the embodiments of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A data migration method, characterized in that: include: Determine that the data-migration terminal is in a networked state, and that the login information of the data-migration terminal includes the data-migration terminal; The data migration terminal establishes a binding relationship with the data migration terminal according to the login information; wherein each pair of binding relationships under one login information has a unique corresponding identity authentication information; The data migration terminal and the data migration terminal establish a connection according to the binding relationship, and perform a security check according to the identity verification information in the binding relationship; When the verification is passed, the data-migrating terminal and the data-migrating terminal perform a data migration operation.
2. The data migration method according to claim 1, characterized in that: Before the data-input terminal and the data-output terminal establish a connection according to the agreed binding relationship, the following steps are included: Determine the login information, and determine the data migration terminal and the data migration terminal according to the login status of the login information; and / or, The terminal device information is obtained, and the data migration-out terminal and the data migration-in terminal are determined according to the terminal device information.
3. The data migration method according to claim 2, characterized in that: When the data migration terminal and the data migration terminal are determined according to the login status of the login information, after the data migration terminal and the data migration terminal are determined, the method further includes: After the data-migrating terminal and / or the data-migrating terminal logs in according to the login information, the existing binding relationship under the login information is untied, or the roles of the data-migrating terminal and the data-migrating terminal are re-determined.
4. The data migration method according to claim 2, characterized in that: Before the data-input terminal and the data-output terminal establish a connection according to the agreed binding relationship, the following steps are included: The data-importing terminal obtains the associated information of the data-exporting terminal by scanning the code; The data-migrating terminal establishes a communication connection with the data-migrating terminal according to the association information, and establishes the binding relationship.
5. The data migration method according to any one of claims 1 to 4, characterized in that: The binding relationship also includes terminal information of the data-migrating terminal and the data-migrating terminal, and hotspot parameters for establishing a Wifi connection. The data-migrating terminal and the data-migrating terminal establish a Wifi connection according to the terminal information and the hotspot parameters for the Wifi connection.
6. The data migration method according to claim 5, characterized in that: The performing of security verification according to the identity verification information in the binding relationship includes: The data-in terminal generates identity authentication information in combination with the information of the data-out terminal in the locally stored binding relationship; the data-out terminal compares the generated identity authentication information with the identity authentication information in the agreed binding relationship, and when they are consistent, the verification is passed; or, The data-input terminal and the data-output terminal compare the identity authentication information generated by the other party with the identity authentication information in the agreed binding relationship, and when they are consistent, the verification is passed.
7. The data migration method according to claim 6, characterized in that: When the verification is passed, the data-input terminal and the data-output terminal perform a data migration operation, including: The data migration terminal and the data migration terminal locally record the data migration operation, and when in a networked state, save the data migration operation on a server based on the login information record.
8. A terminal, characterized in that: The terminal includes a processor, a memory and a communication bus; The communication bus is used to realize the connection and communication between the processor and the memory; The processor is used to execute one or more programs stored in the memory to implement the steps of the data migration method as claimed in any one of claims 1 to 7.
9. A computer-readable storage medium storing one or more programs, wherein the one or more programs can be executed by one or more processors to implement the steps in the data migration method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Data migration method and mobile terminal
CN106469028A