Application interface display methods, devices, terminals, and storage media

By displaying quick app icons in the second screen area of ​​the foldable screen terminal, the problem of having to reopen applications after switching from a large screen to a small screen is solved, achieving efficient handover of application interfaces and simplified operation.

CN115202773BActive Publication Date: 2026-04-03GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-12
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

When a foldable screen device switches from a large screen to a small screen, the target application that is running stops displaying. The user needs to unlock the device again and reopen the application, which is cumbersome and affects the efficiency of opening the application interface.

Method used

When the foldable screen terminal switches from the unfolded state to the folded state, the target application interface stops being displayed in the first screen area, and a shortcut application icon of the target application is displayed in the second screen area. The display method of the shortcut application icon is different from the display method of the default application icon. Users can trigger the shortcut application icon to display the target application interface in the second screen area.

Benefits of technology

It simplifies the application handover process, improves the efficiency of opening application interfaces, and avoids the need to search for the default application icon again after the terminal is collapsed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115202773B_ABST
    Figure CN115202773B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, terminal, and storage medium for displaying an application interface, relating to the field of human-computer interaction technology. The method includes: displaying the target application interface of a target application in a first screen area when the foldable screen terminal is in an unfolded state; stopping the display of the target application interface in the first screen area and displaying a shortcut application icon of the target application in a second screen area in response to the foldable screen terminal switching from an unfolded state to a folded state, wherein the display method of the shortcut application icon is different from the display method of the default application icon of the target application; and displaying the target application interface in the second screen area in response to a trigger operation on the shortcut application icon. Using the method provided in this application embodiment, application relay between different screens in a foldable screen terminal can be realized, improving the efficiency of opening application interfaces.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of human-computer interaction technology, and in particular to a method, device, terminal, and storage medium for displaying an application interface. Background Technology

[0002] With the development of technology, terminals can now use multiple displays to show application interfaces. For example, when using a foldable screen, the display can be shown in a "small screen" mode when folded, and in a "large screen" mode when unfolded.

[0003] When the target application's interface is displayed in "large screen" mode, if a folding operation is performed, the terminal's display screen switches from "large screen" to "small screen," the running target application will stop displaying, and the terminal will enter a locked screen state. If you need to re-enter the target application, you need to unlock the terminal and reopen the application. Summary of the Invention

[0004] This application provides a method, apparatus, terminal, and storage medium for displaying an application interface. The technical solution is as follows:

[0005] On the one hand, embodiments of this application provide a method for displaying an application interface. The method is used in a foldable screen terminal, which has a first screen area and a second screen area, wherein the size of the first screen area is larger than the size of the second screen area.

[0006] The method includes:

[0007] When the foldable screen terminal is in the unfolded state, the target application interface of the target application is displayed in the first screen area;

[0008] In response to the foldable screen terminal switching from an unfolded state to a folded state, the display of the target application interface in the first screen area is stopped, and a shortcut application icon of the target application is displayed in the second screen area. The display method of the shortcut application icon is different from the display method of the default application icon of the target application.

[0009] In response to a trigger operation on the shortcut app icon, the target app interface is displayed in the second screen area.

[0010] On the other hand, embodiments of this application provide a display device for an application interface. The device is used in a foldable screen terminal, which has a first screen area and a second screen area, wherein the size of the first screen area is larger than the size of the second screen area.

[0011] The device includes:

[0012] The first display module is used to display the target application interface of the target application in the first screen area when the foldable screen terminal is in the unfolded state.

[0013] The second display module is used to stop displaying the target application interface in the first screen area and display the shortcut application icon of the target application in the second screen area in response to the foldable screen terminal switching from an unfolded state to a folded state. The display method of the shortcut application icon is different from the display method of the default application icon of the target application.

[0014] The third display module is used to display the target application interface in the second screen area in response to a trigger operation on the shortcut application icon.

[0015] On the other hand, embodiments of this application provide a terminal, the terminal including a processor and a memory; the memory stores at least one instruction, the at least one instruction being executed by the processor to implement the application interface display method as described above.

[0016] On the other hand, a computer-readable storage medium is provided that stores at least one instruction, which is executed by a processor to implement the method for displaying an application interface as described above.

[0017] On the other hand, embodiments of this application provide a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the application interface display method provided above.

[0018] The beneficial effects of the technical solutions provided in this application include at least the following:

[0019] In this embodiment, when the target application's interface is displayed on a larger first screen area, if the terminal is folded, the display of the target application interface stops on the first screen area and is instead displayed on the second screen area. At this time, a shortcut icon for the target application is displayed on the second screen area. By triggering this shortcut icon, the user can access the target application interface on the second screen area, avoiding the need to search for the default application icon to open the application after the terminal is folded. Using the method provided in this embodiment, users can continue to use the target application through the second screen area, achieving application handover between different screens in a foldable terminal, thereby improving the efficiency of opening the application interface. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This invention illustrates a structural block diagram of a terminal provided in an exemplary embodiment of this application;

[0022] Figure 2 A structural block diagram of a terminal provided in another exemplary embodiment of this application is shown;

[0023] Figure 3 This invention provides a schematic diagram of the structure of an outward-folding screen terminal according to an exemplary embodiment of the present application.

[0024] Figure 4 This invention provides a schematic diagram of the structure of an inwardly folding screen terminal according to an exemplary embodiment of the present application.

[0025] Figure 5 A flowchart illustrating a method for displaying an application interface provided in an exemplary embodiment of this application is shown.

[0026] Figure 6 A schematic diagram illustrating the application interface display process provided in an exemplary embodiment of this application is shown.

[0027] Figure 7 A flowchart illustrating a method for displaying an application interface provided in another exemplary embodiment of this application is shown;

[0028] Figure 8 A schematic diagram illustrating the application interface display process provided in another exemplary embodiment of this application is shown.

[0029] Figure 9 A schematic diagram of the interface for displaying a shortcut application icon provided in an exemplary embodiment of this application is shown.

[0030] Figure 10 A schematic diagram illustrating the application interface display process provided in another exemplary embodiment of this application is shown.

[0031] Figure 11 A flowchart illustrating a method for displaying an application interface provided in another exemplary embodiment of this application is shown;

[0032] Figure 12 A schematic diagram illustrating the application interface display process provided in another exemplary embodiment of this application is shown.

[0033] Figure 13 This illustration shows a structural block diagram of a display device for an application interface provided in an exemplary embodiment of this application. Detailed Implementation

[0034] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0035] refer to Figure 1 and Figure 2 The diagram illustrates a structural block diagram of a terminal 100 provided in an exemplary embodiment of this application. The terminal 100 may be a smartphone, tablet computer, e-reader, etc. The terminal 100 in this application may include one or more components such as a processor 110, a memory 120, and a display screen 130.

[0036] Processor 110 may include one or more processing cores. Processor 110 connects to various parts within terminal 100 using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 120, and by calling data stored in memory 120. Optionally, processor 110 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 110 may integrate one or more of a Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required to be displayed on the touch screen 130; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 110 and may be implemented as a separate chip.

[0037] The memory 120 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 120 may include a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the various method embodiments described below, etc.; the data storage area may store data created according to the use of the terminal 100 (such as audio data, phone book, etc.).

[0038] Taking the Android operating system as an example, the programs and data stored in the memory 120 are as follows: Figure 1 As shown, memory 120 stores the Linux kernel layer 220, system runtime library layer 240, application framework layer 260, and application layer 280. The Linux kernel layer 220 provides low-level drivers for various hardware components of the terminal 100, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, and power management. The system runtime library layer 240 provides support for key Android features through several C / C++ libraries. For example, the SQLite library provides database support, the OpenGL / ES library provides 3D graphics support, and the Webkit library provides browser kernel support. The system runtime library layer 240 also provides the Android Runtime, which mainly provides core libraries that allow developers to write Android applications using Java. The application framework layer 260 provides various Application Programming Interfaces (APIs) that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content providers, package management, call management, resource management, and location management. At least one application runs in the application layer 280. These applications can be built-in contact programs, SMS programs, clock programs, camera applications, etc., or they can be applications developed by third-party developers, such as instant messaging programs, photo enhancement programs, etc.

[0039] Taking the operating system as an example (iOS), the programs and data stored in memory 120 are as follows: Figure 2As shown, the iOS system includes: Core OS layer 320, Core Services layer 340, Media layer 360, and Cocoa Touch layer 380. Core OS layer 320 includes the operating system kernel, drivers, and low-level program frameworks. These low-level program frameworks provide hardware-level functionality for use by the program frameworks located in Core Services layer 340. Core Services layer 340 provides system services and / or program frameworks required by applications, such as Foundation framework, account framework, advertising framework, data storage framework, network connectivity framework, geolocation framework, motion framework, etc. Media layer 360 provides applications with audiovisual interfaces, such as interfaces related to graphics and images, audio technology, video technology, and AirPlay (wireless playback of audio and video transmission technologies). Cocoa Touch layer 380 provides various commonly used interface-related frameworks for application development and is responsible for user touch interaction on terminal 100. Examples include local notification services, remote push services, advertising frameworks, game tool frameworks, message user interface (UI) frameworks, UIKit user interface frameworks, map frameworks, and so on.

[0040] exist Figure 2 The framework shown includes, but is not limited to, the base framework in the core service layer 340 and the UIKit framework in the touchable layer 380. The base framework provides many basic object classes and data types, offering the most basic system services to all applications, and is independent of the UI. The UIKit framework, on the other hand, provides a basic UI class library for creating touch-based user interfaces. iOS applications can use the UIKit framework to provide their UI, thus providing the application's infrastructure for building user interfaces, drawing, handling user interaction events, responding to gestures, and so on.

[0041] The display screen 130 is used to display the application interface of each application; when the display screen 130 also has a touch function, it is also used to receive touch operations by the user using a finger, stylus or any suitable object on or near it.

[0042] Optionally, the display screen 130 includes a first screen area and a second screen area. In this embodiment, the terminal can be an inward-folding screen terminal or an outward-folding screen terminal. When the terminal is an outward-folding screen terminal, the first screen area and the second screen area belong to the same screen, and the first screen area is the entire screen area, while the second screen area is a portion of the screen area. (Illustrative example, as shown...) Figure 3As shown, when the outward-folding terminal is in the unfolded state, the first screen area 301 is in a planar state and includes a first display area 303 and a second display area 304; while when the outward-folding screen terminal is folded, the display area is the second screen area 302, which can be either the first display area 303 or the second display area 304.

[0043] When the terminal is an inward-folding screen terminal, the first screen area and the second screen area are independent screens, as illustrated. Figure 4 As shown, when the inward-folding screen terminal is in the unfolded state, the first screen area 401 is in a flat state, and both the first screen area 401 and the second screen area 402 are exposed. The second screen area 402 is located on the back of the first screen area 401. When the inward-folding screen terminal is in the folded state, the first screen area 401 is folded and not exposed, while the second screen area 402 is exposed. Users can switch the foldable screen between the unfolded and folded states according to their usage needs. For example, when the user does not need to use the terminal, the terminal can be folded to make it more portable. As another example, when the user needs to watch videos, the terminal can be unfolded.

[0044] To achieve screen folding, in one possible implementation, when the terminal is an outward-folding screen terminal, the screen is made of a flexible material (with a certain degree of stretchability), or the bending area of ​​the screen is made of a flexible material; while when the terminal is an inward-folding screen terminal, the screen corresponding to the first screen area is made of a flexible material (with a certain degree of stretchability), or the bending area is made of a flexible material.

[0045] Figure 3 and Figure 4 In this embodiment, only the display screen 130 containing two screens is used as an example for illustration. In some other possible implementations, the display screen 130 may contain n (n≥3) screens, thereby realizing an n-1 fold structure terminal. This embodiment does not limit this.

[0046] Optionally, the terminal 100 may also include at least one other component, including a camera, a fingerprint sensor, a proximity sensor, a distance sensor, etc. In some embodiments, the at least one other component may be located on the front, side, or back of the terminal 100, for example, the fingerprint sensor may be located on the back cover or side, and the camera may be located on one side of the display screen 130.

[0047] In other embodiments, at least one additional component may be integrated inside or beneath the display screen 130. In some embodiments, a bone conduction earpiece is disposed inside the terminal 100; other components on the front panel of a conventional terminal are integrated into all or part of the display screen 130, for example, the photosensitive element in a camera is divided into multiple photosensitive pixels, and each photosensitive pixel is integrated into the black area of ​​each display pixel in the display screen 130, enabling the display screen 130 to have image acquisition capabilities. Because at least one additional component is integrated inside or beneath the display screen 130, the terminal 100 has a higher screen-to-body ratio.

[0048] In some optional embodiments, edge touch sensors are provided on a single side, two sides (e.g., left and right sides), or four sides (e.g., top, bottom, left, and right sides) of the mid-frame of terminal 100. These edge touch sensors are used to detect at least one of the following user actions on the mid-frame: touch, click, press, and swipe. The edge touch sensor can be any of a touch sensor, a thermal sensor, a pressure sensor, etc. Users can apply operations to the edge touch sensors to control applications in terminal 100.

[0049] In addition, those skilled in the art will understand that the structure of the terminal 100 shown in the above figures does not constitute a limitation on the terminal 100. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the terminal 100 may also include radio frequency circuits, input units, audio circuits, a Wireless Fidelity (WiFi) module, a power supply, a Bluetooth module, and other components, which will not be described in detail here.

[0050] Please refer to Figure 5 This document illustrates a flowchart of an application interface display method according to an embodiment of this application. The method is applied to a foldable screen terminal, which has a first screen area and a second screen area, wherein the size of the first screen area is larger than the size of the second screen area. The method includes:

[0051] Step 501: When the foldable screen terminal is in the unfolded state, display the target application interface of the target application in the first screen area.

[0052] In this embodiment, the unfolded state refers to the state where the first screen area is on a plane. The terminal can determine whether it is in the unfolded state by detecting whether the first screen area is located on the same plane. Figure 3As shown, the first screen area 301 includes a first display area 303 and a second display area 304. When the angle between the first display area 303 and the second display area 304 is 180°, the foldable screen terminal is determined to be in the unfolded state. Correspondingly, as... Figure 4 As shown, when the first screen area 401 is located on the same plane, the terminal is determined to be in the unfolded state.

[0053] In one possible implementation, when the foldable screen terminal is in the unfolded state, the target application interface of the target application is displayed through the first screen area, and the target application is the application that is currently running.

[0054] Optionally, the target application can be any application installed on the terminal, including native applications and third-party applications. This application embodiment does not limit this.

[0055] Indicative, such as Figure 6 As shown, the target application is an instant messaging application. When the terminal is in an expanded state, the target application interface 602 of the target application is displayed through the first screen area 601.

[0056] Step 502: In response to the foldable screen terminal switching from an unfolded state to a folded state, the display of the target application interface in the first screen area is stopped, and the shortcut application icon of the target application is displayed in the second screen area. The display method of the shortcut application icon is different from the display method of the default application icon of the target application.

[0057] In this embodiment, the folded state refers to the state where the first screen area is located on different planes. When the foldable screen terminal switches from the unfolded state to the folded state, it indicates that the user may no longer want to use the target application, or may need to continue using the target application through the second screen area. If the user needs to continue using the target application through the second screen area, the size of the target application interface needs to be adjusted. If the target application cannot adjust its interface size during operation, the target application interface will not display correctly, and the target application will not be usable. Therefore, in related technologies, when the display of the target application interface is stopped, the user needs to reopen the target application through its icon. That is, the user needs to find the target application icon again in the page displayed in the second screen area and enter the target application by triggering an operation, or reopen the target application in the background multitasking management interface to avoid being unable to continue using the target application. During the process of reopening the target application, the user needs to find the target application icon among many application icons, or open the background multitasking management interface and find the target application, which is a rather cumbersome process. In this embodiment, to avoid finding the icon corresponding to the target application, after the foldable screen terminal switches to the folded state, a shortcut icon of the target application will be displayed in the second screen area for the user to quickly trigger.

[0058] Optionally, the display method of the shortcut app icon may differ from that of the target application's default app icon. In one possible implementation, the shortcut app icon and the default app icon may have different display formats. For example, adding an identifier to the default app icon, enlarging the default app icon, or making the default app icon dynamically displayed can facilitate user activation. In another possible implementation, the shortcut app icon and the default app icon may have different display locations. For example, the default app icon may be in the desktop menu bar, while the shortcut app icon may be in the dock or on the lock screen.

[0059] Indicative, such as Figure 6 As shown, when the foldable screen terminal is in a folded state, the terminal displays the main interface 604 in the second screen area 603, wherein the main interface 604 contains the shortcut application icon 605 corresponding to the target application.

[0060] Step 503: In response to the trigger operation on the shortcut app icon, display the target app interface in the second screen area.

[0061] When a user triggers a shortcut app icon, the target app interface will be displayed in the second screen area. Optionally, the triggering operation can be at least one of a click operation, a long press operation, or a swipe operation; this embodiment does not limit the specific form of the triggering operation.

[0062] In one possible implementation, the target application interface displayed in the second screen area is the same as the content displayed when the target application interface in the first screen area stops displaying. (Illustrative example, such as...) Figure 6 As shown, when the user triggers the shortcut application icon 605, the terminal will continue to display the target application interface 602 in the second screen area 603.

[0063] In summary, in this embodiment, when the target application's interface is displayed on a larger first screen area, if the terminal is folded, the display of the target application interface stops on the first screen area and is instead displayed on the second screen area. At this time, a shortcut icon for the target application is displayed on the second screen area. By triggering this shortcut icon, the user can access the target application interface on the second screen area, avoiding the need to search for the default application icon to open the application after the terminal is folded. Using the method provided in this embodiment, users can continue to use the target application through the second screen area, simplifying the application handover process between different screens in a foldable terminal and thus improving the efficiency of opening the application interface.

[0064] In one possible application scenario, after a user folds the foldable screen terminal, the terminal will be temporarily paused. If the shortcut icon of the target application is displayed directly on the second screen area at this time, it may cause accidental touches. Therefore, in one possible implementation, when the foldable screen terminal is folded, the lock screen interface will be displayed first, and the shortcut icon of the target application will be displayed after unlocking to avoid accidental touches. The following will describe the implementation with an exemplary embodiment.

[0065] Please refer to Figure 7 The diagram illustrates a flowchart of a method for displaying an application interface according to another embodiment of this application. The method is described using the aforementioned foldable screen terminal as an example, and includes the following steps:

[0066] Step 701: When the foldable screen terminal is in the unfolded state, display the target application interface of the target application in the first screen area.

[0067] The implementation method for this step can refer to step 501 above, and will not be repeated in this embodiment.

[0068] Step 702: In response to the foldable screen terminal switching from an unfolded state to a folded state, stop displaying the target application interface in the first screen area and display the lock screen interface in the second screen area.

[0069] In one possible implementation, when the foldable screen terminal switches from an unfolded state to a folded state, a lock screen interface will be displayed in the second screen area to avoid accidental touches of quick app icons. After entering the lock screen interface, the user needs to unlock the terminal before they can continue to trigger the quick app icons to open the target application.

[0070] Indicative, such as Figure 8 As shown, when the foldable screen terminal switches from the unfolded state to the folded state, the lock screen interface 802 will be displayed in the second screen area 801.

[0071] Step 703: In response to the unlock command, the main interface is displayed in the second screen area.

[0072] Optionally, the unlock command can be at least one of the following: a password command, a fingerprint command, or a facial command. When a password command is used, the terminal will receive the unlock command if the password entered by the user is the same as the preset password. When a fingerprint command is used, the terminal will receive the unlock command if the fingerprint image entered by the user is the same as the preset image. When a facial command is used, the terminal will receive the unlock command if the facial image entered by the user is the same as the preset image.

[0073] In one possible implementation, after the terminal receives an unlock command, the main interface will be displayed in the second screen area. Optionally, the main interface includes different application icons or different functional controls, and its display format can be the system default setting or a user-defined setting; this embodiment does not limit this.

[0074] Indicative, such as Figure 8 As shown, when the terminal receives the unlock command, the main interface 803 will be displayed in the second screen area 801.

[0075] Step 704: Display the shortcut icon of the target application in the main interface.

[0076] Optionally, after the main interface is displayed in the second screen area, the shortcut icon of the target application can be displayed at any position on the main interface. However, since the display format of the main interface may change, affecting the triggering efficiency of the shortcut icon, in another possible implementation, the shortcut icon of the target application will be displayed at a fixed position on the main interface. Optionally, the main interface includes a dock bar, which is fixedly displayed on the main interface, and the shortcut icon of the target application can be displayed in the dock bar of the main interface.

[0077] In one possible implementation, shortcut app icons can be directly displayed in the dock of the main interface to trigger the display of the target application interface. Optionally, when displaying shortcut app icons in the dock of the main interface, shortcut app icons for the target application can be added to the dock, and the layout of the dock can be adjusted. For example, if there are originally three application icons in the dock, when adding shortcut app icons, the icon size and spacing between the original three application icons can be adjusted first, so that after adding shortcut app icons, the application icons in the dock are all the same size and equally spaced.

[0078] Alternatively, to ensure users immediately perceive the location of the quick app icon, it can be animated after the main interface is displayed in the second screen area. For example, in the dock of the main interface, a slide-in animation can be used to display the quick app icon of the target application. The slide-in method can be from the right side, left side, or bottom of the dock; this embodiment does not limit the specific form of the slide-in animation. Besides displaying it via a slide-in animation, the quick app icon can also be displayed by dynamically flashing to alert the user.

[0079] In one possible implementation, the way the shortcut app icon is displayed in the dock bar can be determined by whether the dock bar contains the default app icon for the target application.

[0080] Optionally, in response to the main interface's dock not containing the target application's default app icon, a shortcut app icon for the target application can be displayed in the dock via a slide-in animation.

[0081] When the dock does not contain the default application icon for the target application, you can slide a shortcut application icon into the dock, or adjust the dock layout to add a shortcut application icon to the dock. This means adding a shortcut application icon to the dock so that its display position is different from that of the default application icon, but its display style is the same as that of the default application icon.

[0082] Optionally, in response to the default application icon of the target application being included in the dock bar of the main interface, a preset identifier is added around the default application icon to obtain a shortcut application icon. The preset identifier is used to indicate that the target application was recently displayed in the first screen area.

[0083] When the dock contains the default app icon for the target application, the shortcut app icon must have a different display style than the default app icon. This can be achieved by adding preset icons around the default app icon. For example, preset icons can be added to the bottom left, top left, center, top right, and bottom right corners of the default app icon to create shortcut app icons.

[0084] Optionally, the preset identifier can be a preset shape identifier, such as a triangle or a star, or a preset pattern identifier, such as a thumbnail of the first screen area or a thumbnail of the default application icon. The preset identifier can be displayed statically around the default application icon or dynamically around the default application icon.

[0085] Indicative, such as Figure 8 As shown, after receiving the unlock command, since the dock bar 804 does not contain default application icons, the icon layout in dock 804 is adjusted, and a quick application icon 805 is added to the dock bar 804 on the main interface.

[0086] Indicative, such as Figure 9 As shown, when the unlock command is received, since the dock bar 901 contains the default application icon 902, the terminal adds a preset identifier 903 to the upper right corner of the default application icon 902 to obtain the quick application icon 904.

[0087] Step 705: In response to the trigger operation on the shortcut app icon, display the target app interface in the second screen area.

[0088] The implementation method for this step can refer to step 503 above, and will not be repeated in this embodiment.

[0089] Step 706: Remove the shortcut icon of the target application from the second screen area.

[0090] To facilitate users in reopening the target application, quick app icons are displayed in the dock. However, if quick app icons are continuously displayed, the dock will show quick app icons for different applications, resulting in too many application icons displayed in the dock. Therefore, this embodiment sets up a removal mechanism. After the user triggers the quick app icon and the target application interface is displayed in the second screen area, the quick app icon will be removed from the dock.

[0091] Optionally, the removal method can be determined based on the display format of the quick app icon. If the dock did not originally contain a default app icon, and the quick app icon appears in the dock via a slide-in animation, then the quick app icon will be deleted from the dock upon removal. However, if the dock originally contained a default app icon, and the quick app icon is an icon composed of the default app icon and a preset identifier, then the preset identifier will be deleted upon removal, and the quick app icon will be restored to the default app icon.

[0092] Indicative, such as Figure 8 As shown, when a trigger operation is received on the shortcut application icon 805, the terminal displays the target application interface 806 in the second screen area 801. At this time, the shortcut application icon 805 in the dock bar 804 will be removed, and the dock bar 804 will only contain the default application icons of other original applications.

[0093] In this embodiment, after the target application interface stops being displayed in the first screen area, the lock screen interface is displayed first to avoid accidental touches of the shortcut application icons. After the user executes the unlock command, the shortcut application icons will be displayed in the dock bar of the main interface, making it easier for the user to quickly trigger the shortcut application icons and helping to improve the display efficiency of the target application interface.

[0094] Furthermore, in this embodiment, after the target application interface is displayed in the second screen area, the shortcut application icon will be removed from the second screen area to avoid displaying shortcut application icons of multiple applications at the same time, thereby affecting the triggering of the shortcut application icon of the target application.

[0095] In another possible implementation, after the shortcut icon of the target application is displayed in the second screen area, the user may not activate the shortcut icon but instead restart another application. The corresponding application interface of that other application will then be displayed in the second screen area. If the user restarts another application, it indicates that the user no longer needs to use the target application, and the shortcut icon displayed in the second screen area can be removed.

[0096] Optionally, in response to a launch command from another application besides the target application, the application interface of the other application is displayed in the second screen area, and the shortcut icon of the target application is removed from the second screen area. The launch command can be a trigger command, a voice command, etc. When the other application is launched, its corresponding application interface is displayed in the second screen area. At this time, the shortcut icon of the target application is removed from the second screen area. The removal method can refer to step 706 above, and will not be repeated here.

[0097] In the above embodiments, after the foldable screen terminal switches from an unfolded state to a folded state, a lock screen interface will be displayed in the second screen area. The target application interface can only be displayed in the second screen area by unlocking the device and triggering the quick application icon again, which is a relatively cumbersome process. Therefore, to further improve the efficiency of displaying the target application interface, in one possible implementation, after the foldable screen terminal switches from an unfolded state to a folded state and stops displaying the target application interface in the first screen area, the quick application icon can be displayed and triggered in the following way.

[0098] Step 1: Display the lock screen interface containing shortcut app icons in the second screen area.

[0099] To avoid needing to unlock the device before triggering the quick app icon, in one possible implementation, the lock screen interface containing the quick app icon can be displayed directly in the second screen area. In this case, the target application can be opened directly by triggering the quick app icon contained in the lock screen interface.

[0100] Indicative, such as Figure 10 As shown, when the foldable screen terminal switches from the unfolded state to the folded state, the target application interface 1002 stops being displayed in the first screen area 1001, and the lock screen interface 1004 is displayed in the second screen area 1003. The lock screen interface 1004 contains quick application icons 1005.

[0101] Step 2: Respond to the trigger operation of the quick app icon and after unlocking verification, display the target app interface in the second screen area.

[0102] In one possible implementation, the terminal can be unlocked via fingerprint unlocking. When a trigger operation is received from a shortcut app icon on the lock screen, the terminal simultaneously captures a fingerprint image and matches it with a preset fingerprint image. If the match is successful, the terminal unlocks and directly displays the target app interface in the second screen area. If the match fails, the user is prompted to try again. If multiple matches fail, the user can continue to unlock by entering a password or facial image. Upon successful unlocking, the target app interface is directly displayed.

[0103] Indicative, such as Figure 10 As shown, when the user triggers the quick application icon 1005 in the lock screen interface 1004, the terminal will display the target application interface 1002 in the second screen area 1003.

[0104] The above embodiments illustrate the process of switching from displaying in the first screen area to displaying in the second screen area. In a possible application scenario, there is also a situation where the display is switched from the second screen area to the first screen area. This situation will be described below with an exemplary embodiment.

[0105] Please refer to Figure 11 The diagram illustrates a flowchart of a method for displaying an application interface according to another embodiment of this application. The method is described using the aforementioned foldable screen terminal as an example, and includes the following steps:

[0106] Step 1101: In response to the foldable screen terminal switching from a folded state to an unfolded state, stop displaying the target application interface in the second screen area.

[0107] In one possible implementation, when the foldable screen terminal switches from a folded state to an unfolded state, the first screen area will be in a flat state. At this time, the display of the target application interface in the second screen area will stop, and the terminal will display through the first screen area.

[0108] Indicative, such as Figure 12 As shown, when the foldable screen terminal switches from the folded state to the unfolded state, the terminal will stop displaying the target application interface 1202 in the second screen area 1201.

[0109] Step 1102: Display the shortcut icon of the target application in the first screen area.

[0110] In one possible implementation, when the foldable screen terminal is in the unfolded state, the user will continue to use the terminal. Therefore, when switching from the second screen area to the first screen area for display, the shortcut application icon of the target application can be directly displayed in the main interface displayed in the first screen area without displaying the lock screen interface. The display method of the shortcut application icon of the target application in the first screen area can refer to step 704 above, which will not be repeated in this embodiment.

[0111] In another possible implementation, since the display interface size increases when switching from the second screen area to the first screen area, and the target application may support adjusting the interface size at runtime, that is, when switching from the second screen area to the first screen area, the target application interface is stopped from being displayed in the second screen area and can be displayed directly in the first screen area.

[0112] Therefore, after stopping the display of the target application interface in the second screen area, the first step is to determine whether the target application supports runtime interface resizing. Optionally, this can be determined based on the target application's application information.

[0113] The terminal can obtain application information of the target application in real time (such as the application package name) to determine whether the target application supports runtime interface size adjustment. Optionally, the terminal can pre-store a list of applications that support runtime interface size adjustment. When the terminal obtains the application package name of the target application, it determines whether the obtained application package name belongs to the list of applications that support runtime interface size adjustment. If it does, the target application can adjust the interface size during operation; if it does not, the target application cannot adjust the interface size during operation. It should be noted that other methods can also be used to determine whether the target application supports runtime interface size adjustment. This embodiment only provides an illustrative example of the determination method and does not impose specific limitations.

[0114] Optionally, in response to the target application not supporting runtime interface resizing, a shortcut icon for the target application is displayed in the first screen area.

[0115] When the target application does not support resizing, if it is displayed directly in the first screen area, the displayed size will be the same as the size displayed in the second screen area. This will leave a significant amount of blank space in the first screen area, affecting the display effect of the target application. Therefore, when the target application does not support resizing, a shortcut icon for the target application will be displayed in the first screen area for easy user access. This allows the user to reopen the target application and ensure that the target application interface matches the size of the first screen area.

[0116] Indicative, such as Figure 12 As shown, when it is determined that the target application does not support runtime interface resizing, the terminal will display a quick application icon 1204 in the first screen area 1203.

[0117] Optionally, in response to the target application supporting runtime interface resizing, the target application's target application interface is displayed in the first screen area.

[0118] When the target application supports resizing, its interface can be directly displayed in the first screen area. Optionally, the terminal may pre-store a first application interface of the target application, adapted to the display size of the first screen area, and a second application interface of the target application, adapted to the display size of the second screen area. When switching to the first screen area for display, the first application interface of the target application can be directly displayed in the first screen area.

[0119] Step 1103: In response to the trigger operation on the shortcut application icon, display the target application interface in the first screen area.

[0120] When the shortcut app icon is triggered, the terminal will display the target app interface in the first screen area. The content of the target app interface is the same as the target app interface when it stops displaying in the second screen area.

[0121] Optionally, after the target application interface is displayed in the first screen area, the shortcut application icon in the first screen area will be removed. The removal method can refer to the method of removing the shortcut application icon from the second screen area in step 706 above, which will not be repeated in this embodiment.

[0122] Similarly, if the user launches another application after the shortcut icon of the target application is displayed in the first screen area, the user interface of the other application will be displayed in the first screen area, and the shortcut icon in the first screen area will be removed.

[0123] Indicative, such as Figure 12 As shown, when a trigger operation is received on the shortcut application icon 1204, the terminal will display the target application interface 1202 in the first screen area 1203.

[0124] In this embodiment, when switching from the second screen area to the first screen area for display, the system first determines whether runtime interface size adjustment is supported based on the application information of the target application. If supported, the target application interface is directly displayed through the first screen area, improving the display efficiency of the target application interface. If not supported, a shortcut application icon is displayed in the first screen area to avoid searching for the default application icon again, thus improving the display efficiency of the target application interface.

[0125] Please refer to Figure 13 This diagram illustrates a structural block diagram of a display device for an application interface provided in one embodiment of this application. The device can be implemented as all or part of a terminal through software, hardware, or a combination of both. The device is used in a foldable screen terminal, which has a first screen area and a second screen area, wherein the size of the first screen area is larger than the size of the second screen area. The device includes:

[0126] The first display module 1301 is used to display the target application interface of the target application in the first screen area when the foldable screen terminal is in the unfolded state.

[0127] The second display module 1302 is used to stop displaying the target application interface in the first screen area and display the shortcut application icon of the target application in the second screen area in response to the foldable screen terminal switching from an unfolded state to a folded state. The display mode of the shortcut application icon is different from the display mode of the default application icon of the target application.

[0128] The third display module 1303 is used to display the target application interface in the second screen area in response to a trigger operation on the shortcut application icon.

[0129] Optionally, the second display module 1302 includes:

[0130] The first display unit is used to display the lock screen interface in the second screen area;

[0131] The second display unit is used to display the main interface in the second screen area in response to the unlock command;

[0132] The third display unit is used to display the shortcut application icon of the target application in the main interface.

[0133] Optionally, the main interface includes a dock bar, which is permanently displayed on the main interface.

[0134] Optionally, the third display unit is further configured to:

[0135] In the dock bar of the main interface, the shortcut application icon of the target application is displayed through a slide-in animation.

[0136] or,

[0137] Add the shortcut icon of the target application to the dock bar on the main interface, and adjust the layout of the dock bar.

[0138] Optionally, the third display unit is further configured to:

[0139] In response to the fact that the dock bar of the main interface does not contain the default application icon of the target application, the shortcut application icon of the target application is displayed in the dock bar by a slide-in animation.

[0140] Optionally, the third display unit is further configured to:

[0141] In response to the fact that the dock bar of the main interface contains the default application icon of the target application, a preset identifier is added around the default application icon to obtain the shortcut application icon. The preset identifier is used to indicate that the target application was recently displayed in the first screen area.

[0142] Optionally, the second display module 1302 is further configured to:

[0143] A lock screen interface containing the shortcut app icons is displayed in the second screen area.

[0144] Optionally, the third display module 1303 is further configured to:

[0145] In response to the triggering operation of the shortcut application icon and after unlocking verification, the target application interface is displayed in the second screen area.

[0146] Optionally, the device further includes:

[0147] A first removal module is used to remove the shortcut app icon of the target application from the second screen area.

[0148] Optionally, the device further includes:

[0149] The second removal module is used to respond to a launch command from another application besides the target application, display the application interface of the other application in the second screen area, and remove the shortcut application icon of the target application from the second screen area.

[0150] Optionally, the device further includes:

[0151] A stop display module is used to stop displaying the target application interface in the second screen area in response to the foldable screen terminal switching from a folded state to an unfolded state.

[0152] The fourth display module is used to display the shortcut application icon of the target application in the first screen area;

[0153] The fifth display module is used to display the target application interface in the first screen area in response to a trigger operation on the shortcut application icon.

[0154] Optionally, the fourth display module includes:

[0155] The determining unit is configured to determine, based on the application information of the target application, whether the target application supports runtime adjustment of the interface size;

[0156] The fourth display unit is configured to display the shortcut application icon of the target application in the first screen area in response to the target application not supporting runtime interface size adjustment.

[0157] Optionally, the device further includes:

[0158] The sixth display module is used to display the target application interface in the first screen area in response to the target application supporting runtime interface size adjustment.

[0159] Optionally, the foldable screen terminal is an inward foldable screen terminal, where the first screen area and the second screen area are independent screens, and the first screen area supports folding inward; when the inward foldable screen terminal is in the unfolded state, both the first screen area and the second screen area are exposed, and when the inward foldable screen terminal is in the folded state, the second screen area is exposed.

[0160] or,

[0161] The foldable screen terminal is an outward foldable screen terminal. The first screen area and the second screen area belong to the same screen. The first screen area is the complete screen area of ​​the screen, and the second screen area is a partial screen area of ​​the screen.

[0162] In summary, in this embodiment, when the target application's interface is displayed on a larger first screen area, if the terminal is folded, the display of the target application interface stops on the first screen area and is instead displayed on the second screen area. At this time, a shortcut icon for the target application is displayed on the second screen area. By triggering this shortcut icon, the user can access the target application interface on the second screen area, avoiding the need to search for the default application icon to open the application after the terminal is folded. Using the method provided in this embodiment, users can continue to use the target application through the second screen area, achieving application handover between different screens in a foldable terminal, thereby improving the efficiency of opening the application interface.

[0163] This application also provides a computer-readable medium storing at least one instruction, which is loaded and executed by a processor to implement the application interface display method described in the above embodiments.

[0164] This application provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the application interface display method provided above.

[0165] Those skilled in the art will recognize that the functions described in the embodiments of this application in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0166] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for displaying an application interface, characterized in that, The method is used in a foldable screen terminal, which has a first screen area and a second screen area, wherein the size of the first screen area is larger than the size of the second screen area. The method includes: When the foldable screen terminal is in the unfolded state, the target application interface of the target application is displayed in the first screen area; In response to the foldable screen terminal switching from an unfolded state to a folded state, the display of the target application interface in the first screen area is stopped, and the shortcut application icon of the target application is displayed in the second screen area. The display method of the shortcut application icon is different from the display method of the default application icon of the target application in at least one of the following: display form and display position. In response to a trigger operation on the shortcut application icon, the target application interface is displayed in the second screen area; Remove the shortcut icon of the target application from the second screen area.

2. The method according to claim 1, characterized in that, The step of displaying the shortcut icon of the target application in the second screen area includes: The lock screen interface is displayed in the second screen area; In response to the unlock command, the main interface is displayed in the second screen area; The shortcut icon of the target application is displayed on the main interface.

3. The method according to claim 2, characterized in that, The main interface includes a dock bar, which is permanently displayed on the main interface; The step of displaying the shortcut application icon of the target application in the main interface includes: In the dock bar of the main interface, the shortcut application icon of the target application is displayed through a slide-in animation; or, Add the shortcut icon of the target application to the dock bar on the main interface, and adjust the layout of the dock bar.

4. The method according to claim 3, characterized in that, The method of displaying the shortcut application icon of the target application in the dock bar of the main interface through a slide-in animation includes: In response to the fact that the dock bar of the main interface does not contain the default application icon of the target application, the shortcut application icon of the target application is displayed in the dock bar by a slide-in animation.

5. The method according to claim 3, characterized in that, The step of displaying the shortcut application icon of the target application on the main interface further includes: In response to the fact that the dock bar of the main interface contains the default application icon of the target application, a preset identifier is added around the default application icon to obtain the shortcut application icon. The preset identifier is used to indicate that the target application was recently displayed in the first screen area.

6. The method according to claim 1, characterized in that, The step of displaying the shortcut icon of the target application in the second screen area includes: A lock screen interface containing the shortcut app icons is displayed in the second screen area.

7. The method according to claim 6, characterized in that, The step of displaying the target application interface in the second screen area in response to a trigger operation on the shortcut application icon includes: In response to the triggering operation of the shortcut application icon and after unlocking verification, the target application interface is displayed in the second screen area.

8. The method according to any one of claims 1 to 7, characterized in that, After displaying the shortcut icon of the target application in the second screen area, the method further includes: In response to a launch command from another application besides the target application, the application interface of the other application is displayed in the second screen area, and the shortcut application icon of the target application is removed from the second screen area.

9. The method according to any one of claims 1 to 7, characterized in that, After displaying the target application interface in the second screen area in response to a trigger operation on the shortcut application icon, the method further includes: In response to the foldable screen terminal switching from a folded state to an unfolded state, the display of the target application interface in the second screen area is stopped; Display the shortcut app icon of the target application in the first screen area; In response to a trigger operation on the shortcut app icon, the target app interface is displayed in the first screen area.

10. The method according to claim 9, characterized in that, The step of displaying the shortcut app icon of the target application in the first screen area includes: Based on the application information of the target application, determine whether the target application supports adjusting the interface size at runtime; In response to the fact that the target application does not support runtime interface resizing, the shortcut app icon of the target application is displayed in the first screen area.

11. The method according to claim 10, characterized in that, The method further includes: In response to the target application supporting runtime interface resizing, the target application interface is displayed in the first screen area.

12. The method according to any one of claims 1 to 7, characterized in that, The foldable screen terminal is an inward foldable screen terminal, where the first screen area and the second screen area are independent screens, and the first screen area supports folding inward; when the inward foldable screen terminal is in the unfolded state, both the first screen area and the second screen area are exposed, and when the inward foldable screen terminal is in the folded state, the second screen area is exposed. or, The foldable screen terminal is an outward foldable screen terminal. The first screen area and the second screen area belong to the same screen. The first screen area is the complete screen area of ​​the screen, and the second screen area is a partial screen area of ​​the screen.

13. A display device for an application interface, characterized in that, The device is used in a foldable screen terminal, which has a first screen area and a second screen area, wherein the size of the first screen area is larger than the size of the second screen area. The device includes: The first display module is used to display the target application interface of the target application in the first screen area when the foldable screen terminal is in the unfolded state. The second display module is used to stop displaying the target application interface in the first screen area and display the shortcut application icon of the target application in the second screen area in response to the foldable screen terminal switching from an unfolded state to a folded state. The display method of the shortcut application icon is different from the display method of the default application icon of the target application in at least one of the display form and display position. The third display module is used to display the target application interface in the second screen area in response to a trigger operation on the shortcut application icon; A first removal module is used to remove the shortcut app icon of the target application from the second screen area.

14. A terminal, characterized in that, The terminal includes a processor and a memory; the memory stores at least one instruction, which is executed by the processor to implement the display method of the application interface as described in any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction, which is executed by a processor to implement the display method of the application interface as described in any one of claims 1 to 12.

Citation Information

Patent Citations

  • Management method and device for application programs in electronic equipment and electronic equipment

    CN109947319A

  • Folding screen display application method and electronic equipment

    CN112445276A