CN114327183A - Application control method and device, electronic equipment, chip and storage medium - Google Patents
Application control method and device, electronic equipment, chip and storage medium Download PDFInfo
- Publication number
- CN114327183A CN114327183A CN202111599053.6A CN202111599053A CN114327183A CN 114327183 A CN114327183 A CN 114327183A CN 202111599053 A CN202111599053 A CN 202111599053A CN 114327183 A CN114327183 A CN 114327183A
- Authority
- CN
- China
- Prior art keywords
- pressing operation
- pressure value
- touch pressure
- trend
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000003825 pressing Methods 0.000 claims abstract description 130
- 238000007667 floating Methods 0.000 claims abstract description 95
- 230000008859 change Effects 0.000 claims abstract description 90
- 238000004590 computer program Methods 0.000 claims description 23
- 239000000725 suspension Substances 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 28
- 230000006870 function Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 5
- 230000004044 response Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The application is applicable to the technical field of touch control, and provides an application control method, an application control device, electronic equipment, a chip and a storage medium. The application control method comprises the following steps: when a first pressing operation on an icon of a first application program is received, acquiring a change trend of a touch pressure value of the first pressing operation; and if the change trend of the touch pressure value of the first pressing operation is a first target change trend, calling a floating window to display an interface of the first application program. By the method and the device, the application program can be controlled to enter the small window mode.
Description
Technical Field
The present application belongs to the field of touch technology, and in particular, to an application control method and apparatus, an electronic device, a chip, and a storage medium.
Background
With the development of electronic technology, more and more applications are installed in electronic devices. Currently, most electronic devices can perform multiple tasks simultaneously. For example, most cell phones support a small window mode to meet the user's need to operate multiple applications simultaneously without frequent switching of applications.
Disclosure of Invention
The embodiment of the application provides an application control method, an application control device, electronic equipment, a chip and a storage medium, so as to control an application program to enter a small window mode.
In a first aspect, an embodiment of the present application provides an application control method, including:
when a first pressing operation on an icon of a first application program is received, acquiring a change trend of a touch pressure value of the first pressing operation;
and if the change trend of the touch pressure value of the first pressing operation is a first target change trend, calling a floating window to display an interface of the first application program.
In the embodiment of the application, when a first pressing operation on an icon of a first application program is received, by acquiring a change trend of a touch pressure value of the first pressing operation and judging whether the change trend of the touch pressure value of the first pressing operation is a first target change trend, when the change trend of the touch pressure value of the first pressing operation is the first target change trend, a floating window is called to display an interface of the first application program, so that the first application program enters a small window mode.
In a second aspect, an embodiment of the present application provides an application control apparatus, including:
the first obtaining module is used for obtaining the change trend of the touch pressure value of a first pressing operation when the first pressing operation of the icon of the first application program is received;
and the interface display module is used for calling a floating window to display the interface of the first application program if the change trend of the touch pressure value of the first pressing operation is a first target change trend.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the application control method according to the first aspect are implemented.
In a fourth aspect, an embodiment of the present application provides a chip, which includes a processor, and the processor is configured to read and execute a computer program stored in a memory to perform the steps of the application control method according to the first aspect.
Optionally, the memory and the processor are connected by a circuit or a wire.
In a fifth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the application control method according to the first aspect.
In a sixth aspect, the present application provides a computer program product, which when run on an electronic device, causes the electronic device to execute the steps of the application control method according to the first aspect.
It is to be understood that the second, third, fourth, fifth and sixth aspects provided above are all used to execute the corresponding methods provided above, and therefore, the beneficial effects achieved by the methods can refer to the beneficial effects in the corresponding methods provided above, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1a is an exemplary diagram of a recent tasks interface;
FIG. 1b is an exemplary diagram of an instant messaging application interface displayed in a floating window;
FIG. 2 is an exemplary diagram of a user pressing an icon of an instant messaging application;
fig. 3 is a schematic flow chart illustrating an implementation of an application control method according to an embodiment of the present application;
FIG. 4a is an exemplary diagram of a sliding trajectory of a drag operation;
FIG. 4b is an exemplary diagram after the floating window has moved;
fig. 5 is a schematic flow chart illustrating an implementation of an application control method according to another embodiment of the present application;
fig. 6 is an example diagram of a second pressing operation;
FIG. 7a is an exemplary diagram of a second menu;
FIG. 7b is an exemplary diagram of a photograph application interface displayed in the floating window;
FIG. 8 is an exemplary diagram of an interface for displaying an instant messaging application full screen;
FIG. 9a is an exemplary diagram of a resize control;
FIG. 9b is a diagram of another example of an instant messaging application interface displayed in a floating window;
FIG. 9c is a diagram of another example of an instant messaging application interface displayed in a floating window;
fig. 10 is a schematic structural diagram of an application control device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The application control method provided in the embodiment of the present application may be applied to electronic devices such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like, and the embodiment of the present application does not limit specific types of the electronic devices at all.
The screen of the electronic device in the embodiment of the present application may be a screen capable of recognizing a change in a multi-touch and a touch pressure value, for example, a pressure-sensitive touch screen.
The monitoring touch module can be preset at the bottom layer of the screen drive of the electronic equipment to monitor whether a user performs touch operation on the screen, and when the touch operation of the user on the screen is monitored, the electronic equipment can execute the operation matched with the touch operation. The touch operation includes, but is not limited to, a pressing operation, a dragging operation, a sliding operation, and the like, and is not limited herein.
The small window mode in the embodiment of the present application may refer to a mode for calling a floating window to display an interface of an application program, that is, the interface of the application program appears on a screen of the electronic device in a state of one smaller window (i.e., the floating window). By controlling the application program to enter the small window mode, the requirement that a user operates a plurality of application programs on the electronic equipment at the same time can be met, and the application programs do not need to be switched frequently.
Fig. 1a is an exemplary diagram of a recent task interface, where the recent task interface of fig. 1a displays interfaces of two applications, namely, an attendance application (i.e., an application with an attendance function) and an instant messaging application. The user enters a nearest task interface by clicking a specific button or sliding in a specific direction on a mobile phone screen, the nearest task interface displays an interface of an application program which is opened recently, a small window mode button is arranged above each interface, and the small window mode button of an application program (such as an instant messaging application program) is clicked, so that the floating window is called to display the interface of the instant messaging application program. Fig. 1b is a diagram illustrating an example of an instant messaging application interface displayed in a floating window.
As shown in fig. 1a, when controlling an application to enter a widget mode, it is necessary to first enter a latest task interface and select the application that needs to enter the widget mode from the latest task interface, which is tedious. In order to simplify the operation of entering the widget mode by the application program and control the application program to rapidly enter the widget mode, an embodiment of the application control method provided by the application embodiment controls the application program with the pressed icon to rapidly enter the widget mode by pressing the icon of the application program displayed on the desktop of the mobile phone and monitoring the change trend of the touch pressure value when the user presses the icon when the change trend of the touch pressure value is the first target change trend. Fig. 2 is an exemplary diagram illustrating that a user presses an icon of an instant messaging application, and the user can control the instant messaging application to quickly enter a widget mode by pressing the icon of the instant messaging application and setting a variation trend of a touch pressure value when pressing the icon of the instant messaging application as a first target variation trend, that is, the floating window displays an interface of the instant application (as shown in fig. 1 b).
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present application.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Fig. 3 is a schematic view of an implementation flow of an application control method provided in an embodiment of the present application, where the application control method is applied to an electronic device. As shown in fig. 3, the application control method may include the steps of:
The first application program may be any application program installed on the electronic device. The icon of the first application is an icon displayed on a desktop of the electronic device after the first application is installed on the electronic device. An application icon is an identification of the application, and icons for different applications are typically different.
When the electronic device receives a first pressing operation on an icon of a first application program, a touch pressure value of the first pressing operation within a time period from pressing start to pressing end can be acquired, and a change trend of the touch pressure value of the first pressing operation within the time period from pressing start to pressing end can be obtained according to the touch pressure value of the first pressing operation within the time period from pressing start to pressing end.
The first pressing operation may be a single-finger pressing operation, or may be a multi-finger (i.e., at least two-finger) pressing operation, which is not limited herein. When the first pressing operation is multi-finger pressing, each time the touch pressure value of the first pressing operation is measured, the respective touch pressure value of the multi-finger may be obtained first, and then the touch pressure value of the first pressing operation is determined according to the respective touch pressure value of the multi-finger. For example, an average value of the touch pressure values of the plurality of fingers may be calculated and used as the touch pressure value of the first pressing operation, or a maximum value may be selected from the touch pressure values of the plurality of fingers and used as the touch pressure value of the first pressing operation.
The first target variation trend may be a variation trend of an interface triggering the floating window to display the first application program. Optionally, the user may set the first target trend according to actual needs, for example, multiple trend options may be provided in the setting options of the electronic device, and the user may select at least one of the multiple trend options as the first target trend.
After acquiring the change trend of the touch pressure value of the first pressing operation, the electronic device may determine whether the change trend of the touch pressure value of the first pressing operation is a first target change trend, and may control the first application program to enter a widget mode (that is, invoke the floating window and display the interface of the first application program in the floating window) when the change trend of the touch pressure value of the first pressing operation is the first target change trend.
For example, the first target has a trend of gradually increasing from small to large, and when a pressing operation of a user on an icon of the instant messaging application is received, if it is monitored that a touch pressure value of the pressing operation gradually increases from small (i.e., a light press is gradually changed into a heavy press), the instant messaging application can be controlled to enter a small window mode, and an interface of the instant messaging application is displayed on the floating window.
In one embodiment, before the interface of the first application program displayed on the floating window, whether the first application program runs in the background or not may be detected, and if the first application program runs in the background, the interface of the first application program displayed on the floating window is the interface of the first application program when the first application program runs in the background; if the first application is not running in the background, the interface of the first application displayed in the floating window may be the main interface of the first application, which is the interface displayed after the first application is launched.
As an optional embodiment, if the change trend of the touch pressure value of the first pressing operation is the first target change trend, the method for displaying the interface of the first application program by invoking the floating window includes:
if the change trend of the touch pressure value of the first pressing operation is a first target change trend, displaying a first menu, wherein the first menu at least comprises a suspension display option;
and when a first selection operation of the floating display option in the first menu is received, calling a floating window to display an interface of the first application program.
And the floating display option is used for calling a floating window to display an interface of the first application program. The first selection operation of the floating display option in the first menu may refer to an operation of opening a floating display of the first application program, or an operation of causing the first application program to enter a widget mode.
When the change trend of the touch pressure value of the first pressing operation is the first target change trend, the floating display option is displayed first, then the interface of the first application program is displayed by calling the floating window based on the selection operation of the user on the floating display option, and the situation that the user mistakenly opens the small window mode can be avoided.
Optionally, the first menu may include other function options of the first application program besides the floating display option, so as to provide more shortcut functions for the user. For example, when the first application program is a wechat, the first menu may further include a plurality of function options such as "scan", "collect payment", "my two-dimensional code", and the user may quickly open the functions of "scan", "collect payment", "my two-dimensional code", and the like of the wechat through the first menu.
As an optional embodiment, after the invoking the floating window to display the interface of the first application program, the method further includes:
and when the dragging operation of the floating window is received and the touch pressure value of the dragging operation is larger than the pressure threshold value, moving the floating window along the sliding track of the dragging operation.
The dragging operation on the floating window can refer to a dragging operation on any position in the floating window.
The touch pressure value of the dragging operation is limited to be larger than the pressure threshold value, the dragging operation which triggers the floating window to move can be distinguished from the sliding operation in the floating window, and the electronic equipment can conveniently and accurately judge whether the floating window is moved. Fig. 4a shows an exemplary diagram of a sliding trajectory of a drag operation, and a dotted line carrying an arrow in fig. 4a is the sliding trajectory of the drag operation. Fig. 4b is an exemplary diagram after the floating window is moved.
According to the embodiment of the application, when the first pressing operation on the icon of the first application program is received, the floating window can be called to display the interface of the first application program when the change trend of the touch pressure value of the first pressing operation is the first target change trend by acquiring the change trend of the touch pressure value of the first pressing operation and judging whether the change trend of the touch pressure value of the first pressing operation is the first target change trend, and therefore the first application program can enter the small window mode.
Fig. 5 is a schematic view of an implementation flow of an application control method according to another embodiment of the present application, where the application control method is applied to an electronic device. As shown in fig. 5, the application control method may include the steps of:
The step is the same as step 301, and reference may be made to the related description of step 301, which is not described herein again.
The step is the same as step 302, and reference may be made to the related description of step 302, which is not described herein again.
In step 503, when a second pressing operation on the interface of the first application program is received, a variation trend of the touch pressure value of the second pressing operation is obtained.
After the first application program enters the small window mode, the user may perform a pressing operation (i.e., a second pressing operation) on the interface of the first application program displayed by the floating window, so that the electronic device performs a corresponding operation according to the pressing operation, for example, switching the application program displayed by the floating window, switching from the floating window display to a full screen display, adjusting the size of the floating window, and the like.
When the electronic device receives a second pressing operation on the interface of the first application program displayed on the floating window, the touch pressure value of the second pressing operation within the time period from the start of pressing to the end of pressing can be acquired, and the change trend of the touch pressure value of the second pressing operation within the time period from the start of pressing to the end of pressing can be acquired according to the touch pressure value of the second pressing operation within the time period from the start of pressing to the end of pressing.
The second pressing operation may be a single-finger pressing operation, or may be a multi-finger (i.e., at least two-finger) pressing operation, which is not limited herein. When the second pressing operation is multi-finger pressing, each time the touch pressure value of the second pressing operation is measured, the respective touch pressure value of the multi-finger may be obtained first, and then the touch pressure value of the second pressing operation is determined according to the respective touch pressure value of the multi-finger. For example, an average value of the touch pressure values of the plurality of fingers may be calculated and used as the touch pressure value of the second pressing operation, or a maximum value may be selected from the touch pressure values of the plurality of fingers and used as the touch pressure value of the second pressing operation. As shown in fig. 6, which is an exemplary diagram of the second pressing operation, the second pressing operation in fig. 6 is a single-finger pressing.
In step 504, according to the change trend of the touch pressure value of the second pressing operation, an operation matched with the change trend of the touch pressure value of the second pressing operation is executed.
When the variation trend of the touch pressure value of the second pressing operation is obtained in step 503, the electronic device may search for an operation matching the variation trend from the mapping relationship, and execute an operation matching the variation trend.
As an alternative embodiment, the performing, according to the trend of change in the touch pressure value of the second pressing operation, an operation that matches the trend of change in the touch pressure value of the second pressing operation includes:
if the change trend of the touch pressure value of the second pressing operation is a second target change trend, displaying a second menu, wherein the second menu at least comprises N icons of second application programs, and N is an integer greater than zero;
and when a second selection operation on a target icon in the icons of the N second application programs is received, switching the interface of the first application program displayed by the floating window to the interface of the second application program corresponding to the target icon.
The second target trend may be a trend for triggering display of the second menu. Optionally, the user may set the second target variation trend according to actual needs, for example, multiple variation trend options may be provided in the setting options of the electronic device, and the user may select at least one of the multiple variation trend options as the second target variation trend.
For example, the second target variation trend may be "gradually increasing from small to large", and when the variation trend of the touch pressure value of the second pressing operation is "gradually increasing from small to large", a second menu may be displayed, so that the user may select a second application program that the floating window is desired to display from the second menu, and quick switching of the application programs in the floating window is realized. As shown in fig. 7a, which is an exemplary diagram of the second menu, by clicking an icon of the photographing application program (i.e., the photographing icon in fig. 7 a) displayed in the second menu, the application program in the floating window can be quickly switched, and as shown in fig. 7b, an exemplary diagram of an interface of the photographing application program displayed in the floating window is shown.
The second application may be any application, except the first application, among applications installed in the electronic device, or may be an application recently opened by the user, which is not limited herein.
The target icon may be any one selected by the user from among the icons of the N second applications. As an alternative embodiment, the performing, according to the trend of change in the touch pressure value of the second pressing operation, an operation that matches the trend of change in the touch pressure value of the second pressing operation includes:
and if the change trend of the touch pressure value of the second pressing operation is the third target change trend, switching the interface of the first application program from the floating window display to the full-screen display.
Wherein, the third target variation trend may be a variation trend triggering full screen display. Optionally, the user may set the third target trend according to actual needs, for example, multiple trend options may be provided in the setting options of the electronic device, and the user may select at least one of the multiple trend options as the third target trend.
For example, the third target change trend may be "gradually increasing from small to large and then gradually decreasing from large to small", when the change trend of the touch pressure value of the second pressing operation is "gradually increasing from small to large and then gradually decreasing from large to small", the interface of the first application program may be directly switched from the floating window display to the full screen display, or a full screen display option is displayed, and the interface of the first application program is displayed in full screen when the third selection operation of the full screen display option is received, so that the first application program can be rapidly exited from the small window mode. The full-screen display option is displayed first, and the full-screen display option is switched to full-screen display when the third selection operation is received, so that misoperation of a user can be avoided. Fig. 8 is an exemplary diagram of an interface for displaying an instant messaging application full screen.
As an alternative embodiment, the performing, according to the trend of change in the touch pressure value of the second pressing operation, an operation that matches the trend of change in the touch pressure value of the second pressing operation includes:
if the variation trend of the touch pressure value of the second pressing operation is a fourth target variation trend, displaying a size adjusting control of the floating window, wherein the size adjusting control is used for adjusting the size of the floating window;
and when the operation of the size adjusting control is received, the size of the floating window is correspondingly adjusted.
Wherein the fourth target trend may be a trend of a change of the resizing control that triggers display of the floating window. Optionally, the user may set the fourth target trend according to actual needs, for example, multiple trend options may be provided in the setting options of the electronic device, and the user may select at least one of the multiple trend options as the fourth target trend.
The size adjustment control may be any control capable of adjusting the size of the floating window, and is not limited herein. Fig. 9a is an exemplary diagram of a size adjustment control, where the size adjustment control includes a sliding rod and a sliding block, and the size adjustment of the floating window can be achieved by moving the position of the sliding block on the sliding rod, for example, moving the sliding block to the right to increase the size of the floating window; and moving the sliding block leftwards to reduce the size of the suspension window. FIG. 9b is a diagram of another example of an instant messaging application interface displayed in a floating window, where FIG. 9b is resized compared to FIG. 1 b. FIG. 9c is a diagram of another example of an instant messaging application interface displayed in a floating window, where FIG. 9c reduces the size of the floating window compared to FIG. 1 b.
For example, the fourth target variation trend may be "gradually become larger from small to large, gradually become smaller from large to small, and gradually become larger from small to large", and when the variation trend of the touch pressure value of the second pressing operation is "gradually become larger from small to large, gradually become smaller from large to small, and gradually become larger from small to large", the size adjustment control of the floating window may be displayed, and the user may adjust the size of the floating window by operating the size adjustment control.
It should be noted that the first target variation trend may be the same as or different from the second target variation trend, the third target variation trend, and the fourth target variation trend acting on the interface of the first application, and is not limited herein.
The second target variation trend, the third target variation trend, the fourth target variation trend and other three variation trends may be the same, may also be partially the same, and may also be different. When the three changing trends are the same, icons, full screen display options and resizing controls of the N second applications can be displayed in one menu. When the three trend portions are the same, the display content corresponding to the same trend may be displayed in one menu, for example, if the second target trend is the same as the third target trend, the icons and full-screen display options of the N second applications may be displayed in one menu.
On the basis that the interface of the first application program is displayed on the floating window, the embodiment of the application can press the interface of the first application program, and different functions such as switching, full-screen display and size adjustment of the floating window of the application program in the floating window can be conveniently realized.
Fig. 10 is a schematic structural diagram of an application control device according to an embodiment of the present application, and for convenience of description, only the portions related to the embodiment of the present application are shown.
The application control device includes:
the first obtaining module 1001 is configured to obtain a change trend of a touch pressure value of a first pressing operation when the first pressing operation on an icon of a first application is received;
the interface display module 1002 is configured to, if a change trend of the touch pressure value of the first pressing operation is a first target change trend, call a floating window to display an interface of the first application program.
Optionally, the interface display module 1002 is specifically configured to:
if the change trend of the touch pressure value of the first pressing operation is the first target change trend, displaying a first menu, wherein the first menu at least comprises a suspension display option;
and calling the floating window to display the interface of the first application program when receiving a first selection operation of the floating display option in the first menu.
Optionally, the application control apparatus further includes:
and the window moving module is used for moving the floating window along a sliding track of the dragging operation when the dragging operation of the floating window is received and the touch pressure value of the dragging operation is greater than a pressure threshold value.
Optionally, the application control apparatus further includes:
the second obtaining module is used for obtaining the change trend of the touch pressure value of the second pressing operation when the second pressing operation on the interface of the first application program is received;
and the operation execution module is used for executing the operation matched with the change trend of the touch pressure value of the second pressing operation according to the change trend of the touch pressure value of the second pressing operation.
Optionally, the operation executing module includes:
the menu display unit is used for displaying a second menu if the change trend of the touch pressure value of the second pressing operation is a second target change trend, wherein the second menu at least comprises N icons of second application programs, and N is an integer greater than zero;
and the application switching unit is used for switching the interface of the first application program displayed by the floating window to the interface of the second application program corresponding to the target icon when receiving a second selection operation on the target icon in the icons of the N second application programs.
Optionally, the operation executing module includes:
and the display switching unit is used for switching the interface of the first application program from the floating window display to a full-screen display if the change trend of the touch pressure value of the second pressing operation is a third target change trend.
Optionally, the operation executing module includes:
a control display unit, configured to display a size adjustment control of the floating window if a change trend of the touch pressure value of the second pressing operation is a fourth target change trend, where the size adjustment control is used to adjust the size of the floating window;
and the size adjusting unit is used for correspondingly adjusting the size of the floating window when receiving the operation of the size adjusting control.
The application control device provided in the embodiment of the present application can be applied to the foregoing method embodiments, and for details, reference is made to the description of the foregoing method embodiments, which is not described herein again.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 11, the electronic apparatus 11 of this embodiment includes: one or more processors 1100 (only one of which is shown), a memory 1101, and a computer program 1102 stored in the memory 1101 and executable on the at least one processor 1100. The processor 1100 implements the steps in the various application control method embodiments described above when executing the computer program 1102.
The electronic device may include, but is not limited to, a processor 1100, a memory 1101. Those skilled in the art will appreciate that fig. 11 is merely an example of an electronic device 11 and does not constitute a limitation of electronic device 11 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the electronic device may also include input-output devices, network access devices, buses, etc.
The Processor 1100 may be a Central Processing Unit (CPU), and may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 1101 may be an internal storage unit of the electronic device 11, such as a hard disk or a memory of the electronic device 11. The memory 1101 may also be an external storage device of the electronic device 11, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the electronic device 11. Further, the memory 1101 may also include both an internal storage unit and an external storage device of the electronic device 11. The memory 1101 is used for storing the computer program and other programs and data required by the electronic device. The memory 1101 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the above-mentioned apparatus may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps that can be implemented in the above method embodiments.
The embodiments of the present application further provide a computer program product, which when executed on an electronic device, enables the electronic device to implement the steps in the above method embodiments when executed.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other ways. For example, the above-described apparatus/electronic device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (11)
1. An application control method, comprising:
when a first pressing operation on an icon of a first application program is received, acquiring a change trend of a touch pressure value of the first pressing operation;
and if the change trend of the touch pressure value of the first pressing operation is a first target change trend, calling a floating window to display an interface of the first application program.
2. The application control method according to claim 1, wherein if the change trend of the touch pressure value of the first pressing operation is a first target change trend, invoking a floating window to display an interface of the first application program comprises:
if the change trend of the touch pressure value of the first pressing operation is the first target change trend, displaying a first menu, wherein the first menu at least comprises a suspension display option;
and calling the floating window to display the interface of the first application program when receiving a first selection operation of the floating display option in the first menu.
3. The application control method according to claim 1, further comprising, after invoking a floating window to display an interface of the first application program:
and when the dragging operation of the floating window is received and the touch pressure value of the dragging operation is larger than a pressure threshold value, moving the floating window along the sliding track of the dragging operation.
4. The application control method according to any one of claims 1 to 3, further comprising, after invoking a floating window to display an interface of the first application program:
when a second pressing operation on the interface of the first application program is received, acquiring a change trend of a touch pressure value of the second pressing operation;
and executing operation matched with the change trend of the touch pressure value of the second pressing operation according to the change trend of the touch pressure value of the second pressing operation.
5. The application control method according to claim 4, wherein the performing, in accordance with the trend of change in the value of the touch pressure value of the second pressing operation, an operation that matches the trend of change in the touch pressure value of the second pressing operation includes:
if the change trend of the touch pressure value of the second pressing operation is a second target change trend, displaying a second menu, wherein the second menu at least comprises N icons of second application programs, and N is an integer greater than zero;
and when a second selection operation on a target icon in the icons of the N second application programs is received, switching the interface of the first application program displayed by the floating window to the interface of the second application program corresponding to the target icon.
6. The application control method according to claim 4, wherein the performing, in accordance with the trend of change in the value of the touch pressure value of the second pressing operation, an operation that matches the trend of change in the touch pressure value of the second pressing operation includes:
and if the change trend of the touch pressure value of the second pressing operation is a third target change trend, switching the interface of the first application program from the floating window display to a full screen display.
7. The application control method according to claim 4, wherein the performing, in accordance with the trend of change in the value of the touch pressure value of the second pressing operation, an operation that matches the trend of change in the touch pressure value of the second pressing operation includes:
if the variation trend of the touch pressure value of the second pressing operation is a fourth target variation trend, displaying a size adjusting control of the floating window, wherein the size adjusting control is used for adjusting the size of the floating window;
and when the operation of the size adjusting control is received, correspondingly adjusting the size of the floating window.
8. An application control apparatus, comprising:
the first obtaining module is used for obtaining the change trend of the touch pressure value of a first pressing operation when the first pressing operation of the icon of the first application program is received;
and the interface display module is used for calling a floating window to display the interface of the first application program if the change trend of the touch pressure value of the first pressing operation is a first target change trend.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the application control method according to any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A chip comprising a processor, characterized in that the processor is adapted to read and execute a computer program stored in a memory for performing the steps of the application control method according to any of claims 1 to 7.
11. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the application control method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111599053.6A CN114327183B (en) | 2021-12-24 | 2021-12-24 | Application control method, device, electronic equipment, chip and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111599053.6A CN114327183B (en) | 2021-12-24 | 2021-12-24 | Application control method, device, electronic equipment, chip and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114327183A true CN114327183A (en) | 2022-04-12 |
CN114327183B CN114327183B (en) | 2024-10-18 |
Family
ID=81012809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111599053.6A Active CN114327183B (en) | 2021-12-24 | 2021-12-24 | Application control method, device, electronic equipment, chip and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114327183B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106293345A (en) * | 2016-08-09 | 2017-01-04 | 深圳市金立通信设备有限公司 | A kind of application icon display packing and terminal |
CN106919317A (en) * | 2017-02-27 | 2017-07-04 | 珠海市魅族科技有限公司 | A kind of information displaying method and system |
CN108431756A (en) * | 2015-12-31 | 2018-08-21 | 华为技术有限公司 | The method and terminal of the gesture of response effect on the touchscreen |
CN110489043A (en) * | 2019-07-31 | 2019-11-22 | 华为技术有限公司 | A kind of management method and relevant apparatus of suspension windows |
CN111381739A (en) * | 2018-12-27 | 2020-07-07 | 北京小米移动软件有限公司 | Application icon display method and device, electronic equipment and storage medium |
WO2021043223A1 (en) * | 2019-09-06 | 2021-03-11 | 华为技术有限公司 | Split-screen display method and electronic device |
WO2021135838A1 (en) * | 2019-12-31 | 2021-07-08 | 华为技术有限公司 | Page rendering method and related apparatus |
WO2021190524A1 (en) * | 2020-03-24 | 2021-09-30 | 华为技术有限公司 | Screenshot processing method, graphic user interface and terminal |
WO2021203821A1 (en) * | 2020-04-07 | 2021-10-14 | Oppo广东移动通信有限公司 | Page manipulation method and device, storage medium, and terminal |
-
2021
- 2021-12-24 CN CN202111599053.6A patent/CN114327183B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108431756A (en) * | 2015-12-31 | 2018-08-21 | 华为技术有限公司 | The method and terminal of the gesture of response effect on the touchscreen |
CN106293345A (en) * | 2016-08-09 | 2017-01-04 | 深圳市金立通信设备有限公司 | A kind of application icon display packing and terminal |
CN106919317A (en) * | 2017-02-27 | 2017-07-04 | 珠海市魅族科技有限公司 | A kind of information displaying method and system |
CN111381739A (en) * | 2018-12-27 | 2020-07-07 | 北京小米移动软件有限公司 | Application icon display method and device, electronic equipment and storage medium |
CN110489043A (en) * | 2019-07-31 | 2019-11-22 | 华为技术有限公司 | A kind of management method and relevant apparatus of suspension windows |
WO2021043223A1 (en) * | 2019-09-06 | 2021-03-11 | 华为技术有限公司 | Split-screen display method and electronic device |
WO2021135838A1 (en) * | 2019-12-31 | 2021-07-08 | 华为技术有限公司 | Page rendering method and related apparatus |
WO2021190524A1 (en) * | 2020-03-24 | 2021-09-30 | 华为技术有限公司 | Screenshot processing method, graphic user interface and terminal |
WO2021203821A1 (en) * | 2020-04-07 | 2021-10-14 | Oppo广东移动通信有限公司 | Page manipulation method and device, storage medium, and terminal |
Non-Patent Citations (1)
Title |
---|
涂俊等: "基于多点触控操作的网页界面设计趋势研究", 科技传播, no. 02, 23 January 2014 (2014-01-23) * |
Also Published As
Publication number | Publication date |
---|---|
CN114327183B (en) | 2024-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102571369B1 (en) | Display control method, storage medium and electronic device for controlling the display | |
US20190012071A1 (en) | Display and management of application icons | |
JP7536173B2 (en) | Application interface switching method and device, terminal, and storage medium | |
CN114510176B (en) | Desktop management method of terminal equipment and terminal equipment | |
CN106415472B (en) | Gesture control method and device, terminal equipment and storage medium | |
CN108737739B (en) | Preview picture acquisition method, preview picture acquisition device and electronic equipment | |
EP3846025B1 (en) | Window switching method and apparatus, and terminal and computer-readable storage medium | |
US11334210B2 (en) | Method for window adjustment, mobile terminal, and computer-readable storage medium | |
CN107765944A (en) | A kind of screen touch method, terminal device and computer-readable medium | |
CN104007919A (en) | Electronic device and control method thereof | |
CN111190677A (en) | Information display method, information display device and terminal equipment | |
JP2022515304A (en) | Eye tracking image viewer for digital pathology | |
US10732719B2 (en) | Performing actions responsive to hovering over an input surface | |
CN105204759A (en) | Picture processing method and electronic terminal | |
CN107533566A (en) | Method, portable electric appts and the graphic user interface retrieved to the content of picture | |
CN109298907B (en) | Application program display method, application program display device and terminal | |
CN112051957A (en) | Method and related device for browsing mobile terminal page | |
WO2016022634A1 (en) | Display and management of application icons | |
CN108845756B (en) | Touch operation method and device, storage medium and electronic equipment | |
CN112783406B (en) | Operation execution method and device and electronic equipment | |
CN114327183B (en) | Application control method, device, electronic equipment, chip and storage medium | |
WO2024087618A1 (en) | Screen capture method, screen capture apparatus, screen capture device, and computer storage medium | |
CN112256178A (en) | Application icon adjusting method, device and system | |
CN111198644B (en) | Screen operation identification method and system of intelligent terminal | |
CN114442881A (en) | Information display method and device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |