Display method and device

By displaying different controls in the status bar areas of the first and second screens of the foldable screen, and displaying different content according to the usage scenario, the problems of insufficient screen space utilization and inconvenient interaction in the existing technology are solved, and more efficient information display and user interaction are achieved.

CN120950166APending Publication Date: 2025-11-14VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511069614.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-31
Publication Date
2025-11-14

AI Technical Summary

Technical Problem

When foldable electronic devices are unfolded, the display method of the status bar area cannot make full use of the large screen space, resulting in inconvenient user interaction.

Method used

When the foldable screen is unfolded, depending on whether the current usage scenario is a multi-tasking scenario or a single-tasking scenario, different controls are displayed in the status bar areas of the first and second screens, including content from different task scenarios in a multi-tasking scenario or different content in a single-tasking scenario.

Benefits of technology

It makes full use of the large screen space when the foldable screen is unfolded, improves the utilization rate of screen space, solves the problem of limited information display, and enhances the convenience of user interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120950166A_ABST
    Figure CN120950166A_ABST
Patent Text Reader

Abstract

The invention discloses a display method and device, and belongs to the technical field of communication. The method comprises the steps of determining a current use scene under the condition that the folding screen is in an unfolded state; under the condition that the current use scene is a multi-task scene or a single-task scene, displaying a first control in a status bar area of a first screen, and displaying a second control in a status bar area of a second screen, the first control and the second control respectively comprise contents in different task scenes in a multi-task scene or different contents in a single task scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, specifically to display methods and devices. Background Technology

[0002] With the rapid development of electronic device technology, more and more electronic devices are using foldable screens. Electronic devices with foldable screens can flexibly switch between a compact and portable folded state and a large-screen unfolded state, which not only meets users' needs for device portability, but also provides more screen space when needed.

[0003] In existing technologies, when a foldable screen is unfolded, the status bar area typically displays only a single interactive control to show frequently used functions and information. This display method cannot fully utilize the large screen space, and due to the limited content displayed, user interaction is not convenient. Summary of the Invention

[0004] The purpose of this application is to provide a display method and apparatus that improves screen utilization and ease of interaction.

[0005] In a first aspect, embodiments of this application provide a display method applied to an electronic device with a foldable screen, the foldable screen including a first screen and a second screen. The method includes: when the foldable screen is in an unfolded state, determining a current usage scenario; when the current usage scenario is a multi-tasking scenario or a single-tasking scenario, displaying a first control in the status bar area of ​​the first screen and displaying a second control in the status bar area of ​​the second screen, wherein the first control and the second control respectively include content from different task scenarios in the multi-tasking scenario or different content from the single-tasking scenario.

[0006] Secondly, embodiments of this application provide a display device applied to an electronic device with a foldable screen, the foldable screen including a first screen and a second screen. The device includes: a first determining unit, configured to determine a current usage scenario when the foldable screen is in an unfolded state; and a first display unit, configured to display a first control in the status bar area of ​​the first screen and a second control in the status bar area of ​​the second screen when the current usage scenario is a multi-tasking scenario or a single-tasking scenario, wherein the first control and the second control respectively include content from different task scenarios in the multi-tasking scenario or different content from the single-tasking scenario.

[0007] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0008] Fourthly, embodiments of this application provide a readable storage medium on which a computer program is stored, and when executed by a processor, the computer program implements the steps of the method described in the first aspect above.

[0009] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method described in the first aspect.

[0010] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0011] In this embodiment, when the foldable screen is in the unfolded state, the current usage scenario is determined. If the current usage scenario is a multi-tasking scenario or a single-tasking scenario, a first control is displayed in the status bar area of ​​the first screen, and a second control is displayed in the status bar area of ​​the second screen. The first and second controls respectively include content from different task scenarios in the multi-tasking scenario or different content from the single-tasking scenario. By displaying the first and second controls in the status bar areas of the first and second screens respectively, and displaying different content in the first and second controls respectively, the large screen space of the unfolded foldable screen is fully utilized, improving screen space utilization. Simultaneously, the dual-control display method solves the problem of limited information display and improves the convenience of user interaction. Attached Figure Description

[0012] Figure 1 This is a flowchart of the display method provided in the embodiments of this application;

[0013] Figure 2 This is a schematic diagram illustrating the application scenario provided in the embodiments of this application;

[0014] Figure 3 This is a schematic diagram illustrating the application scenario provided in the embodiments of this application;

[0015] Figure 4 This is a schematic diagram illustrating the application scenario provided in the embodiments of this application;

[0016] Figure 5 This is a schematic diagram of the structure of the display device provided in the embodiments of this application;

[0017] Figure 6 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;

[0018] Figure 7This is a schematic diagram of the hardware structure of an electronic device suitable for implementing the embodiments of this application. Detailed Implementation

[0019] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0020] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0021] The display method and apparatus provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0022] Please refer to Figure 1 This document illustrates a flowchart of one of the display methods provided in an embodiment of this application. The display method provided in this application can be applied to electronic devices with foldable screens. The aforementioned electronic device with a foldable screen includes a first screen and a second screen. For example, if the display screen of the aforementioned electronic device with a foldable screen is foldable left and right, then the first screen and the second screen can be the left screen and the right screen of the display screen, respectively. As another example, if the display screen of the aforementioned electronic device with a foldable screen is foldable up and down, then the first screen and the second screen can be the upper screen and the lower screen of the display screen, respectively. In practice, the aforementioned electronic device can be a smartphone, tablet computer, laptop computer, or other electronic device.

[0023] The display method provided in this application includes the following steps:

[0024] Step 101: With the foldable screen in the unfolded state, determine the current usage scenario.

[0025] In this embodiment, the unfolded state is a physical state of the foldable screen, which can refer to an angle between the first screen and the second screen being close to or equal to 180 degrees. In the unfolded state, a large continuous display area can be formed.

[0026] The current usage scenario refers to the current usage scenario of the electronic device. This scenario may include, but is not limited to, single-task scenarios, multi-task scenarios, and other scenarios. A single-task scenario is one where a single application is running and its target function is triggered. The target function can be preset by the user or set by default. For example, the settings page of each application may include a multi-control display option, allowing the user to choose whether to enable the multi-control display function. If the user selects this option, the electronic device is considered to be in a single-task scenario when the application is running and its target function is triggered. In practice, the aforementioned single application may include, but is not limited to, music playback applications, video playback applications, navigation applications, call applications, translation applications, and food delivery applications. Correspondingly, a single-task scenario may include, but is not limited to, translation scenarios, multimedia file playback scenarios, navigation scenarios, call scenarios, and food delivery waiting scenarios. The aforementioned multimedia file playback scenario may further include, but is not limited to, music playback scenarios, video playback scenarios, recording playback scenarios, and broadcast playback scenarios. The aforementioned call scenario may include, but is not limited to, voice call scenarios and video call scenarios. Multitasking scenarios refer to scenarios where at least two applications are running simultaneously, such as entertainment scenarios where a music player application and a food delivery application are running at the same time.

[0027] For example, when a user unfolds a foldable phone to 180°, the unfolded state can be detected. If the user plays music using a music player app and no other apps are running on the device, the current usage scenario can be determined to be a single-tasking scenario, specifically a music playback scenario. If the user then launches a food delivery app or a navigation app, the current usage scenario can be determined to be a multi-tasking scenario.

[0028] Step 102: When the current usage scenario is a multi-tasking scenario or a single-tasking scenario, display the first control in the status bar area of ​​the first screen and display the second control in the status bar area of ​​the second screen. The first control and the second control respectively include content from different task scenarios in the multi-tasking scenario or different content from the single-tasking scenario.

[0029] In this embodiment, both the first screen and the second screen may include a status bar area. For example, the status bar area may be located at the top of both the first and second screens. In a multi-tasking or single-tasking scenario, a first control can be displayed in the status bar area of ​​the first screen, and a second control can be displayed in the status bar area of ​​the second screen. Both the first and second controls are interactive controls capable of displaying content and receiving user input. It is understood that the display style of the first and second controls can be set as needed; the first and second controls may also be referred to as atomic islands, dynamic islands, etc., without limitation here.

[0030] In a multitasking scenario, the first control may include content from different task scenarios within the multitasking environment. For example, in a scenario where a music player app and a food delivery app are running simultaneously, the first control may include music playback controls or lyrics from the music playback scenario. The second control may include food delivery order status information from the food delivery app, such as the estimated delivery time.

[0031] In a single-task scenario, the first control may include different content specific to that scenario. For example, in a music playback scenario, the first control may include music playback controls, while the second control may include lyrics and other information. In a translation scenario, the first control may include the text to be translated, and the second control may include the translated text.

[0032] The method provided in the above embodiments of this application determines the current usage scenario when the foldable screen is in the unfolded state. If the current usage scenario is a multi-tasking scenario or a single-tasking scenario, a first control is displayed in the status bar area of ​​the first screen, and a second control is displayed in the status bar area of ​​the second screen. The first and second controls respectively include content from different task scenarios in the multi-tasking scenario or different content from the single-tasking scenario. By displaying the first and second controls in the status bar areas of the first and second screens respectively, and displaying different content in the first and second controls respectively, the large screen space of the foldable screen in the unfolded state is fully utilized, improving the screen space utilization rate. At the same time, the dual-control display method solves the problem of limited information display and improves the convenience of user interaction.

[0033] In some optional embodiments, when the first application and the second application are running simultaneously, the current usage scenario can be defined as a multi-tasking scenario. The first control may include content from the first application, and the second control may include content from the second application.

[0034] Specifically, both the first and second applications are applications capable of triggering the display of interactive controls located in the screen's taskbar. These applications capable of triggering the display of interactive controls in the screen's taskbar can be preset by the user or set by default by the electronic device.

[0035] In a multitasking scenario, the first control may include, but is not limited to, sub-controls used to control the first application, information or notifications in the first application, etc., without specific limitations here. Similarly, the second control may include, but is not limited to, sub-controls used to control the second application, information or notifications in the second application, etc., without specific limitations here.

[0036] For example, see Figure 2Electronic devices with foldable screens can identify the current usage scenario after the foldable screen is detected to be in the unfolded state by sensors. For example, if a user is playing music in a music player app and triggers a food delivery app, the current usage scenario can be determined to be a multitasking scenario, specifically an entertainment / lifestyle scenario. In this case, a first control 202 can be displayed on the first screen 201, and a second control 204 can be displayed on the second screen 203. The first control 202 includes music playback control sub-controls, such as play / pause buttons, previous / next track buttons, and a playback progress bar. The second control 204 includes food delivery order status information. In this entertainment / lifestyle scenario, the dual controls present entertainment and lifestyle functions separately, achieving efficient parallel display of information, fully utilizing the large screen space after the foldable screen is unfolded, avoiding visual clutter caused by information overload, and improving the efficiency of information retrieval for users.

[0037] Therefore, this embodiment determines the current usage scenario as a multi-tasking scenario by detecting that the first application and the second application are running simultaneously. It can accurately identify the multi-tasking scenario, thereby more accurately allocating the content display of the first control and the second control, enabling users to obtain diverse information from different tasks more intuitively and improving information acquisition efficiency.

[0038] In some optional embodiments, when a third application is running and a target function within the third application is triggered, the current usage scenario can be defined as a single-task scenario. In this scenario, the first and second controls respectively display different content from the third application.

[0039] Specifically, the third application is a single application capable of triggering the display of interactive controls located in the screen's taskbar. It can be the same as or different from the first or second application; this is not limited here. The application capable of triggering the display of interactive controls in the screen's taskbar can be preset by the user or set by the electronic device by default. For example, each application's settings page may include a multi-control display option, allowing the user to choose whether to enable the multi-control display function. If the user selects this option, the application can be set as the third application. When the third application is running and its target function is triggered, the electronic device can be considered to be in a single-tasking scenario. The target function can be set by the third application by default or by the user; this is not limited here.

[0040] In a single-task scenario, the first control may include first content from a third application, and the second control may include second content from the third application. The first and second content are different. For example, in a music playback scenario, the first control may include music playback controls, and the second control may include lyrics and other information. In a translation scenario, the first control may include the text to be translated, and the second control may include the translated text.

[0041] By detecting the running of a third application and triggering the target function in the third application, the current usage scenario is determined to be a single-task scenario. This allows for accurate identification of single-task scenarios, enabling more precise allocation of content display for the first and second controls. This allows users to more intuitively obtain diverse information from different tasks, improving information acquisition efficiency.

[0042] In some optional embodiments, the single-task scenario includes a translation scenario. In the translation scenario, the first control can serve as a source language input area, used to display the first text to be translated, i.e., the text entered by the user or the text converted from speech. The second control can serve as a target language output area, used to display the second text generated after translating the first text.

[0043] For example, when a user opens a translation app, triggers the translation function in the input box, or enters the voice command "Open translation mode," it can be determined that they have entered a translation scenario. The user can select Chinese as the source language and English as the target language, or configure the source and target languages ​​by entering the voice command "Set source language to Chinese, target language to English." After entering the text to be translated, "Nice to meet you," see [link to translation section]. Figure 3 The first control 301 can display the first text "Nice to meet you" in the source language input by the user, and the second control 302 can display the second text "Nice to meet you" after translating the first text into the target language.

[0044] After performing step 102, the following operations can be performed further:

[0045] Upon receiving the user's first input to the first control, at least one of the following operations may be performed: displaying the input method switching control, or switching the language type of the first text;

[0046] Upon receiving a second input from the user to the second control, perform at least one of the following: read the second text aloud, display the copy control, display the share control, switch the translation engine, or switch the language type of the second text.

[0047] The first and second inputs can be touch inputs, voice commands, specific gestures input by the user, or other feasible inputs. The specific type can be determined based on actual usage needs, and this application embodiment does not impose limitations. The specific gestures in this application embodiment can be any one of the following: single-click gesture, swipe gesture, drag gesture, pressure-recognition gesture, long-press gesture, area-change gesture, double-press gesture, and double-tap gesture. The click input in this application embodiment can be a single-click input, double-click input, or any number of clicks, and can also be a long-press input or a short-press input.

[0048] For example, the first control can support multiple input methods such as handwriting input, voice input, and keyboard input. The first input may include long-press input on a blank area of ​​the first control. When the user long-presses on a blank area of ​​the first control, an input method switching menu can pop up. The user can select an input method in the menu to switch input methods. For example, after switching from keyboard input to voice input, if the user voice-inputs "Please help me book a flight to Beijing tomorrow," the first control can display the latest first text "Please help me book a flight to Beijing tomorrow" in real time.

[0049] For example, the second control can synchronously display the translation result of the first text in real time and supports a text-to-speech function. The second input may include clicking on the second control. When the user clicks on the second control, the text-to-speech function can be triggered, thereby reading the second text aloud.

[0050] For example, the second control can provide copy and share functionality. The second input may also include a two-finger long press on the second control. When the user long presses the second control with two fingers, copy and share controls can be displayed.

[0051] For example, the second control may include a translation engine switching control. The second input may include a click input to the translation engine switching control. When the user clicks the translation engine switching control, the translation engine can be quickly switched.

[0052] For example, the first and second controls may also provide gesture-based language switching functionality. The first input may include a two-finger swipe on the first control, and the second input may include a two-finger swipe on the second control. When the user swipes two fingers on the first control, the source language can be switched. When the user swipes two fingers on the second control, the target language can be switched. When two fingers swipe from the first control to the second control, or from the second control to the first control, the source and target languages ​​can be exchanged.

[0053] By displaying the source language input and target language output in the first and second controls respectively, users can intuitively input and view translation results, reducing the frequency of interface switching and significantly improving translation efficiency. Furthermore, the first and second controls support multiple input methods and translation result operations, meeting diverse user interaction needs.

[0054] In some optional embodiments, the single-task scenario includes a multimedia file playback scenario. A multimedia file playback scenario refers to a scenario where a multimedia playback application is running on an electronic device. Multimedia file playback scenarios may include, but are not limited to, music playback scenarios, video playback scenarios, audio recording playback scenarios, and broadcast playback scenarios.

[0055] In a multimedia file playback scenario, the first control may include, but is not limited to, playback control sub-controls, and the second control may include, but is not limited to, the content of the multimedia file. The playback control sub-controls refer to interface elements used to control the playback process of the multimedia file, such as play / pause buttons, previous / next track buttons, and playback progress bars. The content of the multimedia file may include, but is not limited to, text. For example, lyrics for audio files, subtitles for video files, and video footage.

[0056] For example, see Figure 4 In a music playback scenario, the first control 401 can display play / pause buttons, previous / next track buttons, and a playback progress bar, while the second control 402 can display the lyrics of the currently playing music.

[0057] By centralizing the playback control sub-controls in the first control, users can quickly perform operations such as play / pause and track switching without entering the application interface, improving ease of use. Displaying multimedia file content, such as lyrics and video footage, in the second control fully utilizes the expanded screen space, enhancing the content display effect.

[0058] In some optional embodiments, the electronic device also includes an outer screen. The outer screen refers to the external screen used to display information when the electronic device with a foldable screen is in a folded state. It is typically small in size, allowing users to quickly view and operate the device when it is folded. The folded state refers to a state where the angle between the first screen and the second screen of the electronic device is less than a preset threshold.

[0059] After executing step 102, the following operations can be further performed: when the folding screen is detected to change from an unfolded state to a folded state, the first control and the second control are merged into a third control; the third control is displayed in the status bar area of ​​the outer screen, and the third control includes the content of the control with higher priority among the first control and the second control.

[0060] Specifically, priority refers to the display priority level determined by preset rules such as application type and user settings among multiple controls or tasks. When the screen is detected gradually transitioning from an unfolded state to a folded state, the first and second controls can be controlled to gradually merge into a third control. The third control is ultimately displayed on the outer screen. During this process, based on the priority information associated with the first and second controls, the control with higher priority among the first and second controls can be determined, and thus, the content of the control with higher priority is displayed in the third control. For example, see [link to example]. Figure 2 If the first control has a higher priority than the second control, then the third control will display the content of the first control, such as a music playback control sub-control, which specifically includes play / pause buttons, previous / next track buttons, playback progress bar, etc.

[0061] Furthermore, when the folding screen is detected to gradually transition from an unfolded state to a folded state, the third control can be gradually divided into a first control and a second control, which are displayed on the first screen and the second screen of the folding screen, respectively.

[0062] When the user folds the device from its unfolded state, the controls are merged to ensure that important information continues to be displayed on the outer screen, avoiding information interruption. Furthermore, given the smaller size of the outer screen, merging controls and displaying higher-priority content makes efficient use of the limited display space, ensuring that users can quickly access key information.

[0063] In some optional embodiments, after performing step 102, the following operations may be further performed: upon receiving a third input from the user to the first control and the second control, the first control and the second control are merged into a fourth control; upon receiving a fourth input from the user to the fourth control, the fourth control is split into the first control and the second control.

[0064] Specifically, the third input can be touch input, voice command, a specific gesture input by the user, or other feasible input methods. The specific method can be determined based on actual usage needs, and this application embodiment does not impose any limitations. The specific gesture in this application embodiment can be any one of the following: single-click gesture, swipe gesture, drag gesture, pressure recognition gesture, long-press gesture, area change gesture, double-press gesture, and double-tap gesture. The click input in this application embodiment can be single-click input, double-click input, or any number of clicks, and can also be long-press input or short-press input.

[0065] For example, users can switch between single and dual controls using gestures. When a first control and a second control are displayed, if the user pinches the first and second controls together, they can merge them into a fourth control. The fourth control can display the content of the control with higher priority among the first and second controls, or the content of a user-specified control among the first and second controls, or it can be divided into sub-areas to simultaneously display the content of the first and second controls; no specific limitations are made here. Furthermore, when the fourth control is displayed, if the user swipes down on it from top to bottom, the fourth control can be split into a first control and a second control.

[0066] By introducing gestures to trigger the merging and splitting of the first and second controls, flexible switching between single and dual controls is achieved, which is convenient to meet user habits.

[0067] It should be noted that the display method provided in this application embodiment can be executed by a display device. This application embodiment uses a display device executing the display method as an example to illustrate the display device provided in this application embodiment. The display device provided in this application embodiment is applied to an electronic device with a foldable screen, which includes a first screen and a second screen.

[0068] like Figure 5 As shown, the display device 500 of this embodiment includes: a first determining unit 501, configured to determine the current usage scenario when the folding screen is in an unfolded state; and a first display unit 502, configured to display a first control in the status bar area of ​​the first screen and a second control in the status bar area of ​​the second screen when the current usage scenario is a multi-tasking scenario or a single-tasking scenario, wherein the first control and the second control respectively include content from different task scenarios in the multi-tasking scenario or different content from the single-tasking scenario.

[0069] In some optional implementations of this embodiment, the device further includes a second determining unit, configured to: determine the current usage scenario as a multi-tasking scenario when the first application and the second application are running simultaneously, wherein the first control includes content from the first application and the second control includes content from the second application; and determine the current usage scenario as a single-tasking scenario when a third application is running and a target function in the third application is triggered, wherein the first control and the second control respectively display different content from the third application. By determining the current usage scenario as a multi-tasking scenario when the simultaneous running of the first and second applications is detected, and determining the current usage scenario as a single-tasking scenario when the running of the third application is detected and a target function in the third application is triggered, multi-tasking scenarios and single-tasking scenarios can be accurately identified, thereby more precisely allocating the content display of the first control and the second control, enabling users to more intuitively obtain diverse information from different tasks and improving information acquisition efficiency.

[0070] In some optional implementations of this embodiment, the single-task scenario includes a translation scenario; in the translation scenario, the first control includes a first text to be translated, and the second control includes a second text generated after translating the first text; the device further includes: a first execution unit, configured to perform at least one of the following operations upon receiving a first input from the user to the first control: displaying an input method switching control and switching the language type of the first text; and a second execution unit, configured to perform at least one of the following operations upon receiving a second input from the user to the second control: reading the second text aloud, displaying a copy control, displaying a share control, switching the translation engine, and switching the language type of the second text. By displaying the source language input and the target language output in the first and second controls respectively, users can intuitively input and view the translation results, reducing the frequency of interface switching and significantly improving translation efficiency. Furthermore, the first and second controls support multiple input methods and translation result operations, meeting diverse user interaction needs.

[0071] In some optional implementations of this embodiment, the single-task scenario includes a multimedia file playback scenario; in the multimedia file playback scenario, the first control includes a playback control sub-control, and the second control includes the content of the multimedia file. By centralizing the playback control sub-control in the first control, users can quickly perform operations such as play / pause and track switching without entering the application interface, improving the convenience of operation. By displaying the content of the multimedia file, such as lyrics and video footage, in the second control, the large screen space in the expanded state is fully utilized, enhancing the content display effect.

[0072] In some optional implementations of this embodiment, the electronic device further includes an external screen; the device further includes: a first control unit, which, upon detecting that the foldable screen is changing from the unfolded state to the folded state, controls the first control and the second control to merge into a third control; and a second display unit, which displays the third control in the status bar area of ​​the external screen, the third control including content from the first control and the control with higher priority among the second controls. When the user folds the device from the unfolded state, merging the controls ensures that important information continues to be displayed on the external screen, avoiding information interruption. Furthermore, given the small size of the external screen, merging the controls and displaying higher-priority content makes reasonable use of the limited display space, ensuring that the user can quickly obtain key information.

[0073] In some optional implementations of this embodiment, the device further includes: a third control unit, configured to control the first control and the second control to merge into a fourth control upon receiving a third input from the user to the first control and the second control; and a fourth control unit, configured to control the fourth control to split into the first control and the second control upon receiving a fourth input from the user to the fourth control. By introducing gesture-triggered merging and splitting of the first and second controls, flexible switching between single and dual controls is achieved, which is convenient for meeting user habits.

[0074] The apparatus provided in the above embodiments of this application determines the current usage scenario when the foldable screen is in the unfolded state. If the current usage scenario is a multi-tasking scenario or a single-tasking scenario, a first control is displayed in the status bar area of ​​the first screen, and a second control is displayed in the status bar area of ​​the second screen. The first and second controls respectively include content from different task scenarios in the multi-tasking scenario or different content from the single-tasking scenario. By displaying the first and second controls in the status bar areas of the first and second screens respectively, and displaying different content in the first and second controls respectively, the large screen space of the foldable screen in the unfolded state is fully utilized, improving the screen space utilization rate. At the same time, the dual-control display method solves the problem of limited information display and improves the convenience of user interaction.

[0075] The display device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the scope of the device.

[0076] The display device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0077] The display device provided in this application embodiment can achieve... Figure 1 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0078] Optionally, such as Figure 6 As shown, this application embodiment also provides an electronic device 600, including a processor 601 and a memory 602. The memory 602 stores a program or instructions that can run on the processor 601. When the program or instructions are executed by the processor 601, they implement the various steps of the above-described display method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0079] It should be noted that the electronic devices in the embodiments of this application include the aforementioned mobile electronic devices and non-mobile electronic devices.

[0080] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0081] The electronic device 700 includes, but is not limited to, components such as: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, and processor 710.

[0082] Those skilled in the art will understand that the electronic device 700 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 710 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 7 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0083] The processor 710 is configured to determine the current usage scenario when the foldable screen is in the unfolded state; when the current usage scenario is a multi-tasking scenario or a single-tasking scenario, the processor 706 displays a first control in the status bar area of ​​the first screen and a second control in the status bar area of ​​the second screen, wherein the first control and the second control respectively include content from different task scenarios in the multi-tasking scenario or different content from the single-tasking scenario.

[0084] By displaying a first control and a second control respectively in the status bar areas of the first and second screens, and showing different content in each control, the large screen space in the unfolded state of the foldable screen is fully utilized, improving screen space utilization. At the same time, the dual-control display method solves the problem of limited information display and improves the convenience of user interaction.

[0085] In some optional implementations of this embodiment, the processor 710 is further configured to: when the first application and the second application are running simultaneously, determine the current usage scenario as a multi-tasking scenario, wherein the first control includes content from the first application and the second control includes content from the second application; when the third application is running and a target function in the third application is triggered, determine the current usage scenario as a single-tasking scenario, wherein the first control and the second control respectively display different content from the third application. By determining the current usage scenario as a multi-tasking scenario when the first application and the second application are running simultaneously, and determining the current usage scenario as a single-tasking scenario when the third application is running and a target function in the third application is triggered, multi-tasking scenarios and single-tasking scenarios can be accurately identified, thereby more precisely allocating the content display of the first control and the second control, enabling users to more intuitively obtain diverse information from different tasks and improving information acquisition efficiency.

[0086] In some optional implementations of this embodiment, the single-task scenario includes a translation scenario; in the translation scenario, the first control includes a first text to be translated, and the second control includes a second text generated after translating the first text; the processor 710 is further configured to perform at least one of the following operations when receiving a first input from the user to the first control through the user input unit 707: displaying an input method switching control and switching the language type of the first text; and when receiving a second input from the user to the second control through the user input unit 707, performing at least one of the following operations: reading the second text aloud, displaying a copy control, displaying a share control, switching the translation engine, and switching the language type of the second text. By displaying the source language input and the target language output in the first and second controls respectively, users can intuitively input and view the translation results, reducing the frequency of interface switching and significantly improving translation efficiency. In addition, the first and second controls support multiple input methods and translation result operations, meeting the diverse interactive needs of users.

[0087] In some optional implementations of this embodiment, the single-task scenario includes a multimedia file playback scenario; in the multimedia file playback scenario, the first control includes a playback control sub-control, and the second control includes the content of the multimedia file. By centralizing the playback control sub-control in the first control, users can quickly perform operations such as play / pause and track switching without entering the application interface, improving the convenience of operation. By displaying the content of the multimedia file, such as lyrics and video footage, in the second control, the large screen space in the expanded state is fully utilized, enhancing the content display effect.

[0088] In some optional implementations of this embodiment, the electronic device further includes an external screen; the processor 710 is further configured to, upon detecting that the foldable screen has changed from an unfolded state to a folded state, control the first control and the second control to merge into a third control; and display the third control in the status bar area of ​​the external screen through the display unit 706, the third control including the content of the first control and the control with higher priority among the second controls. When the user folds the device from the unfolded state, the merging of controls ensures that important information continues to be displayed on the external screen, avoiding information interruption. Furthermore, given the small size of the external screen, merging controls and displaying higher-priority content makes reasonable use of the limited display space, ensuring that the user can quickly obtain key information.

[0089] In some optional implementations of this embodiment, the processor 710 is further configured to, upon receiving a third input from the user to the first control and the second control via the user input unit 707, control the first control and the second control to merge into a fourth control; and upon receiving a fourth input from the user to the fourth control via the user input unit 707, control the fourth control to split into the first control and the second control. By introducing gesture-triggered merging and splitting of the first control and the second control, flexible switching between single and dual controls is achieved, which is convenient for meeting user habits.

[0090] It should be understood that, in this embodiment, the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042. The GPU 7041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 706 may include a display panel 7061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 707 includes at least one of a touch panel 7071 and other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0091] The memory 709 can be used to store software programs and various data. The memory 709 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 709 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 709 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0092] Processor 710 may include one or more processing units; optionally, processor 710 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 710.

[0093] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described display method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0094] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0095] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described display method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0096] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0097] This application provides a computer program product that is stored in a storage medium and executed by at least one processor to implement the various processes shown in the above-described method embodiments, and can achieve the same technical effects. To avoid repetition, it will not be described again here.

[0098] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0099] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0100] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A display method, characterized in that, Applied to an electronic device having a foldable screen, the foldable screen including a first screen and a second screen, the method includes: When the foldable screen is in the unfolded state, determine the current usage scenario; When the current usage scenario is a multi-tasking scenario or a single-tasking scenario, a first control is displayed in the status bar area of ​​the first screen, and a second control is displayed in the status bar area of ​​the second screen. The first control and the second control respectively include content from different task scenarios in the multi-tasking scenario or different content from the single-tasking scenario.

2. The method according to claim 1, characterized in that, After determining the current usage scenario, the method further includes: When the first application and the second application are running simultaneously, the current usage scenario is determined as the multi-tasking scenario, the first control includes the content of the first application, and the second control includes the content of the second application; When a third application is running and the target function in the third application is triggered, the current usage scenario is determined as the single-task scenario, and different content from the third application is displayed in the first control and the second control, respectively.

3. The method according to claim 1, characterized in that, The single-task scenario includes a translation scenario; in the translation scenario, the first control includes a first text to be translated, and the second control includes a second text generated after translating the first text; The method further includes: Upon receiving the first input from the user to the first control, perform at least one of the following operations: display the input method switching control, or switch the language type of the first text; Upon receiving a second input from the user to the second control, perform at least one of the following operations: read the second text aloud, display the copy control, display the share control, switch the translation engine, or switch the language type of the second text.

4. The method according to claim 1, characterized in that, The single-task scenario includes a multimedia file playback scenario; in the multimedia file playback scenario, the first control includes a playback control sub-control, and the second control includes the content of the multimedia file.

5. The method according to claim 1, characterized in that, The electronic device further includes an external screen; after displaying a first control in the status bar area of ​​the first screen and a second control in the status bar area of ​​the second screen, the method further includes: When the folding screen is detected to change from the unfolded state to the folded state, the first control and the second control are merged into a third control. The third control is displayed in the status bar area of ​​the outer screen. The third control includes the display content of the first control and the control with higher priority among the second controls.

6. The method according to claim 1, characterized in that, After displaying the first control in the status bar area of ​​the first screen and the second control in the status bar area of ​​the second screen, the method further includes: Upon receiving a third input from the user to the first and second controls, the system controls the first and second controls to merge into a fourth control. Upon receiving a fourth input from the user to the fourth control, the fourth control is controlled to split into the first control and the second control.

7. A display device, characterized in that, An electronic device having a foldable screen, the foldable screen including a first screen and a second screen, the device comprising: The first determining unit is used to determine the current usage scenario when the foldable screen is in the unfolded state; The first display unit is configured to display a first control in the status bar area of ​​the first screen and a second control in the status bar area of ​​the second screen when the current usage scenario is a multi-tasking scenario or a single-tasking scenario. The first control and the second control respectively include content from different task scenarios in the multi-tasking scenario or different content from the single-tasking scenario.

8. The apparatus according to claim 7, characterized in that, The device further includes a second determining unit, used for: When the first application and the second application are running simultaneously, the current usage scenario is determined as the multi-tasking scenario, the first control includes the content of the first application, and the second control includes the content of the second application; When a third application is running and the target function in the third application is triggered, the current usage scenario is determined as the single-task scenario, and different content from the third application is displayed in the first control and the second control, respectively.

9. The apparatus according to claim 7, characterized in that, The single-task scenario includes a translation scenario; in the translation scenario, the first control includes a first text to be translated, and the second control includes a second text generated after translating the first text; The device further includes: The first execution unit is configured to perform at least one of the following operations upon receiving a first input from a user to the first control: displaying an input method switching control and switching the language type of the first text; The second execution unit is configured to perform at least one of the following operations upon receiving a second input from the user to the second control: reading the second text aloud, displaying a copy control, displaying a share control, switching the translation engine, and switching the language type of the second text.

10. The apparatus according to claim 7, characterized in that, The single-task scenario includes a multimedia file playback scenario; in the multimedia file playback scenario, the first control includes a playback control sub-control, and the second control includes the content of the multimedia file.

11. The apparatus according to claim 7, characterized in that, The electronic device further includes an external screen; the device further includes: When the first control unit detects that the foldable screen has changed from the unfolded state to the folded state, it controls the first control and the second control to merge into a third control. The second display unit is used to display the third control in the status bar area of ​​the outer screen. The third control includes the content of the first control and the control with higher priority among the second controls.

12. The apparatus according to claim 7, characterized in that, The device further includes: The third control unit is used to control the first control and the second control to merge into a fourth control when it receives a third input from the user to the first control and the second control. The fourth control unit is configured to, upon receiving a fourth input from the user to the fourth control, control the fourth control to be divided into the first control and the second control.