CN108429966A - Wireless headset automatically switches the method and its device of playing task - Google Patents

Wireless headset automatically switches the method and its device of playing task Download PDF

Info

Publication number
CN108429966A
CN108429966A CN201810488649.0A CN201810488649A CN108429966A CN 108429966 A CN108429966 A CN 108429966A CN 201810488649 A CN201810488649 A CN 201810488649A CN 108429966 A CN108429966 A CN 108429966A
Authority
CN
China
Prior art keywords
earphone
song
playing task
currently playing
state
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.)
Pending
Application number
CN201810488649.0A
Other languages
Chinese (zh)
Inventor
王刚明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Water World Co Ltd
Original Assignee
Shenzhen Water World Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Water World Co Ltd filed Critical Shenzhen Water World Co Ltd
Priority to CN201810488649.0A priority Critical patent/CN108429966A/en
Publication of CN108429966A publication Critical patent/CN108429966A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Headphones And Earphones (AREA)

Abstract

Present invention is disclosed methods and its device that a kind of wireless headset automatically switches playing task, above-mentioned wireless headset includes the first earphone and the second earphone for being communicated to connect with first earphone, the operation object of currently playing task is first earphone, and the method that the wireless headset automatically switches playing task includes:Detect the difference of the current residual electricity of first earphone and the current residual electricity of second earphone;If the difference is more than predetermined threshold value, the operation object of the currently playing task is then switched into the second earphone from the first earphone, the present invention uses earphone that is a pair of identical and being provided simultaneously with storage and playing function, according to default rule so that earphone does not influence the fluency of playback of songs when switching playing task, user is allowed to be completed in the case of imperceptible switching action, to improve user experience.

Description

Wireless headset automatically switches the method and its device of playing task
Technical field
The present invention relates to the technical fields of information processing, especially relate to wireless headset and automatically switch playing task Method and its device.
Background technology
Wireless headset currently popular is used if necessary to be detached from the bluetooths playback equipments such as mobile phone, is needed such as TWS earphones Local playing function is added.Local playing function needs that storage and music file decoding function is added, then playing sound in earphone When happy, the power consumption for being responsible for the earphone played is higher, plays after a certain period of time, needs to play appointing for music to save electricity Business is transferred to another corresponding earphone, if song playing, will produce pause at this moment transfer task, plays song Bent not smooth, user experience is relatively poor.
Invention content
The main object of the present invention is to provide one kind playing music more flow when shifting playing task, and user experience is more preferable Wireless headset automatically switch playing task method and its device.
The present invention proposes that a kind of wireless headset automatically switches the method for playing task, wireless headset include the first earphone and Operation object with the second earphone of first earphone communication connection, currently playing task is first earphone, the nothing The method that line earphone automatically switches playing task, including:
Detect the difference of the current residual electricity of first earphone and the current residual electricity of second earphone;
If the difference is more than predetermined threshold value, the operation object of the currently playing task is cut from first earphone Change second earphone into.
Further, it is described according to the variable condition according to preset rules by the operation object of the currently playing task The step of second earphone being switched to from first earphone, including:
Judge whether the current residual electricity of first earphone is more than the current residual electricity of second earphone;
If it is determined that the current residual electricity of first earphone is not more than the current residual electricity of second earphone, then sentence Whether the broadcast state for the currently playing task of breaking, which is in, is cut song state;
If so, the operation object of the currently playing task is switched to second earphone from first earphone.
Further, whether the broadcast state for judging the currently playing task is in the step of cutting song state, packet It includes:
Judge first earphone whether receive from current song switch to another song cut song instruction;
If so, the broadcast state of the control currently playing task is directly entered and cuts song state.
Further, whether the broadcast state for judging the currently playing task is in the step of cutting song state, packet It includes:
Judge the currently playing task carries out whether node time instance is in the end of playing moment of current song under In the time interval of one song played between start time;
If so, the broadcast state of the judgement currently playing task is to cut song state.
Further, the operation object of the currently playing task is switched into second earphone from first earphone The step of before, including:
Judge whether the working condition of second earphone is malfunction;
The operation object of the currently playing task is switched into second ear from first earphone if it is not, then generating The switching command of machine.
The present invention also provides the device that a kind of wireless headset automatically switches playing task, wireless headset includes the first earphone And the second earphone with first earphone communication connection, the operation object of currently playing task is first earphone, institute Stating the first earphone includes:
Detection module, for detecting the current residual electricity of first earphone and the current residual electricity of second earphone The difference of amount;
Handover module, for when the difference be more than predetermined threshold value when, by the operation object of the currently playing task from First earphone switches to second earphone.
Further, handover module includes:
First judging submodule, for judging whether the current residual electricity of first earphone is more than second earphone Current residual electricity;
Second judgment submodule, for judging the current residual electricity of first earphone no more than second earphone When current residual electricity, judges whether the broadcast state of the currently playing task is in and cut song state;
Switching submodule, for judge the currently playing task broadcast state be in cut song state when, will described in work as The operation object of preceding playing task switches to second earphone from first earphone.
Further, the second judgment submodule includes:
First judging unit switches to another song for judging whether first earphone receives from current song Cut song instruction;
First switch unit, for judge first earphone receive switch to another song from current song cut song When instruction, the broadcast state of the control currently playing task, which is directly entered, cuts song state.
Further, the second judgment submodule includes:
Second judgment unit, for judging whether the progress node time instance of the currently playing task is in current song In the end of playing moment to the time interval of next song played between start time;
Second switch unit, for judging that the progress node time instance of the currently playing task is in the broadcasting of current song When in end time to the time interval of next song played between start time, the broadcasting of the currently playing task is judged State is to cut song state.
Further, further include:
Judgment module, for judging whether the working condition of second earphone is malfunction;
Generation module, when for judging that the working condition of second earphone is not malfunction, production will described in work as The operation object of preceding playing task switches to the switching command of second earphone from first earphone.
Wireless headset provided by the invention automatically switches the method and its device of playing task, using a pair of identical and same When have the earphone of storage and playing function, according to default rule so that earphone does not influence song when switching playing task broadcasts The fluency put allows user to be completed in the case of imperceptible switching action, to improve user experience.
Description of the drawings
Fig. 1 is the method schematic diagram for the method that one embodiment of the invention wireless headset automatically switches playing task;
Fig. 2 is the structural schematic diagram for the device that one embodiment of the invention wireless headset automatically switches playing task;
Fig. 3 is the structural schematic diagram of one embodiment of the invention handover module;
Fig. 4 is the structural schematic diagram of one embodiment of the invention second judgment submodule;
Fig. 5 is the structural schematic diagram of another embodiment of the present invention second judgment submodule.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes.Obviously, described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained without creative efforts it is all its His embodiment, shall fall within the protection scope of the present invention.
It is to be appreciated that the directional instruction (such as up, down, left, right, before and after ...) of institute is only used in the embodiment of the present invention In explaining relative position relation, motion conditions etc. under a certain particular pose (as shown in the picture) between each component, if should When particular pose changes, then directionality instruction also correspondingly changes correspondingly.
In addition, the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and should not be understood as referring to Show or imply its relative importance or implicitly indicates the quantity of indicated technical characteristic." first ", " are defined as a result, Two " feature can explicitly or implicitly include at least one of the features.In addition, the technical solution between each embodiment can To be combined with each other, but must can be implemented as basis with those of ordinary skill in the art, when the combination of technical solution occurs Conflicting or cannot achieve when, will be understood that the combination of this technical solution is not present, also not the present invention claims protection model Within enclosing.
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, the method that a kind of wireless headset that one embodiment of the invention provides automatically switches playing task, above-mentioned nothing Line earphone includes the first earphone and the second earphone for being communicated to connect with first earphone, the operation object of currently playing task For the first earphone, the method that wireless headset automatically switches playing task, including:
S1:Detect the difference of the current residual electricity of first earphone and the current residual electricity of the second earphone.
Above-mentioned first earphone and the second earphone are two identical earphones of function, and are provided with storage and local broadcasting Function, the first earphone and the communication connection of the second earphone, can specifically carry out data transmission connecting by bluetooth.In the present embodiment, The operation object of currently playing task is the first earphone, and above-mentioned execution playing task is to play out voice or song etc., on It states in step S1, the difference of the current residual electricity of first the first earphone of headset detection and the current residual electricity of the second earphone, Citing ground, the current residual electricity of the first earphone are the 80% of battery capacity, and the current residual electricity of the second earphone is battery electricity The 70% of amount, then the difference of the two is the 10% of battery capacity, and specifically, the first earphone can be examined after a preset time period Primary above-mentioned difference is surveyed, if preset time period is 10 seconds, the first earphone is every the primary above-mentioned difference of detection in 10 seconds, when above-mentioned default Between can be arranged according to earphone and charge condition, when the electricity abundance of two earphones, preset time period can be arranged relatively It is long, it thus is avoided that frequent first earphone frequently monitors the variable condition of above-mentioned residual quantity and waste of resource.
S2:If the difference is more than predetermined threshold value, by the operation object of the currently playing task from first ear Machine-cut changes second earphone into.
In this step, above-mentioned pre-set threshold value can be arranged according to actual conditions, such as can according to the consumption rate of earphone and The settings such as charge condition, citing ground, pre-set threshold value could be provided as the 1% of battery capacity, when above-mentioned difference is more than the default valve The operation object of currently playing task is then switched to the second earphone by value from the first earphone, in the present embodiment, switchover operation object When, assignment instructions are sent to the second earphone by the first earphone, while the data of currently playing task are passed through Bluetooth transmission to Two earphones after the second earphone receives assignment instructions, execute the corresponding currently playing task of above-mentioned assignment instructions, while sending current The audio-frequency information of playing task is to the first earphone, so that the first earphone and the second earphone are simultaneously emitted by sound, is formed stereo.
Further, above-mentioned steps S2 includes:
S20:Judge whether the current residual electricity of first earphone is more than the current residual electricity of second earphone.
In this step, when difference be more than predetermined threshold value when, then may determine that the first earphone current residual electricity whether More than the current residual electricity of the second earphone.When the first earphone judgement difference be not above predetermined threshold value, that is, give tacit consent to the first earphone Current residual electricity it is identical as the current residual electricity of the second earphone, at this moment be not necessarily to by the operation object of currently playing task from First earphone is switched to the second earphone.
S21:If it is determined that the current residual electricity of first earphone is not more than the current residual electricity of second earphone, Then judge whether the broadcast state of the currently playing task is in and cuts song state.
In this step, when above-mentioned difference be more than predetermined threshold value, and the first earphone judge the first earphone current residual electricity When no more than the second earphone current residual electricity, at this moment whether the first earphone judges the broadcast state of currently playing task in cutting Song state when due to playing song, often switches a first song, and will appear broadcasting in handoff procedure pauses, that is, when there are certain intervals Between silent state, above-mentioned song state of cutting is to switch to the noiseless of another song by currently playing song in currently playing task State, if there is the fluency that when playing song, then can influence to play, user experience is bad for above-mentioned pause.
Above-mentioned steps S21 includes:
Step S210:Judge the end of playing for carrying out node time instance and whether being in current song of the currently playing task In moment to the time interval of next song played between start time;
Step S211:If so, the broadcast state of the judgement currently playing task is at cutting song state.
In the present embodiment, in the case of normally playing naturally, when the current residual electricity of the first earphone of judgement is not more than second The current residual electricity of earphone, and the first earphone judgement playing task is not at when cutting song state, in order to not influence song is played Fluency, even if the current residual electricity of the first earphone is not more than the current residual electricity of the second earphone, the first earphone also begins It keeps playing current song eventually, until the progress node time instance of currently playing task is in the end of playing moment of current song extremely In the time interval of next song played between start time, i.e. the first earphone keeps playing current song, until current song Song plays jumps to next song automatically, at this moment, just judges that the broadcast state of above-mentioned currently playing task is to cut song state.
S22:If so, the operation object of currently playing task is switched to second earphone from first earphone.
In this step, if the first earphone judgement playing task is in when cutting song state, by the operation of currently playing task Object switches to the second earphone from the first earphone, is above-mentioned silent state due to cutting song state, even if in switchover operation object Playing, which occurs, in process pauses, and will not influence the integrality and fluency that play song.
In another embodiment, whether the first earphone judges the broadcast state of currently playing task in the step for cutting song state Rapid S21, including:
Step S210 ':Judge whether first earphone receives to switch to the song of cutting of another song from current song and refer to It enables;
Step S211 ':If so, the broadcast state of the control currently playing task is directly entered and cuts song state.
Above-mentioned first earphone judge the first earphone whether receive current song switch to another song cut song instruction, if It is then to control the broadcast state of currently playing task to be directly entered and cut song state;Otherwise the first earphone continues to execute above-mentioned broadcasting Task.In this step, when the current residual electricity of the first earphone of judgement is not more than the current residual electricity of the second earphone, and reception The song of cutting that another song is switched to current song input by user instructs, you can the broadcasting shape of the above-mentioned currently playing task of control State, which is directly entered, cuts song state, no longer needs to that current song is waited for finish and switch over operation object again, at this moment the first earphone Can the operation object of currently playing task be directly switched to the second earphone from the first earphone, above-mentioned current song switches to separately The song of cutting of one song is instructed and can be sent out by user's manual operation control.
Further, before step S22, including:
S220:Judge whether the working condition of second earphone is malfunction;
S221:If it is not, then generate the operation object of the currently playing task switched to from first earphone it is described The switching command of second earphone.
Before the operation object of currently playing task is switched to the second earphone from the first earphone, the second earphone is first judged Working condition whether be malfunction, above-mentioned malfunction is the state of earphone cisco unity malfunction, at this moment, if it is determined that The working condition of two earphones is malfunction, then cannot the operation object of currently playing task be switched to second from the first earphone Earphone is then generated the operation object of currently playing task from the if it is determined that the working condition of the second earphone is not malfunction One earphone is switched to the switching command of the second earphone, by above-mentioned operation object from the first ear when the first earphone receives the switching command Machine-cut is changed to the second earphone.
Further, before distributing above-mentioned currently playing task, i.e., there are no true for the operation object of currently playing task Before fixed, above-mentioned currently playing task can be allocated by following steps:First earphone receives play instruction, then judges Whether the current residual electricity of the first earphone and the difference of the current residual electricity of the second earphone are more than predetermined threshold value;If difference is super Predetermined threshold value is crossed, then judges whether the current residual electricity of the first earphone is more than the current residual electricity of the second earphone;If so, The corresponding playing task of above-mentioned play instruction is distributed into the first earphone, otherwise by the corresponding playing task point of above-mentioned play instruction The second earphone of dispensing.If difference is no more than predetermined threshold value, the corresponding playing task of above-mentioned play instruction is randomly assigned to first Earphone or the second earphone, preferentially distribute to the first earphone.
Before the first earphone receives play instruction, the first earphone and the second earphone enter local play mode, so The song list of mp3 file is compared with playing list afterwards, checks whether playing list is clear with the song of above-mentioned mp3 file Single matching, if mismatching, broadcasting is re-established according to the song list of mp3 file if matching, can receive play instruction Inventory, at this moment playing list is consistent with the song list of mp3 file.
The present invention also provides the device that a kind of wireless headset automatically switches playing task, above-mentioned wireless headset includes first The operation object of earphone and the second earphone communicated to connect with first earphone, currently playing task is the first earphone, ginseng According to Fig. 2, above-mentioned first earphone includes:
Detection module 100, for detecting the current residual electricity of first earphone and the current residual electricity of the second earphone The difference of amount.
Above-mentioned first earphone and the second earphone are two identical earphones of function, and are provided with storage and local broadcasting Function, the first earphone and the communication connection of the second earphone, can specifically carry out data transmission connecting by bluetooth.In the present embodiment, The operation object of currently playing task is the first earphone, and above-mentioned playing task is to play out voice or song etc., the first ear The detection module 100 of machine detects the difference of the current residual electricity of the first earphone and the current residual electricity of the second earphone, citing Ground, the current residual electricity of the first earphone are the 80% of battery capacity, and the current residual electricity of the second earphone is battery capacity 70%, then the difference of the two is the 10% of battery capacity, i.e., above-mentioned residual quantity is the 10% of battery capacity, specifically, detects mould Block 100 can detect primary above-mentioned difference after a preset time period, and if preset time period is 10 seconds, detection module 100 is every Every 10 seconds primary above-mentioned differences of detection, above-mentioned preset time can be arranged according to earphone and charge condition, two earphones When electricity abundance, relatively long point can be arranged in preset time period, thus be avoided that frequent first earphone frequently monitors above-mentioned residual quantity Variable condition and waste of resource.
Handover module 400 is used for when the difference is more than predetermined threshold value, by the operation object of the currently playing task Second earphone is switched to from first earphone.
Above-mentioned pre-set threshold value can be arranged according to actual conditions, such as can be according to the consumption rate and charge condition of earphone Setting, citing ground, pre-set threshold value could be provided as the 1% of battery capacity, when above-mentioned difference is more than the pre-set threshold value, then switch mould The operation object of currently playing task is switched to the second earphone by block 400 from the first earphone, in the present embodiment, handover module 400 When switchover operation object, assignment instructions are sent to the second earphone by the first earphone, while the data of currently playing task being passed through Bluetooth transmission executes the corresponding currently playing task of above-mentioned assignment instructions to the second earphone after the second earphone receives assignment instructions, The audio-frequency information of currently playing task is sent simultaneously to the first earphone, so that the first earphone and the second earphone are simultaneously emitted by sound, It is formed stereo.
Further, with reference to Fig. 3, above-mentioned handover module 400 includes:
First judging submodule 410, for judging whether the current residual electricity of first earphone is more than described second The current residual electricity of earphone.
When above-mentioned difference is more than predetermined threshold value, then second judgment submodule 420 may determine that the current of the first earphone Whether remaining capacity is more than the current residual electricity of the second earphone.If difference is not above predetermined threshold value, you can to give tacit consent to first The current residual electricity of earphone is identical as the current residual electricity of the second earphone, and at this moment handover module 400 is without will be currently playing The operation object of task is switched to the second earphone from the first earphone.
Second judgment submodule 420, for judging that the current residual electricity of first earphone is not more than second ear When the current residual electricity of machine, judges whether the broadcast state of the currently playing task is in and cut song state.
When difference be more than predetermined threshold value, and the first judging submodule 410 judge the first earphone current residual electricity it is little When the second earphone current residual electricity, at this moment second judgment submodule 420 judge currently playing task broadcast state whether In song state is cut, when due to playing song, often switch a first song, will appear broadcasting in handoff procedure pauses, that is, occurs certain The silent state of interval time, above-mentioned song state of cutting is to switch to another song by currently playing song in currently playing task Silent state, above-mentioned pause if there is when playing song, then can influence play fluency, user experience It is bad.
In the present embodiment, with reference to Fig. 5, above-mentioned second judgment submodule 420 includes:
Second judgment unit 423, for judging the carry out node time instance of the currently playing task whether in current song In the bent end of playing moment to the time interval of next song played between start time;
Second switch unit 424, for judging the carry out node time instance of the currently playing task whether in current song When in the bent end of playing moment to the time interval of next song played between start time, described currently playing of judgement The broadcast state of business is at cutting song state.
Naturally in the case of playing, when the first judging submodule 410 judges the current residual electricity of the first earphone no more than the The current residual electricity of two earphones, and the judgement of second judgment submodule 420 playing task is not at when cutting song state, in order not to shadow The fluency for playing song is rung, even if the current residual electricity of the first earphone is not more than the current residual electricity of the second earphone, the One earphone also remains broadcasting current song, until the progress node time instance of currently playing task is in the broadcasting of current song In end time to the time interval of next song played between start time, i.e. the first earphone keeps playing current song, Until current song plays and jumps to next song automatically, at this moment, the second switch unit 424 just judges above-mentioned currently playing The broadcast state of business is to cut song state.
Switching submodule 430, for judge the currently playing task broadcast state be in cut song state when, will be current The operation object of playing task switches to second earphone from first earphone.
If second judgment submodule 420 judges playing task in when cutting song state, switching submodule 430 will be currently playing The operation object of task is switched to the second earphone from the first earphone, is above-mentioned silent state due to cutting song state, even if switching The process for running object occurs playing pause, will not influence the integrality and fluency that play song.
In another embodiment, with reference to Fig. 4, second judgment submodule 420 includes:
First judging unit 421 switches to another song for judging whether first earphone receives from current song Bent cuts song instruction;
First switch unit 422 switches to another song for judging that first earphone is received from current song When cutting song instruction, the broadcast state of the control currently playing task, which is directly entered, cuts song state.
Above-mentioned first judging unit 421 judges that whether the first earphone received that current song switches to another song cuts song Instruction, if so, the broadcast state that the first switch unit 422 controls currently playing task is directly entered and cuts song state;Otherwise One earphone continues to execute above-mentioned playing task.In this step, when second judgment submodule 420 judges the current residual of the first earphone Electricity be not more than the second earphone current residual electricity, and the first earphone receive current song input by user switch to it is another Song cuts song instruction, and the first switch unit 422 is that can control the broadcast state of above-mentioned currently playing task to be directly entered to cut song At this moment state no longer needs to that current song is waited for finish and switch over operation object again, switching submodule 440 can be direct The operation object of currently playing task is switched to the second earphone from the first earphone, above-mentioned current song switches to another song Cutting song instruction can be sent out by user's manual operation control.
Further, with reference to Fig. 2, the device that wireless headset automatically switches playing task further includes:
Judgment module 200, for judging whether the working condition of second earphone is malfunction;
Generation module 300 when for judging that the working condition of second earphone is not malfunction, generating and working as by described in The operation object of preceding playing task is switched to the switching command of second earphone from first earphone.
Before the operation object of currently playing task is switched to the second earphone from the first earphone, judgment module 200 is first Judge whether the working condition of the second earphone is malfunction, and above-mentioned malfunction is the state of earphone cisco unity malfunction, At this moment, if judgment module 200 judges that the working condition of the second earphone is malfunction, switching submodule 430 cannot will be current The operation object of playing task is switched to the second earphone from the first earphone, if judgment module 200 judges the work shape of the second earphone State is not malfunction, then generation module 300 is generated is switched to second by the operation object of currently playing task from the first earphone Above-mentioned operation object is switched to the second ear by the switching command of earphone when the first earphone receives the switching command from the first earphone Machine.
Further, before distributing above-mentioned currently playing task, i.e., there are no true for the operation object of currently playing task Before fixed, above-mentioned currently playing task can be allocated by following steps:First earphone receives play instruction, then judges Whether the current residual electricity of the first earphone and the difference of the current residual electricity of the second earphone are more than predetermined threshold value;If difference is super Predetermined threshold value is crossed, then judges whether the current residual electricity of the first earphone is more than the current residual electricity of the second earphone;If so, The corresponding playing task of above-mentioned play instruction is distributed into the first earphone, otherwise by the corresponding playing task point of above-mentioned play instruction The second earphone of dispensing.If difference is no more than predetermined threshold value, the corresponding playing task of above-mentioned play instruction is randomly assigned to first Earphone or the second earphone, preferentially distribute to the first earphone.
Before the first earphone receives play instruction, the first earphone and the second earphone enter local play mode, so The song list of mp3 file is compared with playing list afterwards, checks whether playing list is clear with the song of above-mentioned mp3 file Single matching, if mismatching, broadcasting is re-established according to the song list of mp3 file if matching, can receive play instruction Inventory, at this moment playing list is consistent with the song list of mp3 file.
In conclusion wireless headset provided by the invention automatically switches the method and its device of playing task, using a pair Earphone that is identical and being provided simultaneously with storage and playing function, according to default rule so that earphone when switching playing task not Playback of songs is influenced, allows user to be completed in the case of imperceptible switching action, to improve user experience.
The foregoing is merely the preferred embodiment of the present invention, are not intended to limit the scope of the invention, every utilization Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of method that wireless headset automatically switches playing task, which is characterized in that wireless headset include the first earphone and Operation object with the second earphone of first earphone communication connection, currently playing task is first earphone, the nothing The method that line earphone automatically switches playing task, including:
Detect the difference of the current residual electricity of first earphone and the current residual electricity of second earphone;
If the difference is more than predetermined threshold value, the operation object of the currently playing task is switched to from first earphone Second earphone.
2. the method that wireless headset as described in claim 1 automatically switches playing task, which is characterized in that described to work as by described in The step of operation object of preceding playing task switches to second earphone from first earphone, including:
Judge whether the current residual electricity of first earphone is more than the current residual electricity of second earphone;
If it is determined that the current residual electricity of first earphone is not more than the current residual electricity of second earphone, then institute is judged The broadcast state of currently playing task is stated whether in cutting song state;
If so, the operation object of the currently playing task is switched to second earphone from first earphone.
3. the method that wireless headset as claimed in claim 2 automatically switches playing task, which is characterized in that described in the judgement Whether the broadcast state of currently playing task is in the step of cutting song state, including:
Judge first earphone whether receive from current song switch to another song cut song instruction;
If so, the broadcast state of the control currently playing task is directly entered and cuts song state.
4. the method that wireless headset as claimed in claim 2 automatically switches playing task, which is characterized in that described in the judgement Whether the broadcast state of currently playing task is in the step of cutting song state, including:
Judging the node time instance that carries out of the currently playing task, whether the end of playing moment in current song is to next song In the bent time interval played between start time;
If so, the broadcast state of the judgement currently playing task is to cut song state.
5. the method that wireless headset according to any one of claims 1-4 automatically switches playing task, which is characterized in that by institute Before stating the step of the operation object of currently playing task switches to second earphone from first earphone, including:
Judge whether the working condition of second earphone is malfunction;
The operation object of the currently playing task is switched into second earphone from first earphone if it is not, then generating Switching command.
6. a kind of wireless headset automatically switches the device of playing task, which is characterized in that wireless headset include the first earphone and With the second earphone of first earphone communication connection, the operation object of currently playing task is first earphone, described the One earphone includes:
Detection module, for detecting the current residual electricity of first earphone and the current residual electricity of second earphone Difference;
Handover module, for when the difference is more than predetermined threshold value, by the operation object of the currently playing task from described First earphone switches to second earphone.
7. wireless headset as claimed in claim 6 automatically switches the device of playing task, which is characterized in that handover module packet It includes:
First judging submodule, for judging whether the current residual electricity of first earphone is more than working as second earphone Preceding remaining capacity;
Second judgment submodule, the current residual electricity for judging first earphone are current no more than second earphone When remaining capacity, judges whether the broadcast state of the currently playing task is in and cut song state;
Switching submodule, for judge the currently playing task broadcast state be in cut song state when, currently broadcast described The operation object for letting alone business switches to second earphone from first earphone.
8. wireless headset as claimed in claim 7 automatically switches the device of playing task, which is characterized in that described second judges Submodule includes:
First judging unit, for judge first earphone whether receive switch to another song from current song cut song Instruction;
First switch unit, for judge first earphone receive from current song switch to another song cut song instruction When, the broadcast state of the control currently playing task, which is directly entered, cuts song state.
9. wireless headset as claimed in claim 7 automatically switches the device of playing task, which is characterized in that described second judges Submodule includes:
Second judgment unit, the broadcasting for carrying out node time instance and whether being in current song for judging the currently playing task In end time to the time interval of next song played between start time;
Second switch unit, for judging that the progress node time instance of the currently playing task is in the end of playing of current song When in the moment to the time interval of next song played between start time, the broadcast state of the currently playing task is judged To cut song state.
10. as claim 6-9 any one of them wireless headsets automatically switch the device of playing task, which is characterized in that also Including:
Judgment module, for judging whether the working condition of second earphone is malfunction;
Generation module, when for judging that the working condition of second earphone is not malfunction, generation will currently be broadcast described The operation object for letting alone business switches to the switching command of second earphone from first earphone.
CN201810488649.0A 2018-05-21 2018-05-21 Wireless headset automatically switches the method and its device of playing task Pending CN108429966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810488649.0A CN108429966A (en) 2018-05-21 2018-05-21 Wireless headset automatically switches the method and its device of playing task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810488649.0A CN108429966A (en) 2018-05-21 2018-05-21 Wireless headset automatically switches the method and its device of playing task

Publications (1)

Publication Number Publication Date
CN108429966A true CN108429966A (en) 2018-08-21

Family

ID=63163557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810488649.0A Pending CN108429966A (en) 2018-05-21 2018-05-21 Wireless headset automatically switches the method and its device of playing task

Country Status (1)

Country Link
CN (1) CN108429966A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109275069A (en) * 2018-09-25 2019-01-25 倬韵科技(深圳)有限公司 Method, bluetooth playback equipment and the bluetooth headset that main earphone and set of headphones intelligently switch
CN111343541A (en) * 2020-04-15 2020-06-26 Oppo广东移动通信有限公司 Control method and device of wireless earphone, mobile terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101637012A (en) * 2007-03-14 2010-01-27 高通股份有限公司 Headset having wirelessly linked earpieces
CN102696240A (en) * 2009-09-10 2012-09-26 美国高思公司 Synchronizing wireless earphones
CN103473341A (en) * 2013-09-23 2013-12-25 网易(杭州)网络有限公司 Playing list generating method and equipment
CN106535057A (en) * 2016-12-07 2017-03-22 歌尔科技有限公司 Operation switching method and system for master device and slave device
CN107071618A (en) * 2017-04-26 2017-08-18 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone
CN107295434A (en) * 2017-05-26 2017-10-24 广东思派康电子科技有限公司 TWS earphones and realize the vocal music of TWS earphones with the computer-readable recording medium broadcast
CN107820155A (en) * 2017-11-08 2018-03-20 深圳市沃特沃德股份有限公司 Control method, device and the wireless headset of wireless headset

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101637012A (en) * 2007-03-14 2010-01-27 高通股份有限公司 Headset having wirelessly linked earpieces
CN102696240A (en) * 2009-09-10 2012-09-26 美国高思公司 Synchronizing wireless earphones
CN103473341A (en) * 2013-09-23 2013-12-25 网易(杭州)网络有限公司 Playing list generating method and equipment
CN106535057A (en) * 2016-12-07 2017-03-22 歌尔科技有限公司 Operation switching method and system for master device and slave device
CN107071618A (en) * 2017-04-26 2017-08-18 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone
CN107295434A (en) * 2017-05-26 2017-10-24 广东思派康电子科技有限公司 TWS earphones and realize the vocal music of TWS earphones with the computer-readable recording medium broadcast
CN107820155A (en) * 2017-11-08 2018-03-20 深圳市沃特沃德股份有限公司 Control method, device and the wireless headset of wireless headset

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109275069A (en) * 2018-09-25 2019-01-25 倬韵科技(深圳)有限公司 Method, bluetooth playback equipment and the bluetooth headset that main earphone and set of headphones intelligently switch
CN111343541A (en) * 2020-04-15 2020-06-26 Oppo广东移动通信有限公司 Control method and device of wireless earphone, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
WO2021082875A1 (en) Method and apparatus for switching master and slave bluetooth headsets, bluetooth headset, and system
CN108696784B (en) Wireless earphone role switching method, wireless earphone and TWS earphone
WO2019136810A1 (en) Bluetooth headset master/salve switching method and apparatus
WO2010027638A1 (en) Audio communication system with bitrate indication
CN108429966A (en) Wireless headset automatically switches the method and its device of playing task
JP2007143094A (en) Automatic power-saving conversation mode switching system and method therefor
CN110191389B (en) Multi-point connection method and device of wireless headset, Bluetooth headset and TWS headset
CN109275069A (en) Method, bluetooth playback equipment and the bluetooth headset that main earphone and set of headphones intelligently switch
CN111988770A (en) Control method and system of wireless equipment
CN105915973A (en) Intelligent television set and system and method for dynamic connection of intelligent television set with slave equipment
KR20160095106A (en) Method and device for controlling device
CN103600700B (en) Based on the audio frequency and video control method under two-shipper interactive model and system
CN115686424A (en) Priority configuration method, device, equipment and storage medium for audio playing
US20120015618A1 (en) Method and Apparatus for Controlling Broadcast Receivers
CN111770403A (en) Wireless earphone control method, wireless earphone and control system thereof
CN112291683B (en) TWS earphone control method and device
CN104023117A (en) Method for information processing and electronic equipment
JP2011197822A (en) Electronic apparatus
CN107704172A (en) A kind of multimedia application method for handover control, system and storage device
CN108762714A (en) Play medium switching method, device, wearable device and playback equipment
CN111491278B (en) Method and terminal for playing audio through Bluetooth device
CN116419436A (en) Networking method of Bluetooth equipment, terminal equipment and Bluetooth equipment
JP2008092509A (en) Handover method and mobile communication terminal device
CN105337823B (en) The control method and playback equipment of a kind of radio play system
WO2024060750A1 (en) Bluetooth switching method and apparatus, bluetooth connection method and apparatus, and electronic device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180821

RJ01 Rejection of invention patent application after publication