CN112235404B - Method and equipment for silent upgrading of earphone and charging box - Google Patents

Method and equipment for silent upgrading of earphone and charging box Download PDF

Info

Publication number
CN112235404B
CN112235404B CN202011099344.4A CN202011099344A CN112235404B CN 112235404 B CN112235404 B CN 112235404B CN 202011099344 A CN202011099344 A CN 202011099344A CN 112235404 B CN112235404 B CN 112235404B
Authority
CN
China
Prior art keywords
ear
firmware
firmware upgrade
file
upgrade file
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
CN202011099344.4A
Other languages
Chinese (zh)
Other versions
CN112235404A (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, comprising the following steps: the main ear establishes wireless communication connection with the mobile terminal; according to the different working states of the main ear, receiving firmware upgrade files sent by the mobile terminal at different transmission rates; receiving a firmware upgrade file which is the same as a main ear from the main ear; the master ear and the slave ear carry out firmware upgrade according to the firmware upgrade file, and the charging box inquires whether the firmware upgrade 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 carrying out firmware upgrading on the charging box by using the updated firmware upgrading file. According to the silence upgrading method for the earphone and the charging box, which is provided by the application, the time of a user is not occupied in the upgrading process, the silence upgrading which is not perceived by the user is realized, and when the 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 of the user is improved.

Description

Method and equipment for silent upgrading of earphone and charging box
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a method and equipment for silent upgrading of an earphone and a charging box.
Background
With the development of the TWS (True Wireless Stero) industry, the earphone tends to be more intelligent, so that the firmware of the earphone and the charging box is upgraded into an indispensable product function for continuously optimizing the use experience of users on the product.
The current common TWS earphone upgrading mode in the market is foreground upgrading, a new firmware upgrading prompt is popped up from an upgrading interface in the mobile phone App application, a user confirms to start upgrading, waits for the transmission of an upgrading packet to be completed, and waits for the earphone to restart to execute new firmware. Typically, when the headset starts a firmware upgrade, the audio is disconnected to avoid affecting the upgrade process, and after restarting the headset, the connection to the handset is disconnected. Therefore, in the way of upgrading the foreground firmware, a user cannot normally use the mobile phone to connect the TWS headset to use the telephone and the music function, and can normally use the headset product only after the firmware is upgraded, so that the user experience is affected.
Disclosure of Invention
The embodiment of the disclosure provides a method and equipment for silent upgrading of a headset 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 silence upgrade of an earphone and a charging box, where the method is used for the earphone, and includes:
the main ear establishes wireless communication connection with the mobile terminal;
according to the different working states of the main ear, receiving firmware upgrade files sent by the mobile terminal at different transmission rates;
receiving the same firmware upgrade file from the ear;
the master ear and the slave ear conduct firmware upgrading according to the firmware upgrading file.
In one embodiment, according to the main ear being in different working states, receiving the firmware upgrade file sent by the mobile terminal at different transmission rates, including:
according to the fact that the main ear is in a music/telephone service state, receiving a firmware upgrading file sent by the mobile terminal at a first transmission rate;
according to the main ear being in an idle state, receiving a firmware upgrade file sent by the mobile terminal at a second transmission rate;
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:
checking the received firmware upgrade file;
if the verification is successful, storing the firmware upgrading file into a data storage module of the firmware upgrading file;
if the verification fails, the retransmission request information is sent to the mobile terminal, and the firmware upgrade file retransmitted by the mobile terminal is received.
In one embodiment, if the verification is successful, after storing the firmware upgrade file in the data storage module of the firmware upgrade file, the method further includes:
transmitting a firmware upgrade file to the slave ear at a first transmission rate according to the slave ear being in a music/phone service state;
according to the fact that the slave ear is in an idle state, the firmware upgrade file is sent to the slave ear at a second transmission rate;
wherein the first transmission rate is less than the second transmission rate.
In one embodiment, after receiving the firmware upgrade file from the ear, further comprising:
checking the received firmware upgrade file;
if the verification is successful, storing the firmware upgrading file into a data storage module of the firmware upgrading file;
if the verification fails, the retransmission request information is sent to the master ear, and the firmware upgrade file retransmitted by the master ear is received.
In one embodiment, when it is detected that both the master ear and the slave ear have been put into a charging box and closed, the master 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 silence upgrade of an earphone and a charging box, where the method is used for the charging box, and includes:
when detecting that the two earphones are both put into the charging box and are closed, inquiring whether firmware upgrade files in the data storage areas of the two earphones are updated or not;
if the firmware upgrade file in the data storage area of any one of the two earphones is updated, acquiring the updated firmware upgrade file from the earphone, and carrying out firmware upgrade on the charging box by utilizing the updated firmware upgrade 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, an embodiment of the present disclosure provides 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 embodiment.
In a fourth aspect, an embodiment of the present disclosure provides a charging box, 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 charging box silence upgrading method provided in the foregoing embodiment.
The technical scheme provided in the embodiment of the application has at least the following technical effects or advantages:
compared with the traditional TWS earphone foreground upgrading scheme, the method for silencing and upgrading the earphone and the charging box does not need user operation, does not occupy time of a user in the upgrading process, can realize silence and 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 telephones is ensured, and one-stop upgrade of the TWS earphone and the charging box is realized by integrating the charging box firmware into the earphone firmware upgrade package, so that the experience of a user is greatly improved.
Additional aspects and advantages of the 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 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 designate like parts throughout the figures. In the drawings:
fig. 1 is a flow chart illustrating a method for silent upgrade of an earphone and a charging box according to an embodiment of the present application;
fig. 2 is a flow chart illustrating a method for silent upgrade of an earphone and a charging box according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a data transmission link according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a data storage module according to 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 noted that unless otherwise indicated, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs.
The following describes a method and apparatus for silent upgrade of an earphone and a charging box according to embodiments of the present application with reference to fig. 1 to 4.
Referring to fig. 1, the method specifically includes the following steps:
s101, the master ear and the mobile terminal establish wireless communication connection.
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 headset is connected to the mobile terminal in a wireless communication connection including, but not limited to, a WIFI connection, a 4G/5G connection, a bluetooth connection, etc., and in one possible implementation, the headset is connected to the smartphone via bluetooth.
After the TWS earphone and the mobile phone are connected through Bluetooth, when the mobile phone APP is opened and runs in the background, whether a new firmware upgrading file exists at the server side or not can be automatically detected, if the new firmware upgrading file exists, the App calls a firmware upgrading package downloading module, the upgrading package downloading module is used for downloading the firmware upgrading package from the server side in the background, after the upgrading package is downloaded, the App calls a silent upgrading data transmission module, and the firmware upgrading package is sent to the 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 version of firmware upgrade file, and downloads the firmware upgrade package from the server when the new version of firmware upgrade file exists.
S102, receiving firmware upgrade files sent by the mobile terminal at different transmission rates according to different working states of the main ear.
The silence upgrade support is used for transmitting firmware upgrade files in the earphone phone/music service state, but in order to ensure the audio quality of music and phones and avoid audio clamping, the silence upgrade module of the mobile phone APP can detect the service state of the earphone at all times, and the firmware upgrade files are transmitted at different transmission rates according to the service state of the earphone.
In one possible implementation, the firmware upgrade file sent by the mobile terminal is received at a first transmission rate according to when the earphone is in a music/phone service state; receiving a firmware upgrade file sent by the mobile terminal at a second transmission rate according to the fact that the earphone is in an idle state; 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 achieved at the moment, and the firmware upgrade file sent by the mobile terminal is received at the maximum transmission rate; when the earphone is in a telephone/music service state, the firmware upgrade file sent by the mobile terminal is received at half of the maximum transmission rate.
In this embodiment of the present application, as shown in fig. 3, a data transmission link between a mobile terminal and a headset includes: the mobile phone terminal App is connected with the TWS master earphone through a Bluetooth SPP link or a BLE link and transmits upgrade packet data, and an ACL data transmission link based on a Bluetooth protocol is established between the TWS master earphone and the slave earphone and used for data packet transmission. The earphone stores the received firmware upgrade package data in the Flash data storage module, and the earphone and the Flash data storage module communicate through an SPI interface.
According to the step, the earphone can automatically receive the firmware upgrade file sent by the mobile terminal on the premise of not affecting the audio quality of the telephone/music.
In one possible implementation, the firmware upgrade file includes an earphone firmware upgrade package and a charging box firmware upgrade package, so that the upgrade process is simplified, and one-stop upgrade 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 from the master ear. After receiving the firmware upgrade file, the main ear further comprises: and checking the received firmware upgrading file, if the verification is successful, storing the firmware upgrading file into a data storage module of the firmware upgrading file, and sending the firmware upgrading file to the slave ear. If the verification fails, the retransmission request information is sent to the mobile terminal, and the firmware upgrade file retransmitted by the mobile terminal is received.
In one possible implementation, a bluetooth physical layer ACL (Asynchronous Connection less, asynchronous connectionless link) transmission link is established between the master ear and the slave ear, where the ACL link is a directional transmission packet that supports both symmetric and asymmetric connections, and the master ear sends the firmware upgrade file to the slave ear in a directional manner via 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 the slave ear being in a music/phone service state; according to the slave ear being in an idle state, sending a firmware upgrade file at a second transmission rate; wherein the first transmission rate is less than the second transmission rate.
After receiving the firmware upgrade file from the master ear, the master ear also checks the received firmware upgrade file, if the check is successful, the firmware upgrade file is stored in the data storage module of the master ear, and if the check is failed, the master ear sends retransmission request information and receives the firmware upgrade file resent by the master ear.
The master and slave may be in the form of cyclic redundancy check codes (Cyclic Redundancy Check, CRC), and embodiments of the present disclosure are not limited in particular.
Alternatively, the slave ear may obtain the firmware upgrade file directly from the mobile terminal, connect the slave ear with the mobile terminal device in communication, and send the new firmware upgrade file to the master ear and the slave ear simultaneously when the mobile terminal detects that there is a new firmware upgrade file.
Further, the data storage modules of the master ear and the slave ear each include a program boot area, a program running area, and a data storage area, and 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 running area, bank B upgrade package data storage area. The Boot Loader is a small-section Boot program executed when the earphone is just powered on and used for determining a running program from a band A or a band B area when the earphone is started. The program running area is an area where the earphone executes the current program, and the upgrade package data storage area is used for storing upgrade package data. The two areas of the Bank A and the Bank B are symmetrical structures, the two areas can be used as a program running area and also can be used as an upgrade package data storage area, 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 package data storage area; when Bank B is a program running area, bank a is an upgrade package data storage area. The specific implementation process of the two area exchange functions of the Bank A and the Bank B comprises the following steps: after the earphone stores the upgrade package data into the upgrade package data storage area of the Bank B, the earphone waits for the earphone to enter the box and closes the charging box, the silent upgrade processing module judges that the earphone is in an idle state, at the moment, the Boot flag bit of the Boot Loader program guide area is changed into a start flag bit of the slave Bank B, 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 a previous upgrade package data storage area, the Bank A is changed into an upgrade package data storage area from a previous program operation area, the firmware upgrade package data in the next upgrade is stored, and the function exchange of the two areas of the Bank A and the Bank B is completed.
S104, the master ear and the slave ear conduct firmware upgrade according to the firmware upgrade file.
In order to avoid influencing normal use of the earphone by the user, after the master ear and the slave ear finish data receiving and storing of the firmware upgrade package, the earphone is not restarted immediately and new firmware is applied, but the user waits for using the earphone, and when the master ear and the slave ear are detected to be put into the charging box and are closed, firmware upgrade is performed according to the firmware upgrade file.
Optionally, whether the earphone is put into the charging box and the cover 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 put into the charging box and the cover is closed, both the master ear and the slave ear are restarted, and firmware upgrading of the earphone is completed by applying the firmware upgrading file stored in the data storage module.
According to the step, manual operation of a user is not needed in the binaural upgrading process, the time of the user is not needed to be occupied, firmware upgrading can be automatically completed in an idle state of the earphone, silence upgrading which is not perceived by the user is realized, disturbance to the user is reduced, and user experience is improved.
In one embodiment, a silence upgrading method of a charging box is provided, according to the fact that a main ear and a slave ear are both put into the charging box and are closed, the charging box sends a firmware upgrading instruction to an earphone, the firmware upgrading instruction can be sent to the main ear, or the slave ear sends the firmware upgrading instruction, and after the earphone receives the firmware upgrading instruction, a firmware upgrading file is sent to the charging box, so that the charging box is upgraded according to the firmware upgrading file.
In one possible implementation manner, the firmware upgrade file includes an earphone firmware upgrade package and a charging box firmware upgrade package, and in order to implement one-stop upgrade of the earphone and the charging box, after the earphone firmware upgrade is completed, because the earphone is placed in the charging box, data communication can be performed between the earphone and the charging box through a UART serial port, the earphone sends the firmware upgrade package of the charging box, and after the charging box receives the firmware upgrade package, the new firmware is used for restarting and completing the upgrade, so that the silent upgrade process of the double ears and the charging box is completed.
In order to facilitate understanding of the method for silence upgrading of the earphone and the charging box provided in the embodiments of the present application, the following description is made with reference to fig. 2. As shown in fig. 2, the method includes:
whether the server has a new version of earphone and a charging box firmware upgrade file or not is detected through the APP module, when the new version of the upgrade file exists, the new version of the firmware upgrade file is downloaded through the upgrade file downloading module, and the new version of the upgrade file is sent to the main ear through the APP data sending module.
The firmware upgrade file is received at a lower transmission rate when the headset is in a music/phone state, and is received at a maximum transmission rate when the headset is in an idle state.
After the master ear finishes receiving the firmware upgrade file, checking the received firmware upgrade file, if the checking is successful, storing the firmware upgrade file into a data storage module, sending the firmware upgrade file to the slave ear, when the earphone is in a telephone/music service state, sending the file to the slave ear at a lower transmission rate, when the earphone is in an idle state, sending the file to the slave ear at a maximum transmission rate, and receiving the new version firmware upgrade file by the master ear and the slave ear and storing the new version firmware upgrade file into the data storage module.
Judging whether the two ears are placed in the charging box and the cover is closed, and when the two ears are placed in the charging box and the cover is closed, carrying out firmware upgrading by the two ears according to the firmware upgrading file stored in the data storage module. The firmware upgrade file not only comprises the earphone firmware upgrade package, but also integrates the firmware upgrade package of the firmware box. After the two ears are placed into the charging box and the cover is closed, the main ear sends a firmware upgrade packet to the charging box through the UART serial port, and after the charging box receives the firmware upgrade packet, the charging box is restarted by using the received firmware and upgrade is completed, so that the silent upgrade process of the two ears and the charging box is completed.
According to the silence upgrading method for the earphone and the charging box, which are provided by the embodiment of the disclosure, the time of a user is not occupied in the upgrading process, 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 the firmware upgrading packet is transmitted, the audio is prevented from being blocked, the voice quality of music and telephone is ensured, and the one-stop upgrading of the TWS earphone and the charging box is realized by integrating the firmware of the charging box into the firmware upgrading packet of the earphone, so that the experience of the user is greatly improved.
In an embodiment, an earphone corresponding to the earphone silence upgrading method provided in the foregoing embodiment is further provided, so as to execute the earphone silence upgrading method.
Referring to fig. 5, a schematic diagram of an earphone according to some embodiments of the present application is shown. As shown in fig. 5, the earphone includes: processor 500, memory 501, bus 502 and communication interface 503, processor 500, communication interface 503 and memory 501 being connected by bus 502; the memory 501 stores a computer program that can be executed on the processor 500, and when the processor 500 executes the computer program, the method for silent updating of headphones provided in any of the foregoing embodiments of the present application is executed.
The memory 501 may include a high-speed random access memory (RAM: random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 503 (which may be wired or wireless), the internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
Bus 502 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be divided into address buses, data buses, control buses, etc. The memory 501 is configured to store a program, and the processor 500 executes the program after receiving an execution instruction, and the method for silent updating of the earphone disclosed in 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 with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in the processor 500. The processor 500 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but may also be a Digital Signal Processor (DSP), application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks 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 a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as 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 in combination with its hardware, performs the steps of the method described above.
The earphone provided by the embodiment of the application and the earphone silence upgrading method provided by the embodiment of the application are the same in inventive concept, and have the same beneficial effects as the method adopted, operated or realized by the earphone.
In one embodiment, there is also provided a charging cartridge including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor running the computer program to implement the charging cartridge quiet upgrade method provided in the above embodiment.
The present invention is not limited to the above-mentioned embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present invention are intended to be 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 claims.

Claims (6)

1. A method for silence upgrade of headphones and a charging box, the method being used for headphones, comprising:
the main ear establishes wireless communication connection with the mobile terminal;
according to the main ear being in different working states, receiving the firmware upgrade file sent by the mobile terminal at different transmission rates, including: receiving a firmware upgrade file sent by the mobile terminal at a first transmission rate according to the fact that the main ear is in a music/telephone service state; according to the main ear being in an idle state, receiving a firmware upgrade file sent by the mobile terminal at a second transmission rate; wherein the first transmission rate is less than the second transmission rate; comprising the following steps: when the earphone is in an idle state, the second transmission rate is the maximum transmission rate which can be achieved at the moment, and the firmware upgrade file sent by the mobile terminal is received at the maximum transmission rate; when the earphone is in a telephone/music service state, receiving a firmware upgrade file sent by the mobile terminal at half of the maximum transmission rate;
receiving a firmware upgrade file which is the same as a main ear from the main ear; comprising the following steps: the slave ear can directly acquire a firmware upgrade file from the mobile terminal, the slave ear is in communication connection with the mobile terminal, and when the mobile terminal detects that a new firmware upgrade file exists, the new firmware upgrade file is simultaneously transmitted to the master ear and the slave ear;
and the master ear and the slave ear upgrade the firmware according to the firmware upgrade file.
2. The method of claim 1, further comprising, after receiving the firmware upgrade file transmitted by the mobile terminal:
checking the received firmware upgrading file;
if the verification is successful, storing the firmware upgrading file into 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 upgrade file retransmitted by the mobile terminal.
3. The method of claim 2, wherein if the verification is successful, storing the firmware upgrade file in the data storage module thereof further comprises:
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;
transmitting the firmware upgrade file to the slave ear 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.
4. The method of claim 3, further comprising, after receiving the firmware upgrade file from the ear:
checking the received firmware upgrading file;
if the verification is successful, storing the firmware upgrading file into a data storage module of the firmware upgrading file;
and if the verification fails, sending retransmission request information to the master ear and receiving the firmware upgrade file retransmitted by the master ear.
5. The method of claim 1, wherein the master ear and the slave ear perform firmware upgrades according to the firmware upgrade file, comprising:
when detecting that the main ear and the auxiliary ear are both put into the charging box and are closed, the main ear and the auxiliary ear carry out firmware upgrading according to the firmware upgrading file.
6. 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 runs the computer program to implement the method according to any of claims 1-5.
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 CN112235404A (en) 2021-01-15
CN112235404B true 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)

Families Citing this family (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
CN116088695B (en) * 2022-06-28 2023-10-20 荣耀终端有限公司 System upgrading method and related device
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
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
CN108848163A (en) * 2018-06-15 2018-11-20 歌尔科技有限公司 The upgrade method and TWS earphone of TWS earphone
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833542B (en) * 2018-06-15 2022-04-12 歌尔科技有限公司 Upgrading method of TWS earphone and TWS earphone
CN110366063A (en) * 2019-07-26 2019-10-22 歌尔科技有限公司 A kind of upgrade method of wireless headset, device and charging box
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

Patent Citations (6)

* 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
CN108848163A (en) * 2018-06-15 2018-11-20 歌尔科技有限公司 The upgrade method and TWS earphone of TWS earphone
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

Also Published As

Publication number Publication date
CN112235404A (en) 2021-01-15

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
KR100584443B1 (en) Component Download Manager for a Wireless Mobile Station and Method of Operation
CN102830984B (en) Method, chip and the communication terminal that firmware updates
KR100841510B1 (en) Modular data components for wireless communication devices
WO2019128530A1 (en) Audio broadcasting method, device, and system, and smart broadcasting apparatus
JP2007503654A (en) Apparatus and method for generating upgraded software from initial software and software upgrade packages
JP3055514B2 (en) Voice recognition device for telephone line
US7817984B2 (en) Mobile communication terminal and computer program thereof, IC card and computer program thereof, and mobile communication terminal system
CN109375937A (en) Method for upgrading system, device, terminal device and storage medium
JP2002232554A (en) Dial limit method, program, recording medium and communication terminal
WO2021196578A1 (en) Earphone debugging method and device, and storage medium
CN111371695B (en) Service flow limiting method and device
CN112416411B (en) Upgrading method and device, equipment end, server and computer readable medium
CN110035167B (en) Recording method and related device
CN110795127A (en) Wireless earphone and upgrading method and device thereof
CN110602683A (en) Bluetooth control method, device, mobile terminal and storage medium
KR100884426B1 (en) Method and apparatus for providing services and services usage information for a wireless subscriber unit
CN110764806B (en) TWS earphone and upgrading method and device thereof
WO2021098015A1 (en) Earphone upgrade method, earphone assembly, upgrade device 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
JP4823239B2 (en) Wireless communication apparatus and wireless communication system having the apparatus
CN110035496B (en) Cloud platform switching method and system and electronic equipment
CN116208882B (en) Earphone upgrading method and wireless earphone

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