Method and apparatus for migrating data of smart wearable device
By separating data from smart wearable devices into local data and server data for separate transmission, the issues of privacy protection and storage space optimization during data migration are resolved, achieving secure and efficient data migration and improved user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI SEARCH INFORMATION TECH CO LTD
- Filing Date
- 2023-03-21
- Publication Date
- 2026-07-24
AI Technical Summary
In existing technologies, data migration methods for smart wearable devices are difficult to use conveniently and securely to migrate data from old devices to new devices, especially in terms of insufficient protection of privacy data and optimization of storage space.
Data is divided into local data and server data and transmitted separately. Local data is transmitted through the network connection channel between the first wearable device and the second wearable device to ensure the security of privacy data, while server data that does not require privacy protection is stored on the server to reduce the local storage space usage.
It enables secure and efficient transmission of private data, reduces the use of local storage space, and improves user experience and operational efficiency.
Smart Images

Figure CN116303362B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data migration, and more specifically to a method for migrating data in a smart wearable device. Background Technology
[0002] Smart wearable devices are more than just hardware; they achieve powerful functions through software support, data interaction, and cloud interaction. Smart wearable devices will significantly transform our lives and perceptions. Common examples include smartwatches, smart bracelets, and smart glasses. As the pace of product updates and iterations in smart wearable devices accelerates, the need for improved data migration is also increasing. A method is needed to easily migrate locally stored information from older smart wearable devices to newer ones, and to migrate server data from older devices stored on servers to newer ones. Summary of the Invention
[0003] To address the aforementioned technical problems, the present invention provides a method and apparatus for migrating data in smart wearable devices.
[0004] Specifically, the technical solution of the present invention is as follows:
[0005] In a first aspect, the present invention provides a method for migrating data between smart wearable devices, used for communication and interaction between a first wearable device, a second wearable device, and a client, comprising the following steps:
[0006] When the first wearable device and the second wearable device successfully match the network, the first wearable device sends a migration request signal to the client and receives a feedback signal from the client based on the migration request signal.
[0007] After the first wearable device receives the feedback signal from the client indicating agreement to migrate, the first wearable device determines whether it has received a data migration instruction; wherein, the data migration instruction includes a server data migration instruction and a local data migration instruction; the data migration instruction is issued by the client and / or issued by the first wearable device itself;
[0008] When the first wearable device determines that it has received the migration instruction for the server data and the migration instruction for the local data, the first wearable device sends the migration instruction for the server data to the server, and transmits the local data to the second wearable device through the network connection channel generated by network matching according to the migration instruction for the local data;
[0009] The server writes the server data in the server storage area of the first wearable device to the server storage area of the second wearable device according to the migration instruction of the received server data; the second wearable device is configured according to the server data in the server storage area of the second wearable device.
[0010] This implementation method divides data into local data and server data and transmits them separately. It uses a network connection channel to transmit local data, ensuring that large amounts of local data that require privacy protection can be transmitted securely and efficiently from the first wearable device to the second wearable device. Server data that does not require privacy protection is stored on the server, reducing the amount of local storage space occupied.
[0011] In some implementation methods for migrating data in smart wearable devices, before the first wearable device sends a migration request signal to the client when the first wearable device and the second wearable device successfully match networks, the method further includes:
[0012] The first wearable device activates a network hotspot, and the second wearable device activates network scanning;
[0013] When the second wearable device successfully connects to the network hotspot of the first wearable device, it is determined that the networks of the first wearable device and the second wearable device are successfully matched.
[0014] This implementation provides a method for a first wearable device to identify the other party as a device that needs to be migrated through network matching.
[0015] In some implementations of the data migration method for smart wearable devices, after the first wearable device sends a migration request signal to the client, the method further includes:
[0016] If the client does not respond to the request migration signal, the first wearable device returns to the homepage and sends a migration rejection command to the second wearable device.
[0017] The second wearable device returns to the homepage upon receiving the rejection migration instruction.
[0018] This implementation method provides a signal interaction mechanism to inform the first and second wearable devices to stop data migration when the client refuses to migrate.
[0019] In some implementations of the data migration method for smart wearable devices, after the first wearable device determines whether it has received a data migration instruction, the method further includes:
[0020] When the first wearable device receives the migration instruction of the server data but does not receive the migration instruction of the local data, the first wearable device sends the migration instruction of the server data to the server.
[0021] The server writes the server data in the server storage area of the first wearable device to the server storage area of the second wearable device according to the received migration instruction of the server data; the second wearable device is configured according to the server data in the server storage area of the second wearable device.
[0022] When no migration instruction for the server data is received but a migration instruction for the local data is received, the first wearable device transmits the local data to the second wearable device through a network connection channel generated by network matching, according to the migration instruction for the local data.
[0023] This implementation method provides the operations to be performed by the first wearable device and the second wearable device when only server data is transmitted and local data is not transmitted; or when only local data is transmitted and server data is not transmitted.
[0024] In some implementations of the data migration method for smart wearable devices, after the second wearable device is configured based on server data in the server storage area of the second wearable device, the method further includes:
[0025] The second wearable device determines whether the local data migration was successful;
[0026] The server determines whether the server data migration was successful.
[0027] When the second wearable device determines that the local data migration is successful and the server determines that the server data migration is successful, the server sends the result of the successful server data migration to the second wearable device watch. After receiving the result of the successful server data migration, the second wearable device sends a migration success signal to the first wearable device and then restarts.
[0028] When the first wearable device receives the migration success signal, the first wearable device returns to the home page.
[0029] This embodiment provides a method for a server and a second wearable device to confirm whether data migration has been successful, and subsequent operations to be performed based on the result of whether the migration was successful, thereby improving the user experience.
[0030] In a second aspect, the present invention provides an apparatus for migrating data in a smart wearable device, comprising:
[0031] The communication module is used to, when the first wearable device and the second wearable device successfully match the network, enable the first wearable device to send a request migration signal to the client, receive a feedback signal from the client based on the request migration signal, and receive a data migration instruction issued by the client and / or issued by the instruction input module of the first wearable device; and send the data migration instruction to the judgment module.
[0032] The judgment module is connected to the communication module and is used to determine whether the data migration instruction contains a server data migration instruction or a local data migration instruction.
[0033] The communication module further includes a data migration submodule, which is used to send the server data migration instruction to the server and transmit the local data to the second wearable device through a network connection channel generated by network matching according to the local data migration instruction when the first wearable device receives the server data migration instruction and the local data migration instruction.
[0034] The data migration submodule is further configured to have the server write the server data in the server storage area of the first wearable device to the server storage area of the second wearable device according to the received migration instruction of the server data; and the second wearable device is configured according to the server data in the server storage area of the second wearable device.
[0035] This implementation method provides a data migration method for a first wearable device and a second wearable device after the network matching identifies that the other is a device that needs to be migrated, through a communication module and its data migration submodule. The data migration between wearable devices includes migrating the data of the first wearable device stored on the server and the data stored locally on the first wearable device.
[0036] The implementation methods for data migration devices in some smart wearable devices also include:
[0037] A network matching module, connected to the communication module, is used to enable a network hotspot for the first wearable device and enable network scanning for the second wearable device; when the second wearable device successfully connects to the network hotspot of the first wearable device, the network matching between the first wearable device and the second wearable device is successful, and the successful network matching result is sent to the communication module.
[0038] This implementation provides a network matching module for identifying, through network matching, whether the other party is a device that is migrating data with the second wearable device.
[0039] Implementation methods for data migration devices in some smart wearable devices.
[0040] The data migration submodule is further configured to, when the first wearable device does not receive a migration instruction for the server data or a migration instruction for the local data, control the first wearable device to return to the homepage and send a rejection migration instruction to the second wearable device; the second wearable device returns to the homepage according to the rejection migration instruction.
[0041] This implementation method provides a signal interaction mechanism to inform the first and second wearable devices to stop data migration when the client refuses to migrate.
[0042] Implementation methods for data migration devices in some smart wearable devices.
[0043] The data migration submodule is further configured to, when the first wearable device receives the migration instruction for the server data but does not receive the migration instruction for the local data, send the server data migration instruction to the server; the server, according to the received server data migration instruction, writes the server data in the server storage area of the first wearable device to the server storage area of the second wearable device; the second wearable device is configured according to the server data in the server storage area of the second wearable device.
[0044] The data migration submodule is further configured to, when the first wearable device does not receive the migration instruction for the server data but receives the migration instruction for the local data, transmit the local data to the second wearable device through a network connection channel generated by network matching according to the migration instruction for the local data.
[0045] This implementation method provides the operations performed by the data migration submodule when the first wearable device and the second wearable device only transmit server data and not local data; or when only local data is transmitted and not server data is transmitted.
[0046] Implementation methods for data migration devices in some smart wearable devices.
[0047] The judgment module is further configured to determine whether the local data has been successfully migrated through the second wearable device, and whether the server data has been successfully migrated through the server; and send the judgment result of whether the migration was successful to the communication module.
[0048] The communication module is further configured to, when the second wearable device determines that the local data migration is successful and the server determines that the server data migration is successful, send the result of the successful server data migration to the second wearable device watch through the server; after receiving the result of the successful server data migration, the second wearable device sends a migration success signal to the first wearable device and then restarts; after receiving the migration success signal, the first wearable device returns to the homepage.
[0049] This implementation provides a judgment module to determine whether the data migration was successful and subsequent operations to be performed by the communication module based on the result of whether the migration was successful.
[0050] Compared with the prior art, the present invention has at least one of the following beneficial effects:
[0051] 1. This invention divides data into local data and server data for separate transmission. Local data is transmitted through a network connection channel between the first and second wearable devices, ensuring that large amounts of local data requiring privacy protection can be securely transmitted from the first wearable device to the second wearable device. Server data that does not require privacy protection is stored on the server, reducing the amount of local storage space occupied. Furthermore, transmitting some data directly locally saves time compared to transmitting all data through the server.
[0052] 2. This invention distinguishes the data that can be migrated from the first wearable device into local data and server data, which are transmitted separately. Users can choose whether to migrate these two types of data, thus avoiding the second wearable device having to receive too much useless data and improving the user experience.
[0053] 3. By analyzing the data migration results, this invention performs different operations on the first wearable device and the second wearable device, making it convenient for operators to quickly perform subsequent operations. Attached Figure Description
[0054] The preferred embodiments will now be described in a clear and easy-to-understand manner, in conjunction with the accompanying drawings, to further explain the above-mentioned characteristics, technical features, advantages, and implementation methods of the present invention.
[0055] Figure 1 This is a flowchart of an embodiment of a method for migrating data in a smart wearable device according to the present invention;
[0056] Figure 2 This is a flowchart of an embodiment of a method for migrating data in a smart wearable device according to the present invention;
[0057] Figure 3 This is a system block diagram of an embodiment of a device for migrating data in a smart wearable device according to the present invention.
[0058] The diagram numbers are as follows: 10--Communication module; 11--Data migration submodule; 20--Judgment module; 30--Network matching module. Detailed Implementation
[0059] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings and other implementation methods can be obtained based on these drawings without any creative effort.
[0060] To keep the drawings concise, each figure only schematically shows the parts relevant to the invention, and these do not represent the actual structure of the product. Furthermore, to facilitate understanding, in some figures, only one of components with the same structure or function is schematically depicted, or only one is labeled. In this document, "one" not only means "only one," but can also mean "more than one."
[0061] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0062] In this document, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; and they can refer to the internal communication between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0063] Furthermore, in the description of this application, the terms "send", "receive data", etc. are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0064] In one embodiment, refer to the appendix to the specification. Figure 1 This invention provides a method for migrating data between smart wearable devices, used for communication and interaction between a first wearable device, a second wearable device, and a client, comprising the following steps:
[0065] S110, when the first wearable device and the second wearable device successfully match on the network, the first wearable device sends a migration request signal to the client and receives a feedback signal from the client based on the migration request signal.
[0066] In step S110, the first wearable device and the second wearable device are two children's smartwatches: the first smartwatch and the second smartwatch. After the two smartwatches confirm that they are devices that need to migrate data, the first smartwatch asks the client whether data migration is required. The data to be migrated includes server data, which is usually data that does not require privacy protection, such as personalized settings; and / or local data, which is usually data that requires privacy protection, such as photos and images.
[0067] By having the client confirm whether they agree to the data migration between the first and second smartwatches, accidental operation by children can be prevented, thus avoiding data leakage from the watches.
[0068] S120, after the first wearable device determines that the feedback signal is a migration consent feedback signal, it continues to determine whether a data migration instruction has been received; the data migration instruction includes a server data migration instruction and a local data migration instruction, and the data migration instruction is issued by the client and / or issued by the first wearable device itself.
[0069] In step S120, if the first wearable device confirms that the client needs to migrate data, then the first wearable device determines whether it has received a data migration instruction from the client or input from the first wearable device's input terminal.
[0070] S130: When the server data migration instruction and the local data migration instruction are received, the first wearable device sends the server data migration instruction to the server, and transmits the local data to the second wearable device through the network connection channel generated by network matching according to the local data migration instruction.
[0071] In step S130, it is explained that when the request is to transfer server data and local data, the first wearable device directly transfers local data to the second wearable device, ensuring that the local data is secure and not leaked, and informing the server that server data needs to be transferred.
[0072] S140, the server writes the server data in the server storage area of the first wearable device to the server storage area of the second wearable device according to the migration instruction of the received server data; the second wearable device is configured according to the server data in the server storage area of the second wearable device.
[0073] Step S140 provides specific steps for the server to transmit server data from the first wearable device to the second wearable device.
[0074] This embodiment enables convenient and secure migration of locally stored information from the first wearable device to the second wearable device directly via a network connection between the two devices. This method, which establishes a local area network (LAN) between the wearable devices, offers better data privacy protection compared to server-based transmission and boasts faster speeds. Other data that does not require privacy protection remains stored on the server, reducing the amount of local storage space required. The migration process involves transferring server data from the first wearable device to the server storage area of the second wearable device, after which the server data is automatically written to the second wearable device.
[0075] This embodiment provides a method for migrating data in a smart wearable device based on the foregoing embodiments. Before step S110, when the first wearable device and the second wearable device successfully match networks, the method further includes:
[0076] The first wearable device turns on a network hotspot, and the second wearable device turns on network scanning;
[0077] When the second wearable device successfully connects to the network hotspot of the first wearable device, it is determined that the networks of the first wearable device and the second wearable device are successfully matched.
[0078] This embodiment provides a method for mutual identification between two wearable devices that need to migrate data. One wearable device turns on a hotspot, and the other device scans for hotspots. When the other device scans for a hotspot that matches a preset hotspot identifier, it joins the hotspot. Once the other device successfully joins the hotspot, the two wearable devices are successfully network matched, and the two wearable devices can directly transmit data through the network connection channel generated by the hotspot.
[0079] This embodiment provides a method for migrating data in a smart wearable device based on the foregoing embodiments. After the first wearable device determines whether the feedback signal contains a migration instruction for server data or a migration instruction for local data in step S120, the method further includes:
[0080] When the first wearable device does not receive a consent migration instruction from the client, the first wearable device returns to the home page and sends a refuse migration instruction to the second wearable device;
[0081] The second wearable device returns to the homepage upon receiving the migration rejection instruction.
[0082] This embodiment provides a method to notify the first and second wearable devices to stop data migration via signal interaction when the client refuses to migrate, and to perform subsequent operations after the first and second wearable devices receive the signal.
[0083] This embodiment provides a method for migrating data in a smart wearable device. After determining whether a data migration instruction has been received, the method further includes:
[0084] When it is determined that a migration instruction for server data has been received but no migration instruction for local data has been received, the first wearable device sends a migration instruction for server data to the server.
[0085] According to the migration instructions received from the server data, the server writes the server data in the server storage area of the first wearable device to the server storage area of the second wearable device; the second wearable device is configured according to the server data in the server storage area of the second wearable device.
[0086] If no migration instruction for server data is received, but a migration instruction for local data is received, then only local data will be transferred, and server data will not be transferred.
[0087] This embodiment provides the operations performed by the first wearable device and the second wearable device when only server data is transmitted and local data is not transmitted, or when migration instructions containing server data are transmitted but migration instructions not containing local data are transmitted.
[0088] This embodiment is based on the foregoing embodiments, and refers to the appendix to the specification. Figure 2 A method for migrating data in a smart wearable device is provided. After the second wearable device is configured according to server data in the server storage area of the second wearable device in step S140, the method further includes:
[0089] S141, The second wearable device determines whether the local data migration was successful;
[0090] S142, The server determines whether the server data migration was successful;
[0091] S143, when the second wearable device determines that the local data migration is successful and the server determines that the server data migration is successful, the server sends the result of successful server data migration to the second wearable device watch.
[0092] S144, After receiving the result of successful data migration from the server, the second wearable device sends a migration success signal to the first wearable device and then restarts.
[0093] S145, when the first wearable device receives the migration success signal, the first wearable device returns to the home page.
[0094] This embodiment provides a server and a second wearable device. After determining that the migration data is successful, the first wearable device that sent the migration data returns to the homepage, while the second wearable device that received the migration data is restarted to ensure that the updated migration data takes effect.
[0095] This embodiment provides a method for migrating data in a smart wearable device, based on the foregoing embodiments, including:
[0096] When the first wearable device and the second wearable device successfully match on the network, the first wearable device sends a migration request signal to the client and receives a migration consent feedback signal from the client based on the migration request signal.
[0097] Upon receiving the consent migration feedback signal, the first wearable device executes a first judgment process and a second judgment process. The first judgment process is used to determine whether the first wearable device has received a server data migration instruction, and the second judgment process is used to determine whether the first wearable device has received a local data migration instruction.
[0098] It should be noted that the server data migration command and the local data migration command can be sent by the client to the first wearable device and / or sent by the first wearable device itself. There are no restrictions on this. For example, when the client responds with the migration command, it can send both the server data migration command and the local data migration command to the first wearable device at the same time; or after the client responds with the migration command, the first wearable device can send both the server data migration command and the local data migration command itself.
[0099] The first and second judgment processes can be performed sequentially or simultaneously, and there is no restriction on this.
[0100] When the results of the first and second judgment processes are both yes, the first wearable device sends a server data migration instruction to the server, and transmits the local data to the second wearable device through the network connection channel generated by network matching according to the local data migration instruction.
[0101] According to the migration instructions received from the server data, the server writes the server data in the server storage area of the first wearable device to the server storage area of the second wearable device; the second wearable device is configured according to the server data in the server storage area of the second wearable device.
[0102] When the result of the first judgment process is yes and the result of the second judgment process is no, the first wearable device sends a server data migration instruction to the server. The server, according to the received server data migration instruction, writes the server data in the server storage area of the first wearable device to the server storage area of the second wearable device. The second wearable device is configured according to the server data in the server storage area of the second wearable device.
[0103] In addition, another preferred solution is provided for this embodiment: the client combines the consent migration feedback signal it sends to the first wearable device with the migration instruction of the server data, and sends the client feedback to the first wearable device; the first wearable device first determines whether it has received the consent migration feedback signal; if it has received it, it assumes that the server data needs to be migrated, and then only needs to determine whether the local data needs to be migrated; if it has not received the consent migration feedback signal, it does not perform the migration of server data and local data.
[0104] This embodiment provides a method for migrating data in a smart wearable device, based on the previous embodiment, including:
[0105] If both the first and second judgment results are yes, the third judgment process is executed, and the result of the third judgment process is whether the server data has been successfully transmitted through the server. Then, the fourth judgment process is executed, and the result of the fourth judgment process is whether the local data has been successfully transmitted through the second wearable device.
[0106] Based on the fact that both the first and second judgment results are yes, when both the results of the third and fourth judgment processes are yes, a migration success signal is sent to the first and second wearable devices; after receiving the migration success signal, the second wearable device restarts; the first wearable device and the restarted second wearable device display to the operator that the data migration is successful.
[0107] If both the first and second judgment results are yes, and both the third and fourth judgment results are no, a migration failure signal is sent to the first and second wearable devices. After receiving the migration failure signal, the first and second wearable devices display a data migration failure to the operator.
[0108] Based on the fact that both the first and second judgment results are yes, when the result of the third judgment process is yes and the result of the fourth judgment process is no, a signal indicating that the local data migration failed and the server data migration succeeded is sent to the first wearable device and the second wearable device; the second wearable device restarts; the first wearable device and the restarted second wearable device display to the operator that the local data migration failed and the server data migration succeeded.
[0109] Based on the fact that both the first and second judgment results are yes, when the result of the third judgment process is no and the result of the fourth judgment process is yes, a signal indicating that the local data migration was successful and the server data migration failed is sent to the first wearable device and the second wearable device; the first wearable device and the second wearable device display to the operator that the local data migration was successful and the server data migration failed.
[0110] If the first judgment result is yes and the second judgment result is no, only the third judgment process is executed. The result of the third judgment process is whether the server data has been successfully transmitted.
[0111] Based on the first judgment result being yes and the second judgment result being no, when the third judgment process is yes, a server data migration success signal is sent to the first wearable device and the second wearable device; after receiving the migration success signal, the second wearable device restarts; the first wearable device and the restarted second wearable device display to the operator that the server data migration is successful.
[0112] Based on the first judgment result being yes and the second judgment result being no, when the third judgment process is no, a server data migration failure signal is sent to the first wearable device and the second wearable device; after receiving the migration failure signal, the first wearable device and the second wearable device display the server data migration failure to the operator.
[0113] This embodiment provides a method, based on the previous embodiment, for the server and the second wearable device to determine whether the server data and local data have been successfully migrated. The first wearable device and the second wearable device then perform the following steps based on different migration results. For example, the server data usually stores the personalized settings of the wearable device. These settings often require a restart to take effect after being updated to the wearable device. Therefore, after the server data migration is successful, the device receiving the server data also needs to be restarted.
[0114] In one embodiment, refer to the appendix to the specification. Figure 3 The present invention provides a device for migrating data in a smart wearable device, comprising:
[0115] The communication module 10 is used to enable the first wearable device to send a request migration signal to the client when the first wearable device and the second wearable device successfully match the network, receive a feedback signal from the client based on the request migration signal, and receive a data migration command issued by the client and / or the command input module of the first wearable device; and send the data migration command to the judgment module 20.
[0116] The judgment module 20, connected to the communication module 10, is used to determine whether the data migration instruction contains a server data migration instruction or a local data migration instruction.
[0117] The communication module 10 also includes a data migration submodule 11. The data migration submodule 11 is used to send the server data migration instruction to the server when the first wearable device receives the server data migration instruction and the local data migration instruction, and to transmit the local data to the second wearable device through the network connection channel generated by network matching according to the local data migration instruction.
[0118] The data migration submodule 11 is also used for the server to write the server data in the server storage area of the first wearable device to the server storage area of the second wearable device according to the migration instruction of the received server data; the second wearable device is configured according to the server data in the server storage area of the second wearable device.
[0119] This embodiment provides a data migration method for a first wearable device and a second wearable device after the network matching identifies that the other is a device that needs to be migrated, through the communication module 10 and its data migration submodule 11. The data migration between wearable devices includes migrating the data of the first wearable device stored on the server and the data stored locally on the first wearable device.
[0120] This embodiment provides a device for migrating data in a smart wearable device, based on the foregoing embodiments, and further includes:
[0121] The network matching module 30 is connected to the communication module 10 and is used to enable the network hotspot of the first wearable device and enable network scanning of the second wearable device. When the second wearable device successfully connects to the network hotspot of the first wearable device, the network matching of the first wearable device and the second wearable device is successful, and the network matching result is sent to the communication module 10.
[0122] This embodiment provides a method where, through the network matching module 30, the first wearable device turns on a hotspot, and the second wearable device searches for devices with preset hotspot identifiers, ultimately identifying the other party as the device that is performing data migration with the second wearable device.
[0123] This embodiment, based on the foregoing embodiments, provides a device for migrating data in smart wearable devices.
[0124] The data migration submodule 11 is also used to control the first wearable device to return to the homepage and send a rejection migration instruction to the second wearable device when the first wearable device does not receive a migration instruction for server data or a migration instruction for local data; the second wearable device returns to the homepage according to the rejection migration instruction.
[0125] This embodiment provides a method to notify the first and second wearable devices to stop data migration via signal interaction when the client refuses to migrate, and to allow the first and second wearable devices to return to the homepage and wait for instructions.
[0126] This embodiment, based on the foregoing embodiments, provides a device for migrating data in smart wearable devices.
[0127] The data migration submodule 11 is also used to send a server data migration instruction to the server when the first wearable device receives a server data migration instruction but does not receive a local data migration instruction; the server writes the server data in the server storage area of the first wearable device to the server storage area of the second wearable device according to the received server data migration instruction; and the second wearable device performs configuration according to the server data in the server storage area of the second wearable device.
[0128] The data migration submodule 11 is also used to transmit the local data to the second wearable device through the network connection channel generated by network matching, according to the local data migration instruction, when the first wearable device does not receive the migration instruction of server data but receives the migration instruction of local data.
[0129] This embodiment provides the operations performed by the data migration submodule 11 when the first wearable device and the second wearable device only transmit server data and not local data, or only transmit local data and not server data.
[0130] This embodiment, based on the foregoing embodiments, provides a device for migrating data in smart wearable devices.
[0131] The judgment module 20 is also used to determine whether the local data migration was successful through the second wearable device and whether the server data migration was successful through the server; and to send the judgment result of whether the migration was successful to the communication module 10.
[0132] The communication module 10 is also used to send the result of successful server data migration to the watch of the second wearable device through the server when the second wearable device determines that the local data migration is successful and the server determines that the server data migration is successful. After receiving the result of successful server data migration, the second wearable device sends a migration success signal to the first wearable device and then restarts. After receiving the migration success signal, the first wearable device returns to the home page.
[0133] In this embodiment, the judgment module 20 determines whether the data migration is successful and the communication module 10 performs different operations on the first wearable device and the second wearable device based on the result of whether the migration is successful. For example, if the migration is successful, the first wearable device returns to the home page and displays the result of successful data migration to the operator; the second wearable device restarts the device and updates the device based on the migrated data.
[0134] It should be noted that the above embodiments can be freely combined as needed. The above are merely preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for migrating data in a smart wearable device, characterized in that, Communication and interaction between the first wearable device, the second wearable device, and the client includes the following steps: When the first wearable device and the second wearable device successfully match the network, the first wearable device sends a migration request signal to the client and receives a feedback signal from the client based on the migration request signal. After the first wearable device receives the feedback signal from the client indicating agreement to migrate, the first wearable device determines whether it has received a data migration instruction. The data migration instruction includes a server data migration instruction and a local data migration instruction. The data migration instruction is issued by the client and / or by the first wearable device itself. Upon receiving the agreement to migrate feedback signal, the first wearable device executes a first determination process and a second determination process. The first determination process determines whether the first wearable device has received a server data migration instruction, and the second determination process determines whether the first wearable device has received a local data migration instruction. When the first wearable device determines that it has received the migration instruction for the server data and the migration instruction for the local data, the first wearable device sends the migration instruction for the server data to the server, and transmits the local data to the second wearable device through the network connection channel generated by network matching according to the migration instruction for the local data; the local data is data that requires privacy protection. The server writes the server data in the server storage area of the first wearable device to the server storage area of the second wearable device according to the migration instruction received from the server data; the second wearable device is configured according to the server data in the server storage area of the second wearable device; the server data is data that does not require privacy protection.
2. The method for migrating data in a smart wearable device according to claim 1, characterized in that, Before the first wearable device sends a migration request signal to the client when the first wearable device and the second wearable device successfully match networks, the method further includes: The first wearable device activates a network hotspot, and the second wearable device activates network scanning; When the second wearable device successfully connects to the network hotspot of the first wearable device, it is determined that the networks of the first wearable device and the second wearable device are successfully matched.
3. A method for migrating data in a smart wearable device according to claim 1 or 2, characterized in that, After the first wearable device sends a migration request signal to the client, it further includes: If the client does not respond to the request migration signal, the first wearable device returns to the homepage and sends a migration rejection command to the second wearable device. The second wearable device returns to the homepage upon receiving the rejection migration instruction.
4. A method for migrating data in a smart wearable device according to claim 1 or 2, characterized in that, After the first wearable device determines whether it has received a data migration instruction, it further includes: When the first wearable device receives the migration instruction for the server data but does not receive the migration instruction for the local data, the first wearable device sends the migration instruction for the server data to the server. The server writes the server data in the server storage area of the first wearable device to the server storage area of the second wearable device according to the received migration instruction of the server data; the second wearable device is configured according to the server data in the server storage area of the second wearable device. When no migration instruction for the server data is received but a migration instruction for the local data is received, the first wearable device transmits the local data to the second wearable device through a network connection channel generated by network matching, according to the migration instruction for the local data.
5. The method for migrating data in a smart wearable device according to claim 1, characterized in that, After the second wearable device is configured according to server data in the server storage area of the second wearable device, the following is also included: The second wearable device determines whether the local data migration was successful; The server determines whether the server data migration was successful. When the second wearable device determines that the local data migration is successful and the server determines that the server data migration is successful, the server sends the result of the successful server data migration to the second wearable device watch. After receiving the result of the successful server data migration, the second wearable device sends a migration success signal to the first wearable device and then restarts. When the first wearable device receives the migration success signal, the first wearable device returns to the home page.
6. A device for migrating data in a smart wearable device, characterized in that, include: The communication module is used to, when the first wearable device and the second wearable device successfully match the network, enable the first wearable device to send a request migration signal to the client, receive a feedback signal from the client based on the request migration signal, and receive a data migration instruction issued by the client and / or issued by the instruction input module of the first wearable device; and send the data migration instruction to the judgment module. The judgment module is connected to the communication module and is used to determine whether the data migration instruction contains a server data migration instruction or a local data migration instruction. When the communication module receives the migration consent feedback signal, it executes the first judgment process and the second judgment process. The first judgment process is used to determine whether the first wearable device has received the server data migration instruction, and the second judgment process is used to determine whether the first wearable device has received the local data migration instruction. The communication module further includes a data migration submodule, which is used to send the server data migration instruction to the server and transmit the local data to the second wearable device through a network connection channel generated by network matching according to the local data migration instruction when the first wearable device receives the server data migration instruction and the local data migration instruction. Local data is data that requires privacy protection; The data migration submodule is further configured to, according to the received migration instruction for the server data, write the server data in the server storage area of the first wearable device to the server storage area of the second wearable device; The second wearable device is configured based on server data in the server storage area of the second wearable device; the server data is data that does not require privacy protection.
7. The device for migrating data in a smart wearable device according to claim 6, characterized in that, Also includes: A network matching module, connected to the communication module, is used to enable network hotspot for the first wearable device and enable network scanning for the second wearable device; When the second wearable device successfully connects to the network hotspot of the first wearable device, the first wearable device and the second wearable device are successfully network matched, and the result of the successful network matching is sent to the communication module.
8. A device for migrating data in a smart wearable device according to claim 6 or 7, characterized in that, The data migration submodule is further configured to, when the first wearable device does not receive a migration instruction for the server data or a migration instruction for the local data, control the first wearable device to return to the homepage and send a rejection migration instruction to the second wearable device; the second wearable device returns to the homepage according to the rejection migration instruction.
9. A device for migrating data in a smart wearable device according to claim 6 or 7, characterized in that, The data migration submodule is further configured to send the server data migration instruction to the server when the first wearable device receives the server data migration instruction but does not receive the local data migration instruction. According to the received migration instruction for the server data, the server writes the server data in the server storage area of the first wearable device to the server storage area of the second wearable device. The second wearable device is configured based on server data in the server storage area of the second wearable device; The data migration submodule is further configured to, when the first wearable device does not receive the migration instruction for the server data but receives the migration instruction for the local data, transmit the local data to the second wearable device through a network connection channel generated by network matching according to the migration instruction for the local data.
10. A device for migrating data in a smart wearable device according to claim 6 or 7. The judgment module is further configured to determine whether the local data has been successfully migrated through the second wearable device, and whether the server data has been successfully migrated through the server; and send the judgment result of whether the migration was successful to the communication module. The communication module is further configured to send a result of successful server data migration to the watch of the second wearable device through the server when the second wearable device determines that the local data migration is successful and the server determines that the server data migration is successful; after receiving the result of successful server data migration, the second wearable device sends a migration success signal to the first wearable device and then restarts. After receiving the migration success signal, the first wearable device returns to the homepage.