CN104080026A - Method of information processing and line control earphone - Google Patents

Method of information processing and line control earphone Download PDF

Info

Publication number
CN104080026A
CN104080026A CN201310097751.5A CN201310097751A CN104080026A CN 104080026 A CN104080026 A CN 104080026A CN 201310097751 A CN201310097751 A CN 201310097751A CN 104080026 A CN104080026 A CN 104080026A
Authority
CN
China
Prior art keywords
line control
voice messaging
earphone
control earphone
control operation
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
Application number
CN201310097751.5A
Other languages
Chinese (zh)
Other versions
CN104080026B (en
Inventor
王晓文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201810229742.XA priority Critical patent/CN108513216B/en
Priority to CN201310097751.5A priority patent/CN104080026B/en
Publication of CN104080026A publication Critical patent/CN104080026A/en
Application granted granted Critical
Publication of CN104080026B publication Critical patent/CN104080026B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method of information processing and a line control earphone. The method is applied to the line control earphone provided with a voice input device. The method comprises the following steps of: detecting whether first control operation for the line control earphone is provided when the line control earphone is in an output state; judging whether the first control operation meets a predetermined condition when the first control operation is detected; switching the line control earphone to an input state from the output state when the first control operation meets the predetermined condition; and in response to the control operation, generating and executing a speech acquisition command, which corresponds to the first control operation and is used for acquiring a speech input content.

Description

A kind of method of information processing and a kind of line control earphone
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of method and a kind of line control earphone of information processing.
Background technology
Along with scientific and technical development, electronic equipment has also obtained development at full speed, and the kind of electronic product is also more and more, and people have also enjoyed the various facilities that scientific development brings, people can pass through various types of electronic equipments now, enjoy the comfortable life bringing along with development in science and technology.Such as, people can pass through smart mobile phone, or pad connects earphone and listen to the music, and receive calls, and connect the operation of voice-enabled chat.
But the inventor realizing in the process of invention technical scheme in the embodiment of the present invention, finds that above-mentioned technology at least exists following technical problem:
1, due in prior art by line control earphone during as output equipment, can only suspend line control earphone, open, or the operations such as the plus-minus of sound, make, in the time need to gathering user's voice messaging, need to gather user's voice messaging by the voice acquisition device on the electronic equipment being connected with line control earphone, like this, in the time of this electronic equipment and user distant, just there is the technical problem that can not gather in time user speech information.
2, because the voice messaging in prior art, the voice acquisition device on the electronic equipment by being connected with line control earphone being collected is preserved or the processing of transmission etc., but the voice messaging collecting can not be joined in the voice messaging content that can export having existed, and then just existence can not be by the technical problem of the voice messaging collecting and the voice messaging that can export content mergence.
3,, due to the processing that can only the voice messaging obtaining be preserved or be sent in prior art, just there is the technical problem that can not be converted into the voice messaging obtaining other forms of expression.
Summary of the invention
The embodiment of the present application is by providing a kind of method and a kind of line control earphone of information processing, solve in prior art in the time of electronic equipment and user distant, just there is the technical problem that can not gather in time user speech information, and then realized without controlling electronic equipment, just can gather in time the technique effect of user speech information.
The embodiment of the present application provides a kind of method of information processing, is applied in the line control earphone with voice-input device, and described method comprises: when described line control earphone is during in output state, detect and whether have first control operation to described line control earphone; In the time described the first control operation being detected, judge that whether described the first control operation meets one pre-conditioned; Meet describedly when pre-conditioned in described the first control operation, described line control earphone is switched to input state from described output state; Respond described control operation, generation execution corresponding with described the first control operation for gathering the voice collecting instruction of phonetic entry content.
Further, when described the first control operation be specially the first button of pressing on described line control earphone and unclamp immediately first while pressing unclamp operation, described to judge that whether described the first control operation meets one pre-conditioned, is specially: judge that described first presses loosening operation and whether be less than the first predetermined threshold value from pressing described the first button to the time interval of unclamping described the first button; In the time that the described time interval is less than described the first predetermined threshold value, determine that described first presses unclamp operation for once effectively pressing unclamp operation.
Further, in the described control operation of described response, generation execution corresponding with described the first control operation for after gathering the voice collecting instruction of phonetic entry content, described method also comprises: based on described voice collecting instruction, obtain the first voice messaging by the speech input device on described line control earphone; The second voice messaging that described the first voice messaging and described line control earphone are exported when the output state mixes, and obtains the 3rd voice messaging.
Further, after described acquisition the 3rd voice messaging, described method also comprises: detect whether have the second touch control operation to described the first button, wherein said the second touch control operation to be specially to press described the first button and unclamp second press unclamp operation; Having detected that described second while pressing unclamp operation, respond described second and press unclamp operation, described line control earphone is switched to described output state from described input state, and by described line control earphone, described the 3rd voice messaging is exported.
Further, described will be described by described line control earphone after the 3rd voice messaging exports, described method also comprises: in the time four voice messaging different from described the 3rd voice messaging being detected, generate the interrupt control instruction of an interruption current speech output task, wherein, described current speech output task be specially current carrying out pass through the task that described line control earphone is exported described the 3rd voice messaging; Based on described interrupt control instruction, interrupt described current speech output task, and described the 4th voice messaging is exported by described line control earphone; In the time detecting that described the 4th voice messaging has been exported, generate one and continue to carry out instruction; Carry out instruction based on described continuation, continue described the 3rd voice messaging of output by described line control earphone.
Further, be the first long during by operation of very first time length when described the first control operation is specially the duration of pressing the first knob on described line control earphone, described to judge that whether described the first operation meets one pre-conditioned, is specially: judge whether described very first time length is greater than the first Preset Time length; In the time that described very first time length is greater than described the first Preset Time length, determine that described first is long effectively long by operation by being operating as once.
Further, in described the first control operation of described response, generation execution corresponding with described control operation for after gathering the voice collecting instruction of phonetic entry content, described method also comprises: based on described voice collecting instruction, obtain the 5th voice messaging by described speech input device; Described the 5th voice messaging is carried out to identifying processing.
Further, after described the 5th voice messaging is carried out to identifying processing, described method also comprises: detect and whether have the 3rd control operation that described the first button is unclamped; In the time described the 3rd control operation having been detected, respond described the 3rd control operation, described the 5th voice messaging is converted into character information, and described character information is shown by the display screen of the electronic equipment that is connected with described line control earphone.
On the other hand, the embodiment of the present application provides a kind of line control earphone, and described line control earphone also comprises: detecting unit, for when described line control earphone is during in output state, detects and whether has first control operation to described line control earphone; Judging unit, in the time described the first control operation being detected, judges that whether described the first control operation meets one pre-conditioned; Switch unit, described when pre-conditioned for meeting in described the first control operation, described line control earphone is switched to input state from described output state; Generate performance element, for responding described control operation, generation execution corresponding with described the first control operation for gathering the voice collecting instruction of phonetic entry content.
Further, when described the first control operation be specially the first button of pressing on described line control earphone and unclamp immediately first while pressing unclamp operation, described judging unit specifically comprises: the first judgment sub-unit, for judging that described first presses loosening operation and whether be less than the first predetermined threshold value from pressing described the first button to the time interval of unclamping described the first button; The first determining unit, in the time that the described time interval is less than described the first predetermined threshold value, determines that described first presses unclamp operation for once effectively pressing unclamp operation.
Further, described line control earphone also comprises: the first acquiring unit, for based on described voice collecting instruction, obtains the first voice messaging by described speech input device; Second acquisition unit, mixes for the second voice messaging that described the first voice messaging and described line control earphone are exported when the output state, obtains the 3rd voice messaging.
Further, described line control earphone also comprises: the first detection sub-unit, for detection of whether have the second touch control operation to described the first button, wherein said the second touch control operation to be specially to press described the first button and unclamp second press unclamp operation; The first output unit, for having detected that described second while pressing unclamp operation, respond described second and press unclamp operation, described line control earphone is switched to described output state from described input state, and by described line control earphone, described the 3rd voice messaging is exported.
Further, described line control earphone also comprises: the second detection sub-unit, for in the time four voice messaging different from described the 3rd voice messaging being detected, generate the interrupt control instruction of an interruption current speech output task, wherein, described current speech output task be specially current carrying out pass through the task that described line control earphone is exported described the 3rd voice messaging; Interrupt location, for based on described interrupt control instruction, interrupts described current speech output task, and described the 4th voice messaging is exported by described line control earphone; Generate command unit, in the time detecting that described the 4th voice messaging has been exported, generate one and continue to carry out instruction; The second output unit, for carrying out instruction based on described continuation, continues described the 3rd voice messaging of output by described line control earphone.
Further, be the first long during by operation of very first time length when described the first control operation is specially the duration of pressing the first knob on described line control earphone, described judging unit specifically comprises: the second judgment sub-unit, for judging whether described very first time length is greater than the first Preset Time length; The second determining unit, in the time that described very first time length is greater than described the first Preset Time length, determines that described first is long effectively long by operation by being operating as once.
Further, described line control earphone also comprises: the 3rd acquiring unit, for based on described voice collecting instruction, obtains the 5th voice messaging by described speech input device; Identifying processing unit, for carrying out identifying processing to described the 5th voice messaging.
Further, described line control earphone also comprises: the 3rd detection sub-unit, for detection of whether there being the 3rd control operation that described the first button is unclamped; The 3rd output unit, for in the time described the 3rd control operation having been detected, respond described the 3rd control operation, described the 5th voice messaging is converted into character information, and described character information is shown by the display screen of the electronic equipment that is connected with described line control earphone.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect or advantage:
1, the first touch control operation of line control earphone is met when pre-conditioned detecting owing to having adopted, line control earphone is switched to input state from output state, so, while efficiently solving in prior art by line control earphone as output equipment, can only suspend line control earphone, open, or the operations such as the plus-minus of sound, make in the time need to gathering user's voice messaging, need to gather user's voice messaging by the voice acquisition device on the electronic equipment being connected with line control earphone, like this, in the time of this electronic equipment and user distant, just there is the technical problem that can not gather in time user speech information, and then realize without controlling electronic equipment, just can gather in time the technique effect of user's voice messaging.
2, obtaining the first voice messaging owing to having adopted by the speech input device on line control earphone, the second voice messaging that the first voice messaging and the line control earphone that obtain are exported when the output state mixes, having detected that second while pressing unclamp operation, the technical scheme that the 3rd voice messaging after mixing is exported, so, efficiently solve the processing that the voice messaging that can only collect by the voice acquisition device on the electronic equipment being connected with line control earphone in prior art is preserved or sent, but the voice messaging collecting can not be joined in the voice messaging content of the output having existed, just exist can not with the technical problem of existing voice messaging content mergence, and then realize obtaining and the voice messaging of input has been mixed afterwards to the technique effect that output again mixes voice messaging afterwards with the voice messaging of output before.
3, owing to having adopted the voice messaging to collecting to carry out identifying processing, the technical scheme that the character style that being translated into user needs manifests, efficiently solve the processing that can only the voice messaging obtaining be preserved or be sent in prior art, can not be converted into the technical problem of other forms of expression to the voice messaging obtaining with regard to existing, and then realize the technique effect of other character styles that the voice messaging of acquisition can be converted into user's needs.
Brief description of the drawings
Fig. 1 is the flow chart of a kind of method of information processing in the embodiment of the present application;
Fig. 2 is the module map of a kind of line control earphone in the embodiment of the present application.
Embodiment
The embodiment of the present application is by providing a kind of method and a kind of line control earphone of information processing, solve in prior art in the time of electronic equipment and user distant, just there is the technical problem that can not gather in time user speech information, and then realized without control electronic equipment, just can gather in time user speech information technique effect.
Technical scheme in the embodiment of the present application is to solve above-mentionedly in the time of electronic equipment and user distant, can not gather in time the technical problem of user speech information with regard to existence, and general thought is as follows:
Illustrate by an application scenarios, such as, user listens to the music by the line control earphone being connected on mobile phone, this time, earphone is in output state, after user is to the first button press on line control earphone, first to judge this pressing operation whether can meet one pre-conditioned, for example long by operation, or short by operation etc., after having met different conditions, this line control earphone can be switched to input state from current output state, simultaneously, respond above-mentioned pressing operation, generate a voice collecting instruction that gathers phonetic entry content, gathering of task, the operation of namely inputting.
In order better to understand technique scheme, below in conjunction with Figure of description and concrete execution mode, technique scheme is described in detail.
The embodiment of the present application provides the method for information processing in, is applied in the line control earphone with voice-input device, and as shown in Figure 1, described method comprises:
S10, when described line control earphone is during in output state, detects and whether has first control operation to described line control earphone;
S20, in the time described the first control operation being detected, judges that whether described the first control operation meets one pre-conditioned;
S30, meets describedly when pre-conditioned in described the first control operation, described line control earphone is switched to input state from described output state;
S40, responds described control operation, generation execution corresponding with described the first control operation for gathering the voice collecting instruction of phonetic entry content.
Wherein, the first described control operation can be short in operation, can be also long by operation.
Be described by being operating as example with short below, being short in when operation, judge this short press operation whether meet one pre-conditioned specifically when described the first control operation be specially that the first button of pressing on described line control earphone also unclamps immediately first while pressing unclamp operation, described to judge that whether described the first control operation meets one pre-conditioned, specifically comprises: judge that described first presses loosening operation and whether be less than the first predetermined threshold value from pressing described the first button to the time interval of unclamping described the first button; In the time that the described time interval is less than described the first predetermined threshold value, determine that described first presses unclamp operation for once effectively pressing unclamp operation.
In concrete execution mode, button on line control earphone is operated, first, in the time that user presses button, can detect and press whether there is the duration, in the time having the duration, will judge the length of this duration, for example, the critical condition of setting the duration is 1s, in the time that the duration of pressing is less than 1s, just determine that this presses unclamp operation is once effectively to press unclamp operation, namely once short operation of pressing.
Meet short by condition after, can carry out S30, line control earphone is switched to input state from described output state.Then carry out S40, respond this first control operation, generation execution corresponding with described the first control operation for gathering the voice collecting instruction of phonetic entry content.
In concrete execution mode, output state is changed into input state, can be to have suspended current output task, can be also not suspend current output task, can the content that need to input user of instruction based on gathering gather with that.
After carrying out S40, namely based on after short control operation of pressing, generate carry out with this short by control operation corresponding for after gathering the voice collecting instruction of phonetic entry content, the method also comprises: based on described voice collecting instruction, obtain the first voice messaging by the speech input device on described line control earphone; The second voice messaging that described the first voice messaging and described line control earphone are exported when the output state mixes, and obtains the 3rd voice messaging.
In concrete execution mode, gather user's phonetic entry content, for can directly gathering user's voice messaging by the speech input device on line control earphone, simultaneously, before the input content collecting is joined in output content, form another content different from output content before.For example, user, in the time listening a song, finds to have lacked partial content, and the operating operation that can input in the place that lacks partial content, adds content supplementary needs in the song that lacks content, thereby generates complete song.
Above-mentioned obtained the 3rd voice messaging after, described method also comprises: detect whether have the second touch control operation to described the first button, wherein said the second touch control operation to be specially to press described the first button and unclamp second press unclamp operation; Having detected that described second while pressing unclamp operation, respond described second and press unclamp operation, described line control earphone is switched to described output state from described input state, and by described line control earphone, described the 3rd voice messaging is exported.
In concrete execution mode, after user has determined the input content that now will not gather, detect on this line control earphone, whether there is one with the same pressing operation of above-mentioned the first control operation by line control earphone, be less than the time period of 1s to the time interval of unclamping this first button from pressing the first button, after such a control operation having been detected, just by above-mentioned the 3rd voice messaging obtaining, namely through the voice messaging content after the output content that script is being exported and the voice messaging content mix collecting by input unit, export by line control earphone.Therefore be exactly now, through the content after mixed processing by secondary short voice messaging content obtaining by operation.
Through above-mentioned the voice messaging of output is mixed with the voice messaging of input after, obtain the voice messaging after mixing, this way can be imperfect in the song of user's uppick, or broadcast imperfect etc. need to interpolation in the process of other guide, facilitated user to listen to some the operation that content is modified.
Certainly, after the mixing voice information that output obtains, the method of this information processing also comprises: in the time four voice messaging different from described the 3rd voice messaging being detected, generate the interrupt control instruction of an interruption current speech output task, wherein, described current speech output task be specially current carrying out pass through the task that described line control earphone is exported described the 3rd voice messaging; Based on described interrupt control instruction, interrupt described current speech output task, and described the 4th voice messaging is exported by described line control earphone; In the time detecting that described the 4th voice messaging has been exported, generate one and continue to carry out instruction; Carry out instruction based on described continuation, continue described the 3rd voice messaging of output by described line control earphone.
In concrete execution mode, if in output mixing voice information, in the process of the 3rd voice messaging, detect that another voice messaging need to export in time, be referred to as for the time being the 4th voice messaging, so just point out this line control earphone to need output by instant messages, after line control earphone receives such prompting, can control and self generate an interrupt control instruction that interrupts current speech output task, here said current speech output task specifically current carrying out pass through the task that line control earphone is exported the 3rd voice messaging.For example, when user is connected with line control earphone and is listened to a song by mobile phone, now line control earphone is just in output state, and meanwhile, mobile phone receives an instant messages, for example to have note to arrive, so, this short message can point out line control earphone to have short message, therefore, line control earphone, after receiving such prompting, generates an interrupt instruction of interrupting the task of current output song.
After obtaining such interrupt instruction, line control earphone will be carried out the content of interrupting current speech output based on such instruction, simultaneously, the prompting voice of the instant voice information of receiving are exported by line control earphone, for example, above-mentioned after generating the instruction of the song of interrupting current broadcasting, just the current song of playing is suspended, the sound of the prompting message of note or incoming call is exported by line control earphone simultaneously.
The voice prompt of note or incoming call can't last long, for example short message prompt tones for once or twice, time is of short duration, after these prompt tones finish, line control earphone can detect the prompt tone end of output of this output in time, at this moment, line control earphone will generate one and continue the instruction of carrying out, and the instruction that this continuation is carried out is for carrying out, the output resume not completing before timely prompt tone output to be exported.For example, above-mentioned after short message prompt tones finishes, line control earphone can recognize this short message prompt tones and be through with, thereby generates the task of a continuation execution played songs, the song not playing is followed to the place of interrupting last time and continue to play.
The timely like this user's note of informing, or the information of incoming call, make no matter user is in carrying out the task of any other output, can both not can miss the prompting of some information, and convenient for users to use, user experiences also better.
Be described by being operating as example with long below:
Be that input state is to realize by short operation of pressing the first button on line control earphone at above-mentioned switching output state, be the first long during by operation of very first time length when this first control operation is specially the duration of pressing the first button on line control earphone, judge that whether this first operation meets one pre-conditioned, be specially: judge whether described very first time length is greater than the first Preset Time length; In the time that described very first time length is greater than described the first Preset Time length, determine that described first is long effectively long by operation by being operating as once.
In concrete execution mode, the button on line control earphone is operated, in the time that user presses button, the duration that can detect this button, for example, the setting duration is 2s, exceed 2s when the duration of pressing, just determine that this pressing operation is once effectively long by operation.
As long as while having button on pair line control earphone to have the operation of pressing, just have the instruction that state switches, therefore, in the time having this length by operation, the voice messaging that can input user's needs gather.
Generation and execution corresponding with described control operation for after carrying out the voice collecting instruction that gathers phonetic entry content, the method of this information processing also comprises: based on described voice collecting instruction, obtain the 5th voice messaging by described speech input device; Described the 5th voice messaging is carried out to identifying processing.
In concrete execution mode, this step with can be identical at the short voice messaging obtaining by when operation, that is to say the voice messaging that gathers user by operation by short, in this step, can be identical voice messaging by the long voice messaging that gathers user by operation, but by the long voice messaging obtaining by operation be the processing of the identification carried out.The process of this identifying processing realizes by software.
After the voice messaging collecting having been carried out to identification, the method also comprises: detect and whether have the 3rd control operation that described the first button is unclamped; In the time described the 3rd control operation having been detected, respond described the 3rd control operation, described the 5th voice messaging is converted into character information, and described character information is shown by the display screen of the electronic equipment that is connected with described line control earphone.
In concrete execution mode, after obtaining such voice messaging, the processing that this voice messaging is identified, in the meantime, user does not unclamp the pressing operation to button, in the time that at this moment user unclamps this button, line control earphone will respond this operation of unclamping, the voice messaging recognizing is transformed, certainly, the programming of the conversion essential factor software here and different, the voice messaging that obtains user when example is Chinese information, so, just the voice messaging now obtaining can be converted into Chinese information by the electronic equipment being connected with line control earphone, the display screen that is for example mobile phone shows, if obtaining user's voice messaging is english information, so just the English voice messaging obtaining can be converted into English character and shows by mobile phone display screen, certainly, can be also obtain be user's Chinese speech information, after conversion, be presented on mobile phone display screen by the form of English character.The specifically conversion of which kind of form, does not do concrete restriction in this application.
By like this voice messaging being converted into character information afterwards through line control earphone, make user can obtain corresponding needed Word message, the user-friendly user of grade experiences comparatively good.
Based on same inventive concept, the present invention provides a kind of line control earphone by another embodiment of the application, comprise voice-input device, described line control earphone also comprises: detecting unit 10, for when described line control earphone is during in output state, whether detection has first control operation to described line control earphone; Judging unit 20, in the time described the first control operation being detected, judges that whether described the first control operation meets one pre-conditioned; Switch unit 30, described when pre-conditioned for meeting in described the first control operation, described line control earphone is switched to input state from described output state; Generate performance element 40, for responding described control operation, generation execution corresponding with described the first control operation for gathering the voice collecting instruction of phonetic entry content.
Further, when described the first control operation be specially the first button of pressing on described line control earphone and unclamp immediately first while pressing unclamp operation, described judging unit 20 specifically comprises: the first judgment sub-unit, for judging that described first presses loosening operation and whether be less than the first predetermined threshold value from pressing described the first button to the time interval of unclamping described the first button; The first determining unit, in the time that the described time interval is less than described the first predetermined threshold value, determines that described first presses unclamp operation for once effectively pressing unclamp operation.
Further, described line control earphone also comprises: the first acquiring unit, for based on described voice collecting instruction, obtains the first voice messaging by described speech input device; Second acquisition unit, mixes for the second voice messaging that described the first voice messaging and described line control earphone are exported when the output state, obtains the 3rd voice messaging.
Further, described line control earphone also comprises: the first detection sub-unit, for detection of whether have the second touch control operation to described the first button, wherein said the second touch control operation to be specially to press described the first button and unclamp second press unclamp operation; The first output unit, for having detected that described second while pressing unclamp operation, respond described second and press unclamp operation, described line control earphone is switched to described output state from described input state, and by described line control earphone, described the 3rd voice messaging is exported.
Further, described line control earphone also comprises: the second detection sub-unit, for in the time four voice messaging different from described the 3rd voice messaging being detected, generate the interrupt control instruction of an interruption current speech output task, wherein, described current speech output task be specially current carrying out pass through the task that described line control earphone is exported described the 3rd voice messaging; Interrupt location, for based on described interrupt control instruction, interrupts described current speech output task, and described the 4th voice messaging is exported by described line control earphone; Generate command unit, in the time detecting that described the 4th voice messaging has been exported, generate one and continue to carry out instruction; The second output unit, for carrying out instruction based on described continuation, continues described the 3rd voice messaging of output by described line control earphone.
Further, be the first long during by operation of very first time length when described the first control operation is specially the duration of pressing the first knob on described line control earphone, described judging unit specifically comprises: the second judgment sub-unit, for judging whether described very first time length is greater than the first Preset Time length; The second determining unit, in the time that described very first time length is greater than described the first Preset Time length, determines that described first is long effectively long by operation by being operating as once.
Further, described line control earphone also comprises: the 3rd acquiring unit, for based on described voice collecting instruction, obtains the 5th voice messaging by described speech input device; Identifying processing unit, for carrying out identifying processing to described the 5th voice messaging.
Further, described line control earphone also comprises: the 3rd detection sub-unit, for detection of whether there being the 3rd control operation that described the first button is unclamped; The 3rd output unit, for in the time described the 3rd control operation having been detected, respond described the 3rd control operation, described the 5th voice messaging is converted into character information, and described character information is shown by the display screen of the electronic equipment that is connected with described line control earphone.
The line control earphone that the line control earphone of introducing due to the present embodiment adopts for implementing the method for a kind of information processing of the application, so method of the information processing based on introducing in the embodiment of the present application, those skilled in the art can understand the present embodiment electronic equipment embodiment with and various version, so introduce no longer in detail for this line control earphone at this.As long as those skilled in the art implement the line control earphone that the method for the application's information processing adopts, all belong to the scope of the application institute wish protection.
One or more technical schemes that the application provides, at least have following technique effect or advantage:
1, the first touch control operation of line control earphone is met when pre-conditioned detecting owing to having adopted, line control earphone is switched to input state from output state, so, while efficiently solving in prior art by line control earphone as output equipment, can only suspend line control earphone, open, or the operations such as the plus-minus of sound, make in the time need to gathering user's voice messaging, need to gather user's voice messaging by the voice acquisition device on the electronic equipment being connected with line control earphone, like this, in the time of this electronic equipment and user distant, just there is the technical problem that can not gather in time user speech information, and then realize without controlling electronic equipment, just can gather in time the technique effect of user's voice messaging.
2, obtaining the first voice messaging owing to having adopted by the speech input device on line control earphone, the second voice messaging that the first voice messaging and the line control earphone that obtain are exported when the output state mixes, having detected that second while pressing unclamp operation, the technical scheme that the 3rd voice messaging after mixing is exported, so, efficiently solve the processing that the voice messaging that can only collect by the voice acquisition device on the electronic equipment being connected with line control earphone in prior art is preserved or sent, but the voice messaging collecting can not be joined in the voice messaging content of the output having existed, just exist can not with the technical problem of existing voice messaging content mergence, and then realize obtaining and the voice messaging of input has been mixed afterwards to the technique effect that output again mixes voice messaging afterwards with the voice messaging of output before.
3, owing to having adopted the voice messaging to collecting to carry out identifying processing, the technical scheme that the character style that being translated into user needs manifests, efficiently solve the processing that can only the voice messaging obtaining be preserved or be sent in prior art, can not be converted into the technical problem of other forms of expression to the voice messaging obtaining with regard to existing, and then realize the technique effect of other character styles that the voice messaging of acquisition can be converted into user's needs.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computer or other programmable data processing device produces the device for realizing the function of specifying at flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame on computer or other programmable devices.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and amendment to these embodiment.So claims are intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (16)

1. a method for information processing, is applied in the line control earphone with voice-input device, it is characterized in that, described method comprises:
When described line control earphone is during in output state, detect and whether have first control operation to described line control earphone;
In the time described the first control operation being detected, judge that whether described the first control operation meets one pre-conditioned;
Meet describedly when pre-conditioned in described the first control operation, described line control earphone is switched to input state from described output state;
Respond described control operation, generation execution corresponding with described the first control operation for gathering the voice collecting instruction of phonetic entry content.
2. the method for claim 1, it is characterized in that, when described the first control operation be specially the first button of pressing on described line control earphone and unclamp immediately first while pressing unclamp operation, described to judge whether described the first control operation meets one pre-conditioned, is specially:
Judge that described first presses loosening operation and whether be less than the first predetermined threshold value from pressing described the first button to the time interval of unclamping described the first button;
In the time that the described time interval is less than described the first predetermined threshold value, determine that described first presses unclamp operation for once effectively pressing unclamp operation.
3. method as claimed in claim 2, is characterized in that, in the described control operation of described response, generation execution corresponding with described the first control operation for after gathering the voice collecting instruction of phonetic entry content, described method also comprises:
Based on described voice collecting instruction, obtain the first voice messaging by the speech input device on described line control earphone;
The second voice messaging that described the first voice messaging and described line control earphone are exported when the output state mixes, and obtains the 3rd voice messaging.
4. method as claimed in claim 3, is characterized in that, after described acquisition the 3rd voice messaging, described method also comprises:
Detect whether have the second touch control operation to described the first button, wherein said the second touch control operation to be specially to press described the first button and unclamp second press unclamp operation;
Having detected that described second while pressing unclamp operation, respond described second and press unclamp operation, described line control earphone is switched to described output state from described input state, and by described line control earphone, described the 3rd voice messaging is exported.
5. method as claimed in claim 4, is characterized in that, described will be described by described line control earphone after the 3rd voice messaging exports, described method also comprises:
In the time four voice messaging different from described the 3rd voice messaging being detected, generate the interrupt control instruction of an interruption current speech output task, wherein, described current speech output task be specially current carrying out pass through the task that described line control earphone is exported described the 3rd voice messaging;
Based on described interrupt control instruction, interrupt described current speech output task, and described the 4th voice messaging is exported by described line control earphone;
In the time detecting that described the 4th voice messaging has been exported, generate one and continue to carry out instruction;
Carry out instruction based on described continuation, continue described the 3rd voice messaging of output by described line control earphone.
6. the method for claim 1, it is characterized in that, be the first long during by operation of very first time length when described the first control operation is specially the duration of pressing the first knob on described line control earphone, described to judge whether described the first operation meets one pre-conditioned, is specially:
Judge whether described very first time length is greater than the first Preset Time length;
In the time that described very first time length is greater than described the first Preset Time length, determine that described first is long effectively long by operation by being operating as once.
7. method as claimed in claim 6, is characterized in that, in described the first control operation of described response, generation execution corresponding with described control operation for after gathering the voice collecting instruction of phonetic entry content, described method also comprises:
Based on described voice collecting instruction, obtain the 5th voice messaging by described speech input device;
Described the 5th voice messaging is carried out to identifying processing.
8. method as claimed in claim 7, is characterized in that, after described the 5th voice messaging is carried out to identifying processing, described method also comprises:
Detect and whether have the 3rd control operation that described the first button is unclamped;
In the time described the 3rd control operation having been detected, respond described the 3rd control operation, described the 5th voice messaging is converted into character information, and described character information is shown by the display screen of the electronic equipment that is connected with described line control earphone.
9. a line control earphone, comprises voice-input device, it is characterized in that, described line control earphone also comprises:
Detecting unit, for when described line control earphone is during in output state, detects and whether has first control operation to described line control earphone;
Judging unit, in the time described the first control operation being detected, judges that whether described the first control operation meets one pre-conditioned;
Switch unit, described when pre-conditioned for meeting in described the first control operation, described line control earphone is switched to input state from described output state;
Generate performance element, for responding described control operation, generation execution corresponding with described the first control operation for gathering the voice collecting instruction of phonetic entry content.
10. line control earphone as claimed in claim 9, is characterized in that, when described the first control operation be specially the first button of pressing on described line control earphone and unclamp immediately first while pressing unclamp operation, described judging unit specifically comprises:
The first judgment sub-unit, for judging that described first presses loosening operation and whether be less than the first predetermined threshold value from pressing described the first button to the time interval of unclamping described the first button;
The first determining unit, in the time that the described time interval is less than described the first predetermined threshold value, determines that described first presses unclamp operation for once effectively pressing unclamp operation.
11. line control earphones as claimed in claim 9, is characterized in that, described line control earphone also comprises:
The first acquiring unit, for based on described voice collecting instruction, obtains the first voice messaging by described speech input device;
Second acquisition unit, mixes for the second voice messaging that described the first voice messaging and described line control earphone are exported when the output state, obtains the 3rd voice messaging.
12. line control earphones as claimed in claim 11, is characterized in that, described line control earphone also comprises:
The first detection sub-unit, for detection of whether have the second touch control operation to described the first button, wherein said the second touch control operation to be specially to press described the first button and unclamp second press unclamp operation;
The first output unit, for having detected that described second while pressing unclamp operation, respond described second and press unclamp operation, described line control earphone is switched to described output state from described input state, and by described line control earphone, described the 3rd voice messaging is exported.
13. line control earphones as claimed in claim 11, is characterized in that, described line control earphone also comprises:
The second detection sub-unit, for in the time four voice messaging different from described the 3rd voice messaging being detected, generate the interrupt control instruction of an interruption current speech output task, wherein, described current speech output task be specially current carrying out pass through the task that described line control earphone is exported described the 3rd voice messaging;
Interrupt location, for based on described interrupt control instruction, interrupts described current speech output task, and described the 4th voice messaging is exported by described line control earphone;
Generate command unit, in the time detecting that described the 4th voice messaging has been exported, generate one and continue to carry out instruction;
The second output unit, for carrying out instruction based on described continuation, continues described the 3rd voice messaging of output by described line control earphone.
14. line control earphones as claimed in claim 9, is characterized in that, are the first long during by operation of very first time length when described the first control operation is specially the duration of pressing the first knob on described line control earphone, and described judging unit specifically comprises:
The second judgment sub-unit, for judging whether described very first time length is greater than the first Preset Time length;
The second determining unit, in the time that described very first time length is greater than described the first Preset Time length, determines that described first is long effectively long by operation by being operating as once.
15. line control earphones as claimed in claim 9, is characterized in that, described line control earphone also comprises:
The 3rd acquiring unit, for based on described voice collecting instruction, obtains the 5th voice messaging by described speech input device;
Identifying processing unit, for carrying out identifying processing to described the 5th voice messaging.
16. line control earphones as claimed in claim 15, is characterized in that, described line control earphone also comprises:
The 3rd detection sub-unit, for detection of whether there being the 3rd control operation that described the first button is unclamped;
The 3rd output unit, for in the time described the 3rd control operation having been detected, respond described the 3rd control operation, described the 5th voice messaging is converted into character information, and described character information is shown by the display screen of the electronic equipment that is connected with described line control earphone.
CN201310097751.5A 2013-03-25 2013-03-25 A kind of method of information processing and a kind of line control earphone Active CN104080026B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810229742.XA CN108513216B (en) 2013-03-25 2013-03-25 Information processing method and wire-controlled earphone
CN201310097751.5A CN104080026B (en) 2013-03-25 2013-03-25 A kind of method of information processing and a kind of line control earphone

Applications Claiming Priority (1)

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

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201810229742.XA Division CN108513216B (en) 2013-03-25 2013-03-25 Information processing method and wire-controlled earphone

Publications (2)

Publication Number Publication Date
CN104080026A true CN104080026A (en) 2014-10-01
CN104080026B CN104080026B (en) 2018-03-23

Family

ID=51601033

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810229742.XA Active CN108513216B (en) 2013-03-25 2013-03-25 Information processing method and wire-controlled earphone
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

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810229742.XA Active CN108513216B (en) 2013-03-25 2013-03-25 Information processing method and wire-controlled earphone

Country Status (1)

Country Link
CN (2) CN108513216B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786245A (en) * 2016-02-04 2016-07-20 网易(杭州)网络有限公司 Operating control method and device for touch screen
CN106231109A (en) * 2016-08-11 2016-12-14 乐视控股(北京)有限公司 A kind of communication means and terminal
CN109743606A (en) * 2018-12-29 2019-05-10 深圳Tcl数字技术有限公司 Pronunciation inputting method, speech input device and storage medium
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 (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN102595265A (en) * 2011-01-05 2012-07-18 美律实业股份有限公司 Headset assembly with recording function for communication
CN102946485A (en) * 2012-11-19 2013-02-27 Tcl通讯(宁波)有限公司 Mobile terminal-based earphone detection processing method and mobile terminal
CN102970416A (en) * 2012-11-01 2013-03-13 深圳天珑无线科技有限公司 Method for achieving multi-functional control of single-button line-control earphone and communication terminal
CN103118191A (en) * 2013-01-28 2013-05-22 Tcl通讯(宁波)有限公司 Using control method and mobile terminal for iPhone wire control earphone

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4103846B2 (en) * 2004-04-30 2008-06-18 ソニー株式会社 Information processing apparatus, volume control method, recording medium, and program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN102595265A (en) * 2011-01-05 2012-07-18 美律实业股份有限公司 Headset assembly with recording function for communication
CN102970416A (en) * 2012-11-01 2013-03-13 深圳天珑无线科技有限公司 Method for achieving multi-functional control of single-button line-control earphone and communication terminal
CN102946485A (en) * 2012-11-19 2013-02-27 Tcl通讯(宁波)有限公司 Mobile terminal-based earphone detection processing method and mobile terminal
CN103118191A (en) * 2013-01-28 2013-05-22 Tcl通讯(宁波)有限公司 Using control method and mobile terminal for iPhone wire control earphone

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786245A (en) * 2016-02-04 2016-07-20 网易(杭州)网络有限公司 Operating control method and device for touch screen
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
CN109743606A (en) * 2018-12-29 2019-05-10 深圳Tcl数字技术有限公司 Pronunciation inputting method, speech input device and storage medium
CN110098851A (en) * 2019-04-18 2019-08-06 努比亚技术有限公司 A kind of sound control method, wearable device and computer readable storage medium

Also Published As

Publication number Publication date
CN108513216A (en) 2018-09-07
CN104080026B (en) 2018-03-23
CN108513216B (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN102611961B (en) Method and device for switching multi-channel audios of terminal
CN104080026A (en) Method of information processing and line control earphone
CN112492442A (en) Connection switching method, device, equipment and storage medium of Bluetooth headset
CN104571498A (en) Application program starting method
CN108024128B (en) Control method and device for Bluetooth music playing, terminal equipment and storage medium
CN105630586A (en) Information processing method and electronic device
CN105138110A (en) Voice interaction method and voice interaction device
CN104898950B (en) music control method and system
CN106126161A (en) Speech play control method, device and the mobile terminal of a kind of mobile terminal
CN103823655A (en) Audio output method, electronic equipment and first audio output device
CN106162446A (en) Audio frequency playing method, device and earphone
CN105719672A (en) Recording scene mode switching method and recording scene mode switching mode device
CN109686372B (en) Resource playing control method and device
CN104536781A (en) Terminal
CN103677582A (en) Method for controlling electronic device, and electronic device
CN108234768B (en) Resource switching control method and device and terminal equipment
CN105159648A (en) Voice information output method and electronic equipment
CN106231122A (en) A kind of voice messaging player method, controller and system
CN104125339B (en) Mobile terminal radio channel switching method and system
CN104023117A (en) Method for information processing and electronic equipment
CN103905851A (en) Multimedia resource playing method and video adapter
CN104168386B (en) Double card changing method and device
CN109068232A (en) A kind of interaction control method of combination sound box, device and combination sound box
CN105392087A (en) Loudspeaker box management method and user terminal
CN104750453B (en) A kind of information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant