CN116301441A - Screen touch instruction execution method and device, electronic equipment and storage medium - Google Patents

Screen touch instruction execution method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116301441A
CN116301441A CN202310587271.0A CN202310587271A CN116301441A CN 116301441 A CN116301441 A CN 116301441A CN 202310587271 A CN202310587271 A CN 202310587271A CN 116301441 A CN116301441 A CN 116301441A
Authority
CN
China
Prior art keywords
touch
contact point
player
screen
ppt
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
CN202310587271.0A
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.)
Beijing Eeo Education Technology Co ltd
Original Assignee
Beijing Eeo Education Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Eeo Education Technology Co ltd filed Critical Beijing Eeo Education Technology Co ltd
Priority to CN202310587271.0A priority Critical patent/CN116301441A/en
Publication of CN116301441A publication Critical patent/CN116301441A/en
Pending legal-status Critical Current

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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

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 relates to the technical field of screen touch, in particular to a method, a device, electronic equipment and a storage medium for executing a screen touch instruction, which are used for improving the execution efficiency of the screen touch instruction. The main scheme is as follows: monitoring a touch event of a screen when a slide PPT player displayed on the screen is in a writing tool state; determining whether the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet corresponding preset conditions; if the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet the corresponding preset conditions, acquiring the position information of the contact point; and determining a corresponding control instruction according to the position information of the contact point, and executing the operation corresponding to the control instruction.

Description

Screen touch instruction execution method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of screen touch technologies, and in particular, to a method and apparatus for executing a screen touch instruction, an electronic device, and a storage medium.
Background
When the PPT is played on the hardware touch screen, a user needs to click video, audio, hyperlinks and the like in the PPT to play in addition to turning pages of the PPT. At present, the writing tool is required to be switched into a clicking tool, and then the operation corresponding to the corresponding clicking instruction is executed; in addition, if the annotation brush is used for writing on the PPT, the clicking tool needs to be switched to the writing tool for implementation, and then the operation corresponding to the corresponding writing instruction is executed, so that the switching tool is very troublesome to operate back and forth on a large screen with a large area. Moreover, the switching of tools consumes time and distraction from the user during the presentation of the PPT, and if the tool state is not of interest at any time, erroneous operations can be made.
Disclosure of Invention
In view of the foregoing, the present application provides a method, an apparatus, an electronic device, and a storage medium for executing a screen touch command, which are used for improving the execution efficiency of the screen touch command.
In a first aspect, an embodiment of the present application provides a method for executing a touch instruction on a screen, where the method includes:
monitoring a touch event of a screen when a slide PPT player displayed on the screen is in a writing tool state;
determining whether the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet corresponding preset conditions;
if the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet the corresponding preset conditions, acquiring the position information of the contact point;
and determining a corresponding control instruction according to the position information of the contact point, and executing the operation corresponding to the control instruction.
In an optional embodiment of the present invention, the determining, according to the position information of the contact point, a corresponding control instruction, and executing an operation corresponding to the control instruction, includes:
when the touch point is positioned on a play button of a video player in the PPT player, executing video playing operation; or (b)
When the touch point is positioned on an audio player playing button in the PPT player, executing audio playing operation; or (b)
When the touch point is positioned on an element to be triggered in the PPT player, executing an animation effect prefabricated by the element; or (b)
Executing the hyperlink opening operation when the touch point is positioned on a hyperlink in the PPT player; or (b)
And when the touch point is positioned at other positions in the PPT player, executing the next play operation of the PPT player.
In an optional embodiment of the present invention, the determining whether the contact point, the touch area, the contact duration, and the drawn line length in the touch event simultaneously satisfy the corresponding preset conditions includes:
determining whether a contact point in the touch event is pressed, whether the touch area is a non-large-area touch, whether the contact time length is smaller than a preset time length, and whether the drawn line length is smaller than a preset length;
if the contact point in the touch event is pressed, the touch area is non-large-area touch, the contact time length is smaller than the preset time length and the drawing line length is preset, determining that the contact point, the touch area, the contact time length and the drawing line length in the touch event simultaneously meet the corresponding preset conditions.
In an alternative embodiment provided by the present invention, the method further includes:
and deleting the content drawn by the user in the PPT player when the monitored contact point, the monitored touch area, the monitored contact time length and the monitored drawn line length in the touch event simultaneously meet the corresponding preset conditions.
In an alternative embodiment provided by the present invention, the method further includes:
and when the monitored contact point, the monitored touch area, the monitored contact time length and the monitored drawn line length in the touch event simultaneously meet the corresponding preset conditions, switching the writing tool state in the PPT player into the clicking tool state.
In an alternative embodiment provided by the present invention, the method further includes:
and after the operation corresponding to the control instruction is executed, switching the clicking tool state in the PPT player into the writing tool state, and continuing to monitor the touch event of the screen.
In an alternative embodiment provided by the present invention, the method further includes:
and if the contact point, the touch area, the contact time length and the drawn line length in the touch event are determined to not meet the corresponding preset conditions at the same time, executing the related operation of the writing tool state.
In a second aspect, an embodiment of the present application further provides a device for executing a touch instruction on a screen, where the device includes:
the monitoring module is used for monitoring touch events of the screen when the slide PPT player displayed on the screen is in a writing tool state;
the determining module is used for determining whether the contact point, the touch area, the contact duration and the drawn line length in the touch event simultaneously meet the corresponding preset conditions;
the acquisition module is used for acquiring the position information of the contact point if the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet the corresponding preset conditions;
and the execution module is used for determining the corresponding control instruction according to the position information of the contact point and executing the operation corresponding to the control instruction.
In a third aspect, embodiments of the present application further provide an electronic device, including: the electronic device comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, when the electronic device runs, the processor and the memory are communicated through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the screen touch control instruction execution method of the first aspect.
In a fourth aspect, an embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor performs the steps of the method for executing the screen touch instruction in the first aspect.
According to the method, the device, the electronic equipment and the storage medium for executing the screen touch instruction, when a slide PPT player displayed on a screen is in a writing tool state, a touch event of the screen is monitored; determining whether the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet corresponding preset conditions; if the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet the corresponding preset conditions, acquiring the position information of the contact point; and determining a corresponding control instruction according to the position information of the contact point, and executing the operation corresponding to the control instruction. Compared with the prior art, corresponding touch control instructions can be realized only by switching writing tool states and clicking tool states back and forth, the method and the device realize control instruction execution by monitoring whether various parameters in touch time meet preset conditions or not in the process of initiating the control instructions by a user, and the switching of tool states is not needed, so that the execution efficiency of screen touch control instructions can be improved through the method and the device.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart illustrating a method for executing a touch instruction on a screen according to an embodiment of the present application;
fig. 2 is a block diagram illustrating a structure of a screen touch instruction execution device according to an embodiment of the present application;
fig. 3 shows a schematic diagram of a computer device according to an embodiment of the present application.
Detailed Description
The terms first, second, third and the like in the description and in the claims and in the above drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion that may be readily understood.
In the description of the present application, unless otherwise indicated, "/" means that the associated object is an "or" relationship, e.g., a/B may represent a or B; the term "and/or" in this application is merely an association relation describing an association object, and means that three kinds of relations may exist, for example, a and/or B may mean: there are three cases, a alone, a and B together, and B alone, wherein a, B may be singular or plural. Also, in the description of the present application, unless otherwise indicated, "a plurality" means two or more than two. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
In the embodiments of the present application, at least one may also be described as one or more, and a plurality may be two, three, four or more, which is not limited in this application.
As shown in fig. 1, an embodiment of the present application provides a method for executing a screen touch instruction, where the method is applied to a terminal device, and the method for executing a screen touch instruction provided in the present application may include:
and S10, when the slide PPT player displayed on the screen is in a writing tool state, monitoring a touch event of the screen.
In which, in the writing tool state (write state), the user inputs characters, draws lines, draws graphics, etc. on the display interface of the PPT player at will, which is not limited in detail in this embodiment. It should be noted that, in this embodiment, when entering the PPT player, the default state of the PPT player is the writing tool state, that is, when entering the PPT player, the user may input operations such as text in the PPT player.
In the embodiment of the invention, for the terminal equipment to be touch screen equipment, when the PPT player is in a writing tool state, a touch event and/or a mouse event of the screen are required to be monitored; for the terminal device to be a non-touch screen device, when the PPT player is in a writing tool state, a mouse event needs to be monitored.
S20, determining whether the contact point, the touch area, the contact duration and the drawn line length in the touch event simultaneously meet corresponding preset conditions.
Touch event discrimination mainly consists of four parameters, namely a touch point, a touch duration m_mousetimer, a touch area touch_area, and a drawn line length line_length. When the slide PPT player displayed on the screen is in a writing tool state, triggering a write state by default, starting to monitor touch events of the screen, and determining whether 4 parameters in the touch events meet corresponding preset conditions.
In this embodiment, if the terminal device is a non-touch device, in step S10, when the slide PPT player displayed on the screen is in a writing tool state, a mouse event of the screen is monitored, and then it is determined whether a contact point, a contact area, a contact duration and/or a drawing line length in the mouse event simultaneously satisfy corresponding preset conditions. Preferably, it is determined whether the contact time length and the drawing line length in the mouse event simultaneously satisfy the corresponding preset conditions.
It should be noted that if new file types similar to PPT courseware appear in the future, the writing and control can be realized by switching different tools, and the touch instruction execution method of the screen can also be used.
Specifically, the determining whether the contact point, the touch area, the contact duration and the drawn line length in the touch event simultaneously meet the corresponding preset conditions includes:
s201, determining whether a contact point in the touch event is pressed, whether a touch area is a non-large-area touch, whether a contact duration is smaller than a preset duration, and whether a drawn line length is smaller than a preset length;
s202, if the contact point in the touch event is pressed, the touch area is non-large-area touch, the contact time length is smaller than the preset time length and the drawing line length is preset, determining that the contact point, the touch area, the contact time length and the drawing line length in the touch event simultaneously meet the corresponding preset conditions.
For example, when the contact point=1, the touch area is a non-large contact area, the contact duration is <0.5s, and the drawn line length is <4px, the contact point, the touch area, the contact duration, and the drawn line length in the touch event are determined to simultaneously satisfy the corresponding preset conditions. Wherein the non-large contact area is a preset area.
S30, if the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet the corresponding preset conditions, acquiring the position information of the contact point.
The position information of the contact point is the corresponding position point coordinates on the screen.
Further, when the monitored contact point, the monitored touch area, the monitored contact time length and the monitored drawn line length in the touch event simultaneously meet the corresponding preset conditions, the content drawn by the user in the PPT player needs to be deleted.
And when the monitored contact point, the monitored touch area, the monitored contact time length and the monitored drawn line length in the touch event simultaneously meet the corresponding preset conditions, switching the writing tool state in the PPT player into a clicking tool state (click state).
Conversely, if it is determined that the point of contact, the touch area, the contact duration, and the drawn line length in the touch event do not simultaneously satisfy the corresponding preset conditions, the relevant operation of the writing tool state is performed.
S40, determining a corresponding control instruction according to the position information of the contact point, and executing the operation corresponding to the control instruction.
In an optional embodiment of the present invention, the determining, according to the position information of the contact point, a corresponding control instruction, and executing an operation corresponding to the control instruction, includes: when the touch point is positioned on a play button of a video player in the PPT player, executing video playing operation; or when the touch point is positioned on an audio player playing button in the PPT player, executing audio playing operation; or when the touch point is positioned on an element to be triggered in the PPT player, executing the animation effect prefabricated by the element; or when the touch point is positioned on a hyperlink in the PPT player, executing the hyperlink opening operation; or when the touch point is located at other positions in the PPT player, performing a next play operation of the PPT player.
In a further optional embodiment of the present invention, after the execution of the operation corresponding to the control instruction is completed, the clicking tool state in the PPT player is switched to the writing tool state, and the touch event of the screen is continuously monitored.
Through finding in the observation process of teacher teaching, clicking operation and sliding operation are carried out in the PPT player, so that the great probability is that clicking page turning (including clicking video playing, audio playing, jumping hyperlinks, triggering element animation and the like) and interactive writing annotation are respectively carried out. Therefore, the embodiment can prejudge the operation which the user wants to realize through the characteristics of different gesture habits of the user on the large touch screen, so that the user can realize the operation which the user wants to perform only by completing the habit actions in an unintentional state, and any tool does not need to be switched in the process, thereby improving the execution efficiency of the screen touch instruction through the embodiment.
According to the screen touch instruction execution method, when a slide PPT player displayed on a screen is in a writing tool state, a touch event of the screen is monitored; determining whether the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet corresponding preset conditions; if the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet the corresponding preset conditions, acquiring the position information of the contact point; and determining a corresponding control instruction according to the position information of the contact point, and executing the operation corresponding to the control instruction. Compared with the prior art, corresponding touch control instructions can be realized only by switching writing tool states and clicking tool states back and forth, the method and the device realize control instruction execution by monitoring whether various parameters in touch time meet preset conditions or not in the process of initiating the control instructions by a user, and the switching of tool states is not needed, so that the execution efficiency of screen touch control instructions can be improved through the method and the device.
In the case of dividing the respective functional modules by the respective functions, fig. 2 shows a schematic diagram of one possible composition of the screen touch instruction execution apparatus related to the above-mentioned and embodiment, and as shown in fig. 2, the screen touch instruction execution apparatus may include:
a monitoring module 21, configured to monitor a touch event of a screen when a slide PPT player displayed on the screen is in a writing tool state;
a determining module 22, configured to determine whether a point of contact, a touch area, a contact duration, and a drawn line length in the touch event simultaneously satisfy corresponding preset conditions;
the obtaining module 23 is configured to obtain location information of a contact point, a touch area, a contact duration, and a drawn line length in the touch event if the contact point, the touch area, the contact duration, and the drawn line length simultaneously meet corresponding preset conditions;
and the execution module 24 is used for determining a corresponding control instruction according to the position information of the contact point and executing the operation corresponding to the control instruction.
In an alternative embodiment provided by the present invention, the execution module 24 is specifically configured to:
when the touch point is positioned on a play button of a video player in the PPT player, executing video playing operation; or (b)
When the touch point is positioned on an audio player playing button in the PPT player, executing audio playing operation; or (b)
When the touch point is positioned on an element to be triggered in the PPT player, executing an animation effect prefabricated by the element; or (b)
Executing the hyperlink opening operation when the touch point is positioned on a hyperlink in the PPT player; or (b)
And when the touch point is positioned at other positions in the PPT player, executing the next play operation of the PPT player.
In an alternative embodiment provided by the present invention, the execution module 24 is specifically configured to:
determining whether a contact point in the touch event is pressed, whether the touch area is a non-large-area touch, whether the contact time length is smaller than a preset time length, and whether the drawn line length is smaller than a preset length;
if the contact point in the touch event is pressed, the touch area is non-large-area touch, the contact time length is smaller than the preset time length and the drawing line length is preset, determining that the contact point, the touch area, the contact time length and the drawing line length in the touch event simultaneously meet the corresponding preset conditions.
In an alternative embodiment provided by the present invention, the apparatus further comprises:
and the deleting module 25 is configured to delete content drawn by the user in the PPT player when the monitored contact point, the monitored touch area, the monitored contact duration and the monitored drawn line length in the touch event simultaneously meet the corresponding preset conditions.
In an alternative embodiment provided by the present invention, the apparatus further comprises:
and the switching module 26 is configured to switch the writing tool state in the PPT player to the clicking tool state when the monitored contact point, the monitored touch area, the monitored contact time length and the monitored drawing line length in the touch event simultaneously meet the corresponding preset conditions.
In an optional embodiment of the present invention, the monitoring module 21 is further configured to switch the state of the clicking tool in the PPT player to the state of the writing tool after the execution of the operation corresponding to the control instruction is completed, and continue to monitor the touch event of the screen.
In an alternative embodiment of the present invention, the executing module 24 is further configured to execute the operation related to the writing tool state if it is determined that the point of contact, the touch area, the contact duration, and the drawn line length in the touch event do not simultaneously satisfy the corresponding preset conditions.
For specific limitations of the device, reference may be made to the above limitation of the method for executing the touch instruction on the screen, which is not repeated herein. The various modules in the apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by the processor is used for realizing a screen touch instruction execution method.
In one embodiment, a computer device is provided comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of when executing the computer program:
monitoring a touch event of a screen when a slide PPT player displayed on the screen is in a writing tool state;
determining whether the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet corresponding preset conditions;
if the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet the corresponding preset conditions, acquiring the position information of the contact point;
and determining a corresponding control instruction according to the position information of the contact point, and executing the operation corresponding to the control instruction.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
monitoring a touch event of a screen when a slide PPT player displayed on the screen is in a writing tool state;
determining whether the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet corresponding preset conditions;
if the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet the corresponding preset conditions, acquiring the position information of the contact point;
and determining a corresponding control instruction according to the position information of the contact point, and executing the operation corresponding to the control instruction.
In one embodiment, a computer program product is provided, the computer program product comprising a computer program to be executed by a processor to perform the steps of:
monitoring a touch event of a screen when a slide PPT player displayed on the screen is in a writing tool state;
determining whether the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet corresponding preset conditions;
if the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet the corresponding preset conditions, acquiring the position information of the contact point;
and determining a corresponding control instruction according to the position information of the contact point, and executing the operation corresponding to the control instruction.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (10)

1. A method for executing a screen touch instruction, the method comprising:
monitoring a touch event of a screen when a slide PPT player displayed on the screen is in a writing tool state;
determining whether the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet corresponding preset conditions;
if the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet the corresponding preset conditions, acquiring the position information of the contact point;
and determining a corresponding control instruction according to the position information of the contact point, and executing the operation corresponding to the control instruction.
2. The method according to claim 1, wherein the determining the corresponding control instruction according to the position information of the contact point, and executing the operation corresponding to the control instruction, includes:
when the touch point is positioned on a play button of a video player in the PPT player, executing video playing operation; or (b)
When the touch point is positioned on an audio player playing button in the PPT player, executing audio playing operation; or (b)
When the touch point is positioned on an element to be triggered in the PPT player, executing an animation effect prefabricated by the element; or (b)
Executing the hyperlink opening operation when the touch point is positioned on a hyperlink in the PPT player; or (b)
And when the touch point is positioned at other positions in the PPT player, executing the next play operation of the PPT player.
3. The method of claim 1, wherein determining whether the point of contact, the touch area, the length of contact, and the length of drawn line in the touch event simultaneously satisfy the corresponding preset conditions comprises:
determining whether a contact point in the touch event is pressed, whether the touch area is a non-large-area touch, whether the contact time length is smaller than a preset time length, and whether the drawn line length is smaller than a preset length;
if the contact point in the touch event is pressed, the touch area is non-large-area touch, the contact time length is smaller than the preset time length and the drawing line length is preset, determining that the contact point, the touch area, the contact time length and the drawing line length in the touch event simultaneously meet the corresponding preset conditions.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
and deleting the content drawn by the user in the PPT player when the monitored contact point, the monitored touch area, the monitored contact time length and the monitored drawn line length in the touch event simultaneously meet the corresponding preset conditions.
5. A method according to claim 2 or 3, characterized in that the method further comprises:
and when the monitored contact point, the monitored touch area, the monitored contact time length and the monitored drawn line length in the touch event simultaneously meet the corresponding preset conditions, switching the writing tool state in the PPT player into the clicking tool state.
6. The method of claim 5, wherein the method further comprises:
and after the operation corresponding to the control instruction is executed, switching the clicking tool state in the PPT player into the writing tool state, and continuing to monitor the touch event of the screen.
7. A method according to claim 3, characterized in that the method further comprises:
and if the contact point, the touch area, the contact time length and the drawn line length in the touch event are determined to not meet the corresponding preset conditions at the same time, executing the related operation of the writing tool state.
8. A screen touch instruction execution device, the device comprising:
the monitoring module is used for monitoring touch events of the screen when the slide PPT player displayed on the screen is in a writing tool state;
the determining module is used for determining whether the contact point, the touch area, the contact duration and the drawn line length in the touch event simultaneously meet the corresponding preset conditions;
the acquisition module is used for acquiring the position information of the contact point if the contact point, the touch area, the contact time length and the drawn line length in the touch event simultaneously meet the corresponding preset conditions;
and the execution module is used for determining the corresponding control instruction according to the position information of the contact point and executing the operation corresponding to the control instruction.
9. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating via said bus when the electronic device is running, said machine readable instructions when executed by said processor performing the steps of the screen touch instruction execution method of any one of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the screen touch instruction execution method of any of claims 1 to 7.
CN202310587271.0A 2023-05-24 2023-05-24 Screen touch instruction execution method and device, electronic equipment and storage medium Pending CN116301441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310587271.0A CN116301441A (en) 2023-05-24 2023-05-24 Screen touch instruction execution method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310587271.0A CN116301441A (en) 2023-05-24 2023-05-24 Screen touch instruction execution method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116301441A true CN116301441A (en) 2023-06-23

Family

ID=86789205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310587271.0A Pending CN116301441A (en) 2023-05-24 2023-05-24 Screen touch instruction execution method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116301441A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101018396B1 (en) * 2010-08-23 2011-02-28 김길선 Touch presentation apparatus using touch input and recording medium used therefor
CN109885244A (en) * 2019-02-19 2019-06-14 广州视源电子科技股份有限公司 A kind of touch operation response method, device, storage medium and terminal
CN109992194A (en) * 2019-04-09 2019-07-09 广州视源电子科技股份有限公司 Intelligent interaction plate and its control method and device
CN110119234A (en) * 2019-04-08 2019-08-13 广州视源电子科技股份有限公司 A kind of operating method, storage medium and the relevant device of intelligent interaction plate
US20210157478A1 (en) * 2018-08-03 2021-05-27 Huawei Technologies Co., Ltd. Touch control apparatus and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101018396B1 (en) * 2010-08-23 2011-02-28 김길선 Touch presentation apparatus using touch input and recording medium used therefor
US20210157478A1 (en) * 2018-08-03 2021-05-27 Huawei Technologies Co., Ltd. Touch control apparatus and method
CN109885244A (en) * 2019-02-19 2019-06-14 广州视源电子科技股份有限公司 A kind of touch operation response method, device, storage medium and terminal
CN110119234A (en) * 2019-04-08 2019-08-13 广州视源电子科技股份有限公司 A kind of operating method, storage medium and the relevant device of intelligent interaction plate
CN109992194A (en) * 2019-04-09 2019-07-09 广州视源电子科技股份有限公司 Intelligent interaction plate and its control method and device

Similar Documents

Publication Publication Date Title
CN103809896B (en) A kind of page switching method and device
CN104850296B (en) Method and device for displaying page content
WO2018119905A1 (en) Control method and control device for multisystem mobile terminal, and electronic device
WO2016188229A1 (en) Terminal device and method for dynamically adjusting control position
CN112130729B (en) Page processing method and device, computer equipment and storage medium
CN111131901A (en) Method, apparatus, computer device and storage medium for processing long video data
CN112540740A (en) Split screen display method and device, electronic equipment and readable storage medium
CN113902491A (en) Resource acquisition information display method and device, electronic equipment and storage medium
CN108984089A (en) touch operation method, device, storage medium and electronic equipment
CN111625741A (en) Page data interaction method and device, storage medium and electronic equipment
CN113741753A (en) Revocation method, electronic device, storage medium, and computer program product
CN107688428B (en) Display interface control method and server
CN104571811B (en) Information processing method and electronic equipment
CN114327726A (en) Display control method, display control device, electronic equipment and storage medium
CN114415886A (en) Application icon management method and electronic equipment
CN114201623A (en) Page display method and device, electronic equipment and storage medium
CN114173175A (en) Media resource playing method, device, equipment and storage medium
CN113949933A (en) Playing data analysis method, device, equipment and storage medium
CN113641294A (en) Information display method and device, electronic equipment and storage medium
CN111522476B (en) Method, device, computer device and storage medium for monitoring window switching
CN116301441A (en) Screen touch instruction execution method and device, electronic equipment and storage medium
CN115756275A (en) Screen capture method, screen capture device, electronic equipment and readable storage medium
CN115119064A (en) Video processing method, device, equipment and storage medium
CN114564134A (en) Application icon display method and device
US20170123629A1 (en) Icon sequencing method and device for intelligent television desktop

Legal Events

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

Application publication date: 20230623