WO2017128849A1 - Method and device for customizing keyboard layout - Google Patents

Method and device for customizing keyboard layout Download PDF

Info

Publication number
WO2017128849A1
WO2017128849A1 PCT/CN2016/107730 CN2016107730W WO2017128849A1 WO 2017128849 A1 WO2017128849 A1 WO 2017128849A1 CN 2016107730 W CN2016107730 W CN 2016107730W WO 2017128849 A1 WO2017128849 A1 WO 2017128849A1
Authority
WO
WIPO (PCT)
Prior art keywords
keyboard
layout
button
editing
custom
Prior art date
Application number
PCT/CN2016/107730
Other languages
French (fr)
Chinese (zh)
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 WO2017128849A1 publication Critical patent/WO2017128849A1/en

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/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
    • 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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

Definitions

  • the present invention relates to the field of touch operation technologies, and in particular, to a layout method and apparatus for a custom keyboard.
  • touch-screen communication terminals have become more and more popular among users due to their advantages of convenient operation, large screen size and good visual sense, and have gradually become the mainstream type of communication terminals.
  • the input operation of the touch-screen communication terminal is mainly realized by an analog keyboard on the touch screen, and the touch-screen analog keyboard is more and more replaced by a physical keyboard.
  • the touch screen analog keyboard brings some inconvenience in input while bringing visual enjoyment and convenience.
  • the keyboard layout is fixed.
  • the keys in the keyboard are also the inherent set of keys that the terminal comes with, and the keys cannot be customized.
  • mobile touch screen devices such as mobile phones now have larger and larger screens, but at the same time, the requirements for input are increased, and one-handed input becomes more and more difficult.
  • it may not adapt to a fixed keyboard layout. Therefore, the keyboard layout of the existing touch screen input cannot be changed according to the actual application and the user's habit, and in many cases, the use of the touch screen communication terminal brings a lot of inconvenience.
  • the embodiment of the invention provides a method and a device for laying out a customized keyboard, so as to at least solve the problem that the keyboard is inconvenient for the user to operate in the related art.
  • a method for laying out a customized keyboard including:
  • the edited keyboard is displayed.
  • the obtaining, according to the layout selection instruction, the selected keyboard layout including:
  • the selected area is used as the keyboard editing area
  • the selected layout is used as a keyboard editing area.
  • the preset keyboard layout comprises any one or more of a nine-square grid layout, a rectangular full keyboard layout, a fan-shaped nine-square grid layout, and a fan-shaped full keyboard layout.
  • the editing operation comprises: selecting a button from a list of commonly used keys, and adding to the selected keyboard position; and deleting the button in the selected keyboard position.
  • the method further includes:
  • the method further includes:
  • the keyboard is adjusted to be a left-hand, right-hand or two-hand mode of operation according to an operational mode command.
  • a layout device for a custom keyboard including:
  • Obtaining a module configured to obtain a selected keyboard layout according to a layout selection instruction
  • the parsing module is configured to parse the editing operation, and obtain information about the key to be edited and the position of the keyboard;
  • mapping module configured to establish and save a mapping relationship between the button and the keyboard position
  • Display module set to display the edited keyboard.
  • the obtaining module is specifically configured to: when the customized keyboard layout is selected, the selected area is used as the keyboard editing area; when the preset keyboard layout is selected, the selected layout is used as the keyboard editing area.
  • the acquiring module presets a keyboard layout, including any one or more of a nine-square grid layout, a rectangular full keyboard layout, a fan-shaped nine-square grid layout, and a fan-shaped full keyboard layout.
  • the parsing module parses the editing operation, including: selecting a button from the list of commonly used keys, and adding to the selected keyboard position; and deleting the button in the selected keyboard position.
  • the device further includes a layout adjustment module configured to adjust a position and a size of the keyboard according to a gesture or a button instruction.
  • a layout adjustment module configured to adjust a position and a size of the keyboard according to a gesture or a button instruction.
  • the apparatus further includes a mode adjustment module configured to adjust the keyboard to be a left-hand, right-hand, or two-hand operation mode according to the operation mode command.
  • a mode adjustment module configured to adjust the keyboard to be a left-hand, right-hand, or two-hand operation mode according to the operation mode command.
  • a computer storage medium is also provided.
  • the computer storage medium is arranged to store program code for performing the above-described custom keyboard layout method.
  • the method and device for customizing the keyboard layout of the present invention analyzes the operation of moving the button to the editable area of the keyboard by the user, and establishes a mapping relationship between the button and the selected position, and displays the customized keyboard according to the mapping relationship.
  • the user can adjust and set the position of the button in the virtual keyboard according to his own needs and habits, and meet the needs of different users for the personalized use of the keyboard.
  • FIG. 1 is a flowchart of a method for customizing a keyboard layout according to an embodiment of the present invention
  • FIG. 2 is a schematic view showing the layout of a rectangular nine-square grid according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram showing the layout of a rectangular full keyboard according to an embodiment of the present invention.
  • FIG. 4 is a schematic view showing the layout of a fan-shaped nine-square grid according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a layout of a fan-shaped full keyboard according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of adjusting a button in a keyboard according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a device for customizing a keyboard layout according to an embodiment of the present invention.
  • a customized keyboard layout method provided by an embodiment of the present invention includes the following steps:
  • the custom keyboard layout method provided by the embodiment of the present invention establishes a mapping relationship between a selected button and a keyboard position by parsing a user operation, and displays a custom edited keyboard according to the mapping relationship.
  • the user can adjust and set the position of the button in the virtual keyboard according to his own needs and habits, and meet the needs of different users for the personalized use of the keyboard.
  • First introduce S101 according to the keyboard editing instructions, enter the keyboard layout editing mode.
  • the keyboard editing interface is opened by long pressing the interface, gesture or function button to enter the keyboard layout editing mode.
  • S102 is introduced, and the selected keyboard layout is obtained according to the layout selection instruction.
  • the user can display the desired keyboard layout on the keyboard. In the editing area.
  • the user can select a custom keyboard layout or select several basic keyboard layouts that are preset.
  • the selected area of the user is used as the keyboard editing area.
  • the user scribes the layout area of the keyboard by manually swiping the track.
  • the layout area includes an editable button area and a fixed button area.
  • the user can customize the size of each area, or divide the selected area according to a preset ratio. By default, the button area is divided according to a preset ratio.
  • the user has to choose a nine-square grid or full keyboard mode.
  • the fixed button number set in the full keyboard or the nine-square grid mode divides the fixed button layout area according to the fixed number of keys, and each button area is assigned a position identifier.
  • the number of buttons in the area needs to be preset, and the area is divided according to the preset number, and the corresponding position identifier is assigned to each of the divided button areas.
  • the editable button area can also be divided according to the number of keys that the user wants to add. It should be noted that the division of the custom layout area of the present invention is not limited to the above two types.
  • the keyboard layout is displayed in the keyboard editing area.
  • several basic keyboard layouts are preset for the user, including any one or more of a rectangular nine-square grid layout, a rectangular full keyboard layout, a fan-shaped nine-square grid layout, and a fan-shaped full keyboard layout.
  • the user can select the corresponding basic keyboard layout and edit the keyboard according to the keyboard layout.
  • the keyboard layout also includes a fixed button area and an editable button area.
  • the editable button area the user can select from the list of commonly used buttons and add it to the editable area of the keyboard to customize the keyboard. Normally, the default keyboard layout is given in the terminal. After the user selects the layout keyboard, he can customize the editable button parts.
  • introduce S103 analyze the editing operation, and obtain the information of the button and keyboard position to be edited.
  • the keyboard is divided into a fixed button area and an editable button area.
  • the editing action is an editable button area and a list of commonly used buttons. Stroke operation between. The user can select a button from the list of commonly used buttons and add the button to the selected keyboard position; or delete the button in the keyboard.
  • the button information set in the action and the position information of the keyboard are acquired.
  • the key value information of the button is acquired; and after the user is swiped, the keyboard editing position information is obtained according to the user's stroke track. Get the end position information of the swipe track. When the position is in the keyboard editing area, save the position as the selected keyboard edit position.
  • introduce S104 establish and save the mapping relationship between the button and the keyboard editing position.
  • the identifier of the selected keyboard position is mapped to the key value information of the button.
  • the mapping relationship between the currently saved button and the keyboard position is obtained, and the button information is saved in the common button list; and the current user selected button information and the keyboard position are established. Mapping the relationship and saving the mapping relationship; when the user needs to delete a button at a certain position of the keyboard, the mapping relationship between the button and the keyboard position in the position is obtained, and the button information in the mapping relationship is deleted and saved, and at the same time The button information is saved to the list of commonly used buttons.
  • buttons in the commonly used button list in the embodiment of the present invention include: a send button in the instant information input interface, a Chinese-English switch, a punctuation switch, a case switch, a digital switch, a URL input special character switch, and the like.
  • the list of commonly used buttons is sorted according to the frequency of use of the buttons, so that the user can quickly obtain the required buttons.
  • S105 is introduced to display the edited keyboard.
  • the edited keyboard is displayed.
  • a preview keyboard is generated.
  • the keyboard adjustment can be performed again.
  • the method further includes detecting whether the user has an operation mode selection or an adjustment of the layout. For operation mode selection or layout adjustment, after the keyboard layout is selected, after the user has finished editing the keyboard.
  • the position and size of the keyboard are adjusted according to the user's layout adjustment instruction. Specifically, when the user selects the left-hand mode, the height and width of the area occupied by the keyboard can be adjusted by itself. Adjust the position and size of the keyboard layout according to the user's gesture or the key command input by the user.
  • an embodiment of the present invention further provides a layout device for a custom keyboard, which is configured to implement the above-mentioned custom keyboard layout method, including:
  • Obtaining a module configured to obtain a selected keyboard layout according to a layout selection instruction
  • the parsing module is configured to parse the editing operation, and obtain information about the key to be edited and the position of the keyboard;
  • mapping module configured to establish and save a mapping relationship between a button and a keyboard position
  • Display module set to display the edited keyboard.
  • the obtaining module is specifically set as:
  • the selected area is used as the keyboard editing area
  • the selected layout is used as a keyboard editing area.
  • the preset keyboard layout of the acquisition module includes: one or more of a nine-square grid layout, a rectangular full keyboard layout, a fan-shaped nine-square grid layout, and a fan-shaped full keyboard layout.
  • the parsing module parsing editing operation includes: selecting a button from a list of commonly used keys, and adding to the selected keyboard position; and deleting the button in the selected keyboard position.
  • the layout device of the custom keyboard further includes a layout adjustment module configured to adjust the position and size of the keyboard according to the gesture or the button instruction.
  • the layout device of the custom keyboard further includes a mode adjustment module configured to adjust the keyboard to a left-hand, right-hand or two-hand operation mode according to the operation mode instruction.
  • the layout device of the custom keyboard further includes a storage module, configured to save the original button information to the commonly used button when the button exists in the selected keyboard position, and the mapping relationship between the selected button and the keyboard position is to be established.
  • a storage module configured to save the original button information to the commonly used button when the button exists in the selected keyboard position, and the mapping relationship between the selected button and the keyboard position is to be established.
  • the mapping relationship between the button and the keyboard position in the position is obtained, and the button information in the mapping relationship is deleted, and the button information is saved in the common button list.
  • the layout device preview module of the custom keyboard is configured to generate a preview soft keyboard according to the mapping relationship between the saved button and the keyboard editing position.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the foregoing storage medium may include, but is not limited to: a USB flash drive, only A medium that can store program code, such as a read-only memory (ROM), a random access memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • removable hard disk such as a hard disk, a magnetic disk, or an optical disk.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the method and apparatus for laying out a custom keyboard provided by the embodiment of the present invention have the following beneficial effects: by analyzing the operation of the user moving the button to the editable area of the keyboard, and establishing the mapping relationship between the button and the selected position. , display a custom keyboard based on the mapping relationship.
  • the user can adjust and set the position of the button in the virtual keyboard according to his own needs and habits, and meet the needs of different users for personalization of the keyboard.

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)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided are a method and device for customizing keyboard layout. The method comprises: entering a keyboard layout modification mode on the basis of a keyboard modification instruction (S101); obtaining a selected keyboard layout according to the keyboard modification instruction (S102); parsing a modification operation to obtain information about a key to undergo modification and a keyboard location (S103); establishing and storing a mapping relationship between the key and the keyboard location (S104); and displaying the modified keyboard (S105). By means of the method, a user can adjust and set locations of keys in a virtual keyboard according to requirements and habits of the user, meeting different usage requirements for personalized keyboards.

Description

一种自定义键盘的布局方法及装置Method and device for laying out custom keyboard 技术领域Technical field
本发明涉及触控操作技术领域,尤其涉及一种自定义键盘的布局方法及装置。The present invention relates to the field of touch operation technologies, and in particular, to a layout method and apparatus for a custom keyboard.
背景技术Background technique
随着通信技术的不断发展,触屏式通信终端由于操作方便、屏幕超大、视觉感好等优点,越来越受到用户的喜爱,已逐渐成为通信终端的主流类型。目前触屏式通信终端的输入操作主要由触摸屏上的模拟键盘实现,触屏模拟键盘越来越多的替代了实体键盘。然而触屏模拟键盘在带来视觉享受和方便的同时,带来了一些输入方面的不便。With the continuous development of communication technology, touch-screen communication terminals have become more and more popular among users due to their advantages of convenient operation, large screen size and good visual sense, and have gradually become the mainstream type of communication terminals. At present, the input operation of the touch-screen communication terminal is mainly realized by an analog keyboard on the touch screen, and the touch-screen analog keyboard is more and more replaced by a physical keyboard. However, the touch screen analog keyboard brings some inconvenience in input while bringing visual enjoyment and convenience.
目前触屏模拟键盘显示在触摸屏终端设备的屏幕时,键盘布局都是固定不变的。而键盘中按键也是终端自带的固有按键集合,不可对按键进行自定义操作。然而,现在手机等移动触屏设备,屏幕越来越大,但同时对输入时的要求会变多,单手输入越来越困难。与此同时,由于用户使用习惯的不同,可能并不适应固定的键盘布局。因此已有的触屏输入的键盘布局无法根据实际应用和用户习惯进行改变,在很多时候会给触屏式通信终端的使用带来诸多不便。At present, when the touch screen analog keyboard is displayed on the screen of the touch screen terminal device, the keyboard layout is fixed. The keys in the keyboard are also the inherent set of keys that the terminal comes with, and the keys cannot be customized. However, mobile touch screen devices such as mobile phones now have larger and larger screens, but at the same time, the requirements for input are increased, and one-handed input becomes more and more difficult. At the same time, due to different user habits, it may not adapt to a fixed keyboard layout. Therefore, the keyboard layout of the existing touch screen input cannot be changed according to the actual application and the user's habit, and in many cases, the use of the touch screen communication terminal brings a lot of inconvenience.
发明内容Summary of the invention
本发明实施例提供了一种自定义键盘的布局方法及装置,以至少解决相关技术中键盘对于用户操作不便的问题。The embodiment of the invention provides a method and a device for laying out a customized keyboard, so as to at least solve the problem that the keyboard is inconvenient for the user to operate in the related art.
依据本发明的一个实施例,提供了一种自定义键盘的布局方法,包括:According to an embodiment of the present invention, a method for laying out a customized keyboard is provided, including:
根据键盘编辑指令,进入键盘布局编辑模式;According to the keyboard editing instruction, enter the keyboard layout editing mode;
根据布局选择指令,获取所选的键盘布局;Obtain the selected keyboard layout according to the layout selection instruction;
解析编辑操作,获取所要编辑的按键与键盘位置的信息; Parsing the editing operation to obtain information about the key to be edited and the position of the keyboard;
建立并保存所述按键与所述键盘位置的映射关系;Establishing and saving a mapping relationship between the button and the keyboard position;
显示编辑后的键盘。The edited keyboard is displayed.
可选地,所述根据布局选择指令,获取所选的键盘布局,包括:Optionally, the obtaining, according to the layout selection instruction, the selected keyboard layout, including:
当选择自定义键盘布局时,根据选定区域作为键盘编辑区域;When a custom keyboard layout is selected, the selected area is used as the keyboard editing area;
当选择预先设定的键盘布局时,将所选的布局作为键盘编辑区域。When a preset keyboard layout is selected, the selected layout is used as a keyboard editing area.
可选地,所述预先设定的键盘布局包括九宫格布局、矩形全键盘布局、扇形九宫格布局以及扇形全键盘布局中任一种或者多种。Optionally, the preset keyboard layout comprises any one or more of a nine-square grid layout, a rectangular full keyboard layout, a fan-shaped nine-square grid layout, and a fan-shaped full keyboard layout.
可选地,所述编辑操作,包括:从常用按键列表中选取按键,并将添加至选定的键盘位置中;以及,将选定的键盘位置中的按键进行删除。Optionally, the editing operation comprises: selecting a button from a list of commonly used keys, and adding to the selected keyboard position; and deleting the button in the selected keyboard position.
可选地,所述方法还包括:Optionally, the method further includes:
根据手势或者按键指令,调整所述键盘的位置以及大小。Adjust the position and size of the keyboard according to gestures or key commands.
可选地,所述方法还包括:Optionally, the method further includes:
根据操作模式指令,调整所述键盘为左手、右手或者双手操作模式。The keyboard is adjusted to be a left-hand, right-hand or two-hand mode of operation according to an operational mode command.
依据本发明的另一实施例,提供一种自定义键盘的布局装置,包括:According to another embodiment of the present invention, a layout device for a custom keyboard is provided, including:
进入模块,设置为根据键盘编辑指令,进入键盘布局编辑模式;Enter the module, set to enter the keyboard layout editing mode according to the keyboard editing instructions;
获取模块,设置为根据布局选择指令,获取所选的键盘布局;Obtaining a module, configured to obtain a selected keyboard layout according to a layout selection instruction;
解析模块,设置为解析编辑操作,获取所要编辑的按键与键盘位置的信息;The parsing module is configured to parse the editing operation, and obtain information about the key to be edited and the position of the keyboard;
映射模块,设置为建立并保存所述按键与所述键盘位置的映射关系;a mapping module, configured to establish and save a mapping relationship between the button and the keyboard position;
显示模块,设置为显示编辑后的键盘。Display module, set to display the edited keyboard.
可选地,所述获取模块具体设置为,当选择自定义键盘布局时,根据选定区域作为键盘编辑区域;当选择预先设定的键盘布局时,将所选的布局作为键盘编辑区域。Optionally, the obtaining module is specifically configured to: when the customized keyboard layout is selected, the selected area is used as the keyboard editing area; when the preset keyboard layout is selected, the selected layout is used as the keyboard editing area.
可选地,所述获取模块预先设定的键盘布局:包括九宫格布局、矩形全键盘布局、扇形九宫格布局以及扇形全键盘布局中任一种或者多种。 Optionally, the acquiring module presets a keyboard layout, including any one or more of a nine-square grid layout, a rectangular full keyboard layout, a fan-shaped nine-square grid layout, and a fan-shaped full keyboard layout.
可选地,所述解析模块解析编辑操作,包括:从常用按键列表中选取按键,并将添加至选定的键盘位置中;以及,将选定的键盘位置中的按键进行删除。Optionally, the parsing module parses the editing operation, including: selecting a button from the list of commonly used keys, and adding to the selected keyboard position; and deleting the button in the selected keyboard position.
可选地,所述装置还包括布局调整模块,设置为根据手势或者按键指令,调整所述键盘的位置以及大小。Optionally, the device further includes a layout adjustment module configured to adjust a position and a size of the keyboard according to a gesture or a button instruction.
可选地,所述装置还包括模式调整模块,设置为根据操作模式指令,调整所述键盘为左手、右手或者双手操作模式。Optionally, the apparatus further includes a mode adjustment module configured to adjust the keyboard to be a left-hand, right-hand, or two-hand operation mode according to the operation mode command.
根据本发明的又一个实施例,还提供了一种计算机存储介质。该计算机存储介质设置为存储用于执行上述自定义键盘布局方法的程序代码。According to yet another embodiment of the present invention, a computer storage medium is also provided. The computer storage medium is arranged to store program code for performing the above-described custom keyboard layout method.
本发明实施例具有以下有益效果:Embodiments of the present invention have the following beneficial effects:
本发明中的自定义键盘布局方法及装置,通过解析用户将按键移动到键盘可编辑区域的操作,并建立按键与选定位置的映射关系,根据映射关系显示自定义键盘。通过本发明用户可以根据自己的需求和习惯,在虚拟键盘中调整和设置按键的位置,满足了不同用户对于键盘个性化的使用需求。The method and device for customizing the keyboard layout of the present invention analyzes the operation of moving the button to the editable area of the keyboard by the user, and establishes a mapping relationship between the button and the selected position, and displays the customized keyboard according to the mapping relationship. Through the invention, the user can adjust and set the position of the button in the virtual keyboard according to his own needs and habits, and meet the needs of different users for the personalized use of the keyboard.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1为本发明实施例中自定义键盘布局方法的流程图;1 is a flowchart of a method for customizing a keyboard layout according to an embodiment of the present invention;
图2为本发明实施例中矩形九宫格的布局示意图;2 is a schematic view showing the layout of a rectangular nine-square grid according to an embodiment of the present invention;
图3为本发明实施例中矩形全键盘的布局示意图;3 is a schematic diagram showing the layout of a rectangular full keyboard according to an embodiment of the present invention;
图4为本发明实施例中扇形九宫格的布局示意图; 4 is a schematic view showing the layout of a fan-shaped nine-square grid according to an embodiment of the present invention;
图5为本发明实施例中扇形全键盘的布局示意图;FIG. 5 is a schematic diagram of a layout of a fan-shaped full keyboard according to an embodiment of the present invention; FIG.
图6为本发明实施例中调整键盘中按键的示意图;6 is a schematic diagram of adjusting a button in a keyboard according to an embodiment of the present invention;
图7为本发明实施例中自定义键盘布局装置的结构示意图。FIG. 7 is a schematic structural diagram of a device for customizing a keyboard layout according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
参见图1,本发明实施例所提供的自定义键盘布局方法包括如下步骤:Referring to FIG. 1, a customized keyboard layout method provided by an embodiment of the present invention includes the following steps:
S101,根据键盘编辑指令,进入键盘布局编辑模式;S101, according to a keyboard editing instruction, enter a keyboard layout editing mode;
S102,根据布局选择指令,获取所选的键盘布局;S102. Acquire a selected keyboard layout according to a layout selection instruction.
S103,解析编辑操作,获取所要编辑的按键与键盘位置的信息;S103. Analyze an editing operation, and obtain information about a button and a keyboard position to be edited;
S104,建立并保存所述按键与所述键盘位置的映射关系;S104. Establish and save a mapping relationship between the button and the keyboard position.
S105,显示编辑后的键盘。S105, displaying the edited keyboard.
本发明实施例所提供的自定义键盘布局方法,通过解析用户的操作,建立选定按键与键盘位置的映射关系,根据映射关系显示自定义编辑的键盘。通过本发明实施例,用户可以根据自己的需求和习惯在虚拟键盘中调整和设置按键的位置,满足了不同用户对于键盘个性化的使用需求。The custom keyboard layout method provided by the embodiment of the present invention establishes a mapping relationship between a selected button and a keyboard position by parsing a user operation, and displays a custom edited keyboard according to the mapping relationship. Through the embodiment of the present invention, the user can adjust and set the position of the button in the virtual keyboard according to his own needs and habits, and meet the needs of different users for the personalized use of the keyboard.
下面详细介绍各步骤的具体或优选实施过程:The specific or preferred implementation of each step is described in detail below:
首先介绍S101,根据键盘编辑指令,进入键盘布局编辑模式。First introduce S101, according to the keyboard editing instructions, enter the keyboard layout editing mode.
用户打开触屏输入界面后,通过长按界面、手势或者功能按键的形式打开键盘编辑界面,进入键盘布局编辑模式。After the user opens the touch screen input interface, the keyboard editing interface is opened by long pressing the interface, gesture or function button to enter the keyboard layout editing mode.
其次介绍S102,根据布局选择指令,获取所选的键盘布局。Next, S102 is introduced, and the selected keyboard layout is obtained according to the layout selection instruction.
在进入键盘布局编辑模式后,用户可以将所需的键盘布局显示于键盘 编辑区域中。本实施例中用户可以选择自定义键盘布局或者选择预先设置的几种基本的键盘布局。After entering the keyboard layout editing mode, the user can display the desired keyboard layout on the keyboard. In the editing area. In this embodiment, the user can select a custom keyboard layout or select several basic keyboard layouts that are preset.
具体地,当用户选择自定义键盘布局时,将用户的选定区域作为键盘编辑区域。用户通过手动划动轨迹圈定键盘的布局区域。布局区域中包括可编辑按键区域以及固定按键区域。对于两种按键区域,用户可以自定义设定每个区域的大小,也可以根据预先设定的比例将选定的区域进行划分。默认情况下,为根据预先设定的比例对按键区域进行划分。当选定两种区域后,用户需选择为九宫格或者全键盘模式。其中,全键盘或者九宫格模式中都设定的固定按键数,根据固定按键数将固定按键布局区域进行划分,且每个按键区域分配位置标识。对于可编辑按键区域,需预先设定该区域的按键个数,并根据预设的个数对该区域进行划分,并为划分后的每个按键区域分配相应的位置标识。当然,也可以根据用户所要添加的按键数,将可编辑按键区域进行划分。需要说明的是,本发明对于自定义布局区域的划分并不局限于上述两种。Specifically, when the user selects a custom keyboard layout, the selected area of the user is used as the keyboard editing area. The user scribes the layout area of the keyboard by manually swiping the track. The layout area includes an editable button area and a fixed button area. For the two button areas, the user can customize the size of each area, or divide the selected area according to a preset ratio. By default, the button area is divided according to a preset ratio. When two areas are selected, the user has to choose a nine-square grid or full keyboard mode. The fixed button number set in the full keyboard or the nine-square grid mode divides the fixed button layout area according to the fixed number of keys, and each button area is assigned a position identifier. For the editable button area, the number of buttons in the area needs to be preset, and the area is divided according to the preset number, and the corresponding position identifier is assigned to each of the divided button areas. Of course, the editable button area can also be divided according to the number of keys that the user wants to add. It should be noted that the division of the custom layout area of the present invention is not limited to the above two types.
当用户选择预设的键盘布局时,将键盘布局显示在键盘编辑区域中。本发明的实施例中为用户预先设置了几种基本键盘布局,包括矩形九宫格布局、矩形全键盘布局、扇形九宫格布局、扇形全键盘布局中的任一种或多种。几种键盘的布局,可以参见图2~5,用户可以选择相应的基本键盘布局后,依据该键盘布局对键盘进行编辑。该键盘布局中同样包括固定按键区域以及可编辑按键区域。对于可编辑按键区域,用户可以从常用的按键列表中选取,并将其添加至键盘的可编辑区域,从而实现键盘的自定义设置。通常情况下,终端中给出默认的键盘布局。用户选定布局键盘后,可以对可编辑的按键部分进行自定义操作。When the user selects a preset keyboard layout, the keyboard layout is displayed in the keyboard editing area. In the embodiment of the present invention, several basic keyboard layouts are preset for the user, including any one or more of a rectangular nine-square grid layout, a rectangular full keyboard layout, a fan-shaped nine-square grid layout, and a fan-shaped full keyboard layout. For the layout of several keyboards, refer to Figures 2 to 5. The user can select the corresponding basic keyboard layout and edit the keyboard according to the keyboard layout. The keyboard layout also includes a fixed button area and an editable button area. For the editable button area, the user can select from the list of commonly used buttons and add it to the editable area of the keyboard to customize the keyboard. Normally, the default keyboard layout is given in the terminal. After the user selects the layout keyboard, he can customize the editable button parts.
其次介绍S103,解析编辑操作,获取所要编辑的按键与键盘位置的信息。Next, introduce S103, analyze the editing operation, and obtain the information of the button and keyboard position to be edited.
上述提及,将键盘分为固定按键区域以及可编辑按键区域。当用户进行按键的添加和删除时,其编辑动作为可编辑按键区域与常用按键列表之 间的划动操作。用户可以从常用按键列表中选取按键,并将按键添加至所选定的键盘位置中;也可以将键盘中的按键进行删除。在解析用户的编辑动作时,获取动作中设定的按键信息以及键盘的位置信息。As mentioned above, the keyboard is divided into a fixed button area and an editable button area. When the user adds and deletes a button, the editing action is an editable button area and a list of commonly used buttons. Stroke operation between. The user can select a button from the list of commonly used buttons and add the button to the selected keyboard position; or delete the button in the keyboard. When parsing the user's editing action, the button information set in the action and the position information of the keyboard are acquired.
具体地,当用户选定按键时,获取该按键的键值信息;同时检测到用户划动后,根据用户的划动轨迹获取键盘编辑位置信息。获取将划动轨迹的终点位置信息,当该位置位于键盘编辑区域时,保存该位置为选中的键盘编辑位置Specifically, when the user selects the button, the key value information of the button is acquired; and after the user is swiped, the keyboard editing position information is obtained according to the user's stroke track. Get the end position information of the swipe track. When the position is in the keyboard editing area, save the position as the selected keyboard edit position.
接着介绍S104,建立并保存按键与键盘编辑位置的映射关系。Next, introduce S104, establish and save the mapping relationship between the button and the keyboard editing position.
具体地,将选定键盘位置的标识与按键的键值信息建立映射关系。参见图6,当用户选定的键盘位置中存在按键时,获取当前保存的按键与键盘位置的映射关系,将按键信息保存至常用按键列表中;同时建立当前用户选定按键信息与键盘位置的映射关系,并将该映射关系进行保存;当用户需要删除键盘某个位置的按键时,获取该位置中的按键与键盘位置的映射关系,将该映射关系中按键信息删除后进行保存,同时将该按键信息保存至常用按键列表中。Specifically, the identifier of the selected keyboard position is mapped to the key value information of the button. Referring to FIG. 6, when there is a button in the keyboard position selected by the user, the mapping relationship between the currently saved button and the keyboard position is obtained, and the button information is saved in the common button list; and the current user selected button information and the keyboard position are established. Mapping the relationship and saving the mapping relationship; when the user needs to delete a button at a certain position of the keyboard, the mapping relationship between the button and the keyboard position in the position is obtained, and the button information in the mapping relationship is deleted and saved, and at the same time The button information is saved to the list of commonly used buttons.
本发明实施例中常用按键列表中的按键包括:即时信息输入界面中的发送按钮、中英文切换、标点切换、大小写切换、数字切换、网址输入特殊字符切换等。常用按键列表按照按键的使用频率进行排序,方便用户快速获取所需的按键。The buttons in the commonly used button list in the embodiment of the present invention include: a send button in the instant information input interface, a Chinese-English switch, a punctuation switch, a case switch, a digital switch, a URL input special character switch, and the like. The list of commonly used buttons is sorted according to the frequency of use of the buttons, so that the user can quickly obtain the required buttons.
最后介绍S105,显示编辑后的键盘。当对某个按键编辑完成后,显示编辑后的键盘。Finally, S105 is introduced to display the edited keyboard. When editing a key is completed, the edited keyboard is displayed.
进一步地,当用户对整个键盘自定义编辑完成后,生成预览键盘。当用户不满意当前编辑时,可以再次进行对键盘调整。Further, when the user completes the custom editing of the entire keyboard, a preview keyboard is generated. When the user is not satisfied with the current editing, the keyboard adjustment can be performed again.
进一步地,该方法还包括检测用户是否有操作模式选择或者布局的调整。对于操作模式选择或者布局调整,可以在键盘布局选择之后,还可以在用户对键盘编辑完成后。Further, the method further includes detecting whether the user has an operation mode selection or an adjustment of the layout. For operation mode selection or layout adjustment, after the keyboard layout is selected, after the user has finished editing the keyboard.
当检测到用户进行操作模式选择时,根据用户选择的操作模式指令, 将选定的键盘布局调整为左模式、右手模式或者双手模式。When it is detected that the user performs an operation mode selection, according to an operation mode instruction selected by the user, Adjust the selected keyboard layout to left mode, right hand mode, or two-hand mode.
当检测到用户选择调整布局大小时,根据用户的布局调整指令,调整键盘的位置及大小。具体地,当用户选择左手模式时,可以自行调整键盘所占区域的高度和宽度。根据用户的手势或者用户输入的按键指令,调整键盘布局的位置及大小。When it is detected that the user selects to adjust the layout size, the position and size of the keyboard are adjusted according to the user's layout adjustment instruction. Specifically, when the user selects the left-hand mode, the height and width of the area occupied by the keyboard can be adjusted by itself. Adjust the position and size of the keyboard layout according to the user's gesture or the key command input by the user.
参见图7,本发明实施例还提供了一种自定义键盘的布局装置,设置为实现上述的自定义键盘布局方法,包括:Referring to FIG. 7, an embodiment of the present invention further provides a layout device for a custom keyboard, which is configured to implement the above-mentioned custom keyboard layout method, including:
进入模块,设置为根据键盘编辑指令,进入键盘布局编辑模式;Enter the module, set to enter the keyboard layout editing mode according to the keyboard editing instructions;
获取模块,设置为根据布局选择指令,获取所选的键盘布局;Obtaining a module, configured to obtain a selected keyboard layout according to a layout selection instruction;
解析模块,设置为解析编辑操作,获取所要编辑的按键与键盘位置的信息;The parsing module is configured to parse the editing operation, and obtain information about the key to be edited and the position of the keyboard;
映射模块,设置为建立并保存按键与键盘位置的映射关系;a mapping module, configured to establish and save a mapping relationship between a button and a keyboard position;
显示模块,设置为显示编辑后的键盘。Display module, set to display the edited keyboard.
进一步地,获取模块具体设置为:Further, the obtaining module is specifically set as:
当选择自定义键盘布局时,根据选定区域作为键盘编辑区域;When a custom keyboard layout is selected, the selected area is used as the keyboard editing area;
当选择预先设定的键盘布局时,将所选的布局作为键盘编辑区域。When a preset keyboard layout is selected, the selected layout is used as a keyboard editing area.
进一步地,获取模块预先设定的键盘布局:包括九宫格布局、矩形全键盘布局、扇形九宫格布局以及扇形全键盘布局中任一种或者多种。Further, the preset keyboard layout of the acquisition module includes: one or more of a nine-square grid layout, a rectangular full keyboard layout, a fan-shaped nine-square grid layout, and a fan-shaped full keyboard layout.
进一步地,解析模块解析的编辑操作,包括:从常用按键列表中选取按键,并将添加至选定的键盘位置中;以及,将选定的键盘位置中的按键进行删除。Further, the parsing module parsing editing operation includes: selecting a button from a list of commonly used keys, and adding to the selected keyboard position; and deleting the button in the selected keyboard position.
进一步地,该自定义键盘的布局装置还包括布局调整模块,设置为根据手势或者按键指令,调整键盘的位置以及大小。Further, the layout device of the custom keyboard further includes a layout adjustment module configured to adjust the position and size of the keyboard according to the gesture or the button instruction.
进一步地,该自定义键盘的布局装置还包括模式调整模块,设置为根据操作模式指令,调整键盘为左手、右手或者双手操作模式。 Further, the layout device of the custom keyboard further includes a mode adjustment module configured to adjust the keyboard to a left-hand, right-hand or two-hand operation mode according to the operation mode instruction.
进一步地,该自定义键盘的布局装置还包括存储模块,设置为当选定的键盘位置中存在按键时,待建立选定按键与键盘位置的映射关系后,将原有的按键信息保存至常用功能键列表中。当需要删除键盘某个位置的按键时,获取该位置中的按键与键盘位置的映射关系,并将该映射关系中按键信息删除,同时将该按键信息保存至常用按键列表中。Further, the layout device of the custom keyboard further includes a storage module, configured to save the original button information to the commonly used button when the button exists in the selected keyboard position, and the mapping relationship between the selected button and the keyboard position is to be established. In the function key list. When the button of a certain position of the keyboard needs to be deleted, the mapping relationship between the button and the keyboard position in the position is obtained, and the button information in the mapping relationship is deleted, and the button information is saved in the common button list.
进一步地,该自定义键盘的布局装置预览模块,设置为根据保存的按键与键盘编辑位置的映射关系生成预览软键盘。Further, the layout device preview module of the custom keyboard is configured to generate a preview soft keyboard according to the mapping relationship between the saved button and the keyboard editing position.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S101,根据键盘编辑指令,进入键盘布局编辑模式;S101, according to a keyboard editing instruction, enter a keyboard layout editing mode;
S102,根据布局选择指令,获取所选的键盘布局;S102. Acquire a selected keyboard layout according to a layout selection instruction.
S103,解析编辑操作,获取所要编辑的按键与键盘位置的信息;S103. Analyze an editing operation, and obtain information about a button and a keyboard position to be edited;
S104,建立并保存所述按键与所述键盘位置的映射关系;S104. Establish and save a mapping relationship between the button and the keyboard position.
S105,显示编辑后的键盘。S105, displaying the edited keyboard.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只 读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but is not limited to: a USB flash drive, only A medium that can store program code, such as a read-only memory (ROM), a random access memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种自定义键盘的布局方法及装置,具有以下有益效果:通过解析用户将按键移动到键盘可编辑区域的操作,并建立按键与选定位置的映射关系,根据映射关系显示自定义键盘。通过本发明实施例,用户可以根据自己的需求和习惯,在虚拟键盘中调整和设置按键的位置,满足了不同用户对于键盘个性化的使用需求。 As described above, the method and apparatus for laying out a custom keyboard provided by the embodiment of the present invention have the following beneficial effects: by analyzing the operation of the user moving the button to the editable area of the keyboard, and establishing the mapping relationship between the button and the selected position. , display a custom keyboard based on the mapping relationship. Through the embodiment of the present invention, the user can adjust and set the position of the button in the virtual keyboard according to his own needs and habits, and meet the needs of different users for personalization of the keyboard.

Claims (13)

  1. 一种自定义键盘的布局方法,包括:A layout method for a custom keyboard, including:
    根据键盘编辑指令,进入键盘布局编辑模式;According to the keyboard editing instruction, enter the keyboard layout editing mode;
    根据布局选择指令,获取所选的键盘布局;Obtain the selected keyboard layout according to the layout selection instruction;
    解析编辑操作,获取所要编辑的按键与键盘位置的信息;Parsing the editing operation to obtain information about the key to be edited and the position of the keyboard;
    建立并保存所述按键与所述键盘位置的映射关系;Establishing and saving a mapping relationship between the button and the keyboard position;
    显示编辑后的键盘。The edited keyboard is displayed.
  2. 如权利要求1所述的自定义键盘的布局方法,其中,所述根据布局选择指令,获取所选的键盘布局,包括:The method for laying out a customized keyboard according to claim 1, wherein the obtaining the selected keyboard layout according to the layout selection instruction comprises:
    当选择自定义键盘布局时,根据选定区域作为键盘编辑区域;When a custom keyboard layout is selected, the selected area is used as the keyboard editing area;
    当选择预先设定的键盘布局时,将所选的布局作为键盘编辑区域。When a preset keyboard layout is selected, the selected layout is used as a keyboard editing area.
  3. 如权利要求2所述的自定义键盘的布局方法,其中,所述预先设定的键盘布局包括九宫格布局、矩形全键盘布局、扇形九宫格布局以及扇形全键盘布局中任一种或者多种。The method for laying out a customized keyboard according to claim 2, wherein the preset keyboard layout comprises any one or more of a nine-square grid layout, a rectangular full keyboard layout, a fan-shaped nine-square grid layout, and a sector-shaped full keyboard layout.
  4. 如权利要求1所述的自定义键盘的布局方法,其中,所述编辑操作,包括:从常用按键列表中选取按键,并将添加至选定的键盘位置中;以及,将选定的键盘位置中的按键进行删除。The method for laying out a customized keyboard according to claim 1, wherein said editing operation comprises: selecting a button from a list of commonly used keys, and adding to the selected keyboard position; and, selecting the selected keyboard position The button in the button is deleted.
  5. 如权利要求1所述的自定义键盘的布局方法,其中,所述方法还包括:The method for laying out a customized keyboard according to claim 1, wherein the method further comprises:
    根据手势或者按键指令,调整所述键盘的位置以及大小。Adjust the position and size of the keyboard according to gestures or key commands.
  6. 如权利要求1所述的自定义键盘的布局方法,其中,所述方法还包括:The method for laying out a customized keyboard according to claim 1, wherein the method further comprises:
    根据操作模式指令,调整所述键盘为左手、右手或者双手操作模式。The keyboard is adjusted to be a left-hand, right-hand or two-hand mode of operation according to an operational mode command.
  7. 一种自定义键盘的布局装置,包括:A layout device for a custom keyboard, comprising:
    进入模块,设置为根据键盘编辑指令,进入键盘布局编辑模式; Enter the module, set to enter the keyboard layout editing mode according to the keyboard editing instructions;
    获取模块,设置为根据布局选择指令,获取所选的键盘布局;Obtaining a module, configured to obtain a selected keyboard layout according to a layout selection instruction;
    解析模块,设置为解析编辑操作,获取所要编辑的按键与键盘位置的信息;The parsing module is configured to parse the editing operation, and obtain information about the key to be edited and the position of the keyboard;
    映射模块,设置为建立并保存所述按键与所述键盘位置的映射关系;a mapping module, configured to establish and save a mapping relationship between the button and the keyboard position;
    显示模块,设置为显示编辑后的键盘。Display module, set to display the edited keyboard.
  8. 如权利要求7所述的自定义键盘的布局装置,其中,所述获取模块具体设置为,当选择自定义键盘布局时,根据选定区域作为键盘编辑区域;当选择预先设定的键盘布局时,将所选的布局作为键盘编辑区域。The layout device of the custom keyboard according to claim 7, wherein the obtaining module is specifically configured to: when selecting a custom keyboard layout, according to the selected area as a keyboard editing area; when selecting a preset keyboard layout , the selected layout is used as the keyboard editing area.
  9. 如权利要求8所述的自定义键盘的布局装置,其中,所述获取模块预先设定的键盘布局:包括九宫格布局、矩形全键盘布局、扇形九宫格布局以及扇形全键盘布局中任一种或者多种。The layout device of the customized keyboard according to claim 8, wherein the acquisition module presets a keyboard layout, including any one or more of a nine-square grid layout, a rectangular full keyboard layout, a fan-shaped nine-square grid layout, and a fan-shaped full keyboard layout. Kind.
  10. 如权利要求7所述的自定义键盘的布局装置,其中,所述解析模块解析编辑操作,包括:从常用按键列表中选取按键,并将添加至选定的键盘位置中;以及,将选定的键盘位置中的按键进行删除。The layout device of the custom keyboard of claim 7, wherein the parsing module parses the editing operation, comprising: selecting a button from a list of commonly used keys, and adding to the selected keyboard position; and, selecting The keys in the keyboard position are deleted.
  11. 如权利要求7所述的自定义键盘的布局装置,其中,所述装置还包括布局调整模块,设置为根据手势或者按键指令,调整所述键盘的位置以及大小。A layout device for a custom keyboard according to claim 7, wherein said device further comprises a layout adjustment module arranged to adjust the position and size of said keyboard in accordance with gestures or key commands.
  12. 如权利要求7所述的自定义键盘的布局装置,其中,所述装置还包括模式调整模块,设置为根据操作模式指令,调整所述键盘为左手、右手或者双手操作模式。A layout apparatus for a custom keyboard according to claim 7, wherein said apparatus further comprises a mode adjustment module configured to adjust said keyboard to be a left-hand, right-hand or two-hand operation mode in accordance with an operation mode command.
  13. 一种计算机存储介质,设置为存储用于执行如权利要求1至6中任一项所述的自定义键盘的布局方法的计算机程序。 A computer storage medium arranged to store a computer program for performing a layout method of a custom keyboard according to any one of claims 1 to 6.
PCT/CN2016/107730 2016-01-28 2016-11-29 Method and device for customizing keyboard layout WO2017128849A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610058108.5 2016-01-28
CN201610058108.5A CN107015748A (en) 2016-01-28 2016-01-28 The layout method and device of a kind of customizing keyboard

Publications (1)

Publication Number Publication Date
WO2017128849A1 true WO2017128849A1 (en) 2017-08-03

Family

ID=59397380

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/107730 WO2017128849A1 (en) 2016-01-28 2016-11-29 Method and device for customizing keyboard layout

Country Status (2)

Country Link
CN (1) CN107015748A (en)
WO (1) WO2017128849A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897466A (en) * 2018-05-25 2018-11-27 北京小米移动软件有限公司 Input method panel method of adjustment, device, equipment and storage medium
CN110850999A (en) * 2019-11-12 2020-02-28 珠海市学思电子科技有限公司 Keyboard key value setting method, computer device and computer readable storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451099A (en) * 2017-11-29 2019-03-08 张博飞 Mobile phone human body engineering input mode
CN110502124A (en) * 2019-08-27 2019-11-26 无锡睿勤科技有限公司 A kind of keyboard display method, keyboard-display unit, terminal device and storage medium
CN110941351A (en) * 2019-11-20 2020-03-31 四川虹美智能科技有限公司 Method and device for self-defining soft keyboard, readable medium and storage controller
CN111459297A (en) * 2020-03-27 2020-07-28 北京金山云网络技术有限公司 Chinese character input method, Chinese character input keyboard, device and electronic equipment
EP4177728A4 (en) 2020-10-15 2023-12-13 Samsung Electronics Co., Ltd. Electronic device and method for operating keypad of electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6114978A (en) * 1998-01-14 2000-09-05 Lucent Technologies Inc. Method and apparatus for assignment of shortcut key combinations in a computer software application
CN101021750A (en) * 2007-03-14 2007-08-22 浪潮齐鲁软件产业有限公司 Method of self-defining keyboard
CN103309589A (en) * 2012-03-06 2013-09-18 汉王科技股份有限公司 Custom keyboard key arrangement method and device
CN103513896A (en) * 2012-06-20 2014-01-15 Tcl集团股份有限公司 Method and system for customizing virtual keyboard of electronic terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6114978A (en) * 1998-01-14 2000-09-05 Lucent Technologies Inc. Method and apparatus for assignment of shortcut key combinations in a computer software application
CN101021750A (en) * 2007-03-14 2007-08-22 浪潮齐鲁软件产业有限公司 Method of self-defining keyboard
CN103309589A (en) * 2012-03-06 2013-09-18 汉王科技股份有限公司 Custom keyboard key arrangement method and device
CN103513896A (en) * 2012-06-20 2014-01-15 Tcl集团股份有限公司 Method and system for customizing virtual keyboard of electronic terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897466A (en) * 2018-05-25 2018-11-27 北京小米移动软件有限公司 Input method panel method of adjustment, device, equipment and storage medium
CN108897466B (en) * 2018-05-25 2020-11-27 北京小米移动软件有限公司 Input method panel adjusting method, device, equipment and storage medium
CN110850999A (en) * 2019-11-12 2020-02-28 珠海市学思电子科技有限公司 Keyboard key value setting method, computer device and computer readable storage medium
CN110850999B (en) * 2019-11-12 2024-01-05 珠海市学思电子科技有限公司 Keyboard key value setting method, computer device and computer readable storage medium

Also Published As

Publication number Publication date
CN107015748A (en) 2017-08-04

Similar Documents

Publication Publication Date Title
WO2017128849A1 (en) Method and device for customizing keyboard layout
CN103186369B (en) The layout method and device of virtual key in terminal
EP3002664B1 (en) Text processing method and touchscreen device
JP5624123B2 (en) Keyboard for portable computing device
KR101778045B1 (en) Method for controlling screen using mobile terminal
CN104156166B (en) Operational controls layout adjustment method and device
CN111050203B (en) Video processing method and device, video processing equipment and storage medium
CN102750105B (en) Terminal and the management method of touch trajectory
US20130120447A1 (en) Mobile device for executing multiple applications and method thereof
EP2538314A1 (en) Method, apparatus, and terminal device for generating soft keyboard
KR102207443B1 (en) Method for providing graphic user interface and apparatus for the same
CN105683894A (en) Application execution method by display device and display device thereof
WO2012155479A1 (en) Touch screen keyboard regulating method, device and terminal
CN109445657A (en) Document edit method and device
CN105144066A (en) Method for adjusting display area and electronic device thereof
KR20100037945A (en) Touch input device of portable device and operating method using the same
CN111443863A (en) Page control method and device, storage medium and terminal
CN110275665A (en) A kind of operating method of touch panel, electronic equipment and storage medium
CN101359274B (en) Method and apparatus for rapidly positioning objects
WO2013182089A1 (en) Object suspension realizing method and device
WO2023072061A1 (en) Icon display control method and apparatus, electronic device, and storage medium
CN108920070A (en) Split screen method, apparatus, storage medium and mobile terminal based on special-shaped display screen
CN106896982A (en) A kind of mobile terminal virtual key method to set up and system
WO2023274067A1 (en) Icon generation method and apparatus, electronic device, and readable storage medium
CN109101312A (en) Application interface edit methods, device, storage medium and mobile terminal

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

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

Country of ref document: EP

Kind code of ref document: A1