Display method and apparatus therefor
By receiving user input and automatically determining the layout based on the application window weight score, the problem of cumbersome application window operation in multitasking is solved, and adaptive intelligent arrangement and convenient display of multiple application windows are realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- VIVO MOBILE COMM CO LTD
- Filing Date
- 2026-04-03
- Publication Date
- 2026-07-24
AI Technical Summary
In multitasking scenarios, existing technologies require users to manually switch and adjust application windows, which is cumbersome and inconvenient for users.
By receiving user input, the system determines multiple application windows to be displayed and automatically determines their layout based on the weight scores of the application windows, thus achieving adaptive intelligent arrangement and simultaneous display of multiple application windows.
Differentiated display area allocation for multiple application windows can be achieved without manual user operation, improving user convenience in multi-tasking scenarios.
Smart Images

Figure CN122450554A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, specifically to display methods and devices. Background Technology
[0002] When using electronic devices, users often need to use multiple applications to handle multiple tasks simultaneously. For example, in a meeting scenario, participants may need to use a video conferencing application to attend the meeting, a note-taking application to record key points, a document application to look up information, and an instant messaging application to communicate.
[0003] In existing technologies, users need to manually switch between displaying various application windows or manually adjust the layout of each application window to display them simultaneously. These methods are cumbersome and inconvenient. Summary of the Invention
[0004] The purpose of this application is to provide a display method and electronic device that can improve the convenience of user operation in multitasking scenarios.
[0005] In a first aspect, embodiments of this application provide a display method, the method comprising: receiving a first input from a user; responding to the first input, determining a plurality of application windows to be displayed simultaneously, and obtaining a weight score for each application window in the plurality of application windows; determining a layout of the plurality of application windows based on the weight scores; and displaying the plurality of application windows according to the layout.
[0006] Secondly, embodiments of this application provide a display device, which includes: a receiving unit for receiving a first input from a user; a processing unit for responding to the first input, determining a plurality of application windows to be displayed simultaneously, and obtaining a weight score for each application window in the plurality of application windows; determining a layout of the plurality of application windows based on the weight scores; and a display unit for displaying the plurality of application windows according to the layout.
[0007] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores a program or instructions executable on the processor, and the program 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, after receiving the user's first input, multiple application windows to be displayed simultaneously are first determined. Then, the weight score of each application window is obtained. Subsequently, the layout of the multiple application windows is determined based on the weight scores, and finally, the multiple application windows are displayed according to the layout. In the above process, by determining the layout of multiple application windows based on the weight scores of each application window to be displayed simultaneously, differentiated display area allocation can be automatically performed according to the importance of each application window. This enables adaptive intelligent arrangement and simultaneous display of multiple application windows without manual user operation, improving the convenience of user operation in multi-tasking scenarios. Attached Figure Description
[0012] Figure 1 This is a flowchart of the display method provided in the embodiments of this application; Figure 2 This is a schematic diagram illustrating an application scenario of the display method provided in the embodiments of this application; Figure 3 This is a schematic diagram illustrating an application scenario of the display method provided in the embodiments of this application; Figure 4 This is a schematic diagram illustrating an application scenario of the display method provided in the embodiments of this application; Figure 5 This is a schematic diagram illustrating an application scenario of the display method provided in the embodiments of this application; Figure 6 This is a schematic diagram illustrating an application scenario of the display method provided in the embodiments of this application; Figure 7 This is a schematic diagram of the structure of the display device provided in the embodiments of this application; Figure 8 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application; Figure 9 This is a schematic diagram of the hardware structure of an electronic device suitable for implementing the embodiments of this application. Detailed Implementation
[0013] 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.
[0014] The terms "first," "second," etc., used in this application's specification 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, without limiting the number of objects; for example, a first object can be one or more. Furthermore, in the specification, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects have an "or" relationship.
[0015] 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.
[0016] Please refer to Figure 1 This document illustrates one of the flowcharts of the display method provided in the embodiments of this application. The display method provided in the embodiments of this application can be applied to electronic devices with a display screen. In practice, the aforementioned electronic device can be a smartphone, tablet computer, laptop computer, wearable device, etc.
[0017] The display method provided in this application includes the following steps: Step 101: Receive the user's first input.
[0018] In this embodiment, the first input can be used to trigger the simultaneous display of multiple application windows. The first input can be touch input, voice command, a specific gesture input by the user, or other feasible input methods, which can be determined according to actual usage needs and are not limited in this embodiment. The specific gesture in this embodiment can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure-recognition gesture, a long-press gesture, an area-change gesture, a double-press gesture, or a double-tap gesture. The click input in this embodiment can be a single-click input, a double-tap input, or any number of clicks, and can also be a long-press input or a short-press input.
[0019] An application window is the visual interface space occupied by an application running on the screen in a non-full-screen mode. Its function is to display content and allow user interaction within a single application, while also providing the foundation for the parallel display of multiple application windows, ensuring that each application runs independently and without interference in multi-window mode. Each application window has an independent title bar, adjustable borders, interactive controls, and an independent content display area. For example, a video conferencing application window can display the participants' screens, a note-taking application window can display the editing area, and a document application window can display the document content. Application windows are the basic units that constitute a multi-tasking interface, and users can operate each application window independently.
[0020] In practice, user behavior can be monitored in real time. When a user triggers an operation that displays multiple application windows simultaneously, the operation can be identified and parsed to complete the reception of the first input.
[0021] As an example, users can pre-create application window groups. These groups include identifiers for the applications whose windows will be displayed simultaneously. Once created, the application window groups can be named by the user. For example, they could be named "Meeting Mode," "Study Mode," or "Office Mode." The application window groups can be displayed as icons on the desktop of the electronic device. Clicking the icon of the application window group allows the user to complete the initial input.
[0022] As an example, users can long-press on an empty area of the desktop, select "New Application Window Combination" from the pop-up menu, then select multiple applications that need to run simultaneously from the application list, such as the "Video Conferencing" application, the "Notes" application, and the "Document" application, and finally click the "Finish" button to complete the first input.
[0023] As an example, the edge area of the screen can display controls corresponding to the individual application windows in a pre-created application window ensemble; see [link to relevant documentation]. Figure 2 If the application window group includes three application windows, the edge area of the screen can display controls corresponding to the three application windows, as shown in labels 201, 202, and 203. When the user clicks any control in the edge area of the screen, the first input can be completed.
[0024] As an example, when multiple application windows are open, users can use gestures such as pinching their five fingers together to complete the first input.
[0025] Step 102: In response to the first input, determine the multiple application windows to be displayed simultaneously, and obtain the weight score of each application window in the multiple application windows.
[0026] In this embodiment, upon receiving the first input, multiple applications that the user intends to use simultaneously can be determined based on the first input. For applications that have not yet been launched, they can be launched in a windowed manner, thus creating the corresponding application window. For applications running in the background, their application windows can be brought to the foreground. Then, the application windows corresponding to these multiple applications can be used as the application windows to be displayed simultaneously.
[0027] As an example, in a meeting scenario, the multiple application windows to be displayed simultaneously may include, but are not limited to, video conferencing application windows, note-taking application windows, document application windows, instant messaging application windows, etc.; in a learning scenario, the multiple application windows to be displayed simultaneously may include online course application windows, electronic dictionary application windows, etc.
[0028] In this embodiment, the weight score is a quantitative indicator used to evaluate the importance of each application window in the current multitasking scenario. Its function is to provide a quantitative basis for the layout allocation of multiple application windows, enabling electronic devices to differentiate the allocation of screen space based on the score.
[0029] In practice, weight scores can be obtained in various ways. As an example, a pre-trained neural network model can be used to determine the weight scores of each application window. Specifically, features of each application window are first extracted, and then these features are input into a pre-trained neural network model to obtain the weight score for that application window. This neural network model can be trained using machine learning methods, and the training process can utilize a large amount of sample data for supervised learning. Each sample data may include features and annotation information for an application window, with the annotation information being manually set weight scores. As another example, a rule-based approach can be used to determine the weight scores of each window. Application windows can be classified using preset classification rules, and different weight scores can be assigned to different categories of application windows. As yet another example, the weight scores of each application window can be pre-determined according to the above methods or set by the user, and the stored weight scores can be directly read in response to the first input.
[0030] Step 103: Determine the layout of multiple application windows based on weighted scores.
[0031] In this embodiment, layout refers to the spatial arrangement of multiple application windows on the screen, including the position, size, and relative relationship between each application window. The layout can be dynamically generated based on the weight score of each application window, aiming to give important application windows a larger display area or a better visual position, while ensuring that application windows do not obstruct each other and that their content is readable.
[0032] Specifically, see Figure 3If two application windows need to be displayed simultaneously, a left-right layout as shown in label 301 or a top-bottom layout as shown in label 302 can be used. If the difference in weight scores between the two application windows is less than or equal to a threshold, their sizes can be set to the same; if the difference is greater than the threshold, the application window with the larger weight score can be assigned a larger size. If three application windows need to be displayed simultaneously, a layout of one large and two small windows as shown in labels 303, 304, 305, and 306 can be used. The application window with the largest weight score has the largest size. If four application windows need to be displayed simultaneously, and the weight scores of the four application windows are similar, a grid layout as shown in label 307 can be used; if the weight score of one application window is significantly higher than the others, a layout of one main and three auxiliary windows as shown in labels 308 or 309 can be used.
[0033] Step 104: Display multiple application windows according to the layout.
[0034] In this embodiment, based on the position coordinates and size parameters of each application window indicated in the layout, the interface rendering and drawing of each application window can be performed within the available display area of the screen, so that each application window is accurately displayed in a preset position, while ensuring that the content of each application window is fully displayed and runs independently, thus completing the final display of multiple application windows.
[0035] When multiple application windows are displayed in a layout, each window maintains independent interactive properties, allowing users to perform basic operations on individual windows. Furthermore, the content of each window updates in real time, enabling users to view the status of multiple applications simultaneously. For example, in a meeting scenario, a user can simultaneously view the meeting screen, chat messages, document content, and note-taking applications without switching between windows.
[0036] The method provided in the above embodiments of this application, after receiving the user's first input, first determines multiple application windows to be displayed simultaneously, then obtains the weight score of each application window in the multiple application windows, subsequently determines the layout of the multiple application windows based on the weight scores, and finally displays the multiple application windows according to the layout. In the above process, by determining the layout of multiple application windows based on the weight scores of each application window in the multiple application windows to be displayed simultaneously, it is possible to automatically allocate differentiated display areas according to the importance of each application window, thereby achieving adaptive intelligent arrangement and simultaneous display of multiple application windows without manual user operation, improving the convenience of user operation in multi-tasking scenarios.
[0037] In some optional embodiments, the above weighting can be determined according to the following steps: Step S11: Determine the first score for each application window based on the application type corresponding to each application window.
[0038] Application types can be categorized based on their functional attributes, usage scenarios, etc. Different types of applications have different priorities. For example, communication applications such as video conferencing and phone calls typically require continuous user attention and have the highest priority; productivity applications such as documents and spreadsheets have a high priority; entertainment applications such as videos and games have a medium priority; and system utility applications such as settings and calculators have a low priority.
[0039] Different priorities correspond to different first scores. An application type priority table can be built-in, dividing common applications into several categories and assigning a first score to each category. For example, communication applications might have a first score of 90, productivity tools 80, entertainment applications 60, and system tools 40.
[0040] Step S12: Determine the second score for each application window based on user behavior data.
[0041] User behavior data is a historical and real-time record of user interactions with various application windows. It can be used to assess the degree of user attention to application windows. User behavior data may include, but is not limited to: the frequency of recent user interactions with various application windows, the duration of time spent on each application window, and the historical focus windows of user actions. Dwell time can refer to the cumulative time that an application window is continuously displayed in the foreground. The focus window can refer to the application window that the user is currently operating. By analyzing this data, the degree to which each application window is used by the user can be determined, thereby assigning a higher secondary score to application windows with higher usage.
[0042] As an example, window A is not the focus window, has been interacted with 5 times in the past 5 minutes, and has a cumulative dwell time of 8 minutes; window B is the current focus window, has been interacted with 12 times in the past 5 minutes, and has a cumulative dwell time of 2 minutes; window C is not the focus window, has been interacted with 1 time in the past 5 minutes, and has a cumulative dwell time of 3 minutes. The preset second scoring rules are as follows: add 10 points to the current focus window, add 5 points to application windows with ≥10 interactions in the past 5 minutes, add 3 points to application windows with ≥5 interactions in the past 5 minutes, add 1 point to application windows with ≥1 interaction in the past 5 minutes, add 3 points to application windows with a dwell time of ≥5 minutes, and add 1 point to application windows with a dwell time of ≥2 minutes. According to the second scoring rules, the second score for application window A is 6 points, the second score for application window B is 16 points, and the second score for application window C is 2 points.
[0043] Step S13: Determine the third score for each application window based on the content characteristics of each application window.
[0044] Content features refer to the attributes and characteristics of the content displayed within an application window, which may include, but are not limited to, content type, text density, and data update frequency. Content features can be extracted using content recognition technologies.
[0045] In practice, application windows with certain content characteristics have higher requirements for display quality. For example, video windows that are playing a video need to maintain a consistent aspect ratio, application windows containing a large amount of text need sufficient reading space, and application windows with high data update frequency need a stable visible area. By extracting content characteristics, content windows with higher requirements for display quality can be identified, thereby assigning them a higher third score.
[0046] Step S14: Determine the fourth score for each application window based on the importance markers of each application window.
[0047] Importance markers are priority indicators that users actively set for specific application windows. Users can manually designate an application window as important by long-pressing the application window's title bar or clicking the "Mark as Important" option in the application window's menu. This marker is an explicit expression of user intent and has the highest priority weight. Importance markers can be a Boolean value or an adjustable priority level; this is not limited here. Application windows with importance markers have a higher fourth-place score than application windows without importance markers.
[0048] Step S15: Determine the weight score of each application window based on at least one of the first score, second score, third score, and fourth score.
[0049] Here, you can choose one of the scores from the first, second, third, and fourth scores as the weighted score; or you can choose at least two scores and sum them in a weighted manner to obtain the weighted score.
[0050] As an example, the first score, second score, third score, and fourth score are denoted as P1, P2, P3, and P4 respectively, with weights of w1, w2, w3, and w4 respectively. These weights can be preset as needed. The weighted score is calculated as: (P1×w1 + P2×w2 + P3×w3 + P4×w4). A higher weighted score allocates higher-quality screen display resources. These resources may include, but are not limited to, display area location and display area size.
[0051] By determining the first score based on application type, the second score based on user behavior data, the third score based on content features, and the fourth score based on importance markers, and then determining the weight score based on at least one of the above scores, the importance of each application window in the current scenario can be comprehensively evaluated from multiple dimensions. This allows the weight score to not only reflect the inherent attributes of the application, but also to dynamically adapt to the user's real-time operations, the special display needs of the window content, and the user's personalized preferences. This provides a more accurate quantitative basis for layout decisions and improves the adaptability and accuracy of application window layout.
[0052] In some optional embodiments, after performing step 104, the following steps may also be performed: Step S21: Receive the user's second input.
[0053] The second input can be used to trigger movement of the application window. The second 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 according to actual usage needs, and this application embodiment does not impose limitations. As an example, the user long-presses the title bar of the application window and drags it to complete the second input.
[0054] In step S22, in response to the second input, the first application window among the multiple application windows is moved.
[0055] The first application window is the application window that the user actively moves through the aforementioned application windows via a second input. During dragging, the first application window can change its position on the screen in real time following the user's touch point, and its movement can trigger the detection of its positional relationship with other surrounding application windows.
[0056] Step S23: If the distance between the first edge of the first application window and the second edge of the second application window in the plurality of application windows is less than a first threshold, control the first edge to fit with the second edge, and display the first control at the fitted edge.
[0057] The first edge refers to a boundary of the first application window. Application windows typically have four edges: top, bottom, left, and right. Specifically, the first edge refers to the edge that may come into contact with other windows during movement. For example, when a user drags the first application window to the right, its right edge may become the first edge.
[0058] The second application window refers to any other application window on the current screen that is not related to the first application window and has a distance relationship with it. It is a passively matched window in the window snapping process. Its function is to act as the target object for snapping, performing an edge-fitting snapping operation with the first application window. The second application window can be any other displayed window on the screen, and its position is fixed.
[0059] The second edge refers to a boundary in the second application window that is closest to the first application window. For example, when the first application window is near the left side of the second application window, the left edge of the second application window is the second edge. The distance between the first edge and the second edge determines whether the snapping operation is triggered.
[0060] The first threshold is a preset distance value used to determine whether two application windows are close enough to trigger the snapping operation. When the straight-line distance between the first and second edges is less than this threshold, the first application window can be automatically snapped to the edge of the second application window. This threshold is usually set to a small value, such as 20dp. Here, dp stands for density-independent pixels, used to ensure consistent display effects across different screen densities. By setting the first threshold, snapping is ensured to trigger only when the user intentionally moves the application windows closer together, avoiding accidental triggering.
[0061] When the distance between the first edge of the first application window and the second edge of the second application window among multiple application windows is less than a first threshold, the first edge and the second edge can be controlled to align. Alignment means that the edges of the two windows automatically align to a state of complete contact after the snap-in trigger. At this time, the position of the first application window is finely adjusted so that its first edge exactly coincides with the second edge of the second application window, without any gap or overlap. After alignment, the two application windows form a close arrangement, and the overall visual appearance is like a single unit, which facilitates subsequent proportional adjustments.
[0062] After the first edge and the second edge are aligned, a first control can be displayed at the aligned edge. The first control is an interactive graphical element. For example, see... Figure 4 For a three-screen layout, the first application window is shown as 401, the second application window is shown as 402, and the first control can be presented as a draggable control bar, as shown as 403. The function of the first control is to act as an adjustment handle, providing the user with an entry point to adjust the size ratio of the two windows.
[0063] Step S24: Receive the user's third input to the first control.
[0064] The third input is used to trigger an adjustment of the size ratio between the first application window and the second application window. 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 according to actual usage needs, and this application embodiment does not limit it. As an example, the user can complete the third input by pressing and dragging the first control.
[0065] Step S25: In response to the third input, adjust the size ratio between the first application window and the second application window.
[0066] Size ratio refers to the relative size relationship between two adjacent application windows during adjustment. Specifically, it is the width ratio when they are aligned horizontally, or the height ratio when they are aligned vertically. By adjusting the size ratio, one window becomes larger while the other window shrinks accordingly, but the total area of the application windows on the screen remains unchanged.
[0067] By receiving a second user input to move the first application window and controlling its snapping when the distance between the first and second edges is less than a first threshold, precise alignment of the application windows can be automatically achieved, eliminating the tedious manual fine-tuning by the user. Furthermore, by displaying a first control at the snapping edge and responding to a third input to adjust the size ratio between the first and second application windows, users can flexibly allocate window space through intuitive drag-and-drop, achieving a dynamic balance where one window enlarges while the other shrinks accordingly. The combined effect of these two mechanisms makes adjusting the layout of multiple application windows more convenient, precise, and intuitive, improving user interaction efficiency in multitasking scenarios.
[0068] Furthermore, users can adjust the size of any application window by adjusting its borders or corners, and simultaneously adjust the size of the remaining application windows based on the adjustment of that application window, so that the total area of application windows on the screen remains unchanged.
[0069] Furthermore, each application window supports stepless adjustment. Users can drag the four corners of the application window to freely adjust its width and height. In this case, the new size of the application window can be calculated in real time, and the window content can be re-rendered to fit the new display area. Specifically, for text applications, text rearrangement can be performed automatically; for video applications, the video aspect ratio can be maintained and black bars can be added or cropped; for web applications, responsive layout can be triggered. The window can be adjusted to any shape, such as from a thin strip to a square, from a small window to near full screen, depending on the user's content needs, and there are no restrictions here.
[0070] The stepless adjustment can be divided into independent adjustments in the width and height directions, rather than a proportional adjustment in the horizontal and vertical directions. See also Figure 5The width can be adjusted from W0 to Wm; the height from H0 to Hm; and the aspect ratio from W0 / Hm to Wm / H0. W0 is the minimum width, which can be set to 120dp to ensure basic application functionality; Wm is the maximum width, which can be set to 80% of the screen width to avoid excessive space usage; H0 is the minimum height, which can be set to 80dp to ensure the title bar and basic content are displayed; and Hm is the maximum height, which can be set to 85% of the screen height to reserve space for the status bar and navigation bar. Furthermore, the aspect ratio can be limited to 1:4 to 4:1 to prevent the window from becoming too narrow and affecting user operation.
[0071] In some optional embodiments, after performing step 104, the following steps may also be performed: Step S31: If a new application window to be displayed is detected, determine the third application window with the highest weight score among multiple application windows and the target area in the third application window.
[0072] A newly added application window refers to the application window corresponding to a newly launched or opened application. A newly added application window can be a new application launched by the user from the desktop, a background application triggered from the multitasking bar, etc., and is not limited here. The appearance of a newly added application window may obscure already displayed application windows. The operation in this embodiment can be initiated when a newly added window appears to optimize the layout and prevent important information from being obscured.
[0073] The third application window is the application window with the highest weight score among the aforementioned application windows. For example, it could be the window the user is currently operating, the live call window, the full-screen video window, an important window manually marked by the user, or an active window that has been interacted with within the last 5 minutes.
[0074] The target area refers to the most critical local area within a third-party application window for user operation, which needs to be prioritized for protection from obstruction. The target area can be dynamically identified based on the window's content characteristics. For example, it may include, but is not limited to, the video frame area in a video playback window, the top area of a window with a title bar and operation buttons, and the message input box area in an instant messaging window. Determining the target area allows the avoidance mechanism to protect critical content more precisely, rather than simply focusing on overall window obstruction. For example, for a video conferencing window, the target area might include the participants' video frames and the mute / hang-up button area at the bottom.
[0075] Step S32: Based on the default display area of the newly added application window, determine the first occlusion ratio of the newly added application window on the third application window and the second occlusion ratio of the newly added application window on the target area.
[0076] The default display area refers to the screen area that a newly added application window will occupy according to default rules without intelligent avoidance adjustments. This area can be determined by preset window opening strategies, such as default center display, default full-screen display, or default display at the position and size when it was last closed. The default display area is the benchmark for occlusion judgment; it is necessary to determine whether the appearance of a new application window will obscure important existing application windows.
[0077] The first occlusion ratio refers to the proportion of the overlap between the default display area of the newly added application window and the overall display area of the third application window. It is calculated by dividing the overlapping area by the total area of the third application window, and can be expressed as a percentage. This ratio is used to assess the overall coverage of the most important window by the newly added window. For example, if the newly added window covers 20% of the area of the third application window, the first occlusion ratio is 20%.
[0078] The second occlusion ratio refers to the proportion of the overlap between the default display area of the newly added application window and the target area of the third application window. The specific calculation method is: the overlapping area divided by the total area of the target area, expressed as a percentage. This ratio is used to evaluate the specific coverage of key areas within the most important window by the newly added window. Even if the overall occlusion ratio is not large, if key areas are obscured, such as multiple control buttons in a video window being blocked, it can severely affect user operation, thus requiring stricter control.
[0079] Step S33: If the first occlusion ratio is greater than the second threshold or the second occlusion ratio is greater than the third threshold, update the display area of the newly added application window or update the layout of multiple application windows so that the first occlusion ratio is less than or equal to the second threshold and the second occlusion ratio is less than or equal to the third threshold.
[0080] The second threshold is a preset percentage threshold used to determine whether the occlusion of a newly added application window on a third application window reaches a level requiring intervention. When the occlusion percentage exceeds the second threshold, it can be determined that the occlusion is excessive, and an avoidance mechanism needs to be activated. The second threshold can be set based on user experience testing, for example, it can be set to 15%.
[0081] Similarly, the third threshold is a preset proportional threshold used to determine whether the occlusion of the target area in the third application window by the newly added window reaches a level that requires intervention. Since the target area is a critical area in the third application window, the third threshold is usually set more strictly than the second threshold, for example, it can be set to 5%.
[0082] In some alternative implementations, if the first occlusion ratio is greater than a second threshold or the second occlusion ratio is greater than a third threshold, the display area of the newly added application window can be updated so that the first occlusion ratio is less than or equal to the second threshold and the second occlusion ratio is less than or equal to the third threshold. Specifically, the position or size of the newly added application window can be adjusted to avoid the critical areas of important windows. For example, the newly added window can be moved to a blank corner of the screen or shrunk and placed in an edge area. The goal of updating the display area is to reduce the first and second occlusion ratios of the adjusted newly added window and the third application window to within the threshold.
[0083] In some alternative implementations, if the first occlusion ratio is greater than a second threshold or the second occlusion ratio is greater than a third threshold, the layout of the multiple application windows can be updated to ensure that the first occlusion ratio is less than or equal to the second threshold and the second occlusion ratio is less than or equal to the third threshold. Specifically, the overall arrangement of the existing multiple application windows on the screen can be adjusted to make room for the new application window while protecting important application windows. For example, when screen space is insufficient and it is not possible to move only the new window, the size of some non-important application windows can be temporarily reduced, or some application windows can be moved to the edge to create a suitable display position for the new application window, while ensuring that the critical area of the third application window is not obstructed.
[0084] It should be noted that the display area of the newly added application window and the layout of the above multiple application windows can also be updated simultaneously, which will not be elaborated here.
[0085] By identifying the third application window with the highest weight score and recognizing the target area within it when a new application window is detected, the system calculates the first occlusion ratio of the new window on the third application window as a whole and the second occlusion ratio on the target area. When either occlusion ratio exceeds the corresponding threshold, the system updates the display area of the new application window or the overall layout. This allows for the accurate identification and priority protection of the most important application windows and their key content areas in the current scenario. It ensures that even with limited screen space, important information such as video footage or operation buttons will not be accidentally obscured by the new application window, thus improving the continuous visibility of key content and operational continuity in multi-tasking scenarios.
[0086] In some optional embodiments, after performing step 104, the following steps may also be performed: Step S41: Receive the user's fourth input.
[0087] The fourth input can be used to zoom in on an application window displayed on the screen and adjust the layout of the application window on the screen. The fourth input can be touch input, voice command, a specific gesture entered by the user, or other feasible input, which can be determined according to actual usage needs, and is not limited in the embodiments of this application. As an example, the user completes the fourth input by clicking on any application window on the screen.
[0088] In step S42, in response to the fourth input, the fourth application window among the multiple application windows is determined, the fourth application window is enlarged and displayed, and the remaining application windows among the multiple application windows except the fourth application window are shrunk and moved to the edge area of the screen for display.
[0089] The fourth application window refers to the application window that the user specifies through a fourth input and wants to be magnified and focused on. For example, if the user clicks on the notes window, then the notes window becomes the fourth application window. After the fourth application window is selected, it can be magnified and displayed. At the same time, all other application windows in the multiple application windows except the fourth application window will be shrunk and moved to the edge of the screen for display.
[0090] Zooming in refers to increasing the size of a fourth application window from its original size to occupy most or even the entire screen. The purpose of zooming in is to allow users to view the content of an application window more clearly and perform finer operations, such as editing text in a notes window or reading details in a document window. The zoomed-in window typically occupies the central area of the screen, and its size can be determined according to preset rules, such as occupying 80% of the screen width and 85% of the height, or it can adaptively adjust according to the window content.
[0091] Shrinking and moving the remaining application windows to the screen edges means reducing the size of all application windows except the fourth one and adjusting their positions to the four edges of the screen while keeping some content visible. These shrunken application windows no longer occupy the central screen area, but still maintain their running status and real-time content updates, allowing users to quickly preview and switch between them. For example, in a meeting scenario, when a user zooms in on the notes window, the video conferencing window and document window will shrink and move to one or both edges of the screen, revealing only a portion of their area, making it easy for the user to check the status or switch back at any time.
[0092] As an example, if two application windows A and B are displayed simultaneously, after the user clicks on application window A, application window A can be enlarged, while application window B can be shrunk and moved to either edge of the screen. The layout in this case can be seen in [reference needed]. Figure 6 As indicated by reference numerals 601 or 602, but not limited to the display position shown in the illustration.
[0093] As another example, if three application windows A, B, and C are displayed simultaneously, after the user clicks on application window A, application window A can be enlarged, while the other application windows B and C can be shrunk and moved to any one or both edges of the screen. The layout in this case can be seen in [reference needed]. Figure 6 As indicated by numbers 603, 604, 605, or 606, and not limited to the display positions shown in the illustrations.
[0094] As another example, if four application windows A, B, C, and D are displayed simultaneously, clicking on application window A will enlarge that window and shrink the remaining application windows B, C, and D, moving them to any one or both edges of the screen. The layout in this case can be seen in [reference needed]. Figure 6 As indicated by reference numerals 607 or 608, but not limited to the display location shown in the illustration.
[0095] Step S43: Receive the user's fifth input.
[0096] The fifth input can be used to switch the focus window on the screen, that is, to enlarge one of the application windows that has been shrunk and moved to the edge of the screen, while simultaneously shrinking the previously enlarged fourth application window and moving it to the edge of the screen. The fifth 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 according to actual usage needs, and this application embodiment does not impose any limitations. As an example, the user completes the fifth input by clicking on any application window that has been shrunk and displayed at the edge of the screen.
[0097] In step S44, in response to the fifth input, the fifth application window in the application window displayed in the screen edge area is determined, and the display positions of the fourth application window and the fifth application window are switched.
[0098] The fifth application window refers to the application window that the user selects through the fifth input and wants to switch to as the new focus window. The fifth application window is originally displayed in a minimized state at the edge of the screen, and is determined as the fifth application window after the fifth input. For example, if the user clicks on a video conferencing window that is displayed in a minimized state at the left edge of the screen, then that video conferencing window is the fifth application window.
[0099] After the fifth application window is selected, the display positions of the fourth and fifth application windows can be switched, allowing for a swap of their display states. Specifically, the fourth application window changes from a zoomed-out state to a zoomed-out state and moves to the edge of the screen; the fifth application window changes from a zoomed-out state to a zoomed-out state and is moved to the center of the screen to become the new focus window. After the switch is complete, the user can perform fine-tuning operations in the fifth application window. Through this process, users can smoothly and flexibly switch focus windows.
[0100] By receiving a fourth input to determine and enlarge the fourth application window, while shrinking other application windows and moving them to the screen edge, the system can quickly place the user-specified application window in the focus position, while keeping other application windows visible and previewable, avoiding the complete hiding or closing of application windows. By receiving a fifth input to determine the fifth application window and switching its display position with the fourth application window, the system enables one-click swapping of the focus and edge windows, allowing users to smoothly switch focus between multiple tasks by continuously clicking different edge windows. Together, these two methods achieve window-roaming focus switching, solving the problem in existing technologies where switching between multiple application windows requires repeatedly returning to the desktop or opening applications, improving the efficiency and intuitiveness of application window switching in multi-tasking scenarios, and further enhancing the convenience of user operations across multiple application windows.
[0101] In some optional embodiments, after performing step 104, the following steps may also be performed: Step S51: Receive the user's sixth input.
[0102] The sixth input can be used to trigger the shrinking of application windows on the screen and their movement to the edge of the screen for display. The sixth 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 according to actual usage needs, and this application embodiment does not limit it. As an example, the user completes the sixth input by clicking the physical Home button or virtual Home button on the electronic device.
[0103] In step S52, in response to the sixth input, each application window in the multiple application windows is minimized and moved to the edge area of the screen for display.
[0104] Specifically, in response to the sixth input, the size of all currently displayed application windows on the screen can be reduced, and their positions adjusted to near the edges of the screen, creating a layout that wraps around the desktop. At this point, the central area of the screen is completely cleared, allowing the desktop wallpaper, icons, and widgets to be displayed. See [example...] for an example. Figure 2 The three application windows are minimized and snapped to the left and right edges of the screen, displayed as controls as shown in numbers 201, 202, and 203, at which point the entire desktop is displayed. This operation frees up desktop space while preserving the real-time running state of the application windows.
[0105] Step S53: Receive the user's seventh input.
[0106] The seventh input is used to trigger the restoration of multiple application windows. The seventh 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 according to actual usage needs, and this application embodiment does not limit it. For example, see... Figure 2 Users can complete the seventh input by clicking the controls labeled 201, 202 or 203.
[0107] In step S54, in response to the seventh input, the multiple application windows are restored to their original layout.
[0108] Specifically, in response to the seventh input, the multiple application windows can be moved back to their original positions from the screen edges, restoring their size and arrangement. In practice, layout parameters, including the position, size, and hierarchy of each application window, can be saved after step 104. In response to the seventh input, all application windows can be redisplayed accordingly. The restored screen state is completely consistent with that before the sixth input, allowing the user to continue previous multitasking operations.
[0109] By receiving the sixth input and minimizing and moving all application windows to the edge of the screen, the system can quickly clear the central screen area to display the desktop while preserving the real-time running state of the application windows, thus meeting users' needs for temporary access to desktop icons or files. By receiving the seventh input and restoring all application windows to their original layout, the system can move application windows back from the screen edge to their original positions with a single click, completely restoring the previous multi-application window working state. Together, these two mechanisms enable rapid switching between desktop access and application window restoration in multi-application window scenarios, solving the problem of manually minimizing and reopening all windows individually in existing technologies. This improves the continuity and efficiency of multitasking while avoiding information interruption caused by lost window states.
[0110] 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.
[0111] like Figure 7 As shown, the display device 700 of this embodiment includes: a receiving unit 701, configured to receive a first input from a user; a processing unit 702, configured to, in response to the first input, determine a plurality of application windows to be displayed simultaneously, obtain a weight score of each application window in the plurality of application windows; determine the layout of the plurality of application windows based on the weight score; and a display unit 703, configured to display the plurality of application windows according to the layout.
[0112] In some optional implementations of this embodiment, the processing unit 702 is further configured to: determine a first score for each application window based on the application type corresponding to each application window; determine a second score for each application window based on user behavior data; determine a third score for each application window based on the content features of each application window; determine a fourth score for each application window based on the importance marker of each application window; and determine a weight score for each application window based on at least one of the first score, the second score, the third score, and the fourth score.
[0113] In some optional implementations of this embodiment, the receiving unit 701 is further configured to receive a second input from the user; the processing unit 702 is further configured to move a first application window among the plurality of application windows in response to the second input; the display unit 703 is further configured to control the first edge to fit with the second edge when the distance between the first edge of the first application window and the second edge of the second application window among the plurality of application windows is less than a first threshold, and to display a first control at the fitted edge; the receiving unit 701 is further configured to receive a third input from the user to the first control; and the processing unit 702 is further configured to adjust the size ratio of the first application window and the second application window in response to the third input.
[0114] In some optional implementations of this embodiment, the processing unit 702 is further configured to: upon detecting a new application window to be displayed, determine the third application window with the highest weight score among the plurality of application windows and the target area within the third application window; based on the default display area of the new application window, determine a first occlusion ratio of the new application window on the third application window and a second occlusion ratio of the new application window on the target area; if the first occlusion ratio is greater than a second threshold or the second occlusion ratio is greater than a third threshold, update the display area of the new application window or update the layout of the plurality of application windows, so that the first occlusion ratio is less than or equal to the second threshold and the second occlusion ratio is less than or equal to the third threshold.
[0115] In some optional implementations of this embodiment, the receiving unit 701 is further configured to receive a fourth input from the user; the display unit 703 is further configured to, in response to the fourth input, determine a fourth application window among the plurality of application windows, enlarge the fourth application window for display, and shrink and move the remaining application windows among the plurality of application windows other than the fourth application window to the edge area of the screen for display; the receiving unit 701 is further configured to receive a fifth input from the user; the processing unit 702 is further configured to, in response to the fifth input, determine a fifth application window among the application windows displayed in the edge area of the screen, and switch the display positions of the fourth application window and the fifth application window.
[0116] In some optional implementations of this embodiment, the receiving unit 701 is further configured to receive a sixth input from the user; the processing unit 702 is further configured to, in response to the sixth input, shrink and move each application window in the plurality of application windows to the edge area of the screen for display; the receiving unit 701 is further configured to receive a seventh input from the user; and the display unit 703 is further configured to, in response to the seventh input, restore the display of the plurality of application windows according to the layout.
[0117] The apparatus provided in the above embodiments of this application, after receiving the user's first input, first determines multiple application windows to be displayed simultaneously, then obtains the weight score of each application window in the multiple application windows, subsequently determines the layout of the multiple application windows based on the weight scores, and finally displays the multiple application windows according to the layout. In the above process, by determining the layout of multiple application windows based on the weight scores of each application window in the multiple application windows to be displayed simultaneously, it is possible to automatically allocate differentiated display areas according to the importance of each application window, thereby achieving adaptive intelligent arrangement and simultaneous display of multiple application windows without manual user operation, improving the convenience of user operation in multi-tasking scenarios.
[0118] 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.
[0119] 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.
[0120] 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.
[0121] Optionally, such as Figure 8 As shown, this application embodiment also provides an electronic device 800, including a processor 801 and a memory 802. The memory 802 stores a program or instructions that can run on the processor 801. When the program or instructions are executed by the processor 801, 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.
[0122] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0123] Figure 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application. The electronic device 900 includes, but is not limited to, components such as: radio frequency unit 901, network module 902, audio output unit 903, input unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, and processor 910.
[0124] Those skilled in the art will understand that the electronic device 900 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 910 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 9 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.
[0125] The user input unit 907 is used to receive a first input from a user; the processor 910 is used to respond to the first input, determine multiple application windows to be displayed simultaneously, obtain the weight score of each application window in the multiple application windows, and determine the layout of the multiple application windows based on the weight score; the display unit 906 is used to display the multiple application windows according to the layout.
[0126] By determining the layout of multiple application windows based on the weight scores of each application window to be displayed simultaneously, the display area can be automatically allocated differently according to the importance of each application window. This enables adaptive intelligent arrangement and simultaneous display of multiple application windows without manual user operation, improving the convenience of user operation in multi-tasking scenarios.
[0127] In some optional implementations of this embodiment, the processor 910 is further configured to: determine a first score for each application window based on the application type corresponding to each application window; determine a second score for each application window based on user behavior data; determine a third score for each application window based on the content features of each application window; determine a fourth score for each application window based on the importance marker of each application window; and determine a weight score for each application window based on at least one of the first score, the second score, the third score, and the fourth score.
[0128] In some optional implementations of this embodiment, the user input unit 907 is further configured to receive a second input from the user; the processor 910 is further configured to move a first application window among the plurality of application windows in response to the second input; the display unit 906 is further configured to control the first edge to align with the second edge when the distance between the first edge of the first application window and the second edge of the second application window among the plurality of application windows is less than a first threshold, and to display a first control at the aligning edge; the user input unit 907 is further configured to receive a third input from the user regarding the first control; and the processor 910 is further configured to adjust the size ratio of the first application window and the second application window in response to the third input.
[0129] In some optional implementations of this embodiment, the processor 910 is further configured to: upon detecting a newly added application window to be displayed, determine the third application window with the highest weight score among the plurality of application windows and the target area within the third application window; based on the default display area of the newly added application window, determine a first occlusion ratio of the newly added application window on the third application window and a second occlusion ratio of the newly added application window on the target area; if the first occlusion ratio is greater than a second threshold or the second occlusion ratio is greater than a third threshold, update the display area of the newly added application window or update the layout of the plurality of application windows, so that the first occlusion ratio is less than or equal to the second threshold and the second occlusion ratio is less than or equal to the third threshold.
[0130] In some optional implementations of this embodiment, the user input unit 907 is further configured to receive a fourth user input; the display unit 906 is further configured to, in response to the fourth user input, determine a fourth application window among the plurality of application windows, enlarge the fourth application window for display, and shrink and move the remaining application windows among the plurality of application windows other than the fourth application window to the edge area of the screen for display; the user input unit 907 is further configured to receive a fifth user input; and the processor 910 is further configured to, in response to the fifth user input, determine a fifth application window among the application windows displayed in the edge area of the screen, and switch the display positions of the fourth application window and the fifth application window.
[0131] In some optional implementations of this embodiment, the user input unit 907 is further configured to receive a sixth input from the user; the processor 910 is further configured to, in response to the sixth input, shrink and move each application window in the plurality of application windows to the edge area of the screen for display; the user input unit 907 is further configured to receive a seventh input from the user; and the display unit 906 is further configured to, in response to the seventh input, restore the display of the plurality of application windows according to the layout.
[0132] It should be understood that, in this embodiment, the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042. The GPU 9041 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 906 may include a display panel 9061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 907 includes at least one of a touch panel 9071 and other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include a touch detection device and a touch controller. Other input devices 9072 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.
[0133] The memory 909 can be used to store software programs and various data. The memory 909 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, applications or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 909 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 linked dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 909 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
[0134] Processor 910 may include one or more processing units; optionally, processor 910 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 910.
[0135] 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.
[0136] 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.
[0137] 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.
[0138] 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.
[0139] 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.
[0140] 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.
[0141] 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.
[0142] 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, The method includes: Receive the user's first input; In response to the first input, determine the multiple application windows to be displayed simultaneously, and obtain the weight score of each application window in the multiple application windows; Based on the weighted scores, the layout of the multiple application windows is determined; The multiple application windows are displayed according to the layout described.
2. The method according to claim 1, characterized in that, The step of obtaining the weight score of each application window in the plurality of application windows includes: Based on the application type corresponding to each application window, determine the first score of each application window; Based on user behavior data, a second score is determined for each application window; Based on the content characteristics of each application window, a third score is determined for each application window; Based on the importance markers of each application window, a fourth score is determined for each application window; The weight score of each application window is determined based on at least one of the first score, the second score, the third score, and the fourth score.
3. The method according to claim 1, characterized in that, After displaying the plurality of application windows according to the layout, the method further includes: Receive the user's second input; In response to the second input, move the first application window among the plurality of application windows; If the distance between the first edge of the first application window and the second edge of the second application window in the plurality of application windows is less than a first threshold, the first edge is controlled to fit with the second edge, and a first control is displayed at the fitted edge; Receive a third input from the user onto the first control; In response to the third input, the size ratio of the first application window to the second application window is adjusted.
4. The method according to claim 1, characterized in that, After displaying the plurality of application windows according to the layout, the method further includes: If a new application window to be displayed is detected, the third application window with the highest weight score among the multiple application windows and the target area in the third application window are determined. Based on the default display area of the newly added application window, a first occlusion ratio of the newly added application window on the third application window and a second occlusion ratio of the newly added application window on the target area are determined. If the first occlusion ratio is greater than the second threshold or the second occlusion ratio is greater than the third threshold, update the display area of the newly added application window or update the layout of the multiple application windows so that the first occlusion ratio is less than or equal to the second threshold and the second occlusion ratio is less than or equal to the third threshold.
5. The method according to claim 1, characterized in that, After displaying the plurality of application windows according to the layout, the method further includes: Receive the user's fourth input; In response to the fourth input, a fourth application window among the plurality of application windows is determined, the fourth application window is enlarged and displayed, and the remaining application windows among the plurality of application windows except the fourth application window are shrunk and moved to the edge area of the screen for display. Receive the user's fifth input; In response to the fifth input, the fifth application window in the application window displayed in the screen edge area is determined, and the display positions of the fourth application window and the fifth application window are switched.
6. A display device, characterized in that, The device includes: The receiving unit is used to receive the user's first input; The processing unit is configured to respond to the first input, determine multiple application windows to be displayed simultaneously, obtain the weight score of each application window in the multiple application windows, and determine the layout of the multiple application windows based on the weight score. The display unit is used to display the plurality of application windows according to the layout.
7. The apparatus according to claim 6, characterized in that, The processing unit is further configured to: Based on the application type corresponding to each application window, determine the first score of each application window; Based on user behavior data, a second score is determined for each application window; Based on the content characteristics of each application window, a third score is determined for each application window; Based on the importance markers of each application window, a fourth score is determined for each application window; The weight score of each application window is determined based on at least one of the first score, the second score, the third score, and the fourth score.
8. The apparatus according to claim 6, characterized in that, The receiving unit is also used to receive a second input from the user; The processing unit is further configured to move the first application window among the plurality of application windows in response to the second input; The display unit is further configured to control the first edge to fit with the second edge when the distance between the first edge of the first application window and the second edge of the second application window in the plurality of application windows is less than a first threshold, and to display a first control at the edge where they fit together; The receiving unit is also configured to receive a third input from the user to the first control; The processing unit is also configured to adjust the size ratio of the first application window and the second application window in response to the third input.
9. The apparatus according to claim 6, characterized in that, The processing unit is further configured to: If a new application window to be displayed is detected, the third application window with the highest weight score among the multiple application windows and the target area in the third application window are determined. Based on the default display area of the newly added application window, a first occlusion ratio of the newly added application window on the third application window and a second occlusion ratio of the newly added application window on the target area are determined. If the first occlusion ratio is greater than the second threshold or the second occlusion ratio is greater than the third threshold, update the display area of the newly added application window or update the layout of the multiple application windows so that the first occlusion ratio is less than or equal to the second threshold and the second occlusion ratio is less than or equal to the third threshold.
10. The apparatus according to claim 6, characterized in that, The receiving unit is also used to receive a fourth input from the user; The display unit is further configured to respond to the fourth input, determine the fourth application window among the plurality of application windows, enlarge the fourth application window for display, and shrink and move the remaining application windows among the plurality of application windows other than the fourth application window to the edge area of the screen for display. The receiving unit is also used to receive a fifth input from the user; The processing unit is further configured to respond to the fifth input, determine the fifth application window in the application window displayed in the screen edge area, and switch the display positions of the fourth application window and the fifth application window.