CN113360071B - Touch screen control method and device, storage medium and electronic device - Google Patents

Touch screen control method and device, storage medium and electronic device Download PDF

Info

Publication number
CN113360071B
CN113360071B CN202010143891.1A CN202010143891A CN113360071B CN 113360071 B CN113360071 B CN 113360071B CN 202010143891 A CN202010143891 A CN 202010143891A CN 113360071 B CN113360071 B CN 113360071B
Authority
CN
China
Prior art keywords
touch
machine interaction
man
area
response
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.)
Active
Application number
CN202010143891.1A
Other languages
Chinese (zh)
Other versions
CN113360071A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010143891.1A priority Critical patent/CN113360071B/en
Publication of CN113360071A publication Critical patent/CN113360071A/en
Application granted granted Critical
Publication of CN113360071B publication Critical patent/CN113360071B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Abstract

The invention discloses a touch screen control method and device, a storage medium and an electronic device. Wherein the method comprises the following steps: determining the touch position of a target touch event under the condition that the target touch event is acquired from a client; comparing the touch position with an effective response position set corresponding to the man-machine interaction key arranged in the client, wherein the effective response position set comprises a first position in a display area of the man-machine interaction key and a second position determined from a inhibition response area corresponding to the man-machine interaction key, and the second position is determined according to historical man-machine interaction operation in the client; under the condition that the touch control positions are concentrated in the effective response positions, the human-computer interaction operation is executed in response to the target touch control event, and therefore the technical problem that the touch control event of the touch screen cannot be effectively and accurately processed in the prior art is solved.

Description

Touch screen control method and device, storage medium and electronic device
Technical Field
The invention relates to the field of intelligent terminals, in particular to a touch screen control method and device, a storage medium and an electronic device.
Background
With the increasing popularity of intelligent devices, people use terminals with touch screens for life and entertainment, but in a specific application, a false touch phenomenon is easy to occur. The false touch means that the screen is unintentionally touched, so that unexpected touch response is generated, and normal use is affected.
In the prior art, the prior screen inhibits the error touch scheme, and the common points are that: acquiring the hand shape of a user holding the terminal through a sensor; 2) And according to a set of touch control inhibition rules for enabling the hand shape to take effect, enabling the corresponding screen touch control click to take no effect in the inhibition area.
Thus, with the prior art, there are the following problems: 1) When inhibition is required, the size of the inhibition zone is not well controlled. The mobile phones of all people have different use habits, and the contact area between the palm and the edge of the screen is different when the mobile phones of all people hold the equipment. Too large a zone of inhibition can easily affect normal use, causing a break in touch. For example, most games held by two hands, many game buttons can be customized to the edge of the screen, so that clicking the edge of the screen normally fails to respond normally. If the inhibition zone is too small, there is no inhibition. 2) When suppression is not required, its suppression function may affect the normal screen click function.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a touch screen control method and device, a storage medium and an electronic device, which at least solve the technical problem that a touch event of a touch screen cannot be effectively and accurately processed in the prior art.
According to an aspect of an embodiment of the present invention, there is provided a touch screen control method, including: under the condition that a target touch event is acquired from a client, determining the touch position of the target touch event; comparing the touch position with an effective response position set corresponding to a man-machine interaction key arranged in the client, wherein the effective response position set comprises a first position in a display area of the man-machine interaction key and a second position determined from a suppression response area corresponding to the man-machine interaction key, and the second position is determined according to historical man-machine interaction operation in the client; and under the condition that the touch control positions are located in the effective response position set, responding to the target touch control event and executing man-machine interaction operation.
According to another aspect of the embodiment of the present invention, there is also provided a touch screen control device, including: the determining unit is used for determining the touch position of the target touch event under the condition that the target touch event is acquired from the client; the comparison unit is used for comparing the touch position with an effective response position set corresponding to the man-machine interaction key arranged in the client, wherein the effective response position set comprises a first position in a display area of the man-machine interaction key and a second position determined from a suppression response area corresponding to the man-machine interaction key, and the second position is determined according to historical man-machine interaction operation in the client; and the response unit is used for responding to the target touch event to execute man-machine interaction operation under the condition that the touch position is located in the effective response position set.
According to yet another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the above touch screen control method when run.
According to still another aspect of the embodiments of the present invention, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the touch screen control method described above through the computer program.
In the embodiment of the invention, under the condition that a target touch event is detected in a client, determining the touch position of the target touch event; comparing the touch position with an effective response position set corresponding to the man-machine interaction key arranged in the client, wherein the effective response position set comprises a first position in a display area of the man-machine interaction key and a second position determined from a response inhibition area corresponding to the man-machine interaction key, and the second position is determined according to historical man-machine interaction operation in the client; and under the condition that the touch control positions are in the effective response position set, responding to the target touch control event, and executing man-machine interaction operation. Therefore, the method and the device can realize the effective response position set based on the position in the display area containing the man-machine interaction keys and the position determined by the historical man-machine interaction operation to determine whether the currently detected target touch event is to be responded to execute the corresponding man-machine interaction operation, avoid missing the response to the reasonable touch event, ensure the accurate processing of the touch event in the touch screen control process, and further solve the technical problem that the touch event of the touch screen cannot be effectively and accurately processed in the prior art.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a hardware schematic of an application of an alternative touch screen control method according to an embodiment of the application;
FIG. 2 is a flow chart of an alternative touch screen control method according to an embodiment of the present application;
FIG. 3 is a schematic illustration of an alternative second position according to an embodiment of the application;
FIG. 4 is a schematic diagram illustrating an alternative touch event delivery process according to an embodiment of the present application;
FIG. 5 is a schematic illustration of buttons in an alternative game interface in accordance with a preferred embodiment of the present application;
FIG. 6 is an interface schematic diagram of an alternative anti-false touch button user interface in accordance with a preferred embodiment of the present application;
FIG. 7 is a system frame for preventing false touches during an alternative terminal game play in accordance with a preferred embodiment of the present application;
FIG. 8 is a flowchart of an alternative system touch event filtering in accordance with a preferred embodiment of the present application;
FIG. 9 is a schematic diagram of an alternative response area splitting cell in accordance with a preferred embodiment of the present application;
FIG. 10 is a flowchart of an alternative decision for a false touch of a click operation in accordance with a preferred embodiment of the present invention;
FIG. 11 is a flowchart of an alternative decision for a sliding operation false touch in accordance with a preferred embodiment of the present invention;
FIG. 12 is a schematic diagram of an alternative touch screen control device according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of an electronic device according to an alternative touch screen control method according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiment of the present invention, a touch screen control method is provided, optionally, as an optional implementation manner, the touch screen control method may be applied, but not limited to, to a touch screen control system in a hardware environment as shown in fig. 1, where the touch screen control system may include, but is not limited to, a terminal device 102, a network 110, and a server 112. The terminal device 102 is provided with a game client, and is used for controlling a target virtual character to complete a game task in a game scene.
The terminal device 102 may include, but is not limited to: a human-machine interaction screen 104, a processor 106 and a memory 108. The man-machine interaction screen 104 is used for acquiring touch operation through a man-machine interaction interface; the processor 106 is configured to respond to the touch operation and determine whether the touch operation is responded to. The memory 108 is used for storing the position of the touch operation and the effective response area of the touch key. The server here may include, but is not limited to: the processing engine 116 is configured to invoke an effective response area of the touch key stored in the database 114, compare the effective response area with the position of the touch operation, and respond to the target touch event to execute the man-machine interaction operation if the touch position is located in the effective response position set. Therefore, the method and the device can realize the effective response position set based on the position in the display area containing the man-machine interaction keys and the position determined by the historical man-machine interaction operation to determine whether the currently detected target touch event is to be responded to execute the corresponding man-machine interaction operation, avoid missing the response to the reasonable touch event, ensure the accurate processing of the touch event in the touch screen control process, and further solve the technical problem that the touch event of the touch screen cannot be effectively and accurately processed in the prior art.
The specific process comprises the following steps: the man-machine interaction screen 104 in the terminal device 102 displays an interaction interface for the game client to run a game task (as shown in fig. 1, a shooting game, where the target virtual character is sniping a target object at a distance). In steps S102-S108, the touch location of the target touch event is obtained, and the touch location is sent to the server 112 via the network 110. The server 112 compares the touch position with an effective response position set corresponding to the man-machine interaction key set in the client, wherein the effective response position set comprises a first position in a display area of the man-machine interaction key and a second position determined from a suppression response area corresponding to the man-machine interaction key, the second position is determined according to historical man-machine interaction operation in the client, and when the touch position is in the effective response position set, the man-machine interaction operation is executed in response to the target touch event. And then returns the result of the above determination to the terminal device 102.
According to an aspect of an embodiment of the present invention, there is provided a touch screen control method, as shown in fig. 2, a flowchart of the touch screen control method, including:
in step S202, in the case that the target touch event is acquired in the client, the touch position of the target touch event is determined.
The above-mentioned client may be, but not limited to, a client running in various terminals having a man-machine interaction screen, and allows to trigger execution of an operation corresponding to a touch event by detecting the touch event executed on the man-machine interaction screen. For example, the client may be an online education client, an instant messaging client, a community space client, a game client, a shopping client, a browser client, a financial client, a multimedia client, a live broadcast client, etc. For example, the touch screen control method can be applied to, but not limited to, providing a game scene by the game client, and considering that the game client often needs to control the virtual character to execute the game task in the game scene through man-machine interaction operation, the touch screen control method provided by the embodiment of the application ensures the accuracy of controlling the man-machine interaction operation, reduces misoperation and improves operation effectiveness. The above is merely an example, and there is no limitation in this embodiment.
The touch event may include, but is not limited to: click type touch events and slide type touch events. Specifically, in step S202 described above, it is assumed that in the case where a target touch event triggered by a click type operation or a slide type operation performed on the touch screen on which the game client is running is detected, the touch position of the target touch event, such as the click position or the slide area, may be determined. Further, whether the touch position is in the inhibition response area or the non-inhibition response area is judged. If the position of the target touch event (clicking operation or sliding operation) is in the inhibition response area, the game server corresponding to the game client will not respond to the target touch event, and if the position of the target touch event is in the non-inhibition response area, the game server will respond to the target touch event and execute the corresponding man-machine interaction operation.
Step S204, comparing the touch position with an effective response position set corresponding to the man-machine interaction key arranged in the client, wherein the effective response position set comprises a first position in a display area of the man-machine interaction key and a second position determined from a response inhibition area corresponding to the man-machine interaction key, and the second position is determined according to historical man-machine interaction operation in the client.
The first position may be an area corresponding to a key in the client, and the second position is an area determined from the suppression area and capable of responding to a touch event, that is, the second position is determined in the suppression area where the man-machine interaction key and the mobile terminal system are located. For example, as shown in fig. 3, the area determined according to the edge suppression method is a, the area B corresponding to the key is determined as a second location area, and the area at the intersection between the area B and the area a is determined as a first location area.
In step S206, in the case that the touch location is located in the set of valid response locations, a man-machine interaction operation is performed in response to the target touch event.
For example, a touch event occurs in an intersection area of an edge suppression area and a man-machine interaction key of the mobile terminal, and under the condition of normal processing, the touch event will not be responded, but according to statistics of times of historical man-machine interaction keys, the position where the touch event occurs is a position with a large number of times of historical man-machine interaction (for example, the times of the man-machine interaction keys in 2 days of a historical event section are 10 times, the position occurs 6 times), that is, it is judged that the touch operation of a user in the area occurs frequently, the touch event will be responded by a game application system, in other words, when the received current touch event is in a second position area, the touch event will be responded, and is judged as a valid touch event.
Through the steps, under the condition that the target touch event is detected in the client, the touch position of the target touch event can be determined; comparing the touch position with an effective response position set corresponding to the man-machine interaction key arranged in the client, wherein the effective response position set comprises a first position in a display area of the man-machine interaction key and a second position determined from a response inhibition area corresponding to the man-machine interaction key, and the second position is determined according to historical man-machine interaction operation in the client; under the condition that the touch position is in the effective response position set, responding to the target touch event and executing man-machine interaction operation, so that whether the currently detected target touch event is to be responded to execute the corresponding man-machine interaction operation or not can be determined based on the position in the display area containing the man-machine interaction keys and the effective response position set of the position determined by the historical man-machine interaction operation, missing of response to the reasonable touch event is avoided, accurate processing of the touch event in the touch screen control process is guaranteed, and the technical problem that the touch event of the touch screen cannot be effectively and accurately processed in the prior art is solved.
As an alternative, before determining the touch position of the target touch event, the method further includes: acquiring a display area of each man-machine interaction key set in a client and a suppression response area corresponding to each man-machine interaction key; determining a first location in the display area as a location in the set of valid response locations; counting historical man-machine interaction operation triggered in the inhibition response area in a historical time period; and determining a second position from the response inhibition area according to the historical man-machine interaction operation, and determining the second position as a position in the effective response position set.
As an alternative, determining the second location from the inhibition response area according to the historical human-computer interaction operation includes: acquiring the number of times of historical man-machine interaction operation triggered in the inhibition response area in a historical time period; determining a first probability density of the historical man-machine interaction operation times in a historical time period according to the historical man-machine interaction operation times, wherein the first probability density is used for representing the times of touch control of the historical man-machine interaction operation at different positions in a response inhibition area; and determining the position where the first probability density is greater than or equal to the first filtering intensity as a second position. That is, when the position where the touch is dense is determined according to the historical man-machine interaction operation, even if the touch operation is located in the touch inhibition area, the application client side can respond to the touch operation, and therefore user experience is improved.
It should be noted that, the value of the first filtering strength may be, but not limited to, a custom value for controlling the filtering strength, which is set according to a specific scenario, and the specific value is not limited herein. The first filtering strength is a reference value for determining the position of some false touch operations.
For example, assuming that the size of the suppression response area is a rectangular area of 3*3 in which the history man-machine interaction operation performed is 100 times, wherein 80 touch operations (such as click operations) occur at the center point of the rectangular area, and in the case where the probability of occurrence of a certain position in the rectangular area is greater than 60%, the position will be the second position, and the probability of occurrence of the position history man-machine interaction operation of the center point is 80% greater than 60% (equivalent to the first filtering strength), the center point position will be the second position, and the center point, although in the suppression response area of the mobile terminal system running the game client, satisfies the response condition of the embodiment of the present application, the click operation falling in the center point area will be responded by the game system.
In general, touch operations may be classified into two types, i.e., a sliding operation and a clicking operation, and since the sliding operation and the clicking operation have different characteristics, the manner of determining the second position of the two types of operations is also different. The method comprises the following steps:
Under the condition that the historical man-machine interaction operation is a sliding operation, determining a second position by the following method: acquiring a sliding offset parameter of a sliding operation in a historical time period, wherein the offset parameter comprises a sliding direction parameter and a sliding distance parameter; determining a second probability density of the sliding operation in the historical time period by using a density function according to the offset parameter, wherein the second probability density is used for representing the number of times of touch control of the sliding operation at different positions in the inhibition response area; and determining a position where the second probability density is greater than the second filtering strength as a second position.
It should be noted that, the value of the second filtering strength may be, but not limited to, a custom value for controlling the filtering strength, which is set according to a specific scenario, and the specific value is not limited herein. The second filtering strength is a reference value for determining the position of some false touch operations.
In the case that the touch operation is a sliding operation, the second position is determined in a similar manner to the clicking operation. In the case where the probability of occurrence of a sliding operation at a position of a certain sliding operation in the rectangular area is greater than the second filter strength, the position is determined as the second position.
And under the condition that the historical man-machine interaction operation is a click operation, determining a second position by the following method: acquiring coordinate parameters of clicking operation in a historical time period, wherein the coordinate parameters comprise an ordinate parameter and an abscissa parameter; determining a third probability density of the clicking operation in the historical time period by utilizing a density function according to the coordinate parameters, wherein the third probability density is used for representing the number of times of touch control of the clicking operation at different positions in the inhibition response area; and determining the position where the third probability density is greater than the third filtering intensity as the second position.
It should be noted that, the value of the third filtering intensity may be, but not limited to, a custom value for controlling the filtering intensity, which is set according to a specific scenario, and the specific value is not limited herein. The third filtering strength is a reference value for determining the position of some false touch operations.
In practical application, if the size of the suppression response area is a rectangle of 3*3, the historical man-machine interaction operation in the rectangular area is performed 100 times, 80 touch operations (such as clicking operations) occur at the center point of the rectangle, and if the probability of occurrence at a certain position in the actual determination is greater than 60%, the position will be the second position, the position of the center point is greater than 60% (corresponding to the third filtering strength), the position of the center point will be the second position, and the clicking operation falling at the center point will be responded by the game system although the suppression response area of the system of the mobile terminal running the game client meets the response condition of the present application.
As an alternative, in a case where the touch location is located in the valid response location set, performing the man-machine interaction operation in response to the target touch event may include: and under the condition that the target touch event is positioned at the second position and the probability of responding to the target touch event is larger than the fourth filtering intensity, responding to the target touch event to execute man-machine interaction operation.
It should be noted that, the value of the fourth filtering strength may be, but not limited to, a custom value for controlling the filtering strength, which is set according to a specific scenario, and the specific value is not limited herein. The fourth filtering strength is a reference value for determining to filter some false touch operations, where the fourth filtering strength may be a range value or a determined value, for example, a range value is: from 0.1% to 10%, the recommended value may be 0.3%.
As an alternative, in a case where the touch location is located in the valid response location set, performing the man-machine interaction operation in response to the target touch event includes: and under the condition that the target touch event is a sliding operation, under the condition that the sliding operation is positioned at the second position and the probability of responding to the sliding operation is larger than or equal to the fifth filtering intensity, responding to the sliding operation to execute man-machine interaction operation.
It should be noted that, the value of the fifth filtering strength may be, but not limited to, a custom value for controlling the filtering strength, which is set according to a specific scenario, and the specific value is not limited herein. The fifth filtering strength is a reference value for determining to filter some false touch operations, where the fifth filtering strength may be a range value or a determined value, for example, a range value is: from 0.1% to 10%, the recommended value may be 0.6%.
The invention also provides an embodiment of a method for preventing false touch in the game process of the mobile phone terminal.
First, for better understanding of this embodiment, the following names are explained:
the false touch means that the screen is unintentionally touched, so that unexpected touch response is generated, and normal use is affected.
DIP: the device independent pixel (also called device independent pixel Device Independent Pixels, density independent pixel Density Independent or device independent pixel, abbreviated as DIP or DP) is a physical measurement unit, and is converted into an application of physical pixels based on a computer-controlled coordinate system and abstract pixels (virtual pixels) by a program of an underlying system.
SDK: a software development kit (Software Development Kit, SDK) is generally a collection of development tools that are used by software engineers to build application software for a particular software package, software framework, hardware platform, implementation, etc.
UI: the User Interface (User Interface) refers to the overall design of man-machine interaction, operation logic and attractive Interface for software.
DBSCAN: english is written as Density-based spatial clustering of applications with noise, by Martin Ester, hans-Peter Kriegel in 1996,the cluster analysis algorithm is proposed by Sander and Xiaowei Xu.
Parzen: the kernel density estimation (kernel density estimation) is a function used in probability theory to estimate the unknown density, and belongs to one of the non-parametric test methods, proposed by Rosenblatt (1955) and Emanuel Parzen (1962), also known as Parzen window.
In this embodiment, a method for preventing a false touch from affecting the game experience during a mobile game is described. The key of the scheme is that the game touch habit of the player is obtained through touch click analysis of the player for a period of time in the local machine, and error touch points are filtered by combining with the UI information of the game keys, so that the influence of the error touch on game experience is avoided.
It should be noted that, the whole process of the touch event transmission is shown in fig. 4. The process is as follows:
s41, screen hardware collects touch events and reports the touch events to the system, namely, a touch screen of a client of man-machine interaction obtains the touch events and reports the touch events to a server of the client.
S42, the system transmits the touch event to the application, namely, the server transmits the touch event to the application of the client, for example, the server of the game application.
S43, the application processes the touch event, and the result appears as responding to the touch event or ignores responding to the touch event, and the touch event can be stored.
In general, the edge suppression technology is a screen edge suppression technology in terms of mobile terminal hardware, that is, the touch sensitivity of a screen edge is adjusted, and when a user clicks the screen edge, the mobile terminal device suppresses the reporting of a touch event, so that the occurrence of a false touch condition is avoided.
Compared with the technology that the mobile client system layer judges whether to report the touch event to the game application or not, the embodiment of the application filters out the unreasonable touch event when the game application server processes the touch event, and does not generate touch response, so that the game experience of a player is not influenced.
It should be further noted that, the touch event in this embodiment may include, but is not limited to: click type touch event, slide type touch event. Of course, the present application is not limited thereto, and for example, a non-contact gesture recognition event or an event triggered by area recognition may be used for processing. Specifically, taking a game scene as an example, a game player touches a touch button in a game interface, a game client performs an operation of the touch operation in response to the touch operation, and each touch in the game interface has a certain response area, so that the touch operation in the game interface can be divided into two types: one type is a directional rocker (slide button) in the game interface as described in fig. 5, which can respond to touch events outside the area of the button UI. One type is responsive only to a skill button (e.g., click button) within a button UI area, such as in fig. 5.
It should also be noted that the above solution does not need to be presented in the user interface, and the user does not feel the whole process. The game client side may add a switch button like that of fig. 6 as needed, such as a switch of the false touch prevention model shown in fig. 6, and may turn on such a filtering function when the user feels that false touches are frequent.
The system frame for preventing false touch during terminal game in the above alternative embodiment is shown in fig. 7. The system framework is divided into a client and a server. Wherein the processing in the client comprises: and uploading the unfiltered touch event to the SDK, and uploading the filtered touch event to the game logic for processing through the SDK. The anti-false touch function is provided for the game terminal by an SDK. Wherein the SDK comprises: the cloud control module is used for acquiring data in the server; an algorithm model for generating a filter; and the data acquisition module is used for acquiring the touch event of the system. The service end comprises the following steps: custom parameters and general parameter settings are made by the cooperator. The specific workflow for preventing false touch in the game process of the mobile phone terminal by combining with the server is as follows:
S71, after the game is started, initializing an SDK, and requesting a server to acquire the configuration of the current machine type, wherein the configuration comprises super parameters of a function switch and an algorithm. Namely, the server side can acquire a system inhibition response area in the current model, such as an area A shown in fig. 3.
S72, in the game client, the anti-false touch module (equivalent to the comparison unit) receives the layout of the game button UI sent by the server, analyzes the game buttons which are possibly touched, and generates an anti-false touch filter of each game button and an application range thereof, wherein a button response area is the application range of the filter.
The response area of the button is an intersection area between a suppression area of the mobile terminal system and the game button, and further the distribution of total touch times in a certain time is judged in the intersection area, the times of occurrence of each position in the intersection area can be ordered, and when the times of occurrence are greater than or equal to a specific filtering strength, the position can be determined as a response position (second position). That is, when the position where the new touch operation is located falls within the response position, the touch operation can be responded in the game client even if the position belongs to the position in the mobile terminal suppression area.
In practical application, if there are 4 click touch buttons in the UI layout of the game buttons, and each click touch button has a certain response area, there is generally no intersection portion between the 4 click touch buttons. An area for filtering out misoperation is generated for each click touch button, and when the click touch operation is positioned in the area for misoperation, the game server does not respond to the click operation. For example, the player touches the click button to move the character in the game forward, the game client uploads the click operation to the game server, and the game server judges that the click operation is a false touch operation, so that the game server will not respond to the click operation, i.e. the player cannot move the position of the game character through the click operation.
And S73, the data acquisition module in the error touch prevention module receives touch events in the user game through the system side, and divides the touch events according to the application range of each button filter.
In this scheme, it may be assumed that there are no cases where response ranges other than 2 UIs overlap. Because the response area of each button is not overlapped in the response areas of the game touch buttons, and the intersection area between the error touch prevention area of the mobile terminal and the two touch buttons cannot be formed at the same time, the scheme can prevent the situation that more than 2 response ranges outside the UI are overlapped.
And S74, the algorithm model in the false touch prevention module obtains the parameters of each filter according to the super parameters (the restraining response area of the model system of the current running application) given by the server and the touch events in the range of each filter stored in the data acquisition.
S75, enabling the system touch event to enter an anti-false touch module, entering a corresponding filter according to the application range of each filter, and determining whether to report to the game client according to the filtering rule. That is, whether the touch operation is responded is judged by the application layer of the game, instead of determining by the game terminal whether to report the touch operation to the game application layer at the time of screen capture. In other words, the touch operation is determined at the game application layer whether the touch operation is executed by the game client, but not when the game client acquires that the touch operation is in the error touch area, the touch operation is determined not to be uploaded to the game application layer.
Optionally, the anti-false touch module determines whether the game button is likely to be touched by a false. Firstly, an error touch prevention module (SDK) obtains the width delta of an error touch area corresponding to the mobile phone (a suppression response area corresponding to the current mobile terminal system) through a server, wherein the value is the width of an error touch area at the edge of the mobile phone, and the unit equipment is independent of a pixel DIP. And obtaining the range of the whole false touch area on the screen, obtaining the response range of all buttons of the game by the false touch prevention SDK, detecting, if the response range of the buttons has intersection with the false touch range, judging that the buttons are likely to be touched by mistake, generating a corresponding filter for the buttons, and if the intersection does not exist, not generating the filter.
Therefore, the system touch event needs to be within the filter range to judge whether to filter or not, otherwise, the filtering is not needed. Conditions within the filtration range include: 1. the trigger type of the button is satisfied, 2. Within the response range of the button UI.
Specifically, the application range of the filter is determined by the trigger form of the button and the response range of the button UI. Trigger forms fall into two categories: a click type and a slide type, wherein the click type cannot trigger the slide type and the slide cannot trigger the click.
As shown in fig. 8, a workflow diagram of system touch event filtering is presented. The method comprises the following steps:
s81, acquiring a system touch event;
s82, judging whether the touch event is in the filter range; if yes, S83 is executed, and if no, S84 is executed;
s83, judging whether the touch event is in the false touch range, if yes, executing S85, and if not, executing S84;
s84, filtering is not performed;
s85, filtering.
Determining that the touch event is a click type touch event; filtering under the condition that the click touch event is in the filter range; conversely, if the click is not within the filter range, no filtering is performed.
Optionally, the data acquisition module acquires the content description: the data acquisition module needs to store the system touch events according to the application ranges of different filters, and generally, the number of touch events of each button needs to count the touch events (click touch events and/or sliding touch events) executed in M games, where M is the number of games completed through the touch game client in the historical time of the player, for example, the last player completes 10 games. Namely, the number of touch operations in the historical time period is obtained through the M game, so that big data of different types of touch operations are obtained, the probability of the touch operations in a response area is determined according to the big data (the big data of the number of touch events can be given by cloud control), the specific number of times is determined according to the number of times that the button is operated by a player, and the number of counted touch events is N (the range of N values is 150-300).
Optionally, the player habitual operation region is modeled. How to build a probabilistic model for frequent operation areas of a player is described in detail below:
selecting characteristics of a touch event: 1) For click operations, the most prominent feature is the coordinates (x, y) of the click; 2) For a sliding operation, it is characterized by the offset vector of the sliding, i.e. the sliding direction and distance.
And constructing a space probability model of button clicking operation of a single clicking type, and processing corresponding data acquired by the data acquisition module.
In the data noise filtering process, density clustering is adopted to filter noise.
It should be noted that, in the density clustering process: considering a set of points to be clustered in a certain space, for density clustering, all points are divided into core points, (density) reachable points and outlier points, for example, if a point p has at least minPts points (including itself) within a range of epsilon, this point p is called core point, and those points within epsilon range are called reachable points directly reachable by p. Also defined, no point is directly reachable by an uncore point.
In density clustering, q is said to be reachable by p if there is one road p1,..pn, p1 = p and pn = q, and each pi+1 is directly reachable by pi (all points on the road except q must be core points). All points that are not reachable by any point are called extra-local points.
The pseudo code of the density clustering algorithm is as follows:
/>
the player's operating points are clustered using a density clustering algorithm, and points marked as noise and clusters with a population size less than the proportion of total points λ, given by cloud control, are filtered out, typically with a value <5%.
Density clustering requires two parameters: epsilon (eps) (a parameter that determines whether or not it is a cluster center point, and how many are appropriate the center point parameters) and the minimum number of points (minPts) required to form a high density region. Wherein, the parameters are given by cloud control, epsilon is generally 1-3 units of the lowest resolution of touch control, and minPts is generally 5.
In order to avoid errors caused by a large gap between the basic assumption in the parametric model and the actual physical model, a non-parametric estimation method based on Gaussian kernel density is adopted in the embodiment. First, the entire button response area is cut into squares of length h. As shown in fig. 9, a cell diagram responsive to region segmentation.
Counting click events contained in the squares, and estimating probability density of each square after counting is completed:
wherein ,/>As a kernel function, there are rectangular windows and gaussian windows, where spherical gaussian windows are used, the function is as follows:
wherein ,xi And representing the clicking operation coordinate vector, wherein x represents the coordinate vector of the central point of the Nth region, h is the coordinate vector N of the central point of the square lattice, and the total number of clicking events is represented. The probability density of the frequent operation area of the user can be obtained through the above formula.
And for the construction of a space probability model with sliding type operation, acquiring data of a sliding touch event executed in the P game by using a data acquisition module, processing the data, determining a response position in an intersection between an anti-false touch area of the mobile terminal and a man-machine interaction key in the game according to the data, wherein the determination of the specific response position is similar to the click type operation.
The data format of the slide type data is briefly described as follows: first, the user clicks on the screen, generates a click event, and uploads the click event to the game client. If the user hand does not leave or move, the second frame is again uploaded, and still judges that the user is a click event, but the ID is the same as before, the hold on field is set to true, if the user is swiped and pressed again, the hold on field is not set to true, and if the user finger does not leave and move, the system judges that the user is a sliding event, namely the increase field moves (move), and informs the user of the sliding in the time period.
In the actual false touch determination, it is possible that the false touch sliding is determined when it occurs at the beginning, if so, the false touch sliding is directly filtered out, instead of waiting for a period of time to be reported for further determination (thus, the normal operation is easy to cause the touch breaking phenomenon). However, for a sliding operation, it is possible to create another case, i.e. a click when it first reports a touch event, where the click is filtered, but if it is determined that a false touch is present, the subsequent event (already identified as a sliding event) is filtered by the sliding event. In a specific operation, each sliding event is judged, and if the subsequent filtering strategy is not hit any more, filtering is not performed. If the judgment is not false touch, the subsequent operation is not filtered.
In summary, since the false touch determination is made from the beginning of the operation, the data acquisition module in the present embodiment uses the beginning of all the sliding data of the user to build a probability model.
The specific steps for constructing the space probability model of the sliding type operation are as follows:
1) Data based on density clustering is noise filtered. In this embodiment, for the sliding-type data, the similarity will be calculated by:
unlike simple click operation, the sliding operation has a current position and an offset vector of the previous sliding, and the main purpose of noise filtering is to find a dense operation area, so that the sliding direction is temporarily not considered, i.e. the sliding operation is only performed according to the occurrence position by adopting the same noise filtering algorithm as the click operation.
2) Probability model construction the probability model construction likewise uses Parzen window function (density function) method. Except that a joint probability distribution of joint sliding positions and sliding directions is to be established. Therefore, in the judgment of the sliding touch event, the probability density function of the Parzen window function needs to be changed as follows:
/>
wherein
The above formula uses a circular gaussian kernel function, where the random variable is a four-dimensional variable, x represents the abscissa of the position where the sliding event occurs, y represents the ordinate of the position where the sliding event occurs, and Δx, Δy represent the offset of the position where the sliding event occurs.
θ is the sliding angular position, and has a value ofl is the sliding length, the value is
wherein ,h,hθ ,h l The window size of the window in the abscissa and ordinate, the sliding angle coordinate and the sliding length is a parameter of the statistical fine granularity, and can be given by cloud control. The probability density of whether a sliding event is frequently operated by a player can be obtained through statistics through the formula, and the probability density is used for false touch filtering.
For false touch filtering, the filter can be designed by frequent operation region probability, which comprises the following two cases:
in case 1, it is determined whether a clicking operation is a false touch, and the specific flow is as follows: a) It appears in the false touch area; b) Corresponding game button UI, the frequent operation probability of the player satisfies: p (x) < σ. Wherein p is the probability density of frequent operation of the button, x is the coordinate vector of the clicking position, sigma is the filtering strength (controlled by cloud control or by the error touch prevention level of the client), the value-1 is closing filtering, the value range can be 0.1% -10%, and the recommended value is 0.3%. When the value of the filtering strength σ is considered, it can be assumed that: the coordinate of the point of the screen UI response area clicked by the player is X, and the filter calculates that the probability of the player clicking the area is 0.1% according to the historical operation data (for example, the data of 100 games played by the player of the account), namely, the player clicks the button (for example, enlarges the invitation button) according to the historical data, and clicks the coordinate X1000 times, so that the player is considered to be carelessly and mistakenly touched with a large probability, and the clicking operation is filtered.
A flowchart for determining a false touch of a click operation is shown in fig. 10. The specific process is as follows:
s1001, acquiring a click event;
s1002, judging whether the click event belongs to a certain classifier; in the case of yes, S1003 is executed, and in the case of no, S1004 is executed;
s1003; judging the belonging classifier (equivalent to judging which UI button the click event corresponds to);
s1004, directly uploading the game client;
namely, when judging that the click event does not belong to any classifier, the click event can be directly uploaded to the game client;
s1005, determining whether the touch area is within the false touch area, if yes, executing S1006, and if no, executing S1004;
s1006, judging whether the probability of clicking operation is smaller than a threshold value, and P (x) < Σ; in the case of yes, S1004 is executed, and in the case of no, S1007 is executed;
s1007, not uploading games; i.e., not upload the click operation to the game client.
In the process of judging the clicking false touch, if the clicking event belongs to a classifier, judging whether the clicking event is positioned in a false touch area, and if the clicking event is not positioned in the false touch area, directly uploading the clicking event to a game client;
Under the condition that the click event belongs to a certain classifier and is positioned in a false touch area, and under the condition that the probability value of the click operation in a filter is smaller than a threshold value (for example, the third filtering intensity), the click event is not uploaded to a game client;
when it is determined that the click event belongs to a classifier and the click event is located in a false touch area, and the probability value of the click operation in the filter is greater than a threshold value (equivalent to greater than the third filtering strength), the click event may be directly uploaded to the game client.
And 2, judging whether a sliding operation is a false touch or not, wherein the flow is as follows: a) Judging whether the beginning of the sliding is the sliding (namely, whether the previous event is a click event or not); b) Judging whether the false touch area exists or not; c) Judging the corresponding game button UI, the frequent operation probability of the player is satisfied,
wherein ,ps Probability density for frequent operation of the button sliding event, the probability variable being given the same sign as sigma s The filtering threshold for the sliding event can be given by the cloud control, with a recommended value of 0.6%. It will be appreciated that the sigma s The range of the value of (2) can be 0.1-10%, and can be selected according to actual conditions.
As shown in fig. 11, which is a flowchart for determining a false touch of a sliding operation, the filtering determination process of the sliding touch event is as follows:
s1101, detecting click event generation;
s1102, judging whether the click event is the beginning of the slide event, if yes, executing S1103, and if no, executing S1104;
s1103, judging whether the classifier belongs to a certain classifier, if yes, executing S1105, and if no, executing S1106;
s1104, determining whether the last event is filtered, if yes, executing S1106, and if no, executing S1105;
s1105, directly uploading the game;
s1106, judging the classifier to which the classifier belongs;
s1107, judging whether the touch area is in the false touch area, if yes, executing S1108, and if no, executing S1105;
s1108, judging whether the probability of clicking operation is smaller than a threshold value, wherein P (x) < Σ; in the case of yes, S1105 is performed, and in the case of no, S1109 is performed;
s1109, not uploading the game client; i.e., not upload the click operation to the game client.
In the process of judging the sliding false touch, under the condition that the sliding event belongs to a certain classifier and the sliding event is in a false touch area, and under the condition that the probability value of the click sliding operation in a filter is smaller than a threshold value (equivalent to fourth filtering intensity), the sliding event is not uploaded to a game client;
The value of the fourth filtering strength may be, but not limited to, a custom value for controlling the filtering strength, which is set according to a specific scenario, and the embodiment of the present invention is not limited herein.
If it is determined that the sliding event belongs to a classifier and the sliding event is in a false touch area and the probability value of the sliding operation in the filter is greater than a threshold value (equivalent to fourth filtering strength), the sliding event can be directly uploaded to the game client.
In the above embodiment, the error touch judgment rule can be adaptively adjusted according to habits of different users so as to adapt to the habits of the users, thereby avoiding the problems of insensitive user operation and the like caused by the screen edge suppression scheme. Meanwhile, the error touch prevention parameters can be dynamically adjusted, and the client can also increase corresponding setting options for adjustment of players, so that the method has flexibility.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
According to another aspect of the embodiment of the invention, a touch screen control device for implementing the touch screen control method is also provided. As shown in fig. 12, the apparatus includes: a first determination unit 121, an alignment unit 123, and a response unit 125.
The first determining unit 121 is configured to determine, when the target touch event is acquired in the client, a touch position of the target touch event.
The comparison unit 123 is configured to compare the touch position with an effective response position set corresponding to a man-machine interaction key set in the client, where the effective response position set includes a first position in a display area of the man-machine interaction key and a second position determined from an inhibition response area corresponding to the man-machine interaction key, and the second position is determined according to a historical man-machine interaction operation in the client.
And a response unit 125, configured to perform a man-machine interaction operation in response to the target touch event in a case where the touch position is located in the set of valid response positions.
By the above means, the first determining unit 121 determines the touch position of the target touch event in the case where the target touch event is detected in the client; the comparison unit 123 compares the touch position with an effective response position set corresponding to the man-machine interaction key set in the client, where the effective response position set includes a first position in a display area of the man-machine interaction key and a second position determined from an inhibition response area corresponding to the man-machine interaction key, where the second position is determined according to a historical man-machine interaction operation in the client; in the case that the touch position is located in the set of valid response positions, the response unit 125 responds to the target touch event and performs a man-machine interaction operation. Therefore, the method and the device can realize the effective response position set based on the position in the display area containing the man-machine interaction keys and the position determined by the historical man-machine interaction operation to determine whether the currently detected target touch event is to be responded to execute the corresponding man-machine interaction operation, avoid missing the response to the reasonable touch event, ensure the accurate processing of the touch event in the touch screen control process, and further solve the technical problem that the touch event of the touch screen cannot be effectively and accurately processed in the prior art.
As an alternative embodiment, the apparatus may further include: the system comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring a display area of each man-machine interaction key and a suppression response area corresponding to each man-machine interaction key, which are arranged in a client side, before determining a touch position of a target touch event; a second determining unit configured to determine a first position in the display area as a position in the set of effective response positions; the statistics unit is used for counting historical man-machine interaction operations triggered in the inhibition response area in a historical time period; and the third determining unit is used for determining a second position from the response inhibition area according to the historical man-machine interaction operation and determining the second position as a position in the effective response position set.
As an alternative embodiment, the third determining unit may include: the first acquisition module is used for acquiring the times of historical man-machine interaction triggered in the inhibition response area in the historical time period; the first determining module is used for determining a first probability density of the historical man-machine interaction operation times in the historical time period according to the historical man-machine interaction operation times, wherein the first probability density is used for representing the times of touch control of the historical man-machine interaction operation at different positions in the inhibition response area; and the second determining module is used for determining the position where the first probability density is greater than or equal to the first filtering intensity as a second position.
As an alternative embodiment, in the case where the historical human-computer interaction operation is a sliding operation, the third determining unit may include: a second acquisition module for acquiring a sliding offset parameter of a sliding operation in a history period, wherein the offset parameter includes a sliding direction parameter and a sliding distance parameter; a third determining module, configured to determine a second probability density of the sliding operation in the historical time period according to the offset parameter by using a density function, where the second probability density is used to represent the number of times of touch control of the sliding operation at different positions in the suppression response area; and the fourth determining module is used for determining the position where the second probability density is greater than or equal to the second filtering intensity as the second position.
As an optional embodiment, in a case where the historical human-computer interaction operation is a click operation, the third determining unit may include: the third acquisition module is used for acquiring coordinate parameters of the click operation in the historical time period, wherein the coordinate parameters comprise an ordinate parameter and an abscissa parameter; a fifth determining module, configured to determine a third probability density of the click operation in the historical time period according to the coordinate parameter by using a density function, where the third probability density is used to represent the number of times of touch control of the click operation at different positions in the suppression response area; and the sixth determining module is used for determining the position where the third probability density is greater than the third filtering intensity as the second position.
As an alternative embodiment, the response unit 123 may include: and the response module is used for responding to the target touch event to execute man-machine interaction operation under the condition that the target touch event is positioned at the second position and the probability of responding to the target touch event is larger than a fourth threshold value.
According to a further aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the above-described touch screen control method, as shown in fig. 13, the electronic device comprising a memory 1302 and a processor 1304, the memory 1302 having stored therein a computer program, the processor 1304 being arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, under the condition that a target touch event is acquired from a client, determining the touch position of the target touch event;
s2, comparing the touch position with an effective response position set corresponding to the man-machine interaction key arranged in the client, wherein the effective response position set comprises a first position in a display area of the man-machine interaction key and a second position determined from a response inhibition area corresponding to the man-machine interaction key, and the second position is determined according to historical man-machine interaction operation in the client;
And S3, under the condition that the touch control positions are located in the effective response position set, responding to the target touch control event to execute man-machine interaction operation.
Alternatively, it will be understood by those skilled in the art that the structure shown in fig. 13 is only schematic, and the electronic device may also be a terminal device such as a smart phone (e.g. an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 13 is not limited to the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 13, or have a different configuration than shown in FIG. 13.
The memory 1302 may be used to store software programs and modules, such as program instructions/modules corresponding to the touch screen control method and apparatus in the embodiments of the present invention, and the processor 1304 executes the software programs and modules stored in the memory 1302 to perform various functional applications and data processing, that is, implement the touch screen control method described above. Memory 1302 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 1302 may further include memory located remotely from processor 1304, which may be connected to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1302 may be, but is not limited to, information for use in, for example, historical touch events between human machines. As an example, as shown in fig. 13, the above memory 1302 may include, but is not limited to, the determining unit 121, the comparing unit 23, and the responding unit 125 in the above touch screen control device. In addition, other module units in the touch screen control device may be included, but are not limited to, and are not described in detail in this example.
Optionally, the transmission device 1306 is configured to receive or transmit data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission means 1306 comprises a network adapter (Network Interface Controller, NIC) which can be connected to other network devices and routers via network lines so as to communicate with the internet or a local area network. In one example, the transmission device 1306 is a Radio Frequency (RF) module for communicating wirelessly with the internet.
According to a further aspect of embodiments of the present invention, there is also provided a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, under the condition that a target touch event is acquired from a client, determining the touch position of the target touch event;
s2, comparing the touch position with an effective response position set corresponding to the man-machine interaction key arranged in the client, wherein the effective response position set comprises a first position in a display area of the man-machine interaction key and a second position determined from a response inhibition area corresponding to the man-machine interaction key, and the second position is determined according to historical man-machine interaction operation in the client;
And S3, under the condition that the touch control positions are located in the effective response position set, responding to the target touch control event to execute man-machine interaction operation.
Alternatively, in this embodiment, it will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by a program for instructing a terminal device to execute the steps, where the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the method described in the embodiments of the present invention.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided by the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (13)

1. A touch screen control method, comprising:
when a client detects a target touch event, determining a touch position of the target touch event;
comparing the touch position with an effective response position set corresponding to a man-machine interaction key arranged in a client, wherein the effective response position set comprises a first position in a display area of the man-machine interaction key and a second position determined from a suppression response area corresponding to the man-machine interaction key, the second position is determined according to the number of times of touch of different positions in the suppression response area of historical man-machine interaction operation stored in the client, the suppression response area is an intersection area of the display area and a false touch area, and the false touch area is an area corresponding to an operation system in a mobile terminal for operating the client;
And under the condition that the touch control positions are located in the effective response position set, responding to the target touch control event and executing man-machine interaction operation.
2. The method of claim 1, further comprising, prior to the determining the touch location of the target touch event:
the display area of each man-machine interaction key set in the client is obtained, and the first position in the effective response position set is determined from the display area;
determining the inhibition response area corresponding to each man-machine interaction key according to the display area and the false touch area;
and determining the second position in the effective response position set from the response inhibition area according to the historical man-machine interaction operation.
3. The method of claim 2, wherein obtaining the inhibition response area corresponding to each of the human-machine interaction keys comprises:
acquiring the false touch area corresponding to the operation system in the mobile terminal for operating the client;
determining the intersection area of the display area and the false touch area;
and determining the intersection area as the response inhibition area corresponding to the man-machine interaction key.
4. The method of claim 2, wherein determining a second location from the quench response area based on the historical human-machine interaction operation comprises:
acquiring the times of the historical man-machine interaction operation triggered in the inhibition response area in a historical time period;
determining a first probability density of the historical man-machine interaction operation times in the historical time period according to the historical man-machine interaction operation times, wherein the first probability density is used for representing the times of touch control of the historical man-machine interaction operation at different positions in the inhibition response area;
and determining the position where the first probability density is greater than or equal to the first filtering strength as the second position.
5. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
and under the condition that the historical man-machine interaction operation is a sliding operation, determining the second position by the following method:
acquiring a sliding offset parameter of the sliding operation in a historical time period, wherein the offset parameter comprises a sliding direction parameter and a sliding distance parameter;
determining a second probability density of the sliding operation in the historical time period by using a density function according to the offset parameter, wherein the second probability density is used for representing the number of times of touch control of the sliding operation at different positions in the response inhibition area;
And determining the position where the second probability density is greater than or equal to the first filtering strength as the second position.
6. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
and under the condition that the historical man-machine interaction operation is a click operation, determining the second position by the following method:
acquiring coordinate parameters of the clicking operation in a historical time period, wherein the coordinate parameters comprise an ordinate parameter and an abscissa parameter;
determining a third probability density of the clicking operation in the historical time period by using a density window function according to the coordinate parameters, wherein the third probability density is used for representing the touch times of the clicking operation at different positions in the inhibition response area;
and determining the position where the third probability density is greater than or equal to the second filtering intensity as the second position.
7. The method of claim 6, wherein determining a third probability density of the click operation over the historical time period using a density window function from the coordinate parameters comprises:
dividing the inhibition response area into N areas, wherein N is a positive integer greater than or equal to 1;
Acquiring the clicking operation times in each of the N areas;
calculating the probability density of each region by the following formula;
wherein ,is a kernel function, the kernel function value is +.>,/>Representing the click operation coordinate vector, +.>Coordinate vector representing the center point of the nth said region,/->Representing the total number of click operations, +.>And (5) representing the length of the square lattice after the suppression response area is segmented, and T representing the transposition operation.
8. The method of claim 1, wherein performing a human-machine interaction in response to the target touch event if the touch location is in the set of valid response locations comprises:
and under the condition that the target touch event is a click operation, under the condition that the click operation is positioned at the second position and the probability of responding to the click operation is larger than or equal to a fourth filtering intensity, responding to the click operation to execute man-machine interaction operation.
9. The method of claim 8, wherein performing a human-machine interaction in response to the target touch event if the touch location is in the set of valid response locations comprises:
And under the condition that the target touch event is a sliding operation, under the condition that the sliding operation is positioned at the second position and the probability of responding to the sliding operation is greater than or equal to a fifth filtering intensity, responding to the sliding operation and executing man-machine interaction operation.
10. The method of claim 9, wherein the fourth filter strength and the fifth filter strength are each in a range of 0.1% -10%, the fifth filter strength being greater than the fourth filter strength.
11. The method of claim 5, wherein, in the event that the historical human-machine interaction operation is a sliding operation,
and before judging the historical man-machine interaction operation to be a sliding operation, marking the operation as the sliding operation under the condition that the operation is detected to be a clicking operation for the first time and the clicking operation is judged not to be responded.
12. A touch screen control device, comprising:
the first determining unit is used for determining the touch position of the target touch event under the condition that the target touch event is acquired in the client;
the comparison unit is used for comparing the touch position with an effective response position set corresponding to the man-machine interaction key arranged in the client, wherein the effective response position set comprises a first position in a display area of the man-machine interaction key and a second position determined from an inhibition response area corresponding to the man-machine interaction key, the second position is determined according to the number of times of touch of historical man-machine interaction operation in the client in different positions in the inhibition response area, the inhibition response area is an intersection area of the display area and a false touch area, and the false touch area is an area corresponding to an operation system in a mobile terminal for operating the client;
And the response unit is used for responding to the target touch event to execute man-machine interaction operation under the condition that the touch position is located in the effective response position set.
13. A storage medium comprising a stored program, wherein the program when run performs the method of any one of the preceding claims 1 to 11.
CN202010143891.1A 2020-03-04 2020-03-04 Touch screen control method and device, storage medium and electronic device Active CN113360071B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010143891.1A CN113360071B (en) 2020-03-04 2020-03-04 Touch screen control method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010143891.1A CN113360071B (en) 2020-03-04 2020-03-04 Touch screen control method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN113360071A CN113360071A (en) 2021-09-07
CN113360071B true CN113360071B (en) 2023-08-29

Family

ID=77523537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010143891.1A Active CN113360071B (en) 2020-03-04 2020-03-04 Touch screen control method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113360071B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011138276A (en) * 2009-12-28 2011-07-14 Mitsubishi Electric Corp Information input device and information input method
CN106527818A (en) * 2016-12-16 2017-03-22 广东欧珀移动通信有限公司 Control method and device for touch operation on mobile terminal, and mobile terminal
CN106855785A (en) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 Method, device and the mobile terminal of screen false-touch prevention are realized during a kind of hands grasping
CN106855782A (en) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 A kind of method for preventing false touch, device and terminal
CN109697010A (en) * 2018-11-22 2019-04-30 努比亚技术有限公司 A kind of suspended window position control method, terminal and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830844A (en) * 2012-08-17 2012-12-19 北京小米科技有限责任公司 Touch screen misoperation prevention method, touch screen and mobile terminal
US9678656B2 (en) * 2014-12-19 2017-06-13 International Business Machines Corporation Preventing accidental selection events on a touch screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011138276A (en) * 2009-12-28 2011-07-14 Mitsubishi Electric Corp Information input device and information input method
CN106527818A (en) * 2016-12-16 2017-03-22 广东欧珀移动通信有限公司 Control method and device for touch operation on mobile terminal, and mobile terminal
CN106855785A (en) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 Method, device and the mobile terminal of screen false-touch prevention are realized during a kind of hands grasping
CN106855782A (en) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 A kind of method for preventing false touch, device and terminal
CN109697010A (en) * 2018-11-22 2019-04-30 努比亚技术有限公司 A kind of suspended window position control method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN113360071A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN108647052B (en) Application program preloading method and device, storage medium and terminal
JP2017529582A (en) Touch classification
CN108153463B (en) Application interface display control method and device, storage medium and mobile terminal
CN106681636B (en) Method and device for preventing false touch and mobile terminal
CN108595231A (en) Application program preloads method, apparatus, storage medium and intelligent terminal
CN109558032B (en) Operation processing method and device and computer equipment
CN107577415A (en) Touch operation response method and device
CN107608550A (en) Touch operation response method and device
CN107608551A (en) Touch operation response method and device
CN105940672B (en) Detect the pattern described on the screen of user equipment
US10594836B2 (en) Automatic detection of human and non-human activity
US20140223328A1 (en) Apparatus and method for automatically controlling display screen density
CN108815843B (en) Control method and device of virtual rocker
CN108710516A (en) Acquisition method, device, storage medium and the intelligent terminal of forecast sample
CN103761086A (en) Screen control method and terminal
CN108921530B (en) Information judgment method and device, storage medium and terminal
US20140232672A1 (en) Method and terminal for triggering application programs and application program functions
CN113360071B (en) Touch screen control method and device, storage medium and electronic device
CN109710111B (en) False touch prevention method and electronic equipment
CN109002293B (en) UI element display method and device, electronic equipment and storage medium
CN110647268A (en) Control method and control device for display window in game
CN104915138B (en) Information processing method and electronic equipment
CN103593052A (en) Gesture capture method based on Kinect and OpenNI
CN103227810A (en) Method, device and system for recognizing remote tabletop semantics in network monitoring
CN111612280B (en) Data analysis method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40052224

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant