CN112817483A - Multi-point touch processing method, device, equipment and storage medium - Google Patents

Multi-point touch processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112817483A
CN112817483A CN202110123915.1A CN202110123915A CN112817483A CN 112817483 A CN112817483 A CN 112817483A CN 202110123915 A CN202110123915 A CN 202110123915A CN 112817483 A CN112817483 A CN 112817483A
Authority
CN
China
Prior art keywords
touch
points
touch points
items
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110123915.1A
Other languages
Chinese (zh)
Other versions
CN112817483B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110123915.1A priority Critical patent/CN112817483B/en
Publication of CN112817483A publication Critical patent/CN112817483A/en
Application granted granted Critical
Publication of CN112817483B publication Critical patent/CN112817483B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04104Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger

Landscapes

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

Abstract

The application provides a multi-point touch processing method, a multi-point touch processing device and a storage medium, wherein the method comprises the following steps: detecting that a plurality of first touch points exist on a terminal screen, and determining a plurality of second touch points meeting a preset touch condition from the plurality of first touch points; determining whether the plurality of second touch points are synchronously executable touch points, and if the plurality of second touch points are synchronously executable touch points, adding the plurality of second touch points into an effective touch point set; and synchronously triggering touch items corresponding to the second touch points based on the effective touch point set. In the processing process, corresponding response operation is performed through relevance analysis of a plurality of touch points meeting preset touch conditions, so that the requirements of a user are accurately responded, and the response capability of the equipment to multi-point touch is improved.

Description

Multi-point touch processing method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of screen touch technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing multi-touch.
Background
The touch screen technology is a widely used human-computer interaction technology, and the input control mode of the electronic equipment is gradually changed from the traditional keyboard or mouse control mode to the touch screen control mode. Compared with the traditional input control mode, the touch screen technology can provide more simplified man-machine interaction service for users.
In the actual application process, the user's finger may touch the terminal screen by mistake, or the user touches different positions of the terminal screen at the same time, so a reasonable processing logic needs to be designed for possible touch actions. Currently, for multi-touch, the existing scheme mainly monitors the touch position, touch time, touch duration, and the like of each touch point, and selects an effective touch point to be executed first from a plurality of touch points, thereby avoiding an interface abnormality caused by a logic conflict.
The above solution is not applicable to all scenarios, for example, in some game scenarios, some skills of the virtual character need to be triggered by multi-touch. Therefore, it is necessary to perform corresponding optimization processing on the multi-touch processing scheme.
Disclosure of Invention
The application provides a multi-point touch processing method, device, equipment and storage medium, and the response capability of the equipment to the multi-point touch is improved.
In a first aspect, an embodiment of the present application provides a method for processing multi-touch, including:
detecting that a plurality of first touch points exist on a terminal screen, and determining a plurality of second touch points meeting a preset touch condition from the plurality of first touch points;
determining whether the second touch points are synchronously executable touch points, and if the second touch points are synchronously executable touch points, adding the second touch points into an effective touch point set;
and triggering touch items corresponding to the second touch points based on the effective touch point set.
In an embodiment of the present application, the determining whether the second touch points are synchronously executable touch points, and if the second touch points are synchronously executable touch points, adding the second touch points to an active touch point set includes:
determining a touch item corresponding to each second touch point;
and determining whether the touch items are preset touch items capable of being executed synchronously, and adding the second touch points into the effective touch point set if the touch items are preset touch items capable of being executed synchronously.
In an embodiment of the application, before determining whether the plurality of touch items are preset touch items that can be executed synchronously, the method further includes:
determining whether the touch types of the touch items are the same, and if the touch types of the touch items are the same, executing the step of determining whether the touch items are preset touch items which can be executed synchronously.
In an embodiment of the application, if at least two touch items of the plurality of touch items are not preset touch items that can be executed synchronously, the method further includes:
and adding the second touch point executed firstly in the plurality of second touch points into the effective touch point set.
In an embodiment of the present application, the determining a plurality of second touch points satisfying a preset touch condition from the plurality of first touch points includes:
taking the first touch point meeting the preset stay time as the second touch point; and/or
Taking a first touch point in a preset clicking range of the touch item as the second touch point; and/or
And taking the first touch point meeting the preset pressure value as the second touch point.
In an embodiment of the application, when triggering the touch items corresponding to the plurality of second touch points based on the effective touch point set, it is detected that a new touch point appears on the terminal screen, and the method further includes:
determining whether the new touch point meets the preset touch condition, and if the new touch point meets the preset touch condition, determining whether the new touch point and the plurality of second touch points are synchronously executable touch points;
if the new touch point and the second touch points are synchronously executable touch points, adding the new touch point into the effective touch point set;
and synchronously triggering the plurality of second touch points and the touch items corresponding to the new touch points.
In an embodiment of the present application, if the new touch point and the second touch points are not synchronously executable touch points, the method further includes:
and determining whether the priority of the touch item corresponding to the new touch point is higher than the priorities of the touch items corresponding to the second touch points, if the priority of the touch item corresponding to the new touch point is higher than the priorities of the touch items corresponding to the second touch points, triggering the touch item corresponding to the new touch point, and canceling the touch items corresponding to the second touch points which are synchronously triggered.
In a second aspect, an embodiment of the present application provides a multi-touch processing device, including:
the detection module is used for detecting that a plurality of first touch points exist on a terminal screen;
the processing module is used for determining a plurality of second touch points meeting a preset touch condition from the plurality of first touch points;
determining whether the second touch points are synchronously executable touch points, and if the second touch points are synchronously executable touch points, adding the second touch points into an effective touch point set;
and the control module is used for triggering the touch items corresponding to the second touch points based on the effective touch point set.
In an embodiment of the present application, the processing module is specifically configured to:
determining a touch item corresponding to each second touch point;
and determining whether the touch items are preset touch items capable of being executed synchronously, and adding the second touch points into the effective touch point set if the touch items are preset touch items capable of being executed synchronously.
In an embodiment of the application, before determining whether the plurality of touch items are preset touch items that can be executed synchronously, the processing module is further configured to:
determining whether the touch types of the touch items are the same, and if the touch types of the touch items are the same, executing the step of determining whether the touch items are preset touch items which can be executed synchronously.
In an embodiment of the application, if at least two touch items of the plurality of touch items are not preset touch items that can be executed synchronously, the processing module is further configured to:
and adding the second touch point executed firstly in the plurality of second touch points into the effective touch point set.
In an embodiment of the present application, the processing module is specifically configured to:
taking the first touch point meeting the preset stay time as the second touch point; and/or
Taking a first touch point in a preset clicking range of the touch item as the second touch point; and/or
And taking the first touch point meeting the preset pressure value as the second touch point.
In an embodiment of the application, when the control module triggers the touch items corresponding to the plurality of second touch points based on the set of effective touch points, the detection module detects that a new touch point appears on the terminal screen, and the processing module is further configured to:
determining whether the new touch point meets the preset touch condition, and if the new touch point meets the preset touch condition, determining whether the new touch point and the plurality of second touch points are synchronously executable touch points;
if the new touch point and the second touch points are synchronously executable touch points, adding the new touch point into the effective touch point set;
and the control module is used for synchronously triggering the second touch points and the touch items corresponding to the new touch points.
In an embodiment of the application, if the new touch point and the second touch points are not synchronously executable touch points, the processing module is further configured to:
and determining whether the priority of the touch item corresponding to the new touch point is higher than the priorities of the touch items corresponding to the second touch points, and if the priority of the touch item corresponding to the new touch point is higher than the priorities of the touch items corresponding to the second touch points, triggering the touch item corresponding to the new touch point and canceling the synchronously triggered touch items corresponding to the second touch points.
In a third aspect, an embodiment of the present application provides an electronic device, including: the touch screen, the memory and the processor; the touch screen is used for receiving touch operation of a user; the memory is to store program instructions; the processor is configured to invoke program instructions stored in the memory to implement the method of any of claims 1-7.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the method of any one of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product comprising a computer program that, when executed by a processor, implements the method of any one of the first aspect of the present application.
The embodiment of the application provides a multi-point touch processing method, a multi-point touch processing device, multi-point touch equipment and a storage medium, wherein the method comprises the following steps: detecting that a plurality of first touch points exist on a terminal screen, and determining a plurality of second touch points meeting a preset touch condition from the plurality of first touch points; determining whether the plurality of second touch points are synchronously executable touch points, and if the plurality of second touch points are synchronously executable touch points, adding the plurality of second touch points into an effective touch point set; and synchronously triggering touch items corresponding to the second touch points based on the effective touch point set. In the processing process, corresponding response operation is performed through relevance analysis of a plurality of touch points meeting preset touch conditions, so that the requirements of a user are accurately responded, and the response capability of the equipment to multi-point touch is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a first flowchart of a multi-touch processing method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a graphical user interface provided by an embodiment of the present application;
fig. 3 is a second flowchart of a multi-touch processing method according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a multi-touch processing method according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a multi-touch processing device according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation 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.
In a plurality of application software and system interfaces, different touch control logics can be set according to different application scenes. From the number of touch points, a touch scene can be divided into a single-point touch scene and a multi-point touch scene. For a single-point touch scene, in the scene, the terminal can only respond to one touch point. When the terminal detects that a plurality of touch points exist on the screen, the terminal can determine the effective touch points by determining whether the touch points meet the touch condition, and trigger the touch items of the effective touch points, and the touch points which do not meet the touch condition are regarded as invalid touch points. If a plurality of effective touch points are available after the touch condition is determined, the terminal can determine an effective touch point which is executed first according to the execution sequence of each effective touch point and trigger the touch item of the effective touch point which is executed first. Or, determining whether the plurality of effective touch points are a preset touch gesture, such as a zoom gesture, and if the plurality of effective touch points are the preset touch gesture, triggering an interface zoom operation corresponding to the touch gesture.
Compared with a single-point touch scene, a multi-point touch scene is more complex, and control logics are different in different application scenes. The embodiment of the application provides a processing method for multi-point touch, and an inventor designs a corresponding control logic to support multi-point touch including part of game interfaces, operation system interfaces and the like and improve the response capability of a terminal by starting from touch items corresponding to touch points and considering the type and priority of the touch items corresponding to each touch point and the relevance, such as synchronous execution, between the touch items corresponding to each touch point.
The technical solution of the present application will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 is a first flowchart of a multi-touch processing method according to an embodiment of the present disclosure. As shown in fig. 1, the processing method for multi-touch provided by this embodiment includes the following steps:
step 101, detecting that a plurality of first touch points exist on a terminal screen, and determining a plurality of second touch points meeting a preset touch condition from the plurality of first touch points.
In an embodiment of the application, the preset touch condition includes that a dwell time of the touch point is greater than or equal to a preset dwell time.
In an embodiment of the application, the preset touch condition includes that the touch position of the touch point is within a preset click range of the touch item. For example, assume that the size of a touch item (or called a UI control) is 150px × 150px, and the preset click range of the touch item is 50px × 50px of the center of the touch item. And if the touch point is within 50px multiplied by 50px of the touch item center, determining the touch point as an effective touch point, otherwise, determining the touch point as an invalid touch point.
In an embodiment of the application, the preset touch condition includes that the pressing force of the touch point is greater than or equal to a preset pressure value.
Based on the above embodiments, in some embodiments, the terminal may use the first touch point meeting the preset staying time period as the second touch point; and/or taking the first touch point in a preset clicking range of the touch item as a second touch point; and/or taking the first touch point meeting the preset pressure value as a second touch point.
As can be seen from the above description, by selecting the second touch point satisfying the preset touch condition from the plurality of first touch points, the second touch points are all valid touch points from the viewpoint of the touch condition. By the method, the invalid touch points of the screen touched by the fingers of the user by mistake can be effectively eliminated.
Step 102, determining whether the plurality of second touch points are synchronously executable touch points.
If the plurality of second touch points are synchronously executable touch points, step 103 is executed.
If at least two of the plurality of second touch points are touch points that cannot be synchronously executed, step 104 is executed.
Step 103, adding the plurality of second touch points into the effective touch point set, and synchronously triggering the touch items corresponding to the plurality of second touch points based on the effective touch point set.
And 104, adding the first executed second touch point in the plurality of second touch points into the effective touch point set, and triggering the touch item corresponding to the first executed second touch point.
In an embodiment of the present application, it may be determined whether the plurality of second touch points are synchronously executable touch points by:
determining a touch item corresponding to each second touch point; determining whether the plurality of touch items are preset touch items which can be executed synchronously; and if the plurality of touch items are preset touch items which can be synchronously executed, adding the plurality of second touch points into the effective touch point set. Or, if at least two touch items in the plurality of touch items are not preset touch items which can be executed synchronously, adding a second touch point which is executed firstly in the plurality of second touch points into the effective touch point set.
In this embodiment, the touch item may be understood as a control on the graphical user interface corresponding to the touch point, and includes a virtual button, a slider, a drop-down frame, and the like.
The preset synchronously executable touch items can be used for triggering a specific interface operation.
Illustratively, taking a game interface as an example, a user may trigger an attack on a target object by simultaneously clicking two virtual buttons on the game interface.
Exemplarily, fig. 2 is a schematic diagram of a graphical user interface provided in an embodiment of the present application, where the graphical user interface shown in fig. 2 is a timer interface, and a user can slide a control 1 and a control 2 on the timer interface simultaneously to implement synchronous adjustment of a clock and a minute.
It can be seen from the foregoing embodiments that, when a plurality of effective touch points are detected, instead of directly triggering the touch item corresponding to the first effective touch point according to the execution sequence of the touch points, whether the touch item corresponding to each effective touch point is a synchronously executable touch item is analyzed, if the touch item is a synchronously executable touch item, the touch items corresponding to the plurality of effective touch points are synchronously triggered, and if at least two effective touch points are unsynchronized touch items, the touch item corresponding to the first effective touch point is triggered according to the existing scheme. The processing scheme is used for further optimizing the multi-point touch scene, and the processing and analyzing capability of the terminal is improved so as to accurately respond to the requirements of the user.
The multi-touch processing method provided by the embodiment includes: detecting that a plurality of first touch points exist on a terminal screen, and determining a plurality of second touch points meeting a preset touch condition from the plurality of first touch points; determining whether the plurality of second touch points are synchronously executable touch points, and if the plurality of second touch points are synchronously executable touch points, adding the plurality of second touch points into an effective touch point set; and synchronously triggering touch items corresponding to the second touch points based on the effective touch point set. In the processing process, corresponding response operation is performed through relevance analysis of a plurality of touch points meeting preset touch conditions, so that the requirements of a user are accurately responded, and the response capability of the equipment to multi-point touch is improved.
Fig. 3 is a flowchart of a multi-touch processing method according to an embodiment of the present application, where the processing method according to the present embodiment is based on the embodiment shown in fig. 1, and as shown in fig. 3, the multi-touch processing method according to the present embodiment includes the following steps:
step 201, detecting that a plurality of first touch points exist on a terminal screen, and determining a plurality of second touch points meeting a preset touch condition from the plurality of first touch points.
Step 202, determining a touch item corresponding to each second touch point.
Step 203, determining whether the touch types of the plurality of touch items are the same.
If the touch types of the touch items are the same, step 204 is executed.
If the touch types of at least two touch items in the plurality of touch items are different, step 205 is executed.
Step 204, determining whether the plurality of touch items are preset touch items capable of being executed synchronously.
If the plurality of touch items are predetermined touch items that can be executed simultaneously, step 206 is executed.
If at least two touch items in the plurality of touch items are not preset touch items that can be executed synchronously, step 205 is executed.
Step 205, adding the first executed second touch point of the plurality of second touch points into the effective touch point set, and triggering the touch item corresponding to the first executed second touch point.
Step 206, adding the plurality of second touch points into the effective touch point set, and synchronously triggering the touch items corresponding to the plurality of second touch points based on the effective touch point set.
Optionally, in some embodiments, if the touch types of at least two touch items in the plurality of touch items are different, the valid touch point in the plurality of second touch points may be determined according to the priority order of the touch items. Specifically, the second touch point corresponding to the touch item with the highest priority is added into the effective touch point set, and the touch item with the highest priority is triggered.
Illustratively, the graphical user interface shown in fig. 2 is a timer interface, and three controls at the top of the interface belong to control type 1, are used for time selection, and can be dragged and scrolled. The two controls in the middle of the interface belong to control type 2 and are used for starting or canceling timing. And the four controls at the bottom of the interface belong to control type 3 and are used for interface switching.
The three controls of the control type 1 are preset controls capable of being executed synchronously, and a user can perform multi-finger touch operation at the same time. The two controls of the control type 2 are not preset controls capable of being executed synchronously, that is, the controls of the control type 2 only support single-point touch. The four controls of the control type 3 are not preset controls that can be executed synchronously, that is, the controls of the control type 3 only support single-point touch. The various types of controls are mutually exclusive, i.e., cannot be executed synchronously.
As can be seen from the above example, when it is determined that the types of the controls corresponding to the multiple effective touch points are the same, it is further required to determine whether the multiple controls are preset controls that can be executed synchronously, if so, the multiple effective touch points can be responded to simultaneously, otherwise, only the earliest effective touch point is responded to.
In the multi-touch processing method provided in this embodiment, after determining the touch item of each effective touch point, it is required to determine whether the touch types of the multiple touch items are the same, and if the touch types of the multiple touch items are the same, it is required to further determine whether the multiple touch items with the same touch type are preset touch items that can be executed synchronously. And if the touch types of at least two touch items in the plurality of touch items are different, directly triggering the touch item corresponding to the effective touch point executed firstly. In the processing process, corresponding response operation is performed through the type and the combination analysis of the touch items of the multiple touch points meeting the touch condition, so that the requirements of a user are accurately responded, and the response capability of the equipment to multi-point touch is improved.
Fig. 4 is a flowchart of a third method for processing multi-touch provided in the embodiment of the present application, and as shown in fig. 4, the method for processing multi-touch provided in the embodiment of the present application includes the following steps:
step 301, when a touch item corresponding to a plurality of second touch points is synchronously triggered based on an effective touch point set, detecting that a new touch point appears on a terminal screen.
Step 302, determining whether the new touch point meets a preset touch condition.
If the new touch point meets the preset touch condition, go to step 303.
If the new touch point does not satisfy the predetermined touch condition, go to step 304.
Step 303, determining whether the new touch point and the plurality of second touch points are synchronously executable touch points. The specific determination may be determined by the type of the touch item of the touch point, whether the touch item is a preset touch item that can be executed synchronously, and the like, which can be referred to the above embodiments and is not described herein again.
If the new touch point and the plurality of second touch points are synchronously executable touch points, step 305 is executed.
If the new touch point and the plurality of second touch points are not synchronously executable touch points, go to step 306.
And step 304, adding the new touch points into the invalid touch point set.
Step 305, adding the new touch points into the effective touch point set, and synchronously triggering a plurality of second touch points and touch items corresponding to the new touch points.
Step 306, determining whether the priority of the touch item corresponding to the new touch point is higher than the priorities of the touch items corresponding to the plurality of second touch points.
If the priority of the touch item corresponding to the new touch point is higher than the priorities of the touch items corresponding to the plurality of second touch points, go to step 307.
If the priority of the touch item corresponding to the new touch point is lower than the priorities of the touch items corresponding to the plurality of second touch points, go to step 304.
Step 307, triggering the touch items corresponding to the new touch points, and canceling the touch items corresponding to the plurality of second touch points which are synchronously triggered.
For example, in the timer interface shown in fig. 2, the priority of each control type is set as: control type 3 > control type 2 > control type 1. Assuming that the current effective touch point set comprises two effective touch points of a control type 1, if a new touch point is detected, firstly determining whether the new touch point meets a preset touch condition, if so, determining whether the new touch point and the two effective touch points of the current effective touch point set are synchronously executable touch points, and because the control type corresponding to the new touch point is type 3, the controls of the control type 1 and the control type 3 are asynchronously executable controls. Therefore, how to respond needs to be determined according to the priority of the control corresponding to the new touch point, and since the priority of the control type 3 is higher than that of the control type 1, the touch item corresponding to the new touch point is triggered, and the touch items corresponding to the two effective touch points which are synchronously triggered are cancelled.
In the multi-touch processing method provided in this embodiment, when a new effective touch point is received, it is first determined whether the new touch point and the current effective touch point are synchronously executable touch points, and if the new touch point and the current effective touch point are synchronously executable, the new touch point and the current effective touch point are simultaneously responded, for example, in some game scenes, a user clicks the control 1 to implement an attack on a target object, and on the basis of clicking the control 1, adding the click control 2 can enhance an attack effect on the target object. And if the new touch point and the current effective touch point are not synchronously executable touch points, performing corresponding response operation according to the priority of the new touch point and the current effective touch point. The method accurately responds to the requirements of the user and improves the response capability of the equipment to multi-point touch.
In the embodiment of the present application, the functional modules of the multi-touch processing device may be divided according to the method embodiments, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a form of hardware or a form of a software functional module. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation. The following description will be given by taking an example in which each functional module is divided by using a corresponding function.
Fig. 5 is a schematic structural diagram of a multi-touch processing device according to an embodiment of the present disclosure. As shown in fig. 5, the multi-touch processing apparatus 500 provided in the present embodiment includes:
a detection module 501, configured to detect that a plurality of first touch points exist on a terminal screen;
a processing module 502, configured to determine a plurality of second touch points that satisfy a preset touch condition from the plurality of first touch points;
determining whether the second touch points are synchronously executable touch points, and if the second touch points are synchronously executable touch points, adding the second touch points into an effective touch point set;
a control module 503, configured to trigger the touch items corresponding to the plurality of second touch points based on the set of valid touch points.
In an embodiment of the present application, the processing module 502 is specifically configured to:
determining a touch item corresponding to each second touch point;
and determining whether the touch items are preset touch items capable of being executed synchronously, and adding the second touch points into the effective touch point set if the touch items are preset touch items capable of being executed synchronously.
In an embodiment of the application, before determining whether the touch items are preset touch items that can be executed synchronously, the processing module 502 is further configured to:
determining whether the touch types of the touch items are the same, and if the touch types of the touch items are the same, executing the step of determining whether the touch items are preset touch items which can be executed synchronously.
In an embodiment of the application, if at least two touch items in the plurality of touch items are not preset touch items that can be executed synchronously, the processing module 502 is further configured to:
and adding the second touch point executed firstly in the plurality of second touch points into the effective touch point set.
In an embodiment of the present application, the processing module 502 is specifically configured to:
taking the first touch point meeting the preset stay time as the second touch point; and/or
Taking a first touch point in a preset clicking range of the touch item as the second touch point; and/or
And taking the first touch point meeting the preset pressure value as the second touch point.
In an embodiment of the present application, when the control module 503 synchronously triggers the touch items corresponding to the plurality of second touch points based on the set of valid touch points, the detection module 501 detects that a new touch point appears on the terminal screen, and the processing module 502 is further configured to:
determining whether the new touch point meets the preset touch condition, and if the new touch point meets the preset touch condition, determining whether the new touch point and the plurality of second touch points are synchronously executable touch points;
if the new touch point and the second touch points are synchronously executable touch points, adding the new touch point into the effective touch point set;
the control module 503 is configured to synchronously trigger the plurality of second touch points and the touch items corresponding to the new touch points.
In an embodiment of the application, if the new touch point and the second touch points are not synchronously executable touch points, the processing module 502 is further configured to:
determining whether the priority of the touch item corresponding to the new touch point is higher than the priorities of the touch items corresponding to the second touch points, and if the priority of the touch item corresponding to the new touch point is higher than the priorities of the touch items corresponding to the second touch points, the control module 503 is configured to trigger the touch item corresponding to the new touch point and cancel the touch items corresponding to the second touch points that are synchronously triggered.
The multi-touch processing device provided in the embodiment of the present application is used for executing the technical solution in any one of the foregoing method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application, and as shown in fig. 6, an electronic device 600 according to the embodiment may include:
a touch screen 601, a memory 602, and a processor 603;
the touch screen 601 is used for receiving touch operation of a user;
the memory 602 is used to store program instructions;
the processor 603 is configured to call the program instructions stored in the memory 602 to implement the technical solution in any of the foregoing method embodiments.
Alternatively, the memory 602 may be separate or integrated with the processor 603.
When the memory 602 is a separate device from the processor 603, the electronic device 600 further comprises: a bus 604 for connecting the memory 602 and the processor 603.
The electronic device provided in the embodiment of the present application may execute the technical solution of any one of the foregoing method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the present application further provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is used to implement the technical solution in any one of the foregoing method embodiments.
The present application provides a computer program product, including a computer program, where the computer program is executed by a processor to implement the technical solutions in any of the foregoing method embodiments.
An embodiment of the present application further provides a chip, including: a processing module and a communication interface, wherein the processing module can execute the technical scheme in the method embodiment.
Further, the chip further includes a storage module (e.g., a memory), where the storage module is configured to store instructions, and the processing module is configured to execute the instructions stored in the storage module, and the execution of the instructions stored in the storage module causes the processing module to execute the technical solution in the foregoing method embodiment.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. A multi-touch processing method is characterized by comprising the following steps:
detecting that a plurality of first touch points exist on a terminal screen, and determining a plurality of second touch points meeting a preset touch condition from the plurality of first touch points;
determining whether the second touch points are synchronously executable touch points, and if the second touch points are synchronously executable touch points, adding the second touch points into an effective touch point set;
and triggering touch items corresponding to the second touch points based on the effective touch point set.
2. The method of claim 1, wherein the determining whether the second touch points are synchronously executable touch points and adding the second touch points to the active touch point set if the second touch points are synchronously executable touch points comprises:
determining a touch item corresponding to each second touch point;
and determining whether the touch items are preset touch items capable of being executed synchronously, and adding the second touch points into the effective touch point set if the touch items are preset touch items capable of being executed synchronously.
3. The method of claim 2, wherein before determining whether the plurality of touch items are preset synchronously executable touch items, the method further comprises:
determining whether the touch types of the touch items are the same, and if the touch types of the touch items are the same, executing the step of determining whether the touch items are preset touch items which can be executed synchronously.
4. The method of claim 2, wherein if at least two of the plurality of touch items are not predetermined synchronously executable touch items, the method further comprises:
and adding the second touch point executed firstly in the plurality of second touch points into the effective touch point set.
5. The method according to claim 1, wherein the determining a plurality of second touch points satisfying a predetermined touch condition from the plurality of first touch points comprises:
taking the first touch point meeting the preset stay time as the second touch point; and/or
Taking a first touch point in a preset clicking range of the touch item as the second touch point; and/or
And taking the first touch point meeting the preset pressure value as the second touch point.
6. The method according to any one of claims 1-5, wherein upon triggering touch items corresponding to the plurality of second touch points based on the set of valid touch points in a step, detecting a new touch point on a terminal screen, the method further comprises:
determining whether the new touch point meets the preset touch condition, and if the new touch point meets the preset touch condition, determining whether the new touch point and the plurality of second touch points are synchronously executable touch points;
if the new touch point and the second touch points are synchronously executable touch points, adding the new touch point into the effective touch point set;
and synchronously triggering the plurality of second touch points and the touch items corresponding to the new touch points.
7. The method of claim 6, wherein if the new touch point and the second touch points are not synchronously executable touch points, the method further comprises:
and determining whether the priority of the touch item corresponding to the new touch point is higher than the priorities of the touch items corresponding to the second touch points, if the priority of the touch item corresponding to the new touch point is higher than the priorities of the touch items corresponding to the second touch points, triggering the touch item corresponding to the new touch point, and canceling the touch items corresponding to the second touch points which are synchronously triggered.
8. A multi-touch processing device, comprising:
the detection module is used for detecting that a plurality of first touch points exist on a terminal screen;
the processing module is used for determining a plurality of second touch points meeting a preset touch condition from the plurality of first touch points;
determining whether the second touch points are synchronously executable touch points, and if the second touch points are synchronously executable touch points, adding the second touch points into an effective touch point set;
and the control module is used for triggering the touch items corresponding to the second touch points based on the effective touch point set.
9. An electronic device, comprising: touch screen, memory and processor
The touch screen is used for receiving touch operation of a user;
the memory is to store program instructions;
the processor is configured to invoke program instructions stored in the memory to implement the method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program realizes the method of any of claims 1-7 when executed by a processor.
CN202110123915.1A 2021-01-29 2021-01-29 Multi-point touch processing method, device, equipment and storage medium Active CN112817483B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110123915.1A CN112817483B (en) 2021-01-29 2021-01-29 Multi-point touch processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110123915.1A CN112817483B (en) 2021-01-29 2021-01-29 Multi-point touch processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112817483A true CN112817483A (en) 2021-05-18
CN112817483B CN112817483B (en) 2023-08-08

Family

ID=75860156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110123915.1A Active CN112817483B (en) 2021-01-29 2021-01-29 Multi-point touch processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112817483B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986107A (en) * 2021-10-22 2022-01-28 北京鲸鲮信息系统技术有限公司 Touch processing method and device based on graphic display system, electronic equipment and storage medium
CN116243815A (en) * 2023-05-10 2023-06-09 惠科股份有限公司 Touch panel, display module, display device and touch detection method
WO2023165184A1 (en) * 2022-03-01 2023-09-07 腾讯科技(深圳)有限公司 Execution method and apparatus for control operation, storage medium and electronic device
CN118068987A (en) * 2024-04-22 2024-05-24 深圳市明亚顺科技有限公司 Touch calibration method, device, equipment and storage medium based on display screen

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120120004A1 (en) * 2010-11-11 2012-05-17 Yao-Tsung Chang Touch control device and touch control method with multi-touch function
CN102681710A (en) * 2011-03-17 2012-09-19 联芯科技有限公司 Electronic equipment input method, device and electronic equipment based on device
JP2013196582A (en) * 2012-03-22 2013-09-30 Sharp Corp Touch panel input device, input method of touch panel and program
CN104765487A (en) * 2014-01-06 2015-07-08 船井电机株式会社 Input apparatus
US20160239200A1 (en) * 2015-02-16 2016-08-18 Futurewei Technologies, Inc. System and Method for Multi-Touch Gestures
CN106598470A (en) * 2016-12-27 2017-04-26 努比亚技术有限公司 Touch operation method and device
CN107562263A (en) * 2017-08-18 2018-01-09 维沃移动通信有限公司 Data entry device, mobile terminal and computer-readable recording medium
CN108073347A (en) * 2017-12-15 2018-05-25 掌阅科技股份有限公司 Processing method, computing device and the computer storage media of multi-point touch
WO2018107903A1 (en) * 2016-12-16 2018-06-21 广东欧珀移动通信有限公司 Control method and device for touch screen of mobile terminal, mobile terminal, and storage medium
WO2018107901A1 (en) * 2016-12-16 2018-06-21 广东欧珀移动通信有限公司 Control method and device for touch screen of mobile terminal, mobile terminal, and storage medium
WO2018107849A1 (en) * 2016-12-16 2018-06-21 广东欧珀移动通信有限公司 Method for controlling touch operation on mobile terminal, and related product
CN109375867A (en) * 2019-01-16 2019-02-22 南昌黑鲨科技有限公司 A kind of touch operation method and device
CN109428969A (en) * 2017-08-25 2019-03-05 中兴通讯股份有限公司 Edge touch control method, device and the computer readable storage medium of double screen terminal
CN110032296A (en) * 2019-04-10 2019-07-19 网易(杭州)网络有限公司 Determination method, apparatus, terminal and the storage medium of virtual objects in terminal
US20200398151A1 (en) * 2018-03-12 2020-12-24 Netease (Hangzhou) Network Co.,Ltd. Information Processing Method and Apparatus, Storage Medium, and Electronic Device

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120120004A1 (en) * 2010-11-11 2012-05-17 Yao-Tsung Chang Touch control device and touch control method with multi-touch function
CN102681710A (en) * 2011-03-17 2012-09-19 联芯科技有限公司 Electronic equipment input method, device and electronic equipment based on device
JP2013196582A (en) * 2012-03-22 2013-09-30 Sharp Corp Touch panel input device, input method of touch panel and program
CN104765487A (en) * 2014-01-06 2015-07-08 船井电机株式会社 Input apparatus
US20160239200A1 (en) * 2015-02-16 2016-08-18 Futurewei Technologies, Inc. System and Method for Multi-Touch Gestures
WO2018107901A1 (en) * 2016-12-16 2018-06-21 广东欧珀移动通信有限公司 Control method and device for touch screen of mobile terminal, mobile terminal, and storage medium
WO2018107903A1 (en) * 2016-12-16 2018-06-21 广东欧珀移动通信有限公司 Control method and device for touch screen of mobile terminal, mobile terminal, and storage medium
WO2018107849A1 (en) * 2016-12-16 2018-06-21 广东欧珀移动通信有限公司 Method for controlling touch operation on mobile terminal, and related product
CN106598470A (en) * 2016-12-27 2017-04-26 努比亚技术有限公司 Touch operation method and device
CN107562263A (en) * 2017-08-18 2018-01-09 维沃移动通信有限公司 Data entry device, mobile terminal and computer-readable recording medium
CN109428969A (en) * 2017-08-25 2019-03-05 中兴通讯股份有限公司 Edge touch control method, device and the computer readable storage medium of double screen terminal
CN108073347A (en) * 2017-12-15 2018-05-25 掌阅科技股份有限公司 Processing method, computing device and the computer storage media of multi-point touch
US20200398151A1 (en) * 2018-03-12 2020-12-24 Netease (Hangzhou) Network Co.,Ltd. Information Processing Method and Apparatus, Storage Medium, and Electronic Device
CN109375867A (en) * 2019-01-16 2019-02-22 南昌黑鲨科技有限公司 A kind of touch operation method and device
CN110032296A (en) * 2019-04-10 2019-07-19 网易(杭州)网络有限公司 Determination method, apparatus, terminal and the storage medium of virtual objects in terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986107A (en) * 2021-10-22 2022-01-28 北京鲸鲮信息系统技术有限公司 Touch processing method and device based on graphic display system, electronic equipment and storage medium
WO2023165184A1 (en) * 2022-03-01 2023-09-07 腾讯科技(深圳)有限公司 Execution method and apparatus for control operation, storage medium and electronic device
CN116243815A (en) * 2023-05-10 2023-06-09 惠科股份有限公司 Touch panel, display module, display device and touch detection method
CN116243815B (en) * 2023-05-10 2023-08-08 惠科股份有限公司 Touch panel, display module, display device and touch detection method
CN118068987A (en) * 2024-04-22 2024-05-24 深圳市明亚顺科技有限公司 Touch calibration method, device, equipment and storage medium based on display screen
CN118068987B (en) * 2024-04-22 2024-08-09 深圳市明亚顺科技有限公司 Touch calibration method, device, equipment and storage medium based on display screen

Also Published As

Publication number Publication date
CN112817483B (en) 2023-08-08

Similar Documents

Publication Publication Date Title
CN112817483B (en) Multi-point touch processing method, device, equipment and storage medium
CN102819352B (en) The method and apparatus of control terminal
CN106227520B (en) Application interface switching method and device
EP3336679B1 (en) Method and terminal for preventing unintentional triggering of a touch key and storage medium
JP7233109B2 (en) Touch-sensitive surface-display input method, electronic device, input control method and system with tactile-visual technology
CN109753179B (en) User operation instruction processing method and handwriting reading equipment
CN105843547B (en) A kind of page sliding method and device
CN107704157B (en) Multi-screen interface operation method and device and storage medium
EP3485358B1 (en) Electronic device and method thereof for managing applications
CN107765944A (en) A kind of screen touch method, terminal device and computer-readable medium
WO2014118602A1 (en) Emulating pressure sensitivity on multi-touch devices
KR102684576B1 (en) Control method, device, equipment and storage medium for touch operation mode
CN111840988A (en) Game skill triggering method and device, game client and medium
EP3264249B1 (en) Touch event processing method, apparatus and terminal device
CN108710457A (en) Interaction method and terminal equipment
CN105867822B (en) Information processing method and electronic equipment
CN111158811B (en) Advertisement processing method and device, electronic equipment and storage medium
WO2016173307A1 (en) Message copying method and device, and smart terminal
US10642481B2 (en) Gesture-based interaction method and interaction apparatus, and user equipment
CN113244611B (en) Virtual article processing method, device, equipment and storage medium
CN105874411B (en) A kind of processing operation method and terminal
CN110174946A (en) Mouse action analogy method, simulation system, storage medium and electronic equipment
WO2016070465A1 (en) Method and terminal for multi-event input
CN110456978B (en) Touch control method, system, terminal and medium for touch terminal
CN111226190A (en) List switching method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant