CN112235404A - Silent upgrade method and equipment for earphone and charging box - Google Patents

Silent upgrade method and equipment for earphone and charging box Download PDF

Info

Publication number
CN112235404A
CN112235404A CN202011099344.4A CN202011099344A CN112235404A CN 112235404 A CN112235404 A CN 112235404A CN 202011099344 A CN202011099344 A CN 202011099344A CN 112235404 A CN112235404 A CN 112235404A
Authority
CN
China
Prior art keywords
firmware
ear
file
upgrading
charging box
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.)
Granted
Application number
CN202011099344.4A
Other languages
Chinese (zh)
Other versions
CN112235404B (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202011099344.4A priority Critical patent/CN112235404B/en
Publication of CN112235404A publication Critical patent/CN112235404A/en
Application granted granted Critical
Publication of CN112235404B publication Critical patent/CN112235404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a silence upgrading method of an earphone and a charging box, which comprises the following steps: the main ear and the mobile terminal establish wireless communication connection; receiving firmware upgrading files sent by the mobile terminal at different transmission rates according to different working states of the main ear; receiving a firmware upgrade file identical to that of the main ear from the auxiliary ear; the main ear and the auxiliary ear perform firmware upgrading according to the firmware upgrading file, and the charging box inquires whether the firmware upgrading files in the data storage areas of the two earphones are updated or not; and if the charging box is updated, acquiring an updated firmware upgrading file from the earphone, and upgrading the firmware of the charging box by using the updated firmware upgrading file. According to the earphone and the silence upgrading method of the charging box, the upgrading process does not occupy the time of a user, the silence upgrading without perception of the user is achieved, in addition, when a firmware upgrading file is transmitted, the transmission rate can be automatically adjusted according to the current service state of the earphone, the audio quality is not influenced, and the experience degree of the user is improved.

Description

Silent upgrade method and equipment for earphone and charging box
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a silence upgrading method and equipment for an earphone and a charging box.
Background
With the development of the TWS (True Wireless stereo) industry, the headset tends to be more and more intelligent, and in order to continuously optimize the user experience of using the product, the firmware upgrade of the headset and the charging box becomes an indispensable product function.
The upgrading mode of the TWS earphone commonly seen in the market at present is foreground upgrading, a new firmware upgrading prompt pops up on an upgrading interface in a mobile phone App application, a user confirms that upgrading is started, transmission of an upgrading packet is finished, and the user waits for the earphone to restart and execute new firmware. Usually, when the headset starts firmware upgrade, the audio connection is disconnected to avoid affecting the upgrade process, and after the headset is restarted, the connection with the mobile phone is disconnected. Therefore, in the foreground firmware upgrading mode, a user cannot normally use a mobile phone to connect the TWS headset to use the telephone and the music functions, and the user needs to wait for the firmware upgrading to be completed to normally use the headset product, so that the user experience is influenced.
Disclosure of Invention
The embodiment of the disclosure provides a silent upgrade method and equipment for an earphone and a charging box. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
In a first aspect, an embodiment of the present disclosure provides a method for upgrading a headset and a charging box in a silent manner, where the method is used for the headset, and includes:
the main ear and the mobile terminal establish wireless communication connection;
receiving firmware upgrading files sent by the mobile terminal at different transmission rates according to different working states of the main ear;
receiving the same firmware upgrade file from the ear;
and the main ear and the auxiliary ear perform firmware upgrade according to the firmware upgrade file.
In one embodiment, receiving firmware upgrade files sent by a mobile terminal at different transmission rates according to different working states of a main ear comprises:
receiving a firmware upgrading file sent by the mobile terminal at a first transmission rate according to the state of the main ear in the music/telephone service;
receiving a firmware upgrading file sent by the mobile terminal at a second transmission rate according to the idle state of the main ear;
wherein the first transmission rate is less than the second transmission rate.
In one embodiment, after receiving the firmware upgrade file sent by the mobile terminal, the method further includes:
verifying the received firmware upgrading file;
if the verification is successful, the firmware upgrading file is stored in the data storage module of the firmware upgrading file;
and if the verification fails, sending retransmission request information to the mobile terminal and receiving the firmware upgrading file retransmitted by the mobile terminal.
In one embodiment, if the verification is successful, after the firmware upgrade file is stored in its own data storage module, the method further includes:
transmitting the firmware upgrade file to the slave ear at a first transmission rate according to when the slave ear is in a music/phone service state;
transmitting the firmware upgrade file to the slave ear at a second transmission rate according to when the slave ear is in an idle state;
wherein the first transmission rate is less than the second transmission rate.
In one embodiment, after receiving the firmware upgrade file from the ear, the method further comprises:
verifying the received firmware upgrading file;
if the verification is successful, the firmware upgrading file is stored in the data storage module of the firmware upgrading file;
and if the verification fails, sending retransmission request information to the main ear and receiving the firmware upgrading file retransmitted by the main ear.
In one embodiment, when the main ear and the slave ear are detected to be placed in a charging box and closed, the main ear and the slave ear perform firmware upgrade according to the firmware upgrade file.
In a second aspect, an embodiment of the present disclosure provides a method for upgrading a charging box and a headset in a silent state, where the method is used for the charging box, and includes:
when detecting that the two earphones are placed in the charging box and the covers are closed, inquiring whether firmware upgrading files in the data storage areas of the two earphones are updated or not;
and if the firmware upgrading file in the data storage area of any one of the two earphones is updated, acquiring the updated firmware upgrading file from the earphone, and upgrading the firmware of the charging box by using the updated firmware upgrading file.
In one embodiment, the firmware upgrade file includes a headset firmware upgrade package and a charging box firmware upgrade package.
In a third aspect, the disclosed embodiments provide a headset, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the headset silence upgrading method provided in the foregoing embodiments.
In a fourth aspect, an embodiment of the present disclosure provides a charging box, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the charging box silent upgrade method provided in the foregoing embodiment.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages:
compared with the traditional TWS headset foreground upgrading scheme, the upgrading scheme does not need user operation, does not occupy the time of a user in the upgrading process, can realize the silent upgrading without perception of the user in the normal use process, and reduces disturbance to the user; and when the firmware upgrade package is transmitted, the transmission rate is automatically adjusted according to the current service state of the earphone, audio jamming is avoided, the voice quality of music and telephone is ensured, the firmware of the charging box is integrated into the earphone firmware upgrade package, one-stop upgrade of the TWS earphone and the charging box is realized, and the user experience is greatly improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flow chart illustrating a method for upgrading a headset and a charging box in a silent manner according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating a silence upgrading method for an earphone and a charging box according to an embodiment of the present application;
FIG. 3 illustrates a schematic diagram of a data transmission link provided by an embodiment of the present application;
FIG. 4 illustrates a schematic diagram of a data storage module provided by an embodiment of the present application;
fig. 5 shows a schematic structural diagram of an earphone according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
A silent upgrade method and device for earphones and charging boxes according to the embodiments of the present application are described below with reference to fig. 1 to 4.
Referring to fig. 1, the method specifically includes the following steps:
s101, wireless communication connection is established between the main ear and the mobile terminal.
The mobile terminal may be various electronic devices supporting information interaction, including but not limited to a smart phone, a tablet computer, a desktop computer, and the like. The method comprises the steps of establishing wireless communication connection between the earphone and the mobile terminal, wherein the wireless communication connection comprises but is not limited to WIFI connection, 4G/5G connection, Bluetooth connection and the like, and in a possible implementation mode, connecting the earphone and the smart phone through Bluetooth.
After the Bluetooth connection between the TWS earphone and the mobile phone is established, when the APP at the mobile phone end is opened and operates at the background, whether a new firmware upgrading file exists at the server end or not can be automatically detected, if a new firmware upgrading package exists, the App calls a firmware upgrading package downloading module which is used for completing downloading of the firmware upgrading package from the server end at the background, and after the upgrading package is downloaded, the App calls a silent upgrading data transmission module and sends the firmware upgrading package to a main ear of the TWS earphone through a Bluetooth SPP link or a BLE link.
Optionally, the mobile terminal periodically detects whether the server has a new firmware upgrade file, and when the server has the new firmware upgrade file, the mobile terminal downloads the firmware upgrade package from the server.
S102, receiving the firmware upgrading file sent by the mobile terminal at different transmission rates according to different working states of the main ear.
The silent upgrade supports the transmission of firmware upgrade files in the earphone phone/music service state, but in order to guarantee the audio quality of music and phone and avoid audio jamming, the silent upgrade module of the mobile phone APP can detect the service state of the earphone constantly and send the firmware upgrade files at different transmission rates according to the service state of the earphone.
In a possible implementation manner, when the earphone is in a music/telephone service state, a firmware upgrading file sent by the mobile terminal is received at a first transmission rate; receiving a firmware upgrading file sent by the mobile terminal at a second transmission rate according to the idle state of the earphone; wherein the first transmission rate is less than the second transmission rate.
For example, when the earphone is in an idle state, the second transmission rate is the maximum transmission rate which can be reached at this time, and the firmware upgrade file sent by the mobile terminal is received at the maximum transmission rate; and when the earphone is in a telephone/music service state, receiving the firmware upgrading file transmitted by the mobile terminal at half of the maximum transmission rate.
In the embodiment of the present application, a data transmission link between a mobile terminal and a headset is shown in fig. 3, and includes: the mobile phone terminal App is connected with the TWS main earphone through a Bluetooth SPP link or a BLE link and sends upgrade packet data, and an ACL data transmission link based on a Bluetooth protocol is established between the TWS main earphone and the TWS auxiliary earphone and used for data packet transmission. The earphone stores the received firmware upgrading packet data in the Flash data storage module, and the earphone communicates with the Flash data storage module through the SPI interface.
According to the steps, the earphone can automatically receive the firmware upgrading file sent by the mobile terminal on the premise of not influencing the audio quality of the telephone/music.
In a possible implementation mode, the firmware upgrading file comprises an earphone firmware upgrading packet and a charging box firmware upgrading packet, so that the upgrading process is simplified, and one-stop upgrading of the earphone and the charging box is realized.
S103 receives the same firmware upgrade file as the main ear from the ear.
Alternatively, the slave ear may receive the firmware upgrade file sent by the master ear. After receiving the firmware upgrade file, the main ear further comprises: and checking the received firmware upgrading file, if the checking is successful, storing the firmware upgrading file into a data storage module of the slave ear, and sending the firmware upgrading file to the slave ear. And if the verification fails, sending retransmission request information to the mobile terminal and receiving the firmware upgrading file retransmitted by the mobile terminal.
In a possible implementation manner, a bluetooth physical layer ACL (Asynchronous connectionless) transmission link is established between the master ear and the slave ear, the ACL link is a directional transmission data packet and supports both symmetric Connection and asymmetric Connection, and the master ear directionally transmits the firmware upgrade file to the slave ear through the ACL link.
Further, the master ear transmits the firmware upgrade file to the slave ear, including: transmitting a firmware upgrade file at a first transmission rate according to when the slave ear is in a music/phone service state; sending a firmware upgrade file at a second transmission rate according to the slave ear being in an idle state; wherein the first transmission rate is less than the second transmission rate.
And after receiving the firmware upgrading file from the slave ear, verifying the received firmware upgrading file, if the verification is successful, storing the firmware upgrading file into the data storage module of the slave ear, and if the verification is failed, sending retransmission request information to the master ear and receiving the firmware upgrading file retransmitted by the master ear.
The checking manner of the master ear and the slave ear may be a Cyclic Redundancy Check (CRC), and the embodiments of the present disclosure are not limited in particular.
Optionally, the slave ear may directly obtain the firmware upgrade file from the mobile terminal, connect the slave ear to the mobile terminal device in a communication manner, and when the mobile terminal detects that a new firmware upgrade file exists, send the new firmware upgrade file to the master ear and the slave ear simultaneously.
Further, the data storage modules of the master ear and the slave ear each include a program boot area, a program execution area, and a data storage area, fig. 4 is a schematic diagram of a data storage module provided in an embodiment of the present application, and as shown in fig. 4, the data storage modules of the master ear and the slave ear include: boot Loader program Boot area, Bank A program operation area and Bank B upgrade packet data storage area. The Boot Loader is a small section of bootstrap program executed when the earphone is just powered on and started, and is used for determining that the program is run from a Bank A or Bank B area when the earphone is started. The program operation area is an area for executing the current program of the earphone, and the upgrade packet data storage area is used for storing upgrade packet data. Two areas of Bank A and Bank B are symmetrical structures, the two areas can be used as program operation areas and upgrade packet data storage areas, and the functions of the two areas can be dynamically interchanged, namely: when the Bank A is used as a program running area, the Bank B is used as an upgrade packet data storage area; when Bank B is a program run area, Bank a is an upgrade packet data storage area. The specific implementation process of the exchange function of the two areas of Bank A and Bank B is as follows: after the earphone stores the upgrade package data into the Bank B upgrade package data storage area, after the earphone is put into the box and the charging box is closed, the silence upgrade processing module judges that the earphone is in an idle state, at the moment, the starting flag bit of the Boot Loader program guide area is changed into starting from the Bank B, and the earphone is restarted, new firmware stored in the Bank B is applied after the earphone is restarted, at the moment, the Bank B is changed into a program operation area from the previous upgrade package data storage area, the Bank A is changed into an upgrade package data storage area from the previous program operation area and used for storing the firmware upgrade package data during next upgrade, and the functions of the two areas of the Bank A and the Bank B are exchanged and completed.
And S104, the main ear and the auxiliary ear perform firmware upgrading according to the firmware upgrading file.
In order to avoid influencing the normal use of the earphone of a user, after the main ear and the auxiliary ear complete the data receiving and storing of the firmware upgrading packet, the earphone is not restarted immediately and new firmware is applied, but the user waits for the use of the earphone, and when the main ear and the auxiliary ear are detected to be placed in the charging box and closed, the firmware upgrading is carried out according to the firmware upgrading file.
Optionally, whether the earphone is placed in the charging box and the cover of the charging box is closed can be determined by detecting whether the earphone is in good contact with the charging contact of the charging box, when both ears are placed in the charging box and the cover of the charging box is closed, both the master ear and the slave ear are restarted, and firmware upgrade of the earphone is completed by using the firmware upgrade file stored in the data storage module.
According to the steps, no manual operation is needed by a user in the process of double-ear upgrading, the time of the user is not occupied, firmware upgrading can be automatically completed in the idle state of the earphone, silent upgrading without perception of the user is achieved, disturbance to the user is reduced, and user experience is improved.
In one embodiment, a silent upgrade method of a charging box is provided, according to that a main ear and a slave ear are placed into the charging box and closed, the charging box sends a firmware upgrade instruction to an earphone, the firmware upgrade instruction can be sent to the main ear or sent to the slave ear, and after the earphone receives the firmware upgrade instruction, a firmware upgrade file is sent to the charging box, so that the charging box can be upgraded according to the firmware upgrade file.
In a possible implementation mode, the firmware upgrading file comprises an earphone firmware upgrading package and a charging box firmware upgrading package, in order to realize one-stop upgrading of the earphone and the charging box, after the earphone firmware upgrading is completed, the earphone is placed in the charging box and can be in data communication with the charging box through a UART serial port, the earphone sends the firmware upgrading package of the charging box, after the charging box receives the firmware upgrading package, the charging box is restarted by using new firmware and completes upgrading, and at the moment, the silent upgrading process of the ears and the charging box is completed.
In order to facilitate understanding of the method for upgrading the earphone and the charging box provided by the embodiment of the present application, the following description is made with reference to fig. 2. As shown in fig. 2, the method includes:
whether there is new edition earphone and the box firmware upgrade file that charges through APP module detection server, when having new edition upgrade file, download the new edition firmware upgrade file through upgrade file download module to send new edition upgrade file to main ear through APP data transmission module.
The firmware upgrade file is received at a lower transmission rate when the headset is in a music/phone state and at a maximum transmission rate when the headset is in an idle state.
When the earphone is in an idle state, the files are sent to the slave ear at the maximum transmission rate, and the master ear and the slave ear both receive the new version of the firmware upgrade files and store the new version of the firmware upgrade files in the data storage module.
And judging whether the double ears are placed into the charging box and are closed, and when the double ears are placed into the charging box and are closed, the double ears carry out firmware upgrade according to a firmware upgrade file stored in the data storage module. The firmware upgrading file not only comprises an earphone firmware upgrading package, but also integrates a firmware box firmware upgrading package. When the double ears are placed into the charging box and the cover is closed, the main ear sends a firmware upgrading packet to the charging box through the UART serial port, and after the charging box receives the firmware upgrading packet, the charging box is restarted and upgraded by using the received firmware, so that the silent upgrading process of the double ears and the charging box is completed.
Based on the earphone and the silence upgrading method of the charging box provided by the embodiment of the disclosure, the upgrading process does not occupy the time of a user, the silence upgrading without perception of the user can be realized in the normal use process, the disturbance to the user is reduced, the transmission rate is automatically adjusted according to the current service state of the earphone when a firmware upgrading packet is transmitted, the audio jamming is avoided, the voice quality of music and a telephone is ensured, the one-stop upgrading of the TWS earphone and the charging box is realized by integrating the charging box firmware into the earphone firmware upgrading packet, and the experience degree of the user is greatly improved.
In one embodiment, a headset corresponding to the headset silence upgrading method provided by the foregoing embodiment is also provided to execute the headset silence upgrading method.
Please refer to fig. 5, which illustrates a schematic diagram of an earphone according to some embodiments of the present application. As shown in fig. 5, the headset includes: the processor 500, the memory 501, the bus 502 and the communication interface 503, wherein the processor 500, the communication interface 503 and the memory 501 are connected through the bus 502; the memory 501 stores a computer program that can be executed on the processor 500, and the processor 500 executes the computer program to perform the earphone silence upgrading method provided by any of the foregoing embodiments of the present application.
The Memory 501 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 503 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
Bus 502 can be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 501 is used for storing a program, and the processor 500 executes the program after receiving an execution instruction, and the earphone silence upgrading method disclosed by any of the foregoing embodiments of the present application may be applied to the processor 500, or implemented by the processor 500.
The processor 500 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 500. The Processor 500 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 501, and the processor 500 reads the information in the memory 501, and completes the steps of the method in combination with the hardware thereof.
The earphone provided by the embodiment of the application and the earphone silence upgrading method provided by the embodiment of the application have the same inventive concept and have the same beneficial effects as the method adopted, operated or realized by the earphone silence upgrading method.
In one embodiment, a charging box is further provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the charging box silent upgrade method provided by the above-mentioned embodiment.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method for silent upgrade of a headset and a charging box, the method for the headset, comprising:
the main ear and the mobile terminal establish wireless communication connection;
receiving firmware upgrading files sent by the mobile terminal at different transmission rates according to different working states of the main ear;
receiving a firmware upgrade file identical to that of the main ear from the auxiliary ear;
and the main ear and the auxiliary ear perform firmware upgrade according to the firmware upgrade file.
2. The method according to claim 1, wherein the receiving the firmware upgrade file transmitted by the mobile terminal at different transmission rates according to the different working states of the main ear comprises:
receiving a firmware upgrading file sent by the mobile terminal at a first transmission rate according to the state of the music/telephone service of the main ear;
receiving a firmware upgrading file sent by the mobile terminal at a second transmission rate according to the idle state of the main ear;
wherein the first transmission rate is less than the second transmission rate.
3. The method of claim 2, after receiving the firmware upgrade file sent by the mobile terminal, further comprising:
verifying the received firmware upgrading file;
if the verification is successful, the firmware upgrading file is stored in a data storage module of the firmware upgrading file;
and if the verification fails, sending retransmission request information to the mobile terminal and receiving the firmware upgrading file retransmitted by the mobile terminal.
4. The method of claim 3, wherein if the verification is successful, after storing the firmware upgrade file in its own data storage module, further comprising:
transmitting the firmware upgrade file to the slave ear at a first transmission rate according to the slave ear being in a music/telephone service state;
according to the condition that the slave ear is in an idle state, the firmware upgrading file is sent to the slave ear at a second transmission rate;
wherein the first transmission rate is less than the second transmission rate.
5. The method of claim 4, after receiving the firmware upgrade file from the ear, further comprising:
verifying the received firmware upgrading file;
if the verification is successful, the firmware upgrading file is stored in a data storage module of the firmware upgrading file;
and if the verification fails, sending retransmission request information to the main ear and receiving the firmware upgrading file retransmitted by the main ear.
6. The method of claim 1, wherein the master ear and the slave ear perform firmware upgrade according to the firmware upgrade file, comprising:
and when detecting that the main ear and the slave ear are placed in the charging box and closed, the main ear and the slave ear perform firmware upgrading according to the firmware upgrading file.
7. A silent upgrade method for a headset and a charging box, the method for the charging box comprising:
when detecting that the two earphones are placed in the charging box and the covers are closed, inquiring whether firmware upgrading files in the data storage areas of the two earphones are updated or not;
and if the firmware upgrading file in the data storage area of any one of the two earphones is updated, acquiring the updated firmware upgrading file from the earphone, and upgrading the firmware of the charging box by using the updated firmware upgrading file.
8. The method of claim 7, wherein the firmware upgrade file comprises an earphone firmware upgrade package and a charging box firmware upgrade package.
9. A headset comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor executes the computer program to implement the method according to any of claims 1-6.
10. A charging box comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method of any one of claims 7 to 8.
CN202011099344.4A 2020-10-14 2020-10-14 Method and equipment for silent upgrading of earphone and charging box Active CN112235404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011099344.4A CN112235404B (en) 2020-10-14 2020-10-14 Method and equipment for silent upgrading of earphone and charging box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011099344.4A CN112235404B (en) 2020-10-14 2020-10-14 Method and equipment for silent upgrading of earphone and charging box

Publications (2)

Publication Number Publication Date
CN112235404A true CN112235404A (en) 2021-01-15
CN112235404B CN112235404B (en) 2023-05-09

Family

ID=74113666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011099344.4A Active CN112235404B (en) 2020-10-14 2020-10-14 Method and equipment for silent upgrading of earphone and charging box

Country Status (1)

Country Link
CN (1) CN112235404B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422994A (en) * 2022-03-29 2022-04-29 龙旗电子(惠州)有限公司 Firmware upgrading method and device, electronic equipment and storage medium
CN114866526A (en) * 2022-07-08 2022-08-05 荣耀终端有限公司 Earphone upgrading method and wireless earphone
CN116088695A (en) * 2022-06-28 2023-05-09 荣耀终端有限公司 System upgrading method and related device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701807A (en) * 2013-12-26 2014-04-02 华为技术有限公司 Method and device for sending data under VDI (visual desktop infrastructure) environment
CN104821995A (en) * 2015-05-27 2015-08-05 广东欧珀移动通信有限公司 Data transmission management method and device thereof
CN108804123A (en) * 2018-06-15 2018-11-13 歌尔科技有限公司 A kind of TWS earphones and its upgrade method, device, storage medium
CN108833542A (en) * 2018-06-15 2018-11-16 歌尔科技有限公司 The upgrade method and TWS earphone of TWS earphone
CN108848163A (en) * 2018-06-15 2018-11-20 歌尔科技有限公司 The upgrade method and TWS earphone of TWS earphone
CN110366063A (en) * 2019-07-26 2019-10-22 歌尔科技有限公司 A kind of upgrade method of wireless headset, device and charging box
CN110659046A (en) * 2019-09-12 2020-01-07 湖南国声智能科技有限公司 Firmware upgrading method, terminal, charging box, earphone and storage medium
CN111104145A (en) * 2019-11-29 2020-05-05 浪潮电子信息产业股份有限公司 Out-of-band updating method and system for Expander
CN111615030A (en) * 2020-05-27 2020-09-01 歌尔科技有限公司 Upgrading method, device and medium for novel TWS earphone
CN111623475A (en) * 2020-04-27 2020-09-04 海信(山东)空调有限公司 Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701807A (en) * 2013-12-26 2014-04-02 华为技术有限公司 Method and device for sending data under VDI (visual desktop infrastructure) environment
CN104821995A (en) * 2015-05-27 2015-08-05 广东欧珀移动通信有限公司 Data transmission management method and device thereof
CN108804123A (en) * 2018-06-15 2018-11-13 歌尔科技有限公司 A kind of TWS earphones and its upgrade method, device, storage medium
CN108833542A (en) * 2018-06-15 2018-11-16 歌尔科技有限公司 The upgrade method and TWS earphone of TWS earphone
CN108848163A (en) * 2018-06-15 2018-11-20 歌尔科技有限公司 The upgrade method and TWS earphone of TWS earphone
CN110366063A (en) * 2019-07-26 2019-10-22 歌尔科技有限公司 A kind of upgrade method of wireless headset, device and charging box
CN110659046A (en) * 2019-09-12 2020-01-07 湖南国声智能科技有限公司 Firmware upgrading method, terminal, charging box, earphone and storage medium
CN111104145A (en) * 2019-11-29 2020-05-05 浪潮电子信息产业股份有限公司 Out-of-band updating method and system for Expander
CN111623475A (en) * 2020-04-27 2020-09-04 海信(山东)空调有限公司 Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner
CN111615030A (en) * 2020-05-27 2020-09-01 歌尔科技有限公司 Upgrading method, device and medium for novel TWS earphone

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422994A (en) * 2022-03-29 2022-04-29 龙旗电子(惠州)有限公司 Firmware upgrading method and device, electronic equipment and storage medium
CN116088695A (en) * 2022-06-28 2023-05-09 荣耀终端有限公司 System upgrading method and related device
CN116088695B (en) * 2022-06-28 2023-10-20 荣耀终端有限公司 System upgrading method and related device
CN114866526A (en) * 2022-07-08 2022-08-05 荣耀终端有限公司 Earphone upgrading method and wireless earphone
CN114866526B (en) * 2022-07-08 2022-12-27 荣耀终端有限公司 Earphone upgrading method and wireless earphone
CN116208882A (en) * 2022-07-08 2023-06-02 荣耀终端有限公司 Earphone upgrading method and wireless earphone
CN116208882B (en) * 2022-07-08 2023-12-19 荣耀终端有限公司 Earphone upgrading method and wireless earphone

Also Published As

Publication number Publication date
CN112235404B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN112235404B (en) Method and equipment for silent upgrading of earphone and charging box
CN108429979B (en) Charging box upgrading method, charging box, wireless headset and TWS headset
CN102830984B (en) Method, chip and the communication terminal that firmware updates
CN108848163B (en) Upgrading method of TWS earphone and TWS earphone
KR100584443B1 (en) Component Download Manager for a Wireless Mobile Station and Method of Operation
JP2007503654A (en) Apparatus and method for generating upgraded software from initial software and software upgrade packages
WO2019128530A1 (en) Audio broadcasting method, device, and system, and smart broadcasting apparatus
CN108833542B (en) Upgrading method of TWS earphone and TWS earphone
KR20070012713A (en) Modular data components for wireless communication devices
US7817984B2 (en) Mobile communication terminal and computer program thereof, IC card and computer program thereof, and mobile communication terminal system
WO2024078218A1 (en) System booting method and electronic device
US9208838B2 (en) Terminal for accessing wireless network and running method thereof
WO2021196578A1 (en) Earphone debugging method and device, and storage medium
CN111638894A (en) Software upgrading method and device and computer storage medium
CN112383908A (en) Bluetooth device upgrading method and system
EP2227751A1 (en) Method of and apparatus for downloading data
CN110602683B (en) Bluetooth control method, device, mobile terminal and storage medium
JPH11175091A (en) Speech recognition device for telephone line
KR100974662B1 (en) Mobile commuication terminal and method for updating firmware thereof
CN112866439A (en) Data processing method, device and system
WO2021098015A1 (en) Earphone upgrade method, earphone assembly, upgrade device and readable storage medium
CN111741087A (en) Remote upgrading method, terminal equipment and readable storage medium
CN111615030A (en) Upgrading method, device and medium for novel TWS earphone
WO2013004175A1 (en) Software upgrading method and apparatus for electronic devices
CN110764806A (en) TWS earphone and upgrading method and device thereof

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