Charging method and bluetooth adapter based on the same

By designing a communication and charging switch for the Bluetooth adapter, the problem of Bluetooth terminal devices being unable to charge and communicate simultaneously when their battery is low was solved, achieving charging performance without affecting data communication and improving user experience.

CN115411818BActive Publication Date: 2026-02-10ANKER INNOVATIONS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211116120.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-14
Publication Date
2026-02-10
Estimated Expiration
2042-09-14

AI Technical Summary

Technical Problem

Bluetooth terminal devices cannot charge and communicate data simultaneously when the battery is low, which affects the user experience.

Method used

Design a Bluetooth adapter that includes a Bluetooth chip, two data interfaces, a communication switch, and a charging switch. By detecting the interface connection status, the switch status is controlled to connect the communication and charging lines, allowing Bluetooth terminal devices and charging devices to communicate and charge simultaneously.

Benefits of technology

This allows for data communication between Bluetooth terminal devices without affecting the charging function, thus improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115411818B_ABST
    Figure CN115411818B_ABST
Patent Text Reader

Abstract

A charging method and a Bluetooth adapter based on the Bluetooth adapter are provided.The Bluetooth adapter comprises a Bluetooth chip, a first data interface, a second data interface, a communication switch and a charging switch.The method comprises the following steps: detecting whether the first data interface is connected with a Bluetooth terminal device and whether the second data interface is connected with a charging device; when the first data interface is connected with the Bluetooth terminal device and the second data interface is connected with the charging device, the Bluetooth chip controls the communication switch to be in a first on state and controls the charging switch to be in an on state; when the communication switch is in the first on state, the communication lines of the first data interface and the second data interface are connected, so that the Bluetooth terminal device and the charging device perform charging protocol communication through the communication lines; when the charging switch is in the on state, the charging lines of the first data interface and the second data interface are connected, so that the charging device charges the Bluetooth terminal device through the charging lines based on the charging protocol communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Bluetooth technology, and more specifically to a charging method based on a Bluetooth adapter and a Bluetooth adapter. Background Technology

[0002] Currently, Bluetooth adapters typically include a data interface (usually a Universal Serial Bus interface, such as a USB-A interface). The Bluetooth adapter connects to Bluetooth terminal devices (such as mobile phones and computers) through this data interface. When communicating with these devices, the adapter often occupies the original charging port of the Bluetooth terminal device (because currently, terminal devices such as mobile phones use the same interface for both charging and data communication). Therefore, when the Bluetooth terminal device's battery is low, the adapter must be unplugged from the charging / data interface, a charger must be plugged in to charge the device, and then the charger must be unplugged again and the adapter reconnected once the device is fully charged. This negatively impacts the user experience. Summary of the Invention

[0003] This application provides a charging method and a Bluetooth adapter solution based on a Bluetooth adapter, which can enable the charging device to charge the Bluetooth terminal device while the Bluetooth adapter is connected to the Bluetooth terminal device, thus solving the problem that the Bluetooth adapter cannot be used when the Bluetooth terminal device has insufficient power.

[0004] In a first aspect, this application provides a charging method based on a Bluetooth adapter. The Bluetooth adapter includes a Bluetooth chip, a first data interface, a second data interface, a communication switch, and a charging switch. The method includes: detecting whether the first data interface is connected to a Bluetooth terminal device and whether the second data interface is connected to a charging device; when it is determined that the first data interface is connected to the Bluetooth terminal device and the second data interface is connected to the charging device, the Bluetooth chip controls the communication switch to be in a first ON state and controls the charging switch to be in an ON state; when the communication switch is in the first ON state, the communication line between the first data interface and the second data interface is connected, enabling the Bluetooth terminal device and the charging device to communicate via the communication line using a charging protocol; when the charging switch is in the ON state, the charging line between the first data interface and the second data interface is connected, enabling the charging device to communicate based on the charging protocol and charge the Bluetooth terminal device via the charging line.

[0005] Secondly, this application provides a Bluetooth adapter, which includes a Bluetooth chip, a first data interface, a second data interface, a communication switch, and a charging switch, wherein: the first data interface is used to connect to a Bluetooth terminal device; the second data interface is used to connect to a charging device; a communication line and a charging line are included between the first data interface and the second data interface, the communication switch is located on the communication line, and the charging switch is located on the charging line; the Bluetooth chip is configured to: detect whether the first data interface is connected to a Bluetooth terminal device and whether the second data interface is connected to a charging device; when the first data interface is connected to a Bluetooth terminal device and the second data interface is connected to a charging device, control the communication switch to be in a first ON state and control the charging switch to be in an ON state, so that the communication line is connected and the charging line is connected, thereby enabling the Bluetooth terminal device and the charging device to communicate via the communication line using a charging protocol, and enabling the charging device to charge the Bluetooth terminal device via the charging line based on the charging protocol communication.

[0006] The charging method based on a Bluetooth adapter according to this application and the Bluetooth adapter can achieve data communication with the Bluetooth terminal device without affecting the charging function of the Bluetooth terminal device, solving the problem that the Bluetooth terminal device cannot communicate with the Bluetooth adapter while charging when the battery is low, thus improving the user experience. Attached Figure Description

[0007] The above and other objects, features, and advantages of this application will become more apparent from the more detailed description of the embodiments of this application in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of this application and form part of the specification. They are used together with the embodiments of this application to explain this application and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same components or steps.

[0008] Figure 1 A schematic flowchart illustrating a charging method based on a Bluetooth adapter according to an embodiment of this application is shown.

[0009] Figure 2 A schematic structural block diagram of a Bluetooth adapter according to an embodiment of this application is shown.

[0010] Figure 3 A schematic structural diagram of a Bluetooth adapter according to another embodiment of this application is shown.

[0011] Figure 4 A schematic flowchart illustrating a Bluetooth adapter implementing PD fast charging according to an embodiment of this application is shown. Detailed Implementation

[0012] To make the objectives, technical solutions, and advantages of this application more apparent, exemplary embodiments according to this application will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are merely a part of the embodiments of this application, and not all of the embodiments of this application. It should be understood that this application is not limited to the exemplary embodiments described herein. Based on the embodiments of this application described herein, all other embodiments obtained by those skilled in the art without inventive effort should fall within the protection scope of this application.

[0013] Figure 1 A schematic flowchart of a charging method 100 based on a Bluetooth adapter according to an embodiment of this application is shown. The Bluetooth adapter includes a Bluetooth chip, a first data interface, a second data interface, a communication switch, and a charging switch. The charging method 100 may include the following steps:

[0014] In step S110, it is detected whether the first data interface is connected to a Bluetooth terminal device and whether the second data interface is connected to a charging device.

[0015] In step S120, when it is determined that the first data interface is connected to the Bluetooth terminal device and the second data interface is connected to the charging device, the Bluetooth chip controls the communication switch to be in the first ON state and controls the charging switch to be in the ON state. When the communication switch is in the first ON state, the communication lines of the first data interface and the second data interface are connected, so that the Bluetooth terminal device and the charging device communicate through the communication lines using the charging protocol. When the charging switch is in the ON state, the charging lines of the first data interface and the second data interface are connected, so that the charging device charges the Bluetooth terminal device through the charging lines based on the charging protocol communication.

[0016] In the embodiments of this application, the Bluetooth adapter includes two data interfaces, referred to as the first data interface and the second data interface for distinction. The first data interface is used to connect to a Bluetooth terminal device (such as a mobile phone or computer). Through this data interface, the Bluetooth adapter can communicate with the Bluetooth terminal device, thereby enabling data transmission and other Bluetooth adapter functions. The second data interface is used to connect to a charging device (such as a power adapter cable or other charging cable). When the first data interface is connected to the Bluetooth terminal device and the second data interface is connected to the charging device, the Bluetooth chip of the Bluetooth adapter can control the communication switch to a first ON state (named this way to distinguish it from the second ON state mentioned later) and control the charging switch to the ON state. Based on this, both the communication line between the first and second data interfaces and the charging line are connected. The connection of the communication line allows the Bluetooth terminal device and the charging device to communicate using the charging protocol, and the connection of the charging line allows the charging device to charge the Bluetooth terminal device based on the charging protocol. Therefore, the Bluetooth adapter-based charging method 100 according to the embodiments of this application can enable the Bluetooth adapter to communicate with the Bluetooth terminal device while maintaining the charging function of the Bluetooth terminal device. The charging device can use the Bluetooth adapter as a bridge to charge the Bluetooth terminal device, solving the problem that the Bluetooth terminal device cannot communicate with the Bluetooth adapter while charging when the battery is low, thus improving the user experience.

[0017] In embodiments of this application, detecting whether the first data interface is connected to a Bluetooth terminal device and whether the second data interface is connected to a charging device includes detecting a first voltage at the first data interface and a second voltage at the second data interface. In this embodiment, the Bluetooth adapter can determine whether the first and second data interfaces are respectively connected to the Bluetooth terminal device and the charging device by detecting the voltages at the respective interfaces.

[0018] Specifically, determining that the first data interface is connected to the Bluetooth terminal device and the second data interface is connected to the charging device includes: determining that the first data interface is connected to the Bluetooth terminal device and the second data interface is connected to the charging device when the first voltage and the second voltage meet preset conditions. Wherein, meeting the preset conditions for the first and second voltages includes: both the first voltage and the second voltage are within a preset voltage range. In one example, the Bluetooth terminal device is a mobile phone, and the preset voltage range can be 4V to 6V. In this example, when both the first voltage and the second voltage are within the 4V to 6V range, it can be determined that the first data interface is connected to the Bluetooth terminal device and the second data interface is connected to the charging device.

[0019] In an embodiment of this application, when the first voltage or the second voltage does not meet the preset conditions, the charging method 100 further includes: the Bluetooth chip outputting a prompt message to prompt the user to confirm the reason and then operate a preset button; after detecting that the preset button has been operated, the Bluetooth chip controls the communication switch to be in a first on state and controls the charging switch to be in an on state. In this embodiment, when at least one of the first voltage and the second voltage does not meet the above-mentioned preset conditions, it indicates that the conditions for the charging device to charge the Bluetooth terminal device through the Bluetooth adapter are not met. At this time, a prompt message can be output to prompt the user to confirm the reason. For example, confirming that the Bluetooth terminal device is not properly connected to the first data interface, the charging device is not properly connected to the second data interface, the Bluetooth terminal device is not powered on, etc. After the user confirms the reason and resolves it, the user can operate a preset button on the Bluetooth adapter so that the Bluetooth adapter knows to resolve the problem of not meeting the charging conditions. At this time, after the Bluetooth chip of the Bluetooth adapter detects that the preset button has been operated, it can control the states of the communication switch and the charging switch as described above, so as to realize that the charging device can charge the Bluetooth terminal device through the Bluetooth adapter.

[0020] In embodiments of this application, the charging switch of the Bluetooth adapter may further include a first charging switch. After detecting whether the first data interface is connected to the Bluetooth terminal device and whether the second data interface is connected to the charging device, method 100 further includes: when it is determined that the first data interface is connected to the Bluetooth terminal device and the second data interface is not connected to the charging device, the Bluetooth chip controls the first charging switch to be in an on state, so that the Bluetooth terminal device supplies power to the Bluetooth chip through the first charging switch. In this embodiment, the first data interface is connected to the Bluetooth terminal device, but the second data interface is not connected to the charging device. At this time, the Bluetooth adapter is only connected to the Bluetooth terminal device and not to the charging device, which does not meet the condition for the charging device to charge the Bluetooth terminal device. That is, this scenario is a scenario where the Bluetooth terminal device uses the Bluetooth adapter for data communication. At this time, the Bluetooth terminal device can supply power to the Bluetooth adapter by controlling the first charging switch. Based on such a power supply function, the Bluetooth adapter itself does not need to have a power supply module.

[0021] In a further embodiment of this application, the charging switch further includes a second charging switch, and the communication switch includes a first communication switch and a second communication switch. After the Bluetooth terminal device supplies power to the Bluetooth chip through the first charging switch, method 100 further includes: when it is determined that the second data interface is connected to the charging device, the Bluetooth chip controls the first communication switch to be in a first ON state, so that the Bluetooth terminal device stops supplying power to the Bluetooth chip; the Bluetooth chip controls the second communication switch to be in the first ON state, and controls the first charging switch and the second charging switch to be in ON states respectively, so that the charging device supplies power to the Bluetooth chip through the second charging switch, and charges the Bluetooth terminal device through the first charging switch and the second charging switch. In this embodiment, after the Bluetooth terminal device supplies power to the Bluetooth chip through the first charging switch, it detects that the second data interface is connected to the charging device, that is, this scenario is that the Bluetooth adapter first connects to the Bluetooth terminal device, and then connects to the charging device. At this point, the Bluetooth adapter is connected to both the Bluetooth terminal device and the charging device, providing the necessary conditions for the charging device to charge the Bluetooth terminal device. Since the charging device is already present, the Bluetooth adapter is no longer powered by the Bluetooth terminal device; instead, the charging device powers the Bluetooth adapter. Therefore, in this scenario, the charging device powers the Bluetooth adapter and charges the Bluetooth terminal device, while the Bluetooth terminal device stops powering the Bluetooth adapter. Specifically, the Bluetooth chip in the Bluetooth adapter controls the first communication switch of the Bluetooth adapter to a first ON state, causing the Bluetooth terminal device to stop powering the Bluetooth chip. Simultaneously, the Bluetooth chip controls the second communication switch of the Bluetooth adapter to a first ON state, thus establishing the communication line between the first and second data interfaces, allowing the Bluetooth terminal device and the charging device to communicate via the charging protocol. Furthermore, the Bluetooth chip controls both the first and second charging switches of the Bluetooth adapter to an ON state, establishing the charging line between the first and second data interfaces, enabling the charging device to charge the Bluetooth terminal device via the charging line based on the aforementioned charging protocol communication. In this embodiment, the Bluetooth adapter also does not require a power supply module.

[0022] In another embodiment of this application, the charging switch includes a second charging switch. After detecting whether the first data interface is connected to a Bluetooth terminal device and whether the second data interface is connected to a charging device, the method further includes: when it is determined that the second data interface is connected to the charging device and the first data interface is not connected to the Bluetooth terminal device, the Bluetooth chip controls the second charging switch to be in an ON state, so that the charging device supplies power to the Bluetooth chip through the second charging switch. That is, this scenario is where the Bluetooth adapter is only connected to the charging device. In this case, the charging device can supply power to the Bluetooth adapter by controlling the second charging switch. Based on this power supply function, the Bluetooth adapter itself does not need to have a power supply module.

[0023] In a further embodiment of this application, the charging switch further includes a first charging switch. After determining that the second data interface is connected to the charging device and the first data interface is not connected to the Bluetooth terminal device, method 100 further includes: when determining that the first data interface is connected to the Bluetooth terminal device, the Bluetooth chip controls the communication switch to be in a first ON state, and controls the first charging switch and the second charging switch to be in ON state respectively, so that the charging device supplies power to the Bluetooth chip through the second charging switch, and charges the Bluetooth terminal device through the first charging switch and the second charging switch. In this embodiment, after the charging device supplies power to the Bluetooth chip through the second charging switch, it detects that the first data interface is connected to the Bluetooth terminal device, that is, this scenario is that the Bluetooth adapter first connects to the charging device and then connects to the Bluetooth terminal device. At this time, the Bluetooth adapter is simultaneously connected to the Bluetooth terminal device and the charging device, and the charging device has the conditions to charge the Bluetooth terminal device. The charging device can charge the Bluetooth terminal device, and the charging device always supplies power to the Bluetooth adapter. Specifically, the Bluetooth chip in the Bluetooth adapter controls the communication switch of the Bluetooth adapter to be in a first ON state, thus connecting the communication line between the first data interface and the second data interface, enabling charging protocol communication between the Bluetooth terminal device and the charging device. Furthermore, the Bluetooth chip controls both the first and second charging switches of the Bluetooth adapter to be ON, thus connecting the charging line between the first and second data interfaces, allowing the charging device to charge the Bluetooth terminal device via the charging line based on the aforementioned charging protocol communication. In this embodiment, the Bluetooth adapter also does not require a power supply module.

[0024] In embodiments of this application, method 100 may further include: receiving user input; controlling a communication switch to a second ON state based on the user input, so that the Bluetooth terminal device supplies power to the Bluetooth chip; and outputting a prompt message after the Bluetooth chip detects normal power supply at the first data interface to indicate to the user that the charging device is removable. In some cases, the user may need to unplug the charging device for various reasons, such as after the charging device has finished charging the Bluetooth terminal device. In this situation, since the Bluetooth adapter is powered by the charging device, directly unplugging the charging device will cause the Bluetooth adapter to temporarily lose power, requiring the Bluetooth terminal device to supply power to the Bluetooth adapter before it can be powered back on. To avoid this situation, in this embodiment, when the user wants to unplug the charging device, the Bluetooth adapter can be "notified" first. For example, the Bluetooth adapter has an interactive button that the user can click. The Bluetooth adapter detects that the button has been clicked and determines that the user wants to unplug the charging device. At this time, the communication switch can be controlled to be in the second on state, so that the Bluetooth terminal device supplies power to the Bluetooth chip. At this time, the charging device also continues to supply power to the Bluetooth adapter. After the Bluetooth chip detects that the power supply at the first data interface is normal, it outputs a prompt message to inform the user that the charging device can be unplugged. At this time, the user unplugs the charging device. Since the Bluetooth terminal device has already supplied power to the Bluetooth adapter normally, the power loss of the Bluetooth adapter during the entire power supply switching process can be avoided.

[0025] The above description exemplarily illustrates a charging method based on a Bluetooth adapter according to embodiments of this application. Based on the above description, the charging method 100 based on a Bluetooth adapter according to embodiments of this application enables the Bluetooth adapter to communicate with the Bluetooth terminal device while simultaneously maintaining the charging function of the Bluetooth terminal device. The charging device can use the Bluetooth adapter as a bridge to charge the Bluetooth terminal device, solving the problem that the Bluetooth terminal device cannot communicate with the Bluetooth adapter while charging when its battery is low, thus improving the user experience.

[0026] The following describes a Bluetooth adapter according to an embodiment of this application, which can implement the charging method based on the Bluetooth adapter described above.

[0027] Figure 2 A schematic structural block diagram of a Bluetooth adapter 200 according to an embodiment of this application is shown. Figure 2As shown, the Bluetooth adapter 200 includes a first data interface 210 and a second data interface 220, a Bluetooth chip 230, a communication switch 240, and a charging switch 250. The first data interface 210 is used to connect to a Bluetooth terminal device; the second data interface 220 is used to connect to a charging device; a communication line and a charging line are included between the first data interface 210 and the second data interface 220. The communication switch 240 is located on the communication line, and the charging switch 250 is located on the charging line. The Bluetooth chip 230 is configured to: detect whether the first data interface 210 is connected to a Bluetooth terminal device and whether the second data interface 220 is connected to a charging device; when the first data interface 210 is connected to a Bluetooth terminal device and the second data interface 220 is connected to a charging device, it controls the communication switch 240 to a first ON state and controls the charging switch 250 to an ON state, so that the communication line and the charging line are connected, thereby enabling the Bluetooth terminal device and the charging device to communicate via the communication line using the charging protocol, and enabling the charging device to charge the Bluetooth terminal device via the charging line based on the charging protocol.

[0028] In the embodiments of this application, the Bluetooth adapter 200 includes two data interfaces, which are referred to as the first data interface 210 and the second data interface 220 for distinction. The first data interface 210 is a data interface for connecting to a Bluetooth terminal device (such as a mobile phone, computer, etc.). Through this data interface, the Bluetooth adapter 200 can communicate with the Bluetooth terminal device, thereby enabling data transmission and other functions of the Bluetooth adapter 200. The second data interface 220 is a data interface for connecting to a charging device (such as a power adapter cable or other charging cable). When it is determined that the first data interface 210 is connected to the Bluetooth terminal device and the second data interface 220 is connected to the charging device, the Bluetooth chip 230 of the Bluetooth adapter 200 can control the communication switch 240 to be in a first ON state (named this way to distinguish it from the second ON state mentioned later) and control the charging switch 250 to be in an ON state. Based on this, both the communication line and the charging line between the first data interface 210 and the second data interface 220 are connected. The connection of the communication line enables the Bluetooth terminal device and the charging device to communicate via the charging protocol. The connection of the charging line allows the charging device to communicate based on this charging protocol and charge the Bluetooth terminal device via the charging line. Therefore, the Bluetooth adapter 200 according to this embodiment can achieve data communication with the Bluetooth terminal device without affecting the charging function of the Bluetooth terminal device. The charging device can use the Bluetooth adapter 200 as a bridge to charge the Bluetooth terminal device, solving the problem that the Bluetooth terminal device cannot communicate with the Bluetooth adapter 200 while charging when its battery is low, thus improving the user experience.

[0029] In embodiments of this application, the Bluetooth adapter 200 further includes a first voltage detection circuit and a second voltage detection circuit (for...). Figure 2 As shown in the diagram, a first voltage detection circuit is connected between the first data interface 210 and the Bluetooth chip 230, and a second voltage detection circuit is connected between the second data interface 220 and the Bluetooth chip 230. The Bluetooth chip 230 is further configured to: detect a first voltage at the first data interface 210 based on the first voltage detection circuit to detect whether the first data interface 210 is connected to a Bluetooth terminal device; and detect a second voltage at the second data interface 220 based on the second voltage detection circuit to detect whether the second data interface 220 is connected to a charging device. In this embodiment, the Bluetooth adapter 200 can detect the voltages at the first data interface 210 and the second data interface 220 respectively through the first voltage detection circuit and the second voltage detection circuit, thereby determining whether the first data interface 210 and the second data interface 220 are respectively connected to a Bluetooth terminal device and a charging device.

[0030] Specifically, the Bluetooth chip 230 is further configured to: determine that the first data interface 210 is connected to the Bluetooth terminal device and the second data interface 220 is connected to the charging device when the first voltage and the second voltage meet preset conditions. The first and second voltages meeting the preset conditions include: both the first voltage and the second voltage are within a preset voltage range. In one example, the Bluetooth terminal device is a mobile phone, and the preset voltage range can be 4V to 6V. In this example, when both the first voltage and the second voltage are within the 4V to 6V range, the Bluetooth chip 230 can determine that the first data interface 210 is connected to the Bluetooth terminal device and the second data interface 220 is connected to the charging device.

[0031] In the embodiments of this application, the Bluetooth chip 230 is further configured to: output a prompt message when the first voltage or the second voltage does not meet the preset conditions, prompting the user to confirm the reason before operating the preset button; after detecting that the preset button has been operated, the Bluetooth chip 230 controls the communication switch 240 to be in the first on state and controls the charging switch 250 to be in the on state. In this embodiment, when at least one of the first voltage and the second voltage does not meet the above-mentioned preset conditions, it indicates that the conditions for the charging device to charge the Bluetooth terminal device through the Bluetooth adapter 200 are not met. At this time, the Bluetooth chip 230 can output a prompt message to prompt the user to confirm the reason. For example, confirming that the Bluetooth terminal device is not properly connected to the first data interface 210, the charging device is not properly connected to the second data interface 220, the Bluetooth terminal device is not powered on, etc. After the user confirms and resolves the issue, the user can operate a preset button on the Bluetooth adapter 200 to inform the Bluetooth adapter 200 and resolve the problem of not meeting the charging conditions. At this time, after the Bluetooth chip 230 of the Bluetooth adapter 200 detects that the preset button has been operated, it can control the state of the communication switch 240 and the charging switch 250 as described above, so as to enable the charging device to charge the Bluetooth terminal device through the Bluetooth adapter 200.

[0032] In embodiments of this application, the charging switch 250 may further include a first charging switch 250 and a second charging switch 250 (for use in...). Figure 2 As shown in the diagram, a first charging switch 250 is connected between a first data interface 210 and a Bluetooth chip 230, and a second charging switch 250 is connected between a second data interface 220 and a Bluetooth chip 230. The Bluetooth chip 230 is further configured to: when a Bluetooth terminal device is connected to the first data interface 210 and a charging device is not connected to the second data interface 220, control the first charging switch 250 to be in the ON state, so that the Bluetooth terminal device supplies power to the Bluetooth chip 230 through the first charging switch 250; when a Bluetooth terminal device is connected to the first data interface 210 and a charging device is connected to the second data interface 220, control the first charging switch 250 and the second charging switch 250 to be in the ON state respectively, so that the charging device supplies power to the Bluetooth chip 230 through the second charging switch 250.

[0033] In this embodiment, when the first data interface 210 is connected to the Bluetooth terminal device but the second data interface 220 is not connected to the charging device, the Bluetooth adapter 200 is only connected to the Bluetooth terminal device and not to the charging device. This does not meet the condition for the charging device to charge the Bluetooth terminal device; that is, this scenario is where the Bluetooth terminal device uses the Bluetooth adapter 200 for data communication. At this time, the Bluetooth chip 230 can control the first charging switch 250 to enable the Bluetooth terminal device to supply power to the Bluetooth adapter 200. Based on this power supply function, the Bluetooth adapter 200 itself does not need to have a power supply module. When the Bluetooth adapter 200 is connected to both the Bluetooth terminal device and the charging device, the condition for the charging device to charge the Bluetooth terminal device is met. In this case, the charging device supplies power to the Bluetooth adapter 200 to charge the Bluetooth terminal device, and the Bluetooth adapter 200 again does not need to have a power supply module.

[0034] This embodiment describes two common operating scenarios for the Bluetooth adapter 200. In one scenario, the Bluetooth terminal device has sufficient power and does not require charging. It only needs to communicate with the Bluetooth adapter 200 for data transmission and other functions typically performed by the Bluetooth adapter 200. In this scenario, the Bluetooth adapter 200 connects to the Bluetooth terminal device through the first data interface 210, while the second data interface 220 is unused. The Bluetooth terminal device communicates with the Bluetooth adapter 200 via the first data interface 210. Simultaneously, the Bluetooth adapter 200 is powered by the Bluetooth terminal device; specifically, the Bluetooth terminal device supplies power to the Bluetooth adapter 200 to enable its normal operation.

[0035] In another operating scenario, the Bluetooth terminal device has low battery but still needs to connect to the Bluetooth adapter 200 for data communication. In this scenario, both data interfaces of the Bluetooth adapter 200 are used. The first data interface 210 connects to the Bluetooth terminal device for data communication, and the second data interface 220 connects to the charging device. The first and second data interfaces 220 are connected, allowing the charging device to charge the Bluetooth terminal device through the Bluetooth adapter 200 as an intermediary. This ensures that the Bluetooth adapter 200 can communicate with the Bluetooth terminal device while simultaneously enabling the Bluetooth terminal device to charge. In this scenario, the Bluetooth chip 230 of the Bluetooth adapter 200 can be powered by the charging device, or it can be powered first by the Bluetooth terminal device and then by the charging device. The specific power supply method depends on the order in which the first data interface 210 and the second data interface 220 are used. This will be further described below.

[0036] In a further embodiment of this application, the communication switch 240 may include a first communication switch 240 and a second communication switch 240 (not in...). Figure 2(As shown in the diagram), the first communication switch 240 is connected between the first data interface 210 and the Bluetooth chip 230, and the second communication switch 240 is connected between the second data interface 220 and the Bluetooth chip 230; the Bluetooth adapter 200 also includes a first resistor module and a second resistor module (for...). Figure 2 As shown in the diagram, the first resistor module is connected between the first communication switch 240 and ground, and the second resistor module is connected between the second communication switch 240 and ground. When the first communication switch 240 and the second communication switch 240 are each in a second ON state, the first communication switch 240 is connected to the first resistor module, and the second communication switch 240 is connected to the second resistor module. The Bluetooth terminal device supplies power to the Bluetooth chip 230 because it detects the first resistor module, and the charging device supplies power to the Bluetooth chip 230 because it detects the second resistor module. The charging device continues to supply power to the Bluetooth chip 230 when the Bluetooth terminal device does not supply power to the Bluetooth chip 230.

[0037] In this embodiment, both the first communication switch 240 and the second communication switch 240 have two on states: a first on state and a second on state. When both the first communication switch 240 and the second communication switch 240 are in the second on state, the first communication switch 240 is connected to the first resistor module, and the second communication switch 240 is connected to the second resistor module. The Bluetooth terminal device supplies power to the Bluetooth chip 230 because it detects the first resistor module, and the charging device supplies power to the Bluetooth chip 230 because it detects the second resistor module. Furthermore, the charging device continues to supply power to the Bluetooth chip 230 when the Bluetooth terminal device does not supply power to the Bluetooth chip 230.

[0038] Therefore, in the scenario where the first data interface 210 is connected to a Bluetooth terminal device but the second data interface 220 is not connected to a charging device, the first communication switch 240 and the second communication switch 240 are in the second ON state, and the Bluetooth terminal device supplies power to the Bluetooth chip 230 because it detects the first resistor module. After the Bluetooth terminal device supplies power to the Bluetooth chip 230 via the first charging switch 250, when it is determined that the second data interface 220 is connected to the charging device, the Bluetooth chip 230 controls the first communication switch 240 and the second communication switch 240 to switch from the second on state to the first on state. At this time, the Bluetooth terminal device stops supplying power to the Bluetooth chip 230 because it cannot detect the first resistor module. At this time, the charging device supplies power to the Bluetooth chip 230 via the second charging switch 250. Simultaneously, the Bluetooth chip 230 controls the second communication switch 240 to be in the first on state, so that the communication line between the first data interface 210 and the second data interface 220 is connected, and the Bluetooth terminal device and the charging device can communicate using the charging protocol (e.g., PD fast charging protocol). In addition, the Bluetooth chip 230 controls both the first charging switch 250 and the second charging switch 250 of the Bluetooth adapter 200 to be in the on state, so that the charging line between the first data interface 210 and the second data interface 220 is connected, allowing the charging device to charge the Bluetooth terminal device through the charging line based on the aforementioned charging protocol communication.

[0039] Conversely, in the scenario where the charging device is connected to the second data interface 220 but the Bluetooth terminal device is not connected to the first data interface 210, the first communication switch 240 and the second communication switch 240 are in the second ON state, and the charging device supplies power to the Bluetooth chip 230 because it detects the second resistor module. After the charging device supplies power to the Bluetooth chip 230 via the second charging switch 250, when it is determined that the first data interface 210 is connected to the Bluetooth terminal device, the Bluetooth chip 230 controls the first communication switch 240 and the second communication switch 240 to switch from the second on state to the first on state. At this time, the Bluetooth terminal device will not supply power to the Bluetooth chip 230 because it cannot detect the first resistor module. Although the charging device cannot detect the second resistor module, it continues to supply power to the Bluetooth chip 230 because it remains on through the second charging switch 250. Furthermore, since both the first communication switch 240 and the second communication switch 240 are in the first on state, the communication line between the first data interface 210 and the second data interface 220 is connected, and the Bluetooth terminal device and the charging device can communicate via the charging protocol. In addition, the Bluetooth chip 230 controls both the first charging switch 250 and the second charging switch 250 of the Bluetooth adapter 200 to be in the on state, so that the charging line between the first data interface 210 and the second data interface 220 is connected, allowing the charging device to charge the Bluetooth terminal device via the charging line based on the aforementioned charging protocol communication.

[0040] In embodiments of this application, the Bluetooth chip 230 is further configured to: receive user input, control the communication switch 240 to a second ON state based on the user input, so that the Bluetooth terminal device supplies power to the Bluetooth chip 230; and output a prompt message after the Bluetooth chip 230 detects that the power supply at the first data interface 210 is normal, to indicate to the user that the charging device is removable. In some cases, the user may need to unplug the charging device for various reasons, such as when the charging device has finished charging the Bluetooth terminal device. In this case, since the Bluetooth adapter 200 is powered by the charging device, if the charging device is unplugged directly, the Bluetooth adapter 200 will experience a brief power outage, and power can only be restored after the Bluetooth terminal device supplies power to the Bluetooth adapter 200. To avoid this situation, in this embodiment, when the user wants to unplug the charging device, the Bluetooth adapter 200 can be "notified" first. For example, the Bluetooth adapter 200 is equipped with an interactive button, which the user can click. The Bluetooth adapter 200 detects that the button has been clicked and determines that the user wants to unplug the charging device. At this time, the communication switch 240 can be controlled to be in the second on state, so that the Bluetooth terminal device supplies power to the Bluetooth chip 230. At this time, the charging device also continues to supply power to the Bluetooth adapter 200. After the Bluetooth chip 230 detects that the power supply at the first data interface 210 is normal, it outputs a prompt message to inform the user that the charging device can be unplugged. At this time, the user unplugs the charging device. Since the Bluetooth terminal device has already supplied power to the Bluetooth adapter 200 normally, the power outage of the Bluetooth adapter 200 during the entire power supply switching process can be avoided.

[0041] For example, the Bluetooth adapter 200 may include an indicator light, through which the Bluetooth chip 230 can emit the aforementioned prompt message. In other examples, the Bluetooth adapter 200 may also emit the prompt message in any other suitable manner, such as by emitting a voice message through a speaker.

[0042] In embodiments of this application, the Bluetooth adapter 200 further includes a low-dropout linear regulator (not included in...). Figure 2 As shown in the diagram, a low-dropout linear regulator is connected between the Bluetooth chip 230 and the first charging switch 250 and the second charging switch 250. In this embodiment, the Bluetooth adapter 200 also includes a low-dropout regulator (LDO), so that the Bluetooth terminal device supplies power to the Bluetooth chip 230 through the LDO, and the charging device also supplies power to the Bluetooth chip 230 through the LDO, thus achieving stability and security in the power supply to the Bluetooth chip 230.

[0043] In the embodiments of this application, the aforementioned first data interface 210 can be a USB-C male connector, and the second data interface 220 can be a USB-C female connector. In this embodiment, the Bluetooth adapter 200 can be inserted into the data interface of a Bluetooth terminal device (such as a charging interface commonly used in mobile phones) using the USB-C male connector to achieve connection with the Bluetooth terminal device; the charging device can be inserted into the Bluetooth adapter 200 using the USB-C female connector to achieve connection with the Bluetooth adapter 200. Such a data interface structure is simple and easy to implement.

[0044] Based on the above description, the Bluetooth adapter 200 according to the embodiments of this application can achieve data communication with the Bluetooth terminal device without affecting the charging function of the Bluetooth terminal device. The charging device can charge the Bluetooth terminal device through the Bluetooth adapter as a bridge, solving the problem that the Bluetooth terminal device cannot communicate with the Bluetooth adapter while charging when the battery is low, improving the user experience, and the structure is simple and easy to implement.

[0045] The following is combined with Figure 3 The Bluetooth adapter 300 according to another embodiment of this application can be considered as a structural implementation example of the Bluetooth adapter 200. For example... Figure 3 As shown, the Bluetooth adapter 300 includes a USB-C male connector (an example of the first data interface described above), a USB-C female connector (an example of the second data interface described above), a Bluetooth chip BT SOC (which includes, for example, an SBC, LDAC, or LC3 audio codec, an example of the Bluetooth chip described above), switches K1 and K2 (examples of the first and second charging switches described above), switches SW1 and SW2 (examples of the first and second communication switches described above), resistors R5 and R7 (examples of the first resistor module described above), resistors R9 and R10 (examples of the second resistor module described above), connecting wires CC1_F, CC2_F, CC1_M, CC2_M, voltage measurement circuit 1 (an example of the first voltage detection circuit described above), voltage measurement circuit 2 (an example of the second voltage detection circuit described above), and a low dropout linear regulator LDO.

[0046] In use case 1, the Bluetooth adapter 300 is used only as an adapter. The USB-C male connector is used to plug into the Bluetooth terminal device (in...). Figure 3 The example shows a mobile phone's USB-C port. The mobile phone detects resistors R5 and R7 on the CC1_F and CC2_F lines. The mobile phone supplies power to the BT SOC through the charging switch K1 and LDO.

[0047] In usage scenario 2, which takes place under the conditions of usage scenario 1, the charging cable is plugged into the USB-C female connector, and the Bluetooth adapter acts as both an adapter and an intermediate device for charging the phone. The charging device at the charging cable end detects resistors R9 and R10 on the CC1_M and CC2_M lines, and supplies power to the BT SOC through the charging switch K2 and LDO. At this time, the BT SOC detects the power supply status of the USB-C female connector through the voltage measurement circuit 2 via the ADC2 port. After the power supply is normal, the BT SOC opens SW1 through enable control 1. At this time, CC1_F and CC2_F are disconnected from resistors R5 and R7, and CC1_F and CC2_F are connected to SW2. The phone at the USB male connector stops supplying power to the BT SOC. At this point, the BT SOC detects the phone's power supply has stopped via ADC1 and then opens switches SW2, K1, and K2 via enable control 2 and enable control 3. CC1_M, CC2_M, CC1_F, and CC2_F are connected, and K1 and K2 are connected. The charging device at the USB-C female connector and the phone at the USB-C male connector communicate via CC1 and CC2 to enter PD fast charging. The BT SOC is then powered by the USB-C female connector.

[0048] In scenario 3, the USB-C female connector is first inserted into the charging device, followed by the USB-C male connector into the phone. The charging device at the charging cable end detects resistors R9 and R10 on lines CC1_M and CC2_M, and supplies power to the BT SOC via charging switch K2 and LDO. At this time, the BT SOC detects the power supply status of the USB-C female connector via ADC2. If the power supply is normal, the BT SOC opens four switches SW1, SW2, K1, and K2 via enable control 1, enable control 2, and enable control 3. CC1_M and CC2_M are connected to CC1_F and CC2_F, respectively. The charging device at the USB-C female connector and the phone at the USB-C male connector communicate via CC1 and CC2 to enter PD fast charging. At this time, the BT SOC is powered by the USB-C female connector.

[0049] When the charging device at the USB-C female connector is unplugged, the mobile phone detects resistors R5 and R7 on the CC1_F and CC2_F lines and restores power to the BT SOC. This transition process causes the BT SOC to briefly lose power. Therefore, in this embodiment, before unplugging the charging device at the USB-C female connector, the user can input information, such as pressing buttons on the BT SOC. After detecting the button press, the BT SOC disables four switches SW1, SW2, and K1, K2 via enable control 1, enable control 2, and enable control 3. Resistors R5 and R7 connect CC1_M and CC2_M respectively, and resistors R9 and R10 connect CC1_F and CC2_F respectively. At this time, the mobile phone at the USB-C male connector resumes power supply, and the charging device at the USB-C female connector continues to receive power. After the BT SOC detects that the power supply voltage of the USB-C male connector is normal via the voltage detection circuit 1 through port ADC1, it prompts the user to unplug the charging device at the USB-C female connector via an LED indicator.

[0050] Now combine Figure 4 This application describes a method 400 for implementing PD fast charging using a Bluetooth adapter 300 according to embodiments of the present application in usage scenarios 2 and 3. For example... Figure 4 As shown, method 400 may include the following steps:

[0051] In step S410, the BT SOC is powered on.

[0052] In step S420, the BT SOC measures the voltage at the USB-C male connector and the USB-C female connector using voltage measurement circuit 1 and voltage measurement circuit 2, respectively.

[0053] In step S430, it is determined whether the voltages at both the USB-C male and USB-C female connectors are within the first voltage range. If not, proceed to step S440; if yes, proceed to step S470.

[0054] In step S440, it is determined whether the voltage at the USB-C male connector is in the second voltage range and the voltage at the USB-C female connector is in the first voltage range. If yes, proceed to step S450; otherwise, return to step S420.

[0055] In step S450, the BT SOC outputs a prompt message indicating that the user's phone is not connected or is not powered on. After receiving the prompt, the user can connect the phone to the USB-C male connector or power on a phone already connected to the USB-C male connector, and then press the button to confirm.

[0056] In step S460, the BT SOC detects whether the button has been pressed. If yes, proceed to step S470; otherwise, return to step S420.

[0057] In step S470, the BT SOC enable control turns on four switches SW1, SW2, K1, and K2, connecting CC1_M, CC2_M, CC1_F, and CC2_F. The power supply pins of the USB-C male and USB-C female connectors are connected, and the charging device and the mobile phone communicate through CC1 and CC2 to enter PD fast charging.

[0058] In one example, the first voltage range mentioned above is 4V to 6V, and the second voltage range mentioned above is -1V to 1V. Generally, in method 400, the BT SOC determines whether the two data interfaces are connected to the mobile phone and the charging device respectively by detecting the voltage at the USB-C male and USB-C female connectors. If the charging device is connected to the USB-C female connector but the mobile phone is not connected to the USB-C male connector, or if it is connected but not powered on, the user can be prompted to connect. After connection, the connection lines CC1 and CC2 are turned on by using a control. Thus, after the mobile phone and the charging device communicate through CC1 and CC2, the charging device charges the mobile phone through charging switches K1 and K2, achieving PD fast charging without the need for an additional PD protocol chip.

[0059] Based on the above description, the Bluetooth adapter 300 according to the embodiments of this application can achieve data communication with the Bluetooth terminal device without affecting the charging function of the Bluetooth terminal device. The charging device can charge the Bluetooth terminal device through the Bluetooth adapter as a bridge, solving the problem that the Bluetooth terminal device cannot communicate with the Bluetooth adapter while charging when the battery is low, improving the user experience. Moreover, it has a simple structure, is easy to implement, and can achieve PD fast charging without the need for an additional PD protocol chip.

[0060] Although exemplary embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above exemplary embodiments are merely illustrative and are not intended to limit the scope of this application. Various changes and modifications can be made therein by those skilled in the art without departing from the scope and spirit of this application. All such changes and modifications are intended to be included within the scope of this application as claimed in the appended claims.

[0061] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0062] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed.

[0063] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of this application may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0064] Similarly, it should be understood that, in order to streamline this application and aid in understanding one or more aspects of the invention, features of this application may sometimes be grouped together in a single embodiment, figure, or description thereof in the description of exemplary embodiments of this application. However, this approach should not be construed as reflecting an intention that the claimed application requires more features than are expressly recited in each claim. Rather, as reflected in the corresponding claims, the inventive point lies in solving the corresponding technical problem with fewer features than all features of a single disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of this application.

[0065] Those skilled in the art will understand that, apart from the mutual exclusion of features, all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or apparatus so disclosed can be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0066] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features included in other embodiments but not others, combinations of features from different embodiments are intended to be within the scope of this application and form different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.

[0067] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some modules according to the embodiments of this application. This application can also be implemented as an apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such an implementation of this application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0068] It should be noted that the above embodiments are illustrative of this application and not limiting of it, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. This application can be implemented by means of hardware comprising several different elements and by means of a computer suitable for programming. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

[0069] The above description is merely a specific embodiment or illustration of the embodiments of this application. The scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. The scope of protection of this application shall be determined by the scope of the claims.

Claims

1. A charging method based on a Bluetooth adapter, characterized in that, The Bluetooth adapter includes a Bluetooth chip, a first data interface, a second data interface, a communication switch, and a charging switch; the method includes: Detect whether the first data interface is connected to a Bluetooth terminal device and whether the second data interface is connected to a charging device; When it is determined that the first data interface is connected to the Bluetooth terminal device and the second data interface is connected to the charging device, the Bluetooth chip controls the communication switch to be in the first ON state and controls the charging switch to be in the ON state. When the communication switch is in the first ON state, the communication line between the first data interface and the second data interface is connected, enabling the Bluetooth terminal device and the charging device to communicate via the communication line using the charging protocol. When the charging switch is in the ON state, the charging lines of the first data interface and the second data interface are connected, enabling the charging device to communicate based on the charging protocol and charge the Bluetooth terminal device through the charging lines; The charging switch includes a first charging switch. After detecting whether the first data interface is connected to a Bluetooth terminal device and whether the second data interface is connected to a charging device, the method further includes: When it is determined that the first data interface is connected to the Bluetooth terminal device and the second data interface is not connected to the charging device, the Bluetooth chip controls the first charging switch to be in the ON state, so that the Bluetooth terminal device supplies power to the Bluetooth chip through the first charging switch.

2. The method according to claim 1, characterized in that, The detection of whether the first data interface is connected to a Bluetooth terminal device and whether the second data interface is connected to a charging device includes: The first voltage at the first data interface and the second voltage at the second data interface are detected.

3. The method according to claim 2, characterized in that, The step of determining that the first data interface is connected to a Bluetooth terminal device and the second data interface is connected to a charging device includes: When the first voltage and the second voltage meet preset conditions, it is determined that the first data interface is connected to the Bluetooth terminal device and the second data interface is connected to the charging device.

4. The method according to claim 3, characterized in that, When either the first voltage or the second voltage does not meet the preset condition, the method further includes: The Bluetooth chip outputs a prompt message to remind the user to confirm the reason and then operate the preset button; After detecting that the preset button has been operated, the Bluetooth chip controls the communication switch to be in the first ON state and controls the charging switch to be in the ON state.

5. The method according to claim 3, characterized in that, The first voltage and the second voltage satisfy preset conditions, including: Both the first voltage and the second voltage are within a preset voltage range.

6. The method according to claim 1, characterized in that, The charging switch further includes a second charging switch, and the communication switch includes a first communication switch and a second communication switch. After the Bluetooth terminal device supplies power to the Bluetooth chip through the first charging switch, the method further includes: When it is determined that the second data interface is connected to the charging device, the Bluetooth chip controls the first communication switch to be in the first ON state, so that the Bluetooth terminal device stops supplying power to the Bluetooth chip. The Bluetooth chip controls the second communication switch to be in the first ON state, and controls the first charging switch and the second charging switch to be in the ON state respectively, so that the charging device supplies power to the Bluetooth chip through the second charging switch, and charges the Bluetooth terminal device through the first charging switch and the second charging switch.

7. The method according to any one of claims 1-5, characterized in that, The charging switch includes a second charging switch. After detecting whether the first data interface is connected to a Bluetooth terminal device and whether the second data interface is connected to a charging device, the method further includes: When it is determined that the second data interface is connected to the charging device and the first data interface is not connected to the Bluetooth terminal device, the Bluetooth chip controls the second charging switch to be in the ON state, so that the charging device supplies power to the Bluetooth chip through the second charging switch.

8. The method according to claim 7, characterized in that, The charging switch further includes a first charging switch. After determining that the second data interface is connected to the charging device and the first data interface is not connected to the Bluetooth terminal device, the method further includes: When the first data interface is connected to the Bluetooth terminal device, the Bluetooth chip controls the communication switch to be in the first ON state, and controls the first charging switch and the second charging switch to be in the ON state respectively, so that the charging device supplies power to the Bluetooth chip through the second charging switch, and charges the Bluetooth terminal device through the first charging switch and the second charging switch.

9. A Bluetooth adapter, characterized in that, The Bluetooth adapter includes a Bluetooth chip, a first data interface, a second data interface, a communication switch, and a charging switch, wherein the charging switch includes a first charging switch, wherein: The first data interface is used to connect to a Bluetooth terminal device; The second data interface is used to connect to the charging device; The first data interface and the second data interface include a communication line and a charging line. The communication switch is located on the communication line, the charging switch is located on the charging line, and the first charging switch is connected between the first data interface and the Bluetooth chip. The Bluetooth chip is configured to: detect whether the first data interface is connected to a Bluetooth terminal device and whether the second data interface is connected to a charging device; when the first data interface is connected to the Bluetooth terminal device and the second data interface is connected to the charging device, control the communication switch to be in a first ON state and control the charging switch to be in an ON state, so that the communication line is connected and the charging line is connected, thereby enabling the Bluetooth terminal device and the charging device to communicate via the communication line using the charging protocol, and enabling the charging device to charge the Bluetooth terminal device via the charging line based on the charging protocol communication; after detecting whether the first data interface is connected to the Bluetooth terminal device and whether the second data interface is connected to the charging device, if it is determined that the first data interface is connected to the Bluetooth terminal device and the second data interface is not connected to the charging device, the Bluetooth chip controls the first charging switch to be in the ON state, so that the Bluetooth terminal device supplies power to the Bluetooth chip via the first charging switch.

10. The Bluetooth adapter according to claim 9, characterized in that, The Bluetooth adapter further includes a first voltage detection circuit and a second voltage detection circuit. The first voltage detection circuit is connected between the first data interface and the Bluetooth chip, and the second voltage detection circuit is connected between the second data interface and the Bluetooth chip. The Bluetooth chip is further configured to: The first voltage at the first data interface is detected by the first voltage detection circuit to detect whether the first data interface is connected to a Bluetooth terminal device. And based on the second voltage detection circuit, detect the second voltage at the second data interface to detect whether the second data interface is connected to a charging device.

11. The Bluetooth adapter according to claim 10, characterized in that, The Bluetooth chip is also configured to: When the first voltage and the second voltage meet preset conditions, it is determined that the first data interface is connected to the Bluetooth terminal device and the second data interface is connected to the charging device.

12. The Bluetooth adapter according to claim 11, characterized in that, The Bluetooth chip is also configured to: When the first voltage or the second voltage does not meet the preset condition, the Bluetooth chip outputs a prompt message to prompt the user to confirm the reason and then operate the preset button. After detecting that the preset button has been operated, the communication switch is controlled to be in the first ON state, and the charging switch is also controlled to be in the ON state.

13. The Bluetooth adapter according to claim 9, characterized in that, The charging switch includes a second charging switch, which is connected between the second data interface and the Bluetooth chip. The Bluetooth chip is further configured to: When the first data interface is connected to the Bluetooth terminal device and the second data interface is connected to the charging device, the first charging switch and the second charging switch are each controlled to be in the ON state, so that the charging device supplies power to the Bluetooth chip through the second charging switch.

14. The Bluetooth adapter according to claim 13, characterized in that, The communication switch includes a first communication switch and a second communication switch, wherein the first communication switch is connected between the first data interface and the Bluetooth chip, and the second communication switch is connected between the second data interface and the Bluetooth chip; The Bluetooth adapter further includes a first resistor module and a second resistor module, wherein the first resistor module is connected between the first communication switch and ground, and the second resistor module is connected between the second communication switch and ground; When the first communication switch and the second communication switch are each in the second ON state, the first communication switch is connected to the first resistor module, the second communication switch is connected to the second resistor module, the Bluetooth terminal device supplies power to the Bluetooth chip because it detects the first resistor module, the charging device supplies power to the Bluetooth chip because it detects the second resistor module, and the charging device continues to supply power to the Bluetooth chip when the Bluetooth terminal device does not supply power to the Bluetooth chip.

15. The Bluetooth adapter according to claim 13, characterized in that, The Bluetooth adapter also includes a low-dropout linear regulator, which is connected between the Bluetooth chip and the first charging switch and the second charging switch.

Citation Information

Patent Citations

  • Bluetooth audio adapter and audio playing equipment

    CN214045987U

  • Bluetooth earphone

    KR101373899B1