CN109068211B - TWS earphone and computer readable storage medium thereof - Google Patents

TWS earphone and computer readable storage medium thereof Download PDF

Info

Publication number
CN109068211B
CN109068211B CN201810866679.0A CN201810866679A CN109068211B CN 109068211 B CN109068211 B CN 109068211B CN 201810866679 A CN201810866679 A CN 201810866679A CN 109068211 B CN109068211 B CN 109068211B
Authority
CN
China
Prior art keywords
earphone
ota
mode
entering
upgrading
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
CN201810866679.0A
Other languages
Chinese (zh)
Other versions
CN109068211A (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.)
Guangdong Spark Technology Co ltd
Original Assignee
Guangdong Spark Technology 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 Guangdong Spark Technology Co ltd filed Critical Guangdong Spark Technology Co ltd
Priority to CN201810866679.0A priority Critical patent/CN109068211B/en
Publication of CN109068211A publication Critical patent/CN109068211A/en
Application granted granted Critical
Publication of CN109068211B publication Critical patent/CN109068211B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/03Connection circuits to selectively connect loudspeakers or headphones to amplifiers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The TWS earphone provided by the invention is used as a master earphone or a slave earphone, as long as any one earphone in a pair of TWS earphones enters an OTA upgrading mode, the other earphone also enters the OTA upgrading mode, and the two earphones can be connected with the equipment after entering the OTA upgrading mode, so that the equipment can simultaneously send files required by firmware upgrading to the two earphones, so that the two earphones can simultaneously complete firmware upgrading, the firmware upgrading operation steps of a pair of TWS earphones are reduced, and the firmware upgrading operation of the TWS earphones is simple and convenient and consumes short time.

Description

TWS earphone and computer readable storage medium thereof
Technical Field
The present invention relates to the field of TWS headsets, and more particularly, to a TWS headset and a computer readable storage medium thereof.
Background
The TWS headset is called True Wireless Stereo Earphone, that is, the True Wireless headset refers to the headset in which the connection between the master and slave ears of the headset and between the headset and the bluetooth device is performed by Wireless technology. The TWS headset tends to have a small size and weight and a plurality of interactive functions, and when a user listens to music, the user can perform actions such as song and song switching and volume control through the Touch module, and when the user needs to listen to mobile phone information (such as voice information), the user can perform data interaction between the TWS headset and the mobile phone through the BLE. However, the addition of new functionality requires support from the TWS headset underlying firmware, which requires an upgrade operation to the headset firmware. In practical applications, since TWS headsets typically do not set up a physical interface due to the requirement of waterproof level, OTA (Over the Air Technology) needs to be used for firmware upgrade.
At present, the OTA upgrading function of most TWS earphones sold on the market can only carry out firmware upgrading operation on a single TWS earphone connected with a mobile phone, and after the upgrading is finished, another TWS earphone is connected with the mobile phone for upgrading, but the firmware upgrading operation can not be carried out on a master earphone and a slave earphone in one pair of TWS earphones at the same time, so that a user can finish the firmware upgrading operation of one pair of TWS earphones by a plurality of operation steps, and the firmware upgrading operation is complex and consumes long time.
Disclosure of Invention
The technical problem to be solved by the invention is to reduce the firmware upgrading operation steps of a pair of TWS earphones, so that the firmware upgrading operation of the TWS earphones is simple and convenient and consumes short time.
In order to solve the above technical problem, the present invention provides a computer readable storage medium storing an operating program of a single TWS headset, the operating program when executed implementing at least one of the following steps A, B:
A. the earphone is taken as a main earphone, the integral connection with the equipment and a slave earphone is realized, in this state,
if receiving OTA upgrade mode trigger command generated by user operating itself, then self entering OTA upgrade mode and sending OTA entering command to slave earphone,
if receiving an instruction of entering OTA upgrade mode from the equipment, the mobile terminal enters OTA upgrade mode and sends an instruction of entering OTA to the slave earphone,
if receiving an instruction of entering an OTA upgrading mode from the earphone, the earphone enters the OTA upgrading mode;
after entering an OTA upgrading mode, the device receives a file required by firmware upgrading from the device to complete the firmware upgrading;
the above is step a, the following is step B,
B. the earphone is taken as a slave earphone, the integral connection with a master earphone and equipment is realized, in this state,
if receiving OTA upgrade mode trigger command generated by user operating itself, then self entering OTA upgrade mode and sending OTA entering command to main earphone,
if receiving an instruction of entering an OTA upgrading mode from a main earphone, the mobile terminal enters the OTA upgrading mode;
after the mobile terminal enters the OTA upgrading mode, wireless connection is established between the mobile terminal and the equipment, and after the wireless connection is established, the mobile terminal receives files required by firmware upgrading from the equipment to complete the firmware upgrading.
Preferably, the running program can implement step a when being executed once and implement step B when being executed another time.
Preferably, the OTA upgrade mode trigger instruction corresponds to a trigger instruction sent by the Touch chip to the bluetooth chip when the user performs specified operation on the Touch control panel within a limited time.
Preferably, the defined time is five seconds.
Preferably, the designation operation is a continuous single click four times.
The present invention also provides a single TWS headset comprising a processor having the computer readable storage medium described above stored thereon.
The invention also provides a pair of TWS headphones comprising a first headphone and a second headphone, both being a single TWS headphone as described above.
The invention has the following beneficial effects: if the main earphone and the slave earphone of a pair of TWS earphones are both provided with the computer readable storage medium, after the pair of TWS earphones are integrally connected with the equipment, as long as any earphone enters the OTA upgrading mode, the other earphone also enters the OTA upgrading mode, and the two earphones are both connected with the equipment, so that the equipment can simultaneously send files required by firmware upgrading to the two earphones, the two earphones can simultaneously complete firmware upgrading, the firmware upgrading operation steps of the pair of TWS earphones are reduced, and the firmware upgrading operation of the TWS earphones is simple and convenient and consumes short time.
Drawings
FIG. 1 is a block diagram of the TWS headset with the primary and secondary ears connected to each other;
description of reference numerals: 1-a Bluetooth chip; 2-Touch module; 21-Touch chip; 22-Touch control panel; 3-a microphone; 4-a loudspeaker; 5-a battery; 6-a charger; 7-low dropout linear regulator; 8-functional module.
Detailed Description
The main control chip of the TWS headset is mainly a Bluetooth chip, which is used to store codes for implementing system function definition, and provide two channels, namely BLE (Bluetooth Low Energy-Bluetooth Low Energy) and conventional BT, for communication connection with a Bluetooth device (such as a mobile phone). The SPP (Serial Port Profile-bluetooth Serial Port protocol) is a communication protocol in the traditional BT, and defines the content of creating a Serial Port between bluetooth chips for data interaction, so that a wireless Serial Port communication channel can be created between the bluetooth chips based on the SPP.
A structural block diagram of the TWS headset of the embodiment after the master and slave headsets are connected with each other is shown in fig. 1, the master headset includes a bluetooth chip 1, a Touch module 2, a microphone 3, a speaker 4, a battery 5, a charger 6, a low dropout regulator 7 (indicated by its abbreviation "LDO" in the figure), and a functional module 8, the Touch module 2 includes a Touch chip 21 and a Touch panel 22 that are connected with each other, and the Touch panel 22 is a capacitive control panel. The Bluetooth chip 1 is respectively connected with a Touch chip 21, a microphone 3, a loudspeaker 4, a battery 5 and a functional module 8, the battery 5 is respectively connected with a charger 6 and a low dropout linear regulator 7, and the low dropout linear regulator 7 is respectively connected with the functional module 8 and the Touch chip 21; the slave earphone structure is without the function module 8 compared to the master earphone, but the other structures are the same. When Touch operation is performed on the Touch control panel 22, the capacitance value on the Touch control panel 22 changes, and the Touch chip 21 generates a corresponding trigger instruction according to the capacitance change value on the Touch control panel 22 and transmits the trigger instruction to the bluetooth chip 1. The charger 6 is used for charging the battery 5, the battery 5 directly supplies power to the Bluetooth chip 1, and the power is respectively supplied to the Touch chip 21 and the functional module 8 through the low dropout regulator 7, so that when the TWS headset starts the Touch module 2 and/or the functional module 8, voltage noise can be effectively reduced, and user experience is improved. The microphone 3 and the loudspeaker 4 are respectively used for collecting sound and playing the sound, so that the TWS headset can realize the basic functions of a Bluetooth headset; the functional module 8 comprises a heart rate module, a step counting module and the like, and the functional module 8 enables the TWS headset to realize other functions besides the basic functions of the Bluetooth headset.
In this embodiment, the operation of continuously clicking the Touch control board 22 for four times in five seconds is set as one of the operations of controlling the corresponding earphone to enter the OTA upgrade mode, that is, after the user continuously clicks the Touch control board 22 on any earphone for four times in five seconds, the Touch chip 21 of the earphone sends an OTA upgrade mode trigger instruction to the bluetooth chip 1, so that the earphone enters the OTA upgrade mode. The operation of controlling the earphone to enter the OTA upgrade mode is not limited to clicking the Touch control board 22 four times, and other operations may be set as long as the user can be prevented from mistakenly triggering the earphone to enter the OTA upgrade mode.
After the main earphone and the slave earphone are started, the main earphone and the slave earphone are connected with each other, if the two earphones are successfully connected with each other, the main earphone and the Bluetooth equipment are connected with each other, and if the main earphone and the Bluetooth equipment are successfully connected, the Bluetooth equipment, the main earphone and the slave earphone are integrally connected with each other.
After a pair of TWS earphones is integrally connected with a bluetooth device, if OTA firmware upgrade is to be performed on the pair of TWS earphones, a user may first enter the OTA upgrade mode for both the master earphone and the slave earphone through any one of the following three steps (1), (2), and (3):
(1) the user can click the Touch control board 22 on the main earphone for four times within five seconds, then in the main earphone, the Touch chip 21 generates a trigger instruction for entering the OTA upgrading mode according to the capacitance variation on the Touch control board 22 and transmits the trigger instruction to the Bluetooth chip 1, the Bluetooth chip 2 enables the main earphone to enter the OTA upgrading mode after receiving the trigger instruction, after the main earphone enters the OTA upgrading mode, the main earphone sends an instruction for entering the OTA upgrading mode to the slave earphone connected with the main earphone, and the slave earphone also enters the OTA upgrading mode after receiving the instruction for entering the OTA upgrading mode.
(2) A user can continuously click the Touch control board 22 on the slave earphone for four times within five seconds, then in the slave earphone, the Touch chip 21 generates a trigger instruction for entering an OTA upgrading mode according to the capacitance variation on the Touch control board 22 and transmits the trigger instruction to the Bluetooth chip 1, and the Bluetooth chip 1 enables the slave earphone to enter the OTA upgrading mode after receiving the trigger instruction; after the slave earphone enters the OTA upgrading mode, the slave earphone sends an instruction for entering the OTA upgrading mode to the master earphone connected with the slave earphone, and the master earphone also enters the OTA upgrading mode after receiving the instruction for entering the OTA upgrading mode.
(3) A user can send an OTA upgrading mode entering instruction to a main earphone connected with the user through Bluetooth equipment, and the main earphone enters an OTA upgrading mode after receiving the OTA upgrading mode entering instruction; after the main earphone enters the OTA upgrading mode, the main earphone sends an instruction for entering the OTA upgrading mode to the connected auxiliary earphone, and the auxiliary earphone also enters the OTA upgrading mode after receiving the instruction for entering the OTA upgrading mode.
After the main earphone and the slave earphone all entered the OTA upgrade mode, because the main earphone, when the slave earphone and the Bluetooth equipment completed the integral connection, the Bluetooth equipment was connected with the main earphone through BLE, namely the Bluetooth equipment has established BLE channel connection with the main earphone through BLE, so the Bluetooth equipment only needs to establish SPP channel connection with the slave earphone through SPP again, can carry out the next step of OTA firmware upgrade: after the SPP channel connection is established, the Bluetooth device downloads the BIN files required by firmware upgrading through the OTA, sends the BIN files required by firmware upgrading to the master earphone through the BLE channel, and sends the BIN files required by firmware upgrading to the slave earphone through the SPP channel. Non-preferably, after the master earphone and the slave earphone both enter the OTA upgrade mode, the bluetooth device may establish an SPP channel connection with the master earphone through the SPP, and establish a BLE channel connection with the slave earphone through BLE, and then perform the next step of OTA firmware upgrade: after the SPP channel and the BLE channel are established, the Bluetooth device downloads the BIN files required by firmware upgrading through the OTA, sends the BIN files required by firmware upgrading to the master earphone through the SPP channel, and sends the BIN files required by firmware upgrading to the slave earphone through the BLE channel.
In the process of sending the BIN file by the Bluetooth equipment, the Bluetooth equipment can respectively control the speed of sending the BIN file by the BLE channel and the SPP channel by adjusting the size of a single data packet, so that the two channels can transmit the BIN file required by firmware upgrade at the same speed. After the transmission of the BIN file is completed, the Bluetooth device respectively sends a restarting instruction to the master earphone and the slave earphone, the two earphones are restarted after receiving the restarting instruction, and after the restarting, the firmware in the two earphones completes the process of covering the old BIN file with the new BIN file, so that the firmware program runs in the code area of the new BIN file, and the whole OTA firmware upgrading process of the TWS earphone is completed.
If the OTA firmware upgrade is to be performed on a single TWS earphone, the TWS earphone can use the BLE channel and the SPP channel to perform the OTA firmware upgrade after entering the OTA upgrade mode, and a user can control the channel connection between the TWS earphone and the Bluetooth equipment to be switched between the BLE channel and the SPP channel through software on the Bluetooth equipment.

Claims (6)

1. A computer readable storage medium storing an operating program for a single TWS headset, wherein the operating program when executed performs at least one of the following steps A, B:
A. the earphone is taken as a main earphone, the integral connection with the equipment and a slave earphone is realized, in this state,
if receiving OTA upgrade mode trigger command generated by user operating itself, then self entering OTA upgrade mode and sending command for entering OTA upgrade mode to slave earphone,
if receiving an instruction of entering OTA upgrade mode from the equipment, the mobile terminal enters OTA upgrade mode and sends the instruction of entering OTA upgrade mode to the slave earphone,
if receiving an instruction of entering an OTA upgrading mode from the earphone, the earphone enters the OTA upgrading mode;
after entering an OTA upgrading mode, the device receives a file required by firmware upgrading from the device to complete the firmware upgrading;
the above is step a, the following is step B,
B. the earphone is taken as a slave earphone, the integral connection with a master earphone and equipment is realized, in this state,
if receiving OTA upgrade mode trigger command generated by user operating itself, then self entering OTA upgrade mode and sending command for entering OTA upgrade mode to main earphone,
if receiving an instruction of entering an OTA upgrading mode from a main earphone, the mobile terminal enters the OTA upgrading mode;
after entering an OTA upgrading mode, the mobile terminal establishes wireless connection with equipment, and receives files required by firmware upgrading from the equipment after the wireless connection is established so as to complete the firmware upgrading;
the running program can implement step a either once when executed or step B when executed another time.
2. The computer-readable storage medium of claim 1, wherein: the OTA upgrading mode trigger instruction corresponds to a trigger instruction which is sent to the Bluetooth chip by the Touch chip when a user performs specified operation on the Touch control panel within a limited time.
3. The computer-readable storage medium of claim 2, wherein: the defined time is five seconds.
4. The computer-readable storage medium of claim 2 or 3, wherein: the designation operation is four consecutive clicks.
5. A single TWS headset comprising a processor, characterized in that: the processor has stored thereon the computer-readable storage medium of any one of claims 1 to 4.
6. A set of TWS headphones comprising a first headphone and a second headphone, characterized in that: the first and second headsets are both single TWS headsets as claimed in claim 5.
CN201810866679.0A 2018-08-01 2018-08-01 TWS earphone and computer readable storage medium thereof Active CN109068211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810866679.0A CN109068211B (en) 2018-08-01 2018-08-01 TWS earphone and computer readable storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810866679.0A CN109068211B (en) 2018-08-01 2018-08-01 TWS earphone and computer readable storage medium thereof

Publications (2)

Publication Number Publication Date
CN109068211A CN109068211A (en) 2018-12-21
CN109068211B true CN109068211B (en) 2020-06-05

Family

ID=64832510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810866679.0A Active CN109068211B (en) 2018-08-01 2018-08-01 TWS earphone and computer readable storage medium thereof

Country Status (1)

Country Link
CN (1) CN109068211B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11726761B2 (en) * 2019-03-26 2023-08-15 Tymphany Acoustic Technology (Huizhou) Co., Ltd. Firmware upgrade for wireless stereo earbuds
CN110166922A (en) * 2019-05-30 2019-08-23 深圳市安特信技术有限公司 Testing communication system and method based on bluetooth headset
CN110719542B (en) * 2019-10-31 2021-06-04 歌尔科技有限公司 TWS earphone, upgrading method and device thereof, and computer storage medium
CN110908687B (en) * 2019-11-22 2021-12-07 歌尔股份有限公司 Earphone upgrading method, earphone assembly, upgrading device and readable storage medium
CN111163387B (en) * 2019-12-29 2021-08-24 歌尔科技有限公司 TWS earphone upgrading method and device, charging box and storage medium
CN111556117A (en) * 2020-04-22 2020-08-18 歌尔科技有限公司 Earphone upgrading method and device, earphone control method, earphone set and storage medium
CN112104028B (en) * 2020-09-10 2022-05-10 歌尔科技有限公司 Charging device, electric quantity correction method of wireless earphone and readable storage medium
CN114866526B (en) * 2022-07-08 2022-12-27 荣耀终端有限公司 Earphone upgrading method and wireless earphone

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202551284U (en) * 2011-12-28 2012-11-21 深圳市合智创盈电子有限公司 Earphone capable of upgrading through external equipment
CN103873327A (en) * 2012-12-17 2014-06-18 三星电子株式会社 System and method of controlling surrounding devices, based on topology
CN105573801A (en) * 2015-12-23 2016-05-11 迈普通信技术股份有限公司 Method for realizing software upgrading in stacking system as well as device and system
CN106970815A (en) * 2017-03-31 2017-07-21 广东欧珀移动通信有限公司 Audio software upgrade method and device, audio-frequence player device
CN107015829A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Audio system upgrade method, device
CN206743493U (en) * 2017-04-26 2017-12-12 中山奥凯华泰电子有限公司 Two-way charging earphone

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3570557B1 (en) * 2015-09-30 2022-03-23 Apple Inc. Earbud case with charging system
US10616693B2 (en) * 2016-01-22 2020-04-07 Staton Techiya Llc System and method for efficiency among devices
US9934788B2 (en) * 2016-08-01 2018-04-03 Bose Corporation Reducing codec noise in acoustic devices
CN106685688A (en) * 2016-09-26 2017-05-17 深圳市潮流网络技术有限公司 Cluster computer device synchronous upgrade method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202551284U (en) * 2011-12-28 2012-11-21 深圳市合智创盈电子有限公司 Earphone capable of upgrading through external equipment
CN103873327A (en) * 2012-12-17 2014-06-18 三星电子株式会社 System and method of controlling surrounding devices, based on topology
CN105573801A (en) * 2015-12-23 2016-05-11 迈普通信技术股份有限公司 Method for realizing software upgrading in stacking system as well as device and system
CN106970815A (en) * 2017-03-31 2017-07-21 广东欧珀移动通信有限公司 Audio software upgrade method and device, audio-frequence player device
CN107015829A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Audio system upgrade method, device
CN206743493U (en) * 2017-04-26 2017-12-12 中山奥凯华泰电子有限公司 Two-way charging earphone

Also Published As

Publication number Publication date
CN109068211A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
CN109068211B (en) TWS earphone and computer readable storage medium thereof
US10809964B2 (en) Portable intelligent voice interactive control device, method and system
CN110166871B (en) Earphone charging box, TWS earphone, working state switching method and storage medium
US8229144B2 (en) Method and system for switched battery charging and loading in a stereo headset
WO2003056790A1 (en) Multifunction digital wireless headset
CN111372159A (en) Earphone play control method and earphone
US7680514B2 (en) Wireless speech recognition
CN104410937A (en) Intelligent earphone
US7496693B2 (en) Wireless enabled speech recognition (SR) portable device including a programmable user trained SR profile for transmission to external SR enabled PC
CN102088511A (en) Control method and system for projection demonstration of mobile terminal, and mobile terminal
WO2021169869A1 (en) Audio-playing apparatus, audio-playing method, and electronic device
WO2020007173A1 (en) Communication connection establishing method and relevant device
EP3142382B1 (en) Method, apparatus and system for supplying power to active noise cancelling earphone
CN105704604A (en) Smart home earphones
CN107222233A (en) Mobile communication equipment
US20160192055A1 (en) Drive-by-wire earphone capable of being connected with input source for wireless communication
WO2016127476A1 (en) Headset control circuit, drive-by-wire device and tuning headset
CN205491035U (en) Intelligent home earphone
WO2020042491A1 (en) Headphone far-field interaction method, headphone far-field interaction accessory, and wireless headphones
WO2020082387A1 (en) Method for changing audio channel, and related device
WO2022062999A1 (en) Method for allocating channels and related device
CN113115155B (en) Wireless earphone control method, wireless earphone control device and electronic equipment
CN110381418B (en) Loudspeaking device, relay device and mobile terminal
CN109120297B (en) Earphone far-field interaction method, earphone far-field interaction accessory and wireless earphone
CN109361820B (en) Electronic equipment control method and system and electronic equipment

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