Window display control method and system and computer program product

By creating and embedding sub-display windows in the graphical user interface and sharing window message queues with the main display window, the problem of the display effect of the sub-display window does not match the main display window, and improves the user experience.

CN120085950APending Publication Date: 2025-06-03NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510147648.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-10
Publication Date
2025-06-03

AI Technical Summary

Technical Problem

In the graphical user interface of multi-window display, the display effect of the sub-display window is difficult to match the display effect of the main display window, affecting the user's window browsing experience.

Method used

By responding to the preset interactive instructions received by the main display window, a sub-display window is created and set as a sub-display window of the main display window, so that the sub-display window is embedded in the main display window. At the same time, the sub-display window and the main display window share the same window message queue, and the display style of the sub-display window is synchronized to maintain the same display effect as the main display window.

Benefits of technology

The sub-display window changes as the display style of the main display window changes, improving the user's window browsing and usage experience, and ensuring that the display effect of the sub-display window is consistent with the main display window.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120085950A_ABST
    Figure CN120085950A_ABST
Patent Text Reader

Abstract

The invention provides a window display control method and system and a computer program product, and relates to the technical field of display control, and the window display control method comprises the following steps: in response to a preset interaction instruction received by a main display window, creating at least one sub display window, wherein the display style of the sub display window in the graphical user interface is changed along with the change of the display style of the main display window in the graphical user interface; and in response to the change of the display style of the main display window in the graphical user interface, synchronously adjusting the display style of the sub-display window in the graphical user interface, so that the display effect of the sub-display window relative to the main display window is kept unchanged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of display control technologies, and particularly to a window display control method, system, and computer program product. Background Art

[0002] In a graphical user interface that supports multi-window display, the display content of the main display window can be extended and supplemented by creating sub-display windows, so as to achieve more complex user interactions and interface integrations. Since the application programs corresponding to the sub-display windows often do not belong to the same application program as the application program corresponding to the main display window, it is necessary to control the display effects of the sub-display windows so that the display effects of the sub-display windows match the display effects of the corresponding main display windows.

[0003] In view of this, some embodiments of this specification provide a window display control method, system, and computer program product, which can enable the sub-display windows embedded in the main display window to change as the display style of the main display window changes, improving the user's window browsing experience. Summary of the Invention

[0004] One or more embodiments of this specification provide a window display control method. A graphical user interface is provided by a terminal device, and one or more main display windows are displayed in the graphical user interface. The window display control method may include: creating at least one sub-display window in response to a preset interaction instruction received by the main display window, where the display style of the sub-display window in the graphical user interface changes as the display style of the main display window in the graphical user interface changes; and synchronously adjusting the display style of the sub-display window in the graphical user interface in response to a change in the display style of the main display window in the graphical user interface, so that the display effect of the sub-display window relative to the main display window remains unchanged.

[0005] According to the method provided by one or more embodiments of this specification, creating at least one sub-display window in response to a preset interaction instruction received by the main display window includes: setting the created sub-display window as a sub-window of the main display window, so that the sub-display window is embedded in the main display window for display.

[0006] According to the method provided by one or more embodiments of this specification, setting the created sub-display window as a sub-window of the main display window includes: based on the window handle corresponding to the main display window, the window handle corresponding to the sub-display window, and a preset instruction function, setting the created sub-display window as a sub-window of the main display window.

[0007] According to the method provided by one or more embodiments of the present specification, a window handle corresponds to one or more display window attribute information; the display window attribute information includes at least one or a combination of more than one of the window style of the display window, the window size of the display window, and the window state of the display window.

[0008] According to the method provided by one or more embodiments of the present specification, a sub-display window and a main display window share the same window message queue.

[0009] According to the method provided by one or more embodiments of the present specification, a sub-display window includes a background area and at least one display area; after setting the created sub-display window as a sub-window of the main display window, the method further includes: based on the window message queue, determining whether the window message in the window message queue comes from an interaction instruction received by the display area in the sub-display window: if so, the sub-display window responds to the window message; if not, the main display window responds to the window message.

[0010] The method provided by one or more embodiments of the present specification further includes: when an abnormal situation occurs in the window message corresponding to the sub-display window, terminating the application program corresponding to the sub-display window and canceling the display of the sub-display window in the graphical user interface.

[0011] According to the method provided by one or more embodiments of the present specification, a sub-display window includes a background area and at least one display area; in response to a preset interaction instruction received by the main display window, creating at least one sub-display window, including: setting the background area to a transparent display effect; and / or modifying the window style of the sub-display window so that the sub-display window is displayed in the graphical user interface in the style of a borderless window.

[0012] According to the method provided by one or more embodiments of the present specification, the window size of the sub-display window is the same as the window size of the main display window; and the display position of the sub-display window in the graphical user interface overlaps with the display position of the main display window in the graphical user interface.

[0013] According to the method provided by one or more embodiments of the present specification, a change in the display style of the main display window in the graphical user interface includes moving the position of the main display window in the graphical user interface and / or adjusting the window size of the main display window in the graphical user interface.

[0014] A method provided according to one or more embodiments of this specification synchronously adjusts the display style of a sub-display window in a graphical user interface so that the display effect of the sub-display window relative to the main display window remains unchanged, including: obtaining a window message corresponding to a change in the display style of the main display window in the graphical user interface; and adjusting the display style of the sub-display window according to the window message so that the display effect of the sub-display window relative to the main display window remains unchanged.

[0015] A method provided according to one or more embodiments of this specification, the sub-display window includes a background area and at least one display area; synchronously adjusting the display style of the sub-display window in the graphical user interface so that the display effect of the sub-display window relative to the main display window remains unchanged, including: adjusting the display style of the sub-display window in the graphical user interface so that the shape of the display area in the sub-display window and the area ratio of the display area in the main display window remain unchanged; and adjusting the display position of the sub-display window in the graphical user interface so that the relative position of the display area in the sub-display window in the main display window remains unchanged.

[0016] One or more embodiments of this specification also provide a window display control system that provides a graphical user interface through a terminal device, and one or more main display windows are displayed in the graphical user interface; the system may include: a sub-window creation module, configured to create at least one sub-display window in response to a preset interaction instruction received by the main display window, where the display style of the sub-display window in the graphical user interface changes with the change of the display style of the main display window in the graphical user interface; a sub-window adjustment module, configured to synchronously adjust the display style of the sub-display window in the graphical user interface in response to a change in the display style of the main display window in the graphical user interface so that the display effect of the sub-display window relative to the main display window remains unchanged.

[0017] Some embodiments of this specification also provide a computer program product, including computer instructions or a computer program, when at least a part of the computer instructions or the computer program is executed by a processor, it can implement the window display control method provided by the embodiments of this specification. Description of the Drawings

[0018] This specification will be further described by way of exemplary embodiments, and these exemplary embodiments will be described in detail through the drawings. The same numbers in the drawings represent the same structures or steps.

[0019] Figure 1 is a schematic diagram of a scenario of a window display system shown according to some embodiments of this specification.

[0020] Figure 2 is an exemplary flowchart of a window display control method shown according to some embodiments of this specification.

[0021] Figure 3 It is a schematic diagram of the display change of the graphical user interface when creating a sub-display window as shown in some embodiments of this specification.

[0022] Figure 4 It is another schematic diagram of the display change of the graphical user interface when creating a sub-display window as shown in some embodiments of this specification.

[0023] Figure 5 It is a schematic diagram that the display style of a sub-display window in the graphical user interface changes with the change of the display style of the main display window as shown in some embodiments of this specification.

[0024] Figure 6 It is a schematic diagram that a sub-display window is embedded in the main display window for display as shown in some embodiments of this specification.

[0025] Figure 7 It is an exemplary structural diagram of a sub-display window as shown in some embodiments of this specification.

[0026] Figure 8 It is another schematic diagram that a sub-display window is embedded in the main display window for display as shown in some embodiments of this specification.

[0027] Figure 9 It is a schematic diagram of a sub-display window including multiple display areas as shown in some embodiments of this specification.

[0028] Figure 10 It is a schematic diagram of a main display window including multiple sub-display windows as shown in some embodiments of this specification.

[0029] Figure 11 It is a schematic diagram of synchronously adjusting the display style of a sub-display window in the graphical user interface as shown in some embodiments of this specification.

[0030] Figure 12 It is another schematic diagram of synchronously adjusting the display style of a sub-display window in the graphical user interface as shown in some embodiments of this specification.

[0031] Figure 13 It is an exemplary module diagram of a window display control system as shown in some embodiments of this specification. Detailed implementation manners

[0032] To more clearly illustrate the technical solutions of the embodiments of this specification, the embodiments will be introduced in detail below with reference to the accompanying drawings. Obviously, the content described below is some examples or embodiments of this specification. For those of ordinary skill in the art, without creative efforts, the technical solutions or means disclosed in this specification can also be applied to other scenarios based on this technical content.

[0033] It should be understood that the "system", "device", "unit" and / or "module" used in this specification is a way to distinguish different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the above words can be replaced by other expressions.

[0034] Unless otherwise specified, the technical terms describing components, elements, etc. in this specification do not specifically refer to the singular form and may also include the plural form. Generally speaking, terms such as "including" and "comprising" only indicate the inclusion of the clearly identified steps, elements or components, and these steps, elements and components do not constitute an exclusive list. For example, the described method or device may also include other steps or components.

[0035] Flowcharts are used in this specification to illustrate the operation steps performed by the devices or systems of the relevant embodiments. However, unless otherwise specified, the order in which these steps are described should not be construed as a limitation on the order of step execution. Those of ordinary skill in the art can adjust the order of execution of these steps based on the knowledge and information conveyed by the embodiments of this specification. The above adjustments include, but are not limited to, swapping the sequence, combining multiple steps, and splitting a certain step.

[0036] A window, also known as a display window, is a closed area presented on the graphical user interface (GUI) of an electronic device. Within the area enclosed by this closed area, various multimedia contents such as images, texts, animations, etc. can be displayed according to the instructions and data provided by a computer program; users can also input operation and / or control instructions through human-machine interface devices (such as gamepads, keyboards, mice, etc.), and the computer program responds to the operation and / or control instructions and presents corresponding display content changes to the user through the display window. The shape of the display window is generally configured as a rectangle, and can also be configured as other geometric shapes such as circles, polygons, etc. according to needs, and supports users to change the size of the display window and the position of the display window on the graphical user interface. The display window usually can include a title bar, a status bar, and a main display area, where the title bar is used to display the file name and / or program name corresponding to the current display window, and includes a minimize button, a maximize / restore button, and a close button; the status bar is used to display the status information of the current display window; the main display area is used to display the multimedia content provided by the computer program for users to view, and changes the display of the multimedia content in response to user operations.

[0037] Figure 1 is a schematic diagram of a scenario of a window display system according to some embodiments of this specification. As Figure 1 shown, the window display system 100 may include a server 110, a network 120, a storage medium 130, and a terminal device 140. The server 110 and the terminal device 140 can transmit data through the network 120.

[0038] Among them, the server 110 can be a computer device with relatively high computing performance, and is used to provide the required multimedia display content for the display window according to user operations or other instruction information. In some embodiments, the server 110 can be a single computer device, or can be a computing cluster composed of multiple computer devices, so as to provide more powerful computing power and more efficient response to multimedia content requests of the display window.

[0039] The network 120 can be any form of wired or wireless network, or any combination thereof. By way of example only, the network 120 can be a wired network, a fiber optic network, a telecommunications network, an internal network, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a wide area network (WAN), a public switched telephone network (PSTN), a Bluetooth network, etc., or a combination of one or more of them. The network 120 can have multiple access points, and the server 110 and the terminal device 140 can access the network 120 through the access points.

[0040] The storage medium 130 can be used to store data and / or instructions related to the window display system 100. In some embodiments, the storage medium 130 can store data and / or information obtained from the server 110, the terminal device 140, etc. As an example, the storage medium 130 can store window attribute information corresponding to the display window, multimedia content to be displayed through the display window, etc. In some embodiments, the storage medium 130 can include one or more storage components, and each storage component can be an independent device or a part of other devices. In some embodiments, the storage medium 130 can be disposed in the server 110. In some embodiments, the storage medium 130 can be disposed in the terminal device 140. In some embodiments, the storage medium 130 can include a random access memory (RAM), a read-only memory (ROM), a mass storage device, a removable memory, a volatile read-write memory, etc. or any combination thereof. Exemplarily, the mass storage device can include a magnetic disk, an optical disk, a solid state disk, etc. In some embodiments, the storage medium 130 can be implemented on a cloud platform.

[0041] The terminal device 140 can include, but is not limited to, electronic devices with a graphical user interface such as a desktop computer, a smart phone, a laptop computer, a game console, and a tablet computer. An application program can be installed and run on the terminal device 140, and the multimedia content corresponding to the application program can be displayed through the display window in the terminal device, and the user can participate in the operation and / or control of the application program through the human-machine interface device. As an example, the terminal device 140 can have a signal connection with the server 110 through the network 120, and the user can obtain the multimedia content to be displayed by the display window from the server 110. The human-machine interface device can be a part of the terminal device 140, or can also be separated from the terminal device 140, but there is a signal connection between them. In some embodiments, the multimedia content displayed in the display window can be shared among multiple terminal devices. The terminal devices 140 of multiple users can be connected to the server 110 through the network 120, and with the participation of the server 110, the interactive content among multiple users can be displayed through the display window.

[0042] It should be noted that Figure 1 The schematic diagram of the window display system scenario shown is only an example. The window display system and scenario described in the embodiments of this specification are for more clearly explaining the technical solutions of the embodiments of this specification, and do not constitute a limitation on the technical solutions provided by the embodiments of this specification. For example, in the local window display scenario of a single machine or a terminal device, Figure 1The server 110 and network 120 shown may be omitted, and the storage medium 130 may be disposed in the terminal device 140 to cooperate with the application installed on the terminal device 140 to provide a display window. As is known to those of ordinary skill in the art, with the evolution of the window display system and the emergence of new business scenarios, the technical solutions provided in the embodiments of this specification are equally applicable to similar technical problems.

[0043] In the current display window application scenario, the display content of the main display window can be extended and supplemented by creating a sub-display window to achieve more complex user interaction and interface integration. Since the application corresponding to the sub-display window often does not belong to the same application as the application corresponding to the main display window, how to control the display of the sub-display window so that the display effect of the sub-display window can match the display effect of the main display window has become an urgent problem to be solved. In view of this, the embodiments of this specification provide a window display control method, system and computer program product, which can make the created sub-display window change with the change of the display style of the main display window, and improve the user's window browsing experience.

[0044] Figure 2 It is an exemplary flowchart of a window display control method according to some embodiments of this specification. Figure 2 The process 200 shown can be executed by a terminal device. For example, it can be executed by Figure 1 the terminal device 140 shown. Or, Figure 2 the process 200 shown can also be executed by other processing devices, such as can be executed by Figure 1 the server 110 shown. In some embodiments, the process 200 can be implemented by a window display control system 1300 deployed on a processing device or a terminal device.

[0045] In some embodiments, the window display control method provided by the process 200 can be displayed through the graphical user interface provided by the terminal device, and one or more main display windows can be displayed in the graphical user interface. In some embodiments, the main display window is used to provide multimedia content including images, texts, animations, etc. to the user according to the instructions and data provided by its application, and change the multimedia display content according to the user's operation instructions and / or control instructions.

[0046] In some embodiments, the terminal device can generate a graphical user interface and present the graphical user interface through the display device (such as a touch screen) of the terminal device; in other embodiments, the terminal device can generate a graphical user interface but does not include a display device, but presents the graphical user interface through other display devices, for example, presents the graphical user interface through an external screen or through holographic projection.

[0047] In some embodiments, as Figure 2 shown, process 200 may include the following steps.

[0048] Step 210: Create at least one sub-display window in response to a preset interaction instruction received by the main display window. In some embodiments, step 210 may be implemented by the sub-window creation module 1310.

[0049] In some embodiments, the sub-display window may also provide multimedia content including images, texts, animations, etc. to the user according to the instructions and data provided by its application program, and change the multimedia display content according to the user's operation instructions and / or control instructions. In some embodiments, there is an association between the display content of the sub-display window and the display content of the main display window. The display content of the sub-display window may be for the display content of the main display window, or may be an extension and supplement to the display content of the main display window, enabling the user to better obtain information or perform interactive operations on the main display window through the sub-display window. Taking a virtual game scenario as an example, the main display window may be used to display the game screen, and the sub-display window may be used to display the game auxiliary prompt interface. Taking a remote video conference as an example, the main display window may be used to display the conference video screen, and the sub-display window may be used to display the conference material information.

[0050] In some embodiments, the sub-display window may be created based on the QT framework. The QT framework is a cross-platform C++ graphical user interface library that can draw and create display windows. The display windows drawn and created through the QT framework can run on multiple operating systems including Windows, macOS, Linux, Android, iOS, etc. The sub-display window created using the QT framework can be flexibly adapted to a variety of different operating systems.

[0051] In some embodiments, in order to respond to the preset interaction instruction received by the main display window and create the sub-display window in a timely manner, the application program corresponding to the sub-display window may periodically monitor the interaction instruction received by the main display window to determine whether the preset interaction instruction is received. In some other embodiments, the application program corresponding to the sub-display window may also monitor the interaction instruction received by the main display window irregularly to determine whether the preset interaction instruction is received. The following will specifically illustrate the implementation of the above step 210 by taking the example of displaying a virtual game window in a graphical user interface.

[0052] Figure 3It is a schematic diagram of the display change of the graphical user interface when creating a sub-display window according to some embodiments of this specification. Among them, 310 is used to represent the schematic diagram of the graphical user interface before creating the sub-display window, and 320 is used to represent the schematic diagram of the graphical user interface after creating the sub-display window. As Figure 3 shown, there is a main display window 311 in the graphical user interface shown in 310, which is used to provide the display of the game screen of the virtual game. The user can operate and play the virtual game through this main display window 311. As Figure 3 shown, the main display window 311 contains a human-computer interaction button 312 representing "Start Game". When the user interacts with the human-computer interaction button 312, for example, moves the cursor 313 in the graphical user interface 310 to the human-computer interaction button 312 and clicks it, at this time the main display window 311 receives a preset interaction instruction, and the display content of the graphical user interface changes from that shown in 310 to that shown in 320. There is a main display window 321 and a sub-display window 322 in the graphical user interface shown in 320. Among them, the main display window 321 contains a prompt message "Game Loading" and a loading progress bar. Above the prompt message and the loading progress bar, the created sub-display window 322 appears, which is used to display the prompt message "Recently High Win Rate Lineup", which can help users preview the high win rate lineup information of the virtual game in advance during the waiting process of the game process loading, so that users can obtain relevant auxiliary and prompt information of the virtual game before entering the game match, improving the user's game experience. Based on the Figure 3 embodiment shown, it can be seen that by creating a sub-display window and displaying the display content that assists, expands, and supplements the display content of the main display window in the sub-display window, the relevant operation experience of the content presented on the main display interface can be improved for users.

[0053] In some embodiments, the preset interaction instruction received by the main display window can not only come from the human-computer interaction instruction provided by the user, but also come from the display content change instruction given by the application corresponding to the main display window. Figure 4 It is another schematic diagram of the display change of the graphical user interface when creating a sub-display window according to the embodiments of this specification. Among them, 410 is used to represent the schematic diagram of the graphical user interface before creating the sub-display window, and 420 is used to represent the schematic diagram of the graphical user interface after creating the sub-display window. As Figure 4 shown, it can be seen that there is a main display window 411 in the graphical user interface shown in 410, which is used to provide the display of the game screen of the virtual game. The user can operate and play the virtual game through this main display window 411. As Figure 4As shown, a prompt message "Opponent matching" is displayed in the main display window 411, indicating that the opponent matching process for the virtual game is in progress for the user at this time, and the creation and display of the sub-display window are not carried out. In the graphical user interface shown in 420, there is a main display window 421 and a sub-display window 422. The main display window 421 contains a prompt message "Opponent matched, game loading" and a loading progress bar. The created sub-display window 422 appears in the center of the main display window 421 to display the prompt message "Opponent's recently commonly used lineups". During the change process from the graphical user interface 410 to the graphical user interface 420, no human-computer interaction instruction provided by the user is received. Instead, the game application corresponding to the main display window automatically switches from the matching process to the game scene loading process after matching the game opponent, and sends a display content change instruction to the main display window, causing the display content of the main display window to change from "Opponent matching" to "Opponent matched, game loading". At this time, the sub-display window 322 is created to display the prompt message "Opponent's recently commonly used lineups", which can help the user pre-learn the opponent's commonly used lineups and make targeted strategic preparations during the waiting process of the game process loading, enabling the user to obtain relevant auxiliary and prompt information of the virtual game before entering the game match and enhancing the user's game experience. Based on the Figure 4 As can be seen from the shown embodiment, by creating a sub-display window and displaying display content that assists, expands, and supplements the display content of the main display window in the sub-display window, the user's operation experience related to the content presented on the main display interface can be improved.

[0054] In some embodiments, the creation time of the sub-display window can be later than that of the main display window, and the sub-display window can be displayed above the main display window during the display process of the graphical user interface. In the Figure 3 shown embodiment, the display area of the sub-display window obscures some of the display content of the main display window. When the size of the main display window changes or it moves in the graphical user interface, it may cause the sub-display window to obscure other important display content parts in the main display window, such as obscuring certain battle operation buttons, resulting in the user being unable to interact with the battle operation buttons normally; in the Figure 4In the illustrated embodiment, although the display area of the sub-display window does not obscure the display content of the main display window in the graphical user interface 420, when the size or position of the main display window changes in the graphical user interface, it may still obscure some of the display content in the main display window. To prevent the display of the main display window in the graphical user interface from being obscured by the newly created sub-display window, in some embodiments, the display style of the created sub-display window in the graphical user interface can be set to change with the change in the display style of the main display window in the graphical user interface, providing the user with a better window viewing and usage experience. In some embodiments, the changes in the display style of the main display window in the graphical user interface include, but are not limited to, adjusting the size of the window dimensions of the main display window and adjusting the display position of the main display window in the graphical user interface, etc.

[0055] Figure 5 is a schematic diagram showing that the display style of a sub-display window in a graphical user interface changes with the change in the display style of the main display window in the graphical user interface as shown in the embodiments of this specification. As Figure 5 shown, in the graphical user interface 500, the starting position of the main display window is at the dashed box 511. After expanding the size of the main display window and moving it, the main display window is at the solid box 512; the starting position of the sub-display window is at the dashed box 521, where the dashed box 521 is to the right of the dashed box 511 and the left boundary of the dashed box 521 overlaps with the right boundary of the dashed box 511. After the sub-display window follows the change in the display style of the main display window, it is at the solid box 522. Comparing the dashed box 521 and the solid box 522, it can be seen that the display style of the sub-display window changes synchronously with the display style of the main display window, so that the changed sub-display window still displays content to the right of the main display window without affecting the normal display of the main display window, enhancing the user's window viewing and usage experience. The specific change forms and specific implementations of the display style of the sub-display window changing with the change in the display style of the main display window will be specifically described later and will not be elaborated here.

[0056] Step 220: In response to a change in the display style of the main display window in the graphical user interface, synchronously adjust the display style of the sub-display window in the graphical user interface so that the display effect of the sub-display window relative to the main display window remains unchanged. In some embodiments, step 220 can be implemented by the sub-window adjustment module 1320.

[0057] In some embodiments, the change in the display style of the main display window in the graphical user interface may include moving the position of the main display window in the graphical user interface and / or adjusting the window size of the main display window in the graphical user interface. In some embodiments, moving the position of the main display window in the graphical user interface may include dragging the main display window in the graphical user interface according to a user operation, such that all or part of the main display window appears in the graphical user interface. In some embodiments, adjusting the window size of the main display window in the graphical user interface may include enlarging or reducing the display area of the main display window in the graphical user interface, maximizing the main display window such that the main display window occupies the entire area in the graphical user interface, minimizing the main display window such that the main display window is not displayed in the graphical user interface, etc. In some embodiments, the change in the display style of the main display window in the graphical user interface may be driven by a human-computer interaction instruction provided by the user.

[0058] In some embodiments, the display effect of the sub-display window remaining unchanged relative to the main display window includes the display style of the sub-display window changing synchronously with the display style of the main display window. For example, when the size of the main display window changes, the size of the sub-display window changes proportionally, and the change amplitude of the sub-display window is the same as that of the main display window. If the window size of the main display window increases proportionally by 20%, then the window size of the sub-display will also increase proportionally by 20%. Another example is when the position of the main display window in the graphical user interface changes, the position of the sub-display window changes accordingly. If the main display window moves one unit distance horizontally in the graphical user interface, then the sub-display window also moves one unit distance horizontally in the graphical user interface. In some embodiments, when the display style of the rectangular main display window changes to maximization and occupies the entire area in the graphical user interface, the increase ratio of each side of the main display window can be obtained respectively, and the same increase ratio can be used to increase each corresponding side in the sub-display window. In some embodiments, when the display style of the main display window changes to minimization and is no longer displayed in the graphical user interface, the sub-display window is also no longer displayed in the graphical user interface.

[0059] Through the above process 200, the display effect that the sub-display window follows the main display window to change the display style can be achieved. Hereinafter, in combination with the embodiments provided in this specification, the creation process of the sub-display window and the process of changing the display style of the sub-display window will be further described respectively.

[0060] In some embodiments, in order to enable the display style of the sub-display window in the graphical user interface to change as the display style of the main display window in the graphical user interface changes, during the process of creating the sub-display window, the sub-display window can be superimposed on the upper layer of the main display window, and the application corresponding to the sub-display window is used to monitor the application corresponding to the main display window, so that the sub-display window can move or change the window size following the main display window. However, due to a certain data transmission delay in the process of monitoring the application corresponding to the main display window and then passing it to the sub-display window for display style adjustment, there will be a certain delay in the process of the sub-display window following the movement or following the adjustment of the window size, which will have a negative impact on the user experience.

[0061] In some embodiments of the present specification, in order to enable the display style of the sub-display window in the graphical user interface to change smoothly as the display style of the main display window in the graphical user interface changes, during the process of creating the sub-display window, the created sub-display window can be set as a sub-window of the main display window, so that the sub-display window is embedded in the main display window for display. In some embodiments, the sub-window (i.e., the sub-display window) is a window located within the parent window (i.e., the main display window). When the display position or display size of the parent window (i.e., the main display window) changes or is adjusted, the sub-window (i.e., the sub-display window) below it will also be adjusted accordingly to maintain the correct relative position. Since the creation of the sub-display window is in response to a preset interaction instruction received by the main display window, and the display content of the sub-display window also serves the display content of the main display window or expands and supplements the display content of the main display window, setting the sub-display window as a sub-window of the main display window and embedding it in the main display window for display can enable the sub-display window to make adaptive changes following the change of the display style of the main display window.

[0062] Figure 6 It is a schematic diagram showing a sub-display window embedded in a main display window according to some embodiments of the present specification. As Figure 6 shown, in the graphical user interface 600, there is a main display window 610 and a sub-display window 620, and the sub-display window 620 is embedded in the main display window 610 for display.

[0063] In some embodiments of the present specification, after the created sub-display window is set as a sub-window of the main display window, the sub-display window and the main display window can share the same window message queue. In some embodiments, the window message queue is a mechanism in the operating system for managing and delivering display window events. For each display window, there is a window message queue associated with it. When display window events occur, such as when a user inputs an operation instruction through a human-machine interface device, these display window events are encapsulated into messages and placed in the corresponding window message queue. Any changes in the display style of the main display window in the graphical user interface are placed in the window message queue shared with the sub-display window as display window events. The sub-display window can directly obtain the changes in the display style of the main display window through the shared window message queue. Compared with the solution of listening to the application program of the main display window provided in the foregoing embodiments, it can more directly obtain the changes in the display style of the main display window in the graphical user interface.

[0064] In some embodiments of the present specification, during the process of setting the created sub-display window as a sub-window of the main display window, the created sub-display window can be set as a sub-window of the main display window based on the window handle corresponding to the main display window, the window handle corresponding to the sub-display window, and a preset instruction. In some embodiments, in an operating environment of the Windows platform, the Setparent function can be used to set the created sub-display window as a sub-window of the main display window. Specifically, the following function expression can be used for setting: Setparent(second window handle, first window handle), where the second window handle is the window handle corresponding to the sub-display window, and the first window handle is the window handle corresponding to the main display window.

[0065] In some embodiments, a handle is an abstract reference used by an operating system or an application program to identify and manage a specific resource. It is usually an integer or a pointer used to represent an object or entity inside the system, such as a window, a file, a process, a thread, a device, etc. Interaction with the underlying objects or entities inside the system is carried out through the handle, without directly operating on the underlying data structure. In some embodiments, each display window corresponds to a unique window handle (Handle to Window, HWND). During the initialization configuration process of the window, a structure can be allocated to store the window attribute information of the initialization configuration, which can specifically include the window style of the display window, the window size of the display window, the window state of the display window, etc. The window handle can be mapped to its corresponding window information structure. In some embodiments, through the window handle, an application program can request to execute specific display window operations, such as drawing the display window, moving the display window, adjusting the window size of the display window, etc.

[0066] In some embodiments of the present specification, a window handle may correspond to one or more display window attribute information; the display window attribute information includes a combination of one or more of the window style of the display window, the window size of the display window, and the window state of the display window. In some embodiments, the window style is used to define the display appearance of the display window and the interactive behaviors allowed to be performed on the display window. For example, in the Windows operating system, the window style can be specified by a series of flags, and these flags can be combined to create windows with different display characteristics and interactive characteristics. For example, the window style may include WS_BORDER attribute information for adding a border without a title bar or system menu to the display window; the window style may also include WS_POPUP attribute information for creating a pop-up window without a title bar and border; the window style may also include WS_CHILD attribute information for specifying the display window as a child window of another display window, and the display window as a child window is displayed within the parent window. In some embodiments, the window state is used to characterize the current display status of the display window in the graphical user interface, which describes characteristics such as the display mode, display size, and / or display position of the display window in the graphical user interface and whether it is in an active state, etc., for example, it may include maximized display state (Maximized), minimized display state (Minimized), window restored display state (Restored), window active state (Active), window disabled state (Disabled), etc.

[0067] In some embodiments, the window handle corresponding to the main display window can be pre-obtained before creating the sub-display window. By obtaining the window handle corresponding to the main display window, the window message queue of the main display window can be monitored, and thus an active response to the creation of the sub-display window can be achieved when the main display window receives a preset interaction instruction.

[0068] In some embodiments, before setting the created sub-display window as a sub-window of the main display window based on the window handle corresponding to the main display window, the window handle corresponding to the sub-display window, and a preset instruction function, it is possible to perform a preliminary verification on the window handle corresponding to the main display window and the window handle corresponding to the sub-display window to determine whether the sub-display window can be used as a sub-window of the main display window. In some embodiments, the preliminary verification process may include determining whether the window handle corresponding to the main display window and the window handle corresponding to the sub-display window belong to legitimate window handles: if not, the sub-display window cannot be set as a sub-window of the main display window. In some embodiments, the preliminary verification process may include determining whether the window handle corresponding to the main display window and the window handle corresponding to the sub-display window are the same window handle: if so, the sub-display window cannot be set as a sub-window of the main display window. In some embodiments, the preliminary verification process may further determine, based on the window handle corresponding to the main display window and the window handle corresponding to the sub-display window, whether the rendering methods used by the main display window and the sub-display window are compatible: if not compatible, the sub-display window cannot be set as a sub-window of the main display window.

[0069] In some embodiments, after setting the created sub-display window as a sub-window of the main display window, it is also necessary to notify the parent-child relationship between the main display window and the sub-display window to other relevant display windows in the graphical user interface and the application programs corresponding to the main display window and the sub-display window respectively, so that the relevant display windows and relevant application programs can be aware of the establishment of the parent-child relationship between the main display window and the sub-display window and adaptively adjust the hierarchical relationship between other relevant display windows and the main display window and the sub-display window.

[0070] Based on the relevant descriptions of the foregoing embodiments, during the process of embedding the sub-display window in the main display window for display, the display style of the sub-display window can be modified to enable the sub-display window to obtain a better embedding display effect. In some embodiments of this specification, the sub-display window may include a background area and at least one display area; during the process of creating at least one sub-display window, it may include setting the background area to a transparent display effect; and / or modifying the window style of the sub-display window so that the sub-display window is displayed in the graphical user interface in the style of a borderless window.

[0071] Figure 7 is an exemplary structural diagram of a sub-display window shown in some embodiments of this specification. As Figure 7 shown, in the graphical user interface 700, the sub-display window 720 includes a background area 721 and a display area 722, and the sub-display window 720 is embedded in the main display window 710 for display. As Figure 7 shown, different from the foregoing as Figure 6The sub-display window 620 and the sub-display window 720 are displayed in the form of a borderless window in the graphical user interface, that is, the title bar at the top of the window and icons such as maximize, minimize, and close window are not displayed. With the above design, the sub-display window embedded in the display can be integrated into the display content presentation area of the main display window in terms of display effect, obtaining a better embedded display effect.

[0072] In some embodiments, the sub-display window is configured as a sub-window of the main display window and is embedded in the main display window for display. The window size of the sub-display window is less than or equal to the window size of the main display window, and the display area of the sub-display window in the graphical user interface is located inside the display area of the main display window in the graphical user interface, thereby achieving the display effect of the sub-display window being embedded in the main display window. In some embodiments, as Figures 6 to 8 shown, the window size of the sub-display window can be set to be less than the window size of the main display window; in order to ensure that the display effect of the sub-display window relative to the main display window remains unchanged when the display style of the main display window changes, it is necessary to dynamically adjust the display style change effect of the sub-display window according to the degree of change in the display style of the main display window. For example, in some embodiments, taking the initial window size of the main display window as a rectangle with a length of 10 cm and a width of 5 cm, and the initial window size of the sub-display window as a rectangle with a length of 1 cm and a width of 0.5 cm, when the window size in the display style of the main display window changes and is adjusted to a rectangle with a length of 20 cm and a width of 10 cm, in order to ensure that the display effect of the sub-display window relative to the main display window remains unchanged, according to the change that both the length and width of the main display window have doubled compared to the initial window size, the window size of the sub-display window is adjusted to a rectangle with a length of 2 cm and a width of 1 cm. In some embodiments, taking the initial coordinates of the upper left vertex of the main display window in the plane coordinate system corresponding to the graphical user interface as (1, 10), and the initial coordinates of the upper left vertex of the sub-display window in the plane coordinate system corresponding to the graphical user interface as (2, 8) as an example, when the upper left vertex of the main display window moves to (2, 15), in order to ensure that the display effect of the sub-display window relative to the main display window remains unchanged, according to the change that the main display window has moved 1 unit horizontally and 5 units vertically in the plane coordinate system corresponding to the graphical user interface, the upper left vertex of the sub-display window is moved to the position of (3, 13) in the plane coordinate system corresponding to the graphical user interface. In some embodiments, when the window size of the main display window and the position of the main display window in the graphical user interface change simultaneously, the target window size and target window position that the sub-display window needs to change are obtained in a similar manner.

[0073] To further simplify the adjustment process for the sub-display window, in some embodiments of this specification, the window size of the sub-display window can be set to be the same as that of the main display window, and at the same time, the display position of the sub-display window in the graphical user interface can be set to overlap with the display position of the main display window in the graphical user interface. When the display style of the main display window changes, only the same parameters need to be obtained and used to adjust the size and position of the sub-display window, so as to achieve the effect that the display effect of the sub-display window remains unchanged relative to the main display window. For example, in some embodiments, the initial window size of the sub-display window can be set to be the same as that of the main display window. When the window size of the main display window changes, the window size of the sub-display window can be adaptively modified directly according to the changed window size of the main display window. In some further embodiments, the display position of the sub-display window in the graphical user interface can be set to overlap with the display position of the main display window in the graphical user interface, that is, each vertex of the sub-display window overlaps with each vertex of the main display window. When the display position of the main display window in the graphical user interface changes, the display position of the sub-display window can be adaptively modified directly according to the changed display position of the main display window.

[0074] Figure 8 is a schematic diagram showing another sub-display window embedded in the main display window according to some embodiments of this specification. As Figure 8 shown, in the graphical user interface 800, it includes a main display window 810 and a sub-display window 820, where the sub-display window 820 adopts the style of a borderless window; the sub-display window 820 includes a background area 821 and a display area 822, where the covered area of the background area 821 is Figure 8 the shaded part shown in Figure 8 shown. As

[0075] shown, the window sizes of the sub-display window 820 and the main display window 810 are the same, and the display position of the sub-display window 820 in the graphical user interface 800 is set to overlap with the display position of the main display window 810 in the graphical user interface 800. With the above settings, when the display style of the main display window 810 changes, the changed display style parameters of the main display window 810 can be obtained from the window message queue, and the display style of the sub-display window 820 can be directly and adaptively changed without further conversion process, improving the smoothness of the sub-display window 820 during the process of following the change of the display style.

[0075] In some embodiments, before the sub-display window is set as a sub-window of the main display window, all window messages received in the window message queue corresponding to the main display window are passed to the main display window for response; after the created sub-display window is set as a sub-window of the main display window, since the sub-display window and the main display window share the same window message queue, the window messages received in the window message queue may need to be responded to by the main display window or may need to be responded to by the sub-display window. To enable both the sub-display window and the main display window to smoothly receive interaction instructions belonging to themselves, the transmission path of the window messages in the window message queue can be adjusted. For example, the window messages received by the window message queue can be first passed to the sub-display window to determine whether the window message needs to be responded to by the sub-display window: if so, it is displayed by the sub-display window; if not, the window message is further passed to the main display window and responded to by the main display window, so that both the sub-display window and the main display window can smoothly receive interaction instructions belonging to themselves.

[0076] In some embodiments of this specification, the sub-display window may include a background area and at least one display area; after the created sub-display window is set as a sub-window of the main display window, based on the window message queue, it can be determined whether the window message in the window message queue comes from an interaction instruction received in the display area of the sub-display window: if so, the sub-display window responds to the window message; if not, the main display window responds to the window message. In some embodiments, the window message in the window message queue includes the position information of the window message received in the graphical user interface. Through the above position information, it can be determined whether the window message comes from an interaction instruction received in the display area of the sub-display window. Since the display area of the sub-display window covers a part of the display area of the main display window, if the window message comes from an interaction instruction received in the display area of the sub-display window, it means that the interaction instruction is provided by the user to the sub-display window, and the sub-display window can intercept and respond to the window message.

[0077] In some embodiments, a single sub-display window can have multiple display areas, and the multiple display areas can partially overlap. To ensure that each display area can receive interaction instructions belonging to itself, in some embodiments, the area message levels of each display area can be set, and when there are overlapping parts in the display areas, the display area with a higher area message level is selected to respond to the window message in the order from high to low of the area message levels.

[0078] Figure 9 is a schematic diagram of a sub-display window including multiple display areas shown in some embodiments of this specification, such as Figure 9As shown, the graphical user interface 900 includes a main display window 910 and a sub-display window 920 embedded in the main display window 910. The sub-display window 920 includes a background area 921 and three display areas 9221, 9222, and 9223. There is a partial overlapping area between the display area 9221 and the display area 9223, and the area message level of the display area 9223 is higher than that of the display area 9221. When a new window message appears in the shared window message queue, it can first be determined whether the window message in the window message queue comes from an interaction instruction received by the display area in the sub-display window: If so, it is further determined whether the window message comes from an interaction instruction received by the overlapping area between the display area 9221 and the display area 9223 in the sub-display window: If so, the display area 9223 with a relatively higher area message level in the sub-display window responds to the window message; if not, the display area that receives the interaction instruction in the sub-display window responds to the window message.

[0079] In some embodiments, a single main display window can also be configured with multiple sub-display windows, and these sub-display windows and the main display window can share the same window message queue. To ensure that each sub-display window and the main display window can receive their own interaction instructions, regardless of whether there is an overlapping area among these sub-display windows in the display area of the main display window, a window message level can be configured for each sub-display window. When a new window message is received in the window message queue, the window message can be sequentially passed to each sub-display window in descending order of the window message level, and each sub-display window determines whether the window message needs to be responded to by itself: If so, the sub-display window responds to the window message by itself; if not, the window message is passed to the sub-display window or the main display window corresponding to the next window message level, thereby realizing the adjustment of the window message transmission path. In some embodiments, the window message levels of the sub-display windows can all be higher than the window message level of the main display window. In some embodiments, the window message level of the sub-display window can be set according to the creation time of the sub-display window. The later the creation time of the sub-display window, the higher the window message level of the sub-display window can be, and vice versa. In some embodiments, during the process of determining whether the window message belongs to itself, it can be determined whether the window message comes from an interaction instruction received by its own display area: If so, it responds to the window message by itself; if not, it does not respond to the window message by itself and passes the window message to the sub-display window or the main display window corresponding to the next window message level for further determination.

[0080] Figure 10 It is a schematic diagram of a main display window including multiple sub-display windows shown according to some embodiments of this specification. As Figure 10As shown in the figure, the graphical user interface 1000 includes a main display window 1010, a first sub-display window 1020 and a second sub-display window 1030 embedded in the main display window 1010. The window message level of the second sub-display window 1030 is higher than that of the first sub-display window 1020. When a new window message appears in the shared window message queue, the second sub-display window 1030 first determines whether the window message comes from an interaction instruction received in its own display area. If so, the second sub-display window 1030 responds to the window message. If not, the first sub-display window 1020 continues to determine whether the window message comes from an interaction instruction received in its own display area. If so, the first sub-display window 1020 responds to the window message. If not, the main display window 1010 responds to the window message, thus realizing the hierarchical judgment and transmission of window messages in the window message queue.

[0081] Based on the relevant descriptions of the foregoing embodiments, by sharing the window message queue of the sub-display window and the main display window, the sub-display window can directly learn about the changes in the display style of the main display window and make adaptive display style changes, optimizing the fluency of the sub-display window following the changes of the main display window. However, when an abnormal situation such as window message jamming occurs in the shared window message queue of the sub-display window, it will also cause abnormal situations such as the main display window being unable to be normally rendered, affecting the normal display and human-computer interaction of the main display window. For example, in the Figures 6 to 8 embodiment shown in the figure, the main display window can be used to display game screens, and the sub-display window can be used to display game auxiliary prompt interfaces. Users can obtain more prompt information and / or reference information during the game operation through the game auxiliary prompt interface, thus obtaining a better game experience. However, when an abnormal failure occurs in the application corresponding to the game auxiliary prompt interface, it may cause situations such as window message jamming in the window message queue corresponding to the game auxiliary prompt interface. Since the main display and the sub-display window share the same window message queue, the occurrence of the above abnormal failure will also affect the main display window, that is, the normal display of the game operation interface and the realization of the human-computer interaction function. For users, if they are unable to perform normal game operations through the game operation interface due to abnormal situations such as jamming of the game auxiliary prompt interface, it will have a negative impact on the user's game experience.

[0082] In order to ensure that the display effect of the main display window and the human-computer interaction function are not affected during the user's use, in some embodiments of this specification, it can be set that when an abnormal situation occurs in the window message corresponding to the sub-display window, the application program corresponding to the sub-display window is terminated, and the display of the sub-display window in the graphical user interface is cancelled. In some embodiments, when the sub-display window is in the normal display state, the application program corresponding to the sub-display window can regularly send heartbeat messages to the window message queue. By listening to the above heartbeat messages, it can be judged whether an abnormal situation occurs in the window message corresponding to the sub-display window: if the heartbeat messages cannot be listened to within the predetermined time for multiple consecutive times, it can be judged that an abnormal situation occurs in the window message corresponding to the sub-display window. In some embodiments, when an abnormal situation occurs, the application program corresponding to the sub-display window can be terminated in time, and the display of the sub-display window in the graphical user interface can be cancelled, preventing the abnormality of the sub-display window from affecting the normal display and interaction implementation of the main display window.

[0083] Based on the relevant descriptions of the foregoing embodiments of this specification, the creation of the sub-display window can be realized and the sub-display window can be embedded and displayed as a sub-window of the main display window. The following will further describe the implementation method for keeping the display effect of the sub-display window unchanged relative to the main display window.

[0084] In some embodiments of this specification, in the process of synchronously adjusting the display style of the sub-display window in the graphical user interface to keep the display effect of the sub-display window unchanged relative to the main display window, the window message corresponding to the change in the display style of the main display window in the graphical user interface can be obtained first; then, the display style of the sub-display window can be adjusted according to the window message to keep the display effect of the sub-display window unchanged relative to the main display window. In some embodiments, when the sub-display window is embedded and displayed as a sub-window of the main display window, the sub-display window and the main display window share the same window message queue. The sub-display window can obtain the window message corresponding to the change in the display style of the main display window in the graphical user interface based on the shared window message queue, and adjust the display style of the sub-display window according to the obtained window message to keep the display effect of the sub-display window unchanged relative to the main display window. The adjustment method of the sub-display window has been specifically described in the foregoing embodiments and will not be elaborated here.

[0085] Figure 11 is a schematic diagram of synchronously adjusting the display style of the sub-display window in the graphical user interface according to some embodiments of this specification. As Figure 11 shown, in the graphical user interface 1100, the starting position of the main display window is at the dotted box 1111, and the main display window after expanding the size and moving the main display window is at the solid box 1112; the starting position of the sub-display window is at the dotted box 1121, and inFigure 11 is schematically shown as the grid - shaded part. After the display style of the main display window changes, the sub - display window is located at the solid - line frame 1122. In Figure 11 it is schematically shown as the slant - shaded part. As Figure 11 shown, the sub - display window is embedded in the main display window for display, and the window size of the sub - display window is the same as that of the main display window. When obtaining the display - style parameter of the main display window changing from 1111 to 1112 from the window message queue, the display style of the sub - display window 1121 can be directly adjusted adaptively to obtain the display style of the sub - display window 1122.

[0086] In some embodiments of this specification, the sub - display window may include a background area and at least one display area. In the process of synchronously adjusting the display style of the sub - display window in the graphical user interface to keep the display effect of the sub - display window relative to the main display window unchanged, the display style of the sub - display window in the graphical user interface can be adjusted so that the shape of the display area in the sub - display window and the area ratio of the display area in the main display window remain unchanged; and the display position of the sub - display window in the graphical user interface can be adjusted so that the relative position of the display area in the sub - display window in the main display window remains unchanged. For the sub - display window, since the background area is configured to be transparent, only the display of the display area can be viewed in the graphical user interface from the user's perception level. Therefore, by adjusting the display area of the sub - display window, the display area of the sub - display window can be sized and / or positioned in the same or the same proportion as the change in the display style of the main display window, so as to achieve the adjustment of the display style of the sub - display window.

[0087] Figure 12 is a schematic diagram of another method for synchronously adjusting the display style of the sub - display window in the graphical user interface according to some embodiments of this specification. As Figure 12 shown, in the graphical user interface 1200, the starting position of the main display window is located at the dotted - line frame 1211, and after expanding the size of the main display window and moving the main display window, the main display window is located at the solid - line frame 1212; the starting position of the sub - display window is located at the dotted - line frame 1221, and after the sub - display window follows the change in the display style of the main display window, the sub - display window is located at the solid - line frame 1222; the sub - display window includes a display area, and the starting position of the display area is located at 1231, and after following the change in the display style of the main display window, the display area is located at 1232. As Figure 12 shown, the shape of the changed display area 1232 remains unchanged, the area ratio in the main display window 1212 remains unchanged, and the relative position in the main display window 1212 remains unchanged. By only adjusting the display area, the synchronous follow - up change of the display style of the sub - display window can also be achieved.

[0088] Some embodiments of this specification also provide a window display control system. Figure 13 It is an exemplary module diagram of a window display control system shown in some embodiments of this specification. The window display control system 1300 can provide a graphical user interface through a terminal device, and one or more main display windows can be displayed in the graphical user interface. As Figure 13 shown, the system 1300 can include a sub-window creation module 1310 and a sub-window adjustment module 1320.

[0089] The sub-window creation module 1310 is configured to create at least one sub-display window in response to a preset interaction instruction received by the main display window, wherein the display style of the sub-display window in the graphical user interface changes with the change of the display style of the main display window in the graphical user interface.

[0090] The sub-window adjustment module 1320 is configured to synchronously adjust the display style of the sub-display window in the graphical user interface in response to a change in the display style of the main display window in the graphical user interface, so that the display effect of the sub-display window relative to the main display window remains unchanged.

[0091] In some embodiments, the sub-window creation module 1310 is further configured to set the created sub-display window as a sub-window of the main display window, so that the sub-display window is embedded in the main display window for display. In some embodiments, the sub-window creation module 1310 is further configured to set the created sub-display window as a sub-window of the main display window based on the window handle corresponding to the main display window, the window handle corresponding to the sub-display window, and a preset instruction.

[0092] In some embodiments, the sub-display window includes a background area and at least one display area; the sub-window creation module 1310 is further configured to set the background area to a transparent display effect; and / or modify the window style of the sub-display window, so that the sub-display window is displayed in a borderless window style in the graphical user interface.

[0093] In some embodiments, the sub-display window includes a background area and at least one display area; as Figure 13 shown, the window display control system 1300 can further include a window message passing module 1330, configured to determine whether a window message in the window message queue comes from an interaction instruction received by the display area in the sub-display window based on the window message queue: if so, the sub-display window responds to the window message; if not, the main display window responds to the window message.

[0094] In some embodiments, the window display control system 1300 may further include a sub-window monitoring module 1340, which is configured to terminate the application corresponding to the sub-display window and cancel the display of the sub-display window in the graphical user interface when an abnormal situation occurs in the window message corresponding to the sub-display window.

[0095] In some embodiments, the sub-window adjustment module 1320 is further configured to obtain the window message corresponding to the change in the display style of the main display window in the graphical user interface, and adjust the display style of the sub-display window according to the window message, so that the display effect of the sub-display window relative to the main display window remains unchanged.

[0096] In some embodiments, the sub-display window includes a background area and at least one display area; the sub-window adjustment module 1320 is further configured to adjust the display style of the sub-display window in the graphical user interface, so that the shape of the display area in the sub-display window and the area ratio of the display area in the main display window remain unchanged; and adjust the display position of the sub-display window in the graphical user interface, so that the relative position of the display area in the sub-display window in the main display window remains unchanged.

[0097] For more information about each module, reference can be made to Figures 2 to 12 the relevant description, which will not be elaborated here. It should be understood that Figure 13 The system and its modules shown can be implemented in various ways. For example, in some embodiments, the system and its modules can be implemented by hardware, software, or a combination of software and hardware. Among them, the hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated designed hardware. Those skilled in the art can understand that the above methods and systems can be implemented using computer-executable instructions and / or control codes included in a processor. For example, such codes are provided in a carrier medium such as a disk, CD, or DVD-ROM, or in the memory of a programmable device. The system and its modules of this specification can be implemented not only by hardware circuits such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips and transistors, or programmable hardware devices such as field programmable gate arrays and programmable logic devices, but also by software executed by various types of processors, or by a combination of the above hardware circuits and software (e.g., firmware).

[0098] It should be noted that the above description of the system and its modules is only for convenience of description and does not limit this specification within the scope of the examples given. It can be understood that for those skilled in the art, after understanding the principle of the system, they may, without departing from this principle, arbitrarily combine each module to form a subsystem connected to other modules. Or split some modules to obtain more modules or multiple units under this module. Such deformations are all within the scope disclosed in this specification.

[0099] In some embodiments provided in this specification, a computer program product is also provided, including computer instructions or a computer program. When at least part of the computer instructions or the computer program is executed by a processor, it can implement the window display control method provided in the foregoing embodiments of this specification.

[0100] In some embodiments, the above-mentioned processor may be a combination of one or more of the following processors: central processing unit (CPU), application specific integrated circuit (ASIC), application specific instruction set processor (ASIP), graphics processing unit (GPU), physics processing unit (PPU), digital signal processor (DSP), field programmable gate array (FPGA), programmable logic device (PLD), programmable logic controller (PLC), reduced instruction set computer (RISC), microprocessor.

[0101] The beneficial effects that the embodiments of this specification may bring include but are not limited to: (1) By making the created sub-display window a sub-window of the main display window, the sub-display window can smoothly follow the change of the display style of the main display window and make synchronous changes, improving the user's window viewing and usage experience. (2) By sharing the same window message queue between the sub-display window and the main display window, the sub-display window can perceive the change of the display style of the main display window without delay and make adaptive changes. (3) During the process of creating the sub-display window, the sub-display window is set without a border and with a transparent background, realizing the seamless embedded display of the sub-display window and improving the embedded display effect of the sub-display window. (4) Adjust the transmission order of window messages in the window message queue so that both the sub-display window and the main display window can successfully receive the interaction instructions belonging to themselves. (5) When an abnormality occurs in the sub-display window, the display of the sub-display window is actively cancelled to avoid affecting the display of the main display window. It should be noted that different embodiments may produce different beneficial effects. In different embodiments, the beneficial effects that may be produced may be any one or several combinations of the above, or any other beneficial effects that may be obtained.

[0102] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only an example and does not constitute a limitation to this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements, and corrections to this specification. Such modifications, improvements, and corrections are taught in this specification, so such modifications, improvements, and corrections still fall within the spirit and scope of the exemplary embodiments of this specification.

Claims

1. A window display control method, characterized in that: Providing a graphical user interface through a terminal device, wherein one or more main display windows are displayed in the graphical user interface; the method comprises: In response to a preset interaction instruction received by the main display window, at least one sub-display window is created, wherein a display style of the sub-display window in the graphical user interface changes as a display style of the main display window in the graphical user interface changes; In response to a change in the display style of the main display window in the graphical user interface, the display style of the sub-display window in the graphical user interface is synchronously adjusted so that the display effect of the sub-display window relative to the main display window remains unchanged.

2. The method according to claim 1, characterized in that The step of creating at least one sub-display window in response to a preset interaction instruction received by the main display window comprises: The created sub-display window is set as a sub-window of the main display window, so that the sub-display window is embedded in the main display window for display.

3. The method according to claim 2, characterized in that The step of setting the created sub-display window as a sub-window of the main display window comprises: Based on the window handle corresponding to the main display window, the window handle corresponding to the sub-display window and a preset instruction, the created sub-display window is set as a sub-window of the main display window.

4. The method according to claim 3, characterized in that The window handle corresponds to one or more display window attribute information; The display window attribute information includes one or more combinations of a window style of the display window, a window size of the display window, and a window state of the display window.

5. The method according to claim 2 or 3, characterized in that: The sub-display window and the main display window share the same window message queue.

6. The method according to claim 5, characterized in that The sub-display window includes a background area and at least one display area; After setting the created sub-display window as a sub-window of the main display window, the method further includes: Based on the window message queue, determine whether the window message in the window message queue comes from the interaction instruction received by the display area in the sub-display window: if so, the sub-display window responds to the window message; if not, the main display window responds to the window message.

7. The method according to claim 5, characterized in that The method further comprises: When an abnormal situation occurs in the window message corresponding to the sub-display window, the application corresponding to the sub-display window is terminated, and the display of the sub-display window in the graphical user interface is canceled.

8. The method according to claim 2, characterized in that: The sub-display window includes a background area and at least one display area; The step of creating at least one sub-display window in response to a preset interaction instruction received by the main display window comprises: Setting the background area to a transparent display effect; and / or The window style of the sub-display window is modified so that the sub-display window is displayed in the graphical user interface in the style of a borderless window.

9. The method according to claim 2, characterized in that: The window size of the sub-display window is the same as the window size of the main display window; and A display position of the sub-display window in the graphical user interface overlaps with a display position of the main display window in the graphical user interface.

10. The method according to claim 1, characterized in that The change in the display style of the main display window in the graphical user interface includes moving the position of the main display window in the graphical user interface and / or adjusting the window size of the main display window in the graphical user interface.

11. The method according to claim 1 or 10, characterized in that: The synchronously adjusting the display style of the sub-display window in the graphical user interface so that the display effect of the sub-display window relative to the main display window remains unchanged includes: Obtaining a window message corresponding to a change in display style of the main display window in the graphical user interface; The display style of the sub-display window is adjusted according to the window message, so that the display effect of the sub-display window relative to the main display window remains unchanged.

12. The method according to claim 1 or 10, characterized in that: The sub-display window includes a background area and at least one display area; The synchronously adjusting the display style of the sub-display window in the graphical user interface so that the display effect of the sub-display window relative to the main display window remains unchanged includes: Adjusting the display style of the sub-display window in the graphical user interface so that the shape of the display area in the sub-display window and the area ratio of the display area in the main display window remain unchanged; and The display position of the sub-display window in the graphical user interface is adjusted so that the relative position of the display area in the sub-display window in the main display window remains unchanged.

13. A window display control system, characterized in that: A graphical user interface is provided through a terminal device, wherein one or more main display windows are displayed in the graphical user interface; the system comprises: a sub-window creation module, configured to create at least one sub-display window in response to a preset interaction instruction received by the main display window, wherein a display style of the sub-display window in the graphical user interface changes as a display style of the main display window in the graphical user interface changes; The sub-window adjustment module is used to synchronously adjust the display style of the sub-display window in the graphical user interface in response to the display style change of the main display window in the graphical user interface, so that the display effect of the sub-display window relative to the main display window remains unchanged.

14. A computer program product, comprising computer instructions or a computer program, wherein when at least part of the computer instructions or the computer program is executed by a processor, the window display control method according to any one of claims 1 to 12 can be implemented.