Charging box of Bluetooth headset, Bluetooth headset and data synchronization method

文档序号:452664 发布日期:2021-12-28 浏览:2次 中文

阅读说明:本技术 蓝牙耳机的充电盒、蓝牙耳机和数据同步方法 (Charging box of Bluetooth headset, Bluetooth headset and data synchronization method ) 是由 毛序平 于 2021-08-13 设计创作,主要内容包括:一种蓝牙耳机的充电盒、蓝牙耳机和数据同步方法,所述蓝牙耳机的充电盒包括处理器、存储器、通信模块和充电模块,其中:所述充电模块用于为蓝牙耳机充电;所述存储器用于至少存储所述蓝牙耳机的用户数据;所述通信模块用于提供通信接口,使得所述充电盒与所述蓝牙耳机进行数据交互;所述处理器用于在所述充电模块连接到所述蓝牙耳机时,经由所述通信模块从所述蓝牙耳机接收用户数据,基于所述用户数据执行操作,以使得所述充电盒与所述蓝牙耳机各自存储的用户数据保持一致。本申请的方案通过充电盒备份蓝牙耳机中存储的用户数据,当蓝牙耳机中的用户数据异常丢失或改动时,可以通过充电盒的中的备份用户数据使得蓝牙耳机中的用户数据恢复。(A charging box of a Bluetooth headset, the Bluetooth headset and a data synchronization method, the charging box of the Bluetooth headset comprises a processor, a memory, a communication module and a charging module, wherein: the charging module is used for charging the Bluetooth headset; the memory is used for storing at least user data of the Bluetooth headset; the communication module is used for providing a communication interface so that the charging box and the Bluetooth headset perform data interaction; the processor is used for receiving user data from the Bluetooth headset through the communication module when the charging module is connected to the Bluetooth headset, and performing operation based on the user data so that the charging box and the Bluetooth headset respectively store the user data in a consistent mode. According to the scheme, the user data stored in the Bluetooth headset is backed up through the charging box, and when the user data in the Bluetooth headset is abnormally lost or changed, the user data in the Bluetooth headset can be recovered through the backup user data in the charging box.)

1. A charging box for a bluetooth headset, comprising a processor, a memory, a communication module and a charging module, wherein:

the charging module is used for charging the Bluetooth headset;

the memory is used for storing at least user data of the Bluetooth headset;

the communication module is used for providing a communication interface so that the charging box and the Bluetooth headset perform data interaction;

the processor is used for receiving user data from the Bluetooth headset through the communication module when the charging module is connected to the Bluetooth headset, and performing operation based on the user data so that the charging box and the Bluetooth headset respectively store the user data in a consistent mode.

2. The charging box of claim 1, wherein the processor performs operations based on the user data, comprising:

determining whether user data has been stored in the memory;

when it is determined that user data is not already stored in the memory, storing headset-end user data received from the Bluetooth headset into the memory as charging box-end user data;

when it is determined that user data is already stored in the memory, comparing the headset end user data received from the bluetooth headset with the charging box end user data stored in the memory to determine whether the two are consistent;

and when the two are determined to be inconsistent, performing a data synchronization operation so that the user data stored in the charging box and the user data stored in the Bluetooth headset respectively keep consistent.

3. The charging box of claim 2, wherein the processor is further configured to:

and when the earphone end user data is inconsistent with the charging box end user data and the earphone end user data is more than the charging box end user data, storing the excess user data in the earphone end user data into the memory.

4. The charging box of claim 2, wherein the processor is further configured to:

when the earphone end user data is inconsistent with the charging box end user data, determining whether the earphone end user data is subjected to manual operation;

updating the charging box end user data based on the earphone end user data when it is determined that the earphone end user data has undergone manual operation;

when it is determined that the headset-end user data has not been subjected to human manipulation, at least the inconsistent data portion is communicated to the bluetooth headset via the communication module.

5. The charging box of claim 2, wherein the processor is further configured to:

and when the earphone end user data is inconsistent with the charging box end user data, updating the charging box end user data based on the earphone end user data.

6. The charging box of claim 1, wherein the processor is further configured to:

and receiving a reset instruction of a user, and clearing all user data stored in the Bluetooth headset and the memory based on the reset instruction.

7. A Bluetooth headset, characterized in that the Bluetooth headset comprises a processor, a memory, a communication module and a rechargeable power module,

the memory is used for storing at least user data of the Bluetooth headset;

the rechargeable power supply module is used for supplying power to the Bluetooth headset;

the communication module is used for providing a communication interface so that the Bluetooth headset can communicate with other equipment;

the processor is used for data interaction with the charging box through the communication module after the rechargeable power supply module is connected to the charging box, so that the user data stored in the memory and the user data stored in the charging box are kept consistent.

8. The bluetooth headset of claim 7, wherein the processor-implemented data interaction with the charging box comprises:

transmitting user data stored in the memory as headset-side user data via the communication module to the charging box, such that the charging box not already storing user data stores the headset-side user data as charging-box-side user data; or the charging box with the stored user data is enabled to compare the charging box end user data with the earphone end user data to determine whether the charging box end user data and the earphone end user data are consistent, and when the charging box end user data and the earphone end user data are not consistent, the charging box performs data synchronization operation to enable the charging box and the Bluetooth earphone to keep consistent with each other in the stored user data.

9. A data synchronization method performed by a charging box of a bluetooth headset, the method comprising:

receiving user data from a Bluetooth headset when connected to the Bluetooth headset;

performing an operation based on the user data such that the charging box and the Bluetooth headset each store user data consistent.

10. The method of claim 9, wherein performing an operation based on the user data comprises:

determining whether user data has been stored in the charging box;

storing user data received from the Bluetooth headset when it is determined that user data has not been stored in the charging box;

when it is determined that user data has been stored in the charging box, comparing the user data received from the bluetooth headset with the stored user data to determine whether the two are consistent;

and when the two are determined to be inconsistent, performing a data synchronization operation so that the user data stored in the charging box and the user data stored in the Bluetooth headset respectively keep consistent.

Technical Field

The application relates to the technical field of earphones, in particular to a charging box of a Bluetooth earphone, the Bluetooth earphone and a data synchronization method.

Background

The bluetooth headset is used as a product in the high-tech era, and the bluetooth technology is applied to the hands-free headset device, so that the problem of stumbling of the electric wire is solved for a help user, and the user can talk, listen to music and other daily operations in a more relaxed mode at any time and any place.

Generally, a bluetooth headset is connected to a mobile phone, a music player, a computer, and other terminal devices in a pairing manner. When a user uses the Bluetooth headset for the first time, the Bluetooth function of equipment such as a mobile phone, a computer and the like is generally required to be opened, and nearby Bluetooth equipment is searched by the Bluetooth function; when the Bluetooth earphone is searched, the Bluetooth earphone can be matched with the Bluetooth earphone on equipment such as a mobile phone, a computer and the like; once the pairing is completed, the Bluetooth headset can be used for listening to audio and video files on equipment such as a mobile phone and a computer or carrying out audio and video communication. In addition, after the pairing is completed, the devices paired with the Bluetooth headset are all user data of the Bluetooth headset.

Currently, bluetooth headsets, such as True Wireless Stereo (TWS) bluetooth headsets, require that connected device information be saved to a local memory device by pairing. However, when the bluetooth headset is in use, there may be a case where user data already stored in the headset is lost. Therefore, it is desirable to provide a scheme that can recover user data information.

Disclosure of Invention

The present application is proposed to solve the above problems, and the present application may enable user data in a bluetooth headset to be restored by backing up user data in a charging box. According to an aspect of the present application, there is provided a charging box of a bluetooth headset, the charging box including a processor, a memory, a communication module, and a charging module, wherein: the charging module is used for charging the Bluetooth headset; the memory is used for storing at least user data of the Bluetooth headset; the communication module is used for providing a communication interface so that the charging box and the Bluetooth headset perform data interaction; the processor is used for receiving user data from the Bluetooth headset through the communication module when the charging module is connected to the Bluetooth headset, and performing operation based on the user data so that the charging box and the Bluetooth headset respectively store the user data in a consistent mode.

In one embodiment of the invention, the processor performs operations based on the user data, including: determining whether user data has been stored in the memory; when it is determined that user data is not already stored in the memory, storing headset-end user data received from the Bluetooth headset into the memory as charging box-end user data; when it is determined that user data is already stored in the memory, comparing the headset end user data received from the bluetooth headset with the charging box end user data stored in the memory to determine whether the two are consistent; and when the two are determined to be inconsistent, performing a data synchronization operation so that the user data stored in the charging box and the user data stored in the Bluetooth headset respectively keep consistent.

In one embodiment of the invention, the processor is further configured to: and when the earphone end user data is inconsistent with the charging box end user data and the earphone end user data is more than the charging box end user data, storing the excess user data in the earphone end user data into the memory.

In one embodiment of the invention, the processor is further configured to: when the earphone end user data is inconsistent with the charging box end user data, determining whether the earphone end user data is subjected to manual operation; updating the charging box end user data based on the earphone end user data when it is determined that the earphone end user data has undergone manual operation; when it is determined that the headset-end user data has not been subjected to human manipulation, at least the inconsistent data portion is communicated to the bluetooth headset via the communication module.

In one embodiment of the invention, the processor is further configured to: and when the earphone end user data is inconsistent with the charging box end user data, updating the charging box end user data based on the earphone end user data.

In one embodiment of the invention, the processor is further configured to: and receiving a reset instruction of a user, and clearing all user data stored in the Bluetooth headset and the memory based on the reset instruction.

According to another aspect of the present application, there is provided a bluetooth headset comprising a processor, a memory, a communication module, and a rechargeable power module, the memory for storing at least user data of the bluetooth headset; the rechargeable power supply module is used for supplying power to the Bluetooth headset; the communication module is used for providing a communication interface so that the Bluetooth headset can communicate with other equipment; the processor is used for data interaction with the charging box through the communication module after the rechargeable power supply module is connected to the charging box, so that the user data stored in the memory and the user data stored in the charging box are kept consistent.

In one embodiment of the invention, the data interaction with the charging box performed by the processor comprises: transmitting user data stored in the memory as headset-side user data via the communication module to the charging box, such that the charging box not already storing user data stores the headset-side user data as charging-box-side user data; or the charging box with the stored user data is enabled to compare the charging box end user data with the earphone end user data to determine whether the charging box end user data and the earphone end user data are consistent, and when the charging box end user data and the earphone end user data are not consistent, the charging box performs data synchronization operation to enable the charging box and the Bluetooth earphone to keep consistent with each other in the stored user data.

According to still another aspect of the present application, there is provided a data synchronization method performed by a charging box of a bluetooth headset, the method including: receiving user data from a Bluetooth headset when connected to the Bluetooth headset; performing an operation based on the user data such that the charging box and the Bluetooth headset each store user data consistent.

In one embodiment of the present invention, the performing an operation based on the user data includes: determining whether user data has been stored in the charging box; storing user data received from the Bluetooth headset when it is determined that user data has not been stored in the charging box; when it is determined that user data has been stored in the charging box, comparing the user data received from the bluetooth headset with the stored user data to determine whether the two are consistent; and when the two are determined to be inconsistent, performing a data synchronization operation so that the user data stored in the charging box and the user data stored in the Bluetooth headset respectively keep consistent.

According to the charging box of the Bluetooth headset, the Bluetooth headset and the data synchronization method of the Bluetooth headset, the user data stored in the Bluetooth headset can be backed up through the charging box, when the user data in the Bluetooth headset is abnormally lost, the user data in the Bluetooth headset can be recovered through the backup user data in the charging box, the influence of the user data loss or change on a user is avoided, and the user experience is improved.

Drawings

The above and other objects, features and advantages of the present application will become more apparent by describing in more detail embodiments of the present application with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. In the drawings, like reference numbers generally represent like parts or steps.

Fig. 1 shows a schematic block diagram of a charging box of a bluetooth headset according to an embodiment of the present application.

Fig. 2 shows a schematic flow diagram of a process in which a charging box of a bluetooth headset performs an operation based on user data received from the bluetooth headset according to an embodiment of the present application.

Fig. 3 shows a schematic flow chart of an operation process when a charging box of a bluetooth headset determines that the headset end user data is inconsistent with the charging box end user data according to an embodiment of the application.

Fig. 4 shows a schematic block diagram of a bluetooth headset according to an embodiment of the application.

Fig. 5 shows a schematic flow chart of a data synchronization method according to an embodiment of the application.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more apparent, exemplary embodiments according to the present application will be described in detail below with reference to the accompanying drawings. It should be understood that the described embodiments are only some embodiments of the present application and not all embodiments of the present application, and that the present application is not limited by the example embodiments described herein. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the application described in the application without inventive step, shall fall within the scope of protection of the application.

First, a schematic block diagram of a charging box 100 of a bluetooth headset according to an embodiment of the present application is described with reference to fig. 1. As shown in fig. 1, the charging box 100 of the bluetooth headset includes a memory 110, a processor 120, a communication module 130, and a charging module 140. The charging module 140 is configured to charge the bluetooth headset; the memory 110 is used for storing at least user data of the bluetooth headset; the communication module 130 is used for providing a communication interface so that the charging box 100 performs data interaction with the bluetooth headset; the processor 120 is configured to receive user data from the bluetooth headset via the communication module 130 when the charging module 140 is connected to the bluetooth headset, and perform an operation based on the user data, so that the charging box and the bluetooth headset respectively store the user data in correspondence.

In an embodiment of the present application, the charging box 100 of the bluetooth headset comprises a memory 110, which may be used to store user data of the bluetooth headset; the user data may be user data stored in its own memory by the bluetooth headset, and transmitted via the communication module 130 of the charging box 100 and stored in the memory 110 after the bluetooth headset is placed in the charging box (when the charging module 140 is connected to the bluetooth headset); in addition, the processor 120 may control data interaction between the bluetooth headset and the charging box 100, so that the user data stored in the charging box 100 is consistent with the user data stored in the bluetooth headset, which enables the charging box 100 to backup the user data stored in the bluetooth headset, when the user data in the bluetooth headset is lost or changed, the user data in the bluetooth headset may be recovered through the backup user data in the charging box 100, thereby solving the influence of the user data loss on the user, and improving user experience.

In an embodiment of the present application, the operations performed by the processor 120 based on the user data transmitted by the bluetooth headset may include: determining whether user data is already stored in memory 110; when it is determined that the user data is not stored in the memory 110, storing the headset-side user data received from the bluetooth headset into the memory 110 as charging box-side user data; when it is determined that user data has been stored in the memory 110, comparing the headset-end user data received from the bluetooth headset with the charging box-end user data stored in the memory 110 to determine whether the two are consistent; when the two are determined to be inconsistent, a data synchronization operation is performed so that the user data stored in the charging box and the user data stored in the Bluetooth headset respectively are kept consistent. This process is described below in conjunction with fig. 2.

Fig. 2 shows a schematic flow diagram of a process 200 for a charging box of a bluetooth headset to perform operations based on user data received from the bluetooth headset, according to an embodiment of the application. As shown in fig. 2, process 200 may include the following steps:

in step S210, it is determined whether user data has been stored in the memory. When it is determined that the user data is not stored in the memory, it indicates that the user data of the bluetooth headset is not synchronized to the charging box for backup, at this time, the data backup step may be performed, that is, the process 200 proceeds to step S220; when it is determined that the user data is not stored in the storage, indicating that the user data of the bluetooth headset has been synchronized to the charging box for backup, a data comparison step may be performed to determine whether the user data in the bluetooth headset (which may be referred to as headset-side user data) is consistent with the stored backup user data (which may be referred to as charging box-side user data), i.e., the process 200 proceeds to step S230.

In step S220, the headset-side user data received from the bluetooth headset is stored in the memory as charging box-side user data. This step corresponds to the situation that the user data of the bluetooth headset is not synchronized to the charging box for backup, so that the headset-side user data received from the bluetooth headset can be stored in the memory of the charging box as the backup data of the user data.

In step S230, the headset-end user data received from the bluetooth headset is compared with the charging box-end user data stored in the memory to determine whether the two are consistent. When it is determined that the headset-side user data received from the bluetooth headset and the charging box-side user data stored in the memory both coincide, it indicates that the bluetooth headset does not add new user data nor lose user data, and at this time, it is not necessary to perform a data synchronization operation, as shown in step S240. On the contrary, when it is determined that the headset-side user data received from the bluetooth headset and the charging box-side user data stored in the memory are not consistent, which indicates that the bluetooth headset may add new user data or lose user data, a data synchronization operation needs to be performed at this time, so that the respective stored user data of the charging box and the bluetooth headset are consistent, as shown in step S250.

In step S240, the data synchronization operation is not performed.

In step S250, a data synchronization operation is performed such that the user data stored in each of the charging box and the bluetooth headset is consistent.

In the embodiment of the present application, when it is determined in step S230 that the earphone-side user data received from the bluetooth earphone and the charging box-side user data stored in the memory are not consistent, a specific case where the two are not consistent needs to be further determined. Generally, when the headset-side user data received from the bluetooth headset is inconsistent with the charging box-side user data stored in the memory, the headset-side user data may be more than the charging box-side user data, the charging box-side user data may be more than the headset-side user data, or the headset-side user data may be updated, but the updated quantity is not changed. For the case that the user data at the earphone end is greater than the user data at the charging box end, it is generally considered that a new user is added to the bluetooth headset, so that the bluetooth headset stores the new user data this time, and for this case, the processor 120 of the charging box 100 may store the excess user data in the user data at the earphone end in the memory 110, so as to implement synchronous update of the backup user data in the charging box.

Conversely, for the case that the user data at the charging box end is more than the user data at the earphone end, it is generally considered that the user data in the bluetooth earphone is abnormally lost, wherein the lost data may be all or part of the user data. For this case, the processor 120 of the charging box 100 may transmit the user data that is excessive in the headset-end user data to the bluetooth headset via the communication module 130, so that the bluetooth headset recovers the lost user data. In another scenario, when the charge box end user data is more than the headset end user data, it may also be possible for the user to manually delete all or part of the user data (such as a user of a bluetooth headset having changed). In addition, as mentioned above, there may be a case where the user data at the earphone end is updated, but the updated user data is not changed in number, which may also be a case where the user deletes some user data manually and adds some new user data. For such a case, the processor 120 of the charging box 100 may determine how to perform the data synchronization operation by determining whether the user data in the bluetooth headset has undergone human operation, as described below in conjunction with fig. 3.

Fig. 3 shows a schematic flow chart of an operational procedure 300 when a charging box of a bluetooth headset determines that the headset end user data is inconsistent with the charging box end user data according to an embodiment of the application. As shown in fig. 3, the process 300 may include the following steps:

in step S310, it is determined whether the headset-side user data has undergone human manipulation. When it is determined that the earphone end user data has undergone the manual operation, which indicates that the earphone end user data is inconsistent with the charging box end user data due to the manual operation of the user, the charging box end user data may be updated based on the earphone end user data, so that the user data stored in the bluetooth earphone and the charging box respectively remain consistent, as described in step S320. Otherwise, when it is determined that the user data at the earphone end has not undergone the manual operation, it may be considered that the user data in the bluetooth earphone is abnormally lost or changed, at this time, at least a data portion of the charging box end user data that is inconsistent with the earphone end user data may be transmitted to the bluetooth earphone via the communication module, or all the charging box end user data may be transmitted to the bluetooth earphone via the communication module, so that the bluetooth earphone recovers the abnormally lost or changed user data, as described in step S330.

In step S320, the charging box end user data is updated based on the headset end user data.

At step S330, at least the data portion of the charging box end user data inconsistent with the headset end user data is transmitted to the bluetooth headset.

In a simpler example, when the earphone end user data is inconsistent with the charging box end user data, it is not necessary to determine whether the charging box end user data is inconsistent with the earphone end user data due to manual operation, but the charging box end user data is directly updated based on the earphone end user data, and in such a case, it is default that the earphone end user data is updated, and the case is not an abnormal case.

Referring back now to fig. 1 with continued reference, in further embodiments of the present application, the processor 120 may be further configured to: a reset instruction of the user is received, based on which all user data stored in the bluetooth headset and stored in the memory 110 of the charging box 100 is emptied. In this embodiment, the user data in the bluetooth headset and the backup user data in the charging box 100 may be cleared through a reset key provided on the charging box 100, which may be suitable for a scenario in which factory settings need to be restored or a user needs to be completely replaced.

In an embodiment of the present application, the communication module 130 of the charging box 100 may perform data interaction with the bluetooth headset through single-wire communication. For example, the charging box 100 may implement data interaction with the bluetooth headset via its charging contacts that are in contact with the bluetooth headset when charging, which may save costs without adding a new transmission structure. Of course, this is merely an exemplary implementation.

Based on the above description, the charging box of the bluetooth headset according to the embodiment of the application can backup user data stored in the bluetooth headset, and when the user data in the bluetooth headset is abnormally lost, the user data in the bluetooth headset can be recovered through the backup user data in the charging box, so that the influence of the user data loss on a user is avoided, and the user experience is improved.

A bluetooth headset provided in accordance with another aspect of the present application is described below in conjunction with fig. 4. Fig. 4 shows a schematic block diagram of a bluetooth headset 400 according to an embodiment of the application. As shown in fig. 4, a bluetooth headset 400 according to an embodiment of the present application may include a memory 410, a processor 420, a communication module 430, and a rechargeable power module 440, wherein the memory 410 is configured to store at least user data of the bluetooth headset; the rechargeable power supply module 440 is used for supplying power to the Bluetooth headset; the communication module 430 is used for providing a communication interface so that the bluetooth headset can communicate with other devices; the processor 420 is used for data interaction with the charging box via the communication module 430 after the rechargeable power supply module 440 is connected to the charging box, so that the user data stored in the memory 410 and the user data stored in the charging box are kept consistent.

In the embodiment of the application, the bluetooth headset 400 may perform data interaction with a charging box charging the bluetooth headset, so that the user data stored in the memory 410 is consistent with the user data stored in the charging box, which enables the charging box to backup the user data stored in the bluetooth headset 400, when the user data in the bluetooth headset 400 is abnormally lost or changed, the user data in the bluetooth headset 400 may be recovered through the backup user data in the charging box, thereby solving the influence of the user data loss on the user, and improving the user experience.

In an embodiment of the present application, the data interaction with the charging box performed by the processor 420 may include: the user data stored in the memory 410 is transmitted to the charging box as earphone end user data through the communication module 430, and for the charging box which does not store the user data, it indicates that the user data of the bluetooth earphone is not synchronized to the charging box for backup, and at this time, the charging box can store the earphone end user data as the charging box end user data, so as to realize the backup of the user data; for the charging box with stored user data, it indicates that the user data of the bluetooth headset has been synchronized to the charging box for backup, so after the bluetooth headset 400 transmits the user data stored in the memory 410 to the charging box as headset end user data via the communication module 430, the charging box can compare the charging box end user data with the headset end user data to determine whether the two are consistent: when the two are consistent, the charging box may not perform the data synchronization operation; when it is determined that the two are not in agreement, the charging box performs a data synchronization operation so that the user data stored in the charging box and the bluetooth headset 400, respectively, are kept in agreement.

In the embodiment of the present application, when the charging box determines that the headset-end user data received from the bluetooth headset 400 is inconsistent with the self-stored charging-box-end user data, a specific case of inconsistency needs to be further determined. Generally, when the earphone end user data received from the bluetooth headset 400 is inconsistent with the self-stored charging box end user data, the earphone end user data may be more than the charging box end user data, the charging box end user data may be more than the earphone end user data, or the earphone end user data may be updated, but the updated number is not changed. For the case that the user data at the earphone end is more than the user data at the charging box end, it is generally considered that a new user is added to the bluetooth earphone, so that the bluetooth earphone stores the new user data this time, and for the case, the charging box can store the extra user data in the user data at the earphone end, so as to realize the synchronous update of the backup user data in the charging box, and the bluetooth earphone 400 does not need to process the data. Conversely, for the case that the charging box end user data is more than the earphone end user data, it is generally considered that the user data in the bluetooth headset 400 is abnormally lost, wherein the lost data may be all or part of the data. For this case, the charging box may transmit the excess user data in the headset-end user data to the bluetooth headset 400, so that the bluetooth headset 400 receives the portion of data via the communication module 430 and stores it in its memory 410 to recover the lost user data.

In another scenario, when the charge box end user data is more than the headset end user data, it may also be possible for the user to manually delete all or part of the user data (such as a user of a bluetooth headset having changed). In addition, as mentioned above, there may be a case where the user data at the earphone end is updated, but the updated user data is not changed in number, which may also be a case where the user deletes some user data manually and adds some new user data. For such a case, it is possible to determine how to perform the data synchronization operation by determining whether the user data in the bluetooth headset 400 has undergone human operation. Specifically, when it is determined that the earphone end user data has undergone manual operation, it indicates that the earphone end user data is inconsistent with the charging box end user data due to the manual operation of the user, and at this time, the charging box end user data may be updated based on the earphone end user data, so that the user data stored in the bluetooth earphone 400 and the user data stored in the charging box respectively remain consistent, and the bluetooth earphone 400 end does not need to be operated. On the contrary, when it is determined that the earphone-side user data has not undergone the manual operation, it may be considered that the user data in the bluetooth headset 400 is abnormally lost or changed, at this time, at least a data portion of the charging box-side user data that is inconsistent with the earphone-side user data may be transmitted to the bluetooth headset 400 via the communication module 430, or the charging box-side user data may be completely transmitted to the bluetooth headset 400 via the communication module 430, so as to recover the abnormally lost or changed user data.

Based on the above description, the bluetooth headset according to the embodiment of the application can backup the user data stored in the bluetooth headset into the charging box, and when the user data in the bluetooth headset is abnormally lost or changed, the user data in the bluetooth headset can be recovered through the backup user data in the charging box, so that the influence of the user data loss on a user is avoided, and the user experience is improved.

In the following, a data synchronization method provided according to another aspect of the present application is described, where the data synchronization method may be performed by the charging box of the bluetooth headset according to the embodiment of the present application, and a person skilled in the art may understand a specific process of the data synchronization method according to the operations of the components in the charging box described above, and for brevity, only main steps are described here, and details are not described again.

Fig. 5 shows a schematic flow chart of a data synchronization method 500 of a bluetooth headset according to an embodiment of the application. As shown in fig. 5, the data synchronization method 500 may include the steps of:

in step S510, user data is received from the bluetooth headset while connected to the bluetooth headset.

In step S520, an operation is performed based on the user data so that the user data stored in each of the charging box and the bluetooth headset are consistent.

In an embodiment of the present application, the performing operation based on the user data in step S520 may include: determining whether user data has been stored in the charging box; storing the user data received from the bluetooth headset when it is determined that the user data is not stored in the charging box; when it is determined that the user data has been stored in the charging box, comparing the user data received from the bluetooth headset with the stored user data to determine whether the two are identical; when the two are determined to be inconsistent, a data synchronization operation is performed so that the user data stored in the charging box and the user data stored in the Bluetooth headset respectively are kept consistent.

Based on the above description, according to the charging box of the bluetooth headset, the bluetooth headset and the data synchronization method of the bluetooth headset of the embodiment of the application, the user data stored in the bluetooth headset can be backed up through the charging box, and when the user data in the bluetooth headset is abnormally lost or changed, the user data in the bluetooth headset can be recovered through the backup user data in the charging box, so that the influence of the user data loss on a user is avoided, and the user experience is improved.

Although the example embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the above-described example embodiments are merely illustrative and are not intended to limit the scope of the present application thereto. Various changes and modifications may be effected therein by one of ordinary skill in the pertinent art without departing from the scope or spirit of the present application. All such changes and modifications are intended to be included within the scope of the present application as claimed in the appended claims.

Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.

In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed.

In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.

Similarly, it should be appreciated that in the description of exemplary embodiments of the present application, various features of the present application are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the application and aiding in the understanding of one or more of the various inventive aspects. However, the method of the present application should not be construed to reflect the intent: this application is intended to cover such departures from the present disclosure as come within known or customary practice in the art to which this invention pertains. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this application.

It will be understood by those skilled in the art that all of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where such features are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.

The various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some of the modules according to embodiments of the present application. The present application may also be embodied as apparatus programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present application may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.

It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

The above description is only for the specific embodiments of the present application or the description thereof, and the protection scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope disclosed in the present application, and shall be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种蓝牙耳机的充电方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类