Multi-screen image display management method and system
By obtaining and comparing the display information of the monitor device in the Windows system, determining the fault or new device, and performing picture management, the picture disorder caused by device changes in traditional multi-screen display management is solved, and screen fixation and online recovery are achieved.
Patent Information
- Application Number
- CN202210158621.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-21
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2042-02-21
AI Technical Summary
When the number and resolution of the screens change, traditional multi-screen display management leads to problems such as offset, overlap, exceeding the screen range, and display chaos, and cannot be restored online.
By pre-setting cycles in the Windows system, we can determine whether the device has changed, determine a fault or new device, and use ShowWindow and MyResizeWindow to hide or display the screen to keep the screen fixed.
The problem of multi-screen display disorder in case of monitor failure was successfully solved, avoiding the impact of the failed device on the screen of other devices.
Smart Images

Figure CN114637481B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of multi-screen management, and in particular to a multi-screen picture display management method and system. Background Art
[0002] In the nuclear power environment, in order to facilitate the simultaneous viewing of different types of screen information (alarms, trends, logs, etc.), a host needs to use multiple monitors; however, traditional multi-screen display management has some defects and does not support adaptive adjustment of the number of screens and screen resolution. When the number of on-site screens or the resolution changes, serious problems such as monitoring screen offset, overlap, exceeding the screen range, and display confusion will occur, and they cannot be restored online.
[0003] The existing multi-screen management solution uses logical IDs to distinguish different screens. However, when the number of screens changes, the logical IDs will be reallocated, the screen coordinates will change, and the monitoring screen will shift during operation, resulting in overlapping and chaotic display. Summary of the invention
[0004] 1. Technical issues to be resolved
[0005] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides a multi-screen image display management method and system, which solves the technical problems of image shifting and display confusion in display devices in the prior art.
[0006] (II) Technical solution
[0007] In order to achieve the above object, the main technical solutions adopted by the present invention include:
[0008] In a first aspect, an embodiment of the present invention provides a multi-screen image display management method, comprising:
[0009] S1. Obtaining display information corresponding to the display device identified by the Windows system according to a preset period;
[0010] S2, determining whether the display information corresponding to the display device identified by the Windows system in any preset period is the same as the display information corresponding to the display device identified by the Windows system in a previous preset period of the preset period;
[0011] S3. If they are different, determining the failed display device and / or the new display device based on the display information corresponding to the display device identified by the Windows system in any preset period and the display information corresponding to the display device identified by the Windows system in a previous preset period of the any preset period;
[0012] S4. Based on the faulty display device among the display devices identified by the Windows system, the image in the faulty display is hidden by using the ShowWindow method, and based on the display information corresponding to each display device identified by the Windows system in any preset period, the window position is reset by using the MyResizeWindow method to keep the image in each display device identified by the Windows system in the preset period fixed.
[0013] Preferably,
[0014] The display information includes coordinates defined by the Windows system corresponding to the display device, EDID information of the display device, and the width and height of the display device.
[0015] The faulty display device is a display device whose corresponding EDID information does not exist in the display information corresponding to the display device identified by the Windows system in any preset period, but exists in the display information corresponding to the display device identified by the Windows system in the previous preset period of any preset period;
[0016] The new display device is a display device whose corresponding EDID information exists in the display information corresponding to the display device identified by the Windows system in any preset period, but does not exist in the display information corresponding to the display device identified by the Windows system in the previous preset period of any preset period.
[0017] Preferably, the method further comprises:
[0018] S5. Based on the new display device among the display devices identified by the Windows system, the pre-hidden picture corresponding to the new display is displayed using the ShowWindow method, and based on the display information corresponding to each display device identified by the Windows system in any preset period, the window position is reset using the MyResizeWindow method to keep the picture in each display device identified by the Windows system in any preset period fixed.
[0019] Preferably,
[0020] The preset period is 500ms.
[0021] Preferably, S3 specifically includes:
[0022] If the EDID information corresponding to any display device identified by the Windows system in any preset period does not exist in the display information corresponding to the display device identified by the system in the previous preset period of any preset period, then the any display device is determined as a new display device.
[0023] Preferably, the S3 further specifically includes:
[0024] If the EDID information corresponding to any display device identified by the Windows system in the previous preset period of any preset period does not exist in the display information corresponding to the display device identified by the Windows system in any preset period, then the any display device is determined to be a faulty display device.
[0025] Preferably,
[0026] The EDID information of the display device is obtained in advance according to the driving information of the display device through the GetDeviceEDID interface.
[0027] Preferably,
[0028] The coordinates defined by the Windows system corresponding to the display device, and the width and height of the display device are obtained in advance according to the device name of the display device through the EnumDisplaySettings interface.
[0029] Preferably,
[0030] The display information corresponding to the display device recognized by the Windows system is sorted in sequence according to the coordinates defined by the Windows system corresponding to the display device.
[0031] In a second aspect, an embodiment of the present invention provides a multi-screen image display management system, including:
[0032] at least one processor; and
[0033] At least one memory is communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute any of the multi-screen image display management methods described above.
[0034] (III) Beneficial effects
[0035] The beneficial effects of the present invention are as follows: a multi-screen image display management method and system of the present invention obtains display information corresponding to a display device through a preset period, determines the faulty display device and / or new display device according to whether the display information corresponding to the display device identified by the Windows system in any preset period is the same as the display information corresponding to the display device identified by the Windows system in the previous preset period of any preset period, and further hides the image of the faulty display device to avoid the influence of the image of the faulty display device on the image of the non-faulty display device. The problem of disordered display of multiple screens when the display fails is successfully solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A flow chart of a multi-screen image display management method of the present invention;
[0037] Figure 2 The diagram is an interaction diagram between a Windows system in an embodiment of the present invention and a display device connected to the Windows system according to a multi-screen image display management method of the present invention. DETAILED DESCRIPTION
[0038] In order to better explain the present invention and facilitate understanding, the present invention is described in detail below through specific implementation modes in conjunction with the accompanying drawings.
[0039] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a clearer and more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0040] See also Figure 1 and Figure 2 This embodiment provides a multi-screen image display management method, including:
[0041] S1. Obtain display information corresponding to a display device identified by a Windows system according to a preset period.
[0042] S2. Determine whether the display information corresponding to the display device identified by the Windows system in any preset period is the same as the display information corresponding to the display device identified by the Windows system in a previous preset period of the preset period.
[0043] S3. If they are different, the faulty display device and / or the new display device is determined based on the display information corresponding to the display device identified by the Windows system in any preset period and the display information corresponding to the display device identified by the Windows system in the previous preset period of any preset period.
[0044] S4. Based on the faulty display device among the display devices identified by the Windows system, the image in the faulty display is hidden by using the ShowWindow method, and based on the display information corresponding to each display device identified by the Windows system in any preset period, the window position is reset by using the MyResizeWindow method to keep the image in each display device identified by the Windows system in the preset period fixed.
[0045] In the actual application of this embodiment, the display information includes coordinates defined by the Windows system corresponding to the display device, EDID information of the display device, and the width and height of the display device.
[0046] Specifically, in this embodiment, the display information corresponding to the display devices identified by the Windows system is stored in a list, and the display information is sorted in the list according to the coordinates defined by the Windows system corresponding to the display devices.
[0047] In this embodiment, the EDID information is extended display identification data, which is a standard for display identification data formulated by VESA when formulating the DDC display data channel communication protocol.
[0048] The faulty display device is a display device whose corresponding EDID information does not exist in the display information corresponding to the display device identified by the Windows system in any preset period, but exists in the display information corresponding to the display device identified by the Windows system in the previous preset period of any preset period.
[0049] The new display device is a display device whose corresponding EDID information exists in the display information corresponding to the display device identified by the Windows system in any preset period, but does not exist in the display information corresponding to the display device identified by the Windows system in the previous preset period of any preset period.
[0050] In the practical application of this embodiment, the method further includes:
[0051] S5. Based on the new display device among the display devices identified by the Windows system, the pre-hidden picture corresponding to the new display is displayed using the ShowWindow method, and based on the display information corresponding to each display device identified by the Windows system in any preset period, the window position is reset using the MyResizeWindow method to keep the picture in each display device identified by the Windows system in any preset period fixed.
[0052] In the actual application of this embodiment, the preset period is 500 ms.
[0053] In the practical application of this embodiment, S3 specifically includes:
[0054] If the EDID information corresponding to any display device identified by the Windows system in any preset period does not exist in the display information corresponding to the display device identified by the system in the previous preset period of any preset period, then the any display device is determined as a new display device.
[0055] In the practical application of this embodiment, S3 further specifically includes:
[0056] If the EDID information corresponding to any display device identified by the Windows system in the previous preset period of any preset period does not exist in the display information corresponding to the display device identified by the Windows system in any preset period, then the any display device is determined to be a faulty display device.
[0057] In the actual application of this embodiment, the EDID information of the display device is obtained in advance according to the driving information of the display device through the GetDeviceEDID interface.
[0058] In the actual application of this embodiment, the coordinates defined by the Windows system corresponding to the display device, and the width and height of the display device are obtained in advance according to the device name of the display device through the EnumDisplaySettings interface.
[0059] In the actual application of this embodiment, the display information corresponding to the display device identified by the Windows system is sorted in sequence according to the coordinates defined by the Windows system corresponding to the display device.
[0060] The multi-screen image display management method and system of the present embodiment obtains the display information corresponding to the display device through a preset period, determines the faulty display device and / or new display device according to whether the display information corresponding to the display device identified by the Windows system in any preset period is the same as the display information corresponding to the display device identified by the Windows system in the previous preset period of any preset period, and further hides the image of the faulty display device to avoid the image of the faulty display device from affecting the image of the non-faulty display device. The problem of disordered display of multiple screens when the display fails is successfully solved.
[0061] Since the Windows system described in the above embodiment of the present invention is the Windows system used to implement the method of the above embodiment of the present invention, based on the method described in the above embodiment of the present invention, those skilled in the art can understand the specific structure and deformation of the Windows system, so it is not repeated here. All Windows systems used in the method of the above embodiment of the present invention belong to the scope of protection of the present invention.
[0062] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, Windows systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or a combination of software and hardware embodiments. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0063] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (Windows systems) and computer program products according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions.
[0064] It should be noted that in the claims, any reference numerals placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In the claims enumerating several means, several of these means may be embodied by the same hardware. The use of the words first, second, third, etc., is for convenience of expression only and does not indicate any order. These words may be understood as part of the component name.
[0065] In addition, it should be noted that, in the description of this specification, the description of the terms "one embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0066] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments after knowing the basic creative concept. Therefore, the claims should be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.
[0067] Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include these modifications and variations.
Claims
1. A multi-screen image display management method, characterized in that: include: S1. Obtaining display information corresponding to the display device identified by the Windows system according to a preset period; S2, determining whether the display information corresponding to the display device identified by the Windows system in any preset period is the same as the display information corresponding to the display device identified by the Windows system in a previous preset period of the preset period; S3. If they are different, determining the failed display device and / or the new display device based on the display information corresponding to the display device identified by the Windows system in any preset period and the display information corresponding to the display device identified by the Windows system in a previous preset period of the any preset period; S4. Based on the faulty display device among the display devices identified by the Windows system, the image in the faulty display is hidden by using the ShowWindow method, and based on the display information corresponding to each display device identified by the Windows system in any preset period, the window position is reset by using the MyResizeWindow method to keep the image in each display device identified by the Windows system in the preset period fixed.
2. The method according to claim 1, characterized in that The display information includes the coordinates defined by the Windows system corresponding to the display device, the EDID information of the display device, and the width and height of the display device; The faulty display device is a display device whose corresponding EDID information does not exist in the display information corresponding to the display device identified by the Windows system in any preset period, but exists in the display information corresponding to the display device identified by the Windows system in the previous preset period of any preset period; The new display device is a display device whose corresponding EDID information exists in the display information corresponding to the display device identified by the Windows system in any preset period, but does not exist in the display information corresponding to the display device identified by the Windows system in the previous preset period of any preset period.
3. The method according to claim 2, characterized in that The method further comprises: S5. Based on the new display device among the display devices identified by the Windows system, the pre-hidden picture corresponding to the new display is displayed using the ShowWindow method, and based on the display information corresponding to each display device identified by the Windows system in any preset period, the window position is reset using the MyResizeWindow method to keep the picture in each display device identified by the Windows system in any preset period fixed.
4. The method according to claim 3, characterized in that The preset period is 500ms.
5. The method according to claim 4, characterized in that The S3 specifically includes: If the EDID information corresponding to any display device identified by the Windows system in any preset period does not exist in the display information corresponding to the display device identified by the system in the previous preset period of any preset period, then the any display device is determined as a new display device.
6. The method according to claim 5, characterized in that The S3 further specifically includes: If the EDID information corresponding to any display device identified by the Windows system in the previous preset period of any preset period does not exist in the display information corresponding to the display device identified by the Windows system in any preset period, then the any display device is determined to be a faulty display device.
7. The method according to claim 6, characterized in that The EDID information of the display device is obtained in advance according to the driving information of the display device through the GetDeviceEDID interface.
8. The method according to claim 7, characterized in that The coordinates defined by the Windows system corresponding to the display device, and the width and height of the display device are obtained in advance according to the device name of the display device through the EnumDisplaySettings interface.
9. The method according to claim 8, characterized in that The display information corresponding to the display device recognized by the Windows system is sorted in sequence according to the coordinates defined by the Windows system corresponding to the display device.
10. A multi-screen image display management system, characterized in that: include: at least one processor; as well as At least one memory communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute a multi-screen image display management method as described in any one of claims 1 to 9.
