Nothing Special   »   [go: up one dir, main page]

WO2014005520A1 - 字符输入方法、系统、终端电子设备及存储介质 - Google Patents

字符输入方法、系统、终端电子设备及存储介质 Download PDF

Info

Publication number
WO2014005520A1
WO2014005520A1 PCT/CN2013/078755 CN2013078755W WO2014005520A1 WO 2014005520 A1 WO2014005520 A1 WO 2014005520A1 CN 2013078755 W CN2013078755 W CN 2013078755W WO 2014005520 A1 WO2014005520 A1 WO 2014005520A1
Authority
WO
WIPO (PCT)
Prior art keywords
mapping mode
character
keyboard
key
mapping
Prior art date
Application number
PCT/CN2013/078755
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 腾讯科技(深圳)有限公司
Priority to CA2878298A priority Critical patent/CA2878298C/en
Priority to AU2013286471A priority patent/AU2013286471A1/en
Publication of WO2014005520A1 publication Critical patent/WO2014005520A1/zh
Priority to US14/585,748 priority patent/US9798463B2/en

Links

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/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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • 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
    • 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
    • G06F3/0233Character input methods

Definitions

  • the invention belongs to the technical field of character input, and particularly relates to a character input method, system, terminal electronic device and storage medium. Background of the invention
  • the character input keyboards generally include two types: a nine-square input keyboard and a full keyboard input keyboard.
  • Figure 1 shows a schematic diagram of the character layout of a nine-square grid input keyboard.
  • the keyboard has 26 letters distributed over the number keys.
  • the keyboard also includes a switch button; the switch button can be used to switch to the special symbol input interface.
  • the switch button can be used to switch to the special symbol input interface.
  • the switch key is switched to the special symbol input interface, the corresponding special symbol is input, and then the operation is switched back to complete the user name, password, etc.
  • Figure 2 shows a schematic diagram of the character layout of a full keyboard input keyboard. As shown in FIG. 2, the keyboard includes a 26-letter separately distributed keyboard interface and a keyboard interface with special symbols and numbers. The user can switch back and forth between the two interface settings to complete the input of character information such as user name and password.
  • buttons are complicated: When using the above two keyboards to input characters, especially when inputting characters such as complex passwords, it is necessary to frequently switch between different button interfaces.
  • the number of keystrokes is the number of strings + the number of keyboards to switch; for the nine-square grid input keyboard, when you input a single character, you need to press the same button multiple times, and the number of keys is more.
  • An object of the present invention is to provide a character input method, which aims to solve the problem that the keys are complicated and error-prone when inputting characters in the prior art, so as to improve the convenience of the user.
  • a character input method includes the following steps: receiving button information input by a user;
  • mapping mode when the received button information meets a start condition of a preset mapping mode
  • Another object of the present invention is to provide a character input system, including: a receiving unit for receiving user input key information;
  • a startup unit that is used to define a startup mode of entering the mapping mode and enters the mapping mode when the received key information conforms to a preset start condition of the mapping mode
  • mapping unit for establishing a mapping relationship between a string and a keyboard in the mapping mode
  • a search sending unit for finding a character string corresponding to the key according to the mapping relationship between the character string and the keyboard and transmitting the searched character string to the application.
  • Another object of the embodiments of the present invention is to provide a terminal electronic device, which includes the above character input system.
  • Another object of embodiments of the present invention is to provide a storage medium for executing a method for controlling a computer to execute the character input method described above.
  • FIG. 1 is a schematic diagram showing the character layout of a nine-square grid input keyboard provided by the background art of the present invention
  • FIG. 3 is a flow chart of a character input method according to a first embodiment of the present invention
  • FIG. 4 is a flow chart of a character input method according to a second embodiment of the present invention
  • FIG. 6 is a flow chart of a character input method according to a fourth embodiment of the present invention
  • FIG. 7 is a flow chart of a character input method according to a fifth embodiment of the present invention
  • FIG. 9 is a flow chart of a character input method according to a seventh embodiment of the present invention
  • FIG. 10 is a flow chart of a character input method according to a seventh embodiment of the present invention
  • FIG. 11 is a block diagram showing a connection of a character input system according to a ninth embodiment of the present invention
  • FIG. 12 is a schematic diagram of a character input implementation interface according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of a character input implementation interface in another embodiment of the present invention. Mode for carrying out the invention
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • Fig. 3 is a flow chart showing a character input method according to a first embodiment of the present invention. As shown in FIG. 3, the character input method includes the following steps:
  • Step S301 Receive button information input by a user
  • Step S302 When the received key information meets the start condition of the preset mapping mode, enter the mapping mode;
  • the start condition of the preset mapping mode may be specifically set according to the situation of the terminal, for example, using a button for newly adding a startup function, or defining a long button time on the original basis. Short and button frequency, etc.
  • the mapping mode described herein refers to a mode in which a combination of one or several keys can be associated with a character string, and is further described in the following embodiments.
  • Step S303 Receive button information input by the user in the mapping mode.
  • Step S304 Find a character string corresponding to the button according to a mapping relationship between the preset character string and the keyboard, and send the character string to the application.
  • the entering the mapping mode receives the button information of the preset mapping mode preset by the user, and the user can enter the mapping mode and input the button information through the defined startup mode.
  • the character string corresponding to the button is searched, and the character string is sent to the application, thereby completing the input of the character string.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • Fig. 4 is a flow chart showing a character input method according to a second embodiment of the present invention. As shown in Figure 4, the process of the method is detailed as follows:
  • Step S401 Define a startup mode of entering the mapping mode.
  • the startup mode for defining the entry mapping mode can be flexibly set: For a terminal with a physical keyboard, such as various mobile phones with a keyboard, the length of the button time can be defined to define whether to enter the mapping mode; Terminals, such as various touch smart phones and PAD devices, can add new function buttons to the existing button interface to activate the mapping mode, which does not affect the definition of the previous keyboard function, and is also convenient for the user. Step S402: Establish a mapping relationship between the character string and the keyboard in the mapping mode.
  • step S401 and step S402 are in no particular order.
  • the physical keyboard keys can be directly mapped with the character string, such as the letter A and 1234ABC! @#Create mapping, the letter B and EFG$% A 4321 Create mappings, etc., as shown in the following table:
  • mapping relationship For the established mapping relationship, it is stored in the form of an encrypted file to improve the security of user information.
  • the original button can be defined, or a new button can be created to complete the corresponding mapping relationship.
  • Step S403 Receive button information input by the user.
  • Step S404 When the received key information conforms to the start condition of the preset mapping mode, the mapping mode is entered.
  • Step S405 Receive button information input by the user in the mapping mode.
  • Step S406 According to the mapping relationship between the character string and the keyboard, find the character string corresponding to the button, and send the character string to the application.
  • mapping mode is automatically exited.
  • the button information input by the user in the mapping mode may be a physical button or a user-defined button information.
  • the user can first customize the string corresponding to the button.
  • the user name or password is actually entered, no matter how long the account or password string is complicated, just switch to the mapping mode and click the corresponding single button. , You can complete the input.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the startup mode of the entry mapping mode corresponding to the embodiment includes the following steps: defining a button to be a startup mode of the mapping mode;
  • the trigger information of the monitor start button
  • buttons can be understood as follows: For a terminal with a physical keyboard, the “a button” can be any button in the physical keyboard. For a touch screen terminal, the “a button” can be Any button in the original touch keyboard can also be modified by adding a special start button to modify the touch keyboard layout to make the user's operation more intuitive.
  • the trigger mode of the defined button must be different from the trigger mode of the general button, and can be defined on the trigger duration and the trigger frequency;
  • the start button can be defined according to the trigger mode of the ordinary button.
  • Fig. 5 is a flow chart showing a character input method in accordance with a third embodiment of the present invention. As shown in Figure 5, the method includes:
  • Step S501 Monitor the trigger information of the start button.
  • the startup button of the mapping mode needs to be monitored during the user's use.
  • Step S502 Receive trigger information of the start button.
  • Start button trigger information After the start button reaches the above trigger request, Start button trigger information.
  • Step S503 determining whether the time interval between the time point when the triggering of the mapping mode is triggered and the time point of entering the mapping mode before the previous time is less than the second set time value, if the time point of the triggering of the mapping mode is triggered When the interval of the previous time point of entering the mapping mode is less than the second set time value, the entering the mapping mode described in step S504 is performed, otherwise returning to step S501 to continue to monitor the trigger information of the start button.
  • the time point before entering the mapping mode for the first time and “the second set time value” can be set by the user or the manufacturer according to the security level, for example:
  • the third time is the third time
  • the second set time value is 1 minute, which means: the time between the time point when the triggering of the mapping mode is triggered and the time point of the third time before entering the mapping mode must be smaller than the second time. Set the time value to 1 minute.
  • Step S505 Receive button information input by the user in the mapping mode.
  • Step S506 According to the mapping relationship between the character string and the keyboard, find the character string corresponding to the button, and send the character string to the application and exit the mapping mode.
  • the purpose of the method is: When entering the mapping mode, the password or account defined by the user corresponds to the button of the bill, and the mapping mode is exited after each time the character string is sent in the mapping mode, and within the specified time value.
  • the maximum number of entries that can be entered such as up to 3 times in 1 minute in the above example, can increase the difficulty of non-normal users to fetch the defined strings and improve security.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • the mapping mode is started; otherwise, the trigger information of the startup button is continuously monitored and the character corresponding to the startup button on the original character keyboard is sent to the application.
  • FIG. 6 is a flow chart showing a character input method according to a fourth embodiment of the present invention. As shown in Figure 6, the method includes:
  • Step S601 Monitor the trigger information of the start button.
  • Step S602 Receive button information of the start button.
  • Step S603 determining whether the button duration of the start button is greater than the first set time value. If the button duration of the start button is greater than the first set time value, step S605 is performed: entering the mapping mode; otherwise, executing step S604 : Send the character corresponding to the start button on the original character keyboard to the application; and return to step S601 to continue monitoring the start button trigger information.
  • the above steps in this embodiment are mainly:
  • the existing button is defined on the original character keyboard to set the start button as the entry map mode.
  • the button duration is greater than the first set value, such as 3 seconds (the setting of the set value must be the same as when the keyboard is normally input.
  • the mapping mode is entered only when there is no conflict. Therefore, the method in this embodiment can be completed on the basis of an existing keyboard, and can be used for a terminal using physical key input or a terminal input using a touch key.
  • Steps S606 and S607 after entering the mapping mode are the same as steps S405 and S406 in the second embodiment, and are not described herein again.
  • the button length monitor function determines the button duration. Whether it is greater than 3 seconds, if the button duration is greater than 3 seconds, it will enter the mapping mode, otherwise it will send a space character to the application.
  • mapping mode trigger button After that, the string mapped by the button is sent to the application, and the mapping mode is exited.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • Fig. 7 is a flow chart showing a character input method in accordance with a fifth embodiment of the present invention. As shown in Figure 7, the method includes:
  • Step S701 Monitor the trigger information of the start button.
  • Step S702 Receive button information of the start button.
  • Step S703 determining whether the button duration of the start button is greater than the first set time. If the button duration of the start button is not greater than the first set time value, step S704 is performed: the start button is on the original character keyboard. The corresponding character is sent to the application, and returns to step S701 to continue to monitor the start button trigger information; otherwise, step S705 is performed: determining whether the time point of the current trigger start mapping mode and the time point of several previous entry mapping modes before this time are If the interval between the time point when the triggering of the mapping mode is triggered and the time point before entering the mapping mode is less than the second set time value, the entry described in step S706 is performed. Mapping mode, otherwise returning to step S701 to continue to monitor the start button trigger information, and prompting the operation to be too frequent.
  • Steps S707 and S708 after entering the mapping mode are the same as steps S505 and S506 in the third embodiment, and are not described herein again.
  • mapping mode By limiting the length of the start button, you can directly enter the mapping mode in the original character keyboard without conflicting with the normal input characters. By limiting the frequency of entering the mapping mode, it helps to improve the security of user information.
  • Fig. 8 is a flow chart showing a character input method in accordance with a sixth embodiment of the present invention. As shown in Figure 8, the method includes:
  • step S801 The mapping between the character string and the keyboard in the mapping mode is established, and specifically includes step S801 and step S802.
  • step S801 a character keyboard, an icon keyboard, or a track keyboard is created in the mapping mode.
  • Various keyboards such as a character keyboard, an icon keyboard, and a track keyboard, can be created by the user according to the needs of the user.
  • step S802 a mapping relationship between a character button, an icon button, or a track to a custom character string is created.
  • the user defines the mapping relationship between the keys on the created keyboard according to his own usage habits. For example, for the email account password, an icon with a mailbox identifier can be used to establish a mapping with the password or the account, which is convenient for the user to operate.
  • Step S803 Define a startup mode of entering the mapping mode.
  • the startup mode of the incoming mapping mode selected in the embodiment may be selected by using any one of the second embodiment to the fourth embodiment to define the startup mode of the entry mapping mode.
  • Steps S804, S805, S806, and S807 are the same as steps S403, S404, S405, and S406 in the second embodiment, and are not described herein again.
  • Fig. 9 is a flow chart showing a character input method according to a seventh embodiment of the present invention. As shown in Figure 9, the method includes:
  • the step of creating an icon button in the mapping mode specifically includes steps S901, S902, and S903.
  • step S901 a picture material data structure is created, and each icon is assigned a uniquely identified serial number and picture resource path.
  • step S902 a keyboard layout data structure is created, and the icon serial number and the key page number and the key position are mapped by a random algorithm, and according to the image data structure, the corresponding picture is drawn to the corresponding key position of the corresponding corresponding page.
  • step S903 a mapping relationship between the icon button and the customized string is created. This embodiment is illustrated as follows:
  • FIG. 12 is a schematic diagram of a character input implementation interface according to an embodiment of the present invention. Assume a total There are 70 built-in icons and custom icons. In the keyboard layout, 21 buttons are set for each page. The keyboard is divided into 4 pages. The first 3 pages display 21 icons per page, and the last page displays 9 icons. Each icon corresponds to a button and contains a toggle button that can be used to switch back to the original character keyboard. Among them, there are two types of buttons: one is the icon built in the program, the first icon in the first row shown in Figure 12 is the camera, the user can set it as the password corresponding to the camera or album to facilitate memory. Another icon is an icon that the user can customize from the album image.
  • the keyboard consists of three parts per page:
  • Top dot Indicates the number of page numbers for all icons, and the dark origin indicates the current number of pages.
  • Icon area Displays a random icon for the current page.
  • Keylayout ([pagecode, keycode, IconlD]) where pagecode is the current icon keyboard page number, keycode represents the key value, and IconlD uniquely identifies a picture.
  • a random algorithm is used to randomly map a certain IconlD with the pagecode and keycode to create a Keylayout array. According to the Keylayout array and the image resource array, the corresponding picture is drawn to the corresponding key.
  • mappings between icon buttons and custom strings Create mappings between icon buttons and custom strings, and store the mappings in encrypted files.
  • the mapping relationship is shown in the following table:
  • the startup mode of the entry mapping mode selected in this embodiment may be selected into the mapping mode by using any one of the definitions in the second embodiment to the fourth embodiment.
  • Startup method Steps S904, S905, S906, S907, and S908 are the same as steps S803, S804, S805, S806, and S807 in the sixth embodiment, and are not described herein again.
  • Fig. 10 is a flow chart showing a character input method according to an eighth embodiment of the present invention. As shown in FIG. 10, the method includes:
  • the step of creating an icon button in the mapping mode includes the steps S1001 and S1002.
  • step S1001 a track keyboard is created in the mapping mode.
  • step S1002 each key in the track keyboard is defined to correspond to a different character.
  • step S1003 each key character connected to the track path is saved as a path character.
  • step S1004 a mapping relationship between the path string and the customized character string is established.
  • FIG. 13 is a schematic diagram showing a character input implementation interface in another embodiment of the present invention.
  • the dot matrix keyboard defines the corresponding number of each button from left to right and from top to bottom. 9.
  • the user can touch and connect the lattice points by gestures (of course, the keyboard for physical buttons can also be used, but the flexibility and convenience is far less than that of the touch mode terminal), the connection lattice points constitute a track, and the characters on the lattice points are recorded in the connection order. Record it as a path character, and the user can create a mapping between the path and the customized string. For example, the path character "65432" establishes a mapping with the string "ABC123 ! @#" and encrypts the mapping relationship.
  • the drawing of the trajectory path is started, which is usually used on the touch terminal.
  • a certain dot matrix When touched, it starts as a track path start condition, and starts to record the path character.
  • the track path end condition such as drawing the path character "654321”.
  • the startup mode of the entry mapping mode selected in this embodiment may select any one of the second embodiment to the fourth embodiment to define the startup mode of the entry mapping mode.
  • Steps S1005, S1006, S1007, S1008, and S1009 are the same as steps S803, S804, S805, S806, and S807 in the sixth embodiment, and are not described herein again.
  • Figure 11 is a block diagram showing the structure of a character input system in accordance with a ninth embodiment of the present invention. As shown in FIG. 11, the character input system includes:
  • mapping unit 1102 for establishing a mapping relationship between a string and a keyboard in a mapping mode
  • a lookup transmitting unit 1104 for finding a character string corresponding to a key according to a mapping relationship between a character string and a keyboard and transmitting the character string to an application.
  • the starting unit 1101 for defining a startup mode of entering the mapping mode includes: a defining unit 11011 for defining a startup button of a certain button to be a mapping mode; and a trigger for receiving the startup button triggering information and receiving the startup button After the information, it is judged whether or not the time point at which the triggering of the mapping mode is triggered this time and the time interval at which the number of times before entering the mapping mode are smaller than the second set time value. If the interval between the time point when the triggering of the mapping mode is triggered and the time point before entering the mapping mode is less than the second set time value, the monitoring determining unit 10012 determines to enter the mapping mode, otherwise the monitoring determining unit 10012 determines Do not enter the mapping mode.
  • An embodiment of the present invention further provides a terminal electronic device including the above character input system. Ready.
  • mapping mode by defining a mapping mode of entering the mapping mode and establishing a mapping relationship between the character string and the keyboard in the mapping mode, after entering the mapping mode, receiving the key information input by the user in the mapping mode and according to the character string and The mapping relationship of the keys can find the string corresponding to the key; sending the string to the application can complete the input process of the string.
  • the user In the whole process of completing the above string input, the user only needs to enter the mapping mode and click the button mapped with the sent string to complete the input of the defined longer string.
  • the operation button is very convenient, and the click button is clicked. Less, not easy to make mistakes.
  • the methods, systems, and devices provided by the present invention can be implemented by hardware, or computer readable instructions, or a combination of hardware and computer readable instructions.
  • the computer readable instructions used in the present invention are stored by a plurality of processors in a readable storage medium such as a hard disk, a CD-ROM, a DVD, an optical disk, a floppy disk, a magnetic tape, a RAM, a ROM, or other suitable storage device.
  • a readable storage medium such as a hard disk, a CD-ROM, a DVD, an optical disk, a floppy disk, a magnetic tape, a RAM, a ROM, or other suitable storage device.
  • at least some of the computer readable instructions may be replaced by specific hardware, such as custom integrated circuits, gate arrays, FPGAs, PLDs, and computers with specific functions, and the like.
  • the present invention provides a computer readable storage medium for storing instructions for causing a system or device to perform the methods described herein.
  • the system or device provided by the present invention has a storage medium in which computer readable program code is stored for implementing the functions of any of the above embodiments, and these systems or devices (or CPUs or MPUs) are capable of reading and executing Program code stored on a storage medium.
  • the program code read from the storage medium can implement any of the above embodiments, and thus the program code and the storage medium storing the program code are part of the technical solution.
  • Storage media for providing program code include floppy disks, hard disks, magneto-optical disks, optical disks (eg, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), disks, Flash card, ROM, etc.
  • the program code can also pass The communication network is downloaded from the server.
  • an operation at least partially implemented by the program code may be implemented by an operating system running on a computer, thereby implementing the technical solution of any of the above embodiments, wherein the computer is executed based on the program code. instruction.
  • the program code in the storage medium is written to the memory, wherein the memory is located in an expansion board inserted in the computer or in an expansion unit connected to the computer.
  • the CPU in the expansion board or expansion unit performs at least part of the operation based on the program code according to the instructions, thereby implementing the technical solution of any of the above embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明提供了字符输入方法、系统、终端电子设备及存储介质,该方法包括:接收用户输入的按键信息;当接收到的按键信息符合预设的映射模式的启动条件时,进入映射模式;接收用户在映射模式下输入的按键信息;根据预设的字符串与键盘的映射关系,查找用户在映射模式下输入的按键所对应的字符串,并向应用程序发送该字符串。在完成映射后的字符串输入的整个过程,用户仅需点击启动映射模式的按键进入到映射模式,并点击与所发送字符串映射的按键,即可将所定义的较长字符串的输入至应用程序,点击的按键少,操作非常方便,而且不易出错。

Description

字符输入方法、 系统、 终端电子设备及存储介盾 本申请要求于 2012 年 7 月 5 日提交中国专利局、 申请号为 201210231671.X, 发明名称为 "字符输入方法及系统" 的中国专利申请 的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明属于字符输入技术领域,尤其涉及一种字符输入方法、 系统、 终端电子设备及存储介质。 发明背景
在各种 B/S(Browser/Serven 浏览器 /服务器)和 C/S ( Client/Server: 客户机 /服务器)应用中, 常常需要用户输入用户名及密码等字符串以确 认用户身份。 而为了使用户密码不易被破解, 需要用户设置强密码, 以 确保用户信息的安全。 强密码一般为: 密码长度至少有 8个字符, 而且 至少包括大写字母、 小写字母、 数字以及键盘上的符号 (如 !、 @、 # ) 这四类字符中的三类。
目前, 对于部分使用诸如手机等掌上设备的用户终端, 所使用的字 符输入键盘一般包括两种: 九宫格输入键盘和全键盘输入键盘。
图 1所示为一种九宫格输入键盘的字符布局示意图。 如图 1所示, 该键盘将 26 个字母分布在其中的数字键上。 另外, 该键盘还包含一个 切换键; 切换键可用于切换至特殊符号输入界面。 当用户使用该键盘输 入字符时, 可通过多次点击输入相应的数字与字母, 并由切换键切换至 特殊符号输入界面, 输入相应的特殊符号后再切换回来等操作, 完成用 户名、 密码等字符信息的输入。 图 2所示为一种全键盘输入键盘的字符布局示意图。 如图 2所示, 该键盘包括 26 个字母单独分布的键盘界面和特殊符号与数字分布的键 盘界面。 用户可在这两种界面设置的切换键进行来回切换, 以完成用户 名、 密码等字符信息的输入。
上述两种键盘, 可以较好的帮助用户完成用户名、 密码等信息的输 入, 但是, 其仍然存在以下不足:
1、按键复杂: 使用上述两种键盘输入字符时, 特别是在输入复杂密 码等字符时, 需要频繁的在不同的按键界面进行切换。 对于全键盘输入 键盘, 按键次数为字符串个数 +切换键盘次数; 对于九宫格输入键盘, 在输入单个字符时需要多次按下同一个键, 按键次数更多。
2、 容易出错: 由于对密码等信息安全性的考虑, 而且输入密码时密 码一般显示为非明文的星号符, 因此, 用户在输入密码时不易察觉密码 输入出错的情况。 特别是对于小尺寸的触摸屏输入键盘, 其按键尺寸小 并且缺少实体键盘的触感, 更容易导致输入出错, 不方便用户的使用。 发明内容
本发明实施例的目的在于提供一种字符输入方法, 旨在解决现有技 术输入字符时按键复杂且容易出错的问题, 以提高用户使用的便利性。
本发明实施例是这样实现的, 一种字符输入方法, 包括下述步骤: 接收用户输入的按键信息;
当接收到的所述按键信息符合预设的映射模式的启动条件时, 进入 所述映射模式;
接收所述用户在所述映射模式下输入的按键信息;
根据预设的字符串与键盘的映射关系, 查找所述用户在所述映射模 式下输入的所述按键所对应的字符串, 并向应用程序发送查找到的字符 串。
本发明实施例的另一目的在于提供一种字符输入系统, 包括: 用于接收用户输入按键信息的接收单元;
用于定义进入映射模式的启动方式并当接收到的按键信息符合预设 的所述映射模式的启动条件时进入所述映射模式的启动单元;
用于建立所述映射模式下字符串与键盘的映射关系的映射单元; 以 及
用于根据所述字符串与所述键盘的所述映射关系查找按键所对应的 字符串并向应用程序发送查找到的字符串的查找发送单元。
本发明实施例的另一目的在于提供一种终端电子设备, 所述终端电 子设备包括上述字符输入系统。
本发明实施例的另一目的在于提供一种存储介质, 所述计算机可执 行指令用于控制计算机执行上述的字符输入方法。
从以上技术方案可以看出, 在本发明实施例中, 在接收到用户预先 定义的启动映射模式的按键信息, 进入到映射模式后, 接收用户在此模 式下输入的按键信息, 根据字符串与按键的映射关系, 查找按键所对应 的字符串, 并向应用程序发送该字符串, 完成字符串输入过程。 在完成 上述字符串输入的整个过程, 用户仅需进入到映射模式并点击与所发送 字符串映射的按键, 即可完成所定义的较长字符串的输入, 点击的按键 少, 操作非常方便, 而且不易出错。 附图简要说明
图 1是本发明背景技术所提供的一种九宫格输入键盘的字符布局示 意图;
图 2是本发明背景技术所提供的一种全键盘输入键盘的字符布局示 意图;
图 3是本发明第一实施例提供的一种字符输入方法实现流程; 图 4是本发明第二实施例提供的一种字符输入方法实现流程; 图 5是本发明第三实施例提供的一种字符输入方法实现流程; 图 6是本发明第四实施例提供的一种字符输入方法实现流程; 图 7是本发明第五实施例提供的一种字符输入方法实现流程; 图 8是本发明第六实施例提供的一种字符输入方法实现流程; 图 9是本发明第七实施例提供的一种字符输入方法实现流程; 图 10是本发明第八实施例提供的一种字符输入方法实现流程; 图 11是本发明第九实施例提供的一种字符输入系统的连接框图 图 12为本发明一实施例中的字符输入实施界面示意图;
图 13为本发明另一实施例中的字符输入实施界面示意图。 实施本发明的方式
为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附 图及实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的 具体实施例仅仅用以解释本发明, 并不用于限定本发明。
实施例一:
图 3所示为根据本发明第一实施例的一种字符输入方法的流程示意 图。 如图 3所示, 该字符输入方法包括如下步骤:
步骤 S301 : 接收用户输入的按键信息;
步骤 S302: 当接收到的按键信息符合预设的映射模式的启动条件 时, 进入映射模式;
具体的,预设的映射模式的启动条件可以根据终端的情况具体设定, 比如采用新增加启动功能的按键, 或者在原来的基础上定义按键时间长 短和按键频率等。 此处所述的映射模式, 是指此时, 能够将一个或几个 按键的组合与一字符串进行对应的模式, 在以下的实施例中也有进一步 的介绍说明。
步骤 S303: 接收用户在映射模式输入的按键信息;
步骤 S304: 根据预设的字符串与键盘的映射关系, 查找按键所对应 的字符串, 并向应用程序发送该字符串。
当接收用户输入的按键信息符合预设的映射模式的启动条件时, 进 入映射模式接收到用户预先定义的启动映射模式的按键信息, 用户可通 过定义的启动方式进入到映射模式并输入按键信息, 在接收用户在映射 模式输入的按键信息后, 根据预先建立的字符串与键盘的映射关系, 查 找按键所对应的字符串, 并向应用程序发送该字符串, 从而完成字符串 的输入。
由于上述整个字符信息的输入过程只需要进入映射模式, 并点击字 符串所映射的按键, 无论字符串长度多长或者字符串所包含的字符信息 多么的复杂, 在一经定义后, 即可很方便的完成输入, 而且不会出错, 可提高用户使用的便利性。
实施例二:
图 4所示为根据本发明第二实施例的一种字符输入方法的流程示意 图。 如图 4所示, 该方法过程详述如下:
步骤 S401 : 定义进入映射模式的启动方式。
在本实施例中, 定义进入映射模式的启动方式可以灵活设置: 对于 自带物理键盘的终端, 比如各种自带键盘的手机, 可以通过定义按键时 间的长短来定义是否进入映射模式; 对于触摸屏终端, 如各种触摸智能 手机和 PAD设备,可以在现有按键界面中增加新的功能按键用以启动映 射模式, 既不影响先前键盘功能的定义, 也方便用户使用。 步骤 S402: 建立映射模式下字符串与键盘的映射关系。
在本实施例中, 步骤 S401与步骤 S402不分先后。 根据步骤 S401 所述, 对于自带物理键盘的终端, 在映射模式下, 可直将物理键盘按键 与字符串建立映射, 如字母 A 与 1234ABC! @#建立映射, 字母 B 与 EFG$%A4321建立映射等, 如下表格所示:
Figure imgf000007_0001
对于建立的映射关系, 以加密的文件形式进行存储, 以提高用户信 息的安全度。
对于触摸屏终端, 则既可以定义原来的按键、 也可以自己建立新的 按键完成相应的映射关系。
步骤 S403: 接收用户输入的按键信息。
步骤 S404: 当接收到的按键信息符合预设的映射模式的启动条件 时, 进入映射模式。
步骤 S405: 接收用户在映射模式输入的按键信息。
步骤 S406: 根据字符串与键盘的映射关系, 查找按键所对应的字符 串, 并向应用程序发送该字符串。
在用户完成该启动模式按键的按下一弹起操作后, 自动退出映射模 式。
根据上述步骤, 用户在映射模式下输入的按键信息, 可以为物理按 键, 也可以为用户自定义的按键信息。 用户在使用映射模式时可以先自 定义按键所对应的字符串, 在实际输入用户名或密码时, 无论账户或密 码字符串多长多复杂, 只需切换到映射模式, 并点击相应的单个按键, 即可完成输入。
实施例三:
本实施例所对应定义的进入映射模式的启动方式包括如下步骤: 定义某一按键为映射模式的启动按键;
监听启动按键的触发信息;
接收到启动按键的触发信息;
判断本次触发启动映射模式的时间点与在此之前的第若干次进入映 射模式的时间点的间隔是否小于第二设定时间值;
若是, 则进入映射模式;
否则继续监听启动按键的触发信息。
此处的 "某一按键" 可以这么理解: 对于自带物理键盘的终端, 该 "某一按键"可为该物理键盘中的任一按键,对于由触摸屏终端,该 "某 一按键" 可以为原始触摸键盘中的任一按键, 也可以通过修改触摸键盘 布局, 新增加一个专门的启动按键, 可使用户操作更具直观性。
相应的, 当定义原来键盘中存在的按键为映射模式的启动按键时, 所定义的该按键的触发方式须不同于一般按键的触发方式, 可以在触发 时长与触发频率上进行定义; 对于新增加的启动按键, 则按照普通按键 的触发方式进行定义即可。
图 5所示为根据本发明第三实施例的一种字符输入方法的流程示意 图。 如图 5所示, 该方法包括:
步骤 S501 : 监听启动按键的触发信息。
根据本实施例所对应的定义进入映射模式的启动按键, 在用户使用 过程中需要对该启动按键的触发信息进行监听。
步骤 S502: 接收到启动按键的触发信息。
根据预先定义的触发要求, 在启动按键达到上述触发要求后, 产生 启动按键触发信息。
步骤 S503: 判断本次触发启动映射模式的时间点与在此之前的第若 干次进入映射模式的时间点的间隔是否小于第二设定时间值, 若本次触 发启动映射模式的时间点与在此之前的第若干次进入映射模式的时间 点的间隔小于第二设定时间值, 则执行步骤 S504所述的进入映射模式, 否则返回步骤 S501继续监听启动按键的触发信息。
此处所述的: "在此之前的第若干次进入映射模式的时间点"、 "第 二设定时间值"均可以根据安全性的高低由用户或厂商自己设定, 比如: 可以设定第若干次为第 3次, 第二设定时间值为 1分钟, 则表示: 本次 触发启动映射模式的时间点与在此之前的第 3次进入映射模式的时间点 的间隔必须小于第二设定时间值 1分钟。
步骤 S505: 接收用户在映射模式输入的按键信息。
步骤 S506: 根据字符串与键盘的映射关系, 查找按键所对应的字符 串, 并向应用程序发送该字符串并退出映射模式。
该方法的目的在于: 在进入映射模式时, 用户所定义的密码或者账 号对应筒单的按键, 通过设定每次在映射模式下发送字符串后就退出映 射模式, 并且在指定的时间值内最多可进入的次数, 如上述例子中的 1 分钟内最多进入 3次,可以提高非正常用户套取所定义的字符串的难度, 提高安全性。 对于用户的某些定义的字符串, 是特别是密码信息, 显得 尤其重要。
实施例四:
根据本实施例的一种字符输入方法所对应定义的映射模式启动方式 包括如下步骤:
定义原始字符键盘中任一按键为映射模式的启动按键;
监听原始字符键盘中该启动按键的按键时长; 如果按键时长大于第一设定时间值, 则启动映射模式; 否则继续监听启动按键的触发信息且将启动按键在原始字符键盘上 所对应的字符发送至应用程序。
图 6所示为本发明第四实施例的一种字符输入方法的流程示意图。 如图 6所示, 该方法包括:
步骤 S601 : 监听启动按键的触发信息。
步骤 S602: 接收到启动按键的按键信息。
步骤 S603: 判断本次启动按键的按键时长是否大于第一设定时间 值,若本次启动按键的按键时长大于第一设定时间值,则执行步骤 S605: 进入映射模式; 否则, 执行步骤 S604: 将启动按键在原始字符键盘上所 对应的字符发送至应用程序; 并返回步骤 S601 继续监听启动按键触发 信息。
本实施例中的上述步骤主要是: 对于不增加新的按键的情况, 在原 始字符键盘上对现有按键进行定义以设定作为进入映射模式的启动按 键。 通过设定原始字符键盘中的某一按键为启动按键并监听其按键时 长, 只有在按键时长大于第一设定值如 3秒(该设定值的取定必须与键 盘正常输入使用时的功能不相沖突) 时, 才进入映射模式。 因此, 本实 施例中的方法可在现有的键盘基础上完成, 可用于采用物理按键输入的 终端或采用触摸按键输入的终端。
在进入映射模式后的步骤 S606、 S607与第二实施例中的步骤 S405、 S406相同, 在此不作重复赘述。
举例如下: 定义原始字符键盘中的 "空格键" 为映射模式的启动按 键, 预先设定第一设定值为 3秒; 用户在输入模式按下空格键后, 由键 长监听函数判断按键时长是否大于 3秒, 如果按键时长大于 3秒则进入 到映射模式, 否则发送空格字符至应用程序。 在映射模式下, 触发按键 后, 将该按键所映射的字符串发送至应用程序, 并退出映射模式。
实施例五:
图 7所示为根据本发明第五实施例的一种字符输入方法的流程示意 图。 如图 7所示, 该方法包括:
步骤 S701 : 监听启动按键的触发信息。
步骤 S702: 接收到启动按键的按键信息。
步骤 S703: 判断本次启动按键的按键时长是否大于第一设定时间, 若本次启动按键的按键时长不大于第一设定时间值, 则执行步骤 S704: 将启动按键在原始字符键盘上所对应的字符发送至应用程序, 并返回步 骤 S701继续监听启动按键触发信息; 否则执行步骤 S705: 判断本次触 发启动映射模式的时间点与在此之前的若干个进入映射模式的时间点 的间隔是否小于第二设定时间值, 若本次触发启动映射模式的时间点与 在此之前的第若干次进入映射模式的时间点的间隔小于第二设定时间 值, 则执行步骤 S706所述的进入映射模式, 否则返回步骤 S701继续监 听启动按键触发信息, 并提示操作过于频繁。
在进入映射模式后的步骤 S707、 S708与第三实施例中的步骤 S505、 S506相同, 在此不作重复赘述。
通过限定启动按键的时长, 可以在原始字符键盘中直接进入到映射 模式而不与正常输入字符相沖突, 通过限定进入映射模式的频率, 有助 于提高用户信息的安全性。
实施例六:
图 8所示为根据本发明第六实施例的一种字符输入方法的流程示意 图。 如图 8所示, 该方法包括:
建立映射模式下字符串与键盘的映射关系,具体包括步骤 S801和步 骤 S802。 在步骤 S801中,在映射模式下创建字符键盘、图标键盘或轨迹键盘。 根据用户需要, 可以由用户自己创建各种键盘, 如字符键盘、 图标 键盘和轨迹键盘。
在步骤 S802中,创建字符按键、 图标按键或轨迹到自定义的字符串 之间的映射关系。
由用户根据自己的使用习惯, 对创建的键盘上的按键进行映射关系 的定义, 如对于邮箱账号密码, 可使用一个带邮箱标识的图标与密码或 账号建立映射, 可方便用户操作方便。
步骤 S803: 定义进入映射模式的启动方式。
本实施例中所选用的进入映射模式的启动方式可选用第二实施例至 第四实施例中所述的任意一种定义进入映射模式的启动方式。 步骤 S804、 S805、 S806、 S807与第二实施例中的步骤 S403、 S404、 S405、 S406相同, 在此不作重复赘述。
实施例七:
图 9所示为根据本发明第七实施例的一种字符输入方法的流程示意 图。 如图 9所示, 该方法包括:
在映射模式创建图标按键的步骤,具体包括步骤 S901、 S902、 S903。 在步骤 S901中,创建图片资料数据结构, 为每个图标分配唯一标识 的序号与图片资源路径。
在步骤 S902中, 创建键盘布局数据结构, 将图标序号与键页码、键 位通过随机算法建立映射, 根据图片资料数据结构, 将对应图片绘制到 相应的对应页面的对应键位上。
在步骤 S903中, 创建图标按键到自定义的字符串之间的映射关系。 本实施例举例说明如下:
图 12所示为本发明一实施例中的字符输入实施界面示意图。假设共 有内置图标和自定义图标 70个,则在键盘布局中,每页设置按键 21个, 则该键盘共分为 4页, 前 3页每页显示 21个图标, 最后一页显示 9个 图标。 每个图标对应一个按键, 并且包含一个可用于切换回原始字符键 盘的切换按键。 其中, 按键的图标分为两种: 一种是程序内置的图标, 如图 12 中所示的第一排第一个图标为相机, 用户可以将其设置为相机 或相册对应的密码以方便记忆; 另一种图标是用户可以由相册图片进行 自定义的图标。
如图 12所示, 键盘每页包含三部分:
顶端圓点: 表示所有图标的页码数, 深色原点表示当前页数。
图标区: 显示当前页的随机图标。
底端: 键盘切换按钮, 可切换回原始字符键盘。
首先,创建图片资源数据结构 Icon([IconID ,iconSrc]),其中 IconlD唯 一标识某一图片 icon, iconSrc表示图片资源路径。
然后创建键盘布局数据结构, Keylayout([pagecode, keycode, IconlD]) 其中, pagecode 为当前图标键盘页数, keycode代表键位值, IconlD 唯一标识某一图片。 通过随机算法, 随机将某一 IconlD与 pagecode, keycode建立映射, 从而建立 Keylayout数组。 根据 Keylayout数组与图 片资源数组, 将对应图片绘制到相应键位上。
创建图标按键到自定义的字符串之间的映射关系, 并对映射关系以 加密文件存储。 映射关系如下表举例所示:
Figure imgf000013_0001
与第六实施例相同, 本实施例所选用的进入映射模式的启动方式可 选用第二实施例至第四实施例中所述的任意一种定义进入映射模式的 启动方式。 步骤 S904、 S905、 S906、 S907、 S908与第六实施例中的步 骤 S803、 S804、 S805、 S806、 S807相同, 在此不作重复赘述。
实施例八:
图 10 所示为根据本发明第八实施例的一种字符输入方法的流程示 意图。 如图 10所示, 该方法包括:
在映射模式创建图标按键的步骤, 具体包括步骤 S1001、 S1002、
S1003、 S1004。
在步骤 S1001中, 在映射模式创建轨迹键盘。
在步骤 S1002中, 定义轨迹键盘中各个按键对应不同的字符。 在步骤 S1003中, 将轨迹路径连接的各按键字符保存为路径字符。 在步骤 S1004中, 建立路径字符串与自定义的字符串之间的映射关 系。
本实施例举例说明如下:
图 13所示为本发明另一实施例中的字符输入实施界面示意图。在映 射模式下, 创建 3*3点阵键盘和切换回原始字符键盘的按键(位于点阵 键盘的下部), 点阵键盘由左到右、 由上到下依次定义每个按键对应编 号 1-9。 用户可以通过手势触摸并连接阵点 (当然用于物理按键的键盘 也可, 但其灵活方便性远不如触摸方式的终端), 连接阵点构成轨迹, 并按连接顺序记录阵点上的字符, 将其记录为路径字符, 由用户可自行 创建路径与自定义的字符串之间的映射关系。 如路径字符 "65432 与 字符串 "ABC123 ! @#" 建立映射, 并对映射关系加密保存。
在用户进入映射模式后, 开始对轨迹路径的绘制, 通常使用在触摸 终端上。 当某一点阵被触摸时作为轨迹路径开始条件, 开始记录路径字 符, 当回到轨迹原点或结束触摸时作为轨迹路径结束条件, 如绘制路径 字符 "654321 "。 根据记录的路径字符查找与其映射的自定义字符串得 到其对应的字符串为 "ABC123 ! @#" , 并向当前输入框发送该自定义字 符串, 返回原始字符键盘界面。
与第六实施例相同, 本实施例所选用的进入映射模式的启动方式可 选用第二实施例至第四实施例中所述的任意一种定义进入映射模式的 启动方式。 步骤 S1005、 S1006、 S1007、 S1008、 S1009与第六实施例中 的步骤 S803、 S804、 S805、 S806、 S807相同, 在此不作重复赘述。
实施例九:
图 11 所示为根据本发明第九实施例的一种字符输入系统的结构示 意图。 如图 11所示, 该字符输入系统包括:
用于接收用户输入按键信息的接收单元 1103;
用于定义进入映射模式的启动方式并当接收到的按键信息符合预设 的映射模式的启动条件时进入映射模式的启动单元 1101 ;
用于建立映射模式下字符串与键盘的映射关系的映射单元 1102; 以 及
用于根据字符串与键盘的映射关系查找按键所对应的字符串并向应 用程序发送该字符串的查找发送单元 1104。
具体的, 用于定义进入映射模式的启动方式的启动单元 1101包括: 用于定义某一按键为映射模式的启动按键的定义单元 11011; 用于监听启动按键触发信息并在接收到启动按键的触发信息后判断 本次触发启动映射模式的时间点与在此之前的第若干次进入映射模式 的时间点的间隔是否小于第二设定时间值的监听判断单元 10012。 若本 次触发启动映射模式的时间点与在此之前的第若干次进入映射模式的 时间点的间隔小于第二设定时间值, 则监听判断单元 10012确定进入映 射模式, 否则监听判断单元 10012确定不进入映射模式。
本发明实施例还提供了一种包括上述字符输入系统的终端电子设 备。
在本发明一实施例中, 通过定义进入映射模式启动方式和建立映射 模式下字符串与键盘的映射关系, 在进入到映射模式后, 接收用户在映 射模式下输入的按键信息并根据字符串与按键的映射关系即可查找到 按键所对应的字符串; 向应用程序发送该字符串, 即可完成字符串的输 入过程。 在完成上述字符串输入的整个过程, 用户仅需进入到映射模式 并点击与所发送字符串映射的按键, 即可完成所定义的较长字符串的输 入, 操作按键非常方便, 而且点击的按键少, 不易出错。
本发明提供的方法、 系统和设备可以由硬件、 或计算机可读指令、 或者硬件和计算机可读指令的结合来实现。 本发明中使用的计算机可读 指令由多个处理器存储在可读存储介质中,例如硬盘、 CD-ROM, DVD, 光盘、 软盘、 磁带、 RAM、 ROM或其它合适的存储设备。 或者, 至少 部分计算机可读指令可以由具体硬件替换, 例如, 定制集成线路、 门阵 列、 FPGA、 PLD和具体功能的计算机等等。
本发明提供了计算机可读存储介质, 用于存储指令使得系统或设备 执行本文所述的方法。 具体地, 本发明提供的系统或设备都具有存储介 质,其中存储了计算机可读程序代码,用于实现上述任意实施例的功能, 并且这些系统或设备 (或 CPU或 MPU ) 能够读取并且执行存储在存储 介质中的程序代码。
在这种情况下, 从存储介质中读取的程序代码可以实现上述任一实 施例, 因此该程序代码和存储该程序代码的存储介质是技术方案的一部 分。
用于提供程序代码的存储介质包括软盘、 硬盘、 磁光盘、 光盘(例 如 CD-ROM、 CD-R, CD-RW、 DVD-ROM、 DVD-RAM、 DVD-RW, DVD+RW ), 磁盘、 闪存卡、 ROM等等。 可选地, 程序代码也可以通过 通信网络从 务器上下载。
应该注意的是, 对于由计算机执行的程序代码, 至少部分由程序代 码实现的操作可以由运行在计算机上的操作系统实现, 从而实现上述任 一实施例的技术方案, 其中该计算机基于程序代码执行指令。
另外, 存储介质中的程序代码被写入存储器, 其中, 该存储器位于 插入在计算机中的扩展板中, 或者位于连接到计算机的扩展单元中。 在 一实施例中,扩展板或扩展单元中的 CPU根据指令,基于程序代码执行 至少部分操作, 从而实现上述任一实施例的技术方案。
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡 在本发明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应 包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种字符输入方法, 其特征在于, 所述方法包括:
接收用户输入的按键信息;
当接收到的所述按键信息符合预设的映射模式的启动条件时, 进入 所述映射模式;
接收所述用户在所述映射模式下输入的按键信息;
根据预设的字符串与键盘的映射关系, 查找所述用户在所述映射模 式下输入的所述按键所对应的字符串, 并向应用程序发送查找到的字符 串。
2、根据权利要求 1所述的字符输入方法, 其特征在于, 在所述接收 用户输入的按键信息的步骤之前, 所述方法还包括:
定义进入所述映射模式的启动方式;
建立所述映射模式下所述字符串与所述键盘的所述映射关系。
3、根据权利要求 2所述的字符输入方法, 其特征在于, 所述定义进 入所述映射模式的启动方式包括:
定义某一按键为所述映射模式的启动按键;
监听所述启动按键的触发信息;
接收到所述启动按键的所述触发信息;
判断本次触发启动所述映射模式的时间点与在此之前的第若干次进 入所述映射模式的时间点的间隔是否小于第二设定时间值;
若是, 则进入所述映射模式;
否则继续监听所述启动按键的触发信息。
4、根据权利要求 2所述的字符输入方法, 其特征在于, 所述定义进 入所述映射模式的启动方式具体为: 定义原始字符键盘中任一按键为所述映射模式的启动按键; 监听所述原始字符键盘中所述启动按键的按键时长;
如果所述按键时长大于第一设定时间值, 则启动所述映射模式; 否则继续监听所述启动按键的触发信息且将所述启动按键在所述原 始字符键盘上所对应的字符发送至所述应用程序。
5、根据权利要求 2所述的字符输入方法, 其特征在于, 所述定义进 入所述映射模式的启动方式具体为:
定义原始字符键盘中任一按键为所述映射模式的启动按键; 监听所述原始字符键盘中所述启动按键的按键时长;
如果所述按键时长小于第一设定时间值, 则继续监听所述启动按键 的触发信息且将所述启动按键在所述原始字符键盘上所对应的字符发 送至所述应用程序;
如果所述按键时长大于所述第一设定时间值, 则判断本次进入所述 映射模式的时间点与在此之前的第若干次次进入所述映射模式的时间 点之间的时间间隔是否小于第二设定时间值;
如果是, 则进入所述映射模式;
否则提示操作过于频繁并继续监听所述启动按键的触发信息。
6、根据权利要求 2所述的字符输入方法, 其特征在于, 所述建立所 述映射模式下所述字符串与所述键盘的所述映射关系具体为:
在所述映射模式下创建字符键盘、 图标键盘或轨迹键盘; 根据上述创建的所述字符键盘、 所述图标键盘或所述轨迹键盘, 创 建字符按键、 图标按键或轨迹到自定义的字符串之间的映射关系。
7、根据权利要求 6所述的字符输入方法, 其特征在于, 所述在所述 映射模式下创建图标按键具体为:
创建图片资料数据结构, 为每个图标分配唯一标识的序号与图片资 源路径;
创建键盘布局数据结构, 将图标序号与键页码、 键位通过随机算法 建立映射, 根据所述图片资料数据结构, 将对应图片绘制到相应页面的 对应键位上。
8、根据权利要求 6所述的字符输入方法, 其特征在于, 所述根据上 述创建的所述轨迹键盘, 创建轨迹到自定义的字符串之间的映射关系具 体为:
定义所述轨迹键盘中各个按键对应不同的字符;
将轨迹路径连接的各按键字符保存为路径字符串;
建立路径字符串与自定义的字符串之间的映射。
9、根据权利要求 1所述的字符输入方法, 其特征在于, 所述映射模 式是指将一个或几个按键的组合与一字符串进行对应的模式。
10、 根据权利要求 9所述的字符输入方法, 其特征在于, 所述字符 串包括密码或者账号信息。
11、 一种字符输入系统, 其特征在于, 包括:
用于接收用户输入按键信息的接收单元;
用于定义进入映射模式的启动方式并当接收到的按键信息符合预设 的所述映射模式的启动条件时进入所述映射模式的启动单元;
用于建立所述映射模式下字符串与键盘的映射关系的映射单元; 以 及
用于根据所述字符串与所述键盘的所述映射关系查找按键所对应的 字符串并向应用程序发送查找到的字符串的查找发送单元。
12、根据权利要求 11所述的字符输入系统, 其特征在于, 所述启动 单元包括:
用于定义某一按键为所述映射模式的启动按键的定义单元; 用于监听所述启动按键的触发信息并在接收到所述启动按键的触发 信息后判断本次触发启动所述映射模式的时间点与在此之前的第若干 次进入所述映射模式的时间点的间隔是否小于第二设定时间值的监听 判断单元; 若本次触发启动所述映射模式的所述时间点与在此之前的第 若干次进入所述映射模式的所述时间点的间隔小于所述第二设定时间 值, 则所述监听判断单元确定进入所述映射模式, 否则所述监听判断单 元确定不进入所述映射模式。
13、 一种终端电子设备, 其特征在于, 所述终端电子设备包括权利 要求 11或 12所述的字符输入系统。
14、 一种存储介质, 用于存储计算机可执行指令; 所述计算机可执 行指令用于控制计算机执行一种字符输入方法, 所述方法包括:
接收用户输入的按键信息;
当接收到的所述按键信息符合预设的映射模式的启动条件时, 进入 所述映射模式;
接收所述用户在所述映射模式下输入的按键信息;
根据预设的字符串与键盘的映射关系, 查找所述用户在所述映射模 式下输入的所述按键所对应的字符串, 并向应用程序发送所述查找到的 字符串。
PCT/CN2013/078755 2012-07-05 2013-07-03 字符输入方法、系统、终端电子设备及存储介质 WO2014005520A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CA2878298A CA2878298C (en) 2012-07-05 2013-07-03 Character input method and system, terminal electronic device and storage medium
AU2013286471A AU2013286471A1 (en) 2012-07-05 2013-07-03 Character input method and system, terminal electronic device and storage medium
US14/585,748 US9798463B2 (en) 2012-07-05 2014-12-30 Character input method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210231671.X 2012-07-05
CN201210231671.XA CN103529951B (zh) 2012-07-05 2012-07-05 字符输入方法及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/585,748 Continuation US9798463B2 (en) 2012-07-05 2014-12-30 Character input method and apparatus

Publications (1)

Publication Number Publication Date
WO2014005520A1 true WO2014005520A1 (zh) 2014-01-09

Family

ID=49881345

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/078755 WO2014005520A1 (zh) 2012-07-05 2013-07-03 字符输入方法、系统、终端电子设备及存储介质

Country Status (5)

Country Link
US (1) US9798463B2 (zh)
CN (1) CN103529951B (zh)
AU (1) AU2013286471A1 (zh)
CA (1) CA2878298C (zh)
WO (1) WO2014005520A1 (zh)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201212878D0 (en) 2012-07-20 2012-09-05 Pike Justin Authentication method and system
CN104794412A (zh) * 2015-05-11 2015-07-22 深圳天珑无线科技有限公司 信息输入方法及装置与移动终端
GB201520741D0 (en) 2015-05-27 2016-01-06 Mypinpad Ltd And Licentia Group Ltd Authentication methods and systems
CN105373237A (zh) * 2015-10-28 2016-03-02 魅族科技(中国)有限公司 一种数据输入方法及终端
CN106325538A (zh) * 2016-08-18 2017-01-11 广州视源电子科技股份有限公司 软键盘的操控提示方法及装置
CN106610731B (zh) * 2016-12-02 2019-12-24 珠海市魅族科技有限公司 字符串输入系统及方法
CN107633166A (zh) * 2017-07-21 2018-01-26 徐智能 一种隐蔽输入字符的动态虚拟键盘输入方法
CN108304081B (zh) * 2018-02-23 2022-05-31 京东方科技集团股份有限公司 输入设备及方法
CN108664135A (zh) * 2018-03-30 2018-10-16 北京汉德默兹克科技有限公司 键盘设置方法、装置及键盘
CN108920074A (zh) * 2018-06-25 2018-11-30 北京金山安全软件有限公司 一种文本输入方法、装置及电子设备
US11095435B2 (en) 2019-08-29 2021-08-17 International Business Machines Corporation Keystroke dynamics anonimization
CN111290623A (zh) * 2020-03-12 2020-06-16 南京酷朗电子有限公司 用于公共信息平台数据录入的用户数据输入法
CN111538418A (zh) * 2020-04-30 2020-08-14 中国银行股份有限公司 一种信息输入方法及装置
CN112099719A (zh) * 2020-09-11 2020-12-18 邹寿飞 输入方法、装置和计算机存储介质
CN114539550B (zh) * 2022-03-16 2023-04-28 江苏大学 一种基于UiO-66的第三类多孔离子液体及其制备方法和应用

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1372182A (zh) * 2001-02-23 2002-10-02 无敌科技(西安)有限公司 一种快速的手写输入法
CN1779621A (zh) * 2004-11-22 2006-05-31 三星电子株式会社 在移动通信终端上输入字符的设备和方法
CN101232380A (zh) * 2008-02-28 2008-07-30 北京飞天诚信科技有限公司 智能密钥设备安全使用的方法和智能密钥设备
CN101482777A (zh) * 2009-02-06 2009-07-15 深圳华为通信技术有限公司 一种全键盘输入数字字符的方法及装置
US20100290706A1 (en) * 2009-05-13 2010-11-18 Julong Educational Technology Co., Ltd. Method and system for information processing and a handwriting input terminal

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7047493B1 (en) * 2000-03-31 2006-05-16 Brill Eric D Spell checker with arbitrary length string-to-string transformations to improve noisy channel spelling correction
US6934564B2 (en) * 2001-12-20 2005-08-23 Nokia Corporation Method and apparatus for providing Hindi input to a device using a numeric keypad
CN1825796A (zh) * 2006-03-29 2006-08-30 刘大扬 基于图片键盘的网络加密系统及其操作方法
CN101727270B (zh) * 2008-10-21 2012-10-10 联想(北京)有限公司 构建软键盘的方法、输入字符信息的装置及其方法
IT1391872B1 (it) 2008-11-12 2012-01-27 Progind S R L Tastierino per emoticone con tasti rimovibili, e relativo utilizzo di tali tasti rimovibili
JP5310389B2 (ja) * 2009-08-27 2013-10-09 ソニー株式会社 情報処理装置、情報処理方法、及びプログラム
CN102096488B (zh) * 2009-12-09 2015-09-16 深圳市世纪光速信息技术有限公司 一种基于触摸屏的多触点输入方法及装置
EP2545426A4 (en) * 2010-03-12 2017-05-17 Nuance Communications, Inc. Multimodal text input system, such as for use with touch screens on mobile phones
US8645490B2 (en) 2010-06-08 2014-02-04 Microsoft Corporation Web site implementation by mapping expression evaluation
CN102298582B (zh) 2010-06-23 2016-09-21 商业对象软件有限公司 数据搜索和匹配方法和系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1372182A (zh) * 2001-02-23 2002-10-02 无敌科技(西安)有限公司 一种快速的手写输入法
CN1779621A (zh) * 2004-11-22 2006-05-31 三星电子株式会社 在移动通信终端上输入字符的设备和方法
CN101232380A (zh) * 2008-02-28 2008-07-30 北京飞天诚信科技有限公司 智能密钥设备安全使用的方法和智能密钥设备
CN101482777A (zh) * 2009-02-06 2009-07-15 深圳华为通信技术有限公司 一种全键盘输入数字字符的方法及装置
US20100290706A1 (en) * 2009-05-13 2010-11-18 Julong Educational Technology Co., Ltd. Method and system for information processing and a handwriting input terminal

Also Published As

Publication number Publication date
US9798463B2 (en) 2017-10-24
US20150116225A1 (en) 2015-04-30
CN103529951A (zh) 2014-01-22
CN103529951B (zh) 2017-09-15
AU2013286471A1 (en) 2015-02-26
CA2878298C (en) 2018-05-01
CA2878298A1 (en) 2014-01-09

Similar Documents

Publication Publication Date Title
WO2014005520A1 (zh) 字符输入方法、系统、终端电子设备及存储介质
US8576180B2 (en) Method for switching touch keyboard and handheld electronic device and storage medium using the same
WO2018001293A1 (zh) 一种WiFi密码共享方法及移动终端
KR102299261B1 (ko) 어플리케이션의 잠금 상태를 제어하는 방법 및 이를 지원하는 전자장치
KR101412764B1 (ko) 대안적 잠금 해제 패턴
AU2011312743B2 (en) Multiple-access-level lock screen
US8918736B2 (en) Replay recommendations in a text entry interface
EP2752749B1 (en) Processing method of touch screen device user interface and touch screen device
WO2014121730A1 (zh) 电子设备及其屏幕解锁方法
JP2016506564A (ja) スワイプストローク入力及び連続的な手書き
WO2014029207A1 (zh) 基于触摸屏的多选处理方法和用户设备
WO2013097650A1 (zh) 一种应用程序启动方法、系统及终端设备
US20150163672A1 (en) Mobile terminal, device and control method thereof
TW201621706A (zh) 使用近場通訊來以權限控制進行共享內容
KR20160085776A (ko) 상이한 스크린 상에 애플리케이션 데이터를 표시하기 위한 원격 제어 기법
CN105794155B (zh) 一种显示消息的方法、装置及设备
US9658770B2 (en) Method and apparatus for processing inputting of character
JP2019510303A (ja) アプリケーションのためのアイコン処理方法及び装置
CN104794412A (zh) 信息输入方法及装置与移动终端
TW201409988A (zh) 手持裝置及其解除鎖定的方法
JP7142961B2 (ja) 多言語キーボードシステム
BR112017009047B1 (pt) Método de processamento de mensagem sms para terminal móvel e terminal móvel
US20130205260A1 (en) Method and apparatus for managing an application in a mobile electronic device
TW201516743A (zh) 電子裝置及其操作方法
WO2013023624A1 (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: 13813241

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2878298

Country of ref document: CA

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2013286471

Country of ref document: AU

Date of ref document: 20130703

Kind code of ref document: A

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 15/06/2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13813241

Country of ref document: EP

Kind code of ref document: A1