Data migration method, device and storage medium

By receiving and verifying target verification information, matching user identification information and migrating data, the problem of low data migration efficiency when foreign third-party applications log in to intelligent management applications is solved, and more efficient user data migration is achieved.

CN116155846BActive Publication Date: 2024-12-24GD MIDEA AIR CONDITIONING EQUIP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310075612.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-19
Publication Date
2024-12-24
Estimated Expiration
2041-11-19

AI Technical Summary

Technical Problem

When foreign third-party applications log in to intelligent management applications, data migration cannot be effectively carried out, resulting in low efficiency of user data migration.

Method used

By receiving the target verification information sent by the client device, verifying and matching the user identification information, obtaining the target user data from the database of the second application, and storing it in the database of the first application, data migration is realized.

Benefits of technology

It improves the efficiency of user data migration and solves the problem of inconvenient data migration when foreign third-party applications log in to intelligent management applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116155846B_ABST
    Figure CN116155846B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a data migration method, which includes: receiving target verification information sent by a client device and obtained through a first application; verifying the target verification information to obtain a verification result; if the verification result is verification passed, determining that the first user identification information matches the second user identification information; the target verification information includes the first user identification information of the second application, and the second user identification information is the user identification information corresponding to the first application; obtaining the target user data corresponding to the first user identification information from the first database corresponding to the second application; the target user data is the user operation parameters or setting parameters corresponding to the binding of the second application; storing the target user data and the second user identification information in the second database corresponding to the first application. The embodiment of the present application also discloses a server device, a client device, and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Description of the case

[0002] This disclosure is a divisional application of a Chinese patent application filed on November 19, 2021, with application number 202111375499.0 and invention name “A data migration method, device and storage medium”. Technical Field

[0003] The present application relates to the field of air conditioning technology, and in particular to a data migration method, device and storage medium. Background Art

[0004] With the continuous improvement of domestic production technology, domestically produced products have also been widely used abroad due to their advantages of high quality and low price. In order to ensure the intelligent application and user experience of the products they provide, various manufacturers have also provided corresponding intelligent management applications for foreign users.

[0005] At present, for smart management applications for goods, manufacturers can allow foreign users to log in through their corresponding third-party applications, such as instant messaging applications. However, since third-party applications are extremely protective of user privacy, smart management applications cannot directly save third-party user account information. For some commercial or other considerations, manufacturers may develop new smart management applications for goods. In this way, when the same user uses the same third-party application to log in to a new smart management application, the user data of the old smart management application cannot be synchronized to the new smart management application, resulting in low efficiency in user data migration.

[0006] Application Contents

[0007] In order to solve the above-mentioned technical problems, the embodiments of the present application hope to provide a data migration method, device and storage medium, which solves the current problem that data migration cannot be effectively performed when foreign third-party applications log in to smart management applications, and provides a method for data migration when third-party applications outside the cabinet log in to smart management applications, thereby improving user data migration efficiency.

[0008] The technical solution of this application is implemented as follows:

[0009] In a first aspect, a data migration method is provided, the method comprising:

[0010] Receiving target verification information sent by a client device and obtained through a first application; wherein the target verification information is generated by a second application running in the client device according to a login attribute parameter;

[0011] Verifying the target verification information to obtain a verification result;

[0012] If the verification result is that the verification passes, it is determined that the first user identification information matches the second user identification information; wherein the target verification information includes the first user identification information of the second application, and the second user identification information is the user identification information corresponding to the first application;

[0013] Acquire target user data corresponding to the first user identification information from a first database corresponding to the second application; wherein the target user data is a user operation parameter or setting parameter corresponding to binding with the second application;

[0014] The target user data and the second user identification information are stored in a second database corresponding to the first application.

[0015] In a second aspect, a data migration method is provided, the method comprising:

[0016] If an information collection instruction generated by the first application is detected, responding to the information collection instruction, obtaining target verification information through the first application; wherein the target verification information is generated by a second application running in the client device according to a login attribute parameter;

[0017] The target verification information is sent to the server device through the first application; wherein, after the target verification information is verified by the server device, the target user data corresponding to the first user identification information in the first database corresponding to the second application is migrated to the second database corresponding to the first application; wherein, the target user data is the corresponding user operation parameters or setting parameters bound by the second application.

[0018] In a third aspect, a server device is provided, the server device comprising: a first memory, a first communication bus and a first processor; wherein:

[0019] The first memory is used to store executable instructions;

[0020] The first communication bus is used to implement a communication connection between the first processor and the first memory;

[0021] The first processor is at least used to implement the steps of any of the data migration methods described above.

[0022] In a fourth aspect, a client device comprises: a second memory, a second communication bus and a second processor; wherein:

[0023] The second memory is used to store executable instructions;

[0024] The second communication bus is used to realize the communication connection between the second processor and the second memory;

[0025] The second processor is at least used to implement the steps of any one of the data migration methods described above.

[0026] In a fifth aspect, a storage medium is provided, wherein a data migration program is stored on the storage medium, and when the data migration program is executed by a processor, the steps of the data migration method as described in any one of the above items are implemented.

[0027] In the embodiment of the present application, if the information collection instruction generated by the first application is detected, the client device responds to the information collection instruction, obtains the target verification information through the first application, and the client device sends the target verification information to the server device through the first application. After the server device receives the target verification information sent by the client device and obtained through the first application, the server device verifies the target verification information and obtains the verification result. If the verification result is that the verification is passed, the server device determines that the first user identification information matches the second user identification information, and the server device obtains the target user data corresponding to the first user identification information from the first database corresponding to the second application, and stores the target user data and the second user identification information in the second database corresponding to the first application. In this way, after the client device collects the target verification information generated by the second application through the first application, the target verification information is sent to the server device so that the server device verifies the target verification information. When it is determined that the first user identification information matches the second user identification information, the target user data corresponding to the first user identification information in the first database is stored in the second database, which solves the problem that data migration cannot be effectively performed when a foreign third-party application logs in to the intelligent management application, and provides a method for data migration when a third-party application outside the cabinet logs in to the intelligent management application, thereby improving the efficiency of user data migration. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 Schematic diagram of the data migration method provided in the embodiment of the present application Figure 1 ;

[0029] Figure 2 Schematic diagram of the data migration method provided in the embodiment of the present application Figure 2 ;

[0030] Figure 3 Schematic diagram of the data migration method provided in the embodiment of the present application Figure 3 ;

[0031] Figure 4 Schematic diagram of the data migration method provided in the embodiment of the present application Figure 4 ;

[0032] Figure 5 Schematic diagram of the data migration method provided in the embodiment of the present application Figure 5 ;

[0033] Figure 6 A schematic diagram of an application implementation process of a data migration method provided in an embodiment of the present application;

[0034] Figure 7 A schematic diagram of the structure of a server device provided in an embodiment of the present application;

[0035] Figure 8 A schematic diagram of the structure of a client device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0036] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0037] The embodiment of the present application provides a data migration method, referring to Figure 1 As shown, the method is applied to a server device, and the method comprises the following steps:

[0038] Step 101: Receive target verification information sent by a client device and obtained through a first application.

[0039] The target verification information is generated by the second application running in the client device according to the login attribute parameters.

[0040] In the embodiment of the present application, the client device has both the first application and the second application installed, and the server device is mainly used to store user data corresponding to the first application and the second application. The second application may refer to an old application developed by the developer for intelligent management of the product, while the first application is a new application developed by the developer for intelligent management of the product. The target verification information is the identity verification information generated by the second application based on the login attribute parameters of the second application.

[0041] Step 102: Verify the target verification information and obtain the verification result.

[0042] In the embodiment of the present application, the target verification information is verified to obtain a verification result.

[0043] Step 103: If the verification result is that the verification passes, it is determined that the first user identification information matches the second user identification information.

[0044] The target verification information includes the first user identification information of the second application, and the second user identification information is the user identification information corresponding to the first application.

[0045] In an embodiment of the present application, the first user identification information is the user identification information randomly assigned by the second application to the first user account of the third-party application when the user logs in to the second application for the first time through the first user account of the third-party application; the second user identification information is the user identification information randomly analyzed by the first application to the second user account of the third-party application when the user logs in to the first application for the first time through the second user account of the third-party application. The first user account and the second user account may be the same or different. When the verification result is that the verification passes, it is determined that the first user identification information matches the second user identification information, indicating that the first user account of the third-party application that logs in to the first application is the same as the second user account of the third-party application that logs in to the second application.

[0046] Step 104: Acquire target user data corresponding to the first user identification information from a first database corresponding to the second application program.

[0047] The target user data is the corresponding user operation parameters or setting parameters bound by the second application.

[0048] In the embodiment of the present application, the target user data is the setting parameters set by the user through the second application program binding corresponding products such as home appliances, or the user's operation parameters. When the first user identification information matches the second user identification information, the target user data corresponding to the first user identification information is obtained from the first database corresponding to the second application program.

[0049] Step 105: Store the target user data and the second user identification information in a second database corresponding to the first application.

[0050] In the embodiment of the present application, the acquired target user data is stored in a second database corresponding to the first application, and an association relationship is established between the target user data and the second user identification information.

[0051] In the embodiment of the present application, after the server-side device receives the target verification information obtained through the first application sent by the client device, the server-side device verifies the target verification information and obtains the verification result. If the verification result is that the verification is passed, the server-side device determines that the first user identification information matches the second user identification information, and the server-side device obtains the target user data corresponding to the first user identification information from the first database corresponding to the second application, and stores the target user data and the second user identification information in the second database corresponding to the first application. In this way, after the client device collects the target verification information generated by the second application through the first application, it sends the target verification information to the server-side device so that the server-side device verifies the target verification information. When it is determined that the first user identification information matches the second user identification information, the target user data corresponding to the first user identification information in the first database is stored in the second database, which solves the problem that data migration cannot be effectively performed when a foreign third-party application logs in to the smart management application, and provides a method for data migration when a third-party application outside the cabinet logs in to the smart management application, thereby improving the efficiency of user data migration.

[0052] Based on the above embodiments, the embodiments of the present application provide a data migration method. Figure 2 As shown, the method is applied to a client device, and the method comprises the following steps:

[0053] Step 201: If an information collection instruction generated by a first application is detected, respond to the information collection instruction and obtain target verification information through the first application.

[0054] The target verification information is generated by the second application running in the client device according to the login attribute parameters.

[0055] In the embodiment of the present application, the information collection instruction is an instruction for instructing to obtain target verification information. The user operates the first application installed in the client device to generate the information collection instruction of the first application, so that the target verification information generated by the second application is obtained through the first application.

[0056] Step 202: Send target verification information to the server device through the first application.

[0057] Among them, the target verification information is used to migrate the target user data corresponding to the first user identification information in the first database corresponding to the second application to the second database corresponding to the first application after passing the verification of the server device; wherein the target user data is the user operation parameters or setting parameters corresponding to the binding of the second application.

[0058] In an embodiment of the present application, the client device sends the target verification information obtained by the first application to the server device, so that the server device verifies the target verification information to migrate the target user data corresponding to the first user identification information of the second application to the second database corresponding to the first application, thereby realizing the data migration operation.

[0059] In the embodiment of the present application, if the information collection instruction generated by the first application is detected, the client device responds to the information collection instruction, and after obtaining the target verification information through the first application, the client device sends the target verification information to the server device through the first application, so that after the server device receives the target verification information sent by the client device and obtained through the first application, the server device verifies the target verification information and obtains the verification result. If the verification result is that the verification is passed, the server device determines that the first user identification information matches the second user identification information, and the server device obtains the target user data corresponding to the first user identification information from the first database corresponding to the second application, and stores the target user data and the second user identification information in the second database corresponding to the first application. In this way, after the client device collects the target verification information generated by the second application through the first application, the target verification information is sent to the server device, so that the server device verifies the target verification information, and when it is determined that the first user identification information matches the second user identification information, the target user data corresponding to the first user identification information in the first database is stored in the second database, which solves the problem that data migration cannot be effectively performed when a foreign third-party application logs in to an intelligent management application, and provides a method for data migration when a third-party application outside the cabinet logs in to an intelligent management application, thereby improving the efficiency of user data migration.

[0060] Based on the above embodiments, the embodiments of the present application provide a data migration method. Figure 3 As shown, the method comprises the following steps:

[0061] Step 301: If a data migration instruction generated by a second application is detected, the client device obtains a login attribute parameter of the second application through the second application.

[0062] In an embodiment of the present application, the data migration instruction generated by the second application may be generated by the user operating the client device. For example, the second application generates migration prompt information for prompting the user to migrate account data, and after the migration prompt information is displayed, the user agrees to the account data migration in response to the displayed migration prompt information, and then the second application generates the data migration instruction. The login attribute parameters of the second application mainly include some user attribute information stored locally on the client device when the user uses the second application and registers and logs in to the second application.

[0063] Step 302: The client device generates target verification information based on the login attribute parameters through the second application.

[0064] In the embodiment of the present application, the client device processes the login attribute parameters through the second application to generate target verification information.

[0065] Step 303: The client device stores the target verification information in the target storage area through the second application.

[0066] In the embodiment of the present application, the client device stores the target verification information generated by the second application in the target storage area through the second application.

[0067] Step 304: If an information collection instruction generated by the first application is detected, the client device responds to the information collection instruction and obtains target verification information through the first application.

[0068] The target verification information is generated by the second application running in the client device according to the login attribute parameters.

[0069] In an embodiment of the present application, after the second application in the client device generates target verification information, the second application can generate application switching prompt information to prompt the user to open the first application. The user performs corresponding operations on the application switching information. After switching from the second application to the first application, the second application generates acquisition prompt information to prompt the user to obtain the target verification information. If the user performs corresponding control operations to obtain the target verification information based on the acquisition prompt information, for example, the user opens the window for reading the target verification information of the first application, the first application generates an information collection instruction at this time, and the client device responds to the information collection instruction, and obtains the target verification information from the target storage area through the first application.

[0070] Step 305: The client device sends target verification information to the server device through the first application.

[0071] Among them, the target verification information is used to enable the server device to migrate the target user data corresponding to the first user identification information in the first database corresponding to the second application to the second database corresponding to the first application after verification. The target user data is the user operation parameters or setting parameters corresponding to the binding of the second application.

[0072] In the embodiment of the present application, after the first application obtains the target verification information, it establishes a communication connection between the target verification information and the server device through the client device, and then sends the target verification information to the server device through the client device.

[0073] Step 306: The server device receives the target verification information sent by the client device and obtained through the first application.

[0074] The target verification information is generated by the second application running in the client device according to the login attribute parameters.

[0075] Step 307: The server device verifies the target verification information and obtains a verification result.

[0076] Step 308: If the verification result is that the verification passes, the server device determines that the first user identification information matches the second user identification information.

[0077] The target verification information includes the first user identification information of the second application, and the second user identification information is the user identification information corresponding to the first application.

[0078] Step 309: The server device obtains the target user data corresponding to the first user identification information from the first database corresponding to the second application.

[0079] The target user data is the corresponding user operation parameters or setting parameters bound by the second application.

[0080] Step 310: The server device stores the target user data and the second user identification information in a second database corresponding to the first application.

[0081] Based on the above embodiments, in other embodiments of the present application, refer to Figure 4 As shown, after the server device executes step 310, it is also used to execute step 311:

[0082] Step 311: The server device sends the target user data to the client device, so that the target user data is synchronized to the first application.

[0083] In the embodiment of the present application, after the server device stores the target user data in the second database, it also sends the target user data to the client device to synchronize the target user data to the first application installed in the client device, so that the user does not need to perform device binding for the first application, re-manage settings for settings, etc. In this way, the user's experience is improved.

[0084] Based on the above embodiments, in other embodiments of the present application, step 301 may be implemented by steps 301a to 301b:

[0085] Step 301a: The client device obtains, through the second application, a first login type corresponding to a first user account for logging into the second application.

[0086] In the embodiment of the present application, during the login process, the second application in the client device will determine the first login type of the first user account logged in by the second application. For example, if the user logs in using an email account recommended by the second application, the recorded login type can be recorded as the email login type; if the user logs in using a third-party application, such as an instant messaging application allowed by the second application, the recorded login type can be recorded as the third-party login type.

[0087] Step 301b: If the first login type is the target login type, the client device obtains the first identity parameter and the first user identification information through the second application.

[0088] Among them, the first identity parameter is the identity identification information assigned to the client device by the third-party application to which the first user account belongs, the first user identification information is the user identification information assigned to the first user account by the second application, and the login attribute parameters include the first identity parameter and the first user identification information.

[0089] In the embodiment of the present application, the target login type is a type of login using a third-party application. That is, when the first user account corresponding to the second application is the user account information of the third-party application, the client device obtains the first identity parameter and the first user identification information. The first identity parameter can be a digital identity recognition framework (OpenID) assigned by the third-party application to the first application, and the first user identification information is a user identification information randomly assigned when the second application registers the first user account for the first time, for example, it can be a virtual mailbox number.

[0090] Based on the above embodiments, in other embodiments of the present application, refer to Figure 5 As shown, before the client device executes step 301, it is also used to execute steps 312 to 313:

[0091] Step 312: The client device obtains, through the first application, a second login type corresponding to a second user account for logging into the first application.

[0092] Step 313: If the second login type is the target login type, the client device generates prompt information through the first application and displays the prompt information.

[0093] The prompt information is used to prompt the user to perform a target operation to obtain target verification information.

[0094] In an embodiment of the present application, the client device analyzes the second login type of the second user account that logs into the first application, and when it is determined that the second login type is the target login type, the first application generates a prompt message prompting the user to perform a target operation of obtaining target verification information, and displays the prompt message so that the user can perform the target operation of obtaining the target verification information after seeing the prompt message.

[0095] Based on the foregoing embodiments, in other embodiments of the present application, the target verification information is QR code information.

[0096] In the embodiment of the present application, when the target verification information is QR code information, the corresponding target storage area may be an image storage unit of the client device for storing images.

[0097] Based on the foregoing embodiments, in other embodiments of the present application, the target verification information includes at least the following information: a user token identifier, a verification code, a time limit identifier, and a security identifier.

[0098] In the embodiment of the present application, the user token identifier is used to identify the identity of the user, the verification code is mainly used to verify whether the first user identification information of the second application matches the second user identification information of the first application, the time limit identifier is mainly used to identify the validity period of the target verification information, for example, the validity period of the target verification information is 3 minutes or 5 minutes, and the security identifier is mainly used to indicate the security of the target verification information.

[0099] Based on the aforementioned embodiments, the embodiments of the present application provide a data migration method, which is described by taking the target verification information as QR code information as an example. The scenario is: user F uses his third-party application account, such as instant messaging software account f, to log in to the first client application and the second client application. When the user uses the instant messaging software account f to register and log in to the first client application, because the instant messaging software has privacy protection, the first client application and the second client application are not allowed to save the instant messaging software account f. Therefore, the first client application will randomly generate a user email (userEmail) for the instant messaging software account f, such as aaa, and the second client application will randomly generate a userEmail for the instant messaging software account f, such as bbb. Among them, the first client application is an old version of the client application provided by the manufacturer, and the second client application is a new version of the client application provided by the manufacturer. The third-party application, the first client application, and the second client application are all installed in the client device. The server device has a first database for storing user data corresponding to the first client application and a second database for storing user data corresponding to the second client application. When the target user data corresponding to user F in the first database needs to be migrated to the second database, the corresponding implementation process can refer to Figure 6 As shown, the specific steps include:

[0100] Step 401: A user authorizes a chat software account f of an instant messaging software to log in to a first client application, and determines that a fixed OpenID allocated by the instant messaging software to the first client application is 6666.

[0101] Step 402: The first client application generates first user identification information aaa for the chat software account f.

[0102] Step 403: The first client application receives the user's operation, binds the corresponding device, and updates the user data corresponding to the first user identification information aaa to the first database.

[0103] Step 404: When the first client application detects the data migration instruction, the first client application determines a locally stored login type (loginType).

[0104] Step 405: If it is determined according to loginType that the user f currently logging into the first client application is a third-party user, the first client application generates QR code information.

[0105] The two-dimensional code information at least includes: the two-dimensional code information of the user token identification, the verification code (check_code), the time limit identification and the security identification, and the two-dimensional code information is stored in the gallery storage area of ​​the client device.

[0106] Step 406: The user authorizes the chat software account f of the instant messaging software to log in to the second client application, and determines that the fixed OpenID allocated by the instant messaging software to the second client application is 9999.

[0107] Step 407: The second client application generates second user identification information bbb for the chat software account f.

[0108] Step 408: The user opens the QR code scanning function of the second client application and scans the QR code information generated by the first client application.

[0109] Step 409: The second client application parses the scanned QR code information to obtain a user token identifier, a check_code, a time identifier, and a security identifier.

[0110] Step 410: The second client application sends information such as a user token identifier, a check_code, a time identifier, and a security identifier to a server device corresponding to the second client application.

[0111] Among them, the server device can be a service cloud.

[0112] Step 411, the server device verifies the user token identifier, check_code, time limit identifier and security identifier. If the user token identifier, check_code, time limit identifier and security identifier all pass the verification, it is determined that the first user identification information aaa matches the second user identification information bbb.

[0113] If at least one of the user token identifier, check_code, time identifier and security identifier fails to pass the verification, the subsequent operation will not be performed.

[0114] Step 412: The server device synchronizes all target user data corresponding to the first user identification information aaa in the first database to the location corresponding to the second user identification information bbb in the second database.

[0115] Step 413: The second client application obtains user data corresponding to the second user identification information from the second database, and synchronizes the data to the second client application.

[0116] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.

[0117] In the embodiment of the present application, if the information collection instruction generated by the first application is detected, the client device responds to the information collection instruction, obtains the target verification information through the first application, and the client device sends the target verification information to the server device through the first application. After the server device receives the target verification information sent by the client device and obtained through the first application, the server device verifies the target verification information and obtains the verification result. If the verification result is that the verification is passed, the server device determines that the first user identification information matches the second user identification information, and the server device obtains the target user data corresponding to the first user identification information from the first database corresponding to the second application, and stores the target user data and the second user identification information in the second database corresponding to the first application. In this way, after the client device collects the target verification information generated by the second application through the first application, the target verification information is sent to the server device so that the server device verifies the target verification information. When it is determined that the first user identification information matches the second user identification information, the target user data corresponding to the first user identification information in the first database is stored in the second database, which solves the problem that data migration cannot be effectively performed when a foreign third-party application logs in to the intelligent management application, and provides a method for data migration when a third-party application outside the cabinet logs in to the intelligent management application, thereby improving the efficiency of user data migration.

[0118] Based on the above embodiments, the embodiments of the present application provide a server device, referring to Figure 7 As shown, the server device 5 may include: a first memory 51, a first communication bus 52 and a first processor 53; wherein:

[0119] A first memory 51, used for storing executable instructions;

[0120] A first communication bus 52, used to realize the communication connection between the first processor 53 and the first memory 51;

[0121] The first processor is configured to implement the following steps:

[0122] Receiving target verification information sent by a client device and obtained through a first application; wherein the target verification information is generated by a second application running in the client device according to a login attribute parameter;

[0123] Verify the target verification information and obtain the verification result;

[0124] If the verification result is that the verification passes, it is determined that the first user identification information matches the second user identification information; wherein the target verification information includes the first user identification information of the second application, and the second user identification information is the user identification information corresponding to the first application;

[0125] Acquire target user data corresponding to the first user identification information from the first database corresponding to the second application; wherein the target user data is a user operation parameter or setting parameter corresponding to binding with the second application;

[0126] The target user data and the second user identification information are stored in a second database corresponding to the first application.

[0127] In other embodiments of the present application, after the first processor executes the step of storing the target user data and the second user identification information in the second database corresponding to the first application, it is further configured to execute the following steps:

[0128] The target user data is sent to the client device so that the target user data is synchronized with the first application.

[0129] It should be noted that, in the embodiments of the present application, one or more programs may be explained by one or more processors, and the explanation can be made by referring to Figure 1 and Figures 3 to 5 The method implementation process provided by the corresponding embodiment will not be repeated here.

[0130] In the embodiment of the present application, after the server-side device receives the target verification information obtained through the first application sent by the client device, the server-side device verifies the target verification information and obtains the verification result. If the verification result is that the verification is passed, the server-side device determines that the first user identification information matches the second user identification information, and the server-side device obtains the target user data corresponding to the first user identification information from the first database corresponding to the second application, and stores the target user data and the second user identification information in the second database corresponding to the first application. In this way, after the client device collects the target verification information generated by the second application through the first application, it sends the target verification information to the server-side device so that the server-side device verifies the target verification information. When it is determined that the first user identification information matches the second user identification information, the target user data corresponding to the first user identification information in the first database is stored in the second database, which solves the problem that data migration cannot be effectively performed when a foreign third-party application logs in to the smart management application, and provides a method for data migration when a third-party application outside the cabinet logs in to the smart management application, thereby improving the efficiency of user data migration.

[0131] Based on the foregoing embodiments, the embodiments of the present application provide a client device, referring to Figure 8 As shown, the client device 6 may include: a second memory 61, a second communication bus 62 and a second processor 63; wherein:

[0132] A second memory 61, used for storing executable instructions;

[0133] A second communication bus 62, used to realize the communication connection between the second processor 63 and the second memory 61;

[0134] The second processor 63 is used to implement the following steps:

[0135] If an information collection instruction generated by the first application is detected, respond to the information collection instruction and obtain target verification information through the first application; wherein the target verification information is generated by the second application running in the client device according to the login attribute parameter;

[0136] The target verification information is sent to the server device through the first application; wherein, after the target verification information is verified by the server device, the target user data corresponding to the first user identification information in the first database corresponding to the second application is migrated to the second database corresponding to the first application, and the target user data is the corresponding user operation parameters or setting parameters bound by the second application.

[0137] In other embodiments of the present application, the second processor is used to execute the following steps before detecting the information collection instruction generated by the first application, responding to the information collection instruction, and obtaining the target verification information through the first application:

[0138] If a data migration instruction generated by the second application is detected, a login attribute parameter of the second application is obtained through the second application;

[0139] generating target verification information based on the login attribute parameters by the second application;

[0140] The target authentication information is stored in the target storage area through the second application.

[0141] In other embodiments of the present application, the second processor is used to execute the step of: if a data migration instruction generated by the second application is detected, when the login attribute parameter is obtained through the second application, it can be implemented by the following steps:

[0142] Acquire, through the second application, a first login type corresponding to a first user account for logging into the second application;

[0143] If the first login type is the target login type, the first identity parameter and the first user identification information are obtained through the second application; wherein the first identity parameter is the identity identification information assigned to the client device by the third-party application to which the first user account belongs, the first user identification information is the user identification information assigned to the first user account by the second application, and the login attribute parameters include the first identity parameter and the first user identification information.

[0144] In other embodiments of the present application, the second processor is used to execute the following steps before detecting the information collection instruction generated by the first application, responding to the information collection instruction, and obtaining the target verification information through the first application:

[0145] Acquire, through the first application, a second login type corresponding to a second user account that logs into the first application;

[0146] If the second login type is a target login type, a prompt message is generated through the first application and displayed; wherein the prompt message is used to prompt the user to perform a target operation of obtaining target verification information.

[0147] In other embodiments of the present application, the target verification information is QR code information.

[0148] In other embodiments of the present application, the target verification information includes at least the following information: a user token identifier, a verification code, a time limit identifier, and a security identifier.

[0149] It should be noted that, in the embodiments of the present application, one or more programs may be explained by one or more processors, and the explanation can be made by referring to Figures 2 to 5 The method implementation process provided by the corresponding embodiment will not be repeated here.

[0150] In the embodiment of the present application, if the information collection instruction generated by the first application is detected, the client device responds to the information collection instruction, and after obtaining the target verification information through the first application, the client device sends the target verification information to the server device through the first application, so that after the server device receives the target verification information sent by the client device and obtained through the first application, the server device verifies the target verification information and obtains the verification result. If the verification result is that the verification is passed, the server device determines that the first user identification information matches the second user identification information, and the server device obtains the target user data corresponding to the first user identification information from the first database corresponding to the second application, and stores the target user data and the second user identification information in the second database corresponding to the first application. In this way, after the client device collects the target verification information generated by the second application through the first application, the target verification information is sent to the server device, so that the server device verifies the target verification information, and when it is determined that the first user identification information matches the second user identification information, the target user data corresponding to the first user identification information in the first database is stored in the second database, which solves the problem that data migration cannot be effectively performed when a foreign third-party application logs in to an intelligent management application, and provides a method for data migration when a third-party application outside the cabinet logs in to an intelligent management application, thereby improving the efficiency of user data migration.

[0151] Based on the foregoing embodiments, the embodiments of the present application provide a computer-readable storage medium, referred to as a storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the following. Figure 1 and Figures 3 to 5 or Figures 2 to 5 The implementation process of the data migration method provided in the corresponding embodiment will not be repeated here.

[0152] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0153] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0154] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0155] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0156] The above are only preferred embodiments of the present application and are not intended to limit the protection scope of the present application.

Claims

1. A data migration method, characterized in that: The method comprises: Receiving target verification information sent by a client device and obtained through a first application; wherein the target verification information is generated by a second application running in the client device according to a login attribute parameter; the second application is an application of a historical version corresponding to the first application; Verifying the target verification information to obtain a verification result; If the verification result is that the verification passes, it is determined that the first user identification information matches the second user identification information; wherein the target verification information includes the first user identification information randomly assigned by the second application to the first user account of the third-party application, and the second user identification information is the corresponding user identification information randomly assigned by the first application to the second user account of the third-party application; Acquire target user data corresponding to the first user identification information from a first database corresponding to the second application; wherein the target user data is a user operation parameter or setting parameter corresponding to binding with the second application; The target user data and the second user identification information are stored in a second database corresponding to the first application.

2. The method according to claim 1, characterized in that After storing the target user data and the second user identification information in a second database corresponding to the first application, the method further includes: The target user data is sent to the client device so that the target user data is synchronized with the first application.

3. A data migration method, characterized in that: The method comprises: If an information collection instruction generated by the first application is detected, respond to the information collection instruction and obtain target verification information through the first application; wherein the target verification information is generated by a second application running in the client device according to a login attribute parameter; the second application is an application of a historical version corresponding to the first application; The target verification information is sent to the server device through the first application; wherein, the target verification information is used to enable the server device to migrate the target user data corresponding to the first user identification information to the second database corresponding to the first application after verification according to the first user identification information and the second user identification information, the target user data is the user operation parameters or setting parameters corresponding to the binding of the second application, the target verification information includes the first user identification information randomly assigned by the second application to the first user account of the third-party application, and the second user identification information is the corresponding user identification information randomly assigned by the first application to the second user account of the third-party application.

4. The method according to claim 3, characterized in that If the information collection instruction generated by the first application is detected, before responding to the information collection instruction and obtaining the target verification information through the first application, the method further includes: If the data migration instruction generated by the second application is detected, obtaining a login attribute parameter of the second application through the second application; generating the target verification information based on the login attribute parameters by the second application; The target authentication information is stored in a target storage area through the second application.

5. The method according to claim 4, characterized in that If the data migration instruction generated by the second application is detected, obtaining the login attribute parameter through the second application includes: Acquire, through the second application, a first login type corresponding to a first user account for logging into the second application; If the first login type is the target login type, obtain a first identity parameter and a first user identification information through the second application; wherein, the first identity parameter is the identity identification information assigned to the client device by a third-party application to which the first user account belongs, the first user identification information is the user identification information assigned to the first user account by the second application, and the login attribute parameters include the first identity parameter and the first user identification information.

6. The method according to claim 3, characterized in that If the information collection instruction generated by the first application is detected, before responding to the information collection instruction and obtaining the target verification information through the first application, the method further includes: Acquire, through the first application, a second login type corresponding to a second user account that logs into the first application; If the second login type is a target login type, a prompt message is generated by the first application and the prompt message is displayed; wherein the prompt message is used to prompt the user to perform a target operation of obtaining the target verification information.

7. The method according to any one of claims 3 to 6, characterized in that: The target verification information is QR code information.

8. The method according to any one of claims 3 to 6, characterized in that: The target verification information includes at least the following information: user token identification, verification code, timeliness identification and security identification.

9. A server device, characterized in that: The server device comprises: a first memory, a first communication bus and a first processor; wherein: The first memory is used to store executable instructions; The first communication bus is used to implement a communication connection between the first processor and the first memory; The first processor is at least used to implement the steps of the data migration method as described in any one of claims 1 to 2.

10. A client device, characterized in that: The client device comprises: a second memory, a second communication bus and a second processor; wherein: The second memory is used to store executable instructions; The second communication bus is used to realize the communication connection between the second processor and the second memory; The second processor is at least used to implement the steps of the data migration method as described in any one of claims 3 to 8.

11. A storage medium, characterized in that: The storage medium stores a data migration program, which, when executed by a processor, implements the steps of the data migration method according to any one of claims 1 to 2 or claims 3 to 8.