Application control method, device, electronic device, chip and storage medium
By monitoring the change trend of the touch pressure value, the application can quickly enter the small window mode, which solves the problem of cumbersome operations in the existing technology and improves the convenience of multi-tasking.
Patent Information
- Application Number
- CN202111599053.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-24
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-12-24
AI Technical Summary
Existing electronic devices are cumbersome to operate when an application enters the small window mode, and users need to frequently switch interfaces, making it difficult to meet the needs of operating multiple applications at the same time.
By monitoring the change trend of the user's touch pressure value on the application icon, it is judged whether it is the target change trend. If it matches, the floating window is called to display the application interface, so that the application can quickly enter the small window mode.
It simplifies the operation process of applications entering small window mode. Users can quickly switch and manage multiple applications without frequent interface switching, which improves the convenience of multi-tasking.
Smart Images

Figure CN114327183B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of touch technology, and in particular, relates to an application control method, device, electronic device, chip and storage medium. Background Art
[0002] With the development of electronic technology, more and more applications are installed in electronic devices. At present, most electronic devices can perform multiple tasks at the same time. For example, most mobile phones support small window mode to meet the needs of users to operate multiple applications at the same time without frequently switching applications. Summary of the invention
[0003] Embodiments of the present application provide an application control method, device, electronic device, chip, and storage medium to control an application program to enter a small window mode.
[0004] In a first aspect, an embodiment of the present application provides an application control method, including:
[0005] When a first pressing operation on an icon of a first application is received, obtaining a change trend of a touch pressure value of the first pressing operation;
[0006] If 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 the interface of the first application.
[0007] In an embodiment of the present application, when a first press operation on the icon of a first application is received, by obtaining the changing trend of the touch pressure value of the first press operation, and judging whether the changing trend of the touch pressure value of the first press operation is the first target changing trend, when the changing trend of the touch pressure value of the first press operation is the first target changing trend, a floating window can be called to display the interface of the first application, thereby enabling the first application to enter the small window mode.
[0008] In a second aspect, an embodiment of the present application provides an application control device, including:
[0009] A first acquisition module, configured to, when receiving a first pressing operation on an icon of a first application, acquire a change trend of a touch pressure value of the first pressing operation;
[0010] The interface display module is used to call 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.
[0011] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the application control method described in the first aspect above when executing the computer program.
[0012] In a fourth aspect, an embodiment of the present application provides a chip, comprising a processor, wherein the processor is used to read and execute a computer program stored in a memory to perform the steps of the application control method as described in the first aspect above.
[0013] Optionally, the memory is connected to the processor via a circuit or wire.
[0014] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the application control method described in the first aspect above are implemented.
[0015] In a sixth aspect, an embodiment of the present application provides a computer program product, which, when executed on an electronic device, enables the electronic device to execute the steps of the application control method as described in the first aspect above.
[0016] It can be understood that the second aspect, third aspect, fourth aspect, fifth aspect and sixth aspect provided above are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0018] Figure 1a This is an example of the recent task interface;
[0019] Figure 1b This is an example of an instant messaging application interface displayed in a floating window;
[0020] Figure 2 is an example diagram of a user pressing an instant messaging application icon;
[0021] Figure 3 It is a schematic diagram of the implementation flow of the application control method provided in one embodiment of the present application;
[0022] Figure 4a This is an example diagram of the sliding track of the drag operation;
[0023] Figure 4b This is an example picture after the floating window is moved;
[0024] Figure 5 is a schematic diagram of an implementation flow of an application control method provided by another embodiment of the present application;
[0025] Figure 6 is an example diagram of a second pressing operation;
[0026] Figure 7a This is an example picture of the second menu;
[0027] Figure 7b This is an example of the camera application interface displayed in a floating window;
[0028] Figure 8 is an example diagram showing the interface of an instant messaging application in full screen;
[0029] Figure 9a is an example diagram of the resizing control;
[0030] Figure 9b This is another example of an instant messaging application interface displayed in a floating window;
[0031] Fig.9c is another example diagram of an instant messaging application interface displayed in a floating window;
[0032] Fig.10 is a structural diagram of an application control device provided by an embodiment of the present application;
[0033] Fig.11 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0034] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0035] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0036] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0037] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0038] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0039] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0040] The application control method provided in the embodiment of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc. The embodiment of the present application does not impose any restrictions on the specific types of electronic devices.
[0041] The screen of the electronic device in the embodiment of the present application may be a screen that can recognize multi-touch and changes in touch pressure values, such as a pressure-sensitive touch screen.
[0042] A touch monitoring module can be pre-installed in the bottom layer of the screen driver of the electronic device to monitor whether the user performs a touch operation on the screen. When the user's touch operation on the screen is monitored, the electronic device can perform an operation matching the touch operation. The above touch operation includes but is not limited to a press operation, a drag operation, a slide operation, etc., which are not limited here.
[0043] The small window mode in the embodiment of the present application may refer to a mode of calling a floating window to display the interface of an application, that is, the interface of the application appears on the screen of the electronic device in a smaller window (i.e., a floating window). By controlling the application to enter the small window mode, the user's needs for operating multiple applications on the electronic device at the same time can be met without frequently switching applications.
[0044] like Figure 1a The following is an example of the recent task interface. Figure 1a The recent task interface displays the interfaces of two applications, namely the attendance application (i.e., an application with attendance function) and the instant messaging application. Users can enter the recent task interface by clicking a specific button or sliding in a specific direction on the phone screen. The recent task interface displays the interfaces of recently opened applications, and there is a small window mode button above each interface. Clicking the small window mode button of an application (such as an instant messaging application) will call a floating window to display the interface of the instant messaging application. Figure 1b The figure shows an example of an instant messaging application interface displayed in a floating window.
[0045] Depend on Figure 1a It can be seen that when controlling an application to enter small window mode, it is necessary to first enter the recent task interface and select the application that needs to enter small window mode from the recent task interface. This process is relatively cumbersome. In order to simplify the operation of the application entering small window mode and control the application to quickly enter small window mode, an embodiment of the present application provides an application control method. By pressing the icon of the application displayed on the mobile phone desktop 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, the application of the pressed icon can be controlled to quickly enter the small window mode. Figure 2 The figure shows an example of a user pressing an instant messaging application icon. By pressing the instant messaging application icon and making the change trend of the touch pressure value when pressing the instant messaging application icon the first target change trend, the instant messaging application can be controlled to quickly enter the small window mode, that is, the floating window displays the interface of the instant messaging application (such as Figure 1b shown).
[0046] It should be understood that the size of the serial numbers of the steps in this embodiment does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0047] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.
[0048] See also Figure 3 , is a schematic diagram of an implementation flow of an application control method provided by an embodiment of the present application, and the application control method is applied to an electronic device. Figure 3 As shown, the application control method may include the following steps:
[0049] Step 301: upon receiving a first pressing operation on an icon of a first application, obtaining a change trend of a touch pressure value of the first pressing operation.
[0050] The first application may be any application installed on the electronic device. The icon of the first application is an icon displayed on the desktop of the electronic device after the first application is installed on the electronic device. The icon of an application is an identifier of the application, and the icons of different applications are usually different.
[0051] When the electronic device receives the first press operation on the icon of the first application, it can obtain the touch pressure value of the first press operation within the time period from the start of pressing to the end of pressing. Based on the touch pressure value of the first press operation within the time period from the start of pressing to the end of pressing, the change trend of the touch pressure value of the first press operation within the time period from the start of pressing to the end of pressing can be obtained.
[0052] It should be noted that the above-mentioned first pressing operation can be a single-finger press or a multi-finger (i.e., at least two-finger) press, which is not limited here. When the above-mentioned first pressing operation is a multi-finger press, each time the touch pressure value of the first pressing operation is measured, the touch pressure values of the multiple fingers can be obtained first, and then the touch pressure value of the first pressing operation can be determined according to the touch pressure values of the multiple fingers. For example, the average value of the touch pressure values of the multiple fingers can be calculated and the average value can be used as the touch pressure value of the first pressing operation, or the maximum value can be selected from the touch pressure values of the multiple fingers and the maximum value can be used as the touch pressure value of the first pressing operation.
[0053] Step 302: 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 the interface of the first application.
[0054] The first target change trend may be a change trend that triggers the floating window to display the interface of the first application. Optionally, the user may set the first target change trend according to actual needs. For example, a plurality of change trend options may be provided in the setting options of the electronic device, and the user may select at least one of the plurality of change trend options as the first target change trend.
[0055] After obtaining the changing trend of the touch pressure value of the first press operation, the electronic device can determine whether the changing trend of the touch pressure value of the first press operation is the first target changing trend. When the changing trend of the touch pressure value of the first press operation is the first target changing trend, the first application can be controlled to enter the small window mode (i.e., calling the floating window and displaying the interface of the first application in the floating window).
[0056] For example, the first target change trend is from small to large. When the user presses the icon of the instant messaging application, if it is monitored that the touch pressure value of the pressing operation is from small to large (that is, from light press to heavy press), the instant messaging application can be controlled to enter the small window mode and the interface of the instant messaging application can be displayed in the floating window.
[0057] In one embodiment, before the interface of the first application is displayed in the floating window, it can be detected whether the first application is running in the background. If the first application is running in the background, the interface of the first application displayed in the floating window is the interface of the first application when it is running in the background; if the first application is not running in the background, the interface of the first application displayed in the floating window can be the main interface of the first application, which is the interface displayed after the first application is started.
[0058] As an optional embodiment, if the change trend of the touch pressure value of the first pressing operation is the first target change trend, calling the floating window to display the interface of the first application program includes:
[0059] If the change trend of the touch pressure value of the first pressing operation is the first target change trend, displaying a first menu, the first menu at least including a floating display option;
[0060] When a first selection operation of a floating display option in the first menu is received, the floating window is called to display an interface of the first application.
[0061] The floating display option is used to call a floating window to display the interface of the first application. The first selection operation of the floating display option in the first menu may refer to an operation of turning on the floating display of the first application, or an operation of making the first application enter a small window mode.
[0062] 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 based on the user's selection operation of the floating display option, the floating window is called to display the interface of the first application, which can prevent the user from accidentally turning on the small window mode.
[0063] Optionally, in addition to the floating display option, the first menu may also include other functional options of the first application, so as to provide users with more quick functions. For example, when the first application is WeChat, the first menu may also include multiple functional options such as "Scan", "Payment", "My QR Code", etc. Users can quickly open WeChat's "Scan", "Payment", "My QR Code" and other functions through the first menu.
[0064] As an optional embodiment, after calling the floating window to display the interface of the first application, the method further includes:
[0065] When a drag operation on the floating window is received and the touch pressure value of the drag operation is greater than the pressure threshold, the floating window is moved along the sliding track of the drag operation.
[0066] The dragging operation on the floating window may refer to a dragging operation on any position in the floating window.
[0067] This embodiment limits the touch pressure value of the drag operation to be greater than the pressure threshold, which can distinguish the drag operation that triggers the floating window to move from the sliding operation within the floating window, so that the electronic device can more accurately determine whether to move the floating window. Figure 4a The following is an example of the sliding track of the drag operation. Figure 4a The dotted line with an arrow in the figure is the sliding track of the drag operation. Figure 4b This is an example picture after the floating window is moved.
[0068] When receiving a first press operation on the icon of a first application, the embodiment of the present application obtains the changing trend of the touch pressure value of the first press operation, and determines whether the changing trend of the touch pressure value of the first press operation is a first target changing trend. When the changing trend of the touch pressure value of the first press operation is the first target changing trend, a floating window can be called to display the interface of the first application, thereby enabling the first application to enter small window mode.
[0069] See also Figure 5 , is a schematic diagram of an implementation flow of an application control method provided by another embodiment of the present application, and the application control method is applied to an electronic device. Figure 5 As shown, the application control method may include the following steps:
[0070] Step 501: upon receiving a first pressing operation on an icon of a first application, obtaining a change trend of a touch pressure value of the first pressing operation.
[0071] This step is the same as step 301. For details, please refer to the relevant description of step 301, which will not be repeated here.
[0072] Step 502: 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 the interface of the first application.
[0073] This step is the same as step 302. For details, please refer to the relevant description of step 302, which will not be repeated here.
[0074] Step 503: upon receiving a second pressing operation on the interface of the first application, obtaining a change trend of the touch pressure value of the second pressing operation.
[0075] After the first application enters the small window mode, the user can press the interface of the first application displayed in the floating window (i.e., the second pressing operation) so that the electronic device can perform corresponding operations according to the pressing operation, such as switching the application displayed in the floating window, switching from the floating window display to the full screen display, adjusting the size of the floating window, etc.
[0076] When the electronic device receives a second press operation on the interface of the first application displayed in the floating window, it can obtain the touch pressure value of the second press operation within the time period from the start of pressing to the end of pressing. Based on the touch pressure value of the second press operation within the time period from the start of pressing to the end of pressing, the change trend of the touch pressure value of the second press operation within the time period from the start of pressing to the end of pressing can be obtained.
[0077] It should be noted that the above-mentioned second pressing operation can be a single-finger press or a multi-finger press (i.e., at least two fingers), and this is not limited here. When the above-mentioned second pressing operation is a multi-finger press, each time the touch pressure value of the second pressing operation is measured, the touch pressure values of the multiple fingers can be obtained first, and then the touch pressure value of the second pressing operation can be determined according to the touch pressure values of the multiple fingers. For example, the average value of the touch pressure values of the multiple fingers can be calculated and used as the touch pressure value of the second pressing operation, or the maximum value can be selected from the touch pressure values of the multiple fingers and used as the touch pressure value of the second pressing operation. Figure 6 The figure shows an example of the second pressing operation. Figure 6 The second pressing operation in is a single-finger press.
[0078] Step 504: according to the change trend of the touch pressure value of the second pressing operation, perform an operation matching the change trend of the touch pressure value of the second pressing operation.
[0079] Among them, a mapping relationship between M change trends of the touch pressure value of the second press operation and the corresponding operations can be pre-set, where M is an integer greater than zero. When the change trend of the touch pressure value of the second press operation is obtained in step 503, the electronic device can search for an operation that matches the change trend from the above mapping relationship and execute the operation that matches the change trend.
[0080] As an optional embodiment, according to the change trend of the touch pressure value of the second pressing operation, performing an operation matching the change trend of the touch pressure value of the second pressing operation includes:
[0081] If the change trend of the touch pressure value of the second pressing operation is the second target change trend, displaying a second menu, the second menu including at least N icons of the second application program, where N is an integer greater than zero;
[0082] When a second selection operation on a target icon among the N icons of second applications is received, the interface of the first application displayed in the floating window is switched to the interface of the second application corresponding to the target icon.
[0083] The second target change trend may be a change trend that triggers display of the second menu. Optionally, the user may set the second target change trend according to actual needs. For example, a plurality of change trend options may be provided in the setting options of the electronic device, and the user may select at least one of the plurality of change trend options as the second target change trend.
[0084] For example, the second target change trend may be "from small to large", and when the change trend of the touch pressure value of the second pressing operation is "from small to large", a second menu may be displayed, so that the user can select the second application to be displayed in the floating window from the second menu, thereby realizing fast switching of the application in the floating window. Figure 7a The second menu is shown as an example. By clicking the icon of the photo application displayed in the second menu (ie Figure 7a ), you can quickly switch between applications in the floating window, such as Figure 7b This is an example of the camera application interface displayed in a floating window.
[0085] The second application may be any application installed on the electronic device except the first application, or may be an application recently opened by the user, which is not limited here.
[0086] The target icon may be any icon selected by the user from the icons of the N second application programs. As an optional embodiment, according to the change trend of the touch pressure value of the second pressing operation, performing an operation matching the change trend of the touch pressure value of the second pressing operation includes:
[0087] If the change trend of the touch pressure value of the second pressing operation is the third target change trend, the interface of the first application is switched from floating window display to full screen display.
[0088] The third target change trend may be a change trend that triggers full-screen display. Optionally, the user may set the third target change trend according to actual needs. For example, a plurality of change trend options may be provided in the setting options of the electronic device, and the user may select at least one of the plurality of change trend options as the third target change trend.
[0089] Exemplarily, the third target change trend may be "from small to large, and then from large to small". When the change trend of the touch pressure value of the second pressing operation is "from small to large, and then from large to small", the interface of the first application can be directly switched from floating window display to full screen display, or the full screen display option can be displayed, and the interface of the first application can be displayed in full screen when the third selection operation of the full screen display option is received, so that the first application can quickly exit the small window mode. Among them, the full screen display option is displayed first, and then switched to full screen display when the third selection operation of the full screen display option is received, which can avoid user misoperation. Figure 8 The following is an example of an instant messaging application interface displayed in full screen.
[0090] As an optional embodiment, according to the change trend of the touch pressure value of the second pressing operation, performing an operation matching the change trend of the touch pressure value of the second pressing operation includes:
[0091] If the change trend of the touch pressure value of the second pressing operation is the fourth target change trend, displaying a size adjustment control of the floating window, where the size adjustment control is used to adjust the size of the floating window;
[0092] When an operation on the size adjustment control is received, the size of the floating window is adjusted accordingly.
[0093] The fourth target change trend may be a change trend of a size adjustment control that triggers the display of a floating window. Optionally, the user may set the fourth target change trend according to actual needs. For example, a plurality of change trend options may be provided in the setting options of the electronic device, and the user may select at least one of the plurality of change trend options as the fourth target change trend.
[0094] The size adjustment control can be any control that can adjust the size of the floating window, and is not limited here. Figure 9a The following is an example of a size adjustment control. The size adjustment control includes a slider and a slider. By moving the slider on the slider, the size of the floating window can be adjusted. For example, moving the slider to the right increases the size of the floating window; moving the slider to the left decreases the size of the floating window. Figure 9b This is another example of an instant messaging application interface displayed in a floating window. Figure 1b , Figure 9b Increased the size of the floating window. Fig.9c This is another example of the interface of an instant messaging application displayed in a floating window. Figure 1b , Fig.9c Reduced the size of the floating window.
[0095] Exemplarily, the fourth target change trend may be "from small to gradually large, from large to gradually small, and then from small to gradually large". When the change trend of the touch pressure value of the second pressing operation is "from small to gradually large, from large to gradually small, and then from small to gradually large", the size adjustment control of the floating window can be displayed, and the user can adjust the size of the floating window by operating the size adjustment control.
[0096] It should be noted that 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 acting on the interface of the first application, and is not limited here.
[0097] The three change trends, namely, the second target change trend, the third target change trend, and the fourth target change trend, may be all the same, partially the same, or all different. When the three change trends are all the same, icons, full-screen display options, and size adjustment controls for N second applications may be displayed in one menu. When the three change trends are partially the same, the display content corresponding to the same change trends may be displayed in one menu. For example, if the second target change trend is the same as the third target change trend, icons and full-screen display options for N second applications may be displayed in one menu.
[0098] In the embodiment of the present application, based on displaying the interface of the first application in the floating window, different functions such as switching of applications in the floating window, full-screen display, and floating window size adjustment can be more conveniently implemented by pressing the interface of the first application.
[0099] See also Fig.10 , is a structural diagram of an application control device provided in an embodiment of the present application. For the sake of convenience of explanation, only the parts related to the embodiment of the present application are shown.
[0100] The above-mentioned application control device comprises:
[0101] A first acquisition module 1001 is used to acquire a change trend of a touch pressure value of a first pressing operation on an icon of a first application program when the first pressing operation is received;
[0102] The interface display module 1002 is configured to call 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.
[0103] Optionally, the interface display module 1002 is specifically used for:
[0104] 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 includes a floating display option;
[0105] When a first selection operation on the floating display option in the first menu is received, the floating window is called to display the interface of the first application.
[0106] Optionally, the application control device further includes:
[0107] The window moving module is used to move the floating window along the sliding track of the dragging operation when a dragging operation on the floating window is received and the touch pressure value of the dragging operation is greater than a pressure threshold.
[0108] Optionally, the application control device further includes:
[0109] A second acquisition module, configured to acquire, when receiving a second pressing operation on the interface of the first application, a change trend of a touch pressure value of the second pressing operation;
[0110] The operation execution module is used to execute an operation matching 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.
[0111] Optionally, the operation execution module includes:
[0112] a menu display unit, configured to display 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 includes at least N icons of second application programs, where N is an integer greater than zero;
[0113] The application switching unit is used to switch the interface of the first application displayed in the floating window to the interface of the second application corresponding to the target icon when receiving a second selection operation on a target icon among the N icons of the second application.
[0114] Optionally, the operation execution module includes:
[0115] The display switching unit is configured to switch the interface of the first application 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 a third target change trend.
[0116] Optionally, the operation execution module includes:
[0117] a control display unit, configured to display 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 to adjust the size of the floating window;
[0118] The size adjustment unit is used to adjust the size of the floating window accordingly when receiving an operation on the size adjustment control.
[0119] The application control device provided in the embodiment of the present application can be applied in the aforementioned method embodiment. For details, please refer to the description of the aforementioned method embodiment, which will not be repeated here.
[0120] Fig.11 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Fig.11 As shown, the electronic device 11 of this embodiment includes: one or more processors 1100 (only one is shown in the figure), a memory 1101, and a computer program 1102 stored in the memory 1101 and executable on the at least one processor 1100. When the processor 1100 executes the computer program 1102, the steps in the above-mentioned various application control method embodiments are implemented.
[0121] The electronic device may include, but is not limited to, a processor 1100 and a memory 1101. Those skilled in the art will appreciate that Fig.11 It is only an example of the electronic device 11 and does not constitute a limitation of the electronic device 11. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0122] The processor 1100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0123] The memory 1101 may be an internal storage unit of the electronic device 11, such as a hard disk or 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 memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 11. Further, the memory 1101 may also include both an internal storage unit of the electronic device 11 and an external storage device. 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.
[0124] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0125] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0126] The embodiment of the present application also provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0127] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0128] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0129] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0130] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple 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.
[0131] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0132] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. An application control method, characterized in that: include: When a first pressing operation on an icon of a first application is received, obtaining 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 the first target change trend, calling a floating window to display the interface of the first application; When receiving a second pressing operation on the interface of the first application, obtaining a change trend of the touch pressure value of the second pressing operation; If the change trend of the touch pressure value of the second pressing operation is the second target change trend, displaying a second menu, the second menu including at least N icons of second applications, where N is an integer greater than zero; upon receiving a second selection operation of a target icon among the N icons of second applications, switching the interface of the first application displayed in the floating window to the interface of the second application corresponding to the target icon; 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 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 fourth target change trend, the size adjustment control of the floating window is displayed, and the size adjustment control is used to adjust the size of the floating window; when the operation of the size adjustment control is received, the size of the floating window is adjusted accordingly.
2. The application control method according to claim 1, characterized in that: If the change trend of the touch pressure value of the first pressing operation is the first target change trend, calling 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 includes a floating display option; When a first selection operation on the floating display option in the first menu is received, the floating window is called to display the interface of the first application.
3. The application control method according to claim 1, characterized in that: After calling the floating window to display the interface of the first application, the method further includes: When a drag operation on the floating window is received and the touch pressure value of the drag operation is greater than a pressure threshold, the floating window is moved along a sliding track of the drag operation.
4. An application control device, characterized in that: include: A first acquisition module, configured to, when receiving a first pressing operation on an icon of a first application, acquire a change trend of a touch pressure value of the first pressing operation; an interface display module, configured to call 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; A second acquisition module, configured to acquire, when receiving a second pressing operation on the interface of the first application, a change trend of a touch pressure value of the second pressing operation; an operation execution module, configured to display a second menu if the change trend of the touch pressure value of the second pressing operation is a second target change trend, the second menu comprising at least N icons of second applications, where N is an integer greater than zero; and when receiving a second selection operation on a target icon among the N icons of second applications, switch the interface of the first application displayed in the floating window to the interface of the second application corresponding to the target icon; If the change trend of the touch pressure value of the second pressing operation is the third target change trend, the interface of the first application is switched 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 fourth target change trend, the size adjustment control of the floating window is displayed, and the size adjustment control is used to adjust the size of the floating window; when the operation of the size adjustment control is received, the size of the floating window is adjusted accordingly.
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: When the processor executes the computer program, the steps of the application control method according to any one of claims 1 to 3 are implemented.
6. A chip, comprising a processor, characterized in that: The processor is used to read and execute a computer program stored in the memory to perform 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: When the computer program is executed by a processor, the steps of the application control method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Method and system for information display
CN106919317A
Method and terminal for responding to gesture acting on touch screen
CN108431756A
Application icon display method and device, electronic equipment and storage medium
CN111381739A
