[go: up one dir, main page]

CN114816215A - Input method, mobile terminal and storage medium - Google Patents

Input method, mobile terminal and storage medium Download PDF

Info

Publication number
CN114816215A
CN114816215A CN202210557763.0A CN202210557763A CN114816215A CN 114816215 A CN114816215 A CN 114816215A CN 202210557763 A CN202210557763 A CN 202210557763A CN 114816215 A CN114816215 A CN 114816215A
Authority
CN
China
Prior art keywords
keyboard
touch
virtual keyboard
processor
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210557763.0A
Other languages
Chinese (zh)
Inventor
朱广锐
原烨豪
刘彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Liandi Information Accessibility Co ltd
Original Assignee
Shenzhen Liandi Information Accessibility Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Liandi Information Accessibility Co ltd filed Critical Shenzhen Liandi Information Accessibility Co ltd
Priority to CN202210557763.0A priority Critical patent/CN114816215A/en
Publication of CN114816215A publication Critical patent/CN114816215A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

本申请实施例涉及信息输入技术领域,公开了一种输入方法、移动终端和存储介质,首先,获取触发编辑框的指令,显示虚拟键盘,该虚拟键盘包括放大浮窗;当用户触碰虚拟键盘时,获取触碰操作作用于虚拟键盘上对应的触碰键盘元素,并将触碰键盘元素显示于该放大浮窗中以进行放大显示,以方便用户看清自己目前触碰操作的元素。在触碰操作延时预设时长后,即在确保该触碰操作稳定后,执行该触碰键盘元素对应的指令,相当于延迟响应触碰操作。在此实施例中,通过放大浮窗对触碰操作作用的触碰键盘元素进行放大显示,以方便用户看清自己目前触碰操作的元素;通过按键延迟响应机制,能够有效缓解因手抖、误触碰等导致的错误输入问题。

Figure 202210557763

The embodiments of the present application relate to the technical field of information input, and disclose an input method, a mobile terminal, and a storage medium. First, an instruction to trigger an edit box is obtained, and a virtual keyboard is displayed, where the virtual keyboard includes an enlarged floating window; when a user touches the virtual keyboard, the virtual keyboard is displayed. When the touch operation is applied to the corresponding touch keyboard element on the virtual keyboard, the touch keyboard element is displayed in the enlarged floating window for enlarged display, so as to facilitate the user to clearly see the element currently touched by the touch operation. After the touch operation is delayed for a preset period of time, that is, after ensuring that the touch operation is stable, executing the instruction corresponding to the touch keyboard element is equivalent to delaying the response to the touch operation. In this embodiment, the touch keyboard elements that are operated by the touch operation are enlarged and displayed by enlarging the floating window, so as to facilitate the user to see the elements that he is currently touching. The problem of wrong input caused by accidental touch, etc.

Figure 202210557763

Description

输入方法、移动终端和存储介质Input method, mobile terminal and storage medium

技术领域technical field

本申请实施例涉及信息输入技术领域,尤其涉及一种输入方法、移动终端和存储介质。The embodiments of the present application relate to the technical field of information input, and in particular, to an input method, a mobile terminal, and a storage medium.

背景技术Background technique

随着通信技术的发展,以电脑、移动通信终端等作为信息载体的多媒体交互终端设备的应用与日俱增,而为了在这些终端设备上实现简化的操作,触摸屏这种易于使用、坚固耐用、反应速度快、节省空间的新型装置越来越受到系统工程师们的重视。以移动终端中的手机为例,手机上的触摸屏显示出待输入的虚拟键盘后,用户就可以通过触控笔或手指触击触摸屏上虚拟键盘的按键完成输入文字的目的。With the development of communication technology, the application of multimedia interactive terminal equipment with computers, mobile communication terminals, etc. as information carriers is increasing day by day. , New space-saving devices are increasingly valued by system engineers. Taking a mobile phone in a mobile terminal as an example, after the touch screen on the mobile phone displays the virtual keyboard to be input, the user can touch the keys of the virtual keyboard on the touch screen with a stylus or finger to complete the purpose of inputting text.

然而,目前的虚拟键盘无法满足老年人、视障者、肢体障碍者等人群的实际需求,老年人、肢体障碍者在录入文字过程中遇到种种困难,导致难输入、错误输入情况时常发生。However, the current virtual keyboard cannot meet the actual needs of the elderly, the visually impaired, and the physically impaired. The elderly and the physically impaired encounter various difficulties in the process of entering text, resulting in difficult input and wrong input frequently.

发明内容SUMMARY OF THE INVENTION

本申请实施例主要解决的技术问题是提供一种输入方法,能够让老年人、视障者、肢体障碍者等适用人群更容易看清键盘以及操作键盘,实现顺畅输入。The main technical problem solved by the embodiments of the present application is to provide an input method, which can make it easier for the elderly, the visually impaired, the physically impaired and other applicable groups to see the keyboard and operate the keyboard, so as to realize smooth input.

为解决上述技术问题,第一方面,本申请实施例中提供给了一种输入方法,包括:In order to solve the above technical problems, in the first aspect, an input method is provided in the embodiment of the present application, including:

获取编辑指令,显示虚拟键盘,虚拟键盘包括放大浮窗;Obtain editing instructions, display the virtual keyboard, and the virtual keyboard includes an enlarged floating window;

获取触碰操作作用于虚拟键盘上对应的触碰键盘元素,并将触碰键盘元素显示于放大浮窗;Get the touch keyboard element corresponding to the touch operation on the virtual keyboard, and display the touch keyboard element in the enlarged floating window;

在触碰操作延时预设时长后,执行触碰键盘元素对应的指令。After the touch operation is delayed for a preset duration, the instruction corresponding to the touch keyboard element is executed.

在一些实施例中,该方法还包括:当获取到触碰键盘元素时,控制读屏器播报触碰键盘元素。In some embodiments, the method further includes: when the touch keyboard element is acquired, controlling the screen reader to broadcast the touch keyboard element.

在一些实施例中,在执行触碰键盘元素对应的指令之后,该方法还包括:In some embodiments, after executing the instruction corresponding to the touch keyboard element, the method further includes:

若触碰键盘元素对应的指令属于输入指令,则控制读屏器播报触碰键盘元素;If the command corresponding to the touch keyboard element is an input command, control the screen reader to broadcast the touch keyboard element;

若触碰键盘元素对应的指令属于候选指令,则控制读屏器播报虚拟键盘的候选区中的内容。If the instruction corresponding to the touch keyboard element is a candidate instruction, the screen reader is controlled to broadcast the content in the candidate area of the virtual keyboard.

在一些实施例中,该方法还包括:控制读屏器播报候选区中第一个候选字的字面解释。In some embodiments, the method further includes: controlling the screen reader to broadcast the literal interpretation of the first candidate word in the candidate area.

在一些实施例中,该方法还包括:当触碰操作作用于虚拟键盘上的键盘元素时,控制振动元件做出振动提醒。In some embodiments, the method further includes: when the touch operation acts on a keyboard element on the virtual keyboard, controlling the vibration element to make a vibration reminder.

在一些实施例中,该方法还包括:获取振动元件的设置信息,设置信息包括振动音效和/或振动强度;根据振动元件的设置信息,更新振动元件的设置。In some embodiments, the method further includes: acquiring setting information of the vibration element, where the setting information includes vibration sound effects and/or vibration intensity; and updating the setting of the vibration element according to the setting information of the vibration element.

在一些实施例中,该方法还包括:获取键盘设置信息,键盘设置信息包括放大浮框的字体大小、透明度、位置、背景色,和/或,虚拟键盘的大小、背景色,和/或,预设时长;根据键盘设置信息,更新虚拟键盘的设置。In some embodiments, the method further includes: acquiring keyboard setting information, where the keyboard setting information includes the font size, transparency, position, background color of the enlarged floating frame, and/or the size, background color of the virtual keyboard, and/or, The preset duration; according to the keyboard setting information, the settings of the virtual keyboard are updated.

在一些实施例中,在显示虚拟键盘后,方法还包括:将虚拟键盘的类型名称显示于放大浮窗,并控制读屏器朗读虚拟键盘的类型名称。In some embodiments, after displaying the virtual keyboard, the method further includes: displaying the type name of the virtual keyboard in the enlarged floating window, and controlling the screen reader to read the type name of the virtual keyboard aloud.

为解决上述技术问题,第二方面,本申请实施例中提供给了一种移动终端,包括:In order to solve the above technical problems, in a second aspect, the embodiments of the present application provide a mobile terminal, including:

至少一个处理器;以及,at least one processor; and,

与至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行第一方面的方法。The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect.

为解决上述技术问题,第三方面,本申请实施例中提供给了一种计算机可读存储介质,计算机可读存储介质存储有计算机可执行指令,当计算机可执行指令被处理器所执行时,使处理器执行第一方面的方法。In order to solve the above technical problems, in a third aspect, the embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by the processor, A processor is caused to perform the method of the first aspect.

本申请实施例的有益效果:区别于现有技术的情况,本申请实施例提供的输入方法,首先,获取触发编辑框的指令,显示虚拟键盘,该虚拟键盘包括放大浮窗;当用户触碰虚拟键盘时,获取触碰操作作用于虚拟键盘上对应的触碰键盘元素,并将触碰键盘元素显示于该放大浮窗中以进行放大显示,以方便用户看清自己目前触碰操作的元素。在触碰操作延时预设时长后,即在确保该触碰操作稳定后,执行该触碰键盘元素对应的指令,相当于延迟响应触碰操作。在此实施例中,通过放大浮窗对触碰操作作用的触碰键盘元素进行放大显示,以方便用户看清自己目前触碰操作的元素;通过按键延迟响应机制,能够有效缓解因手抖、误触碰等导致的错误输入问题。The beneficial effects of the embodiments of the present application: different from the situation in the prior art, in the input method provided by the embodiments of the present application, first, an instruction to trigger an edit box is obtained, and a virtual keyboard is displayed, and the virtual keyboard includes an enlarged floating window; When the virtual keyboard is used, the corresponding touch keyboard element on the virtual keyboard is obtained by the touch operation, and the touch keyboard element is displayed in the enlarged floating window for enlarged display, so as to facilitate the user to clearly see the element that he is currently touching. . After the touch operation is delayed for a preset period of time, that is, after ensuring that the touch operation is stable, executing the instruction corresponding to the touch keyboard element is equivalent to delaying the response to the touch operation. In this embodiment, the touch keyboard elements that are operated by the touch operation are enlarged and displayed by enlarging the floating window, so as to facilitate the user to clearly see the elements that are currently touched by the user; The problem of wrong input caused by accidental touch, etc.

附图说明Description of drawings

一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings, and these exemplifications do not constitute limitations of the embodiments, and elements with the same reference numerals in the drawings are denoted as similar elements, Unless otherwise stated, the figures in the accompanying drawings do not constitute a scale limitation.

图1为本申请实施例中移动终端显示的虚拟键盘的示意图;1 is a schematic diagram of a virtual keyboard displayed by a mobile terminal in an embodiment of the application;

图2为本申请实施例中移动终端的结构示意图;2 is a schematic structural diagram of a mobile terminal in an embodiment of the present application;

图3为本申请一些实施例中输入方法的流程示意图;3 is a schematic flowchart of an input method in some embodiments of the present application;

图4为本申请实施例的应用示例图;FIG. 4 is an application example diagram of an embodiment of the present application;

图5为本申请实施例的应用示例图;FIG. 5 is an application example diagram of an embodiment of the present application;

图6为本申请实施例的应用示例图;FIG. 6 is an application example diagram of an embodiment of the present application;

图7为本申请实施例的应用示例图;FIG. 7 is an application example diagram of an embodiment of the present application;

图8为本申请实施例的应用示例图。FIG. 8 is a diagram of an application example of an embodiment of the present application.

具体实施方式Detailed ways

下面结合具体实施例对本申请进行详细说明。以下实施例将有助于本领域的技术人员进一步理解本申请,但不以任何形式限制本申请。应当指出的是,对本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进。这些都属于本申请的保护范围。The present application will be described in detail below with reference to specific embodiments. The following examples will help those skilled in the art to further understand the application, but do not limit the application in any form. It should be noted that, for those skilled in the art, several modifications and improvements can be made without departing from the concept of the present application. These all belong to the protection scope of the present application.

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

需要说明的是,如果不冲突,本申请实施例中的各个特征可以相互结合,均在本申请的保护范围之内。另外,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。此外,本文所采用的“第一”、“第二”、“第三”等字样并不对数据和执行次序进行限定,仅是对功能和作用基本相同的相同项或相似项进行区分。It should be noted that, if there is no conflict, various features in the embodiments of the present application may be combined with each other, which are all within the protection scope of the present application. In addition, although the functional modules are divided in the schematic diagram of the device, and the logical sequence is shown in the flowchart, in some cases, the modules in the device may be divided differently, or the sequence shown in the flowchart may be performed. or the described steps. In addition, the words "first", "second" and "third" used herein do not limit the data and execution order, but only distinguish the same or similar items with substantially the same function and effect.

除非另有定义,本说明书所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本说明书中在本申请的说明书中所使用的术语只是为了描述具体的实施方式的目的,不是用于限制本申请。本说明书所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by one of ordinary skill in the technical field belonging to this application. The terms used in the specification of the present application in this specification are only for the purpose of describing specific embodiments, and are not used to limit the present application. As used in this specification, the term "and/or" includes any and all combinations of one or more of the associated listed items.

此外,下面所描述的本申请各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In addition, the technical features involved in the various embodiments of the present application described below can be combined with each other as long as there is no conflict with each other.

触摸输入对于移动终端而言的重要性是不言而喻的,用户可以通过触摸屏的虚拟键盘完成与各种信息的输入。然而,由于移动终端的屏幕受限的,打开全键盘进行信息输入时,面对4行30多个按键(26个字母按键,空格,退格和模式切换按键等),在保证固定行数(一般是4行)的前提下,在较小的屏幕上要完成键盘的正常显示必然会导致每个按键的显示变小。例如,图1所示是目前主流移动终端上采用的全键盘输入法布局,可以看出每个字母按键都是比较窄的,按键字体较小,难以看清。对于老年人、视障者、肢体障碍者等人群,视力或行动受限的情况下,选择键盘上字符以进行信息输入的时候更容易触及到正确按键左右相邻按键,从而导致错误输入,输入困难。此外,键盘响应速度过快,对于行动缓慢的人群,容易因手抖、误触碰等因素而频繁错误输入。The importance of touch input to mobile terminals is self-evident, and users can input various information through the virtual keyboard of the touch screen. However, due to the limited screen of the mobile terminal, when the full keyboard is opened for information input, there are more than 30 keys in 4 lines (26 letter keys, space, backspace and mode switching keys, etc.), while ensuring a fixed number of lines ( Under the premise of generally 4 lines), to complete the normal display of the keyboard on a smaller screen will inevitably cause the display of each key to become smaller. For example, Figure 1 shows the full-keyboard input method layout currently used in mainstream mobile terminals. It can be seen that each letter key is relatively narrow, and the key font is small and difficult to read. For the elderly, the visually impaired, the physically impaired and other people, in the case of limited vision or movement, it is easier to touch the right and left adjacent keys when selecting characters on the keyboard for information input, resulting in incorrect input and input. difficulty. In addition, the response speed of the keyboard is too fast, and for people who move slowly, it is easy to frequently make wrong input due to factors such as hand shaking and accidental touch.

针对上述问题,本申请一些实施例提供了一种输入方法、移动终端和存储介质,通过虚拟键盘的放大浮窗,对触碰操作作用的触碰键盘元素进行放大显示,以方便用户看清自己目前触碰操作的元素;提供按键延迟响应机制,能够有效缓解因手抖、误触碰等导致的错误输入问题。In view of the above problems, some embodiments of the present application provide an input method, a mobile terminal, and a storage medium. Through the enlarged floating window of the virtual keyboard, the touch keyboard elements that function as touch operations are enlarged and displayed, so as to facilitate users to see themselves clearly Elements of the current touch operation; provide a key delay response mechanism, which can effectively alleviate the problem of wrong input caused by hand shake, accidental touch, etc.

下面说明本申请实施例提供的用于实现上述输入方法的移动终端,请参阅图2,移动终端100为触摸式移动终端,移动终端100可以是手机、PDA(Personal DigitalAssistant,个人数字助理)、平板电脑等。The following describes the mobile terminal provided by the embodiments of the present application for implementing the above input method. Please refer to FIG. 2 . The mobile terminal 100 is a touch-type mobile terminal, and the mobile terminal 100 may be a mobile phone, a PDA (Personal Digital Assistant), a tablet computer, etc.

移动终端包括通信连接的触摸屏10、处理器20和存储器30。这里,通信连接可以通过总线连接,图2中以总线连接进行了示例性说明。The mobile terminal includes a communicatively connected touch screen 10 , a processor 20 and a memory 30 . Here, the communication connection may be via a bus connection, which is exemplified in FIG. 2 as a bus connection.

其中,触摸屏10是一种可接收触头等输入讯号的感应式液晶显示装置,当接触了屏幕上的图形按钮时,屏幕上的触觉反馈系统可根据预先编程的程式驱动各种连结装置。具体地,触摸屏包括触摸检测部件和触摸屏控制器。触摸检测部件安装在显示器屏幕前面,用于采集触摸信号,将触摸信号送触摸屏控制器;触摸屏控制器的主要作用是从触摸点检测部件接收触摸信号,并将它转换成触点坐标送给处理器,同时能接收处理器发来的命令并加以执行。现有的触摸屏包括电阻式触摸屏、电容式触摸屏、红外触摸屏、声波式触摸屏、光学成像式触摸屏和电磁感应式触摸屏,在此不再详细介绍。The touch screen 10 is an inductive liquid crystal display device that can receive input signals such as contacts. When a graphic button on the screen is touched, the tactile feedback system on the screen can drive various connection devices according to a pre-programmed program. Specifically, the touch screen includes a touch detection part and a touch screen controller. The touch detection component is installed in front of the display screen to collect touch signals and send the touch signals to the touch screen controller; the main function of the touch screen controller is to receive the touch signal from the touch point detection component and convert it into contact coordinates for processing. At the same time, it can receive commands from the processor and execute them. Existing touch screens include resistive touch screens, capacitive touch screens, infrared touch screens, acoustic wave touch screens, optical imaging touch screens, and electromagnetic induction touch screens, which will not be described in detail here.

处理器20被配置为支持该移动终端100执行输入方法中相应的功能。该处理器20可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP),硬件芯片或者其任意组合。上述硬件芯片可以是专用集成电路(applicationspecific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logicdevice,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。The processor 20 is configured to support the mobile terminal 100 to perform corresponding functions in the input method. The processor 20 may be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof. The above hardware chip may be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

存储器30作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态性计算机可执行程序以及模块,如本申请实施例中输入方法对应的程序指令/模块。处理器20通过运行存储在存储器30中的非暂态软件程序、指令以及模块,可以实现下述任意一个方法实施例中的输入方法。As a non-transitory computer-readable storage medium, the memory 30 can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as program instructions/modules corresponding to the input methods in the embodiments of the present application. The processor 20 can implement the input method in any one of the following method embodiments by running the non-transitory software programs, instructions and modules stored in the memory 30 .

存储器30可以包括易失性存储器(volatile memory,VM),例如随机存取存储器(random access memory,RAM);存储器1002也可以包括非易失性存储器(non-volatilememory,NVM),例如只读存储器(read-only memory,ROM),快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器30还可以包括上述种类的存储器的组合。Memory 30 may include volatile memory (VM), such as random access memory (RAM); memory 1002 may also include non-volatile memory (NVM), such as read-only memory (read-only memory, ROM), flash memory (flash memory), hard disk drive (HDD) or solid-state drive (solid-state drive, SSD); the memory 30 may also include a combination of the above-mentioned types of memory.

可以理解的是,移动终端还包括其它支持运行的硬件和软件。硬件可以包括天线、各种传感器、麦克风等。软件可以包括操作系统等,操作系统是管理和控制移动终端硬件与软件资源的程序。软件还可以包括各种应用程序(application,app)。在此,对未涉及本申请实施例的改进的移动终端其它部分不再进行说明。It can be understood that the mobile terminal also includes other hardware and software that supports running. The hardware may include antennas, various sensors, microphones, and the like. The software may include an operating system, etc. The operating system is a program that manages and controls the hardware and software resources of the mobile terminal. The software may also include various applications (application, app). Here, other parts of the mobile terminal that do not involve the improvements in the embodiments of the present application will not be described again.

下面结合附图,对本申请一些实施例提供的输入方法进行详细介绍。请参阅图3,图3为本申请实施例提供的输入方法的流程示意图。该方法S100包括以下步骤:The input methods provided by some embodiments of the present application will be described in detail below with reference to the accompanying drawings. Please refer to FIG. 3 , which is a schematic flowchart of an input method provided by an embodiment of the present application. The method S100 includes the following steps:

S10:获取编辑指令,显示虚拟键盘,虚拟键盘包括放大浮窗。S10: Obtain an editing instruction, and display a virtual keyboard, where the virtual keyboard includes an enlarged floating window.

可以理解的是,当用户点击编辑框时,触摸屏将点击坐标信息发送给处理器,处理器基于点击坐标信息和编辑框,确定用户想要在编辑框中输入信息,即获取编辑指令,从而,处理器控制光标在编辑框中闪烁,自动显示虚拟键盘。It can be understood that when the user clicks the edit box, the touch screen sends the click coordinate information to the processor, and the processor determines, based on the click coordinate information and the edit box, that the user wants to input information in the edit box, that is, obtains an editing instruction, thereby, The processor controls the cursor to blink in the edit box and automatically displays the virtual keyboard.

可以理解的是,编辑框是应用程序的输入窗口,可以编辑文本,接收用户输入的内容。例如,当用户使用搜索引擎时需要在搜索引擎的编辑框中输入关键字,当用户发送信息时需要在聊天应用软件的编辑框中输入文本信息。It can be understood that the edit box is the input window of the application, which can edit the text and receive the content input by the user. For example, when a user uses a search engine, a keyword needs to be entered in an edit box of the search engine, and when a user sends a message, a text message needs to be entered in an edit box of a chat application software.

虚拟键盘可以是采用软件方式实现,即相应的程序代码经处理器运行后,会显示出界面,界面包括键盘图标。用户点击键盘图标上的按键元素,即可模仿在电子键盘或机械键盘上输入信息,例如,用户在英文输入的模式下点击按键“a”,则编辑框中输入字母“a”。The virtual keyboard may be implemented in software, that is, after the corresponding program code is run by the processor, an interface will be displayed, and the interface includes a keyboard icon. The user can click the key element on the keyboard icon to simulate inputting information on the electronic keyboard or mechanical keyboard. For example, if the user clicks the key "a" in the English input mode, the letter "a" is input in the edit box.

在此实施例中,请参阅图4,虚拟键盘包括放大浮窗。可以理解的是,浮窗也可称为悬浮窗口,可以在浮窗上显示数据内容。该放大浮窗则用于将数据内容进行放大显示,便于弱视觉者阅读。在一些实施例中,放大浮窗可以是半透明的,悬浮在页面上,但不妨碍页面的阅读。In this embodiment, please refer to FIG. 4 , the virtual keyboard includes an enlarged floating window. It can be understood that a floating window can also be called a floating window, and data content can be displayed on the floating window. The enlarged floating window is used to enlarge and display the data content, which is convenient for the visually impaired to read. In some embodiments, the magnifying air window can be translucent, hovering over the page, but not obstructing the reading of the page.

S20:获取触碰操作作用于虚拟键盘上对应的触碰键盘元素,并将触碰键盘元素显示于放大浮窗。S20: Acquire the touch keyboard element corresponding to the touch operation acting on the virtual keyboard, and display the touch keyboard element in the enlarged floating window.

虚拟键盘上显示有键盘元素,例如,键盘元素包括26个字母按键和英文切换按键、数字切换按键、拼音切换按键、空格键等,其中,26个字母按键可以呈九宫格或全键盘方式显示。当虚拟键盘切换至拼音输入模式下时,键盘元素还包括候选字,例如当在拼音输入模式下,触碰按键“n”和“i”构成拼音“ni”时,由于存在同音字,从而,在键盘的候选区域显示这些同音字“你、尼、腻”等,也就是说这些同音字即为候选字,当用户触碰候选字“你”时,候选字“你”输入至编辑框中。Keyboard elements are displayed on the virtual keyboard. For example, the keyboard elements include 26 letter keys and English switch keys, number switch keys, pinyin switch keys, space bar, etc., among which, the 26 letter keys can be displayed in a nine-square grid or a full keyboard. When the virtual keyboard is switched to the pinyin input mode, the keyboard elements also include candidate words. For example, when the keys "n" and "i" are touched to form the pinyin "ni" in the pinyin input mode, due to the existence of homophones, thus, These homophones "you, ni, greasy", etc. are displayed in the candidate area of the keyboard, that is to say, these homophones are candidate characters. When the user touches the candidate character "you", the candidate character "you" is input into the edit box .

基于上述对虚拟键盘的介绍,这里,触碰操作可以是指用户的手指触碰虚拟键盘上的键盘元素,例如触碰点击字母按键、切换按键或候选字等。触碰键盘元素即为触碰点击到的元素,例如当前触碰按键“n”,则按键“n”即为当前的触碰键盘元素。当用户触碰虚拟键盘上的键盘元素时,触摸屏将触碰点处的坐标信息发送给处理器,处理器基于触碰点处的坐标信息和虚拟键盘中各键盘元素的坐标信息确定触碰键盘元素,即获取到触碰键盘元素。Based on the above description of the virtual keyboard, here, the touch operation may refer to the user's finger touching a keyboard element on the virtual keyboard, such as touching and clicking a letter button, a switch button, or a candidate word. The touch keyboard element is the element that is touched and clicked. For example, if the key "n" is currently touched, the key "n" is the current touch keyboard element. When the user touches a keyboard element on the virtual keyboard, the touch screen sends the coordinate information at the touch point to the processor, and the processor determines the touch keyboard based on the coordinate information at the touch point and the coordinate information of each keyboard element in the virtual keyboard element, that is, get the touch keyboard element.

在传统输入方法中,当处理器获取到触碰键盘元素时,会执行触碰键盘元素对应的指令,例如,若触碰键盘元素为英文输入模式下的按键“A”,则对应的指令为将字母“A”输入编辑框中,若触碰键盘元素为拼音切换按键,则对应的指令为将虚拟键盘的输入模式切换成拼音输入。In the traditional input method, when the processor obtains the touch keyboard element, it will execute the instruction corresponding to the touch keyboard element. For example, if the touch keyboard element is the key "A" in English input mode, the corresponding instruction is Input the letter "A" into the edit box, if the touch keyboard element is a pinyin switch button, the corresponding command is to switch the input mode of the virtual keyboard to pinyin input.

在本申请实施例中,当处理器获取到触碰键盘元素后,首先,将触碰键盘元素显示于放大浮窗中。例如,请再次参阅图4,若触碰键盘元素为英文输入模式下的按键“a”,则将按键“a”放大显示于放大浮窗中,即放大浮窗中的按键“a”的字体大小大于虚拟键盘的26个字母按键中按键“a”的字体大小,从而,方便弱视力群体(例如老年人或视觉障碍人群)从放大浮窗中看清自己当前所按的键盘元素。In the embodiment of the present application, after the processor acquires the touch keyboard element, first, the touch keyboard element is displayed in the enlarged floating window. For example, please refer to Fig. 4 again. If the keyboard element is the key "a" in the English input mode, the key "a" will be enlarged and displayed in the enlarged floating window, that is, the font of the key "a" in the floating window will be enlarged. The size is larger than the font size of the key "a" in the 26-letter keys of the virtual keyboard, so that it is convenient for people with low vision (such as the elderly or visually impaired people) to clearly see the keyboard element they are currently pressing from the enlarged floating window.

S30:在触碰操作延时预设时长后,执行触碰键盘元素对应的指令。S30: After the touch operation is delayed for a preset time period, execute the instruction corresponding to the touch keyboard element.

在此实施例中,预设时长可以由用户自行设置,例如预设时长可以为200毫秒。触碰操作延时预设时长,即用户触碰点击持续预设时长,能够确保该触碰操作稳定,排除误触碰或手抖触碰等。在该触碰操作稳定后,执行该触碰键盘元素对应的指令,相当于延迟响应触碰操作,使得响应更加准确。In this embodiment, the preset duration may be set by the user, for example, the preset duration may be 200 milliseconds. The touch operation is delayed for a preset time period, that is, the user touches and clicks continuously for a preset time period, which can ensure the stability of the touch operation, and exclude accidental touches or hand-shaking touches. After the touch operation is stable, executing the instruction corresponding to the touch keyboard element is equivalent to delaying the response to the touch operation, so that the response is more accurate.

例如,请参阅图5,在英文输入模式下,用户触碰点击按键“a”,然后,处理器获取到按键“a”后,将按键“a”放大显示于放大浮窗中,方便弱视力群体(例如老年人或视觉障碍人群)从放大浮窗中看清自己当前所按的键盘元素。若用户确定按键“a”是自己想要点击的,则持续触碰按键“a”达到预设时长后再松手,则处理器接收到已按压预设时长的信号后,做出反馈,响应响应触碰操作,即执行触碰键盘元素对应的指令。在此实施例中,执行按键“a”对应的指令是将字母a输入至编辑框中。请参阅图6,若用户看清按键“a”不是自己想要点击的,则在预设时长内松开手指,解除触碰操作,则处理器不会执行与按键“a”对应的指令,即不会将字母a输入至编辑框中,能够减少错误输入。For example, please refer to Figure 5, in the English input mode, the user touches and clicks the button "a", and then, after the processor obtains the button "a", the button "a" is enlarged and displayed in the enlarged floating window, which is convenient for people with low vision. Groups (such as the elderly or visually impaired people) can see the keyboard element they are currently pressing from the magnified air window. If the user determines that the button "a" is what he wants to click, he/she keeps touching the button "a" for a preset time and then lets go, then the processor receives the signal that the button "a" has been pressed for the preset time, and then gives feedback and responds. The touch operation is to execute the instruction corresponding to the touch keyboard element. In this embodiment, executing the instruction corresponding to the key "a" is to input the letter a into the edit box. Please refer to Figure 6. If the user sees clearly that the button "a" is not what he wants to click, he releases his finger within the preset time period to release the touch operation, and the processor will not execute the instruction corresponding to the button "a". That is, the letter a will not be input into the edit box, which can reduce erroneous input.

在一些实施例中,若触碰键盘元素对应的指令,用户触碰预设时长后移开手指,解除触碰后,将相应内容输入至编辑框中。即触摸时,键盘元素只在放大浮窗中放大显示,用户抬手松开后,才输入至编辑框中。例如,持续触碰按键“a”达到预设时长并松手后,则字母a输入至编辑框中。In some embodiments, if the instruction corresponding to the keyboard element is touched, the user removes the finger after touching for a preset duration, and then inputs the corresponding content into the edit box after releasing the touch. That is, when touched, the keyboard element is only displayed in a magnified floating window, and only after the user lifts his hand and releases it, the keyboard element is entered into the edit box. For example, after continuously touching the button "a" for a preset time and letting go, the letter a is entered into the edit box.

可以理解的是,对于老年人、视障者、肢体障碍者等人群,在触碰屏幕时容易手抖,基于因手抖导致的触碰时间短,通过上述延迟响应,可以有效减少因手抖而导致的误输入。It is understandable that for the elderly, the visually impaired, the physically impaired and other people, it is easy to shake hands when touching the screen. Based on the short touch time caused by hand shaking, the above delay response can effectively reduce hand shaking. resulting in incorrect input.

在此实施例中,通过放大浮窗对触碰操作作用的触碰键盘元素进行放大显示,以方便用户看清自己目前触碰操作的元素;通过按键延迟响应机制,能够有效缓解因手抖、误触碰等导致的错误输入问题。In this embodiment, the touch keyboard elements that are operated by the touch operation are enlarged and displayed by enlarging the floating window, so as to facilitate the user to clearly see the elements that are currently touched by the user; The problem of wrong input caused by accidental touch, etc.

在一些实施例中,该方法S100还包括:当获取到触碰键盘元素时,控制读屏器播报触碰键盘元素。In some embodiments, the method S100 further includes: when the touch keyboard element is acquired, controlling the screen reader to broadcast the touch keyboard element.

这里,读屏器是一种可以将触摸屏上的内容通过文本转语音朗读出来的应用程序。在一些实施例中,读屏器可以将用户触摸的图标内容朗读出来,或者,将触摸后的交互结果朗读出来,从而,视觉障碍者可以通过声音知晓当前屏幕上的内容、触摸的图标或者交互结果。Here, a screen reader is an application that reads text-to-speech content on a touchscreen. In some embodiments, the screen reader can read out the content of the icon touched by the user, or read out the interactive result after the touch, so that the visually impaired can know the current content on the screen, the touched icon or the interaction through sound result.

在此实施例中,当用户触碰虚拟键盘上的键盘元素时,控制读屏器播报触碰键盘元素。例如,当用户点击回车键,则读屏器朗读播报“回车键”,当用户点击按键“6”,则读屏器朗读播报数字“6”。在使用虚拟键盘的过程中,通过控制读屏器播报触碰键盘元素,能够让老年人或视觉障碍者知晓自己当前所按的键盘元素,及时进行校对。In this embodiment, when the user touches a keyboard element on the virtual keyboard, the screen reader is controlled to announce the touch of the keyboard element. For example, when the user clicks the enter key, the screen reader reads and broadcasts the "enter key", and when the user clicks the button "6", the screen reader reads and broadcasts the number "6". In the process of using the virtual keyboard, by controlling the screen reader to broadcast the touch keyboard elements, the elderly or the visually impaired can know the keyboard elements they are currently pressing and proofread in time.

在一些实施例中,在前述“执行触碰键盘元素对应的指令”之后,该方法还包括:In some embodiments, after the aforementioned "executing the instruction corresponding to the touch keyboard element", the method further includes:

若触碰键盘元素对应的指令属于输入指令,则控制读屏器播报触碰键盘元素。若触碰键盘元素对应的指令属于候选指令,则控制读屏器播报虚拟键盘的候选区中的内容。If the command corresponding to the touch keyboard element is an input command, the screen reader is controlled to broadcast the touch keyboard element. If the instruction corresponding to the touch keyboard element is a candidate instruction, the screen reader is controlled to broadcast the content in the candidate area of the virtual keyboard.

可以理解的是,虚拟键盘中设置有英文输入模式和拼音输入模式。在英文输入模式下,字母按键、数字按键或符号按键在触碰后直接输入编辑框中。在拼音输入模式下,键盘元素还包括候选字和候选符号,例如,请再次参阅图7,当在拼音输入模式下,触碰按键“n”和“i”构成拼音“ni”时,由于存在同音字,从而,在键盘的候选区域显示这些同音字“你、尼、腻”等,也就是说这些同音字即为候选字,以供用户选择。在拼音输入模式下,当26个字母按键呈九宫格显示时,点击符号切换按键,则在候选区域显示各种符号,以供用户选择。在拼音输入模式下,当26个字母按键呈全键盘显示时,点击符号切换按键,虚拟键盘跳转至符号数字按键,用户点击某一符号或数字按键,则在编辑框中输入对应的符号或数字。It can be understood that the virtual keyboard is provided with an English input mode and a Pinyin input mode. In English input mode, letter keys, numeric keys or symbol keys are directly input into the edit box after being touched. In the pinyin input mode, the keyboard elements also include candidate words and candidate symbols. For example, please refer to Figure 7 again. When in the pinyin input mode, touch the keys "n" and "i" to form the pinyin "ni", due to the existence of Therefore, these homophones "you, ni, greasy", etc. are displayed in the candidate area of the keyboard, that is to say, these homophones are candidate characters for the user to choose. In the pinyin input mode, when the 26 letter buttons are displayed in a nine-square grid, click the symbol switching button to display various symbols in the candidate area for the user to choose. In Pinyin input mode, when 26 letter buttons are displayed on the full keyboard, click the symbol switch button, the virtual keyboard jumps to the symbol number button, and the user clicks a symbol or number button, then the corresponding symbol or number is entered in the edit box. number.

也就是说,虚拟键盘中的按键在不同输入模式下,一些按键对应的指令是输入指令,即点击按键输入该按键所反映的字母、符号或数字;一些按键对应的指令是候选指令,即点击按键,在候选区域显示该按键的多个可供选择的反馈结果;一些按键对应的指令是模式切换指令,即点击按键,虚拟键盘切换成对应的模式。That is to say, in different input modes of the keys in the virtual keyboard, the commands corresponding to some keys are input commands, that is, click the key to input the letters, symbols or numbers reflected by the key; the commands corresponding to some keys are candidate commands, that is, click Press the button, and multiple selectable feedback results of the button are displayed in the candidate area; the instructions corresponding to some buttons are mode switching instructions, that is, when the button is clicked, the virtual keyboard is switched to the corresponding mode.

在此实施例中,如果触碰键盘元素对应的指令属于输入指令,则控制读屏器播报触碰键盘元素,以告知用户输入编辑框中的内容。如果触碰键盘元素对应的指令属于候选指令,则控制读屏器播报虚拟键盘的候选区域中的内容,从而,可以告知用户候选区域中的内容,以方便视觉障碍用户根据播报选择。In this embodiment, if the instruction corresponding to the touch keyboard element is an input instruction, the screen reader is controlled to broadcast the touch keyboard element to inform the user to input the content in the edit box. If the instruction corresponding to the touch keyboard element is a candidate instruction, the screen reader is controlled to broadcast the content in the candidate area of the virtual keyboard, so that the user can be informed of the content in the candidate area, so that visually impaired users can choose according to the broadcast.

在一些实施例中,该方法S100还包括:控制读屏器播报候选区中第一个候选字的字面解释。In some embodiments, the method S100 further includes: controlling the screen reader to broadcast the literal interpretation of the first candidate word in the candidate area.

例如,当在拼音输入模式下,触碰按键“n”和“i”构成拼音“ni”时,会在键盘的候选区域显示这些候选字“你、泥、逆”等。第一个候选字为“你”,则播报“你”的字面解释“你们的你”。For example, in the pinyin input mode, when the keys "n" and "i" are touched to form the pinyin "ni", the candidate characters "you, mud, ni", etc. will be displayed in the candidate area of the keyboard. The first candidate word is "you", and the literal interpretation of "you" is "you".

可以理解的是,在一些实施例中,处理器还可以控制读屏器依次播报候选区域中的候选字,例如,依次播报“泥、逆”的字面解释。It can be understood that, in some embodiments, the processor may further control the screen reader to broadcast the candidate words in the candidate area in sequence, for example, to broadcast the literal interpretation of "mud, inverse" in sequence.

在此实施例中,控制控制读屏器播报候选区中第一个候选字的字面解释,能够帮助用户尽快了解候选字,从而做出正确的选择。In this embodiment, the screen reader is controlled to broadcast the literal interpretation of the first candidate word in the candidate area, which can help the user to understand the candidate word as soon as possible, so as to make a correct choice.

在一些实施例中,该方法S100还包括:当所述触碰操作作用于所述虚拟键盘上的键盘元素时,控制振动元件做出振动提醒。In some embodiments, the method S100 further includes: when the touch operation acts on a keyboard element on the virtual keyboard, controlling the vibration element to make a vibration reminder.

这里,振动元件可以是移动终端中的线性马达、偏心电机等。当用户触碰点击虚拟键盘上的键盘元素时,例如按键或候选字、候选符号,控制振动元件做出振动提醒,即振动元件振动,手持移动终端的用户可以感受到振动提醒。通过这种振动提醒的方式,告知用户正在触控虚拟键盘,能够增加手感。Here, the vibration element may be a linear motor, an eccentric motor, or the like in the mobile terminal. When the user touches and clicks a keyboard element on the virtual keyboard, such as a key or candidate word, candidate symbol, the vibration element is controlled to make a vibration reminder, that is, the vibration element vibrates, and the user holding the mobile terminal can feel the vibration reminder. Through this vibration reminder, the user is informed that the virtual keyboard is being touched, which can increase the feel.

在一些实施例中,该方法S100还包括:获取振动元件的设置信息,该设置信息包括振动音效和/或振动强度;根据振动元件的设置信息,更新振动元件的设置。从而,使得振动元件在不同的设置信息下,振动音效或振动强度不同,满足用户的个性化需求。In some embodiments, the method S100 further includes: acquiring setting information of the vibration element, where the setting information includes vibration sound effects and/or vibration intensity; and updating the setting of the vibration element according to the setting information of the vibration element. Therefore, under different setting information, the vibrating element has different vibration sound effects or vibration intensities, so as to meet the individual needs of users.

在此实施例中,用户可以自行定义振动提醒的音效、振动强度。可以理解的是,振动元件的设置信息还包括关闭或打开,在关闭状态下,关闭振动提醒功能,在打开状态下,开启振动提醒功能。In this embodiment, the user can define the sound effect and vibration intensity of the vibration reminder by themselves. It can be understood that the setting information of the vibration element also includes turning it off or on. In the off state, the vibration reminder function is turned off, and in the on state, the vibration reminder function is turned on.

在一些实施例中,该方法S100还包括:获取键盘设置信息,该键盘设置信息包括放大浮窗的字体大小、透明度、位置、背景色,和/或,虚拟键盘的大小、背景色,和/或,预设时长。根据键盘设置信息,更新虚拟键盘的设置。In some embodiments, the method S100 further includes: acquiring keyboard setting information, where the keyboard setting information includes the font size, transparency, position, background color of the enlarged floating window, and/or the size, background color of the virtual keyboard, and/or Or, a preset duration. Update the settings of the virtual keyboard according to the keyboard setting information.

在此实施例中,用户可以在移动终端上对虚拟键盘的相关参数进行个性化自定义,从而,处理器获取键盘设置信息,根据键盘设置信息,更新虚拟键盘的设置。在一些实施例中,键盘设置信息包括放大浮窗的字体大小、透明度、位置和背景色。也即,用户可以根据需要设置放大浮窗中显示的字体大小,能满足不同程度的视觉障碍者看清放大浮窗中的内容。用户可以根据需要设置放大浮窗的透明度、位置和大小,使得放大浮窗在移动终端的主页面上合理显示,不影响主页面的阅读。In this embodiment, the user can personalize relevant parameters of the virtual keyboard on the mobile terminal, so that the processor obtains the keyboard setting information, and updates the setting of the virtual keyboard according to the keyboard setting information. In some embodiments, the keyboard setting information includes the font size, transparency, position, and background color of the magnified air window. That is, the user can set the font size displayed in the enlarged floating window as required, which can satisfy visually impaired persons of different degrees to clearly see the content in the enlarged floating window. The user can set the transparency, position and size of the enlarged floating window as required, so that the enlarged floating window can be reasonably displayed on the main page of the mobile terminal without affecting the reading of the main page.

在一些实施例中,键盘设置信息包括虚拟键盘的大小、背景色。用户可以根据需要设置虚拟键盘的大小和背景色,实现个性化定义。In some embodiments, the keyboard setting information includes the size and background color of the virtual keyboard. Users can set the size and background color of the virtual keyboard according to their needs to achieve personalized definition.

在一些实施例中,键盘设置信息还包括预设时长。用户可以根据自身的动作反应缓慢程度设置合适的预设时长,例如,若用户的动作反应缓慢程度严重,则设置较大的预设时长;若用户的动作反应缓慢程度轻微,则设置较小的预设时长。在此实施例中,通过自定义预设时长,使得虚拟键盘的延迟响应能够适应老年人或残障人群。In some embodiments, the keyboard setting information further includes a preset duration. The user can set an appropriate preset duration according to the slowness of the user's action response. For example, if the user's action response is severe, set a larger preset duration; if the user's action response is mild, set a smaller preset duration. preset duration. In this embodiment, by customizing the preset duration, the delayed response of the virtual keyboard can be adapted to the elderly or the disabled.

在一些实施例中,在显示虚拟键盘后,该方法S100还包括:将虚拟键盘的类型名称显示于放大浮窗,并控制读屏器朗读虚拟键盘的类型名称。In some embodiments, after displaying the virtual keyboard, the method S100 further includes: displaying the type name of the virtual keyboard in the enlarged floating window, and controlling the screen reader to read the type name of the virtual keyboard aloud.

可以理解的是,虚拟键盘的类型有全键盘拼音、全键盘英文和九宫格拼音等。虚拟键盘的类型会影响其输入方式。请参阅图8,为了让视觉障碍者知晓当前状态下虚拟键盘的类型,在用户点击编辑框,触发虚拟键盘弹出显示时,将虚拟键盘的类型名称(例如全键拼音)显示与放大浮窗中,方便弱视力人群看清当前虚拟键盘的类型。同时,控制读屏器朗读虚拟键盘的类型名称,使得视觉障碍者和老年人能够及时知晓当前虚拟键盘的类型,为准确输入做准备。It is understandable that the types of virtual keyboards include full-keyboard pinyin, full-keyboard English, and Jiugongge pinyin. The type of virtual keyboard affects how it is typed. Please refer to Figure 8. In order to let the visually impaired know the type of the virtual keyboard in the current state, when the user clicks the edit box to trigger the pop-up display of the virtual keyboard, the type name of the virtual keyboard (such as full-key pinyin) is displayed and enlarged in the floating window. , so that people with low vision can see the type of the current virtual keyboard clearly. At the same time, the screen reader is controlled to read aloud the type name of the virtual keyboard, so that the visually impaired and the elderly can know the current type of the virtual keyboard in time and prepare for accurate input.

在一些实施例中,该虚拟键盘还可以包括语音播读控件,用于播读该放大浮窗中的显示内容。在此实施例中,放大浮窗中的显示内容不依赖读屏器进行播放,用户不需要设置读屏器,即可通过语音播报获取放大浮窗中的显示内容,更加智能。In some embodiments, the virtual keyboard may further include a voice reading control for reading the displayed content in the enlarged floating window. In this embodiment, the display content in the magnified floating window does not depend on the screen reader to be played, and the user can obtain the displayed content in the magnified floating window through voice broadcast without setting the screen reader, which is more intelligent.

综上所述,本申请实施例提供的输入方法,首先,获取触发编辑框的指令,显示虚拟键盘,该虚拟键盘包括放大浮窗;当用户触碰虚拟键盘时,获取触碰操作作用于虚拟键盘上对应的触碰键盘元素,并将触碰键盘元素显示于该放大浮窗中以进行放大显示,以方便用户看清自己目前触碰操作的元素。在触碰操作延时预设时长后,即在确保该触碰操作稳定后,执行该触碰键盘元素对应的指令,相当于延迟响应触碰操作。在此实施例中,通过放大浮窗对触碰操作作用的触碰键盘元素进行放大显示,以方便用户看清自己目前触碰操作的元素;通过按键延迟响应机制,能够有效缓解因手抖、误触碰等导致的错误输入问题。To sum up, in the input method provided by the embodiments of the present application, first, an instruction to trigger an edit box is obtained, and a virtual keyboard is displayed, and the virtual keyboard includes an enlarged floating window; when the user touches the virtual keyboard, the touch operation is obtained to act on the virtual keyboard. The corresponding touch keyboard elements on the keyboard are displayed in the enlarged floating window for enlarged display, so as to facilitate the user to see the elements currently touched by the user. After the touch operation is delayed for a preset period of time, that is, after ensuring that the touch operation is stable, executing the instruction corresponding to the touch keyboard element is equivalent to delaying the response to the touch operation. In this embodiment, the touch keyboard elements that are operated by the touch operation are enlarged and displayed by enlarging the floating window, so as to facilitate the user to clearly see the elements that are currently touched by the user; The problem of wrong input caused by accidental touch, etc.

本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令用于使计算机设备执行本申请实施例提供的输入方法,例如,如图3所示出的输入方法。The embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, where the computer-executable instructions are used to make a computer device execute the input method provided by the embodiments of the present application, for example, as shown in FIG. 3 shows the input method.

在一些实施例中,存储介质可以是FRAM、ROM、PROM、EPROM、EE PROM、闪存、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备。In some embodiments, the storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; it may also be a variety of memory including one or any combination of the above-mentioned memories. equipment.

在一些实施例中,可执行指令可以采用程序、软件、软件模块、脚本或代码的形式,按任意形式的编程语言(包括编译或解释语言,或者声明性或过程性语言)来编写,并且其可按任意形式部署,包括被部署为独立的程序或者被部署为模块、组件、子例程或者适合在计算环境中使用的其它单元。In some embodiments, executable instructions may take the form of programs, software, software modules, scripts, or code, written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and which Deployment may be in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

作为示例,可执行指令可以但不一定对应于文件系统中的文件,可被存储在保存其它程序或数据的文件的一部分,例如,存储在超文本标记语言(H TML,Hyper TextMarkupLanguage)文档中的一个或多个脚本中,存储在专用于所讨论的程序的单个文件中,或者,存储在多个协同文件(例如,存储一个或多个模块、子程序或代码部分的文件)中。As an example, executable instructions may, but do not necessarily correspond to files in a file system, may be stored as part of a file that holds other programs or data, for example, stored in a Hyper Text Markup Language (H TML, Hyper Text Markup Language) document One or more scripts, stored in a single file dedicated to the program in question, or, in multiple cooperating files (eg, files that store one or more modules, subprograms, or portions of code).

作为示例,可执行指令可被部署为在一个计算设备(包括智能终端和服务器在内的设备)上执行,或者在位于一个地点的多个计算设备上执行,又或者,在分布在多个地点目通过通信网络互连的多个计算设备上执行。As an example, executable instructions may be deployed to execute on one computing device (devices including smart terminals and servers), or on multiple computing devices located at one site, or distributed across multiple sites A project executes on multiple computing devices interconnected by a communication network.

需要说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。It should be noted that the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physically separated unit, that is, it can be located in one place, or it can be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。From the description of the above embodiments, those of ordinary skill in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and certainly can also be implemented by hardware. Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and the program is in During execution, it may include the processes of the embodiments of the above-mentioned methods. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.

最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;在本申请的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; under the thinking of the present application, the technical features in the above embodiments or different embodiments can also be combined, The steps may be carried out in any order, and there are many other variations of the different aspects of the present application as described above, which are not provided in detail for the sake of brevity; although the present application has been Those skilled in the art should understand that: it is still possible to modify the technical solutions recorded in the foregoing embodiments, or to perform equivalent replacements to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the implementation of the application. scope of technical solutions.

Claims (10)

1. An input method, comprising:
acquiring an editing instruction, and displaying a virtual keyboard, wherein the virtual keyboard comprises an amplifying floating window;
acquiring a corresponding touch keyboard element acted on the virtual keyboard by touch operation, and displaying the touch keyboard element on the amplification floating window;
and after the touch operation is delayed for a preset time, executing an instruction corresponding to the touch keyboard element.
2. The method of claim 1, further comprising:
and when the touch keyboard element is acquired, controlling a screen reader to broadcast the touch keyboard element.
3. The method according to claim 1 or 2, wherein after the executing the instruction corresponding to the touch keyboard element, the method further comprises:
if the instruction corresponding to the touch keyboard element belongs to the input instruction, controlling a screen reader to broadcast the touch keyboard element;
and if the instruction corresponding to the touch keyboard element belongs to the candidate instruction, controlling the screen reader to broadcast the content in the candidate area of the virtual keyboard.
4. The method of claim 3, further comprising:
and controlling the screen reader to broadcast the literal interpretation of the first candidate word in the candidate area.
5. The method of claim 1, further comprising:
and when the touch operation acts on the keyboard element on the virtual keyboard, controlling a vibration element to make a vibration prompt.
6. The method of claim 5, further comprising:
acquiring setting information of the vibration element, wherein the setting information comprises a vibration sound effect and/or vibration intensity;
updating the setting of the vibration element according to the setting information of the vibration element.
7. The method of claim 1, further comprising:
acquiring keyboard setting information, wherein the keyboard setting information comprises the font size, the transparency, the position and the background color of the amplifying floating frame, and/or the size and the background color of the virtual keyboard, and/or the preset duration;
and updating the setting of the virtual keyboard according to the keyboard setting information.
8. The method of claim 1, wherein after said displaying the virtual keyboard, the method further comprises: and displaying the type name of the virtual keyboard on the amplifying floating window, and controlling a screen reader to read the type name of the virtual keyboard.
9. A mobile terminal, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
10. A computer-readable storage medium having computer-executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the method of any one of claims 1-8.
CN202210557763.0A 2022-05-19 2022-05-19 Input method, mobile terminal and storage medium Pending CN114816215A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210557763.0A CN114816215A (en) 2022-05-19 2022-05-19 Input method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210557763.0A CN114816215A (en) 2022-05-19 2022-05-19 Input method, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN114816215A true CN114816215A (en) 2022-07-29

Family

ID=82516489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210557763.0A Pending CN114816215A (en) 2022-05-19 2022-05-19 Input method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114816215A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101963879A (en) * 2009-07-21 2011-02-02 深圳市同洲电子股份有限公司 Touch screen soft keyboard
CN102207821A (en) * 2010-03-31 2011-10-05 三星电子株式会社 Touch screen apparatus and method for processing input of touch screen apparatus
US8335993B1 (en) * 2008-10-24 2012-12-18 Marvell International Ltd. Enhanced touch sensitive interface and methods and software for making and using the same
CN106406738A (en) * 2016-09-27 2017-02-15 维沃移动通信有限公司 A keyboard key content information input method and a mobile terminal
CN106855784A (en) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 Method, device and terminal for preventing false triggering of touch keys
CN107209563A (en) * 2014-12-02 2017-09-26 西门子公司 User interface and the method for operating system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8335993B1 (en) * 2008-10-24 2012-12-18 Marvell International Ltd. Enhanced touch sensitive interface and methods and software for making and using the same
CN101963879A (en) * 2009-07-21 2011-02-02 深圳市同洲电子股份有限公司 Touch screen soft keyboard
CN102207821A (en) * 2010-03-31 2011-10-05 三星电子株式会社 Touch screen apparatus and method for processing input of touch screen apparatus
CN107209563A (en) * 2014-12-02 2017-09-26 西门子公司 User interface and the method for operating system
CN106406738A (en) * 2016-09-27 2017-02-15 维沃移动通信有限公司 A keyboard key content information input method and a mobile terminal
CN106855784A (en) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 Method, device and terminal for preventing false triggering of touch keys

Similar Documents

Publication Publication Date Title
TWI553541B (en) Method and computing device for semantic zoom
TWI570632B (en) Multi-handwriting handwriting recognition using a universal recognizer
JP6336425B2 (en) Device, method and graphical user interface for setting a restricted interaction with a user interface
TWI541717B (en) Managing real-time handwriting recognition
AU2011376310B2 (en) Programming interface for semantic zoom
JP5964429B2 (en) Semantic zoom
CN112148170B (en) Desktop element adjustment method, device and electronic device
CN105659194B (en) Fast worktodo for on-screen keyboard
US20110285656A1 (en) Sliding Motion To Change Computer Keys
TW201510775A (en) Real-time stroke-order and stroke-direction independent handwriting recognition
US20120306747A1 (en) Device, Method, and Graphical User Interface for Entering Alternate Characters with a Physical Keyboard
KR20140074888A (en) Semantic zoom gestures
TW201516887A (en) Integrating stroke-distribution information into spatial feature extraction for automatic handwriting recognition
CN102713797B (en) How to Enter Korean Characters Using the Touch Screen
US20150370473A1 (en) Using a symbol recognition engine
CN103365584A (en) Method and device for processing keyboard input
CN114816215A (en) Input method, mobile terminal and storage medium
KR102206486B1 (en) Method for proving translation service by using input application and terminal device using the same
WO2017159607A1 (en) Input assistance device, smart phone, and input assistance method
KR101654710B1 (en) Character input apparatus based on hand gesture and method thereof
CN106371720B (en) For executing the device and method of auxiliary operation in electric terminal
WO2024120033A1 (en) Virtual-keyboard-based content editing method and apparatus, electronic device, computer-readable storage medium, and computer program product
JP2023042317A (en) Electronic apparatus, input method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220729

RJ01 Rejection of invention patent application after publication