WO2012155552A1 - 终端上的虚拟按键的布局方法和装置 - Google Patents

终端上的虚拟按键的布局方法和装置 Download PDF

Info

Publication number
WO2012155552A1
WO2012155552A1 PCT/CN2012/071140 CN2012071140W WO2012155552A1 WO 2012155552 A1 WO2012155552 A1 WO 2012155552A1 CN 2012071140 W CN2012071140 W CN 2012071140W WO 2012155552 A1 WO2012155552 A1 WO 2012155552A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual button
virtual
terminal
button
layout file
Prior art date
Application number
PCT/CN2012/071140
Other languages
English (en)
French (fr)
Inventor
杜宏伟
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012155552A1 publication Critical patent/WO2012155552A1/zh

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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for laying out virtual keys on a terminal.
  • the key layout of a mobile terminal such as a mobile phone has been fixed from the standard keyboard at the beginning to the full keyboard at a later time, so that the user cannot be targeted according to the needs of the application operation and his own usage habits. Edit the key operation layout you need.
  • touch screen mobile phones provides a certain degree of flexibility and convenience for users' operations, the touch method also limits the promotion of many applications.
  • the key layout of mobile terminals such as mobile phones has become a limitation to improve user experience and increase business. An important factor in promotion.
  • the prior patent documents include: Chinese Patent Application No. CN201010258935.1, "A Method and Apparatus for Customizing a Game Button of a Mobile Terminal", which applies a key of each function key on a mobile terminal according to the operation of the game.
  • the present invention provides a method and apparatus for laying out virtual keys on a terminal, so as to at least solve the problem in the prior art that it is easy to cause an erroneous operation when the application is operated because the shape and size of the keys cannot be adjusted.
  • a method for laying a virtual button on a terminal including: the terminal configuring a virtual button layout file for the application according to the received user instruction; and displaying, by the terminal, the virtual button layout file when the application is launched Virtual Key.
  • the step of configuring the virtual button layout file for the application according to the received user instruction comprises: the terminal displaying the virtual button configuration information in response to the received configuration triggering instruction, wherein the virtual button configuration information comprises: a virtual button shape, a virtual The display position of the button, the key value of the virtual button, and the indication information for indicating whether the virtual button needs to be displayed; the terminal records the shape of the virtual button corresponding to the configuration selection instruction in the virtual button layout file in response to the received configuration selection instruction, and virtual The display position of the button, the mapping relationship between the key values of the virtual button, and the indication information for indicating whether the virtual button needs to be displayed.
  • the virtual button configuration information comprises: a virtual button shape, a virtual The display position of the button, the key value of the virtual button, and the indication information for indicating whether the virtual button needs to be displayed
  • the terminal records the shape of the virtual button corresponding to the configuration selection instruction in the virtual button layout file in response to the received configuration selection instruction, and virtual The display position of the button, the mapping relationship between the key values
  • the step of displaying the virtual button according to the virtual button layout file when the terminal launches the application comprises: displaying, by the terminal, the button shape of the virtual button to be displayed in the virtual button layout file on the display position of the virtual button configured in the virtual button layout file .
  • the layout method of the virtual button on the terminal further includes: the terminal responding to the received button triggering instruction according to the display position of the virtual button in the virtual button layout file.
  • the shape of the virtual button searches for a key value of the virtual button corresponding to the button trigger instruction; the terminal performs an operation corresponding to the found key value.
  • the step of displaying the virtual button according to the virtual button layout file when the terminal starts the application comprises: when the terminal starts the application, determining whether the virtual button layout file needs to be loaded; when determining that the virtual button layout file needs to be loaded, the terminal determines Whether a virtual button layout file that can be loaded is stored; if yes, the terminal displays a loading selection interface of the virtual button layout file; the terminal loads the virtual button layout file in response to the received loading instruction on the loading selection interface; the terminal is loaded according to the virtual The button layout file displays virtual buttons.
  • the step of loading, by the terminal, the virtual button layout file in response to the received loading instruction on the loading selection interface comprises: if a plurality of virtual button layout files are displayed on the loading selection interface, the terminal receives a selection instruction of the virtual button layout file; A virtual button layout file corresponding to the selection instruction.
  • a layout device for a virtual button on a terminal comprising: a configuration unit configured to configure a virtual button layout file for an application according to the received user instruction; and the display unit is set to be activated The virtual key is displayed according to the virtual button layout file when the application is used.
  • the configuration unit comprises: a first display module, configured to display virtual button configuration information in response to the received configuration triggering instruction, wherein the virtual button configuration information comprises: a shape of the virtual button, a display position of the virtual button, and a key of the virtual button Value, and indication information indicating whether the virtual key needs to be displayed; a module, configured to record, in a virtual button layout file, a shape of a virtual button corresponding to the configuration selection instruction, a display position of the virtual button, a key value of the virtual button, and a virtual display button in response to the received configuration selection instruction Indicates whether the button needs to be displayed.
  • the layout device of the virtual button on the terminal further includes: a searching unit configured to: in response to the received button triggering instruction, search for a virtual corresponding to the button triggering instruction according to the display position of the virtual button in the virtual button layout file and the shape of the virtual button The key value of the button; the execution unit, set to perform the operation corresponding to the found key value.
  • a searching unit configured to: in response to the received button triggering instruction, search for a virtual corresponding to the button triggering instruction according to the display position of the virtual button in the virtual button layout file and the shape of the virtual button The key value of the button; the execution unit, set to perform the operation corresponding to the found key value.
  • the display unit comprises: a first determining module, configured to determine whether the virtual button layout file needs to be loaded when the application is started; and a second determining module, configured to determine whether the virtual button layout file needs to be loaded when determining whether the virtual button layout file needs to be loaded Storing a loadable virtual button layout file; the third display module is configured to display a load selection interface of the virtual key layout file when it is determined that the loadable virtual key layout file is stored; loading the module, setting the load selection interface The virtual button layout file is loaded in response to the received loading instruction; the fourth display module is configured to display the virtual button according to the loaded virtual button layout file.
  • the loading module comprises: a receiving submodule, configured to receive a selection instruction of the virtual button layout file when displaying the plurality of virtual button layout files on the loading selection interface; and loading the submodule, configured to load the virtual button corresponding to the selection instruction Layout file.
  • the terminal configures a virtual key layout file for the application according to the received user instruction, and the terminal displays the virtual keyboard according to the generated key component layout when the application is started, and the configuration of the key layout file can be implemented according to different
  • the application needs to configure the layout of different buttons, thereby solving the technical problem in the prior art that the operation and the size of the button cannot be adjusted, which is easy to cause misoperation when the application is operated, thereby improving the pair.
  • FIG. 1 is a block diagram showing a preferred configuration of a virtual button layout device on a terminal according to an embodiment of the present invention
  • FIG. 2 is another schematic diagram of a virtual button layout device on a terminal according to an embodiment of the present invention
  • Preferred structural block diagram is a block diagram of still another preferred structure of a virtual button layout device on a terminal according to an embodiment of the present invention
  • FIG. 4 is a block diagram showing still another preferred structure of a virtual button layout device on a terminal according to an embodiment of the present invention
  • 5 is a block diagram of still another preferred structure of a virtual button layout device on a terminal according to an embodiment of the present invention
  • FIG. 6 is a preferred flowchart of a method for laying a virtual button on a terminal according to an embodiment of the present invention
  • 7 is another preferred flowchart of a method for laying out a virtual button on a terminal according to an embodiment of the present invention
  • FIG. 8 is a preferred schematic diagram of a button layout setting interface according to an embodiment of the present invention
  • FIG. 9 is an implementation according to the present invention.
  • Another preferred schematic diagram of a key layout setting interface of an example FIG. 10 is still another preferred flowchart of a method for laying out virtual keys on a terminal according to an embodiment of the present invention
  • FIG. 11 is an application according to an embodiment of the present invention.
  • a preferred schematic of the operator interface is a preferred flowchart of a method for laying a virtual button on a terminal according to an embodiment of the present invention.
  • Embodiment 1 As shown in FIG. 1 , the present invention provides a preferred layout device for a virtual button on a terminal, the device comprising: a configuration unit 102 configured to configure a virtual button layout file for an application according to the received user instruction.
  • the display unit 104 coupled to the configuration unit 102, is configured to display the virtual keys according to the virtual key layout file when the application is launched.
  • the terminal configures a virtual key layout file for the application according to the received user instruction, and the terminal displays the virtual keyboard according to the generated key component layout when the application is started, and the configuration of the key layout file can be implemented according to the configuration.
  • Different application requirements configure the layout of different buttons, thereby solving the problem in the prior art that the application cannot be manipulated due to the inability to adjust the shape and size of the keys.
  • it is easy to cause technical problems of misoperation thereby improving the accuracy of the operation of the application, expanding the types of services that the terminal can support, and improving the flexibility of the application of the mobile terminal.
  • the configuration unit 102 includes: a first display module 202 configured to display a virtual button in response to the received configuration trigger command Configuration information, where the virtual button configuration information includes: a shape of the virtual button, a display position of the virtual button, and a key value of the virtual button, and indication information indicating whether the virtual button needs to be displayed; the recording module 204, and the first display module 202, configured to record, in response to the received configuration selection instruction, a mapping relationship between a virtual button shape corresponding to the configuration selection instruction, a display position of the virtual button, and a key value of the virtual button in the virtual button layout file, and configured to indicate Whether the virtual button needs to be displayed.
  • the operation needs of different applications and the adjustment and setting of the button layout based on the button size, shape, and position before the application is started, and whether the button is hidden or not is also set, so that after the application is started, It can be displayed and operated according to the new button layout.
  • the method adjusts the position, size and shape of the button to make the user's operation more convenient, meets the needs of different users, and improves the user's individual needs.
  • the screen display area Size and location hiding the keys that are not needed during the application operation, making the human-computer interaction interface of the mobile phone more concise and clear.
  • the button layout technology can also increase the types of applications that the current mobile terminal can support, and expand the value-added services of the terminal. Use range.
  • the present invention also improves the manner in which the display unit 104 displays virtual keys.
  • the display unit 104 is further configured to display the virtual key layout file on the display position of the virtual keys configured in the virtual key layout file.
  • the terminal performs the display of the virtual keyboard according to the size of the button obtained after the configuration, so that the button size is more in line with the application requirements, and the probability of occurrence of erroneous operation is reduced.
  • the layout device of the virtual button on the terminal further includes: a searching unit 302, configured to respond to the received button triggering instruction according to the display position of the virtual button in the virtual button layout file.
  • the shape of the virtual button searches for a key value of the virtual button corresponding to the button triggering instruction;
  • the executing unit 304 is coupled to the searching unit 302 and configured to perform an operation corresponding to the found key value.
  • the operation of the button is determined based on the key value of the button, thereby realizing a custom operation of the button.
  • the display unit 102 includes: a first determining module 402, configured to determine whether a virtual button layout file needs to be loaded when the application is launched; the second determining module 404, The first determining module 402 is configured to be configured to determine whether a loadable virtual key layout file has been stored when it is determined that the virtual key layout file needs to be loaded.
  • the third display module 406 is coupled to the second determining module 404 and configured to be Displaying a virtual key layout file when it is determined that a loadable virtual key layout file has been stored
  • the loading module 408 is coupled to the third display module 406, and configured to load the virtual button layout file in response to the received loading instruction on the loading selection interface.
  • the fourth display module 410 is coupled to the loading module 408 and configured to be The virtual button is displayed according to the loaded virtual button layout file.
  • the loading module 404 includes: a receiving submodule 502, configured to display a plurality of virtual button layout files on the loading selection interface. And receiving a selection instruction of the virtual button layout file; the loading submodule 504 is coupled to the receiving submodule 502, and configured to load the virtual button layout file corresponding to the selection instruction.
  • the present invention further provides a preferred method for laying out a virtual button on the terminal. As shown in FIG. 6, the method includes the steps. S602 to step S604:
  • S602 The terminal configures a virtual button layout file for the application according to the received user instruction.
  • S604 The terminal displays the virtual button according to the virtual button layout file when the application is started.
  • the terminal configures a virtual key layout file for the application according to the received user instruction, and the terminal displays the virtual keyboard according to the generated key component layout when the application is started, and the configuration of the key layout file can be implemented according to the configuration.
  • the requirements of different applications are configured with different key layouts, thereby solving the technical problem in the prior art that it is easy to cause misoperation when operating the application due to the inability to adjust the shape and size of the keys, thereby improving The accuracy of the operation of the application, the types of services that the terminal can support, and the flexibility of the mobile terminal application.
  • the terminal displays the virtual button configuration information in response to the received configuration trigger command, wherein the virtual button configuration information includes: a virtual button shape, a virtual button The display position, the key value of the virtual key, and the indication information set to indicate whether the virtual key needs to be displayed; the terminal records the shape of the virtual key corresponding to the configuration selection instruction, the virtual key in the virtual key layout file in response to the received configuration selection instruction The display position, the mapping relationship between the key values of the virtual keys, and the indication information for indicating whether the virtual keys need to be displayed.
  • the operation needs for different applications and the adjustment and setting of the button layout based on the button size, shape, position before the application is started, so that the display and operation can be performed according to the new button layout after the application is started.
  • the method makes the user's operation on the application more by adjusting the position, size and shape of the button. Adding convenience, meeting the needs of different user operations, improving the user's individual needs; on the other hand, by adjusting the size and position of the screen display area, hiding the keys that are not needed during the application operation, making the mobile phone's human-computer interaction interface more Concise and clear, in addition, through the button layout technology can also increase the types of applications that the current mobile terminal can support, and expand the use range of terminal value-added services.
  • the terminal displays the button shape of the virtual button to be displayed in the virtual button layout file on the display position of the virtual button configured in the virtual button layout file.
  • the terminal performs the display of the virtual keyboard according to the size of the button obtained after the configuration, so that the button size is more in line with the application requirements, and the probability of occurrence of erroneous operation is reduced.
  • the layout method of the virtual button on the terminal further includes: the terminal responding to the received button trigger instruction in the virtual button layout file.
  • the middle search and key trigger command searches for the key value of the virtual key corresponding to the key trigger instruction according to the display position of the virtual key in the virtual key layout file and the shape of the virtual key; the terminal performs an operation corresponding to the found key value.
  • the operation of the button is determined based on the key value of the button, thereby realizing a custom operation of the button.
  • the step of displaying the virtual button according to the virtual button layout file when the terminal starts the application includes: when the terminal starts the application, determining whether the virtual button layout file needs to be loaded; when determining that the virtual button needs to be loaded When the file is laid out, the terminal determines whether a loadable virtual key layout file has been stored; if yes, the terminal displays a load selection interface of the virtual key layout file; the terminal loads the virtual key layout file in response to the received loading instruction on the load selection interface. The terminal displays the virtual button according to the loaded virtual button layout file.
  • the virtual keyboard is displayed by loading the button layout file, thereby reducing misoperation of the application and improving the scalability of the terminal to the application.
  • the step of loading the virtual key layout file by the terminal in response to the received loading instruction on the loading selection interface comprises: displaying multiple virtualities on the loading selection interface
  • the button layout file the terminal receives the selection instruction of the virtual button layout file; the terminal loads the virtual button layout file corresponding to the selection instruction.
  • selection can be made based on a plurality of layout files, thereby improving the adaptability and flexibility of the present invention.
  • the invention is further described in the preferred embodiments of the invention, but it is to be understood that the preferred embodiments are not intended to limit the invention.
  • the method for implementing the mobile terminal button layout of the present invention may include the following steps S1 to S8: SI: Add the "Key Layout Settings” module to the terminal.
  • the "Key Layout Settings” module includes two functions: “Key Layout Switch” and "New Button Layout”.
  • the button attributes of the terminal may include, but are not limited to, at least one of the following: a shape of the button, a position of the button on the screen, a key value corresponding to the button, and whether the button is hidden or not.
  • S4 The user adjusts the display area and position on the terminal screen after the application is loaded in the button layout setting interface.
  • S5 The user can adjust the size of the button in the application operation, change the shape of the button in the button layout setting interface, modify the hidden attribute of the button, and hide the button that is not used in the application operation after the application is loaded.
  • step S7 During the startup process of the application, the mobile terminal determines whether the button layout switch is turned on. If the process is turned on, step S8 is performed. If the switch is not turned on, the application is directly started to end the process.
  • buttons S8 After the user selects to load the button layout file, set the display area and interface layout after the application is loaded. After the button layout file is loaded, the application will be displayed in the adjusted display area after the application is started, and the button layout interface of the terminal is displayed. Will be displayed according to the adjusted properties. Thereafter, in the operation of the application, when the user clicks on a certain point on the screen, the mobile terminal determines the key value pressed by the current user according to the touch area and the key mapping relationship saved in the terminal flash.
  • the implementation process of the button layout setting of the mobile terminal of the present invention is as shown in FIG. 7, and includes steps S702 to S708:
  • the mobile terminal Before the user starts the application, first needs to open the button layout setting function.
  • the mobile terminal has a button layout switch setting function.
  • the mobile terminal may add a button layout switch in the button layout setting module. This button layout switch is used to enable or disable the button layout settings.
  • the switch of the button layout is set to The form of the file is saved in the flash of the mobile terminal.
  • the mobile terminal determines whether the button layout file needs to be loaded by determining whether the current button layout switch is open.
  • step S704 The user determines whether it is necessary to create a new button layout file according to the operation requirement of the startup application. If the user has newly created a keyboard configuration file that meets the requirements in the previous use process, or the terminal has been stored, the user can satisfy the requirement. If the button layout file is required to start the application operation, the button layout file is no longer needed to be reset, and the button layout setting module may be selected to exit, and step S708 is performed; otherwise, step S706 is performed instead.
  • S706 The user activates the button layout setting function, and after the application is loaded, performs setting on the position information, the shape and size of the button required in the application operation, and the position of the button on the display area on the screen. After the setting is completed, the button is pressed.
  • the layout information is saved in the form of a configuration file to a specific directory in the flash of the mobile phone.
  • the step requires the mobile terminal to have a button layout setting function. As shown in FIG. 9, the mobile terminal may add a new button layout item in the button layout setting module to implement the button layout setting function. This function allows the user to set the display area and coordinate position on the screen after the application is launched.
  • the shape of the mobile phone button can be edited according to the user's usage habits, and the size and position of the mobile phone button can be adjusted.
  • the current button layout can be saved in the form of a file, so this step also requires the mobile terminal to have the function of saving the button layout information.
  • the user displays the display area and location of the application, and the attribute information such as the shape and size of the button is saved in the form of a configuration file.
  • the mobile terminal can save the button layout information in the form of a file to the flash of the mobile terminal. Under a specific path. At this point, the button layout setting of the mobile terminal is completed.
  • S708 The button layout setting is completed.
  • the loading process of the button layout file of the mobile terminal of the present invention is shown in FIG. 10, and the specific steps include:
  • S1002 The user starts an application to be operated.
  • step S1004 During the application startup process, the mobile terminal determines whether the application startup process needs to load the button layout configuration file by reading the current button layout switch. If the button layout switch is in the open state, step S1008 is performed, otherwise step S1006 is performed. .
  • the mobile terminal starts the application according to the default mode.
  • the default mode is that the mobile terminal does not need to load any button layout file during the process of starting the application, and the display area and operation mode of the application are performed according to the default manner of the mobile terminal.
  • S1008 The mobile terminal determines whether a button layout file has been saved by enumerating a specific directory saved by the button layout file, and if yes, executing step S1010; otherwise, executing step S1012.
  • S1010 The system starts a new button layout function. This step is similar to step S706 in the button layout setting process. The user edits the new button layout interface and saves it in a configuration file to a specific directory in the flash of the mobile terminal.
  • S1012 The system pops up the button layout file loading prompt box, prompting the user to load the created key layout file.
  • the mobile terminal can enumerate the specific directory saved by the button layout file, and then pop up a prompt box to prompt the user to select a file to be loaded from the existing button layout file.
  • FIG. 11 is a schematic diagram of an implementation of an application operation interface edited by a user, which is only a schematic description of the present invention. In an actual application, different edits may be made according to different applications running on the mobile terminal.
  • Button layout file The button layout shown in FIG. 11 is similar to the operation interface of the PSP.
  • the user adjusts the display area of the original mobile terminal screen during the key layout editing process, and moves the position of the display area, and at the same time, for the convenience of operation.
  • the button position of the mobile terminal is moved, and the shape of the button is also adjusted according to the user's usage habits.
  • the method ensures the simplicity and clarity of the application operation interface, and also makes the user's operation more convenient, and reduces the error rate of the application operation; in addition, the method provides the user with sufficient personalization.
  • Opportunity so that users can reasonably arrange the button layout of the application interface according to their own hobbies;
  • the types of applications that the mobile phone can run can be expanded to meet the needs of more users and the expansion of the application. .
  • S1016 The application ends and the application is exited.
  • the purpose of the present invention is to provide a freely editable key layout implementation method for a mobile terminal such as a mobile phone, which enables the user to follow the operation process.
  • the application needs to reasonably arrange the screen display area, the shape, size, and position of the buttons.
  • the method makes the human-computer interaction interface of the terminal more compact and clear, and also facilitates the user's operation on the application, greatly expands the types of services that mobile terminals such as mobile phones can support, and improves the mobile terminal.
  • Application flexibility In addition, the method also provides users with a full personalization opportunity, so that users can reasonably arrange the button layout of the application operation interface according to their own preferences.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed 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 steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
  • the above 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.

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

本发明公开了一种终端上的虚拟按键的布局方法和装置,其中,该方法包括:终端根据接收到的用户指令为应用程序配置虚拟按键布局文件;终端在启动应用程序时根据虚拟按键布局文件显示虚拟按键。本发明解决了现有技术中由于无法对按键的形状和大小进行调整而导致在对应用程序进行操作的时候容易产生误操作的技术问题,进而提高了对应用程序进行操作的准确性,扩展终端所能支持的业务类型,提高了移动终端应用的灵活性。

Description

终端上的虚拟按键的布局方法和装置 技术领域 本发明涉及通信领域, 具体而言,涉及一种终端上的虚拟按键的布局方法和装置。 背景技术 随着通讯技术以及多媒体技术的发展, 手机等移动终端的处理能力日益增强, 所 能提供的功能也不断增加。 目前, 手机等移动终端的功能已远远超出了简单的语音通 讯范畴。娱乐话、 网络化、智能化以及个性化已成为目前手机等移动终端的发展趋势。 手机等移动终端从诞生到现在的短短几十年时间中, 其功能发生了很大的变化, 但是手机等移动终端的按键布局却从开始到现在基本上没有发生太大的改变。 手机等 移动终端的按键布局从刚开始的标准键盘到后来的全键盘, 其按键的布局方式一直是 固定不变的, 这使得用户无法根据应用操作的需要和自己的使用习惯来有针对性地编 辑自己需要的按键操作布局。 虽然目前触摸屏手机的出现为用户的操作提供了一定程 度的灵活性和便利性, 但其触摸方式也限制了很多应用的推广, 手机等移动终端的按 键布局方式已成为限制提高用户体验和增加业务推广的一个重要的因素。 现有的专利文献包括: 专利申请号为 CN201010258935.1的中国专利申请"一种移 动终端自定义游戏按键的方法和装置",该专利申请根据游戏的操作需要将移动终端上 各功能键的键值在游戏启动前进行不同的映射,一定程度上方便了用户对游戏的操作。 但其仍存在以下的不足: 该专利所提到的技术只是对各功能键的键值在不同按键之间进行映射, 无法完成 对终端的按键形状、 大小进行调整, 手机的按键布局没有发生根本的改变, 从而在对 某些应用进行操作的时候, 可能会由于按键的大小或者形状的不合适而产生误操作, 也限制了应用在终端上的推广。 针对上述的问题, 目前尚未提出有效的解决方案。 发明内容 本发明提供了一种终端上的虚拟按键的布局方法和装置, 以至少解决现有技术中 由于无法对按键的形状和大小进行调整而导致在对应用程序进行操作的时候容易产生 误操作的技术问题。 根据本发明的一个方面, 提供了一种终端上的虚拟按键的布局方法, 包括: 终端 根据接收到的用户指令为应用程序配置虚拟按键布局文件; 终端在启动应用程序时根 据虚拟按键布局文件显示虚拟按键。 优选地, 终端根据接收到的用户指令为应用程序配置虚拟按键布局文件的步骤包 括: 终端响应接收到的配置触发指令显示虚拟按键配置信息, 其中, 虚拟按键配置信 息包括: 虚拟按键的形状、 虚拟按键的显示位置、 虚拟按键的键值以及用于指示虚拟 按键是否需要显示的指示信息; 终端响应接收到的配置选择指令在虚拟按键布局文件 中记录与配置选择指令对应的虚拟按键的形状、 虚拟按键的显示位置、 虚拟按键的键 值之间的映射关系以及用于指示虚拟按键是否需要显示的指示信息。 优选地,终端在启动应用程序时根据虚拟按键布局文件显示虚拟按键的步骤包括: 终端在虚拟按键布局文件中配置的虚拟按键的显示位置上显示虚拟按键布局文件中需 要显示的虚拟按键的按键形状。 优选地, 在终端在启动应用程序时根据虚拟按键布局文件显示虚拟按键之后, 终 端上的虚拟按键的布局方法还包括: 终端响应接收到的按键触发指令根据虚拟按键布 局文件中虚拟按键的显示位置、 虚拟按键的形状查找与按键触发指令对应的虚拟按键 的键值; 终端执行与查找到的键值对应的操作。 优选地,终端在启动应用程序时根据虚拟按键布局文件显示虚拟按键的步骤包括: 终端在启动应用程序时, 判断是否需要加载虚拟按键布局文件; 当判断出需要加载虚 拟按键布局文件时, 终端判断是否已存储有可加载的虚拟按键布局文件; 若有, 则终 端显示虚拟按键布局文件的加载选择界面; 终端在加载选择界面上响应接收到的加载 指令加载虚拟按键布局文件; 终端根据加载的虚拟按键布局文件显示虚拟按键。 优选地, 终端在加载选择界面上响应接收到的加载指令加载虚拟按键布局文件的 步骤包括: 若加载选择界面上显示多个虚拟按键布局文件, 则终端接收虚拟按键布局 文件的选择指令; 终端加载与选择指令对应的虚拟按键布局文件。 根据本发明的另一方面, 提供了一种终端上的虚拟按键的布局装置, 包括: 配置 单元, 设置为根据接收到的用户指令为应用程序配置虚拟按键布局文件; 显示单元, 设置为在启动应用程序时根据虚拟按键布局文件显示虚拟按键。 优选地, 配置单元包括: 第一显示模块, 设置为响应接收到的配置触发指令显示 虚拟按键配置信息, 其中, 虚拟按键配置信息包括: 虚拟按键的形状、 虚拟按键的显 示位置以及虚拟按键的键值、 以及用于指示虚拟按键是否需要显示的指示信息; 记录 模块, 设置为响应接收到的配置选择指令在虚拟按键布局文件中记录与配置选择指令 对应的虚拟按键的形状、 虚拟按键的显示位置、 虚拟按键的键值之间的映射关系以及 用于指示虚拟按键是否需要显示的指示信息。 优选地, 终端上的虚拟按键的布局装置还包括: 查找单元, 设置为响应接收到的 按键触发指令根据虚拟按键布局文件中虚拟按键的显示位置、 虚拟按键的形状查找与 按键触发指令对应的虚拟按键的键值; 执行单元, 设置为执行与查找到的键值对应的 操作。 优选地, 显示单元包括: 第一判断模块, 设置为在启动应用程序时, 判断是否需 要加载虚拟按键布局文件; 第二判断模块, 设置为当判断出需要加载虚拟按键布局文 件时, 判断是否已存储有可加载的虚拟按键布局文件; 第三显示模块, 设置为在判断 出已存储有可加载的虚拟按键布局文件时显示虚拟按键布局文件的加载选择界面; 加 载模块, 设置为在加载选择界面上响应接收到的加载指令加载虚拟按键布局文件; 第 四显示模块, 设置为根据加载的虚拟按键布局文件显示虚拟按键。 优选地, 加载模块包括: 接收子模块, 设置为在加载选择界面上显示多个虚拟按 键布局文件时, 接收虚拟按键布局文件的选择指令; 加载子模块, 设置为加载与选择 指令对应的虚拟按键布局文件。 在本发明中, 终端根据接收到的用户指令为应用程序配置虚拟按键布局文件, 终 端在启动应用程序的时候根据生成的按键部件布局显示虚拟键盘, 通过对按键布局文 件的配置可以实现按照不同的应用程序的需求配置不同的按键的布局, 从而解决了现 有技术中由于无法对按键的形状和大小进行调整而导致在对应用程序进行操作的时候 容易产生误操作的技术问题, 进而提高了对应用程序进行操作的准确性, 扩展终端所 能支持的业务类型, 提高了移动终端应用的灵活性。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的终端上的虚拟按键的布局装置的一种优选结构框图; 图 2 是根据本发明实施例的终端上的虚拟按键的布局装置的另一种优选结构框 图; 图 3 是根据本发明实施例的终端上的虚拟按键的布局装置的又一种优选结构框 图; 图 4 是根据本发明实施例的终端上的虚拟按键的布局装置的又一种优选结构框 图; 图 5 是根据本发明实施例的终端上的虚拟按键的布局装置的又一种优选结构框 图; 图 6是根据本发明实施例的终端上的虚拟按键的布局方法的一种优选流程图; 图 7是根据本发明实施例的终端上的虚拟按键的布局方法的另一种优选流程图; 图 8是根据本发明实施例的按键布局设置界面的一种优选示意图; 图 9是根据本发明实施例的按键布局设置界面的另一种优选示意图; 图 10是根据本发明实施例的终端上的虚拟按键的布局方法的又一种优选流程图; 以及 图 11是根据本发明实施例的应用程序操作界面的一种优选示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 实施例 1 如图 1所示, 本发明提供了一种优选的终端上的虚拟按键的布局装置, 该装置包 括: 配置单元 102, 设置为根据接收到的用户指令为应用程序配置虚拟按键布局文件; 显示单元 104, 与配置单元 102耦合, 设置为在启动应用程序时根据虚拟按键布局文 件显示虚拟按键。 在上述优选实施例中, 终端根据接收到的用户指令为应用程序配置虚拟按键布局 文件, 终端在启动应用程序的时候根据生成的按键部件布局显示虚拟键盘, 通过对按 键布局文件的配置可以实现按照不同的应用程序的需求配置不同的按键的布局, 从而 解决了现有技术中由于无法对按键的形状和大小进行调整而导致在对应用程序进行操 作的时候容易产生误操作的技术问题, 进而提高了对应用程序进行操作的准确性, 扩 展终端所能支持的业务类型, 提高了移动终端应用的灵活性。 为了进一步提高虚拟键盘中按键设计的灵活性, 在本发明一个优选实施方式中, 如图 2所示, 配置单元 102包括: 第一显示模块 202, 设置为响应接收到的配置触发 指令显示虚拟按键配置信息, 其中, 虚拟按键配置信息包括: 虚拟按键的形状、 虚拟 按键的显示位置以及虚拟按键的键值、 以及用于指示虚拟按键是否需要显示的指示信 息; 记录模块 204, 与第一显示模块 202耦合, 设置为响应接收到的配置选择指令在 虚拟按键布局文件中记录与配置选择指令对应的虚拟按键的形状、 虚拟按键的显示位 置、虚拟按键的键值之间的映射关系以及用于指示虚拟按键是否需要显示的指示信息。 在上述优选实施方式中, 在应用程序启动之前针对不同应用的操作需要和对按键布局 进行基于按键大小、 形状、 位置的调整和设置, 同时对按键是否隐藏也进行了设置, 使得在应用启动后可以按照新的按键布局来显示和操作。 该方法一方面通过调整按键 的位置、 大小以及形状等属性, 使得用户对应用的操作更加便捷, 满足了不同用户操 作的需要, 提高了用户的个性化需求, 另一方面, 通过调整屏幕显示区域大小和位置, 隐藏应用操作过程中不需要的按键, 使得手机的人机交互界面更加简洁和清晰,此外, 通过按键布局技术还可以增加目前移动终端所能支持的应用类型, 扩展终端增值业务 的使用范围。 本发明还对显示单元 104显示虚拟按键的方式进行了改进, 在本发明一个优选实 施方式中, 显示单元 104还设置为在虚拟按键布局文件中配置的虚拟按键的显示位置 上显示虚拟按键布局文件中配置的虚拟按键的形状。 在上述优选实施方式中, 终端按 照配置后得到的按键的大小进行虚拟键盘的显示, 从而使得按键大小更加符合应用的 需求, 减少了出现误操作的概率。 在本发明一个优选实施方式中, 如图 3所示, 终端上的虚拟按键的布局装置还包 括: 查找单元 302, 设置为响应接收到的按键触发指令根据虚拟按键布局文件中虚拟 按键的显示位置、 虚拟按键的形状查找与按键触发指令对应的虚拟按键的键值; 执行 单元 304, 与查找单元 302耦合, 设置为执行与查找到的键值对应的操作。 在上述优 选实施方式中,根据按键的键值判断对该按键的操作, 从而实现对按键的自定义操作。 在本发明一个优选实施方式中, 如图 4所示, 显示单元 102包括: 第一判断模块 402, 设置为在启动应用程序时, 判断是否需要加载虚拟按键布局文件; 第二判断模块 404, 与第一判断模块 402耦合, 设置为当判断出需要加载虚拟按键布局文件时, 判断 是否已存储有可加载的虚拟按键布局文件; 第三显示模块 406, 与第二判断模块 404 耦合, 设置为在判断出已存储有可加载的虚拟按键布局文件时显示虚拟按键布局文件 的加载选择界面; 加载模块 408, 与第三显示模块 406耦合, 设置为在加载选择界面 上响应接收到的加载指令加载虚拟按键布局文件; 第四显示模块 410, 与加载模块 408 耦合, 设置为根据加载的虚拟按键布局文件显示虚拟按键。 在上述优选实施方式中, 在应用启动时, 通过加载按键布局文件进行虚拟键盘的显示从而减少了对应用的误操 作, 提高终端对应用的扩展性。 为了更好的实现对虚拟键盘的显示,在本发明一个优选实施方式中, 如图 5所示, 加载模块 404包括: 接收子模块 502, 设置为在加载选择界面上显示多个虚拟按键布 局文件时, 接收虚拟按键布局文件的选择指令; 加载子模块 504, 与接收子模块 502 耦合, 设置为加载与选择指令对应的虚拟按键布局文件。 在上述优选实施方式中, 可 以基于多个布局文件进行选择, 从而提高了本发明的适应性和灵活性。 实施例 2 基于图 1-5所示的优选的终端上的虚拟按键的布局装置, 本发明还提供了一种优 选的终端上的虚拟按键的布局方法, 如图 6所示, 该方法包括步骤 S602至步骤 S604:
S602: 终端根据接收到的用户指令为应用程序配置虚拟按键布局文件; S604: 终端在启动应用程序时根据虚拟按键布局文件显示虚拟按键。 在上述优选实施例中, 终端根据接收到的用户指令为应用程序配置虚拟按键布局 文件, 终端在启动应用程序的时候根据生成的按键部件布局显示虚拟键盘, 通过对按 键布局文件的配置可以实现按照不同的应用程序的需求配置不同的按键的布局, 从而 解决了现有技术中由于无法对按键的形状和大小进行调整而导致在对应用程序进行操 作的时候容易产生误操作的技术问题, 进而提高了对应用程序进行操作的准确性, 扩 展终端所能支持的业务类型, 提高了移动终端应用的灵活性。 为了进一步提高虚拟键盘中按键设计的灵活性, 在本发明一个优选实施方式中, 终端响应接收到的配置触发指令显示虚拟按键配置信息, 其中, 虚拟按键配置信息包 括: 虚拟按键的形状、 虚拟按键的显示位置、 虚拟按键的键值以及设置为指示虚拟按 键是否需要显示的指示信息; 终端响应接收到的配置选择指令在虚拟按键布局文件中 记录与配置选择指令对应的虚拟按键的形状、 虚拟按键的显示位置、 虚拟按键的键值 之间的映射关系以及用于指示虚拟按键是否需要显示的指示信息。 在上述优选实施方 式中,在应用程序启动之前针对不同应用的操作需要和对按键布局进行基于按键大小、 形状、 位置的调整和设置, 使得在应用启动后可以按照新的按键布局来显示和操作。 该方法一方面通过调整按键的位置、 大小以及形状等属性, 使得用户对应用的操作更 加便捷, 满足了不同用户操作的需要, 提高了用户的个性化需求; 另一方面, 通过调 整屏幕显示区域大小和位置, 隐藏应用操作过程中不需要的按键, 使得手机的人机交 互界面更加简洁和清晰, 此外, 通过按键布局技术还可以增加目前移动终端所能支持 的应用类型, 扩展终端增值业务的使用范围。 在本发明一个优选实施方式中, 终端在虚拟按键布局文件中配置的虚拟按键的显 示位置上显示虚拟按键布局文件中需要显示的虚拟按键的按键形状。 在上述优选实施 方式中, 终端按照配置后得到的按键的大小进行虚拟键盘的显示, 从而使得按键大小 更加符合应用的需求, 减少了出现误操作的概率。 在本发明一个优选实施方式中, 在终端在启动应用程序时根据虚拟按键布局文件 显示虚拟按键之后, 终端上的虚拟按键的布局方法还包括: 终端响应接收到的按键触 发指令在虚拟按键布局文件中查找与按键触发指令根据虚拟按键布局文件中虚拟按键 的显示位置、 虚拟按键的形状查找与按键触发指令对应的虚拟按键的键值; 终端执行 与查找到的键值对应的操作。 在上述优选实施方式中, 根据按键的键值判断对该按键 的操作, 从而实现对按键的自定义操作。 在本发明一个优选实施方式中, 终端在启动应用程序时根据虚拟按键布局文件显 示虚拟按键的步骤包括: 终端在启动应用程序时, 判断是否需要加载虚拟按键布局文 件; 当判断出需要加载虚拟按键布局文件时, 终端判断是否已存储有可加载的虚拟按 键布局文件; 若有, 则终端显示虚拟按键布局文件的加载选择界面; 终端在加载选择 界面上响应接收到的加载指令加载虚拟按键布局文件; 终端根据加载的虚拟按键布局 文件显示虚拟按键。 在上述优选实施方式中, 在应用启动时, 通过加载按键布局文件 进行虚拟键盘的显示从而减少了对应用的误操作, 提高终端对应用的扩展性。 为了更好的实现对虚拟键盘的显示, 在本发明一个优选实施方式中, 终端在加载 选择界面上响应接收到的加载指令加载虚拟按键布局文件的步骤包括: 若加载选择界 面上显示多个虚拟按键布局文件, 则终端接收虚拟按键布局文件的选择指令; 终端加 载与选择指令对应的虚拟按键布局文件。 在上述优选实施方式中, 可以基于多个布局 文件进行选择, 从而提高了本发明的适应性和灵活性。 实施例 3 本发明提供了一种优选的实施例来进一步对本发明进行解释,但是值得注意的是, 该优选实施例只是为了更好的描述本发明, 并不构成对本发明不当的限定。 采用本发明的移动终端按键布局实现方法的可以包括以下步骤 S1至步骤 S8: SI : 在终端中增加 "按键布局设置"模块, 其中, 该"按键布局设置 "模块包括"按键 布局开关"和"新建按键布局 "两个功能。
S2: 选择"按键布局开关"功能, 打开按键布局设置功能。
S3: 当当前终端没有可用的按键布局文件时, 选择"新建按键布局 "项, 启动终端 的按键布局设置功能。 启动该功能后用户可以看到当前终端上的显示界面区域以及所 有的按键及其属性。 其中终端的按键属性可以包括但不限于以下至少之一: 按键的形 状, 按键在屏幕上的位置, 按键对应的键值以及该按键是否隐藏等属性。
S4: 用户在按键布局设置界面调整应用程序加载后在终端屏幕上的显示区域和位 置。 S5 :用户可以在按键布局设置界面调整应用操作中按键的大小、改变按键的形状, 修改按键的隐藏属性, 即将应用操作中使用不到的按键在应用程序加载后进行隐藏。
S6: 用户完成按键布局设置后, 将当前的按键布局以配置文件的形式保存到移动 终端闪存 (flash) 中的特定目录下, 退出按键布局设置功能。
S7: 在应用程序启动过程中, 移动终端判断按键布局开关是否已打开, 如果打开 执行步骤 S8, 如果开关没有打开, 则直接启动应用结束本流程。
S8: 在用户选择加载按键布局文件后, 设置应用加载后的显示区域和界面布局, 在加载按键布局文件后, 应用启动后将在用户调整后的显示屏区域中显示, 并且终端 的按键布局界面将根据调整后的属性来显示。 此后在应用程序的操作中, 当用户点击 屏幕上的某一点时,移动终端会根据触摸区域以及终端 flash中保存的按键映射关系来 决定当前用户所按的键值。 下面结合附图对上述移动终端按键布局的实施作进一步的详细描述。 本发明的移动终端按键布局设置实现流程如图 7 所示, 包括步骤 S702 至步骤 S708:
S702: 在用户启动应用程序以前, 首先需要打开按键布局设置功能, 优选的, 移 动终端具有按键布局开关设置功能, 如图 8所示, 移动终端可以在按键布局设置模块 中增加按键布局开关,通过该按键布局开关来实现打开或者关闭按键布局设置的功能。 如图 9所示, 用户在按键布局开关界面选择打开或关闭后, 将按键布局的开关设置以 文件的形式保存到移动终端的 flash中, 在应用程序启动过程中, 移动终端通过判断当 前的按键布局开关是否打开来决定是否需要加载按键布局文件。
S704:用户根据本次启动应用的操作需要来判断是否需要新建一个按键布局文件, 如果用户在以前的使用过程中已经为该应用新建了满足要求的键盘配置文件, 或者是 终端已存储有可以满足启动应用操作需要按键布局文件, 则不再需要重新设置按键布 局文件, 可以选择退出按键布局设置模块, 执行步骤 S708, 否则转而执行步骤 S706。
S706: 用户启动按键布局设置功能, 进行应用加载后, 在屏幕上的显示区域进行 对位置信息、 应用操作中所需按键的形状、 大小以及按键的位置等属性的设置, 在设 置完成以后, 按键布局信息以配置文件的形式保存到手机 flash中的特定目录下。优选 的, 该步骤要求移动终端具有按键布局设置功能, 如图 9所示, 移动终端可以在按键 布局设置模块中增加新建按键布局项来实现按键布局的设置功能。 该功能允许用户对 应用程序启动后屏幕上的显示区域及坐标位置进行设置, 优选的, 可以根据用户的使 用习惯编辑手机按键的形状以及调整手机按键的大小和位置, 用户在完成按键布局设 置后可以将当前的按键布局以文件的形式保存, 所以该步骤同时要求移动终端具有保 存按键布局信息的功能。 用户设置完成的应用显示区域和位置, 按键的形状和大小和 位置等属性信息都需要通过配置文件的形式进行保存, 优选的, 移动终端可以将按键 布局信息以文件的形式保存到移动终端 flash中的特定路径下。至此, 移动终端的按键 布局设置完成。
S708: 按键布局设置完成。 本发明的移动终端按键布局文件加载流程如图 10所示, 具体步骤包括:
S1002: 用户启动某一待操作的应用程序。
S1004:在应用启动过程中,移动终端通过读取当前的按键布局开关来判断应用启 动过程是否需要加载按键布局配置文件, 如果按键布局开关为打开状态, 则转而执行 步骤 S1008, 否则执行步骤 S1006。
S1006: 移动终端按照默认的方式启动应用, 其中, 所谓默认的方式就是启动应用 程序的过程中, 移动终端不用加载任何按键布局文件, 应用的显示区域以及操作方式 都按照移动终端默认的方式进行。
S1008:移动终端通过枚举按键布局文件所保存的特定目录来判断当前是否有已保 存有按键布局文件, 如果有则执行步骤 S1010, 否则转而执行步骤 S1012。 S1010 : 系统启动新建按键布局功能, 该步骤类似按键布局设置流程中的步骤 S706,用户编辑新的按键布局界面并以配置文件的形式保存到移动终端 flash中的特定 目录下。
S1012:系统弹出按键布局文件加载提示框,提示用户加载已经创建的按键布局文 件。 优选的, 移动终端可以通过枚举按键布局文件保存的特定目录, 然后弹出一个提 示框, 提示用户从已有的按键布局文件中选择需要加载的文件。
S1014:移动终端根据加载后的按键布局启动应用,在应用启动后将按照加载的按 键布局文件中的按键布局进行显示。如图 11所示为一种优选的用户编辑的某应用操作 界面的实施示意图, 该界面只是本发明的一个示意性描述, 在实际应用中可以根据移 动终端运行的应用程序的不同来编辑不同的按键布局文件。图 11所示的按键布局类似 于 PSP的操作界面, 用户在按键布局编辑过程中对原有的移动终端屏幕的显示区域进 行了调整, 对显示区域的位置进行了移动, 同时为了操作的方便对移动终端的按键位 置进行了移动, 并且根据用户的使用习惯对按键的形状也进行了相应的调整。优选的, 通过修改按键的属性可以实现对应用程序的操作中使用不到的按键进行隐藏, 这样应 用程序在加载以后只会显示需要用到的按键。 采用该方法一方面保证了应用程序操作 界面的简洁和清晰, 同时也使用户的操作变的更加便捷, 减少了对应用程序操作的错 误率; 此外, 该方法还为用户提供了充分的个性化机会, 使用户可以根据自己的爱好 来合理安排应用操作界面的按键布局; 再者, 通过合理的按键布局可以扩展手机所能 运行的应用程序的种类, 满足更多用户的需求和应用程序的扩展。 S1016: 应用结束, 退出应用。 从以上的描述中, 可以看出, 本发明实现了如下技术效果: 本发明的目的在于为手机等移动终端提供一种可自由编辑的按键布局实现方法, 该方法使得用户在操作过程中可以按照应用的需要合理地安排屏幕显示区域、 按键的 形状、大小以及位置等。该方法一方面使的终端的人机交互界面变得更加简洁、清晰, 同时也方便了用户对应用的操作, 极大限度地扩展了手机等移动终端所能支持的业务 类型, 提高了移动终端应用的灵活性。 此外, 该方法还为用户提供了充分的个性化机 会, 使用户可以根据自己的爱好来合理安排应用操作界面的按键布局。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种终端上的虚拟按键的布局方法, 包括:
终端根据接收到的用户指令为应用程序配置虚拟按键布局文件; 所述终端在启动所述应用程序时根据所述虚拟按键布局文件显示虚拟按 键。
2. 根据权利要求 1所述的方法, 其中, 所述终端根据接收到的用户指令为应用程 序配置虚拟按键布局文件的步骤包括:
所述终端响应接收到的配置触发指令显示虚拟按键配置信息, 其中, 所述 虚拟按键配置信息包括: 虚拟按键的形状、 虚拟按键的显示位置、 虚拟按键的 键值以及用于指示虚拟按键是否需要显示的指示信息;
所述终端响应接收到的配置选择指令在所述虚拟按键布局文件中记录与所 述配置选择指令对应的虚拟按键的形状、 虚拟按键的显示位置、 虚拟按键的键 值之间的映射关系以及用于指示虚拟按键是否需要显示的指示信息。
3. 根据权利要求 1所述的方法, 其中, 所述终端在启动所述应用程序时根据所述 虚拟按键布局文件显示虚拟按键的步骤包括:
所述终端在所述虚拟按键布局文件中配置的虚拟按键的显示位置上显示所 述虚拟按键布局文件中需要显示的虚拟按键的按键形状。
4. 根据权利要求 1所述的方法, 其中, 在所述终端在启动所述应用程序时根据所 述虚拟按键布局文件显示虚拟按键之后, 还包括:
所述终端响应接收到的按键触发指令根据所述虚拟按键布局文件中所述虚 拟按键的显示位置、 所述虚拟按键的形状查找与所述按键触发指令对应的虚拟 按键的键值;
所述终端执行与所述查找到的键值对应的操作。
5. 根据权利要求 1所述的方法, 其中, 所述终端在启动所述应用程序时根据所述 虚拟按键布局文件显示虚拟按键的步骤包括:
所述终端在启动所述应用程序时, 判断是否需要加载所述虚拟按键布局文 件; 当判断出需要加载所述虚拟按键布局文件时, 所述终端判断是否已存储有 可加载的虚拟按键布局文件;
若有, 则所述终端显示所述虚拟按键布局文件的加载选择界面; 所述终端在所述加载选择界面上响应接收到的加载指令加载所述虚拟按键 布局文件;
所述终端根据加载的所述虚拟按键布局文件显示虚拟按键。
6. 根据权利要求 5所述的方法, 其中, 所述终端在所述加载选择界面上响应接收 到的加载指令加载所述虚拟按键布局文件的步骤包括:
若所述加载选择界面上显示多个所述虚拟按键布局文件, 则所述终端接收 虚拟按键布局文件的选择指令;
所述终端加载与所述选择指令对应的所述虚拟按键布局文件。
7. 一种终端上的虚拟按键的布局装置, 包括:
配置单元, 设置为根据接收到的用户指令为应用程序配置虚拟按键布局文 件;
显示单元, 设置为在启动所述应用程序时根据所述虚拟按键布局文件显示 虚拟按键。
8. 根据权利要求 7所述的装置, 其中, 配置单元包括:
第一显示模块,设置为响应接收到的配置触发指令显示虚拟按键配置信息, 其中, 所述虚拟按键配置信息包括: 虚拟按键的形状、 虚拟按键的显示位置以 及虚拟按键的键值、 以及用于指示虚拟按键是否需要显示的指示信息;
记录模块, 设置为响应接收到的配置选择指令在所述虚拟按键布局文件中 记录与所述配置选择指令对应的虚拟按键的形状、 虚拟按键的显示位置、 虚拟 按键的键值之间的映射关系以及用于指示虚拟按键是否需要显示的指示信息。
9. 根据权利要求 7所述的装置, 其中, 还包括:
查找单元, 设置为响应接收到的按键触发指令根据所述虚拟按键布局文件 中所述虚拟按键的显示位置、 所述虚拟按键的形状查找与所述按键触发指令对 应的虚拟按键的键值;
执行单元, 设置为执行与所述查找到的键值对应的操作。
10. 根据权利要求 7所述的装置, 其中, 所述显示单元包括: 第一判断模块, 设置为在启动所述应用程序时, 判断是否需要加载所述虚 拟按键布局文件;
第二判断模块, 设置为当判断出需要加载所述虚拟按键布局文件时, 判断 是否已存储有可加载的虚拟按键布局文件;
第三显示模块, 设置为在判断出已存储有可加载的虚拟按键布局文件时显 示所述虚拟按键布局文件的加载选择界面;
加载模块, 设置为在所述加载选择界面上响应接收到的加载指令加载所述 虚拟按键布局文件;
第四显示模块, 设置为根据加载的所述虚拟按键布局文件显示虚拟按键。
11. 根据权利要求 10所述的装置, 其中, 所述加载模块包括:
接收子模块, 设置为在所述加载选择界面上显示多个所述虚拟按键布局文 件时, 接收虚拟按键布局文件的选择指令;
加载子模块, 设置为加载与所述选择指令对应的所述虚拟按键布局文件。
PCT/CN2012/071140 2011-12-28 2012-02-14 终端上的虚拟按键的布局方法和装置 WO2012155552A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110448130.8A CN103186369B (zh) 2011-12-28 2011-12-28 终端上的虚拟按键的布局方法和装置
CN201110448130.8 2011-12-28

Publications (1)

Publication Number Publication Date
WO2012155552A1 true WO2012155552A1 (zh) 2012-11-22

Family

ID=47176198

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071140 WO2012155552A1 (zh) 2011-12-28 2012-02-14 终端上的虚拟按键的布局方法和装置

Country Status (2)

Country Link
CN (1) CN103186369B (zh)
WO (1) WO2012155552A1 (zh)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103472992A (zh) * 2013-08-29 2013-12-25 广东欧珀移动通信有限公司 一种动态调整拍照按键的方法及移动终端
US10289302B1 (en) * 2013-09-09 2019-05-14 Apple Inc. Virtual keyboard animation
CN103677421B (zh) * 2013-12-20 2018-05-18 青岛海信移动通信技术股份有限公司 一种应用于触摸屏界面上的业务显示方法及装置
CN104123065B (zh) * 2014-07-23 2019-10-18 北京乐动卓越科技有限公司 一种移动终端上的悬浮按钮的显示方法及系统
CN104572322A (zh) * 2014-12-02 2015-04-29 深圳市金立通信设备有限公司 一种终端屏幕操作的方法
CN105786543A (zh) * 2014-12-26 2016-07-20 北京奇虎科技有限公司 界面加载的方法及装置
CN104750383B (zh) * 2015-03-04 2019-07-19 Oppo广东移动通信有限公司 一种设置虚拟按键的方法及终端
CN104778046A (zh) * 2015-04-22 2015-07-15 北京智膜科技有限公司 一种基于应用程序自动生成位置图标的方法和装置
CN104794412A (zh) * 2015-05-11 2015-07-22 深圳天珑无线科技有限公司 信息输入方法及装置与移动终端
JP2017010428A (ja) * 2015-06-25 2017-01-12 京セラドキュメントソリューションズ株式会社 電子機器およびアプリケーションプログラム
CN106557223B (zh) * 2015-09-28 2020-04-24 福建省华渔教育科技有限公司 移动终端快捷操作方法及装置
CN106445281B (zh) * 2016-09-07 2019-04-16 深圳创维数字技术有限公司 一种调整智能终端操作键位置的方法及系统
CN106254684A (zh) * 2016-09-22 2016-12-21 上海理工大学 手机按键界面的变换方法
CN108279957A (zh) * 2017-01-03 2018-07-13 中兴通讯股份有限公司 一种虚拟按键显示方法和终端
CN107506134A (zh) * 2017-08-29 2017-12-22 北京小米移动软件有限公司 虚拟键盘按键背景显示方法与装置
CN108304135A (zh) * 2018-02-08 2018-07-20 上海爱优威软件开发有限公司 一种虚拟辅助按键的调整方法及终端
CN109766107A (zh) * 2018-11-28 2019-05-17 合肥联宝信息技术有限公司 一种改变键盘按键位置的方法及装置
CN109582209A (zh) * 2018-12-05 2019-04-05 珠海格力电器股份有限公司 一种hmi组态软件的软键盘输入方法、hmi组态软件及工业触摸屏
CN109568962A (zh) * 2018-12-05 2019-04-05 苏州蜗牛数字科技股份有限公司 一种游戏手机按键设置方法
CN109960456B (zh) * 2019-03-12 2021-06-15 维沃移动通信有限公司 一种虚拟按键布局的生成方法及终端设备
CN111163205A (zh) * 2019-12-25 2020-05-15 上海传英信息技术有限公司 显示方法、装置及计算机存储介质
CN111309416B (zh) * 2020-01-19 2022-06-14 北京字节跳动网络技术有限公司 应用界面的信息显示方法、装置、设备及可读介质
CN112650438A (zh) * 2020-12-31 2021-04-13 中国农业银行股份有限公司 一种终端交互方法和相关装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110005A (zh) * 2006-07-19 2008-01-23 鸿富锦精密工业(深圳)有限公司 自定义触摸板的电子装置及方法
US20100241985A1 (en) * 2009-03-23 2010-09-23 Core Logic, Inc. Providing Virtual Keyboard
US20110181522A1 (en) * 2010-01-28 2011-07-28 International Business Machines Corporation Onscreen keyboard assistance method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8542196B2 (en) * 2005-07-22 2013-09-24 Move Mobile Systems, Inc. System and method for a thumb-optimized touch-screen user interface
CN1896940A (zh) * 2006-06-21 2007-01-17 宇龙计算机通信科技(深圳)有限公司 触摸屏输入方法
EP2235828A4 (en) * 2008-01-04 2012-07-11 Ergowerx Llc VIRTUAL KEYBOARD AND KEYBOARD ON SCREEN
CN101853103A (zh) * 2010-06-03 2010-10-06 中兴通讯股份有限公司 一种虚拟键盘的实现方法及装置
CN102214069A (zh) * 2011-06-13 2011-10-12 广东国笔科技股份有限公司 实现虚拟键盘调节的数据处理设备、系统及方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110005A (zh) * 2006-07-19 2008-01-23 鸿富锦精密工业(深圳)有限公司 自定义触摸板的电子装置及方法
US20100241985A1 (en) * 2009-03-23 2010-09-23 Core Logic, Inc. Providing Virtual Keyboard
US20110181522A1 (en) * 2010-01-28 2011-07-28 International Business Machines Corporation Onscreen keyboard assistance method and system

Also Published As

Publication number Publication date
CN103186369B (zh) 2018-03-09
CN103186369A (zh) 2013-07-03

Similar Documents

Publication Publication Date Title
WO2012155552A1 (zh) 终端上的虚拟按键的布局方法和装置
US11314371B2 (en) Method and apparatus for providing graphic user interface
AU2013237690B2 (en) Method and apparatus for performing preset operation mode using voice recognition
KR101569427B1 (ko) 휴대 단말기의 터치 입력 장치 및 그의 운영 방법
KR101761190B1 (ko) 휴대 단말기의 사용자 인터페이스 제공 방법 및 장치
US20130162411A1 (en) Method and apparatus to adapt a remote control user interface
US20110191516A1 (en) Universal touch-screen remote controller
US20130260690A1 (en) Method and apparatus for bluetooth connection in mobile terminal and computer-readable medium thereof
US20100248788A1 (en) Method of dividing screen areas and mobile terminal employing the same
US9794400B2 (en) Mobile terminal and ringtone playing method thereof
JP6068342B2 (ja) 複合属性制御方法及びこれを支援する携帯端末機
US20130086510A1 (en) Method and system to provide a user interface with respect to a plurality of applications
EP3780676A1 (en) Method for automatically switching sim cards, and electronic apparatus
WO2013182143A2 (zh) 移动终端及其功能项快捷操作的实现方法
KR101966708B1 (ko) 배경 컨텐츠 운용 방법 및 이를 지원하는 단말기
KR20120136129A (ko) 액세서리 특성 설정 방법 및 이를 지원하는 액세서리 운용 시스템
KR20120016184A (ko) 휴대 단말기의 통신 설정 제어 방법 및 이를 기반으로 운용되는 휴대 단말기
US20110134130A1 (en) Method and apparatus for operating optional key map of portable terminal
KR20130046482A (ko) 기본 화면 제어 방법 및 이를 지원하는 단말기
CN114721761A (zh) 一种终端设备、应用图标管理方法和存储介质
WO2011032429A1 (zh) 一种移动终端中的个性化界面标识实现方法及装置
TW200810494A (en) Apparatus and method for disabling a user interface
JP2015531085A (ja) 音楽プレーヤ、自動スキン交換方法及び自動スキン交換システム、並びに、コンピュータ可読記憶媒体
CN101325764A (zh) 个人数字助理手机及其控制方法
JP2007274275A (ja) 携帯通信端末におけるメニュー項目表示方法及び携帯通信端末

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

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

Country of ref document: EP

Kind code of ref document: A1