CN108513216A - A kind of method of information processing and a kind of line control earphone - Google Patents
A kind of method of information processing and a kind of line control earphone Download PDFInfo
- Publication number
- CN108513216A CN108513216A CN201810229742.XA CN201810229742A CN108513216A CN 108513216 A CN108513216 A CN 108513216A CN 201810229742 A CN201810229742 A CN 201810229742A CN 108513216 A CN108513216 A CN 108513216A
- Authority
- CN
- China
- Prior art keywords
- earphone
- voice
- voice messaging
- control operation
- output
- 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
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a kind of method of information processing and a kind of line control earphone, this method is applied in the line control earphone with voice-input device, the method includes:When the line control earphone is in output state, detect whether that there are one operated to the first control of the line control earphone;When detecting the first control operation, judge whether the first control operation meets a preset condition;When the first control operation meets the preset condition, the line control earphone is switched to input state from the output state;The control operation is responded, generate and executes the voice collecting instruction for acquiring voice input content corresponding with the first control operation.
Description
Technical field
The present invention relates to the methods and a kind of line control earphone of electronic technology field more particularly to a kind of information processing.
Background technology
With the continuous development of science and technology, electronic equipment has also obtained development at full speed, and the type of electronic product is also got over
Come more, people have also enjoyed the various facilities that scientific development is brought, and present people can be set by various types of electronics
It is standby, enjoy the comfortable life brought with development in science and technology.For example, people can be connected by smart mobile phone or pad earphone into
Row listens to music, and receives calls, connects the operation of voice-enabled chat.
But the present inventor has found that above-mentioned technology is at least deposited during inventive technique scheme in realizing the embodiment of the present invention
In following technical problem:
When 1, due to being used as output equipment by line control earphone in the prior art, line control earphone can only be suspended, be opened
Open or the operations such as the plus-minus of sound so that when needing the voice messaging to user to be acquired, need by with line traffic control ear
Machine connection electronic equipment on voice acquisition device the voice messaging of user is acquired, in this way, when the electronic equipment with
The distance of user farther out when, there is the technical issues of cannot acquiring user speech information in time.
2, due to being collected in the prior art to the voice acquisition device on the electronic equipment by being connect with line control earphone
The voice messaging processing that is preserved or sent etc., collected voice messaging cannot be but added to it is already existing can be with
In the speech information content of output, and then there is cannot be by collected voice messaging and the speech information content that can be exported
The technical issues of fusion.
3, it due to the processing that can only the voice messaging of acquisition preserved or be sent in the prior art, there is not
The technical issues of voice messaging of acquisition can be carried out being converted into other forms of expression.
Invention content
Method and a kind of line control earphone of the embodiment of the present application by a kind of information processing of offer, solve in the prior art
When electronic equipment at a distance from user farther out when, there is the technical issues of cannot acquiring user speech information in time, Jin Ershi
Show and be not necessarily to control electronics, it will be able to the technique effect of acquisition user speech information in time.
The embodiment of the present application provides a kind of method of information processing, is applied to the line control earphone with voice-input device
In, the method includes:When the line control earphone is in output state, detect whether that there are one the to the line control earphone
One control operation;When detecting the first control operation, judge whether the first control operation meets a preset condition;
When the first control operation meets the preset condition, the line control earphone is switched to input shape from the output state
State;The control operation is responded, generate and is executed is corresponding for acquiring voice input content with the first control operation
Voice collecting instruction.
Further, when the first button on the line control earphone and immediately pine are specially pressed in the first control operation
It is described to judge whether the first control operation meets a preset condition when operation is unclamped in the first pressing opened, specially:Judge
First pressing loosens operation from pressing whether first button is less than the to the time interval for unclamping first button
One predetermined threshold value;When the time interval is less than first predetermined threshold value, it is one to determine that operation is unclamped in first pressing
Operation is unclamped in secondary effective pressing.
Further, it in the response control operation, generates and executes corresponding with the first control operation
After voice collecting for acquiring voice input content instructs, the method further includes:It is instructed, is led to based on the voice collecting
The speech input device crossed on the line control earphone obtains the first voice messaging;By first voice messaging and the line traffic control ear
Machine is in the second voice messaging exported when output state and is mixed, and obtains third voice messaging.
Further, after the acquisition third voice messaging, the method further includes:It has detected whether to described
Second touch control operation of one button, wherein second touch control operation is specially to press the second of first button and release to press
Pressure unclamps operation;When having detected that operation is unclamped in second pressing, operation is unclamped in response second pressing, by the line
Control earphone is switched to the output state from the input state, and by the line control earphone that the third voice messaging is defeated
Go out.
Further, it is described by the line control earphone by the third voice messaging export after, the method is also
Including:When detecting four voice messagings different from the third voice messaging, generates one and interrupt current speech output
The interrupt control instruction of task, wherein the current speech output task is specially to be currently executing through the line traffic control
The task that earphone exports the third voice messaging;Based on the interrupt control instruction, it is defeated to interrupt the current speech
It goes out on missions, and the 4th voice messaging is exported by the line control earphone;Detecting the 4th voice messaging
When output is completed, generates one and continue to execute instruction;Instruction is continued to execute based on described, institute is continued to output by the line control earphone
State third voice messaging.
Further, when the first control operation be specially press the first knob on the line control earphone it is lasting when
Between be first time length the first long press operation when, it is described judge it is described first operate whether meet a preset condition, specifically
For:Judge whether the first time length is more than the first predetermined time period;It is more than described the in the first time length
When one predetermined time period, determine that first long press operation is primary effective long press operation.
Further, it in the response the first control operation, generates and executes corresponding with the control operation
After voice collecting for acquiring voice input content instructs, the method further includes:It is instructed, is led to based on the voice collecting
It crosses the speech input device and obtains the 5th voice messaging;Processing is identified to the 5th voice messaging.
Further, after processing is identified to the 5th voice messaging, the method further includes:It detects whether
Have and operation is controlled to the third that first button unclamps;When having detected the third control operation, the third is responded
Control operation converts the 5th voice messaging to character information, and by the character information by with the line control earphone
The display screen of the electronic equipment of connection is shown.
On the other hand, the embodiment of the present application provides a kind of line control earphone, and the line control earphone further includes:Detection unit is used
In when the line control earphone is in output state, detecting whether that there are one operated to the first of the line control earphone the control;Sentence
Disconnected unit, for when detecting the first control operation, judging whether the first control operation meets a preset condition;
Switch unit, for when the first control operation meets the preset condition, by the line control earphone from the output shape
State is switched to input state;Execution unit is generated, for responding the control operation, generates and executes and grasped with first control
Make the corresponding voice collecting instruction for acquiring voice input content.
Further, when the first button on the line control earphone and immediately pine are specially pressed in the first control operation
When operation is unclamped in the first pressing opened, the judging unit specifically includes:First judgment sub-unit, for judging that described first presses
Pressure loosens whether operation is less than the first predetermined threshold value from the time interval for pressing first button to release first button;
First determination unit, for when the time interval is less than first predetermined threshold value, determining that behaviour is unclamped in first pressing
Operation is unclamped as primary effectively pressing.
Further, the line control earphone further includes:First acquisition unit is led to for being instructed based on the voice collecting
It crosses the speech input device and obtains the first voice messaging;Second acquisition unit, for by first voice messaging with it is described
Line control earphone is in the second voice messaging exported when output state and is mixed, and obtains third voice messaging.
Further, the line control earphone further includes:First detection sub-unit, for detecting whether have to described first by
Second touch control operation of button, wherein second touch control operation is specially the second pressing pine pressed first button and unclamped
Open operation;First output unit, for when having detected that operation is unclamped in second pressing, response second pressing to be unclamped
The line control earphone is switched to the output state by operation from the input state, and will be described by the line control earphone
Third voice messaging exports.
Further, the line control earphone further includes:Second detection sub-unit has detected and the third language for working as
When message ceases four different voice messagings, an interrupt control instruction for interrupting current speech output task is generated, wherein described
Current speech output task is specially currently executing by the line control earphone that third voice messaging progress is defeated
Going out for task;Interrupt location interrupts the current speech output task, and will be described for being based on the interrupt control instruction
4th voice messaging is exported by the line control earphone;Command unit is generated, for detecting the 4th voice letter
When breath output is completed, generates one and continue to execute instruction;Second output unit, for be based on it is described continue to execute instruction, pass through institute
It states line control earphone and continues to output the third voice messaging.
Further, when the first control operation be specially press the first knob on the line control earphone it is lasting when
Between be first time length the first long press operation when, the judging unit specifically includes:Second judgment sub-unit, for judging
Whether the first time length is more than the first predetermined time period;Second determination unit, in the first time length
When more than first predetermined time period, determine that first long press operation is primary effective long press operation.
Further, the line control earphone further includes:Third acquiring unit is led to for being instructed based on the voice collecting
It crosses the speech input device and obtains the 5th voice messaging;Identifying processing unit, for knowing to the 5th voice messaging
It manages in other places.
Further, the line control earphone further includes:Third detection sub-unit, for detecting whether have to described first by
The third control operation that button unclamps;Third output unit, for when having detected third control operation, response described the
Three control operations, convert the 5th voice messaging to character information, and by the character information by with the line traffic control ear
The display screen of the electronic equipment of machine connection is shown.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
1, as a result of when detecting that the first touch control operation to line control earphone meets preset condition, by line control earphone
It is switched to input state from output state, so, it efficiently solves when being used as output equipment by line control earphone in the prior art,
Line control earphone can only be suspended, be opened or the operations such as plus-minus of sound so that when need to the voice messaging of user into
When row acquisition, need to carry out the voice messaging of user by the voice acquisition device on the electronic equipment that connect with line control earphone
Acquisition, in this way, when the electronic equipment at a distance from user farther out when, there is the technology that cannot acquire user speech information in time
Problem, and then realize without control electronics, the technique effect of the voice messaging of user can be acquired in time.
2, as a result of obtaining the first voice messaging by speech input device on line control earphone, by the of acquisition
The second voice messaging that one voice messaging exports when being in output state with line control earphone is mixed, detected second by
When pressure unclamps operation, the technical solution that the third voice messaging after mixing is exported, so, efficiently solve existing skill
It can only be preserved by the collected voice messaging of voice acquisition device on the electronic equipment that is connect with line control earphone in art
Or the processing sent, collected voice messaging cannot be but added in the speech information content of already existing output, just
There is technical issues that and then to realize and can obtain the voice messaging of input with existing speech information content
The technique effect of the voice messaging after mixing is exported after being mixed with the voice messaging exported before again.
3, processing is identified as a result of to collected voice messaging, is translated into the character shape of user's needs
The technical solution that formula shows efficiently solves the place that can only the voice messaging of acquisition preserved or be sent in the prior art
Reason there is the technical issues of can not carrying out being converted into other forms of expression to the voice messaging of acquisition, and then realizing can
To convert the voice messaging of acquisition to the technique effect of other character styles of user's needs.
Description of the drawings
Fig. 1 is a kind of flow chart of the method for information processing in the embodiment of the present application;
Fig. 2 is a kind of module map of line control earphone in the embodiment of the present application.
Specific implementation mode
Method and a kind of line control earphone of the embodiment of the present application by a kind of information processing of offer, solve in the prior art
When electronic equipment at a distance from user farther out when, there is the technical issues of cannot acquiring user speech information in time, Jin Ershi
Show and be not necessarily to control electronics, it will be able to the technique effect of acquisition user speech information in time.
Technical solution in the embodiment of the present application be solve it is above-mentioned when electronic equipment at a distance from user farther out when, there is
The technical issues of user speech information cannot be acquired in time, general thought is as follows:
Illustrated by an application scenarios, for example, user is listened to music by the line control earphone being connected on mobile phone,
This when, earphone after user is to the first button press on line control earphone, first have to judge in output state
Whether this pressing operation disclosure satisfy that a preset condition, e.g. long press operation or short-press operation etc., meet not
After same condition, which can be switched to input state from current output state, meanwhile, respond above-mentioned press
Press operation generates the voice collecting instruction of an acquisition voice input content, come being acquired for task, that is, is inputted
Operation.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper
Technical solution is stated to be described in detail.
The method that the embodiment of the present application provides information processing in one is applied to the line control earphone with voice-input device
In, as shown in Figure 1, the method includes:
S10 detects whether that there are one the first controls to the line control earphone when the line control earphone is in output state
System operation;
S20 judges whether the first control operation meets a default item when detecting the first control operation
Part;
S30, when the first control operation meets the preset condition, by the line control earphone from the output state
It is switched to input state;
S40 responds the control operation, generates and executes corresponding for acquiring voice with the first control operation
The voice collecting of input content instructs.
Wherein, the first control operation can be short-press operation, can also be long press operation.
It is described so that short-press operates as an example below, when being short-press operation, it is pre- to judge whether short-press operation meets one
If condition is specifically when the first control operation is specially to press the first button on the line control earphone and unclamp immediately
It is described to judge whether the first control operation meets a preset condition when operation is unclamped in first pressing, it specifically includes:Judge institute
It states the first pressing and loosens whether operation is less than first from the time interval for pressing first button to release first button
Predetermined threshold value;When the time interval is less than first predetermined threshold value, it is primary to determine that operation is unclamped in first pressing
Effectively operation is unclamped in pressing.
In a particular embodiment, the button on line control earphone is operated, first, when a user presses a button,
It can detect whether pressing has the duration, when there is the duration it is necessary to judge the length of this duration, for example, setting
The critical condition for determining the duration is 1s, and when the duration of pressing being less than 1s, it is one to determine that operation is unclamped in this pressing
Operation, that is, the operation of a short-press are unclamped in secondary effective pressing.
After meeting the condition of short-press, S30 can be executed, line control earphone is switched to input state from the output state.
Then S40 is executed, this first control operation is responded, generate and is executed corresponding for acquiring with the first control operation
The voice collecting of voice input content instructs.
In a particular embodiment, output state changes into input state, can suspend current output task,
Can also be not suspend current output task, with that can the instruction based on acquisition need the content that inputs to carry out user
Acquisition.
After control operation after executing S40, that is, based on short-press, generates and execute and short-press control operation pair
After the voice collecting instruction for acquiring voice input content answered, this method further includes:It is instructed based on the voice collecting,
The first voice messaging is obtained by the speech input device on the line control earphone;By first voice messaging and the line traffic control
Earphone is in the second voice messaging exported when output state and is mixed, and obtains third voice messaging.
In a particular embodiment, the voice input content of user is acquired, for can directly pass through line control earphone
Speech input device the voice messaging of user is acquired, meanwhile, by collected input content be added to before export
In content, another content different from output content before is formed.For example, user, when listening a song, discovery lacks
Partial content, can be in the operation operation that the place for lacking partial content is inputted, it would be desirable to which the content addition of supplement lacks
In the song of content, to generate complete song.
It is above-mentioned obtain third voice messaging after, the method further includes:It has detected whether to first button
The second touch control operation, wherein second touch control operation be specially press first button and unclamp second pressing unclamp
Operation;When having detected that operation is unclamped in second pressing, operation is unclamped in response second pressing, by the line control earphone
It is switched to the output state from the input state, and is exported the third voice messaging by the line control earphone.
In a particular embodiment, after user determines the input content not acquired at this time, pass through
Whether line control earphone detects on the line control earphone there are one with the pressing operation above-mentioned first control operation, i.e., from by
It presses the first button to be less than the period of 1s to the time interval for unclamping first button, is detecting such a control behaviour
After work, the above-mentioned third voice messaging that will just obtain, that is, by will the output content that export originally with by defeated
Enter the speech information content after the collected speech information content mixing of device, is exported by line control earphone.Therefore, this
When the speech information content that is obtained by the operation of secondary short-press be exactly content after mixed processing.
After being mixed with the voice messaging of input by the above-mentioned voice messaging by output, after being mixed
Voice messaging, this way can be user's uppick song it is imperfect, or broadcast is imperfect etc. needs to add other
During content, facilitates user and the operation that content is modified is listened to some.
Certainly, after the mixing voice information for exporting acquisition, the method for the information processing further includes:When having detected and institute
When stating different four voice messaging of third voice messaging, an interrupt control instruction for interrupting current speech output task is generated,
Wherein, what the current speech output task was specially currently executing is believed the third voice by the line control earphone
Cease being exported for task;Based on the interrupt control instruction, the current speech output task is interrupted, and by the 4th language
Message breath is exported by the line control earphone;When detecting that the 4th voice messaging output is completed, generates one and continue
It executes instruction;Instruction is continued to execute based on described, the third voice messaging is continued to output by the line control earphone.
In a particular embodiment, if in output mixing voice information, i.e., during third voice messaging, detection
To there is another voice messaging to need to export in time, referred to as the 4th voice messaging for the time being, then suggesting that the line traffic control ear
Chance instant messages need to export, and after line control earphone receives such remind, can control itself one interruption of generation and work as
The interrupt control instruction of preceding voice output task, current speech output task mentioned here are specifically currently executing logical
Cross the task that line control earphone exports third voice messaging.For example, when user is connect by mobile phone with line control earphone
A song is listened to, line control earphone is at output state at this time, meanwhile, mobile phone receives an instant messages, e.g. has
Short message arrives, then, which can prompt line control earphone to have short message, and therefore, line control earphone is receiving such prompting
Afterwards, the interrupt instruction for the task that one interrupts current output song is generated.
After the interrupt instruction as acquisition, it is defeated that line control earphone will be based on such instruction execution interruption current speech
The content gone out, meanwhile, the prompting voice of the instant voice information received is exported by line control earphone, for example, it is above-mentioned
After generating the instruction for interrupting currently playing song, just the song being currently played is suspended, while by short message or incoming call
The sound of prompting message exported by line control earphone.
The voice prompt of short message or incoming call can't last long, such as short message prompt tones are only once or twice, when
Between it is of short duration, after these prompt tones terminate, line control earphone can detect this prompt tone end of output exported in time, this
When, line control earphone will generate an instruction continued to execute, which is for executing timely prompt tone
The output that do not completed before output continues to export.For example, above-mentioned after short message prompt tones terminate, line control earphone can be known
It is clipped to the short message prompt tones to have finished on, to generate the continuing to execute broadcasting song of the task, the song that will do not play
Continue to play in the place that bent then last time interrupts.
Inform user's short message, or the information of incoming call in time in this way so that user is either executing any other output
Task when, can will not miss the prompt of some information, convenient for users to use, user experience is also relatively good.
It is described by taking long press operation as an example below:
It is the operation realization that input state is by the first button on short-press line control earphone in above-mentioned switching output state
, when the first control operation is specially that press the duration of the first button on line control earphone be the of first time length
When one long press operation, judge whether first operation meets a preset condition, specially:Whether judge the first time length
More than the first predetermined time period;When the first time length is more than first predetermined time period, described the is determined
One long press operation is primary effective long press operation.
In a particular embodiment, the button on line control earphone is operated, when a user presses a button, can be detected
The duration of the button is more than 2s when the duration of pressing for example, setting the duration as 2s, determines that the pressing is grasped
Work is primary effective long press operation.
As long as have the operation for having pressing to the button on line control earphone, will the instruction of stateful switching therefore having
When the long press operation, the voice messaging that can be inputted to the needs of user is acquired.
It is generating and is executing and the corresponding voice collecting for executing acquisition voice input content of control operation
After instruction, the method for the information processing further includes:It is instructed based on the voice collecting, is obtained by the speech input device
5th voice messaging;Processing is identified to the 5th voice messaging.
In a particular embodiment, the step can be identical with the voice messaging obtained when short-press operates,
That is the voice messaging that user is acquired by short-press operation is acquired by long press operation in this step
The voice messaging of user can be identical voice messaging, but be the identification carried out by the voice messaging that long press operation obtains
Processing.The process of the identifying processing is by software realization.
After being identified to collected voice messaging, this method further includes:It has detected whether to described first
The third control operation that button unclamps;When having detected the third control operation, the third control operation is responded, by institute
It states the 5th voice messaging and is converted into character information, and the character information is passed through into the electronic equipment that is connect with the line control earphone
Display screen show.
In a particular embodiment, after the voice messaging as acquisition, place which is identified
Reason, in the meantime, there is no the pressing operations unclamped to button by user, when at this moment user unclamps the button, line control earphone
The operation that the release will be responded converts the voice messaging recognized, and certainly, conversion here will be because of the programming of software
And it is different, when example obtain user voice messaging be Chinese information, it is possible in converting the voice messaging obtained at this time to
Literary information is shown by the electronic equipment being connected with line control earphone, the display screen of e.g. mobile phone;If obtaining user's
Voice messaging is english information, then can convert the English voice messaging of acquisition to English character passes through mobile phone display screen
It shows;It is of course also possible to be obtain be user Chinese voice information, after conversion, pass through the form of English character
It is shown on mobile phone display screen.Specific restriction is not done in the specifically conversion of which kind of form in this application.
In this way by voice messaging by being converted into character information after line control earphone so that user can obtain accordingly
Required text information, user-friendly equal user experiences are better.
Based on same inventive concept, the present invention provides a kind of line control earphone by another embodiment of the application, including
Voice-input device, the line control earphone further include:Detection unit 10 is used for when the line control earphone is in output state,
Detect whether that there are one operated to the first control of the line control earphone;Judging unit 20 detects first control for working as
When system operation, judge whether the first control operation meets a preset condition;Switch unit 30, in first control
When operation meets the preset condition, the line control earphone is switched to input state from the output state;Generation executes list
Member 40, it is corresponding with the first control operation defeated for acquiring voice for responding the control operation, generating and executing
Enter the voice collecting instruction of content.
Further, when the first button on the line control earphone and immediately pine are specially pressed in the first control operation
When operation is unclamped in the first pressing opened, the judging unit 20 specifically includes:First judgment sub-unit, for judging described first
Pressing loosens whether operation is less than the first default threshold from the time interval for pressing first button to release first button
Value;First determination unit, for when the time interval is less than first predetermined threshold value, determining that first pressing is unclamped
Operation unclamps operation for primary effectively pressing.
Further, the line control earphone further includes:First acquisition unit is led to for being instructed based on the voice collecting
It crosses the speech input device and obtains the first voice messaging;Second acquisition unit, for by first voice messaging with it is described
Line control earphone is in the second voice messaging exported when output state and is mixed, and obtains third voice messaging.
Further, the line control earphone further includes:First detection sub-unit, for detecting whether have to described first by
Second touch control operation of button, wherein second touch control operation is specially the second pressing pine pressed first button and unclamped
Open operation;First output unit, for when having detected that operation is unclamped in second pressing, response second pressing to be unclamped
The line control earphone is switched to the output state by operation from the input state, and will be described by the line control earphone
Third voice messaging exports.
Further, the line control earphone further includes:Second detection sub-unit has detected and the third language for working as
When message ceases four different voice messagings, an interrupt control instruction for interrupting current speech output task is generated, wherein described
Current speech output task is specially currently executing by the line control earphone that third voice messaging progress is defeated
Going out for task;Interrupt location interrupts the current speech output task, and will be described for being based on the interrupt control instruction
4th voice messaging is exported by the line control earphone;Command unit is generated, for detecting the 4th voice letter
When breath output is completed, generates one and continue to execute instruction;Second output unit, for be based on it is described continue to execute instruction, pass through institute
It states line control earphone and continues to output the third voice messaging.
Further, when the first control operation be specially press the first knob on the line control earphone it is lasting when
Between be first time length the first long press operation when, the judging unit specifically includes:Second judgment sub-unit, for judging
Whether the first time length is more than the first predetermined time period;Second determination unit, in the first time length
When more than first predetermined time period, determine that first long press operation is primary effective long press operation.
Further, the line control earphone further includes:Third acquiring unit is led to for being instructed based on the voice collecting
It crosses the speech input device and obtains the 5th voice messaging;Identifying processing unit, for knowing to the 5th voice messaging
It manages in other places.
Further, the line control earphone further includes:Third detection sub-unit, for detecting whether have to described first by
The third control operation that button unclamps;Third output unit, for when having detected third control operation, response described the
Three control operations, convert the 5th voice messaging to character information, and by the character information by with the line traffic control ear
The display screen of the electronic equipment of machine connection is shown.
Since the line control earphone that the present embodiment is introduced is line used by implementing a kind of method of information processing of the application
Earphone is controlled, so the method based on the information processing described in the embodiment of the present application, those skilled in the art can be much of that
The specific implementation mode and its various change form for solving the electronic equipment of the present embodiment, so herein not for the line control earphone
It is discussed in detail again.As long as those skilled in the art implement line control earphone used by the method for the application information processing, all
Belong to the range to be protected of the application.
One or more technical solution provided by the present application, has at least the following technical effects or advantages:
1, as a result of when detecting that the first touch control operation to line control earphone meets preset condition, by line control earphone
It is switched to input state from output state, so, it efficiently solves when being used as output equipment by line control earphone in the prior art,
Line control earphone can only be suspended, be opened or the operations such as plus-minus of sound so that when need to the voice messaging of user into
When row acquisition, need to carry out the voice messaging of user by the voice acquisition device on the electronic equipment that connect with line control earphone
Acquisition, in this way, when the electronic equipment at a distance from user farther out when, there is the technology that cannot acquire user speech information in time
Problem, and then realize without control electronics, the technique effect of the voice messaging of user can be acquired in time.
2, as a result of obtaining the first voice messaging by speech input device on line control earphone, by the of acquisition
The second voice messaging that one voice messaging exports when being in output state with line control earphone is mixed, detected second by
When pressure unclamps operation, the technical solution that the third voice messaging after mixing is exported, so, efficiently solve existing skill
It can only be preserved by the collected voice messaging of voice acquisition device on the electronic equipment that is connect with line control earphone in art
Or the processing sent, collected voice messaging cannot be but added in the speech information content of already existing output, just
There is technical issues that and then to realize and can obtain the voice messaging of input with existing speech information content
The technique effect of the voice messaging after mixing is exported after being mixed with the voice messaging exported before again.
3, processing is identified as a result of to collected voice messaging, is translated into the character shape of user's needs
The technical solution that formula shows efficiently solves the place that can only the voice messaging of acquisition preserved or be sent in the prior art
Reason there is the technical issues of can not carrying out being converted into other forms of expression to the voice messaging of acquisition, and then realizing can
To convert the voice messaging of acquisition to the technique effect of other character styles of user's needs.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of method of information processing is applied in the earphone with voice-input device, which is characterized in that the method packet
It includes:
When the earphone is in output state, detect whether that there are one operated to the first control of the earphone;
When detecting the first control operation, judge whether the first control operation meets a preset condition;
When the first control operation meets the preset condition, the input/output state of the earphone is switched over;
The first control operation is responded, generate and executes phonetic order corresponding with the first control operation.
2. the method as described in claim 1, which is characterized in that when the earphone is switched input state from output state,
The phonetic order is to be instructed for acquiring the voice collecting of voice input content;The method further includes:
It is instructed based on the voice collecting, the first voice messaging is obtained by the speech input device on the earphone;
The second voice messaging exported when first voice messaging is in output state with the earphone mixes, and obtains
Third voice messaging.
3. the method as described in claim 1, which is characterized in that when the first control operation is specially to press on the earphone
The first button and unclamp immediately first pressing unclamp operation when, it is described judge it is described first control operation whether meet one in advance
If condition, specially:
Judge that first pressing unclamps operation from first button is pressed and is to the time interval of release first button
It is no to be less than the first predetermined threshold value;
When the time interval is less than first predetermined threshold value, determine first pressing unclamp operation for it is primary effectively by
Pressure unclamps operation.
4. method as claimed in claim 2, which is characterized in that after the acquisition third voice messaging, the method is also
Including:
Detect whether the second touch control operation to first button, wherein second touch control operation be specially press it is described
First button and the second pressing release operation unclamped;
When having detected that operation is unclamped in second pressing, operation is unclamped in response second pressing, by the earphone from institute
It states input state and is switched to the output state, and exported the third voice messaging by the earphone.
5. method as claimed in claim 3, which is characterized in that described by the earphone that the third voice messaging is defeated
After going out, the method further includes:
When detecting four voice messagings different from the third voice messaging, generates one and interrupt current speech output times
The interrupt control instruction of business, wherein what the current speech output task was specially currently executing will by the earphone
The task that the third voice messaging is exported;
Based on the interrupt control instruction, the current speech output task is interrupted, and the 4th voice messaging is passed through into institute
Earphone is stated to be exported;
When detecting that the 4th voice messaging output is completed, generates one and continue to execute instruction;
Instruction is continued to execute based on described, the third voice messaging is continued to output by the earphone.
6. the method as described in claim 1, which is characterized in that when the first control operation is specially to press on the earphone
The first button duration be first time length the first long press operation when, it is described judge it is described first control operation is
One preset condition of no satisfaction, specially:
Judge whether the first time length is more than the first predetermined time period;
When the first time length is more than first predetermined time period, determine that first long press operation is once to have
Imitate long press operation.
7. method as claimed in claim 6, which is characterized in that in the response the first control operation, generate and execute
After the voice collecting instruction for acquiring voice input content corresponding with the first control operation, the method is also wrapped
It includes:
It is instructed based on the voice collecting, the 5th voice messaging is obtained by the speech input device;
Processing is identified to the 5th voice messaging.
8. the method for claim 7, which is characterized in that after processing is identified to the 5th voice messaging,
The method further includes:
It detects whether to control operation to the third that first button unclamps;
When having detected the third control operation, the third control operation is responded, the 5th voice messaging is converted
For character information, and the character information is shown by the display screen for the electronic equipment being connect with the earphone.
9. a kind of earphone, including voice-input device, which is characterized in that the earphone further includes:
Detection unit, for when the earphone is in output state, detecting whether that there are one the first controls to the earphone
Operation;
Judging unit, for when detecting the first control operation, judging it is pre- whether the first control operation meets one
If condition;
Switch unit, for it is described first control operation meet the preset condition when, to the input and output shape of the earphone
State switches over;
Execution unit is generated, it is corresponding with the first control operation for responding the first control operation, generating and executing
Phonetic order.
10. controllable earphone as claimed in claim 8, which is characterized in that inputted when switching the earphone from output state
When state, the phonetic order is to be instructed for acquiring the voice collecting of voice input content;The earphone further includes:
First acquisition unit obtains the first voice letter for being instructed based on the voice collecting by the speech input device
Breath;
Second acquisition unit, the second voice exported when for first voice messaging and the earphone to be in output state
Information is mixed, and third voice messaging is obtained;
When the first control operation is specially the first pressing release pressed the first button on the earphone and unclamped immediately
When operation, the judging unit specifically includes:
First judgment sub-unit, for judging that first pressing unclamps operation from first button is pressed to unclamping described the
Whether the time interval of one button is less than the first predetermined threshold value;
First determination unit, for when the time interval is less than first predetermined threshold value, determining the first pressing pine
It opens operation and unclamps operation for primary effectively pressing;
The earphone further includes:
First detection sub-unit, for detecting whether having the second touch control operation to first button, wherein described second touches
Control operation is specially to press the second of first button and release and press to unclamp operation;
First output unit, for when having detected that operation is unclamped in second pressing, behaviour to be unclamped in response second pressing
Make, the earphone is switched to the output state from the input state, and believe the third voice by the earphone
Breath output;
The earphone further includes:
Second detection sub-unit, for when detecting four voice messagings different from the third voice messaging, generating
One interrupts the interrupt control instruction of current speech output task, wherein current speech output task be specially it is current
Being exported the third voice messaging by the earphone of the task executed;
Interrupt location interrupts current speech output task for being based on the interrupt control instruction, and by the 4th language
Message breath is exported by the earphone;
Command unit is generated, for when detecting that the 4th voice messaging output is completed, generating one and continuing to execute instruction;
Second output unit, for be based on it is described continue to execute instruction, the third voice letter is continued to output by the earphone
Breath;
When the first control operation is specially to press the duration of the first button on the earphone as first time length
The first long press operation when, the judging unit specifically includes:
Second judgment sub-unit, for judging whether the first time length is more than the first predetermined time period;
Second determination unit, for when the first time length is more than first predetermined time period, determining described the
One long press operation is primary effective long press operation.
The earphone further includes:
Third acquiring unit obtains the 5th voice letter for being instructed based on the voice collecting by the speech input device
Breath;
Identifying processing unit, for processing to be identified to the 5th voice messaging.
The earphone further includes:
Third detection sub-unit controls operation for detecting whether having to the third that first button unclamps;
Third output unit will be described for when having detected the third control operation, responding the third control operation
5th voice messaging is converted into character information, and the character information is passed through the display for the electronic equipment being connect with the earphone
Screen is shown.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810229742.XA CN108513216B (en) | 2013-03-25 | 2013-03-25 | Information processing method and wire-controlled earphone |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310097751.5A CN104080026B (en) | 2013-03-25 | 2013-03-25 | A kind of method of information processing and a kind of line control earphone |
CN201810229742.XA CN108513216B (en) | 2013-03-25 | 2013-03-25 | Information processing method and wire-controlled earphone |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310097751.5A Division CN104080026B (en) | 2013-03-25 | 2013-03-25 | A kind of method of information processing and a kind of line control earphone |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108513216A true CN108513216A (en) | 2018-09-07 |
CN108513216B CN108513216B (en) | 2021-08-17 |
Family
ID=51601033
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310097751.5A Active CN104080026B (en) | 2013-03-25 | 2013-03-25 | A kind of method of information processing and a kind of line control earphone |
CN201810229742.XA Active CN108513216B (en) | 2013-03-25 | 2013-03-25 | Information processing method and wire-controlled earphone |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310097751.5A Active CN104080026B (en) | 2013-03-25 | 2013-03-25 | A kind of method of information processing and a kind of line control earphone |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN104080026B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109743606A (en) * | 2018-12-29 | 2019-05-10 | 深圳Tcl数字技术有限公司 | Pronunciation inputting method, speech input device and storage medium |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105786245B (en) * | 2016-02-04 | 2019-01-22 | 网易(杭州)网络有限公司 | A kind of touch screen operation control method and device |
CN106231109A (en) * | 2016-08-11 | 2016-12-14 | 乐视控股(北京)有限公司 | A kind of communication means and terminal |
CN109788116A (en) * | 2017-11-10 | 2019-05-21 | 塞舌尔商元鼎音讯股份有限公司 | The method for detecting voice input pattern |
CN110098851A (en) * | 2019-04-18 | 2019-08-06 | 努比亚技术有限公司 | A kind of sound control method, wearable device and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050276426A1 (en) * | 2004-04-30 | 2005-12-15 | Kenichi Ono | Information processing apparatus, volume control method, recording medium, and program |
CN2859967Y (en) * | 2005-10-28 | 2007-01-17 | 中电赛龙通信研究中心有限责任公司 | New pattern line-control ear phone |
CN101034545A (en) * | 2006-03-08 | 2007-09-12 | 海尔集团公司 | Mobile phone for playing the mixed Kara OK music and its implementation method |
CN101170757A (en) * | 2006-10-26 | 2008-04-30 | 英华达(上海)电子有限公司 | A method and device for controlling text input in mobile device |
CN101370053A (en) * | 2008-09-27 | 2009-02-18 | 深圳华为通信技术有限公司 | Mobile terminal and method for operating mobile terminal by headphone |
CN101873546A (en) * | 2009-04-24 | 2010-10-27 | 王建宁 | Shortcut key type language transmitting and receiving method and mobile telephone thereof |
CN102970416A (en) * | 2012-11-01 | 2013-03-13 | 深圳天珑无线科技有限公司 | Method for achieving multi-functional control of single-button line-control earphone and communication terminal |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102595265B (en) * | 2011-01-05 | 2015-03-25 | 美律实业股份有限公司 | Headset assembly with recording function for communication |
CN102946485B (en) * | 2012-11-19 | 2015-02-11 | Tcl通讯(宁波)有限公司 | Mobile terminal-based earphone detection processing method and mobile terminal |
CN103118191B (en) * | 2013-01-28 | 2015-01-21 | Tcl通讯(宁波)有限公司 | Using control method and mobile terminal for iPhone wire control earphone |
-
2013
- 2013-03-25 CN CN201310097751.5A patent/CN104080026B/en active Active
- 2013-03-25 CN CN201810229742.XA patent/CN108513216B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050276426A1 (en) * | 2004-04-30 | 2005-12-15 | Kenichi Ono | Information processing apparatus, volume control method, recording medium, and program |
CN2859967Y (en) * | 2005-10-28 | 2007-01-17 | 中电赛龙通信研究中心有限责任公司 | New pattern line-control ear phone |
CN101034545A (en) * | 2006-03-08 | 2007-09-12 | 海尔集团公司 | Mobile phone for playing the mixed Kara OK music and its implementation method |
CN101170757A (en) * | 2006-10-26 | 2008-04-30 | 英华达(上海)电子有限公司 | A method and device for controlling text input in mobile device |
CN101370053A (en) * | 2008-09-27 | 2009-02-18 | 深圳华为通信技术有限公司 | Mobile terminal and method for operating mobile terminal by headphone |
CN101873546A (en) * | 2009-04-24 | 2010-10-27 | 王建宁 | Shortcut key type language transmitting and receiving method and mobile telephone thereof |
CN102970416A (en) * | 2012-11-01 | 2013-03-13 | 深圳天珑无线科技有限公司 | Method for achieving multi-functional control of single-button line-control earphone and communication terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109743606A (en) * | 2018-12-29 | 2019-05-10 | 深圳Tcl数字技术有限公司 | Pronunciation inputting method, speech input device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108513216B (en) | 2021-08-17 |
CN104080026B (en) | 2018-03-23 |
CN104080026A (en) | 2014-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104346050B (en) | A kind of information processing method and electronic equipment | |
CN104080026B (en) | A kind of method of information processing and a kind of line control earphone | |
CN106095384B (en) | A kind of effect adjusting method and user terminal | |
CN103257873A (en) | Method and system for controlling intelligent terminal device | |
CN104218963A (en) | Method for executing control operations, wearable device and terminal | |
CN107481721A (en) | Voice interactive method and wearable electronic for wearable electronic | |
CN107995105B (en) | Intelligent terminal with blind operation software | |
CN105323612B (en) | A kind of button multiplexing method and device of television set | |
CN109788387A (en) | Control method, bluetooth headset and the computer readable storage medium of bluetooth headset | |
CN107730208A (en) | The system and method for mobile calls and/or messaging operations is carried out in the game during computer game application performs | |
CN106126161A (en) | Speech play control method, device and the mobile terminal of a kind of mobile terminal | |
CN107491283A (en) | For equipment, method and the graphic user interface of the presentation for dynamically adjusting audio output | |
CN103973542B (en) | A kind of voice information processing method and device | |
CN103197756A (en) | Method and device for inputting operating information of electronic equipment | |
CN106297836B (en) | A kind of audio frequency playing method and terminal | |
CN105824427A (en) | Method and system for volume adjustment on basis of gesture operation | |
CN104010154B (en) | Information processing method and electronic equipment | |
CN109215650A (en) | Voice control method and system based on terminal interface recognition and intelligent terminal | |
CN110086941A (en) | Speech playing method, device and terminal device | |
CN106531168A (en) | Voice recognition method and voice recognition device | |
CN105159648A (en) | Voice information output method and electronic equipment | |
CN105472474B (en) | Game control method and device for connection of smart television and terminal | |
CN113271376A (en) | Communication control method, electronic equipment and earphone | |
CN104750453B (en) | A kind of information processing method and electronic equipment | |
CN103744515B (en) | A kind of information processing method and electronic equipment |
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 |