CN108848163A - The upgrade method and TWS earphone of TWS earphone - Google Patents
The upgrade method and TWS earphone of TWS earphone Download PDFInfo
- Publication number
- CN108848163A CN108848163A CN201810621639.XA CN201810621639A CN108848163A CN 108848163 A CN108848163 A CN 108848163A CN 201810621639 A CN201810621639 A CN 201810621639A CN 108848163 A CN108848163 A CN 108848163A
- Authority
- CN
- China
- Prior art keywords
- earphone
- main
- upgrading
- upgrade file
- main earphone
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of upgrade method of TWS earphone and TWS earphones.This method includes:Main earphone establishes wireless communication connection with mobile terminal and from earphone respectively;The main earphone receives the upgrade file sent from the mobile terminal, and by the upgrade file received be sent to described in from earphone;The main earphone and described respectively executed from earphone according to the upgrade file received reset upgrading.As it can be seen that realizing easier, the faster upgrading of TWS earphone, the user experience is improved the present invention overcomes the defect that existing upgrade method operation is complicated and time-consuming.
Description
Technical field
The present invention relates to field of computer technology, in particular to the upgrade method and TWS earphone of a kind of TWS earphone.
Background technique
With the development of science and technology, TWS (True Wireless Stereo, real wireless stereo) earphone (including main ear
Machine and from earphone) come into people's lives, obtained the favor of the majority of consumers.Mobile terminal connects main earphone, main
Earphone is connect with from earphone wireless telecommunications again.
In the upgrade method of existing TWS earphone, need shutting down from earphone, mobile terminal connects main earphone, will upgrade
File is sent to main earphone, carries out main earphone upgrading;Then main earphone is shut down, mobile terminal connection is from earphone, by upgrading text
Part is sent to from earphone, upgrade from earphone.Such upgrade method operation is complicated and time-consuming, needs a kind of new upgrading
Method reduces operation complexity, reduces update time.
Summary of the invention
In order to solve the problems, such as that the TWS earphone upgrade method operation of the prior art is complicated, time-consuming, the present invention provides one
The upgrade method and TWS earphone of kind TWS earphone.
One embodiment of the present of invention provides a kind of upgrade method of TWS earphone, including:
Main earphone establishes wireless communication connection with mobile terminal and from earphone respectively;
The main earphone receives the upgrade file sent from the mobile terminal, and the upgrade file received is sent to
It is described from earphone;
The main earphone and described respectively executed from earphone according to the upgrade file received reset upgrading.
Optionally, the main earphone receives the upgrade file sent from the mobile terminal and the upgrade file that will be received
From earphone described in being sent to, including:
The main earphone receives each upgrading data packet of the upgrade file successively sent from the mobile terminal, and will connect
The upgrading data packet received be sent to it is described from earphone, until the main earphone and described receiving the upgrade file from earphone
Whole upgrading data packets.
Optionally, the main earphone receives each upgrading data of the upgrade file successively sent from the mobile terminal
Packet, and the upgrading data packet received is sent to it is described from earphone, including:
The main earphone verifies each upgrading data packet received, if verifying successfully, by the ascending series
It saves according to packet into the memory of itself, and the upgrading data packet is sent to described from earphone;If verification failure, to described
Mobile terminal sends re-transmission request message and receives the upgrading data packet that the mobile terminal retransmits;
It is described that each upgrading data packet received is verified from earphone, if verifying successfully, by the ascending series
It saves according to packet into the memory of itself, and to the main earphone feedback reception success message;If verification failure, to the main ear
Machine sends re-transmission request message and receives the upgrading data packet that the main earphone retransmits;
The main earphone receives described after the reception success message that earphone is fed back, and transmits and receives to the mobile terminal
Success message, to notify the mobile terminal to send next upgrading data packet.
Optionally, the main earphone and whole upgrading data packets that the upgrade file is received from earphone, including:
The main earphone and it is described respectively the received upgrade file is verified from earphone, if the main earphone and
Described to pass through verification from earphone, then respectively the upgrade file executes reset upgrading based on the received again;
If the main earphone is unverified, verification is sent not by message, described in notice to the mobile terminal
Mobile terminal successively sends each upgrading data packet of upgrade file again;
If described unverified from earphone, verification is sent not by message to the main earphone, and receive the master
Earphone successively sends each upgrading data packet of upgrade file again.
Optionally, the main earphone and it is described from earphone respectively according to the upgrade file execute reset upgrading before,
The method also includes:
The main earphone and it is described obtain respective current electric quantity from earphone, judge whether current electric quantity is greater than default electricity
Value;
If the main earphone and it is described be all larger than default charge value from the current electric quantity of earphone, the main earphone and described
It is respectively executed from earphone further according to the upgrade file and resets upgrading;
If the main earphone and/or it is described be less than default charge value from the current electric quantity of earphone, be less than default charge value
Earphone stop according to the upgrade file execute reset upgrading;Also,
If described be less than default charge value from the current electric quantity of earphone, described to send from earphone to the main earphone from ear
Machine not enough power supply prompting message;If the current electric quantity of the main earphone and/or being less than default charge value from the current electric quantity of earphone,
Then the main earphone sends corresponding earphone not enough power supply prompting message to the mobile terminal.
Optionally, the main earphone and it is described from earphone respectively according to the upgrade file execute reset upgrading before,
The method also includes:
The main earphone and described respectively judge that itself is current whether in charged state from earphone;
If the main earphone and/or it is described be in charged state from earphone, in charged state earphone further according to institute
It states upgrade file and executes and reset upgrading.
Optionally, the upgrade file be the confirmation upgrading that the mobile terminal receives user's triggering operation after from clothes
It is engaged in what device downloading obtained.
Optionally, the main earphone and described respectively executed from earphone according to the upgrade file received reset liter
Grade, including:
The main earphone and described be respectively performed simultaneously from earphone according to the upgrade file received reset upgrading.
Optionally, liter is resetted in the main earphone and described respectively executed from earphone according to the upgrade file received
After grade, the method also includes:
The main earphone and described the upgrade file received is respectively deleted from earphone.
Another embodiment of the present invention provides a kind of TWS earphone, including main earphone and from earphone, the main earphone and institute
It states to adopt from earphone and be upgraded with the aforedescribed process.
The solution have the advantages that the main earphone of the present invention establishes wireless communication company with mobile terminal and from earphone respectively
Connect, main earphone receives the upgrade file sent from the mobile terminal, and by the upgrade file received be sent to described in from ear
Machine, after in main earphone and all receiving upgrade file from earphone, two earphones are respectively held according to the upgrade file received
Row resets upgrading.The present invention overcomes the defects that existing upgrade method operation is complicated and time-consuming, realize the simpler of TWS earphone
Just, faster upgrade, the user experience is improved.
Detailed description of the invention
Fig. 1 is the flow diagram of the upgrade method of the TWS earphone of one embodiment of the invention;
Fig. 2 is the schematic diagram of the upgrade method of the TWS earphone of one embodiment of the invention;
Fig. 3 a and Fig. 3 b are the upgrading schematic diagram of the TWS earphone of one embodiment of the invention.
Specific embodiment
In order to solve the technical issues of proposing in background technique, present inventor expects that main earphone is whole with movement respectively
It holds and establishes wireless communication connection from earphone, main earphone receives the upgrade file sent from the mobile terminal, and will receive
Upgrade file be sent to it is described from earphone, after in main earphone and all receiving upgrade file from earphone, the respective root of two earphones
It is executed according to the upgrade file received and resets upgrading.Lacking to overcome that existing upgrade method operation is complicated and time-consuming
It falls into, realizes easier, the faster upgrading of TWS earphone, the user experience is improved.
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is the flow diagram of the upgrade method of the TWS earphone of one embodiment of the invention.As shown in Figure 1, of the invention
The method of embodiment includes:
S11:Main earphone establishes wireless communication connection with mobile terminal and from earphone respectively;
In practical applications, main earphone respectively with mobile terminal and establish Bluetooth communication from earphone and connect.Mobile terminal can
To be the equipment such as mobile phone, tablet computer, the invention is not limited in this regard.
S12:The main earphone receives the upgrade file sent from the mobile terminal, and the upgrade file received is sent out
It send to described from earphone;
S13:The main earphone and described respectively executed from earphone according to the upgrade file received reset upgrading.
It will be appreciated that the upgrade file is sent to by main earphone after the upgrade file for receiving mobile terminal transmission
From earphone;After in main earphone and all receiving upgrade file from earphone, two earphones are respectively according to the upgrading text received
Part, which executes, resets upgrading.
The embodiment of the present invention overcomes the defect that existing upgrade method operation is complicated and time-consuming, realizes TWS earphone
Easier, faster upgrading, the user experience is improved.
In another embodiment of the present invention, main earphone described in the step S12 of method shown in Fig. 1 is received from the movement
Upgrade file that terminal is sent and the upgrade file received is sent to it is described from earphone, including:
The main earphone receives each upgrading data packet of the upgrade file successively sent from the mobile terminal, and will connect
The upgrading data packet received be sent to it is described from earphone, until the main earphone and described receiving the upgrade file from earphone
Whole upgrading data packets.
It should be noted that upgrade file can be disposably sent to main earphone by mobile terminal.In practical applications,
Upgrade file is possible larger (such as 5-10M), and upgrade file is divided into multiple upgrading data packets by mobile terminal, and will upgrading text
Each upgrading data packet of part is sent to main earphone, and upgrading data packet is sent to from earphone by main earphone.
In another embodiment of the present invention, the main earphone receives the upgrading text successively sent from the mobile terminal
Each upgrading data packet of part, and the upgrading data packet received is sent to it is described from earphone, including:
The main earphone verifies each upgrading data packet received, if verifying successfully, by the ascending series
It saves according to packet into the memory of itself, and the upgrading data packet is sent to described from earphone;If verification failure, to described
Mobile terminal sends re-transmission request message and receives the upgrading data packet that the mobile terminal retransmits;
It is described that each upgrading data packet received is verified from earphone, if verifying successfully, by the ascending series
It saves according to packet into the memory of itself, and to the main earphone feedback reception success message;If verification failure, to the main ear
Machine sends re-transmission request message and receives the upgrading data packet that the main earphone retransmits;
The main earphone receives described after the reception success message that earphone is fed back, and transmits and receives to the mobile terminal
Success message, to notify the mobile terminal to send next upgrading data packet.
It will be appreciated that the integrality in order to guarantee data transmission, main earphone and is receiving each ascending series from earphone
According to can all be verified after packet, upgrading data packet is saved into the memories such as flash if verifying successfully, if verification failure,
Main earphone sends re-transmission request message to mobile terminal, sends repeat request information from earphone to main earphone.
It, can be to main earphone feedback reception success message from earphone after receiving upgrading data packet and verifying successfully;Main ear
Machine receives described after the reception success message that earphone is fed back, and success message is transmitted and received to the mobile terminal, with notice
The mobile terminal sends next upgrading data packet.
Main earphone and verification mode from earphone can be cyclic redundancy check code (Cyclic Redundancy Check,
CRC), the invention is not limited in this regard.
In another embodiment of the present invention, the main earphone and described the complete of the upgrade file is received from earphone
Portion's upgrading data packet, including:
The main earphone and it is described respectively the received upgrade file is verified from earphone, if the main earphone and
Described to pass through verification from earphone, then respectively the upgrade file executes reset upgrading based on the received again;
If the main earphone is unverified, verification is sent not by message, described in notice to the mobile terminal
Mobile terminal successively sends each upgrading data packet of upgrade file again;
If described unverified from earphone, verification is sent not by message to the main earphone, and receive the master
Earphone successively sends each upgrading data packet of upgrade file again.
It should be noted that main earphone of the invention and one can be carried out after receiving each upgrading data packet from earphone
Secondary verification.In addition, main earphone and receiving the complete of upgrade file from earphone in order to further ensure the integrality of data transmission
After portion's upgrading data packet, also whole verification respectively can be carried out to received upgrade file.If main earphone is unverified, notify
Mobile terminal successively sends each upgrading data packet of upgrade file again;If unverified from earphone, main earphone is notified
Again each upgrading data packet of upgrade file is successively sent.
In another implementation of the invention, method shown in Fig. 1 is in the main earphone and described from the respective basis of earphone
The upgrade file executes before resetting upgrading, the method also includes:
The main earphone and it is described obtain respective current electric quantity from earphone, judge whether current electric quantity is greater than default electricity
Value;
If the main earphone and it is described be all larger than default charge value from the current electric quantity of earphone, the main earphone and described
It is respectively executed from earphone further according to the upgrade file and resets upgrading;
If the main earphone and/or it is described be less than default charge value from the current electric quantity of earphone, be less than default charge value
Earphone stop according to the upgrade file execute reset upgrading;Also,
If described be less than default charge value from the current electric quantity of earphone, described to send from earphone to the main earphone from ear
Machine not enough power supply prompting message;If the current electric quantity of the main earphone and/or being less than default charge value from the current electric quantity of earphone,
Then the main earphone sends corresponding earphone not enough power supply prompting message to the mobile terminal.
It will be appreciated that interrupting or failing because of not enough power supply in order to avoid upgrading, the escalation process of TWS earphone will guarantee
Main earphone and electricity from earphone are greater than certain charge value.It is respectively executed according to the upgrade file in main earphone and from earphone
It before resetting upgrading, main earphone and can respectively judge whether itself current electric quantity is greater than certain charge value from earphone, only exist
Current electric quantity can just execute reset upgrading when being greater than certain charge value.
In another embodiment of the present invention, method shown in FIG. 1 is in the main earphone and described from the respective root of earphone
It is executed before resetting upgrading according to the upgrade file, the method also includes:
The main earphone and described respectively judge that itself is current whether in charged state from earphone;
If the main earphone and/or it is described be in charged state from earphone, in charged state earphone further according to institute
It states upgrade file and executes and reset upgrading.
It will be appreciated that interrupted because of not enough power supply or failure in order to avoid upgrading, in main earphone and from the respective root of earphone
It is executed before resetting upgrading according to the upgrade file, can respectively judge that itself is current whether in charged state, is only being in
Reset upgrading can be just executed when charged state.
In practical applications, main earphone and being placed into the charging box of starting state from earphone charges.
In another embodiment of the present invention, main earphone described in step S13 shown in FIG. 1 and described from the respective root of earphone
It is executed according to the upgrade file received and resets upgrading, including:
The main earphone and described be respectively performed simultaneously from earphone according to the upgrade file received reset upgrading.
It should be noted that in order to guarantee main earphone and the consistency from earphone software version, main earphone of the invention and
Upgrading is resetted from earphone to carry out simultaneously, realizes the synchronous upgrading of two earphones.
In another embodiment of the present invention, the upgrade file is that the mobile terminal receives user's triggering really
Recognize and is obtained from server downloading after the operation of upgrading.
It will be appreciated that the mobile terminals such as mobile phone detect whether new version, when detection is known there are after new version,
Show upgrading confirmation message to prompt the user whether to be upgraded;When the mobile terminals such as mobile phone receive the confirmation liter of user's triggering
The upgrade file of new version is downloaded after the operation of grade from server.
In another embodiment of the present invention, method shown in FIG. 1 is in the main earphone and described from the respective root of earphone
It is executed according to the upgrade file received after resetting upgrading, the method also includes:
The main earphone and described the upgrade file received is respectively deleted from earphone.
It should be noted that being executed again in order to save main earphone and from the memory headroom of earphone in main earphone and from earphone
After the upgrading of position, the upgrade file received is also each deleted.
Fig. 2 is the schematic diagram of the upgrade method of the TWS earphone of one embodiment of the invention.As shown in Fig. 2, the preparation stage:
Mobile phone detects that there is new software version in cloud, prompts the user whether to need to upgrade.User selects " upgrading " and basis mentions
Show and takes out all earphones from charging box.Mobile phone connects main earphone by Bluetooth communication, main earphone by Bluetooth communication connect from
Earphone.
Data transfer phase:As shown in Figure 3a, mobile phone pushes upgrade package to main ear by the RFCOMM link of Bluetooth communication
Machine;Main earphone carries out CRC check after receiving upgrade package, if verification failure, main earphone request mobile phone retransmits this data packet;If
It verifies successfully, data storage to flash, main earphone is simultaneously passed through data packet from earphone by RFCOMM link.It is connect from earphone
Data packet is received, CRC check and flash storage are also carried out;If there is mistake, need to request main earphone repeat from earphone.It is main
Earphone sends answer signal to mobile phone, and mobile phone sends next packet data (as shown in Figure 3b);When all data packets all receive
After the completion of storage, principal and subordinate's earphone carries out upgrade file CRC check simultaneously.
Update phase:If verified successfully, principal and subordinate's earphone judges whether electricity meets upgrading needs, rises if electricity meets
Grade needs, and principal and subordinate's earphone resets upgrading simultaneously.If electricity is unsatisfactory for needing, information about power is returned to mobile phone by main earphone, is mentioned
Show user " earphone electricity is unsatisfactory for upgrading needs, please be put into charging kit upgrading ".Principal and subordinate's earphone is by judging whether in charging shape
State determines earphone whether in charging box, and if it is in charging box, earphone carries out reset upgrading.
Another embodiment of the present invention provides a kind of TWS earphone, including main earphone and from earphone, the main earphone and institute
It states to adopt from earphone and be upgraded with the aforedescribed process.
In conclusion according to the technique and scheme of the present invention, main earphone establishes channel radio with mobile terminal and from earphone respectively
Letter connection, main earphone receive the upgrade file sent from the mobile terminal, and described in the upgrade file received is sent to
From earphone, after in main earphone and all receiving upgrade file from earphone, two earphones are respectively according to the upgrading text received
Part, which executes, resets upgrading.The present invention overcomes the defects that existing upgrade method operation is complicated and time-consuming, realize TWS earphone
Easier, faster upgrading, the user experience is improved.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
It should be noted that the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability
Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including
Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device.
In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element
Process, method, article or equipment in there is also other identical elements.
In specification of the invention, numerous specific details are set forth.Although it is understood that the embodiment of the present invention can
To practice without these specific details.In some instances, well known method, structure and skill is not been shown in detail
Art, so as not to obscure the understanding of this specification.Similarly, it should be understood that disclose in order to simplify the present invention and helps to understand respectively
One or more of a inventive aspect, in the above description of the exemplary embodiment of the present invention, each spy of the invention
Sign is grouped together into a single embodiment, figure, or description thereof sometimes.However, should not be by the method solution of the disclosure
It releases and is intended in reflection is following:I.e. the claimed invention requires more than feature expressly recited in each claim
More features.More precisely, as the following claims reflect, inventive aspect is less than single reality disclosed above
Apply all features of example.Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the specific embodiment,
It is wherein each that the claims themselves are regarded as separate embodiments of the invention.
The above description is merely a specific embodiment, under above-mentioned introduction of the invention, those skilled in the art
Other improvement or deformation can be carried out on the basis of the above embodiments.It will be understood by those skilled in the art that above-mentioned tool
Body description only preferably explains that the purpose of the present invention, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of upgrade method of TWS earphone, which is characterized in that including:
Main earphone establishes wireless communication connection with mobile terminal and from earphone respectively;
The main earphone receives the upgrade file sent from the mobile terminal, and described in the upgrade file received is sent to
From earphone;
The main earphone and described respectively executed from earphone according to the upgrade file received reset upgrading.
2. the method according to claim 1, wherein the main earphone receives the liter sent from the mobile terminal
Grade file and the upgrade file received is sent to it is described from earphone, including:
The main earphone receives each upgrading data packet of the upgrade file successively sent from the mobile terminal, and will receive
Upgrading data packet be sent to it is described from earphone, until the main earphone and described receiving the complete of the upgrade file from earphone
Portion's upgrading data packet.
3. according to the method described in claim 2, it is characterized in that, the main earphone reception is successively sent from the mobile terminal
Upgrade file each upgrading data packet, and the upgrading data packet received is sent to it is described from earphone, including:
The main earphone verifies each upgrading data packet received, if verifying successfully, by the upgrading data packet
It saves into the memory of itself, and the upgrading data packet is sent to described from earphone;If verification failure, to the movement
Terminal sends re-transmission request message and receives the upgrading data packet that the mobile terminal retransmits;
It is described that each upgrading data packet received is verified from earphone, if verifying successfully, by the upgrading data packet
It saves into the memory of itself, and to the main earphone feedback reception success message;If verification failure is sent out to the main earphone
It send re-transmission request message and receives the upgrading data packet that the main earphone retransmits;
The main earphone receives described after the reception success message that earphone is fed back, and transmits and receives successfully to the mobile terminal
Message, to notify the mobile terminal to send next upgrading data packet.
4. according to the method described in claim 2, it is characterized in that, the main earphone and described receiving the upgrading from earphone
Whole upgrading data packets of file, including:
The main earphone and it is described respectively the received upgrade file is verified from earphone, if the main earphone and described
Pass through verification from earphone, then respectively the upgrade file executes reset upgrading based on the received again;
If the main earphone is unverified, verification is sent not by message, to notify the movement to the mobile terminal
Terminal successively sends each upgrading data packet of upgrade file again;
If described unverified from earphone, verification is sent not by message to the main earphone, and receive the main earphone
Again each upgrading data packet of upgrade file is successively sent.
5. according to the method described in claim 2, it is characterized in that, the main earphone and it is described from earphone respectively according to
Upgrade file executes before resetting upgrading, the method also includes:
The main earphone and it is described obtain respective current electric quantity from earphone, judge whether current electric quantity is greater than default charge value;
If the main earphone and it is described be all larger than default charge value from the current electric quantity of earphone, the main earphone and described from ear
Machine, which is respectively executed further according to the upgrade file, resets upgrading;
If the main earphone and/or it is described be less than default charge value from the current electric quantity of earphone, be less than the ear of default charge value
Machine, which stops being executed according to the upgrade file, resets upgrading;Also,
If described be less than default charge value from the current electric quantity of earphone, described to send from earphone to the main earphone from earphone electricity
Measure insufficient prompting message;If the current electric quantity of the main earphone and/or being less than default charge value, institute from the current electric quantity of earphone
It states main earphone and sends corresponding earphone not enough power supply prompting message to the mobile terminal.
6. according to the method described in claim 2, it is characterized in that, the main earphone and it is described from earphone respectively according to
Upgrade file executes before resetting upgrading, the method also includes:
The main earphone and described respectively judge that itself is current whether in charged state from earphone;
If the main earphone and/or it is described be in charged state from earphone, in charged state earphone further according to the liter
Grade file, which executes, resets upgrading.
7. the method according to claim 1, wherein the main earphone and it is described from earphone respectively according to receiving
The upgrade file execute reset upgrading, including:
The main earphone and described be respectively performed simultaneously from earphone according to the upgrade file received reset upgrading.
8. the method according to claim 1, wherein the upgrade file is that the mobile terminal receives user
It is obtained after the operation of the confirmation upgrading of triggering from server downloading.
9. the method according to claim 1, wherein the main earphone and it is described from earphone respectively according to reception
After the upgrade file arrived executes reset upgrading, the method also includes:
The main earphone and described the upgrade file received is respectively deleted from earphone.
10. a kind of TWS earphone, which is characterized in that weighed including main earphone and from earphone, the main earphone and described used from earphone
Benefit requires the described in any item methods of 1-9 to be upgraded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810621639.XA CN108848163B (en) | 2018-06-15 | 2018-06-15 | Upgrading method of TWS earphone and TWS earphone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810621639.XA CN108848163B (en) | 2018-06-15 | 2018-06-15 | Upgrading method of TWS earphone and TWS earphone |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108848163A true CN108848163A (en) | 2018-11-20 |
CN108848163B CN108848163B (en) | 2022-04-05 |
Family
ID=64202049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810621639.XA Active CN108848163B (en) | 2018-06-15 | 2018-06-15 | Upgrading method of TWS earphone and TWS earphone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108848163B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110659046A (en) * | 2019-09-12 | 2020-01-07 | 湖南国声智能科技有限公司 | Firmware upgrading method, terminal, charging box, earphone and storage medium |
CN110737456A (en) * | 2019-09-10 | 2020-01-31 | 中山市格美通用电子有限公司 | wireless earphone online upgrading method and earphone equipment |
CN110764806A (en) * | 2019-10-29 | 2020-02-07 | 歌尔科技有限公司 | TWS earphone and upgrading method and device thereof |
CN110830973A (en) * | 2020-01-09 | 2020-02-21 | 易兆微电子(杭州)有限公司 | Method for transmitting audio information by using wireless earphone |
CN110825411A (en) * | 2019-10-31 | 2020-02-21 | 歌尔股份有限公司 | Upgrading method and device for TWS (two way satellite System) earphone system and computer-readable storage medium |
CN111385777A (en) * | 2018-12-28 | 2020-07-07 | 华为终端有限公司 | TWS earphone low-power reminding method and electronic equipment |
CN111431975A (en) * | 2019-03-26 | 2020-07-17 | 惠州迪芬尼声学科技股份有限公司 | Firmware upgrade for wireless stereo headphones |
CN111443930A (en) * | 2020-03-25 | 2020-07-24 | 苏州科达科技股份有限公司 | Upgrading method and device of cascade terminal, storage medium and electronic terminal |
CN111464920A (en) * | 2020-03-31 | 2020-07-28 | 歌尔科技有限公司 | Earphone debugging method, device and storage medium |
CN111615030A (en) * | 2020-05-27 | 2020-09-01 | 歌尔科技有限公司 | Upgrading method, device and medium for novel TWS earphone |
CN111651179A (en) * | 2020-05-29 | 2020-09-11 | 歌尔科技有限公司 | Earphone, program upgrading method thereof, control device and readable storage medium |
CN112235404A (en) * | 2020-10-14 | 2021-01-15 | 歌尔科技有限公司 | Silent upgrade method and equipment for earphone and charging box |
CN114866526A (en) * | 2022-07-08 | 2022-08-05 | 荣耀终端有限公司 | Earphone upgrading method and wireless earphone |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005116827A1 (en) * | 2004-05-31 | 2005-12-08 | Stmicroelectronics Pvt. Ltd. | A method for remotely upgrading the firmware of a target device using wireless technology |
CN201063621Y (en) * | 2007-02-12 | 2008-05-21 | 雷柏元 | Device for implementing communication of peer-to-peer equipment |
CN101695189A (en) * | 2009-10-23 | 2010-04-14 | 深圳华为通信技术有限公司 | Method for conducting data synchronization by earphone, and corresponding earphone and mobile terminal |
CN102696240A (en) * | 2009-09-10 | 2012-09-26 | 美国高思公司 | Synchronizing wireless earphones |
CN202551284U (en) * | 2011-12-28 | 2012-11-21 | 深圳市合智创盈电子有限公司 | Earphone capable of upgrading through external equipment |
CN103079150A (en) * | 2012-12-26 | 2013-05-01 | 叶晓森 | Stereophonic sound solution for mobile communication device or portable computer |
CN104602114A (en) * | 2015-01-09 | 2015-05-06 | 乐视致新电子科技(天津)有限公司 | Method for transmitting and receiving upgrade documents, system, intelligent television and remote controller |
CN106909337A (en) * | 2016-05-05 | 2017-06-30 | 美律电子(深圳)有限公司 | Method for selecting main earphone in wireless earphone set, electronic device and wireless earphone |
CN107950014A (en) * | 2016-04-22 | 2018-04-20 | 苹果公司 | Role swap is carried out between the wireless connectivity devices do not fastened |
-
2018
- 2018-06-15 CN CN201810621639.XA patent/CN108848163B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005116827A1 (en) * | 2004-05-31 | 2005-12-08 | Stmicroelectronics Pvt. Ltd. | A method for remotely upgrading the firmware of a target device using wireless technology |
CN201063621Y (en) * | 2007-02-12 | 2008-05-21 | 雷柏元 | Device for implementing communication of peer-to-peer equipment |
CN102696240A (en) * | 2009-09-10 | 2012-09-26 | 美国高思公司 | Synchronizing wireless earphones |
CN101695189A (en) * | 2009-10-23 | 2010-04-14 | 深圳华为通信技术有限公司 | Method for conducting data synchronization by earphone, and corresponding earphone and mobile terminal |
CN202551284U (en) * | 2011-12-28 | 2012-11-21 | 深圳市合智创盈电子有限公司 | Earphone capable of upgrading through external equipment |
CN103079150A (en) * | 2012-12-26 | 2013-05-01 | 叶晓森 | Stereophonic sound solution for mobile communication device or portable computer |
CN104602114A (en) * | 2015-01-09 | 2015-05-06 | 乐视致新电子科技(天津)有限公司 | Method for transmitting and receiving upgrade documents, system, intelligent television and remote controller |
CN107950014A (en) * | 2016-04-22 | 2018-04-20 | 苹果公司 | Role swap is carried out between the wireless connectivity devices do not fastened |
CN106909337A (en) * | 2016-05-05 | 2017-06-30 | 美律电子(深圳)有限公司 | Method for selecting main earphone in wireless earphone set, electronic device and wireless earphone |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111385777A (en) * | 2018-12-28 | 2020-07-07 | 华为终端有限公司 | TWS earphone low-power reminding method and electronic equipment |
CN111431975A (en) * | 2019-03-26 | 2020-07-17 | 惠州迪芬尼声学科技股份有限公司 | Firmware upgrade for wireless stereo headphones |
CN110737456A (en) * | 2019-09-10 | 2020-01-31 | 中山市格美通用电子有限公司 | wireless earphone online upgrading method and earphone equipment |
CN110737456B (en) * | 2019-09-10 | 2023-08-15 | 中山市格美通用电子有限公司 | Online upgrading method of wireless earphone and earphone equipment |
CN110659046A (en) * | 2019-09-12 | 2020-01-07 | 湖南国声智能科技有限公司 | Firmware upgrading method, terminal, charging box, earphone and storage medium |
CN110659046B (en) * | 2019-09-12 | 2023-09-01 | 深圳市沃奈斯实业发展有限公司 | Firmware upgrading method, terminal, charging box, earphone and storage medium |
CN110764806A (en) * | 2019-10-29 | 2020-02-07 | 歌尔科技有限公司 | TWS earphone and upgrading method and device thereof |
CN110764806B (en) * | 2019-10-29 | 2023-12-26 | 歌尔科技有限公司 | TWS earphone and upgrading method and device thereof |
CN110825411A (en) * | 2019-10-31 | 2020-02-21 | 歌尔股份有限公司 | Upgrading method and device for TWS (two way satellite System) earphone system and computer-readable storage medium |
CN110825411B (en) * | 2019-10-31 | 2022-03-22 | 歌尔股份有限公司 | Upgrading method and device for TWS (two way satellite System) earphone system and computer-readable storage medium |
CN110830973A (en) * | 2020-01-09 | 2020-02-21 | 易兆微电子(杭州)有限公司 | Method for transmitting audio information by using wireless earphone |
CN111443930A (en) * | 2020-03-25 | 2020-07-24 | 苏州科达科技股份有限公司 | Upgrading method and device of cascade terminal, storage medium and electronic terminal |
CN111464920A (en) * | 2020-03-31 | 2020-07-28 | 歌尔科技有限公司 | Earphone debugging method, device and storage medium |
CN111615030A (en) * | 2020-05-27 | 2020-09-01 | 歌尔科技有限公司 | Upgrading method, device and medium for novel TWS earphone |
CN111651179A (en) * | 2020-05-29 | 2020-09-11 | 歌尔科技有限公司 | Earphone, program upgrading method thereof, control device and readable storage medium |
CN111651179B (en) * | 2020-05-29 | 2022-02-22 | 歌尔科技有限公司 | Earphone, program upgrading method thereof, control device and readable storage medium |
CN112235404B (en) * | 2020-10-14 | 2023-05-09 | 歌尔科技有限公司 | Method and equipment for silent upgrading of earphone and charging box |
CN112235404A (en) * | 2020-10-14 | 2021-01-15 | 歌尔科技有限公司 | Silent upgrade method and equipment for earphone and charging box |
CN114866526B (en) * | 2022-07-08 | 2022-12-27 | 荣耀终端有限公司 | Earphone upgrading method and wireless earphone |
CN114866526A (en) * | 2022-07-08 | 2022-08-05 | 荣耀终端有限公司 | Earphone upgrading method and wireless earphone |
Also Published As
Publication number | Publication date |
---|---|
CN108848163B (en) | 2022-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108848163A (en) | The upgrade method and TWS earphone of TWS earphone | |
CN108833542A (en) | The upgrade method and TWS earphone of TWS earphone | |
CN104322037B (en) | buffering transmission service | |
US9715379B2 (en) | Methods and apparatus to trigger firmware update request in response to a failure event | |
EP2391149A1 (en) | Configuring wifi parameters via a USB connection | |
EP3761606A1 (en) | Method for transmitting configuration file, related device and storage medium | |
CN101909282B (en) | Triggering method, device and system of terminal operation | |
CN108200170A (en) | Message treatment method, device and readable storage medium storing program for executing | |
CN104080086A (en) | Wireless connection establishment method and wireless connection establishment device | |
KR20150120482A (en) | Method, device and system for establishing data connection | |
CN104168269A (en) | Secure connection establishing method, apparatus and system | |
CN108882211A (en) | A kind of method, system and the TWS earphone of the upgrading of TWS earphone program | |
CN108738008A (en) | Bluetooth pairing methods and system | |
CN109471654A (en) | A kind of version upgrading method and device | |
KR20190030367A (en) | Electronic device for processing a message and operating method thereof | |
CN113721966B (en) | Node upgrading method and device, storage medium and electronic device | |
CN110536298B (en) | Non-access stratum message security indication method and device, AMF (advanced mobile communication) equipment, terminal and medium | |
CN103780952B (en) | Intelligent terminal method for sending information and system | |
CN108108173A (en) | A kind of information processing method and device | |
KR102456913B1 (en) | Electronic device for performing device to device communication and method thereof | |
WO2017049557A1 (en) | Adapter upgrade method, mobile terminal, and adapter | |
CN112752249B (en) | Method for performing emergency call and electronic device thereof | |
CN105549995A (en) | Audio device upgrading method and apparatus | |
CN106684954B (en) | The method of calibration and equipment and charger of a kind of charge parameter | |
EP2515601B1 (en) | Dial-up connection method and device of mobile data terminal |
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 |