WO2016054919A1 - 输入方法、输入装置及终端 - Google Patents

输入方法、输入装置及终端 Download PDF

Info

Publication number
WO2016054919A1
WO2016054919A1 PCT/CN2015/079220 CN2015079220W WO2016054919A1 WO 2016054919 A1 WO2016054919 A1 WO 2016054919A1 CN 2015079220 W CN2015079220 W CN 2015079220W WO 2016054919 A1 WO2016054919 A1 WO 2016054919A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
application
instruction
terminal
button
Prior art date
Application number
PCT/CN2015/079220
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 WO2016054919A1 publication Critical patent/WO2016054919A1/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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes

Definitions

  • the present invention relates to the field of input methods, and in particular, to an input method, an input device, and a terminal.
  • the input method has become more and more intelligent.
  • the ultimate goal is to enable the user to output the most desired characters of the user in the case of fewer keystrokes, thereby improving the efficiency of user input.
  • the same service is provided for all applications. For example, when an word is input in an application, the application needs to be opened first, and then input in the input box of the application, and the key is required to be input 3 times. , then the same process is entered in other applications, and the button needs to be pressed 3 times.
  • the input content is often repetitive and regular, and some content needs to be input frequently.
  • the existing input method cannot input a fast input method for a specific application. , has certain limitations.
  • the embodiments of the present invention provide an input method, an input device, and a terminal, so as to at least solve the technical problem that the prior art cannot perform fast input for a specific application.
  • an embodiment of the present invention provides an input method, where the input method includes the following steps:
  • an input instruction inputting in an edit box of the application is acquired, and a preset key instruction and input content corresponding to the application are acquired according to the input instruction;
  • the input content is input to the edit box when the button command is received.
  • acquiring an input instruction inputting in an edit box of the application, and acquiring a preset key instruction and input content corresponding to the application according to the input instruction includes: :
  • acquiring an input instruction inputting in an edit box of the application, and acquiring a preset key instruction and input content corresponding to the application according to the input instruction includes: :
  • acquiring an input instruction inputting in an edit box of the application, and acquiring a preset button instruction and input content corresponding to the application according to the input instruction Also includes:
  • an embodiment of the present invention further provides an input device, where the input device includes:
  • the obtaining module is configured to: after the application on the terminal is started, obtain an input instruction inputting in an edit box of the application, and obtain a preset key instruction and input content corresponding to the application according to the input instruction;
  • the input module is configured to input the input content into the edit box when the button command is received.
  • the obtaining module comprises:
  • a first acquiring unit configured to acquire an application interface bound by the control of the edit box based on the input instruction
  • the second obtaining unit is configured to acquire a corresponding key instruction and input content according to the application interface.
  • the obtaining module comprises:
  • a third obtaining unit configured to acquire an uppermost application in the stack of the terminal based on the input instruction
  • the fourth obtaining unit is configured to acquire a button instruction and an input content corresponding to the application of the uppermost layer.
  • the input device further includes:
  • the setting module is configured to obtain an application installed in the terminal, set a button instruction and input content corresponding to the application, and save the file.
  • an embodiment of the present invention further provides a terminal, where the terminal includes the input device.
  • FIG. 1 is a schematic flow chart of a first embodiment of an input method according to the present invention
  • FIG. 2 is a schematic diagram showing the refinement process of an embodiment of step S101 in FIG. 1;
  • step S101 in FIG. 1 is a schematic flow chart of another embodiment of step S101 in FIG. 1;
  • FIG. 4 is a schematic flow chart of a second embodiment of an input method according to the present invention.
  • FIG. 5 is a schematic diagram of functional modules of a first embodiment of an input device according to the present invention.
  • FIG. 6 is a schematic diagram of a refinement function module of an embodiment of the acquisition module of FIG. 5;
  • FIG. 7 is a schematic diagram of a refinement function module of another embodiment of the acquisition module of FIG. 5;
  • FIG. 8 is a schematic diagram of functional modules of a second embodiment of an input device according to the present invention.
  • an input method includes:
  • Step S101 after the application on the terminal is started, acquiring an input instruction inputting in an edit box of the application, and acquiring a preset key instruction and input content corresponding to the application according to the input instruction;
  • the terminal may be an intelligent terminal such as a mobile phone or a tablet computer.
  • the applications on the terminal are various, and may include, for example, a browser application, a video application, a chat application, an office application, and the like.
  • the terminal acquires a preset key command and input content corresponding to the application based on an input instruction generated in an edit box of the application.
  • a specific button command and an input content input according to the button command are set in advance for the application.
  • button commands such as long press of a specified button, or long press of a combination of multiple buttons, etc.
  • other button commands can be set according to the user's use.
  • the input content has various forms, for example, a certain sentence, a certain website address, an account name or a password, and the like.
  • Step S102 when the button instruction is received, input the input content into the edit box.
  • the button command and the input content Since the correspondence between the application, the button command and the input content is set, when the application on the terminal receives the specific button command, the corresponding input content can be directly input into the edit box.
  • Another example is that if the user opens the browser and the user wants to input the web address, the user clicks on the edit box of the web address input, and the browser adjusts the input method. When the user presses a button, the input method directly fills the web address information in the editor of the browser. Inside the box. In this way, user input can be greatly facilitated and input efficiency can be improved.
  • the foregoing step S101 includes:
  • Step S1011 Acquire an application interface bound to the control of the edit box based on the input instruction
  • Step S1012 Acquire a corresponding button instruction and input content according to the application interface.
  • the terminal performs an input method of determining which application is up based on the input command. Since the controls of the edit box in each application are bound to the application interface, by judging which interface the control of the edit box is bound, it is possible to determine which input method is currently applied, and then obtain the Apply the corresponding button command and input content.
  • the foregoing step S101 includes:
  • Step S1013 Acquire an application of a top layer in a stack of the terminal based on the input instruction
  • step S1014 a button instruction and an input content corresponding to the uppermost application are acquired.
  • the terminal may further acquire an uppermost application in the stack of the terminal based on the input instruction, and the uppermost application in the stack is a current application, and obtain a corresponding key instruction and input through an uppermost application in the stack. content.
  • the input method further includes:
  • Step S100 Acquire an application installed in the terminal, set a button instruction and input content corresponding to the application, and save the content.
  • the terminal can query all the applications installed in the terminal through the software query condition, and list them for the user to select.
  • the user selects an application in the application list, and then arbitrarily selects a long press of a button to correspond to the input content, sets the input content, and saves the set data.
  • buttons you can directly select multiple buttons, and then set the input content that needs to be input when each button is pressed long to save the data.
  • buttons can be all open to the user or partially open to the user.
  • all the applications installed in the current terminal can be searched out, and the user selects different applications, and performs setting of the input content when some buttons are pressed by the input method, and saves. Then, when the application invokes the input method, it can be determined which application is up. When the user inputs in the application, only a few simple button operations are required to input the desired input content of the user, thereby achieving fast input and improvement. Input efficiency.
  • An embodiment of the present invention further provides an input device.
  • the input device includes:
  • the obtaining module 101 is configured to: after the application on the terminal is started, acquire an input instruction inputting in an edit box of the application, and acquire a preset key instruction and input content corresponding to the application according to the input instruction;
  • the terminal may be an intelligent terminal such as a mobile phone or a tablet computer.
  • the applications on the terminal are various, and may include, for example, a browser application, a video application, a chat application, an office application, and the like.
  • the terminal acquires a preset key command and input content corresponding to the application based on an input instruction generated in an edit box of the application.
  • a specific button command and an input content input according to the button command are set in advance for the application.
  • button commands such as long press of a specified button, or long press of a combination of multiple buttons, etc.
  • other button commands can be set according to the user's use.
  • the input content has various forms, for example, it can be a certain sentence, a certain website address, an account name or a password, and the like.
  • the input module 102 is configured to input the input content into the edit box when the button command is received.
  • the button command and the input content Since the correspondence between the application, the button command and the input content is set, when the application on the terminal receives the specific button command, the corresponding input content can be directly input into the edit box.
  • Another example is that if the user opens the browser and the user wants to input the web address, the user clicks on the edit box of the web address input, and the browser adjusts the input method. When the user presses a button, the input method directly fills the web address information in the editor of the browser. Inside the box. In this way, user input can be greatly facilitated and input efficiency can be improved.
  • the obtaining module 101 includes:
  • the first obtaining unit 1011 is configured to acquire an application interface bound by the control of the edit box based on the input instruction
  • the second obtaining unit 1012 is configured to acquire a corresponding key instruction and input content according to the application interface.
  • the terminal performs an input method of determining which application is up based on the input command. Since the controls of the edit box in each application are bound to the application interface, by judging which interface the control of the edit box is bound, it is possible to determine which input method is currently applied, and then obtain the Apply the corresponding button command and input content.
  • the obtaining module 101 includes:
  • the third obtaining unit 1013 is configured to acquire an uppermost application in the stack of the terminal based on the input instruction
  • the fourth obtaining unit 1014 is configured to acquire a button instruction and an input content corresponding to the application of the uppermost layer.
  • the terminal may further acquire an uppermost application in the stack of the terminal based on the input instruction, and the uppermost application in the stack is a current application, and obtain a corresponding key instruction and input through an uppermost application in the stack. content.
  • the input device further includes:
  • the setting module 100 is configured to acquire an application installed in the terminal, set a key command and input content corresponding to the application, and save the file.
  • the terminal can query all the applications installed in the terminal through the software query condition, and list them for the user to select.
  • the user selects an application in the application list, and then arbitrarily selects a long press of a button to correspond to the input content, sets the input content, and saves the set data.
  • buttons you can directly select multiple buttons, and then set the input content that needs to be input when each button is pressed long to save the data.
  • buttons can be all open to the user or partially open to the user.
  • all the applications installed in the current terminal can be searched out, and the user selects different applications, and performs setting of the input content when some buttons are pressed by the input method, and saves. Then, when the application invokes the input method, it can be determined which application is up. When the user inputs in the application, only a few simple button operations are required to input the desired input content of the user, thereby achieving fast input and improvement. Input efficiency.
  • An embodiment of the present invention further provides a terminal, where the terminal includes the foregoing input device.
  • an input method, an input device, and a terminal provided by an embodiment of the present invention have the following beneficial effects: the user inputs the commonly used input content in a specific application with a specific key instruction in the input method, when the user is When inputting in the application, only a few simple key operations are required, such as long press of a certain button to input the user's desired input content, realizing quick input, improving input efficiency and user input experience.

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)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

一种输入方法、输入装置及终端,所述输入方法包括以下步骤:当终端上的应用启动后,获取在所述应用的编辑框进行输入的输入指令,根据所述输入指令获取预设的与所述应用对应的按键指令及输入内容(S101);当接收到所述按键指令时,将所述输入内容输入至所述编辑框中(S102)。上述方法能够针对特定的应用进行快速的输入,提高输入效率。

Description

输入方法、输入装置及终端 技术领域
本发明涉及输入法技术领域,尤其涉及一种输入方法、输入装置及终端。
背景技术
随着通信与网络技术的发展,输入法变得越来越智能,其最终目标包括使用户在按键次数越少的情况下,输出用户最期望的字符,提高用户输入的效率。
目前的输入法中,对于所有应用均提供相同的服务,如在某一应用中输入某个单词时需要先打开该应用,然后在该应用的输入框中进行输入,输入该单词需要按键3次,那么在其他应用输入该单词也是一样的流程,也需要按键3次。然而,用户进入的某个应用时,输入的内容往往具有重复性和规律性,有些内容需要经常输入,但现有的输入法由于技术的限制,无法针对特定的应用进行快速的输入法的输入,具有一定的局限性。
发明内容
本发明实施例提供了一种输入方法、输入装置及终端,以至少解决现有技术无法针对特定的应用进行快速的输入的技术问题。
为实现上述目的,本发明实施例提供了一种输入方法,所述输入方法包括以下步骤:
当终端上的应用启动后,获取在所述应用的编辑框进行输入的输入指令,根据所述输入指令获取预设的与所述应用对应的按键指令及输入内容;
当接收到所述按键指令时,将所述输入内容输入至所述编辑框中。
优选地,所述当终端上的应用启动后,获取在所述应用的编辑框进行输入的输入指令,根据所述输入指令获取预设的与所述应用对应的按键指令及输入内容的步骤包括:
基于所述输入指令获取所述编辑框的控件所绑定的应用界面;
根据所述应用界面获取对应的按键指令及输入内容。
优选地,所述当终端上的应用启动后,获取在所述应用的编辑框进行输入的输入指令,根据所述输入指令获取预设的与所述应用对应的按键指令及输入内容的步骤包括:
基于所述输入指令获取所述终端的堆栈中最上层的应用;
获取与所述最上层的应用对应的按键指令及输入内容。
优选地,所述当终端上的应用启动后,获取在所述应用的编辑框进行输入的输入指令,根据所述输入指令获取预设的与所述应用对应的按键指令及输入内容的步骤之前还包括:
获取安装于所述终端中的应用,设置所述应用对应的按键指令及输入内容并保存。
此外,为实现上述目的,本发明实施例还提供了一种输入装置,所述输入装置包括:
获取模块,设置为当终端上的应用启动后,获取在所述应用的编辑框进行输入的输入指令,根据所述输入指令获取预设的与所述应用对应的按键指令及输入内容;
输入模块,设置为当接收到所述按键指令时,将所述输入内容输入至所述编辑框中。
优选地,所述获取模块包括:
第一获取单元,设置为基于所述输入指令获取所述编辑框的控件所绑定的应用界面;
第二获取单元,设置为根据所述应用界面获取对应的按键指令及输入内容。
优选地,所述获取模块包括:
第三获取单元,设置为基于所述输入指令获取所述终端的堆栈中最上层的应用;
第四获取单元,设置为获取与所述最上层的应用对应的按键指令及输入内容。
优选地,所述输入装置还包括:
设置模块,设置为获取安装于所述终端中的应用,设置所述应用对应的按键指令及输入内容并保存。
此外,为实现上述目的,本发明实施例还提供了一种终端,所述终端包括上述的输入装置。
通过采用本发明实施例,对于不同的应用很多用户都有一些固定的输入,如输入用户名、密码、网址等,或者输入经常使用的词语、语句等,将用户在特定的应用中这些常用的输入内容与特定的按键指令关联在输入法中,当用户在该应用中进行输入时,只需要一些简单按键操作如长按某一按键就可以输入用户期望的输入内容,实现快速的输入,提高输入效率及用户输入体验。
附图说明
图1为本发明输入方法第一实施例的流程示意图;
图2为图1中步骤S101一实施例的细化流程示意图;
图3为图1中步骤S101另一实施例的细化流程示意图;
图4为本发明输入方法第二实施例的流程示意图;
图5为本发明输入装置第一实施例的功能模块示意图;
图6为图5中获取模块一实施例的细化功能模块示意图;
图7为图5中获取模块另一实施例的细化功能模块示意图;
图8为本发明输入装置第二实施例的功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明实施例提供了一种输入方法,参照图1,在一实施例中,该输入方法包括:
步骤S101,当终端上的应用启动后,获取在所述应用的编辑框进行输入的输入指令,根据所述输入指令获取预设的与所述应用对应的按键指令及输入内容;
本实施例中,终端可以是手机、平板电脑等智能终端。
本实施例中,终端上的应用多种多样,例如可以包括浏览器应用、视频应用、聊天应用、办公应用等等。
本实施例中,当终端上的应用启动后,用户在所述应用的编辑框进行输入,当点击应用中的编辑框时,产生一输入指令。
终端基于在该应用的编辑框中产生的输入指令,获取预设的与所述应用对应的按键指令及输入内容。
其中,针对该应用预先设置特定的按键指令及根据该按键指令进行输入的输入内容。
按键指令有多种多样,例如为长按某一指定的按键、或者长按多个按键的组合等等,还可以根据用户的使用设定为其他的按键指令。
本实施例中,输入内容的形式有多种,例如可以是某一句话、某一个网址、某个账户名或者密码等。
步骤S102,当接收到所述按键指令时,将所述输入内容输入至所述编辑框中。
由于设定了应用、按键指令与输入内容之间的对应关系,因此,当终端上的该应用接收到特定的按键指令时,可直接输入对应的输入内容至编辑框中。
例如在电脑的Email应用中,当Email应用启动时,用户通过鼠标点击Email的输入用户名的编辑框,终端首先先判断是哪个应用调起了输入法,然后查询相关的数据库或者存储文件,判断Email应用是否之前保存了长按按键的信息。如果用户设定长按的是键盘A键,长按键盘A键的输入内容是输入Email地址,长按键盘B键,长按键盘B键的输入内容是输入Email密码,则当用户长按A键时,则直接将Email地址输入至编辑框中;然后用户将光标移到下一编辑框,当用户长按B键时,则直接将Email密码输入至该编辑框中。又如用户打开浏览器,用户想输入网址,则点击网址输入的编辑框,则浏览器就调起了输入法,用户长按某个按键,则输入法直接将网址信息填充在浏览器的编辑框内。通过这种方式,能够极大的方便了用户输入,提高输入效率。
与现有技术相比,对于不同的应用很多用户都有一些固定的输入,如输入用户名、密码、网址等,或者输入经常使用的词语、语句等,将用户在特定的应用中这些常用的输入内容与特定的按键指令关联在输入法中,当用户在该应用中进行输入时,只需 要一些简单按键操作如长按某一按键就可以输入用户期望的输入内容,实现快速的输入,提高输入效率及用户输入体验。
在一优选的实施例中,如图2所示,在上述图1的实施例的基础上,上述步骤S101包括:
步骤S1011,基于所述输入指令获取所述编辑框的控件所绑定的应用界面;
步骤S1012,根据所述应用界面获取对应的按键指令及输入内容。
本实施例中,终端基于所述输入指令进行判断是哪个应用调起的输入法。由于各个应用中的编辑框的控件都是和应用界面绑定的,通过判断这个编辑框的控件是由哪个界面绑定的,就可以判断当前是哪个应用调起的输入法,然后可以获取该应用对应的按键指令及输入内容。
在一优选的实施例中,如图3所示,在上述图1的实施例的基础上,上述步骤S101包括:
步骤S1013,基于所述输入指令获取所述终端的堆栈中最上层的应用;
步骤S1014,获取与所述最上层的应用对应的按键指令及输入内容。
本实施例中,终端还可以基于所述输入指令获取所述终端的堆栈中最上层的应用,堆栈中最上层的应用为当前的应用,通过堆栈中最上层的应用获取对应的按键指令及输入内容。
在一优选的实施例中,如图4所示,在上述图1的实施例的基础上,该输入方法还包括:
步骤S100,获取安装于所述终端中的应用,设置所述应用对应的按键指令及输入内容并保存。
由于各个应用程序安装在操作系统中,在操作系统中都有相应的签名,终端通过软件查询条件,可查询到安装在终端中的所有应用程序,并列出来供用户进行选择。用户在应用列表中选择一个应用,然后任意选择一个按键的长按来对应输入内容,设置输入内容,保存所设置的数据。可以将需要保存的数据包括应用名称、按键名称、输入内容保存在数据库中,也可以保存在独立的文件中。
另外,还可以直接选择多个按键,然后分别设置各按键长按时需要输入的输入内容,保存数据。
例如:用户进行设置时,用户选择Email应用,然后选择一个用户自己喜欢的按键,例如按键A、按键B,然后分别设置按键A和按键B长按时的输入内容,长按按键A输入Email邮箱地址,长按按键B输入Email邮箱密码,保存数据。然后用户再次进行其他应用的设置,选择浏览器应用,用户仍然选择按键A、按键B,设置长按按键A输入的输入内容为某个常用网址,设置长按按键B输入内容为另外一个常用网址,保存数据。其中,按键可以全部开放给用户也可以部分开放给用户。
本实施例在输入法设置中,可以搜索出目前终端中安装的所有应用,用户选择不同的应用,进行输入法某些按键长按时输入内容的设置,保存。然后当应用调起输入法时,可以判断出是哪个应用调起的,当用户在该应用中进行输入时,只需要一些简单按键操作就可以输入用户期望的输入内容,实现快速的输入,提高输入效率。
本发明实施例还提供了一种输入装置,如图5所示,在一实施例中,所述输入装置包括:
获取模块101,设置为当终端上的应用启动后,获取在所述应用的编辑框进行输入的输入指令,根据所述输入指令获取预设的与所述应用对应的按键指令及输入内容;
本实施例中,终端可以是手机、平板电脑等智能终端。
本实施例中,终端上的应用多种多样,例如可以包括浏览器应用、视频应用、聊天应用、办公应用等等。
本实施例中,当终端上的应用启动后,用户在所述应用的编辑框进行输入,当点击应用中的编辑框时,产生一输入指令。
终端基于在该应用的编辑框中产生的输入指令,获取预设的与所述应用对应的按键指令及输入内容。
其中,针对该应用预先设置特定的按键指令及根据该按键指令进行输入的输入内容。
按键指令有多种多样,例如为长按某一指定的按键、或者长按多个按键的组合等等,还可以根据用户的使用设定为其他的按键指令。
本实施例中,输入内容的形式有多种,例如:可以是某一句话、某一个网址、某个账户名或者密码等。
输入模块102,设置为当接收到所述按键指令时,将所述输入内容输入至所述编辑框中。
由于设定了应用、按键指令与输入内容之间的对应关系,因此,当终端上的该应用接收到特定的按键指令时,可直接输入对应的输入内容至编辑框中。
例如在电脑的Email应用中,当Email应用启动时,用户通过鼠标点击Email的输入用户名的编辑框,终端首先先判断是哪个应用调起了输入法,然后查询相关的数据库或者存储文件,判断Email应用是否之前保存了长按按键的信息。如果用户设定长按的是键盘A键,长按键盘A键的输入内容是输入Email地址,长按键盘B键,长按键盘B键的输入内容是输入Email密码,则当用户长按A键时,则直接将Email地址输入至编辑框中;然后用户将光标移到下一编辑框,当用户长按B键时,则直接将Email密码输入至该编辑框中。又如用户打开浏览器,用户想输入网址,则点击网址输入的编辑框,则浏览器就调起了输入法,用户长按某个按键,则输入法直接将网址信息填充在浏览器的编辑框内。通过这种方式,能够极大的方便了用户输入,提高输入效率。
在一优选的实施例中,如图6所示,在上述图5的实施例的基础上,所述获取模块101包括:
第一获取单元1011,设置为基于所述输入指令获取所述编辑框的控件所绑定的应用界面;
第二获取单元1012,设置为根据所述应用界面获取对应的按键指令及输入内容。
本实施例中,终端基于所述输入指令进行判断是哪个应用调起的输入法。由于各个应用中的编辑框的控件都是和应用界面绑定的,通过判断这个编辑框的控件是由哪个界面绑定的,就可以判断当前是哪个应用调起的输入法,然后可以获取该应用对应的按键指令及输入内容。
在另一优选的实施例中,如图7所示,在上述图5的实施例的基础上,所述获取模块101包括:
第三获取单元1013,设置为基于所述输入指令获取所述终端的堆栈中最上层的应用;
第四获取单元1014,设置为获取与所述最上层的应用对应的按键指令及输入内容。
本实施例中,终端还可以基于所述输入指令获取所述终端的堆栈中最上层的应用,堆栈中最上层的应用为当前的应用,通过堆栈中最上层的应用获取对应的按键指令及输入内容。
在一优选的实施例中,如图8所示,在上述图5的实施例的基础上,所述输入装置还包括:
设置模块100,设置为获取安装于所述终端中的应用,设置所述应用对应的按键指令及输入内容并保存。
由于各个应用程序安装在操作系统中,在操作系统中都有相应的签名,终端通过软件查询条件,可查询到安装在终端中的所有应用程序,并列出来供用户进行选择。用户在应用列表中选择一个应用,然后任意选择一个按键的长按来对应输入内容,设置输入内容,保存所设置的数据。可以将需要保存的数据包括应用名称、按键名称、输入内容保存在数据库中,也可以保存在独立的文件中。
另外,还可以直接选择多个按键,然后分别设置各按键长按时需要输入的输入内容,保存数据。
例如:用户进行设置时,用户选择Email应用,然后选择一个用户自己喜欢的按键,例如按键A、按键B,然后分别设置按键A和按键B长按时的输入内容,长按按键A输入Email邮箱地址,长按按键B输入Email邮箱密码,保存数据。然后用户再次进行其他应用的设置,选择浏览器应用,用户仍然选择按键A、按键B,设置长按按键A输入的输入内容为某个常用网址,设置长按按键B输入内容为另外一个常用网址,保存数据。其中,按键可以全部开放给用户也可以部分开放给用户。
本实施例在输入法设置中,可以搜索出目前终端中安装的所有应用,用户选择不同的应用,进行输入法某些按键长按时输入内容的设置,保存。然后当应用调起输入法时,可以判断出是哪个应用调起的,当用户在该应用中进行输入时,只需要一些简单按键操作就可以输入用户期望的输入内容,实现快速的输入,提高输入效率。
本发明实施例还提供一种终端,终端包括上述的输入装置。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
工业实用性
如上所述,本发明实施例提供的一种输入方法、输入装置及终端具有以下有益效果:将用户在特定的应用中这些常用的输入内容与特定的按键指令关联在输入法中,当用户在该应用中进行输入时,只需要一些简单按键操作如长按某一按键就可以输入用户期望的输入内容,实现快速的输入,提高输入效率及用户输入体验。

Claims (9)

  1. 一种输入方法,所述输入方法包括以下步骤:
    当终端上的应用启动后,获取在所述应用的编辑框进行输入的输入指令,根据所述输入指令获取预设的与所述应用对应的按键指令及输入内容;
    当接收到所述按键指令时,将所述输入内容输入至所述编辑框中。
  2. 如权利要求1所述的输入方法,其中,所述当终端上的应用启动后,获取在所述应用的编辑框进行输入的输入指令,根据所述输入指令获取预设的与所述应用对应的按键指令及输入内容的步骤包括:
    基于所述输入指令获取所述编辑框的控件所绑定的应用界面;
    根据所述应用界面获取对应的按键指令及输入内容。
  3. 如权利要求1所述的输入方法,其中,所述当终端上的应用启动后,获取在所述应用的编辑框进行输入的输入指令,根据所述输入指令获取预设的与所述应用对应的按键指令及输入内容的步骤包括:
    基于所述输入指令获取所述终端的堆栈中最上层的应用;
    获取与所述最上层的应用对应的按键指令及输入内容。
  4. 如权利要求1至3中任一项所述的输入方法,其中,所述当终端上的应用启动后,获取在所述应用的编辑框进行输入的输入指令,根据所述输入指令获取预设的与所述应用对应的按键指令及输入内容的步骤之前还包括:
    获取安装于所述终端中的应用,设置所述应用对应的按键指令及输入内容并保存。
  5. 一种输入装置,所述输入装置包括:
    获取模块,设置为当终端上的应用启动后,获取在所述应用的编辑框进行输入的输入指令,根据所述输入指令获取预设的与所述应用对应的按键指令及输入内容;
    输入模块,设置为当接收到所述按键指令时,将所述输入内容输入至所述编辑框中。
  6. 如权利要求5所述的输入装置,其中,所述获取模块包括:
    第一获取单元,设置为基于所述输入指令获取所述编辑框的控件所绑定的应用界面;
    第二获取单元,设置为根据所述应用界面获取对应的按键指令及输入内容。
  7. 如权利要求5所述的输入装置,其中,所述获取模块包括:
    第三获取单元,设置为基于所述输入指令获取所述终端的堆栈中最上层的应用;
    第四获取单元,设置为获取与所述最上层的应用对应的按键指令及输入内容。
  8. 如权利要求5所述的输入装置,其中,所述输入装置还包括:
    设置模块,设置为获取安装于所述终端中的应用,设置所述应用对应的按键指令及输入内容并保存。
  9. 一种终端,所述终端包括权利要求5至8中任一项所述的输入装置。
PCT/CN2015/079220 2014-10-09 2015-05-18 输入方法、输入装置及终端 WO2016054919A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410529354.5A CN105573515A (zh) 2014-10-09 2014-10-09 输入方法、输入装置及终端
CN201410529354.5 2014-10-09

Publications (1)

Publication Number Publication Date
WO2016054919A1 true WO2016054919A1 (zh) 2016-04-14

Family

ID=55652550

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/079220 WO2016054919A1 (zh) 2014-10-09 2015-05-18 输入方法、输入装置及终端

Country Status (2)

Country Link
CN (1) CN105573515A (zh)
WO (1) WO2016054919A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354278A (zh) * 2016-10-31 2017-01-25 努比亚技术有限公司 一种结合应用程序的文字输入方法及终端
CN115509369A (zh) * 2021-06-03 2022-12-23 华为技术有限公司 录入方法及电子设备、存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108541310B9 (zh) 2016-06-22 2021-06-04 华为技术有限公司 一种显示候选词的方法、装置及图形用户界面

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003015807A (ja) * 2001-06-29 2003-01-17 Oki Electric Ind Co Ltd 入力制御方法と入力制御プログラム
CN101349947A (zh) * 2007-07-19 2009-01-21 吴琛 一种一键上网设备
TW201140378A (en) * 2010-05-04 2011-11-16 Inventec Corp Electronic device and switch method of virtual keyboard thereof
CN102736831A (zh) * 2011-04-14 2012-10-17 腾讯科技(深圳)有限公司 应用于包含虚拟键盘的移动终端的输入方法和装置
CN102752295A (zh) * 2012-06-25 2012-10-24 奇智软件(北京)有限公司 一种按键设置方法及装置
CN103902519A (zh) * 2014-03-17 2014-07-02 联想(北京)有限公司 一种信息处理方法及电子设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200627246A (en) * 2005-01-19 2006-08-01 Abbahome Inc Computer input device with command-type fast key and the method for executing fast key
CN101727190A (zh) * 2008-10-15 2010-06-09 钟桂琳 定义输入装置的快捷键的方法
CN102890598A (zh) * 2011-07-21 2013-01-23 国际商业机器公司 预设输入框的输入法模式的方法和系统
CN103235677B (zh) * 2013-03-07 2017-03-15 东莞宇龙通信科技有限公司 一种终端中快速输入通信信息的方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003015807A (ja) * 2001-06-29 2003-01-17 Oki Electric Ind Co Ltd 入力制御方法と入力制御プログラム
CN101349947A (zh) * 2007-07-19 2009-01-21 吴琛 一种一键上网设备
TW201140378A (en) * 2010-05-04 2011-11-16 Inventec Corp Electronic device and switch method of virtual keyboard thereof
CN102736831A (zh) * 2011-04-14 2012-10-17 腾讯科技(深圳)有限公司 应用于包含虚拟键盘的移动终端的输入方法和装置
CN102752295A (zh) * 2012-06-25 2012-10-24 奇智软件(北京)有限公司 一种按键设置方法及装置
CN103902519A (zh) * 2014-03-17 2014-07-02 联想(北京)有限公司 一种信息处理方法及电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354278A (zh) * 2016-10-31 2017-01-25 努比亚技术有限公司 一种结合应用程序的文字输入方法及终端
CN115509369A (zh) * 2021-06-03 2022-12-23 华为技术有限公司 录入方法及电子设备、存储介质

Also Published As

Publication number Publication date
CN105573515A (zh) 2016-05-11

Similar Documents

Publication Publication Date Title
US9106650B2 (en) User-driven access control
US20120185787A1 (en) User interface interaction behavior based on insertion point
US20100192097A1 (en) Methods for showing user interface elements in an application
WO2008122179A1 (fr) Procédé, dispositif et système de traitement de mot-clé pertinent
US9276991B2 (en) Method and apparatus for providing a dynamic tool menu based upon a document
US20150242474A1 (en) Inline and context aware query box
KR20120103599A (ko) 퀵 액세스 유틸리티
CN103455640B (zh) 一种文件管理界面的显示方法及装置
CN103995830A (zh) 基于输入法的快速切换应用程序的方法及其移动终端
US20140096004A1 (en) Browser, and voice control method and system for browser operation
JP2009271903A (ja) ウェブページの閲覧中に便利に辞書サービスを提供するための方法及びシステム
CN103973542B (zh) 一种语音信息处理方法及装置
CN105207989B (zh) 一种多维度用户的工作台系统及其控制方法
CN104461512A (zh) 一种快速启动应用程序的方法和装置
CN105205072A (zh) 网页信息的展示方法和系统
WO2016054919A1 (zh) 输入方法、输入装置及终端
US20120278078A1 (en) Input and displayed information definition based on automatic speech recognition during a communication session
WO2016179970A1 (zh) 一种应用于触控屏的新建、解散文件夹方法及系统
JP5437325B2 (ja) 情報処理装置、システム、方法及びプログラム
JP6668953B2 (ja) データ処理装置及びプログラム
US20090300736A1 (en) Remote access method
CN105447055A (zh) 搜索应用的方法、装置及电子设备
CN103324625A (zh) 插入网络资源的方法及其通信终端
JP4415594B2 (ja) サーバ装置、サーバ装置用プログラムおよびサーバ装置の情報処理方法
CN101609447B (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: 15848829

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: 15848829

Country of ref document: EP

Kind code of ref document: A1