[go: up one dir, main page]

CN112379819A - Key adjusting method and device, electronic equipment and storage medium - Google Patents

Key adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112379819A
CN112379819A CN202011317018.6A CN202011317018A CN112379819A CN 112379819 A CN112379819 A CN 112379819A CN 202011317018 A CN202011317018 A CN 202011317018A CN 112379819 A CN112379819 A CN 112379819A
Authority
CN
China
Prior art keywords
area
soft keyboard
touch screen
key
sensing
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202011317018.6A
Other languages
Chinese (zh)
Inventor
孟怀鹏
王增
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Sensetime Technology Co Ltd
Original Assignee
Shenzhen Sensetime Technology Co Ltd
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 Shenzhen Sensetime Technology Co Ltd filed Critical Shenzhen Sensetime Technology Co Ltd
Priority to CN202011317018.6A priority Critical patent/CN112379819A/en
Publication of CN112379819A publication Critical patent/CN112379819A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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

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)

Abstract

本申请提供了一种按键调整方法、装置、电子设备及存储介质,其中,该按键调整方法包括:获取电子设备的触摸屏的感应区域;所述感应区域为用户的手指与所述触摸屏之间的距离小于或等于预设值时产生的;将所述感应区域的面积与所述触摸屏显示的软键盘按键的面积进行比较,得到比较结果;根据所述比较结果对所述软键盘按键的大小进行调整。本申请实施例可以实现针对不同用户对软键盘按键进行调整,从而使得用户在输入时不容易误触到相邻按键,进而降低误输入率。

Figure 202011317018

The present application provides a key adjustment method, device, electronic device and storage medium, wherein the key adjustment method includes: acquiring a sensing area of a touch screen of an electronic device; the sensing area is a contact area between a user's finger and the touch screen. It is generated when the distance is less than or equal to the preset value; compare the area of the sensing area with the area of the soft keyboard keys displayed on the touch screen, and obtain a comparison result; according to the comparison results, the size of the soft keyboard keys is calculated. Adjustment. The embodiments of the present application can realize the adjustment of the soft keyboard keys for different users, so that the user is less likely to touch adjacent keys by mistake during input, thereby reducing the false input rate.

Figure 202011317018

Description

Key adjusting method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method and an apparatus for adjusting a key, an electronic device, and a storage medium.
Background
The development of electronic equipment, especially mobile phones, tablets, notebook computers and other equipment brings great convenience to daily life of people. Electronic equipment on the market at present usually has a touch function, and due to the physical properties of the electronic equipment, the touch screen area serving as an input interface is usually small, which limits the size of soft keyboard keys on a display screen used in cooperation with the touch screen, and when a user uses the soft keyboard for inputting, the user is easy to touch adjacent keys by mistake, which results in high wrong input rate.
Disclosure of Invention
In view of the above problems, the present application provides a key adjustment method, device, electronic device and storage medium, which are beneficial to reducing the rate of incorrect input when a user uses the electronic device for input.
In order to achieve the above object, an embodiment of the present application provides a key adjustment method, including:
acquiring a sensing area of a touch screen of the electronic equipment; the sensing area is generated when the distance between the finger of the user and the touch screen is smaller than or equal to a preset value;
comparing the area of the induction area with the area of the soft keyboard key displayed by the touch screen to obtain a comparison result;
and adjusting the size of the soft keyboard key according to the comparison result.
In one possible embodiment, before comparing the area of the sensing region with the area of the soft keyboard key displayed on the touch screen, the method further comprises:
receiving a first near field communication signal sent by a touch circuit of the touch screen;
and determining the area of the soft keyboard key according to the first near field communication signal.
In one possible embodiment, the first near field communication signal comprises position information of the soft keyboard keys; the determining the area of the soft keyboard key according to the first near field communication signal comprises:
demodulating the first near field communication signal to obtain the position information;
and determining the area of the soft keyboard key based on the position information.
In a possible implementation manner, the resizing the soft keyboard keys according to the comparison result includes:
if the area of the induction area is larger than that of the soft keyboard key, increasing the area of the soft keyboard key according to a preset proportion to obtain the adjusted area of the soft keyboard key;
comparing the adjusted area of the soft keyboard key with the area of the induction area;
and executing at least one adjustment operation on the size of the soft keyboard key until the area of the adjusted soft keyboard key is larger than or equal to the area of the induction area.
In a possible implementation manner, the acquiring a sensing area of a touch screen of an electronic device includes:
receiving a second near field communication signal sent by the touch circuit;
demodulating the second near field communication signal to obtain an area where electrostatic capacitance at the intersection of the X-axis electrode and the Y-axis electrode of the touch screen is larger than or equal to a threshold value;
determining a region where the electrostatic capacitance is greater than or equal to a threshold as the sensing region.
In one possible implementation, scanning, by the touch control circuit, an area where the electrostatic capacitance is greater than or equal to a threshold value by X-axis and Y-axis electrodes of the touch screen; the first near field communication signal is sent by the touch control circuit when the area with the electrostatic capacitance larger than or equal to the threshold value is detected.
Other embodiments of the present application provide a key adjustment apparatus, including:
the sensing acquisition module is used for acquiring a sensing area of a touch screen of the electronic equipment; the sensing area is generated when the distance between the finger of the user and the touch screen is smaller than or equal to a preset value;
the comparison module is used for comparing the area of the induction area with the area of the soft keyboard key displayed by the touch screen to obtain a comparison result;
and the key adjusting module is used for adjusting the size of the soft keyboard key according to the comparison result.
Other embodiments of the present application provide an electronic device comprising an input device, an output device, and a processor adapted to implement one or more instructions; and a computer storage medium storing one or more instructions adapted to be loaded by the processor and to perform the steps of:
acquiring a sensing area of a touch screen of the electronic equipment; the sensing area is generated when the distance between the finger of the user and the touch screen is smaller than or equal to a preset value;
comparing the area of the induction area with the area of the soft keyboard key displayed by the touch screen to obtain a comparison result;
and adjusting the size of the soft keyboard key according to the comparison result.
Still other embodiments of the present application provide a computer storage medium having stored thereon one or more instructions adapted to be loaded by a processor and to perform the steps of:
acquiring a sensing area of a touch screen of the electronic equipment; the sensing area is generated when the distance between the finger of the user and the touch screen is smaller than or equal to a preset value;
comparing the area of the induction area with the area of the soft keyboard key displayed by the touch screen to obtain a comparison result;
and adjusting the size of the soft keyboard key according to the comparison result.
It can be seen that, in the embodiment of the application, the sensing area of the touch screen of the electronic device is obtained; the sensing area is generated when the distance between the finger of the user and the touch screen is smaller than or equal to a preset value; comparing the area of the induction area with the area of the soft keyboard key displayed by the touch screen to obtain a comparison result; and adjusting the size of the soft keyboard key according to the comparison result. Therefore, when a user uses the touch screen of the electronic equipment, the induction area of the touch screen is obtained, the area of the induction area is compared with the area of a single key of the soft keyboard on the touch screen, the size of the single key is adjusted according to the comparison result, the soft keyboard key is adjusted for different users, and therefore the user is enabled not to touch adjacent keys by mistake when inputting, and further the wrong input rate is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a key adjustment method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating the generation of a sensing region according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a touch screen transparent electrode layer according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another key adjustment method according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a key adjustment device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another key adjustment device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "comprising" and "having," and any variations thereof, as appearing in the specification, claims and drawings of this application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.
The embodiment of the application provides a scheme for adjusting the size of the keys of the soft keyboard aiming at the electronic equipment with the projection type capacitive touch screen, the scheme detects whether a sensing area exists on the touch screen, if so, the area size of the sensing area is obtained, in addition, the area of the single key of the soft keyboard on the touch screen is obtained through interaction with the touch circuit of the touch screen, the area of the induction area is compared with the area of the single key of the soft keyboard, if the area of the induction area is larger than the area of the single key of the soft keyboard, the area of the single key of the soft keyboard is increased according to the preset proportion each time until the area of the single key of the soft keyboard is smaller than or equal to the area of the induction area, therefore, the area of a single key of the soft keyboard can be flexibly adjusted according to the sizes of fingers of different users, and the error input rate of the user during input by using the electronic equipment is favorably reduced.
The key adjustment method provided by the embodiment of the application is explained in detail below with reference to the related drawings.
Referring to fig. 1, fig. 1 is a schematic flow chart of a key adjustment method provided in an embodiment of the present application, and is applied to an electronic device, where the electronic device includes a Central Processing Unit (CPU) for controlling display and touch functions and a touch circuit of a touch screen, the CPU is electrically connected to the touch circuit, and the method is executed by the CPU, as shown in fig. 1, and includes steps S11-S13:
s11, acquiring a sensing area of a touch screen of the electronic equipment; the sensing area is generated when the distance between the finger of the user and the touch screen is smaller than or equal to a preset value.
In the embodiment of the present application, the touch screen is a projected capacitive touch screen, a human body can conduct electricity due to a large amount of moisture, as shown in fig. 2, during use of the electronic device, as the user's finger gradually approaches the touch screen, when the distance between the finger of the user and the touch screen is less than or equal to the preset value, even if the finger does not contact the touch screen, the coupling capacitance is generated between the finger and the electrode of the touch screen, the coupling capacitance can change the electrostatic capacitance at the intersection of the X-axis electrode and the Y-axis electrode of the touch screen, as shown in fig. 3, the touch screen includes a transparent electrode layer X and a transparent electrode layer Y which are distributed in a matrix form, and a touch circuit of the touch screen scans the X-axis and the Y-axis of the matrix to detect an area where the electrostatic capacitance at the intersection of the X-axis electrode and the Y-axis electrode is greater than or equal to a threshold value, that is, an area where the electrostatic capacitance is increased due to the generation of the coupling capacitance.
The touch control circuit sends out a near field communication signal (namely a second near field communication signal) under the condition that the area with the electrostatic capacitance larger than or equal to the threshold value is detected, the near field communication signal comprises specific position information of the area with the electrostatic capacitance larger than or equal to the threshold value, after the main control CPU receives the near field communication signal, the near field communication signal is demodulated to obtain the specific position information of the area with the electrostatic capacitance larger than or equal to the threshold value, and the area with the electrostatic capacitance larger than or equal to the threshold value is determined as an induction area on the touch screen according to the specific position information. It can be understood that, compared with a scheme that the size of the soft keyboard key is adjusted by taking the actual pressing area of the finger of the user and the touch screen as the sensing area, determining the sensing area according to the coupling capacitance is beneficial to improving the accuracy of judging the actual size of the finger of the user, thereby being more beneficial to the accuracy of adjusting the size of the subsequent soft keyboard key.
And S12, comparing the area of the induction area with the area of the soft keyboard key displayed by the touch screen to obtain a comparison result.
In the embodiment of the present application, after detecting an area where the electrostatic capacitance is greater than or equal to the threshold, the touch circuit indicates that a touch event is or is about to occur, at this time, the touch circuit sends a near field communication signal (i.e., a first near field communication signal), where the near field communication signal includes position information of a single key of the soft keyboard displayed on the touch screen, and after receiving the near field communication signal, the main control CPU demodulates the near field communication signal to obtain the position information of the single key of the soft keyboard, and then calculates an area S1 of the single key according to the position information. In addition, after acquiring the sensing area, the main control CPU can obtain the area S2, and compare S1 with S2 to obtain a comparison result.
And S13, adjusting the size of the soft keyboard key according to the comparison result.
In this embodiment of the application, if the comparison result indicates that S2 is greater than S1, the size of the soft keyboard key is increased according to a preset ratio, for example, S1 is increased by 10% to obtain an adjusted area S3, then S3 is compared with S2, if S2 is still greater than S3, the size of the soft keyboard key is continuously increased according to the preset ratio, for example, S3 is increased by 10% to obtain a re-adjusted area S4, then S4 is compared with S2, and at least one operation of adjusting the size of the soft keyboard key is performed until the area S2 of the sensing region is less than or equal to the area Sn of the adjusted soft keyboard key. Optionally, if the comparison result indicates that the area of the sensing region is smaller than or equal to the area of the soft keyboard key, the size of the soft keyboard key is not adjusted.
It can be seen that, in the embodiment of the application, the sensing area of the touch screen of the electronic device is obtained; the sensing area is generated when the distance between the finger of the user and the touch screen is smaller than or equal to a preset value; comparing the area of the induction area with the area of the soft keyboard key displayed by the touch screen to obtain a comparison result; and adjusting the size of the soft keyboard key according to the comparison result. Therefore, when a user uses the touch screen of the electronic equipment, the induction area of the touch screen is obtained, the area of the induction area is compared with the area of a single key of the soft keyboard on the touch screen, the size of the single key is adjusted according to the comparison result, the soft keyboard key is adjusted for different users, and therefore the user is enabled not to touch adjacent keys by mistake when inputting, and further the wrong input rate is reduced.
Referring to fig. 4, fig. 4 is a schematic flow chart of another key adjustment method according to an embodiment of the present application, as shown in fig. 4, including steps S41-S45:
s41, acquiring a sensing area of a touch screen of the electronic equipment; the sensing area is generated when the distance between the finger of the user and the touch screen is smaller than or equal to a preset value;
s42, receiving a first near field communication signal sent by a touch circuit of the touch screen;
s43, determining the area of the soft keyboard key displayed by the touch screen according to the first near field communication signal;
in one possible embodiment, the first near field communication signal comprises position information of the soft keyboard keys; the determining the area of the soft keyboard key displayed by the touch screen according to the first near field communication signal includes:
demodulating the first near field communication signal to obtain the position information;
and determining the area of the soft keyboard key based on the position information.
S44, comparing the area of the induction area with the area of the soft keyboard key to obtain a comparison result;
and S45, adjusting the size of the soft keyboard key according to the comparison result.
In a possible implementation manner, the adjusting the size of the soft keyboard key according to the comparison result includes:
if the area of the induction area is larger than that of the soft keyboard key, increasing the area of the soft keyboard key according to a preset proportion to obtain the adjusted area of the soft keyboard key;
comparing the adjusted area of the soft keyboard key with the area of the induction area;
and executing at least one adjustment operation on the size of the soft keyboard key until the area of the adjusted soft keyboard key is larger than or equal to the area of the induction area.
In a possible implementation manner, the acquiring a sensing area of a touch screen of an electronic device includes:
receiving a second near field communication signal sent by the touch circuit;
demodulating the second near field communication signal to obtain an area where electrostatic capacitance at the intersection of the X-axis electrode and the Y-axis electrode of the touch screen is larger than or equal to a threshold value;
determining a region where the electrostatic capacitance is greater than or equal to a threshold as the sensing region.
Scanning an X-axis electrode and a Y-axis electrode of the touch screen through the touch circuit to detect an area of which the electrostatic capacitance is greater than or equal to a threshold value; the first near field communication signal is sent by the touch control circuit when the area with the electrostatic capacitance larger than or equal to the threshold value is detected.
The specific implementation of the steps S41-S45 is described in the embodiment shown in fig. 1, and can achieve the same or similar advantages, and will not be described herein again.
Based on the description of the method embodiment shown in fig. 1 or fig. 4, an embodiment of the present application further provides a key adjustment device, please refer to fig. 5, where fig. 5 is a schematic structural diagram of the key adjustment device provided in the embodiment of the present application, and as shown in fig. 5, the device includes:
the sensing acquisition module 51 is configured to acquire a sensing area of a touch screen of the electronic device; the sensing area is generated when the distance between the finger of the user and the touch screen is smaller than or equal to a preset value;
the comparison module 52 is configured to compare the area of the sensing area with the area of the soft keyboard key displayed on the touch screen to obtain a comparison result;
and the key adjusting module 53 is configured to adjust the size of the soft keyboard key according to the comparison result.
In one possible embodiment, as shown in fig. 6, the device further comprises a key acquisition module 54; the key acquisition module 54 is configured to:
receiving a first near field communication signal sent by a touch circuit of the touch screen;
and determining the area of the soft keyboard key according to the first near field communication signal.
In one possible embodiment, the first near field communication signal comprises position information of the soft keyboard keys; in terms of determining the area of the soft keyboard key according to the first near field communication signal, the key obtaining module 54 is specifically configured to:
demodulating the first near field communication signal to obtain the position information;
and determining the area of the soft keyboard key based on the position information.
In a possible implementation manner, in adjusting the size of the soft keyboard key according to the comparison result, the key adjusting module 53 is specifically configured to:
if the area of the induction area is larger than that of the soft keyboard key, increasing the area of the soft keyboard key according to a preset proportion to obtain the adjusted area of the soft keyboard key;
comparing the adjusted area of the soft keyboard key with the area of the induction area;
and executing at least one adjustment operation on the size of the soft keyboard key until the area of the adjusted soft keyboard key is larger than or equal to the area of the induction area.
In a possible implementation manner, in terms of acquiring a sensing area of a touch screen of an electronic device, the sensing acquisition module 51 is specifically configured to:
receiving a second near field communication signal sent by the touch circuit;
demodulating the second near field communication signal to obtain an area where electrostatic capacitance at the intersection of the X-axis electrode and the Y-axis electrode of the touch screen is larger than or equal to a threshold value;
determining a region where the electrostatic capacitance is greater than or equal to a threshold as the sensing region.
In one possible implementation, scanning, by the touch control circuit, an area where the electrostatic capacitance is greater than or equal to a threshold value by X-axis and Y-axis electrodes of the touch screen; the first near field communication signal is sent by the touch control circuit when the area with the electrostatic capacitance larger than or equal to the threshold value is detected.
According to an embodiment of the present application, the units in the key adjustment apparatus shown in fig. 5 or fig. 6 may be respectively or entirely combined into one or several additional units to form the key adjustment apparatus, or some unit(s) may be further split into multiple functionally smaller units to form the key adjustment apparatus, which may implement the same operation without affecting implementation of technical effects of embodiments of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the key-based adjustment device may also include other units, and in practical applications, these functions may also be implemented by the assistance of other units, and may be implemented by cooperation of multiple units.
According to another embodiment of the present application, the key adjustment apparatus device shown in fig. 5 or fig. 6 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method shown in fig. 1 or fig. 4 on a general-purpose computing device, such as a computer, including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and implementing the key adjustment method of the embodiment of the present application. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
Based on the description of the method embodiment and the device embodiment, the embodiment of the application further provides an electronic device. Referring to fig. 7, the electronic device includes at least a processor 71, an input device 72, an output device 73, and a computer storage medium 74. The processor 71, input device 72, output device 73, and computer storage medium 74 within the electronic device may be connected by a bus or other means.
A computer storage medium 74 may be stored in the memory of the electronic device, the computer storage medium 74 being used to store a computer program comprising program instructions, the processor 71 being used to execute the program instructions stored by the computer storage medium 74. The processor 71 (or CPU) is a computing core and a control core of the electronic device, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute the one or more instructions so as to implement a corresponding method flow or a corresponding function.
In one embodiment, the processor 71 of the electronic device provided in the embodiment of the present application may be configured to perform a series of key adjustment processes:
acquiring a sensing area of a touch screen of the electronic equipment; the sensing area is generated when the distance between the finger of the user and the touch screen is smaller than or equal to a preset value;
comparing the area of the induction area with the area of the soft keyboard key displayed by the touch screen to obtain a comparison result;
and adjusting the size of the soft keyboard key according to the comparison result.
In yet another embodiment, before comparing the area of the sensing region with the area of the soft keyboard keys displayed on the touch screen, the processor 71 is further configured to:
receiving a first near field communication signal sent by a touch circuit of the touch screen;
and determining the area of the soft keyboard key according to the first near field communication signal.
In yet another embodiment, the first near field communication signal comprises position information of the soft keyboard keys; the processor 71 executes the determining of the area of the soft keyboard key according to the first near field communication signal, including:
demodulating the first near field communication signal to obtain the position information;
and determining the area of the soft keyboard key based on the position information. In another embodiment, the processor 71 performs the adjusting of the size of the soft keyboard key according to the comparison result, including:
if the area of the induction area is larger than that of the soft keyboard key, increasing the area of the soft keyboard key according to a preset proportion to obtain the adjusted area of the soft keyboard key;
comparing the adjusted area of the soft keyboard key with the area of the induction area;
and executing at least one adjustment operation on the size of the soft keyboard key until the area of the adjusted soft keyboard key is larger than or equal to the area of the induction area.
In another embodiment, the processor 71 performs the acquiring of the sensing area of the touch screen of the electronic device, including:
receiving a second near field communication signal sent by the touch circuit;
demodulating the second near field communication signal to obtain an area where electrostatic capacitance at the intersection of the X-axis electrode and the Y-axis electrode of the touch screen is larger than or equal to a threshold value;
determining a region where the electrostatic capacitance is greater than or equal to a threshold as the sensing region.
In still another embodiment, the processor 71 scans the X-axis and Y-axis electrodes of the touch screen through the touch control circuit to detect an area where the electrostatic capacitance is greater than or equal to a threshold value; the first near field communication signal is sent by the touch control circuit when the area with the electrostatic capacitance larger than or equal to the threshold value is detected.
Illustratively, the electronic device may be a mobile phone, a tablet, a wearable device, a notebook, a kiosk, etc., the electronic device may include, but is not limited to, a processor 71, an input device 72, an output device 73, and a computer storage medium 74, the input device 72 may be a keyboard, a touch screen, etc., and the output device 73 may be a speaker, a display, a radio frequency transmitter, etc. It will be appreciated by those skilled in the art that the schematic diagrams are merely examples of an electronic device and are not limiting of an electronic device and may include more or fewer components than those shown, or some components in combination, or different components.
It should be noted that, since the steps in the key adjustment method are implemented when the processor 71 of the electronic device executes the computer program, the embodiments of the key adjustment method are all applicable to the electronic device, and all can achieve the same or similar beneficial effects.
An embodiment of the present application further provides a computer storage medium (Memory), which is a Memory device in an electronic device and is used to store programs and data. It is understood that the computer storage medium herein may include a built-in storage medium in the terminal, and may also include an extended storage medium supported by the terminal. The computer storage medium provides a storage space that stores an operating system of the terminal. Also stored in this memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by processor 71. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; alternatively, it may be at least one computer storage medium located remotely from the processor 71. In one embodiment, one or more instructions stored in a computer storage medium may be loaded and executed by processor 71 to perform the corresponding steps described above with respect to the key adjustment method; in particular implementations, one or more instructions in the computer storage medium are loaded by processor 71 and perform the following steps: acquiring a sensing area of a touch screen of the electronic equipment; the sensing area is generated when the distance between the finger of the user and the touch screen is smaller than or equal to a preset value;
comparing the area of the induction area with the area of the soft keyboard key displayed by the touch screen to obtain a comparison result;
and adjusting the size of the soft keyboard key according to the comparison result.
In yet another example, one or more instructions in the computer storage medium, when loaded by processor 71, further performs the steps of:
receiving a first near field communication signal sent by a touch circuit of the touch screen;
and determining the area of the soft keyboard key according to the first near field communication signal.
In yet another example, one or more instructions in the computer storage medium, when loaded by processor 71, further performs the steps of:
demodulating the first near field communication signal to obtain the position information;
and determining the area of the soft keyboard key based on the position information.
In yet another example, one or more instructions in the computer storage medium, when loaded by processor 71, further performs the steps of:
if the area of the induction area is larger than that of the soft keyboard key, increasing the area of the soft keyboard key according to a preset proportion to obtain the adjusted area of the soft keyboard key;
comparing the adjusted area of the soft keyboard key with the area of the induction area;
and executing at least one adjustment operation on the size of the soft keyboard key until the area of the adjusted soft keyboard key is larger than or equal to the area of the induction area.
In yet another example, one or more instructions in the computer storage medium, when loaded by processor 71, further performs the steps of:
receiving a second near field communication signal sent by the touch circuit;
demodulating the second near field communication signal to obtain an area where electrostatic capacitance at the intersection of the X-axis electrode and the Y-axis electrode of the touch screen is larger than or equal to a threshold value;
determining a region where the electrostatic capacitance is greater than or equal to a threshold as the sensing region.
In yet another example, the one or more instructions in the computer storage medium, when loaded by the processor 71, further cause the touch circuitry to scan areas of the touch screen where the electrostatic capacitance is greater than or equal to a threshold value; the first near field communication signal is sent by the touch control circuit when the area with the electrostatic capacitance larger than or equal to the threshold value is detected.
Illustratively, the computer program of the computer storage medium includes computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
It should be noted that, since the computer program of the computer storage medium is executed by the processor to implement the steps in the key adjustment method, all the embodiments of the key adjustment method are applicable to the computer storage medium, and can achieve the same or similar beneficial effects.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1.一种按键调整方法,其特征在于,所述方法包括:1. a key adjustment method, is characterized in that, described method comprises: 获取电子设备的触摸屏的感应区域;所述感应区域为用户的手指与所述触摸屏之间的距离小于或等于预设值时产生的;Obtain the sensing area of the touch screen of the electronic device; the sensing area is generated when the distance between the user's finger and the touch screen is less than or equal to a preset value; 将所述感应区域的面积与所述触摸屏显示的软键盘按键的面积进行比较,得到比较结果;Comparing the area of the sensing area with the area of the soft keyboard keys displayed on the touch screen to obtain a comparison result; 根据所述比较结果对所述软键盘按键的大小进行调整。The size of the soft keyboard keys is adjusted according to the comparison result. 2.根据权利要求1所述的方法,其特征在于,在将所述感应区域的面积与所述触摸屏显示的软键盘按键的面积进行比较之前,所述方法还包括:2. The method according to claim 1, wherein before comparing the area of the sensing area with the area of the soft keyboard keys displayed on the touch screen, the method further comprises: 接收所述触摸屏的触控电路发出的第一近场通信信号;receiving the first near field communication signal sent by the touch control circuit of the touch screen; 根据所述第一近场通信信号确定所述软键盘按键的面积。The area of the soft keyboard key is determined according to the first near field communication signal. 3.根据权利要求2所述的方法,其特征在于,所述第一近场通信信号包括所述软键盘按键的位置信息;所述根据所述第一近场通信信号确定所述软键盘按键的面积,包括:3 . The method according to claim 2 , wherein the first near field communication signal comprises position information of the soft keyboard key; the determining the soft keyboard key according to the first near field communication signal. 4 . area, including: 解调所述第一近场通信信号得到所述位置信息;demodulating the first near field communication signal to obtain the location information; 基于所述位置信息确定所述软键盘按键的面积。The area of the soft keyboard key is determined based on the location information. 4.根据权利要求1-3任一项所述的方法,其特征在于,所述根据所述比较结果对所述软键盘按键的大小进行调整,包括:4. The method according to any one of claims 1-3, wherein the adjusting the size of the keys of the soft keyboard according to the comparison result comprises: 若所述感应区域的面积大于所述软键盘按键的面积,则按照预设比例增大所述软键盘按键的面积,得到调整后的所述软键盘按键的面积;If the area of the sensing area is larger than the area of the soft keyboard keys, the area of the soft keyboard keys is increased according to a preset ratio to obtain the adjusted area of the soft keyboard keys; 将调整后的所述软键盘按键的面积与所述感应区域的面积进行比较;comparing the adjusted area of the soft keyboard keys with the area of the sensing area; 执行至少一次对所述软键盘按键的大小的调整操作,直至调整后的软键盘按键的面积大于或等于所述感应区域的面积。Perform at least one adjustment operation on the size of the soft keyboard keys until the area of the adjusted soft keyboard keys is greater than or equal to the area of the sensing area. 5.根据权利要求2所述的方法,其特征在于,所述获取电子设备的触摸屏的感应区域,包括:5. The method according to claim 2, wherein the acquiring the sensing area of the touch screen of the electronic device comprises: 接收所述触控电路发出的第二近场通信信号;receiving a second near field communication signal sent by the touch control circuit; 解调所述第二近场通信信号得到所述触摸屏的X轴和Y轴电极交会处静电电容大于或等于阈值的区域;demodulating the second near field communication signal to obtain an area where the electrostatic capacitance of the touch screen at the intersection of the X-axis and the Y-axis electrodes is greater than or equal to a threshold; 将所述静电电容大于或等于阈值的区域确定为所述感应区域。A region where the electrostatic capacitance is greater than or equal to a threshold value is determined as the sensing region. 6.根据权利要求5所述的方法,其特征在于,通过所述触控电路扫描所述触摸屏的X轴和Y轴电极检测到所述静电电容大于或等于阈值的区域;所述第一近场通信信号为所述触控电路在检测到所述静电电容大于或等于阈值的区域的情况下发出的。6 . The method according to claim 5 , wherein the touch-control circuit scans the X-axis and Y-axis electrodes of the touch screen to detect an area where the electrostatic capacitance is greater than or equal to a threshold; The field communication signal is sent out by the touch control circuit when the area where the electrostatic capacitance is greater than or equal to a threshold value is detected. 7.一种按键调整装置,其特征在于,所述装置包括:7. A key adjustment device, wherein the device comprises: 感应获取模块,用于获取电子设备的触摸屏的感应区域;所述感应区域为用户的手指与所述触摸屏之间的距离小于或等于预设值时产生的;a sensing acquisition module, used for acquiring the sensing area of the touch screen of the electronic device; the sensing area is generated when the distance between the user's finger and the touch screen is less than or equal to a preset value; 比较模块,用于将所述感应区域的面积与所述触摸屏显示的软键盘按键的面积进行比较,得到比较结果;a comparison module, configured to compare the area of the sensing area with the area of the soft keyboard keys displayed on the touch screen to obtain a comparison result; 按键调整模块,用于根据所述比较结果对所述软键盘按键的大小进行调整。A key adjustment module, configured to adjust the size of the keys of the soft keyboard according to the comparison result. 8.根据权利要求7所述的装置,其特征在于,在根据所述比较结果对所述软键盘按键的大小进行调整方面,所述按键调整模块具体用于:8. The device according to claim 7, wherein, in terms of adjusting the size of the soft keyboard keys according to the comparison result, the key adjustment module is specifically used for: 若所述比较结果指示所述感应区域的面积大于所述软键盘按键的面积,则按照预设比例增大所述软键盘按键的面积,得到调整后的所述软键盘按键的面积;If the comparison result indicates that the area of the sensing area is larger than the area of the soft keyboard keys, the area of the soft keyboard keys is increased according to a preset ratio to obtain the adjusted area of the soft keyboard keys; 将调整后的所述软键盘按键的面积与所述感应区域的面积进行比较;comparing the adjusted area of the soft keyboard keys with the area of the sensing area; 执行至少一次对所述软键盘按键的大小的调整操作,直至调整后的软键盘按键的面积大于或等于所述感应区域的面积。Perform at least one adjustment operation on the size of the soft keyboard keys until the area of the adjusted soft keyboard keys is greater than or equal to the area of the sensing area. 9.一种电子设备,包括输入设备和输出设备,其特征在于,还包括:9. An electronic device, comprising input device and output device, is characterized in that, also comprises: 处理器,适于实现一条或多条指令;以及,a processor adapted to implement one or more instructions; and, 计算机存储介质,所述计算机存储介质存储有一条或多条指令,所述一条或多条指令适于由所述处理器加载并执行如权利要求1-6任一项所述的方法。A computer storage medium having stored thereon one or more instructions adapted to be loaded by the processor and perform the method of any one of claims 1-6. 10.一种计算机存储介质,其特征在于,所述计算机存储介质存储有一条或多条指令,所述一条或多条指令适于由处理器加载并执行如权利要求1-6任一项所述的方法。10. A computer storage medium, wherein the computer storage medium stores one or more instructions, the one or more instructions are adapted to be loaded and executed by a processor as claimed in any one of claims 1-6 method described.
CN202011317018.6A 2020-11-20 2020-11-20 Key adjusting method and device, electronic equipment and storage medium Pending CN112379819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011317018.6A CN112379819A (en) 2020-11-20 2020-11-20 Key adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011317018.6A CN112379819A (en) 2020-11-20 2020-11-20 Key adjusting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112379819A true CN112379819A (en) 2021-02-19

Family

ID=74587862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011317018.6A Pending CN112379819A (en) 2020-11-20 2020-11-20 Key adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112379819A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488400A (en) * 2013-09-27 2014-01-01 京东方科技集团股份有限公司 Method and device for building virtual keyboard
CN104035699A (en) * 2013-03-05 2014-09-10 中兴通讯股份有限公司 Capacitive touch screen terminal and input method thereof
CN104765528A (en) * 2015-03-19 2015-07-08 广东欧珀移动通信有限公司 Display method and device of virtual keyboard
CN105653116A (en) * 2015-07-31 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Soft keyboard layout adjusting method, apparatus and electronic device
US10346012B2 (en) * 2011-12-29 2019-07-09 Apple Inc. Device, method, and graphical user interface for resizing content viewing and text entry interfaces

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10346012B2 (en) * 2011-12-29 2019-07-09 Apple Inc. Device, method, and graphical user interface for resizing content viewing and text entry interfaces
CN104035699A (en) * 2013-03-05 2014-09-10 中兴通讯股份有限公司 Capacitive touch screen terminal and input method thereof
CN103488400A (en) * 2013-09-27 2014-01-01 京东方科技集团股份有限公司 Method and device for building virtual keyboard
CN104765528A (en) * 2015-03-19 2015-07-08 广东欧珀移动通信有限公司 Display method and device of virtual keyboard
CN105653116A (en) * 2015-07-31 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Soft keyboard layout adjusting method, apparatus and electronic device

Similar Documents

Publication Publication Date Title
US10969903B2 (en) Method, device and mobile terminal for preventing false-touch on touch screen
EP3514667B1 (en) Method and terminal for preventing false touch
CN106855782B (en) A method, device and terminal for preventing accidental touch
US10831314B2 (en) Method and electronic device for preventing touch button from being false triggered
US10996834B2 (en) Touchscreen apparatus user interface processing method and touchscreen apparatus
EP2332023B1 (en) Two-thumb qwerty keyboard
CN106775087B (en) A touch screen control method, device and mobile terminal of a mobile terminal
CN106681635B (en) A split-screen anti-mistouch method, device and mobile terminal
CN106775407A (en) Method and device for controlling touch screen of mobile terminal and mobile terminal
CN106598335A (en) Touch screen control method and apparatus for mobile terminal, and mobile terminal
US11482037B2 (en) User interface display method of terminal, and terminal
CN106855784A (en) Method, device and terminal for preventing false triggering of touch keys
CN106527818A (en) Control method and device for touch operation on mobile terminal, and mobile terminal
US20080309519A1 (en) Device having precision input capability
CN106681555A (en) Touch screen control method and device of mobile terminal and mobile terminal
CN107316033A (en) Fingerprint identification method, device and storage medium for mobile terminal, and mobile terminal
CN106406633A (en) A method, device and mobile terminal for preventing false touches on the edge of a touch screen
CN107357458B (en) Response method, device, storage medium and mobile terminal for touch key
CN106681636B (en) Method and device for preventing false touch and mobile terminal
CN106648232A (en) Method, device and terminal for preventing false triggering of touch buttons
CN106502470A (en) Method, device and terminal for preventing false triggering of touch buttons
CN105892927A (en) Mobile terminal control method and device
CN109582416A (en) Fingerprint acquisition method and device, storage medium and electronic equipment
CN105700790B (en) A kind of screenshot method and terminal device
CN105677788B (en) File searching method and user terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210219