CN111966237A - Touch compensation method and device for perforated screen and terminal - Google Patents
Touch compensation method and device for perforated screen and terminal Download PDFInfo
- Publication number
- CN111966237A CN111966237A CN202010782481.1A CN202010782481A CN111966237A CN 111966237 A CN111966237 A CN 111966237A CN 202010782481 A CN202010782481 A CN 202010782481A CN 111966237 A CN111966237 A CN 111966237A
- Authority
- CN
- China
- Prior art keywords
- touch area
- function key
- touch
- radius
- area
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
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)
- Position Input By Displaying (AREA)
Abstract
The embodiment of the application provides a touch compensation method, a touch compensation device and a touch compensation terminal for an open-cell screen, wherein the touch compensation method comprises the following steps: acquiring a touch position of a user to obtain a user touch area; judging a touch area where the touch position is located, wherein the touch area comprises a conventional touch area and an opening touch area, the opening touch area comprises a function key, and the user touch area is larger than the opening touch area; the touch position is located in the opening touch area, the position information of the user touch area and the position information of the opening touch area are obtained, and the function key is pressed or not pressed according to the position information of the user touch area and the position information of the opening touch area; the embodiment of the application provides a touch compensation method for the opening screen, which can help a user to finish accurate clicking at the opening position of the screen under some scenes, and improves user experience.
Description
Technical Field
The embodiment of the application relates to the technical field of electronic equipment, in particular to a touch compensation method and device for a perforated screen and a terminal.
Background
With the continuous development of communication technology, terminals such as smart phones, tablet computers and notebook computers are widely popularized and applied, and the terminals are developed towards diversification and individuation, and increasingly become indispensable terminals in life and work of people.
Nowadays, terminals such as mobile phones and tablet computers become electronic devices that people carry with them daily, and the application program industry of terminals develops rapidly, such as game software, video software, working software, and the like, so more and more large-screen touch screen smart mobile phones appear, in the technical field of terminal display, a comprehensive screen gradually becomes one of the main directions of current development, in order to realize a real comprehensive screen, currently, mobile phone manufacturers set a front camera of a mobile phone as an off-screen camera, and perform a hole digging screen design on a screen.
Disclosure of Invention
The embodiment of the application provides a touch compensation method, a touch compensation device and a touch compensation terminal for a perforated screen.
In a first aspect, an embodiment of the present application provides a touch compensation method for an open-pore screen, including:
acquiring a user touch area;
judging a touch area where the user touch area is located, wherein the touch area comprises a conventional touch area and an opening touch area, the opening touch area comprises function keys, and the user touch area is larger than the opening touch area;
the user touch area is located in the opening touch area, and the function key is pressed or not pressed according to the relative position relation between the user touch area and the opening touch area.
In some embodiments, pressing or not pressing the function key according to the relative position relationship between the user touch area and the opening touch area comprises:
acquiring position information of the user touch area, and acquiring a first circle center position and a first radius of the user touch area;
acquiring position information of the opening touch area, and acquiring a second circle center position and a second radius of the opening touch area; the first radius is greater than the second radius.
In some embodiments, pressing or not pressing the function key according to the relative position relationship between the user touch area and the opening touch area comprises:
calculating to obtain the distance between the first circle center position and the second circle center position to obtain the circle center distance;
the distance between the centers of the circles is larger than or equal to the sum of the first radius and the second radius, and the function key is not pressed;
and the distance between the centers of the circles is smaller than the sum of the first radius and the second radius, and is larger than or equal to the difference between the first radius and the second radius, and the function key is pressed.
In some embodiments, the open-cell touch area includes the function keys, which include a first function key and a second function key.
In some embodiments, before pressing or not pressing the function key according to the relative position relationship between the user touch area and the opening touch area, the method includes:
acquiring the size of the area of the function key; and acquiring the area size of the first function key to obtain a first area, and acquiring the area size of the second function key to obtain a second area.
In some embodiments, pressing or not pressing the function key according to the relative position relationship between the user touch area and the opening touch area comprises:
acquiring position information of the user touch area, and acquiring a first circle center position and a first radius of the user touch area; acquiring position information of the opening touch area, and acquiring a second circle center position and a second radius of the opening touch area; the first radius is greater than the second radius;
the relative position relation between the user touch area and the opening touch area and the area size of the function key press or not press the function key.
In some embodiments, the relative positional relationship of the user touch area and the opening touch area and the area size of the function key press or not press the function key includes:
acquiring the distance between the first circle center position and the second circle center position to obtain the circle center distance;
the distance between the centers of the circles is larger than or equal to the sum of the first radius and the second radius, and the function key is not pressed;
and the center distance is smaller than the sum of the first radius and the second radius and is larger than or equal to the difference between the first radius and the second radius, the position of the first center of a circle is judged, and the first function key or the second function key is pressed according to the position of the first center of a circle.
In some embodiments, determining the first circle center position, and pressing the first function key or the second function key according to the first circle center position includes:
judging the position of the first circle center, and pressing the first function key if the position of the first circle center is in the first area;
and judging the position of the first circle center, and pressing the second function key if the position of the first circle center is located in the second area.
In some embodiments, pressing or not pressing the function key according to the relative position relationship between the user touch area and the opening touch area comprises:
acquiring position information of the user touch area, and acquiring a first circle center position and a first radius of the user touch area;
acquiring the size of the area of the opening touch area to obtain a first edge length and a first area; the first radius is greater than the first edge length.
In some embodiments, pressing or not pressing the function key according to the relative position relationship between the user touch area and the opening touch area comprises:
pressing a function key if the first circle center position is located in the opening touch area;
and if the first circle center position is located in the conventional touch area, the function key is not pressed.
In a second aspect, an embodiment of the present application provides an open-cell touch compensation device, including:
the acquisition module is used for acquiring the touch position of a user and the area size of the function key;
the determining module is used for determining a user touch area and a touch area;
the judging module is used for judging a touch area where the touch position is located, judging the relation between the center distance and the sum or difference between the first radius and the second radius, and judging the position of the first circle center;
and the control module is used for controlling the pressing or not pressing the function key.
In a third aspect, an embodiment of the present application provides a terminal, where the terminal includes the touch compensation device for an open-pore screen according to the second aspect, and is capable of performing the operations in the touch compensation method for an open-pore screen according to the first aspect.
The embodiment of the application provides a touch compensation method, a touch compensation device and a touch compensation terminal for a perforated screen.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of the opening screen according to an embodiment of the present application.
Fig. 2a is a schematic view of an application scenario of a circular-opening touch area according to an embodiment of the present disclosure.
Fig. 2b is a schematic view of another application scenario of a circular-opening touch area according to an embodiment of the present application.
Fig. 2c is a schematic view of another application scenario of the circular-opening touch area according to the embodiment of the present application.
Fig. 2d is a schematic view of an application scenario of a rectangular open touch area according to an embodiment of the present application.
Fig. 2e is a schematic view of another application scenario of the rectangular opening touch area according to the embodiment of the present application.
Fig. 2f is a schematic view of another application scenario of a rectangular-opening touch area according to an embodiment of the present application.
Fig. 3 is a schematic flowchart of a touch compensation method for an open-cell screen according to an embodiment of the present disclosure.
Fig. 4 is a schematic flowchart of another touch compensation method for an open-cell screen according to an embodiment of the present disclosure.
Fig. 5 is a schematic flowchart of another touch compensation method for an open-cell screen according to an embodiment of the present disclosure.
Fig. 6 is a schematic structural diagram of an open-cell touch compensation device according to an embodiment of the present invention.
Fig. 7 is a block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
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. It is to be understood that the embodiments described are only a few embodiments of the present application and 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.
In the description of the present application, it is to be understood that the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "means two or more unless specifically defined otherwise.
The following disclosure provides many different embodiments or examples for implementing different features of the application. In order to simplify the disclosure of the present application, specific example components and arrangements are described below. Of course, they are merely examples and are not intended to limit the present application. Moreover, the present application may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The embodiment of the invention provides a touch compensation method, a touch compensation device and a terminal for a perforated screen. The touch compensation method, device and terminal for the open-hole screen will be described in detail below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The present invention will be described in detail with reference to the drawings and the detailed description, referring to fig. 1 to 7.
Referring to fig. 1 to 2f, fig. 1 provides a terminal 1, where the terminal 1 includes a normal touch area 12 and an opening touch area 11, a dashed frame 2 sets a local area of the opening touch area 11 for the terminal 1, and the opening touch area 11 blocks a function key 13, and fig. 2a, 2b and 2c provide an application scenario of the touch compensation method for an opening screen, where the opening touch area 11 is circular, and in fig. 2a, the opening touch area 11 is tangent to a user touch area 14, and the function key is not pressed; in fig. 2b, the opening touch area 11 is separated from the user touch area 14, and the function key is not pressed; in fig. 2c, the opening touch area 11 is inscribed in the user touch area 14, at which time the function key is pressed. Fig. 2d, 2e and 2f provide an application scenario of the touch compensation method for the open-cell screen, where the open-cell touch area 11 is rectangular, and in fig. 2d, the circle center of the user touch area 14 falls into the open-cell touch area 11, and the function key is pressed at this time; the centre of the user touch area 14 in fig. 2e and 2f does not fall within the open touch area 11, when the function key is not pressed.
Referring to fig. 3, an embodiment of the present application provides a touch compensation method for an open-cell screen, including:
301. acquiring a user touch area;
specifically, in the embodiment of the application, the touch position of a user is obtained, and a user touch area is obtained; the method includes the steps of obtaining a touch position triggered by clicking of a user on a terminal display screen, and obtaining a user touch area according to the touch position of the user.
302. Judging a touch area where the touch position is located, wherein the touch area comprises a conventional touch area and an opening touch area, the opening touch area comprises a function key, and the user touch area is larger than the opening touch area;
specifically, in the embodiment of the present application, the touch area includes a conventional touch area and an opening touch area, the opening touch area includes a function key, the user touch area is larger than the opening touch area, the touch area where the touch position triggered by a user click is located is determined, and when the touch position is detected to be in the conventional touch area, a corresponding position of the conventional touch area is pressed according to the touch position; and when the touch position is detected to be in the opening touch area, acquiring the position information of the user touch area and the opening touch area, and pressing/not pressing the function key according to the position information.
303. The user touch area is positioned in the opening touch area, and the function key is pressed or not pressed according to the relative position relation between the user touch area and the opening touch area;
specifically, in the embodiment of the present application, the touch position is located in the opening touch area, the position information of the user touch area and the position information of the opening touch area are obtained, and the function key is pressed or not pressed according to the relative position relationship between the user touch area and the opening touch area; the touch position is located in an opening touch area, position information of the user touch area and the opening touch area is obtained, namely a first circle center position and a first radius of the user touch area are obtained, and a second circle center position and a second radius of the opening touch area are obtained, wherein the first radius is larger than the second radius.
Specifically, in the embodiment of the present application, whether the function key is pressed is selected according to the position information, and a distance between the first circle center position and the second circle center position is obtained to obtain a circle center distance; when the distance between the centers of the circles is larger than or equal to the sum of the first radius and the second radius, the function key is not pressed; and when the center distance is smaller than the sum of the first radius and the second radius and is larger than or equal to the difference between the first radius and the second radius, pressing the function key.
To sum up, the embodiment of the present application provides a touch compensation method, a device and a terminal for a touch screen, and the touch compensation method for the touch screen is provided by the embodiment of the present application, and by acquiring the location information of the user touch area and the touch area for the touch screen, and determining whether to press or not to press the function key according to the location information, the touch compensation method for the touch screen is provided by the embodiment of the present application, so that a user can be helped to complete accurate click at the screen opening position under some scenes, and user experience is improved.
Referring to fig. 4, an embodiment of the present application provides a touch compensation method for a touch screen, where a scene applied in the embodiment of the present application is a scene where a touch area of a hole includes at least two function keys, and the touch compensation method for the touch screen includes:
401. acquiring a user touch area;
specifically, in the embodiment of the application, the touch position of a user is obtained, and a user touch area is obtained; the method includes the steps of obtaining a touch position triggered by clicking of a user on a terminal display screen, and obtaining a user touch area according to the touch position of the user.
402. Judging a touch area where the touch position is located, wherein the touch area comprises a conventional touch area and an opening touch area, the opening touch area comprises a function key, and the user touch area is larger than the opening touch area;
specifically, in the embodiment of the present application, the touch area includes a conventional touch area and an opening touch area, the opening touch area includes a function key, the user touch area is larger than the opening touch area, the touch area where the touch position triggered by a user click is located is determined, and when the touch position is detected to be in the conventional touch area, a corresponding position of the conventional touch area is pressed according to the touch position; and when the touch position is detected to be in the opening touch area, acquiring the position information of the user touch area and the opening touch area, and pressing or not pressing the function key according to the relative position relation between the user touch area and the opening touch area and the area size of the function key.
403. And the user touch area is positioned in the opening touch area, and the function key is pressed or not pressed according to the relative position relation between the user touch area and the opening touch area and the area size of the function key.
Specifically, in the embodiment of the present application, the touch position is located in the opening touch area, the position information of the user touch area, the position information of the function key area, and the position information of the opening touch area are obtained, and the function key is pressed/not pressed according to the position information of the user touch area and the position information of the opening touch area; the touch position is located in an opening touch area, position information of the user touch area, the opening touch area and a function key area is obtained, namely a first circle center position and a first radius of the user touch area are obtained, and a second circle center position and a second radius of the opening touch area are obtained, wherein the first radius is larger than the second radius; the opening touch area comprises function keys, the function keys comprise a first function key and a second function key, and the area size of the first function key is obtained to obtain a first area; and acquiring the area size of the second function key to obtain a second area.
Specifically, in the embodiment of the present application, the distance between the first circle center position and the second circle center position is obtained according to the relative position relationship between the user touch area and the hole-opening touch area and the size of the area of the function key, and the distance between the first circle center position and the second circle center position is obtained by pressing or not pressing the function key; the distance between the centers of the circles is larger than or equal to the sum of the first radius and the second radius, and the function key is not pressed; and the center distance is smaller than the sum of the first radius and the second radius and is larger than or equal to the difference between the first radius and the second radius, the position of the first center of a circle is judged, and a first function key or a second function key is pressed according to the position of the first center of a circle.
Specifically, in the embodiment of the present application, the first circle center position is determined, and the first function key or the second function key is pressed according to the first circle center position, where the following two conditions exist: judging the position of the first circle center, and pressing a first function key when the position of the first circle center is in the first area; and when the first circle center position is located in the second area, pressing a second function key.
Referring to fig. 5, an embodiment of the present application provides a touch compensation method for a touch panel, where a scene applied in the embodiment of the present application is a scene in which an opening touch area is rectangular, and the touch compensation method for the touch panel includes:
501. acquiring a user touch area;
specifically, in the embodiment of the application, the touch position of a user is obtained, and a user touch area is obtained; the method includes the steps of obtaining a touch position triggered by clicking of a user on a terminal display screen, and obtaining a user touch area according to the touch position of the user.
502. Judging a touch area where the touch position is located, wherein the touch area comprises a conventional touch area and an opening touch area, the opening touch area comprises a function key, and the user touch area is larger than the opening touch area;
specifically, in the embodiment of the present application, the touch area includes a conventional touch area and an opening touch area, the opening touch area includes a function key, the user touch area is larger than the opening touch area, the touch area where the touch position triggered by a user click is located is determined, and when the touch position is detected to be in the conventional touch area, a corresponding position of the conventional touch area is pressed according to the touch position; and when the touch position is detected in the opening touch area, acquiring the position information of the user touch area and the opening touch area, and pressing or not pressing the function key according to the relative position relationship between the user touch area and the opening touch area.
503. And pressing or not pressing the function key according to the relative position relation between the user touch area and the opening touch area.
Specifically, in this embodiment of the present application, the touch position is located in an opening touch area, position information of the user touch area and the opening touch area is obtained, that is, a first circle center position and a first radius of the user touch area are obtained, and a first side length of the opening touch area is obtained, where the first side length is a longest side length of the side lengths of the opening touch area, and the first radius is greater than the first side length.
Specifically, in the embodiment of the present application, whether to press the function key is selected according to the position information, and the first function key or the second function key is pressed according to the first circle center position, where the following two conditions exist: judging whether the first circle center position falls into the opening touch area, and pressing a function key when the first circle center position is located in the opening touch area; and when the first circle center position is located in the conventional touch area, the function key is not pressed.
It should be understood that, in the embodiment of the present application, when the user touch area is a circle, the first radius of the user touch area is greater than 4 mm; and when the user touch area is rectangular, the side length of the user touch area is more than 4 mm.
The touch compensation method for the open-cell screen in the embodiment of the present invention is described above, and a device for performing the touch compensation method for the open-cell screen is described below.
Referring to fig. 6, as a schematic structural diagram of the touch compensation device for an open-cell screen shown in fig. 6, the device in the embodiment of the present application can implement the steps of the touch compensation method for an open-cell screen executed in the embodiments corresponding to fig. 3 to fig. 5. The functions realized by the device can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions, which may be software and/or hardware. The apparatus 6 may include an acquisition module 61, a determination module 62, a determination module 63, and a control module 64.
Specifically, the touch compensation device for the perforated screen comprises an obtaining module 61, which is used for obtaining the touch position of a user and the area size of a function key; a determining module 62 for determining a user touch area and a touch area; the judging module 63 is configured to judge a touch area where the touch position is located, judge a relation between a center distance and a sum/difference between a first radius and a second radius, and judge a position of the first center of a circle; and a control module 64 for controlling the pressing/non-pressing of the function key.
The flash device and the flash device control method in the embodiment of the present application are explained above, and the terminal device in the embodiment of the present invention is described below from the perspective of hardware processing. An embodiment of the present invention further provides a terminal, as shown in fig. 7, which shows a schematic structural diagram of a terminal according to an embodiment of the present invention, where the terminal may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like, and specifically:
as shown in fig. 7, the terminal may include Radio Frequency (RF) circuitry 701, memory 702 including one or more computer-readable storage media, input unit 703, display unit 704, sensor 705, audio circuitry 706, Wireless Fidelity (Wi-Fi) module 707, processor 708 including one or more processing cores, and power supply 709. Those skilled in the art will appreciate that the terminal structure shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Wherein:
the RF circuit 701 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 708 for processing; in addition, data relating to uplink is transmitted to the base station. In general, RF circuitry 701 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 701 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 702 may be used to store software programs and modules, and the processor 708 executes various functional applications and data processing by operating the software programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 702 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 702 may also include a memory controller to provide the processor 708 and the input unit 703 access to the memory 702.
The input unit 703 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in a particular embodiment, the input unit 703 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 708, and can receive and execute commands sent by the processor 708. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 703 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 704 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 704 may include a Display screen, and optionally, the Display screen may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display screen, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is communicated to the processor 708 to determine the type of touch event, and the processor 708 provides a corresponding visual output on the display screen according to the type of touch event. Specifically, in the embodiment of the present application, after the user clicks the display screen, through the touch compensation method for the opening screen provided in the embodiment of the present application, after it is determined that the user performs touch click on the opening touch area, the function key corresponding to the display screen is pressed according to the position information.
The terminal may also include at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts brightness of the display screen according to brightness of ambient light, and a proximity sensor that turns off the display screen and/or backlight when the terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration (generally three axes) at each position, can detect the magnitude and position of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping) and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Wi-Fi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a Wi-Fi module 707, and provides wireless broadband internet access for the user. Although fig. 7 shows the Wi-Fi module 707, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 708 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 702 and calling data stored in the memory 702, thereby performing overall monitoring of the handset. Optionally, processor 708 may include one or more processing cores; preferably, the processor 708 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 708.
The terminal also includes a power source 709 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 708 via a power management system that may be configured to manage charging, discharging, and power consumption. The power supply 709 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 708 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 702 according to the following instructions, and the processor 708 runs the application programs stored in the memory 702, thereby implementing various functions.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments. The embodiments described above are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present application, except for the design of the embodiments in the present application, which is consistent with the embodiments in the present application, belong to the protection scope of the present application.
The method, the device and the terminal for touch compensation of the open-pore screen provided by the embodiment of the application are described in detail, a specific example is applied in the description to explain the principle and the implementation mode of the application, and the description of the embodiment is only used for helping to understand the technical scheme and the core idea of the application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.
Claims (10)
1. An open-cell screen touch compensation method, comprising:
acquiring a user touch area;
judging a touch area where the user touch area is located, wherein the touch area comprises a conventional touch area and an opening touch area, the opening touch area comprises function keys, and the user touch area is larger than the opening touch area;
the user touch area is located in the opening touch area, and the function key is pressed or not pressed according to the relative position relation between the user touch area and the opening touch area.
2. The method of claim 1, wherein pressing or not pressing the function key according to the relative position relationship of the user touch area and the opening touch area comprises:
acquiring position information of the user touch area, and acquiring a first circle center position and a first radius of the user touch area;
acquiring position information of the opening touch area, and acquiring a second circle center position and a second radius of the opening touch area; the first radius is greater than the second radius.
3. The method of claim 2, wherein pressing or not pressing the function key according to the relative position relationship of the user touch area and the opening touch area comprises:
calculating to obtain the distance between the first circle center position and the second circle center position to obtain the circle center distance;
the distance between the centers of the circles is larger than or equal to the sum of the first radius and the second radius, and the function key is not pressed;
and the distance between the centers of the circles is smaller than the sum of the first radius and the second radius, and is larger than or equal to the difference between the first radius and the second radius, and the function key is pressed.
4. The method of claim 1, wherein the apertured touch area comprises the function keys, the function keys comprising a first function key and a second function key.
5. The method of claim 4, wherein before pressing or not pressing the function key according to the relative position relationship between the user touch area and the opening touch area, the method comprises:
acquiring the size of the area of the function key; and acquiring the area size of the first function key to obtain a first area, and acquiring the area size of the second function key to obtain a second area.
6. The method of claim 5, wherein pressing or not pressing the function key according to the relative position relationship of the user touch area and the opening touch area comprises:
acquiring position information of the user touch area, and acquiring a first circle center position and a first radius of the user touch area; acquiring position information of the opening touch area, and acquiring a second circle center position and a second radius of the opening touch area; the first radius is greater than the second radius;
the relative position relation between the user touch area and the opening touch area and the area size of the function key press or not press the function key.
7. The method of claim 6, wherein the relative positional relationship of the user touch area to the aperture touch area and the area size of the function key to press or not press the function key comprises:
calculating to obtain the distance between the first circle center position and the second circle center position to obtain the circle center distance;
the distance between the centers of the circles is larger than or equal to the sum of the first radius and the second radius, and the function key is not pressed;
and the center distance is smaller than the sum of the first radius and the second radius and is larger than or equal to the difference between the first radius and the second radius, the position of the first center of a circle is judged, and the first function key or the second function key is pressed according to the position of the first center of a circle.
8. The method according to claim 7, wherein determining the first circle center position, and pressing the first function key or the second function key according to the first circle center position comprises:
judging the position of the first circle center, and pressing the first function key if the position of the first circle center is in the first area;
and judging the position of the first circle center, and pressing the second function key if the position of the first circle center is located in the second area.
9. An open-cell screen touch compensation device, comprising:
the acquisition module is used for acquiring the touch area of a user and the area size of the function key;
the determining module is used for determining the position information of the touch area of the user and the position information of the touch area;
the judging module is used for judging a touch area where the touch position is located, judging the relation between the center distance and the sum or difference between the first radius and the second radius, and judging the position of the first circle center;
and the control module is used for controlling the pressing or not pressing the function key.
10. A terminal comprising the touch compensation device of claim 9, capable of performing the operations of the touch compensation method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010782481.1A CN111966237B (en) | 2020-08-06 | 2020-08-06 | Touch compensation method and device for open screen and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010782481.1A CN111966237B (en) | 2020-08-06 | 2020-08-06 | Touch compensation method and device for open screen and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111966237A true CN111966237A (en) | 2020-11-20 |
CN111966237B CN111966237B (en) | 2023-06-20 |
Family
ID=73364923
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010782481.1A Active CN111966237B (en) | 2020-08-06 | 2020-08-06 | Touch compensation method and device for open screen and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111966237B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053754A (en) * | 2010-12-31 | 2011-05-11 | 东莞宇龙通信科技有限公司 | Method and device for processing key area on touch screen |
CN105183342A (en) * | 2015-08-11 | 2015-12-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
US20170060315A1 (en) * | 2015-08-26 | 2017-03-02 | Lg Electronics Inc. | Mobile terminal and method for controlling the same |
CN107390931A (en) * | 2017-07-26 | 2017-11-24 | 广东欧珀移动通信有限公司 | Response control mehtod, device, storage medium and the mobile terminal of touch operation |
CN109375863A (en) * | 2018-09-27 | 2019-02-22 | Oppo广东移动通信有限公司 | Triggering method, device, terminal and the storage medium of objective function |
CN110221735A (en) * | 2018-03-02 | 2019-09-10 | 广东欧珀移动通信有限公司 | Icon processing method, device and mobile terminal |
CN110647277A (en) * | 2019-08-28 | 2020-01-03 | 维沃移动通信有限公司 | Control method and terminal equipment |
-
2020
- 2020-08-06 CN CN202010782481.1A patent/CN111966237B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053754A (en) * | 2010-12-31 | 2011-05-11 | 东莞宇龙通信科技有限公司 | Method and device for processing key area on touch screen |
CN105183342A (en) * | 2015-08-11 | 2015-12-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
US20170060315A1 (en) * | 2015-08-26 | 2017-03-02 | Lg Electronics Inc. | Mobile terminal and method for controlling the same |
CN107390931A (en) * | 2017-07-26 | 2017-11-24 | 广东欧珀移动通信有限公司 | Response control mehtod, device, storage medium and the mobile terminal of touch operation |
CN110221735A (en) * | 2018-03-02 | 2019-09-10 | 广东欧珀移动通信有限公司 | Icon processing method, device and mobile terminal |
CN109375863A (en) * | 2018-09-27 | 2019-02-22 | Oppo广东移动通信有限公司 | Triggering method, device, terminal and the storage medium of objective function |
CN110647277A (en) * | 2019-08-28 | 2020-01-03 | 维沃移动通信有限公司 | Control method and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111966237B (en) | 2023-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103389863B (en) | A kind of display control method and device | |
WO2018120905A1 (en) | Message reminding method for terminal, and terminal | |
CN106911848B (en) | Method for outputting prompt message and terminal equipment | |
CN106445596B (en) | Method and device for managing setting items | |
CN107465841B (en) | Fault information reporting method and terminal | |
CN108834132B (en) | Data transmission method and equipment and related medium product | |
CN110688051B (en) | Screen recording operation method and device, computer readable storage medium and terminal | |
CN111372003A (en) | Camera switching method and device and terminal | |
CN111885591A (en) | Network connection method, device, storage medium and terminal | |
EP3809253A1 (en) | Split-screen exiting method and apparatus, storage medium, and electronic device | |
CN112367425B (en) | Volume adjusting method and device and terminal | |
CN110891262A (en) | Bluetooth pairing method, system and terminal equipment | |
CN108304709B (en) | Face unlocking method and related product | |
CN110865743A (en) | Task management method and terminal equipment | |
CN108737619A (en) | A kind of call control method of terminal, device and terminal | |
CN110996003B (en) | Photographing positioning method and device and mobile terminal | |
CN111966237B (en) | Touch compensation method and device for open screen and terminal | |
CN112579231A (en) | Display method of folding screen and terminal | |
CN112291651A (en) | Loudspeaker assembly structure and terminal | |
CN111898542A (en) | Display screen control method and device and terminal | |
CN106657278B (en) | Data transmission method and device and computer equipment | |
CN105792154B (en) | A kind of method and apparatus of multi-media SMS transmission | |
CN111107616A (en) | Light sensor control method and device and terminal | |
CN110618798A (en) | Multi-screen display method, multi-screen device, storage medium and terminal equipment | |
CN111405649B (en) | Information transmission method and device and mobile 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |