Method for calibrating optical sensor in bluetooth headset and bluetooth headset

11480708 · 2022-10-25

Assignee

Inventors

Cpc classification

International classification

Abstract

A method for calibrating an optical sensor in a Bluetooth headset and a Bluetooth headset are provided. The Bluetooth headset includes an optical sensor and a command execution device, the Bluetooth headset is connected to a charging box which is adapted to the Bluetooth headset, and a command initiation device and a command transmission medium are arranged in the charging box. With the method, if the command initiation device is triggered, the command initiation device sends a calibration command to the command execution device via the command transmission medium; and the command execution device calibrates an optical sensor in response to the calibration command to obtain a calibration result, and stores the calibration result.

Claims

1. A method for calibrating an optical sensor in a Bluetooth headset, wherein the Bluetooth headset comprises an optical sensor and a command execution device, the Bluetooth headset is connected to a charging box which is adapted to the Bluetooth headset, the charging box is arranged with a command initiation device and a command transmission medium, the method comprises: if the command initiation device is triggered, sending, by the command initiation device, a calibration command to the command execution device via the command transmission medium; and calibrating, by the command execution device, an optical sensor in response to the calibration command to obtain a calibration result, and storing the calibration result by the command execution device.

2. The method for calibrating an optical sensor in a Bluetooth headset according to claim 1, wherein the command initiation device comprises a first control unit.

3. The method for calibrating an optical sensor in a Bluetooth headset according to claim 1, wherein the command transmission medium comprises a charging line and a ground line GND.

4. The method for calibrating an optical sensor in a Bluetooth headset according to claim 1, wherein the command execution device comprises a second control unit and a storage unit, and an algorithm for calibrating the optical sensor is stored in the second control unit.

5. The method for calibrating an optical sensor in a Bluetooth headset according to claim 1, wherein if the command initiation device is triggered, the sending, by the command initiation device, a calibration command to the command execution device via the command transmission medium comprises: if the command initiation device is triggered, detecting whether the Bluetooth headset is located in the charging box; and if it is detected that the Bluetooth headset is located in the charging box, sending, by the command initiation device, the calibration command to the command execution device via the command transmission medium.

6. The method for calibrating an optical sensor in a Bluetooth headset according to claim 1, wherein the command initiation device is triggered in at least one of the following ways: if the charging box receives a control command sent from a smart terminal which is connected to the charging box via Bluetooth, it is determined that the command initiation device is triggered; if the charging box detects that a physical button on the charging box is clicked in a predetermined click manner or a sliding operation is performed at a touch area on the charging box in a predetermined slide manner, it is determined that the command initiation device is triggered; and if the charging box receives a voice command in a predetermined sentence pattern, it is determined that the command initiation device is triggered.

7. The method for calibrating an optical sensor in a Bluetooth headset according to claim 6, further comprising: constructing a library comprising the predetermined click manner, the predetermined slide manner, and the predetermined sentence pattern in advance.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The drawings to be used in the description of the embodiments or the conventional technology will be described briefly as follows, so that the technical solutions according to the embodiments of the present disclosure or according to the conventional technology will become clearer. It is apparent that the drawings in the following description only illustrate some embodiments of the present disclosure. For those skilled in the art, other drawings may be obtained according to these drawings without any creative work.

(2) FIG. 1 is a flow chart of a method for calibrating an optical sensor in a Bluetooth headset according to an embodiment of the present disclosure;

(3) FIG. 2 is a flow chart of a method for calibrating an optical sensor in a Bluetooth headset according to another embodiment of the present disclosure; and

(4) FIG. 3 is a schematic structural diagram of execution components according to an embodiment of the present disclosure.

(5) TABLE-US-00001 Reference numerals are listed as follows: 10 Bluetooth headset 20 charging box 11 optical sensor 12 command execution device 21 command initiation 22 command transmission device medium 121 second control unit 122 storage unit 211 first control unit 221 charging line 222 ground line GND

DETAILED DESCRIPTION

(6) Hereinafter, the present disclosure is explained in further detail in conjunction with the drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure, rather than limiting the present disclosure. In addition, it should be noted that, for ease of description, only some of the structures related to the present disclosure, rather than all of the structures, are show in the drawings.

First Embodiment

(7) Referring to FIG. 1, a method for calibrating an optical sensor in a Bluetooth headset is provided according to a first embodiment of the present disclosure. The method is used for calibrating the optical sensor in the Bluetooth headset. The method is executed by an execution component including a Bluetooth headset and a charging box which is adapted to the Bluetooth headset. The Bluetooth headset includes an optical sensor and a command execution device. The charging box is arranged with a command initiation device and a command transmission medium. The method includes the following steps S101 and S102.

(8) In step S101, if the command initiation device is triggered, the command initiation device sends a calibration command to the command execution device via the command transmission medium.

(9) The command initiation device is triggered in, but is not limited to, at least one of the following ways: (1) if the charging box receives a control command sent from a smart terminal which is connected to the charging box via Bluetooth, it is determined that the command initiation device is triggered; (2) if the charging box detects that a physical button on the charging box is clicked in a predetermined click manner (for example, continuously clicking by two or three times) or a sliding operation is performed at a touch area on the charging box in a predetermined slide manner (for example, a track formed by the slide operation is a self-defined pattern), it is determined that the command initiation device is triggered; and (3) if the charging box receives a voice command in a predetermined sentence pattern (for example, “please calibrate the optical sensor”), it is determined that the command initiation device is triggered.

(10) Before step S101, the method for calibrating an optical sensor in a Bluetooth headset further includes: constructing a library comprising the predetermined click manner, the predetermined slide manner, and the predetermined sentence pattern in advance.

(11) In step S102, the command execution device calibrates an optical sensor in response to the calibration command to obtain a calibration result, and stores the calibration result.

(12) In the embodiment, the command initiation device includes a first control unit, the command transmission medium includes a 5V charging line and a ground line GND, and the command execution device includes a second control unit and a storage unit. An algorithm for calibrating the optical sensor is stored in the second control unit.

(13) Referring to FIG. 2, step S101 is optimized according to an embodiment of the present disclosure, that is, the method may further include the following steps S201 and S203.

(14) In step S201, if the command initiation device is triggered, it is detected whether the Bluetooth headset is located in the charging box.

(15) In step S202, if it is detected that the Bluetooth headset is located in the charging box, the command initiation device sends the calibration command to the command execution device via the command transmission medium.

(16) It is to be noted that if it is detected that the Bluetooth headset is not located in the charging box, a reminder may be initiated, and the step for calibration is not performed next.

(17) In step S203, the command execution device calibrates an optical sensor in response to the calibration command to obtain a calibration result, and stores the calibration result.

(18) With the method for calibrating an optical sensor in a Bluetooth headset according to the embodiment of the present disclosure, the existing charging line and the existing ground line GND between the charging box and the Bluetooth headset are used to transmit the calibration command to calibrate the optical device in the Bluetooth headset without increasing hardware cost. Compared with the conventional technology, according to the present disclosure, the optical device in the Bluetooth headset is calibrated more reliably and stably with a low cost, and is not easily disturbed.

Second Embodiment

(19) A Bluetooth headset is provided according to an embodiment of the present disclosure. The Bluetooth headset 10 includes: a housing; and an optical sensor 11 and a command execution device 12 arranged in the housing. The optical sensor in the Bluetooth headset is calibrated with the method according to the first embodiment. In a case that the Bluetooth headset 10 is arranged in a charging box 20 which is adapted to the Bluetooth headset 10, the Bluetooth headset 10 is in connection with the charging box 20. The charging box 20 includes: a housing; and a command initiation device 21 and a command transmission medium 22 arranged in the housing. The command initiation device 21 and the command transmission medium 22 are configured to send a calibration command to the command execution device 12. The command execution device 12 is configured to calibrate the optical sensor 11.

(20) Specifically, the command initiation device 21 includes a first control unit 211, the command transmission medium 22 includes a 5V charging line 221 and a ground line GND 222, and the command execution device 12 includes a second control unit 121 and a storage unit 122. An algorithm for calibrating the optical sensor 11 is stored in the second control unit 121.

(21) With the Bluetooth headset according to the embodiment of the present disclosure, the existing command transmission medium between the charging box and the Bluetooth headset is used to transmit the calibration command to calibrate the optical device in the Bluetooth headset without increasing hardware cost. Compared with the conventional technology, according to the present disclosure, the optical device in the Bluetooth headset is calibrated more reliably and stably with a low cost, and is not easily disturbed.

(22) Heretofore, it should be noted that, the above embodiments are merely provided for describing the technical solutions of the present disclosure, but are not intended to limit the present disclosure. Although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that, they can still modify technical solutions described in the foregoing embodiments, or make equivalent substitutions to a part of the technical features; and such modifications or substitutions do not enable the essence of corresponding technical solutions to depart from the scope of the embodiments of the present disclosure.