Page display method and device, equipment, medium and product

By detecting and converting sub-windows in the software interface, combining the advantages of multi-window mode and tab page mode, the problems of messy layout and insufficient multi-level content support in the traditional page display mode are solved, and a more optimized page display experience is achieved.

CN119440348APending Publication Date: 2025-02-14CHINA RESOURCES POWER TECH RES INST CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202411443463.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

Traditional desktop applications have limitations in page display. The MDI mode is laid out when there are too many windows, while the tab mode is insufficient in multi-level content support.

Method used

By detecting the number and opening time of the candidate subwindows contained in the target main window in the software interface, determine whether the tab page conversion conditions are met, and determine the target subwindow from the candidate subwindow according to the opening time, number and focus conditions, and convert it Target the tab page of the main window and adjust the subwindow layout.

Benefits of technology

During the user interaction process, the management of sub-windows under different main windows in the software interface is realized, and the window is converted into a tab page in a timely manner. Combining the advantages of multi-window mode and tab page mode, it provides a more optimized page display experience, and the interface is simple and simple. Clear.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119440348A_ABST
    Figure CN119440348A_ABST
Patent Text Reader

Abstract

The invention discloses a page display method and device, equipment, a medium and a product. The method comprises the steps that in the process of providing service for a user through a software interface, the target number of candidate sub-windows contained in a target main window in the software interface is detected, and the opening duration of each candidate sub-window is determined; according to the target number and the opening duration, determining whether a label page conversion condition is met or not, and if yes, determining a target sub-window from the candidate sub-windows according to the opening duration, the target number and the focusing condition of each candidate sub-window; and according to the attribute information of the target sub-window, based on a preset tab page control, converting the target sub-window into a tab page of the target main window, and adjusting a sub-window layout of the target main window in the software interface. According to the technical scheme, in the process of interacting with the user for page display, the advantages of the multi-window mode and the advantages of the label page mode are combined, and more optimized page display experience is provided for the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer graphical user interfaces, and in particular to a page display method, device, equipment, medium and product. Background Art

[0002] In traditional desktop applications, the Multiple Document Interface (MDI) mode supports opening multiple sub-windows in one main window, while the tab mode allows users to switch between different views in one window through tabs. Both modes have their own advantages and disadvantages, but both have limitations in terms of user experience. Although the MDI mode supports multi-window operation, it will appear cluttered when there are too many windows; the tab mode is more efficient in space utilization, but it does not support multi-level content.

[0003] Therefore, how to combine the respective advantages of multi-window mode and tab mode in the process of interacting with users to display pages and provide users with a more optimized page display experience is a problem that needs to be solved urgently. Summary of the invention

[0004] The present invention provides a page display method, device, equipment, medium and product, so as to provide users with a more optimized page display experience by combining the respective advantages of a multi-window mode and a tab mode in the process of interacting with users to display pages.

[0005] According to one aspect of the present invention, a page display method is provided, comprising:

[0006] In the process of providing services to users through the software interface, detecting the target number of candidate sub-windows contained in the target main window in the software interface, and determining the opening time of each candidate sub-window;

[0007] According to the target number and the opening time, determine whether the tab switching condition is met. If so, determine the target sub-window from the candidate sub-windows according to the opening time, the target number and the focus of each candidate sub-window;

[0008] According to the property information of the target sub-window and based on the preset tab page control, the target sub-window is converted into a tab page of the target main window, and the sub-window layout of the target main window in the software interface is adjusted.

[0009] According to another aspect of the present invention, there is provided a page display device, comprising:

[0010] A detection module, used to detect the target number of candidate sub-windows contained in the target main window in the software interface and determine the opening time of each candidate sub-window in the process of providing services to users through the software interface;

[0011] A determination module, used to determine whether the tab switching condition is met according to the target number and the opening time, and if so, determine the target sub-window from the candidate sub-windows according to the opening time, the target number and the focus of each candidate sub-window;

[0012] The adjustment module is used to convert the target sub-window into a tab page of the target main window according to the attribute information of the target sub-window and based on the preset tab page control, and adjust the sub-window layout of the target main window in the software interface.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the page display method described in any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the page display method described in any embodiment of the present invention when executed.

[0018] According to another aspect of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the page display method of any embodiment of the present invention is implemented.

[0019] The technical solution of the embodiment of the present invention, in the process of providing services to users through a software interface, detects the target number of candidate sub-windows contained in the target main window in the software interface, and determines the opening time of each candidate sub-window; determines whether the tab conversion condition is met according to the target number and the opening time, and if so, determines the target sub-window from the candidate sub-windows according to the opening time, the target number and the focus of each candidate sub-window; according to the attribute information of the target sub-window, based on the preset tab control, converts the target sub-window into a tab of the target main window, and adjusts the sub-window layout of the target main window in the software interface. By managing the sub-windows under different main windows in the software interface in the process of interacting with the user to display the page, the window is converted into a tab in time when the conversion condition is met, and the page display combining the advantages of the multi-window mode and the tab mode is realized, so that the interface can be concise and clear, and a more optimized page display experience is provided for the user.

[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 is a flow chart of a page display method provided by Embodiment 1 of the present invention;

[0023] Figure 2A is a structural block diagram of a multi-level page system provided by Embodiment 2 of the present invention;

[0024] Figure 2B This is a schematic diagram of a sub-window creation process provided by Embodiment 2 of the present invention;

[0025] Figure 2C is a schematic diagram of a process of converting a subwindow into a tab page provided by the second embodiment of the present invention;

[0026] Figure 3 This is a structural block diagram of a page display device provided by Embodiment 3 of the present invention;

[0027] Figure 4 It is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0029] It should be noted that the terms "first", "second", "target", "candidate", "alternative", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. The acquisition, storage, use, processing, etc. of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.

[0030] It should be noted that in the related art, the way of displaying the main window and its sub-windows in the software interface has the following disadvantages: 1. Chaotic layout: When a large number of sub-windows are opened, the layout may become chaotic and it is difficult to find a specific document. 2. Difficult navigation: As the number of sub-windows increases, users may need to spend more time to find and switch to the required documents; and the way of folding some windows into tabs also has certain limitations. For example, when a user needs to process multiple pages or tasks at the same time, the tab must be switched to process, and the information that needs multi-tasking cannot be synchronously and intuitively seen. In addition, when a user opens a large number of tabs, the tab may become very small, making the text on the tab difficult to read, and finding a specific tab may become time-consuming and inconvenient, making it difficult to distinguish the contents of each tab. In summary, the present invention proposes a page display scheme that combines a multi-document interface form mode with a tab function in response to the high requirements of desktop applications for interface flexibility, which can simultaneously meet the requirements of multi-window management and tab switching, and achieve a more flexible and efficient multi-level page display effect. The specific implementation method will be introduced in the subsequent embodiments.

[0031] Embodiment 1

[0032] Figure 1 1 is a flow chart of a page display method provided by the first embodiment of the present invention; this embodiment can be applied to combining the advantages of the multi-window mode and the tab mode, timely converting some sub-windows into tabs, and adjusting the window layout in the interface. The method can be executed by a page display device, which can be implemented in the form of hardware and / or software. The page display device can be configured in an electronic device, such as an electronic device with a page display function, such as a multi-level page system, and executed by a control end of a software interface, such as Figure 1 As shown, the page display method includes:

[0033] S101. In the process of providing services to users through a software interface, a target number of candidate sub-windows included in a target main window in the software interface is detected, and an opening time of each candidate sub-window is determined.

[0034] The software interface may specifically be a desktop application software interface, in which at least one main window may be displayed, usually referred to as an MDI (Multiple Document Interface) parent window, and each main window may contain at least one child window (i.e., an MDI child window), and each child window represents an independent page or document. The candidate child window may refer to all child windows contained in the target main window. The opening duration refers to the duration from the creation time to the current time of the candidate child window. When a page contains a main window and child windows, that is, when in MDI window mode, the main window may accommodate multiple child windows, and the child windows usually have the same menus and toolbars, and users may process different documents by switching different child windows.

[0035] For example, the main window can be a movable window in the client software interface. The area displayed by the main window (primary window) is the primary window area, and the area where the candidate child windows (secondary windows) contained in the main window are located is the secondary window area. Sub-child windows can be created in child windows to achieve nested parent-child window relationships. Each main window or parent window has a tab bar.

[0036] Optionally, the control end of the software interface can automatically trigger the detection of candidate sub-windows when detecting the creation of a new sub-window; it can also use a timer or other mechanism to periodically trigger the detection of candidate sub-windows through a preset intelligent conversion control module. Specifically, the secondary window area corresponding to the target main window can be periodically detected to determine the number of candidate sub-windows contained in the secondary window area, that is, the target number.

[0037] Optionally, you can create an array or other data structure in the process to store all the child window instances in the main window. Whenever a new child window is created, the new window is added to the array; when the window is closed, it is removed from the array, and the number of child windows can be determined accordingly.

[0038] Optionally, the creation time of each candidate sub-window can be determined through the window manager corresponding to each candidate sub-window, and the opening duration of each candidate sub-window can be further determined based on the time deviation between the creation time of each candidate sub-window and the current time, wherein each candidate sub-window corresponds to a window manager, and each window manager can record the creation time of the corresponding candidate sub-window, its parent window information and the subordinate sub-window information it contains.

[0039] It should be noted that the user can issue an instruction to convert the child window into a tab page of the corresponding parent window by dragging the child window to the tab bar of the corresponding parent window in the software interface; the user can also move the child window to a new position or change the size of the child window by dragging the child window position or pulling the corners of the child window. Accordingly, the control end of the software interface can flexibly adjust the layout of the main window and child windows in the software interface to make the interface concise and clear.

[0040] S102: Determine whether a tab switching condition is met based on the target number and the opening time. If so, determine a target sub-window from the candidate sub-windows based on the opening time, the target number, and the focus of each candidate sub-window.

[0041] The tab conversion condition refers to the condition for evaluating whether to convert the target subwindow of the candidate subwindow into a tab. The focus condition is used to indicate whether the candidate subwindow is in the focus state of the user's click or attention. The focus condition can be in the focus state or not in the focus state. The target subwindow refers to the subwindow in the candidate subwindow that is converted into a tab.

[0042] Optionally, determining whether the tab conversion condition is met according to the target number and the opening time includes: determining whether the tab conversion condition is met according to a correlation between the target number and a preset number threshold, and / or a correlation between the opening time and a preset time threshold;

[0043] The preset quantity threshold and the preset time threshold may directly adopt the default values ​​built into the system, or may determine the user-defined configuration values ​​through interaction with the user.

[0044] Optionally, based on the correlation between the target number and the preset number threshold, if the target number is greater than the preset number threshold, it can be directly determined that the tab conversion condition is met; it can also be based on the correlation between the target number and the preset number threshold, if there is a candidate sub-window open time longer than the preset time threshold, it can be directly determined that the tab conversion condition is met.

[0045] Correspondingly, based on the correlation between the target number and the preset number threshold, and the correlation between the opening time and the preset time threshold, it is determined whether the tab conversion condition is met, including: based on the correlation between the target number and the preset number threshold, if the target number is greater than the preset number threshold, it is determined whether there is a candidate sub-window whose opening time is greater than the preset time threshold; if so, it is determined that the tab conversion condition is met.

[0046] Optionally, a target subwindow is determined from the candidate subwindows based on the opening time, the target number and the focus status of each candidate subwindow, including: determining a quantity deviation between the target number and a preset quantity threshold, and determining a candidate subwindow in a non-focused state as a sorting subwindow based on the focus status of each candidate subwindow; sorting the sorting subwindows based on the opening time of each sorting subwindow, and determining a corresponding number of target subwindows from the sorting subwindows based on the sorting results and the quantity deviation.

[0047] The quantity deviation may be a deviation between a target quantity and a preset quantity threshold, and the quantity of the target sub-windows has the same value as the quantity deviation.

[0048] Optionally, the sorting sub-windows may be sorted in descending order of opening time, and starting from the sorting sub-window with the longest opening time, the sorting sub-windows with the corresponding number of quantity deviations are taken as target sub-windows.

[0049] S103. According to the property information of the target sub-window and based on a preset tab page control, the target sub-window is converted into a tab page of the target main window, and the sub-window layout of the target main window in the software interface is adjusted.

[0050] The attribute information may include identification information of the target sub-window and window content information of the target sub-window. The preset tab page control refers to a control pre-configured in the software page for managing the creation, deletion and renaming of tab pages.

[0051] It should be noted that the tabbed interface, also known as the tabbed interface or tabbed panel, allows users to access and switch multiple related sub-pages in the same window through the tab bar without opening multiple independent windows. The main features of the tabbed interface are: a. Space saving: It reduces the desktop space occupied, because multiple pages share the same window, avoiding the confusion and waste of screen space caused by multiple windows opened at the same time. b. Simplified navigation: Users can quickly switch between multiple views or documents without minimizing or re-maximizing the window, which improves efficiency.

[0052] Optionally, the present invention can automatically determine the target child window to be converted into a tab page when it is detected that the tab conversion condition is met, and can also determine the target child window to be converted into a tab page in response to a user operation. Specifically, if it is detected that the user drags the child window to the tab bar of the corresponding parent window (by detecting the mouse press, move and release events, and / or the keyboard shortcut key detection, the target child window of the user's target operation is determined, and the target child window is converted into a tab page.

[0053] Optionally, according to the attribute information of the target sub-window and based on a preset tab control, the target sub-window is converted into a tab page of the target main window, including: based on a preset information extraction method, extracting window content information in the attribute information of the target sub-window to obtain label information; and according to the label information and window identification information in the attribute information of the target sub-window and based on a preset tab control, converting the target sub-window into a tab page of the target main window.

[0054] The attribute information of the target sub-window may include window identification information and window content information. The window content information refers to the text information recorded in the target sub-window. The label information refers to the label that can summarize the window content information obtained by extracting the window content information. The window identification information refers to the information that can uniquely identify the target sub-window.

[0055] Optionally, an information extraction (IE) method in natural language processing can be used to perform word frequency statistics on the words appearing in the window content information, and the window content information can be summarized based on the statistical results and the title information in the window content information to generate label information. Furthermore, a tab page can be generated based on a preset tab page control according to the label information, and the tab page and the window identification information of the target sub-window can be bound to realize the conversion of the target sub-window into the tab page of the target main window.

[0056] Optionally, according to the label information and the window identification information in the target sub-window attribute information, based on a preset tab control, the target sub-window is converted into a tab page of the target main window, including: determining the window manager corresponding to the target sub-window according to the window identification information in the target sub-window attribute information, and determining the parent-child window relationship to which the target sub-window belongs according to the window manager; determining whether the target sub-window contains a corresponding secondary sub-window according to the parent-child window relationship, and converting the target sub-window or the secondary sub-window corresponding to the target sub-window into a tab page corresponding to the target main window according to the judgment result.

[0057] Among them, the window manager is used to record the opening and closing status and parent-child relationship of the corresponding child window. The state of the window manager needs to be updated when the child window is opened or closed. The window manager and the target child window correspond one to one. The parent-child window relationship is used to characterize the parent window information to which the target child window belongs and the secondary child window information contained. The parent window of the secondary child window is the corresponding target child window.

[0058] Optionally, if the target sub-window does not contain a corresponding secondary sub-window, the document tab of the target sub-window can be directly added to the end of the tab bar of the target main window, and the target sub-window object instance can be destroyed; if the target sub-window contains a corresponding secondary sub-window, all secondary sub-windows in the corresponding area of ​​the target sub-window are traversed, and the object document tab corresponding to the secondary sub-window is added to the end of the tab bar of the target main window, and finally the object form instances of each secondary sub-window and the object instance of the target sub-window are destroyed.

[0059] Optionally, after the target child window is converted into a tab page, the state information of the target child window recorded in the corresponding window manager may be updated.

[0060] Optionally, after converting the target sub-window into a tab of the target main window, the sub-window layout of the target main window in the software interface can be automatically adjusted, that is, the latest window information is determined and the layout is adjusted; or in response to the user's move or adjustment operation on the target sub-window, when a sub-window change is detected, the layout is adjusted according to the latest window information. Specifically, if it is detected that the user drags the corner of the window to change the window size or the user drags the window to a new position, it is determined that a window change event is detected, and the latest window message is determined.

[0061] Optionally, adjusting the sub-window layout of the target main window in the software interface includes: determining the latest window information of the page after converting the target sub-window to the tab page of the target main window, and determining other candidate sub-windows under the target main window except the target sub-window as adjustment sub-windows; calling a preset layout engine according to the window message to perform position and size layout for the adjustment sub-window based on the layout algorithm to obtain a layout strategy; according to the target position and target size of the adjustment sub-window in the layout strategy, controlling each adjustment sub-window in the main window to adjust the size to the target size and move to the corresponding target position. Among them, the window information may include the position information and size information of the main window and sub-window contained in the page, and may also include the parent-child window relationship of each main window and sub-window.

[0062] It should be noted that after adjusting the sub-window layout of the target main window in the software interface, the software interface can continue to display pages and provide relevant business services to users.

[0063] The technical solution of the embodiment of the present invention, in the process of providing services to users through a software interface, detects the target number of candidate sub-windows contained in the target main window in the software interface, and determines the opening time of each candidate sub-window; determines whether the tab conversion condition is met according to the target number and the opening time, and if so, determines the target sub-window from the candidate sub-windows according to the opening time, the target number and the focus of each candidate sub-window; according to the attribute information of the target sub-window, based on the preset tab control, converts the target sub-window into a tab of the target main window, and adjusts the sub-window layout of the target main window in the software interface. By managing the sub-windows under different main windows in the software interface in the process of interacting with the user to display the page, the window is converted into a tab in time when the conversion condition is met, and the page display combining the advantages of the multi-window mode and the tab mode is realized, so that the interface can be concise and clear, and a more optimized page display experience is provided for the user.

[0064] Embodiment 2

[0065] Figure 2A is a structural block diagram of a multi-level page system provided by Embodiment 2 of the present invention; Figure 2B This is a schematic diagram of a sub-window creation process provided by Embodiment 2 of the present invention; Figure 2C is a schematic diagram of a process of converting a subwindow into a tab page provided by the second embodiment of the present invention;

[0066] Based on the above embodiments, this embodiment provides an optimal solution for the interaction of various modules in a multi-level page system that combines MDI forms and tab functions, so as to perform tab conversion and page layout adjustment according to the number of sub-windows and the opening time.

[0067] like Figure 2A As shown, the multi-level page system can include a main window module, a multi-level MDI form management module, a tab conversion management module, a user interaction management module, and an intelligent conversion control module. Among them, the main window module is used to create and manage the main window and set the first-level MDI form area; the multi-level MDI form management module is used to create and manage the second-level MDI area; the tab conversion management module is used to create and manage tabs, and switch between windows and tabs; the user interaction management module is used to provide a user interface and capture user operations; the intelligent conversion control module is used to set thresholds and customize conversion strategies.

[0068] Specifically, the main window management module can be used for:

[0069] a. Initialize the main window: Use a UI framework that supports MDI functions, use the platform API to create a main window K_0 instance, set the size, position, title and other properties of the main window K_0, initialize the first-level MDI form area, and this window will serve as a container for all document forms. Common UI frameworks that support MDI functions include Qt / Electron / MFC, etc. Using the platform API to create the main window involves the following main operations at the system level: 1. Register the window class 2. Create a window instance 3. Display the window 4. Message monitoring: so that the application can respond to user input and system events. And distribute to the corresponding window procedure function for processing. 5. Window procedure function: Write a window procedure function to handle various messages, such as drawing messages, keyboard messages, mouse messages, etc.

[0070] b. Manage the main window: combine the platform API to implement the functions of adding, deleting and renaming the main window K_0; update the layout of the sub-window Ki in the main window K_0 by listening to window messages, and automatically adjust the position and size of the sub-window when the window changes. Mainly refers to the messages that trigger the change of window size or position, such as the user dragging the corner of the window to change the window size and the user dragging the window to a new position.

[0071] For example, under the Windows platform, you can monitor and process various window messages by registering a window procedure. The window procedure is a callback function. Whenever the window receives a message, the system will call this function, that is, when the user operates the window, the window procedure will receive the message and call the function. Developers can add logic to the window procedure to handle specific messages and update the layout of the child window as needed. Common window messages are as follows, which can be used to monitor changes in window size or position: WM_SIZE: Sent when the window size changes. WM_MOVE: Sent when the window moves. WM_WINDOWPOSCHANGED: Sent when the window position or size changes WM_SIZING: Sent when the user drags the window border to change the window size. WM_MOVING: Sent when the user drags the window to change the window position.

[0072] Exemplarily, the user can adjust the size and position of the main window, and can also adjust the size and position of the sub-window. For the adjustment of the main window and the sub-window, a message monitoring mechanism can be used to update the layout, but the specific implementation details will be different. When the size or position of the main window changes, the position and size of all sub-windows need to be recalculated and adjusted accordingly. When the size or position of a sub-window changes, it is usually not necessary to adjust the position and size of other sub-windows unless there is a specific requirement (for example, there is a relative position relationship between the sub-windows).

[0073] c. Layout and appearance management: Use grid layout or custom layout engine to automatically adjust the position and size of sub-windows. The custom layout engine is implemented by creating a custom layout management class, which is responsible for calculating the position and size of sub-windows. Implement a layout algorithm that determines the position and size of sub-windows based on the size of the main window K_0 and the number of sub-windows Ki. Listen to the size change event of the main window to recalculate the position and size of the sub-window when the window size changes.

[0074] Exemplarily, the layout algorithm can be, for example, a grid layout algorithm, which evenly distributes all subwindows in the main window. According to the number of subwindows and the desired layout (for example, the maximum number of subwindows per row), the number of rows and columns is calculated. The width or height of the main window is divided by the number of columns or rows to obtain the width or height of each cell. Each subwindow is traversed and the coordinate x of its upper left corner is calculated according to its row and column index in the grid, and the formula is: x = column index * cell width y = row index * cell height. Among them, the width and height of each subwindow are usually the width and height of the cell.

[0075] Specifically, the multi-level MDI form management module can be used for:

[0076] a. Create a custom MDI form: inherit from the MDI child form base class, and implement a recursive hierarchy in the first-level MDI form of the main window to support multi-level nested MDI forms.

[0077] b. Manage child windows: Each MDI child window needs to record who its parent window is and whether it has any subordinate child windows. Implement a window manager to track all open MDI child windows and handle the parent-child relationship between them. The implementation of the window manager is as follows: define a window management class to manage all child windows, match the child window instance status with the manager one by one, monitor the opening / closing events of the child windows, and update the manager status when the child windows are opened / closed.

[0078] Exemplarily, the window manager needs to maintain a data structure to track all open MDI child windows and their parent-child relationships. Each node (or entry) contains the following information: window handle (HWND) / parent window handle / child window list / other status information (such as visibility, size, position, etc.). When the layout is updated, the child window tree is traversed, and the position and size of each child window are recalculated based on the current parent window size and the number of child windows. The position and size of each child window and its subordinate child windows are recursively updated.

[0079] When implementing a window manager, listening to the open / close events of child windows can be done in a variety of ways, depending on the programming language and framework you use. For example, in Java Swing, you can add a WindowListener to a JFrame or JDialog; in Qt, you can use QObject::connect() to connect to the destroyed() signal of a QMainWindow or QWidget. You can usually get information about the event from the event object, such as the window instance, event type (open / close), timestamp, etc. Determine the state of the child window based on the event type. If the event indicates that the window is closed (for example, WindowEvent.WINDOW_CLOSING), the child window is closed; if the event indicates that the window is opened (for example, WindowEvent.WINDOW_OPENED), the child window is opened.

[0080] When a child window is opened or closed, the window manager needs to update its internal state to reflect these changes. 1. The manager maintains a list or collection of all child windows, so when a child window is opened, it should be added to the list; when the child window is closed, it should be removed from the list. 2. In some cases, a child window may hold valuable system resources (such as database connections, file handles, etc.). It is very important to ensure that these resources are released when the child window is closed to avoid memory leaks or other problems. 3. If the application uses a tab-like approach to organize child windows, then the tab display in the main interface may need to be updated each time a new child window is opened or closed. Similarly, if the layout of the application changes as the state of the child window changes (such as resizing or rearranging), the layout also needs to be updated accordingly.

[0081] The purpose of updating the state manager is: 1. Maintain consistency: ensure that the manager and the actual GUI (interface) state are consistent. 2. Improve efficiency: optimize performance by processing only active child forms. 3. Simplify logic: make other functions (such as batch operations) easier to implement.

[0082] Update the association between the state manager and switching tabs / updating layout: 1. Switching tabs: If the application supports displaying multiple subwindows as tabs, then each time a new subwindow is opened, you may need to create a new tab and remove the corresponding tab when it is closed. This usually involves operating the tab control and possible UI refresh. 2. Update layout: If the opening or closing of a subwindow causes the entire application window layout to change (for example, dynamically adjusting the size or position of the remaining windows), then you need to write code to respond to these events and call the appropriate layout management methods.

[0083] Specifically, the tab conversion management module can be used to:

[0084] a. Drag operation detection: Identify the drag operation by monitoring mouse events (such as mouse press, move, release, etc.). Use the comparison between the mouse position and the child window position to determine the drag target.

[0085] b. Tab container: Convert the dragged child window into a tab. Integrate a custom tab container in each MDI form area to manage multiple views under the document. Each form has a tab bar (i.e., tab container) that can be used to manage the child forms in the form.

[0086] c. Tab page control: Use the tab page control to manage the creation, deletion, and renaming of tab pages. When the user drags a child window (such as JInternalFrame) from the content panel to the tab bar area, it can trigger the creation of a new tab page. The child window information is used to create a tab page: the title of the child window is usually used as the title of the new tab page. The content of the child window (usually its ContentPane) will be added to the tab page and displayed as a page. Creation process: 1. Get child window information: Get the title, content and other information of the child window. 2. Remove the child window: Remove the child window from the content panel. 3. Add a tab page: Use the obtained information to create a new tab page in the JTabbedPane. Deleting and renaming tab pages: There can be a close button (X) next to each tab page, and the user can delete the tab page by clicking the button. The user can double-click the tab page name to rename the tab page.

[0087] d. Document switching logic: When the user clicks on a different tab, it switches to the corresponding document view to achieve quick switching between tabs.

[0088] For example, a mouse listener may be added to the child window. When the user drags the child window, if the mouse pointer is located in the tab bar area, the child window is converted into a tab page; otherwise, only the position of the window is moved.

[0089] Exemplarily, taking Java Swing as an example, the specific operation of converting a child window to a tab page involves the following steps: 1. Get the content of the child window; first, you need to extract the content (usually ContentPane) from the child window, which will be the main display content in the tab page. 2. Create a new tab page; use JTabbedPane or similar controls to create a new tab page, and set the title and icon. 3. Add content to the tab page; add the content of the child window to the newly created tab page. 4. Remove the child window from the original position; remove the child window from its original position (such as JDesktopPane or other container) to ensure that it is no longer displayed in the original area. 5. Update the UI; refresh the interface for the changes to take effect.

[0090] Specifically, the user interaction management module can be used for:

[0091] a. User interface design: Use the GUI framework to design the user interface, including components such as toolbars, menu bars, and status bars.

[0092] b. User input processing: Process user input by monitoring keyboard and mouse events. Implement shortcut key functions, such as Ctrl+T to open a new subwindow and Ctrl+W to close the current subwindow, so that users can easily open and close the window.

[0093] Specifically, the intelligent conversion control module can be used for:

[0094] a. Monitoring the number of child windows: Regularly check the number of child windows in the secondary MDI window area. Use a timer or other mechanism to trigger the check regularly.

[0095] b. Automatic conversion logic: The window management data maintains the form opening time field Time. According to the threshold value Z set by the user, the sub-windows that exceed the number will be automatically converted to tabs if the sub-window is initially opened and not in focus. Use conditional judgment statements (such as if statements) to execute the conversion logic.

[0096] Exemplarily, determining whether a child window is in focus usually depends on the API provided by the operating system or GUI framework. Different programming languages ​​and frameworks have different methods to detect the focus state of a window. For example, in JavaSwing, the isSelected() method of JInternalFrame can be used to check whether it is currently selected (i.e., has focus).

[0097] c. Customization of thresholds and policies: Add a user-defined settings button to the main window toolbar and provide a user interface that allows users to customize thresholds and conversion policies. Use a configuration file or database to store user-defined settings. When using a configuration file, you can choose XML, JSON, or INI as the storage format of the configuration file. When the application starts, read the configuration file and initialize the user interface and behavior according to the settings in it; when the user changes the settings, save these changes back to the configuration file. When using a database, you can choose a relational database such as SQLite, design a table to store user IDs and corresponding setting values, query the setting values ​​in the database based on the user ID when reading, and update the corresponding records in the database when the user changes the settings.

[0098] like Figure 2B As shown, the process of executing the sub-window creation by the intelligent conversion control module can be: when each form is created, the field Num is set to store the number of sub-windows in the form area, that is, the target number of candidate sub-windows in the target main window, and the system has a built-in default value or a user-defined configuration of the form number threshold Z (that is, the preset number threshold) and the form opening time field Time (that is, the preset time threshold). Whenever a form creates a sub-form Ki, the sub-window number Num value is +1, and the current sub-form creation time is recorded.

[0099] Further, the sub-window quantity detection is triggered to determine whether the threshold Z is greater than the current sub-window quantity Num; if so, a sub-window Ki is created; if not, all sub-window objects under the window are traversed to determine whether the difference between the current time and the sub-window object creation time is greater than the window opening time field Time, if not, the traversal continues; if the difference between the current time and the sub-window object creation time is greater than the window opening time field Time, it is determined whether the sub-window object is in the focused state, if so, the traversal continues; if not, it is stored in the sub-window object collection Arr.

[0100] Further, the Z-Num sub-window objects with the earliest creation time in the sub-window object collection Arr are searched; and the Z-Num sub-window objects are converted into tab pages, and finally the operation of creating the sub-window Ki is executed.

[0101] like Figure 2CAs shown, the process of switching between the MDI form and the tab page interface, that is, converting the target child window into a tab page, can be as follows: if it is detected that the user drags the child window ki to the parent window kj tab bar, or if it is detected that the intelligent conversion control mechanism recycles the child window ki to its parent window kj tab bar, it is considered that the target child window needs to be converted into a tab page, and further, it is determined whether there is a secondary child window object in the child window ki area; if there is no secondary child window object, then the child window ki document tab is directly added to the end of the window kj tab bar, and the child window ki object instance is destroyed and the window manager is updated; if there is a secondary child window object, then the secondary child window objects in the child window Ki area are traversed, and the secondary child window object document tab is added to the end of the window kj tab bar; the secondary child window object form instance is destroyed, and then the child window ki object instance is destroyed, and finally the window manager is updated.

[0102] For example, if there is a parent window A, a child window a, and a secondary child window a1, then if there is a secondary child window object, the parent window A can be made to add a1 to become the tab page of A, delete a1, and then the parent window A can be made to add a to become the tab page of A, and delete a. Correspondingly, the update of the window manager specifically includes: updating the parent-child window relationship and window status, 1. Parent-child window relationship; removing the relationship between the secondary child window and the child window: removing the parent-child relationship between the child window a and the parent window A in the data list maintained by the window manager. 2. Window status; updating the status of the child window: deleting windows a and a1 in the data list maintained by the window manager.

[0103] The technical solution of the present invention, by combining the design concepts of the MDI form mode and the tab mode, enables the multi-level page system to have better space utilization, simplifies document switching, enhances document organization, supports custom configuration and enhances flexibility, thereby providing users with a smoother and more efficient working environment.

[0104] Embodiment 3

[0105] Figure 3 is a structural block diagram of a page display device provided in the third embodiment of the present invention; this embodiment can be applied to the situation where the advantages of the multi-window mode and the tab mode are combined to timely convert some sub-windows into tabs and adjust the window layout in the interface. The page display device provided in the embodiment of the present invention can execute the page display method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method; the page display device can be implemented in the form of hardware and / or software, and configured in an electronic device with a page display function, such as Figure 3 As shown, the page display device specifically includes:

[0106] The detection module 301 is used to detect the target number of candidate sub-windows contained in the target main window in the software interface and determine the opening time of each candidate sub-window in the process of providing services to users through the software interface;

[0107] A determination module 302 is used to determine whether a tab switching condition is met according to the target number and the opening time, and if so, determine a target sub-window from the candidate sub-windows according to the opening time, the target number and the focus of each candidate sub-window;

[0108] The adjustment module 303 is used to convert the target sub-window into a tab page of the target main window according to the property information of the target sub-window and based on the preset tab page control, and adjust the sub-window layout of the target main window in the software interface.

[0109] The technical solution of the embodiment of the present invention, in the process of providing services to users through a software interface, detects the target number of candidate sub-windows contained in the target main window in the software interface, and determines the opening time of each candidate sub-window; determines whether the tab conversion condition is met according to the target number and the opening time, and if so, determines the target sub-window from the candidate sub-windows according to the opening time, the target number and the focus of each candidate sub-window; according to the attribute information of the target sub-window, based on the preset tab control, converts the target sub-window into a tab of the target main window, and adjusts the sub-window layout of the target main window in the software interface. By managing the sub-windows under different main windows in the software interface in the process of interacting with the user to display the page, the window is converted into a tab in time when the conversion condition is met, and the page display combining the advantages of the multi-window mode and the tab mode is realized, so that the interface can be concise and clear, and a more optimized page display experience is provided for the user.

[0110] Further, the determination module 302 may include:

[0111] A condition determination unit, configured to determine whether a tab switching condition is met based on a correlation between a target quantity and a preset quantity threshold, and / or a correlation between an opening duration and a preset time threshold;

[0112] The condition determination unit is specifically used to: determine whether there is a candidate sub-window whose opening time is greater than the preset time threshold according to the correlation relationship between the target number and the preset number threshold if the target number is greater than the preset number threshold;

[0113] If so, it is determined that the tab transition condition is met.

[0114] Further, the determination module 302 is specifically used for:

[0115] Determine the quantity deviation between the target quantity and the preset quantity threshold, and determine the candidate sub-windows in a non-focused state as the sorting sub-window according to the focusing status of each candidate sub-window;

[0116] The sorting sub-windows are sorted according to the opening time of each sorting sub-window, and the corresponding number of target sub-windows are determined from the sorting sub-windows according to the sorting results and the quantity deviation.

[0117] Furthermore, the adjustment module 303 may include:

[0118] An obtaining unit, used for extracting window content information from the target sub-window attribute information based on a preset information extraction method to obtain label information;

[0119] The conversion unit is used to convert the target sub-window into a tab page of the target main window based on the preset tab page control according to the label information and the window identification information in the target sub-window attribute information.

[0120] Furthermore, the conversion unit is specifically used for:

[0121] Determine the window manager corresponding to the target child window according to the window identification information in the target child window attribute information, so as to determine the parent-child window relationship to which the target child window belongs according to the window manager;

[0122] According to the parent-child window relationship, it is determined whether the target child window contains a corresponding secondary child window, so as to convert the target child window or the secondary child window corresponding to the target child window into a tab page corresponding to the target main window according to the determination result.

[0123] Furthermore, the adjustment module 303 is also used for:

[0124] Determine the latest window information of the page after the target sub-window is converted into the tab page of the target main window, and determine other candidate sub-windows under the target main window except the target sub-window as adjustment sub-windows;

[0125] According to the window message, the preset layout engine is called to adjust the position and size of the child window based on the layout algorithm to obtain the layout strategy;

[0126] According to the target position and target size of the sub-window in the layout strategy, each sub-window in the main window is controlled to be resized to the target size and moved to the corresponding target position.

[0127] Embodiment 4

[0128] Figure 4 It is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0129] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0130] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0131] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the page display method.

[0132] In some embodiments, the page display method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the page display method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the page display method in any other appropriate manner (e.g., by means of firmware).

[0133] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0134] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0135] In the context of the present invention, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0136] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0137] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0138] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0139] In one embodiment, the embodiment of the present invention further includes a computer program product, the computer program product includes a computer program, and the computer program implements the page display method of any embodiment of the present invention when executed by a processor.

[0140] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0141] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0142] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A page display method, characterized in that: include: In the process of providing services to users through the software interface, detecting the target number of candidate sub-windows contained in the target main window in the software interface, and determining the opening time of each candidate sub-window; According to the target number and the opening time, determine whether the tab switching condition is met. If so, determine the target sub-window from the candidate sub-windows according to the opening time, the target number and the focus of each candidate sub-window; According to the property information of the target sub-window and based on the preset tab page control, the target sub-window is converted into a tab page of the target main window, and the sub-window layout of the target main window in the software interface is adjusted.

2. The method according to claim 1, characterized in that Based on the target number and opening time, determine whether the tab transition conditions are met, including: Determine whether a tab switching condition is met based on a correlation between a target quantity and a preset quantity threshold, and / or a correlation between an opening duration and a preset time threshold; Accordingly, according to the correlation between the target quantity and the preset quantity threshold, and the correlation between the opening time and the preset time threshold, determining whether the tab switching condition is met includes: According to the correlation between the target number and the preset number threshold, if the target number is greater than the preset number threshold, determining whether there is a candidate sub-window whose opening time is greater than the preset time threshold; If so, it is determined that the tab transition condition is met.

3. The method according to claim 1, characterized in that According to the opening time, the number of targets and the focus of each candidate sub-window, the target sub-window is determined from the candidate sub-windows, including: Determine the quantity deviation between the target quantity and the preset quantity threshold, and determine the candidate sub-windows in a non-focused state as the sorting sub-window according to the focusing status of each candidate sub-window; The sorting sub-windows are sorted according to the opening time of each sorting sub-window, and the corresponding number of target sub-windows are determined from the sorting sub-windows according to the sorting results and the quantity deviation.

4. The method according to claim 1, characterized in that: According to the property information of the target sub-window and based on the preset tab page control, the target sub-window is converted into a tab page of the target main window, including: Based on a preset information extraction method, the window content information in the target sub-window attribute information is extracted to obtain label information; According to the label information and the window identification information in the target sub-window attribute information, based on the preset tab page control, the target sub-window is converted into a tab page of the target main window.

5. The method according to claim 4, characterized in that According to the label information and the window identification information in the target sub-window attribute information, based on the preset tab page control, the target sub-window is converted into a tab page of the target main window, including: Determine the window manager corresponding to the target child window according to the window identification information in the target child window attribute information, so as to determine the parent-child window relationship to which the target child window belongs according to the window manager; According to the parent-child window relationship, it is determined whether the target child window contains a corresponding secondary child window, so as to convert the target child window or the secondary child window corresponding to the target child window into a tab page corresponding to the target main window according to the determination result.

6. The method according to claim 1, characterized in that Adjust the sub-window layout of the target main window in the software interface, including: Determine the latest window information of the page after the target sub-window is converted into the tab page of the target main window, and determine other candidate sub-windows under the target main window except the target sub-window as adjustment sub-windows; According to the window message, the preset layout engine is called to adjust the position and size of the child window based on the layout algorithm to obtain the layout strategy; According to the target position and target size of the sub-window in the layout strategy, each sub-window in the main window is controlled to be resized to the target size and moved to the corresponding target position.

7. A page display device, characterized in that: include: A detection module, used to detect the target number of candidate sub-windows contained in the target main window in the software interface and determine the opening time of each candidate sub-window in the process of providing services to users through the software interface; A determination module, used to determine whether the tab switching condition is met according to the target number and the opening time, and if so, determine the target sub-window from the candidate sub-windows according to the opening time, the target number and the focus of each candidate sub-window; The adjustment module is used to convert the target sub-window into a tab page of the target main window according to the attribute information of the target sub-window and based on the preset tab page control, and adjust the sub-window layout of the target main window in the software interface.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the page display method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the page display method according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the page display method according to any one of claims 1 to 6.

Citation Information

Cited By

  • Eye protection mode generation method and device in application program and related medium

    CN120686997A

  • An eye-care mode generation method and device in an application program and related media

    CN120686997B

  • DOM (Document Object Model)-driven desktop application local content ecological construction method

    CN120909583A

  • Dom driven method for building desktop application partial content ecosystem

    CN120909583B