WO2019179052A1 - Button self-adaptive method and device, mobile terminal and storage medium - Google Patents

Button self-adaptive method and device, mobile terminal and storage medium Download PDF

Info

Publication number
WO2019179052A1
WO2019179052A1 PCT/CN2018/104117 CN2018104117W WO2019179052A1 WO 2019179052 A1 WO2019179052 A1 WO 2019179052A1 CN 2018104117 W CN2018104117 W CN 2018104117W WO 2019179052 A1 WO2019179052 A1 WO 2019179052A1
Authority
WO
WIPO (PCT)
Prior art keywords
button
buttons
touch screen
remaining
area
Prior art date
Application number
PCT/CN2018/104117
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 WO2019179052A1 publication Critical patent/WO2019179052A1/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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

Definitions

  • the present application relates to the field of touch screen technologies, and in particular, to a button adaptation method, apparatus, mobile terminal, and storage medium.
  • buttons are used as the main trigger form for submitting data and responding to events.
  • the button control that generates the button is one of the most basic elements that make up an interactive dynamic web page. Through the button control, the client's data can be conveniently transmitted to the server, and the event is triggered during use, and the response event process is executed to complete the related operation.
  • a button control is a basic control that, depending on its purpose, includes: a PushButton, a CheckBox, a GroupBox, and a Owner-drawButton button.
  • buttons still have drawbacks in their use, including the following aspects: the application uses button triggering mode, but it needs to complete a number of specific operations, its operation The project is complex and cumbersome. If the user does not complete the specific operation, the user cannot click the trigger, which results in low user experience. If the button wants to achieve adaptive effect, multiple logical judgments need to be inserted in the button control, resulting in complicated logic structure.
  • button control uses similar code, its code recognition is low, it is easy to trigger a button to trigger multiple events on the same page at the same time, and also caused by accidentally triggered events in some applications Property loss; buttons are often used only in one application, and cannot be ported to another application, with low button reuse and poor portability.
  • a method of button adaptation including:
  • the button is adjacent to the detected position on the display screen, at least one selectable character is displayed on the button, and all the buttons are arranged in order in the button recognition area, the button recognition area being used according to the touch screen area of the user
  • the location determines whether the user clicks the button;
  • a button adaptive device comprising:
  • a detecting unit configured to detect a position at which the operating body contacts or approaches a display screen of the display member, select at least one button corresponding to an operation state of the device from the plurality of buttons, and move the selected button on the display screen, Thereby causing the selected button to be close to the detected position on the display screen, at least one selectable character being displayed on the button, all buttons being arranged in order in the button recognition area, the button recognition area being used according to The position of the user touch screen area determines whether the user clicks the button;
  • Determining the unit setting to determine the size and position of the optional characters to display
  • a receiving unit configured to load a button control, and receive an instruction to adjust a position of the button
  • the adjusting unit is configured to adjust a position of the button according to the instruction, thereby displaying the button.
  • a mobile terminal comprising: a touch sensitive display; a memory; one or more processors; the one or more processors being configured to perform the steps of the above method:
  • the button is adjacent to the detected position on the display screen, at least one selectable character is displayed on the button, and all the buttons are arranged in order in the button recognition area, the button recognition area being used according to the touch screen area of the user
  • the location determines whether the user clicks the button;
  • a storage medium storing computer readable instructions, when executed by one or more processors, causes one or more processors to perform the steps of the method described above:
  • the button is adjacent to the detected position on the display screen, at least one selectable character is displayed on the button, and all the buttons are arranged in order in the button recognition area, the button recognition area being used according to the touch screen area of the user
  • the location determines whether the user clicks the button;
  • the above-described button adaptive method, apparatus, mobile terminal, and storage medium select at least one button corresponding to an operation state of the device from among a plurality of buttons by detecting a position at which the operating body contacts or approaches a display screen of the display member, and a selected button is moved on the display screen such that the selected button is located proximate to the detected position on the display screen, the button displaying at least one selectable character, the button displaying at least one
  • the selectable characters include one or more letters or characters in the form of letters or characters, all of which are arranged in order in the button recognition area, the button recognition area for determining whether the user clicks the button according to the position of the touch screen area of the user.
  • Obtaining a touch screen area of the user on the touch screen determining, according to the size of the touch screen area, whether the size of the identification area of the button on the touch screen matches, and if not, adjusting the size of the identification area of the button to The size of the touch screen area matches. Determining the size and position of the optional character to be displayed, loading the button control, receiving an instruction to adjust the position of the button, adjusting the position of the button according to the instruction, thereby displaying the button, improving the reuse rate of the button, and enhancing The portability of the button.
  • FIG. 1 is a flowchart of a button adaptation method in an embodiment of the present application
  • FIG. 2 is a flow chart of a method for adjusting a button position according to an instruction in an embodiment of the present application
  • FIG. 3 is a structural block diagram of a button adaptation apparatus according to an embodiment of the present application.
  • FIG. 4 is a schematic block diagram showing a part of a structure of a mobile terminal according to an embodiment of the present application.
  • a method for button adaptation the method for adapting the button includes the following steps:
  • Step S101 detecting a position at which the operating body contacts or approaches the display screen of the display component, selecting at least one button corresponding to the operating state of the device from the plurality of buttons, and moving the selected button on the display screen, thereby The selected button is close to the detected position on the display screen, and at least one selectable character is displayed on the button, all buttons are arranged in the button recognition area in order, and the button recognition area is used according to the position of the user touch screen area Determine if the user clicks the button;
  • the characters used herein are defined as including alphanumeric characters, icons, symbols, words, terms, phrases, and the like, and combinations thereof, and an electronic device having a touch screen, which can be implemented by a user by tapping a touch screen button when using the electronic device. All or part of the equipment is controlled. Among them, the user forms a touch screen area with the touch screen when the user touches the touch screen.
  • Each touch screen button has its certain display area on the screen, including the size and position of the display area, and the display area of each touch screen button is different.
  • Each touch screen button corresponds to a certain recognition area, and the identification area of the button is used to determine whether the user clicks the button according to the position of the touch screen area of the user, and when the touch screen position of the user is located in the recognition area of a certain button, such as at the button In the identification area of "send", it is confirmed that the user clicks the "send” button.
  • the recognition area of each touch screen button may have different positions and the same size.
  • the button recognition area may be a circle centered on the center of the display area of the button, a circle having a radius of a certain length, and a circle corresponding to the identification area of each button. the same.
  • the size of the button recognition area can be set and changed as needed, and is not fixed.
  • Step S102 determining a size and a position of an optional character to be displayed
  • the electronic device in this embodiment has a touch screen, and when the user uses the electronic device, all or part of the manipulation of the electronic device can be realized by touching the touch screen button.
  • the size and position of the characters on the buttons are adjustable to satisfy the user's possibility of recognizing and selecting the size of the characters on the touch screen.
  • the function menu can be adjusted on the function menu of the screen.
  • the adjusted content includes the font size, position and other adjustment contents, the font size of the character, and the font size in the character changes.
  • the location information of the character is the location information of the character.
  • Step S103 loading a button control, and receiving an instruction for adjusting a position of the button
  • the position coordinates in the middle can be further determined by an exemplary algorithm to determine the position of the button.
  • step S104 the position of the button is adjusted according to the instruction, and then the button is displayed.
  • Adjusting the position corresponding to the button according to the instruction for example, triggering the process of modifying the position of the dial button anywhere on the touch screen according to the need, and adding a menu item, clicking to realize the position of the adjustment dial button, thereby displaying the layout of the current dial button interface.
  • the button displays at least one selectable character comprising one or more letters or characters of text or characters.
  • Some or all of the one or more characters or characters are displayed on the touch button, and the characters used herein are defined to include alphanumeric characters, icons, symbols, words, terms, phrases, and the like, and combinations thereof.
  • buttons are arranged in sequence in the button identification area further comprising:
  • the electronic device can acquire the contact position of the user on the touch screen to determine the touch screen area of the user on the touch screen.
  • the size of the touch screen area represents the average size of the user's contact area with the touch screen when the user performs a touch operation on the touch screen, and the touch screen area formed by different user touches is different in size, for example, the male finger is thick, and the touch is formed.
  • the touch screen area is larger than the touch screen area formed when the female touches.
  • the touch screen area formed by the user on the touch screen may be located in the display area of the button on the touch screen, or may be located at other positions on the touch screen.
  • the touch screen area of the user on the touch screen After obtaining the touch screen area of the user on the touch screen, acquiring the size of the identification area of the button currently set in the electronic device, and then determining whether the size of the touch screen area matches the size of the button recognition area, that is, comparing the touch screen area. Whether the size is similar to the size of the button recognition area. If the size of the touch screen area matches the size of the recognition area of the button, it is not necessary to adjust the size of the current button recognition area. If the size of the touch screen area does not match the size of the identification area of the button, according to the user's touch screen on the touch screen. The area size adjusts the size of the recognition area of the button on the touch screen such that the size of the touch screen area matches the button identification area.
  • the position of the button is adjusted according to the instruction, and the specific steps are:
  • Step S201 displaying at least one button on the touch screen, the remaining buttons are arranged in order, where B is the total width of the button recognition area, Q is the span between the button and the button, K is the width of a single button, and G is a single button Height, Z is the total height of the button recognition area;
  • G the height of a single button
  • Z button identifies the total height of the area.
  • Step S202 if no button is removed from any row, then go to step S204, otherwise go to step S203;
  • Step S204 if not all the buttons are removed from at least one row, then go to step S206;
  • step S206 the above steps are repeatedly performed.
  • step S204 if the step is no, and if not all of the buttons are removed starting from at least one line, step 206 is repeated.
  • the number of buttons is one or more.
  • buttons may be a push button (PushButton), a check box (CheckBox), a group box (GroupBox), and a self-drawn (Owner-drawButton) button, etc., and may be one or more, and a combination thereof.
  • a button adaptation apparatus As shown in FIG. 3, in one embodiment, a button adaptation apparatus is provided, and the button adaptation apparatus includes:
  • a detecting unit configured to detect a position at which the operating body contacts or approaches a display screen of the display member, select at least one button corresponding to an operation state of the device from the plurality of buttons, and move the selected button on the display screen, Thereby causing the selected button to be close to the detected position on the display screen, at least one selectable character being displayed on the button, all buttons being arranged in order in the button recognition area, the button recognition area being used according to The position of the user touch screen area determines whether the user clicks the button;
  • Determining the unit setting to determine the size and position of the optional characters to display
  • a receiving unit configured to load a button control, and receive an instruction to adjust a position of the button
  • the adjusting unit is configured to adjust a position of the button according to the instruction, thereby displaying the button.
  • the button displays at least one selectable character comprising one or more letters or characters in the form of letters or characters.
  • the detecting unit is further configured to acquire a touch screen area of the user on the touch screen; and determine, according to the size of the touch screen area, whether the size of the identification area of the button on the touch screen matches; if not, Then, the size of the identification area of the button is adjusted to match the size of the touch screen area.
  • the number of buttons is one or more.
  • a mobile terminal for implementing the method of button adaptation in the foregoing embodiments.
  • the terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, and the mobile terminal is used as a mobile phone as an example:
  • FIG. 4 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present application.
  • the mobile phone includes: a baseband processing module 310, a memory 320, an input unit 330, a display unit 340, a sensor 350, an audio circuit 360, a Wireless Fidelity (WiFi) module 370, a processor 380, and a power supply 390. component.
  • WiFi Wireless Fidelity
  • the structure of the handset shown in FIG. 4 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
  • the baseband processing module 310 can be used to synthesize the baseband signal to be transmitted or to decode the received baseband signal.
  • the memory 320 can be used to store software programs and modules, and the processor 380 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 320.
  • Memory 320 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 330 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset. Specifically, the input unit 330 may include a touch panel 331 and other input devices 332.
  • the display unit 340 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 340 can include a display panel 341.
  • the display panel 341 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the handset can also include at least one type of sensor 350, such as a light sensor, motion sensor, and other sensors.
  • the audio circuit 360, the speaker 361, and the microphone 362 provide an audio interface between the user and the handset.
  • WiFi is a short-range wireless transmission technology.
  • the mobile phone can help users to send and receive emails, browse web pages and access streaming media through the WiFi module 370, which provides users with wireless broadband Internet access.
  • the processor 380 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 320, and invoking data stored in the memory 320, The phone's various functions and processing data, so that the overall monitoring of the phone.
  • the handset also includes a power source 390 (such as a battery) that powers the various components.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the processor 380 included in the terminal may perform the steps in the method of button adaptation in the above embodiments.
  • a storage medium storing computer readable instructions, when executed by one or more processors, causes one or more processors to execute the buttons of the various embodiments described above The steps in the adaptive method.
  • the storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application relates to a button self-adaptive method and device, a mobile terminal and a storage medium, the method comprises: detecting a position at which an operating body touches or approaches a display screen of a display component, selecting at least a button, from among a plurality of buttons, corresponding to an operating state of the device, and making the selected button move on the display screen such that the selected button gets close to the position on the detected display screen; at least one selectable character is displayed on the button, all the buttons are arranged in a button identification area in order, and the button identification area is used to determine, according to the position of a user touch screen area, whether the user clicks the button; determining the size and position of a selectable character to be displayed; loading a button control, and receiving an instruction for adjusting the position of the button; and adjusting the position of the button according to the instruction and displaying the button. The described method can increase the reusability of the button and improve the transportability of the button.

Description

按钮自适应的方法、装置、移动终端和存储介质Button adaptive method, device, mobile terminal and storage medium
本申请要求于2018年03月18日提交中国专利局、申请号为201810221798.0、发明名称为“按钮自适应的方法、装置、移动终端和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201810221798.0, entitled "Button-Adaptive Method, Apparatus, Mobile Terminal, and Storage Medium", filed on March 18, 2018, the entire contents of which are incorporated by reference. The citations are incorporated herein by reference.
技术领域Technical field
本申请涉及触摸屏技术领域,尤其涉及按钮自适应的方法、装置、移动终端和存储介质。The present application relates to the field of touch screen technologies, and in particular, to a button adaptation method, apparatus, mobile terminal, and storage medium.
背景技术Background technique
应用程序在和用户交互的使用过程中,以按钮作为提交数据及响应事件的主要触发形式。生成按钮的按钮控件是组成交互式动态网页的最基本元素之一。通过按钮控件可以方便地将客户端的数据传输至服务端,并且在使用中触发事件,执行响应的事件过程,从而完成相关操作。按钮控件是一种基础控件,根据其用途包括:命令按钮(PushButton)、复选框(CheckBox)、组框(GroupBox)和自绘式(Owner-drawButton)按钮等分类。During the use of the user interaction with the user, the button is used as the main trigger form for submitting data and responding to events. The button control that generates the button is one of the most basic elements that make up an interactive dynamic web page. Through the button control, the client's data can be conveniently transmitted to the server, and the event is triggered during use, and the response event process is executed to complete the related operation. A button control is a basic control that, depending on its purpose, includes: a PushButton, a CheckBox, a GroupBox, and a Owner-drawButton button.
现有应用程序和***虽多采用按钮触发方式完成操作,但是按钮在其使用过程中,仍存在弊端,包括以下方面:应用程序多采用按钮触发方式,但其需要完成多项特定操作,其操作项目复杂且繁多,用户若未完成特定操作,则无法点击触发,故而造成用户体验度低;按钮若想实现自适应的效果,则需在按钮控件中***多项逻辑判断,造成逻辑结构繁多复杂,增加按钮控件开发成本;按钮控件多使用相似代码,其代码辨识度低,往往易于造成触发一个按钮同时触发同一页面上的多个事件,同时,也因意外触发的事件造成在某些应用场合中的财产损失;按钮往往只在一个应用程序中进行使用,而无法在移植到另一应用程序中,按钮复用率低,可移植性差。Existing applications and systems use button triggering to complete operations, but the buttons still have drawbacks in their use, including the following aspects: the application uses button triggering mode, but it needs to complete a number of specific operations, its operation The project is complex and cumbersome. If the user does not complete the specific operation, the user cannot click the trigger, which results in low user experience. If the button wants to achieve adaptive effect, multiple logical judgments need to be inserted in the button control, resulting in complicated logic structure. Increase button controller development cost; button control uses similar code, its code recognition is low, it is easy to trigger a button to trigger multiple events on the same page at the same time, and also caused by accidentally triggered events in some applications Property loss; buttons are often used only in one application, and cannot be ported to another application, with low button reuse and poor portability.
发明内容Summary of the invention
有鉴于此,有必要针对现有技术的缺陷,提供一种按钮自适应的方法、装置、移动终端和存储介质。In view of the above, it is necessary to provide a button adaptive method, device, mobile terminal and storage medium for the defects of the prior art.
一种按钮自适应的方法,包括:A method of button adaptation, including:
检测操作体接触或靠近显示部件的显示屏幕的位置,从多个按钮中选择与装置的操作状态对应的至少一个按钮,以及使所选择的按钮在所述显示屏幕上移动,从而使所选择的按钮靠近检测到的所述显示屏幕上的位置,所述按钮上显示了至少一个可选择的字符,所有按钮按顺序被布置在按钮识别区域,所述按钮识别区域用于根据用户触屏区域的位置判断用户是否点击该按钮;Detecting a position at which the operating body contacts or approaches a display screen of the display member, selecting at least one button corresponding to an operation state of the device from among the plurality of buttons, and moving the selected button on the display screen, thereby causing the selected one The button is adjacent to the detected position on the display screen, at least one selectable character is displayed on the button, and all the buttons are arranged in order in the button recognition area, the button recognition area being used according to the touch screen area of the user The location determines whether the user clicks the button;
确定要显示的可选字符的大小和位置;Determine the size and location of the optional characters to display;
加载按钮控件,接收调整按钮位置的指令;Loading a button control to receive an instruction to adjust the position of the button;
根据所述指令调整所述按钮的位置,进而显示所述按钮。Adjusting the position of the button according to the instruction, thereby displaying the button.
一种按钮自适应的装置,包括:A button adaptive device comprising:
检测单元,设置为检测操作体接触或靠近显示部件的显示屏幕的位置,从多个按钮中选择与装置的操作状态对应的至少一个按钮,以及使所选择的按钮在所述显示屏幕上移动,从而使所选择的按钮靠近检测到的所述显示屏幕上的位置,所述按钮上显示了至少一个可选择的字符,所有按钮按顺序被布置在按钮识别区域,所述按钮识别区域用于根据用户触屏区域的位置判断用户是否点击该按钮;a detecting unit configured to detect a position at which the operating body contacts or approaches a display screen of the display member, select at least one button corresponding to an operation state of the device from the plurality of buttons, and move the selected button on the display screen, Thereby causing the selected button to be close to the detected position on the display screen, at least one selectable character being displayed on the button, all buttons being arranged in order in the button recognition area, the button recognition area being used according to The position of the user touch screen area determines whether the user clicks the button;
确定单元,设置为确定要显示的可选字符的大小和位置;Determining the unit, setting to determine the size and position of the optional characters to display;
接收单元,设置为加载按钮控件,接收调整按钮位置的指令;a receiving unit, configured to load a button control, and receive an instruction to adjust a position of the button;
调整单元,设置为根据所述指令调整所述按钮的位置,进而显示所述按钮。The adjusting unit is configured to adjust a position of the button according to the instruction, thereby displaying the button.
一种移动终端,所述移动终端,包括:触敏显示器;存储器;一个或多个处理器;所述一个或多个处理器被配置为用于执行上述方法的步骤:A mobile terminal, comprising: a touch sensitive display; a memory; one or more processors; the one or more processors being configured to perform the steps of the above method:
检测操作体接触或靠近显示部件的显示屏幕的位置,从多个按钮中选择与装置的操作状态对应的至少一个按钮,以及使所选择的按钮在所述显示屏幕上移动,从而使所选择的按钮靠近检测到的所述显示屏幕上的位置,所述按钮上显示了至少一个可选择的字符,所有按钮按顺序被布置在按钮识别区域,所述按钮识别区域用于根据用户触屏区域的位置判断用户是否点击该按钮;Detecting a position at which the operating body contacts or approaches a display screen of the display member, selecting at least one button corresponding to an operation state of the device from among the plurality of buttons, and moving the selected button on the display screen, thereby causing the selected one The button is adjacent to the detected position on the display screen, at least one selectable character is displayed on the button, and all the buttons are arranged in order in the button recognition area, the button recognition area being used according to the touch screen area of the user The location determines whether the user clicks the button;
确定要显示的可选字符的大小和位置;Determine the size and location of the optional characters to display;
加载按钮控件,接收调整按钮位置的指令;Loading a button control to receive an instruction to adjust the position of the button;
根据所述指令调整所述按钮的位置,进而显示所述按钮。Adjusting the position of the button according to the instruction, thereby displaying the button.
一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述方法的步骤:A storage medium storing computer readable instructions, when executed by one or more processors, causes one or more processors to perform the steps of the method described above:
检测操作体接触或靠近显示部件的显示屏幕的位置,从多个按钮中选择与装置的操作状态对应的至少一个按钮,以及使所选择的按钮在所述显示屏幕上移动,从而使所选择的按钮靠近检测到的所述显示屏幕上的位置,所述按钮上显示了至少一个可选择的字符,所有按钮按顺序被布置在按钮识别区域,所述按钮识别区域用于根据用户触屏区域的位置判断用户是否点击该按钮;Detecting a position at which the operating body contacts or approaches a display screen of the display member, selecting at least one button corresponding to an operation state of the device from among the plurality of buttons, and moving the selected button on the display screen, thereby causing the selected one The button is adjacent to the detected position on the display screen, at least one selectable character is displayed on the button, and all the buttons are arranged in order in the button recognition area, the button recognition area being used according to the touch screen area of the user The location determines whether the user clicks the button;
确定要显示的可选字符的大小和位置;Determine the size and location of the optional characters to display;
加载按钮控件,接收调整按钮位置的指令;Loading a button control to receive an instruction to adjust the position of the button;
根据所述指令调整所述按钮的位置,进而显示所述按钮。Adjusting the position of the button according to the instruction, thereby displaying the button.
上述按钮自适应的方法、装置、移动终端和存储介质,通过检测操作体接触或靠近显示部件的显示屏幕的位置,从多个按钮中选择与装置的操作状态对应的至少一个按钮,以及使所选择的按钮在所述显示屏幕上移动,从而使所选择的按钮靠近检测到的所述显示屏幕上的位置,所述按钮上显示了至少一个可选择的字符,所述按钮上显示了至少一个可选择的字符包括一个或多个字母或文字形状的文字或字符,所有按钮按顺序被布置在按钮识别区域,所述按钮识别区域用于根据用户触屏区域的位置判断用户是否点击该按钮,获取用户在触摸屏上的触屏区域,根据所述触屏区域的大小,判断所述触摸屏上按钮的识别区域的大小是否匹配,若不匹配,则将所述按钮的识别区域的大小调整至与所述触屏区域的大小相匹配。确定要显示的可选字符的大小和位置,加载按钮控件,接收调整按钮位置的指令,根据所述指令调整所述按钮的位置,进而显示所述按钮,提高了按钮的复用率,增强了按钮的可移植性。The above-described button adaptive method, apparatus, mobile terminal, and storage medium select at least one button corresponding to an operation state of the device from among a plurality of buttons by detecting a position at which the operating body contacts or approaches a display screen of the display member, and a selected button is moved on the display screen such that the selected button is located proximate to the detected position on the display screen, the button displaying at least one selectable character, the button displaying at least one The selectable characters include one or more letters or characters in the form of letters or characters, all of which are arranged in order in the button recognition area, the button recognition area for determining whether the user clicks the button according to the position of the touch screen area of the user. Obtaining a touch screen area of the user on the touch screen, determining, according to the size of the touch screen area, whether the size of the identification area of the button on the touch screen matches, and if not, adjusting the size of the identification area of the button to The size of the touch screen area matches. Determining the size and position of the optional character to be displayed, loading the button control, receiving an instruction to adjust the position of the button, adjusting the position of the button according to the instruction, thereby displaying the button, improving the reuse rate of the button, and enhancing The portability of the button.
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领 域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本申请的限制。Various other advantages and benefits will become apparent to those of ordinary skill in the art. The drawings are only for the purpose of illustrating the preferred embodiments and are not intended to be limiting.
图1为本申请一个实施例中按钮自适应方法的流程图;1 is a flowchart of a button adaptation method in an embodiment of the present application;
图2为本申请一个实施例中根据指令调整按钮位置的方法流程图;2 is a flow chart of a method for adjusting a button position according to an instruction in an embodiment of the present application;
图3为本申请一个实施例中按钮自适应装置的结构框图;3 is a structural block diagram of a button adaptation apparatus according to an embodiment of the present application;
图4为本申请一个实施例提供的移动终端部分结构的示意框图。FIG. 4 is a schematic block diagram showing a part of a structure of a mobile terminal according to an embodiment of the present application.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。The singular forms "a", "an", "the" It is to be understood that the phrase "comprise" or "an" Integers, steps, operations, components, components, and/or groups thereof.
作为一个较好的实施例,如图1所示,一种按钮自适应的方法,该按钮自适应的方法,包括以下步骤:As a preferred embodiment, as shown in FIG. 1, a method for button adaptation, the method for adapting the button includes the following steps:
步骤S101,检测操作体接触或靠近显示部件的显示屏幕的位置,从多个按钮中选择与装置的操作状态对应的至少一个按钮,以及使所选择的按钮在所述显示屏幕上移动,从而使所选择的按钮靠近检测到的所述显示屏幕上的位置,按钮上显示了至少一个可选择的字符,所有按钮按顺序被布置在按钮识别区域,按钮识别区域用于根据用户触屏区域的位置判断用户是否点击该按钮;Step S101, detecting a position at which the operating body contacts or approaches the display screen of the display component, selecting at least one button corresponding to the operating state of the device from the plurality of buttons, and moving the selected button on the display screen, thereby The selected button is close to the detected position on the display screen, and at least one selectable character is displayed on the button, all buttons are arranged in the button recognition area in order, and the button recognition area is used according to the position of the user touch screen area Determine if the user clicks the button;
检测操作体接触或靠近显示部件的显示屏幕的位置,从多个按钮中选择与装置的操作状态对应的至少一个按钮,以及使所选择的按钮在所述显示屏幕上移动,从而使所选择的按钮靠近检测到的所述显示屏幕上的位置。具有一个或多个按钮的触摸屏,每个键包含至少一个字符。这里使用的字符被定义为包括字母数字字符,图标,符号,单词,术语,短语等及其组合,具有触摸屏的电 子设备,用户在使用该电子设备时,可以通过点触触摸屏按钮实现对该电子设备的全部或部分操控。其中,用户在点击触摸屏时会与触摸屏形成触屏区域。每个触摸屏按钮在屏幕上具有其一定的显示区域,包括显示区域的大小和位置,每个触摸屏按钮的显示区域均不相同。每个触摸屏按钮都对应一定的识别区域,按钮的识别区域用于根据用户触屏区域的位置判断用户是否点击该按钮,当用户的触屏位置位于某一按钮的识别区域内时,如位于按钮“发送”的识别区域内,则确认该用户点击“发送”按钮。每个触摸屏按钮的识别区域可以位置不同,大小相同,例如按钮识别区域可以是以按钮的显示区域的中心位置为圆心,以一定长度为半径的圆,各按钮的识别区域所对应的圆的大小相同。按钮识别区域的大小可以根据需要设定和变化,并非固定不变。Detecting a position at which the operating body contacts or approaches a display screen of the display member, selecting at least one button corresponding to an operation state of the device from among the plurality of buttons, and moving the selected button on the display screen, thereby causing the selected one The button is near the detected position on the display screen. A touch screen with one or more buttons, each key containing at least one character. The characters used herein are defined as including alphanumeric characters, icons, symbols, words, terms, phrases, and the like, and combinations thereof, and an electronic device having a touch screen, which can be implemented by a user by tapping a touch screen button when using the electronic device. All or part of the equipment is controlled. Among them, the user forms a touch screen area with the touch screen when the user touches the touch screen. Each touch screen button has its certain display area on the screen, including the size and position of the display area, and the display area of each touch screen button is different. Each touch screen button corresponds to a certain recognition area, and the identification area of the button is used to determine whether the user clicks the button according to the position of the touch screen area of the user, and when the touch screen position of the user is located in the recognition area of a certain button, such as at the button In the identification area of "send", it is confirmed that the user clicks the "send" button. The recognition area of each touch screen button may have different positions and the same size. For example, the button recognition area may be a circle centered on the center of the display area of the button, a circle having a radius of a certain length, and a circle corresponding to the identification area of each button. the same. The size of the button recognition area can be set and changed as needed, and is not fixed.
步骤S102,确定要显示的可选字符的大小和位置;Step S102, determining a size and a position of an optional character to be displayed;
本实施例中的电子设备具有触摸屏,用户在使用该电子设备时,可以通过点触触摸屏按钮实现对该电子设备的全部或部分操控。字符在按钮上的大小和位置可调,满足了用户在触摸屏上识别和选择字符大小的可能性。可以在屏幕上的功能菜单达到调整各项参数的目的,调整的内容包括了字体大小、位置等调整内容,字符的字体大小,以及字符中的字体大小发生变化时,则获取位置不在行中心的字符的位置信息。The electronic device in this embodiment has a touch screen, and when the user uses the electronic device, all or part of the manipulation of the electronic device can be realized by touching the touch screen button. The size and position of the characters on the buttons are adjustable to satisfy the user's possibility of recognizing and selecting the size of the characters on the touch screen. The function menu can be adjusted on the function menu of the screen. The adjusted content includes the font size, position and other adjustment contents, the font size of the character, and the font size in the character changes. The location information of the character.
步骤S103,加载按钮控件,接收调整按钮位置的指令;Step S103, loading a button control, and receiving an instruction for adjusting a position of the button;
加载控件,通过控件中的指令内容,调整与控件按钮对应的位置,并记录所述调整的起始位置和结束位置,控制指令指示确认接受调整位置后,保存按钮显示区的参考点在显示屏中的位置坐标,可以进一步用示例性算法来确定按钮的位置。Loading the control, adjusting the position corresponding to the control button through the instruction content in the control, and recording the start position and the end position of the adjustment, and after the control instruction indicates confirming acceptance of the adjustment position, saving the reference point of the button display area on the display screen The position coordinates in the middle can be further determined by an exemplary algorithm to determine the position of the button.
步骤S104,根据指令调整按钮的位置,进而显示按钮。In step S104, the position of the button is adjusted according to the instruction, and then the button is displayed.
根据该指令调整与按钮对应的位置,例如,根据需要在触摸屏的任何地方触发修改拨号按钮位置的流程,可以中添加一个菜单项,点击后实现进入调整拨号按钮位置,进而显示当前拨号按钮的布局界面。Adjusting the position corresponding to the button according to the instruction, for example, triggering the process of modifying the position of the dial button anywhere on the touch screen according to the need, and adding a menu item, clicking to realize the position of the adjustment dial button, thereby displaying the layout of the current dial button interface.
在一个实施例中,按钮上显示了至少一个可选择的字符包括一个或多个字母或文字形状的文字或字符。In one embodiment, the button displays at least one selectable character comprising one or more letters or characters of text or characters.
使包含一个或多个文字或字符的部分或全部显示在触摸按钮上,这里使用的字符被定义为包括字母数字字符,图标,符号,单词,术语,短语等及其组合。Some or all of the one or more characters or characters are displayed on the touch button, and the characters used herein are defined to include alphanumeric characters, icons, symbols, words, terms, phrases, and the like, and combinations thereof.
在一个实施例中,所有按钮按顺序被布置在按钮识别区域进一步包括:In one embodiment, all of the buttons are arranged in sequence in the button identification area further comprising:
获取用户在触摸屏上的触屏区域;根据触屏区域的大小,判断触摸屏上按钮的识别区域的大小是否匹配;若不匹配,则将按钮的识别区域的大小调整至与触屏区域的大小相匹配。Obtaining a touch screen area of the user on the touch screen; determining, according to the size of the touch screen area, whether the size of the identification area of the button on the touch screen matches; if not, adjusting the size of the identification area of the button to the size of the touch screen area match.
电子设备可以获取用户在触摸屏上的触点位置,进而确定用户在触摸屏上的触屏区域。该触屏区域的大小代表用户在触摸屏上进行点触操作时用户与触摸屏接触区域的平均大小,不同用户点触形成的该触屏区域大小不一,例如男性手指较粗,点触时形成的触屏区域大于女性点触时形成的触屏区域。用户在触摸屏上形成的该触屏区域可以位于触摸屏上按钮的显示区域,也可以位于触摸屏上的其他位置。在获得用户在触摸屏上的触屏区域后,获取该电子设备中当前设置的按钮的识别区域的大小,然后判断触屏区域的大小与按钮识别区域的大小是否匹配,也就是比较触屏区域的大小是否与按钮识别区域的大小近似。若触屏区域的大小与按钮的识别区域的大小匹配,则无需调整当前的按钮识别区域的大小,若触屏区域的大小与按钮的识别区域的大小不匹配,根据用户在触摸屏上的触屏区域大小调整触摸屏上的按钮的识别区域大小,以使得触屏区域大小与按钮识别区域相匹配。The electronic device can acquire the contact position of the user on the touch screen to determine the touch screen area of the user on the touch screen. The size of the touch screen area represents the average size of the user's contact area with the touch screen when the user performs a touch operation on the touch screen, and the touch screen area formed by different user touches is different in size, for example, the male finger is thick, and the touch is formed. The touch screen area is larger than the touch screen area formed when the female touches. The touch screen area formed by the user on the touch screen may be located in the display area of the button on the touch screen, or may be located at other positions on the touch screen. After obtaining the touch screen area of the user on the touch screen, acquiring the size of the identification area of the button currently set in the electronic device, and then determining whether the size of the touch screen area matches the size of the button recognition area, that is, comparing the touch screen area. Whether the size is similar to the size of the button recognition area. If the size of the touch screen area matches the size of the recognition area of the button, it is not necessary to adjust the size of the current button recognition area. If the size of the touch screen area does not match the size of the identification area of the button, according to the user's touch screen on the touch screen. The area size adjusts the size of the recognition area of the button on the touch screen such that the size of the touch screen area matches the button identification area.
在一个实施例中,根据指令调整按钮的位置,具体步骤为:In one embodiment, the position of the button is adjusted according to the instruction, and the specific steps are:
步骤S201,在触摸屏上显示至少一个按钮,剩余按钮按照顺序被布置,其中B是按钮识别区域的总宽度,Q是按钮与按钮之间的跨度,K为单个按钮的宽度,G是单个按钮的高度,Z是按钮识别区域的总高度;Step S201, displaying at least one button on the touch screen, the remaining buttons are arranged in order, where B is the total width of the button recognition area, Q is the span between the button and the button, K is the width of a single button, and G is a single button Height, Z is the total height of the button recognition area;
B=按钮识别区域的总宽度,B = the total width of the button recognition area,
Q=按钮与按钮之间的跨度,Q=the span between the button and the button,
K=单个按钮的宽度,K = the width of a single button,
G=单个按钮的高度,G=the height of a single button,
Z=按钮识别区域的总高度。Z = button identifies the total height of the area.
步骤S202,如果没有按钮从任何行中移除,则转到步骤S204,否则转到步骤S203;Step S202, if no button is removed from any row, then go to step S204, otherwise go to step S203;
步骤S203,如果有一个按钮从任意一行中被移除,令K=(B-((剩余按钮数量-1)Q))/剩余按钮数量,增加每行中剩余按钮的宽度到新K值;Step S203, if a button is removed from any row, let K = (B - ((number of remaining buttons - 1) Q)) / the number of remaining buttons, increase the width of the remaining buttons in each row to a new K value;
步骤S204,如果不是所有的按钮都从至少一行中移除,则转到步骤S206;Step S204, if not all the buttons are removed from at least one row, then go to step S206;
步骤S205,如果从至少一行中移除了所有的按钮,则对每一个剩余行,令G=(Z-((剩余行数-1)Q))/剩余行数,增加剩余单个按钮的高度到新G值;Step S205, if all the buttons are removed from at least one row, for each remaining row, let G=(Z-((number of remaining rows-1) Q)))/the number of remaining rows, increase the height of the remaining single button To the new G value;
步骤S206,重复执行以上步骤。In step S206, the above steps are repeatedly performed.
举例说明上面算法:Give an example of the above algorithm:
算法的步骤包括字符输入(触摸按钮),确定无效按钮输入(不存在的字符串),移除无效按钮,如果至少一个按钮从任何行被移除,令K=(B-((剩余按钮数量-1)Q))/剩余按钮数量,并将每行中其余按钮的宽度增加到该行的新K值。在步骤S204之后,如果步骤是否,并且如不是所有按钮被移除从至少一行开始,重复步骤206。The steps of the algorithm include character input (touch button), determining invalid button input (a string that does not exist), removing the invalid button, and if at least one button is removed from any line, let K=(B-((number of remaining buttons) -1) Q)) / The number of remaining buttons, and increase the width of the remaining buttons in each row to the new K value of the row. After step S204, if the step is no, and if not all of the buttons are removed starting from at least one line, step 206 is repeated.
如果从至少一行中除去所有按钮,则对于每一剩余行,令G=(Z-((剩余行数-1)Q))/剩余行数,其余单个按钮的高度被增加到新G值。If all buttons are removed from at least one row, for each remaining row, let G = (Z - ((number of remaining rows - 1) Q)) / the number of remaining rows, the height of the remaining individual buttons is increased to the new G value.
在一个实施例中,按钮的数量为一个或多个。In one embodiment, the number of buttons is one or more.
按钮可以是命令按钮(PushButton)、复选框(CheckBox)、组框(GroupBox)和自绘式(Owner-drawButton)按钮等,可以是一个也可以是多个及其组合。The buttons may be a push button (PushButton), a check box (CheckBox), a group box (GroupBox), and a self-drawn (Owner-drawButton) button, etc., and may be one or more, and a combination thereof.
如图3所示,在一个实施例中,提供了一种按钮自适应的装置,该按钮自适应装置包括:As shown in FIG. 3, in one embodiment, a button adaptation apparatus is provided, and the button adaptation apparatus includes:
检测单元,设置为检测操作体接触或靠近显示部件的显示屏幕的位置,从多个按钮中选择与装置的操作状态对应的至少一个按钮,以及使所选择的按钮在所述显示屏幕上移动,从而使所选择的按钮靠近检测到的所述显示屏幕上的位置,所述按钮上显示了至少一个可选择的字符,所有按钮按顺序被布置在按钮识别区域,所述按钮识别区域用于根据用户触屏区域的位置判断用户是否点击该按钮;a detecting unit configured to detect a position at which the operating body contacts or approaches a display screen of the display member, select at least one button corresponding to an operation state of the device from the plurality of buttons, and move the selected button on the display screen, Thereby causing the selected button to be close to the detected position on the display screen, at least one selectable character being displayed on the button, all buttons being arranged in order in the button recognition area, the button recognition area being used according to The position of the user touch screen area determines whether the user clicks the button;
确定单元,设置为确定要显示的可选字符的大小和位置;Determining the unit, setting to determine the size and position of the optional characters to display;
接收单元,设置为加载按钮控件,接收调整按钮位置的指令;a receiving unit, configured to load a button control, and receive an instruction to adjust a position of the button;
调整单元,设置为根据所述指令调整所述按钮的位置,进而显示所述按钮。The adjusting unit is configured to adjust a position of the button according to the instruction, thereby displaying the button.
在一个实施例中,所述按钮上显示了至少一个可选择的字符包括一个或多个字母或文字形状的文字或字符。In one embodiment, the button displays at least one selectable character comprising one or more letters or characters in the form of letters or characters.
在一个实施例中,所述检测单元还设置为获取用户在触摸屏上的触屏区域;根据所述触屏区域的大小,判断所述触摸屏上按钮的识别区域的大小是否匹配;若不匹配,则将所述按钮的识别区域的大小调整至与所述触屏区域的大小相匹配。In an embodiment, the detecting unit is further configured to acquire a touch screen area of the user on the touch screen; and determine, according to the size of the touch screen area, whether the size of the identification area of the button on the touch screen matches; if not, Then, the size of the identification area of the button is adjusted to match the size of the touch screen area.
在一个实施例中,所述调整单元还设置为执行步骤S201,在触摸屏上显示至少一个按钮,剩余按钮按照顺序被布置,其中B是按钮识别区域的总宽度,Q是按钮与按钮之间的跨度,K为单个按钮的宽度,G是单个按钮的高度,Z是按钮识别区域的总高度;步骤S202,如果没有按钮从任何行中移除,则转到步骤S204,否则转到步骤S203;步骤S203,如果有一个按钮从任意一行中被移除,令K=(B-((剩余按钮数量-1)Q))/剩余按钮数量,增加每行中剩余按钮的宽度到新K值;步骤S204,如果不是所有的按钮都从至少一行中移除,则转到步骤S206;步骤S205,如果从至少一行中移除了所有的按钮,则对每一个剩余行,令G=(Z-((剩余行数-1)Q))/剩余行数,增加剩余单个按钮的高度到新G值;步骤S206,重复执行以上步骤。In one embodiment, the adjustment unit is further configured to perform step S201, displaying at least one button on the touch screen, the remaining buttons being arranged in order, wherein B is the total width of the button recognition area, and Q is between the button and the button Span, K is the width of a single button, G is the height of a single button, Z is the total height of the button recognition area; step S202, if no button is removed from any row, then go to step S204, otherwise go to step S203; Step S203, if a button is removed from any row, let K = (B - ((number of remaining buttons - 1) Q)) / the number of remaining buttons, increase the width of the remaining buttons in each row to a new K value; Step S204, if not all the buttons are removed from at least one row, go to step S206; step S205, if all the buttons are removed from at least one row, for each remaining row, let G=(Z- ((number of remaining lines - 1) Q)) / number of remaining lines, increasing the height of the remaining single button to the new G value; step S206, repeating the above steps.
在一个实施例中,所述按钮的数量为一个或多个。In one embodiment, the number of buttons is one or more.
在一个实施例中,提供了一种移动终端,用于实现上述各实施例中按钮自适应的方法,如图3所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以移动终端为手机为例:In one embodiment, a mobile terminal is provided for implementing the method of button adaptation in the foregoing embodiments. As shown in FIG. 3, for the convenience of description, only parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, and the mobile terminal is used as a mobile phone as an example:
图4示出的是与本申请实施例提供的移动终端相关的手机的部分结构的框图。参考图4,手机包括:基带处理模块310、存储器320、输入单元330、显示单元340、传感器350、音频电路360、无线保真(Wireless Fidelity,WiFi) 模块370、处理器380、以及电源390等部件。本领域技术人员可以理解,图4中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 4 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present application. Referring to FIG. 4, the mobile phone includes: a baseband processing module 310, a memory 320, an input unit 330, a display unit 340, a sensor 350, an audio circuit 360, a Wireless Fidelity (WiFi) module 370, a processor 380, and a power supply 390. component. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 4 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
基带处理模块310可用于合成即将发射的基带信号,或对接收到的基带信号进行解码。存储器320可用于存储软件程序以及模块,处理器380通过运行存储在存储器320的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器320可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。输入单元330可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元330可包括触控面板331以及其他输入设备332。显示单元340可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元340可包括显示面板341,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板341。手机还可包括至少一种传感器350,比如光传感器、运动传感器以及其他传感器。音频电路360、扬声器361,传声器362可提供用户与手机之间的音频接口。WiFi属于短距离无线传输技术,手机通过WiFi模块370可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图4示出了WiFi模块370,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变本申请的本质的范围内而省略。处理器380是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器320内的软件程序和/或模块,以及调用存储在存储器320内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。手机还包括给各个部件供电的电源390(比如电池)。尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。The baseband processing module 310 can be used to synthesize the baseband signal to be transmitted or to decode the received baseband signal. The memory 320 can be used to store software programs and modules, and the processor 380 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 320. Memory 320 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The input unit 330 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset. Specifically, the input unit 330 may include a touch panel 331 and other input devices 332. The display unit 340 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit 340 can include a display panel 341. Alternatively, the display panel 341 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. The handset can also include at least one type of sensor 350, such as a light sensor, motion sensor, and other sensors. The audio circuit 360, the speaker 361, and the microphone 362 provide an audio interface between the user and the handset. WiFi is a short-range wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages and access streaming media through the WiFi module 370, which provides users with wireless broadband Internet access. Although FIG. 4 shows the WiFi module 370, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the present application. The processor 380 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 320, and invoking data stored in the memory 320, The phone's various functions and processing data, so that the overall monitoring of the phone. The handset also includes a power source 390 (such as a battery) that powers the various components. Although not shown, the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
在本申请实施例中,该终端所包括的处理器380可以执行上述各实施例里按钮自适应的方法中的步骤。In the embodiment of the present application, the processor 380 included in the terminal may perform the steps in the method of button adaptation in the above embodiments.
在一个实施例中,提出了一种存储有计算机可读指令的存储介质,所述计 算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述各实施例里按钮自适应的方法中的步骤。In one embodiment, a storage medium storing computer readable instructions, when executed by one or more processors, causes one or more processors to execute the buttons of the various embodiments described above The steps in the adaptive method.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the computer program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be considered as the scope of this manual.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments are merely illustrative of several embodiments of the present application, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the claims. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims.

Claims (20)

  1. 一种按钮自适应的方法,包括:A method of button adaptation, including:
    检测操作体接触或靠近显示部件的显示屏幕的位置,从多个按钮中选择与装置的操作状态对应的至少一个按钮,以及使所选择的按钮在所述显示屏幕上移动,从而使所选择的按钮靠近检测到的所述显示屏幕上的位置,所述按钮上显示了至少一个可选择的字符,所有按钮按顺序被布置在按钮识别区域,所述按钮识别区域用于根据用户触屏区域的位置判断用户是否点击该按钮;Detecting a position at which the operating body contacts or approaches a display screen of the display member, selecting at least one button corresponding to an operation state of the device from among the plurality of buttons, and moving the selected button on the display screen, thereby causing the selected one The button is adjacent to the detected position on the display screen, at least one selectable character is displayed on the button, and all the buttons are arranged in order in the button recognition area, the button recognition area being used according to the touch screen area of the user The location determines whether the user clicks the button;
    确定要显示的可选字符的大小和位置;Determine the size and location of the optional characters to display;
    加载按钮控件,接收调整按钮位置的指令;Loading a button control to receive an instruction to adjust the position of the button;
    根据所述指令调整所述按钮的位置,进而显示所述按钮。Adjusting the position of the button according to the instruction, thereby displaying the button.
  2. 根据权利要求1所述的按钮自适应的方法,其中,所述按钮上显示了至少一个可选择的字符包括一个或多个字母或文字形状的文字或字符。A method of button adaptation according to claim 1 wherein said button displays at least one selectable character comprising one or more letters or characters of text or characters.
  3. 根据权利要求1所述的按钮自适应的方法,其中,所有按钮按顺序被布置在按钮识别区域,包括:The method of button adaptation according to claim 1, wherein all of the buttons are arranged in the button recognition area in order, including:
    获取用户在触摸屏上的触屏区域;根据所述触屏区域的大小,判断所述触摸屏上按钮的识别区域的大小是否匹配;若不匹配,则将所述按钮的识别区域的大小调整至与所述触屏区域的大小相匹配。Obtaining a touch screen area of the user on the touch screen; determining, according to the size of the touch screen area, whether the size of the identification area of the button on the touch screen matches; if not, adjusting the size of the identification area of the button to The size of the touch screen area matches.
  4. 根据权利要求1所述的按钮自适应的方法,其中,所述根据所述指令调整所述按钮的位置,包括:The method of adapting a button according to claim 1, wherein the adjusting the position of the button according to the instruction comprises:
    步骤S201,在触摸屏上显示至少一个按钮,剩余按钮按照顺序被布置,其中B是按钮识别区域的总宽度,Q是按钮与按钮之间的跨度,K为单个按钮的宽度,G是单个按钮的高度,Z是按钮识别区域的总高度;Step S201, displaying at least one button on the touch screen, the remaining buttons are arranged in order, where B is the total width of the button recognition area, Q is the span between the button and the button, K is the width of a single button, and G is a single button Height, Z is the total height of the button recognition area;
    步骤S202,如果没有按钮从任何行中移除,则转到步骤S204,否则转到步骤S203;Step S202, if no button is removed from any row, then go to step S204, otherwise go to step S203;
    步骤S203,如果有一个按钮从任意一行中被移除,令K=(B-((剩余按钮数量-1)Q))/剩余按钮数量,增加每行中剩余按钮的宽度到新K值;Step S203, if a button is removed from any row, let K = (B - ((number of remaining buttons - 1) Q)) / the number of remaining buttons, increase the width of the remaining buttons in each row to a new K value;
    步骤S204,如果不是所有的按钮都从至少一行中移除,则转到步骤S206;Step S204, if not all the buttons are removed from at least one row, then go to step S206;
    步骤S205,如果从至少一行中移除了所有的按钮,则对每一个剩余行,令G=(Z-((剩余行数-1)Q))/剩余行数,增加剩余单个按钮的高度到新G值;Step S205, if all the buttons are removed from at least one row, for each remaining row, let G=(Z-((number of remaining rows-1) Q)))/the number of remaining rows, increase the height of the remaining single button To the new G value;
    步骤S206,重复执行以上步骤。In step S206, the above steps are repeatedly performed.
  5. 根据权利要求1所述的按钮自适应的方法,其中,所述按钮的数量为一个或多个。The method of button adaptation according to claim 1, wherein the number of the buttons is one or more.
  6. 一种按钮自适应的装置,包括:A button adaptive device comprising:
    检测单元,设置为检测操作体接触或靠近显示部件的显示屏幕的位置,从多个按钮中选择与装置的操作状态对应的至少一个按钮,以及使所选择的按钮在所述显示屏幕上移动,从而使所选择的按钮靠近检测到的所述显示屏幕上的位置,所述按钮上显示了至少一个可选择的字符,所有按钮按顺序被布置在按钮识别区域,所述按钮识别区域用于根据用户触屏区域的位置判断用户是否点击该按钮;a detecting unit configured to detect a position at which the operating body contacts or approaches a display screen of the display member, select at least one button corresponding to an operation state of the device from the plurality of buttons, and move the selected button on the display screen, Thereby causing the selected button to be close to the detected position on the display screen, at least one selectable character being displayed on the button, all buttons being arranged in order in the button recognition area, the button recognition area being used according to The position of the user touch screen area determines whether the user clicks the button;
    确定单元,设置为确定要显示的可选字符的大小和位置;Determining the unit, setting to determine the size and position of the optional characters to display;
    接收单元,设置为加载按钮控件,接收调整按钮位置的指令;a receiving unit, configured to load a button control, and receive an instruction to adjust a position of the button;
    调整单元,设置为根据所述指令调整所述按钮的位置,进而显示所述按钮。The adjusting unit is configured to adjust a position of the button according to the instruction, thereby displaying the button.
  7. 根据权利要求6所述的按钮自适应的装置,其中,所述按钮上显示了至少一个可选择的字符包括一个或多个字母或文字形状的文字或字符。The button adaptive device of claim 6, wherein the button displays at least one selectable character comprising one or more letters or characters in the form of letters or characters.
  8. 根据权利要求6所述的按钮自适应的装置,其中,所述检测单元还设置为获取用户在触摸屏上的触屏区域;根据所述触屏区域的大小,判断所述触摸屏上按钮的识别区域的大小是否匹配;若不匹配,则将所述按钮的识别区域的大小调整至与所述触屏区域的大小相匹配。The device for adapting a button according to claim 6, wherein the detecting unit is further configured to acquire a touch screen area of the user on the touch screen; and determine an identification area of the button on the touch screen according to the size of the touch screen area Whether the size matches; if not, the size of the identification area of the button is adjusted to match the size of the touch screen area.
  9. 根据权利要求6所述的按钮自适应的装置,其中,所述调整单元还设置为步骤S201,在触摸屏上显示至少一个按钮,剩余按钮按照顺序被布置,其中B是按钮识别区域的总宽度,Q是按钮与按钮之间的跨度,K为单个按钮的宽度,G是单个按钮的高度,Z是按钮识别区域的总高度;步骤S202,如果没有按钮从任何行中移除,则转到步骤S204,否则转到步骤S203;步骤S203,如果有一个按钮从任意一行中被移除,令K=(B-((剩余按钮数量-1)Q))/剩余按钮数量,增加每行中剩余按钮的宽度到新K值;步骤S204,如果不是所有的按钮都从至少一行中移除,则转到步骤S206;步骤S205,如果从至少一行中移除了所有的按钮,则对每一个剩余行,令G=(Z-((剩余行数-1)Q))/剩余行数,增加剩余单个 按钮的高度到新G值;步骤S206,重复执行以上步骤。The apparatus for adapting a button according to claim 6, wherein the adjusting unit is further provided as step S201, at least one button is displayed on the touch screen, and the remaining buttons are arranged in order, wherein B is the total width of the button recognition area, Q is the span between the button and the button, K is the width of the single button, G is the height of the single button, Z is the total height of the button recognition area; step S202, if no button is removed from any line, then go to the step S204, otherwise go to step S203; step S203, if a button is removed from any row, let K = (B - ((number of remaining buttons - 1) Q)) / number of remaining buttons, increase the remaining in each row The width of the button to the new K value; step S204, if not all the buttons are removed from at least one line, go to step S206; step S205, if all the buttons are removed from at least one line, then for each remaining For the line, let G = (Z - ((number of remaining lines - 1) Q)) / the number of remaining lines, increase the height of the remaining single button to the new G value; step S206, repeat the above steps.
  10. 根据权利要求6所述的按钮自适应的装置,其中,所述按钮的数量为一个或多个。The button adaptive device of claim 6, wherein the number of the buttons is one or more.
  11. 一种移动终端,包括:A mobile terminal includes:
    触敏显示器;Touch sensitive display
    存储器;Memory
    一个或多个处理器;One or more processors;
    所述一个或多个处理器被配置为用于执行以下步骤:The one or more processors are configured to perform the following steps:
    检测操作体接触或靠近显示部件的显示屏幕的位置,从多个按钮中选择与装置的操作状态对应的至少一个按钮,以及使所选择的按钮在所述显示屏幕上移动,从而使所选择的按钮靠近检测到的所述显示屏幕上的位置,所述按钮上显示了至少一个可选择的字符,所有按钮按顺序被布置在按钮识别区域,所述按钮识别区域用于根据用户触屏区域的位置判断用户是否点击该按钮;Detecting a position at which the operating body contacts or approaches a display screen of the display member, selecting at least one button corresponding to an operation state of the device from among the plurality of buttons, and moving the selected button on the display screen, thereby causing the selected one The button is adjacent to the detected position on the display screen, at least one selectable character is displayed on the button, and all the buttons are arranged in order in the button recognition area, the button recognition area being used according to the touch screen area of the user The location determines whether the user clicks the button;
    确定要显示的可选字符的大小和位置;Determine the size and location of the optional characters to display;
    加载按钮控件,接收调整按钮位置的指令;Loading a button control to receive an instruction to adjust the position of the button;
    根据所述指令调整所述按钮的位置,进而显示所述按钮。Adjusting the position of the button according to the instruction, thereby displaying the button.
  12. 根据权利要求11所述的移动终端,其中,所述按钮上显示了至少一个可选择的字符包括一个或多个字母或文字形状的文字或字符。The mobile terminal of claim 11, wherein the button displays at least one selectable character comprising one or more letters or characters in the form of letters or characters.
  13. 根据权利要求11所述的移动终端,其中,所有按钮按顺序被布置在按钮识别区域,所述一个或多个处理器被配置为用于执行以下步骤:The mobile terminal of claim 11, wherein all of the buttons are arranged in order in the button identification area, the one or more processors being configured to perform the following steps:
    获取用户在触摸屏上的触屏区域;根据所述触屏区域的大小,判断所述触摸屏上按钮的识别区域的大小是否匹配;若不匹配,则将所述按钮的识别区域的大小调整至与所述触屏区域的大小相匹配。Obtaining a touch screen area of the user on the touch screen; determining, according to the size of the touch screen area, whether the size of the identification area of the button on the touch screen matches; if not, adjusting the size of the identification area of the button to The size of the touch screen area matches.
  14. 根据权利要求11所述的移动终端,其中,所述根据所述指令调整所述按钮的位置,所述一个或多个处理器被配置为用于执行以下步骤:The mobile terminal of claim 11, wherein the adjusting the position of the button according to the instruction, the one or more processors are configured to perform the following steps:
    步骤S201,在触摸屏上显示至少一个按钮,剩余按钮按照顺序被布置,其中B是按钮识别区域的总宽度,Q是按钮与按钮之间的跨度,K为单个按钮的宽度,G是单个按钮的高度,Z是按钮识别区域的总高度;Step S201, displaying at least one button on the touch screen, the remaining buttons are arranged in order, where B is the total width of the button recognition area, Q is the span between the button and the button, K is the width of a single button, and G is a single button Height, Z is the total height of the button recognition area;
    步骤S202,如果没有按钮从任何行中移除,则转到步骤S204,否则转到步骤S203;Step S202, if no button is removed from any row, then go to step S204, otherwise go to step S203;
    步骤S203,如果有一个按钮从任意一行中被移除,令K=(B-((剩余按钮数量-1)Q))/剩余按钮数量,增加每行中剩余按钮的宽度到新K值;Step S203, if a button is removed from any row, let K = (B - ((number of remaining buttons - 1) Q)) / the number of remaining buttons, increase the width of the remaining buttons in each row to a new K value;
    步骤S204,如果不是所有的按钮都从至少一行中移除,则转到步骤S206;Step S204, if not all the buttons are removed from at least one row, then go to step S206;
    步骤S205,如果从至少一行中移除了所有的按钮,则对每一个剩余行,令G=(Z-((剩余行数-1)Q))/剩余行数,增加剩余单个按钮的高度到新G值;Step S205, if all the buttons are removed from at least one row, for each remaining row, let G=(Z-((number of remaining rows-1) Q)))/the number of remaining rows, increase the height of the remaining single button To the new G value;
    步骤S206,重复执行以上步骤。In step S206, the above steps are repeatedly performed.
  15. 根据权利要求11所述的移动终端,其中,所述按钮的数量为一个或多个。The mobile terminal of claim 11, wherein the number of the buttons is one or more.
  16. 一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:A storage medium storing computer readable instructions that, when executed by one or more processors, cause one or more processors to perform the steps of:
    检测操作体接触或靠近显示部件的显示屏幕的位置,从多个按钮中选择与装置的操作状态对应的至少一个按钮,以及使所选择的按钮在所述显示屏幕上移动,从而使所选择的按钮靠近检测到的所述显示屏幕上的位置,所述按钮上显示了至少一个可选择的字符,所有按钮按顺序被布置在按钮识别区域,所述按钮识别区域用于根据用户触屏区域的位置判断用户是否点击该按钮;Detecting a position at which the operating body contacts or approaches a display screen of the display member, selecting at least one button corresponding to an operation state of the device from among the plurality of buttons, and moving the selected button on the display screen, thereby causing the selected one The button is adjacent to the detected position on the display screen, at least one selectable character is displayed on the button, and all the buttons are arranged in order in the button recognition area, the button recognition area being used according to the touch screen area of the user The location determines whether the user clicks the button;
    确定要显示的可选字符的大小和位置;Determine the size and location of the optional characters to display;
    加载按钮控件,接收调整按钮位置的指令;Loading a button control to receive an instruction to adjust the position of the button;
    根据所述指令调整所述按钮的位置,进而显示所述按钮。Adjusting the position of the button according to the instruction, thereby displaying the button.
  17. 根据权利要求16所述的存储介质,其中,所述按钮上显示了至少一个可选择的字符包括一个或多个字母或文字形状的文字或字符。The storage medium of claim 16, wherein the button displays at least one selectable character comprising one or more letters or characters in the form of letters or characters.
  18. 根据权利要求16所述的存储介质,其中,所有按钮按顺序被布置在按钮识别区域,使得一个或多个处理器执行以下步骤:The storage medium of claim 16, wherein all of the buttons are arranged in the button identification area in order such that the one or more processors perform the following steps:
    获取用户在触摸屏上的触屏区域;根据所述触屏区域的大小,判断所述触摸屏上按钮的识别区域的大小是否匹配;若不匹配,则将所述按钮的识别区域的大小调整至与所述触屏区域的大小相匹配。Obtaining a touch screen area of the user on the touch screen; determining, according to the size of the touch screen area, whether the size of the identification area of the button on the touch screen matches; if not, adjusting the size of the identification area of the button to The size of the touch screen area matches.
  19. 根据权利要求16所述的存储介质,其中,所述根据所述指令调整所述 按钮的位置,使得一个或多个处理器执行以下步骤:The storage medium of claim 16, wherein said adjusting a position of said button in accordance with said instruction causes one or more processors to perform the following steps:
    步骤S201,在触摸屏上显示至少一个按钮,剩余按钮按照顺序被布置,其中B是按钮识别区域的总宽度,Q是按钮与按钮之间的跨度,K为单个按钮的宽度,G是单个按钮的高度,Z是按钮识别区域的总高度;Step S201, displaying at least one button on the touch screen, the remaining buttons are arranged in order, where B is the total width of the button recognition area, Q is the span between the button and the button, K is the width of a single button, and G is a single button Height, Z is the total height of the button recognition area;
    步骤S202,如果没有按钮从任何行中移除,则转到步骤S204,否则转到步骤S203;Step S202, if no button is removed from any row, then go to step S204, otherwise go to step S203;
    步骤S203,如果有一个按钮从任意一行中被移除,令K=(B-((剩余按钮数量-1)Q))/剩余按钮数量,增加每行中剩余按钮的宽度到新K值;Step S203, if a button is removed from any row, let K = (B - ((number of remaining buttons - 1) Q)) / the number of remaining buttons, increase the width of the remaining buttons in each row to a new K value;
    步骤S204,如果不是所有的按钮都从至少一行中移除,则转到步骤S206;Step S204, if not all the buttons are removed from at least one row, then go to step S206;
    步骤S205,如果从至少一行中移除了所有的按钮,则对每一个剩余行,令G=(Z-((剩余行数-1)Q))/剩余行数,增加剩余单个按钮的高度到新G值;Step S205, if all the buttons are removed from at least one row, for each remaining row, let G=(Z-((number of remaining rows-1) Q)))/the number of remaining rows, increase the height of the remaining single button To the new G value;
    步骤S206,重复执行以上步骤。In step S206, the above steps are repeatedly performed.
  20. 根据权利要求16所述的存储介质,其中,所述按钮的数量为一个或多个。The storage medium of claim 16, wherein the number of the buttons is one or more.
PCT/CN2018/104117 2018-03-18 2018-09-05 Button self-adaptive method and device, mobile terminal and storage medium WO2019179052A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810221798.0 2018-03-18
CN201810221798.0A CN108614653A (en) 2018-03-18 2018-03-18 The adaptive method, apparatus of button, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
WO2019179052A1 true WO2019179052A1 (en) 2019-09-26

Family

ID=63658947

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/104117 WO2019179052A1 (en) 2018-03-18 2018-09-05 Button self-adaptive method and device, mobile terminal and storage medium

Country Status (2)

Country Link
CN (1) CN108614653A (en)
WO (1) WO2019179052A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115185424B (en) * 2022-08-09 2023-11-21 杭州云合智网技术有限公司 Uploading method for adaptively adjusting size of file uploading button

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073454A (en) * 2011-01-13 2011-05-25 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and input control method for touch panel
CN103500063A (en) * 2013-09-24 2014-01-08 小米科技有限责任公司 Virtual keyboard display method and device and terminal
JP2014102575A (en) * 2012-11-16 2014-06-05 Nec Casio Mobile Communications Ltd Information processing device, display control method, and program
CN103927101A (en) * 2014-03-27 2014-07-16 小米科技有限责任公司 Method and device for controlling ActiveX
CN106155452A (en) * 2015-03-23 2016-11-23 华为技术有限公司 The implementation method of a kind of one-handed performance and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5511682B2 (en) * 2008-12-04 2014-06-04 三菱電機株式会社 Display input device and navigation system
JP5218353B2 (en) * 2009-09-14 2013-06-26 ソニー株式会社 Information processing apparatus, display method, and program
CN103246475B (en) * 2013-04-27 2016-03-09 华为终端有限公司 A kind of method of adjustment of button identification area and device
KR20150059504A (en) * 2013-11-22 2015-06-01 삼성전자주식회사 Method and apparatus for controlling screen of portable electronic device
CN105808067A (en) * 2016-03-17 2016-07-27 努比亚技术有限公司 Icon moving method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073454A (en) * 2011-01-13 2011-05-25 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and input control method for touch panel
JP2014102575A (en) * 2012-11-16 2014-06-05 Nec Casio Mobile Communications Ltd Information processing device, display control method, and program
CN103500063A (en) * 2013-09-24 2014-01-08 小米科技有限责任公司 Virtual keyboard display method and device and terminal
CN103927101A (en) * 2014-03-27 2014-07-16 小米科技有限责任公司 Method and device for controlling ActiveX
CN106155452A (en) * 2015-03-23 2016-11-23 华为技术有限公司 The implementation method of a kind of one-handed performance and terminal

Also Published As

Publication number Publication date
CN108614653A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
US11880550B2 (en) Device, method, and graphical user interface for navigation of concurrently open software applications
US9442654B2 (en) Apparatus and method for conditionally enabling or disabling soft buttons
US10007426B2 (en) Device, method, and graphical user interface for performing character entry
US8730188B2 (en) Gesture input on a portable electronic device and method of controlling the same
US20200409551A1 (en) Systems and methods for activating and using a trackpad at an electronic device with a touch-sensitive display and no force sensors
EP3005066B1 (en) Multiple graphical keyboards for continuous gesture input
CA2911850C (en) Portable electronic device and method of controlling display of selectable elements
US20210405870A1 (en) Systems and methods for activating and using a trackpad at an electronic device with a touch-sensitive display and no force sensors
US9009624B2 (en) Keyboard gestures for character string replacement
US8830200B2 (en) Electronic device with touch-sensitive display and method of facilitating input at the electronic device
US10180780B2 (en) Portable electronic device including touch-sensitive display and method of controlling selection of information
KR20150091512A (en) Swipe stroke input and continuous handwriting
EP2909702B1 (en) Contextually-specific automatic separators
WO2019179052A1 (en) Button self-adaptive method and device, mobile terminal and storage medium
US20110163963A1 (en) Portable electronic device and method of controlling same
US8866747B2 (en) Electronic device and method of character selection
EP2469384A1 (en) Portable electronic device and method of controlling same
CN113076010A (en) Input method, input device, electronic apparatus, and medium
EP3803561A1 (en) Systems and methods for activating and using a trackpad at an electronic device with a touch-sensitive display and no force sensors
EP2570893A1 (en) Electronic device and method of character selection
KR20130140361A (en) Method for inputting data in terminal having touchscreen and apparatus thereof

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

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

Country of ref document: EP

Kind code of ref document: A1