A method, device and electronic device for controlling multi-screen display
By determining the display mode of desktop application and desktop background of electronic devices, and setting appropriate display parameters, the problems of wasted hardware resources and confusing display sequence in multi-screen display technology are solved, and efficient multi-screen splicing and display sequence adjustment are achieved, reducing costs and improving the applicability of the technology.
Patent Information
- Application Number
- CN202411814108.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-04-04
AI Technical Summary
The existing multi-screen display technology has problems such as wasted hardware resources and confusing display sequence. Especially when it does not rely on a specific multi-output interface graphics card, it is difficult to achieve efficient multi-screen splicing and display sequence adjustment.
By determining the display modes of the desktop application and desktop background of the electronic device, and obtaining the matching results of multiple monitors with these modes, setting appropriate display parameters, the effective splicing and display order adjustment of multiple monitors is achieved.
It realizes efficient control of multi-screen display, avoids waste of hardware resources, reduces overall costs, and improves the applicability and popularity of technology.
Smart Images

Figure CN119759304A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and device for controlling a multi-screen display, and an electronic device. Background Art
[0002] With the continuous development of computer technology, users need to deal with more and more information input scenarios when using computers. These scenarios usually require multiple monitors to display information, and are also accompanied by frequent scene switching requirements. In this case, large-screen splicing technology came into being, which can splice multiple monitors into a large screen for video playback, advertising, conference presentations and other applications. However, the current solutions to achieve these needs still have some limitations and special requirements, such as waste of hardware resources and chaotic display order. Summary of the invention
[0003] The purpose of the embodiment of the present application is to provide a multi-screen display control method, including:
[0004] Determining a first display mode of a desktop application of an electronic device, a second display mode of a desktop background, and a plurality of displays, wherein the plurality of displays are connected to the electronic device;
[0005] Obtaining matching results between the multiple displays and the first display mode;
[0006] When it is determined that the matching result is a match, obtaining first setting parameters of the plurality of displays;
[0007] Based on the first setting parameters, setting second setting parameters corresponding to the multiple displays in the first display mode;
[0008] Based on the second setting parameter, the multiple displays display the interface content of the desktop application and the desktop background.
[0009] As an optional embodiment, the method further includes:
[0010] Acquire a correspondence between the plurality of displays and output interfaces of the electronic device;
[0011] Obtaining display sequence numbers of the multiple displays, wherein the display sequence numbers are composed of the labels of the multiple displays in a display order;
[0012] Based on the display sequence number, the correspondence between the multiple displays and the output interface is adjusted.
[0013] As an optional embodiment, obtaining the matching results between the multiple displays and the first display mode includes:
[0014] labeling the plurality of displays;
[0015] The plurality of displays are matched according to the display quantity and display layout of the first display mode.
[0016] As an optional embodiment, the method further includes:
[0017] In the case where it is determined that the matching result is not a match, marking the redundant displays based on the labels;
[0018] Or, when it is determined that the matching result is not a match, the first display mode of the desktop application is redetermined.
[0019] As an optional embodiment, the method further includes:
[0020] When it is determined that the first display mode matches the multiple displays, the independent graphics card of the electronic device is set as the primary display adapter and the integrated graphics card is set as the secondary display adapter.
[0021] As an optional embodiment, the method further includes:
[0022] The position of a main display is determined from the multiple displays, wherein the main display is used to display desktop icons and a system taskbar of the electronic device.
[0023] As an optional embodiment, the method further includes:
[0024] When the second setting parameter corresponding to the first display mode is set, a third display mode of the desktop background is determined, wherein the second display mode and the third display mode are different display modes.
[0025] As an optional embodiment, the method further includes:
[0026] storing the second setting parameter;
[0027] When the electronic device is woken up or started again, the multiple display screens display the interface content of the desktop application and the desktop background based on the second setting parameters.
[0028] The purpose of the embodiment of the present application is to provide a control device for multi-screen display, including:
[0029] a determining unit configured to determine a first display mode of a desktop application of an electronic device, a second display mode of a desktop background, and a plurality of displays, wherein the plurality of displays are connected to the electronic device;
[0030] A first acquisition unit, configured to acquire matching results between the plurality of displays and the first display mode;
[0031] A second acquisition unit, configured to acquire first setting parameters of the plurality of displays when it is determined that the matching result is a match;
[0032] a setting unit configured to set second setting parameters corresponding to the plurality of displays in the first display mode based on the first setting parameters;
[0033] The display unit is configured to display the interface content of the desktop application and the desktop background on the multiple displays based on the second setting parameter.
[0034] An embodiment of the present application aims to provide an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the aforementioned method when executing the computer program.
[0035] The beneficial effects of the embodiments of the present application are:
[0036] This application achieves large-screen splicing through an innovative method, avoiding the waste of hardware resources. Users can make better use of existing integrated graphics cards and independent graphics cards, without the need for large-scale hardware upgrades, reducing overall costs. It does not rely on expensive, specific multi-output interface graphics cards that may be incompatible with users' existing hardware resources, saving users hardware procurement costs and improving the applicability and popularity of the technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 The process of the control method of the embodiment of the present application is Figure 1 ;
[0038] Figure 2 This is a flow chart of step S2 of the control method of an embodiment of the present application;
[0039] Figure 3 This is a flow chart of step S12 of the control method of an embodiment of the present application;
[0040] Figure 4 is a structural block diagram of a control device according to an embodiment of the present application;
[0041] Figure 5 The process of the control method of the embodiment of the present application is Figure 2 ;
[0042] Figure 6 A schematic diagram of a multi-screen desktop background displayed in a splicing mode according to an embodiment of the present application;
[0043] Figure 7 A schematic diagram of a multi-screen desktop background displayed in an extended mode according to an embodiment of the present application;
[0044] Figure 8 This is a schematic diagram of a 2*2 splicing mode of an embodiment of the present application;
[0045] Fig. 9 This is a schematic diagram of a 1*3 splicing mode of an embodiment of the present application;
[0046] Fig.10 The process of the control method of the embodiment of the present application is Figure 3 . DETAILED DESCRIPTION
[0047] Various aspects and features of the present application are described herein with reference to the accompanying drawings.
[0048] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.
[0049] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0050] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.
[0051] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art will be able to readily implement many other equivalent forms of the present application.
[0052] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
[0053] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.
[0054] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.
[0055] Large screen splicing technology is a technology that combines multiple independent display screens into a larger, continuous, high-resolution display screen. At present, some splicing solutions rely on specific graphics cards, such as graphics cards that support multiple output interfaces. These graphics cards are often expensive and may not be compatible with the user's existing hardware resources, resulting in a waste of hardware resources and even the need to purchase additional equipment to meet the needs.
[0056] Alternatively, if you use an integrated graphics card (integrated graphics) and a discrete graphics card (discrete graphics) dual GPU solution to achieve splicing, the current operating system does not provide an interface that supports the splicing function. The integrated graphics card and the discrete graphics card are each independently driven, lacking an effective display synchronization mechanism, resulting in the inability to achieve reasonable image distribution and splicing through the driver layer.
[0057] In addition, when users connect multiple monitors through the built-in graphics interface and external graphics interface of a single PC, they often encounter the problem of confusing monitor connections. Especially in places such as conference rooms or computer rooms, display cables are usually pre-arranged, or after users connect the monitors on the desktop, it is difficult to know which interface each cable corresponds to, and confusion often occurs despite the labels. Especially when the number of connected monitors increases, even if the cables are laid with open wires, it is still easy to get the connection order wrong because the cable models are the same. In this way, users often need to spend a lot of time and energy to adjust the order of the monitors to ensure that each monitor displays the corresponding content correctly.
[0058] According to the above content, a method for controlling multi-screen display in an embodiment of the present application is as follows: Figure 1 As shown, including:
[0059] S11. Determine a first display mode of a desktop application of an electronic device, a second display mode of a desktop background, and a plurality of displays, wherein the plurality of displays are connected to the electronic device.
[0060] In this embodiment, the multiple displays refer to two or more display devices connected to an electronic device (such as a computer).
[0061] The first display mode refers to the display mode of desktop applications, including the number of monitors and the layout of monitors, such as Figure 8 and Fig. 9 As shown, for example 1x2 (one row and two columns), 1x3, 1x4, 2x2, allowing users to combine multiple displays together to form a larger display area.
[0062] The secondary display mode refers to the display method of the desktop background, including:
[0063] Extended mode: In this mode, multiple monitors connected to the computer are treated as a whole extended display area instead of simply duplicating the same content. Each monitor has its own independent display space and can display different application windows, documents, images, or videos.
[0064] Spanning mode (stitching mode): In this mode, multiple displays are spliced together to form a larger continuous display area. The system desktop background will be presented as a whole image on the entire spliced large screen, like a huge scroll. The borders between the displays are minimized to achieve a seamless visual effect.
[0065] Clone mode: In this mode, multiple monitors will display exactly the same content. It is usually used in scenarios such as demonstrations and teaching to ensure that audiences in different locations can see the same picture. For example, when giving a speech in a conference room, the speaker can operate through the monitor in front of him, while the audience can see the same content through other monitors.
[0066] Computer screen only mode: Only the main monitor (usually the display screen that comes with the computer) is used for display, and other connected monitors do not display any content.
[0067] Second screen only mode: Only one external monitor displays content, while the computer's own display does not display content. For example, after connecting a larger external monitor, you can select this mode if you want to focus on the large screen for work or entertainment.
[0068] S12: Obtain matching results between the multiple displays and the first display mode.
[0069] In this embodiment, it is necessary to determine whether the configurations of the currently connected multiple displays conform to a specific first display mode. The matching result refers to the result of checking whether the multiple displays support the first display mode.
[0070] Different first display modes specify specific display quantity requirements, for example, 1x2 mode requires two displays, 1x3 mode requires three displays, 1x4 mode requires four displays, and 2x2 mode requires four displays arranged in a two-row, two-column layout.
[0071] In addition to the number, different first display modes also have specific layout requirements. For example, 1x2 is a layout of one row and two columns, 1x3 is a layout of one row and three columns, 1x4 is a layout of one row and four columns, and 2x2 is a layout of two rows and two columns.
[0072] Therefore, the system needs to detect whether the number of currently connected displays is consistent with the number required by the desired first display mode. The system also needs to determine whether the arrangement of the actually connected displays in physical space is consistent with the layout specified by the first display mode.
[0073] S13: When it is determined that the matching result is a match, obtain first setting parameters of the multiple displays.
[0074] In this embodiment, based on the comparison result, the system obtains the matching result of the multiple displays with the first display mode. If the number and layout of the displays are completely consistent with the first display mode, then the matching result is successful, indicating that the display setting can be performed according to the display mode.
[0075] If there is a mismatch, such as an insufficient number of displays, a layout that does not meet the requirements, etc., the matching result is a failure, and the system may prompt the user that the first display mode cannot be adopted, or provide adjustment suggestions to achieve matching.
[0076] The first setting parameters refer to parameters that need to be configured for the multiple displays in the first display mode, such as resolution, refresh rate, etc.
[0077] S14. Based on the first setting parameters, set second setting parameters corresponding to the multiple displays in the first display mode.
[0078] In this embodiment, the second setting parameters refer to parameters that need to be configured for the multiple displays in the first display mode, and are usually associated with the first setting parameters.
[0079] like Fig. 9 As shown in the figure, in 1x3 splicing mode, assuming that the optimal resolution of each individual display is 1920×1080. Then, there are three displays spliced together in the horizontal direction. The number of horizontal pixels of each display is 1920, so the total number of horizontal pixels of the three displays after splicing is 3×1920=5760. The number of pixels in the vertical direction remains the same as that of a single display, which is 1080.
[0080] Therefore, the resolution after stitching is 5760×1080, which is the resolution with the maximum number of horizontal pixels, which is 3 times the public optimal resolution in the horizontal direction.
[0081] For example, when users are doing graphic design work, they can spread the interface of the design software over the entire large screen after splicing. Multiple tool panels and image editing areas can be placed horizontally at the same time, greatly improving the work space and efficiency.
[0082] like Figure 8As shown, in 2x2 stitching mode, it is also assumed that the optimal resolution of each individual display is 1920×1080. Two displays are stitched in both horizontal and vertical directions. In the horizontal direction, the sum of the horizontal pixel counts of the two displays is 2×1920=3840. In the vertical direction, the sum of the vertical pixel counts of the two displays is 2×1080=2160.
[0083] Therefore, the resolution after stitching is 3840×2160, that is, the horizontal and vertical pixel numbers are twice the common optimal resolution, which is the maximized resolution.
[0084] For example, in the game scene, players can get a wider field of view and the game screen is more shocking. At the same time, the game map, character status and other information can be displayed in different areas to enhance the gaming experience.
[0085] S15. Based on the second setting parameters, the multiple displays display interface content of the desktop application and the desktop background.
[0086] In this embodiment, the interface content refers to the specific content of the desktop application and the desktop background displayed on multiple monitors.
[0087] When the present application is applied, the first display mode of the desktop application of the electronic device is first determined, such as a 1x3 (one row and three columns) layout, and the second display mode of the desktop background is determined, such as a splicing mode. Then, multiple displays connected to the electronic device are confirmed, and these displays will be used to jointly display the desktop application and the desktop background.
[0088] The system will detect whether the number and layout of these multiple connected displays match the first display mode. If the selected first display mode is 1x3, then check whether there are exactly three displays and whether their relative positions and connection methods can meet the layout requirements of one row and three columns. If the match is successful, continue to the next step; if it does not match, it may be necessary to prompt the user to adjust the display configuration or select another display mode.
[0089] When the matching result is determined to be a match, the current first setting parameters of the multiple displays are obtained, which may include the resolution, refresh rate, color setting, brightness, contrast, etc. of each display.
[0090] Based on the first setting parameters obtained, the second setting parameters corresponding to the multiple displays in the first display mode are set according to the requirements of the first display mode. For example, if the first display mode requires a higher resolution to achieve clear multi-screen display, the resolution of each display may be adjusted to a suitable value. If there is a specific color requirement, the color setting may also be adjusted uniformly.
[0091] Finally, based on the set second setting parameters, multiple monitors begin to display the interface content of desktop applications and desktop backgrounds. Desktop applications can be laid out according to the first display mode. For example, in 1x3 mode, different application windows can be placed on different monitors. The desktop background will also be displayed according to the second display mode. For example, in extended mode, the background image will be displayed continuously on multiple monitors.
[0092] For example, a designer works on a computer connected to three monitors. The designer selects the first display mode as 1x3, hoping to expand the workspace into a layout of one row and three columns. Confirm that the three monitors are connected to the computer normally.
[0093] The system detects that there are exactly three displays, and they can be set up in a row and three columns layout, and the matching result is a match. The system obtains the current parameters of the three displays, such as the resolutions of 1920×1080. In order to achieve a better design working environment, according to the first display mode, the overall resolution of the three displays is adjusted to 5760×1080.
[0094] The three monitors display desktop applications and desktop backgrounds according to the new setting parameters. The desktop background uses a wide landscape picture that is displayed continuously on the three monitors to create a comfortable working atmosphere.
[0095] When the designer needs to display a video, the designer expands the currently playing video (normally the video is played on one of the displays) to full screen for a better viewing experience by simply clicking the full screen button of the video player application.
[0096] In this multi-screen display setting, once the full screen button is clicked, the video content will be displayed on all the spliced screens. The video screen will occupy the entire large screen area composed of multiple monitors instead of just being displayed in full screen on a single monitor.
[0097] In one embodiment, if Figure 2 As shown, the method also includes:
[0098] S21. Obtain a correspondence between the multiple displays and output interfaces of the electronic device.
[0099] In this embodiment, the output interface refers to a port on an electronic device (such as a computer) for connecting to a display, such as HDMI, DisplayPort, VGA, etc. The corresponding relationship refers to the mapping relationship of which specific output interface of the electronic device each display is connected to.
[0100] S22. Obtain display sequence numbers of the multiple displays, wherein the display sequence numbers are composed of the labels of the multiple displays in a display order.
[0101] In this embodiment, the display sequence number refers to the number obtained according to the display sequence of the numbers of multiple displays, which is used to guide the arrangement order of the displays. The label refers to the unique identification of each display, which is used to distinguish different displays.
[0102] S23. Adjust the correspondence between the multiple displays and the output interface based on the display sequence number.
[0103] In this embodiment, adjusting the corresponding relationship refers to reconfiguring the connection relationship between the display and the output interface according to the acquired display sequence number and the display sequence actually required by the user, so as to ensure that the display content of the display is consistent with the user's expected sequence.
[0104] When this application is used, the correspondence between multiple displays and the output interfaces of the electronic device is first obtained. When an electronic device (such as a computer) is connected to multiple displays, each display is usually connected to the electronic device through a specific output interface (such as HDMI, DisplayPort, etc.). Understanding this correspondence helps the system to accurately identify and manage each display. For example, a computer has three output interfaces, each of which is connected to three displays. The system needs to know which display is connected to which output interface.
[0105] Next, the display sequence numbers of the multiple displays are obtained. This display sequence number is composed of the labels of the multiple displays in the display order. The display order can be set by the user according to actual needs, such as from left to right, from top to bottom, etc. Assuming that the three displays are labeled A, B, and C respectively, if the display order set by the user is A, B, and C from left to right, then the display sequence number may be "ABC".
[0106] Based on the acquired display sequence number, the correspondence between the multiple displays and the output interfaces is adjusted. If the user changes the display sequence, the system needs to adjust the correspondence between the displays and the output interfaces accordingly to ensure that the image signals are correctly output to each display according to the new display sequence.
[0107] For example, the display order required by the user is A, B, C, but the actual display order is C, B, A. The system needs to adjust the correspondence between the output interface and the display so that the image signal is output to the corresponding display in the new order.
[0108] The present application can freely adjust the arrangement order of the displays according to the needs of the user without physically reconnecting the cables. The arrangement order of the displays is automatically adjusted by software, which reduces the complexity of the user in physically connecting and setting up the displays.
[0109] For example, Fig.10As shown, after the user connects the interface of the integrated graphics card and (or) external graphics card on the computer to multiple monitors via display cables, the user can arrange the order of the monitors according to his or her needs.
[0110] The user selects the corresponding display order and the display mode to be supported through the application. For example, the user can select one of the various display orders listed above, or select the splicing mode, expansion mode, etc. If the 2x2 splicing mode is selected, the settings will be prepared according to this mode; if the 1x4 expansion mode is selected, the display parameters will be adjusted accordingly.
[0111] For example:
[0112] Display mode: 1>. Extended mode
[0113] Display order: 1x3, 1x4, 3x1, 4x1, 1x5, 5x1, etc.
[0114] Display mode: 2>. Splicing mode
[0115] Display order: 2x2
[0116] The application transmits the selected display mode and display order to the built-in display interface logic adjustment output module of the electronic device and saves the information.
[0117] Once the user has made their selection and has connected the corresponding monitor, the application will display the sequence number based on the user's selection. For different display modes and sequences, the application provides a sequential digital display in a fixed order of the integrated graphics interface and the external graphics interface, so that the user can understand the layout that will be presented.
[0118] The application will display the numbers corresponding to the computer display interfaces on the monitor screens connected to the computer. These numbers are to allow users to identify the positions and order of each monitor in the current connection status.
[0119] In different display modes, the order in which users read these numbers is different. In extended mode, users read the numbers from left to right or from top to bottom; in spliced mode, users read the numbers from the upper left corner in a clockwise direction.
[0120] When the user sees the numbers on the display, the display sequence number is entered. For example, the display sequence number seen by the user in the 1x4 expansion mode is 2341, etc. The user can enter numbers in a variety of ways, such as keyboard input, mouse selection, or voice input. The input numbers will be passed to the built-in display interface logic adjustment output module for processing.
[0121] The built-in display interface logic adjustment output module will perform logical processing according to the display mode selected by the user (such as expansion mode or splicing mode), the specified display order (from left to right or top to bottom in expansion mode, from top left clockwise in splicing mode) and the display order number entered by the user.
[0122] If the numbers entered by the user are inconsistent with the default output sequence of the system, the module will make adjustments. For example, if the digital string the user sees is 3124, the system will adjust the original output sequence of ABCD to CABD based on this sequence to ensure that the images on the monitor are displayed in the order the user expects.
[0123] Through this internal logic processing, the module will adjust the display of the corresponding port of the video output so that the images on each display can be displayed in the order and manner desired by the user.
[0124] After the above processing, the picture that the user sees on the monitor will be presented in the order of expansion or splicing of the whole picture, giving the user a sense of coherent picture. In this way, the display method expected by the user is truly realized, and the user's demand for specific display mode and order in a multi-monitor environment is met.
[0125] The logical relationship is: F(x, y) = X*Y, such as in the 1x4 expansion mode:
[0126]
[0127] This one-click display sequence number input method utilizes the application logic calculation mapping capability within the computer. Compared with the traditional blind arrangement method, where users try different connections and settings without clear guidance to achieve the desired display effect, this method greatly facilitates user use. Users no longer need to repeatedly try and guess the connection order and settings of the monitors. They can quickly achieve their desired display order and mode by simply observing and entering the display sequence number.
[0128] In one embodiment, if Figure 3 As shown, obtaining the matching results between the multiple displays and the first display mode includes:
[0129] S121, labeling the multiple displays;
[0130] S122. Match the multiple displays according to the display quantity and display layout of the first display mode.
[0131] In this embodiment, the label assigns a unique identifier or number to each display to facilitate identification and reference during configuration. The display quantity is the number of displays required by the first display mode. The display layout is the display arrangement required by the first display mode, such as horizontal arrangement, vertical arrangement, or a specific splicing layout.
[0132] When the present application is applied, in order to better manage and identify each display, the system labels multiple displays connected to the electronic device. The label can be a combination of numbers, letters, or other symbols, and the purpose is to give each display a unique identifier so that a specific display can be accurately referred to and operated in the subsequent processing. For example, three connected displays can be labeled as display A, display B, and display C respectively.
[0133] Then, multiple displays are matched according to the requirements of the first display mode of the predetermined desktop application. The first display mode specifies a specific number of displays and display layout. The number of displays refers to how many displays are needed to achieve the display mode. For example, 1x2 mode requires two displays, 1x3 mode requires three displays, and so on. The display layout describes how these displays are arranged in space, such as one row and two columns, one row and three columns, and so on.
[0134] The system checks whether the actual number and layout of the labeled multiple displays match the requirements of the first display mode. If they match, the subsequent settings and display operations can continue; if they do not match, the user may need to be prompted to adjust the display configuration or select another display mode.
[0135] This application can ensure that the selected display mode matches the number and layout of connected monitors to avoid configuration errors. Through correct matching and layout, the display effect of multiple monitors is optimized and the user experience is improved. It ensures that all monitors can work effectively in the selected mode to avoid wasting resources that cannot be used due to mismatch.
[0136] For example, when determining the correspondence between multiple displays and output interfaces of an electronic device, it is necessary to record the graphics card output interface type corresponding to each output interface and label them. This is to more accurately manage and identify different output interfaces and displays connected to these interfaces. For example, record that a certain output interface is of HDMI type and give it a specific label, such as "Interface 1-HDMI". In this way, in subsequent operations, the relevant information of a specific output interface and the display connected to it can be quickly determined according to the label.
[0137] When the number of monitors recognized by the system exceeds the number required by the currently selected splicing mode, the excess monitors are removed according to the recognized monitor numbers. For example, if the 2x2 splicing mode only requires four monitors, but the system recognizes five monitors, one of the extra monitors will be removed according to the monitor number to ensure that the splicing mode requirements are met.
[0138] If the number of monitors recognized by the system is not enough to meet the selected splicing mode, the user will be prompted to reselect the splicing mode. For example, if the 3x2 splicing mode requires six monitors, but the system only recognizes four monitors, the user will be prompted to select a splicing mode that requires fewer monitors or connect more monitors to meet the requirements of the current mode.
[0139] If the identified display is available, use the application (app) through the operating system (OS) related commands to configure the output interface with the display to identify the resolution and refresh rate with the help of the current integrated graphics card and independent graphics card driver.
[0140] In one embodiment, if Figure 3 and Figure 5 As shown, the method also includes:
[0141] S123: When it is determined that the matching result is a mismatch, mark the redundant displays based on the labels.
[0142] In this embodiment, the matching result mismatch means that the multiple displays do not support the first display mode selected by the user, or the number and layout of the displays do not meet the requirements of the selected mode. Label is a unique identifier or number assigned to each display. Redundant displays refer to displays that are not needed in the currently selected display mode because they exceed the number of displays supported by the selected mode.
[0143] When it is determined that the matching results of multiple displays with the first display mode are not matched, if the mismatch is due to too many displays, the redundant displays are marked based on the previous labeling of the displays. The purpose of this is to enable the user to clearly identify which displays exceed the requirements of the currently selected display mode. The marking can be special marking in the display list by software, or displaying a specific logo on the display.
[0144] For example, the user selects the first display mode of 1x3, which is a layout of one row and three columns, requiring three monitors. However, the system detects that there are four monitors connected. At this time, the system will label the four monitors, such as monitor A, B, C, and D. Since the matching result is not a match, the system will mark the redundant monitor D based on the label, and mark monitor D as "extra monitor" in the monitor list to remind the user that the monitor is not currently within the scope of the selected display mode.
[0145] S124, or, when it is determined that the matching result is not a match, redetermine the first display mode of the desktop application.
[0146] In this embodiment, the matching result does not match means that the multiple displays do not support the first display mode selected by the user, or the number and layout of the displays do not meet the requirements of the selected mode. Redetermining means changing or selecting a new display mode to adapt to the number and layout of the currently connected displays.
[0147] Similarly, when the matching result is determined to be mismatched, if the mismatch is not caused by too many monitors but by other reasons, such as insufficient number of monitors or the layout cannot meet the selected mode, the first display mode of the desktop application can be re-determined. This means that the system can prompt the user to re-select a display mode that is more suitable for the number and layout of the currently connected monitors.
[0148] For example, the user originally selected a 2x2 display mode, which requires four displays to be arranged in a two-row and two-column layout. However, the system detects that only three displays are connected, and the matching result is a mismatch. The system can prompt the user to redefine the first display mode, such as selecting a 1x3 display mode, to better accommodate the existing displays.
[0149] This application allows users to flexibly select or change the display mode according to the number and capabilities of the actually connected monitors. By marking the redundant monitors, users can clearly know which monitors can be used and which cannot, thereby optimizing resource utilization. By re-determining the display mode, display errors or failures caused by monitor mismatch can be avoided.
[0150] In one embodiment, the method further comprises:
[0151] When it is determined that the first display mode matches the multiple displays, the independent graphics card of the electronic device is set as the primary display adapter and the integrated graphics card is set as the secondary display adapter.
[0152] In this embodiment, after confirming that the first display mode (such as expansion mode or copy mode) selected by the user matches the number and layout of connected displays, the independent graphics card of the electronic device is set as the main display adapter and the integrated graphics card is set as the secondary display adapter.
[0153] Discrete graphics card (primary graphics adapter) refers to independent hardware in electronic devices that is specifically used for graphics processing. It usually provides stronger performance than integrated graphics cards and is responsible for the main display output tasks. Integrated graphics card (secondary graphics adapter) refers to graphics cards integrated into electronic devices (such as motherboards). They are usually used for daily tasks and graphics processing with lower performance requirements to assist discrete graphics cards.
[0154] The main graphics adapter is usually responsible for the main display output tasks, and in a multi-monitor environment, it may take on heavier graphics processing and display tasks. Independent graphics cards generally have relatively strong performance and better graphics processing capabilities, and can better cope with complex display requirements, such as high-resolution video playback, large-scale games or graphic design software.
[0155] As an auxiliary, the secondary display adapter can share some display tasks in some cases, or play a role in specific scenarios. Although the performance of the integrated graphics card is relatively weak, it can also meet the needs of some daily office, simple multimedia playback and other tasks, and can reduce system power consumption.
[0156] For example, a user uses a computer connected to three monitors, and the computer has both a discrete graphics card and an integrated graphics card. The user selects a first display mode that requires higher graphics processing capabilities, such as for video editing work, which requires displaying high-resolution video materials and complex editing interfaces on multiple monitors at the same time.
[0157] After determining that this first display mode matches the three monitors, the system sets the independent graphics card as the primary display adapter. At this point, the independent graphics card is responsible for the main graphics processing and display output, ensuring the smooth operation and high-definition display of the video editing software on multiple monitors. The integrated graphics card is set as the secondary display adapter, which can be used to display some auxiliary information, such as time, system notifications, etc., or to share some lighter display tasks when the independent graphics card is overloaded. This setting can give full play to the performance advantages of the independent graphics card, while also taking advantage of the auxiliary functions of the integrated graphics card to provide users with a better multi-monitor experience.
[0158] This application can make full use of the high performance of the independent graphics card to process graphics tasks and improve the overall display effect and response speed by setting the independent graphics card as the main display adapter. The integrated graphics card can be used as a secondary display adapter to handle some auxiliary display tasks, reduce the burden of the independent graphics card, and achieve reasonable allocation of resources. This setting method can adapt to the needs of different users, whether it is games and professional applications that require high-performance graphics processing, or daily office and multimedia consumption.
[0159] In one embodiment, the method further comprises:
[0160] The position of a main display is determined from the multiple displays, wherein the main display is used to display desktop icons and a system taskbar of the electronic device.
[0161] In this embodiment, in the setting of multiple displays, it is necessary to determine the position of a main display from the multiple connected displays. The main display has a specific function, that is, to display the desktop icons and system taskbar of the electronic device.
[0162] Desktop icons usually contain shortcuts to various applications, files, and folders, allowing users to quickly access commonly used resources. The system taskbar displays important information such as running programs, system notifications, and time. By determining the primary display, users can more easily find and operate these key elements when using multiple displays.
[0163] This application sets the main display according to the user's usage habits and preferences to improve work efficiency and comfort. The main display concentrates important system functions and commonly used applications, allowing users to quickly access and operate them. By clearly distinguishing the roles of the main display and other displays, users can more effectively distribute different tasks among multiple displays.
[0164] For example, a user uses three monitors connected to a computer. The user can determine the position of the main monitor according to his or her usage habits and needs.
[0165] If the user's working habit is to use the middle monitor as the main operating area, then the middle monitor can be set as the primary monitor. In this way, when the user turns on the computer, the desktop icons and system taskbar will appear on the middle monitor. The user can easily start applications, view system notifications, etc. on this monitor. The other two monitors can be used to expand the workspace, such as opening a document for editing on one monitor and viewing reference materials on the other monitor.
[0166] In one embodiment, the method further comprises:
[0167] When the second setting parameter corresponding to the first display mode is set, a third display mode of the desktop background is determined, wherein the second display mode and the third display mode are different display modes.
[0168] In this embodiment, after completing the setting of the first display mode of the electronic device desktop application, that is, determining the second setting parameters corresponding to the multiple displays in the first display mode, the third display mode of the desktop background is then determined. For example, the second display mode is the expansion mode, and the third display mode is the splicing mode, and these two display modes are different.
[0169] The extended mode usually expands the desktop space of multiple monitors so that each monitor can display different content. The desktop background may be independently or continuously extended on each monitor. Among them, the system taskbar is always located on one display in the extended mode and does not expand with the desktop background.
[0170] In extended mode, the resolution of the entire extended desktop space is the sum of the resolutions of each display, but it is not a unified high-resolution whole. The display area of each display is logically independent, and the desktop background can also be set with different resolution images on each display, or a larger image can be continuously extended on multiple displays, but the resolution of each part still depends on the corresponding display itself.
[0171] The splicing mode splices multiple displays into a larger overall display area. The desktop background will be presented as a whole image on the entire spliced large screen, and the borders between the various displays will be weakened to achieve a seamless visual effect. Among them, the system taskbar will expand with the desktop background in splicing mode.
[0172] The resolution in splicing mode is an overall, unified value, rather than a simple superposition of the resolutions of each display. Each display together forms a large display area and must work with the same resolution and display parameters to ensure the consistency of the overall picture.
[0173] This application selects different display modes for desktop applications and backgrounds based on the user's personal preferences and needs. By selecting a specific display mode for the desktop background, you can optimize the visual effects, such as wallpapers that span multiple monitors or display different backgrounds on different monitors.
[0174] In one embodiment, the method further comprises:
[0175] storing the second setting parameter;
[0176] When the electronic device is woken up or started again, the multiple display screens display the interface content of the desktop application and the desktop background based on the second setting parameters.
[0177] In this embodiment, the parameters of the second display mode configured previously are saved for future use, and these parameters include but are not limited to information such as resolution, color setting, brightness, contrast of each display and their position in the overall display layout.
[0178] When an electronic device (such as a computer) is restored from sleep mode or restarted, the system will not lose the previous settings for multiple displays. Instead, it will automatically restore the connected multiple displays to the previously set state based on the previously stored second setting parameters, and continue to display the interface content of the desktop application and desktop background.
[0179] This application does not require reconfiguring the display settings every time the device is started or woken up, which improves convenience. It ensures that the display settings remain consistent every time the device is started or woken up, avoiding the trouble of repeated settings. Automatically applying the stored setting parameters can save users time adjusting the display settings.
[0180] In summary, if Figure 5 and Fig.10 As shown, this application uses a special integrated command module to encapsulate the following process into a convenient one-click selection menu for users to use conveniently, allowing users to experience the experience of completing splicing settings with one click. In the integrated command module, first, the system BIOS design supports multiple graphics card devices and multiple display interface outputs.
[0181] The user selects the desktop application as 1*3 splicing mode and the desktop background as extended mode. The display output interface record register is added in the integrated command module, and the system begins to identify multiple displays connected to the electronic device, and matches the identified multiple displays with the splicing screen mode selected by the user to check whether the number of displays and the display layout match the 1*3 splicing mode.
[0182] If there is no match, and the recognized displays are more than the splicing mode, the redundant displays will be marked so that they are not displayed. Alternatively, the first display mode of the desktop application can be re-determined and the matching operation can be performed again.
[0183] If they match, the subsequent parameter setting process will be entered, and the resolution and refresh rate will be identified by configuring the output interface of the current integrated graphics and independent graphics driver with the monitor to obtain its display characteristics.
[0184] According to the identified display parameters, the maximum resolution of the spliced desktop is calculated and set to ensure the optimal display effect. The resolution of the 1*3 splicing mode is 5760*1080.
[0185] In addition, the desktop background is set to span mode, and the integrated graphics and independent graphics drivers are coordinated to synchronize the design parameters, display synchronization, and task allocation to achieve a seamless background display effect. The position of the main display is determined, and the main display is used to display the desktop icons and system taskbar of the electronic device to facilitate user operation.
[0186] The current splicing mode setting parameters are stored so that when the electronic device is woken up or started again, the multiple display screens can display the interface content of the desktop application and the desktop background based on these parameters.
[0187] A multi-screen display control device according to an embodiment of the present application, such as Figure 4 As shown, including:
[0188] a determining unit configured to determine a first display mode of a desktop application of an electronic device, a second display mode of a desktop background, and a plurality of displays, wherein the plurality of displays are connected to the electronic device;
[0189] A first acquisition unit, configured to acquire matching results between the plurality of displays and the first display mode;
[0190] A second acquisition unit, configured to acquire first setting parameters of the plurality of displays when it is determined that the matching result is a match;
[0191] a setting unit configured to set second setting parameters corresponding to the plurality of displays in the first display mode based on the first setting parameters;
[0192] The display unit is configured to display the interface content of the desktop application and the desktop background on the multiple displays based on the second setting parameter.
[0193] It should be noted that the principle of solving the technical problem by the image processing device provided in the embodiment of the present application is similar to the image processing method provided in the embodiment of the present application. Therefore, the implementation of the image processing device provided in the embodiment of the present application can refer to the implementation of the image processing method provided in the embodiment of the present application, and the repeated parts will not be repeated.
[0194] An embodiment of the present application provides an electronic device, including: a memory and a processor, wherein an executable program is stored in the memory, and the processor executes the executable program to implement the steps of any method provided in the embodiment of the present application.
[0195] The processor may be a general purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD may be a complex programmable logic device (PLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. The general purpose processor may be a microprocessor or any conventional processor.
[0196] Since the electronic device introduced in the embodiments of the present application is an electronic device provided with a memory for implementing the method disclosed in the embodiments of the present application, based on the method introduced in the embodiments of the present application, technical personnel in this field can understand the structure and deformation of the electronic device introduced in the embodiments of the present application, so it is not repeated here.
[0197] The embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the image processing methods provided in the embodiment of the present application are implemented.
[0198] The storage medium in this embodiment may be included in the electronic device, or may exist independently without being installed in the electronic device. The storage medium carries one or more computer programs, and when the one or more computer programs are executed, the steps of any method of the task processing method provided in the embodiment of the present application are implemented.
[0199] It should be understood that each scheme in this embodiment has the corresponding technical effects in the above method embodiment, which will not be repeated here.
[0200] According to an embodiment of the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. Optionally, the specific examples in this embodiment can refer to the examples described in any embodiment of the present application, and this embodiment is not repeated here. Obviously, it should be understood by those skilled in the art that the above-mentioned modules or steps of the present application can be implemented with a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented with a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from here, or they can be made into individual integrated circuit modules respectively, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present application is not limited to any specific combination of hardware and software.
[0201] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.
Claims
1. A method for controlling a multi-screen display, characterized in that: include: Determining a first display mode of a desktop application of an electronic device, a second display mode of a desktop background, and a plurality of displays, wherein the plurality of displays are connected to the electronic device; Obtaining matching results between the multiple displays and the first display mode; When it is determined that the matching result is a match, obtaining first setting parameters of the plurality of displays; Based on the first setting parameters, setting second setting parameters corresponding to the multiple displays in the first display mode; Based on the second setting parameter, the multiple displays display the interface content of the desktop application and the desktop background.
2. The method for controlling a multi-screen display according to claim 1, wherein: The method further comprises: Acquire a correspondence between the plurality of displays and output interfaces of the electronic device; Obtaining display sequence numbers of the multiple displays, wherein the display sequence numbers are composed of the labels of the multiple displays in a display order; Based on the display sequence number, the correspondence between the multiple displays and the output interface is adjusted.
3. The method for controlling a multi-screen display according to claim 1, wherein: The obtaining matching results between the plurality of displays and the first display mode includes: labeling the plurality of displays; The plurality of displays are matched according to the display quantity and display layout of the first display mode.
4. The method for controlling a multi-screen display according to claim 3, wherein: The method further comprises: In the case where it is determined that the matching result is not a match, marking the redundant displays based on the labels; or, When it is determined that the matching result is not a match, the first display mode of the desktop application is re-determined.
5. The method for controlling multi-screen display according to claim 1, characterized in that: The method further comprises: When it is determined that the first display mode matches the multiple displays, the independent graphics card of the electronic device is set as the primary display adapter and the integrated graphics card is set as the secondary display adapter.
6. The method for controlling a multi-screen display according to claim 1, wherein: The method further comprises: The position of a main display is determined from the multiple displays, wherein the main display is used to display desktop icons and a system taskbar of the electronic device.
7. The method for controlling multi-screen display according to claim 1, characterized in that: The method further comprises: When the second setting parameter corresponding to the first display mode is set, a third display mode of the desktop background is determined, wherein the second display mode and the third display mode are different display modes.
8. The method for controlling multi-screen display according to claim 1, characterized in that: The method further comprises: storing the second setting parameter; When the electronic device is woken up or started again, the multiple display screens display the interface content of the desktop application and the desktop background based on the second setting parameters.
9. A control device for multi-screen display, characterized in that: include: a determining unit configured to determine a first display mode of a desktop application of an electronic device, a second display mode of a desktop background, and a plurality of displays, wherein the plurality of displays are connected to the electronic device; A first acquisition unit, configured to acquire matching results between the plurality of displays and the first display mode; A second acquisition unit, configured to acquire first setting parameters of the plurality of displays when it is determined that the matching result is a match; a setting unit configured to set second setting parameters corresponding to the plurality of displays in the first display mode based on the first setting parameters; The display unit is configured to display the interface content of the desktop application and the desktop background on the multiple displays based on the second setting parameter.
10. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 8 when executing the computer program.
Citation Information
Cited By
Taskbar dynamic management method and system in multi-screen environment
CN121300894A