WO2016127619A1 - 一种混合输入的方法、装置和计算机存储介质 - Google Patents

一种混合输入的方法、装置和计算机存储介质 Download PDF

Info

Publication number
WO2016127619A1
WO2016127619A1 PCT/CN2015/087419 CN2015087419W WO2016127619A1 WO 2016127619 A1 WO2016127619 A1 WO 2016127619A1 CN 2015087419 W CN2015087419 W CN 2015087419W WO 2016127619 A1 WO2016127619 A1 WO 2016127619A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
output
input content
unit
voice input
Prior art date
Application number
PCT/CN2015/087419
Other languages
English (en)
French (fr)
Inventor
陈军
孙爱芳
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016127619A1 publication Critical patent/WO2016127619A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output

Definitions

  • the present invention relates to information input technology, and more particularly to a method, apparatus and computer storage medium for hybrid input.
  • voice input has become one of the mainstream text input methods of the terminal, which improves the input speed and becomes a powerful complement to the keyboard input mode.
  • the user due to the non-standard pronunciation of the user, the inconvenient voice input in the noisy environment, and the input of special characters, the user needs to switch between the voice input and the keyboard input when inputting, which leads to the input efficiency. The reduction is caused by the inconvenience to the user.
  • embodiments of the present invention are intended to provide a method, apparatus, and computer storage medium for hybrid input.
  • an embodiment of the present invention provides a method for mixing input, including:
  • the method when the receiving time of the manual input content and the voice input content exceeds a preset time interval, the method further includes:
  • the method further includes:
  • the manual input content or the voice input content is outputted, and the input start time point is reset.
  • the method further includes:
  • the received manual input content or voice input content is output, and the input start time point is reset.
  • the method further includes:
  • Modifying the output content to be modified obtaining the modified output content, and directly outputting the modified output content.
  • an embodiment of the present invention provides a device for mixing input, where the device includes: a reset unit, a receiving unit, a timing unit, a determining unit, a first output unit, and a second output unit, where
  • the reset unit is configured to reset an input start time point
  • the receiving unit is configured to receive the manual input content and the voice input content after the reset unit resets the input start time point;
  • the timing unit is configured to time the time interval between the manual input content and the voice input content received by the receiving unit; and the time interval between the manual input content and the voice input content received by the receiving unit is preset The determining unit is triggered when the time interval is within;
  • the determining unit is configured to determine consistency between the manual input content and the voice input content; and, when the manual input content is inconsistent with the voice input content, trigger the first output unit;
  • the first output unit is configured to separately generate and output a first candidate output content corresponding to the manual input content and a second corresponding to the voice input content, respectively, the manual input content or the voice input content Alternative output content;
  • the receiving unit is further configured to receive a determination instruction for the first alternative output content and the second alternative output content;
  • the second output unit is configured to output the determined alternative output content after the receiving unit receives the determination instruction for the first alternative output content and the second alternative output content, and The reset unit is triggered.
  • the timing unit is further configured to trigger the second output unit when a time interval between the manual input content and the voice input content received by the receiving unit exceeds a preset time interval;
  • the second output unit is further configured to output the input content first received by the manual input content and the voice input content, and trigger the reset unit.
  • the determining unit is further configured to trigger the second output unit when the manual input content is consistent with the voice input content
  • the second output unit is further configured to output the manual input content or the voice input content, and trigger the reset unit.
  • the second output unit is further configured to: when the receiving unit receives only one of the manual input content and the voice input content, output the received manual input content or the voice input content, and The reset unit is triggered.
  • the device further includes: a determining unit and a modifying unit, wherein
  • the receiving unit is further configured to receive a modification instruction for the first alternative output content or the second alternative output content;
  • the determining unit is configured to determine, according to the modification instruction, an output content to be modified from the first candidate output content or the second candidate output content;
  • the modifying unit is configured to modify the output content to be modified to obtain the modified output content
  • the second output unit is further configured to directly output the modified output content.
  • an embodiment of the present invention provides a computer storage medium, the computer storage medium comprising a set of instructions that, when executed, cause at least one processor to perform the hybrid input method described above.
  • the embodiment of the invention provides a method, a device and a computer storage medium for mixing input, which can determine the objective input factors after the manual input content and the voice input content received in the preset time interval are determined and then output. Under the influence, input can be performed without switching the input method, and the input efficiency is improved.
  • FIG. 1 is a schematic flowchart of a method for mixing input according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of modifying an alternative output content according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a process effect of a hybrid input according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a device for mixing input according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another apparatus for mixing input according to an embodiment of the present invention.
  • the manual input content and the voice input content are received; when the manual input content and the voice input content are received at a preset time interval And determining, when the manual input content is inconsistent with the voice input content, generating the manual input content or the voice input content respectively Outputting a first alternative output content corresponding to the manual input content and a second alternative output content corresponding to the voice input content; when receiving the first candidate output content and the second candidate After the determination instruction of the output content, the determined alternative output content is output, and the input start time point is reset.
  • the method can be used in a device having a manual input channel and a voice input channel, and the device can be applied to a text or character that needs to be input.
  • the device for example, a mobile terminal, a personal computer, a notebook computer, a point of sale (POS) with input function, etc.
  • the voice input channel can receive voice input through a device such as a microphone
  • the manual input channel can pass
  • the physical entity button, the virtual button or the handwriting touch screen on the device receives the manually input content by using input methods such as pinyin, stroke, character, handwriting, etc., and the method may include:
  • the same input start time point can be set for the manual input channel and the voice input channel, after which the two input channels simultaneously start receiving new input content. So that each input can be received simultaneously by two input channels, so that the input method is not required to be switched, thereby implementing the input method. Mixed input.
  • the method may further include: when only one of the manual input content and the voice input content is received, outputting the received manual input content or voice input content, and resetting the input start time Click to enter the next paragraph.
  • the external environment is bad, such as in a noisy environment, voice input content may not be received, and only manual input content can be received at this time, so the received manual input content can be directly output.
  • S102 determining, when the manual input content and the receiving time of the voice input content are within a preset time interval, determining the consistency between the manually input content and the voice input content;
  • the method may further include: first receiving the manual input content and the voice input content Output to the input content, and reset the input start time point, thereby inputting the next piece of content.
  • the voice input content is received within a preset time interval after receiving the manual input content, and it can be considered that both input contents belong to the content that needs to be input at the current time, and therefore, the consistency between the two can be determined.
  • the voice input content is received after the preset time interval is exceeded after receiving the manual input content, and it can be considered that the two input contents manually input the content belonging to the content that needs to be input at the current moment, and the voice input The content does not belong to the content that needs to be input at the current time, but the input content at the next moment. Therefore, the manual input content should be output.
  • the manual input content is received within a preset time interval after receiving the voice input content, and the manual input content is received after the preset time interval is exceeded after receiving the voice input content, which is the same in this embodiment. No longer.
  • the manual input content received by the manual input channel and the voice input content received by the voice input channel may be inconsistent.
  • the manual input content and the voice input content may be correspondingly generated to generate the first candidate.
  • the content and the second alternative output content are output and the first alternate output content and the second alternate output content are selected by the user.
  • the method may further include: outputting the manual input content or the voice input content, and resetting the input start time point. It can be understood that when the manual input content is consistent with the voice input content, the user does not need to further select, and since the two are consistent, the manual input content or the voice input content can be outputted, and the input start time is reset. Click to enter the next paragraph.
  • S104 After receiving the determination instruction for the first alternative output content and the second alternative output content, output the determined alternative output content, and reset the input start time point.
  • the determining instruction can be initiated to the device having the manual input channel and the voice input channel, and the device can select the candidate output determined by the user.
  • the content is output and the input start time point is reset to input the next piece of content.
  • the method may further include:
  • S201 Determine, according to the received modification instruction for the first candidate output content or the second candidate output content, the output content to be modified from the first candidate output content or the second candidate output content;
  • the embodiment of the invention provides a method for mixing input, which is determined by inputting the manually input content and the voice input content received within a preset time interval, and can be input under the influence of adverse objective factors. When the method is switched, input can be performed to improve input efficiency.
  • FIG. 3 it is a schematic diagram of a process effect of performing hybrid input according to the above embodiment.
  • This embodiment is described by taking a terminal capable of manual input and voice input as an example, and assumes that the user desires the terminal to output.
  • the content is “I am from Shanghai Pudong”.
  • the solid arrow indicates the time axis, and the time above the time axis is the manual input content.
  • the pinyin input content is taken as an example; below the time axis is the voice input content;
  • the pinyin input content received by the terminal is “self”, and the voice input content received by the terminal is “word”, and the time interval between the two input contents received by the terminal is within a preset time interval, for example, 1 second.
  • the terminal determines the consistency of the two input contents, and according to the determination, the two input contents are inconsistent. Therefore, the terminal outputs “self” and “word” as alternative output contents to the user for selection and determination, when the user selects and determines After "self", the terminal outputs "self” and resets the input start time point of the pinyin output content and the voice output content.
  • the pinyin input content received by the terminal is “Shanghai”, and the voice input content received by the terminal is also “Shanghai”, and the time interval between the two input contents received by the terminal is within a preset time interval, for example, 1 second,
  • the terminal determines the consistency of the two input contents, according to the judgment It is determined that the two input contents are consistent.
  • the terminal does not need the user to confirm the selection, but directly outputs "Shanghai" and resets the input start time point of the pinyin output content and the voice output content.
  • the pinyin input content received by the terminal is “Pudong” first, and then the voice input content received by the terminal is “Puxi”, and the time interval between the two input contents received by the terminal exceeds a preset time interval, for example, 1 second, At the time, the terminal outputs the pinyin input content “Pudong” received first, and resets the input start time point of the pinyin output content and the voice output content.
  • the terminal when the terminal outputs the pinyin input content "self” and the voice input content "word” as the alternative output content to the user selection determination, the user wishes to modify the pinyin input content "self", then, The user can send a modification instruction to the terminal through the input device on the terminal, and determine “self” as the output content to be modified; then the user can modify the alternate output content “from” to “to” through the input device on the terminal, and "To” is replaced with "Self” as an updated alternative output content, so that the user can subsequently select and determine according to the updated alternative output content "To” and the alternative output content corresponding to the voice input content "Word”. .
  • a device 40 for mixing input can be applied to a device that requires input of characters or characters, such as a mobile terminal, a personal computer, a notebook computer, a POS machine with an input function, etc., and the device 40 can include: a unit 401, a receiving unit 402, a timing unit 403, a determining unit 404, a first output unit 405 and a second output unit 406, wherein
  • the reset unit 401 is configured to reset the input start time point
  • the receiving unit 402 is configured to receive the manual input content and the voice input content after the reset unit 401 resets the input start time point;
  • the timing unit 403 is configured to time the time interval between the manual input content and the voice input content received by the receiving unit 402; and, when the time interval between the manual input content and the voice input content received by the receiving unit 402 is at a preset time interval Internal triggering unit 404;
  • the determining unit 404 is configured to determine the consistency of the manual input content and the voice input content; and, when the manual input content is inconsistent with the voice input content, triggering the first output unit 405;
  • the first output unit 405 is configured to generate and output the first candidate output content corresponding to the manually input content and the second candidate output content corresponding to the voice input content, respectively, by the manual input content or the voice input content;
  • the receiving unit 402 is further configured to receive a determination instruction for the first candidate output content and the second candidate output content;
  • the second output unit 406 is configured to output the determined alternative output content after the receiving unit 402 receives the determination instruction for the first alternative output content and the second alternative output content, and trigger the reset unit 401.
  • timing unit 403 is further configured to trigger the second output unit 406 when the time interval between the manual input content and the voice input content received by the receiving unit 402 exceeds a preset time interval;
  • the second output unit 406 is further configured to output the input content first received in the manual input content and the voice input content, and trigger the reset unit 401.
  • the determining unit 404 is further configured to trigger the second output unit 406 when the manual input content is consistent with the voice input content;
  • the second output unit 406 is further configured to output the manual input content or the voice input content, and trigger the reset unit 401.
  • the second output unit 406 is further configured to: when the receiving unit 402 receives only one of the manual input content and the voice input content, output the received manual input content or the voice input content, and trigger a reset Unit 401.
  • the receiving unit 402 is further configured to receive a modification instruction for the first candidate output content or the second candidate output content;
  • the apparatus 40 may further include: a determining unit 407 and a modifying unit 408, where
  • the determining unit 407 is configured to determine, according to the modification instruction, the output content to be modified from the first candidate output content or the second candidate output content;
  • the modifying unit 408 is configured to modify the output content to be modified to obtain the modified output content
  • the second output unit 406 is further configured to directly output the modified output content.
  • the reset unit 401, the timing unit 403, the determining unit 404, the determining unit 407, and the modifying unit 408 can be configured by a central processing unit (CPU, Central Processing Unit), a microprocessor (MCU, Micro) in the device 40 of the mixed input. Control Unit), Digital Signal Processor (DSP) or Field-Programmable Gate Array (FPGA) implementation; receiving unit 402 can be combined by CPU, MCU, DSP or FPGA in device 40 of mixed input The input device is implemented; the first output unit 405 and the second output unit 406 can be implemented by a CPU, MCU, DSP or FPGA in the device 40 of the mixed input in combination with the display device.
  • CPU Central Processing Unit
  • MCU Micro
  • Control Unit Digital Signal Processor
  • FPGA Field-Programmable Gate Array
  • the embodiment of the invention provides a device for mixing input, which can be determined by outputting the manually input content and the voice input content received within a preset time interval, and then outputting Under the influence of good objective factors, input can be performed without switching the input method, and the input efficiency is improved.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • a device implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of a flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • an embodiment of the present invention further provides a computer storage medium, where the computer saves
  • the storage medium includes a set of instructions that, when executed, cause at least one processor to perform the method of mixing inputs described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

一种混合输入的方法、装置和计算机存储介质,方法包括:在重置输入起始时间点之后,接收手动输入内容与语音输入内容(S101);当所述手动输入内容与所述语音输入内容的接收时间在预设的时间间隔之内时,判定所述手动输入内容与所述语音输入内容的一致性(S102);当所述手动输入内容与所述语音输入内容不一致时,将所述手动输入内容或所述语音输入内容分别生成并输出与所述手动输入内容对应的第一备选输出内容以及与所述语音输入内容对应的第二备选输出内容(S103);当接收到针对所述第一备选输出内容和所述第二备选输出内容的确定指令后,将确定的备选输出内容进行输出,并重置所述输入起始时间点(S104)。

Description

一种混合输入的方法、装置和计算机存储介质 技术领域
本发明涉及信息输入技术,尤其涉及一种混合输入的方法、装置和计算机存储介质。
背景技术
随着终端技术的发展,语音输入已成为终端的主流文字输入方式之一,提高了输入的速度,并成为键盘输入方式的一个有力补充。但是由于用户的发音不标准、吵杂环境中语音输入不便以及特殊字符的输入等不良的客观因素的存在,导致用户在输入的时候需要在语音输入和键盘输入之间进行切换,反而导致输入效率的降低,从而给用户带来不便。
发明内容
为解决上述技术问题,本发明实施例期望提供一种混合输入的方法、装置和计算机存储介质。
本发明实施例的技术方案是这样实现的:
第一方面,本发明实施例提供了一种混合输入的方法,包括:
在重置输入起始时间点之后,接收手动输入内容与语音输入内容;
当所述手动输入内容与所述语音输入内容的接收时间在预设的时间间隔之内时,判定所述手动输入内容与所述语音输入内容的一致性;
当所述手动输入内容与所述语音输入内容不一致时,将所述手动输入内容或所述语音输入内容分别生成并输出与所述手动输入内容对应的第一备选输出内容以及与所述语音输入内容对应的第二备选输出内容;
当接收到针对所述第一备选输出内容和所述第二备选输出内容的确定 指令后,将确定的备选输出内容进行输出,并重置所述输入起始时间点。
上述方案中,当所述手动输入内容与所述语音输入内容的接收时间超过预设的时间间隔时,所述方法还包括:
将所述手动输入内容与所述语音输入内容中最先接收到输入内容进行输出,并重置所述输入起始时间点。
上述方案中,当所述手动输入内容与所述语音输入内容一致时,所述方法还包括:
将所述手动输入内容或所述语音输入内容进行输出,并重置所述输入起始时间点。
上述方案中,所述方法还包括:
当仅接收到手动输入内容和语音输入内容中的一项时,将接收到的手动输入内容或语音输入内容进行输出,并重置所述输入起始时间点。
上述方案中,在对应生成与所述手动输入内容对应的第一备选输出内容以及与所述语音输入内容对应的第二备选输出内容之后,以及在接收到针对所述第一备选输出内容和所述第二备选输出内容的确定指令之前,所述方法还包括:
根据接收到的针对所述第一备选输出内容或所述第二备选输出内容的修改指令,从所述第一备选输出内容或所述第二备选输出内容中确定待修改的输出内容;
对所述待修改的输出内容进行修改,得到修改后的输出内容,并将所述修改后的输出内容直接进行输出。
第二方面,本发明实施例提供了一种混合输入的装置,所述装置包括:重置单元、接收单元、计时单元、判定单元、第一输出单元和第二输出单元,其中,
所述重置单元,配置为重置输入起始时间点;
所述接收单元,配置为所述重置单元重置所述输入起始时间点之后,接收手动输入内容与语音输入内容;
所述计时单元,配置为对所述接收单元接收的手动输入内容与语音输入内容的时间间隔进行计时;以及,当所述接收单元接收的手动输入内容与语音输入内容的时间间隔在预设的时间间隔之内时,触发所述判定单元;
所述判定单元,配置为判定所述手动输入内容与所述语音输入内容的一致性;以及,当所述手动输入内容与所述语音输入内容不一致时,触发所述第一输出单元;
所述第一输出单元,配置为将所述手动输入内容或所述语音输入内容分别生成并输出与所述手动输入内容对应的第一备选输出内容以及与所述语音输入内容对应的第二备选输出内容;
所述接收单元,还配置为接收针对所述第一备选输出内容和所述第二备选输出内容的确定指令;
所述第二输出单元,配置为当所述接收单元接收到针对所述第一备选输出内容和所述第二备选输出内容的确定指令后,将确定的备选输出内容进行输出,并触发所述重置单元。
上述方案中,所述计时单元,还配置为当所述接收单元接收的手动输入内容与语音输入内容的时间间隔超过预设的时间间隔时,触发所述第二输出单元;
相应地,所述第二输出单元,还配置为将所述手动输入内容与所述语音输入内容中最先接收到输入内容进行输出,并触发所述重置单元。
上述方案中,所述判定单元,还配置为当所述手动输入内容与所述语音输入内容一致时,触发所述第二输出单元;
相应地,所述第二输出单元,还配置为将所述手动输入内容或所述语音输入内容进行输出,并触发所述重置单元。
上述方案中,所述第二输出单元,还配置为当所述接收单元仅接收到手动输入内容和语音输入内容中的一项时,将接收到的手动输入内容或语音输入内容进行输出,并触发所述重置单元。
上述方案中,所述装置还包括:确定单元和修改单元,其中,
所述接收单元,还配置为接收针对所述第一备选输出内容或所述第二备选输出内容的修改指令;
所述确定单元,配置为根据所述修改指令,从所述第一备选输出内容或所述第二备选输出内容中确定待修改的输出内容;
所述修改单元,配置为对所述待修改的输出内容进行修改,得到修改后的输出内容;
所述第二输出单元,还配置为将所述修改后的输出内容直接进行输出。
第三方面,本发明实施例提供了一种计算机存储介质,所述计算机存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行上述的混合输入的方法。
本发明实施例提供了一种混合输入的方法、装置和计算机存储介质,通过对预设的时间间隔内接收到的手动输入内容及语音输入内容进行确定后再进行输出,能够在不良的客观因素影响下,无需对输入法进行切换就能够进行输入,提高输入效率。
附图说明
图1为本发明实施例提供的一种混合输入的方法流程示意图;
图2为本发明实施例提供的一种修改备选输出内容的流程示意图;
图3为本发明实施例提供的一种混合输入的过程效果示意图;
图4为本发明实施例提供的一种混合输入的装置的结构示意图;
图5为本发明实施例提供的另一种混合输入的装置的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
在本发明的各种实施例中:在重置输入起始时间点之后,接收手动输入内容与语音输入内容;当所述手动输入内容与所述语音输入内容的接收时间在预设的时间间隔之内时,判定所述手动输入内容与所述语音输入内容的一致性;当所述手动输入内容与所述语音输入内容不一致时,将所述手动输入内容或所述语音输入内容分别生成并输出与所述手动输入内容对应的第一备选输出内容以及与所述语音输入内容对应的第二备选输出内容;当接收到针对所述第一备选输出内容和所述第二备选输出内容的确定指令后,将确定的备选输出内容进行输出,并重置所述输入起始时间点。
参见图1,其示出了本发明实施例提供的一种混合输入的方法流程,该方法可以用于具有手动输入通道和语音输入通道的装置中,该装置可以应用于需要输入文字或字符的设备中,例如移动终端、个人计算机、笔记本电脑、带输入功能的销售终端(POS,Point Of Sale)机等,其中,语音输入通道可以通过诸如麦克风等装置接收语音输入内容;手动输入通道可以通过设备上的物理实体按键、虚拟按键或手写触摸屏等方式使用拼音、笔画、字符、手写等输入方法接收手动输入的内容,该方法可以包括:
S101:在重置输入起始时间点之后,接收手动输入内容与语音输入内容;
需要说明的是,在每一段输入内容被输出之后,可以针对手动输入通道和语音输入通道设置相同的输入起始时间点,在该时间点后,两个输入通道同时开始接收新的输入内容,以便于每段输入内容都能够由两个输入通道同时进行接收,从而不需要对输入法进行切换,从而实现了输入法的 混合输入。
示例性地,本方法还可以包括:当仅接收到手动输入内容和语音输入内容中的一项时,将接收到的手动输入内容或语音输入内容进行输出,并重置所述输入起始时间点,从而进行下一段内容的输入。例如,当外部环境恶劣的情况下,比如在嘈杂的环境中,可能无法接收到的语音输入内容,此时仅能够接收到手动输入内容,因此,可以直接将接收到的手动输入内容进行输出。
S102:当手动输入内容与语音输入内容的接收时间在预设的时间间隔之内时,判定手动输入内容与语音输入内容的一致性;
示例性地,当所述手动输入内容与所述语音输入内容的接收时间超过预设的时间间隔时,所述方法还可以包括:将所述手动输入内容与所述语音输入内容中最先接收到输入内容进行输出,并重置所述输入起始时间点,从而进行下一段内容的输入。
可以理解地,在接收到手动输入内容之后的预设时间间隔内接收到语音输入内容,可以认为是两个输入内容均属于当前时刻需要输入的内容,因此,可以继续通过判定两者的一致性来进行后续的输出;但是,在接收到手动输入内容之后超出了预设时间间隔才接收到语音输入内容,可以认为两个输入内容中,手动输入内容属于当前时刻需要输入的内容,而语音输入内容不属于当前时刻需要输入的内容,而是下一时刻的输入内容,因此,应该将手动输入内容进行输出。同样地,在接收到语音输入内容之后的预设时间间隔内接收到手动输入内容以及在接收到语音输入内容之后超出了预设时间间隔才接收到手动输入内容与此相同,本实施例在此不再赘述。
S103:当手动输入内容与语音输入内容不一致时,将手动输入内容或语音输入内容分别生成并输出与手动输入内容对应的第一备选输出内容以 及与语音输入内容对应的第二备选输出内容;
可以理解地,手动输入通道接收的手动输入内容和语音输入通道接收的语音输入内容会出现不一致的情况,当两者出现不一致时,可以将手动输入内容和语音输入内容对应地生成第一备选输出内容和第二备选输出内容,并将第一备选输出内容和第二备选输出内容以供用户选择。
示例性地,当手动输入内容与语音输入内容一致时,所述方法还可以包括:将手动输入内容或语音输入内容进行输出,并重置输入起始时间点。可以理解地,当手动输入内容与语音输入内容一致时,就不需要用户进一步地选择,而且由于两者一致,因此,可以将手动输入内容或语音输入内容进行输出,并重置输入起始时间点,从而进行下一段内容的输入。
S104:当接收到针对第一备选输出内容和第二备选输出内容的确定指令后,将确定的备选输出内容进行输出,并重置输入起始时间点。
可以理解地,当用户对第一备选输出内容和第二备选输出内容进行确定之后,可以向具有手动输入通道和语音输入通道的装置发起确定指令,该装置可以将用户确定的备选输出内容进行输出,并重置输入起始时间点,从而进行下一段内容的输入。
示例性地,参见图2,在对应生成与手动输入内容对应的第一备选输出内容以及与语音输入内容对应的第二备选输出内容之后,以及在接收到针对第一备选输出内容和第二备选输出内容的确定指令之前,所述方法还可以包括:
S201:根据接收到的针对第一备选输出内容或第二备选输出内容的修改指令,从第一备选输出内容或第二备选输出内容中确定待修改的输出内容;
S202:对待修改的输出内容进行修改,得到修改后的输出内容,并将所述修改后的输出内容直接进行输出;
需要说明的是,由于通常是在手动输入内容和语音输入内容不一致且两者均不是用户希望的输出内容时,用户才会向终端发送修改指令,因此,修改后的输出内容往往已经是用户的希望输出的内容,所以可以将修改后的输出内容直接输出,而不需要再进行额外的选择和确定。
本发明实施例提供了一种混合输入的方法,通过对预设的时间间隔内接收到的手动输入内容及语音输入内容进行确定后再进行输出,能够在不良的客观因素影响下,无需对输入法进行切换就能够进行输入,提高输入效率。
基于上述实施例相同的技术构思,参见图3,为根据上述实施例进行混合输入的过程效果示意图,本实施例以能够进行手动输入和语音输入的终端为例进行说明,假定用户希望终端输出的内容为“我来自上海浦东”,图3中,实线箭头表示时间轴,时间轴上方的为手动输入内容,本实施例中以拼音输入内容为例;时间轴下方的为语音输入内容;
当拼音输入内容为“我来”,而此时终端未接收到语音输入内容,所以在终端仅输出拼音输入内容“我来”这两个字,并重置拼音输出内容和语音输出内容的输入起始时间点。
随后,终端接收的拼音输入内容为“自”,而且终端接收的语音输入内容为“字”,终端接收两个输入内容之间的时间间隔在预设的时间间隔内,例如1秒,此时,终端对两个输入内容的一致性进行判定,根据判定得出两个输入内容不一致,因此,终端将“自”和“字”做为备选输出内容输出给用户选择确定,当用户选择确定“自”以后,终端输出“自”,并重置拼音输出内容和语音输出内容的输入起始时间点。
随后,终端接收的拼音输入内容为“上海”,而且终端接收的语音输入内容也为“上海”,终端接收两个输入内容之间的时间间隔在预设的时间间隔内,例如1秒,此时,终端对两个输入内容的一致性进行判定,根据判 定得出两个输入内容一致,此时终端无需用户再进行选择确认,而是直接输出“上海”并重置拼音输出内容和语音输出内容的输入起始时间点。
随后,终端首先接收的拼音输入内容为“浦东”,然后终端接收的语音输入内容为“浦西”,终端接收两个输入内容之间的时间间隔超过了预设的时间间隔,例如1秒,此时,终端将最先接收的拼音输入内容“浦东”进行输出,并重置拼音输出内容和语音输出内容的输入起始时间点。
通过上述混合输入的过程,可以得出终端最后输出的内容为“我来自上海浦东”,与用户希望输出的内容一致。
另外,还需要说明的是,当终端将拼音输入内容“自”和语音输入内容“字”作为备选输出内容输出给用户选择确定时,用户希望对拼音输入内容“自”进行修改,那么,用户可以通过终端上的输入设备向终端发送修改指令,确定“自”为待修改的输出内容;随后用户可以通过终端上的输入设备将备选输出内容“自”修改为“到”,并且将“到”替换为“自”作为一个更新后的备选输出内容,以便于用户后续可以根据更新后的备选输出内容“到”以及语音输入内容“字”对应的备选输出内容进行选择确定。
可以理解地,由于通常是在手动输入内容和语音输入内容不一致且两者均不是用户希望的输出内容时,用户才会向终端发送修改指令,因此,修改后的输出内容往往已经是用户的希望输出的内容,所以可以将修改后的输出内容直接输出,而不需要再进行额外的选择和确定。
本实施例对混合输入的方法详细过程进行了描述,通过对预设的时间间隔内接收到的手动输入内容及语音输入内容进行确定后再进行输出,能够在不良的客观因素影响下,无需对输入法进行切换就能够进行输入,提高输入效率。
基于前述实施例相同的技术构思,参见图4,其示出了本发明实施例提 供的一种混合输入的装置40,该装置40可以应用于需要输入文字或字符的设备中,例如移动终端、个人计算机、笔记本电脑、带输入功能的POS机等,该装置40可以包括:重置单元401、接收单元402、计时单元403、判定单元404、第一输出单元405和第二输出单元406,其中,
重置单元401,配置为重置输入起始时间点;
接收单元402,配置为重置单元401重置输入起始时间点之后,接收手动输入内容与语音输入内容;
计时单元403,配置为对接收单元402接收的手动输入内容与语音输入内容的时间间隔进行计时;以及,当接收单元402接收的手动输入内容与语音输入内容的时间间隔在预设的时间间隔之内时,触发判定单元404;
判定单元404,配置为判定手动输入内容与语音输入内容的一致性;以及,当手动输入内容与语音输入内容不一致时,触发第一输出单元405;
第一输出单元405,配置为将手动输入内容或语音输入内容分别生成并输出与手动输入内容对应的第一备选输出内容以及与语音输入内容对应的第二备选输出内容;
接收单元402,还配置为接收针对第一备选输出内容和第二备选输出内容的确定指令;
第二输出单元406,配置为当接收单元402接收到针对第一备选输出内容和第二备选输出内容的确定指令后,将确定的备选输出内容进行输出,并触发重置单元401。
进一步地,计时单元403,还配置为当接收单元402接收的手动输入内容与语音输入内容的时间间隔超过预设的时间间隔时,触发第二输出单元406;
相应地,第二输出单元406,还配置为将手动输入内容与语音输入内容中最先接收到输入内容进行输出,并触发重置单元401。
进一步地,判定单元404,还配置为当手动输入内容与语音输入内容一致时,触发第二输出单元406;
相应地,第二输出单元406,还配置为将手动输入内容或语音输入内容进行输出,并触发重置单元401。
进一步地,第二输出单元406,还配置为当接收单元402仅接收到手动输入内容和语音输入内容中的一项时,将接收到的手动输入内容或语音输入内容进行输出,并触发重置单元401。
进一步地,接收单元402,还配置为接收针对第一备选输出内容或第二备选输出内容的修改指令;
参见图5,装置40还可以包括:确定单元407和修改单元408,其中,
确定单元407,配置为根据修改指令,从第一备选输出内容或第二备选输出内容中确定待修改的输出内容;
修改单元408,配置为对待修改的输出内容进行修改,得到修改后的输出内容;
第二输出单元406,还配置为将所述修改后的输出内容直接进行输出。
实际应用时,重置单元401、计时单元403、判定单元404、确定单元407和修改单元408可由混合输入的装置40中的中央处理器(CPU,Central Processing Unit)、微处理器(MCU,Micro Control Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现;接收单元402可由混合输入的装置40中的CPU、MCU、DSP或FPGA结合输入装置实现;第一输出单元405及第二输出单元406可由混合输入的装置40中的CPU、MCU、DSP或FPGA结合显示装置实现。
本发明实施例提供了一种混合输入的装置,通过对预设的时间间隔内接收到的手动输入内容及语音输入内容进行确定后再进行输出,能够在不 良的客观因素影响下,无需对输入法进行切换就能够进行输入,提高输入效率。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的设备。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令设备的制造品,该指令设备实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
基于此,本发明实施例还提供了一种计算机存储介质,所述计算机存 储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行上述的混合输入的方法。
以上,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。

Claims (11)

  1. 一种混合输入的方法,所述方法包括:
    在重置输入起始时间点之后,接收手动输入内容与语音输入内容;
    当所述手动输入内容与所述语音输入内容的接收时间在预设的时间间隔之内时,判定所述手动输入内容与所述语音输入内容的一致性;
    当所述手动输入内容与所述语音输入内容不一致时,将所述手动输入内容或所述语音输入内容分别生成并输出与所述手动输入内容对应的第一备选输出内容以及与所述语音输入内容对应的第二备选输出内容;
    当接收到针对所述第一备选输出内容和所述第二备选输出内容的确定指令后,将确定的备选输出内容进行输出,并重置所述输入起始时间点。
  2. 根据权利要求1所述的方法,其中,当所述手动输入内容与所述语音输入内容的接收时间超过预设的时间间隔时,所述方法还包括:
    将所述手动输入内容与所述语音输入内容中最先接收到输入内容进行输出,并重置所述输入起始时间点。
  3. 根据权利要求1所述的方法,其中,当所述手动输入内容与所述语音输入内容一致时,所述方法还包括:
    将所述手动输入内容或所述语音输入内容进行输出,并重置所述输入起始时间点。
  4. 根据权利要求1所述的方法,其中,所述方法还包括:
    当仅接收到手动输入内容和语音输入内容中的一项时,将接收到的手动输入内容或语音输入内容进行输出,并重置所述输入起始时间点。
  5. 根据权利要求1所述的方法,其中,在对应生成与所述手动输入内容对应的第一备选输出内容以及与所述语音输入内容对应的第二备选输出内容之后,以及在接收到针对所述第一备选输出内容和所述第二备选输出内容的确定指令之前,所述方法还包括:
    根据接收到的针对所述第一备选输出内容或所述第二备选输出内容的修改指令,从所述第一备选输出内容或所述第二备选输出内容中确定待修改的输出内容;
    对所述待修改的输出内容进行修改,得到修改后的输出内容,并将所述修改后的输出内容直接进行输出。
  6. 一种混合输入的装置,所述装置包括:重置单元、接收单元、计时单元、判定单元、第一输出单元和第二输出单元,其中,
    所述重置单元,配置为重置输入起始时间点;
    所述接收单元,配置为所述重置单元重置所述输入起始时间点之后,接收手动输入内容与语音输入内容;
    所述计时单元,配置为对所述接收单元接收的手动输入内容与语音输入内容的时间间隔进行计时;以及,当所述接收单元接收的手动输入内容与语音输入内容的时间间隔在预设的时间间隔之内时,触发所述判定单元;
    所述判定单元,配置为判定所述手动输入内容与所述语音输入内容的一致性;以及,当所述手动输入内容与所述语音输入内容不一致时,触发所述第一输出单元;
    所述第一输出单元,配置为将所述手动输入内容或所述语音输入内容分别生成并输出与所述手动输入内容对应的第一备选输出内容以及与所述语音输入内容对应的第二备选输出内容;
    所述接收单元,还配置为接收针对所述第一备选输出内容和所述第二备选输出内容的确定指令;
    所述第二输出单元,配置为当所述接收单元接收到针对所述第一备选输出内容和所述第二备选输出内容的确定指令后,将确定的备选输出内容进行输出,并触发所述重置单元。
  7. 根据权利要求6所述的装置,其中,所述计时单元,还配置为当所 述接收单元接收的手动输入内容与语音输入内容的时间间隔超过预设的时间间隔时,触发所述第二输出单元;
    相应地,所述第二输出单元,还配置为将所述手动输入内容与所述语音输入内容中最先接收到输入内容进行输出,并触发所述重置单元。
  8. 根据权利要求6所述的装置,其中,所述判定单元,还配置为当所述手动输入内容与所述语音输入内容一致时,触发所述第二输出单元;
    相应地,所述第二输出单元,还配置为将所述手动输入内容或所述语音输入内容进行输出,并触发所述重置单元。
  9. 根据权利要求6所述的装置,其中,所述第二输出单元,还配置为当所述接收单元仅接收到手动输入内容和语音输入内容中的一项时,将接收到的手动输入内容或语音输入内容进行输出,并触发所述重置单元。
  10. 根据权利要求6所述的装置,其中,所述装置还包括:确定单元和修改单元;其中,
    所述接收单元,还配置为接收针对所述第一备选输出内容或所述第二备选输出内容的修改指令;
    所述确定单元,配置为根据所述修改指令,从所述第一备选输出内容或所述第二备选输出内容中确定待修改的输出内容;
    所述修改单元,配置为对所述待修改的输出内容进行修改,得到修改后的输出内容;
    所述第二输出单元,还配置为将所述修改后的输出内容直接进行输出。
  11. 一种计算机存储介质,所述计算机存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行如权利要求1至5任一项所述的混合输入的方法。
PCT/CN2015/087419 2015-02-12 2015-08-18 一种混合输入的方法、装置和计算机存储介质 WO2016127619A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510075201.2 2015-02-12
CN201510075201.2A CN105988769B (zh) 2015-02-12 2015-02-12 一种混合输入的方法和装置

Publications (1)

Publication Number Publication Date
WO2016127619A1 true WO2016127619A1 (zh) 2016-08-18

Family

ID=56614192

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/087419 WO2016127619A1 (zh) 2015-02-12 2015-08-18 一种混合输入的方法、装置和计算机存储介质

Country Status (2)

Country Link
CN (1) CN105988769B (zh)
WO (1) WO2016127619A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361814A (zh) * 2018-09-25 2019-02-19 联想(北京)有限公司 一种控制方法及电子设备
CN112506390A (zh) * 2020-12-10 2021-03-16 北京华宇信息技术有限公司 多方文本输入方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050015250A1 (en) * 2003-07-15 2005-01-20 Scott Davis System to allow the selection of alternative letters in handwriting recognition systems
CN101082836A (zh) * 2007-06-29 2007-12-05 华中科技大学 一种整合语音输入和手写输入功能的汉字输入系统
CN101488044A (zh) * 2009-02-18 2009-07-22 陈拙夫 一种语音和单笔混合式计算机汉字输入法
CN103000176A (zh) * 2012-12-28 2013-03-27 安徽科大讯飞信息科技股份有限公司 语音识别方法和系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07311656A (ja) * 1994-05-17 1995-11-28 Toshiba Corp マルチモーダル文字入力装置
CN102272827B (zh) * 2005-06-01 2013-07-10 泰吉克通讯股份有限公司 利用语音输入解决模糊的手工输入文本输入的方法和装置
CN101334704B (zh) * 2008-06-27 2010-06-30 中国科学院软件研究所 一种面向移动设备的多通道中文输入法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050015250A1 (en) * 2003-07-15 2005-01-20 Scott Davis System to allow the selection of alternative letters in handwriting recognition systems
CN101082836A (zh) * 2007-06-29 2007-12-05 华中科技大学 一种整合语音输入和手写输入功能的汉字输入系统
CN101488044A (zh) * 2009-02-18 2009-07-22 陈拙夫 一种语音和单笔混合式计算机汉字输入法
CN103000176A (zh) * 2012-12-28 2013-03-27 安徽科大讯飞信息科技股份有限公司 语音识别方法和系统

Also Published As

Publication number Publication date
CN105988769B (zh) 2019-11-12
CN105988769A (zh) 2016-10-05

Similar Documents

Publication Publication Date Title
WO2017032054A1 (zh) 一种播放速度调节方法及终端
EP3537278A1 (en) Recording and playing method for screen video, and screen recording terminal and playing terminal
US11194599B2 (en) Handwritten message input for electronic devices
EP2645223A2 (en) Touch-based method and apparatus for sending information
JP2019533251A (ja) 端末のスクリーンショット方法、装置及びモバイル端末、記憶媒体
US20180150202A1 (en) Expression curve generating method based on voice input and device thereof
WO2022068814A1 (zh) 菜单显示方法、装置、电子设备及存储介质
US9798512B1 (en) Context-based volume adjustment
WO2016197590A1 (zh) 用于在终端设备上提供截屏服务的方法、装置、存储介质及设备
AU2022203591B2 (en) Method and apparatus for switching display interface, and electronic device
WO2022135323A1 (zh) 图像生成方法、装置和电子设备
WO2016188493A1 (zh) 文字曲线生成方法及其装置
US20230054717A1 (en) Ui control generation and trigger methods, and terminal
US10943372B2 (en) GUI display method and apparatus, and terminal device
WO2016127619A1 (zh) 一种混合输入的方法、装置和计算机存储介质
WO2015158215A1 (zh) 一种显示操作界面的方法、装置及触摸屏和终端
WO2017000343A1 (zh) 一种指纹解锁的方法及终端
US20230214110A1 (en) Input control method, device, and electronic apparatus
WO2020133829A1 (zh) 音量调节方法、音量调节装置、终端及介质
WO2023000698A1 (zh) 通过语音方式控制程序的方法、设备及程序产品
WO2016061921A1 (zh) 组合多种应用操作的方法、装置、终端及计算机存储介质
WO2017016333A1 (zh) 一种屏幕调整方法及装置
JP2016058816A (ja) 情報端末および情報端末システム
WO2017161837A1 (zh) 便签中时间信息的生成方法及设备
CN112235645B (zh) 多媒体内容播放方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15881775

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15881775

Country of ref document: EP

Kind code of ref document: A1