Application program operation method and device
By receiving and matching the user's sliding input on the terminal device, and directly executing preset application operations, the problem of cumbersome application operations in the prior art is solved and a simpler operation process is achieved.
Patent Information
- Application Number
- CN202010768971.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-03
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2040-08-03
AI Technical Summary
In the prior art, the operation process of applications is complicated, and it is necessary to look for icons in the desktop of the terminal device or thumbnails in the display interface of the application running in the background to perform the startup or exit operation.
By receiving the user's sliding input on the touch panel of the terminal device, and determining whether there is a sliding input the same as the sliding input start position, the end position and the sliding track in the preset set. If it matches, the corresponding application operation is performed.
Simplifies the operation process of the application, and users only need to enter a specific sliding input to perform specified operations, avoiding the steps of entering the desktop or background interface to find icons or thumbnails.
Smart Images

Figure CN111966269B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of terminal technology, and in particular to an application operating method and device. Background Art
[0002] With the development of terminal technology and corresponding software technology, the performance of terminal devices such as mobile phones and personal digital assistants (PDAs) has become increasingly powerful, and more and more applications have been developed for terminal devices. Generally speaking, when a certain function is realized through a terminal device, it is necessary to install the corresponding application (Application, APP) on the terminal device. In order to meet various functional requirements in daily life, a large number of applications are generally installed on terminal devices.
[0003] The numerous applications installed on the terminal device not only meet the various functional requirements of the user, but also cause certain difficulties in the operation of starting and exiting the application. Specifically, in the prior art, when a user needs to start an application, one way is: first control the terminal device to display the desktop, then find the icon of the application in the desktop, and finally input a predefined input to the icon of the application to start the application; another way is: control the terminal device to display the thumbnails of the display interface of all applications running in the background, then find the thumbnail corresponding to the application from the thumbnail, and finally input the predefined input to the thumbnail of the application to schedule the application to run in the foreground. Similarly, when the user needs to exit an application, it is necessary to control the terminal device to display the thumbnails of the display interface of all applications running in the background, then find the thumbnail corresponding to the application from the thumbnail, and finally input the predefined input to the thumbnail of the application to exit the application. As mentioned above, in the prior art, when operating an application, it is necessary to enter the desktop to search for icons or enter the thumbnail of the display interface of the application running in the background to search for thumbnails, and the operation process is relatively cumbersome. Summary of the invention
[0004] The embodiment of the present invention provides an application operating method and device, which are used to solve the problem that the operation process of the application in the prior art is relatively complicated.
[0005] In order to solve the above technical problems, the embodiment of the present invention is implemented as follows:
[0006] In a first aspect, an embodiment of the present invention provides an application operating method, including:
[0007] Receiving a first sliding input inputted by a user on a touch panel of a terminal device;
[0008] Determining whether there is a sliding input in a preset set having the same starting position, ending position, and sliding trajectory as the first sliding input; the preset set includes at least one sliding input;
[0009] If the second sliding input in the preset set has the same starting position, ending position and sliding track as the first sliding input, the operation corresponding to the second sliding input is performed on the application corresponding to the second sliding input.
[0010] In a second aspect, an application operating device is provided, comprising:
[0011] A receiving unit, configured to receive a first sliding input inputted by a user on a touch panel of a terminal device;
[0012] A processing unit, configured to determine whether a preset set includes a sliding input having the same starting position, ending position, and sliding trajectory as the first sliding input; the preset set includes at least one sliding input;
[0013] An execution unit is used to execute the operation corresponding to the second sliding input on the application corresponding to the second sliding input when the second sliding input in the preset set has the same starting position, ending position and sliding trajectory as the first sliding input.
[0014] In a third aspect, a terminal device is provided, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the application operation method as described in the first aspect.
[0015] In a fourth aspect, a computer-readable storage medium is provided, comprising: a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the application program operation method as described in the first aspect is implemented.
[0016] The application operation method provided in the embodiment of the present invention first receives a first sliding input inputted by a user on the touch panel of a terminal device, and then determines whether there is a sliding input in a preset set that has the same starting position, ending position, and sliding trajectory as the first sliding input; if the second sliding input in the preset set has the same starting position, ending position, and sliding trajectory as the first sliding input, then the operation corresponding to the second sliding input is performed on the application corresponding to the second sliding input. Compared with the prior art, which requires entering the desktop to search for icons or entering the thumbnails of the display interface of the application running in the background to search for thumbnails during the application operation process, the application operation method provided in the embodiment of the present invention only requires inputting a specific sliding input to perform a specified operation on a specific application operation, which greatly simplifies the application operation process, and thus can solve the problem that the application operation process in the prior art is relatively cumbersome. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 Steps of the application program operation method provided in the embodiment of the present invention Figure 1 ;
[0018] Figure 2 Steps of the application program operation method provided in the embodiment of the present invention Figure 2 ;
[0019] Figure 3 One of the scenario schematic diagrams of the application operation method provided by an embodiment of the present invention;
[0020] Figure 4 Steps of the application program operation method provided in the embodiment of the present invention Figure 3 ;
[0021] Figure 5 A second schematic diagram of a scenario of the application program operation method provided by an embodiment of the present invention;
[0022] Figure 6 Steps of the application program operation method provided in the embodiment of the present invention Figure 4 ;
[0023] Figure 7 A third scenario diagram of the application program operation method provided by an embodiment of the present invention;
[0024] Figure 8 A fourth scenario diagram of the application program operation method provided by an embodiment of the present invention;
[0025] Fig. 9 One of the schematic diagrams of the preset sliding input provided by the embodiment of the present invention;
[0026] Fig.10 One of the schematic diagrams of the preset sliding input provided by the embodiment of the present invention;
[0027] Fig.11 One of the structural schematic diagrams of the application operating device provided by the embodiment of the present invention;
[0028] Fig.12 A second structural diagram of an application operating device provided in an embodiment of the present invention;
[0029] Fig.13 A schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] In the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way. In addition, in the description of the embodiments of the present invention, unless otherwise specified, the meaning of "multiple" refers to two or more.
[0032] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0033] The terminal device in the embodiment of the present invention may be an intelligent peripheral device, a mobile terminal device, or a non-mobile terminal device. The mobile terminal device may be a terminal device, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA); the non-mobile terminal device may be a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., which is not specifically limited in the embodiment of the present invention.
[0034] The embodiment of the present invention provides an application operation method, and the execution subject of the application operation method can be any of the above-mentioned terminal devices. Figure 1 As shown, the application operation method includes the following steps S101 to S103:
[0035] S101: Receive a first sliding input inputted by a user on a touch panel of a terminal device.
[0036] Specifically, the sliding input in the embodiment of the present invention refers to a touch input in which a user slides from one position to another position while keeping pressing on the touch panel of the terminal device using a stylus, a finger, or the like.
[0037] S102: Determine whether there is a sliding input in a preset set having the same starting position, ending position, and sliding trajectory as the first sliding input.
[0038] Wherein, the preset set includes at least one sliding input.
[0039] That is, one or more sliding inputs are stored in the terminal device in advance, and after receiving the user's sliding input again, they are matched one by one with the one or more pre-stored sliding inputs.
[0040] Optionally, the above step S102 (determining whether there is a sliding input in the preset set having the same starting position, ending position and sliding trajectory as the first sliding input) includes the following steps a to g.
[0041] Step a: Determine whether the preset set contains a sliding input with the same starting position as the first sliding input.
[0042] In the above step a, if there is no sliding input with the same starting position as the first sliding input in the preset set, step b is executed; if there is a sliding input with the same starting position as the first sliding input in the preset set, step c is executed.
[0043] Step b: Determine that the first sliding input does not match any sliding input in the preset set.
[0044] Step c: determining whether the first set contains a sliding input having the same end position as the first sliding input.
[0045] The first set is a set of sliding inputs in the preset set that have the same starting position as the first sliding input.
[0046] In the above step c, if the first set does not contain a sliding input with the same end position as the first sliding input, execute the following step d; if the first set contains a sliding input with the same start position as the first sliding input, execute the following step e.
[0047] Step d: Determine that the first sliding input does not match any sliding input in the preset set.
[0048] Step e: determine whether the second set has a sliding input with the same sliding trajectory as the first sliding input.
[0049] The second set is a set of sliding inputs in the first set that have the same termination position as the first sliding input.
[0050] In the above step e, if the second set does not have a sliding input with the same sliding trajectory as the first sliding input, execute the following step f; if the sliding trajectory of the first sliding input is the same as the sliding trajectory of the third sliding input in the second set, execute the following step g.
[0051] Step f: Determine that the first sliding input does not match any sliding input in the preset sliding input set.
[0052] Step g: Determine that the starting position, ending position and sliding trajectory of the third sliding input are the same as those of the first sliding input.
[0053] In the above step S102, if the second sliding input in the preset set has the same starting position, ending position and sliding trajectory as the first sliding input, the following step S103 is executed.
[0054] S103: Execute the operation corresponding to the second sliding input on the application corresponding to the second sliding input.
[0055] Optionally, the correspondence between the sliding inputs in the preset set and the application programs, and the correspondence between the sliding inputs in the preset set and the operations, can be stored in the terminal device in the form of correspondence. When it is determined that a certain sliding input in the preset set has the same starting position, ending position, and sliding trajectory as the first sliding input, the application program and the specific operation to be operated by the user are determined by searching the correspondence table. Exemplarily, the correspondence between the sliding inputs in the preset set and the application programs, and the correspondence between the sliding inputs in the preset set and the operations can be shown in the following Table 1:
[0056] Table 1
[0057]
[0058] Further, the above step S103 (performing the operation corresponding to the second sliding input on the application corresponding to the second sliding input) includes at least one of the following:
[0059] Launching an application corresponding to the second sliding input;
[0060] Exiting the application corresponding to the second sliding input;
[0061] Scheduling the application corresponding to the second sliding input from the background to the foreground for execution;
[0062] Restart the application corresponding to the second sliding input.
[0063] That is, the application operation method provided by the embodiment of the present invention can realize the conversion of the application from the exit state to the startup state, the conversion of the application from the startup state to the exit state, the conversion of the application from the background running state to the foreground running state, and the restart of the application in the startup state.
[0064] The application operation method provided in the embodiment of the present invention first receives a first sliding input inputted by a user on the touch panel of a terminal device, and then determines whether there is a sliding input in a preset set that has the same starting position, ending position, and sliding trajectory as the first sliding input; if the second sliding input in the preset set has the same starting position, ending position, and sliding trajectory as the first sliding input, then the operation corresponding to the second sliding input is performed on the application corresponding to the second sliding input. Compared with the prior art, which requires entering the desktop to search for icons or entering the thumbnails of the display interface of the application running in the background to search for thumbnails during the application operation process, the application operation method provided in the embodiment of the present invention only requires inputting a specific sliding input to perform a specified operation on a specific application operation, which greatly simplifies the application operation process, and thus can solve the problem that the application operation process in the prior art is relatively cumbersome.
[0065] Before operating the application program through the application program operation method provided by the above implementation, the corresponding relationship between the sliding input, the application program and the operation needs to be pre-entered in the terminal device. Figure 2 As shown, the implementation method of recording the correspondence between the sliding input, the application and the operation in the terminal device may include the following steps:
[0066] S21. Receive the second sliding input input by the user on the first interface.
[0067] For example, refer to Figure 3 As shown, Figure 3In the figure, the first interface 301 displays the prompt "Please enter the sliding input", and the second sliding input entered by the user in the first interface 100 is: the starting point is the upper right corner of the terminal device screen, the end point is the center of the terminal device screen, and the sliding track is a straight line.
[0068] S22: Display the second interface.
[0069] The second interface includes an identification of at least one application.
[0070] For example, refer to Figure 3 As shown, Figure 3 In the figure, the second interface 302 includes a prompt “Please select the corresponding application” and icons of application programs such as application A, application B, etc., as an example.
[0071] S23: Receive a first input from a user.
[0072] The first input is an input of an identifier of a first application in the second interface.
[0073] Reference Figure 3 As shown, Figure 3 In the figure, the first input is taken as an example of inputting the icon “Application F” of the application F in the second interface 302 .
[0074] S24. In response to the first input, display a third interface.
[0075] The third interface includes at least one operation identifier.
[0076] For example, refer to Figure 3 As shown, Figure 3 In the figure, the third interface 303 including the prompt "Please select the corresponding operation" and the operation identifiers "Start", "Exit", "Restart", "Restart" and "Schedule to the foreground" is taken as an example.
[0077] S25. Receive a second input from the user.
[0078] The second input is an input of an identifier of the first operation in the third interface.
[0079] Reference Figure 3 As shown, Figure 3 In the figure, the second input is taken as an example of inputting the operation mark “start” in the third interface 303 .
[0080] S26. In response to the second input, establish a correspondence between the second sliding input, the first application, and the first operation.
[0081] It should be noted that the first input and the second input in the embodiments of the present invention may specifically be a user's click operation on a displayed virtual control, or a voice command input by the user, or a specific gesture input by the user. In some embodiments of the present invention, the specific gesture may be any one of a single-click gesture, a sliding gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture.
[0082] As shown in the above example, a correspondence is established between a sliding input with a starting point as the upper right corner of the terminal device screen, an end point as the center of the terminal device screen, and a sliding trajectory as a straight line, application F, and a startup operation, and when a sliding input with a starting point as the upper right corner of the terminal device screen, an end point as the center of the terminal device screen, and a sliding trajectory as a straight line is received again, application F is started.
[0083] Furthermore, after establishing the correspondence between the second sliding input, the first application, and the first operation in response to the second input, the user may also modify the correspondence between the sliding input, the application, and the operation according to usage requirements.
[0084] Reference Figure 4 As shown, the method of modifying the correspondence between the sliding input and the application program may include the following steps:
[0085] S41. Receive a third input from the user.
[0086] The third input is an input of a correspondence between the second sliding input, the first application, and the first operation.
[0087] For example, refer to Figure 5 As shown, the terminal device display interface 501 displays the correspondence between all sliding inputs, applications and operations, as well as a prompt "Please select the correspondence to be modified". After the user finds the correspondence that needs to be modified, he enters the third input for the correspondence that needs to be modified.
[0088] S42. In response to the third input, display a fourth interface.
[0089] The fourth interface includes an identification of at least one application.
[0090] Reference Figure 5 As shown, Figure 5 In the figure, the fourth interface 502 includes a prompt “Please select the corresponding application” and icons of application programs such as application A, application B, etc., as shown by way of example.
[0091] S43: Receive a fourth input from the user.
[0092] The fourth input is an input of an identifier of the second application in the fourth interface.
[0093] Reference Figure 5 As shown, Figure 5 The fourth input is taken as an example of inputting the icon “Application E” of the application E in the fourth interface 502 .
[0094] S44. In response to the fourth input, delete the correspondence between the second sliding input and the first application, and establish a correspondence between the second sliding input and the second application.
[0095] The third input and the fourth input in the embodiment of the present invention may specifically be a user's click operation on the displayed virtual control, or a voice command input by the user, or a specific gesture input by the user. In some embodiments of the present invention, the specific gesture may be any one of a single-click gesture, a sliding gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture.
[0096] Based on the above example, the correspondence between the sliding input with the starting position being the upper right corner of the terminal device screen, the ending position being the center of the terminal device screen, and the sliding trajectory being a straight line and the application F is deleted, and a correspondence between the sliding input with the starting position being the upper right corner of the terminal device screen, the ending position being the center of the terminal device screen, and the sliding trajectory being a straight line and the application E is established. When the sliding input with the starting position being the upper right corner of the terminal device screen, the ending position being the center of the terminal device screen, and the sliding trajectory being a straight line is received again, the application F is no longer started, but the application E is started instead.
[0097] Reference Figure 6 As shown, the method of modifying the correspondence between the sliding input and the operation may include the following steps:
[0098] S61. Receive a fifth input from the user.
[0099] The fifth input is an input of a correspondence between the second sliding input, the first application, and the first operation.
[0100] For example, refer to Figure 7 As shown, the terminal device display interface 701 displays the correspondence between all sliding inputs, applications and operations, as well as a prompt "Please select the correspondence to be modified". After the user finds the correspondence that needs to be modified, he enters the fifth input for the correspondence that needs to be modified.
[0101] S62. In response to the fifth input, display a fifth interface.
[0102] The fifth interface includes at least one operation identifier.
[0103] Reference Figure 7 As shown, Figure 7 The fifth interface 702 includes a prompt "Please select the corresponding operation" and operation options "Start", "Exit", "Restart", "Restart" and "Schedule to the foreground" as an example.
[0104] S63: Receive a sixth input from the user.
[0105] The sixth input is an input of an identifier of a second operation in the fifth interface.
[0106] Reference Figure 7 As shown, Figure 7 The sixth input is taken as an example of inputting the operation option “restart” in the fifth interface 702 .
[0107] S64. In response to the sixth input, delete the corresponding relationship between the second sliding input and the first operation, and establish the corresponding relationship between the second sliding input and the second operation.
[0108] The fifth input and the sixth input in the embodiment of the present invention may specifically be a user's click operation on the displayed virtual control, or a voice command input by the user, or a specific gesture input by the user. In some embodiments of the present invention, the specific gesture may be any one of a single-click gesture, a sliding gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture.
[0109] Exemplarily, the third input in the above embodiment may be a single-click input, and the fifth input may be a double-click input. That is, when inputting the same correspondence, if a single-click input is input, the process of modifying the correspondence between the sliding input and the application is entered, and if a double-click input is input, the process of modifying the correspondence between the sliding input and the operation is entered.
[0110] Based on the above example, the correspondence between the sliding input with the starting position as the upper right corner of the terminal device screen, the end position as the center of the terminal device screen, and the sliding trajectory as a straight line and the operation "start" is deleted, and a correspondence between the sliding input with the starting position as the upper right corner of the terminal device screen, the end position as the center of the terminal device screen, and the sliding trajectory as a straight line and the operation "restart" is established. When the sliding input with the starting position as the upper right corner of the terminal device screen, the end position as the center of the terminal device screen, and the sliding trajectory as a straight line is received again, application E will no longer be started, but application E will be restarted.
[0111] As an optional implementation of the embodiment of the present invention, when performing the operation corresponding to the second sliding input on the application corresponding to the second sliding input is to schedule the application corresponding to the second sliding input from the background to the foreground, the method further includes:
[0112] During the process of the user inputting the first sliding input, if it is detected that the starting positions of the first sliding input and the second sliding input are the same, the sliding track of the input portion of the first sliding input is the same as the sliding track of the second sliding input, and the length of the sliding track of the input portion of the first sliding input is greater than a threshold length, then displaying a thumbnail of a display interface of an application corresponding to the second sliding input;
[0113] The reduction ratio of the thumbnail is the ratio of the length of the sliding track of the input part of the first sliding input to the total length of the sliding track of the second sliding input.
[0114] Optionally, the threshold length may be half of the total length of the second sliding input.
[0115] For example, refer to Figure 8 As shown, during the process of the user inputting the first sliding input, if it is detected that the starting positions of the first sliding input and the second sliding input are the same, the sliding trajectory of the input part of the first sliding input is the same as the sliding trajectory of the second sliding input, and the length of the sliding trajectory of the input part of the first sliding input is greater than the threshold length, then a thumbnail 81 of the display interface of the application corresponding to the second sliding input is displayed on the display interface 800, and the reduction ratio of the thumbnail 81 gradually increases with the first sliding input. When the first sliding input is completed, the display interface of the application is displayed in full screen on the screen of the terminal device.
[0116] In addition, it should be noted that after displaying the thumbnail of the display interface of the application corresponding to the second sliding input, if the trajectory of the first sliding input does not match any sliding input in the preset set, the thumbnail of the display interface of the application stops being displayed.
[0117] As an optional embodiment of the present invention, refer to Fig. 9 , 10 As shown, the preset set includes at least one of the following sliding inputs:
[0118] The starting point is the upper right corner of the terminal device screen, the end point is the center of the terminal device screen, and the sliding track is a straight line sliding input (such as Fig. 9 9a in the figure);
[0119] The starting point is the upper left corner of the terminal device screen, the end point is the center of the terminal device screen, and the sliding track is a straight line sliding input (such as Fig. 9 9b);
[0120] The starting point is the lower right corner of the terminal device screen, the end point is the center of the terminal device screen, and the sliding track is a straight line sliding input (such as Fig. 9 9c in the figure);
[0121] The starting point is the lower left corner of the terminal device screen, the end point is the center of the terminal device screen, and the sliding track is a straight line sliding input (such as Fig. 9 9d in the figure);
[0122] The starting point is the center of the terminal device screen, the end point is the upper right corner of the terminal device screen, and the sliding track is a straight line sliding input (such as Fig.10 10a);
[0123] The starting point is the center of the terminal device screen, the end point is the upper left corner of the terminal device screen, and the sliding track is a straight line sliding input (such as Fig.10 10b);
[0124] The starting point is the center of the terminal device screen, the end point is the lower right corner of the terminal device screen, and the sliding track is a straight line sliding input (such as Fig.10 10c);
[0125] The starting point is the center of the terminal device screen, the end point is the lower left corner of the terminal device screen, and the sliding track is a straight line sliding input (such as Fig.10 10d).
[0126] Based on the same inventive concept, as an implementation of the above method, an embodiment of the present invention also provides an application operating device for executing the application operating method provided by the above method embodiment. This embodiment corresponds to the above method embodiment. For ease of reading, this embodiment will no longer repeat the details of the above method embodiment one by one, but it should be clear that the application operating device in this embodiment can correspond to all the contents of the above method embodiment.
[0127] Fig.11 A schematic diagram of the structure of the application program operating device provided by an embodiment of the present invention, referring to Fig.11 As shown, the application operating device 1100 provided in the embodiment of the present invention includes:
[0128] The receiving unit 1101 is configured to receive a first sliding input inputted by a user on a touch panel of a terminal device;
[0129] The processing unit 1102 is configured to determine whether a preset set includes a sliding input having the same starting position, ending position, and sliding trajectory as the first sliding input; the preset set includes at least one sliding input;
[0130] The execution unit 1103 is used to execute the operation corresponding to the second sliding input on the application corresponding to the second sliding input when the second sliding input in the preset set has the same starting position, ending position and sliding trajectory as the first sliding input.
[0131] As an optional implementation of the embodiment of the present invention, refer to Fig.12 As shown, the application operating device further includes: a display unit 1104;
[0132] The receiving unit 1101 is further configured to receive the second sliding input inputted by the user on the first interface before executing the operation corresponding to the second sliding input on the application corresponding to the second sliding input;
[0133] The display unit 1104 is used to display a second interface, where the second interface includes an identification of at least one application program;
[0134] The receiving unit 1101 is further configured to receive a first input from a user, where the first input is an input of an identifier of a first application in the second interface;
[0135] The display unit 1104 is further configured to display a third interface in response to the first input, wherein the third interface includes at least one operation identifier;
[0136] The receiving unit 1101 is further configured to receive a second input from a user, where the second input is an input of an identifier of a first operation in the third interface;
[0137] The processing unit 1102 is further configured to establish a correspondence between the second sliding input, the first application, and the first operation in response to the second input.
[0138] As an optional implementation of the embodiment of the present invention,
[0139] The receiving unit 1101 is further configured to, after establishing a correspondence between the second sliding input, the first application, and the first operation in response to the second input, receive a third input from a user, wherein the third input is an input for a correspondence between the second sliding input, the first application, and the first operation;
[0140] The display unit 1104 is further configured to display a fourth interface in response to the third input, wherein the fourth interface includes an identification of at least one application program;
[0141] receiving a fourth input from a user, wherein the fourth input is an input of an identifier of a second application in the fourth interface;
[0142] In response to the fourth input, the correspondence between the second sliding input and the first application is deleted, and the correspondence between the second sliding input and the second application is established.
[0143] As an optional implementation of the embodiment of the present invention,
[0144] The receiving unit 1101 is further configured to, after establishing a correspondence between the second sliding input, the first application, and the first operation in response to the second input, receive a fifth input from the user, the fifth input being an input of a correspondence between the second sliding input, the first application, and the first operation;
[0145] The display unit 1104 is further configured to display a fifth interface in response to the fifth input, wherein the fifth interface includes at least one operation identifier;
[0146] The receiving unit 1101 is further configured to receive a sixth input from a user, where the sixth input is an input of an identifier of a second operation in the fifth interface;
[0147] The processing unit 1102 is further configured to, in response to the sixth input, delete the corresponding relationship between the second sliding input and the first operation, and establish the corresponding relationship between the second sliding input and the second operation.
[0148] As an optional implementation of the embodiment of the present invention, the processing unit 1102 is specifically configured to perform at least one of the following operations on the application corresponding to the second sliding input:
[0149] Launching an application corresponding to the second sliding input;
[0150] Exiting the application corresponding to the second sliding input;
[0151] Scheduling the application corresponding to the second sliding input from the background to the foreground for execution;
[0152] Restart the application corresponding to the second sliding input.
[0153] As an optional implementation of the embodiment of the present invention, when the processing unit 1102 is used to schedule the application corresponding to the second sliding input from the background to the foreground,
[0154] The display unit 1104 is further configured to display a thumbnail of a display interface of an application corresponding to the second sliding input if it is detected that the starting positions of the first sliding input and the second sliding input are the same, the sliding track of the input portion of the first sliding input is the same as the sliding track of the second sliding input, and the length of the sliding track of the input portion of the first sliding input is greater than a threshold length during the process of the user inputting the first sliding input;
[0155] The reduction ratio of the thumbnail is the ratio of the length of the sliding track of the input part of the first sliding input to the total length of the sliding track of the second sliding input.
[0156] As an optional implementation manner of the embodiment of the present invention, the preset set includes at least one of the following sliding inputs:
[0157] A sliding input whose starting point is the upper right corner of the terminal device screen, whose end point is the center of the terminal device screen, and whose sliding track is a straight line;
[0158] A sliding input whose starting point is the upper left corner of the terminal device screen, whose end point is the center of the terminal device screen, and whose sliding track is a straight line;
[0159] A sliding input whose starting point is the lower right corner of the terminal device screen, whose end point is the center of the terminal device screen, and whose sliding track is a straight line;
[0160] A sliding input whose starting point is the lower left corner of the terminal device screen, whose end point is the center of the terminal device screen, and whose sliding track is a straight line;
[0161] A sliding input whose starting point is the center of the terminal device screen, whose end point is the upper right corner of the terminal device screen, and whose sliding track is a straight line;
[0162] A sliding input whose starting point is the center of the terminal device screen, whose end point is the upper left corner of the terminal device screen, and whose sliding track is a straight line;
[0163] A sliding input whose starting point is the center of the terminal device screen, whose end point is the lower right corner of the terminal device screen, and whose sliding track is a straight line;
[0164] A sliding input in which the starting point is the center of the terminal device screen, the end point is the lower left corner of the terminal device screen, and the sliding track is a straight line.
[0165] Fig.13 A schematic diagram of the hardware structure of a terminal device for implementing various embodiments of the present invention is shown in FIG. Fig.13 As shown, the terminal device includes but is not limited to: a radio frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a wireless fidelity (WiFi) module 1070, a processor 1080, and a power supply 1090. Among them, the RF circuit 1010 includes a receiver 1010 and a transmitter 1012. Those skilled in the art can understand that Fig.13 The terminal device structure shown in the figure does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0166] The RF circuit 1010 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 1080 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 1010 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 1010 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to the global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.
[0167] The memory 1020 can be used to store software programs and modules. The processor 1080 executes various functional applications and data processing of the terminal device by running the software programs and modules stored in the memory 1020. The memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the terminal device (such as audio data, a phone book, etc.), etc. In addition, the memory 1020 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0168] The input unit 1030 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the terminal device. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1031 or near the touch panel 1031 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 1031 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 1080, and can receive and execute the command sent by the processor 1080. In addition, the touch panel 1031 can be implemented in a variety of ways such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1031, the input unit 1030 may further include other input devices 1032. Specifically, the other input devices 1032 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
[0169] The display unit 1040 can be used to display information input by the user or information provided to the user and various menus of the terminal device. The display unit 1040 may include a display panel 1041. Optionally, the display panel 1041 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 1031 may cover the display panel 1041. When the touch panel 1031 detects a touch operation on or near it, it is transmitted to the processor 1080 to determine the touch event. Subsequently, the processor 1080 provides a corresponding visual output on the display panel 1041 according to the touch event. Although in Fig.13 In the embodiment, the touch panel 1031 and the display panel 1041 are used as two independent components to implement the input and output functions of the terminal device, but in some embodiments, the touch panel 1031 and the display panel 1041 can be integrated to implement the input and output functions of the terminal device.
[0170] The terminal device may also include at least one sensor 1050, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may exit the display panel 1041 and / or the backlight when the terminal device is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used for applications that identify the posture of the terminal device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that can be configured in the terminal device, they will not be repeated here. In an embodiment of the present invention, the terminal device may include an accelerometer, a depth sensor, or a distance sensor, etc.
[0171] The audio circuit 1060, the speaker 1061, and the microphone 1062 can provide an audio interface between the user and the terminal device. The audio circuit 1060 can transmit the received audio data to the speaker 1061 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1060 and converted into audio data, and then the audio data is processed by the output processor 1080, and then sent to another terminal device through the RF circuit 1010, or the audio data is output to the memory 1020 for further processing.
[0172] WiFi is a short-range wireless transmission technology. The terminal device can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 1070. It provides users with wireless broadband Internet access. Fig.13 A WiFi module 1070 is shown, but it is understandable that it is not a necessary component of the terminal device and can be omitted as needed without changing the essence of the invention.
[0173] The processor 1080 is the control center of the terminal device. It uses various interfaces and lines to connect various parts of the entire terminal device. It executes various functions of the terminal device and processes data by running or executing software programs and / or modules stored in the memory 1020, and calling data stored in the memory 1020, so as to monitor the terminal device as a whole. Optionally, the processor 1080 may include one or more processing units; preferably, the processor 1080 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1080.
[0174] The terminal device also includes a power supply 1090 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 1080 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. Although not shown, the terminal device may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0175] In the embodiment of the present invention, the touch panel 1031 is used to receive a first sliding input inputted by a user on the touch panel of the terminal device;
[0176] Processor 1080 is used to determine whether a preset set contains a sliding input that has the same starting position, ending position, and sliding trajectory as the first sliding input; the preset set includes at least one sliding input; and when a second sliding input in the preset set has the same starting position, ending position, and sliding trajectory as the first sliding input, executes an operation corresponding to the second sliding input on an application corresponding to the second sliding input.
[0177] An embodiment of the present invention also provides a terminal device, which may include: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the application program operation method provided in the above method embodiment can be implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0178] An embodiment of the present invention provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the application program operation method provided by the above method embodiment is implemented.
[0179] The first device, the second device, and the storage medium provided in the embodiment of the present invention can achieve the same technical effects as the application operation method provided in the above method embodiment. To avoid repetition, the technical effects will not be described here.
[0180] The computer readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0181] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0182] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of various embodiments of the present invention.
[0183] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A method for operating an application, characterized in that: include: Receiving a first sliding input inputted by a user on a touch panel of a terminal device; Determining whether there is a sliding input in the preset set having the same starting position, ending position, and sliding trajectory as the first sliding input; The preset set includes at least one sliding input; If the second sliding input in the preset set has the same starting position, ending position, and sliding track as the first sliding input, then an operation corresponding to the second sliding input is performed on the application corresponding to the second sliding input, and the operation includes at least one of the following: Launching an application corresponding to the second sliding input; Exiting the application corresponding to the second sliding input; Scheduling the application corresponding to the second sliding input from the background to the foreground for execution; Restarting the application corresponding to the second sliding input; The correspondence between the sliding input and the application in the preset set and the correspondence between the sliding input and the operation in the preset set are stored in the terminal device in the form of correspondence; The method further comprises: Recording a correspondence between the sliding input, the application, and the operation in the terminal device; Modifying the correspondence between the sliding input, the application, and the operation; The determining whether there is a sliding input in the preset set having the same starting position, ending position and sliding track as the first sliding input includes: Determining whether the preset set includes a sliding input at the same starting position as the first sliding input; If the preset set includes a sliding input at the same starting position as the first sliding input, determining whether the first set includes a sliding input at the same ending position as the first sliding input, the first set being a set of sliding inputs at the same starting position as the first sliding input in the preset set; If the first set includes a sliding input with the same starting position as the first sliding input, determining whether the second set includes a sliding input with the same sliding trajectory as the first sliding input, the second set being a set of sliding inputs in the first set that have the same ending position as the first sliding input; If the sliding track of the first sliding input is the same as the sliding track of the third sliding input in the second set, it is determined that the starting position, the ending position and the sliding track of the third sliding input are the same as those of the first sliding input.
2. The method according to claim 1, characterized in that Before executing the operation corresponding to the second sliding input on the application corresponding to the second sliding input, the method further includes: Receiving the second sliding input inputted by the user on the first interface; Displaying a second interface, wherein the second interface includes an identification of at least one application; receiving a first input from a user, where the first input is an input of an identifier of a first application in the second interface; In response to the first input, displaying a third interface, wherein the third interface includes an identification of at least one operation; receiving a second input from a user, where the second input is an input of an identifier of a first operation in the third interface; In response to the second input, a correspondence between the second sliding input, the first application, and the first operation is established.
3. The method according to claim 2, characterized in that After establishing a correspondence between the second sliding input, the first application, and the first operation in response to the second input, the method further includes: receiving a third input from a user, where the third input is an input of a correspondence between the second sliding input, the first application, and the first operation; In response to the third input, displaying a fourth interface, wherein the fourth interface includes an identification of at least one application; receiving a fourth input from a user, wherein the fourth input is an input of an identifier of a second application in the fourth interface; In response to the fourth input, the correspondence between the second sliding input and the first application is deleted, and the correspondence between the second sliding input and the second application is established.
4. The method according to claim 2, characterized in that: After establishing a correspondence between the second sliding input, the first application, and the first operation in response to the second input, the method further includes: receiving a fifth input from a user, where the fifth input is an input of a correspondence between the second sliding input, the first application, and the first operation; In response to the fifth input, displaying a fifth interface, wherein the fifth interface includes an identification of at least one operation; receiving a sixth input from the user, wherein the sixth input is an input of an identifier of a second operation in the fifth interface; In response to the sixth input, the correspondence between the second sliding input and the first operation is deleted, and the correspondence between the second sliding input and the second operation is established.
5. The method according to claim 1, characterized in that When performing the operation corresponding to the second sliding input on the application corresponding to the second sliding input is scheduling the application corresponding to the second sliding input from the background to the foreground, the method further includes: During the process of the user inputting the first sliding input, if it is detected that the starting positions of the first sliding input and the second sliding input are the same, the sliding track of the input portion of the first sliding input is the same as the sliding track of the second sliding input, and the length of the sliding track of the input portion of the first sliding input is greater than a threshold length, then displaying a thumbnail of a display interface of an application corresponding to the second sliding input; The reduction ratio of the thumbnail is the ratio of the length of the sliding track of the input part of the first sliding input to the total length of the sliding track of the second sliding input.
6. An application operating device, characterized in that: include: A receiving unit, configured to receive a first sliding input inputted by a user on a touch panel of a terminal device; A processing unit, configured to determine whether a preset set includes a sliding input having the same starting position, ending position, and sliding trajectory as the first sliding input; The preset set includes at least one sliding input; an execution unit, configured to, when a second sliding input in the preset set has the same starting position, ending position, and sliding trajectory as the first sliding input, execute an operation corresponding to the second sliding input on an application corresponding to the second sliding input, the operation comprising at least one of the following: Launching an application corresponding to the second sliding input; Exiting the application corresponding to the second sliding input; Scheduling the application corresponding to the second sliding input from the background to the foreground for execution; Restarting the application corresponding to the second sliding input; The correspondence between the sliding input and the application in the preset set and the correspondence between the sliding input and the operation in the preset set are stored in the terminal device in the form of correspondence; The processing unit is further used to: record the corresponding relationship between the sliding input, the application and the operation in the terminal device; Modifying the correspondence between the sliding input, the application, and the operation; The processing unit is specifically used for: Determining whether the preset set includes a sliding input at the same starting position as the first sliding input; If the preset set includes a sliding input at the same starting position as the first sliding input, determining whether the first set includes a sliding input at the same ending position as the first sliding input, the first set being a set of sliding inputs at the same starting position as the first sliding input in the preset set; If the first set includes a sliding input with the same starting position as the first sliding input, determining whether the second set includes a sliding input with the same sliding trajectory as the first sliding input, the second set being a set of sliding inputs in the first set that have the same ending position as the first sliding input; If the sliding track of the first sliding input is the same as the sliding track of the third sliding input in the second set, it is determined that the starting position, the ending position and the sliding track of the third sliding input are the same as those of the first sliding input.
7. A terminal device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the application program operating method according to any one of claims 1 to 5 when executed by the processor.
8. A computer-readable storage medium, characterized in that: include: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the application program operating method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Control method and control device of electronic device and electronic device
CN104536693A
Method for starting application programs of mobile terminal and mobile terminal
CN106250026A
Mobile terminal-based function identifier standby identification method and mobile terminal
CN106775319A
Application starting method and terminal
CN108509131A
Application starting method and terminal device
CN108874281A