Interface display method and device, electronic equipment and storage medium
By displaying a connection prompt interface adjusted according to the priority of the succession task in the first screen of the electronic device, the problem of poor effect of the follow-up task prompt in the prior art is solved, and more flexible and effective user prompts are achieved.
Patent Information
- Application Number
- CN202311009315.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-10
- Publication Date
- 2025-02-18
AI Technical Summary
When using an external screen, when the electronic device prompts the user to expand the inner screen for the follow-up task, the prompt effect in the prior art may not be good, which may not only cause the user's attention to be interrupted, but also may also cause the prompt content to be ignored.
By responsive to the continuation trigger operation when the second screen is in the collapsed state, the priority of the target continuation task is obtained, and the continuation prompt interface corresponding to the priority is displayed in the first screen, and the prompt intensity is adjusted to match the task priority.
It improves the prompt flexibility of electronic devices when continuing tasks, enhances users' perception of the prompts of expanding screen, thereby improving user experience and task completion efficiency.
Smart Images

Figure CN119473456A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic devices, and more specifically, to an interface display method, device, electronic device and storage medium. Background Art
[0002] With the rapid advancement of science and technology and living standards, electronic devices (such as smart phones, tablets, etc.) have become one of the commonly used electronic products in people's lives. In addition, the screen size of electronic devices is getting bigger and bigger, and as the screen gets bigger, it also brings problems such as inconvenience in carrying. Therefore, electronic devices with external screens and foldable internal screens are gradually emerging and popularizing. However, when the display interface needs to be connected to the internal screen when using the external screen, the prompt effect of the connection prompt in the related technology is not good. Summary of the invention
[0003] The present application proposes an interface display method, device, electronic device and storage medium, which can improve the prompt effect of prompting the user to expand the screen to continue the task.
[0004] In a first aspect, an embodiment of the present application provides an interface display method, which is applied to an electronic device, wherein the electronic device includes a first screen and a foldable second screen, and the method includes: when the second screen is in a folded state, in response to a continuation trigger operation, obtaining a target continuation priority of a target continuation task corresponding to the continuation trigger operation; displaying a continuation prompt interface corresponding to the target continuation priority in the first screen, the continuation prompt interface being used to prompt a user to unfold the second screen to perform the target continuation task, and the continuation prompt strength of the continuation prompt interface corresponding to the target continuation priority.
[0005] In a second aspect, an embodiment of the present application provides an interface display device, which is applied to an electronic device, wherein the electronic device includes a first screen and a foldable second screen, and the device includes: a priority acquisition module and a prompt display module, wherein the priority acquisition module is used to, when the second screen is in a folded state, in response to a continuation trigger operation, obtain a target continuation priority of a target continuation task corresponding to the continuation trigger operation; the prompt display module is used to display a continuation prompt interface corresponding to the target continuation priority in the first screen, and the continuation prompt interface is used to prompt the user to unfold the second screen to perform the target continuation task, and the continuation prompt strength of the continuation prompt interface corresponds to the target continuation priority.
[0006] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the interface display method provided in the first aspect above.
[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the interface display method provided in the first aspect above.
[0008] The solution provided by the present application obtains the target continuation priority of the target continuation task corresponding to the continuation trigger operation in response to the continuation trigger operation when the second screen of the electronic device is in a folded state, and displays a continuation prompt interface corresponding to the target continuation priority on the first screen. The continuation prompt interface is used to prompt the user to unfold the second screen to perform the target continuation task, and the continuation prompt strength of the continuation prompt interface corresponds to the target continuation priority. Therefore, when the second screen is in a folded state and a continuation task needs to be performed, a corresponding continuation prompt strength can be prompted according to the continuation priority of the continuation task, thereby improving the flexibility of the electronic device in performing continuation prompts and improving the prompt effect of prompting the user to unfold the screen to perform the continuation task. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown.
[0011] Figure 2 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown.
[0012] Figure 3 A flow chart of an interface display method according to an embodiment of the present application is shown.
[0013] Figure 4 A flow chart of an interface display method according to another embodiment of the present application is shown.
[0014] Figure 5 A flow chart of an interface display method according to yet another embodiment of the present application is shown.
[0015] Figure 6 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0016] Figure 7 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0017] Figure 8 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0018] Fig. 9 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0019] Fig.10 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0020] Fig.11 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0021] Fig.12 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0022] Fig.13 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0023] Fig.14 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0024] Fig.15 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0025] Fig.16 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0026] Fig.17 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0027] Fig.18 A flow chart of an interface display method according to yet another embodiment of the present application is shown.
[0028] Fig.19 A flow chart of an interface display method according to yet another embodiment of the present application is shown.
[0029] Fig. 20 A flow chart of an interface display method according to yet another embodiment of the present application is shown.
[0030] Fig.21 A block diagram of an interface display device according to an embodiment of the present application is shown.
[0031] Fig. 22It is a block diagram of an electronic device according to an embodiment of the present application for executing the interface display method according to an embodiment of the present application.
[0032] Fig.23 It is a storage unit of an embodiment of the present application for storing or carrying program codes for implementing the interface display method according to an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0034] As people's requirements for electronic devices become higher and higher, the screen sizes of current electronic devices are also getting larger and larger. In order to facilitate users to carry and use electronic devices, the screens of electronic devices are gradually designed as foldable screens, and many electronic devices are in the form of an outer screen and a foldable inner screen.
[0035] In an electronic device that includes an outer screen and a foldable inner screen, the outer screen is usually smaller than the inner screen, and lightweight functions can be displayed on the outer screen. Most functions of the electronic device can be used in a closed loop on the outer screen when the inner screen is not unfolded. However, when some functions cannot be completed on the outer screen, the user needs to be prompted to unfold the inner screen, and the content to be displayed of the related functions will continue to be displayed after the user unfolds to the inner screen, so that the user can complete the required operation.
[0036] In the related art, when the electronic device prompts the user to expand the inner screen for continuous display, it usually uses a single prompt method, and usually prompts the user to expand the inner screen to continue the task with a high prompt intensity. However, usually prompting the user to continue the task with a high prompt intensity is more likely to interrupt the user's use. For example, in the related art, the user is usually prompted to expand the inner screen by displaying the continuous prompt information in full screen on the outer screen. The interface presented in this way does not include other content except for the content used for the continuous prompt, so as to achieve a strong prompt effect, but the displayed prompt interface is quite different from the interface previously displayed by the electronic device, which will cause a sense of blocking. Of course, there are also some products that use a lower prompt intensity method to provide continuous prompts in all scenarios where continuous prompts are required. For example, the continuous prompt information is displayed at the bottom of the display interface to prompt the user to expand the inner screen, but the prompt intensity of such a prompt method is weak, and the user may find it difficult to perceive the prompt content, thereby affecting the user's use of the electronic device.
[0037] In response to the above problems, the inventors have proposed an interface display method, device, electronic device, and storage medium provided in the embodiments of the present application. When a task needs to be continued when the second screen is in a folded state, a corresponding prompt of the strength of the continued prompt can be given according to the continued priority of the continued task, thereby making the electronic device more flexible in the continued prompt and improving the prompt effect of prompting the user to unfold the screen to continue the task. The specific interface display method is described in detail in the subsequent embodiments.
[0038] The following describes an application environment in which the interface display method provided in the embodiment of the present application can be used.
[0039] See also Figure 1 and Figure 2 The electronic device 100 may be, but is not limited to, a mobile phone, a tablet computer, a game console, a vehicle-mounted device, or other electronic devices. The electronic device 100 of this embodiment is described by taking a mobile phone as an example.
[0040] The electronic device 100 may include a foldable housing assembly 110, a first screen 130, a second screen 120, and an electronic assembly ( Figure 1 and Figure 2 The second screen 120 is a foldable screen, for example, a flexible display screen. The electronic components are arranged in the foldable housing component 110, and the second screen 120 is laid on the foldable housing component 110. The foldable housing component 110 is used to carry the second screen 120 and protect the electronic components. The electronic components may include, but are not limited to, a central processing unit, a memory, a camera, a receiver, a fingerprint module, etc., and the specific electronic components may not be limited in the embodiments of the present application.
[0041] The foldable housing assembly 110 includes a first housing 111, a second housing 112 and a hinge mechanism 113, wherein the first housing 111 and the second housing 112 are connected to both sides of the hinge mechanism 113, respectively. The second housing 112 can be folded or unfolded relative to the first housing 111 through the hinge mechanism 113, so that the foldable housing assembly 110 drives the second screen 120 to fold or unfold. When the foldable housing assembly 110 and the second screen 120 are in a folded state, the volume of the electronic device 100 is relatively small, which is convenient for storage and carrying. When the foldable housing assembly 110 and the second screen 120 are in an unfolded state, the volume of the electronic device 100 is relatively large, which is convenient for displaying information. Moreover, when the second screen 120 is in a folded state, the second screen 120 is hidden inside the electronic device, and the content can be displayed through the first screen 130 at this time, that is, the first screen 130 can be regarded as an external screen, and the second screen 120 can be regarded as an internal screen.
[0042] In this embodiment, the second screen 120 includes a first display portion (first screen) 121 connected to the first housing 111, a second display portion (second screen) 122 connected to the second housing 112, and a bent display portion 123 connected to the first display portion 121 and the second display portion 122. The first display portion 121, the second display portion 122, and the bent display portion 123 can form a plurality of display areas (for example, two display areas, three display areas, four display areas...N display areas) correspondingly. The first display portion 121 and the second display portion 122 are folded or unfolded relative to the first housing 111 and the second housing 112, respectively. The bent display portion 123 is bent or flattened as the first display portion 121 and the second display portion 122 are folded or unfolded. In some embodiments, the first display portion 121, the second display portion 122 and the bending display portion 123 may be an integrated structure, so that the second screen 120 is a whole-piece flexible display screen; or, in some other embodiments, the bending display portion 123 is a bendable flexible portion, and the first display portion 121 and the second display portion 122 may be non-flexible portions, and the first display portion 121 and the second display portion 122 are relatively folded or unfolded through the bending display portion 123. In this embodiment, when the first housing 111 and the second housing 112 are in a folded state, the first display portion 121 and the second display portion 122 are close to each other, so that the electronic device 100 presents a structure of an inner folding screen, so that the second screen 120 is protected from scratches and damage.
[0043] It should be understood that the naming of the above-mentioned first display portion 121, the second display portion 122 and the bent display portion 123 is only provided for the convenience of description and does not serve as a structural limitation of the second screen 120. In actual application scenarios, the first display portion 121, the second display portion 122 and the bent display portion 123 may have no obvious boundaries, or the second screen 120 may appear in other division structures. For example, the second screen 120 includes a first display portion 121 and a second display portion 122 connected to the first display portion 121, and the first display portion 121 and the second display portion 122 can rotate relative to each other to be folded or unfolded.
[0044] When the second screen 120 is folded, information can be displayed through the first screen 130 of the electronic device 100. The display size of the first screen 130 can be smaller than the size of the electronic device 100 in the folded state, or can be equal to the size of the electronic device 100 in the folded state; the shape of the first screen 130 can be circular, rectangular, regular polygonal, irregular polygonal, etc., which is not limited here.
[0045] The interface display method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.
[0046] See also Figure 3 , Figure 3 A flow chart of an interface display method provided by an embodiment of the present application is shown. In a specific embodiment, the interface display method is applied to the above-mentioned electronic device, the electronic device includes a first screen and a foldable second screen. Figure 3 The process shown is described in detail, and the interface display method may specifically include the following steps:
[0047] Step S110: when the second screen is in the folded state, in response to a connection triggering operation, obtaining a target connection priority of a target connection task corresponding to the connection triggering operation.
[0048] In an embodiment of the present application, when the second screen of the electronic device is in a folded state, the electronic device can detect a continuation trigger operation for triggering a continuation task; when the continuation trigger operation is detected, the target continuation priority of the target continuation task corresponding to the continuation trigger operation can be obtained in response to the continuation trigger operation, so as to make a corresponding continuation prompt according to the target continuation priority of the actual target continuation task. Wherein, the continuation task refers to a task of continuing the display content corresponding to the continuation task to the second screen for display, and the content is the content that cannot be displayed on the first screen. Correspondingly, the target continuation task is a task of continuing the target content corresponding to the target continuation task to the second screen for display; the target continuation task corresponding to the continuation trigger operation is the continuation task triggered by the continuation trigger operation, and the continuation trigger operation can be input by the user or actively generated during the operation of the electronic device; the continuation priority is used to characterize the priority of the user to execute the continuation task, and can also be understood as the probability of the user to execute the continuation task. The higher the continuation priority, the higher the priority of the user to execute the continuation task, and vice versa, the lower the priority of the user to execute the continuation task.
[0049] In some embodiments, the above continuation trigger operation can be a continuation trigger operation detected by the user input when the first screen displays content, that is, the scene that triggers the continuation is a scene that is actively triggered by the user. It can be understood that when the second screen of the electronic device is in a folded state, the content to be displayed cannot be displayed through the second screen. At this time, the electronic device can display the content through the first screen. In such a case, if the user triggers the electronic device to display the first target interface through operation, which is an interface that cannot be displayed on the first screen, that is, when the first interface triggered by the continuation trigger operation is an interface that cannot be displayed on the first screen, the continuation task of the first target interface will be triggered.
[0050] In a possible implementation, when the second screen of the electronic device is in a folded state, if the target application is currently running in the foreground, the application interface of the target application can be displayed through the first screen, and the application interface currently displayed by the electronic device is the interface that can be displayed by the first screen. When the user uses the target application, it may be operated to switch the displayed application interface to an interface that cannot be displayed on the first screen (the first target interface). At this time, the operation detected by the electronic device can be used as a continuation trigger operation. In addition, the target continuation task corresponding to the continuation trigger operation is a task of connecting the first target interface triggered by the continuation trigger operation to the second screen for display. Among them, the application running in the foreground refers to the state in which the electronic device displays the application interface of the application on the screen. When the application is in the foreground running state, the user can see the application interface of the application on the screen; the background running relative to the foreground running refers to the state in which the electronic device does not display the application interface of the application on the screen, and the user cannot interact with the running interface of the application, but the application still occupies the system resources of the electronic device when it is in the background. For example, when a remote conference application is running in the foreground of an electronic device, the conference joining interface of the remote conference application is displayed through the first screen. After detecting an operation for triggering joining the conference, the electronic device needs to display the conference interface, that is, the interface displayed following the triggering operation is the conference interface. However, due to the limited size of the first screen, the display of the conference interface cannot be completed, so it needs to be continued to the second screen for display. At this time, it can be determined that the follow-up triggering operation has been detected.
[0051] In a possible implementation, the electronic device can display the main interface through the first screen when the second screen is in a folded state. If the electronic device detects a startup operation for a newly installed application in the main interface, when the application is run for the first time, the operation of the application may require authorization of some permissions (such as camera usage permissions, location permissions, etc.). In this case, it is necessary to display the authorization interface, that is, the display interface triggered by the continuation trigger operation is the authorization interface, but the first screen of the electronic device cannot display the authorization interface. At this time, the authorization interface to be displayed needs to be connected to the second screen for display. Therefore, the above startup operation can be determined as a detected continuation trigger operation, and the target continuation task corresponding to the continuation trigger operation is the task of connecting the authorization interface to be displayed to the second screen for display.
[0052] Of course, in the embodiment of the present application, the above-mentioned continuous trigger operation input by the user may not be limited to the scenarios involved. For example, the continuous trigger operation may also be an operation input by the user to trigger the display of an account login interface, an operation input to trigger the display of an information binding interface, an operation input to trigger the display of a recording viewing interface, an operation input to trigger the display of a video playback interface, an operation input to trigger the display of a game interface, etc.
[0053] In some embodiments, the above-mentioned connection triggering operation may be an operation actively generated by the electronic device when a related event is detected. It is understandable that in some cases, the electronic device may actively display some interfaces during operation, but these interfaces actively displayed by the electronic device may not be displayed normally through the first screen, or when these interfaces are displayed, the interfaces displayed when the user operates on these interfaces cannot be displayed normally through the first screen. Therefore, in these cases, it is also necessary to connect the interface to be displayed to the second screen, so the operation actively generated by the electronic device to trigger the connection of the interface to be displayed to the second screen for display can also be determined as a connection triggering operation.
[0054] In one possible implementation, when an electronic device automatically installs an application, the installed application needs to obtain certain permissions before it can be installed. At this time, the electronic device needs to display an authorization interface, but the first screen of the electronic device cannot display the authorization interface. At this time, the authorization interface to be displayed needs to be connected to the second screen for display. Therefore, when the electronic device automatically installs the application, it can be determined that the connection trigger operation has been obtained, and the target connection task corresponding to the connection trigger operation is the task of connecting the authorization interface that needs to be displayed when installing the application to the second screen for display.
[0055] In one possible implementation, when the electronic device receives a task notification, such as a voice call notification, a video call notification, a password disabled notification when unlocking fails, a timer notification, etc., it needs to display the task notification interface, and the user needs to use the second screen to perform operations on these notifications. Therefore, when the electronic device receives these task notifications, it can also determine that the continuation trigger operation has been obtained, and the target content corresponding to the target continuation task triggered by the continuation trigger operation is the content displayed after the operation is performed on the task notification, for example, the call interface displayed after the operation is performed on the voice call notification. It can be understood that the electronic device actively generates a connection trigger operation to trigger a connection prompt in response to the received task notification, so that when the task notification interface is displayed, a connection prompt can be given to the interface that the user may need to display after operating the task notification interface. Compared with the process of displaying the connection prompt after the user operates the task notification interface, the process of displaying the corresponding interface after the user operates the task notification interface can be smoother and more natural. For example, when the electronic device receives a voice call notification, when the call notification is displayed, a connection prompt interface is displayed for the call interface displayed after the user answers the call. The user can know from the connection prompt interface that he needs to expand the second screen to display the call interface after answering the call, which makes the process of displaying the call interface after the user answers the call smoother.
[0056] In some embodiments, when determining the continuation priority of the target continuation task, the electronic device may determine the continuation priority of the target continuation task as the target continuation priority according to the predetermined mapping relationship between different continuation tasks and continuation priorities. Since the continuation priority is used to characterize the priority of the user in executing the continuation task, that is, it represents the probability of the continuation task being executed, the above mapping relationship may be determined in advance according to the probability of the user executing the continuation task in different scenarios of the continuation task.
[0057] In a possible implementation, when determining the above mapping relationship, for the continuation trigger operation that is an operation input by the user, that is, the target continuation task is actively triggered by the user, the possibility that the user needs to perform subsequent operations at this time is very high, that is, the probability that the user executes the continuation task is also very high, so it can be determined that the continuation priority of the continuation task corresponding to the continuation trigger operation input by the user is the highest, that is, the highest continuation priority; for the continuation trigger operation that is an operation actively generated by the electronic device, if the interface that is triggered by the continuation trigger operation to be displayed is an interface that must be displayed when the electronic device is running, such as the authorization interface that needs to be connected to the second screen display when the electronic device automatically updates the system or automatically installs an application, then the continuation priority of the continuation task in this case can be determined to be the highest continuation priority; for the continuation trigger operation that is an operation actively generated by the electronic device, if the interface that is triggered by the continuation trigger operation to be displayed is an interface that must be displayed when the electronic device is running, then it can be determined that the continuation priority of the continuation task in this case is not the highest continuation priority, and if the interface that is triggered by the continuation trigger operation to be displayed is a display interface for operating the task notification, then the continuation priority of the continuation task in this case can be further determined according to the probability that the task notification is operated by the user.
[0058] Optionally, if the interface triggered by the continuation trigger operation is a display interface for performing operations on task notifications, and the task notification is a call notification, password disable notification, SMS notification, chat application message notification, new notification on the application, etc., which the user is very likely to further perform operations on the notification, then the continuation priority of the continuation task in this case can be determined as a secondary priority level just lower than the highest continuation priority level; if the task notification is a timing notification, battery power notification, etc., for the user, these notifications only require the user to know that the notification has been generated, and the user will not perform further operations on the notification. Therefore, the continuation priority of the continuation task in this case can be determined as a priority level lower than the above secondary priorities.
[0059] Of course, in the embodiment of the present application, the specific rules and methods for determining the mapping relationship between different follow-up tasks and follow-up priorities may not be limited, as long as the follow-up priority corresponding to the follow-up task can reflect the probability of the user performing the follow-up task.
[0060] In some embodiments, the electronic device can detect the unfolded state of the screen, that is, detect whether the second screen is in the unfolded state or in the folded state. When the electronic device is in the folded state, it can respond to the above-mentioned continuation trigger operation and determine the target continuation priority of the target continuation task corresponding to the continuation trigger operation. In a possible embodiment, the electronic device can detect the angle between the mutually foldable display areas of the second screen to determine the unfolded state of the second screen; after detecting the angle between the mutually foldable display areas of the second screen, it can determine whether the second screen is in the unfolded state according to the above-mentioned detected angle. Among them, when the above angle is less than the target angle, it can be determined that the second screen is in the folded state; when the above angle is greater than or equal to the target angle, it can be determined that the second screen is in the unfolded state. The above-mentioned target angle can be the angle value when the mutually foldable display areas of the second screen are close to parallel. For example, the set value can be 0, 3, 5, etc.
[0061] As one way, the electronic device can use the above-mentioned angle detection module to detect the angle between the mutually foldable display areas of the second screen. As another way, the electronic device can detect the repulsive force between the magnets set in the mutually foldable display area of the second screen, so that the angle between the mutually foldable display areas of the second screen can be determined based on the repulsive force between the magnets of the mutually foldable display areas of the second screen. It can be understood that the closer the above magnets are, the greater the repulsive force between the above magnets detected by the electronic device, and the closer the above magnets are, the smaller the angle between the mutually foldable display areas of the second screen. When the second screen is relatively unfolded, the above magnets are farthest apart, and the repulsive force is the smallest at this time. Therefore, the angle between the mutually foldable display areas of the second screen can be determined based on the above-mentioned detected repulsive force, and it can be determined whether the second screen is in an unfolded state or a folded state. Of course, the specific method of detecting the angle between the mutually foldable display areas of the second screen may not be limited in the embodiment of the present application.
[0062] Step S120: displaying a connection prompt interface corresponding to the target connection priority in the first screen, wherein the connection prompt interface is used to prompt the user to expand the second screen to perform the target connection task, and the connection prompt intensity of the connection prompt interface corresponds to the target connection priority.
[0063] After determining the target continuation priority of the target continuation task corresponding to the above continuation trigger operation, a continuation prompt interface corresponding to the target continuation priority can be displayed in the first screen according to the target continuation priority to prompt the user to expand the screen to perform the target continuation task. In an embodiment of the present application, the continuation prompt strength of the continuation prompt interface corresponds to the target continuation priority, and the continuation prompt strength refers to the prompt strength for prompting the user to expand the screen to perform the target continuation task, so that the corresponding continuation prompt strength can be prompted according to the continuation priority of the target continuation task, thereby improving the flexibility of the continuation prompt.
[0064] In some embodiments, when the connection priority is higher, it means that the possibility of the user performing the connection task is greater, so the connection prompt strength of the displayed connection prompt interface can be higher; when the connection priority is lower, it means that the possibility of the user performing the connection task is smaller, so the connection prompt strength of the displayed connection prompt interface can be lower. It can be understood that when the connection prompt strength of the connection prompt interface is higher, the user's attention to the connection prompt information in the connection prompt interface will be greater. If the connection priority is lower, the connection prompt interface with a higher connection prompt strength is still used, which will make the user focus on the connection prompt information, and the probability of the user performing the connection task at this time is small, so it is easy to bring a greater sense of blocking to the user's use. Therefore, when the connection priority is lower, the connection prompt strength of the displayed connection prompt interface is lower, and when the connection priority is higher, the connection prompt strength of the displayed connection prompt interface is higher, so that for different connection prompt scenarios, both connection prompts can be made and a sense of blocking for the user's use can be avoided, thereby improving the effect of the connection prompt that prompts the user to expand the screen to perform the connection task.
[0065] In some embodiments, different connection prompt intensities of the connection prompt interface can be achieved by controlling the display parameters of the connection prompt information, such as the text size of the connection prompt text, the brightness of the connection prompt text, the size of the connection prompt pattern, the color of the connection prompt pattern, the brightness of the connection prompt pattern, etc. It can be understood that the display parameters of the connection prompt information will also affect the user's attention to the connection prompt information. For example, when the text size of the connection prompt text is larger and the color is brighter, the user's attention to the connection prompt information will be higher, and the connection prompt intensity at this time will also be greater. Conversely, the user's attention to the connection prompt information will be lower, and the connection prompt intensity at this time will also be lower. Therefore, by controlling the display parameters of the connection prompt information, different connection prompt intensities of the connection prompt interface can also be achieved.
[0066] In some embodiments, after displaying the above continuation prompt interface, the electronic device can detect the status of the second screen. If it is detected that the second screen is in an expanded state, the target content corresponding to the target continuation task can be displayed on the second screen. Thereby, by displaying the continuation prompt interface, the user can connect the display content corresponding to the continuation task to the second screen for display according to the continuation prompt interface.
[0067] In a possible implementation, the above target content may be the first target interface triggered by the connection triggering operation. For example, when a remote conference application is running in the foreground of the electronic device, the conference joining interface of the remote conference application is displayed through the first screen. After detecting the operation for triggering the joining of the conference, the electronic device needs to display the conference interface, that is, the interface displayed by the connection triggering operation is the conference interface. After displaying the above connection prompt interface, if it is detected that the second screen is in the expanded state, the above first target interface may be displayed.
[0068] In a possible implementation, the above target content is the second target interface that is triggered to display after the second screen is in an expanded state. Optionally, the second target interface may be an interface displayed after an operation is performed on the task notification, for example, a call interface displayed after an operation is performed on the voice call notification. In this manner, after the above connection prompt interface is displayed, when the second screen is detected to be in an expanded state, a target operation for triggering the display of the second target interface may be generated; in response to the target operation, the second target interface is displayed on the second screen. Thus, when the task notification is displayed, not only is a connection prompt performed for the second target interface that needs to be displayed after the task notification interface is operated, but also when the second screen is detected to be in an expanded state, an operation for triggering the display of the second target interface is actively generated, so that the user can trigger the operation for the task notification by expanding the second screen according to the connection prompt interface, that is, the operation of expanding the second screen is the operation for the task notification, so that the user can not only operate the task notification by expanding the screen, but also simultaneously realize the task continuation, thereby improving the user's interactive experience. For example, when the electronic device receives an incoming call notification and displays the above connection prompt interface, by expanding the second screen, it can not only answer the call, but also connect the call interface after answering the call to the second screen for display.
[0069] The interface display method provided in the embodiment of the present application improves the flexibility of the electronic device in providing continuation prompts, avoids a sense of obstruction to the user's use, and improves the effect of prompting the user to unfold the screen to perform the continuation task by providing a corresponding continuation prompt strength according to the continuation priority of the continuation task when the second screen is in a folded state.
[0070] See also Figure 4 , Figure 4 A flow chart of an interface display method provided by another embodiment of the present application is shown. The interface display method is applied to the above electronic device. Figure 4 The process shown is described in detail, and the interface display method may specifically include the following steps:
[0071] Step S210: when the second screen is in the folded state, in response to a connection triggering operation, obtaining a target connection priority of a target connection task corresponding to the connection triggering operation.
[0072] In the embodiment of the present application, step S210 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0073] Step S220: Display a connection prompt interface corresponding to the target connection priority in the first screen, wherein the connection prompt interface includes connection prompt information corresponding to the target connection task, and the connection prompt information is used to prompt the user to expand the second screen to perform the target connection task. The proportion of the connection prompt information in all the information displayed in the connection prompt interface corresponds to the target connection priority.
[0074] In an embodiment of the present application, after determining the target connection priority of the target connection task corresponding to the above connection trigger operation, the corresponding connection prompt interface can be displayed according to the target connection priority, and the displayed connection prompt interface includes the connection prompt information corresponding to the target connection task, and the proportion of the connection prompt information in all the information displayed in the connection prompt interface corresponds to the target connection priority. It can be understood that when the proportion of the connection prompt information in all the displayed information of the interface is higher, the user's attention to the connection prompt information will be higher, and the connection prompt strength at this time will also be greater. Conversely, when the above proportion is smaller, the user's attention to the connection prompt information will be lower, and the connection prompt strength at this time will also be smaller. Therefore, by controlling the above proportion, different connection prompt strengths of the connection prompt interface can be achieved, so that the connection prompt strength of the displayed connection prompt interface corresponds to the target connection priority.
[0075] In a possible implementation, the proportion of the connection prompt information in all the display information of the interface may refer to the proportion of the display area occupied by the connection prompt information in the display area occupied by all the above display information. The proportion is determined by parameters such as the number of characters in the connection prompt information, the size of the characters in the connection prompt information, the size of the pattern of the connection prompt information, the number of patterns of the connection prompt information, the number of characters in other information except the connection prompt information, the size of the characters in other information, the number of patterns in other information, and the size of the patterns in other information. Therefore, the above parameters can be controlled to control the proportion of the connection prompt information in all the display information of the connection prompt interface.
[0076] In some embodiments, the electronic device can determine whether the above target continuation priority is the first priority, the first priority being the highest continuation priority; if the target continuation priority is the first priority, a first prompt interface is displayed on the first screen, the first priority is the highest continuation priority, and the first prompt interface does not include information other than the continuation prompt information; if the target continuation priority is not the first priority, a second prompt interface is displayed on the first screen, the second prompt interface includes information on the target continuation task and continuation prompt information located in the target display area of the first screen. That is to say, when the target continuation priority of the target continuation task is the highest continuation priority, the displayed continuation prompt interface only includes the continuation prompt information, so that the continuation prompt information accounts for the largest proportion of all information in the continuation prompt interface, thereby making the continuation prompt strength the highest, thereby achieving a stronger continuation prompt when the target continuation priority is the highest continuation priority; and when the target continuation priority of the target continuation task is not the highest continuation priority, the displayed continuation prompt interface includes the information of the target continuation task and the continuation prompt information displayed only in the target display area, so that the proportion of the continuation prompt information in all information in the continuation prompt interface is reduced relative to the proportion at the highest continuation prompt strength, thereby making the connection prompt strength weaker than the connection prompt strength at the highest continuation priority, thereby reducing the possibility of causing a sense of blocking to the user's use.
[0077] In a possible implementation, when the target connection priority of the target connection task is not the highest connection priority, the display parameters of the target connection task information and the display parameters of the connection prompt information can be controlled according to the target connection priority, so as to further control the proportion of the connection prompt information at different connection priorities in all the information in the connection prompt interface, so as to better perform the connection prompt. Among them, the above display parameters can be the number of characters, the size of characters, the number of patterns, the size of patterns, etc.
[0078] The interface display method provided in the embodiment of the present application, when a task needs to be continued when the second screen is in a folded state, displays a corresponding continuation prompt interface according to the continuation priority of the task, so that the proportion of the continuation prompt information in the continuation prompt interface in all the information in the continuation prompt interface corresponds to the continuation priority, thereby achieving a continuation prompt of corresponding prompt intensity, improving the flexibility of the electronic device for continuation prompts, avoiding a sense of obstruction to the user's use, and improving the prompt effect of prompting the user to unfold the screen to continue the task.
[0079] See also Figure 5 , Figure 5 A flow chart of an interface display method provided by another embodiment of the present application is shown. The interface display method is applied to the above-mentioned electronic device, the electronic device includes a first screen and a foldable second screen. Figure 5 The process shown is described in detail, and the interface display method may specifically include the following steps:
[0080] Step S310: when the second screen is in a folded state, in response to a connection triggering operation, obtaining a target connection priority of a target connection task corresponding to the connection triggering operation.
[0081] In the embodiment of the present application, the continuation priority of the continuation task may include a first priority, a second priority and a third priority, and the first priority, the second priority and the third priority are successively decreased. That is, the continuation priority is divided into three levels, the first priority is the highest continuation priority, the second priority is a secondary priority just lower than the first priority, and the third priority is the lowest priority.
[0082] In some embodiments, the continuation task corresponding to the first priority may include: the continuation task corresponding to the continuation trigger operation input by the user, the continuation task that must be performed by the electronic device when the electronic device is running, triggered by the continuation trigger operation actively generated by the electronic device, such as the need to connect to the second screen to display the authorization interface when the electronic device updates the system or automatically installs the application; the continuation task corresponding to the second priority may include: the task of continuing to display the display interface when the first type of task notification is operated triggered by the continuation trigger operation actively generated by the electronic device, the first type of task notification may be a notification that the user is very likely to operate on the task notification when the task notification is displayed, for example, the first type of task notification may be a task notification for incoming call notification, password disabled notification, SMS notification, chat application message notification, new notification on the application, etc.; the continuation task corresponding to the third priority may include: the task of continuing to display the display interface when the second type of task notification is operated triggered by the continuation trigger operation actively generated by the electronic device, the second type of task notification may be a notification that the user is very unlikely to operate on the task notification when the task notification is displayed, for example, the second type of task notification may be a task notification such as a timing notification and a battery power notification. Of course, the specific correspondence between the first priority, the second priority, and the third priority and the continuation task may not be limited.
[0083] Step S320: If the target connection priority is the first priority, a first prompt interface is displayed on the first screen, the first priority is the highest connection priority, and the first prompt interface does not include information other than the connection prompt information.
[0084] In the embodiment of the present application, step S320 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0085] Step S330: If the target connection priority is the second priority, a second prompt interface corresponding to the second priority is displayed in the first screen, and the second prompt interface corresponding to the second priority includes the task information corresponding to the target connection task and a dynamic connection prompt icon in the bottom display area of the first screen. The second priority is lower than the first priority.
[0086] Step S340: If the target connection priority is the third priority, a second prompt interface corresponding to the third priority is displayed in the first screen, and the second prompt interface corresponding to the third priority includes task information corresponding to the target connection task and a static connection prompt icon located in the bottom display area of the first screen. The third priority is lower than the second priority.
[0087] In an embodiment of the present application, after the electronic device determines the target continuation priority of the target continuation task, if the target continuation priority is not the first priority, when displaying the continuation prompt interface including the task information corresponding to the target continuation task and the continuation prompt information, it can also provide continuation prompts of different prompt intensities according to whether the target continuation priority is the second priority or the third priority. Among them, if the target continuation priority is the second priority, a second prompt interface corresponding to the second priority can be displayed, and the second prompt interface corresponding to the second priority includes the task information corresponding to the target continuation task and a dynamic continuation prompt icon located in the bottom display area of the first screen; if the target continuation priority is the third priority, a second prompt interface corresponding to the third priority can be displayed, and the second prompt interface corresponding to the third priority includes the task information corresponding to the target continuation task and a static continuation prompt icon located in the bottom display area of the first screen. That is to say, when the target connection priority is the second priority, the displayed connection prompt information includes a dynamic connection prompt icon, and when the target connection priority is the third priority, the displayed connection prompt information includes a static connection prompt icon, so that the connection prompt strength of the connection prompt interface displayed in the case of the second priority is greater than the connection prompt strength of the connection prompt interface displayed in the case of the third priority.
[0088] The interface display method involved in the embodiment of the present application is further described below by taking examples.
[0089] For example, see Figure 6 , when the electronic device displays the conference joining interface A1, after detecting the operation for triggering the conference joining, the conference interface to be displayed by the electronic device needs to be continued to the second screen for display. At this time, the continuation triggering operation that triggers the continuation task is the operation input by the user, so the continuation priority of the continuation task is the first priority; please refer to Figure 7 , the electronic device may display a first prompt interface A2 including only the continuation prompt information on the first screen, the continuation prompt information may include a continuation prompt text A3, a continuation prompt icon A4, and a continuation cancel control A5 for canceling the display of the continuation prompt interface, the continuation prompt icon A4 may be a static icon or a dynamic icon (for example, an icon that can indicate a dynamic change of the screen of the electronic device unfolding from a folded state), so that when the continuation priority of the continuation task is the first priority, a continuation prompt with a higher prompt intensity can be performed; please refer to Figure 8 After the second screen is expanded, the conference interface A6 after joining the conference can be displayed on the second screen, thereby completing the operations required by the user.
[0090] For example, see Fig. 9, when the electronic device displays the main interface A7, after detecting the first startup operation for the "Weather" application, the electronic device needs to display the authorization interface for obtaining location permissions. At this time, the electronic device needs to continue the authorization interface to the second screen for display. In this case, the continuation triggering operation that triggers the continuation task is the operation input by the user, so the continuation priority of the continuation task is the first priority; please refer to Fig.10 , the electronic device may display a first prompt interface A2 including only the continuation prompt information on the first screen, the continuation prompt information may include a continuation prompt text A8, a continuation prompt icon A4, and a continuation cancel control A5 for canceling the display of the continuation prompt interface, the continuation prompt icon A4 may be a static icon or a dynamic icon (for example, an icon that can indicate that the screen of the electronic device is unfolded from a folded state), so that when the continuation priority of the continuation task is the first priority, a continuation prompt with a higher prompt intensity can be performed; please refer to Fig.11 After the second screen is expanded, the authorization interface A9 for obtaining location permission can be displayed through the second screen, thereby completing the operation required by the user.
[0091] For example, when the electronic device receives a video call notification, it needs to display the video call notification, and if the user needs to answer the call, the call interface after operating the video call notification needs to be connected to the second screen for display, and the user is more likely to operate the call notification. Therefore, in this case, the connection priority of the connection task is the second priority; please refer to Fig.12 When the electronic device displays the connection prompt interface in this case, it can display the second prompt interface A10 corresponding to the second priority. The second prompt interface A10 can include notification information A11 of the video call notification and connection prompt information located in the bottom display area of the interface. The connection prompt information can include connection prompt text A3 and connection prompt icon A4, and the connection prompt icon A4 is a dynamic icon. For example, the connection prompt icon A4 is an icon that can indicate the dynamic change of the screen of the electronic device being unfolded from a folded state.
[0092] For example, when the electronic device receives a password disabled notification when unlocking fails, it needs to display the password disabled notification, and if the user needs to retrieve the password in response to the password disabled notification, the password retrieval interface after the operation is performed on the password disabled notification needs to be continued to the second screen for display, and the user is more likely to operate the password disabled notification, so in this case, the continuation priority of the continuation task is the second priority; please refer to Fig.13When the electronic device displays the connection prompt interface in this case, it can display the second prompt interface A10 corresponding to the second priority. The second prompt interface A10 can include notification information A12 of the password disabled notification and connection prompt information located in the bottom display area of the interface. The connection prompt information can include connection prompt text A3 and connection prompt icon A4, and the connection prompt icon A4 is a dynamic icon.
[0093] For example, when the electronic device receives a timing notification, it needs to display the timing notification, and if the user needs to operate the timing notification to view details, the timing details interface after the operation on the timing notification needs to be continued to the second screen for display, but the user usually only needs to view the notification, and the possibility of operating the notification to view details is not high. Therefore, in this case, the continuation priority of the continuation task is the third priority; please refer to Fig.14 When the electronic device displays the connection prompt interface in this case, it can display the second prompt interface A10 corresponding to the third priority. The second prompt interface A10 can include the notification information A13 of the timing notification and the connection prompt information located in the bottom display area of the interface. The connection prompt information can include the connection prompt text A3 and the connection prompt icon A4, and the connection prompt icon A4 is a static icon; please refer to Fig.15 After the second screen is expanded, the timing details interface A14 can be displayed through the second screen, thereby satisfying the user's need to view the timing details interface A14.
[0094] In some embodiments, when the target continuation priority of the target continuation task is the first priority, the continuation prompt information in the first prompt interface displayed by the electronic device may include a continuation cancel control. The electronic device may also cancel the display of the first prompt interface in response to a trigger operation on the continuation cancel control when a first operation on the continuation cancel control is detected. The trigger operation may be a click operation, a press operation, etc., which are not limited here. In this way, the user's need to actively exit the continuation process can be met. Optionally, the electronic device can cancel the display of the first prompt interface and display the interface displayed on the first screen before the first prompt interface is displayed. For example, please also refer to Figure 6 and Figure 7 When the electronic device detects the first operation on the connection cancel control A5 in the first prompt interface A2, it can cancel the display of the first prompt interface A2 and display the conference joining interface A1 through the first screen.
[0095] In some embodiments, when the target continuation priority of the target continuation task is the first priority, if the electronic device detects a first sliding operation in the first prompt interface, the electronic device may cancel the display of the first prompt interface in response to the first sliding operation. The first sliding operation may be a sliding operation that satisfies a target sliding condition, and the target sliding condition may include at least one of: the starting position of the sliding operation is located in a specified display area, the sliding direction of the sliding operation is a first sliding direction, and the sliding distance of the sliding operation is greater than the first sliding distance. In this way, the user's need to actively exit the continuation process can be met. Optionally, the electronic device may cancel the display of the first prompt interface and display the interface that was displayed on the first screen before the first prompt interface was displayed. For example, please also refer to Figure 6 , Figure 7 , Fig.16 and Fig.17 , electronic devices are showing Figure 6 In the case of the conference joining interface A1 shown in FIG. 1 , after detecting an operation for triggering joining the conference, the following may be displayed: Figure 7 The first prompt interface A2 shown; Fig.16 As shown, in the display Figure 7 In the case of the first prompt interface A2 shown in FIG. 1 , a sliding operation on the left area of the first prompt interface A2 is detected; Fig.17 As shown, the electronic device can control the display area of the first prompt interface A2 to gradually shrink in response to the sliding operation until the first prompt interface A2 disappears and displays the meeting joining interface A1 previously displayed on the first screen.
[0096] The interface display method provided in the embodiment of the present application improves the flexibility of the electronic device in providing continuation prompts, avoids a sense of obstruction to the user's use, and improves the effect of prompting the user to unfold the screen to perform the continuation task by providing a corresponding continuation prompt strength according to the continuation priority of the continuation task when the second screen is in a folded state.
[0097] See also Fig.18 , Fig.18 A flow chart of an interface display method provided by another embodiment of the present application is shown. The interface display method is applied to the above-mentioned electronic device, the electronic device includes a first screen and a foldable second screen. Fig.18 The process shown is described in detail, and the interface display method may specifically include the following steps:
[0098] Step S410: when the second screen is in a folded state, in response to a connection triggering operation, obtaining a target connection priority of a target connection task corresponding to the connection triggering operation.
[0099] Step S420: Displaying a connection prompt interface corresponding to the target connection priority in the first screen, wherein the connection prompt interface is used to prompt the user to expand the second screen to perform the target connection task, and the connection prompt intensity of the connection prompt interface corresponds to the target connection priority.
[0100] In the embodiment of the present application, step S410 and step S420 may refer to the contents of other embodiments and will not be described in detail here.
[0101] Step S430: In response to the touch operation in the connection prompt interface, a prompt animation is displayed in the connection prompt interface, and the prompt animation is used to increase the connection prompt strength of the connection prompt interface.
[0102] In the embodiment of the present application, after displaying the above connection prompt interface, the electronic device can also detect the operation in the connection prompt interface. When a touch operation in the connection prompt interface is detected, the electronic device can respond to the touch operation and display a prompt animation in the connection prompt interface to increase the connection prompt strength of the connection prompt interface. The touch operation can be a touch operation in other areas other than the area where the control is located in the connection prompt interface, for example, see Fig.10 The above touch operations can be for Fig.10 In the first prompt interface A2 shown in FIG. 1 , the touch operation in other areas except the area where the continue cancel control A5 is located is shown in FIG. Fig.14 The above touch operations can be for Fig.14 Touch operations in other areas other than the area where the timer pause control and the timer cancel control are located in the third prompt interface A10 shown. It can be understood that usually no response will be made when a touch operation is performed on an area other than where the control is located. When the electronic device displays the continuation prompt interface, the user may want to perform the next operation by performing a touch operation on an area other than where the control is located. Therefore, the electronic device can increase the continuation prompt strength of the continuation prompt interface by displaying a prompt animation, so that the user can expand the second screen according to the prompt to perform the continuation task, thereby completing the operation that the user needs to complete.
[0103] In some implementations, the connection prompt interface may include a connection prompt icon, for example, Figure 7 The connection prompt icon A4 in the first prompt interface A2 shown. In this way, the electronic device can respond to the touch operation in the connection prompt interface and display the animation corresponding to the connection prompt icon in the connection prompt interface. For example, the connection prompt icon is a screen pattern, and the animation corresponding to the connection prompt icon can be an animation of the screen unfolding from a folded state. In this way, the prompt intensity of the connection prompt interface to prompt the user to unfold the screen to continue the task can be increased.
[0104] In some embodiments, the continuation prompt interface may include a continuation prompt text corresponding to the target continuation task, that is, the continuation prompt text is displayed for the target continuation task, thereby providing better prompts for different continuation tasks. Fig. 9 , the target follow-up task is to connect the authorization interface that triggers the display to the task of displaying it on the second screen, then Fig.12 The follow-up prompt text A8 in the second prompt interface A10 shown may be: Open the phone to continue the operation, and you can use "Weather" after authorization; please refer to Fig.10 , the target connection task is to connect the call interface displayed after answering the call to the second screen display task, then Fig.12 The connection prompt text A3 in the second prompt interface A10 shown may be: Expand the phone to answer the call. In this manner, the electronic device may control the connection prompt text to jump or control the color of the connection prompt text to change according to the target frequency in response to the touch operation in the connection prompt interface, thereby increasing the prompt intensity of the connection prompt interface prompting the user to expand the screen to perform the connection task.
[0105] In some embodiments, when the electronic device detects a touch operation in the continuation prompt interface, it can also adjust the color of the interface background and the color of the continuation prompt information in the continuation prompt interface to make the continuation prompt information more prominent in the continuation prompt interface, thereby increasing the prompt intensity of the continuation prompt interface to prompt the user to expand the screen to perform the continuation task.
[0106] The interface display method provided in the embodiment of the present application improves the flexibility of the electronic device in providing continuation prompts, avoids a sense of obstruction to the user's use, and improves the effect of prompting the user to unfold the screen to continue the task, by providing a corresponding prompt intensity of the continuation prompt according to the continuation priority of the continuation task when the second screen is in a folded state. In addition, after the continuation prompt interface is displayed, the continuation prompt intensity of the continuation prompt interface can also be increased according to the touch operation, so that the user can easily perceive the continuation prompt and the prompt effect of the continuation prompt is improved.
[0107] See also Fig.19 , Fig.19 A flow chart of an interface display method provided by another embodiment of the present application is shown. The interface display method is applied to the above-mentioned electronic device, the electronic device includes a first screen and a foldable second screen. Fig.19 The process shown is described in detail, and the interface display method may specifically include the following steps:
[0108] Step S510: when the second screen is in a folded state, in response to a connection triggering operation, obtaining a target connection priority of a target connection task corresponding to the connection triggering operation.
[0109] In the embodiment of the present application, step S510 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0110] Step S520: Based on the current display interface, generate a first background image corresponding to the current display interface.
[0111] In an embodiment of the present application, after the electronic device obtains the continuation priority of the target continuation task, when displaying the continuation prompt interface, it can generate a first background image corresponding to the current display interface based on the current display interface of the electronic device, so as to display the first background image as the interface background of the continuation prompt interface.
[0112] In some implementations, a mask image corresponding to the interface image corresponding to the current display interface may be generated, and the mask image may be subjected to Gaussian blur processing to obtain a first background image corresponding to the current display interface. Gaussian Blur, also known as Gaussian smoothing, is a processing effect widely used in image processing software such as Adobe Photoshop and Paint.NET. It is usually used to reduce image noise and detail levels. Since Gaussian Blur can increase the effect of highlighting the theme and enrich the aesthetics of the human-computer interaction interface of the mobile device, it is very meaningful to achieve an efficient and real-time Gaussian Blur effect.
[0113] In a possible implementation, the electronic device can perform color picking for the interface image corresponding to the current display interface, and obtain a color picking mask image as the mask image of the interface image corresponding to the current display interface. For example, for the interface image corresponding to the current display interface, obtain a 20% color picking mask as the above mask image.
[0114] Step S530: Based on the first background image, a connection prompt interface corresponding to the target connection priority is displayed in the first screen, the interface background of the connection prompt interface is the first background image, the connection prompt interface is used to prompt the user to expand the second screen to perform the target connection task, and the connection prompt intensity of the connection prompt interface corresponds to the target connection priority.
[0115] In the embodiment of the present application, after the first background image is generated, a connection prompt interface corresponding to the target connection priority can be displayed on the first screen according to the first background image, and the interface background of the connection prompt interface is the first background image, that is, the connection prompt interface corresponding to the target connection priority is displayed with the first background image as the interface background. Since the first background image is generated according to the current display interface, a better transition effect can be achieved when the connection prompt interface is displayed, thereby further reducing the possibility of causing a sense of blockage to the user when the connection prompt interface is displayed.
[0116] The interface display method provided in the embodiment of the present application improves the flexibility of the electronic device in providing continuation prompts, avoids a sense of obstruction to the user's use, and improves the effect of prompting the user to unfold the screen to continue the task, by providing a prompt of the corresponding continuation prompt strength according to the continuation priority of the continuation task when the second screen is in a folded state; in addition, when displaying the continuation prompt interface, the continuation prompt interface is displayed with the background image generated according to the current display interface as the interface background, so that the electronic device can have a better transition effect when displaying the continuation prompt interface, thereby further reducing the possibility of causing a sense of obstruction to the user's use when displaying the continuation prompt interface.
[0117] See also Fig. 20 , Fig. 20 A flowchart of an interface display method provided by yet another embodiment of the present application is shown. The interface display method is applied to the above-mentioned electronic device, the electronic device includes a first screen and a foldable second screen. Fig. 20 The process shown is described in detail, and the interface display method may specifically include the following steps:
[0118] Step S610: when the second screen is in a folded state, in response to a connection triggering operation, obtaining a target connection priority of a target connection task corresponding to the connection triggering operation.
[0119] In the embodiment of the present application, step S610 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0120] Step S620: Perform Gaussian blur processing on the mask image of the target color to obtain a second background image.
[0121] In the embodiment of the present application, after obtaining the connection priority of the target connection task, the electronic device performs Gaussian blur processing on the mask image of the target color when displaying the connection prompt interface to obtain a second background image, so as to display the second background image as the interface background of the connection prompt interface. Among them, the target color can be black, blue, yellow, etc., and the specific color can be not limited.
[0122] Step S630: Based on the second background image, a connection prompt interface corresponding to the target connection priority is displayed in the first screen, and the interface background of the connection prompt interface is the second background image. The connection prompt interface is used to prompt the user to expand the second screen to perform the target connection task, and the connection prompt intensity of the connection prompt interface corresponds to the target connection priority.
[0123] In the embodiment of the present application, after the second background image is generated, a connection prompt interface corresponding to the target connection priority can be displayed on the first screen according to the second background image, and the interface background of the connection prompt interface is the second background image, that is, the connection prompt interface corresponding to the target connection priority is displayed with the second background image as the interface background. Since the second background image is obtained by Gaussian blurring the mask image of the target color, a better transition effect can be achieved when the connection prompt interface is displayed, thereby further reducing the possibility of causing a sense of blockage to the user when the connection prompt interface is displayed.
[0124] In some embodiments, the interface display method provided by the embodiment of the present application may also be combined with the interface display method provided by the previous embodiment. Optionally, when the first screen of the electronic device displays the main interface, the connection prompt interface may be displayed by the interface display method provided by the previous embodiment, and when the first screen of the electronic device displays a display interface other than the main interface, the connection prompt interface may be displayed by the interface display method provided by the embodiment of the present application. That is, when the first screen of the electronic device displays the main interface, the above first background image is generated according to the current display interface, and the connection prompt interface is displayed according to the first background image. When the first screen of the electronic device does not display the main interface, the mask image of the target color is blurred to obtain a second background image, and the connection prompt interface is displayed according to the second background image.
[0125] Optionally, since generating the first background image corresponding to the current display interface based on the current display interface usually results in greater power consumption, the electronic device can also obtain the remaining battery power value of the electronic device after obtaining the above target connection priority. If the remaining battery power value is greater than the target power value, the above first background image can be generated according to the current display interface, and the connection prompt interface can be displayed according to the first background image; if the remaining battery power value is less than or equal to the target power value, the mask image of the target color can be blurred to obtain the second background image, and the connection prompt interface can be displayed according to the second background image. In this way, the power consumption of the electronic device when displaying the connection prompt interface can be saved, thereby ensuring the battery life and normal use of the electronic device.
[0126] The interface display method provided in the embodiment of the present application improves the flexibility of the electronic device in providing continuation prompts, avoids a sense of obstruction to the user's use, and improves the effect of prompting the user to unfold the screen to continue the task, by providing a prompt of the corresponding continuation prompt strength according to the continuation priority of the continuation task when the second screen is in a folded state. In addition, when displaying the continuation prompt interface, a background image is obtained after Gaussian blurring of a mask image of a target color, and the continuation prompt interface is displayed based on the obtained background image as the interface background, so that the electronic device can have a better transition effect when displaying the continuation prompt interface, thereby further reducing the possibility of causing a sense of obstruction to the user's use when displaying the continuation prompt interface.
[0127] See also Fig.21 , which shows a structural block diagram of an interface display device 700 provided in an embodiment of the present application. The interface display device 700 applies the above-mentioned electronic device, and the electronic device includes a first screen and a foldable second screen. The interface display device 700 includes: a priority acquisition module 710 and a prompt display module 720. Among them, the priority acquisition module 710 is used to respond to a continuation trigger operation when the second screen is in a folded state, and obtain the target continuation priority of the target continuation task corresponding to the continuation trigger operation; the prompt display module 720 is used to display a continuation prompt interface corresponding to the target continuation priority in the first screen, and the continuation prompt interface is used to prompt the user to unfold the second screen to perform the target continuation task, and the continuation prompt strength of the continuation prompt interface corresponds to the target continuation priority.
[0128] In some embodiments, the prompt display module 720 can be specifically used to display a connection prompt interface corresponding to the target connection priority in the first screen, and the connection prompt interface includes connection prompt information corresponding to the target connection task. The connection prompt information is used to prompt the user to expand the second screen to perform the target connection task, and the proportion of the connection prompt information in all information displayed in the connection prompt interface corresponds to the target connection priority.
[0129] In a possible implementation, the prompt display module 720 can also be specifically used to display a first prompt interface in the first screen if the target connection priority is the first priority, the first priority is the highest connection priority, and the first prompt interface does not include information other than the connection prompt information; if the target connection priority is not the first priority, a second prompt interface is displayed in the first screen, and the second prompt interface includes task information of the target connection task and the connection prompt information located in the target display area of the first screen.
[0130] Optionally, the prompt display module 720 can also be specifically used to display a second prompt interface corresponding to the second priority in the first screen if the target connection priority is the second priority, the second prompt interface corresponding to the second priority including task information corresponding to the target connection task and a dynamic connection prompt icon in the bottom display area of the first screen, and the second priority is lower than the first priority; if the target connection priority is the third priority, then display a second prompt interface corresponding to the third priority in the first screen, the second prompt interface corresponding to the third priority including task information corresponding to the target connection task and a static connection prompt icon in the bottom display area of the first screen, and the third priority is lower than the second priority.
[0131] In a possible implementation, the connection prompt information in the first prompt interface includes a connection cancel control. The interface display device 700 may also include a first interface cancel module, which is used to cancel the display of the first prompt interface in response to a triggering operation on the connection cancel control after the first prompt interface is displayed on the first screen if the target connection priority is the first priority.
[0132] In a possible embodiment, the interface display device 700 may also include a second interface cancellation module, which is used to cancel the display of the first prompt interface in response to a sliding operation in the first prompt interface after the first prompt interface is displayed in the first screen if the target connection priority is the first priority.
[0133] In some embodiments, the priority acquisition module 710 can be specifically used to determine the target continuation priority of the target continuation task according to a mapping relationship between different continuation tasks and continuation priorities in response to a continuation trigger operation when the second screen is in a folded state, wherein the mapping relationship is determined according to the probability of different continuation tasks being executed.
[0134] In some implementations, the connection triggering operation includes an operation detected by the electronic device for triggering the target connection task or an operation generated by the electronic device for triggering the target connection task;
[0135] The target continuation task is a task of continuing the target content corresponding to the target continuation task to the second screen for display, and the target content is the content that cannot be displayed on the first screen.
[0136] In a possible implementation, the interface display device 700 may further include a connection display module, which is used to display the target content in the second screen after displaying the connection prompt interface corresponding to the target connection priority in the first screen and then, when it is detected that the second screen is in an expanded state.
[0137] Optionally, the target content is a first target interface that is displayed when triggered by the follow-up trigger operation, and the follow-up display module may be specifically configured to display the first target interface on the second screen when it is detected that the second screen is in an expanded state.
[0138] Optionally, the target content is a second target interface that is triggered to be displayed after the second screen is in the expanded state. The subsequent display module can be specifically used to generate a target operation for triggering display of the second target interface when it is detected that the second screen is in the expanded state; in response to the target operation, the second target interface is displayed in the second screen.
[0139] In some embodiments, the interface display device 700 may further include an animation display module. The animation display module is used to display a prompt animation in the connection prompt interface in response to a touch operation in the connection prompt interface after the connection prompt interface corresponding to the target connection priority is displayed in the first screen, and the prompt animation is used to increase the connection prompt strength of the connection prompt interface.
[0140] In a possible implementation, the connection prompt interface includes a connection prompt icon, and the animation display module may be specifically configured to display an animation corresponding to the connection prompt icon in the connection prompt interface in response to a touch operation in the connection prompt interface.
[0141] In a possible implementation, the continuation prompt interface includes a continuation prompt text corresponding to the target continuation task, and the animation display module can be specifically used to respond to the touch operation in the continuation prompt interface, control the continuation prompt text to jump, or control the color of the continuation prompt text to change according to the target frequency.
[0142] In some embodiments, the prompt display module 720 can be specifically used to generate a first background image corresponding to the current display interface based on the current display interface; based on the first background image, display the connection prompt interface corresponding to the target connection priority in the first screen, and the interface background of the connection prompt interface is the first background image.
[0143] In a possible implementation, the prompt display module 720 may also be used to generate a mask image corresponding to the interface image corresponding to the current display interface, and perform Gaussian blur processing on the mask image to obtain a first background image corresponding to the current display interface.
[0144] In some embodiments, the prompt display module 720 can be specifically used to perform Gaussian blur processing on the mask image of the target color to obtain a second background image; based on the second background image, a connection prompt interface corresponding to the target connection priority is displayed in the first screen, and the interface background of the connection prompt interface is the second background image.
[0145] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0146] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0147] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0148] In summary, the solution provided by the present application obtains the target continuation priority of the target continuation task corresponding to the continuation trigger operation in response to the continuation trigger operation when the second screen of the electronic device is in a folded state, and displays a continuation prompt interface corresponding to the target continuation priority on the first screen. The continuation prompt interface is used to prompt the user to unfold the second screen to perform the target continuation task, and the continuation prompt strength of the continuation prompt interface corresponds to the target continuation priority. Therefore, when a continuation task needs to be performed when the second screen is in a folded state, a prompt of the corresponding continuation prompt strength can be given according to the continuation priority of the continuation task, thereby improving the flexibility of the electronic device in performing continuation prompts and improving the prompt effect of prompting the user to unfold the screen to perform the continuation task.
[0149] Please refer to Fig. 22, which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 may be a smart phone, a tablet computer, a game console, an e-book, or an electronic device in a vehicle that can run applications. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more applications are configured to execute the method described in the aforementioned method embodiment.
[0150] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.
[0151] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, 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 implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.
[0152] Please refer to Fig.23 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 800 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0153] The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in an appropriate form.
[0154] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An interface display method, characterized in that: Applied to an electronic device, the electronic device includes a first screen and a foldable second screen, the method includes: When the second screen is in a folded state, in response to a connection triggering operation, obtaining a target connection priority of a target connection task corresponding to the connection triggering operation; A connection prompt interface corresponding to the target connection priority is displayed on the first screen, and the connection prompt interface is used to prompt the user to expand the second screen to perform the target connection task. The connection prompt intensity of the connection prompt interface corresponds to the target connection priority.
2. The method according to claim 1, characterized in that The step of displaying a connection prompt interface corresponding to the target connection priority on the first screen includes: A connection prompt interface corresponding to the target connection priority is displayed in the first screen, and the connection prompt interface includes connection prompt information corresponding to the target connection task. The connection prompt information is used to prompt the user to expand the second screen to perform the target connection task. The proportion of the connection prompt information in all information displayed in the connection prompt interface corresponds to the target connection priority.
3. The method according to claim 2, characterized in that The step of displaying a connection prompt interface corresponding to the target connection priority on the first screen includes: If the target connection priority is the first priority, a first prompt interface is displayed on the first screen, the first priority is the highest connection priority, and the first prompt interface does not include any information other than the connection prompt information; If the target connection priority is not the first priority, a second prompt interface is displayed on the first screen, wherein the second prompt interface includes task information of the target connection task and the connection prompt information located in the target display area of the first screen.
4. The method according to claim 3, characterized in that If the target connection priority is not the first priority, displaying a second prompt interface on the first screen includes: If the target connection priority is the second priority, a second prompt interface corresponding to the second priority is displayed on the first screen, the second prompt interface corresponding to the second priority includes task information corresponding to the target connection task and a dynamic connection prompt icon in the bottom display area of the first screen, and the second priority is lower than the first priority; If the target connection priority is the third priority, the second prompt interface corresponding to the third priority is displayed in the first screen, and the second prompt interface corresponding to the third priority includes the task information corresponding to the target connection task and a static connection prompt icon located in the bottom display area of the first screen, and the third priority is lower than the second priority.
5. The method according to claim 3, characterized in that: The connection prompt information in the first prompt interface includes a connection cancel control. After the first prompt interface is displayed on the first screen if the target connection priority is the first priority, the method includes: In response to a triggering operation on the connection cancel control, the first prompt interface is canceled from being displayed.
6. The method according to claim 3, characterized in that After displaying a first prompt interface on the first screen if the target connection priority is the first priority, the method further includes: In response to a sliding operation in the first prompt interface, the first prompt interface is canceled.
7. The method according to claim 1, characterized in that The acquiring, in response to a connection triggering operation when the second screen is in a folded state, a target connection priority of a target connection task corresponding to the connection triggering operation comprises: When the second screen is in a folded state, in response to a continuation trigger operation, a target continuation priority of the target continuation task is determined according to a mapping relationship between different continuation tasks and continuation priorities, wherein the mapping relationship is determined according to the probability of different continuation tasks being executed.
8. The method according to claim 1, characterized in that The connection triggering operation includes an operation detected by the electronic device for triggering the target connection task or an operation generated by the electronic device for triggering the target connection task; The target continuation task is a task of continuing the target content corresponding to the target continuation task to the second screen for display, and the target content is the content that cannot be displayed on the first screen.
9. The method according to claim 8, characterized in that After displaying a connection prompt interface corresponding to the target connection priority on the first screen, the method further includes: When it is detected that the second screen is in the expanded state, the target content is displayed in the second screen.
10. The method according to claim 9, characterized in that The target content is a first target interface triggered by the subsequent trigger operation, and when it is detected that the second screen is in the expanded state, displaying the target content on the second screen includes: When it is detected that the second screen is in the expanded state, the first target interface is displayed on the second screen.
11. The method according to claim 9, characterized in that The target content is a second target interface that is triggered to be displayed after the second screen is in the expanded state, and when detecting that the second screen is in the expanded state, displaying the target content in the second screen includes: When detecting that the second screen is in the expanded state, generating a target operation for triggering display of the second target interface; In response to the target operation, the second target interface is displayed in the second screen.
12. The method according to any one of claims 1 to 11, characterized in that: After displaying a connection prompt interface corresponding to the target connection priority on the first screen, the method further includes: In response to a touch operation in the connection prompt interface, a prompt animation is displayed in the connection prompt interface, and the prompt animation is used to increase the connection prompt strength of the connection prompt interface.
13. The method according to claim 12, characterized in that The connection prompt interface includes a connection prompt icon, and the prompt animation is displayed in the connection prompt interface in response to the touch operation in the connection prompt interface, including: In response to the touch operation in the connection prompt interface, an animation corresponding to the connection prompt icon is displayed in the connection prompt interface.
14. The method according to claim 12, characterized in that The connection prompt interface includes a connection prompt text corresponding to the target connection task, and the display of a prompt animation in the connection prompt interface in response to a touch operation in the connection prompt interface includes: In response to the touch operation in the connection prompt interface, the connection prompt text is controlled to jump, or the color of the connection prompt text is controlled to change according to a target frequency.
15. The method according to any one of claims 1 to 11, characterized in that: The step of displaying a connection prompt interface corresponding to the target connection priority on the first screen includes: Based on the current display interface, generating a first background image corresponding to the current display interface; Based on the first background image, a connection prompt interface corresponding to the target connection priority is displayed on the first screen, and the interface background of the connection prompt interface is the first background image.
16. The method according to claim 15, characterized in that The step of generating a first background image corresponding to the current display interface based on the current display interface includes: A mask image corresponding to the interface image corresponding to the current display interface is generated, and Gaussian blur processing is performed on the mask image to obtain a first background image corresponding to the current display interface.
17. The method according to any one of claims 1 to 11, characterized in that: The step of displaying a connection prompt interface corresponding to the target connection priority on the first screen includes: Performing Gaussian blur processing on the mask image of the target color to obtain a second background image; Based on the second background image, a connection prompt interface corresponding to the target connection priority is displayed on the first screen, and the interface background of the connection prompt interface is the second background image.
18. An interface display device, characterized in that: Applied to an electronic device, the electronic device comprises a first screen and a foldable second screen, the device comprises: a priority acquisition module and a prompt display module, wherein: The priority acquisition module is used for acquiring, in response to a connection trigger operation, a target connection priority of a target connection task corresponding to the connection trigger operation when the second screen is in a folded state; The prompt display module is used to display a connection prompt interface corresponding to the target connection priority in the first screen, and the connection prompt interface is used to prompt the user to expand the second screen to perform the target connection task. The connection prompt intensity of the connection prompt interface corresponds to the target connection priority.
19. An electronic device, characterized in that: include: one or more processors; Memory; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1-17.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, and the program code can be called by a processor to execute the method according to any one of claims 1 to 17.