CN109768596B - Electric quantity display method, earphone charging device and earphone - Google Patents

Electric quantity display method, earphone charging device and earphone Download PDF

Info

Publication number
CN109768596B
CN109768596B CN201910026959.5A CN201910026959A CN109768596B CN 109768596 B CN109768596 B CN 109768596B CN 201910026959 A CN201910026959 A CN 201910026959A CN 109768596 B CN109768596 B CN 109768596B
Authority
CN
China
Prior art keywords
earphone
data transmission
wireless data
charging device
electric quantity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910026959.5A
Other languages
Chinese (zh)
Other versions
CN109768596A (en
Inventor
冯海彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910026959.5A priority Critical patent/CN109768596B/en
Publication of CN109768596A publication Critical patent/CN109768596A/en
Application granted granted Critical
Publication of CN109768596B publication Critical patent/CN109768596B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an electric quantity display method, an earphone charging device and an earphone, wherein the electric quantity display method applied to the earphone charging device comprises the following steps: establishing a first wireless data transmission link with a target headset, wherein the target headset comprises a left headset and/or a right headset; receiving the electric quantity information sent by the target earphone through the first wireless data transmission link; and displaying the electric quantity information of the target earphone. Therefore, according to the scheme of the invention, the user can check the electric quantity information of the earphone at any time without interrupting the use of the earphone and inserting the earphone into the earphone charging device, and the operation process of checking the electric quantity information of the earphone by the user is simplified.

Description

Electric quantity display method, earphone charging device and earphone
Technical Field
The invention relates to the technical field of communication, in particular to an electric quantity display method, an earphone charging device and an earphone.
Background
Along with the popularization of smart phones, earphones are popularized more widely, earphones are developed from traditional wired earphones to wireless Bluetooth earphones, the limitation of solid wires is eliminated, and the use experience and the portability of the earphones are improved.
In the prior art, a real wireless stereo (TWS) headset includes a left headset, a right headset, and a corresponding charging box. In order to show the electric quantity information of earphone and box that charges on cell-phone and the box pilot lamp that charges, there are two kinds of modes at present mainly:
firstly, a channel for transmitting electric quantity signals needs to be added between a charging box and the earphone, besides two contacts for charging originally, an electric quantity data transmission contact needs to be added on the appearance of the earphone, and the appearance attractiveness of the earphone is affected by the mode.
And secondly, three charging management chips are required to be added on the charging box and the left and right earphones respectively, a time division management mode is generally used, only the original charging data line channel is used, single-line data duplex transmission is realized, although a contact is not required to be added on the appearance of the earphones, the cost is increased due to the fact that the three chips are additionally added.
In addition, these two kinds of schemes of prior art all have a same defect, and exactly in the earphone use, the user can't learn the current electric quantity information of earphone, only breaks off the use of earphone earlier and inserts the charging box with the earphone again, and earphone electric quantity information transmission can show after the charging box, and the process is loaded down with trivial details, influences user's experience.
Disclosure of Invention
The embodiment of the invention provides an electric quantity display method, an earphone charging device and an earphone, and aims to solve the problem that the operation process of TWS earphone electric quantity display is relatively complicated.
In a first aspect, an embodiment of the present invention provides an electric quantity display method applied to an earphone charging device, where the electric quantity display method includes:
establishing a first wireless data transmission link with a target headset, wherein the target headset comprises a left headset and/or a right headset;
receiving the electric quantity information sent by the target earphone through the first wireless data transmission link;
and displaying the electric quantity information of the target earphone.
In a second aspect, an embodiment of the present invention provides an electric quantity display method applied to an earphone, where the electric quantity display method includes:
acquiring the electric quantity information of the earphone;
establishing a first wireless data transmission link with the headset charging device;
and sending the acquired electric quantity information to the earphone charging device through the first wireless data transmission link.
In a third aspect, an embodiment of the present invention provides an earphone charging device, including:
a first link establishing module, configured to establish a first wireless data transmission link with a target headset, where the target headset includes a left headset and/or a right headset;
a first receiving module, configured to receive, through the first wireless data transmission link, the power information sent by the target earphone;
and the first display module is used for displaying the electric quantity information of the target earphone.
In a fourth aspect, an embodiment of the present invention provides a headset, including:
the third acquisition module is used for acquiring the electric quantity information of the earphone;
the third link establishing module is used for establishing a first wireless data transmission link with the earphone charging device;
and the second sending module is used for sending the acquired electric quantity information to the earphone charging device through the first wireless data transmission link.
In a fifth aspect, an embodiment of the present invention provides a headset charging device, including a memory, a processor, and a computer program stored on the memory and executable on the processor; the processor implements the electric quantity display method when executing the program.
In a sixth aspect, embodiments of the present invention provide a headset comprising a memory, a processor and a computer program stored on the memory and executable on the processor; the processor implements the above-described power display method applied to the earphone charging device when executing the program.
The embodiment of the invention has the beneficial effects that:
according to the embodiment of the invention, the electric quantity information of the earphone is transmitted to the earphone charging device through the wireless data transmission link between the earphone charging device and the earphone and is displayed on the earphone charging device, so that the electric quantity information of the earphone can be checked by a user at any time without interrupting the use of the earphone and inserting the earphone into the earphone charging device, and the operation process of checking the electric quantity information of the earphone by the user is simplified.
Drawings
Fig. 1 is a flowchart illustrating a method for displaying an amount of power applied to a charging device of an earphone according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a power display method applied to a headset according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a wireless data link established between the headset charging device, the headset and the terminal according to an embodiment of the present invention;
fig. 4 is a block diagram showing the structure of the earphone charging device according to the embodiment of the present invention;
fig. 5 shows a block diagram of the structure of the earphone according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides an electric quantity display method applied to an earphone charging device, as shown in fig. 1, the method includes:
step 101: the headset charging device establishes a first wireless data transmission link with the target headset.
Wherein the target earphone comprises a left earphone and/or a right earphone. The earphone charging device is a charging box of the earphone.
In the embodiment of the invention, the target earphone is in communication connection with the earphone charging device in a wireless mode, so that the electric quantity information of the target earphone can be sent to the earphone charging device for display through a wireless data transmission link between the target earphone and the earphone charging device, the use of the earphone is not required to be interrupted like the prior art, and a user can know the electric quantity information of the earphone only by inserting the earphone into the earphone charging device. Therefore, the embodiment of the invention simplifies the operation process of checking the earphone power information by the user.
Preferably, the step of establishing the first wireless data transmission link with the target earphone comprises:
receiving a connection request sent by a target earphone, wherein the connection request is sent after the current electric quantity value of the target earphone is changed by a preset amplitude relative to a first electric quantity value, and the first electric quantity value is electric quantity information sent by the target earphone through a first wireless data transmission link established last time;
establishing a wireless data transmission link with the target headset in response to the connection request.
The target earphone detects the electric quantity information in real time, when the current electric quantity value of the target earphone changes by a preset amplitude relative to the electric quantity value sent to the earphone charging device last time, the target earphone sends a connection request to the earphone charging device, so that the earphone charging device responds to the connection request to establish a first wireless data transmission path with the target earphone, and after the target earphone sends the electric quantity information to the earphone charging device, the target earphone releases a first wireless data transmission link with the earphone charging device, and the first wireless data transmission link is reestablished until the next electric quantity value of the target earphone changes by the preset amplitude again.
Therefore, the first wireless data transmission link is established when the electric quantity value of the target earphone is changed by a preset amplitude, and is released after the target earphone transmits the electric quantity information to the earphone charging device through the first wireless data transmission link. Namely, the wireless data transmission link between the target earphone and the earphone charging device adopts an intermittent connection mode, the data transmission is established and carried out only when the electric quantity value of the target earphone is changed by a preset amplitude (for example, 1%), and the wireless data transmission link is disconnected after the data transmission is finished and is repeated in sequence.
Preferably, the headset charging device includes a second bluetooth module, and the first wireless data transmission link is a bluetooth communication link established between a first bluetooth module on the target headset and the second bluetooth module; prior to the step of establishing a first wireless data transmission link with a target headset, the method further comprises: and switching the second Bluetooth module to a low power consumption mode.
The low power consumption mode of the bluetooth module is an operating mode of bluetooth specified in the existing protocol in terms of transmission data size and power consumption.
Specifically, the first bluetooth module and the second bluetooth module respectively include a bluetooth Micro Control Unit (MCU), a coder-decoder (CODEC), and a bluetooth radio frequency module. The Left earphone and the Right earphone are connected with the earphone charging device in a pairing mode for the first time, the Bluetooth radio frequency module of the second Bluetooth module on the Left earphone and the Bluetooth radio frequency module of the second Bluetooth module on the Right earphone are respectively connected with the Bluetooth radio frequency module of the first Bluetooth module on the earphone charging device, two Bluetooth communication links are established under the control of a Bluetooth MCU, the communication link between the earphone charging device and the Left earphone is marked by Left-ACL-01, the communication link between the earphone charging device and the Right earphone is marked by Right-ACL-01, and information of the two communication links is correspondingly stored in a system chip (SOC) of the earphone charging device, so that the Bluetooth communication links can be established between the earphone charging device and the Left earphone and the Right earphone for the next time quickly.
In addition, after the Bluetooth communication link between the earphone and the earphone charging device is established, the CODEC of the first Bluetooth module encodes the electric quantity data detected by the earphone and sends the electric quantity data to the earphone charging device through the radio frequency module of the first Bluetooth module. And after the radio frequency module of the second Bluetooth module on the earphone charging device receives the electric quantity information of the earphone, the decoding is carried out through the CODEC of the second Bluetooth module.
In addition, the first Bluetooth module and the second Bluetooth module both comprise low power consumption modes, so that the respective Bluetooth modules can be switched to the low power consumption modes before the first wireless transmission link is established between the earphone charging device and the target earphone, and the system power consumption is saved. Specifically, for example, the bluetooth module may adopt a dual-mode specification, the bluetooth module of the dual-mode specification integrates two modes of classic bluetooth and bluetooth low energy, the classic bluetooth mode is selected for use when the target earphone performs audio big data interaction, and the bluetooth low energy mode is used when performing electric quantity data transmission, which can greatly save the power consumption of the system.
Step 102: and the earphone charging device receives the electric quantity information sent by the target earphone through the first wireless data transmission link.
Preferably, after the step of receiving the power information sent by the target headset through the first wireless data transmission link, the method further includes:
acquiring electric quantity information of the earphone charging device;
and displaying the acquired electric quantity information of the earphone charging device.
The electric quantity information of the earphone charging device can be displayed on the earphone charging device, so that a user can know the electric quantity information of the earphone charging device at any time.
Preferably, after the step of receiving the power information sent by the target headset through the first wireless data transmission link, the method further includes:
acquiring electric quantity information of the earphone charging device;
establishing a second wireless data transmission link with a terminal;
and sending the received electric quantity information of the target earphone and the acquired electric quantity information of the earphone charging device to the terminal through the second wireless data transmission link.
That is, in the embodiment of the present invention, after receiving the power information of the target earphone, the earphone charging device may further trigger to detect the power information of the target earphone, and establish a second wireless data transmission link with a terminal, so that the power information of the target earphone and the power information of the earphone charging device are sent to the terminal for display through the second wireless data transmission link.
Therefore, the embodiment of the invention can know the electric quantity information of the earphone and the electric quantity information of the earphone charging device on the terminal in real time, and is further convenient for users to use the earphone and the earphone charging device.
Further, the earphone charging device comprises a second bluetooth module, and the second wireless data transmission link is a bluetooth communication link established between a third bluetooth module on the terminal and the second bluetooth module;
before the step of establishing a second wireless data transmission link with a terminal, the method further comprises: and switching the second Bluetooth module to a low power consumption mode.
Specifically, the second bluetooth module and the third bluetooth module respectively include a bluetooth MCU, a coder-decoder (CODEC), and a bluetooth radio frequency module. The earphone charging device is connected with the terminal in a pairing mode for the first time, the Bluetooth radio frequency module of the second Bluetooth module and the Bluetooth radio frequency module of the third Bluetooth module establish a Bluetooth communication link under the control of the Bluetooth MCU, are marked as charge-ACL-01 and are stored in the terminal, and therefore the Bluetooth communication link can be established quickly when the Bluetooth communication link is established between the earphone charging device and the terminal next time.
After the Bluetooth communication link between the earphone charging device and the terminal is established, the CODEC of the second Bluetooth module encodes the electric quantity data of the earphone and the electric quantity data of the earphone charging device and transmits the encoded electric quantity data to the terminal through the radio frequency module of the second Bluetooth module. And after receiving the electric quantity information of the earphone and the electric quantity information of the earphone charging device, the radio frequency module of the third Bluetooth module of the terminal decodes the electric quantity information through the CODEC of the third Bluetooth module.
In addition, the second bluetooth module and the third bluetooth module both include a low power consumption mode, so that before the second wireless transmission link is established between the earphone charging device and the terminal, the respective bluetooth modules can be switched to the low power consumption mode, thereby saving the system power consumption. Specifically, for example, the bluetooth module may adopt a dual-mode specification, the bluetooth module of the dual-mode specification integrates two modes of classic bluetooth and bluetooth low energy, the terminal selects the classic bluetooth mode when performing audio big data interaction with the headset, and the bluetooth low energy mode when performing electric quantity data transmission with the headset charging device, which can greatly save the power consumption of the system.
Further, after the received power information of the target headset and the acquired power information of the headset charging device are sent to the terminal through the second wireless data transmission link, the method further includes:
and releasing the second wireless data transmission link until the next time the electric quantity information of the target earphone is received, and reestablishing the second wireless data transmission link.
The wireless data transmission link between the earphone charging device and the terminal adopts an intermittent connection mode, the wireless data transmission link between the earphone charging device and the terminal is established and data transmission is carried out only when the earphone charging device receives the electric quantity information sent by the target earphone, and the wireless data transmission link is disconnected after the data transmission is finished and is repeated in sequence.
Step 103: and the earphone charging device displays the electric quantity information of the target earphone.
When the electric quantity value of the target earphone is changed in a preset amplitude, the electric quantity information of the target earphone is sent to the earphone charging device, and the electric quantity value of the target earphone is displayed on the earphone charging device in the preset amplitude. For example, when the predetermined amplitude is 1%, the power of the target earphone is displayed in a change of 1%, that is, the power information of the target earphone is displayed in an integer. In addition, if the electric quantity information which is sent to the earphone charging device by the target earphone for the first time is not an integer, for example, 96.3%, then, according to a rounding rule, the value of 96% is sent to the electric quantity display module for displaying.
In summary, in the embodiments of the present invention, the wireless data transmission link between the earphone charging device and the earphone is used to transmit the electric quantity information of the earphone to the earphone charging device and display the information on the earphone charging device, so that the user can check the electric quantity information of the earphone at any time without interrupting the use of the earphone and inserting the earphone into the earphone charging device, thereby simplifying the operation process of checking the electric quantity information of the earphone by the user.
The embodiment of the invention also provides an electric quantity display method which is applied to the earphone, wherein the earphone is a left earphone or a right earphone. As shown in fig. 2, the method includes:
step 201: the earphone acquires the electric quantity information of the earphone.
Step 202: the headset establishes a first wireless data transmission link with the headset charging device.
Wherein, the earphone charging device is the charging box of the earphone.
In the embodiment of the invention, the earphone and the earphone charging device are in communication connection in a wireless mode, so that the electric quantity information of the earphone can be sent to the earphone charging device for display through a wireless data transmission link between the earphone and the earphone charging device, the use of the earphone is not required to be interrupted like the prior art, and a user can know the electric quantity information of the earphone only by inserting the earphone into the earphone charging device. Therefore, the embodiment of the invention simplifies the operation process of checking the earphone power information by the user.
Preferably, the step of establishing a first wireless data transmission link with the headset charging device comprises:
when the current electric quantity value of the earphone is changed by a preset amplitude relative to a first electric quantity, sending a connection request to an earphone charging device, wherein the first electric quantity value is electric quantity information sent by the earphone through the first wireless data transmission link established last time.
The earphone detects the electric quantity information in real time, when the current electric quantity value of the earphone changes by a preset amplitude relative to the electric quantity value sent to the earphone charging device last time, the earphone sends a connection request to the earphone charging device, so that the earphone charging device responds to the connection request to establish a first wireless data transmission path with the earphone, and after the earphone sends the electric quantity information to the earphone charging device, the earphone releases a first wireless data transmission link with the earphone charging device, and the first wireless data transmission link is reestablished until the next time the electric quantity value of the earphone changes by the preset amplitude again.
Therefore, the first wireless data transmission link is established when the electric quantity value of the earphone is changed by a preset amplitude, and is released after the earphone transmits the electric quantity information to the earphone charging device through the first wireless data transmission link. Namely, the wireless data transmission link between the earphone and the earphone charging device adopts an intermittent connection mode, the data transmission is established and carried out only when the electric quantity value of the earphone is changed by a preset amplitude (for example, 1%), and the wireless data transmission link is disconnected after the data transmission is finished, and the data transmission is repeated in sequence.
Preferably, the headset charging device includes a second bluetooth module, and the first wireless data transmission link is a bluetooth communication link established between a first bluetooth module and the second bluetooth module on the headset;
before the step of establishing the first wireless data transmission link with the headset charging device, the method further comprises: and switching the first Bluetooth module to a low power consumption mode.
Specifically, the first bluetooth module and the second bluetooth module respectively include a bluetooth MCU, a coder-decoder (CODEC), and a bluetooth radio frequency module. The Left earphone and the Right earphone are connected with the earphone charging device in a pairing mode for the first time, the Bluetooth radio frequency module of the second Bluetooth module on the Left earphone and the Bluetooth radio frequency module of the second Bluetooth module on the Right earphone are respectively connected with the Bluetooth radio frequency module of the first Bluetooth module on the earphone charging device, two Bluetooth communication links are established under the control of the Bluetooth MCU, the communication link between the earphone charging device and the Left earphone is marked by Left-ACL-01, the communication link between the earphone charging device and the Right earphone is marked by Right-ACL-01, and information of the two communication links is correspondingly stored in the SOC of the earphone charging device, so that the Bluetooth communication links can be established quickly when the Bluetooth communication links are established between the earphone charging device and the Left earphone and the Right earphone for the next time.
In addition, after the Bluetooth communication link between the earphone and the earphone charging device is established, the CODEC of the first Bluetooth module encodes the electric quantity data detected by the earphone and sends the electric quantity data to the earphone charging device through the radio frequency module of the first Bluetooth module. And after the radio frequency module of the second Bluetooth module of the earphone charging device receives the electric quantity information of the earphone, the decoding is carried out through the CODEC of the second Bluetooth module.
In addition, the first Bluetooth module and the second Bluetooth module both comprise low power consumption modes, so that the respective Bluetooth modules can be switched to the low power consumption modes before the first wireless transmission link is established between the earphone charging device and the earphone, and the system power consumption is saved. Specifically, for example, the bluetooth module may adopt a dual-mode specification, the bluetooth module of the dual-mode specification integrates two modes of classic bluetooth and bluetooth low energy, the earphone selects the classic bluetooth mode when performing audio big data interaction, and the bluetooth low energy mode when performing electric quantity data transmission can greatly save the power consumption of the system.
Step 203: and the earphone sends the acquired electric quantity information to the earphone charging device through the first wireless data transmission link.
As can be seen from the above, in the embodiment of the present invention, the electric quantity information of the earphone is transmitted to the earphone charging device through the wireless data transmission link between the earphone charging device and the earphone, and is displayed on the earphone charging device, so that the user can check the electric quantity information of the earphone at any time without interrupting the use of the earphone and inserting the earphone into the earphone charging device, and the operation process of checking the electric quantity information of the earphone by the user is simplified.
In summary, the power display method according to the embodiment of the invention can be executed between the left earphone, the right earphone, the earphone charging device and the terminal. Specifically, a schematic diagram of a wireless data transmission link established between the left earphone, the right earphone, the earphone charging device and the terminal is shown in fig. 3. The left earphone and the right earphone can send respective electric quantity information to the earphone charging device for display through a wireless data transmission link between the left earphone and the earphone charging device, and the earphone charging device can also send the electric quantity information of the left earphone and the electric quantity information of the right earphone to the terminal for display through the wireless data transmission link between the earphone charging device and the terminal.
An embodiment of the present invention provides an earphone charging device, as shown in fig. 4, the earphone charging device 400 includes:
a first link establishing module 401, configured to establish a first wireless data transmission link with a target headset, where the target headset includes a left headset and/or a right headset;
a first receiving module 402, configured to receive, through the first wireless data transmission link, power information sent by the target headset;
a first display module 403, configured to display the power information of the target earphone.
Preferably, the headset charging device 400 includes:
the first acquisition module is used for acquiring the electric quantity information of the earphone charging device;
the second link establishing module is used for establishing a second wireless data transmission link with a terminal;
and the first sending module is used for sending the received electric quantity information of the target earphone and the acquired electric quantity information of the earphone charging device to the terminal through the second wireless data transmission link.
Preferably, the headset charging device 400 includes:
the second acquisition module is used for acquiring the electric quantity information of the earphone charging device;
and the second display module is used for displaying the acquired electric quantity information of the earphone charging device.
Preferably, the first link establishing module 401 includes:
a request receiving unit, configured to receive a connection request sent by a target earphone, where the connection request is sent after a current power value of the target earphone changes by a predetermined amplitude relative to a first power value, and the first power value is power information sent by the target earphone through a last established first wireless data transmission link;
a response unit for establishing a wireless data transmission link with the target earphone in response to the connection request.
Preferably, the headset charging device includes a second bluetooth module, and the first wireless data transmission link is a bluetooth communication link established between a first bluetooth module on the target headset and the second bluetooth module; the earphone charging device 400 further includes:
and the first mode switching module is used for switching the second Bluetooth module to a low power consumption mode before the first link establishing module establishes the first wireless data transmission link with the target earphone.
Preferably, the headset charging device 400 includes a second bluetooth module, and the second wireless data transmission link is a bluetooth communication link established between a third bluetooth module on the terminal and the second bluetooth module; the earphone charging device 400 further includes:
and the second mode switching module is used for switching the second Bluetooth module to the low power consumption mode before the second link establishing module establishes a second wireless data transmission link with a terminal.
Preferably, the earphone charging device 400 further includes:
and the link releasing module is used for releasing the second wireless data transmission link until the next time the electric quantity information of the target earphone is received, and reestablishing the second wireless data transmission link.
Therefore, according to the earphone charging device provided by the embodiment of the invention, the electric quantity information of the earphone is received and displayed through the wireless data transmission link between the earphone and the earphone, the use of the earphone is not required to be interrupted, the electric quantity information of the earphone can be checked by a user at any time without inserting the earphone into the earphone charging device, and the operation process of checking the electric quantity information of the earphone by the user is simplified.
Embodiments of the present invention also provide a headset, as shown in fig. 5, the headset 500 includes:
a third obtaining module 501, configured to obtain information of electric quantity of the headset;
a third link establishing module 502, configured to establish a first wireless data transmission link with the headset charging device;
a second sending module 503, configured to send the acquired power information to the headset charging device through the first wireless data transmission link.
Preferably, the headset charging device includes a second bluetooth module, and the first wireless data transmission link is a bluetooth communication link established between a first bluetooth module and the second bluetooth module on the headset; the earphone further comprises:
and the third mode switching module is used for switching the first Bluetooth module to a low power consumption mode before the third link establishing module establishes the first wireless data transmission link with the earphone charging device.
Preferably, the third link establishing module 502 includes:
the request sending unit is used for sending a connection request to the earphone charging device when the current electric quantity of the earphone changes to a preset amplitude relative to a first electric quantity value, wherein the first electric quantity value is electric quantity information sent by the earphone through the first wireless data transmission link established last time.
Therefore, according to the earphone provided by the embodiment of the invention, the electric quantity information of the earphone is displayed for the earphone charging device through the wireless data transmission link between the earphone and the earphone charging device, the use of the earphone is not required to be interrupted, the earphone is not required to be inserted into the earphone charging device, the user can check the electric quantity information of the earphone at any time, and the operation process of checking the electric quantity information of the earphone by the user is simplified.
Embodiments of the present invention also provide an earphone charging device, including a memory, a processor, and a computer program stored on the memory and executable on the processor; the processor implements the electric quantity display method when executing the program.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the power display method described above.
Embodiments of the present invention also provide a headset comprising a memory, a processor and a computer program stored on the memory and executable on the processor; the processor implements the above-described power display method applied to the earphone charging device when executing the program.
Embodiments of the present invention also provide a computer-readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the above-described power display method applied to a headset.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. The electric quantity display method is applied to an earphone charging device and comprises the following steps:
establishing a first wireless data transmission link with a target headset, wherein the target headset comprises a left headset and/or a right headset;
receiving the electric quantity information sent by the target earphone through the first wireless data transmission link;
displaying the electric quantity information of the target earphone;
the step of establishing a first wireless data transmission link with the target headset comprises:
receiving a connection request sent by a target earphone, wherein the connection request is sent after the current electric quantity value of the target earphone is changed by a preset amplitude relative to a first electric quantity value, and the first electric quantity value is electric quantity information sent by the target earphone through a first wireless data transmission link established last time;
establishing a wireless data transmission link with the target headset in response to the connection request;
after the step of receiving the power information sent by the target earphone, the method further includes:
and releasing the first wireless data transmission link with the target earphone until the first wireless data transmission link is reestablished when the electric quantity value of the target earphone changes again by the preset amplitude.
2. The method of claim 1, wherein after the step of receiving the power information transmitted by the target headset via the first wireless data transmission link, the method further comprises:
acquiring electric quantity information of the earphone charging device;
establishing a second wireless data transmission link with a terminal;
and sending the received electric quantity information of the target earphone and the acquired electric quantity information of the earphone charging device to the terminal through the second wireless data transmission link.
3. The method of claim 1, wherein the headset charging device comprises a second bluetooth module, and wherein the first wireless data transmission link is a bluetooth communication link established between a first bluetooth module on the target headset and the second bluetooth module;
prior to the step of establishing a first wireless data transmission link with a target headset, the method further comprises:
and switching the second Bluetooth module to a low power consumption mode.
4. The method of claim 2, wherein the headset charging device comprises a second bluetooth module, and the second wireless data transmission link is a bluetooth communication link established between a third bluetooth module on the terminal and the second bluetooth module;
before the step of establishing a second wireless data transmission link with a terminal, the method further comprises:
and switching the second Bluetooth module to a low power consumption mode.
5. An electric quantity display method is applied to an earphone, and the electric quantity display method comprises the following steps:
acquiring the electric quantity information of the earphone;
establishing a first wireless data transmission link with the headset charging device;
sending the acquired electric quantity information to the earphone charging device through the first wireless data transmission link;
the step of establishing a first wireless data transmission link with the headset charging device comprises:
when the current electric quantity value of the earphone is changed by a preset amplitude relative to a first electric quantity value, sending a connection request to an earphone charging device, wherein the first electric quantity value is electric quantity information sent by the earphone through a first wireless data transmission link established last time;
after the step of sending the acquired electric quantity information to the earphone charging device, the method further includes:
and releasing the first wireless data transmission link with the earphone charging device until the first wireless data transmission link is reestablished when the electric quantity value of the earphone charging device changes again by a preset amplitude.
6. The method of claim 5, wherein the headset charging device comprises a second bluetooth module, and wherein the first wireless data transmission link is a bluetooth communication link established between a first bluetooth module on the headset and the second bluetooth module;
before the step of establishing the first wireless data transmission link with the headset charging device, the method further comprises:
and switching the first Bluetooth module to a low power consumption mode.
7. An earphone charging device, comprising:
a first link establishing module, configured to establish a first wireless data transmission link with a target headset, where the target headset includes a left headset and/or a right headset;
a first receiving module, configured to receive, through the first wireless data transmission link, the power information sent by the target earphone;
the first display module is used for displaying the electric quantity information of the target earphone;
the first link establishment module comprises:
a request receiving unit, configured to receive a connection request sent by a target earphone, where the connection request is sent after a current power value of the target earphone changes by a predetermined amplitude relative to a first power value, and the first power value is power information sent by the target earphone through a last established first wireless data transmission link;
a response unit for establishing a wireless data transmission link with the target headset in response to the connection request;
the earphone charging device further includes:
and the link releasing module is used for releasing the first wireless data transmission link until the next time the electric quantity information of the target earphone is received, and reestablishing the first wireless data transmission link.
8. The headset charging device of claim 7, comprising:
the first acquisition module is used for acquiring the electric quantity information of the earphone charging device;
the second link establishing module is used for establishing a second wireless data transmission link with a terminal;
and the first sending module is used for sending the received electric quantity information of the target earphone and the acquired electric quantity information of the earphone charging device to the terminal through the second wireless data transmission link.
9. The headset charging apparatus of claim 7, wherein the headset charging apparatus comprises a second bluetooth module, and the first wireless data transmission link is a bluetooth communication link established between a first bluetooth module on the target headset and the second bluetooth module; the earphone charging device further includes:
and the first mode switching module is used for switching the second Bluetooth module to a low power consumption mode before the first link establishing module establishes the first wireless data transmission link with the target earphone.
10. The headset charging device of claim 8, wherein the headset charging device comprises a second bluetooth module, and the second wireless data transmission link is a bluetooth communication link established between a third bluetooth module on the terminal and the second bluetooth module; the earphone charging device further includes:
and the second mode switching module is used for switching the second Bluetooth module to the low power consumption mode before the second link establishing module establishes a second wireless data transmission link with a terminal.
11. An earphone, comprising:
the third acquisition module is used for acquiring the electric quantity information of the earphone;
the third link establishing module is used for establishing a first wireless data transmission link with the earphone charging device;
the second sending module is used for sending the acquired electric quantity information to the earphone charging device through the first wireless data transmission link;
the third link establishment module comprises:
a request sending unit, configured to send a connection request to a headset charging device when a current value of the headset changes by a predetermined magnitude with respect to a first power value, where the first power value is power information sent by the headset through a last established first wireless data transmission link;
the earphone further comprises:
and the link releasing module is used for releasing the first wireless data transmission link and reestablishing the first wireless data transmission link until the acquired electric quantity information is sent to the earphone charging device next time.
12. The headset of claim 11, wherein the headset charging apparatus comprises a second bluetooth module, and the first wireless data transmission link is a bluetooth communication link established between a first bluetooth module on the headset and the second bluetooth module; the earphone further comprises:
and the third mode switching module is used for switching the first Bluetooth module to a low power consumption mode before the third link establishing module establishes the first wireless data transmission link with the earphone charging device.
13. A headset charging device comprising a memory, a processor and a computer program stored on the memory and executable on the processor; wherein the processor implements the method of displaying electrical quantity of any of claims 1-4 when executing the program.
14. A headset comprising a memory, a processor and a computer program stored on the memory and executable on the processor; wherein the processor implements the method of displaying electrical quantity of any of claims 5-6 when executing the program.
CN201910026959.5A 2019-01-11 2019-01-11 Electric quantity display method, earphone charging device and earphone Active CN109768596B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910026959.5A CN109768596B (en) 2019-01-11 2019-01-11 Electric quantity display method, earphone charging device and earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910026959.5A CN109768596B (en) 2019-01-11 2019-01-11 Electric quantity display method, earphone charging device and earphone

Publications (2)

Publication Number Publication Date
CN109768596A CN109768596A (en) 2019-05-17
CN109768596B true CN109768596B (en) 2021-04-09

Family

ID=66453851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910026959.5A Active CN109768596B (en) 2019-01-11 2019-01-11 Electric quantity display method, earphone charging device and earphone

Country Status (1)

Country Link
CN (1) CN109768596B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166994B (en) * 2019-05-24 2020-01-14 深圳市烁讯电子有限公司 Data time-sharing transmission interoperability method, system, mobile terminal and storage medium
CN110224465A (en) * 2019-06-24 2019-09-10 上海来远电子科技有限公司 A kind of mobile charging storehouse electric quantity display method and its device
CN110830868A (en) * 2019-11-14 2020-02-21 深圳市昕业无线科技有限公司 System and method for controlling earphone through charging bin
CN111293748A (en) * 2020-02-27 2020-06-16 珠海格力电器股份有限公司 Method and device for monitoring electric quantity data
CN111866277A (en) * 2020-07-15 2020-10-30 百度在线网络技术(北京)有限公司 Electric quantity display method, device, equipment and storage medium of wireless earphone

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345554A (en) * 2008-08-19 2009-01-14 深圳华为通信技术有限公司 Method, equipment and system for displaying electric quantity of Bluetooth equipment on Bluetooth mobile phone
CN102073577A (en) * 2011-01-17 2011-05-25 惠州Tcl移动通信有限公司 System for displaying electrical quantity of bluetooth headset on portable electronic device and method thereof
CN102271011A (en) * 2010-06-02 2011-12-07 潍坊歌尔电子有限公司 Method and device for connecting Bluetooth headset and charging base
CN102609348A (en) * 2012-02-02 2012-07-25 深圳市中兴移动通信有限公司 Method and system for displaying capacity remaining time of Bluetooth device based on Bluetooth terminal
CN206272807U (en) * 2016-11-16 2017-06-20 深圳市冠旭电子股份有限公司 A kind of bluetooth earphone and its battery electric quantity checking device
CN107071618A (en) * 2017-04-26 2017-08-18 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone
CN208174945U (en) * 2018-05-15 2018-11-30 上海巨微集成电路有限公司 The TWS earphone charging box of carried charge push function

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811842A (en) * 2015-03-09 2015-07-29 孙盼峰 Bluetooth headset connected with Bluetooth mobile phone
EP3153056B1 (en) * 2015-09-30 2018-12-05 Apple Inc. Case with magnetic over-center mechanism
CN108471638B (en) * 2018-02-08 2021-04-06 深圳魔耳智能声学科技有限公司 Wireless earphone control method, device, control device and storage medium
CN109150294B (en) * 2018-08-14 2021-02-23 歌尔科技有限公司 Communication method, wireless earphone and charging box

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345554A (en) * 2008-08-19 2009-01-14 深圳华为通信技术有限公司 Method, equipment and system for displaying electric quantity of Bluetooth equipment on Bluetooth mobile phone
CN102271011A (en) * 2010-06-02 2011-12-07 潍坊歌尔电子有限公司 Method and device for connecting Bluetooth headset and charging base
CN102073577A (en) * 2011-01-17 2011-05-25 惠州Tcl移动通信有限公司 System for displaying electrical quantity of bluetooth headset on portable electronic device and method thereof
CN102609348A (en) * 2012-02-02 2012-07-25 深圳市中兴移动通信有限公司 Method and system for displaying capacity remaining time of Bluetooth device based on Bluetooth terminal
CN206272807U (en) * 2016-11-16 2017-06-20 深圳市冠旭电子股份有限公司 A kind of bluetooth earphone and its battery electric quantity checking device
CN107071618A (en) * 2017-04-26 2017-08-18 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone
CN208174945U (en) * 2018-05-15 2018-11-30 上海巨微集成电路有限公司 The TWS earphone charging box of carried charge push function

Also Published As

Publication number Publication date
CN109768596A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN109768596B (en) Electric quantity display method, earphone charging device and earphone
CN108174457B (en) Charging box, communication system and communication method of Bluetooth headset
CN108718467B (en) Voice data transmission method, wireless headset and TWS headset
CN109640207B (en) Communication control method, device and system, charging box and wireless earphone
CN103716906B (en) The method of the electric power of short-range wireless communication means and control short-range wireless communication means
CN109600694A (en) A kind of matching method of wireless headset, device, terminal and charging box
CN102981613B (en) terminal and terminal control method
CN110650408B (en) Earphone, anti-lost method, anti-lost system and computer readable storage medium
CN112968752B (en) Baud rate switching method and device for UART communication and initiator terminal
US20170117735A1 (en) Charging Control Method and Mobile Terminal
CN110518707B (en) Transmitting terminal device, receiving terminal device and wireless charging method
CN105094969A (en) External device used for mobile terminal
US11425520B2 (en) Method for detecting blocking of microphone and related products
CN103974163A (en) Earphone compatible method, earphone compatible device and mobile terminal
CN108513196B (en) Wireless earphone and pairing method thereof
CN109275058B (en) Dual mode earphone system, bluetooth device and cable
CN104378493A (en) Mode switching method and electronic device
CN114143659A (en) Earphone data sending method, terminal equipment, master earphone, slave earphone and system
CN112437371B (en) BLE link switching method, equipment, earphone pair, chip and medium
CN104602281A (en) Control method, device and system for mobile terminals and mobile terminals
CN112492433A (en) Charging box, wireless earphone and wireless earphone charging system
US10439416B2 (en) Method for outputting charging current according to displayed media and power amplifier
CN115529381B (en) Call processing method, device, system, electronic equipment and medium
CN109743715B (en) Processing method and system and electronic equipment
CN108009110B (en) Equipment identification method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant