Data synchronization method, electronic device, and computer-readable storage medium
By introducing a second application with data access permissions for wearable devices into the terminal device, data synchronization operations are automatically performed, and the problems of low data synchronization efficiency and complex operation in the prior art are solved, and the effect of simplifying operations and improving efficiency is achieved.
Patent Information
- Application Number
- PCT/CN2024/097036
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-27
- Filing Date
- 2024-06-03
- Publication Date
- 2025-04-03
AI Technical Summary
In the prior art, when data synchronization of wearable devices such as smart watches is synchronized to unadapted applications in terminal devices, users are required to perform multiple data synchronization operations, resulting in low efficiency and complex operation.
By introducing a second application into the terminal device, the application has data access rights of the wearable device, and after receiving the data synchronization command, it starts the second application, automatically obtains data from the wearable device and synchronizes it to the first application, reducing the number of user operations.
This enables users to synchronize the data of the wearable device by just performing a data synchronization operation in the first application, simplifying the operation process and improving the data synchronization efficiency.
Smart Images

Figure CN2024097036_03042025_PF_FP_ABST
Abstract
Description
Data synchronization method, electronic device, and computer-readable storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on September 27, 2023, with application number 202311289163.1 and application name “Data synchronization method, electronic device and computer-readable storage medium”. The entire contents of the above application are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of data communication technology, and in particular to a data synchronization method, an electronic device, and a computer-readable storage medium. Background Art
[0003] Wearable devices like smartwatches and smart bracelets can not only display the current time but also monitor users' health data, such as running duration, distance, heart rate, blood oxygen saturation, and sleep time, to help users understand their health status. Wearable devices can connect to mobile phones, tablets, and other devices and synchronize their data with the connected devices, allowing users to view the data on the wearable devices.
[0004] However, when synchronizing the data of the wearable device to some applications in the terminal device that are not compatible with the wearable device (such as ), the user needs to perform multiple data synchronization operations to synchronize the data of the wearable device to the application. For example, Figure 1 shows a scene diagram of data synchronization between a mobile phone 100 and a smart watch 200. As shown in Figure 1, the mobile phone 100 includes a sports health application 10 and a smart watch 200. The smartwatch 200 includes a firmware program 30 (not shown). The smartwatch 200 can synchronize its own data with the data on the mobile phone 100. As shown in FIG2 , when the user wants to synchronize the data of the smart watch 200 with the data on the mobile phone 100 When the user first uses the mobile phone 100 to synchronize data with the health and fitness application 10 (compatible with the smart watch 200), the user needs to control the health and fitness application 10 on the mobile phone 100 to send a data synchronization request to the firmware program 30 of the smart watch 200. After receiving the request, the smart watch 200 can synchronize its own data with the health and fitness application 10 on the mobile phone 100. Execute the data synchronization operation again in the control phone 100 Send a data synchronization request to the sports health application 10 on the mobile phone 100 to request the sports health application 10 on the mobile phone 100 to synchronize the data of the smart watch 200 to the mobile phone 100.
[0005] The above data synchronization method is relatively complicated, requiring the user to perform multiple data synchronization operations to synchronize the data of the wearable device with the application adapted for the wearable device. The data synchronization efficiency is low and the operation is relatively complicated.
[0006] Summary of the Invention
[0007] Some embodiments of the present application provide a data synchronization method, an electronic device, and a computer-readable storage medium. The present application is introduced below from multiple aspects, and the implementation methods and beneficial effects of the following multiple aspects can be referenced to each other.
[0008] In a first aspect, the present application provides a data synchronization method, including: a first application of a first electronic device receives a first instruction, the first instruction is used to instruct to synchronize first data of a second electronic device to the first application of the first electronic device; the first application of the first electronic device starts the second application of the first electronic device; the second application of the first electronic device obtains the first data from the second electronic device and synchronizes the first data to the first application of the first electronic device; wherein the first application does not have data access rights of the second electronic device, and the second application has data access rights of the second electronic device.
[0009] The first electronic device can be a mobile phone, laptop, tablet computer, desktop computer or other terminal device connected to the wearable device. The second electronic device can be a smart watch, sports watch, bracelet, smart glasses, smart helmet or other wearable device. The first application can be The second application can be a sports and health application. The first data may be sports health data such as running time, running distance, heart rate, blood oxygen saturation, sleep time, etc.
[0010] According to an embodiment of the present application, when synchronizing first data of a second electronic device to a first application on a first electronic device, when the first application receives a data synchronization instruction, it can start the second application, obtain the first data from the second electronic device through the second application, and synchronize the data to the first electronic device. In this way, the user only needs to perform a data synchronization operation on the first application once to control the second application to synchronize the first data of the second electronic device to the first application, without having to perform a data synchronization operation on the second application, thereby reducing the number of user operations and improving data synchronization efficiency.
[0011] In some embodiments, a first application of a first electronic device launches a second application of the first electronic device, including: the first application opens a first interface of the second application based on a first link in the first application, wherein the first link is an opening link for the first interface of the second application.
[0012] The first link may be an interface link of the second application mentioned in this application, for example, The interface link of the active interface.
[0013] First application The second application is a sports health application. For example, the first interface is the data synchronization interface of the sports health application. When the user clicks When you click the Sync button on the activity interface, The data synchronization interface of the built-in sports health application can be linked to the interface to pull up the data synchronization interface of the sports health application to start the sports health application, and the data synchronization interface will display the progress of data synchronization.
[0014] According to the implementation of the present application, the first application of the first electronic device can open the first interface of the second application in its own interface, and the first interface can display the data synchronization progress of the second application, so that the user can intuitively understand the current data synchronization status.
[0015] In some embodiments, the first application of the first electronic device starts the second application of the first electronic device, further comprising: the first application sending a second instruction to the second application, wherein the second instruction is used to instruct the second application to start.
[0016] Among them, the second instruction can be the startup instruction mentioned in this application.
[0017] According to the implementation mode of the present application, after the first application of the first electronic device receives the data synchronization instruction, it can directly send a startup instruction to the second application to start the second application, and after the second application is started, it can perform the data synchronization task without the user starting and controlling the second application to perform the data synchronization task, thereby reducing user operations and improving user experience.
[0018] In some embodiments, the first application of the first electronic device starts the second application of the first electronic device, which also includes: the first application of the first electronic device pushes a first message to the second application of the first electronic device through a push server, wherein the first message is used to notify the second application to start.
[0019] Among them, the first message can be the data synchronization message pushed by the push server mentioned in this application to the second application of the first electronic device.
[0020] According to an embodiment of the present application, after a first application on a first electronic device receives a data synchronization instruction, it can use a push server to push a data synchronization message to a second application on the first electronic device, thereby notifying the second application on the first electronic device to start and perform the data synchronization task. Starting the second application through the push server has strong applicability and improves the flexibility of starting the second application.
[0021] In some embodiments, the first application of the first electronic device pushes the first message to the second application of the first electronic device through the push server, including: the first application of the first electronic device sends a first request to the push server through the first application server, wherein the first request is used to request the push server to push the first message to the second application of the first electronic device; wherein the first application server is associated with the first application of the first electronic device.
[0022] In a specific implementation, the first application may be the one mentioned in this application. The first application server may be the one mentioned in this application The first request can be Towards Data synchronization request sent.
[0023] In some embodiments, the second application of the first electronic device obtains the first data from the second electronic device and synchronizes the first data to the first application of the first electronic device, including: the second application of the first electronic device sends a second request to the firmware program of the second electronic device, wherein the second request is used to request the firmware program of the second electronic device to synchronize the first data of the second electronic device to the second application of the first electronic device; the second application of the first electronic device receives the first data synchronized by the firmware program of the second electronic device, and synchronizes the first data to the first application of the first electronic device.
[0024] The second request may be a data synchronization request sent by the second application of the first electronic device to the firmware program of the second electronic device mentioned in this application.
[0025] According to an embodiment of the present application, after the second application of the first electronic device is started, the first data of the second electronic device can be automatically synchronized to the first application of the first electronic device, without the need for the user to perform a data synchronization operation on the second application to control the second application to execute the data synchronization process, thereby reducing the number of user operations. In some embodiments, the second application of the first electronic device obtains the first data from the second electronic device and synchronizes the first data to the first application of the first electronic device, including: the second application of the first electronic device sends a second request to the firmware program of the second electronic device, wherein the second request is used to request the firmware program of the second electronic device to synchronize the first data of the second electronic device to the second application of the first electronic device; the second application of the first electronic device receives the first data synchronized by the firmware program of the second electronic device, and synchronizes the first data to the first application of the first electronic device.
[0026] In a specific implementation, the second application may be the sports health application mentioned in this application, and the second application server may be the sports health cloud mentioned in this application.
[0027] In some embodiments, the second application can also be installed on a third electronic device, and the method further includes: when the second application on the third electronic device is logged in using the same account as the second application on the first electronic device, the first electronic device synchronizes the first data to the second application on the third electronic device through the second application server.
[0028] The third electronic device may be a terminal device such as a laptop computer, a tablet computer, or a desktop computer installed with the second application.
[0029] For example, the first electronic device is a mobile phone, the second electronic device is a smartwatch, the third electronic device is a laptop, the second application is a sports health application, and the second application server is a sports health cloud. Both the mobile phone and the laptop are installed with the sports health application, and the sports health applications on the mobile phone and the laptop are logged into the same account. After the sports health application on the mobile phone synchronizes the data of the smartwatch to the sports health cloud, the sports health cloud can synchronize the data to the laptop. In this way, the data of the smartwatch can be synchronized to multiple devices of the user at one time without the user having to perform a data synchronization operation on each device, which reduces the user's operations and improves the efficiency of data synchronization.
[0030] In a second aspect, an embodiment of the present application provides a data synchronization method, the method comprising:
[0031] The second application of the first electronic device is started based on the received second message, wherein the second message is pushed to the first electronic device by the fourth electronic device requesting the second application server to notify the push server, and the second application server is associated with the second application of the first electronic device; the second application of the first electronic device obtains the first data from the second electronic device and synchronizes the first data to the fourth electronic device.
[0032] The first electronic device can be a mobile phone, laptop, tablet computer, desktop computer or other terminal device connected to the wearable device. The second electronic device can be a smart watch, sports watch, bracelet, smart glasses, smart helmet or other wearable device. The fourth electronic device can be an electronic device such as a car computer. The second application can be a sports health application. The first data may be sports health data such as running time, running distance, heart rate, blood oxygen saturation, sleep time, etc. The second message may be the data synchronization message mentioned in this application. The second application server is a server that provides data for the second application.
[0033] Take the first electronic device as a mobile phone, the second electronic device as a smart watch, the fourth electronic device as a car computer, the second application as a sports health application, and the second application server as a sports health cloud as an example. After the car computer system of the car computer is started, the data synchronization interface of the sports health cloud can be called to send a data synchronization request to the sports health cloud. After the sports health cloud receives the data synchronization request sent by the car computer, it can call the push service interface of the push server and send a data push data synchronization request to the push server to request the push server to push a data synchronization message to the sports health application on the mobile phone. After the sports health application on the mobile phone receives the data synchronization message pushed by the push server, it can obtain data such as running time, running distance, heart rate, blood oxygen saturation, etc. in the smart watch, and synchronize the data to the car computer.
[0034] According to the implementation of the present application, the fourth electronic device can directly launch the second application on the first electronic device through the push server. The second application of the first electronic device then obtains the first data of the second electronic device and synchronizes the first data to the fourth electronic device. In this way, the user does not need to manually launch the second application and perform data synchronization operations in the second application, which reduces user operations and improves data synchronization efficiency.
[0035] In some embodiments, the second application of the first electronic device obtains the first data from the second electronic device and synchronizes the first data to the fourth electronic device, including: the second application of the first electronic device sends a second request to the firmware program of the second electronic device, wherein the second request is used to request the firmware program of the second electronic device to synchronize the first data of the second electronic device to the second application of the first electronic device; the second application of the first electronic device synchronizes the first data of the second electronic device to the fourth electronic device through the second application server.
[0036] The second request may be a data synchronization request sent by a second application of the first electronic device to a firmware program of the second electronic device.
[0037] Continuing with the example of the first electronic device being a mobile phone, the second electronic device being a smart watch, the fourth electronic device being a car computer, the second application being a sports health application, and the second application server being a sports health cloud. When the sports health application on the mobile phone receives a data synchronization message pushed by the push server, if the sports health application supports silent message push, that is, the sports health application can directly respond to the message pushed by the push server to perform the corresponding action, then after the sports health application is started, it can directly respond to the data synchronization message and send a data synchronization request to the firmware program of the smart watch to request the firmware program of the smart watch to synchronize the data of the smart watch to the sports health application on the mobile phone. After the sports health application on the mobile phone receives the data synchronized by the firmware program of the smart watch, it can synchronize the data to the sports health cloud, and then the sports health cloud will synchronize the data to the car computer.
[0038] According to the implementation mode of the present application, when the second application of the first electronic device supports silent message push, that is, when the second application of the first electronic device can directly respond to the data synchronization message pushed by the push server to perform data synchronization actions, the user does not need to perform data synchronization operations on the second application of the first electronic device, and the first data of the first electronic device can be automatically synchronized to the fourth electronic device through the first application of the first electronic device, thereby realizing data synchronization without user perception and improving the efficiency of data synchronization.
[0039] In some embodiments, the second application of the first electronic device sends a second request to the firmware program of the second electronic device, including: the second application of the first electronic device displays a first component on the display screen of the first electronic device, wherein the first component includes prompt information for prompting to synchronize the first data of the second electronic device to the fourth electronic device; the second application of the first electronic device receives a first operation for the first component, wherein the first operation is used to synchronize the first data of the second electronic device to the fourth electronic device; the second application of the first electronic device sends a second request to the firmware program of the second electronic device in response to the first operation.
[0040] The first component may be an interactive component such as a pop-up window, a button, a text box, etc. The first operation may be a click, a long press, a left swipe, a right swipe, etc.
[0041] Continuing with the example of a mobile phone as the first electronic device, a smartwatch as the second electronic device, a car computer as the fourth electronic device, a sports health application as the second application, and a sports health cloud as the second application server, after the sports health application on the mobile phone receives a data synchronization message pushed by the push server, if the sports health application does not support silent message push, that is, the sports health application cannot directly perform the corresponding action in response to the push message, the sports health application can display a corresponding pop-up window on the mobile phone's display screen. This pop-up window includes a prompt message prompting the user to perform a data synchronization operation, such as "Data synchronization reminder: Your sports health data has not been synchronized. Please synchronize." When the user clicks the pop-up window, the mobile phone can directly jump to the data synchronization interface of the sports health application. The sports health application can then send a data synchronization request to the smartwatch firmware program to request that the smartwatch firmware program synchronize data with it. While the smartwatch firmware program synchronizes data with the sports health application on the mobile phone, the data synchronization interface can also display the data synchronization progress. It should be noted that the user can also control the mobile phone to jump to the data synchronization interface of the sports health application by long pressing, swiping left, swiping right, or other operations on the sports health application pop-up window.
[0042] According to the implementation of the present application, when the second application of the first electronic device does not support silent message push, that is, when the second application of the first electronic device cannot directly respond to the data synchronization message pushed by the push server to perform a data synchronization action, the user only needs to trigger the first component to synchronize the first data of the first electronic device to the fourth electronic device through the first application of the first electronic device. The operation is relatively simple and the data synchronization efficiency is improved. In some embodiments, the second application of the first electronic device synchronizes the first data of the second electronic device to the fourth electronic device through the second application server, including: the second application of the first electronic device synchronizes the first data of the second electronic device to the second application server; the second application server receives a third request sent by the fourth electronic device; the second application server synchronizes the first data of the second electronic device to the fourth electronic device in response to the third request.
[0043] The third request may be a data synchronization request sent by the fourth electronic device to the second application server.
[0044] Continuing with the example of a mobile phone as the first electronic device, a smartwatch as the second electronic device, a car computer as the fourth electronic device, a sports health application as the second application, and a sports health cloud as the second application server, after the second application on the mobile phone synchronizes the smartwatch data with the sports health cloud, the car computer system can proactively send a data synchronization request to the sports health cloud, requesting that the sports health cloud synchronize the smartwatch data with the car computer. In this way, the car computer system can proactively synchronize the smartwatch data with the sports health cloud.
[0045] In some embodiments, the second application server receives a third request sent by the fourth electronic device, including: the fourth electronic device obtains the data synchronization start time of the first data and the latest data synchronization completion time of the second application server; the fourth electronic device sends the third request to the second application server based on determining that the latest data synchronization completion time is greater than the data synchronization start time, so that the second application server receives the third request.
[0046] Continuing with the example of the first electronic device being a mobile phone, the second electronic device being a smartwatch, the fourth electronic device being a car computer, the second application being a sports health application, and the second application server being the sports health cloud. When the sports health cloud receives a data synchronization request from the car computer's onboard system, the sports health cloud can send the data synchronization start time to the car computer's onboard system, so that the car computer's onboard system obtains the data synchronization start time. When the smartwatch's data synchronization to the sports health application on the mobile phone is completed, the sports health application on the mobile phone records the data synchronization completion time and synchronizes the data synchronization completion time to the sports health cloud. The car computer's onboard system can then query the data synchronization completion time from the sports health cloud, that is, the latest data synchronization completion time, and then determine whether the latest data synchronization completion time is greater than the data synchronization start time. If so, it means that the sports health application on the mobile phone has synchronized the smartwatch's data to the sports health cloud. If not, it means that the sports health application on the mobile phone has not yet synchronized the smartwatch's data to the sports health cloud, and the car computer system needs to continue waiting for the set time.
[0047] In some cases, when data synchronization exceptions occur, to prevent the vehicle system from waiting indefinitely, you can set a maximum number of times the vehicle system executes the waiting process, for example, 3 times. When the maximum number of times the vehicle system executes the waiting process is reached, the data synchronization task is terminated.
[0048] According to an embodiment of the present application, the fourth electronic device can request the second application server to synchronize the first data of the second electronic device when the second application on the first electronic device has synchronized the data of the second electronic device to the second application server. This can avoid the fourth electronic device from frequently sending data synchronization requests to the second application server, thereby reducing the power consumption of the fourth electronic device.
[0049] In some embodiments, the second application server receives the third request sent by the fourth electronic device, including: the second application server receives the first data of the second electronic device synchronized by the second application of the first electronic device, and sends a third message to the fourth electronic device; the fourth electronic device receives the third message and sends a third request to the second application, so that the second application server receives the third request.
[0050] Continuing with the example of a mobile phone as the first electronic device, a smartwatch as the second electronic device, a car computer as the fourth electronic device, a sports health application as the second application, and a sports health cloud as the second application server, when the sports health application on the mobile phone synchronizes the smartwatch data with the sports health cloud and synchronization is complete, the sports health cloud can proactively notify the car computer system of the completion of data synchronization. After receiving this notification, the car computer system can directly request the sports health cloud to synchronize the smartwatch data without having to perform the data synchronization completion judgment action, thus saving power consumption of the car computer system.
[0051] In a third aspect, embodiments of the present application provide an electronic device, comprising: a memory for storing instructions executed by one or more processors of the electronic device; and a processor, which, when executing the instructions in the memory, causes the electronic device to perform the method described in any embodiment of the first aspect of the present application. The beneficial effects achieved in the third aspect can be referenced to the beneficial effects of the method provided in any embodiment of the first aspect and are not further elaborated here.
[0052] In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having instructions stored thereon. When executed on a computer, the instructions cause the computer to perform the method described in any embodiment of the first aspect. The beneficial effects achieved in the fourth aspect can be referenced to the beneficial effects of the method described in any embodiment of the first aspect and are not further elaborated here.
[0053] In a fifth aspect, embodiments of the present application provide a chip system comprising a processing circuit and a storage medium storing computer program code; the computer program code, when executed by the processing circuit, implements the method described in any embodiment of the first aspect. The beneficial effects achieved in the fifth aspect can be referenced to the beneficial effects of the method provided in any embodiment of the first aspect and are not further elaborated here.
[0054] In a sixth aspect, embodiments of the present application provide a computer program product, including a computer program / instructions. When executed, the computer program / instructions cause a computer to perform the method described in any embodiment of the first aspect. The beneficial effects achieved in the sixth aspect can be referenced to the beneficial effects of the method described in any embodiment of the first aspect and are not further elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 shows a scenario diagram of data synchronization between a mobile phone and a smart watch;
[0056] Figure 2 shows a schematic diagram of data synchronization between a mobile phone and a smart watch;
[0057] FIG3 shows an example diagram of data synchronization operations for an application health application;
[0058] Figure 4 shows Example diagram of data synchronization operation;
[0059] FIG5 is provided in the embodiment of the present application An example diagram of the data synchronization interface of the App Health app displayed in the activity interface;
[0060] FIG6 is a flowchart of a data synchronization method according to some embodiments;
[0061] FIG7 is a first example of a scenario of a data synchronization operation provided by an embodiment of the present application;
[0062] FIG8 is a second example of a scenario of a data synchronization operation provided by an embodiment of the present application;
[0063] FIG9 is a second flow chart illustrating an exemplary method for synchronizing data according to an embodiment of the present application;
[0064] FIG10 is a third example of a scenario of a data synchronization operation provided by an embodiment of the present application;
[0065] FIG11 is provided in the embodiment of the present application Example of a check-in scene;
[0066] FIG12 is a structural diagram of a data synchronization system according to an embodiment of the present application;
[0067] FIG13A is a first diagram illustrating a principle of data synchronization according to an embodiment of the present application;
[0068] FIG13B is a second diagram illustrating the principle of data synchronization provided by an embodiment of the present application;
[0069] FIG14A is a flowchart of a data synchronization method according to an embodiment of the present application;
[0070] FIG14B is a fourth flow chart illustrating an exemplary method for data synchronization according to an embodiment of the present application;
[0071] FIG15 is a fourth flow chart illustrating an example of a data synchronization method provided in some embodiments;
[0072] FIG16 is an example diagram of an interface of a vehicle system provided in an embodiment of the present application;
[0073] FIG17 is a fifth flow chart illustrating an exemplary method for synchronizing data according to an embodiment of the present application;
[0074] FIG18 is a fourth example of a scenario of a data synchronization operation provided by an embodiment of the present application;
[0075] FIG19 is a sixth flow chart illustrating an exemplary method for synchronizing data according to an embodiment of the present application;
[0076] FIG20 is a flowchart of a data synchronization method according to an embodiment of the present application;
[0077] FIG21 shows a block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0078] The embodiment of the present application is used to provide a data synchronization method. The method provided by the present application can reduce the user's data synchronization operations, facilitate the user to synchronize data, and improve the data synchronization efficiency and user operation experience.
[0079] As mentioned above, when the smart watch 200 synchronizes data to the mobile phone 100 As shown in Figure 3, when a user wants to synchronize the data of the smart watch 200 (for example, running time, running distance, heart rate, blood oxygen saturation, sleep time and other sports health data) to the data on the mobile phone 100, the user can synchronize the data of the smart watch 200 with the data on the mobile phone 100. To do so, you first need to open the sports health application 10 on the mobile phone 100, and then perform a pull-down refresh operation on the home interface of the sports health application 10, namely the health interface 11, for example, by sliding your finger downward from the top edge of the health interface 11. When the sports health application 10 on the mobile phone 100 detects the pull-down refresh operation, it can send a data synchronization request to the firmware program 30 of the smart watch 200, requesting the firmware program 30 of the smart watch 200 to synchronize the data of the smart watch 200 with the sports health application 10 on the mobile phone 100.
[0080] As shown in FIG4 , after the firmware program 30 of the smart watch 200 synchronizes the data of the smart watch 200 to the sports health application 10 on the mobile phone 100, the user can open the smart watch 200 on the mobile phone 100. Then click the data synchronization button H1 on the activity interface 21. When the data synchronization button H1 is detected to be clicked, a data synchronization request is sent to the sports health application 10 on the mobile phone 100. After receiving the request, the sports health application 10 on the mobile phone 100 can synchronize the firmware program 30 of the smart watch 200 with its own data and then synchronize it with the data on the mobile phone 100. The sports health application 10 on the mobile phone 100 synchronizes the data of the smart watch 200 to the back, Some business services can be provided to users based on this data. For example, when the sports health application 10 on the mobile phone 100 synchronizes the running data of the smart watch 200 to the running data on the mobile phone 100, When the phone is 100 You can complete the daily running check-in activity based on the running data.
[0081] According to the scenarios described in FIG3 and FIG4, the user needs to perform two data synchronization operations to synchronize the data of the smart watch 200 with the data on the mobile phone 100. The operation process is relatively complicated and the efficiency of data synchronization is low.
[0082] In order to solve the above technical problems, the present application provides a data synchronization method. In the method provided in the embodiment of the present application, the terminal device (such as a mobile phone) includes a first application (such as ) and a second application (such as a sports and health application). Among them, the first application is an application that has not been adapted to the firmware program 30 of the wearable device (such as a smart watch), and the second application is an application that has been adapted to the firmware program of the wearable device. When the first application receives a data synchronization instruction, the first application can start the second application. After the second application is started, it can send a data synchronization request to the firmware program of the wearable device to request the firmware program of the wearable device to synchronize the data of the wearable device to the second application. Then, the second application synchronizes the firmware program of the wearable device with its own data to the first application. In this way, the user only needs to perform a data synchronization operation once in the first application to synchronize the data of the wearable device to the first application. The data synchronization operation is relatively simple and can improve the efficiency of data synchronization.
[0083] For example, referring to FIG5, when the user opens the (As an example of the first application) and clicks the synchronization button H1 in the activity interface 21, The data synchronization interface M1 of the sports health application 10 (as an example of the second application) on the mobile phone 100 can be pulled up. When the data synchronization interface M1 of the sports health application 10 is pulled up, the sports health application 10 is started. After the sports health application 10 on the mobile phone 100 is started, the sports health application 10 on the mobile phone 100 can send a data synchronization request to the firmware program 30 of the smart watch 200 to request the firmware program 30 of the smart watch 200 to synchronize the data of the smart watch 200 to the sports health application 10 on the mobile phone 100. Then, the sports health application 10 on the mobile phone 100 synchronizes the data to the firmware program 30 of the smart watch 200. During data synchronization of the sports health application 10 on the mobile phone 100, the data synchronization interface M1 of the sports health application 10 can display the data synchronization progress of the sports health application 10. As shown in FIG5 , the data synchronization interface M1 shows that the current data synchronization progress of the sports health application 10 is 80%.
[0084] It is understandable that the above is just an example of a smart watch as a wearable device and a mobile phone as an example of a terminal device connected to the wearable device. As an example of the first application, a sports health application is used as an example of the second application. The smart watch can also be other wearable devices such as a sports watch, a wristband, smart glasses, and a smart helmet.
[0085] It is understandable that the mobile phone can also be other terminal devices connected to the smart watch, such as a laptop, tablet computer, desktop computer, etc. It can also be Applications that are not compatible with the firmware of wearable devices. Sports and health applications can also be and other applications adapted to the firmware of wearable devices.
[0086] For ease of understanding, before introducing the data synchronization method provided in the embodiment of the present application, the mobile phone 100 is taken as an example of a terminal device and the smart watch 200 is taken as an example of a wearable device. Taking the first application as an example, and the sports and health application 10 as an example of the second application, the specific process of the data synchronization method described in Figures 1 to 4 above is explained.
[0087] As shown in FIG6 , the mobile phone 100 The data synchronization process with the firmware program 30 of the smart watch 200 includes the following steps:
[0088] S101: The sports health application 10 on the mobile phone 100 is started.
[0089] In the embodiment of the present application, the sports health application 10 has been adapted to the firmware program 30 of the smart watch 200, has data access rights of the smart watch 200, and can interact with the firmware program 30 of the smart watch 200. It is not adapted to the firmware program of the smart watch 200 , does not have the data access authority of the smart watch 200 , and cannot interact with the firmware program 30 of the smart watch 200 .
[0090] 7 , when a user clicks the icon 10 ′ of the sports and health application 10 on the desktop L1 of the mobile phone 100 , the sports and health application 10 is started. After starting, the sports and health application 10 enters the health interface 11 .
[0091] S102: The sports health application 10 on the mobile phone 100 receives a data synchronization instruction.
[0092] In the embodiment of the present application, the data synchronization instructions may include data synchronization operation instructions, data synchronization voice instructions and other instructions.
[0093] For example, as shown in Figure 7, after the sports health application 10 on the mobile phone 100 is started and the health interface 11 is opened, when the user performs a data synchronization operation on the health interface 11, such as pulling down the health interface 11 to refresh, the sports health application 10 can receive the data synchronization operation instruction corresponding to the data synchronization operation.
[0094] For another example, after the sports health application 10 on the mobile phone 100 is started, when the user says "synchronize the data of the smart watch to "When a data synchronization voice instruction is received, the sports health application 10 can receive the data synchronization voice instruction.
[0095] S103 : The sports and health application 10 on the mobile phone 100 sends a data synchronization request to the firmware program 30 of the smart watch 200 .
[0096] In some embodiments, a communication connection may be established between the mobile phone 100 and the smart watch 200 using communication technologies such as Bluetooth and wireless fidelity (WIFI), so that data can be transmitted between the mobile phone 100 and the smart watch 200.
[0097] After receiving the data synchronization instruction, the sports health application 10 on the mobile phone 100 can send a data synchronization request to the firmware program 30 of the smart watch 200. For example, as shown in Figure 7, when the user pulls down the health interface 11 of the sports health application 10 to refresh, the sports health application 10 on the mobile phone 100 sends a data synchronization request to the firmware program 30 of the smart watch 200 in response to this operation.
[0098] S104 : The firmware program 30 of the smart watch 200 synchronizes data with the sports and health application 10 on the mobile phone 100 .
[0099] For example, as shown in Figure 7, when the firmware program 30 of the smart watch 200 receives a data synchronization request sent by the sports health application 10 on the mobile phone 100, the firmware program 30 of the smart watch 200 can synchronize the data of the smart watch 200 (for example, running time, running distance, heart rate, blood oxygen saturation, sleep time, etc.) to the sports health application 10 on the mobile phone 100.
[0100] S105: On mobile phone 100 start up.
[0101] For example, as shown in FIG8 , when the user clicks on the desktop L1 of the mobile phone 100 Icon 20 ', the phone 100 Start and display the home page interface L2.
[0102] S106: On mobile phone 100 Received a data synchronization instruction.
[0103] In the embodiment of the present application, the data synchronization instructions include data synchronization operation instructions, data synchronization voice instructions and other instructions.
[0104] For example, as shown in FIG8 , on the mobile phone 100 After starting and displaying the home page interface L2, when the user clicks the check-in button H2 on the home page interface L2, Open the activity interface 21. The activity interface 21 is used to display activity information, such as the time when the user joined the activity, the user's running record, the number of days the user has clocked in, the user's cumulative running volume (i.e., cumulative running distance), etc. When the user performs a data synchronization operation on the activity interface 21, such as clicking the synchronization button H1 on the activity interface 21, A data synchronization operation instruction corresponding to the data synchronization operation may be received.
[0105] For example, on the mobile phone 100 After starting and displaying the home page interface L2, when the user says a data synchronization voice command such as "synchronize data", The data can be received in synchronization with voice commands.
[0106] S107: Mobile phone 100 A data synchronization request is sent to the sports health application 10 on the mobile phone 100 .
[0107] Mobile 100 After receiving the data synchronization instruction, a data synchronization request may be sent to the sports health application 10 on the mobile phone 100 .
[0108] S108: The sports health application 10 on the mobile phone 100 sends Synchronize data.
[0109] The sports health application 10 on the mobile phone 100 receives the After sending the data synchronization request, in response to the request, the data of the smart watch 200 is synchronized to the data on the mobile phone 100.
[0110] S109: Mobile phone 100 Update the data and complete the clock-in task.
[0111] For example, as shown in FIG8 , the sports health application 10 on the mobile phone 100 synchronizes the data of the smart watch 200 to the data on the mobile phone 100. After that, refresh the activity interface 21 to update the time, running distance, running duration, and other data in the running record. For example, add the data "May 22, 3.4 kilometers 00:21:30" to the running record to complete the "Daily Run 3 kilometers activity" check-in task, update the number of days achieved from "14 days" to "15 days", and update the cumulative running distance from "47.6 kilometers" to "51 kilometers".
[0112] In the embodiment described in FIG. 6 , it can be seen from steps S102 and S106 that the user needs to perform two data synchronization operations to synchronize the data of the smart watch 200 with the data on the mobile phone 100. The data synchronization operation steps are more, and the data synchronization path is longer and time-consuming. In order to reduce the number of data synchronization operations of the user and improve the efficiency of data synchronization, the data of the smart watch 200 is synchronized to the data on the mobile phone 100. In the process, you can To pull up the sports health application 10, the sports health application 10 synchronizes the data of the smart watch 200 to The user does not need to perform data synchronization operations in the sports health application 10, thus reducing the user's data synchronization operations and improving the user experience.
[0113] The following is an introduction to the technical solution of the data synchronization method provided in the embodiment of the present application.
[0114] FIG9 shows a flow chart of an example of a data synchronization method provided in an embodiment of the present application.
[0115] For ease of understanding, we will continue to use smart watches as an example of wearable devices, and mobile phones as an example of terminal devices connected to wearable devices. Taking a sports and health application as an example of a first application and a sports and health application as an example of a second application, the data synchronization method provided in an embodiment of the present application is introduced.
[0116] As shown in FIG9 , the method includes the following steps:
[0117] S201: Mobile phone 100 start up.
[0118] In some embodiments, as shown in FIG10 , when the user clicks on the desktop L1 of the mobile phone 100 Icon 20 ', the phone 100 start up.
[0119] S202: On mobile phone 100 Received a data synchronization instruction.
[0120] In the embodiment of the present application, the data synchronization instructions include data synchronization operation instructions, data synchronization voice instructions and other instructions.
[0121] For example, as shown in FIG10 , on the mobile phone 100 After starting and displaying the home page interface L2, when the user clicks the check-in button H2 on the home page interface L2, Open the activity interface 21. The activity interface 21 is used to display activity information, such as the time when the user joined the activity, the user's running record, the number of days the user has clocked in, the user's cumulative running volume (i.e., cumulative running distance), etc. When the user performs a data synchronization operation on the activity interface 21, such as clicking the synchronization button H1 on the activity interface 21, A data synchronization operation instruction corresponding to the data synchronization operation may be received.
[0122] For example, on the mobile phone 100 After starting and displaying the home page interface L2, when the user says a data synchronization voice command such as "synchronize data", The data can be received in synchronization with voice commands.
[0123] S203: On mobile phone 100 The sports health application 10 on the mobile phone 100 is started.
[0124] In some embodiments, the mobile phone 100 After receiving the data synchronization instruction, the sports health application 10 can be started using deep link technology.
[0125] For example, as shown in Figure 10, when the user clicks When the synchronization button H1 is pressed on the activity interface 21, The data synchronization interface M1 of the sports health application 10 can be opened in the activity interface 21 through the interface link of the data synchronization interface M1 of the sports health application 10. The interface link of the data synchronization interface M1 of the sports health application 10 is pre-set in When the data synchronization interface M1 of the sports health application 10 is pulled up, the sports health application 10 is started. The data synchronization interface M1 can display the data synchronization progress of the sports health application 10, so that the user can intuitively understand the current data synchronization process.
[0126] In the example shown in FIG10 , for power consumption considerations, the call to the data synchronization interface M1 can be restricted to prevent the user from frequently calling the data synchronization interface M1 and increasing the power consumption of the mobile phone 100 and the smart watch 200. For example, the number of times the data synchronization interface M1 can be called per day can be set, such as 10 times, or the interval between calls to the data synchronization interface M1 can be set, such as 300 seconds.
[0127] In other embodiments, when the user clicks When the synchronization button H1 is pressed on the activity interface 21, A startup instruction may be sent to the sports health application 10 to instruct the sports health application 10 to start.
[0128] S204 : The sports and health application 10 on the mobile phone 100 sends a data synchronization request to the firmware program 30 of the smart watch 200 .
[0129] In some embodiments, a communication connection can be established between the mobile phone 100 and the smart watch 200 using communication technologies such as Bluetooth and WIFI, so that data can be transmitted between the mobile phone 100 and the smart watch 200.
[0130] After the sports health application 10 on the mobile phone 100 is started, the mobile phone 100 can send a data synchronization request to the firmware program 30 of the smart watch 200 to request the firmware program 30 of the smart watch 200 to synchronize data with the sports health application 10 on the mobile phone 100 .
[0131] S205 : The firmware program 30 of the smart watch 200 synchronizes data with the sports and health application 10 on the mobile phone 100 .
[0132] After the firmware program 30 of the smart watch 200 receives the data synchronization request sent by the sports health application 10 on the mobile phone 100, it can synchronize the data of the smart watch 200 (for example, running duration, running distance, heart rate, blood oxygen saturation, sleep time and other sports health data) to the sports health application 10 on the mobile phone 100.
[0133] S206: The sports health application 10 on the mobile phone 100 sends Synchronize data.
[0134] After the sports health application 10 on the mobile phone 100 receives the data synchronized by the firmware program of the smart watch 200, the data can be synchronized to the smart watch 200 on the mobile phone 100.
[0135] It should be noted that, during the process of the sports health application 10 performing the data synchronization task, the sports health application 10 can synchronize all the data that needs to be synchronized this time to the smart watch 200, and then synchronize the data to the smart watch 200. It is also possible to receive data from the smart watch 200 and synchronize the data to the smart watch 200. The embodiment of the present application does not limit the method of data synchronization.
[0136] S207: On mobile phone 100 Update the data and complete the clock-in task.
[0137] In some embodiments, the mobile phone 100 After receiving the data synchronized with the sports health 10 on the mobile phone 100, the data can be updated and the check-in task can be completed.
[0138] For example, as shown in FIG11 , when the sports health application 10 completes the data synchronization task, the data synchronization interface M1 of the sports health application 10 is displayed. The activity interface 21 of the smartwatch 200 displays "Data synchronization completed", indicating that the sports health application 10 has synchronized all the data of the smartwatch 200 that needs to be synchronized to the smartwatch 200. After the sports health application 100 completes the data synchronization task, the data synchronization interface M1 can be closed, so that the mobile phone 100 returns to the Activity interface 21. In this process, You can refresh the activity interface 21 to update the time, running distance, running duration, and other data in the running record. For example, you can add the data "May 22, 3.4 kilometers 00:21:30" to the running record, complete the "Daily Run 3 kilometers activity" check-in task, update the number of days achieved from "14 days" to "15 days", and update the cumulative running distance from "47.6 kilometers" to "51 kilometers".
[0139] In an embodiment of the present application, the user does not need to perform two data synchronization operations in the first application and the second application, but only needs to perform one data synchronization operation in the first application to synchronize the data of the wearable device to the first application. The number of data synchronization operations is small, the data synchronization path and duration are reduced, and the data synchronization efficiency is improved.
[0140] In the embodiment of the present application, the first application may be an ecologically integrated application, and the second application may be an ecologically open application. The following explains ecologically integrated applications and ecologically open applications in conjunction with the data synchronization system provided in the embodiment of the present application.
[0141] Figure 12 is a diagram illustrating the structure of a data synchronization system provided in an embodiment of the present application. As shown in Figure 12, the data synchronization system includes an ecological integration system and an ecological open system. The ecological integration system includes ecological integration applications and an ecological integration application cloud on a terminal device. The ecological open system includes a wearable device, an ecological open application on a terminal device connected to the wearable device, and an ecological open cloud.
[0142] Among them, wearable devices, ecological open applications on terminal devices and ecological open clouds are developed by the same ecological open manufacturer. Ecological open manufacturers are building terminal (such as mobile phones, tablets, smart watches, smart bracelets, etc.) interconnected ecosystems, such as Huawei, In the embodiments of this application, an open ecosystem application can be understood as an application compatible with a wearable device. The open ecosystem application has data access permissions for the wearable device and can access the wearable device's data. The open ecosystem cloud is a cloud computing platform or server that provides cloud services for the open ecosystem application and can provide corresponding business data for the open ecosystem application.
[0143] The eco-integrated applications and eco-integrated cloud on the terminal device are developed by the same eco-integrated manufacturer. Eco-integrated manufacturers can be understood as third-party application manufacturers. Eco-integrated applications can be understood as third-party applications (for example, Eco-integrated applications are not compatible with wearable devices and lack data access permissions. They cannot directly access wearable device data, meaning they cannot directly interact with wearable devices. However, they integrate capabilities provided by open ecosystem applications and can interact with these applications. Eco-integrated applications can interact with wearable devices through open ecosystem applications. The Eco-integrated Cloud is a cloud computing platform or server that provides cloud services for these applications, providing them with corresponding business data.
[0144] The following describes the process of synchronizing data from wearable devices to ecological integrated applications on terminal devices using the data synchronization system.
[0145] As shown in FIG13A, after the user generates data using the wearable device, the wearable device can synchronize the data to the ecological open application on the terminal device connected to it, and then the ecological open application on the terminal device synchronizes the data to the ecological integrated application on the terminal device. For example, in the example described in FIG9 above, the firmware program 30 of the smart watch 200 first synchronizes the data of the smart watch 200 to the sports health application 10 on the mobile phone 100, and then the sports health application 10 on the mobile phone 100 synchronizes the data to the integrated application on the mobile phone 100.
[0146] Since the data synchronization system also includes an ecological open cloud and an ecological integration cloud, the data of the wearable device can also be synchronized to the ecological integration application on the terminal device connected to it in combination with the ecological open cloud and the ecological integration. As shown in Figure 13B, after the user generates data using the wearable device, the wearable device can synchronize the data to the ecological open application on the terminal device connected to it, and then the ecological open application on the terminal device synchronizes the data to the ecological open application cloud on the terminal device. After the ecological open application cloud receives the data synchronized by the ecological open application on the terminal device, it can return the synchronization result to the ecological open application on the terminal device. After the ecological open application successfully synchronizes data to the ecological open cloud, the ecological open application cloud can synchronize the data to the ecological integration application cloud, and the ecological integration application cloud synchronizes the data to the ecological integration application on the terminal device.
[0147] Next, we will continue to use smart watches as an example of wearable devices and mobile phones as an example of terminal devices connected to smart watches. As an example of ecological integrated application (ie, the first application), the sports health application is used as an example of ecological open application (ie, the second application), and As an example of an ecologically integrated application cloud, the sports health cloud is taken as an example of an ecologically open cloud to specifically illustrate the data synchronization process described in FIG. 13B .
[0148] FIG14A is a second flow chart illustrating an example of a data synchronization method according to an embodiment of the present application.
[0149] As shown in FIG14A , the data synchronization method includes the following steps:
[0150] S301: On mobile phone 100 start up.
[0151] S302: On the mobile phone 100 Received a data synchronization instruction.
[0152] S303: On mobile phone 100 Launch the Sports Health app10.
[0153] S304: On mobile phone 100 A data synchronization request is sent to the firmware program 30 of the smart watch 200 .
[0154] S305 : The firmware program 30 of the smart watch 200 synchronizes data with the sports and health application 10 on the mobile phone 100 .
[0155] Steps S301 to S305 are substantially the same as the above-mentioned steps S201 to S205 and are not described again here.
[0156] Optionally, the sports health application 10 on the mobile phone 100 may execute steps S306 and S307 after receiving the data synchronized by the firmware program 30 of the smart watch 200 .
[0157] S306: The sports health application 10 on the mobile phone 100 records the data synchronization completion time.
[0158] When the sports health application 10 on the mobile phone 100 receives data synchronized by the firmware program 30 of the smart watch 200, it can record the data synchronization completion time when the firmware program 30 of the smart watch 200 synchronizes the data of the smart watch 200 to the sports health application 10, so as to synchronize the time to the sports health cloud 300.
[0159] S307: The sports health application 10 on the mobile phone 100 sends the data synchronization completion time to the sports health cloud 300.
[0160] The sports health cloud 300 is a cloud server associated with the sports health application 10 and can provide relevant data for the sports health application 10 .
[0161] After the sports health application 10 on the mobile phone 100 records the data synchronization completion time of the smart watch 200, the data synchronization completion time can be sent to the sports health cloud 300, so that the sports health cloud 300 can determine the latest synchronized data based on the data synchronization completion time, and then synchronize the latest synchronized data to the smart watch 200.
[0162] S308 : The sports and health application 10 on the mobile phone 100 synchronizes data with the sports and health cloud 300 .
[0163] After the sports health application 10 on the mobile phone 100 receives the data synchronized by the firmware program 30 of the smart watch 200 , the data can be synchronized to the sports health cloud 300 .
[0164] S309: Sports Health Cloud 300 Synchronize data.
[0165] is with The associated cloud server can be Provide relevant data.
[0166] After the sports health application 10 on the mobile phone 100 synchronizes the data of the smart watch 200 and the data synchronization completion time of the data to the sports health cloud 300, the sports health cloud 300 can determine the latest synchronized data based on the data synchronization completion time and synchronize the data to the smart watch 200.
[0167] In some embodiments, after the data of the smartwatch 200 is synchronized to the sports health cloud 300, the sports health cloud 300 can synchronize the data to the sports health application 10 installed on other terminal devices of the user. For example, when the user logs in to the sports health application on the laptop using the same account as the sports health application on the user's mobile phone 100, the sports health cloud 300 can synchronize the data to the sports health application on the laptop.
[0168] S310: To the mobile phone 200 Synchronize data.
[0169] After receiving the data of the smart watch 200 synchronized with the sports health cloud 300, the data can be synchronized to the smart watch on the mobile phone 100.
[0170] It is understandable that the data of the smart watch 200 is synchronized to back, The data can also be synchronized to other terminal devices installed by the user. For example, when the user's laptop and the user's mobile phone 100 are logged into the same account, the This data can be synchronized to the laptop computer
[0171] S311: Mobile phone 100 Update the data and complete the clock-in task.
[0172] Step S310 is substantially the same as the above-mentioned step S207 and will not be described again here.
[0173] In an embodiment of the present application, the data of the wearable device is synchronized to the cloud computing platform, and the cloud computing platform can synchronize the data of the wearable device to other associated devices connected to the wearable device without the user having to perform the data synchronization process again in the other associated devices, thereby improving the efficiency of data synchronization.
[0174] In the embodiment described in FIG. 14A above, the Directly start the sports health application 10. In some embodiments, the sports health application 10 on the mobile phone 100 can also be pulled up (started) by the push server. The following introduces the process of the push server pulling up the sports health application 10 on the mobile phone.
[0175] FIG14B is a third flow chart illustrating an example of a data synchronization method according to an embodiment of the present application.
[0176] As shown in FIG14B , the data synchronization method includes the following steps:
[0177] S401: On mobile phone 100 start up.
[0178] S402: On mobile phone 100 Received a data synchronization instruction.
[0179] Steps S401 to S402 are substantially the same as the above-mentioned steps S301 to S302 and will not be described again here.
[0180] S403: On mobile phone 100 Towards Send a data synchronization request.
[0181] For example, as shown in FIG10 , when the user Click the sync button H1 on the activity interface 21, the phone 100 Can Send a data synchronization request.
[0182] S404: A data synchronization request is sent to the push server 600 .
[0183] Received on mobile phone 100 After sending the data synchronization request, a data synchronization request may be sent to the push server 600 .
[0184] S405 : The push server 600 pushes a data synchronization message to the sports and health application 10 on the mobile phone 100 .
[0185] Push server 600 receives After sending the data synchronization request, a data synchronization message may be pushed to the sports health application 10 on the mobile phone 100 to launch the sports health application 10 on the mobile phone 100 .
[0186] In some embodiments, the push server 600 may first push the message to a push application on the mobile phone 100, which then pushes the message to the sports and health application 10 on the mobile phone 100. The push server 600 is associated with the push application on the mobile phone 100. The push application may be a resident application on the mobile phone 100. A resident application is an application that is always kept alive.
[0187] S406: The sports health application 10 on the mobile phone 100 is started.
[0188] After receiving the message pushed by the push server 600 , the sports health application 10 on the mobile phone 100 is started in response to the message.
[0189] S407: On mobile phone 100 A data synchronization request is sent to the firmware program 30 of the smart watch 200 .
[0190] S408 : The firmware program 30 of the smart watch 200 synchronizes data with the sports and health application 10 on the mobile phone 100 .
[0191] S409: The sports health application 10 on the mobile phone 100 records the data synchronization completion time.
[0192] S410: The sports health application 10 on the mobile phone 100 sends the data synchronization completion time to the sports health cloud 300.
[0193] S411: The sports health application 10 on the mobile phone 100 synchronizes data with the sports health cloud 300.
[0194] S412: Sports Health Cloud 300 Synchronize data.
[0195] S413: To the mobile phone 200 Synchronize data.
[0196] S414: Mobile phone 100 Update the data and complete the clock-in task.
[0197] Steps S407 to S414 are substantially the same as the above-mentioned steps S304 to S311 and are not described again here.
[0198] The embodiment of the present application provides another startup method, After starting, you can use the push server to start the sports health application on your phone. This method does not require you to pull up the interface link of the sports health application to start the sports health application, and does not require you to log in in advance. Setting up interface links for sports and health applications has strong applicability.
[0199] The embodiments described in Figures 9, 14A, and 14B above only synchronize data between two devices (a mobile phone and a smartwatch). In some scenarios, data synchronization between multiple devices is also required. For example, in a scenario where a mobile phone is connected to a smartwatch and a car computer, the smartwatch data must first be synchronized to the mobile phone, and then the mobile phone synchronizes the smartwatch data to the car computer, so that the car computer can provide corresponding business services to the user based on the smartwatch data.
[0200] The following uses smart watches, mobile phones, and car computers as examples to introduce the data synchronization process between multiple devices.
[0201] It should be noted that smart watches can also be other wearable devices such as bracelets, sports watches, smart glasses, smart helmets, etc., and mobile phones and car computers can also be other terminal devices such as laptops and tablets.
[0202] FIG15 is a third flowchart of a data synchronization method provided in some embodiments.
[0203] As shown in FIG15 , the data synchronization method includes the following steps:
[0204] S501: The sports health application 10 on the mobile phone 100 is started.
[0205] S502: The sports health application 10 on the mobile phone 100 receives a data synchronization instruction.
[0206] S503 : The sports and health application 10 on the mobile phone 100 sends a data synchronization request to the firmware program 30 of the smart watch 200 .
[0207] S504 : The firmware program 30 of the smart watch 200 synchronizes data with the sports and health application 10 on the mobile phone 100 .
[0208] Steps 501 to S504 are substantially the same as the above-mentioned steps S101 to S104 and will not be described again here.
[0209] S505 : The sports health application 10 on the mobile phone 100 synchronizes data with the sports health cloud 300 .
[0210] After the sports health application 10 on the mobile phone 100 receives the data synchronized by the firmware program 30 of the smart watch 200, the data can be synchronized to the sports health cloud.
[0211] S506: The vehicle system 40 of the vehicle computer 500 is started.
[0212] When the user turns on the vehicle computer 500 , the vehicle computer system 40 starts.
[0213] S507: The vehicle system 40 of the vehicle 500 sends a data synchronization request to the sports health cloud 300.
[0214] After the vehicle system 40 of the vehicle computer 500 is started, it can automatically send a data synchronization request to the sports and health cloud 300 to request the sports and health cloud 300 to synchronize the data of the smart watch 200 with it.
[0215] S508: The sports health cloud 300 synchronizes data with the vehicle system 40 of the vehicle 500 .
[0216] After receiving the data synchronization request sent by the vehicle system 40 of the vehicle 500 , the sports health cloud 300 can synchronize the data of the smart watch 200 to the vehicle system 40 of the vehicle 500 in response to the request.
[0217] S509: The vehicle system 40 of the vehicle 500 provides corresponding business services based on the synchronized data.
[0218] After the car system 40 of the car machine 500 receives the data of the smart watch 200 synchronized with the sports health cloud 300, it can provide corresponding business services to the user based on the data. For example, as shown in Figure 16, the data synchronized from the smart watch 200 to the car system 40 of the car machine 500 is the sleep duration (for example, 6 hours) and heart rate (for example, 80 beats / minute). The car system 40 can display corresponding prompt information in the pop-up window P1 on the main interface M2 based on the data, such as "Good morning, your sleep duration was short yesterday, and your current heart rate is normal. Please pay attention to driving safety" to remind the user to drive safely.
[0219] According to the above step S502, in this embodiment, when synchronizing the data of the smart watch 200 to the car system 40 of the car computer 500, the user needs to first perform a data synchronization operation on the sports health application 10 on the mobile phone 100 before the data of the smart watch 200 can be synchronized to the car system 40 of the car computer 500, and the data of the smart watch 200 cannot be automatically synchronized to the car system 40 of the car computer 500.
[0220] To enhance the user experience and enable seamless data synchronization, after the car system 40 of the car computer 500 is activated, it can send a data synchronization notification to the health and fitness app 10 on the mobile phone 100 via the cloud computing platform. This instructs the health and fitness app 10 on the mobile phone 100 to request the firmware 30 of the smartwatch 200 to synchronize data with it. This data is then synchronized to the cloud computing platform, which then synchronizes it to the car system 40 of the car computer 500. This allows the user to automatically synchronize data from the smartwatch 200 to the car system 40 of the car computer 500 without having to perform any data synchronization operations. This data synchronization method is described in detail below.
[0221] FIG17 is a fourth flow chart illustrating an example of a data synchronization method according to an embodiment of the present application.
[0222] S601: The vehicle system 40 of the vehicle 500 is started.
[0223] When the vehicle computer 500 is turned on, the vehicle computer system 40 of the vehicle computer 500 is started.
[0224] S602: The vehicle system 40 of the vehicle 500 calls the data synchronization interface of the sports and health cloud 300.
[0225] After the vehicle system 40 of the vehicle computer 500 is started, the data synchronization interface provided by the sports and health cloud 300 can be called to send a data synchronization request to the sports and health cloud 300.
[0226] S603: The sports health cloud 300 calls the push service interface of the push server 600.
[0227] The push server 600 is used to push messages, such as data synchronization messages, to the mobile phone 100.
[0228] After the sports health cloud 300 receives the data synchronization request sent by the car system 40 of the car computer 500, it can call the push service interface provided by the push server 600 and send a data synchronization request to the push server 600 to request the push server 600 to push the data synchronization message to the sports health application 10 on the mobile phone 100.
[0229] S604 : The push server 600 pushes a data synchronization message to the sports and health application 10 on the mobile phone 100 .
[0230] After receiving the data synchronization request sent by the sports health cloud 300, the push server 600 can push a data synchronization message to the sports health application 10 on the mobile phone 100 to notify the sports health application 10 on the mobile phone 100 to perform a data synchronization action.
[0231] S605 : The sports and health application 10 on the mobile phone 100 sends a data synchronization request to the firmware program 30 of the smart watch 200 .
[0232] In some embodiments, if the sports health app 10 on the mobile phone 100 supports silent message push, then when the sports health app 10 on the mobile phone 100 receives a data synchronization message pushed by the push server, it can automatically send a data synchronization request to the firmware program 30 of the smart watch 200 in response to the data synchronization message, requesting the firmware program 30 of the smart watch 200 to synchronize data with it. In this case, the user does not need to perform any operation to synchronize the data of the smart watch to the car computer, achieving data synchronization without the user's awareness.
[0233] In other embodiments, if the sports health application 10 of the mobile phone 100 does not support silent message push, then when the sports health application 10 on the mobile phone 100 receives the data synchronization message pushed by the push server, the sports health application 10 can display a first component on the display screen of the mobile phone 100. Among them, the first component can be an interactive component such as a pop-up window, a button, a text box, etc. The first component may include a prompt message for prompting the synchronization of the data of the smart watch 200 to remind the user to synchronize the data of the smart watch 200 to the mobile phone 100. For example, as shown in Figure 18, the sports health application 10 can display a pop-up window P2 (as an example of the first component) on the desktop L1 of the mobile phone 100. The pop-up window P2 can display a prompt message for data synchronization, such as "Data synchronization reminder: Your sports health data has not been synchronized, please synchronize". When the user clicks on the pop-up window P2, the mobile phone 100 can directly jump to the data synchronization interface M3 of the sports health application 10. At this time, the sports health application 10 can send a data synchronization request to the firmware program 30 of the smart watch 200 to request the firmware program 30 of the smart watch 200 to synchronize data with it. When the firmware program 30 of the smartwatch 200 synchronizes data with the sports and health application 10 on the mobile phone 100, the data synchronization interface M3 can also display the progress of the data synchronization. It should be noted that the user can also control the mobile phone 100 to jump to the data synchronization interface M3 of the sports and health application 10 by long pressing, swiping left, swiping right, or other operations on the pop-up window P2 of the sports and health application 10, without limitation.
[0234] In the embodiment depicted in FIG18 , although the sports health application 10 does not automatically perform data synchronization tasks, the data synchronization process is simplified. In the embodiment depicted in FIG18 , the user only needs to operate the pop-up window P2 once on the desktop L1 of the mobile phone 100 to control the sports health application 10 to perform data synchronization tasks, without having to first open the sports health application 10 on the desktop L1 of the mobile phone 100 and then control the sports health application to perform data synchronization tasks within the interface of the sports health application 10. This reduces the number of user operations and improves data synchronization efficiency.
[0235] S606 : The firmware program 30 of the smart watch 200 synchronizes data with the sports and health application 10 of the mobile phone 100 .
[0236] After the firmware program 30 of the smart watch 200 receives the data synchronization request sent by the sports health application 10 on the mobile phone 100, it synchronizes the data of the smart watch 200 (such as running duration, running distance, heart rate, blood oxygen saturation, sleep time and other sports health data) to the sports health application 10 on the mobile phone 100 in response to the request.
[0237] S607 : The sports health application 10 on the mobile phone 100 synchronizes data with the sports health cloud 300 .
[0238] After the firmware program 30 of the smart watch 200 synchronizes the data of the smart watch 200 to the sports health application 10 on the mobile phone 100 , the sports health application 10 on the mobile phone 100 can synchronize the data to the sports health cloud 300 .
[0239] S608: The sports health cloud 300 synchronizes data with the vehicle system 40 of the vehicle 500 .
[0240] After the health and fitness app 10 on the mobile phone 100 synchronizes the data from the smartwatch 200 with the health and fitness cloud 300, the health and fitness cloud 300 can synchronize the data with the vehicle system 40 of the vehicle computer 500. For the sake of narrative coherence, the process of synchronizing data from the health and fitness cloud 300 to the vehicle system 40 of the vehicle computer 500 is described in detail below.
[0241] S609: The vehicle system 40 of the vehicle 500 synchronizes data with the vehicle cloud 700.
[0242] Step S609 is substantially the same as the above-mentioned step S509 and will not be described again here.
[0243] In this embodiment of the present application, the car computer can launch the sports health app by sending a data synchronization message to the sports health app on the mobile phone through a push server. The sports health app then synchronizes the smartwatch data with the car computer. This eliminates the need for the user to manually launch the sports health app and then perform data synchronization operations within the sports health app to control the sports health app to synchronize the smartwatch data with the car computer. This reduces user operations and improves data synchronization efficiency.
[0244] The following describes the process of synchronizing data from the sports health cloud 300 to the vehicle system 40 of the vehicle 500.
[0245] FIG19 is a fifth flow chart of an example of a data synchronization method provided in an embodiment of the present application.
[0246] As shown in FIG19 , the data synchronization method includes the following steps:
[0247] S701: The vehicle system 40 of the vehicle 500 is started.
[0248] S702: The vehicle system 40 of the vehicle 500 calls the data synchronization interface of the sports health cloud 300.
[0249] S703: The sports health cloud 300 calls the push service interface of the push server 600.
[0250] Steps S701 to S703 are substantially the same as the above-mentioned steps S601 to S603 and will not be described again here.
[0251] S704: The sports health cloud 300 returns the data synchronization start time to the vehicle system 40 of the vehicle 500.
[0252] After the sports health cloud 300 calls the push service interface of the push server 600 , the sports health cloud 300 may return the data synchronization start time to the vehicle system 40 of the vehicle 500 .
[0253] S705 : The push server 600 pushes a data synchronization message to the sports and health application 10 on the mobile phone 100 .
[0254] S706 : The sports and health application 10 on the mobile phone 100 sends a data synchronization request to the firmware program 30 of the smart watch 200 .
[0255] S707 : The firmware program 30 of the smart watch 200 synchronizes data with the sports and health application 10 of the mobile phone 100 .
[0256] Steps S705 to S707 are substantially the same as the above-mentioned steps S604 to S606 and will not be described again here.
[0257] S708: The sports health application 10 on the mobile phone 100 records the data synchronization completion time.
[0258] After the sports health application 10 on the mobile phone 100 receives the data synchronized by the firmware program 30 of the smart watch 200 , it can record the data synchronization completion time of the synchronization of the data to the sports health application 10 .
[0259] S709: The sports health application 10 on the mobile phone 100 synchronizes data with the sports health cloud 300 and sends the data synchronization completion time.
[0260] After the sports health application 10 on the mobile phone 100 records the data synchronization completion time of the smart watch 200, it can synchronize the data of the smart watch 200 to the sports health cloud 300 and send the data synchronization completion time to the sports health cloud 300.
[0261] S710: The vehicle system 40 of the vehicle 500 waits for a set time period.
[0262] The set duration can be 10 seconds, 15 seconds, 20 seconds, etc.
[0263] The vehicle system 40 of the vehicle computer 500 must first wait for the sports health application 10 on the mobile phone 100 to synchronize the data of the smart watch 200 with the sports health cloud 300 before synchronizing the data of the smart watch 200 from the sports health cloud 300. Therefore, the vehicle system 40 of the vehicle computer 500 must wait for a period of time before executing the data synchronization action after the sports health application 10 on the mobile phone 100 completes the data synchronization.
[0264] S711: The vehicle system 40 of the vehicle 500 queries the sports health cloud 300 for the latest data synchronization completion time.
[0265] In some embodiments, after waiting for a set period of time, the vehicle system 40 of the vehicle 500 calls the message receipt interface provided by the sports health cloud 300 to query the latest data synchronization completion time of the sports health cloud 300.
[0266] S712: The sports health cloud 300 returns the latest data synchronization completion time to the vehicle system 40 of the vehicle 500.
[0267] After the vehicle system 40 of the vehicle 500 calls the message receipt interface provided by the sports and health cloud 300 , the sports and health cloud 300 queries the latest data synchronization completion time and returns the data synchronization completion time to the vehicle system 40 of the vehicle 500 .
[0268] S713: The vehicle system 40 of the vehicle 500 determines whether the latest data synchronization completion time is greater than the data synchronization start time.
[0269] If yes, go to step S714. If no, go to step S710.
[0270] After receiving the latest data synchronization completion time returned by the sports health cloud 300, the vehicle system 40 of the vehicle 500 can determine whether the data synchronization completion time is greater than the data synchronization start time. If so, it means that the sports health application 10 on the mobile phone 100 has synchronized the data of the smart watch 200 with the sports health cloud 300. If not, it means that the sports health application 10 on the mobile phone 100 has not yet synchronized the data of the smart watch 200 with the sports health cloud 300, and the vehicle system 40 needs to continue waiting for the set time.
[0271] In some cases, when data synchronization is abnormal, in order to prevent the vehicle system 40 from waiting forever, a maximum number of times the vehicle system 40 executes the waiting process can be set, for example, 3 times. When the vehicle system executes the waiting process the maximum number of times, the data synchronization task is terminated.
[0272] S714: The vehicle system 40 of the vehicle 500 sends a data synchronization request to the sports health cloud 300.
[0273] When the car system 40 of the car system 500 determines that the latest data synchronization completion time is greater than the data synchronization start time, the car system 40 can send a data synchronization request to the sports health cloud to request the sports health cloud 300 to synchronize the data of the smart watch 200 to the car system 40.
[0274] S715: The sports health cloud 300 synchronizes data with the vehicle system 40 of the vehicle 500.
[0275] After receiving the data synchronization request sent by the vehicle system 40 of the vehicle 500 , the sports health cloud 300 synchronizes the data of the smart watch 200 to the vehicle system 40 of the vehicle 500 in response to the data synchronization request.
[0276] S716: The vehicle system 40 of the vehicle 500 provides corresponding business services based on the synchronized data.
[0277] Step S716 is substantially the same as the above-mentioned step S509 and will not be described again here.
[0278] S717: The vehicle system 40 of the vehicle 500 synchronizes data with the vehicle cloud 700.
[0279] The vehicle-mounted cloud 700 is a cloud computing platform associated with the vehicle-mounted system 40 , and can provide data and services for the vehicle-mounted system.
[0280] After the car system 40 of the car computer 500 receives the data synchronized by the sports health cloud 300, it can synchronize the data to the car cloud 700, and the car cloud 700 stores the data of the smart watch 200, and synchronizes the data of the smart watch 200 to the car system of other vehicles of the user, such as the car system of other vehicles logged in to the same account as the car system 40 of the car computer 500.
[0281] It should be noted that the embodiment of the present application does not limit the order of step S716 and step S717.
[0282] In an embodiment of the present application, if the mobile phone's health and fitness app supports silent message push, the user can automatically synchronize the smartwatch's data with the in-vehicle system without performing any task operations, thus achieving data synchronization without the user's awareness. If the mobile phone's health and fitness app does not support silent message push, the user only needs to click the data synchronization prompt displayed on the mobile phone to synchronize the smartwatch's data with the in-vehicle system. This operation is relatively simple and the data synchronization efficiency is relatively high.
[0283] In the embodiment described in Figure 19 above, since the car system 40 of the car computer 500 cannot know whether the sports health application 10 on the mobile phone 100 has completed data synchronization, that is, it is impossible to execute whether the above step S709 is completed, it can only wait for a period of time, query the latest data synchronization completion time, and then judge whether the sports health application on the mobile phone 100 has completed data synchronization based on the latest data synchronization completion time, and then execute subsequent steps based on the judgment result.
[0284] In some embodiments, a user can subscribe to messages from the Sports and Health Cloud 300 on the vehicle system 40 of the vehicle computer 500, so that when the Sports and Health Cloud 300 data is updated, the vehicle system 40 can be notified. In this case, after the Sports and Health Cloud 300 receives the data synchronized by the sports and health application 10 on the mobile phone 100, it can notify the vehicle system 40 of the vehicle computer 500 that data synchronization is complete, without the vehicle system having to perform a determination process to determine whether data synchronization is complete. This data synchronization method is described in detail below.
[0285] FIG20 is a sixth flow chart of an example of a data synchronization method provided in an embodiment of the present application.
[0286] As shown in FIG20 , the data synchronization method includes the following steps:
[0287] S801: The vehicle system 40 of the vehicle 500 is started.
[0288] S802: The vehicle system 40 of the vehicle 500 calls the data synchronization interface of the sports health cloud 300.
[0289] S803: The sports health cloud 300 calls the push service interface of the push server 600.
[0290] S804: The sports health cloud 300 returns the data synchronization start time to the vehicle system of the vehicle 500.
[0291] S805: The push server 600 pushes a data synchronization message to the sports and health application 10 on the mobile phone 100.
[0292] S806 : The sports and health application 10 on the mobile phone 100 sends a data synchronization request to the firmware program 30 of the smart watch 200 .
[0293] S807 : The firmware program 30 of the smart watch 200 synchronizes data with the sports and health application 10 of the mobile phone 100 .
[0294] Steps S801 to S807 are substantially the same as the above-mentioned steps S701 to S707 and will not be described again here.
[0295] S808: The sports health application 10 on the mobile phone 100 synchronizes data with the sports health cloud 300.
[0296] After receiving the data synchronized by the firmware program 30 of the smart watch 200 , the sports health application 10 on the mobile phone 100 synchronizes the data to the sports health cloud 300 .
[0297] S809: The sports health cloud 300 notifies the vehicle system 40 of the vehicle 500 that data synchronization has been completed.
[0298] In this embodiment of the present application, the user has subscribed to messages from the Sports Health Cloud 300 on the vehicle system 40 of the vehicle 500. After the Sports Health Cloud 300 receives the data synchronized by the Sports Health App 10 on the mobile phone 100, it can send a data synchronization completion message to the vehicle system 40 to notify the vehicle system 40 of the completion of data synchronization.
[0299] S810: The vehicle system 40 of the vehicle 500 sends a data synchronization request to the sports health cloud 300.
[0300] After receiving the data synchronization completion message from the sports and health cloud 300 , the car system 40 of the car system 500 may send a data synchronization request to the sports and health cloud 300 to request the sports and health cloud 300 to synchronize the data of the smart watch 200 with it.
[0301] S811: The sports health cloud 300 synchronizes data with the vehicle system 40 of the vehicle 500.
[0302] S812: The vehicle system 40 of the vehicle 500 provides corresponding business services based on the synchronized data.
[0303] S813: The vehicle system 40 of the vehicle 500 synchronizes data with the vehicle cloud 700.
[0304] Steps S811 to S813 are substantially the same as the above-mentioned steps S715 to S717 and will not be repeated here.
[0305] In an embodiment of the present application, when a user subscribes to messages from the Sports Health Cloud on the vehicle system, in the process of synchronizing the data of the smart watch to the vehicle system, the vehicle system no longer needs to perform the judgment process of whether the data synchronization has been completed, thereby simplifying the data synchronization process.
[0306] FIG21 shows a schematic diagram of the structure of the electronic device 1000. The electronic device 1000 can be a terminal device such as a mobile phone or a car computer mentioned in this application, or a wearable device such as a smart watch mentioned in this application, or a push server mentioned in this application. As shown in FIG21 , the electronic device 1000 includes: one or more processors 1032, a communication interface 1033, a memory 1031, a bus system 1034, and one or more programs. Among them, the communication interface 1033, the processor 1032, and the memory 1031 are interconnected through the bus system 1034; the bus system 1034 can be a peripheral component interconnection standard bus or an extended industrial standard structure bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The one or more programs are stored in the memory 1031, and the one or more programs include instructions, which, when executed by the electronic device 1000, enable the electronic device 1000 to execute the relevant method in any of Figures 6, 9, 14A, 14B, 15, 17, 19, and 20.
[0307] The present application also provides a computer storage medium storing one or more programs, wherein the one or more programs include instructions that, when executed by the electronic device 1000, enable the electronic device 1000 to execute the relevant method in any of Figures 6, 9, 14A, 14B, 15, 17, 19, and 20.
[0308] The present application also provides a computer program product containing instructions. When the computer program product runs on the electronic device 1000, it enables the electronic device 1000 to execute the relevant method in any of Figures 6, 9, 14A, 14B, 15, 17, 19, and 20.
[0309] Among them, the electronic device, computer storage medium or computer program product provided in this application is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0310] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0311] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0312] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0313] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0314] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0315] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0316] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using a software program, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, database server, or data center to another website, computer, database server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a database server or data center that includes one or more media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium, or a semiconductor medium (eg, a solid state disk (SSD)).
[0317] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A data synchronization method, characterized in that: The method comprises: A first application of a first electronic device receives a first instruction, where the first instruction is used to instruct synchronization of first data of a second electronic device to the first application of the first electronic device; The first application of the first electronic device starts a second application of the first electronic device; The second application of the first electronic device obtains the first data from the second electronic device, and synchronizes the first data to the first application of the first electronic device; The first application does not have data access rights for the second electronic device, and the second application has data access rights for the second electronic device.
2. The method according to claim 1, characterized in that The first application of the first electronic device starts the second application of the first electronic device, including: The first application opens a first interface of the second application based on a first link in the first application, wherein the first link is an opening link of the first interface of the second application.
3. The method according to claim 1, characterized in that The first application of the first electronic device starts the second application of the first electronic device, further comprising: The first application sends a second instruction to the second application, wherein the second instruction is used to instruct the second application to start.
4. The method according to claim 1, characterized in that: The first application of the first electronic device starts the second application of the first electronic device, further comprising: The first application of the first electronic device pushes a first message to the second application of the first electronic device through a push server, wherein the first message is used to notify the second application to start.
5. The method according to claim 4, characterized in that The first application of the first electronic device pushes a first message to the second application of the first electronic device through a push server, including: The first application of the first electronic device sends a first request to the push server through a first application server, wherein the first request is used to request the push server to push the first message to the second application of the first electronic device; The first application server is associated with the first application of the first electronic device.
6. The method according to any one of claims 1 to 4, characterized in that: The second application of the first electronic device obtains the first data from the second electronic device, and synchronizes the first data to the first application of the first electronic device, including: The second application of the first electronic device sends a second request to the firmware program of the second electronic device, wherein the second request is used to request the firmware program of the second electronic device to synchronize the first data of the second electronic device to the second application of the first electronic device; The second application of the first electronic device receives the first data synchronized by the firmware program of the second electronic device, and synchronizes the first data to the first application of the first electronic device.
7. The method according to any one of claims 1 to 4, characterized in that: The second application of the first electronic device obtains the first data from the second electronic device and synchronizes the first data to the first application of the first electronic device, further comprising: The second application of the first electronic device sends a second request to the firmware program of the second electronic device, wherein the second request is used to request the firmware program of the second electronic device to synchronize the first data of the second electronic device to the second application of the first electronic device; The second application of the first electronic device receives the first data synchronized by the firmware program of the second electronic device, synchronizes the first data to a second application server, and the second application server synchronizes the first data to the first application of the first electronic device; The second application server is associated with the second application of the first electronic device.
8. The method according to claim 7, characterized in that The second application may also be installed on a third electronic device, and the method further includes: When the second application on the third electronic device is logged in using the same account as the second application on the first electronic device, the first electronic device synchronizes the first data to the second application on the third electronic device through the second application server.
9. A data synchronization method, characterized in that: The method comprises: The second application of the first electronic device is started based on the received second message, wherein the second message is pushed to the first electronic device by the fourth electronic device requesting the second application server to notify the push server, and the second application server is associated with the second application of the first electronic device; The second application of the first electronic device obtains first data from the second electronic device, and synchronizes the first data to the fourth electronic device.
10. The method according to claim 9, characterized in that The second application of the first electronic device obtains the first data from the second electronic device and synchronizes the first data to the fourth electronic device, including: The second application of the first electronic device sends a second request to the firmware program of the second electronic device, wherein the second request is used to request the firmware program of the second electronic device to synchronize the first data of the second electronic device to the second application of the first electronic device; The second application of the first electronic device synchronizes the first data of the second electronic device to the fourth electronic device through a second application server.
11. The method according to claim 10, characterized in that The second application of the first electronic device sends the second request to the firmware program of the second electronic device, including: The second application of the first electronic device displays a first component on a display screen of the first electronic device, wherein the first component includes prompt information for prompting synchronization of the first data of the second electronic device to the fourth electronic device; The second application of the first electronic device receives a first operation for the first component, wherein the first operation is used to synchronize the first data of the second electronic device to the fourth electronic device; The second application of the first electronic device sends the second request to the firmware program of the second electronic device in response to the first operation.
12. The method according to claim 10, characterized in that The second application of the first electronic device synchronizes the first data of the second electronic device to the fourth electronic device through the second application server, including: The second application of the first electronic device synchronizes the first data of the second electronic device to the second application server; The second application server receives a third request sent by the fourth electronic device; The second application server synchronizes the first data of the second electronic device to the fourth electronic device in response to the third request.
13. The method according to claim 12, characterized in that The second application server receives the third request sent by the fourth electronic device, including: The data synchronization start time of acquiring the first data by the fourth electronic device and the latest data synchronization completion time of the second application server; The fourth electronic device sends the third request to the second application server based on determining that the data synchronization completion time is greater than the data synchronization start time, so that the second application server receives the third request.
14. The method according to claim 12, characterized in that The second application server receives the third request sent by the fourth electronic device, including: The second application server receives the first data of the second electronic device synchronized by the second application of the first electronic device, and sends a third message to the fourth electronic device; The fourth electronic device sends the third request to the second application in response to the third message, so that the second application server receives the third request.
15. An electronic device, characterized in that: include: a memory for storing instructions executed by one or more processors of the electronic device; The processor, when executing the instructions in the memory, can enable the electronic device to execute any one of claims 1 to 8 or claims 9 to 14, the data synchronization method executed by the first electronic device.
16. A chip, characterized in that: The chip system includes a processing circuit and a storage medium, wherein the storage medium stores a computer program code; when the computer program code is executed by the processing circuit, the method according to any one of claims 1 to 8 or claims 9 to 14 is implemented.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the data synchronization method according to any one of claims 1 to 8 or claims 9 to 14.
Citation Information
Patent Citations
Data synchronization method, electronic equipment and computer readable storage medium
CN119718710A
Application message secure pushing system and method
CN106878377A
Vehicle control method and device, computer readable storage medium and wearable equipment
CN110723145A
Calendar data synchronization method and electronic equipment
CN115705121A
Data transmission method and system
CN116795310A