Screen display method and device, electronic device and storage medium

By integrating image processing functions into the BMC, identifying and isolating the faulty area of ​​the display device and adjusting the display parameters, the problems of missing display content and color distortion on the faulty display are solved, achieving stable display and high availability under fault conditions.

CN120472795BActive Publication Date: 2025-09-23INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510979801.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-16
Publication Date
2025-09-23
Estimated Expiration
2045-07-16

AI Technical Summary

Technical Problem

The existing BMC cannot ensure that the monitoring data and operation guidance information can be displayed normally on the fault display, resulting in low availability of the display device.

Method used

By integrating image processing functions in the BMC, the fault area information of the display device is obtained, the faulty display area is identified and isolated, and the display parameters of the target screen are adjusted according to the size and type of the normal display area to complete the screen display within the normal display area.

Benefits of technology

It ensures the complete display and visual effects of the target screen content, reduces the risk of abnormal screen display, reduces the cost of frequent replacement of display devices, and improves the availability of display devices under fault conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120472795B_ABST
    Figure CN120472795B_ABST
Patent Text Reader

Abstract

The present application discloses a screen display method and device, electronic device, and storage medium. The method includes: using predetermined fault area information, allowing a baseboard management controller to obtain whether a display device currently has a fault area and the type of fault display; based on this information, avoiding the display of the fault display area, and calculating the position information and display size of the normal display area in the display device, thereby adjusting the display parameters of the target screen originally displayed in the fault display area; so that the target screen is displayed in the normal display area according to the adjusted display parameters, and the visual effect of the target screen finally displayed is close to the visual effect of the display interface before the fault. This method solves the technical problem of low availability of fault display devices in related technologies and achieves the technical effect of improving the utilization rate of fault display devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a screen display method and device, an electronic device, and a storage medium. Background Art

[0002] Current BMCs (Baseboard Management Controllers) are typically used for remote server monitoring and management. For example, they provide critical hardware status monitoring data and control functions, as well as output and video signals. Furthermore, BMCs can also assume some of the functions of server graphics cards, displaying their output video signals on the server's display or a display connected to the server.

[0003] BMC is mainly used to monitor and manage the status of server or computer hardware (such as temperature, voltage, fan speed, etc.), and supports remote management and fault diagnosis. It has functions such as remote power on and off, restarting the server, real-time monitoring of hardware health status, sending alerts, and can still work independently when the server is not running an operating system.

[0004] However, the current BMC can only ensure the normal transmission of video signals, but cannot ensure the normal display on the display screen. For example, if there is only one faulty display in the computer room, it is difficult to ensure the normal display of monitoring data and operation guidance information on the faulty display. Common problems include missing display content and color distortion, resulting in technical problems such as low availability of the faulty display device. Summary of the Invention

[0005] The present application provides a screen display method and device, an electronic device, and a storage medium to at least solve the problem of low availability of fault display devices in related technologies.

[0006] According to one aspect of an embodiment of the present application, a screen display method is provided, including: obtaining fault area information of a predetermined display device, wherein the fault area information includes a fault area identifier and a fault display type where a display fault exists on the display device; determining a fault display area in the display device based on the fault area identifier; determining area description information of a normal display area in the display device based on the fault display area, wherein the area description information includes position information and a display size of the normal display area; adjusting display parameters of a target screen in the fault display area according to the display size and the fault display type to obtain adjusted display parameters; and displaying the target screen in the normal display area according to the adjusted display parameters.

[0007] According to another aspect of an embodiment of the present application, a screen display device is also provided, including: a first acquisition unit, used to acquire fault area information of a predetermined display device, wherein the fault area information includes a fault area identifier and a fault display type where a display fault exists on the display device; a first processing unit, used to determine the fault display area in the display device based on the fault area identifier; a second processing unit, used to determine area description information of a normal display area in the display device based on the fault display area, wherein the area description information includes position information and a display size of the normal display area; a first adjustment unit, used to adjust the display parameters of the target screen in the fault display area according to the display size and the fault display type to obtain the adjusted display parameters; a first display unit, used to display the target screen in the normal display area according to the adjusted display parameters.

[0008] According to another aspect of the embodiments of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the steps of any of the above-mentioned screen display methods through the computer program.

[0009] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned screen display methods when run.

[0010] According to another aspect of an embodiment of the present application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps of any of the above-described screen display methods.

[0011] Using the above-described embodiments of the present application, the BMC accurately identifies and isolates the faulty display area on the display device based on the user's predetermined display device fault type and faulty area. Furthermore, the display parameters and display position of the original display content (the target screen in the faulty display area) are adaptively adjusted according to the display size of the normal display area. This not only ensures the complete display of the target screen content, but also guarantees the visual quality of the final display. In other words, by integrating image processing functions within the BMC, the technical issue of excessive costs associated with frequent display device replacement is resolved, the risk of display anomalies is reduced, and the availability of the display device under fault conditions is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0013] Figure 1 It is a schematic diagram of an application scenario of a screen display method according to an embodiment of the present application.

[0014] Figure 2 This is a process intention of an optional screen display method according to an embodiment of the present application.

[0015] Figure 3 This is an overall flow chart of an optional screen display method according to an embodiment of the present application.

[0016] Figure 4 This is a schematic diagram of an optional bad screen control interface according to an embodiment of the present application.

[0017] Figure 5 This is an optional example of displaying a target screen in the event of an abnormal local area display according to an embodiment of the present application.

[0018] Figure 6 This is an example of displaying a target screen in an optional color display abnormality according to an embodiment of the present application.

[0019] Figure 7 This is an overall schematic diagram of an optional screen display processing method under different fault conditions according to an embodiment of the present application.

[0020] Figure 8 This is a structural block diagram of an optional screen display device according to an embodiment of the present application. DETAILED DESCRIPTION

[0021] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0022] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.

[0023] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0024] According to one aspect of the embodiment of the present application, a screen display method is provided. Optionally, in this embodiment, the screen display method can be applied to, but is not limited to, Figure 1 In the hardware scenario shown, the server device may include one or more ( Figure 1 Only one is shown) a processor 102 (the processor 102 may include but is not limited to a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. The server device may also include a transmission device 106 and an input / output device 108 for communication functions. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.

[0025] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the screen display method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories can be connected to the server device via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0026] Transmission device 106 is used to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by a communication provider of the server device. In one embodiment, transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0027] The screen display method of the embodiment of the present application can be executed by a server device, or by the server device in combination with at least one of the terminal devices (also understood as the input / output device 108). The screen display method of the embodiment of the present application can also be executed by a client installed on the terminal device.

[0028] Taking the screen display method in this embodiment executed by the server as an example, Figure 2 is a flow chart of an optional screen display method according to an embodiment of the present application, such as Figure 2 As shown, the process of the method may include steps S202 to S210.

[0029] Step S202: obtaining predetermined fault area information of a display device, wherein the fault area information includes a fault area identifier and a fault display type of the display device where a display fault exists.

[0030] Step S204: determining a fault display area in the display device based on the fault area identifier.

[0031] Step S206 : determining the region description information of the normal display region in the display device based on the fault display region, wherein the region description information includes the position information and display size of the normal display region.

[0032] Step S208 : adjusting the display parameters of the target image in the fault display area according to the display size and the fault display type to obtain adjusted display parameters.

[0033] Step S210: displaying the target image in the normal display area according to the adjusted display parameters.

[0034] The execution subject of the technical solution in this embodiment may be, but is not limited to, the BMC of the server, wherein the server may be, but is not limited to, a server in a data center (eg, a computer room), or may be a server connected to a mobile smart terminal.

[0035] The display device can be a display screen connected to the data center server, or a display screen of the server itself. In addition, it can also be a display screen of a mobile smart terminal such as a mobile phone or tablet computer. This embodiment of the application does not limit this.

[0036] It should be noted that the specific implementation methods of displaying the target image in the normal display area according to the adjusted display parameters include but are not limited to the following two situations.

[0037] (1) The target screen cannot be displayed in the fault display area: In this case, the target screen is changed to the normal display area for display.

[0038] (2) If only the color display is abnormal in the faulty display area: then adjust the display parameters of the target image in the faulty display area, and display the target image in the faulty display area and the normal display area according to the adjusted display parameters. For example, the faulty display area is displayed in black and white, while the normal display area remains in color; or when the color display of a single color channel is abnormal, adjust the color values ​​of the RGB (red, green, and blue) color channels in the faulty display area and the normal display area through color compensation, and display the target image according to the adjusted color values.

[0039] To facilitate understanding, first combine Figure 3 The overall flow chart shown briefly describes the implementation of the above-mentioned screen display method.

[0040] S302: The user indicates the location of the bad screen or the good screen.

[0041] In this embodiment, it is assumed that the user knows in advance whether the display device is damaged and the damage (fault) type, and marks these fault area identifiers on the display device in advance.

[0042] Through the interaction between the display device and the BMC, the above information is transmitted to the BMC, so that the BMC obtains the status information of the display device in advance.

[0043] S304: The BMC calculates the size and position of the normal display screen.

[0044] The fault display area may be determined based on, but not limited to, the fault area identifier obtained in step S302, and the position information and size of the non-fault display area may be determined in turn.

[0045] S306: Determine whether the current display device can display normally.

[0046] This includes whether the screen content can be displayed, and if the screen content can be displayed, determining the fault display type based on the acquired information.

[0047] Common types of display failures include complete damage to the display screen, missing display in some areas, abnormal color display, etc.

[0048] S308: Adaptively select a processing method according to the fault display type to ensure normal display of the screen under the fault condition.

[0049] The specific processing method will be described in detail below with reference to specific embodiments.

[0050] S310, prompts to replace the monitor.

[0051] If the display device is completely damaged, replace the display directly.

[0052] In this embodiment, the BMC obtains information related to the fault display area on the display device, including the precise location of the fault area and the type of fault. Specific acquisition methods include but are not limited to the following two.

[0053] (1) Manual marking by the user: The user manually selects the fault area through the WebUI interface provided by the BMC, and provides an intuitive screen diagram to assist in positioning. The user can specify the location information of the fault area and the fault type, such as no display at all, color distortion, etc.

[0054] (2) Automatic detection: The diagnostic program built into the BMC regularly or instantly detects the health of the display device and automatically identifies the fault area and its type. It mainly determines whether a fault exists and the type of fault display by comparing normal and abnormal signals through signal interaction between the BMC and the display device.

[0055] like Figure 4 As shown, it is used to indicate in advance whether the display device or display screen is damaged and the damaged area (which can also be understood as a damaged area or a fault display area), and send this information to the BMC.

[0056] After obtaining the faulty area information, the BMC analyzes the location and size of the faulty display area and compares it with the overall display device parameters (such as screen resolution and overall display size) to distinguish between damaged and intact display areas. For example, if the faulty area is located in the upper right corner of the screen, its length and width dimensions will be determined.

[0057] After determining the fault display area, the BMC will calculate the position and display size of the normal display area on the current screen based on the position and size information of the fault display area. Figure 5 As shown in the figure, the fault display area indicated by the user is located in the center of the entire screen, then the BMC may calculate two normal display areas, as shown in the following example: Figure 5 Region 1 and Region 2 are shown.

[0058] After calculating the position information and display size of the normal display area, adjusting the display parameters of the target image originally displayed in the faulty display area can be understood as adjusting the display parameters of the target image in the original display screen assuming that the display screen is not damaged.

[0059] Specifically, the BMC calculates the normal display area on the screen to maintain the original aspect ratio and avoid distortion. By analyzing the relationship between the faulty display area and the overall display area, the BMC automatically calculates the exact location and display size of the intact area, generating a detailed description of the area, including the start and end points of the normal display area, and the aspect ratio.

[0060] After determining the normal display area, pixel compression or expansion, color adjustment, and other parameter processing are typically required to adapt it to the target image originally displayed in the faulty display area. For example, if the faulty display type is color distortion, the BMC can convert the color content originally intended to be displayed in the faulty area to black and white grayscale, while ensuring that the display quality in the normal area is not affected. Finally, based on the adjusted display parameters, the target image is displayed in the normal display area.

[0061] In this embodiment, the BMC can proactively detect and isolate faulty areas on the display device, automatically adjusting the displayed content to avoid these faulty areas or performing image processing on these areas to ensure the complete presentation of the displayed information. This not only resolves display impairments caused by localized damage but also maintains information clarity and readability in situations such as color distortion by adjusting the color space or using grayscale display.

[0062] Through the above-described embodiments provided by this application, the BMC accurately identifies and isolates the faulty display area on the display device based on the user's predetermined display device fault type and faulty display area. Furthermore, the display parameters and display position of the original display content (the target screen in the faulty display area) are adaptively adjusted according to the display size of the normal display area. This not only ensures the complete display of the target screen content, but also guarantees the visual quality of the final display. In other words, by integrating image processing functions within the BMC, the technical issue of excessive costs associated with frequent display device replacement is resolved, the risk of display anomalies is reduced, and the availability of the display device under fault conditions is improved.

[0063] In an exemplary embodiment, the above-mentioned acquisition of the fault area information of a predetermined display device includes: acquiring the current display parameters of the display device; generating a target schematic interface based on the current display parameters; adding the fault area identifier in the target schematic interface; based on the fault area identifier, mapping the schematic fault display area in the target schematic interface to the fault display area in the display device, and acquiring the fault display type.

[0064] The BMC first obtains the current display parameters of the connected display device, including but not limited to resolution and aspect ratio. For example, if the display device has a resolution of 1024×768 and an aspect ratio of 4:3, this information will serve as the basis for subsequent display adjustments. The purpose of obtaining the current display parameters (raw display parameters) is to ensure that the BMC understands the physical characteristics and display capabilities of the current display, enabling it to develop effective fault response strategies based on this information.

[0065] Based on the current display parameters, a target schematic interface is generated, providing the user with an intuitive display tool for manually marking or inspecting faulty areas on the display device. Based on the read display parameters, the BMC constructs a virtual interface (also known as the target schematic interface) that matches the size and proportions of the actual display device through the interface provided by the WebUI. For example, the target schematic interface has a resolution of 1024×768 and an aspect ratio of 4:3.

[0066] In this embodiment, if the native resolution of the display is 1024×768, the schematic interface generated by the BMC will also display the same aspect ratio, allowing users to accurately mark the location and size of the fault area. By providing a schematic interface that matches the actual display device, users can identify the schematic fault display area on the target schematic interface, simplifying the process of entering fault area information.

[0067] Users can mark the fault area on the target schematic interface, usually through the WebUI. For example, in the BMC WebUI, users see a schematic screen with the same aspect ratio as the actual monitor. With a simple mouse operation, they can draw a rectangular box to mark the fault area.

[0068] The BMC captures these user actions in real time and adds the identification information of the faulty area to the target schematic interface. In addition, the BMC provides a switching function between the bad screen area and the good screen area, allowing users to avoid displaying the faulty area and only display the adjusted target image in the normal display area.

[0069] After the user marks the schematic fault display area, the BMC will map the fault display area in the schematic interface to the corresponding physical area on the actual display device based on the fault area identifier. For example, if the schematic fault display area marked in the schematic interface is located in the upper right corner of the screen, it will be mapped to the upper right corner of the actual display device.

[0070] This embodiment aims to enable the BMC to obtain information about the display device's fault area and its display type through a user-friendly interface, providing a data foundation for subsequent display parameter adjustments and fault response strategies. This not only enhances the BMC's fault detection capabilities but also provides users with an intuitive faulty screen control interface to minimize the impact of display failures on operations, ensuring that even in faulty conditions, users can perform necessary operations using adjusted display content.

[0071] In an exemplary embodiment, the above method also includes: detecting the power status of the display device at a preset time interval; when the power status indicates that the power of the display device is not turned on, adding a replacement mark in the target schematic interface, wherein the replacement mark is used to indicate that the display device is in a completely damaged state.

[0072] In this embodiment, the process of the user knowing the display device's fault display type in advance includes but is not limited to determining whether the display device is completely damaged or the color display is abnormal. Among them, the methods of determining whether the display device or display screen is completely faulty include but are not limited to the following.

[0073] (1) By detecting the power status of the display screen, if the power is not connected or the power management circuit feedback is abnormal, it is determined that the display screen is in a complete failure.

[0074] (2) By sending a test signal to the display screen, if no response or feedback signal is received from the display screen within a predetermined time, it is determined that the display screen is in a complete failure state.

[0075] (3) Send a test image (for example, a solid color image, a striped image) to the display screen, etc. If the display screen cannot display any image, it is determined that the display screen is completely damaged.

[0076] If it is determined that the display screen has completely failed, the BMC can accurately identify the completely damaged display device by adding a replacement mark in the target schematic interface, helping the user to take timely action, such as replacing the display or adjusting display parameters.

[0077] That is to say, by indicating the fault identifier in the target schematic interface, the BMC has the ability to provide bad screen control, and by circling the fault display area in the target schematic interface, it can effectively avoid a completely damaged display screen or avoid the faulty display area.

[0078] This approach improves the system's fault response capabilities and user interaction experience. Especially in data center or remote management scenarios, even if the administrator is not on-site, they can quickly understand the status of the display through the WebUI, conduct timely troubleshooting or resource allocation, and avoid unnecessary service interruptions or management delays caused by display failures.

[0079] In an exemplary embodiment, the above method also includes: looping the primary color test pictures of the three color channels in the target schematic interface; when a local area display abnormality occurs during the alternating display of the primary color test pictures, determining that there is a color display abnormality in the target color channel corresponding to the specific primary color test picture.

[0080] As described in the above embodiments, display screen failures include not only complete failure but also partial display loss or color abnormality in a local area. Color abnormality includes, but is not limited to, the inability to properly display a single primary color in the RGB (red, green, and blue) color channel or inaccurate color display.

[0081] To determine the bad block information (information about the faulty display area) on the display, the BMC usually has a display color detection function. When the WebUI interface is opened, the BMC will loop through the three primary colors (red, green, and blue) of the pure color screen (and display related color text on the screen to prevent screen abnormalities from causing the user to be unable to determine the current displayed color). After the playback is completed, the user selects a color that can be displayed normally. At the same time, the BMC records the colors that cannot be displayed normally for backup.

[0082] For example, assuming the BMC records red display anomalies in a local area, it may further mark the area on the target schematic interface, or use it as part of the fault area identification for reference in subsequent display adjustment strategies, ensuring that the BMC can accurately distinguish and identify different color faults.

[0083] In this embodiment, a display device's color display anomalies are detected by looping primary color test images. This is because color display anomalies are often caused by malfunctions in the display device's internal RGB color channels, and primary color tests (i.e., playing pure red, green, and blue images) can directly verify the working status of each color channel. When these primary color images are looped in the target schematic interface, the program carefully observes the color response of each area, thereby detecting local color anomalies that may be difficult to detect in complex images.

[0084] This approach not only enhances fault detection capabilities but also makes fault type determination more accurate, enabling the ability to distinguish fault types and locations across different color channels. This reduces troubleshooting pressure, improves accuracy, and avoids misoperation caused by color display anomalies.

[0085] In an exemplary embodiment, the above method also includes: generating a target schematic interface; marking the screen resolution and screen size in the target schematic interface according to the size ratio between the target schematic interface and the display interface of the display device; adding a schematic fault area identifier in the target schematic interface in response to a triggering operation on the first rectangular frame; and determining the normal display area in the display interface based on the size ratio and the schematic fault area identifier.

[0086] A screen diagram (also known as a target schematic interface) is generated on the existing WebUI of the BMC, and the size ratio between the display interface of the display device and the target schematic interface is maintained.

[0087] On the target schematic interface, the user drags to select the first rectangular box and checks the normal screen (normal display area) for it. When checking the normal screen, the customer's selected rectangle can only be enlarged or reduced according to the screen ratio to prevent the aspect ratio of the rectangular area selected by the user from being inconsistent with the current screen (the display screen of the actual display device).

[0088] Specifically, when the bad screen is checked, the above-mentioned rectangular box can be a rectangle with any length and width that can be dragged. After the user completes the marking, the parameters are passed to the background. The BMC calculates the screen position and screen size that can be used normally according to the bad screen avoidance function mentioned in the above embodiment, and returns it to the BMC WebUI for the user to confirm the schematic diagram, thereby achieving the purpose of good communication with the user.

[0089] In other words, by selecting the first rectangle in the BMC's target schematic interface (you can drag the rectangle to any length and width), and choosing between normal display area and fault display area, you can accurately determine the display's bad block information. This allows the BMC to effectively control bad screens and improves the human-computer interaction experience.

[0090] Through the above-mentioned innovative user interaction interface design and fault handling method, a more efficient and convenient fault detection and correction mechanism is provided for the server management field and other broader display technology applications, which not only improves the user experience, but also enhances the overall stability of the system.

[0091] In an exemplary embodiment, the above-mentioned determining the normal display area in the display interface based on the size ratio and the schematic fault area identifier includes: determining the schematic fault area in the target schematic interface based on the schematic fault area identifier; in response to a triggering operation on the second rectangular frame, selecting and adjusting the target position and expected display size of the schematic normal display area excluding the schematic fault area in the target schematic interface; and mapping the schematic normal display area to the normal display area in the display interface according to the size ratio.

[0092] After selecting the bad screen through the first rectangular box, the schematic fault area in the target schematic interface is determined, and then the normal display area mode is switched to the second rectangular box, and the user drags the second rectangular box to select the normal display area.

[0093] When selecting the normal display area, the area occupied by the second rectangular frame can only be enlarged or reduced according to the aspect ratio of the display device and the screen ratio. For example, if the display interface aspect ratio of the display device is 4:3, then when selecting the normal display area using the second rectangular frame, the user can enlarge or reduce the size of the second rectangular frame as needed, but the aspect ratio of the area occupied by the enlarged or reduced second rectangular frame will still be 4:3.

[0094] It should be noted that the normal display area determined by proportionally enlarging or reducing the second rectangular frame is a screen display area that meets the user's expectations and requirements.

[0095] For example, in a computer room, the upper right corner of a monitor connected to a server failed to display images properly. The administrator identified the faulty area on a virtual schematic screen through the BMC's WebUI and designated an area in the lower left corner as the new normal display area. The BMC then automatically adjusted the video signal output so that the surveillance video exactly filled the designated normal display area, maintaining the original clarity and resolution ratio, ensuring that the administrator could continue monitoring tasks smoothly without worrying about information loss or image distortion.

[0096] This embodiment mainly describes the BMC's function of providing a bad screen control interface, which improves the flexibility of user interaction with the system. In particular, when a local failure of the display device occurs, the user is allowed to directly identify the faulty area on the target schematic interface, ensuring the accuracy of the bad screen information.

[0097] At the same time, by dragging and scaling the second rectangular box in the target schematic interface, the target position and size of the normal area that meets the user's expected display are determined, which improves the flexibility and customization options of the control method and improves the efficiency of fault handling.

[0098] In an exemplary embodiment, the above-mentioned determination of the area description information of the normal display area in the display device based on the fault display area includes: determining the remaining area in the display area of ​​the display device except the fault display area as the normal display area; and determining the position information and the display size of the target normal display area for displaying the target screen from the normal display area.

[0099] After determining the faulty display area on the display device, the faulty display area can be removed from the entire display area of ​​the display device, but is not limited to, and the remaining area automatically becomes the area that can theoretically display normally.

[0100] Based on the area that can theoretically be displayed normally, it is necessary to further determine the position information and display size for displaying the target image. This is a key step to ensure that the display content can be presented in the correct position and at the appropriate size.

[0101] However, since the original image displayed on the display device is compressed and displayed in the normal display area, it means that the pixel density of the screen is increased, and since the display size is reduced, the displayed content will become smaller from a visual perspective.

[0102] Therefore, in order to ensure that the display image can fully cover and accurately adapt to the normal display area while maintaining the original image quality, it is usually necessary to determine the position and display size of the target normal display area that can present a picture close to the original image from the area that can theoretically be displayed normally, thereby avoiding display distortion caused by display adjustment.

[0103] By accurately defining and optimizing the normal display area, a theoretical foundation is laid for providing stable and clear display effects under fault display conditions. This ensures the normal display of the target image under fault conditions and improves the availability of the fault display device.

[0104] In an exemplary embodiment, the above-mentioned adjusting the display parameters of the target picture in the fault display area according to the display size and the fault display type to obtain the adjusted display parameters includes: when the normal display area only includes one display area and the fault display type is a local area display loss, adjusting the screen resolution of the target picture according to the display size and the original screen resolution to obtain the adjusted resolution, wherein the display parameters include the original screen resolution, and the picture quality when the target picture is displayed in the normal display area according to the adjusted resolution is close to the original picture quality of the display device.

[0105] For example, assuming that the fault display type is local area display missing, the fault display area is the left half of the display screen, then the normal display area only includes the right half of the display screen, then the right half is the normal display area.

[0106] For example, when the upper left corner of a monitor cannot display images due to a hardware failure, resulting in only the lower right corner of the entire screen being able to work normally, the BMC determines this lower right corner as the normal display area.

[0107] After determining the normal display area, the resolution of the normal display area is calculated and adjusted based on the original display size and original screen resolution of the original display area of ​​the display device. The purpose of this adjustment process is to ensure that the displayed content can fully cover the normal display area while maintaining the original image quality as much as possible.

[0108] For example, assuming the original screen resolution is 1920×1080, and the display size of the normal display area is determined according to the method in the above embodiment, the BMC will determine how to adjust the screen in the normal display area so that the adjusted screen resolution can adapt to the image quality of the current normal display area. This adjustment may involve directly adjusting the resolution to 1280×720, or using an image scaling algorithm to adaptively adjust the original screen resolution of 1920×1080 to 1280×720 while maintaining the original aspect ratio of the display area, ensuring the integrity and clarity of the content.

[0109] This embodiment provides refined display parameter adjustment functionality, greatly optimizing the user management experience when facing partial display device failures. For example, when a user is operating on a server with a display failure, the BMC diagnosis reveals that the upper left corner of the screen is unavailable, but the normal display area in the lower right corner is large enough to meet basic work needs. At this point, the BMC automatically adjusts the resolution so that the original 1920×1080 content fits into the normal 1280×720 display area. The user does not need to worry about display distortion or information loss and can continue normal operation.

[0110] Through the above method, not only the user's operating efficiency in the event of a display screen failure is improved, but also the inconvenience caused by abnormal display of a local area of ​​the display device is reduced, the integrity of the display content of the display screen under fault conditions is improved, and the utilization rate of the faulty display screen is improved.

[0111] In an exemplary embodiment, the above method also includes: when the normal display area includes N display areas and the fault display type is local area display missing, selecting a display area with a larger size from the N display areas as the target display area, wherein N is a positive integer greater than or equal to 2; adjusting the screen resolution of the target display area according to the target display size of the target display area and the original screen resolution to obtain the adjusted resolution.

[0112] like Figure 5 As shown, if the bad screen area is located in the center of the screen, it is determined by calculation that there are two normal display areas, such as Figure 5 In the middle area 1 and area 2, the BMC preferentially selects a larger screen area as the normal display area. That is, area 1 is selected as the target display area.

[0113] Assume that the display resolution is 1024×768 and the aspect ratio is 4:3. A damaged area occupies a corner of the screen. After calculation, while maintaining the 4:3 aspect ratio, the screen resolution of the normal display area should be adjusted to 512×384. In other words, the BMC needs to compress the original display content from 1024×768 to 512×384 and fill the remaining area with black or other colors.

[0114] That is to say, based on the position and size of the damaged area specified by the customer in the entire screen, while ensuring the normal display of the picture content (no deformation, etc.), the display content will be compressed and displayed in the calculated area that can be used normally, and it has the function of selecting the normal area (selecting the target display area from multiple normal display areas).

[0115] Adjusting display parameters, especially reconfiguring screen resolution, requires precise calculations and intelligent image processing algorithms to ensure that displayed content remains distorted or blurry after the resolution adjustment. For example, if the original screen resolution is 1920×1080 and a fault leaves only a portion of the normal display area, the BMC needs to calculate how to fit the 1920×1080 content into a 1280×720 area while maintaining the image ratio. This may involve image scaling, resampling, and fine-tuning of color and brightness to ensure that users receive a visual experience close to that of the original screen when viewing the adjusted resolution display.

[0116] By providing a flexible display area selection and resolution adjustment mechanism, the user experience in this scenario is improved. For example, when a user is managing a server in a data center and a fault occurs in the center area of ​​the monitor, causing the screen to be divided into multiple small normal display areas, the BMC can intelligently select the largest area as the target display area and automatically adjust the resolution, allowing the user to perform efficient and clear operations in this reduced area, reducing the impact of the fault on work efficiency.

[0117] Through the intelligent display parameter adjustment in this embodiment, a stable and clear display effect is provided in the event of a local failure of the display device, thereby improving the user's operating experience in the event of a display failure, avoiding frequent replacement of faulty display screens, and reducing costs.

[0118] In an exemplary embodiment, the above-mentioned adjusting the display parameters of the target image in the fault display area according to the display size and the fault display type to obtain the adjusted display parameters includes: when the fault display type is color display abnormality, adjusting the original color values ​​of the target image on the three color channels to obtain the adjusted color values, wherein the display parameters include the original color values.

[0119] When a display device experiences a color display failure, this means that at least part of the screen is unable to display colors normally or the displayed colors are not as expected. For example, a certain area of ​​the screen may show a missing color or incorrect color display in a single channel of the RGB color channel, resulting in color distortion. For example, if red is displayed abnormally while green and blue are displayed normally, the color displayed in this area will tend to be cyan. In response to this situation, this embodiment provides a color correction and adjustment mechanism to ensure that the color of the image can be as close to the original state as possible under fault conditions.

[0120] It should be noted that the default current color space is the RGB color space. Therefore, in the case of abnormal color display, it is usually necessary to adjust the original color values ​​of the target image on the three color channels to obtain adjusted color values.

[0121] Specifically, upon detecting a color display anomaly, the BMC adjusts the original color values ​​of the target image (i.e., the desired image) across the three RGB color channels to compensate for or correct the color performance of the faulty display area. For example, if the red channel in a certain area of ​​the screen displays an anomaly, the BMC will use either a monochrome compensation method or a color space conversion method to adjust the color values ​​in that area. The following describes these two color adjustment methods with reference to specific examples.

[0122] This embodiment aims to perform color correction and optimization in the event of color display anomalies. Specifically, by adjusting the color values ​​of the target image in the RGB color channels, this strategy ensures that even in the presence of local color glitches, the image's color representation remains relatively accurate and complete.

[0123] Color display anomalies are a common type of failure in display devices. This is particularly true in fields requiring high color accuracy, such as professional design, medical imaging, and video editing. These anomalies can severely impact user productivity and creative quality. This embodiment provides a color correction function to enhance user satisfaction and user experience when faced with color anomalies.

[0124] For example, a professional designer discovers that the color display in the lower right corner of the screen is abnormal during the creative process. Through the color correction function in this embodiment, the designer can continue to make accurate color adjustments and design work in this area without interrupting the creative process due to color distortion, thereby ensuring the smooth progress of the design project.

[0125] By adjusting the color values ​​of the target image on the RGB color channels, this provides an innovative solution for color correction of display devices in the event of color display anomalies. This meets the personalized needs of users and improves operational efficiency and user experience in professional fields.

[0126] In an exemplary embodiment, the above-mentioned adjustment of the original color values ​​of the target image on the three color channels to obtain the adjusted color values ​​includes: when the fault display type is that the primary color of the first color channel has color distortion, the original color value in the fault display area is adjusted to a grayscale color value, and the normal display area is kept to display the image according to the original color value; wherein, the adjusted color value includes the grayscale color value.

[0127] When a color channel (e.g., the R channel) experiences color distortion, it means that the color information in that channel is not displayed properly or appears different than expected. For example, an area of ​​the screen may display an unnatural green or blue hue instead of the normal red, green, and blue mixture due to a malfunction in the red channel. In this case, the method of this embodiment can be used to convert the color of the malfunctioning display area into grayscale color values ​​to overcome the color distortion issue.

[0128] To address color distortion in the first color channel (e.g., the red channel), the BMC adjusts the original color values ​​of the faulty display area to grayscale values ​​(i.e., black and white). Grayscale conversion is a method of converting a color image to black and white or varying shades of gray. By removing color information and retaining only the brightness levels, the image's basic form and information can still be clearly recognized, even in the event of a color channel failure.

[0129] Furthermore, this approach ensures that the normal display area still displays images according to the original color values, thereby maintaining overall display quality while resolving color distortion issues in faulty display areas. For example, if the upper right corner of a monitor exhibits color distortion due to a red channel failure, the BMC will adjust the display in the upper right corner to grayscale, while the remaining normal areas of the screen maintain their normal color display, thus achieving a balanced display effect between the faulty and normal areas.

[0130] In this embodiment, the BMC ensures the normal display of the display by adjusting the RGB color value of the area corresponding to the video signal, such as processing the damaged area in black and white, and still using the above example to explain. Assuming that the color display of the original damaged area is abnormal, the BMC still displays it with the original 1024×768 resolution, but for the area that cannot be used normally, it circumvents it through an algorithm, for example, changing the RGB color to black and white display, converting the RGB (color) signal to black and white (grayscale) signal, and the normal display area still displays normally. This can ensure that the display area does not become smaller and the damaged area is used as much as possible. For details, please refer to Figure 6 shown.

[0131] The video signal includes, but is not limited to, DP (Display Port, a digital audio and video interface standard) and VGA (Video Graphics Array, an analog video transmission interface standard) signals.

[0132] By utilizing the concept of grayscale display, an effective solution is provided for resolving the problem of color distortion in the first color channel. By converting the color of the faulty area to grayscale, not only is the visual interference caused by color distortion avoided, but the basic image information in the faulty display area is also ensured to remain readable. At the same time, the color display of the normal display area is maintained, ensuring the color accuracy of the user when viewing the entire image, demonstrating the flexibility of the technical solution of this application in dealing with local color anomalies.

[0133] In an exemplary embodiment, the above-mentioned adjustment of the original color values ​​of the target image on the three color channels to obtain the adjusted color values ​​includes: when the fault display type is that the original color of the first color channel undergoes color distortion, color compensation is performed on the original color of the first color channel to obtain the adjusted color value.

[0134] When a monitor or display experiences color distortion in the primary color channel (such as the R channel, representing red), parts of the screen display red abnormally, potentially exhibiting color deviation, unevenness, or complete loss. For example, in the lower right corner of the screen, due to a red channel malfunction, objects that should appear red may appear bluish or greenish, or the red may disappear entirely. This affects the color balance and authenticity of the displayed content, impacting the user's visual experience and work performance.

[0135] In response to the above problem, the embodiment of the present application proposes another processing method, namely color compensation, which aims to correct the distorted color by adjusting the color of the faulty display area, thereby obtaining the adjusted color value.

[0136] Color compensation algorithms are used to address color distortion in the first color channel (such as the red channel). By dynamically adjusting the color values ​​of other color channels, they can fill in or compensate for the missing information in the damaged channel, ensuring the color integrity of the image and approximately restoring the visual effect.

[0137] This approach not only demonstrates the BMC's ability to intelligently process and repair display issues in complex fault environments, but also ensures that even under abnormal color display conditions, near-true color information can still be obtained, thereby reducing the impact of color distortion on user work. This color compensation function not only resolves display anomalies caused by specific color channel failures but also further optimizes the display device's performance under complex fault conditions.

[0138] In an exemplary embodiment, when the fault display type is that the primary color of the first color channel is distorted, color compensation is performed on the primary color of the first color channel, including: according to a preset weight coefficient, the first color value of the first color channel is assigned to the second color value of the second color channel and the third color value of the third color channel to obtain an adjusted second color value and an adjusted third color value; wherein the adjusted color value includes the adjusted second color value and the adjusted third color value.

[0139] For example, if the red channel is completely distorted or cannot display red normally, the BMC will proportionally distribute the color information originally belonging to the red channel to the green channel and the blue channel according to the preset weight coefficient.

[0140] Specifically, when color distortion occurs in the first color channel (such as the red channel, R), the color information of the R channel is distributed to the second color channel (the green channel, G channel) and the third color channel (the blue channel, B channel) using preset weight coefficients. The purpose of this process is to compensate for the distortion or loss of the red channel by adjusting the color values ​​of other channels, so as to restore or approximate the original color balance and display effect as much as possible.

[0141] Specifically, the monochrome compensation of the R channel is achieved through the following formulas (1) and (2):

[0142] G'=G+R×α (1)

[0143] B'=G+B×(1-α) (2)

[0144] Wherein, R is the first color value of the first color channel, G is the second color value of the second color channel, B is the third color value of the third color channel, G' is the adjusted second color value, B' is the adjusted third color value, and α is a preset weight coefficient.

[0145] G' and B' are used to represent the color of the faulty display area. While the adjusted color values ​​cannot completely restore the missing red channel, they can simulate red or a color close to its original color by increasing the brightness or color depth of green and blue, thereby restoring the overall color balance and visual quality of the image. This ensures that even in the case of abnormal red display, users can still obtain relatively accurate and complete color information, reducing the impact of color distortion on the user's visual experience.

[0146] The color compensation of the color distortion of the first color channel is only an example and is not limiting. Similarly, when the second color channel or the third color channel has color distortion, the color compensation is performed in the same manner as the above method.

[0147] Color distortion in the first color channel (such as the red channel) is addressed through mutual compensation between color channels. This fully utilizes the display capabilities of the remaining color channels and dynamically allocates color information using preset weighting coefficients, effectively compensating for the display defects of the damaged color channel. This mechanism not only demonstrates the BMC's intelligence in color management and display adjustment, but also ensures readability and information integrity in the event of localized color glitches, significantly improving the display adaptability of faulty display devices in complex operating environments.

[0148] In an exemplary embodiment, the above-mentioned adjustment of the original color values ​​of the target image on the three color channels to obtain adjusted color values ​​includes: when the fault display type is that the primary color of the first color channel undergoes color distortion, converting the original color values ​​on the three color channels into target color values ​​in a target color space, wherein the target color values ​​include hue information, saturation information, and brightness information after the primary colors on each color channel are decomposed; adjusting the hue information, saturation information, and brightness information of the three color channels except the first hue information of the first color channel to obtain adjusted hue information, adjusted saturation information, and adjusted brightness information; converting the adjusted hue information, the adjusted saturation information, and the adjusted brightness information to the original color space to obtain the adjusted color value.

[0149] In addition to the above-mentioned method of performing black and white processing and monochrome compensation on the fault display area, an embodiment of the present application also provides a method of using a color space conversion method for more color adjustment. Specifically, the color value of the RGB space is converted to the HSV (Hue Saturation Value, hue-saturation-brightness color space) space or the HSL (Hue Saturation Lightness, hue-saturation-brightness color space) space. Hue, saturation and brightness are processed separately). Under normal circumstances, the monochrome compensation method requires less computing power and the burden on the BMC is small. Therefore, when resources are the priority, the monochrome compensation method in the above embodiment is preferred. The color space conversion method has a large amount of calculation and can be selected by the user. Otherwise, the bad block area is processed by the monochrome compensation method by default.

[0150] Among them, the difference between the HSV and HSL color spaces lies in the different ways of processing color brightness and darkness.

[0151] (1) The HSV value (brightness) is based on the brightest part of the color. When the value is 1, the color reaches its brightest state, but the saturation may be affected.

[0152] (2) The lightness of HSL is based on the middle value of the color. When the lightness is 0.5, the color is at its brightest state. Adjusting the lightness will not change the saturation of the color.

[0153] Color space conversion is a more powerful image processing technique used to optimize display quality when color anomalies occur in localized areas of the display. This method involves converting the RGB color space to other color spaces, such as HSV (hue, saturation, value) or HSL (hue, saturation, brightness), allowing independent adjustments to each color dimension. The following describes the steps for implementing color space conversion.

[0154] (1) RGB to HSV / HSL conversion: First, the RGB color values ​​in the video signal are converted to corresponding values ​​in the HSV or HSL color space. In the HSV / HSL color space, color information is decomposed into three independent dimensions: hue, saturation, and lightness / brightness.

[0155] (2) Abnormal color area detection: Determine which areas of the screen have abnormal display colors through user marking or automatic detection (such as pixel response detection), such as abnormal red display.

[0156] (3) Color adjustment: For the detected abnormal areas, adjustments are made in the HSV / HSL color space. It may adjust the hue to bypass the color that cannot be displayed normally, or adjust the saturation and lightness / brightness to compensate for the deficiency of color display.

[0157] (4) Color compensation: For example, if the red channel is distorted, you can try to adjust the hue value of the red area to the green or blue area in the HSV color space while maintaining appropriate saturation and brightness to maintain the color balance and clarity of the picture as much as possible.

[0158] (5) Conversion from HSV / HSL to RGB: After completing the adjustment in the HSV / HSL color space, the BMC converts the color value back to the RGB color space to generate the final video signal, which will be transmitted to the display so that the faulty area can be displayed in a manner closer to normal color.

[0159] (6) Display optimization: Finally, the BMC outputs the adjusted video signal to the display. In this way, even if the color display in some areas of the display is abnormal, it can provide a visual experience as close to normal as possible.

[0160] Color space conversion is considered a more effective adjustment method because it allows independent adjustment of the three color attributes (hue, saturation, and lightness / brightness). This provides greater flexibility than directly adjusting the red, green, and blue values ​​in the RGB color space, especially when dealing with color channel failures. For example, adjusting hue can bypass the failure color, while adjusting saturation and lightness can optimize the color rendering, maintaining image clarity and information integrity even when a color channel fails.

[0161] In an exemplary embodiment, the above-mentioned displaying the target screen in the normal display area according to the adjusted display parameters includes: when the display device is a display connected to the data center server, displaying the target screen containing server operating status data and configuration operation information in the normal display area according to the adjusted display parameters.

[0162] In a data center environment, server monitoring and management are crucial. As a window for displaying information, displays primarily ensure efficient data center management. If a display malfunction occurs on a server-connected display (or display screen on the server), the technical solutions in the embodiments of this application can be used to adjust display parameters and restore the server's operating status data and configuration information.

[0163] Specifically, when part of the display area is missing content or has abnormal colors, the adjusted display parameters are used to recalculate and determine a normal display area. This normal display area will be used to present key operating status data and configuration operation information of the data center servers.

[0164] For example, if the red channel in the upper right corner of the display fails, causing color distortion, the BMC will calculate a normal display area based on adjusted display parameters, avoiding the faulty display area. An image containing operational status data such as server memory utilization, power status, disk I / O, and server configuration and operation information will then be re-layouted and displayed within the normal display area according to the adjusted display parameters (such as adjusted resolution and color values). This way, even if part of the display is damaged, data center administrators can still clearly understand server operating status and perform configuration management, ensuring normal data center operations and management efficiency.

[0165] By flexibly adjusting display parameters and determining the normal display area, this system provides an effective solution for displaying critical operational data and configuration information when a display screen connected to a data center server fails. This not only demonstrates the intelligent and efficient nature of this technical solution in handling complex display issues, but also ensures the continuity and clarity of information displayed, providing a reliable monitoring and management interface for data center administrators.

[0166] In an exemplary embodiment, the above-mentioned displaying the target screen in the normal display area according to the adjusted display parameters also includes: when the display device is a display of a mobile smart terminal, displaying the screen content in the target screen in the normal display area according to the adjusted display parameters.

[0167] When the screen of a mobile intelligent terminal, such as a smartphone or tablet, is damaged, for example, part of the screen is shattered, the color is distorted, or the display is completely unavailable, these problems may seriously affect the user experience.

[0168] When the above faults occur, the user first determines the type and location of the bad block area (damaged area or faulty display area). Based on the fault type, the user selects an appropriate treatment method to determine the normal display area. The user then recalculates the display parameters for the normal display area through methods such as color compensation ratio and resolution scaling.

[0169] Finally, the BMC adjusts the target image content so that it appears close to its original state within the normal display area. For example, if the faulty area primarily affects color, the BMC uses a color compensation algorithm to distribute red channel information to the green and blue channels, displaying the faulty area in black and white or grayscale, while maintaining color in the normal area. This maintains the overall readability and aesthetics of the image and minimizes the impact of the hardware fault on the user experience.

[0170] That is to say, by introducing the broken screen adjustment function in the technical solution of this application into mobile smart terminal devices, for example, integrating it into the combination physical keys of the mobile phone, the user experience after the screen is broken will be improved, and at least the backup of mobile phone or computer data and emergency communication can be completed in the broken screen mode.

[0171] Using the above method, even if the display of the mobile smart terminal is partially damaged, the user can still obtain key information on the screen, such as the route in the map, the main characters in the video or the operation prompts in the game, ensuring the continuity of the user experience and the availability of application functions.

[0172] In order to more clearly understand how to choose the appropriate treatment method when different types of failures occur in the display device, the following Figure 7 Further explain it.

[0173] like Figure 7 As shown, the user first marks the bad block area, and then divides the fault type into two categories: local area display abnormality and complete display damage. Among them, local area display abnormality is divided into two types: partial area display loss and local area color display abnormality.

[0174] When the fault type is a partial area display loss, according to the number of normal display areas determined, it is selected to directly avoid the faulty area or to preferentially select a larger area from multiple normal display areas for screen display.

[0175] When the fault type is abnormal color display in a local area, you can use but are not limited to the following three methods to handle it.

[0176] (1) The fault display area is displayed in black and white, and the normal display area still maintains RGB color display.

[0177] (2) Perform monochrome compensation on the abnormal color channel. For details, please refer to the description of formulas (1) and (2) above.

[0178] (3) Through color space conversion, the hue, saturation, brightness and other dimensions of each color channel are adjusted independently.

[0179] In situations where the display is completely unavoidable or severely impacts user experience, such as when the normal display area is too small or when two color channels are distorted during color display, even if the display is repaired using the above methods, the user will not be able to view the displayed information normally. In this case, the user will be prompted that the display cannot be repaired and a replacement monitor is recommended.

[0180] In an optional embodiment, assuming that after the functions in the technical solution of this application are introduced into the BMC of an enterprise server, the degree of innovation is improved, and the equipment in most computer rooms is outdated and the displays are often damaged, this function has great practical value and is well received by users. In some scenarios (such as the monitoring room), the screen is too large and not conducive to viewing. This function can also be used to fix the display information originally intended for the entire screen to a certain area (such as the normal display area) for easy viewing.

[0181] The technical solution of this application improves the management richness of the server BMC, and can solve the common problem of screen damage for customers, which helps to improve product competitiveness; the application of the server BMC in the technical solution of this application is only a small part, and there is a larger market for consumer-grade products, such as laptops, mobile phones and other mobile smart terminal devices. The probability of screen damage in such products is higher, and there is no management background similar to the server BMC after damage. If the screen is accidentally broken, it may not even be unlocked and used. If similar consumer-grade products introduce the broken screen adjustment function of the technical solution of this application, for example, it is integrated into the combination physical keys of the mobile phone, it will improve the user experience after the screen is broken, and at least the backup of mobile phone or computer data and emergency communication can be completed in the broken screen mode. Therefore, the technical solution of this application has high commercial value.

[0182] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.

[0183] According to another aspect of the embodiment of the present application, a picture display device is also provided. The structural diagram of the system is shown in FIG. Figure 8As shown, it includes the following modules.

[0184] The first acquiring unit 802 is configured to acquire predetermined fault area information of a display device, wherein the fault area information includes a fault area identifier and a fault display type of the display device where a display fault exists.

[0185] The first processing unit 804 is configured to determine a fault display area in the display device based on the fault area identifier.

[0186] The second processing unit 806 is configured to determine region description information of a normal display region in the display device based on the fault display region, wherein the region description information includes position information and display size of the normal display region.

[0187] The first adjusting unit 808 is configured to adjust display parameters of a target image in the fault display area according to the display size and the fault display type to obtain adjusted display parameters.

[0188] The first display unit 810 is configured to display the target image in the normal display area according to the adjusted display parameters.

[0189] The specific execution steps involved in the various calculation processes in the above modules and the dynamic optimization of storage space can be referred to the description in the above embodiments and will not be repeated here.

[0190] Obviously, the above-mentioned screen display device can be used to implement the screen display method provided in the above-mentioned embodiment, and the description thereof will not be repeated here. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and contemplated.

[0191] It should be noted that the first acquisition unit 802 in this embodiment can be used to execute the above-mentioned step S202, the first processing unit 804 in this embodiment can be used to execute the above-mentioned step S204, the second processing unit 806 in this embodiment can be used to execute the above-mentioned step S206, the first adjustment unit 808 in this embodiment can be used to execute the above-mentioned step S208, and the first display unit 810 in this embodiment can be used to execute the above-mentioned step S210.

[0192] In an exemplary embodiment, the above-mentioned first acquisition unit 802 includes: a first acquisition module for acquiring the current display parameters of the display device; a first processing module for generating a target schematic interface based on the current display parameters; an adding module for adding the fault area identifier in the target schematic interface; a first mapping module for mapping the schematic fault display area in the target schematic interface to the fault display area in the display device based on the fault area identifier, and acquiring the fault display type.

[0193] In an exemplary embodiment, the above-mentioned device also includes: a detection unit for detecting the power status of the display device at a preset time interval; a first adding unit for adding a replacement mark in the target schematic interface when the power status indicates that the power of the display device is not turned on, wherein the replacement mark is used to indicate that the display device is in a completely damaged state.

[0194] In an exemplary embodiment, the mapping module includes: a playback submodule for looping the primary color test pictures of the three color channels in the target schematic interface; and a first processing submodule for determining, when a local area display abnormality occurs during the alternating display of the primary color test pictures, whether a color display abnormality exists in the target color channel corresponding to a specific primary color test picture.

[0195] In an exemplary embodiment, the above-mentioned device also includes: a third processing unit for generating a target schematic interface; a labeling unit for labeling the screen resolution and screen size in the target schematic interface according to the size ratio between the target schematic interface and the display interface of the display device; in response to the triggering operation of the first rectangular frame, a schematic fault area identifier is added to the target schematic interface; and a second adding unit for determining the normal display area in the display interface based on the size ratio and the schematic fault area identifier.

[0196] In an exemplary embodiment, the above-mentioned second adding unit includes: a second processing module for determining the schematic fault area in the target schematic interface based on the schematic fault area identifier; a first selection module for selecting and adjusting the target position and expected display size of the schematic normal display area other than the schematic fault area in the target schematic interface in response to a triggering operation on the second rectangular frame; and a second mapping module for mapping the schematic normal display area to the normal display area in the display interface according to the size ratio.

[0197] In an exemplary embodiment, the above-mentioned second processing unit 806 includes: a third processing module, used to determine the remaining area in the display area of ​​the display device except the fault display area as the normal display area; a fourth processing module, used to determine the position information and the display size of the target normal display area for displaying the target screen from the normal display area.

[0198] In an exemplary embodiment, the above-mentioned first adjustment unit 808 includes: a first adjustment module, which is used to adjust the screen resolution of the target picture according to the display size and the original screen resolution when the normal display area includes only one display area and the fault display type is a local area display missing, so as to obtain an adjusted resolution, wherein the display parameters include the original screen resolution, and the picture quality when the target picture is displayed in the normal display area according to the adjusted resolution is close to the original picture quality of the display device.

[0199] In an exemplary embodiment, the above-mentioned device also includes: a first selection unit, used to select a display area with a larger size from the N display areas as the target display area when the normal display area includes N display areas and the fault display type is a local area display missing, wherein N is a positive integer greater than or equal to 2; a second adjustment unit, used to adjust the screen resolution of the target display area according to the target display size of the target display area and the original screen resolution to obtain the adjusted resolution.

[0200] In an exemplary embodiment, the above-mentioned first adjustment unit 808 includes: a second adjustment module, which is used to adjust the original color values ​​of the target image on the three color channels when the fault display type is color display abnormality, to obtain adjusted color values, wherein the display parameters include the original color values.

[0201] In an exemplary embodiment, the above-mentioned second adjustment module includes: a first adjustment sub-module, which is used to adjust the original color value in the fault display area to a grayscale color value when the fault display type is a primary color of the first color channel and color distortion occurs, and keep the normal display area displaying the picture according to the original color value; wherein, the adjusted color value includes the grayscale color value.

[0202] In an exemplary embodiment, the above-mentioned second adjustment module also includes: a second processing submodule, which is used to perform color compensation on the primary color of the first color channel when the fault display type is color distortion of the primary color of the first color channel to obtain the adjusted color value.

[0203] In an exemplary embodiment, the above-mentioned second adjustment module further includes: an allocation submodule, which is used to allocate the first color value of the first color channel to the second color value of the second color channel and the third color value of the third color channel according to a preset weight coefficient to obtain an adjusted second color value and an adjusted third color value; wherein the adjusted color value includes the adjusted second color value and the adjusted third color value.

[0204] In an exemplary embodiment, the above-mentioned second adjustment module further includes: a first conversion submodule, which is used to convert the original color values ​​on the three color channels into target color values ​​in the target color space when the fault display type is that the primary color of the first color channel undergoes color distortion, wherein the target color value includes the hue information, saturation information and brightness information after the primary color on each color channel is decomposed; a second adjustment submodule, which is used to adjust the hue information, saturation information and brightness information of the three color channels except the first hue information of the first color channel to obtain adjusted hue information, adjusted saturation information and adjusted brightness information; a second conversion submodule, which is used to convert the adjusted hue information, the adjusted saturation information and the adjusted brightness information to the original color space to obtain the adjusted color value.

[0205] In an exemplary embodiment, the above-mentioned first display unit 810 includes: a first display module, which is used to display the target screen containing server operating status data and configuration operation information in the normal display area according to the adjusted display parameters when the display device is a display connected to the data center server.

[0206] In an exemplary embodiment, the first display unit 810 includes: a second display module, which is used to display the screen content of the target screen in the normal display area according to the adjusted display parameters when the display device is a display of a mobile smart terminal.

[0207] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0208] According to another aspect of an embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above-mentioned screen display method embodiments.

[0209] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the steps of any of the above-mentioned screen display method embodiments when running.

[0210] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0211] According to another aspect of the embodiments of the present application, a computer program product is further provided. The computer program product includes a computer program. When the computer program is executed by a processor, the steps of any of the above-mentioned screen display method embodiments are implemented.

[0212] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned screen display method embodiments are implemented.

[0213] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0214] The above is a detailed introduction to a screen display method provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

Claims

1. A screen display method, characterized in that: include: Acquiring predetermined fault area information of a display device, wherein the fault area information includes a fault area identifier and a fault display type of the display device where a display fault occurs; determining a fault display area in the display device based on the fault area identifier; Determining region description information of a normal display region in the display device based on the fault display region, wherein the region description information includes position information and display size of the normal display region; Adjusting display parameters of a target screen within the fault display area according to the display size and the fault display type to obtain adjusted display parameters; Displaying the target image in the normal display area according to the adjusted display parameters; The method also includes: generating a target schematic interface; marking the screen resolution and screen size in the target schematic interface according to the size ratio between the target schematic interface and the display interface of the display device; adding a schematic fault area identifier in the target schematic interface in response to a triggering operation on the first rectangular frame; and determining the normal display area in the display interface based on the size ratio and the schematic fault area identifier.

2. The method according to claim 1, characterized in that The obtaining of predetermined fault area information of the display device includes: Acquiring current display parameters of the display device; Based on the current display parameters, generating a target schematic interface; Adding the fault area identifier in the target schematic interface; Based on the fault area identifier, the schematic fault display area in the target schematic interface is mapped to the fault display area in the display device, and the fault display type is obtained.

3. The method according to claim 2, characterized in that The method further comprises: detecting a power status of the display device at preset time intervals; When the power status indicates that the display device is not powered on, a replacement mark is added to the target schematic interface, wherein the replacement mark is used to indicate that the display device is in a completely damaged state.

4. The method according to claim 2, characterized in that The method further comprises: Playing the primary color test images of the three color channels in a loop in the target schematic interface; When a local area display abnormality occurs during the process of alternately displaying the primary color test pictures, it is determined that a target color channel corresponding to a specific primary color test picture has a color display abnormality.

5. The method according to claim 1, wherein The determining the normal display area in the display interface based on the size ratio and the schematic fault area identifier includes: Determining the schematic fault area in the target schematic interface based on the schematic fault area identifier; In response to a triggering operation on the second rectangular frame, selecting and adjusting a target position and a desired display size of a schematic normal display area excluding the schematic fault area in the target schematic interface; According to the size ratio, the schematic normal display area is mapped to the normal display area in the display interface.

6. The method according to claim 1, characterized in that The determining, based on the fault display area, the area description information of the normal display area in the display device includes: determining the remaining area of ​​the display area of ​​the display device except the fault display area as the normal display area; The position information and the display size of a target normal display area for displaying the target screen are determined from the normal display area.

7. The method according to claim 1, characterized in that The adjusting the display parameters of the target screen in the fault display area according to the display size and the fault display type to obtain the adjusted display parameters includes: In the case that the normal display area includes only one display area and the fault display type is a partial area display missing, the screen resolution of the target image is adjusted according to the display size and the original screen resolution to obtain an adjusted resolution, wherein the display parameters include the original screen resolution, and the image quality when the target image is displayed in the normal display area according to the adjusted resolution is close to the original image quality of the display device.

8. The method according to claim 7, characterized in that The method further comprises: When the normal display area includes N display areas and the fault display type is a partial area display loss, a display area with a larger size is selected from the N display areas as a target display area, where N is a positive integer greater than or equal to 2; The screen resolution of the target display area is adjusted according to the target display size of the target display area and the original screen resolution to obtain the adjusted resolution.

9. The method according to claim 1, characterized in that The adjusting the display parameters of the target screen in the fault display area according to the display size and the fault display type to obtain the adjusted display parameters includes: When the fault display type is color display abnormality, original color values ​​of the target image on three color channels are adjusted to obtain adjusted color values, wherein the display parameters include the original color values.

10. The method according to claim 9, characterized in that The adjusting the original color values ​​of the target image on the three color channels to obtain adjusted color values ​​includes: When the fault display type is that the primary color of the first color channel is distorted, the original color value in the fault display area is adjusted to a grayscale color value, and the normal display area is kept to display the image according to the original color value; The adjusted color value includes the grayscale color value.

11. The method according to claim 9, characterized in that The adjusting the original color values ​​of the target image on the three color channels to obtain adjusted color values ​​includes: When the fault display type is color distortion of the primary color of the first color channel, color compensation is performed on the primary color of the first color channel to obtain the adjusted color value.

12. The method according to claim 11, characterized in that When the fault display type is that the primary color of the first color channel has color distortion, performing color compensation on the primary color of the first color channel includes: Allocating the first color value of the first color channel to the second color value of the second color channel and the third color value of the third color channel according to a preset weight coefficient to obtain an adjusted second color value and an adjusted third color value; The adjusted color value includes the adjusted second color value and the adjusted third color value.

13. The method according to claim 9, characterized in that The adjusting the original color values ​​of the target image on the three color channels to obtain adjusted color values ​​includes: When the fault display type is that the primary color of the first color channel has color distortion, converting the original color values ​​on the three color channels into target color values ​​in a target color space, wherein the target color values ​​include hue information, saturation information, and brightness information after the primary color on each color channel is decomposed; Adjusting the hue information, the saturation information, and the brightness information of the three color channels except the first hue information of the first color channel to obtain adjusted hue information, adjusted saturation information, and adjusted brightness information; The adjusted hue information, the adjusted saturation information, and the adjusted brightness information are converted into an original color space to obtain the adjusted color value.

14. The method according to claim 1, wherein Displaying the target image in the normal display area according to the adjusted display parameters includes: In a case where the display device is a display connected to a data center server, the target screen including the server operating status data and configuration operation information is displayed in the normal display area according to the adjusted display parameters.

15. The method according to claim 1, wherein The step of displaying the target image in the normal display area according to the adjusted display parameters further includes: In a case where the display device is a display of a mobile smart terminal, the screen content of the target screen is displayed in the normal display area according to the adjusted display parameters.

16. A screen display device, characterized in that: include: A first acquiring unit is configured to acquire predetermined fault area information of a display device, wherein the fault area information includes a fault area identifier and a fault display type of the display device where a display fault occurs; a first processing unit, configured to determine a fault display area in the display device based on the fault area identifier; a second processing unit, configured to determine, based on the fault display area, region description information of a normal display area in the display device, wherein the region description information includes position information and display size of the normal display area; A first adjusting unit, configured to adjust display parameters of a target image within the fault display area according to the display size and the fault display type, to obtain adjusted display parameters; a first display unit, configured to display the target image in the normal display area according to the adjusted display parameters; The device is also used to generate a target schematic interface; mark the screen resolution and screen size in the target schematic interface according to the size ratio between the target schematic interface and the display interface of the display device; add a schematic fault area identifier in the target schematic interface in response to a triggering operation on the first rectangular frame; and determine the normal display area in the display interface based on the size ratio and the schematic fault area identifier.

17. An electronic device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the screen display method according to any one of claims 1 to 15 when executing the computer program.

18. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the screen display method according to any one of claims 1 to 15.

19. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the screen display method according to any one of claims 1 to 15 are implemented.

Citation Information

Patent Citations

  • Display method and display equipment

    CN105607782A