CN108429979A - A kind of charging box upgrade method, charging box, wireless headset and TWS earphones - Google Patents
A kind of charging box upgrade method, charging box, wireless headset and TWS earphones Download PDFInfo
- Publication number
- CN108429979A CN108429979A CN201810621556.0A CN201810621556A CN108429979A CN 108429979 A CN108429979 A CN 108429979A CN 201810621556 A CN201810621556 A CN 201810621556A CN 108429979 A CN108429979 A CN 108429979A
- Authority
- CN
- China
- Prior art keywords
- charging box
- upgrading
- wireless headset
- upgrade
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1025—Accumulators or arrangements for charging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/10—Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of charging box upgrade methods, are related to portable listening equipment technical field, the period of reservation of number longer experience for being unfavorable for user when for solving the problem of existing charging kit upgrading.This method includes:Charging box receives the upgrade request that wireless headset is sent;According to upgrade request and upgrade file state, judge whether to need breakpoint transmission;If so, according to remaining upgrading data information of upgrade file, corresponding upgrading request of data is sent to wireless headset, and receives remaining upgrading data of the upgrade file of wireless headset transmission;It is carried out restarting upgrading according to upgrade file;The present invention can be shortened the upgrading stand-by period of user, be improved the experience of user using the charging kit upgrading of silent mode;By in charging box addition breakpoint transmission function during upgrading, it is ensured that the serious forgiveness in escalation process saves update time.In addition, the present invention also provides a kind of charging box, wireless headset and TWS earphones, equally there is above-mentioned advantageous effect.
Description
Technical field
The present invention relates to portable listening equipment technical field, more particularly to a kind of charging box upgrade method, charging box, nothing
Line earphone and TWS earphones.
Background technology
Earphone is a pair of of converting unit, the electric signal sent out for receiving media player or receiver, using close to
The loudspeaker of ear convert it into the sound wave that can be heard.
Current earphone can be divided into wired earphone and wireless headset, and wherein wired earphone needs two earphones in left and right to pass through
Wired connection type forms left and right acoustic channels, generates stereophonic effect, and it is inconvenient to wear.And wireless headset is then to pass through channel radio
Letter agreement (such as bluetooth) is communicated with terminal, is had without tidying up data line, using just for wired earphone
Prompt feature.Wherein most emerging really radio interconnected I tech clip S (TWS earphones) is exactly in wireless headset at present
It is more typical a kind of, such as the wireless headset of TWS earphones, generally require to be equipped with one with storage, charging and display TWS earphones
The charging box of status function.
In the prior art, such as the charging kit upgrading of the wireless headset of TWS earphones, often use cell phone application (terminal) direct
In such a way that bluetooth connection is to charging kit upgrading, however this upgrading mode needs individually to build with charging box in cell phone application
It is vertical to connect but also a device address be increased, it makes troubles to the usage experience of user;Or use cell phone application and TWS
Earphone carries out bluetooth connection, firmware updating is then transmitted to the upgrading mode of charging box by TWS earphones, communication link includes
Wired and wireless two kinds of connection, however this mode needs user that continuing for connection, intermediate once connection is kept to disconnect entire rise
Grade process will fail, and need to be attached again, then be upgraded from the beginning, once firmware updating is very big, user etc.
Wait for that the time can be very long, user experience is bad.Therefore, the present invention solves said one or multiple technical problems, is ensureing charging box
On the basis of upgrading effect, the upgrading stand-by period of user is reduced, the device address for occurring charging box in the terminal is avoided, improved
The experience of user.
Invention content
The object of the present invention is to provide a kind of charging box upgrade method, charging box, wireless headset and TWS earphones, to protect
On the basis of card charging kit upgrading effect, the upgrading stand-by period of user is reduced, the experience of user is improved.
In order to solve the above technical problems, the present invention provides a kind of charging box upgrade method, including:
Charging box receives the upgrade request that wireless headset is sent;
According to the upgrade request and upgrade file state, judge whether to need breakpoint transmission;Wherein, the upgrade file
State is the upgrading data information of the upgrade file of charging box storage;
If so, according to remaining upgrading data information of the upgrade file, corresponding liter is sent to the wireless headset
Level data is asked, and receives remaining the upgrading data for the upgrade file that the wireless headset is sent;
If it is not, the corresponding upgrading data of whole upgrading data for then sending the upgrade file to the wireless headset are asked
It asks, and receives the whole upgrading data for the upgrade file that the wireless headset is sent;
It is carried out restarting upgrading according to the upgrade file.
Optionally, the corresponding upgrading data of whole upgrading data that the upgrade file is sent to the wireless headset
Request, and the whole upgrading data for the upgrade file that the wireless headset is sent are received, including:
The corresponding upgrading request of data of part upgrading data of the upgrade file is sent to the wireless headset;Wherein,
The upgrading data request packet includes data offset and data length;
Receive and verify the part upgrading data that the wireless headset is sent;
After verifying successfully, the part upgrading data are stored;
After the completion of whole upgrading data storages of the upgrade file, whole verification is carried out to the upgrade file;
If verifying successfully, described the step of carrying out restarting upgrading according to the upgrade file is executed.
Optionally, the corresponding upgrading data of part upgrading data that the upgrade file is sent to the wireless headset
Before request, further include:
Information of upgrade file request is sent to the wireless headset;
Receive the information of upgrade file that the wireless headset is sent;Wherein, the information of upgrade file includes the upgrading
Version number, size and the check code of file.
Optionally, described to be carried out after restarting upgrading according to the upgrade file, further include:
The version number of the charging box is sent to the wireless headset.
The present invention also provides a kind of charging boxes, including:Communication interface, memory, processor;Wherein, the memory,
For storing computer program, the processor when executing the computer program for realizing as described in any one of the above embodiments fill
The step of electric kit upgrading method.
The present invention also provides a kind of charging box upgrade methods, including:
After wireless headset establishes connection with charging box, judge whether to meet preset charged kit upgrading condition;
If so, sending upgrade request to the charging box;
The upgrading request of data that the charging box is sent is received, and right into the upgrade file of charging box transmission storage
The upgrading data answered.
Optionally, described to judge whether to meet preset charged kit upgrading condition, including:
Judge whether to be in non-operating mode;
If so, judging whether the electricity of the charging box is more than upgrade threshold;
If so, executing described the step of sending upgrade request to the charging box.
Optionally, after the wireless headset establishes connection with charging box, judge whether to meet preset charged kit upgrading condition
Before, further include:
Receive and store the upgrade file that the terminal matched with the wireless headset is sent;
Judge whether the version number of the upgrade file is higher than the version number of the charging box of storage;
If so, executing the wireless headset with after charging box foundation connection, judge whether to meet preset charged kit upgrading
The step of condition.
The present invention also provides a kind of wireless headsets, including:Communication interface, memory, processor;Wherein, the storage
Device is realized when the processor is for executing the computer program as described in any of the above-described for storing computer program
Charging box upgrade method the step of.
In addition, the present invention also provides a kind of TWS earphones, including the first wireless headset and the second wireless headset, described
The wireless headset of one wireless headset and second wireless headset as described in the next item up.
A kind of charging box upgrade method provided by the present invention, including:Charging box receives the upgrading that wireless headset is sent and asks
It asks;According to upgrade request and upgrade file state, judge whether to need breakpoint transmission;Wherein, upgrade file state is charging box
The upgrading data information of the upgrade file of storage;If so, according to remaining upgrading data information of upgrade file, to wireless headset
Corresponding upgrading request of data is sent, and receives remaining upgrading data of the upgrade file of wireless headset transmission;If it is not, then to nothing
Line earphone sends the corresponding upgrading request of data of whole upgrading data of upgrade file, and receives the upgrading text of wireless headset transmission
Whole upgrading data of part;It is carried out restarting upgrading according to upgrade file;
As it can be seen that the present invention can be shortened the upgrading stand-by period of user, be improved using the charging kit upgrading of silent mode
The experience of user;By in charging box addition breakpoint transmission function during upgrading, it is ensured that the serious forgiveness in escalation process is saved
Update time is more in line with the expectation of user.In addition, the present invention also provides a kind of charging box, wireless headset and TWS earphones,
Equally there is above-mentioned advantageous effect.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
A kind of flow chart for charging box upgrade method that Fig. 1 is provided by the embodiment of the present invention;
The flow that the upgrade file request for another charging box upgrade method that Fig. 2 is provided by the embodiment of the present invention receives
Schematic diagram;
The flow chart for another charging box upgrade method that Fig. 3 is provided by the embodiment of the present invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to FIG. 1, a kind of flow chart for charging box upgrade method that Fig. 1 is provided by the embodiment of the present invention.This method
May include:
Step 101:Charging box receives the upgrade request that wireless headset is sent.
Wherein, after the method that the present embodiment is provided can establish connection for the wireless headset such as TWS earphones with charging box,
The method that charging box obtains upgrade file and upgraded.For establishing the specific side of connection between wireless headset and charging box
Formula can be wired connection, or such as the wireless connection of bluetooth connection, the present embodiment does not do this any restrictions.
It should be noted that when due in most cases only having wireless headset to be put into charging box, charging box just meeting
It establishes and connects with wireless headset, therefore, the charging box in the present embodiment can be carried out when user need not use wireless headset
The upgrading of silent mode is neither influenced use of the user to wireless headset, is not also needed user and waited for when using wireless headset
Charge kit upgrading.
It is understood that the upgrade request in this step, which can be wireless headset, informs what charging box can be upgraded
Request.Setting for the particular content of upgrade request can voluntarily be set by designer according to practical scene and user demand
It sets, if upgrade request can only include the request informed charging box and upgraded;It can also include the version number, big of upgrade file
The information of upgrade file such as small and check code.As long as charging box can be upgraded by receiving upgrade request determination, this reality
It applies example and does not do any restrictions to this.
Corresponding, when the upgrade request that charging box receives includes the version number of upgrade file, charging box can also be sentenced
Whether the version number of disconnected upgrade file is higher than the version number of charging box, i.e. whether charging box can be needed to current with automatic decision
Version is upgraded, if so, 102 are entered step, if it is not, corresponding request then can be sent to wireless headset, to cancel this
Secondary upgrading.
Step 102:According to upgrade request and upgrade file state, judge whether to need breakpoint transmission;If so, entering step
Rapid 103;If it is not, then entering step 104.
It is understood that the purpose of this step can be by charging box according to upgrade request and upgrade file state,
Judge whether to need breakpoint transmission, breakpoint transmission function is added in charging box escalation process.I.e. charging box is determined to carry out
After upgrading, the part liter for whether storing upgrade file before can be determined by the upgrading data information of the upgrade file of storage
Level data, if so, determination needs breakpoint transmission, if not, it is determined that do not need breakpoint transmission.
Wherein, the breakpoint transmission in this step can be charging box occur in escalation process before interrupt (artificially or
Abnormal conditions) after, remaining upgrading data of the upgrade file not stored before this escalation process relaying renews storage.
It should be noted that the upgrade file state in this step can be the ascending series of the upgrade file of charging box storage
It is believed that breath, is arranged the particular content of upgrade file state, can be voluntarily arranged by designer, as upgrade file state can
With the data offset and data length of the upgrading data of the upgrade file stored including charging box.As long as charging box can basis
Upgrade request and upgrade file state judge whether that breakpoint transmission, the present embodiment is needed not to do this any restrictions.
Step 103:According to remaining upgrading data information of upgrade file, sends corresponding upgrading data to wireless headset and ask
It asks, and receives remaining upgrading data of the upgrade file of wireless headset transmission.
Wherein, the purpose of this step can be that charging box is determining that storage is to filling when carrying out breakpoint transmission to upgrade file
The upgrading data (remaining upgrading data) for the upgrade file that electric box does not store, to obtain whole upgrading data of upgrade file.
It is understood that remaining upgrading data information of the upgrade file in this step can be what charging box did not stored
The information of the upgrading data of upgrade file.For the specific acquisition modes of remaining upgrading data information of upgrade file, Ke Yiyou
Designer is voluntarily arranged, as charging box can be by the upgrading text that is stored in the escalation process that interrupts in upgrade request or before
The version number of part and size are compared with the data offset of the upgrading data of the upgrade file of storage and data length, obtain
Take the data offset and data length of the upgrading data (remaining upgrading data) for the upgrade file not stored.As long as charging box can
According to remaining upgrading data information of upgrade file, to send corresponding upgrading request of data to wireless headset, obtain from wireless
Earphone obtains remaining upgrading data of upgrade file, and the present embodiment does not do this any restrictions.
It should be noted that in order to preferably realize the breakpoint transmission of charging kit upgrading, charging box in this step according to
Remaining upgrading data information of upgrade file, corresponding upgrading request of data is sent to wireless headset, can be for charging box successively
The corresponding upgrading request of data of part upgrading data in remaining upgrading data is sent to wireless headset;It is, charging box is not
The upgrading data for the upgrade file that direct request does not store all, but the partial data of remaining upgrading data is asked successively, subtract
Occur interrupting influence of the situation to next escalation process in this few escalation process.
Further, in order to ensure that the correctness of upgrade file that charging box receives, charging box do not store in each reception
Upgrade file upgrading data part upgrading data when, can first to the part upgrading data verify, verification at
Upgrading data in the part are stored after work(again;It can also be after the completion of whole upgrading data storages of upgrade file, to upgrade file
Whole verification is carried out, to further ensure that the correctness of the upgrade file of reception.
It is corresponding, unsuccessful situation is verified for unsuccessful or upgrade file the entirety of verification of part upgrading data,
Charging box directly can send corresponding request to wireless headset, and unsuccessful part upgrading data or liter are verified to reacquire
Grade file;Charging box can also automatically be detected the whole unsuccessful upgrade file of verification, send and occur to wireless headset
The corresponding request of part upgrading data of problem, upgrades data to reacquire the part to go wrong.The present embodiment to this not
Do any restrictions.
Step 104:The corresponding upgrading request of data of whole upgrading data of upgrade file is sent to wireless headset, and is received
The whole upgrading data for the upgrade file that wireless headset is sent.
Wherein, the purpose of this step can be charging box determine not to upgrade file carry out breakpoint transmission when, that is, charge
When the upgrading data for the upgrade file that box is not stored with, whole upgrading data of upgrade file are stored.
It is understood that in order to realize the breakpoint transmission of charging kit upgrading, ensure the upgrade file that charging box receives
Correctness, this step can be with as shown in Fig. 2, include:
Step 201:The corresponding upgrading request of data of part upgrading data of upgrade file is sent to wireless headset;Wherein,
Upgrading data request packet includes data offset and data length.
Wherein, the part upgrading data in this step can be the part ascending series in whole upgrading data of upgrade file
According to.Upgrade the specific size of data for part, i.e., the data package size of charging box receives every time part upgrading data can be with
Voluntarily it is arranged according to practical scene and user demand by designer, the present embodiment does not do this any restrictions.
It is understood that the upgrading data request packet that charging box is sent to wireless headset in this step includes part ascending series
According to the data offset and data length in upgrade file, so that wireless headset can be according to upgrading request of data, to charging
Box sends corresponding part in upgrade file and upgrades data.
Corresponding, charging box needs to obtain the upgrading of version number, size and check code such as upgrade file before this step
Fileinfo.For the specific acquisition modes of information of upgrade file, can be voluntarily arranged by designer, it such as can be with wireless headset
May include information of upgrade file in the upgrade request of transmission, charging box can according to the information of upgrade file in upgrade request,
The corresponding upgrading request of data of transmitting portion upgrading data in this step;It can also be sent in the forward direction wireless headset of this step
Information of upgrade file is asked, and receives the information of upgrade file that wireless headset is sent, i.e., in first part for obtaining upgrade file
Before upgrading data, information of upgrade file is first obtained.As long as information of upgrade file can be obtained to realize deciliter level data
It obtains, any restrictions are not done this in verification and the whole verification of upgrade file, the present embodiment.
Step 202:Receive and verify the part upgrading data of wireless headset transmission.
Wherein, in this step check part upgrading data concrete mode, can be voluntarily arranged by designer, such as can be with
Using CRC check, that is, the check code in the information of upgrade file obtained is cyclic redundancy check;Other verification modes can also be used,
As long as data can be upgraded by check part, it is ensured that the correctness of the part upgrading data of reception, the present embodiment do not do this
Any restrictions.
Step 203:After verifying successfully, storage section upgrades data.
It is understood that the purpose of this step can be to be carried out by upgrading data to the part after verifying successfully respectively
Storage so that if in this escalation process occur interrupt situation, charging box in next escalation process need not re-request
The part of storage upgrades data.
Step 204:After the completion of whole upgrading data storages of upgrade file, whole verification is carried out to upgrade file.
Wherein, the purpose of this step is after the completion of whole upgrading data storages of upgrade file, by upgrade file
Whole verification is carried out, ensures the correctness of upgrade file.Not the case where completion is not stored for whole upgrading data of upgrade file,
It can continue the part for asking not store in upgrade file upgrading data with return to step 201.
It should be noted that if the entirety of upgrade file verifies successfully, then it can be directly entered step 105, enable charging box
Upgrade file carries out restarting upgrading;Can also information first be upgraded successfully to wireless headset transmission, step 105 be entered back into, so that nothing
Line earphone understands the upgrade case of charging box as early as possible.The present embodiment does not do this any restrictions.
Step 105:It is carried out restarting upgrading according to upgrade file.
Wherein, this step can be charging box by step 103 or step 104, obtain whole ascending series of upgrade file
The step of according to rear progress.The concrete mode for according to upgrade file restart upgrading for charging box in this step, may be used
Same as the prior art or similar mode realizes that the present embodiment does not do this any restrictions.
It is understood that wireless headset understands the upgrade status of charging box for convenience, can also be wrapped after this step
Including the step of sending the version number of charging box to wireless headset can be with wireless headset after that is, charging box restarts upgrading completion
Synchronizing information is carried out, the version number of the charging box in wireless headset is updated.
In the present embodiment, the embodiment of the present invention can shorten the liter of user by using the charging kit upgrading of silent mode
The grade stand-by period, improve the experience of user;By in charging box addition breakpoint transmission function during upgrading, it is ensured that upgraded
Serious forgiveness in journey saves update time, is more in line with the expectation of user.
The embodiment of the present invention additionally provides a kind of charging box, including:Communication interface, memory, processor;Wherein, it stores
Device, for storing computer program, processor when executing the computer program for realizing what an embodiment as above was provided
The step of charging box upgrade method.
Referring to FIG. 3, the flow chart for another charging box upgrade method that Fig. 3 is provided by the embodiment of the present invention.The party
Method may include:
Step 301:After wireless headset establishes connection with charging box, judge whether to meet preset charged kit upgrading condition;If
It is then to enter step 302.
Wherein, after the method that the present embodiment is provided can establish connection for the wireless headset such as TWS earphones with charging box,
Wireless headset sends upgrade file, the method for alloing wireless headset to be upgraded to charging box.For wireless headset and charging
The concrete mode of connection is established between box, can be wired connection, or such as the wireless connection of bluetooth connection, the present embodiment
Any restrictions are not done to this.
It is established after connecting it is understood that the purpose of this step can be wireless headset and charging box, wireless headset is
It is no to meet preset charged kit upgrading condition, it is determined whether charging box can be made to upgrade using silent mode, i.e., whether can be not
User is influenced using in the case of wireless headset, and charging box is upgraded.
Specifically, for the specific setting for judging whether to meet preset charged kit upgrading condition in this step, it can be by setting
Meter personnel are voluntarily arranged according to practical scene and user demand, such as may determine that whether wireless headset is in non-operating mode and fills
Whether the electricity of electric box is more than upgrade threshold, wherein non-operating mode can be that wireless headset carries out data interaction with charging box
When, the pattern that user uses, such as the standby mode and charge mode of wireless headset are not interfered with, upgrade threshold can be advance
The charging box of setting carries out upgrading required minimum amount of power;Due in most cases only having wireless headset to be put into charging box
When, charging box can just be established with wireless headset and be connected, i.e., when charging box establishes connection with wireless headset, user need not use nothing
Line earphone, accordingly it is also possible to only judge whether the electricity of charging box is more than upgrade threshold;It can also be added that charging box is as judged
Other judgements of no connection power supply.As long as can determine whether that charging box can be upgraded by this step, the present embodiment
Any restrictions are not done to this.
It should be noted that in the present embodiment wireless headset by charging box send itself store charging box upgrading
File realizes the upgrading of charging box.For wireless headset store charging box upgrade file concrete mode, can be with it is wireless
The terminal (mobile phone) of earphone pairing determines that charging box needs after upgrading, and wireless headset receives and stores the upgrading of charging box from terminal
File;Or determining that wireless headset needs after upgrading with the terminal (mobile phone) of wireless headset pairing, wireless headset is from terminal
The upgrade file of charging box is received and stored, i.e., terminal is after determining that wireless headset needs to upgrade, by wireless headset and charging box
Upgrade file sent jointly to wireless headset.As long as wireless headset can receive and store the upgrade file of charging box, this
Embodiment does not do this any restrictions.
It is corresponding, can also include judging upgrading before wireless headset judges whether to meet preset charged kit upgrading condition
The step of whether version number of file is higher than the version number of the charging box stored, i.e., charging box can be according to the upgrade file of storage
Version number and charging box version number, automatically determine whether charging box is upgraded, if so, judging whether to meet pre-
If charging box promotion condition, automatically determine whether that charging box can be upgraded.
Step 302:Upgrade request is sent to charging box.
Wherein, after the upgrade request in this step can meet preset charged kit upgrading condition for wireless headset determination, to
The request informed charging box and can upgraded that charging box is sent.It can be by designer for the particular content of upgrade request
Voluntarily it is arranged, the present embodiment does not do this any restrictions.
Step 303:The upgrading request of data that charging box is sent is received, and right into the upgrade file of charging box transmission storage
The upgrading data answered.
It is understood that this step can be the part ascending series for the application documents that wireless headset is sent according to charging box
According to upgrading request of data, by corresponding part upgrading data be sent to charging box.
It is corresponding, in order to make charging box will be seen that the version number such as upgrade file, size and check code upgrade file
Information of upgrade file can be sent to charging box by information, wireless headset before this step, can for specific sending method
To be voluntarily arranged by designer, as upgrade file letter can be added in wireless headset in the upgrade request sent to charging box
Breath;The information of upgrade file request of charging box transmission can also be received before this step, and sends upgrade file to charging box
Information.The present embodiment does not do this any restrictions.
It should be noted that wireless headset can also upgrade successfully information by reception charging box transmission after this step
And/or the version number of charging box, determine that charging box upgrades successfully, to update the version number of the charging box of itself preservation.Further
, the information that wireless headset can also upgrade successfully charging box informs the terminal matched with it, to facilitate user to understand charging
The information of box.
In the present embodiment, the embodiment of the present invention judges whether to meet preset charged kit upgrading condition by wireless headset, can
Upgrading in a manner of keeping charging box progress silent, does not influence use of the user to wireless headset, and the upgrading for shortening user waits for
Time improves the experience of user;The upgrading request of data sent by receiving charging box, and the liter stored is sent to charging box
Corresponding upgrading data in grade file can ensure that charging kit upgrading mistake in charging box addition breakpoint transmission function during upgrading
Serious forgiveness in journey saves update time, is more in line with the expectation of user.
The embodiment of the present invention additionally provides a kind of wireless headset, including:Communication interface, memory, processor;Wherein, it deposits
Reservoir, for storing computer program, processor is used to realize that an embodiment as above provided fills when executing computer program
The step of electric kit upgrading method.
In addition, the embodiment of the present invention additionally provides a kind of TWS earphones, including the first wireless headset and the second wireless headset,
The wireless headset that first wireless headset and the second wireless headset embodiment as above are provided.
Each embodiment is described by the way of progressive in specification, the highlights of each of the examples are with other realities
Apply the difference of example, just to refer each other for identical similar portion between each embodiment.For charging box disclosed in embodiment,
For wireless headset and TWS earphones, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, it is related
Place is referring to method part illustration.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, depends on the specific application and design constraint of technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Charging box upgrade method provided by the present invention, charging box, wireless headset and TWS earphones have been carried out in detail above
It introduces.Principle and implementation of the present invention are described for specific case used herein, the explanation of above example
It is merely used to help understand the method and its core concept of the present invention.It should be pointed out that for the ordinary skill people of the art
Member for, without departing from the principle of the present invention, can with several improvements and modifications are made to the present invention, these improve and
Modification is also fallen within the protection scope of the claims of the present invention.
Claims (10)
1. a kind of charging box upgrade method, which is characterized in that including:
Charging box receives the upgrade request that wireless headset is sent;
According to the upgrade request and upgrade file state, judge whether to need breakpoint transmission;Wherein, the upgrade file state
For the upgrading data information of the upgrade file of charging box storage;
If so, according to remaining upgrading data information of the upgrade file, corresponding ascending series are sent to the wireless headset
According to request, and receive remaining the upgrading data for the upgrade file that the wireless headset is sent;
If it is not, the corresponding upgrading request of data of whole upgrading data of the upgrade file is then sent to the wireless headset, and
Receive the whole upgrading data for the upgrade file that the wireless headset is sent;
It is carried out restarting upgrading according to the upgrade file.
2. charging box upgrade method according to claim 1, which is characterized in that described to described in wireless headset transmission
The corresponding upgrading request of data of whole upgrading data of upgrade file, and receive the upgrade file that the wireless headset is sent
Whole upgrading data, including:
The corresponding upgrading request of data of part upgrading data of the upgrade file is sent to the wireless headset;Wherein, described
Upgrading data request packet includes data offset and data length;
Receive and verify the part upgrading data that the wireless headset is sent;
After verifying successfully, the part upgrading data are stored;
After the completion of whole upgrading data storages of the upgrade file, whole verification is carried out to the upgrade file;
If verifying successfully, described the step of carrying out restarting upgrading according to the upgrade file is executed.
3. charging box upgrade method according to claim 2, which is characterized in that described to described in wireless headset transmission
Before the corresponding upgrading request of data of part upgrading data of upgrade file, further include:
Information of upgrade file request is sent to the wireless headset;
Receive the information of upgrade file that the wireless headset is sent;Wherein, the information of upgrade file includes the upgrade file
Version number, size and check code.
4. charging box upgrade method according to any one of claims 1 to 3, which is characterized in that described according to the upgrading
File carries out after restarting upgrading, further includes:
The version number of the charging box is sent to the wireless headset.
5. a kind of charging box, which is characterized in that including:Communication interface, memory, processor;Wherein, the memory, is used for
Computer program is stored, is realized as described in any one of Claims 1-4 when the processor is for executing the computer program
Charging box upgrade method the step of.
6. a kind of charging box upgrade method, which is characterized in that including:
After wireless headset establishes connection with charging box, judge whether to meet preset charged kit upgrading condition;
If so, sending upgrade request to the charging box;
The upgrading request of data that the charging box is sent is received, and corresponding into the upgrade file of charging box transmission storage
Upgrade data.
7. charging box upgrade method according to claim 6, which is characterized in that described to judge whether to meet preset charged box
Promotion condition, including:
Judge whether to be in non-operating mode;
If so, judging whether the electricity of the charging box is more than upgrade threshold;
If so, executing described the step of sending upgrade request to the charging box.
8. charging box upgrade method according to claim 7, which is characterized in that the wireless headset is established with charging box to be connected
After connecing, before judging whether to meet preset charged kit upgrading condition, further include:
Receive and store the upgrade file that the terminal matched with the wireless headset is sent;
Judge whether the version number of the upgrade file is higher than the version number of the charging box of storage;
If so, executing the wireless headset with after charging box foundation connection, judge whether to meet preset charged kit upgrading condition
The step of.
9. a kind of wireless headset, which is characterized in that including:Communication interface, memory, processor;Wherein, the memory is used
In storage computer program, realized such as any one of claim 6 to 8 institute when the processor is for executing the computer program
The step of charging box upgrade method stated.
10. a kind of TWS earphones, including the first wireless headset and the second wireless headset, which is characterized in that first wireless headset
With second wireless headset wireless headset as claimed in claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810621556.0A CN108429979B (en) | 2018-06-15 | 2018-06-15 | Charging box upgrading method, charging box, wireless headset and TWS headset |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810621556.0A CN108429979B (en) | 2018-06-15 | 2018-06-15 | Charging box upgrading method, charging box, wireless headset and TWS headset |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108429979A true CN108429979A (en) | 2018-08-21 |
CN108429979B CN108429979B (en) | 2020-05-08 |
Family
ID=63164519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810621556.0A Active CN108429979B (en) | 2018-06-15 | 2018-06-15 | Charging box upgrading method, charging box, wireless headset and TWS headset |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108429979B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109240721A (en) * | 2018-08-24 | 2019-01-18 | 江苏恒宝智能***技术有限公司 | A kind of method of MCU online upgrading |
CN110543319A (en) * | 2019-09-05 | 2019-12-06 | 广州极飞科技有限公司 | Charger firmware upgrading method and related device |
CN110659046A (en) * | 2019-09-12 | 2020-01-07 | 湖南国声智能科技有限公司 | Firmware upgrading method, terminal, charging box, earphone and storage medium |
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 |
CN111158738A (en) * | 2019-12-30 | 2020-05-15 | 青岛歌尔智能传感器有限公司 | Earphone firmware upgrading method and device and readable storage medium |
CN111200811A (en) * | 2019-12-29 | 2020-05-26 | 歌尔科技有限公司 | TWS earphone, upgrading method and device thereof and readable storage medium |
CN111629367A (en) * | 2020-05-19 | 2020-09-04 | 歌尔科技有限公司 | Data transmission method of terminal equipment and earphone, terminal equipment and storage medium |
WO2021232681A1 (en) * | 2020-05-19 | 2021-11-25 | 歌尔股份有限公司 | Communication method for earphone and charging box, charging box, earphone and readable storage medium |
CN114339508A (en) * | 2020-09-29 | 2022-04-12 | 无锡中感微电子股份有限公司 | Wireless earphone and circuit thereof, charging box and circuit thereof, and charging box upgrading method |
CN116208882A (en) * | 2022-07-08 | 2023-06-02 | 荣耀终端有限公司 | Earphone upgrading method and wireless earphone |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867916A (en) * | 2009-04-16 | 2010-10-20 | 深圳市赛格导航科技股份有限公司 | Method for realizing air update of vehicle terminal |
CN101951410A (en) * | 2010-10-13 | 2011-01-19 | 国电南瑞科技股份有限公司 | Method for automatically and remotely upgrading embedded terminal |
CN104168327A (en) * | 2014-08-26 | 2014-11-26 | 许磊 | Method for automatically updating external device |
CN105137465A (en) * | 2015-08-07 | 2015-12-09 | 成都亚讯星科实业有限公司 | Multi-dimensional personnel and equipment intelligent positioning wearable device |
CN105491159A (en) * | 2016-01-15 | 2016-04-13 | 青岛海尔智能家电科技有限公司 | Firmware upgrade pack transmitting method, firmware upgrade pack acquiring method, firmware upgrade pack transmitting device and firmware upgrade pack acquiring device |
CN105511928A (en) * | 2015-12-28 | 2016-04-20 | 努比亚技术有限公司 | System upgrading device and method |
CN105657732A (en) * | 2016-01-27 | 2016-06-08 | 努比亚技术有限公司 | Mobile terminal and system upgrade method thereof |
CN106775871A (en) * | 2016-12-19 | 2017-05-31 | 东软集团股份有限公司 | Firmware upgrade method and equipment |
CN107085525A (en) * | 2017-03-17 | 2017-08-22 | 深圳市战音科技有限公司 | Method for upgrading software and device based on Bluetooth electronic devices |
CN107301064A (en) * | 2017-05-19 | 2017-10-27 | 深圳Tcl新技术有限公司 | Upgrade method, television terminal and the computer-readable recording medium of bluetooth firmware |
CN206849488U (en) * | 2017-05-23 | 2018-01-05 | 上海魅声电子科技有限公司 | It is a kind of can online upgrading audio special efficacy device |
CN107809324A (en) * | 2016-09-07 | 2018-03-16 | 中兴通讯股份有限公司 | A kind of OBD equipment and its upgrade method |
US20180121712A1 (en) * | 2016-10-27 | 2018-05-03 | Bose Corporation | Facial recognition system |
-
2018
- 2018-06-15 CN CN201810621556.0A patent/CN108429979B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867916A (en) * | 2009-04-16 | 2010-10-20 | 深圳市赛格导航科技股份有限公司 | Method for realizing air update of vehicle terminal |
CN101951410A (en) * | 2010-10-13 | 2011-01-19 | 国电南瑞科技股份有限公司 | Method for automatically and remotely upgrading embedded terminal |
CN104168327A (en) * | 2014-08-26 | 2014-11-26 | 许磊 | Method for automatically updating external device |
CN105137465A (en) * | 2015-08-07 | 2015-12-09 | 成都亚讯星科实业有限公司 | Multi-dimensional personnel and equipment intelligent positioning wearable device |
CN105511928A (en) * | 2015-12-28 | 2016-04-20 | 努比亚技术有限公司 | System upgrading device and method |
CN105491159A (en) * | 2016-01-15 | 2016-04-13 | 青岛海尔智能家电科技有限公司 | Firmware upgrade pack transmitting method, firmware upgrade pack acquiring method, firmware upgrade pack transmitting device and firmware upgrade pack acquiring device |
CN105657732A (en) * | 2016-01-27 | 2016-06-08 | 努比亚技术有限公司 | Mobile terminal and system upgrade method thereof |
CN107809324A (en) * | 2016-09-07 | 2018-03-16 | 中兴通讯股份有限公司 | A kind of OBD equipment and its upgrade method |
US20180121712A1 (en) * | 2016-10-27 | 2018-05-03 | Bose Corporation | Facial recognition system |
CN106775871A (en) * | 2016-12-19 | 2017-05-31 | 东软集团股份有限公司 | Firmware upgrade method and equipment |
CN107085525A (en) * | 2017-03-17 | 2017-08-22 | 深圳市战音科技有限公司 | Method for upgrading software and device based on Bluetooth electronic devices |
CN107301064A (en) * | 2017-05-19 | 2017-10-27 | 深圳Tcl新技术有限公司 | Upgrade method, television terminal and the computer-readable recording medium of bluetooth firmware |
CN206849488U (en) * | 2017-05-23 | 2018-01-05 | 上海魅声电子科技有限公司 | It is a kind of can online upgrading audio special efficacy device |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109240721A (en) * | 2018-08-24 | 2019-01-18 | 江苏恒宝智能***技术有限公司 | A kind of method of MCU online upgrading |
CN110543319A (en) * | 2019-09-05 | 2019-12-06 | 广州极飞科技有限公司 | Charger firmware upgrading method and related device |
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 |
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 |
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 |
CN111200811A (en) * | 2019-12-29 | 2020-05-26 | 歌尔科技有限公司 | TWS earphone, upgrading method and device thereof and readable storage medium |
CN111158738A (en) * | 2019-12-30 | 2020-05-15 | 青岛歌尔智能传感器有限公司 | Earphone firmware upgrading method and device and readable storage medium |
CN111158738B (en) * | 2019-12-30 | 2023-10-24 | 青岛歌尔智能传感器有限公司 | Headset firmware upgrading method and device and readable storage medium |
CN111629367A (en) * | 2020-05-19 | 2020-09-04 | 歌尔科技有限公司 | Data transmission method of terminal equipment and earphone, terminal equipment and storage medium |
WO2021232681A1 (en) * | 2020-05-19 | 2021-11-25 | 歌尔股份有限公司 | Communication method for earphone and charging box, charging box, earphone and readable storage medium |
CN111629367B (en) * | 2020-05-19 | 2022-11-22 | 歌尔科技有限公司 | Data transmission method of terminal equipment and earphone, terminal equipment and storage medium |
US11889255B2 (en) | 2020-05-19 | 2024-01-30 | Goertek, Inc. | Communication method between earphones and charging box, charging box, earphones and readable storage medium |
CN114339508A (en) * | 2020-09-29 | 2022-04-12 | 无锡中感微电子股份有限公司 | Wireless earphone and circuit thereof, charging box and circuit thereof, and charging box upgrading method |
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 |
---|---|
CN108429979B (en) | 2020-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108429979A (en) | A kind of charging box upgrade method, charging box, wireless headset and TWS earphones | |
CN108600892B (en) | Upgrading method and device, wireless headset, TWS headset and charging box | |
CN110366063A (en) | A kind of upgrade method of wireless headset, device and charging box | |
CN108769856A (en) | A kind of method, apparatus, wireless headset and charging box for establishing single line connection | |
US11368777B2 (en) | Method and system for upgrading program of TWS headset, and TWS headset | |
US20170325016A1 (en) | Method, electronic apparatus and wireless earphone of choosing master wireless earphone in wireless earphone set | |
CN111200811B (en) | TWS earphone, upgrading method and device thereof and readable storage medium | |
CN108810741A (en) | A kind of method, apparatus and wireless headset of double wireless headset connections | |
CN112968752B (en) | Baud rate switching method and device for UART communication and initiator terminal | |
CN108848163A (en) | The upgrade method and TWS earphone of TWS earphone | |
CN107148715A (en) | Mobile terminal, power supply adaptor and its upgrade method | |
CN102577236A (en) | Method and apparatus for remote management of device | |
CN110719542B (en) | TWS earphone, upgrading method and device thereof, and computer storage medium | |
CN108449746A (en) | A kind of method that establishing BT connections, wireless headset and TWS earphones | |
US20200413456A1 (en) | Method for pairing and connecting secondary earphone with sound source device | |
US20230224654A1 (en) | Earphone debugging method and device, and storage medium | |
CN108833542A (en) | The upgrade method and TWS earphone of TWS earphone | |
US11528764B2 (en) | Data communication method and system, electronic device, chip and storage medium | |
KR20070014852A (en) | Method for changing communication mode and mobile communication terminal for executing the method | |
EP1825663B1 (en) | Method, apparatus and computer program for providing services and services usage information for a wireless subscriber unit | |
CN110719651B (en) | Data transmission method and device | |
CN103517258A (en) | A method of updating software on a mobile terminal, a mobile terminal and a server | |
CN110764806A (en) | TWS earphone and upgrading method and device thereof | |
EP2515601B1 (en) | Dial-up connection method and device of mobile data terminal | |
US20080013659A1 (en) | Apparatus and method for acquiring synchronization in mobile communication system |
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 |