CN104080026B - 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 PDF

Info

Publication number
CN104080026B
CN104080026B CN201310097751.5A CN201310097751A CN104080026B CN 104080026 B CN104080026 B CN 104080026B CN 201310097751 A CN201310097751 A CN 201310097751A CN 104080026 B CN104080026 B CN 104080026B
Authority
CN
China
Prior art keywords
line control
earphone
voice messaging
voice
control earphone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310097751.5A
Other languages
Chinese (zh)
Other versions
CN104080026A (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 CN201310097751.5A priority Critical patent/CN104080026B/en
Priority to CN201810229742.XA priority patent/CN108513216B/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 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, and methods described includes:When the line control earphone is in output state, first control operation to the line control earphone is detected whether;When detecting first control operation, judge whether first control operation meets a preparatory condition;When first control operation meets the preparatory condition, the line control earphone is switched into input state from the output state;The control operation is responded, generates and performs the voice collecting instruction that is used to gather phonetic entry content corresponding with first control operation.

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, more particularly to a kind of method of information processing and a kind of line control earphone.
Background technology
With the continuous development of scientific technology, electronic equipment has also obtained development at full speed, and the species 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 earphone and be entered by smart mobile phone, or pad Row listens music, 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 the 1st, due to being used as output equipment by line control earphone in the prior art, line control earphone can only be suspended, opened Open, or plus-minus of sound etc. operation so that when needing the voice messaging to user to be acquired, it is necessary to by with line traffic control ear Machine connection electronic equipment on voice acquisition device the voice messaging of user is acquired, so, when the electronic equipment with User it is distant when, there is the technical problem that can not gather user speech information in time.
2nd, due to being collected in the prior art to the voice acquisition device on the electronic equipment by being connected with line control earphone The voice messaging processing that is preserved or sent etc., the voice messaging collected can not be but added to it is existing can be with In the speech information content of output, and then there is can not be by the voice messaging collected and the speech information content that can be exported The technical problem of fusion.
3rd, due to the processing that the voice messaging of acquisition can only be preserved or sent in the prior art, there is not To the voice messaging of acquisition can be converted into the technical problem of other forms of expression.
The content of the invention
The embodiment of the present application solves in the prior art by a kind of method for providing information processing and a kind of line control earphone When electronic equipment and user it is distant when, there is the technical problem that can not gather user speech information in time, Jin Ershi Show without control electronics, it becomes possible to the technique effect of collection user speech information in time.
The embodiment of the present application provides a kind of method of information processing, applied to the line control earphone with voice-input device In, methods described includes:When the line control earphone is in output state, one is detected whether to the of the line control earphone One control operation;When detecting first control operation, judge whether first control operation meets a preparatory condition; When first control operation meets the preparatory condition, the line control earphone is switched into input shape from the output state State;The control operation is responded, generates and performs and corresponding with first control operation be used to gather phonetic entry content Voice collecting instruction.
Further, when first control operation specially presses the first button on the line control earphone and immediately pine It is described to judge whether first control operation meets a preparatory condition when operation is unclamped in the first pressing opened, be 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 effectively pressing.
Further, in the response control operation, generate and perform corresponding with first control operation After voice collecting for gathering phonetic entry content instructs, methods described also includes:Instructed, 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 during output state and mixed, and obtains the 3rd voice messaging.
Further, after the 3rd voice messaging of the acquisition, methods described also includes:Detect whether to described Second touch control operation of one button, pressed wherein second touch control operation is specially second for pressing first button and unclamping 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 switches to the output state from the input state, and by the line control earphone that the 3rd voice messaging is defeated Go out.
Further, it is described by the line control earphone by the 3rd voice messaging export after, methods described is also Including:When detecting four voice messagings different from the 3rd voice messaging, current speech output is interrupted in generation one The interrupt control instruction of task, wherein, the current speech output task is specially to be currently executing by the line traffic control The task that earphone is exported the 3rd voice messaging;Based on the interrupt control instruction, it is defeated to interrupt the current speech Go out on missions, and the 4th voice messaging is exported by the line control earphone;Detecting the 4th voice messaging When output is completed, generation one continues executing with instruction;Instruction is continued executing with based on described, institute is continued to output by the line control earphone State the 3rd voice messaging.
Further, when first control operation be specially press the first knob on the line control earphone it is lasting when Between for very first time length the first long-press operation when, it is described judge it is described first operate whether meet a preparatory condition, specifically For:Judge whether the very first time length is more than the first predetermined time period;It is more than described the in the very first time length During one predetermined time period, determine the first long-press operation for once effective long-press operation.
Further, in response first control operation, generate and perform corresponding with the control operation After voice collecting for gathering phonetic entry content instructs, methods described also includes:Instructed, led to based on the voice collecting Cross the speech input device and obtain the 5th voice messaging;Processing is identified to the 5th voice messaging.
Further, after processing is identified to the 5th voice messaging, methods described also includes:Detect whether There is the 3rd control operation unclamped to first button;When having detected three control operation, response the described 3rd Control operation, the 5th voice messaging is converted into 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 also includes:Detection unit, use In when the line control earphone is in output state, first control operation to the line control earphone is detected whether;Sentence Disconnected unit, for when detecting first control operation, judging whether first control operation meets a preparatory condition; Switch unit, for when first control operation meets the preparatory condition, by the line control earphone from the output shape State switches to input state;Execution unit is generated, for responding the control operation, generates and performs and grasped with the described first control Make the corresponding voice collecting instruction for being used to gather phonetic entry content.
Further, when first control operation specially presses the first button on the line control earphone and immediately pine 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 determining unit, for when the time interval is less than first predetermined threshold value, determining that behaviour is unclamped in first pressing As once effectively operation is unclamped in pressing.
Further, the line control earphone also includes:First acquisition unit, for being instructed based on the voice collecting, lead to Cross the speech input device and obtain 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 during output state and mixed, and obtains the 3rd voice messaging.
Further, the line control earphone also 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 Operation, the line control earphone is switched into the output state from the input state, and by the line control earphone by described in 3rd voice messaging exports.
Further, the line control earphone also includes:Second detection sub-unit, detected and the 3rd language for working as When message ceases four different voice messagings, the interrupt control instruction of current speech output task is interrupted in generation one, wherein, it is described Current speech output task is specially currently executing by the line control earphone that the 3rd voice messaging progress is defeated Going out for task;Interrupt location, for based on the interrupt control instruction, interrupting the current speech output task, and will described in 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, generation one continues executing with instruction;Second output unit, for continuing executing with instruction based on described, pass through institute State line control earphone and continue to output the 3rd voice messaging.
Further, when first control operation be specially press the first knob on the line control earphone it is lasting when Between for very first time length the first long-press operation when, the judging unit specifically includes:Second judgment sub-unit, for judging Whether the very first time length is more than the first predetermined time period;Second determining unit, in the very first time length During more than first predetermined time period, determine the first long-press operation for once effective long-press operation.
Further, the line control earphone also includes:3rd acquiring unit, for being instructed based on the voice collecting, lead to Cross the speech input device and obtain the 5th voice messaging;Identifying processing unit, for knowing to the 5th voice messaging Manage in other places.
Further, the line control earphone also includes:3rd detection sub-unit, for detecting whether have to described first by The 3rd control operation that button unclamps;3rd output unit, for when having detected three control operation, response described the Three control operations, the 5th voice messaging is converted into 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.
The one or more technical schemes provided in the embodiment of the present application, have at least the following technical effects or advantages:
1st, as a result of when detecting that the first touch control operation to line control earphone meets preparatory condition, by line control earphone Input state is switched to from output state, so, efficiently solve when being used as output equipment by line control earphone in the prior art, Line control earphone can only be suspended, opened, or the operation such as plus-minus of sound so that enter when needing the voice messaging to user , it is necessary to be carried out by the voice acquisition device on the electronic equipment that is connected with line control earphone to the voice messaging of user during row collection Collection, so, when the electronic equipment and user it is distant when, there is the technology that can not gather user speech information in time Problem, and then realize the technique effect that without control electronics, can just gather the voice messaging of user in time.
2nd, the first voice messaging is obtained as a result of the speech input device on by 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, technical scheme that the 3rd voice messaging after mixing is exported, so, efficiently solve existing skill It can only be preserved in art by the voice messaging that the voice acquisition device on the electronic equipment that is connected with line control earphone collects Or the processing sent, the voice messaging collected can not be but added in the speech information content of existing output, just In the presence of the technical problem that can not be merged with existing speech information content, and then realize and can obtain the voice messaging of input The technique effect of the voice messaging after mixing is exported after being mixed with the voice messaging exported before again.
3rd, processing is identified as a result of the voice messaging to collecting, is translated into the character shape of user's needs The technical scheme that formula shows, efficiently solve the place that the voice messaging of acquisition can only be preserved or sent in the prior art Reason, there is to the voice messaging of acquisition be converted into the technical problem of other forms of expression, and then realize can So that the voice messaging of acquisition to be converted into the technique effect of other character styles of user's needs.
Brief 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.
Embodiment
The embodiment of the present application solves in the prior art by a kind of method for providing information processing and a kind of line control earphone When electronic equipment and user it is distant when, there is the technical problem that can not gather user speech information in time, Jin Ershi Show without control electronics, it becomes possible to the technique effect of collection user speech information in time.
Technical scheme in the embodiment of the present application for solve it is above-mentioned when electronic equipment and user it is distant when, there is The technical problem of user speech information can not be gathered in time, and general thought is as follows:
Illustrated by an application scenarios, such as, user listens 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 preparatory condition, and e.g. long-press operates, or short-press operation etc., is meeting not After same condition, the line control earphone can be switched to input state from current output state, meanwhile, respond above-mentioned press Press operation, the voice collecting instruction of a collection phonetic entry content is generated, come being acquired for task, that is, is inputted Operation.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upper Technical scheme is stated to be described in detail.
The method that the embodiment of the present application provides information processing in one, applied to the line control earphone with voice-input device In, as shown in figure 1, methods described includes:
S10, when the line control earphone is in output state, detect whether first control to the line control earphone System operation;
S20, when detecting first control operation, judge whether first control operation meets a default bar Part;
S30, when first control operation meets the preparatory condition, by the line control earphone from the output state Switch to input state;
S40, the control operation is responded, generate and perform and corresponding with first control operation be used to gather voice The voice collecting instruction of input content.
Wherein, the first described control operation can be short-press operation or long-press operation.
It is described below so that short-press operates as an example, when being short-press operation, judges whether short-press operation meets that one is pre- If condition is specifically when first control operation is specially what is pressed the first button on the line control earphone and unclamp immediately It is described to judge whether first control operation meets a preparatory condition when operation is unclamped in first pressing, specifically include:Judge institute State the first pressing and loosen 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, determine that first pressing unclamps operation for once 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 performed, line control earphone is switched into input state from the output state. Then S40 is performed, responds this first control operation, generates and performs and corresponding with first control operation be used to gather The voice collecting instruction of phonetic entry content.
In a particular embodiment, output state changes into input state, can suspend current output task, Can also not suspend current output task, with that can the instruction based on collection need the content that inputs to carry out user Collection.
After S40 is performed, that is, after the control operation based on short-press, generation performs and the short-press control operation pair After the voice collecting instruction for being used to gather phonetic entry content answered, this method also includes:Instructed based on the voice collecting, 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 during output state and mixed, and obtains the 3rd voice messaging.
In a particular embodiment, the phonetic entry content of user is gathered, for can directly pass through line control earphone Speech input device the voice messaging of user is acquired, meanwhile, by the input content collected be added to before export In content, another content different from exporting content before is formed.For example, user, when listening a song, discovery lacks Partial content, the operation operation that can be inputted in the place for lacking partial content, it would be desirable to which the content of supplement, which adds, to be lacked In the song of content, so as to generate complete song.
It is above-mentioned obtain the 3rd voice messaging after, methods described also includes:Detect 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 The output state is switched to from the input state, and is exported the 3rd voice messaging by the line control earphone.
In a particular embodiment, when user determine now without the input content to be gathered after, pass through Whether line control earphone has a pressing operation the same with above-mentioned first control operation to detect on the line control earphone, i.e., from by The period for pressing the first button to be less than 1s to the time interval for unclamping first button, detecting such a control behaviour After work, just by above-mentioned 3rd voice messaging of acquisition, that is, the output content by will export originally with by defeated Enter the speech information content after the speech information content mixing that device collects, exported by line control earphone.Therefore, this When to operate the speech information content obtained by secondary short-press be exactly content after mixed processing.
After being mixed by the above-mentioned voice messaging by output with the voice messaging inputted, 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, facilitate user and the operation that content modifies is listened to some.
Certainly, after the mixing voice information for exporting acquisition, the method for the information processing also includes:When having detected and institute When stating different four voice messaging of the 3rd voice messaging, the interrupt control instruction of current speech output task is interrupted in generation one, Wherein, what the current speech output task was specially currently executing is believed the 3rd 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, generation one continues Execute instruction;Instruction is continued executing with based on described, the 3rd voice messaging is continued to output by the line control earphone.
In a particular embodiment, if during output mixing voice information, i.e. the 3rd 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 suggest that the line traffic control ear Chance instant messages need to export, and after line control earphone receives such remind, itself generation one can be controlled to interrupt and worked 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 is exported the 3rd voice messaging.For example, when user is connected by mobile phone with line control earphone A song is listened to, now line control earphone is at output state, meanwhile, mobile phone receives an instant messages, e.g. has Short message arrives, then, the short message can prompt line control earphone to have short message, and therefore, line control earphone is receiving such prompting Afterwards, the interrupt instruction of the interrupting current output song of the task is generated.
After 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 the instruction of currently playing song is interrupted in generation, just by the song being currently played pause, 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 executing with, and the instruction continued executing with is for performing timely prompt tone Continue to export without the output completed before output.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, so as to generate the continuing executing with broadcasting song of the task, the song that will do not play Continue to play in the place that bent then last time interrupts.
User's short message, or the information of incoming call are so informed in time so that user is either performing any other output Task when, can will not miss the prompting of some information, convenient for users to use, Consumer's Experience is also better.
It is described below so that long-press operates as an example:
It is that input state is realized by the operation of the first button on short-press line control earphone in above-mentioned switching output state , when first control operation is specially to press duration of the first button on line control earphone as the of very first time length When one long-press operates, judge whether first operation meets a preparatory condition, be specially:Whether judge the very first time length More than the first predetermined time period;When the very first time length is more than first predetermined time period, described is determined The operation of one long-press is once effective long-press operation.
In a particular embodiment, the button on line control earphone is operated, when a user presses a button, can detected The duration of the button, for example, set the duration as 2s, when the duration of pressing is more than 2s, determine that the pressing is grasped Work is once effective long-press operation.
As long as have the operation for having pressing to the button on line control earphone, will stateful switching instruction, therefore, having When the long-press operates, the voice messaging that can be inputted to the needs of user is acquired.
Generating and performing the voice collecting that is used to perform collection phonetic entry content corresponding with the control operation After instruction, the method for the information processing also includes:Instructed based on the voice collecting, obtained by the speech input device 5th voice messaging;Processing is identified to the 5th voice messaging.
In a particular embodiment, the step and the voice messaging obtained when short-press operates can be identicals, That is the voice messaging of user is acquired by short-press operation, in this step, is acquired by long-press operation The voice messaging of user can be identical voice messaging, but operate the identification that the voice messaging obtained is progress by long-press Processing.The process of the identifying processing is realized by software.
After the voice messaging to collecting is identified, this method also includes:Detect whether to described first The 3rd control operation that button unclamps;When having detected three control operation, the 3rd control operation is responded, by institute State the 5th voice messaging and be converted into character information, and the character information is passed through into the electronic equipment that is connected with the line control earphone Display screen show.
In a particular embodiment, after voice messaging as acquisition, place that the voice messaging is identified Reason, in the meantime, user do not have the pressing operation unclamped to button, when at this moment user unclamps to the button, line control earphone The operation of the release will be responded, the voice messaging recognized is converted, certainly, conversion here will be because of the programming of software And it is different, when the voice messaging that example obtains user is Chinese information, then, it is possible to during the voice messaging now obtained is converted into Literary information is shown by the electronic equipment that is connected with line control earphone, the display screen of e.g. mobile phone;If obtain user's Voice messaging is english information, then the English voice messaging of acquisition is converted into English character and passes through mobile phone display screen by can Show;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.The specifically conversion of which kind of form, specific restriction is not done in this application.
By the way that voice messaging so is converted into character information afterwards by line control earphone so that user can obtain accordingly Required text information, it is user-friendly wait Consumer's Experience it is more good.
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 also include:Detection unit 10, for when the line control earphone is in output state, Detect whether first control operation to the line control earphone;Judging unit 20, first control is detected for working as During system operation, judge whether first control operation meets a preparatory condition;Switch unit 30, in the described first control When operation meets the preparatory condition, the line control earphone is switched into input state from the output state;Generation performs list Member 40, for responding the control operation, generate and perform it is corresponding with first control operation be used to gathering voice it is defeated Enter the voice collecting instruction of content.
Further, when first control operation specially presses the first button on the line control earphone and immediately pine 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 determining unit, for when the time interval is less than first predetermined threshold value, determining that first pressing is unclamped Operate as once effectively operation is unclamped in pressing.
Further, the line control earphone also includes:First acquisition unit, for being instructed based on the voice collecting, lead to Cross the speech input device and obtain 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 during output state and mixed, and obtains the 3rd voice messaging.
Further, the line control earphone also 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 Operation, the line control earphone is switched into the output state from the input state, and by the line control earphone by described in 3rd voice messaging exports.
Further, the line control earphone also includes:Second detection sub-unit, detected and the 3rd language for working as When message ceases four different voice messagings, the interrupt control instruction of current speech output task is interrupted in generation one, wherein, it is described Current speech output task is specially currently executing by the line control earphone that the 3rd voice messaging progress is defeated Going out for task;Interrupt location, for based on the interrupt control instruction, interrupting the current speech output task, and will described in 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, generation one continues executing with instruction;Second output unit, for continuing executing with instruction based on described, pass through institute State line control earphone and continue to output the 3rd voice messaging.
Further, when first control operation be specially press the first knob on the line control earphone it is lasting when Between for very first time length the first long-press operation when, the judging unit specifically includes:Second judgment sub-unit, for judging Whether the very first time length is more than the first predetermined time period;Second determining unit, in the very first time length During more than first predetermined time period, determine the first long-press operation for once effective long-press operation.
Further, the line control earphone also includes:3rd acquiring unit, for being instructed based on the voice collecting, lead to Cross the speech input device and obtain the 5th voice messaging;Identifying processing unit, for knowing to the 5th voice messaging Manage in other places.
Further, the line control earphone also includes:3rd detection sub-unit, for detecting whether have to described first by The 3rd control operation that button unclamps;3rd output unit, for when having detected three control operation, response described the Three control operations, the 5th voice messaging is converted into 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.
The line control earphone introduced by the present embodiment to implement a kind of method of information processing of the application used by line 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 embodiment and its various change form of the electronic equipment of the present embodiment are solved, so herein for the line control earphone not 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 scope to be protected of the application.
One or more technical schemes that the application provides, have at least the following technical effects or advantages:
1st, as a result of when detecting that the first touch control operation to line control earphone meets preparatory condition, by line control earphone Input state is switched to from output state, so, efficiently solve when being used as output equipment by line control earphone in the prior art, Line control earphone can only be suspended, opened, or the operation such as plus-minus of sound so that enter when needing the voice messaging to user , it is necessary to be carried out by the voice acquisition device on the electronic equipment that is connected with line control earphone to the voice messaging of user during row collection Collection, so, when the electronic equipment and user it is distant when, there is the technology that can not gather user speech information in time Problem, and then realize the technique effect that without control electronics, can just gather the voice messaging of user in time.
2nd, the first voice messaging is obtained as a result of the speech input device on by 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, technical scheme that the 3rd voice messaging after mixing is exported, so, efficiently solve existing skill It can only be preserved in art by the voice messaging that the voice acquisition device on the electronic equipment that is connected with line control earphone collects Or the processing sent, the voice messaging collected can not be but added in the speech information content of existing output, just In the presence of the technical problem that can not be merged with existing speech information content, and then realize and can obtain the voice messaging of input The technique effect of the voice messaging after mixing is exported after being mixed with the voice messaging exported before again.
3rd, processing is identified as a result of the voice messaging to collecting, is translated into the character shape of user's needs The technical scheme that formula shows, efficiently solve the place that the voice messaging of acquisition can only be preserved or sent in the prior art Reason, there is to the voice messaging of acquisition be converted into the technical problem of other forms of expression, and then realize can So that the voice messaging of acquisition to be converted into the technique effect of other character styles of user's needs.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program production of upper implementation The form of product.
The present invention is with reference to method according to embodiments of the present invention, equipment(System)And the flow of computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed 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 individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (14)

  1. A kind of 1. method of information processing, applied in the line control earphone with voice-input device, it is characterised in that the side Method includes;
    When the line control earphone is in output state, first control operation to the line control earphone is detected whether;
    When detecting first control operation, judge whether first control operation meets a preparatory condition;
    When first control operation meets the preparatory condition, the line control earphone is switched to from the output state defeated Enter state;
    First control operation is responded, generates and performs and corresponding with first control operation be used to gather phonetic entry The voice collecting instruction of content;
    Methods described also includes:
    Instructed based on the voice collecting, the first voice messaging is obtained by the speech input device on the line control earphone;
    The second voice messaging exported when first voice messaging is in into output state with the line control earphone is mixed, Obtain the 3rd voice messaging.
  2. 2. the method as described in claim 1, it is characterised in that when first control operation is specially to press the line traffic control ear The first button on machine and when operation is unclamped in the first pressing unclamped immediately, it is described to judge whether first control operation meets One preparatory condition, it is specially:
    Judge that first pressing unclamps operation from first button is pressed and is to the time interval for unclamping 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 it is described first pressing unclamp operation for once effectively by Pressure unclamps operation.
  3. 3. method as claimed in claim 2, it is characterised in that after the 3rd voice messaging of the acquisition, methods described 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 line control earphone The output state is switched to from the input state, and is exported the 3rd voice messaging by the line control earphone.
  4. 4. method as claimed in claim 3, it is characterised in that believed the 3rd voice by the line control earphone described After breath output, methods described also includes:
    When detecting four voice messagings different from the 3rd voice messaging, current speech output times is interrupted in generation one The interrupt control instruction of business, wherein, the current speech output task is specially to be currently executing by the line traffic control ear The task that machine is exported the 3rd voice messaging;
    Based on the interrupt control instruction, the current speech output task is interrupted, and the 4th voice messaging is passed through into institute Line control earphone is stated to be exported;
    When detecting that the 4th voice messaging output is completed, generation one continues executing with instruction;
    Instruction is continued executing with based on described, the 3rd voice messaging is continued to output by the line control earphone.
  5. 5. the method as described in claim 1, it is characterised in that when first control operation is specially to press the line traffic control ear It is described to judge the first control behaviour when the duration of the first button on machine operates for the first long-press of very first time length Whether meet a preparatory condition, be specially:
    Judge whether the very first time length is more than the first predetermined time period;
    When the very first time length is more than first predetermined time period, the first long-press operation is determined once to have Imitate long-press operation.
  6. 6. method as claimed in claim 5, it is characterised in that in response first control operation, generate and perform After the voice collecting instruction for being used to gather phonetic entry content corresponding with first control operation, methods described is also wrapped Include:
    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.
  7. 7. method as claimed in claim 6, it is characterised in that after processing is identified to the 5th voice messaging, Methods described also includes:
    Detect whether the 3rd control operation unclamped to first button;
    When having detected three control operation, the 3rd 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 connected with the line control earphone.
  8. 8. a kind of line control earphone, including voice-input device, it is characterised in that the line control earphone also includes:
    Detection unit, for when the line control earphone is in output state, detecting whether one to the line control earphone First control operation;
    Judging unit, for when detecting first control operation, judging whether first control operation meets that one is pre- If condition;
    Switch unit, for when first control operation meets the preparatory condition, by the line control earphone from described defeated Do well and switch to input state;
    Execution unit is generated, for responding first control operation, generates and performs corresponding with first control operation Be used for gather phonetic entry content voice collecting instruction;
    The line control earphone also includes:
    First acquisition unit, for being instructed based on the voice collecting, the first voice is obtained by the speech input device and believed Breath;
    Second acquisition unit, second exported during for first voice messaging and the line control earphone to be in into output state Voice messaging is mixed, and obtains the 3rd voice messaging.
  9. 9. line control earphone as claimed in claim 8, it is characterised in that when first control operation is specially to press the line When operation is unclamped in the first pressing controlled the first button on earphone and unclamped immediately, 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 determining unit, for when the time interval is less than first predetermined threshold value, determining the first pressing pine Operation is opened as once effectively operation is unclamped in pressing.
  10. 10. line control earphone as claimed in claim 9, it is characterised in that the line control earphone also 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 that operation is unclamped in the second pressing pressed first button and unclamped;
    First output unit, for when having detected that operation is unclamped in second pressing, behaviour to be unclamped in response second pressing Make, the line control earphone is switched into the output state from the input state, and by the line control earphone by described the Three voice messagings export.
  11. 11. line control earphone as claimed in claim 8, it is characterised in that the line control earphone also includes:
    Second detection sub-unit, for when detecting four voice messagings different from the 3rd 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 3rd voice messaging by the line control earphone of the task performed;
    Interrupt location, for based on the interrupt control instruction, interrupting the current speech output task, and by the 4th language Message breath is exported by the line control earphone;
    Command unit is generated, for when detecting that the 4th voice messaging output is completed, generation one to continue executing with instruction;
    Second output unit, for continuing executing with instruction based on described, the 3rd language is continued to output by the line control earphone Message ceases.
  12. 12. line control earphone as claimed in claim 8, it is characterised in that described in specially being pressed when first control operation When the duration of the first button on line control earphone operates for the first long-press of very first time length, the judging unit is specific Including:
    Second judgment sub-unit, for judging whether the very first time length is more than the first predetermined time period;
    Second determining unit, for when the very first time length is more than first predetermined time period, determining described The operation of one long-press is once effective long-press operation.
  13. 13. line control earphone as claimed in claim 9, it is characterised in that the line control earphone also includes:
    3rd acquiring unit, for being instructed based on the voice collecting, the 5th voice is obtained by the speech input device and believed Breath;
    Identifying processing unit, for processing to be identified to the 5th voice messaging.
  14. 14. line control earphone as claimed in claim 13, it is characterised in that the line control earphone also includes:
    3rd detection sub-unit, for detecting whether there is the 3rd control operation unclamped to first button;
    3rd output unit, for when having detected three control operation, responding the 3rd control operation, by described in 5th voice messaging is converted into character information, and the character information is passed through into the electronic equipment that is connected with the line control earphone Display screen is shown.
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
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

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 CN104080026A (en) 2014-10-01
CN104080026B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
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
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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034545A (en) * 2006-03-08 2007-09-12 海尔集团公司 Mobile phone for playing the mixed Kara OK music and its implementation method
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
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

Family Cites Families (5)

* 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
CN2859967Y (en) * 2005-10-28 2007-01-17 中电赛龙通信研究中心有限责任公司 New pattern line-control ear phone
CN101170757A (en) * 2006-10-26 2008-04-30 英华达(上海)电子有限公司 A method and device for controlling text input in mobile device
CN102595265B (en) * 2011-01-05 2015-03-25 美律实业股份有限公司 Headset assembly with recording function for communication
CN103118191B (en) * 2013-01-28 2015-01-21 Tcl通讯(宁波)有限公司 Using control method and mobile terminal for iPhone wire control earphone

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034545A (en) * 2006-03-08 2007-09-12 海尔集团公司 Mobile phone for playing the mixed Kara OK music and its implementation method
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
CN102946485A (en) * 2012-11-19 2013-02-27 Tcl通讯(宁波)有限公司 Mobile terminal-based earphone detection processing method and mobile terminal

Also Published As

Publication number Publication date
CN108513216B (en) 2021-08-17
CN104080026A (en) 2014-10-01
CN108513216A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN104080026B (en) A kind of method of information processing and a kind of line control earphone
CN104346050B (en) A kind of information processing method and electronic equipment
CN104166547B (en) A kind of control method and device of channel
CN104252226B (en) The method and electronic equipment of a kind of information processing
CN105094808B (en) A kind of control device and method
CN106095384B (en) A kind of effect adjusting method and user terminal
CN105323612B (en) A kind of button multiplexing method and device of television set
WO2012028107A1 (en) Mobile terminal and transmission processing method thereof
CN106126161A (en) Speech play control method, device and the mobile terminal of a kind of mobile terminal
CN107463247A (en) A kind of method, apparatus and terminal of text reading processing
CN103973542B (en) A kind of voice information processing method and device
CN107864289A (en) A kind of pronunciation inputting method and device, terminal, readable storage medium storing program for executing
CN107491283A (en) For equipment, method and the graphic user interface of the presentation for dynamically adjusting audio output
CN104317392B (en) A kind of information control method and electronic equipment
CN104092809A (en) Communication sound recording method and recorded communication sound playing method and device
CN109215650A (en) A kind of sound control method, system and intelligent terminal based on terminal interface identification
CN104010154B (en) Information processing method and electronic equipment
CN106940618A (en) The player method and device of a kind of voice messaging
CN103854682B (en) A kind of method and device controlling audio file to play
CN102404522A (en) Speech remote control method for television and television
CN105446695A (en) Notification message removal method and apparatus
CN110086941A (en) Speech playing method, device and terminal device
CN106531168A (en) Voice recognition method and voice recognition device
CN103577060B (en) A kind of data processing method and electronic equipment
CN105763744B (en) A kind of video playing control method of mobile terminal, device and mobile terminal

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