Nothing Special   »   [go: up one dir, main page]

CN114327183B - Application control method, device, electronic equipment, chip and storage medium - Google Patents

Application control method, device, electronic equipment, chip and storage medium Download PDF

Info

Publication number
CN114327183B
CN114327183B CN202111599053.6A CN202111599053A CN114327183B CN 114327183 B CN114327183 B CN 114327183B CN 202111599053 A CN202111599053 A CN 202111599053A CN 114327183 B CN114327183 B CN 114327183B
Authority
CN
China
Prior art keywords
change trend
pressing operation
application
pressure value
touch pressure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111599053.6A
Other languages
Chinese (zh)
Other versions
CN114327183A (en
Inventor
李辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111599053.6A priority Critical patent/CN114327183B/en
Publication of CN114327183A publication Critical patent/CN114327183A/en
Application granted granted Critical
Publication of CN114327183B publication Critical patent/CN114327183B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application is suitable for 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 of 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 the first target change trend, calling a floating window to display an interface of the first application program. The application can control the application program to enter the small window mode.

Description

Application control method, device, electronic equipment, chip and storage medium
Technical Field
The application belongs to the technical field of touch control, and particularly relates to an application control method, an application control device, electronic equipment, a chip and a storage medium.
Background
With the development of electronic technology, applications installed in electronic devices are increasing. Currently, most electronic devices can perform multiple tasks simultaneously. For example, most handsets support a widget mode to meet the user's requirement to operate multiple applications simultaneously, without requiring 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 widget mode.
In a first aspect, an embodiment of the present application provides an application control method, including:
When a first pressing operation of 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 the first target change trend, calling a floating window to display an interface of the first application program.
In the embodiment of the application, when the first pressing operation of the icon of the first application program is received, the suspension window is called to display the interface of the first application program 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 or not, so that the first application program can enter the small window mode when the change trend of the touch pressure value of the first pressing operation is the first target change trend.
In a second aspect, an embodiment of the present application provides an application control apparatus, including:
the first acquisition module is used for acquiring the change trend of the touch pressure value of the first pressing operation when receiving the first pressing operation of the icon of the first application program;
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 the first target change trend.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the application control method according to the first aspect described above when the processor executes the computer program.
In a fourth aspect, an embodiment of the present application provides a chip, including a processor, where 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 is connected to the processor through a circuit or a wire.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the application control method as described in the first aspect above.
In a sixth aspect, embodiments of the present application provide a computer program product for, when run on an electronic device, causing the electronic device to perform the steps of the application control method as described in the first aspect above.
It will be appreciated that the second, third, fourth, fifth and sixth aspects provided above are all used to perform the corresponding methods provided above, and therefore the advantages achieved by the above are referred to as advantages in the corresponding methods provided above, and are not described here again.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1a is an exemplary diagram of a recent task interface;
FIG. 1b is a diagram of an example of an interface of an instant messaging application 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 diagram of an implementation flow of an application control method according to an embodiment of the present application;
FIG. 4a is an exemplary diagram of a sliding track of a drag operation;
FIG. 4b is an exemplary view of the floating window after movement;
FIG. 5 is a schematic flow chart of an implementation of an application control method according to another embodiment of the present application;
Fig. 6 is an exemplary diagram of a second pressing operation;
FIG. 7a is an exemplary diagram of a second menu;
FIG. 7b is an exemplary diagram of an interface of a photographing application displayed in a floating window;
FIG. 8 is an exemplary diagram of an interface for displaying an instant messaging application in full screen;
FIG. 9a is an exemplary diagram of a resizing control;
FIG. 9b is a diagram of yet another example of an interface of an instant messaging application displayed in a floating window;
FIG. 9c is a diagram of yet another example of an interface of an instant messaging application displayed in a floating window;
FIG. 10 is a schematic 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 the particular system architecture, 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 should 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 the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in the present description and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms "first," "second," "third," and the like in the description of the present specification and in the appended claims, are used for distinguishing between descriptions and not necessarily for indicating or implying a relative importance.
Reference in the 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 application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
The application control method provided by the embodiment of the application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (augmented reality, AR)/Virtual Reality (VR) devices, notebook computers, ultra-mobile personal computer (UMPC), netbooks, personal digital assistants (personal DIGITAL ASSISTANT, PDA) and the like, and the embodiment of the application does not limit the specific types of the electronic devices.
The screen of the electronic device in the embodiment of the application can be a screen capable of identifying multi-touch and touch pressure value changes, such as a pressure-sensitive touch screen.
The monitoring touch module can be preset at the bottom of the screen drive of the electronic equipment so as to monitor whether a user performs touch operation on the screen, and when the user monitors the touch operation on the screen, 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, which are not limited herein.
The widget mode in the embodiment of the present application may refer to a mode of 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 an electronic device in a state of a smaller window (i.e., a floating window). By controlling the application program to enter the small window mode, the requirement that a user simultaneously operates a plurality of application programs on the electronic equipment can be met, and the application programs do not need to be frequently switched.
FIG. 1a is a diagram showing an example of a latest task interface, where the latest task interface of FIG. 1a shows an interface of two applications, namely an attendance application (i.e. an application with attendance function) and an instant messaging application. The user clicks a specific button or slides in a specific direction on the mobile phone screen to enter a latest task interface, the latest task interface displays an interface of an application program which is opened recently, a small window mode button is arranged above each interface, and clicks the small window mode button of a certain application program (such as an instant messaging application program) to call a floating window to display the interface of the instant messaging application program. An exemplary diagram of an interface of an instant messaging application displayed in a floating window is shown in fig. 1b.
As can be seen from fig. 1a, when controlling an application program to enter a widget mode, a latest task interface needs to be entered first, and an application program needing to enter the widget mode is selected from the latest task interface, which is complicated. In order to simplify the operation of an application program entering a small window mode, and control the application program to quickly enter the small window mode, the embodiment of the application provides an application control method, which is used for controlling the application program pressed with an icon to quickly enter the small window mode when the change trend of the touch pressure value is a first target change trend by pressing the icon of the application program displayed on a mobile phone desktop and monitoring the change trend of the touch pressure value when a user presses the icon. Fig. 2 is an exemplary diagram of a user pressing an icon of an instant messaging application, where the user may control the instant messaging application to quickly enter a widget mode, i.e., a floating window displaying an interface of the instant messaging application (as shown in fig. 1 b) by pressing the icon of the instant messaging application and making a change trend of a touch pressure value when the icon of the instant messaging application is pressed be a first target change trend.
It should be understood that, the sequence number of each step in this embodiment does not mean the execution sequence, and the execution sequence of each process should be determined by its function and internal logic, and should not limit the implementation process of the embodiment of the present application in any way.
In order to illustrate the technical scheme of the application, the following description is made by specific examples.
Referring to fig. 3, a flowchart of an implementation of an application control method according to an embodiment of the present application is shown, 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:
In step 301, when a first pressing operation on an icon of a first application program is received, a trend of change in a touch pressure value of the first pressing operation is obtained.
The first application may be any application 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. The icon of an application is an identification of the application, and the icons of different applications are typically different.
When the electronic device receives a first pressing operation on the icon of the first application program, a touch pressure value in a time period from the start of pressing to the end of pressing of the first pressing operation can be obtained, and according to the touch pressure value in the time period from the start of pressing to the end of pressing of the first pressing operation, the change trend of the touch pressure value in the time period from the start of pressing to the end of pressing of the first pressing operation can be obtained.
The first pressing operation may be a single-finger pressing operation, or 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, when the touch pressure value of the first pressing operation is measured each time, the touch pressure values of the multiple fingers can be obtained first, and then the touch pressure value of the first pressing operation is determined according to the touch pressure values of the multiple fingers. For example, an average value of the touch pressure values of the respective multiple fingers may be calculated, and the average value may be 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 respective multiple fingers, and the maximum value may be used as the touch pressure value of the first pressing operation.
In step 302, if the change trend of the touch pressure value of the first pressing operation is the first target change trend, the floating window is invoked to display the interface of the first application program.
The first target change trend may be a change trend of triggering the floating window to display the interface of the first application program. Optionally, the user may set the first target change trend according to the actual requirement, for example, multiple change trend options may be provided in the setting options of the electronic device, and the user may select at least one of the multiple change trend options as the first target change trend.
After the electronic device obtains 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 when the change trend of the touch pressure value of the first pressing operation is the first target change trend, may control the first application program to enter a small window mode (i.e. call a floating window, and display an interface of the first application program in the floating window).
For example, when the first target trend is gradually increased from small to large and a pressing operation of the icon of the instant messaging application program by the user is received, if the touch pressure value of the pressing operation is monitored to be gradually increased from small to large (i.e. gradually changed from light press to heavy press), the instant messaging application program can be controlled to enter a small window mode, and the interface of the instant messaging application program is displayed on the floating window.
In an embodiment, before the interface of the first application program displayed in the floating window, whether the first application program runs in the background may be detected first, and if the first application program runs in the background, the interface of the first application program displayed in the floating window is the interface of the first application program in the background running; if the first application is not running in the background, the interface of the first application displayed in the floating window may be a main interface of the first application, which is an interface displayed after the first application is started.
As an optional embodiment, if the change trend of the touch pressure value of the first pressing operation is the first target change trend, invoking the floating window to display the interface of the first application program includes:
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 a floating window to display an interface of the first application program when receiving a first selection operation of the floating display options in the first menu.
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 hover display option in the first menu may refer to an operation of opening a hover display of the first application or an operation of causing the first application 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, and then the interface of the first application program is displayed by calling the floating window based on the selection operation of the floating display option by the user, so that the situation that the user opens the small window mode by mistake can be avoided.
Optionally, the first menu may further 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 multiple function options such as "swipe", "pay-for-receipt", "my two-dimensional code", and the user may quickly open functions such as "swipe", "pay-for-receipt", "my two-dimensional code" of the WeChat through the first menu.
As an alternative embodiment, after invoking the interface for displaying the first application program by the floating window, 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 drag operation on the floating window may refer to a drag operation on any position in the floating window.
According to the embodiment, the touch pressure value of the drag operation is limited to be larger than the pressure threshold value, the drag operation triggering 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 or not. Fig. 4a is an exemplary diagram of a sliding track of a drag operation, and a broken line carrying an arrow in fig. 4a is a sliding track of a drag operation. Fig. 4b is an example view after the floating window has been moved.
When a first pressing operation of an icon of a first application program is received, the embodiment of the application can call the floating window to display the interface of the first application program 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, so that the first application program can enter a small window mode.
Referring to fig. 5, a flowchart of an implementation of an application control method according to another embodiment of the present application is shown, 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:
In step 501, when a first pressing operation on an icon of a first application program is received, a trend of change in a touch pressure value of the first pressing operation is obtained.
This step is the same as step 301, and specific reference may be made to the related description of step 301, which is not repeated here.
In step 502, if the change trend of the touch pressure value of the first pressing operation is the first target change trend, the floating window is invoked to display the interface of the first application program.
This step is the same as step 302, and specific reference to the related description of step 302 is omitted here.
In step 503, when receiving the second pressing operation on the interface of the first application program, a trend of the change 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 in the floating window, so that the electronic device performs a corresponding operation according to the pressing operation, for example, switching the application program displayed in the floating window, switching from the floating window display to the full-screen display, adjusting the size of the floating window, and so on.
When the electronic device receives the second pressing operation on the interface of the first application program displayed on the floating window, the touch pressure value in the time period from the beginning of pressing to the ending of pressing of the second pressing operation can be obtained, and the change trend of the touch pressure value in the time period from the beginning of pressing to the ending of pressing of the second pressing operation can be obtained according to the touch pressure value in the time period from the beginning of pressing to the ending of pressing of the second pressing operation.
The second pressing operation may be a single-finger pressing operation, or 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, when the touch pressure value of the second pressing operation is measured each time, the touch pressure values of the multiple fingers can be obtained first, and then the touch pressure value of the second pressing operation is determined according to the touch pressure values of the multiple fingers. For example, an average value of the touch pressure values of the respective multiple fingers may be calculated, and the average value may be 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 respective multiple fingers, and the maximum value may be used as the touch pressure value of the second pressing operation. As shown in fig. 6, which is an example diagram of the second pressing operation, the second pressing operation in fig. 6 is a single-finger press.
In step 504, an operation matching the trend of the touch pressure value of the second pressing operation is performed according to the trend of the touch pressure value of the second pressing operation.
The mapping relationship between M change trends of the touch pressure value of the second pressing operation and the corresponding operation may be preset, M is an integer greater than zero, and when the change trend of the touch pressure value of the second pressing operation is obtained in step 503, the electronic device may search the mapping relationship for an operation matching the change trend, and execute an operation matching the change trend.
As an alternative embodiment, according to a trend of the touch pressure value of the second pressing operation, an operation of matching the trend of the touch pressure value of the second pressing operation is performed, including:
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 larger than zero;
and when receiving a second selection operation of a target icon in the icons of the N second application programs, switching the interface of the first application program displayed by the floating window into the interface of the second application program corresponding to the target icon.
The second target change trend may be a change trend that triggers the display of a second menu. Optionally, the user may set the second target trend according to the actual requirement, 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 second target trend.
For example, the second target change trend may be "gradually increase from small", and when the change trend of the touch pressure value of the second pressing operation is "gradually increase from small", a second menu may be displayed, so that the user may conveniently select the second application program desired to be displayed in the floating window from the second menu, and fast switching of the application programs in the floating window is achieved. As shown in fig. 7a, which is an exemplary diagram of the second menu, by clicking on the icon of the photographing application program (i.e., the photographing icon in fig. 7 a) displayed in the second menu, a quick switching of the application program in the floating window may be achieved, as shown in fig. 7b, which is an exemplary diagram of the interface of the photographing application program displayed in the floating window.
The second application may be any application other than the first application among applications installed on the electronic device, or may be an application recently opened by the user, which is not limited herein.
The target icon may be any icon selected by the user from among icons of the N second applications. As an alternative embodiment, according to a trend of the touch pressure value of the second pressing operation, an operation of matching the trend of the touch pressure value of the second pressing operation is performed, including:
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.
The third target trend may be a trend of triggering full-screen display. Optionally, the user may set the third target trend according to the actual requirement, 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.
The third target change trend may be "gradually increase from small to large, then gradually decrease from large", and when the change trend of the touch pressure value of the second pressing operation is "gradually increase from small to large, then gradually decrease from large", 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 when the third selection operation of the full-screen display option is received, the interface of the first application program is displayed in full screen, so that the first application program may quickly exit from the small window mode. The full-screen display option is displayed first, and is switched to full-screen display when the third selection operation of the full-screen display option 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 in full screen.
As an alternative embodiment, according to a trend of the touch pressure value of the second pressing operation, an operation of matching the trend of the touch pressure value of the second pressing operation is performed, including:
if the change trend of the touch pressure value of the second pressing operation is a fourth target change trend, displaying a size adjustment control of the floating window, wherein the size adjustment control is used for adjusting the size of the floating window;
when the operation of the size adjusting control is received, the size of the suspension window is correspondingly adjusted.
The fourth target change trend may be a change trend of a size adjustment control for triggering the display of the floating window. Optionally, the user may set the fourth target trend according to the actual requirement, 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 resizing control may be any control capable of resizing the floating window, and is not limited in this regard. As shown in fig. 9a, the size adjustment control is an example diagram of a size adjustment control, where the size adjustment control includes a sliding rod and a sliding block, and by moving the sliding block on the sliding rod, the size of the floating window can be adjusted, for example, moving the sliding block rightward, and increasing the size of the floating window; the sliding block is moved leftwards, and the size of the suspension window is reduced. Fig. 9b is a diagram of yet another example of an interface of an instant messaging application displayed in a floating window, with fig. 9b being enlarged in size compared to fig. 1 b. Fig. 9c is a further exemplary illustration of an interface of an instant messaging application displayed in a floating window, the size of the floating window being reduced in fig. 9c as compared to fig. 1 b.
The fourth target change trend may be "from small to large, from large to small, and from small to large", and the change trend of the touch pressure value of the second pressing operation may be "from small to large, from large to small, from small to large", and when the change trend of the touch pressure value of the second pressing operation is "from large to small, from small to large", the size adjustment control of the floating window may be displayed, and the user may implement the adjustment of the size of the floating window by operating the size adjustment control.
The first target change trend may be the same as or different from the second target change trend, the third target change trend, and the fourth target change trend of the interface acting on the first application, and is not limited herein.
The three kinds of change trends of the second target change trend, the third target change trend, the fourth target change trend and the like may be the same, may be partially the same, or may be different. And when the three change trends are the same, icons of N second application programs, full-screen display options and a size-adjusting control can be displayed in one menu. When the three kinds of change trend portions are the same, display contents corresponding to the same change trend may be displayed in one menu, for example, the second target change trend is the same as the third target change trend, and then icons and full screen display options of N second applications may be displayed in one menu.
According to the embodiment of the application, on the basis of the interface of the first application program displayed by the floating window, different functions such as switching of the application program in the floating window, full-screen display, size adjustment of the floating window and the like can be realized more conveniently by pressing the interface of the first application program.
Referring to fig. 10, a schematic structural diagram of an application control device according to an embodiment of the present application is shown, for convenience of explanation, only a portion related to the embodiment of the present application is shown.
The application control device includes:
A first obtaining module 1001, configured to obtain, when a first pressing operation on an icon of a first application is received, a trend of change in a touch pressure value of the first pressing operation;
The interface display module 1002 is configured to invoke a floating window to display an 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.
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 floating display option;
and when a first selection operation of the floating display option in the first menu is received, calling the floating window to display an interface of the first application program.
Optionally, the application control device further includes:
And the window moving module is used for moving the floating window along the 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 larger than the pressure threshold value.
Optionally, the application control device further includes:
the second acquisition module is used for acquiring the change trend of the touch pressure value of the second pressing operation when receiving the second pressing operation of the interface of the first application program;
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 execution 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 icons of N second application programs, and N is an integer larger than zero;
and the application switching unit is used for switching the interface of the first application program displayed by the floating window into the interface of the second application program corresponding to the target icon when receiving the second selection operation of the target icon in the icons of the N second application programs.
Optionally, the operation execution module includes:
And the display switching unit is used for switching the interface of the first application program from the floating window display to the full-screen display if the change trend of the touch pressure value of the second pressing operation is the third target change trend.
Optionally, the operation execution module includes:
the control display unit is used for displaying a size adjustment control of the floating window if the change trend of the touch pressure value of the second pressing operation is a fourth target change trend, wherein the size adjustment control is used for adjusting the size of the floating window;
And the size adjusting unit is used for correspondingly adjusting the size of the suspension window when receiving the operation of the size adjusting control.
The application control device provided in the embodiment of the present application may be applied in the foregoing method embodiment, and details refer to the description of the foregoing method embodiment, which is not repeated herein.
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 device 11 of this embodiment includes: one or more processors 1100 (only one 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, when executing the computer program 1102, implements the steps of the various application control method embodiments described above.
The electronic device may include, but is not limited to, a processor 1100, a memory 1101. It will be appreciated by those skilled in the art that fig. 11 is merely an example of an electronic device 11 and is not meant to be limiting as to the electronic device 11, and may include more or fewer components than shown, or may combine certain components, 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 (Central Processing Unit, CPU), which may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 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 be an external storage device of the electronic device 11, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are 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 to store 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-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above device may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The embodiments of the present application also provide a computer readable storage medium storing a computer program, which when executed by a processor implements steps of the above-described respective method embodiments.
Embodiments of the present application also provide a computer program product which, when run on an electronic device, causes the electronic device to perform steps that may be performed in the various method embodiments described above.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
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 solution. 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 manners. For example, the apparatus/electronic device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (7)

1. An application control method, comprising:
When a first pressing operation of an icon of a first application program is received, acquiring a change trend of a touch pressure value of the first pressing operation;
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;
When a second pressing operation on an interface of the first application program is received, acquiring a change trend of a touch pressure value of the second pressing operation;
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 icons of N second application programs, and N is an integer larger than zero; when receiving a second selection operation of a target icon in the icons of the N second application programs, switching the interface of the first application program displayed by the floating window into the interface of the second application program corresponding to the target icon;
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;
If the change trend of the touch pressure value of the second pressing operation is a fourth target change trend, displaying a size adjustment control of the floating window, wherein the size adjustment control is used for adjusting the size of the floating window; and correspondingly adjusting the size of the floating window when receiving the operation of the size adjustment control.
2. The application control method according to claim 1, wherein, if the trend of the touch pressure value of the first pressing operation is a first target trend, invoking a floating window to display an interface of the first application program includes:
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 floating display option;
and when a first selection operation of the floating display option in the first menu is received, calling the floating window to display an interface of the first application program.
3. The application control method according to claim 1, characterized by further comprising, after invoking the floating window to display the interface of the first application program:
and when a drag operation on the floating window is received and the touch pressure value of the drag operation is larger than a pressure threshold value, moving the floating window along the sliding track of the drag operation.
4. An application control apparatus, characterized by comprising:
the first acquisition module is used for acquiring the change trend of the touch pressure value of the first pressing operation when receiving the first pressing operation of the icon of the first application program;
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;
the second acquisition module is used for acquiring the change trend of the touch pressure value of the second pressing operation when receiving the second pressing operation of the interface of the first application program;
The operation execution module 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 icons of N second application programs, and N is an integer larger than zero; when receiving a second selection operation of a target icon in the icons of the N second application programs, switching the interface of the first application program displayed by the floating window into the interface of the second application program corresponding to the target icon; 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; if the change trend of the touch pressure value of the second pressing operation is a fourth target change trend, displaying a size adjustment control of the floating window, wherein the size adjustment control is used for adjusting the size of the floating window; and correspondingly adjusting the size of the floating window when receiving the operation of the size adjustment control.
5. 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 processor implements the steps of the application control method according to any one of claims 1 to 3 when the computer program is executed.
6. A chip comprising a processor for reading and executing a computer program stored in a memory for performing the steps of the application control method according to any one of claims 1 to 3.
7. A computer-readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the application control method according to any one of claims 1 to 3.
CN202111599053.6A 2021-12-24 2021-12-24 Application control method, device, electronic equipment, chip and storage medium Active CN114327183B (en)

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 CN114327183A (en) 2022-04-12
CN114327183B true 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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN111381739A (en) * 2018-12-27 2020-07-07 北京小米移动软件有限公司 Application icon display method and device, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
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
CN116723266A (en) * 2019-07-31 2023-09-08 华为技术有限公司 Suspension window management method and related device
CN110727382A (en) * 2019-09-06 2020-01-24 华为技术有限公司 Split-screen display method and electronic equipment
CN113132526B (en) * 2019-12-31 2022-07-22 华为技术有限公司 Page drawing method and related device
CN113448658A (en) * 2020-03-24 2021-09-28 华为技术有限公司 Screen capture processing method, graphical user interface and terminal
CN111443863A (en) * 2020-04-07 2020-07-24 Oppo广东移动通信有限公司 Page control method and device, storage medium and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
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

Also Published As

Publication number Publication date
CN114327183A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
EP3951578B1 (en) Processing method, device and apparatus for split-screen display, and storage medium
CN114510176B (en) Desktop management method of terminal equipment and terminal equipment
KR20240031437A (en) Systems and methods for interacting with multiple applications that are simultaneously displayed on an electronic device with a touch-sensitive display
US20110057886A1 (en) Dynamic sizing of identifier on a touch-sensitive display
WO2019184490A1 (en) Method for use in displaying icons of hosted applications, and device and storage medium
EP3846025B1 (en) Window switching method and apparatus, and terminal and computer-readable storage medium
CN105068727A (en) Realization method and device for drawing tool
CN107451244B (en) Folder naming method, mobile terminal and computer readable storage medium
CN111782332A (en) Application interface switching method and device, terminal and storage medium
US11334210B2 (en) Method for window adjustment, mobile terminal, and computer-readable storage medium
US10732719B2 (en) Performing actions responsive to hovering over an input surface
CN111190677A (en) Information display method, information display device and terminal equipment
CN113268182A (en) Application icon management method and electronic equipment
CN109298907B (en) Application program display method, application program display device and terminal
US8988369B1 (en) Restricted carousel with built-in gesture customization
CN111597009B (en) Application program display method and device and terminal equipment
CN114327183B (en) Application control method, device, electronic equipment, chip and storage medium
US20020180811A1 (en) Systems, methods, and articles of manufacture for providing a user interface with selection and scrolling
WO2024087618A1 (en) Screen capture method, screen capture apparatus, screen capture device, and computer storage medium
CN112256178A (en) Application icon adjusting method, device and system
CN112162689B (en) Input method and device and electronic equipment
CN114442881A (en) Information display method and device, electronic equipment and readable storage medium
CN113342222A (en) Application classification method and device and electronic equipment
CN112667931A (en) Webpage collecting method, electronic equipment and storage medium
CN113687922A (en) Task switching control method and device and related equipment

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