CN117666907A - Screen interaction method and device and electronic equipment - Google Patents

Screen interaction method and device and electronic equipment Download PDF

Info

Publication number
CN117666907A
CN117666907A CN202211061107.8A CN202211061107A CN117666907A CN 117666907 A CN117666907 A CN 117666907A CN 202211061107 A CN202211061107 A CN 202211061107A CN 117666907 A CN117666907 A CN 117666907A
Authority
CN
China
Prior art keywords
touch
sliding
target
preset
sliding track
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211061107.8A
Other languages
Chinese (zh)
Inventor
陈钟辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202211061107.8A priority Critical patent/CN117666907A/en
Publication of CN117666907A publication Critical patent/CN117666907A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention relates to a screen interaction method, a device and electronic equipment, wherein the method comprises the following steps: when at least one touch signal is detected and one or more touch signals in the at least one touch signal are determined to be in a sliding state, sliding tracks corresponding to the one or more touch signals are obtained; when the target touch instruction is matched from a plurality of preconfigured touch instructions according to the number of the sliding tracks, touch operation corresponding to the target touch instruction is completed on the screen according to the target touch instruction. In the whole process, the user does not need to execute complicated operations, the switching of interfaces, functions and the like is realized, even the operations of switching signal sources and the like can be configured into the touch control instruction in the form of configuration instructions, and the number of touch control objects and the sliding track corresponding to different instructions are set. Therefore, the method is more convenient and quick, and the learning cost is lower.

Description

Screen interaction method and device and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of touch computers, in particular to a screen interaction method and device and electronic equipment.
Background
The existing large-size screen is increasingly applied, and is particularly suitable for scenes with interactive applications, such as conference scenes and the like. The existing screen applies interaction logic to click a side bar popup menu, so that different function selections are performed, and function switching is realized.
In this process, the operation is too complicated, and particularly when the usual function is not on the main page, the user needs to perform the operation a plurality of times to obtain it. The multi-interface switching is complicated and the fast switching cannot be realized. Furthermore, when different signal sources are needed, the operation is also complicated and the user experience is poor due to the fact that the operation is realized through external equipment such as a remote controller.
Disclosure of Invention
The application provides a screen interaction method, a screen interaction device and electronic equipment, and aims to solve part or all of the problems in the prior art.
In a first aspect, the present application provides a screen interaction method, including:
when at least one touch signal is detected and one or more touch signals in the at least one touch signal are determined to be in a sliding state, sliding tracks corresponding to the one or more touch signals are obtained;
when the target touch instruction is matched from a plurality of preconfigured touch instructions according to the number of the sliding tracks, touch operation corresponding to the target touch instruction is completed on the screen according to the target touch instruction.
Optionally, when the number of sliding tracks includes a plurality of sliding tracks, the method further includes:
determining whether each sliding track meets preset conditions;
when one or more sliding tracks meet the preset conditions, matching the target touch instruction from a plurality of preset touch instructions according to the number of the sliding tracks meeting the preset conditions.
Optionally, the preset conditions include: the sliding track is generated by sliding the sliding direction from the first preset direction to the second preset direction, wherein the initial position of the sliding track is within the range of the preset area, and the length of the sliding track is greater than or equal to the preset length threshold.
Optionally, the preset area range includes a plurality of sub-areas, a plurality of preset touch instructions form a plurality of touch instruction groups, and each sub-area corresponds to one of the touch instruction groups;
when one or more sliding tracks meet the preset conditions, according to the number of the sliding tracks meeting the preset conditions, before the target touch instruction is matched from the plurality of preset touch instructions, the method further comprises:
determining a target subarea to which each sliding track belongs in the sliding tracks meeting preset conditions;
when all sliding tracks meeting preset conditions belong to the same target subarea, selecting a target touch instruction group corresponding to the target subarea from a plurality of groups of touch instructions according to the target subareas so as to match the target touch instructions from the target touch instruction groups according to the number of the sliding tracks, wherein the target subarea is one subarea of a plurality of subareas.
Optionally, determining the target sub-area to which each sliding track belongs in the sliding tracks meeting the preset conditions specifically includes:
collecting a preset number of sampling points in a first sliding track, and obtaining coordinate data of each sampling point;
when the coordinate data of all the sampling points are determined to be in the region range of the target sub-region, determining the sub-region to which the first sliding track belongs as the target sub-region, wherein the first sliding track is any sliding track in the sliding tracks meeting the preset conditions, and the sampling points at least comprise the initial position of the first sliding track in the screen and the end position of the sliding track.
Optionally, when the number of sliding tracks includes a plurality of sliding tracks, the method further includes:
determining whether each sliding track meets preset conditions;
when any sliding track does not accord with the preset condition, any operation is not triggered, and prompt information is generated, wherein the prompt information is used for indicating that the current operation is invalid.
Optionally, when the sliding track includes one, the method further includes:
determining whether each sliding track meets preset conditions;
and when the sliding track is determined to be not in accordance with the preset condition, determining a touch position according to the touch signal, and executing response operation corresponding to the touch position.
In a second aspect, the present application provides a screen interaction device, the device comprising:
the detection module is used for detecting the touch signal and the sliding state of the touch signal;
the processing module is used for acquiring sliding tracks corresponding to one or more touch signals respectively when the detection module detects at least one touch signal and determines that one or more touch signals in the at least one touch signal are in a sliding state;
the matching module is used for matching the target touch instruction from a plurality of preset touch instructions according to the number of the sliding tracks;
the processing module is further used for completing touch operation corresponding to the target touch instruction on the screen according to the target touch instruction when the matching module matches the target touch instruction from the plurality of preconfigured touch instructions according to the number of the sliding tracks.
In a third aspect, an electronic device is provided, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor, configured to implement the steps of the screen interaction method according to any one of the embodiments of the first aspect when executing the program stored in the memory.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the screen interaction method as in any of the embodiments of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the method provided by the embodiment of the application, when at least one touch signal is detected and one or more touch signals in the at least one touch signal are determined to be in a sliding state, sliding tracks corresponding to the one or more touch signals are obtained. When the target touch instruction is matched from a plurality of preset touch instructions according to the number of the sliding tracks, touch operation corresponding to the target touch instruction is completed on the screen according to the target touch instruction. In the embodiment of the method, a more rapid interaction mode with the screen is provided, and the touch control instruction which is required to be executed by the user is determined and executed through the number of the sliding tracks. In the whole process, the user does not need to execute complicated operations, the switching of interfaces, functions and the like is realized, even the operations of switching signal sources and the like can be configured into the touch control instruction in the form of configuration instructions, and the number of touch control objects and the sliding track corresponding to different instructions are set. Therefore, the method is more convenient and quick, and the learning cost is lower.
Drawings
FIG. 1 is a schematic flow chart of a screen interaction method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for matching a target touch command from a plurality of pre-configured touch commands according to the present invention;
fig. 3 is a front display diagram of a terminal device provided by the present invention;
FIG. 4 is a flowchart of another method for matching a target touch command from a plurality of pre-configured touch commands according to the present invention;
FIG. 5 is a schematic view of a left single point (finger) up slide provided by the present invention;
FIG. 6 is a schematic view of the right single point (finger) up slide provided by the present invention;
FIG. 7 is a schematic illustration of left side double point (finger) up-slide provided by the present invention;
FIG. 8 is a schematic view of a right side double-point (finger) up-slide provided by the present invention;
FIG. 9 is a schematic view of left side multi-point (finger) up-slide provided by the present invention;
FIG. 10 is a schematic view of a right side multi-point (finger) up-slide provided by the present invention;
FIG. 11 is a schematic flow chart of a method for determining a target sub-region to which each sliding track belongs in sliding tracks meeting preset conditions;
fig. 12 is a schematic structural diagram of a screen interaction device according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For the purpose of facilitating an understanding of the embodiments of the present invention, reference will now be made to the following description of specific embodiments, taken in conjunction with the accompanying drawings, which are not intended to limit the embodiments of the invention.
Aiming at the technical problems mentioned in the background art, the embodiment of the application provides a screen interaction method, specifically referring to fig. 1, fig. 1 is a schematic flow chart of the screen interaction method provided by the embodiment of the invention, and the method comprises the following steps:
in step 110, when at least one touch signal is detected and one or more touch signals in the at least one touch signal are determined to be in a sliding state, sliding tracks corresponding to the one or more touch signals are obtained.
Specifically, when there is a touch object touching a touch screen of a certain terminal device, the touch detection device in the terminal device may detect a touch signal. When the touch object slides on the screen to generate sliding instead of merely touching the screen, the touch detection device may also acquire the sliding track. The specific schemes of detecting the touch signal and acquiring the sliding track are mature, and are not described too much.
However, it should be noted that the number of touch objects may include one or more. The touch object may be, for example, an object such as a finger or a stylus that is capable of interacting with the terminal device. In this embodiment, the touch object is exemplified by a finger.
When a user touches the terminal device by using different numbers of fingers, different numbers of touch signals can be generated. If one or more fingers are slid on the screen, a corresponding number of sliding tracks may be acquired.
In step 120, when the target touch command is matched from the plurality of preconfigured touch commands according to the number of the sliding tracks, the touch operation corresponding to the target touch command is completed on the screen according to the target touch command.
Specifically, for example, a user may generate multiple sliding tracks as the user slides through one or more fingers on the screen. Then, according to the number of the sliding tracks, among the plurality of preconfigured touch quality, the target touch instruction corresponding to the number of the sliding tracks may be matched. Once the matching is successful, the target touch instruction can be executed, and the corresponding touch operation is completed.
In practice, the generation of the sliding track is not limited to the finger or the stylus generation, but may be a combination of the finger and the stylus generation. The system only recognizes the number of the sliding tracks, and does not limit the touch object generating the sliding tracks.
The corresponding touch operation may be, for example, a jump of the interface, for example, from the desktop directly to the display page of a certain application program; popping up a common application list; switching different signal sources; ejecting a shortcut whiteboard; quickly returning to the desktop from the current display page; or, alternatively, a list of background tasks is expired, etc.
According to the screen interaction method provided by the embodiment of the invention, when at least one touch signal is detected and one or more touch signals in the at least one touch signal are determined to be in a sliding state, sliding tracks corresponding to the one or more touch signals are obtained. When the target touch instruction is matched from a plurality of preset touch instructions according to the number of the sliding tracks, touch operation corresponding to the target touch instruction is completed on the screen according to the target touch instruction. In the embodiment of the method, a more rapid interaction mode with the screen is provided, and the touch control instruction which is required to be executed by the user is determined and executed through the number of the sliding tracks. In the whole process, the user does not need to execute complicated operations, the switching of interfaces, functions and the like is realized, even the operations of switching signal sources and the like can be configured into the touch control instruction in the form of configuration instructions, and the number of touch control objects and the sliding track corresponding to different instructions are set. Therefore, the method is more convenient and quick, and the learning cost is lower.
Alternatively, consider that when a user generates a sliding track using a touch object such as a stylus or a finger, the generated sliding track may be out of specification, or may simply belong to a case of misoperation, or the like. If a certain touch operation is performed at this time, the user is unnecessarily bothersome to the contrary. Thus, when the number of sliding tracks comprises a plurality, the method further comprises the method steps, see in particular fig. 2, comprising:
step 210, determining whether each sliding track meets a preset condition.
Step 220, when there are one or more sliding tracks meeting the preset conditions, matching the target touch instruction from the plurality of preset touch instructions according to the number of sliding tracks meeting the preset conditions.
Specifically, it is first determined whether each detected sliding track meets a preset condition.
In an alternative example, the preset conditions may include, but are not limited to, the following:
the sliding track is generated by sliding the sliding direction from the first preset direction to the second preset direction, wherein the initial position of the sliding track is within the range of the preset area, and the length of the sliding track is greater than or equal to the preset length threshold.
In a specific example, the preset area is, for example, an area of the touch screen having a touch function. The sliding direction is, for example, from bottom to top, and the touch object is from outside the whole preset area as a starting point, and the starting point of the boundary, where the touch operation can be detected in the preset area, is acquired to start to perform the operation, and then slides from bottom to top, so as to generate a sliding track. And the length of the sliding track is greater than or equal to 1cm. The direction can be from bottom to top, from top to bottom, from left to right, from right to left, etc. The specific situation can be set completely according to the actual situation, and no excessive limitation is made here.
Fig. 3 illustrates a front display view of a terminal device, which includes a display area and a non-display area. The display area is the screen of the terminal device, namely the touch area.
In a specific case, when it is determined that one or more sliding tracks meet the preset conditions, the system may match the target touch instruction from the plurality of preset touch instructions according to the number of sliding tracks meeting the preset conditions.
In another specific case, when it is determined that any sliding track does not meet the preset condition, any operation is not triggered, and a prompt message is generated, where the prompt message is used to indicate that the current operation is invalid.
In still another specific case, if the sliding track is only one, and the sliding track does not meet the preset condition, the current touch signal may be default to only a conventional touch signal, so that the touch position may be determined according to the touch signal, and the response operation corresponding to the touch position may be performed. For example, when the touch signal is triggered on a certain application program on the desktop, although there is a certain sliding track, the sliding track does not meet the preset condition, then the default user simply clicks the application program to open the application program.
Optionally, in order to be able to configure more interactive functions for screen interaction, a clearer definition of the recognition of the interactive functions is possible. In this embodiment of the present application, the preset area range may be set to include a plurality of sub-areas, where a plurality of preset touch instructions form a plurality of touch instruction groups, and each sub-area corresponds to one of the plurality of touch instruction groups; the method may also include the following method steps, see in particular fig. 4.
Step 410, determining a target sub-region to which each sliding track belongs in the sliding tracks meeting the preset conditions.
And step 420, selecting a target touch instruction group corresponding to the target sub-region from multiple groups of touch instructions according to the target sub-region when all the sliding tracks meeting the preset conditions belong to the same target sub-region.
Specifically, as described above, the preset area range is, for example, the entire area of the screen with the touch function in the terminal device. For example, the whole screen supports the touch function, and the preset area range is the area range covered by the whole screen. The entire screen may be divided into a plurality of areas. In a specific example, the sub-area is divided into, for example, left and right sub-areas. With particular reference to figures 5 to 10. In fig. 5 to 10, the screen of the entire terminal device is divided into left and right sub-areas. Each sub-region corresponds to a touch instruction set. The touch instruction set actually divides a plurality of preconfigured touch instructions into a plurality of groups, for example, 2 touch instruction sets. Each touch instruction group comprises at least one touch instruction.
Generally, a plurality of touch commands are implemented in the same sub-area. For example, in the left area, a plurality of fingers are used to slide from bottom to top, so as to generate 3 sliding tracks, and the plurality of sliding tracks correspond to one touch instruction.
Therefore, the sub-region to which each of the slide trajectories that meet the preset condition belongs is determined. When the sliding track meeting the preset condition is determined to belong to the same target subarea, selecting a target touch instruction group corresponding to the subarea from a plurality of touch instruction groups according to the subarea. Then, selecting target touch control instructions corresponding to the number of the sliding tracks from the target touch control instruction group, and further executing subsequent operations.
In fig. 5, a schematic diagram of a left single point (finger) sliding up, i.e. from the non-display area to the display area with a single finger, or a single stylus, from bottom to top is illustrated. In fig. 6, a schematic diagram of the right single point up slide is illustrated; schematic diagrams of left/right double-dot (finger) up-slide are shown in fig. 7 and 8, respectively; schematic diagrams of left/right multi-point (finger) up-slide are shown in fig. 9 and 10, respectively.
Different numbers of fingers and different sliding areas correspond to different touch control instructions.
In one specific example, for example, the left side single finger slides up: rapidly ejecting the shortcut whiteboard; right single finger up slide: rapidly popping up a common application list; left double finger up slide: quickly returning to the desktop; the right double finger slides up and exhales the background task list. The left side multi-finger slides upwards to switch signal channels; the right multi-finger swipe up, jump from the desktop to the display interface of the designated application, etc.
Although in the embodiment of the present application, the preset area range is divided into 2 sub-areas, in the practical application process, the preset area range may be actually divided into more sub-areas, for example, left, middle and right 3 sub-areas, according to the need. Or, equally divided into 4, 6 or even more sub-areas. The more sub-regions divided, the more shortcut functions can be defined in combination with the number of sliding tracks.
It should be further noted that, determining the target sub-area to which each sliding track of the sliding tracks meeting the preset conditions belongs may be specifically obtained by the following manner, referring specifically to fig. 11, where the method includes the steps of:
step 1110, a preset number of sampling points in the first sliding track are acquired, and coordinate data of each sampling point are acquired.
And step 1120, when it is determined that the coordinate data of all the sampling points belong to the region range of the target sub-region, determining the sub-region to which the first sliding track belongs as the target sub-region.
Before the coordinate data of each sampling point is acquired, a coordinate system can be established by taking a certain point in a preset area range as an origin of the coordinate system in advance. The already divided sub-areas are then determined, the boundary coordinate data of each sub-area. And then boundary coordinate data of each sub-region is used for delineating the range of the sub-region, and further whether the coordinate data of the sampling point belongs to the region range of the target sub-region is determined. In an alternative example, the center point of the preset area range may be selected as the origin of the coordinate system.
In the above, for several embodiments of the screen interaction provided by the present application, other embodiments of the screen interaction provided by the present application are described below, specifically, see the following.
Fig. 12 is a schematic diagram of a screen interaction device according to an embodiment of the present invention, where the device includes: a detection module 1201, a processing module 1202, and a matching module 1203.
The detection module 1201 is configured to detect a touch signal and a sliding state of the touch signal;
the processing module 1202 is configured to obtain sliding tracks corresponding to one or more touch signals respectively when the detection module detects at least one touch signal and determines that one or more touch signals in the at least one touch signal are in a sliding state;
the matching module 1203 is configured to match a target touch instruction from a plurality of preconfigured touch instructions according to the number of sliding tracks;
the processing module 1202 is further configured to complete a touch operation corresponding to the target touch instruction on the screen according to the target touch instruction when the matching module 1203 matches the target touch instruction from the plurality of preconfigured touch instructions according to the number of sliding tracks.
Optionally, the processing module 1202 is further configured to determine whether each sliding track meets a preset condition;
and matching the target touch instruction from a plurality of preset touch instructions according to the number of the sliding tracks meeting the preset conditions.
Optionally, the processing module 1202 is further configured to determine, when the number of sliding tracks includes a plurality of sliding tracks, whether each sliding track meets a preset condition;
when one or more sliding tracks meet the preset conditions, matching the target touch instruction from a plurality of preset touch instructions according to the number of the sliding tracks meeting the preset conditions.
Optionally, the preset conditions include: the sliding track is generated by sliding the sliding direction from the first preset direction to the second preset direction, wherein the initial position of the sliding track is within the range of the preset area, and the length of the sliding track is greater than or equal to the preset length threshold.
Optionally, the preset area range includes a plurality of sub-areas, a plurality of preset touch instructions form a plurality of touch instruction groups, and each sub-area corresponds to one of the touch instruction groups;
the processing module 1202 is specifically configured to determine a target sub-area to which each sliding track in the sliding tracks meeting a preset condition belongs;
when all sliding tracks meeting preset conditions belong to the same target subarea, selecting a target touch instruction group corresponding to the target subarea from a plurality of groups of touch instructions according to the target subareas so as to match the target touch instructions from the target touch instruction groups according to the number of the sliding tracks, wherein the target subarea is one subarea of a plurality of subareas.
Optionally, the processing module 1202 is specifically configured to collect a preset number of sampling points in the first sliding track, and obtain coordinate data of each sampling point;
when the coordinate data of all the sampling points are determined to be in the region range of the target sub-region, determining the sub-region to which the first sliding track belongs as the target sub-region, wherein the first sliding track is any sliding track in the sliding tracks meeting the preset conditions, and the sampling points at least comprise the initial position of the first sliding track in the screen and the end position of the sliding track.
Optionally, the processing module 1202 is further configured to determine, when the number of sliding tracks includes a plurality of sliding tracks, whether each sliding track meets a preset condition;
when any sliding track does not accord with the preset condition, any operation is not triggered, and prompt information is generated, wherein the prompt information is used for indicating that the current operation is invalid.
Optionally, when the sliding track comprises one, the processing module 1202 is further configured to,
determining whether each sliding track meets preset conditions;
and when the sliding track is determined to be not in accordance with the preset condition, determining a touch position according to the touch signal, and executing response operation corresponding to the touch position.
The functions executed by each component in the screen interaction device provided in the embodiment of the present invention are described in detail in any of the above method embodiments, so that a detailed description is omitted here.
According to the screen interaction device provided by the embodiment of the invention, when at least one touch signal is detected and one or more touch signals in the at least one touch signal are determined to be in a sliding state, sliding tracks corresponding to the one or more touch signals are obtained. When the target touch instruction is matched from a plurality of preset touch instructions according to the number of the sliding tracks, touch operation corresponding to the target touch instruction is completed on the screen according to the target touch instruction. In the embodiment of the method, a more rapid interaction mode with the screen is provided, and the touch control instruction which is required to be executed by the user is determined and executed through the number of the sliding tracks. In the whole process, the user does not need to execute complicated operations, the switching of interfaces, functions and the like is realized, even the operations of switching signal sources and the like can be configured into the touch control instruction in the form of configuration instructions, and the number of touch control objects and the sliding track corresponding to different instructions are set. Therefore, the method is more convenient and quick, and the learning cost is lower.
As shown in fig. 13, the embodiment of the present application provides an electronic device, which includes a processor 111, a communication interface 112, a memory 113, and a communication bus 114, where the processor 111, the communication interface 112, and the memory 113 perform communication with each other through the communication bus 114.
A memory 113 for storing a computer program;
in one embodiment of the present application, the processor 111 is configured to implement the screen interaction method provided in any one of the foregoing method embodiments when executing the program stored in the memory 113, where the screen interaction method includes:
when at least one touch signal is detected and one or more touch signals in the at least one touch signal are determined to be in a sliding state, sliding tracks corresponding to the one or more touch signals are obtained;
when the target touch instruction is matched from a plurality of preconfigured touch instructions according to the number of the sliding tracks, touch operation corresponding to the target touch instruction is completed on the screen according to the target touch instruction.
Optionally, when the number of sliding tracks includes a plurality of sliding tracks, the method further includes:
determining whether each sliding track meets preset conditions;
when one or more sliding tracks meet the preset conditions, matching the target touch instruction from a plurality of preset touch instructions according to the number of the sliding tracks meeting the preset conditions.
Optionally, the preset conditions include: the sliding track is generated by sliding the sliding direction from the first preset direction to the second preset direction, wherein the initial position of the sliding track is within the range of the preset area, and the length of the sliding track is greater than or equal to the preset length threshold.
Optionally, the preset area range includes a plurality of sub-areas, a plurality of preset touch instructions form a plurality of touch instruction groups, and each sub-area corresponds to one of the touch instruction groups;
when one or more sliding tracks meet the preset conditions, according to the number of the sliding tracks meeting the preset conditions, before the target touch instruction is matched from the plurality of preset touch instructions, the method further comprises:
determining a target subarea to which each sliding track belongs in the sliding tracks meeting preset conditions;
when all sliding tracks meeting preset conditions belong to the same target subarea, selecting a target touch instruction group corresponding to the target subarea from a plurality of groups of touch instructions according to the target subareas so as to match the target touch instructions from the target touch instruction groups according to the number of the sliding tracks, wherein the target subarea is one subarea of a plurality of subareas.
Optionally, determining the target sub-area to which each sliding track belongs in the sliding tracks meeting the preset conditions specifically includes:
collecting a preset number of sampling points in a first sliding track, and obtaining coordinate data of each sampling point;
when the coordinate data of all the sampling points are determined to be in the region range of the target sub-region, determining the sub-region to which the first sliding track belongs as the target sub-region, wherein the first sliding track is any sliding track in the sliding tracks meeting the preset conditions, and the sampling points at least comprise the initial position of the first sliding track in the screen and the end position of the sliding track.
Optionally, when the number of sliding tracks includes a plurality of sliding tracks, the method further includes:
determining whether each sliding track meets preset conditions;
when any sliding track does not accord with the preset condition, any operation is not triggered, and prompt information is generated, wherein the prompt information is used for indicating that the current operation is invalid.
Optionally, when the sliding track includes one, the method further includes:
determining whether each sliding track meets preset conditions;
and when the sliding track is determined to be not in accordance with the preset condition, determining a touch position according to the touch signal, and executing response operation corresponding to the touch position.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the screen interaction method provided by any one of the method embodiments described above.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The foregoing is merely exemplary of embodiments of the present invention to enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of screen interaction, the method comprising:
when at least one touch signal is detected and one or more touch signals in the at least one touch signal are determined to be in a sliding state, sliding tracks corresponding to the one or more touch signals are obtained;
and when a target touch instruction is matched from a plurality of preconfigured touch instructions according to the number of the sliding tracks, completing touch operation corresponding to the target touch instruction on a screen according to the target touch instruction.
2. The method of claim 1, wherein when the number of sliding tracks comprises a plurality, the method further comprises:
determining whether each sliding track meets preset conditions or not;
when one or more sliding tracks meet the preset conditions, matching the target touch instruction from a plurality of preset touch instructions according to the number of the sliding tracks meeting the preset conditions.
3. The method according to claim 2, wherein the preset conditions include:
the sliding track is generated by sliding the initial position in the preset area range from the first preset direction to the second preset direction, and the length of the sliding track is greater than or equal to a preset length threshold.
4. The method of claim 3, wherein the predetermined area range includes a plurality of sub-areas, the plurality of preconfigured touch instructions comprising a plurality of touch instruction sets, each sub-area corresponding to one of the plurality of touch instruction sets;
when one or more sliding tracks meet the preset condition, according to the number of the sliding tracks meeting the preset condition, before the target touch instruction is matched from a plurality of preset touch instructions, the method further comprises:
determining a target subarea to which each sliding track belongs in the sliding tracks meeting the preset conditions;
when all sliding tracks meeting preset conditions belong to the same target subarea, selecting a target touch instruction group corresponding to the target subarea from a plurality of groups of touch instructions according to the target subarea so as to match the target touch instructions from the target touch instruction group according to the number of the sliding tracks, wherein the target subarea is one subarea of a plurality of subareas.
5. The method according to claim 4, wherein the determining the target sub-area to which each of the sliding tracks that meet the preset condition belongs specifically includes:
collecting a preset number of sampling points in a first sliding track, and obtaining coordinate data of each sampling point;
when the coordinate data of all the sampling points are determined to be in the region range of the target sub-region, determining the sub-region to which the first sliding track belongs as the target sub-region, wherein the first sliding track is any sliding track in sliding tracks meeting preset conditions, and the sampling points at least comprise the initial position of the first sliding track in the screen and the end position of the sliding track.
6. The method of claim 1, wherein when the number of sliding tracks comprises a plurality, the method further comprises:
determining whether each sliding track meets preset conditions or not;
when any one of the sliding tracks does not accord with the preset condition, no operation is triggered, and prompt information is generated, wherein the prompt information is used for indicating that the current operation is invalid.
7. The method of claim 1, wherein when the sliding track comprises one, the method further comprises:
determining whether each sliding track meets preset conditions or not;
and when the sliding track is determined to be not in accordance with the preset condition, determining a touch position according to the touch signal, and executing response operation corresponding to the touch position.
8. A screen interaction device, the device comprising:
the detection module is used for detecting the touch signal and the sliding state of the touch signal;
the processing module is used for acquiring sliding tracks corresponding to one or more touch signals respectively when the detection module detects at least one touch signal and determines that one or more touch signals in the at least one touch signal are in a sliding state;
the matching module is used for matching a target touch instruction from a plurality of preset touch instructions according to the number of the sliding tracks;
the processing module is further configured to complete a touch operation corresponding to the target touch instruction on the screen according to the target touch instruction when the matching module matches the target touch instruction from a plurality of preconfigured touch instructions according to the number of the sliding tracks.
9. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the steps of the screen interaction method of any one of claims 1-7 when executing a program stored on a memory.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the screen interaction method of any of claims 1-7.
CN202211061107.8A 2022-08-31 2022-08-31 Screen interaction method and device and electronic equipment Pending CN117666907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211061107.8A CN117666907A (en) 2022-08-31 2022-08-31 Screen interaction method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211061107.8A CN117666907A (en) 2022-08-31 2022-08-31 Screen interaction method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN117666907A true CN117666907A (en) 2024-03-08

Family

ID=90085030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211061107.8A Pending CN117666907A (en) 2022-08-31 2022-08-31 Screen interaction method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN117666907A (en)

Similar Documents

Publication Publication Date Title
CN110058782B (en) Touch operation method and system based on interactive electronic whiteboard
US20190302984A1 (en) Method and device for controlling a flexible display device
CN106415472B (en) Gesture control method and device, terminal equipment and storage medium
US9335899B2 (en) Method and apparatus for executing function executing command through gesture input
US20160004373A1 (en) Method for providing auxiliary information and touch control display apparatus using the same
CN107422901B (en) Method and system for preventing mistaken touch of touch screen
EP3370140B1 (en) Control method and control device for working mode of touch screen
RU2623885C2 (en) Formula entry for limited display device
KR20160149262A (en) Touch point recognition method and device
US8456433B2 (en) Signal processing apparatus, signal processing method and selection method of user interface icon for multi-touch panel
TWI389014B (en) Touchpad detection method
CN109753179B (en) User operation instruction processing method and handwriting reading equipment
CN108920066B (en) Touch screen sliding adjustment method and device and touch equipment
US20150169151A1 (en) Displaying device and computer-readable recording medium therefor
US11604570B2 (en) Method, device, apparatus, and storage medium for controlling touch operation mode
CN103530045A (en) Menu item starting method and mobile terminal
JP2000276281A (en) Method and device for controlling mouse pointer coordinate
US11455071B2 (en) Layout method, device and equipment for window control bars
CN107577404B (en) Information processing method and device and electronic equipment
CN104020989A (en) Control method and system based on remote application
CN107817927B (en) Application icon management method and device
CN109739422B (en) Window control method, device and equipment
WO2020001178A1 (en) Mode switching method, device and computer-readable storage medium
CN113031817B (en) Multi-touch gesture recognition method and false touch prevention method
CN110333780A (en) Function triggering method, device, equipment and storage medium

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