CN114020204B - Task execution method, device, computing equipment and storage medium - Google Patents

Task execution method, device, computing equipment and storage medium Download PDF

Info

Publication number
CN114020204B
CN114020204B CN202111272524.2A CN202111272524A CN114020204B CN 114020204 B CN114020204 B CN 114020204B CN 202111272524 A CN202111272524 A CN 202111272524A CN 114020204 B CN114020204 B CN 114020204B
Authority
CN
China
Prior art keywords
task
gesture
icon
contacts
icons
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111272524.2A
Other languages
Chinese (zh)
Other versions
CN114020204A (en
Inventor
邹亚
曾伟
张勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software 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 Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202111272524.2A priority Critical patent/CN114020204B/en
Publication of CN114020204A publication Critical patent/CN114020204A/en
Application granted granted Critical
Publication of CN114020204B publication Critical patent/CN114020204B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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 invention discloses a task execution method, a device, a computing device and a storage medium, wherein the method comprises the following steps: detecting a touch operation based on a plurality of contacts on a screen; judging whether the number of the contacts of the touch operation is a preset number, and if the number of the contacts is determined to be the preset number, responding to the touch operation and acquiring the position information of each contact; displaying one or more task icons at contact positions on the screen according to position information of a plurality of contacts, each contact position being adapted to display at most one task icon; and receiving a gesture triggering operation on the task icon, and executing a corresponding task according to the gesture triggering operation on the task icon. The task execution scheme of the invention realizes the user-defined task execution and flexible configuration of various gesture triggering operations, and different tasks can be triggered and executed based on different gestures aiming at the same task icon, thereby being beneficial to realizing the execution of various task actions through the shortcut operation and improving the task execution efficiency.

Description

Task execution method, device, computing equipment and storage medium
The present application is a divisional application of patent application 2021110293526 filed on 3/9/2021.
Technical Field
The present invention relates to the field of computers and operating systems, and in particular, to a task execution method, a task execution device, a computing device, and a storage medium.
Background
With the development of mobile devices and touch screen devices, more and more functions are realized through gesture operation, but at present, whether mobile devices such as mobile phones and tablets or touch screen devices based on a PC operating system are used, gesture actions and tasks to be executed are relatively fixed, and the tasks to be executed under the gesture multi-point touch condition cannot be customized.
In the prior art, a scheme for executing tasks based on gesture operations includes: the three-finger sliding screen capturing, the downward sliding and calling control center from the right side of the top, the downward sliding and checking notification from the left side of the top, the upward sliding and returning to the Home I & d icon, the upward sliding and entering the split screen from the navigation bar at the lower end of the screen, and the like. The gesture operations have certain defects, and specific gesture actions can only be used for executing specific tasks, for example, in the case of screen capturing through three-finger sliding operation, other tasks can not be executed through the three-finger sliding operation, so that the gesture operations are not flexible; for another example, in the case of sliding up from the navigation bar at the lower end of the screen into the split screen, other tasks cannot be performed by sliding up from the navigation bar.
For this reason, a task execution method is required to solve the problems in the above-mentioned technical solutions.
Disclosure of Invention
To this end, the present invention provides a task execution method and apparatus in an effort to solve or at least alleviate the above-identified problems.
According to one aspect of the present invention, there is provided a task execution method, executed in an operating system of a computing device, the method comprising the steps of: detecting a touch operation based on a plurality of contacts on a screen; judging whether the number of the contacts of the touch operation is a preset number, and if the number of the contacts is determined to be the preset number, responding to the touch operation and acquiring the position information of each contact; displaying one or more task icons at contact positions on the screen according to position information of a plurality of contacts, wherein each contact position is suitable for displaying at most one task icon; and receiving a gesture triggering operation on the task icon, and executing a corresponding task according to the gesture triggering operation on the task icon.
Optionally, in the task execution method according to the present invention, the step of displaying one or more task icons on the screen according to the position information of the plurality of contacts includes: acquiring a configuration file, and determining one or more configured task icons based on the configuration file; and displaying the one or more task icons of the configuration at corresponding contact positions respectively based on the position sequence of the plurality of contacts.
Optionally, in the task execution method according to the present invention, the order of positions of the plurality of contacts is: the abscissa of the plurality of contacts is in order from small to large.
Optionally, in the task execution method according to the present invention, the gesture triggering operation includes one or more of a click operation, an up-slide operation, and a down-slide operation, and each gesture triggering operation of the task icon corresponds to one task.
Optionally, in the task execution method according to the present invention, the step of executing the corresponding task according to the gesture triggering operation on the task icon includes: determining a task execution script path corresponding to the gesture triggering operation of the task icon based on the configuration file, and acquiring a corresponding task execution script based on the task execution script path; the corresponding task is executed based on the task execution script.
Optionally, in the task execution method according to the present invention, further comprising the steps of: acquiring a task execution script path configured for gesture triggering operation of one or more task icons on a configuration page; and generating a configuration file based on the one or more task icons and the task execution script path corresponding to the gesture triggering operation of each task icon.
Optionally, in the task execution method according to the present invention, the step of receiving a task execution script path configured for gesture triggering operations of one or more task icons on a configuration page includes: responding to a request for configuring a task, and displaying a configuration page on a screen, wherein the configuration page comprises a plurality of task icons, each task icon comprises a plurality of configuration items, and each configuration item corresponds to a gesture triggering operation; a task execution script path corresponding to a gesture trigger operation of a task icon configured based on configuration items of one or more task icons is obtained.
Optionally, in the task execution method according to the present invention, before responding to the touch operation, the method further includes the steps of: timing the touch operation to determine the duration of the touch operation; and responding to the touch operation when the duration time is determined to reach a preset time.
Optionally, in the task execution method according to the present invention, the predetermined number is 5, and the predetermined time is 2 seconds.
Optionally, in the task execution method according to the present invention, the task includes deleting a file stored in a predetermined location, opening a predetermined application, and modifying read-write rights of the predetermined file.
According to one aspect of the present invention, there is provided a task execution device residing in an operating system, the device comprising: the detection module is suitable for detecting touch operation based on a plurality of contacts on a screen, judging whether the number of the contacts of the touch operation is a preset number, and if the number of the contacts is determined to be the preset number, responding to the touch operation and acquiring the position information of each contact; the display module is suitable for displaying one or more task icons at the contact positions on the screen according to the position information of the contacts, wherein each contact position is suitable for displaying one task icon; and the processing module is suitable for receiving gesture triggering operation on the task icon and executing corresponding tasks according to the gesture triggering operation on the task icon.
According to one aspect of the present invention, there is provided a computing device comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the task execution method as described above.
According to one aspect of the present invention, there is provided a readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform a method as described above.
According to the technical scheme, the task execution method is provided, tasks corresponding to a plurality of task icons can be preconfigured, wherein a plurality of gesture triggering operations can be respectively configured for each task icon, and a task is respectively configured for each gesture triggering operation. The user can call out a plurality of task icons through a multi-touch operation (e.g., five-finger touch operation), and display the task icons according to each contact position of the user when the operation is triggered, so that the user operates the task icons more accurately. Moreover, based on the pre-configuration, for the same task icon, the user may trigger execution of different tasks based on different gesture trigger operations. Therefore, according to the technical scheme of the invention, the user can configure tasks in a self-defined manner and flexibly configure various gesture triggering operations, different tasks are triggered and executed based on different gestures, the task actions of more various types can be executed through the shortcut operation, and the task execution efficiency is improved.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which set forth the various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to fall within the scope of the claimed subject matter. The above, as well as additional objects, features, and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Like reference numerals generally refer to like parts or elements throughout the present disclosure.
FIG. 1 shows a schematic diagram of a computing device 100 according to one embodiment of the invention;
FIG. 2 illustrates a flow chart of a task execution method 200 according to one embodiment of the invention;
FIG. 3 illustrates a schematic diagram of a touch operation based on multiple contacts on a screen according to one embodiment of the invention;
FIG. 4 shows a schematic diagram of displaying task icons on a screen according to one embodiment of the present invention;
FIG. 5 shows a configuration page schematic according to one embodiment of the invention; and
fig. 6 shows a schematic diagram of a task performing device 600 according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
According to the task execution scheme provided by the invention, a user can configure various tasks in a self-defined manner, and various gesture triggering operations can be flexibly configured for each task icon, so that the user can trigger and execute different tasks by operating the task icons through different gestures, the task execution scheme is beneficial to realizing execution of various task actions through shortcut operations, and the task execution efficiency is improved.
Fig. 1 is a schematic block diagram of an example computing device 100.
As shown in FIG. 1, in a basic configuration 102, a computing device 100 typically includes a system memory 106 and one or more processors 104. The memory bus 108 may be used for communication between the processor 104 and the system memory 106.
Depending on the desired configuration, the processor 104 may be any type of processing including, but not limited to: a microprocessor (UP), a microcontroller (UC), a digital information processor (DSP), or any combination thereof. The processor 104 may include one or more levels of caches, such as a first level cache 110 and a second level cache 112, a processor core 114, and registers 116. The example processor core 114 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof. The example memory controller 118 may be used with the processor 104, or in some implementations, the memory controller 118 may be an internal part of the processor 104.
Depending on the desired configuration, system memory 106 may be any type of memory including, but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. The system memory 106 may include an operating system 120, one or more applications 122, and program data 124. In some implementations, the application 122 may be arranged to execute instructions on an operating system by the one or more processors 104 using the program data 124.
Computing device 100 also includes storage device 132, storage device 132 including removable storage 136 and non-removable storage 138.
Computing device 100 may also include a storage interface bus 134. Storage interface bus 134 enables communication from storage devices 132 (e.g., removable storage 136 and non-removable storage 138) to base configuration 102 via bus/interface controller 130. At least a portion of the operating system 120, applications 122, and data 124 may be stored on removable storage 136 and/or non-removable storage 138, and loaded into the system memory 106 via the storage interface bus 134 and executed by the one or more processors 104 when the computing device 100 is powered up or the application 122 is to be executed.
Computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to basic configuration 102 via bus/interface controller 130. The example output device 142 includes a graphics processing unit 148 and an audio processing unit 150. They may be configured to facilitate communication with various external devices such as a display or speakers via one or more a/V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 158. An example communication device 146 may include a network controller 160, which may be arranged to facilitate communication with one or more other computing devices 162 via one or more communication ports 164 over a network communication link.
The network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media in a modulated data signal, such as a carrier wave or other transport mechanism. A "modulated data signal" may be a signal that has one or more of its data set or changed in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or special purpose network, and wireless media such as acoustic, radio Frequency (RF), microwave, infrared (IR) or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
Computing device 100 may be implemented as a personal computer including desktop and notebook computer configurations. Of course, computing device 100 may also be implemented as part of a small-sized portable (or mobile) electronic device such as a cellular telephone, a digital camera, a Personal Digital Assistant (PDA), a personal media player device, a wireless web-watch device, a personal headset device, an application-specific device, or a hybrid device that may include any of the above functions. And may even be implemented as servers, such as file servers, database servers, application servers, WEB servers, and the like. The embodiments of the present invention are not limited in this regard.
In an embodiment in accordance with the invention, the operating system 120 of the computing device 100 is configured to perform a task execution method 200 in accordance with the invention. Wherein the operating system 120 of the computing device 100 contains a plurality of program instructions for executing the task execution method 200 of the present invention, so that the task execution method 200 of the present invention can be executed in the operating system 120 of the computing device 100.
According to one embodiment of the present invention, the operating system 120 includes a task execution device 600, where the task execution device 600 includes a plurality of program instructions for executing the task execution method 200 of the present invention, so that the task execution method 200 of the present invention can be executed in the task execution device 600.
FIG. 2 illustrates a flow chart of a task execution method 200 according to one embodiment of the invention. Task execution method 200 may be performed in an operating system of a computing device (e.g., computing device 100 described previously). Wherein computing device 100 includes a touch screen coupled to an operating system.
It should be noted that the task execution method 200 according to the present invention can be widely used for a shortcut task execution scheme of various operating systems including UOS.
In one embodiment, the operating system of computing device 100 may be a desktop operating system, such as a UOS operating system, which may be connected to a touch screen. However, it should be noted that the present invention is not limited to a specific kind of computing device and operating system, and the task execution method 200 of the present invention may also be executed in an operating system of a mobile terminal such as a mobile phone, a tablet, etc.
As shown in fig. 2, the method 200 begins at step S210.
In step S210, a touch operation by a user on the screen based on a plurality of contacts is detected. For example, a user may trigger a screen to form multiple contacts with multiple fingers simultaneously, and the operating system of computing device 100 may detect a touch operation by the user on the screen based on the multiple contacts. Here, referring to fig. 3, a schematic diagram of a touch operation based on a plurality of contacts on a screen according to an embodiment of the present invention is shown.
Subsequently, in step S220, it is determined whether the number of contacts of the touch operation is a predetermined number, and if it is determined that the number is the predetermined number, positional information of each contact is acquired in response to the touch operation. Here, it is determined whether the detected touch operation based on the plurality of contacts satisfies the multi-touch condition by determining whether the number of contacts is a predetermined number. When the number of contacts of the touch operation is a predetermined number, that is, when the touch operation includes a predetermined number of contacts, it is determined that the touch operation satisfies the multi-touch condition, so that the task icon can be displayed according to the position information of each contact in response to the touch operation, specifically, by continuing to perform the following step S230.
In one embodiment, the predetermined number is 5, i.e., when the detected touch operation includes 5 contacts, the touch operation may be responded to. As shown in fig. 3, a user may touch the screen simultaneously by five fingers to form a touch operation including 5 contacts, at which time the operating system may determine that the touch operation satisfies a multi-touch condition and respond to the touch operation.
In step S230, one or more task icons are displayed at the contact positions on the screen according to the position information of the plurality of contacts (i.e., the predetermined number of contacts). FIG. 4 shows a schematic diagram of displaying task icons on a screen, with each contact location adapted to display at most one task icon, as shown in FIG. 4, in accordance with one embodiment of the present invention. Here, when the number of task icons configured is equal to the number of contacts, one task icon may be displayed at each contact position, and when the number of task icons configured is less than the number of contacts, one or more task icons configured may be displayed at one or more contact positions, so that there are also one or more contact positions where no task icon is displayed.
It should be noted that each task icon may correspond to a different execution task, and it should be noted that the specific task corresponding to each task icon is not limited by the present invention. It should be understood that the task icon is displayed according to each contact position of the user when the user triggers the operation, so that the operation habit of the user is more met, and the user can more accurately operate the task icon.
It should also be noted that one or more of the task icons and corresponding specific tasks displayed herein may be preconfigured. In one embodiment, by obtaining a configuration file generated by pre-configuration, one or more task icons configured in advance can be determined based on the configuration file, and the configured one or more task icons are respectively displayed at corresponding contact positions.
In one embodiment, the configured one or more task icons may be displayed at corresponding contact positions, respectively, based on a sequence of positions of the plurality of contacts, each of which may display at most one task icon. Here, the order of the positions of the plurality of contacts may be an order from small to large on the abscissa of the plurality of contacts, and based on this, the one or more task icons configured, the order from small to large on the abscissa of the plurality of contacts may be displayed at the respective contact positions, respectively.
It should be noted that the present invention is not limited to a specific number of pre-configured task icons. When the number of the pre-configured task icons is the same as the number of the contacts and is the preset number, each task icon can be respectively allocated to one contact position, and finally each contact position is respectively displayed with one task icon. In addition, if the number of configured task icons is smaller than the predetermined number, after the configured one or more task icons are displayed at the corresponding contact positions, respectively, based on the positional order of the plurality of contacts, at this time, there is a case where one or more contact positions do not display any task icon.
In one embodiment, after determining that the number of contacts of the touch operation is the predetermined number, and before responding to the touch operation, the touch operation based on the predetermined number of contacts is also timed to determine a duration of the touch operation, and when the duration is determined to reach a predetermined time (i.e., when the duration of the touch operation based on the predetermined number of contacts reaches the predetermined time), the touch operation is determined to satisfy the multi-touch condition, and then one or more task icons are displayed at contact positions on the screen in response to the touch operation.
In one embodiment, the predetermined number is 5 and the predetermined time is 2 seconds. That is, when the detected touch operation includes 5 contacts, and the touch operation duration based on the 5 contacts reaches 2 seconds (greater than or equal to 2 seconds), it is determined that the touch operation satisfies a multi-touch condition, and one or more task icons are displayed at the contact positions on the screen in response to the touch operation.
Finally, in step S230, a gesture trigger operation for the task icon is received, and a corresponding task is executed according to the gesture trigger operation for the task icon.
Here, it should be noted that the gesture triggering operation for each task icon may include one or more types, and for each task icon, a task may be configured for each gesture triggering operation, so that each gesture triggering operation of the task icon corresponds to one executable task. Thus, for the same task icon, different tasks may be triggered to be performed based on different gesture trigger operations.
In one embodiment, the gesture triggering operation on the task icon includes, for example, one or more of a click operation, an up-slide operation, and a down-slide operation, so that each gesture triggering operation (click operation, up-slide operation, and down-slide operation) of the task icon may correspond to one task, respectively. It should be noted that the present invention is not limited to the types of gesture triggering operations listed above.
According to one embodiment, when a corresponding task is executed according to a gesture trigger operation on a task icon, a task execution script path corresponding to the gesture trigger operation of the task icon may be determined based on the configuration file by acquiring the configuration file, and a corresponding task execution script may be acquired based on the task execution script path. The corresponding task may then be executed based on the task execution script.
In one implementation, the tasks that the method 200 according to the present invention can implement to execute quickly according to the pre-configuration can be implemented as: deleting a file stored in a predetermined location (e.g., clearing a file in a recovery station), opening a predetermined application, modifying read-write rights of a predetermined file, etc., but the present invention is not limited to the types of executable tasks listed herein.
According to the embodiment of the invention, corresponding tasks can be configured for gesture triggering operation of one or more task icons according to the request of a user. Specifically, upon receiving a request for configuring a task sent by a user, a configuration page may be displayed on a screen in response to the request for configuring the task, so that the user configures the task based on the configuration page. In one implementation, when the method 200 is performed in the UOS operating system (coupled to the touch screen), the user may call out a configuration page at the control center to flexibly configure tasks based on the configuration page.
Here, referring to fig. 5, a schematic diagram of a configuration page according to an embodiment of the present invention is shown. After the configuration page is displayed, a user can configure a corresponding task execution script path for gesture triggering operations of one or more task icons on the configuration page. It should be noted that, for each task icon, multiple gesture triggering operations may be configured, and one task may be configured for each gesture triggering operation, so that a corresponding task execution script path may be configured for each gesture triggering operation of each task icon. After the configuration operation of the user is completed, a task execution script path configured by the gesture triggering operation of the user for one or more task icons on the configuration page can be obtained, and a configuration file is generated and stored in the computing device based on the one or more task icons configured on the configuration page by the user and the task execution script path corresponding to the gesture triggering operation of each task icon.
In this way, when a task corresponding to the gesture triggering operation of the task icon is executed in response to the gesture triggering operation of the user on the task icon, a task execution script path corresponding to the gesture triggering operation of the task icon can be obtained from the configuration file, a task execution script is obtained based on the corresponding task execution script path, and a corresponding task is executed through the task execution script, so that a corresponding task execution action is realized. It should be understood that by configuring a corresponding task execution script path for the gesture trigger operation of the task icon, configuring a corresponding task for the gesture trigger operation of the task icon is also achieved. By respectively configuring corresponding task execution script paths for each gesture triggering operation of the task icons, the user can trigger the same task icon to trigger different tasks to be executed through different gestures.
In one implementation, as shown in fig. 5, the configuration page includes a plurality of task icons, each task icon includes a plurality of configuration items, each configuration item corresponds to one gesture trigger operation, for example, each task icon shown in fig. 5 includes a single click configuration item, an up slide configuration item, and a down slide configuration item, so that when configuring a task for a task icon, a task execution script corresponding to the gesture trigger operation of the task icon may be configured for each configuration item corresponding to each gesture trigger operation of the task icon. Specifically, any execution script corresponding to the clicking operation of the task icon is configured based on the clicking configuration item, so that a user can trigger the execution of the corresponding task by clicking the task icon; configuring any execution script corresponding to the upward sliding operation of the task icon based on the upward sliding configuration item, so that a user can trigger the execution of the corresponding task by performing the upward sliding operation on the task icon; any execution script corresponding to the downward sliding operation of the task icon is configured based on the downward sliding configuration item, so that the user can trigger the execution of the corresponding task by performing the downward sliding operation on the task icon.
After the configuration operation of the user is completed, a configuration file is generated by acquiring a task execution script path which is configured by the user based on configuration items of one or more task icons and corresponds to gesture triggering operation of the task icon, and generating a task execution script path which corresponds to gesture triggering operation of each task icon based on the one or more task icons.
Thus, according to the method 200 of the invention, the user can execute tasks in a self-defined manner and flexibly configure various gesture triggering operations, so that different tasks can be triggered and executed based on different gestures, the task actions of more various types can be executed through the shortcut operation, and the task execution efficiency is improved.
Fig. 6 shows a schematic diagram of a task performing device 600 according to an embodiment of the invention. The task execution device 600 resides in an operating system of a computing device and is adapted to perform the task execution method 200 of the present invention.
The task performing device 600 includes a detection module 610, a display module 620, and a processing module 630 that are coupled. The detection module 610 is configured to detect a touch operation based on a plurality of contacts on a screen, determine whether the number of contacts in the touch operation is a predetermined number, and if the number is determined to be the predetermined number, obtain location information of each contact in response to the touch operation. The display module 620 displays one or more task icons at contact locations on the screen based on the location information of the plurality of contacts, wherein each contact location is adapted to display one task icon. The processing module 630 receives a gesture trigger operation on the task icon by the user, and executes a corresponding task according to the gesture trigger operation on the task icon.
It should be noted that the detection module 610 is configured to perform the foregoing steps S210 to S220, the display module 620 is configured to perform the foregoing step S230, and the processing module 630 is configured to perform the foregoing step S240. The specific execution logic of the detection module 610, the display module 620, and the processing module 630 refers to the specific descriptions of steps S210 to S240 in the foregoing method 200, and will not be repeated here.
According to the task execution scheme provided by the invention, the tasks corresponding to the task icons can be preconfigured, wherein a plurality of gesture triggering operations can be respectively configured for each task icon, and one task is respectively configured for each gesture triggering operation. The user can call out a plurality of task icons through a multi-touch operation (e.g., five-finger touch operation), and display the task icons according to each contact position of the user when the operation is triggered, so that the user operates the task icons more accurately. Moreover, based on the pre-configuration, for the same task icon, the user may trigger execution of different tasks based on different gesture trigger operations. Therefore, according to the technical scheme of the invention, the user can configure various tasks in a self-defined manner, flexibly configure various gesture triggering operations, trigger and execute different tasks based on different gestures, and the task executing efficiency is improved.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions of the methods and apparatus of the present invention, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U-drives, floppy diskettes, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the multi-lingual spam text recognition method of the present invention in accordance with instructions in said program code stored in the memory.
By way of example, and not limitation, readable media comprise readable storage media and communication media. The readable storage medium stores information such as computer readable instructions, data structures, program modules, or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with examples of the invention. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into a plurality of sub-modules.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Furthermore, some of the embodiments are described herein as methods or combinations of method elements that may be implemented by a processor of a computer system or by other means of performing the functions. Thus, a processor with the necessary instructions for implementing the described method or method element forms a means for implementing the method or method element. Furthermore, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is for carrying out the functions performed by the elements for carrying out the objects of the invention.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is defined by the appended claims.

Claims (8)

1. A method of task execution, performed in an operating system of a computing device, the method comprising the steps of:
configuring corresponding tasks for gesture triggering operations of a plurality of task icons, wherein the gesture triggering operations of each task icon comprise multiple types, each gesture triggering operation of each task icon corresponds to one task respectively, and the gesture triggering operations comprise multiple types of clicking operations, upward sliding operations and downward sliding operations;
detecting a touch operation based on a plurality of contacts on a screen;
judging whether the number of the contacts of the touch operation is a preset number, and if the number of the contacts is determined to be the preset number, responding to the touch operation and acquiring the position information of each contact;
acquiring a configuration file, determining a plurality of configured task icons based on the configuration file, and respectively displaying the plurality of configured task icons at corresponding contact positions based on the position sequence of a plurality of contacts, wherein each contact position is suitable for displaying at most one task icon; and
and receiving gesture triggering operation on the task icon, and executing corresponding tasks according to the gesture triggering operation on the task icon.
2. The method of claim 1, wherein the sequence of positions of the plurality of contacts is: the abscissa of the plurality of contacts is in order from small to large.
3. The method of claim 1 or 2, wherein the step of performing the respective task according to the gesture-triggered operation of the task icon comprises:
determining a task execution script path corresponding to the gesture triggering operation of the task icon based on the configuration file, and acquiring a corresponding task execution script based on the task execution script path;
the corresponding task is executed based on the task execution script.
4. The method of claim 1 or 2, further comprising the step of:
acquiring task execution script paths configured for gesture triggering operation of a plurality of task icons on a configuration page;
and generating a configuration file based on the task icons and the task execution script path corresponding to the gesture triggering operation of each task icon.
5. The method of claim 4, wherein the step of obtaining a task execution script path configured for gesture-triggered operations at a configuration page for a plurality of task icons comprises:
responding to a request for configuring a task, and displaying a configuration page on a screen, wherein the configuration page comprises a plurality of task icons, each task icon comprises a plurality of configuration items, and each configuration item corresponds to a gesture triggering operation;
and acquiring task execution script paths which are configured based on configuration items of the task icons and correspond to gesture triggering operations of the task icons.
6. A task execution device residing in an operating system, the device being adapted to configure respective tasks for gesture-triggered operations of a plurality of task icons, wherein the gesture-triggered operations of each task icon include a plurality of types, each gesture-triggered operation of each task icon corresponds to a respective one of the tasks, the gesture-triggered operations include a plurality of types of click operations, up-slide operations, down-slide operations, the device comprising:
the detection module is suitable for detecting touch operation based on a plurality of contacts on a screen, judging whether the number of the contacts of the touch operation is a preset number, and if the number of the contacts is determined to be the preset number, responding to the touch operation and acquiring the position information of each contact;
the display module is suitable for acquiring a configuration file, determining a plurality of configured task icons based on the configuration file, and respectively displaying the plurality of configured task icons at corresponding contact positions based on the position sequence of a plurality of contacts, wherein each contact position is suitable for displaying at most one task icon; and
the processing module is suitable for receiving gesture triggering operation on the task icon and executing corresponding tasks according to the gesture triggering operation on the task icon.
7. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 1-5.
8. A readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-5.
CN202111272524.2A 2021-09-03 2021-09-03 Task execution method, device, computing equipment and storage medium Active CN114020204B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111272524.2A CN114020204B (en) 2021-09-03 2021-09-03 Task execution method, device, computing equipment and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111029352.6A CN113467695B (en) 2021-09-03 2021-09-03 Task execution method and device, computing device and storage medium
CN202111272524.2A CN114020204B (en) 2021-09-03 2021-09-03 Task execution method, device, computing equipment and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202111029352.6A Division CN113467695B (en) 2021-09-03 2021-09-03 Task execution method and device, computing device and storage medium

Publications (2)

Publication Number Publication Date
CN114020204A CN114020204A (en) 2022-02-08
CN114020204B true CN114020204B (en) 2023-07-07

Family

ID=77868019

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111272524.2A Active CN114020204B (en) 2021-09-03 2021-09-03 Task execution method, device, computing equipment and storage medium
CN202111029352.6A Active CN113467695B (en) 2021-09-03 2021-09-03 Task execution method and device, computing device and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202111029352.6A Active CN113467695B (en) 2021-09-03 2021-09-03 Task execution method and device, computing device and storage medium

Country Status (1)

Country Link
CN (2) CN114020204B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101390038A (en) * 2005-12-30 2009-03-18 苹果公司 Portable electronic device with interface reconfiguration mode
CN107111444A (en) * 2014-09-18 2017-08-29 核果移动有限公司 For the client user interface interactive with contact point

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9311061B2 (en) * 2011-02-10 2016-04-12 International Business Machines Corporation Designing task execution order based on location of the task icons within a graphical user interface
US8508494B2 (en) * 2011-06-01 2013-08-13 Motorola Mobility Llc Using pressure differences with a touch-sensitive display screen
KR102148809B1 (en) * 2013-04-22 2020-08-27 삼성전자주식회사 Apparatus, method and computer readable recording medium for displaying shortcut window
US20140372896A1 (en) * 2013-06-14 2014-12-18 Microsoft Corporation User-defined shortcuts for actions above the lock screen
US11567626B2 (en) * 2014-12-17 2023-01-31 Datalogic Usa, Inc. Gesture configurable floating soft trigger for touch displays on data-capture electronic devices
US10741273B1 (en) * 2015-07-15 2020-08-11 OHUM Healthcare Solutions Inc. User friendly medical records systems, apparatuses and methods
CN105912173B (en) * 2016-04-11 2019-04-30 中电莱斯信息系统有限公司 A kind of adaptive 3 recognition methods suitable for optical touch panel
CN107786717A (en) * 2016-08-24 2018-03-09 深圳市鼎芯无限科技有限公司 A kind of control method of intelligent lamp
CN107203326A (en) * 2017-06-05 2017-09-26 瓦戈科技(上海)有限公司 A kind of floated push-botton operation control method
CN107450800A (en) * 2017-07-25 2017-12-08 维沃移动通信有限公司 A kind of task method to set up, mobile terminal and computer-readable recording medium
CN108268194A (en) * 2017-08-29 2018-07-10 广州市动景计算机科技有限公司 Using the display methods of app channel menus, device and mobile terminal
CN109062464B (en) * 2018-06-27 2021-03-02 Oppo广东移动通信有限公司 Touch operation method and device, storage medium and electronic equipment
CN110275665A (en) * 2019-05-23 2019-09-24 深圳龙图腾创新设计有限公司 A kind of operating method of touch panel, electronic equipment and storage medium
CN111338554A (en) * 2020-02-14 2020-06-26 深圳小佳科技有限公司 Suspension ball operating system and method based on large-screen touch
CN112286358A (en) * 2020-11-02 2021-01-29 恒大新能源汽车投资控股集团有限公司 Screen operation method and device, electronic equipment and computer-readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101390038A (en) * 2005-12-30 2009-03-18 苹果公司 Portable electronic device with interface reconfiguration mode
CN107111444A (en) * 2014-09-18 2017-08-29 核果移动有限公司 For the client user interface interactive with contact point

Also Published As

Publication number Publication date
CN113467695B (en) 2021-12-07
CN113467695A (en) 2021-10-01
CN114020204A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN107665434B (en) Payment method and mobile terminal
CN108287917B (en) File opening method and device, storage medium and electronic equipment
WO2022001341A1 (en) Application program tag generation method, application interface display method and device
CN108549568B (en) Application entry processing method and device, storage medium and electronic equipment
CN104794105A (en) Touch event processing for web pages
CN107506130B (en) Character deleting method and mobile terminal
WO2018166469A1 (en) Method for multi-path copying and pasting, and mobile terminal
CN107370874B (en) Application starting method, mobile terminal and storage medium
US20140113688A1 (en) Method for operating mobile device using vibration sensor
CN110286819B (en) Window management method and computing device
US9588607B2 (en) Method for improving touch recognition and electronic device thereof
CN106599257B (en) Method for realizing page shortcut and electronic equipment
CN109783335B (en) User operation recording and restoring method, device and equipment and readable storage medium
WO2018196693A1 (en) Method for displaying image list and mobile terminal
CN114020204B (en) Task execution method, device, computing equipment and storage medium
CN106446014B (en) File searching method and mobile terminal
US20210223920A1 (en) Shortcut Key Control Method and Terminal
WO2018219141A1 (en) Method for marking unread information and mobile terminal
CN114153538A (en) Window switching method, computing device and storage medium
CN111796736B (en) Application sharing method and device and electronic equipment
CN112286613A (en) Interface display method and interface display device
CN114461113A (en) Interaction method based on taskbar, processing device and computing equipment
CN113190340B (en) Task switching method and computing device
CN113254142B (en) System desktop area dividing method and computing device
CN113138806B (en) Processing method and device for mobile application running environment

Legal Events

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