Data synchronization method, device, equipment, medium and product

By establishing a communication connection between the on-board terminal and the mobile terminal, using location information to identify whether the mobile terminal is in the vehicle, and sending a synchronization request, data synchronization between the on-board terminal and the mobile terminal is realized, and driving safety risks caused by users in the vehicle environment through mobile terminal operation are solved, and driving safety is improved.

CN119767400APending Publication Date: 2025-04-04ROX MOTOR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411977906.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

In a vehicle environment, users are accustomed to operating through mobile terminals, resulting in threats to driving safety.

Method used

By establishing a communication connection between the on-board terminal and the mobile terminal, the location information is used to identify whether the mobile terminal is in the vehicle, and sending a synchronization request when it is recognized in the vehicle, data synchronization between the on-board terminal and the mobile terminal is realized so that the on-board terminal can perform target services synchronously.

Benefits of technology

The situation of continuing to operate through the mobile terminal in the vehicle environment is effectively avoided, thereby improving driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119767400A_ABST
    Figure CN119767400A_ABST
Patent Text Reader

Abstract

The invention discloses a data synchronization method, device and equipment, a medium and a product, and relates to the technical field of vehicles. The method comprises the steps that a vehicle-mounted terminal obtains position information of a mobile terminal under the condition that the mobile terminal executes a target service and is in communication connection with the vehicle-mounted terminal, and sends a synchronization request to the mobile terminal under the condition that the mobile terminal is identified to be located in a vehicle according to the position information, and the synchronization request is used for requesting the vehicle-mounted terminal to synchronously execute the target service; the mobile terminal responds to the synchronization request, obtains synchronization information of the target service and sends the synchronization information to the vehicle-mounted terminal; and the vehicle-mounted terminal obtains service data of the target service according to the synchronization information, and synchronously executes the target service. According to the embodiment of the invention, the driving safety can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of vehicle technology, and in particular, relates to a data synchronization method, device, equipment, medium and product. Background Art

[0002] With the development of the Internet, the Internet of Vehicles has also been rapidly popularized and widely used in vehicles. It effectively connects various data devices and provides vehicles with reliable basic data service connection and interaction capabilities. Mobile terminals, as high-frequency devices used by users when they are out of the vehicle environment, have also brought great convenience to users. Whether it is the Internet of Vehicles or mobile terminals, users mainly use audio, video, map navigation and other related functions. After getting in the car, users often continue to operate through mobile terminals in the vehicle environment because they are accustomed to the operation of mobile terminals, which brings certain risks to driving safety. Summary of the invention

[0003] The embodiments of the present application provide a data synchronization method, device, equipment, medium and product, which can improve driving safety.

[0004] In a first aspect, an embodiment of the present application provides a data synchronization method, which is applied to a vehicle-mounted terminal, and the method includes:

[0005] When the mobile terminal executes the target service and is in communication connection with the vehicle-mounted terminal, obtaining the location information of the mobile terminal;

[0006] In the case where it is identified according to the location information that the mobile terminal is located in the vehicle, sending a synchronization request to the mobile terminal, the synchronization request being used to request the vehicle-mounted terminal to synchronously execute a target service, so that the mobile terminal responds to the synchronization request and obtains synchronization information of the target service;

[0007] Receiving the synchronization information sent by the mobile terminal;

[0008] Acquiring the service data of the target service according to the synchronization information;

[0009] The target service is synchronously executed according to the service data.

[0010] In a second aspect, an embodiment of the present application provides a data synchronization method, which is applied to a mobile terminal, and the method includes:

[0011] When the mobile terminal executes the target service and is in communication connection with the vehicle terminal, receiving a synchronization request sent by the vehicle terminal, wherein the synchronization request is a request sent by the vehicle terminal when the vehicle terminal recognizes that the mobile terminal is located in the vehicle according to the location information, and the synchronization request is used to request the vehicle terminal to synchronously execute the target service, and the location information is the location information of the mobile terminal acquired by the vehicle terminal;

[0012] In response to the synchronization request, acquiring synchronization information of the target service;

[0013] The synchronization information is sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal obtains the service data of the target service according to the synchronization information, and synchronously executes the target service according to the service data.

[0014] In a third aspect, an embodiment of the present application provides a data synchronization device, which is applied to a vehicle-mounted terminal, and the device includes:

[0015] A first acquisition module, used for acquiring the location information of the mobile terminal when the mobile terminal executes the target service and is in communication connection with the vehicle-mounted terminal;

[0016] A first sending module is used to send a synchronization request to the mobile terminal when it is identified according to the location information that the mobile terminal is located in the vehicle, wherein the synchronization request is used to request the vehicle-mounted terminal to synchronously execute a target service, so that the mobile terminal responds to the synchronization request and obtains synchronization information of the target service;

[0017] A first receiving module, used for receiving the synchronization information sent by the mobile terminal;

[0018] A second acquisition module, used to acquire the service data of the target service according to the synchronization information;

[0019] A synchronous execution module is used to synchronously execute the target business according to the business data.

[0020] In a fourth aspect, an embodiment of the present application provides a data synchronization device, which is applied to a mobile terminal, and the device includes:

[0021] A second receiving module is used to receive a synchronization request sent by the vehicle-mounted terminal when the mobile terminal executes the target service and is in communication connection with the vehicle-mounted terminal, the synchronization request is a request sent by the vehicle-mounted terminal when the vehicle-mounted terminal recognizes that the mobile terminal is located in the vehicle according to the location information, the synchronization request is used to request the vehicle-mounted terminal to synchronously execute the target service, and the location information is the information of the location of the mobile terminal obtained by the vehicle-mounted terminal;

[0022] A third acquisition module, configured to acquire synchronization information of the target service in response to the synchronization request;

[0023] The second sending module is used to send the synchronization information to the vehicle-mounted terminal, so that the vehicle-mounted terminal obtains the service data of the target service according to the synchronization information, and synchronously executes the target service according to the service data.

[0024] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the data synchronization method as described in any one of the above is implemented.

[0025] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the data synchronization method as described in any one of the above is implemented.

[0026] In a seventh aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes any one of the data synchronization methods described above.

[0027] In the data synchronization method, device, equipment, medium and product of the embodiment of the present application, the vehicle terminal can obtain the location information of the mobile terminal when the mobile terminal executes the target service and is connected to the vehicle terminal for communication, and send a synchronization request to the mobile terminal when it is identified that the mobile terminal is located in the vehicle according to the location information. The synchronization request is used to request the vehicle terminal to synchronously execute the target service; the mobile terminal responds to the synchronization request, obtains the synchronization information of the target service and sends the information to the vehicle terminal; the vehicle terminal then obtains the business data of the target service according to the synchronization information, and synchronously executes the target service. In this way, in the embodiment of the present application, when the mobile terminal executes the target service, the synchronization request can be triggered according to the location information of the mobile terminal, so as to realize the synchronous execution of the target service in the vehicle terminal, avoid the situation of continuing to operate through the mobile terminal in the vehicle environment, and thus improve the safety of driving. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0029] Figure 1 is an architecture diagram of a data synchronization system provided in an embodiment of the present application;

[0030] Figure 2It is a flowchart of a data synchronization method provided in an embodiment of the present application;

[0031] Figure 3 This is an architecture diagram of a scenario embodiment provided by an embodiment of the present application;

[0032] Figure 4 is a structural diagram of a data synchronization device provided in an embodiment of the present application;

[0033] Figure 5 is a structural diagram of another data synchronization device provided in an embodiment of the present application;

[0034] Figure 6 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0036] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0037] With the development of the Internet, the Internet of Vehicles has also been rapidly popularized and widely used in vehicles. It effectively connects various data devices and provides vehicles with reliable basic data service connection and interaction capabilities. Mobile terminals, as high-frequency devices used by users when they are out of the vehicle environment, have also brought great convenience to users. Whether it is the Internet of Vehicles or mobile terminals, users mainly use audio, video, map navigation and other related functions. After getting in the car, users often continue to operate through mobile terminals in the vehicle environment because they are accustomed to the operation of mobile terminals, which brings certain risks to driving safety.

[0038] In order to solve the problems of the prior art, the embodiments of the present application provide a data synchronization method, device, equipment, medium and product.

[0039] first, Figure 1 A framework diagram of a data synchronization system applicable to an embodiment of the present application is shown.

[0040] like Figure 1 As shown, the data synchronization system 100 may include: a vehicle-mounted terminal 101 and a mobile terminal 102 .

[0041] The vehicle-mounted terminal 101 can be a carrier applied to a vehicle and has information processing and computing functions. The vehicle-mounted terminal 101 also has good vehicle network data communication capabilities.

[0042] The mobile terminal 102 may be a computer device used on the move, and its mobility is mainly reflected in its mobile communication capability and portable size. By way of example, it includes but is not limited to a smart phone, a laptop computer, a tablet computer, a smart bracelet, etc.

[0043] A trusted digital key connection channel can be established between the vehicle-mounted terminal 101 and the mobile terminal 102 through wireless communication methods such as Bluetooth for sending, receiving and transmitting information and signals. The wireless communication method is not limited to Bluetooth and is not specifically limited in this embodiment.

[0044] The following is an introduction to the data synchronization method provided in the embodiment of the present application.

[0045] Figure 2 200 is a flow chart of a data synchronization method provided by an embodiment of the present application. Figure 1 The data synchronization system shown.

[0046] like Figure 2 As shown, a data synchronization method may include the following steps S201 to S208.

[0047] S201, the vehicle terminal obtains location information of the mobile terminal when the mobile terminal executes the target service and is in communication connection with the vehicle terminal;

[0048] S202, when the vehicle terminal recognizes that the mobile terminal is located in the vehicle according to the location information, the vehicle terminal sends a synchronization request to the mobile terminal, where the synchronization request is used to request the vehicle terminal to synchronously execute the target service;

[0049] S203, the mobile terminal obtains synchronization information of the target service in response to the synchronization request;

[0050] S204, the mobile terminal sends the synchronization information to the vehicle terminal;

[0051] S205, the vehicle terminal obtains the service data of the target service according to the synchronization information;

[0052] S206: The vehicle-mounted terminal synchronously executes the target service according to the service data.

[0053] In the data synchronization method of the embodiment of the present application, the vehicle terminal can obtain the location information of the mobile terminal when the mobile terminal executes the target service and is connected to the vehicle terminal for communication, and send a synchronization request to the mobile terminal when the mobile terminal is identified as being in the vehicle based on the location information. The synchronization request is used to request the vehicle terminal to synchronously execute the target service; the mobile terminal responds to the synchronization request, obtains the synchronization information of the target service and sends the information to the vehicle terminal; the vehicle terminal then obtains the service data of the target service based on the synchronization information, and synchronously executes the target service. In this way, in the embodiment of the present application, when the mobile terminal executes the target service, the synchronization request can be triggered based on the location information of the mobile terminal, so as to realize the synchronous execution of the target service in the vehicle terminal, avoid the situation where the mobile terminal continues to operate in the vehicle environment, and thus improve the safety of driving.

[0054] In S201, the target service may be a service being executed by the mobile terminal, and may include, for example, an audio and video service and a navigation service. The audio and video service refers to a service for playing audio and / or video content provided by the mobile terminal. The navigation service refers to services such as positioning, route planning, and real-time navigation provided by the mobile terminal.

[0055] The above-mentioned vehicle-mounted terminal is communicatively connected with the vehicle-mounted terminal. Exemplarily, the vehicle-mounted terminal and the vehicle-mounted terminal can be communicatively connected based on the above-mentioned trusted digital key connection channel.

[0056] The above-mentioned acquisition of the location information of the mobile terminal may be, for example, that the vehicle-mounted terminal uses ultra-wideband (UWB) technology to accurately measure the distance and angle between the vehicle and the mobile terminal, thereby determining the location of the mobile terminal.

[0057] In S202, the synchronization request may be used to request the vehicle-mounted terminal to synchronously execute the target service.

[0058] When the vehicle-mounted terminal identifies that the mobile terminal is located in the vehicle based on the location information, the vehicle-mounted terminal sends a synchronization request to the mobile terminal. For example, when the vehicle-mounted terminal identifies that the mobile terminal is located in the vehicle based on the location information, the vehicle-mounted terminal sends a synchronization request to the mobile terminal based on the trusted digital key connection channel.

[0059] In S203, the synchronization information may be information involved in data synchronization operations in order to ensure data consistency and real-time performance between the vehicle-mounted terminal and the mobile terminal. For example, when the target service is an audio-visual service, the synchronization information may include data information of a third-party music player, such as account information, random / loop mode set by the player, playlist, current song ID, music name, singer name, play status, current song play time, current song total play time, etc. When the target service is a navigation service, the synchronization information may include data information of a third-party map, such as account information, departure point, destination, current location, etc.

[0060] The mobile terminal obtains the synchronization information of the target service in response to the synchronization request. For example, the mobile terminal directly obtains the synchronization information of the target service in response to the synchronization request. Alternatively, the synchronization request may include location information, and the mobile terminal obtains the synchronization information of the target service only when it recognizes that the mobile terminal is located in the vehicle according to the location information in response to the synchronization request.

[0061] In S204, the mobile terminal sends the synchronization information to the vehicle terminal. For example, the mobile terminal may send the synchronization information to the vehicle terminal based on the trusted digital key connection channel.

[0062] In S205, the business data may refer to data generated in a specific business scenario and used to support business operations. For example, when the target business includes an audio and video business, the business data includes audio and video data, and when the target business includes a navigation business, the business data includes navigation data.

[0063] The vehicle terminal obtains the service data of the target service according to the synchronization information. For example, the vehicle terminal may log in to the vehicle terminal according to the account information in the data information of the third-party music player, and obtain the real-time audio stream data of the breakpoint from the relevant online music server through the Internet of Vehicles based on other information in the data information of the third-party music player. Alternatively, the vehicle terminal may log in to the vehicle terminal according to the account information in the data information of the third-party map, and request the corresponding navigation data from the third-party online map server through the Internet of Vehicles based on other information in the data information of the third-party map.

[0064] In S206, the vehicle terminal synchronously executes the target service according to the service data. For example, when the capacity of the audio and video data is greater than the preset capacity threshold, the vehicle terminal sends a preparation signal to the mobile terminal, so that the mobile terminal responds to the preparation signal, stops executing the audio and video service, and generates stop information, the stop information includes the stop playback time; the vehicle terminal receives the stop information sent by the mobile terminal; the vehicle terminal starts playing the audio and video data from the stop playback time. Alternatively, the vehicle terminal synchronously executes the navigation service according to the navigation data and generates a stop signal; the vehicle terminal sends a stop signal to the mobile terminal, so that the mobile terminal responds to the stop signal and stops executing the navigation service.

[0065] In some embodiments, the synchronization request may include location information, and the above S203 may specifically include:

[0066] The mobile terminal responds to the synchronization request and acquires synchronization information of the target service when it is identified according to the location information that the mobile terminal is located in the vehicle.

[0067] In an embodiment of the present application, the mobile terminal responds to the synchronization request and obtains the synchronization information of the target service only when it is identified that the mobile terminal is located in the vehicle based on the location information. This ensures that the data synchronization of the mobile terminal is switched to the vehicle-mounted terminal only when the user enters the vehicle. That is, the vehicle-mounted terminal will not frequently attempt to synchronize data, thereby reducing interference with the user's mobile terminal.

[0068] In some embodiments, when the target service includes an audio and video service, the service data includes audio and video data, and S206 may specifically include:

[0069] When the capacity of the audio and video data is greater than a preset capacity threshold, the vehicle terminal sends a preparation signal to the mobile terminal;

[0070] The mobile terminal stops executing the audio and video service in response to the preparation signal and generates stop information, wherein the stop information includes a stop playback time;

[0071] The mobile terminal sends the stop information to the vehicle terminal;

[0072] The vehicle terminal starts playing the audio and video data from the time when the playback was stopped.

[0073] The situation that the capacity of the audio and video data is greater than the preset capacity threshold means that the condition that the online music is about to start playing can be met. Among them, the preset capacity threshold can be set according to the actual needs of the user and is not specifically limited here.

[0074] The vehicle terminal sends a preparation signal to the mobile terminal. For example, the vehicle terminal may send a preparation signal to the mobile terminal based on the trusted digital key connection channel. Alternatively, the vehicle terminal may initiate an audio switching request to the internal audio and video manager. After determining the legitimacy of the authorized device and the compliance of the audio source switching, the audio and video manager switches to the corresponding audio and prepares to start playing. The vehicle terminal then sends a preparation signal to the mobile terminal through the digital key connection channel to notify the vehicle terminal that the audio data is ready to start playing.

[0075] The above-mentioned stop information may include stop success feedback and stop playing time. Among them, stop success feedback may refer to the confirmation information given to the vehicle terminal by the music player or device of the mobile terminal confirming that the stop operation has been successfully executed after the vehicle terminal sends a preparation signal. Stop playing time refers to the time point when the music player or device in the vehicle terminal stops playing music.

[0076] The mobile terminal sends the stop information to the vehicle-mounted terminal. Exemplarily, the mobile terminal may send the stop information to the vehicle-mounted terminal based on the trusted digital key connection channel.

[0077] In an embodiment of the present application, when the above-mentioned target service includes an audio and video service and the service data includes audio and video data, the vehicle-mounted terminal sends a ready signal to the mobile terminal when the capacity of the audio and video data is greater than a preset capacity threshold. The mobile terminal responds to the ready signal, stops executing the audio and video service and generates a stop message, and then sends the stop message to the vehicle-mounted terminal. The stop message includes a stop playback time, so that the vehicle-mounted terminal can start playing the audio and video data from the stop playback time, thereby realizing the synchronous execution of the audio and video service on the vehicle-mounted terminal, and the mobile terminal can stop executing the audio and video service without affecting the power consumption of the mobile terminal.

[0078] In some embodiments, when the target service includes a navigation service, the service data includes navigation data, and S206 may specifically include:

[0079] The vehicle terminal synchronously executes the navigation service according to the navigation data and generates a stop signal;

[0080] The vehicle-mounted terminal sends a stop signal to the mobile terminal;

[0081] The mobile terminal stops executing the navigation service in response to the stop signal.

[0082] The above stop signal is used to instruct the mobile terminal to stop executing the navigation service.

[0083] The vehicle terminal synchronously executes navigation services according to the navigation data and generates a stop signal. Exemplarily, the vehicle terminal performs functions such as map loading and navigation prompts according to the navigation data and the current position and generates a stop signal.

[0084] The vehicle-mounted terminal sends a stop signal to the mobile terminal. Exemplarily, the vehicle-mounted terminal may send a stop signal to the mobile terminal based on the trusted digital key connection channel.

[0085] In an embodiment of the present application, when the above-mentioned target service includes a navigation service and the service data includes navigation data, the vehicle-mounted terminal synchronously executes the navigation service according to the navigation data, and generates a stop signal and sends it to the mobile terminal, so that the mobile terminal responds to the stop signal and stops executing the navigation service, thereby realizing the synchronous execution of the navigation service on the vehicle-mounted terminal, and the mobile terminal can stop executing the navigation service without affecting the power consumption of the mobile terminal.

[0086] As an implementation of the present application, in order to reliably achieve data synchronization, before the above S202, the above method may further include:

[0087] The mobile terminal sends a registration request to the vehicle terminal, the registration request includes a first key, and the registration request is used to request the vehicle terminal to register a digital key;

[0088] The vehicle-mounted terminal receives the registration request sent by the mobile terminal;

[0089] The vehicle terminal decrypts the first key in response to the registration request to obtain a first verification result, where the first verification result is used to indicate whether the first key is correct;

[0090] The vehicle terminal generates a second key when the first verification result indicates that the first key is correct;

[0091] The second key sent by the vehicle-mounted terminal to the mobile terminal;

[0092] The mobile terminal decrypts the second key to obtain a second verification result, where the second verification result is used to indicate whether the second key is correct;

[0093] When the second verification result indicates that the second key is correct, the mobile terminal establishes a communication connection channel with the vehicle-mounted terminal;

[0094] The vehicle-mounted terminal generates a digital key for the mobile terminal and sends it to the mobile terminal based on the communication connection channel.

[0095] The above S202 may specifically include: the vehicle-mounted terminal sends a synchronization request to the mobile terminal based on the communication connection channel.

[0096] The above S204 may specifically include: the mobile terminal sends the synchronization information to the vehicle-mounted terminal based on the communication connection channel.

[0097] The above registration request can be used to request the vehicle terminal to register the digital key.

[0098] The vehicle terminal decrypts the first key by using the same decryption algorithm as that in the mobile terminal. The mobile terminal decrypts the second key in the same way, which is not repeated here. The first key and the second key can be different keys.

[0099] In an embodiment of the present application, a communication connection channel between the mobile terminal and the vehicle-mounted terminal can be securely established through two-way key verification between the vehicle-mounted terminal and the mobile terminal, and the vehicle-mounted terminal sends the generated digital key based on this communication connection channel. Finally, the mobile terminal and the vehicle-mounted terminal can reliably synchronize data based on this digital key connection channel.

[0100] In order to facilitate the understanding of the data synchronization method in the embodiment of the present application, the actual application process of this data synchronization method is described as follows:

[0101] This application provides a method for triggering synchronization of audio or map data based on the location information of a mobile phone digital key. When a user enters a vehicle, the entire vehicle terminal synchronizes the relevant data to the vehicle terminal for seamless playback based on the location information of the mobile terminal provided by the digital key function, and the music playback information and map navigation information provided by the mobile terminal. Figure 3 As shown in the structural diagram, the vehicle side includes a digital key subsystem, a vehicle networking subsystem, an in-vehicle entertainment system, etc. These three systems are divided based on their functions. Specifically, they may be three different hardware ECUs or integrated into at least one hardware ECU.

[0102] 1. Automatic synchronization of multimedia audio data (similar to the online video synchronization method):

[0103] (1) The mobile terminal and the vehicle establish a trusted digital key connection channel.

[0104] (2) When the vehicle determines that the mobile terminal is located in the vehicle and the vehicle power mode meets certain conditions (for example, it is in the ON position), the vehicle sends a request instruction (equivalent to the above-mentioned synchronization request) containing location information (equivalent to the above-mentioned location information) to the mobile terminal based on its digital key channel with the mobile terminal.

[0105] (3) After the Internet of Vehicles application of the mobile terminal receives the corresponding request instruction, it determines that the location meets the conditions and starts to obtain the data information of the third-party music player (such as account information, random / loop mode set by the player, playlist, current song ID, music name, singer name, play status, current song play time, current song total play time, etc.) (equivalent to the above-mentioned synchronization information) and transmits it to the vehicle end (when the mobile terminal app is not logged in, it mainly obtains the information of the currently playing music).

[0106] (4) The vehicle detects that the Internet of Vehicles has good data communication capabilities, and the corresponding third-party music player is logged in to the in-vehicle entertainment system. The vehicle obtains the real-time audio stream data (equivalent to the business data of the above-mentioned target business) of the breakpoint from the relevant online music server through the Internet of Vehicles. (If there are restrictions on the login device ID for the third-party audio player, then the method of associating the relevant hardware ID of the vehicle ECU with the hardware ID of the mobile terminal can be used)

[0107] (5) When the in-vehicle entertainment system has obtained a certain amount of audio data (which can meet the conditions for online music to start playing) through the Internet of Vehicles system, it initiates an audio switching request to its internal audio and video manager. After determining the legitimacy of the authorized device and the compliance of the audio source switching, the audio and video manager switches to the corresponding audio and prepares to start playing.

[0108] (6) The in-vehicle entertainment system notifies the mobile terminal through the digital key system (equivalent to the above-mentioned preparation signal) that the audio data on the in-vehicle side is ready to start playing. After receiving the notification, the mobile terminal stops playing the audio on the mobile terminal and feeds back a message of successful stop (equivalent to the above-mentioned stop information) to the vehicle side.

[0109] (7) After the vehicle-side in-vehicle entertainment system receives the notification from the mobile terminal (including the time point of stopping playback, i.e., the above-mentioned stop playback time), it immediately starts to continue playing the corresponding online audio data on the vehicle side.

[0110] 2. Automatic synchronization of navigation data:

[0111] (1) The digital key system of the mobile terminal and the vehicle establishes a trusted digital key connection channel.

[0112] (2) When the digital key system of the vehicle determines that the mobile terminal is located in the vehicle and the vehicle power mode meets certain conditions (for example, it is in the ON position), the vehicle sends a request instruction containing location information to the mobile terminal based on its digital key security channel with the mobile terminal.

[0113] (3) After receiving the corresponding request, the Internet of Vehicles application of the mobile terminal determines that the location meets the conditions, starts to obtain the data information of the third-party map being navigated (such as account information, departure point, destination, current location, etc.) (equivalent to the above-mentioned synchronization information), and transmits it to the vehicle end (the corresponding data is forwarded to the in-vehicle entertainment system via the digital key system)

[0114] (4) The in-vehicle entertainment system detects that the Internet of Vehicles has good data communication capabilities, and the corresponding third-party map application is logged in to the in-vehicle entertainment system on the vehicle side.

[0115] (5) The vehicle uses the relevant data provided by the mobile terminal to request the corresponding navigation data (equivalent to the business data of the above-mentioned target business) from the third-party online map server through the Internet of Vehicles, and performs functions such as map loading and navigation prompts in combination with the current location.

[0116] (6) The in-vehicle entertainment system notifies the mobile terminal through the digital key system (equivalent to the above-mentioned stop signal), and the mobile terminal's Internet of Vehicles application stops the navigation route planning of the third-party map application.

[0117] It should be noted that the data synchronization method can be set to automatic synchronization or authorized synchronization on the in-car entertainment system. For authorized synchronization, the user needs to confirm on the in-car entertainment system, and then the corresponding audio, video and map playback will be completely switched to the in-car entertainment system. The specific confirmation method can be manual confirmation through the button of the in-car entertainment system or voice command confirmation. In particular, for some mobile phones that support simultaneous navigation and music playback, the car side obtains online data of the two types of services, and the in-car entertainment system integrates the two types of data on the car side.

[0118] In the embodiment of the present application, the music or navigation functions can be switched to the vehicle side seamlessly and smoothly based on the automatic triggering of the mobile terminal location and other conditions, and based on a reliable and secure channel. In addition, only a small amount of breakpoint data is synchronized, and after the data synchronization is successful, the mobile phone side can exit the work, and the music or navigation and other related functions do not affect the power consumption of the mobile terminal.

[0119] Based on the data synchronization method provided in the above embodiment, the present application also provides a specific implementation of the data synchronization device. Please refer to the following embodiment.

[0120] like Figure 4As shown, a data synchronization device 400 provided in an embodiment of the present application is applied to a vehicle-mounted terminal. The device 400 may include the following modules: a first acquisition module 401, a first sending module 402, a first receiving module 403, a second acquisition module 404 and a synchronization execution module 405.

[0121] The first acquisition module 401 is used to acquire the location information of the mobile terminal when the mobile terminal executes the target service and is in communication connection with the vehicle terminal;

[0122] The first sending module 402 is used to send a synchronization request to the mobile terminal when it is identified according to the location information that the mobile terminal is located in the vehicle, wherein the synchronization request is used to request the vehicle-mounted terminal to synchronously execute the target service, so that the mobile terminal responds to the synchronization request and obtains synchronization information of the target service;

[0123] The first receiving module 403 is used to receive synchronization information sent by the mobile terminal;

[0124] The second acquisition module 404 is used to acquire the service data of the target service according to the synchronization information;

[0125] The synchronous execution module 405 is used to synchronously execute the target business according to the business data.

[0126] In the data synchronization device of the embodiment of the present application, the vehicle terminal can obtain the location information of the mobile terminal when the mobile terminal executes the target service and is connected to the vehicle terminal for communication, and send a synchronization request to the mobile terminal when it is identified that the mobile terminal is located in the vehicle according to the location information. The synchronization request is used to request the vehicle terminal to synchronously execute the target service; the mobile terminal responds to the synchronization request, obtains the synchronization information of the target service and sends the information to the vehicle terminal; the vehicle terminal then obtains the service data of the target service according to the synchronization information, and synchronously executes the target service. In this way, in the embodiment of the present application, when the mobile terminal executes the target service, the synchronization request can be triggered according to the location information of the mobile terminal, so as to realize the synchronous execution of the target service in the vehicle terminal, avoid the situation of continuing to operate through the mobile terminal in the vehicle environment, and thus improve the safety of driving.

[0127] In some embodiments, when the target service includes an audio and video service, the service data includes audio and video data, and the synchronization execution module 405 may specifically include:

[0128] A first sending unit is used to send a preparation signal to the mobile terminal when the capacity of the audio and video data is greater than a preset capacity threshold, so that the mobile terminal responds to the preparation signal, stops executing the audio and video service, and generates stop information, where the stop information includes a stop playback time;

[0129] A first receiving unit, configured to receive stop information sent by a mobile terminal;

[0130] The playback unit is used to start playing the audio and video data from the stop playback time.

[0131] In some embodiments, when the target service includes a navigation service, the service data includes navigation data, and the synchronization execution module 405 may specifically include:

[0132] A synchronous execution unit, used for synchronously executing navigation services according to navigation data and generating a stop signal;

[0133] The second sending unit is used to send a stop signal to the mobile terminal, so that the mobile terminal stops executing the navigation service in response to the stop signal.

[0134] As an implementation of the present application, in order to reliably achieve data synchronization, the above-mentioned device 400 may further include:

[0135] a third receiving module, configured to receive a registration request sent by the mobile terminal, wherein the registration request includes a first key and is used to request the vehicle-mounted terminal to register a digital key;

[0136] A first verification module, configured to decrypt the first key in response to the registration request to obtain a first verification result, wherein the first verification result is used to indicate whether the first key is correct;

[0137] A first generating module, configured to generate a second key when the first verification result indicates that the first key is correct;

[0138] a third sending module, configured to send the second key to the mobile terminal, so that the mobile terminal decrypts the second key to obtain a second verification result, wherein the second verification result is used to indicate whether the second key is correct; and to establish a communication connection channel with the vehicle-mounted terminal when the second verification result indicates that the second key is correct;

[0139] The second generating module is used to generate a digital key for the mobile terminal and send it to the mobile terminal based on the communication connection channel.

[0140] like Figure 5 As shown, another data synchronization device 500 provided in an embodiment of the present application is applied to a mobile terminal. The device 500 may include the following modules: a second receiving module 501 , a third acquiring module 502 and a second sending module 503 .

[0141] The second receiving module 501 is used to receive a synchronization request sent by the vehicle terminal when the mobile terminal executes the target service and is in communication connection with the vehicle terminal. The synchronization request is a request sent by the vehicle terminal when the vehicle terminal recognizes that the mobile terminal is located in the vehicle according to the location information. The synchronization request is used to request the vehicle terminal to synchronously execute the target service. The location information is the information of the location of the mobile terminal obtained by the vehicle terminal.

[0142] A third acquisition module 502 is used to obtain synchronization information of a target service in response to a synchronization request;

[0143] The second sending module 503 is used to send the synchronization information to the vehicle terminal, so that the vehicle terminal obtains the service data of the target service according to the synchronization information, and synchronously executes the target service according to the service data.

[0144] In the data synchronization device of the embodiment of the present application, the vehicle terminal can obtain the location information of the mobile terminal when the mobile terminal executes the target service and is connected to the vehicle terminal for communication, and send a synchronization request to the mobile terminal when it is identified that the mobile terminal is located in the vehicle according to the location information. The synchronization request is used to request the vehicle terminal to synchronously execute the target service; the mobile terminal responds to the synchronization request, obtains the synchronization information of the target service and sends the information to the vehicle terminal; the vehicle terminal then obtains the service data of the target service according to the synchronization information, and synchronously executes the target service. In this way, in the embodiment of the present application, when the mobile terminal executes the target service, the synchronization request can be triggered according to the location information of the mobile terminal, so as to realize the synchronous execution of the target service in the vehicle terminal, avoid the situation of continuing to operate through the mobile terminal in the vehicle environment, and thus improve the safety of driving.

[0145] In some embodiments, the synchronization request may include location information. The third acquisition module 502 may be specifically configured to respond to the synchronization request and acquire synchronization information of the target service when it is identified that the mobile terminal is located in the vehicle according to the location information.

[0146] In some embodiments, when the target service includes an audio and video service, the service data includes audio and video data, and the apparatus 500 may further include:

[0147] A first receiving unit, configured to receive a preparation signal sent by the vehicle-mounted terminal when the capacity of the audio and video data is greater than a preset capacity threshold;

[0148] A first stop unit, configured to stop executing the audio and video service in response to the preparation signal and generate stop information, wherein the stop information includes a stop playback time;

[0149] The third sending unit is used to send the stop information to the vehicle terminal, so that the vehicle terminal starts playing the audio and video data from the stop playback time.

[0150] In some embodiments, when the target service includes a navigation service, the service data includes navigation data, and the apparatus 500 may further include:

[0151] A second receiving unit is used to receive a stop signal sent by the vehicle terminal, where the stop signal is a signal generated by the vehicle terminal when the vehicle terminal synchronously executes the navigation service according to the navigation data;

[0152] The second stopping unit is used to stop executing the navigation service in response to the stopping signal.

[0153] As an implementation of the present application, in order to reliably achieve data synchronization, the above-mentioned device 500 may further include:

[0154] a fourth sending module, configured to send a registration request to the vehicle-mounted terminal, the registration request including a first key, the registration request being used to request the vehicle-mounted terminal to register a digital key, so that the vehicle-mounted terminal responds to the registration request, decrypts the first key, and obtains a first verification result, the first verification result being used to indicate whether the first key is correct; and generates a second key when the first verification result indicates that the first key is correct;

[0155] A fourth receiving module, used for receiving the second key sent by the vehicle-mounted terminal;

[0156] A second verification module, used to decrypt the second key to obtain a second verification result, where the second verification result is used to indicate whether the second key is correct;

[0157] An establishing module, configured to establish a communication connection channel with the vehicle-mounted terminal when the second verification result indicates that the second key is correct;

[0158] A fifth receiving module is used to receive a digital key sent by the vehicle-mounted terminal through the communication connection channel, where the digital key is generated by the vehicle-mounted terminal.

[0159] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0160] The electronic device may include a processor 601 and a memory 602 storing computer program instructions.

[0161] Specifically, the processor 601 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0162] The memory 602 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 602 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 602 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 602 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 602 is a non-volatile solid-state memory.

[0163] In certain embodiments, the memory 602 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0164] The processor 601 implements any one of the data synchronization methods in the above embodiments by reading and executing computer program instructions stored in the memory 602 .

[0165] In one example, the electronic device may further include a communication interface 603 and a bus 610. Figure 6 As shown, the processor 601, the memory 602, and the communication interface 603 are connected via a bus 610 and communicate with each other.

[0166] The communication interface 603 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0167] Bus 610 includes hardware, software or both, and the parts of electronic equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 610 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0168] The electronic device can execute the data synchronization method in the embodiment of the present application, thereby realizing the combination Figure 2 , Figure 4 and Figure 5 The invention describes a data synchronization method and device.

[0169] In addition, in combination with the data synchronization method in the above embodiments, the present application embodiment can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the data synchronization methods in the above embodiments is implemented.

[0170] In combination with the data synchronization method in the above embodiments, an embodiment of the present application may provide a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes any one of the data synchronization methods above.

[0171] In combination with the data synchronization method in the above embodiment, the embodiment of the present application can provide a vehicle for implementation. The vehicle includes at least one of the following: the data synchronization device as described above; the electronic device as described above; the computer-readable storage medium as described above; the computer program product as described above.

[0172] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0173] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0174] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0175] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0176] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application.

Claims

1. A data synchronization method, characterized in that: Applied to a vehicle-mounted terminal, the method comprises: When the mobile terminal executes the target service and is in communication connection with the vehicle-mounted terminal, obtaining the location information of the mobile terminal; In the case where it is identified according to the location information that the mobile terminal is located in the vehicle, sending a synchronization request to the mobile terminal, the synchronization request being used to request the vehicle-mounted terminal to synchronously execute a target service, so that the mobile terminal responds to the synchronization request and obtains synchronization information of the target service; Receiving the synchronization information sent by the mobile terminal; Acquiring the service data of the target service according to the synchronization information; The target service is synchronously executed according to the service data.

2. The method according to claim 1, characterized in that In the case where the target service includes an audio and video service, the service data includes audio and video data, and synchronously executing the target service according to the service data includes: When the capacity of the audio and video data is greater than a preset capacity threshold, sending a preparation signal to the mobile terminal, so that the mobile terminal stops executing the audio and video service in response to the preparation signal and generates stop information, wherein the stop information includes a stop playback time; receiving the stop information sent by the mobile terminal; The audio and video data starts to be played from the stop playback time.

3. The method according to claim 1, characterized in that In a case where the target service includes a navigation service, the service data includes navigation data, and synchronously executing the target service according to the service data includes: Synchronously executing the navigation service according to the navigation data and generating a stop signal; The stop signal is sent to the mobile terminal, so that the mobile terminal stops executing the navigation service in response to the stop signal.

4. The method according to claim 1, characterized in that Before sending the synchronization request to the mobile terminal, the method further includes: receiving a registration request sent by the mobile terminal, the registration request including a first key, the registration request being used to request the vehicle-mounted terminal to register a digital key; In response to the registration request, decrypt the first key to obtain a first verification result, where the first verification result is used to indicate whether the first key is correct; generating a second key when the first verification result indicates that the first key is correct; The second key is sent to the mobile terminal, so that the mobile terminal decrypts the second key to obtain a second verification result, wherein the second verification result is used to indicate whether the second key is correct; if the second verification result indicates that the second key is correct, establishing a communication connection channel with the vehicle-mounted terminal; generating a digital key for the mobile terminal, and sending the digital key to the mobile terminal based on the communication connection channel; The sending a synchronization request to the mobile terminal comprises: A synchronization request is sent to the mobile terminal based on the communication connection channel.

5. A data synchronization method, characterized in that: Applied to a mobile terminal, the method comprises: When the mobile terminal executes the target service and is in communication connection with the vehicle terminal, receiving a synchronization request sent by the vehicle terminal, wherein the synchronization request is a request sent by the vehicle terminal when the vehicle terminal recognizes that the mobile terminal is located in the vehicle according to the location information, and the synchronization request is used to request the vehicle terminal to synchronously execute the target service, and the location information is the location information of the mobile terminal acquired by the vehicle terminal; In response to the synchronization request, acquiring synchronization information of the target service; The synchronization information is sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal obtains the service data of the target service according to the synchronization information, and synchronously executes the target service according to the service data.

6. The method according to claim 5, characterized in that The synchronization request includes the location information, and the obtaining the synchronization information of the target service in response to the synchronization request includes: In response to the synchronization request, when it is identified according to the location information that the mobile terminal is located in a vehicle, synchronization information of the target service is acquired.

7. The method according to claim 5, characterized in that In the case where the target service includes an audio and video service, the service data includes audio and video data, and the method further includes: receiving a preparation signal sent by the vehicle-mounted terminal when the capacity of the audio and video data is greater than a preset capacity threshold; In response to the preparation signal, stop executing the audio and video service and generate stop information, wherein the stop information includes a stop playback time; The stop information is sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal starts playing the audio and video data from the stop playback time.

8. The method according to claim 5, characterized in that In the case where the target service includes a navigation service, the service data includes navigation data, and the method further includes: receiving a stop signal sent by the vehicle-mounted terminal, wherein the stop signal is a signal generated by the vehicle-mounted terminal when synchronously executing the navigation service according to the navigation data; In response to the stop signal, the navigation service is stopped.

9. The method according to claim 5, characterized in that Before receiving the synchronization request sent by the vehicle-mounted terminal, the method further includes: Sending a registration request to the vehicle terminal, the registration request including a first key, the registration request being used to request the vehicle terminal to register a digital key, so that the vehicle terminal responds to the registration request, decrypts the first key, and obtains a first verification result, the first verification result being used to indicate whether the first key is correct; generating a second key when the first verification result indicates that the first key is correct; Receiving the second key sent by the vehicle-mounted terminal; decrypting the second key to obtain a second verification result, where the second verification result is used to indicate whether the second key is correct; When the second verification result indicates that the second key is correct, establishing a communication connection channel with the vehicle-mounted terminal; Receiving a digital key sent by the vehicle-mounted terminal based on the communication connection channel, the digital key being generated by the vehicle-mounted terminal; The receiving a synchronization request sent by the vehicle-mounted terminal includes: A synchronization request sent by the vehicle-mounted terminal is received based on the communication connection channel.

10. A data synchronization device, characterized in that: Using a vehicle-mounted terminal, the device includes: A first acquisition module, used for acquiring the location information of the mobile terminal when the mobile terminal executes the target service and is in communication connection with the vehicle-mounted terminal; A first sending module is used to send a synchronization request to the mobile terminal when it is identified according to the location information that the mobile terminal is located in the vehicle, wherein the synchronization request is used to request the vehicle-mounted terminal to synchronously execute a target service, so that the mobile terminal responds to the synchronization request and obtains synchronization information of the target service; A first receiving module, used for receiving the synchronization information sent by the mobile terminal; A second acquisition module, used to acquire the service data of the target service according to the synchronization information; A synchronous execution module is used to synchronously execute the target business according to the business data.

11. A data synchronization device, characterized in that: Applied to a mobile terminal, the device comprises: A second receiving module is used to receive a synchronization request sent by the vehicle-mounted terminal when the mobile terminal executes the target service and is in communication connection with the vehicle-mounted terminal, the synchronization request is a request sent by the vehicle-mounted terminal when the vehicle-mounted terminal recognizes that the mobile terminal is located in the vehicle according to the location information, the synchronization request is used to request the vehicle-mounted terminal to synchronously execute the target service, and the location information is the information of the location of the mobile terminal obtained by the vehicle-mounted terminal; A third acquisition module, configured to acquire synchronization information of the target service in response to the synchronization request; The second sending module is used to send the synchronization information to the vehicle-mounted terminal, so that the vehicle-mounted terminal obtains the service data of the target service according to the synchronization information, and synchronously executes the target service according to the service data.

12. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the data synchronization method according to any one of claims 1 to 9 is implemented.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the data synchronization method according to any one of claims 1 to 9 is implemented.

14. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the data synchronization method as described in any one of claims 1-9.