Display control method and electronic device

By creating a virtual display screen and processing the content to be displayed based on display parameters, the problem of the inability to customize the display content caused by the closed operating system is solved, realizing the customization and diversified adjustment of the display content, and improving the display effect and functionality.

CN115312008BActive Publication Date: 2026-02-27LENOVO (BEIJING) LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211054784.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2026-02-27
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

The existing operating system's display architecture is closed, preventing users from customizing and adjusting the displayed content, and making it impossible to optimize the display according to different screens or user needs.

Method used

Create a virtual display screen, obtain the content to be displayed, process it based on display parameters to form display content suitable for the display screen, and control the display screen to display the processed content.

Benefits of technology

It enables customization and diversification of displayed content, allowing for adjustments based on display type and user needs to improve display quality and functionality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115312008B_ABST
    Figure CN115312008B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a display control method and an electronic device, the method comprises the following steps: creating a virtual display screen, the virtual display screen is used for obtaining to-be-displayed content; determining display parameters of a display used for displaying the to-be-displayed content; processing the to-be-displayed content obtained by the virtual display screen according to at least the display parameters, so as to form at least content capable of being displayed by the display; and controlling the display to display the processed to-be-displayed content. The display control method of the present application can at least adjust to-be-displayed content according to display parameters of a display screen, and then make the display screen display the processed display content.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the computer technology field, and in particular, to a display control method and an electronic device. BACKGROUND

[0002] Currently, the display architecture of many electronic device operating systems is in a completely closed state, and computer manufacturers cannot customize and specially process display content. For example, in the display architecture of existing operating systems, the display data of an application graphical interface is directly output to a display screen for display after being processed by a display adapter (such as a graphics card). If a user wants to post-process the final display data to implement certain customization functions, the user cannot complete the post-processing, that is, the display is completely controlled by the operating system, and the user cannot customize the processing, for example, the user cannot adjust the display content according to different display screens. SUMMARY

[0003] Embodiments of the present application provide a display control method, including:

[0004] creating a virtual display screen, the virtual display screen being configured to obtain display content; determining display parameters of a display configured to display the display content;

[0005] processing the display content obtained by the virtual display screen according to at least the display parameters to form at least content that can be displayed by the display;

[0006] controlling the display to display the processed display content.

[0007] As an optional embodiment, when the display includes a plurality of displays, the processing of the display content according to the display parameters includes:

[0008] determining a type of the display content;

[0009] determining a target display configured to display the display content based on the type of the display content and the display parameters of each display;

[0010] processing the display content based on the display parameters of the target display.

[0011] As an optional embodiment, when the display includes a plurality of displays, the processing of the display content according to the display parameters includes:

[0012] determining a target display configured to display the display content based on a user instruction;

[0013] processing the display content based on the display parameters of the target display.

[0014] As an optional embodiment, the determining the type of the content to be displayed comprises:

[0015] determining an application program for generating the content to be displayed;

[0016] determining the type of the content to be displayed based on the application program; or

[0017] determining the type based on the format of the content to be displayed.

[0018] As an optional embodiment, the display is an ink screen.

[0019] processing the content to be displayed based on the display parameters of the display comprises:

[0020] when the content to be displayed is a first image, processing the first image based on the display parameters of the display to form a second image that can be displayed by the display, the first image and the second image being different at least in color.

[0021] As an optional embodiment, the display is a high-resolution display.

[0022] processing the content to be displayed based on at least the display parameters of the display comprises:

[0023] when the content to be displayed is a low-resolution image, processing the low-resolution image based on the display parameters of the display to form a high-resolution image adapted to the display.

[0024] As an optional embodiment, processing the content to be displayed obtained by the virtual display screen based on at least the display parameters comprises:

[0025] copying the content to be displayed of the virtual display screen to a memory buffer, and performing image processing on the content to be displayed in the memory buffer;

[0026] the controlling the display to display the processed content to be displayed comprises:

[0027] controlling the rendering of the processed content to be displayed to the display.

[0028] As an optional embodiment, the method further comprises:

[0029] modifying the configuration parameters of the display of the electronic device to enable the virtual display screen to obtain the content to be displayed.

[0030] Another embodiment of the present application provides an electronic device, comprising:

[0031] a creating module configured to create a virtual display screen, the virtual display screen being configured to obtain content to be displayed;

[0032] determining a display parameter of a display for displaying the content to be displayed;

[0033] processing the content to be displayed obtained by the virtual display according to the display parameter to form content capable of being displayed by the display;

[0034] controlling the display to display the processed content to be displayed.

[0035] As an optional embodiment, when the display includes multiple displays, the processing the content to be displayed according to the display parameter includes:

[0036] determining a type of the content to be displayed;

[0037] determining a target display for displaying the content to be displayed based on the type of the content to be displayed and the display parameter of each display;

[0038] processing the content to be displayed based on the display parameter of the target display.

[0039] Based on the disclosure of the above embodiments, the beneficial effects of the embodiments of the present application include that the embodiments create a virtual display for obtaining content to be displayed, and make the virtual display determine a display parameter of a display for displaying the content to be displayed, and then process the content to be displayed based on the display parameter to form content capable of being displayed by the display, and control the display to display the processed content to be displayed. Based on the method of the embodiments, the display control right is no longer controlled by the operating system, so the display content can be changed according to actual conditions, such as different types of displays or user-defined requirements, to improve the display function and effect, and make the display diversified. BRIEF DESCRIPTION OF DRAWINGS

[0040] Figure 1 is a flowchart of a display control method in the embodiments of the present application.

[0041] Figure 2 is another flowchart of a display control method in the embodiments of the present application.

[0042] Figure 3 is another flowchart of a display control method in the embodiments of the present application.

[0043] Figure 4 is a structural block diagram of an electronic device in the embodiments of the present application. DETAILED DESCRIPTION

[0044] Hereinafter, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. Embodiments of the present application are not limited by or to the specific embodiments described herein.

[0045] It is to be understood that various alterations can be made to the embodiments disclosed herein. Therefore, the following description is not to be construed as limiting, but merely as a non-limiting example of the embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the disclosure.

[0046] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the general description of the disclosure given above, and the detailed description of the embodiments given below, serve to explain the principles of the present disclosure.

[0047] These and other characteristics of the present application will become apparent from the following description of the preferred forms thereof given, by way of non-limiting example only, with reference to the accompanying drawings.

[0048] It is also to be understood that even though a few examples of implementations of the present application are described in detail, many other equivalents and modifications of the present application are possible in light of the teachings. All such equivalents and modifications are within the scope of the present application, as defined by the following claims, and are intended to be covered thereby.

[0049] The above and other aspects, features, and advantages of the present disclosure will become more apparent from the following detailed description, taken in conjunction with the accompanying drawings, when properly considered together.

[0050] Hereinafter, specific embodiments of the present disclosure will be described with reference to the accompanying drawings; however, it should be understood that the disclosed embodiments are merely examples of the present disclosure, which can be implemented in various ways. Well-known and / or repetitive functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present disclosure. Therefore, the specific structural and functional details disclosed herein are not intended to be limiting, but are merely used as a basis for the claims and a representative basis for teaching those skilled in the art to diversely use the present disclosure in substantially any appropriate detailed structure.

[0051] The present specification can use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which can refer to one or more of the same or different embodiments of the application.

[0052] Hereinafter, specific embodiments of the present application will be described in detail with reference to the accompanying drawings.

[0053] As Figure 1 shown, the embodiments of the present application provide a display control method, comprising:

[0054] S100: creating a virtual display screen, the virtual display screen being used to acquire content to be displayed;

[0055] S200: determining a display parameter of a display used for displaying the to-be-displayed content;

[0056] S300: processing the to-be-displayed content obtained by the virtual display screen according to at least the display parameter, to form at least content capable of being displayed by the display;

[0057] S400: controlling the display to display the processed to-be-displayed content.

[0058] For example, the electronic device has a physical display screen, hereinafter referred to as a display screen, in order to avoid the phenomenon that the user cannot process the to-be-displayed content before it is displayed by the display screen, the operating system such as the windows system directly delivers the to-be-displayed content processed by the graphic card to the display screen for display based on the previous operation. In the embodiment, a virtual display screen is first created, and the virtual display screen is controlled to receive the to-be-displayed content output by the graphic card instead of the physical display screen, that is, the virtual display screen is used to obtain the to-be-displayed content, so as to avoid that the to-be-displayed content is directly delivered to the display screen by the graphic card. Then, a display parameter of the display screen used for displaying the to-be-displayed content is determined, the display parameter can reflect the display characteristics of the display screen, such as the content attribute and the display effect that can be supported by the display screen. According to the display parameter, the processing algorithm can perform matching processing on the to-be-displayed content, so that the processed to-be-displayed content is matched with the display parameter, and it is ensured that the display screen can display the to-be-displayed content based on the display characteristics. Moreover, the processing algorithm can also receive a user inputted custom display instruction, the instruction also contains the display parameter which is partially the same as the display parameter of the display screen, so as to ensure that the display screen can display the processed to-be-displayed content, and the display parameter in the instruction can also contain the corresponding parameter of the display effect supported by the display screen, so that the processed to-be-displayed content can achieve the display effect expected by the user after being displayed by the display screen. Alternatively, the processing algorithm can also automatically determine the display effect matched with the to-be-displayed data according to the previous historical data, experience data, etc., and then process the to-be-displayed data combined with the display parameter of the display screen, to obtain the to-be-displayed content which can be matched and displayed by the display screen and has the target display effect. When the processing of the to-be-displayed content is completed, the to-be-displayed content can be controlled to be transmitted to the display screen for display.

[0059] Based on the disclosure of the above embodiments, the beneficial effects of the present embodiment include creating a virtual display screen for obtaining the content to be displayed, and causing the virtual display screen to determine the display parameters of the display for displaying the content to be displayed, and then processing the content to be displayed based on the display parameters to form content that can be displayed by the display, and controlling the display to display the processed content to be displayed. Based on the method of the present embodiment, the display control is no longer controlled by the operating system, so the display content can be changed according to the actual situation, such as different types of display screens, or user's custom needs, to improve the display function and effect, and make the display diversified.

[0060] Specifically, the virtual display screen is created, and the virtual display screen obtains the content to be displayed, including:

[0061] The virtual display screen is created, and the configuration parameters of the display of the electronic device are modified to make the display output control of the display by the electronic device or the operating system be handed over to the processing algorithm, and then the virtual display screen obtains the content to be displayed based on the processing algorithm.

[0062] For example, as shown in Figure 2 A virtual display screen can be created based on an application program or a software operation interface, such as an IDDCX interface, then the EDID (Extended Display Identification Data) in the registry of the electronic device can be modified, and then the display can be initialized through the winrt underlying interface, and then the display can be shielded so that the operating system cannot identify the display, and finally the display is no longer managed by the display framework of the operating system. Then, the modified EDID can be reported to the operating system, so that the operating system can regard the virtual display screen as a display. At this time, the content to be displayed controlled by the operating system is processed by the video card and then obtained by the virtual display screen, so that the processing algorithm can perform subsequent post-processing on the content to be displayed, and then the processed content to be displayed is transmitted to the display for display.

[0063] Further, the virtual display screen in the present embodiment can obtain the content to be displayed based on the DirectX interface (an application program interface), which has the function of accessing the video card and the sound card, so as to realize the effect that the virtual display screen obtains the content to be displayed output by the video card, such as mapping the content to be displayed output by the video card to the virtual display screen, so that the virtual display screen obtains the content to be displayed. Of course, the above-mentioned method for realizing that the virtual display screen obtains the content to be displayed is not unique, and is not limited to using the DirectX interface.

[0064] Further, when the virtual display screen obtains the content to be displayed according to the display parameters, the present embodiment includes:

[0065] S301: copying the content to be displayed of the virtual display screen to a memory buffer, and performing image processing on the content to be displayed in the memory buffer.

[0066] For example, the content to be displayed obtained by the virtual display screen, including the graphical interface of an application program, is first copied to a memory buffer, such as a display buffer memory of a Gpu, and then the content to be displayed in the memory buffer is processed based on a processing algorithm in combination with display parameters. In this embodiment, the copying of the content to be displayed is also implemented by a DirectX interface, and can also be implemented based on other program interfaces.

[0067] Further, as shown in Figure 3 When the electronic device is connected with multiple different displays, the content to be displayed is processed based on at least the display parameters, including:

[0068] S302: determining the type of the content to be displayed;

[0069] S303: determining a target display for displaying the content to be displayed based on the type of the content to be displayed and the display parameters of each display;

[0070] S304: processing the content to be displayed based on the display parameters of the target display;

[0071] The display parameters at least include one or more of the following: color, resolution.

[0072] For example, the type of the content to be displayed can be determined first, such as whether the content to be displayed is a document or a multimedia, and then the target display most suitable for displaying the content to be displayed can be determined based on the type of the content to be displayed and the display parameters of each display that have been determined, and the target display can also be determined based on the running state of the current multiple displays, such as which displays are in an idle state. Since the display parameters of a display can represent the display characteristics of the display, based on the characteristics, it can be determined which type of content to be displayed is more suitable for the display or can only be displayed, and based on this algorithm, the target display for matching the content to be displayed can be determined, and when the target display is determined, the algorithm can further refine the content to be displayed based on the display parameters of the target display, or further refine the content to be displayed in combination with the display requirements input by the user, so that the target display can perfectly present the preset effect when displaying the processed content to be displayed.

[0073] For example, in the application, the algorithm first determines that the display type of the to-be-displayed content is multimedia, which can be a video stream in particular. In order to ensure that the video stream can be displayed clearly, a high-resolution display is preferably selected for display. Therefore, based on this, the algorithm filters the display parameters of multiple displays to determine that the display that supports displaying the video stream and is high-resolution is the target display. At this time, the algorithm can process the video stream based on the display parameters of the target display, such as processing the resolution of the video stream to form a high-resolution video stream, so that the display effect is best when displayed by the target display.

[0074] Alternatively, the algorithm first determines that the display type of the to-be-displayed content is a document, which can be a PPT or TXT document in particular. When it is a PPT document and a color document, such as a PPT containing pictures, the algorithm can determine that this type of document also needs high resolution and high definition display based on the document type, that is, the algorithm determines the best display effect of the to-be-displayed content and the display parameter range required to achieve the effect. Then, the algorithm can filter the display parameters of multiple displays based on the determined information to ultimately determine the matching target display. When the document type is a TXT document, it is black and white and the character spacing is small. At this time, in order to facilitate user reading, the algorithm can determine to use a screen with black and white as the keynote or a screen with a small display area for display, which is the best effect and easy for users to read. Therefore, the algorithm can filter the display parameters of multiple displays based on the determined information to ultimately determine that the display with a slightly smaller display area and a black and white keynote is the target display, such as determining a display with an ink screen as the target display.

[0075] In addition, if the type of the to-be-displayed content or the display requirement input by the user represents that the display content supports or needs to be displayed with a special effect, the algorithm can also filter the display parameters of multiple displays based on the special effect or in combination with the display requirement input by the user to ultimately determine that the special display effect of the to-be-displayed content can be achieved in a better way.

[0076] Further, in the embodiment, when determining the type of the to-be-displayed content, the following is included:

[0077] S305: determining an application program that generates the to-be-displayed content;

[0078] S306: determining the type of the to-be-displayed content based on the application program; or

[0079] S307: determining the type based on the format of the to-be-displayed content.

[0080] For example, if the to-be-displayed content is generated by a video player, an animation making program, a 3D image processor or the like, the algorithm can determine the type of the to-be-displayed content based on the source of the to-be-displayed content, i.e., the application program that generates the content. For example, the to-be-displayed content generated by a video player, an animation making program or the like is usually of a video type, the to-be-displayed content generated by a 3D image processor or the like is of a picture type, and the to-be-displayed content generated by a WORD program or the like is of a document type. Alternatively, the name of the to-be-displayed content has a suffix representing the format thereof, or the attribute information of the to-be-displayed content contains format information, etc. In this case, the algorithm can accurately determine the type of the to-be-displayed content based on the format information.

[0081] Further, in another embodiment, when the display includes multiple displays, the to-be-displayed content is processed according to at least the display parameter, including:

[0082] S308: determining a target display for displaying the to-be-displayed content based on a user instruction;

[0083] S309: processing the to-be-displayed content based on the display parameter of the target display;

[0084] The display parameter includes at least one or more of the following: color, resolution.

[0085] For example, the user instruction is obtained, which contains information of a target display specified by the user for displaying the to-be-displayed content. Based on the information, the algorithm can directly determine the display that needs to display the to-be-displayed content. Then, the algorithm can directly determine the display parameters of the target display and directly process the to-be-displayed content based on the display parameters to form a form that can be displayed by the target display. The display parameters in the embodiment include, but are not limited to, corresponding parameters such as color, resolution, display effect / feature, etc. The color parameters include color, saturation, contrast, brightness, etc. When processing, the color of the to-be-displayed content can be adjusted, such as being adjusted to black and white tone, cold tone, warm tone, etc. The saturation, contrast, and brightness of the to-be-displayed content can also be adjusted to make the display effect different. Low-resolution images can also be super-resolution processed to form high-resolution images, etc. The specific adjustment needs to be matched according to the specific display parameters. The to-be-displayed content can also be adjusted according to the user input instruction about the display effect and display requirement. For example, when the input instruction contains information for displaying the to-be-displayed content in a certain special effect, the algorithm can further adjust the to-be-displayed content based on the display information of the special effect, so that the target display can display the processed to-be-displayed content in the special effect indicated by the user when displaying the to-be-displayed content. The special effect can be thermal imaging effect display, different tone display, etc. For the to-be-displayed content containing audio, such as audio-video, the output of the audio can also be adjusted when applied, so that the overall output effect of the to-be-displayed content meets the special effect required by the user.

[0086] Specifically, when the display is an ink screen,

[0087] Processing the to-be-displayed content based on at least the display parameters of the display, including:

[0088] S310: When the to-be-displayed content is a first image, processing the first image based on the display parameters of the display to form a second image that can be displayed by the display. The first image and the second image are different at least in color.

[0089] For example, when the display is an ink screen, the display parameters at least have a requirement that the color of the to-be-displayed content needs to be black and white tone. Therefore, when the to-be-displayed content is a first image and is a color image or other non-black and white tone image, or the to-be-displayed content is a video stream formed by a plurality of first images, the processing algorithm will at least change the color of the first image to black and white to form a black and white image or a video stream with black and white tone. Of course, not only the tone will be changed. If the resolution, saturation, etc. of the display do not match the parameter information in the attribute information of the current to-be-displayed image, corresponding changes also need to be made so that the display can normally display the to-be-displayed content.

[0090] When the display is a high-resolution display

[0091] processing the to-be-displayed content based on the display parameter of the display, comprising:

[0092] S311: when the to-be-displayed content is a low-resolution image, processing the low-resolution image based on the display parameter of the display to form a high-resolution image adapted to the display.

[0093] For another example, the display is a high-resolution display, when the algorithm determines that the to-be-displayed content is a low-resolution image or a video stream formed by a low-resolution image through the identification analysis, the algorithm can perform super-resolution processing on the to-be-displayed content based on the parameter related to the resolution in the display, so as to form a high-resolution image or a video stream matched with the display parameter, and then enable the display to normally display the to-be-displayed image. Also, similarly, the resolution adjustment is only one of them, if the display parameter is inconsistent with other parameters related to color, corresponding adjustment is also needed. In addition, if the user inputs a special requirement related to the display effect, such as a requirement of displaying a special effect, the algorithm also needs to further adjust the to-be-displayed content in combination with the parameter related to the display effect input by the user.

[0094] Optionally, the algorithm can also determine the current ambient light intensity or determine the current time period, and then determine the display effect adapted to the current environment based on the ambient light intensity and / or the time period, and then assist in adjusting the display parameter of the to-be-displayed content in combination with the determined display effect, so that it not only meets the display requirements of the display and the display requirements customized by the user, but also meets the display requirements of the current environment.

[0095] Optionally, when the display is multiple, the processing algorithm can also control different displays to display different contents, which can be specifically implemented in combination with different modes of the virtual display screen, for example, when the virtual display screen runs a copy mode, the to-be-displayed content can be processed and then copied and mapped to a certain display, so that it is synchronously displayed with the virtual display screen itself, or the virtual display screen runs an expansion mode, based on which the virtual display screen can send the processed to-be-displayed content to different displays, so that the contents displayed by each display are different from the virtual display screen, or the contents displayed by each display are all different. For example, the first display can display the to-be-displayed content without processing, the second display can display the to-be-displayed content in black and white color, the third display can display the to-be-displayed content in high resolution, and the fourth display can display the to-be-displayed content with special display effect.

[0096] Further, when controlling the display to display the processed to-be-displayed content, it comprises:

[0097] S401: controlling to render the processed to-be-displayed content to the display.

[0098] Specifically, in the embodiment, the processed to-be-displayed content can be first copied to a memory buffer based on a DirectX interface (or other plug-in), the to-be-displayed content in the memory buffer is processed based on display parameters, then a rendering pipeline can be created based on the DirectX interface (or other plug-in), and the processed to-be-displayed content is rendered and drawn to a target display based on the rendering pipeline, so as to realize display.

[0099] As shown in Figure 4 Another embodiment of the present application simultaneously provides an electronic device, which comprises:

[0100] a creating module configured to create a virtual display screen configured to obtain to-be-displayed content;

[0101] a determining module configured to determine display parameters of a display configured to display the to-be-displayed content;

[0102] a processing module configured to process the to-be-displayed content obtained by the virtual display screen according to at least the display parameters, so as to form content capable of being displayed by the display;

[0103] a display module configured to control the display to display the processed to-be-displayed content.

[0104] Based on the disclosure of the above embodiment, it can be known that the embodiment has the beneficial effects including that a virtual display screen configured to obtain to-be-displayed content is created, the virtual display screen determines display parameters of a display configured to display the to-be-displayed content, then the to-be-displayed content is processed based on the display parameters, so as to form content capable of being displayed by the display, and the display is controlled to display the processed to-be-displayed content. Based on the electronic device of the embodiment, the display control right of the electronic device is no longer controlled by the operating system, so the display content can be changed according to actual conditions, such as different types of display screens or user-defined requirements, so as to improve display function and effect and make display diversified.

[0105] As an optional embodiment, when the display comprises a plurality of displays, the processing of the to-be-displayed content according to at least the display parameters comprises:

[0106] determining a type of the to-be-displayed content;

[0107] determining a target display configured to display the to-be-displayed content based on the type of the to-be-displayed content and display parameters of each display;

[0108] processing the to-be-displayed content based on the display parameters of the target display;

[0109] The display parameters at least include one or more of the following: color, resolution.

[0110] As an optional embodiment, when the display comprises a plurality of displays, the processing the content to be displayed according to the display parameter comprises:

[0111] determining a target display for displaying the content to be displayed based on a user instruction;

[0112] processing the content to be displayed based on a display parameter of the target display.

[0113] As an optional embodiment, the determining the type of the content to be displayed comprises:

[0114] determining an application generating the content to be displayed;

[0115] determining the type of the content to be displayed based on the application; or

[0116] determining the type based on a format of the content to be displayed.

[0117] As an optional embodiment, the display is an ink screen.

[0118] the processing the content to be displayed according to the display parameter of the display comprises:

[0119] when the content to be displayed is a first image, processing the first image based on the display parameter of the display to form a second image displayable by the display, the first image and the second image being different at least in color.

[0120] As an optional embodiment, the display is a high-resolution display.

[0121] the processing the content to be displayed according to the display parameter of the display comprises:

[0122] when the content to be displayed is a low-resolution image, processing the low-resolution image based on the display parameter of the display to form a high-resolution image adapted to the display.

[0123] As an optional embodiment, the processing the content to be displayed obtained by the virtual display screen according to the display parameter comprises:

[0124] copying the content to be displayed of the virtual display screen to a memory buffer, and performing image processing on the content to be displayed in the memory buffer;

[0125] the controlling the display to display the processed content to be displayed comprises:

[0126] controlling the processed content to be displayed to be rendered into the display.

[0127] As an optional embodiment, comprising:

[0128] The configuration parameter of the display of the electronic device is modified to enable the virtual display screen to acquire the content to be displayed.

[0129] Another embodiment of the present application further provides an electronic device, comprising:

[0130] one or more processors;

[0131] a memory configured to store one or more programs;

[0132] When the one or more programs are executed by the one or more processors, the one or more processors implement the display control method described above.

[0133] An embodiment of the present application further provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the display control method described above. It should be understood that each scheme in the embodiment has the corresponding technical effects in the method embodiments described above, which will not be described here.

[0134] An embodiment of the present application further provides a computer program product tangibly stored on a computer readable medium and comprising computer readable instructions, which, when executed, cause at least one processor to perform a display control method such as in the embodiments described above. It should be understood that each scheme in the embodiment has the corresponding technical effects in the method embodiments described above, which will not be described here.

[0135] It should be noted that the computer storage medium of the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable medium may, for example, but not limited to, be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples of computer readable storage media can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage medium, a magnetic storage medium, or any suitable combination of the above. In the present application, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or apparatus. In the present application, the computer readable signal medium can include a data signal carried in a baseband or as a carrier wave part of a carrier wave, which carries computer readable program code. Such a propagated data signal can take many forms, including but not limited to an electromagnetic signal, an optical signal or any suitable combination of the above. The computer readable signal medium can also be any computer readable medium other than the computer readable storage medium, which can send, propagate or transmit a program configured for use by or in conjunction with an instruction execution system, device or apparatus. The program code contained on the computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, cable, RF, etc., or any suitable combination of the above.

[0136] It should be understood that although the present application is described in terms of various embodiments, not every embodiment contains only one independent technical solution, and the description of the specification is only for the sake of clarity, and those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that those skilled in the art can understand.

[0137] The above embodiments are only exemplary embodiments of the present application and are not used to limit the present application, and the protection scope of the present application is defined by the claims. Those skilled in the art can make various modifications or equivalent replacements to the present application within the spirit and protection scope of the present application, and such modifications or equivalent replacements should also be considered to fall within the protection scope of the present application.

Claims

1. A display control method, comprising: A virtual display screen is created, and the configuration parameters of a monitor of an electronic device are modified. The virtual display screen is used to obtain the content to be displayed output from the graphics card of the electronic device based on the modified configuration parameters of the electronic device monitor, and to prevent the content to be displayed from being sent from the graphics card to the electronic device monitor. Determine the display parameters of the display used to display the content to be displayed; The content to be displayed obtained from the virtual display screen is processed according to the display parameters at least to form content that can be displayed by the display screen; Control the display to show the processed content to be displayed; The process of processing the content to be displayed obtained from the virtual display screen based at least on the display parameters includes: The content to be displayed on the virtual display screen is copied to the memory buffer, and image processing is performed on the content to be displayed in the memory buffer; The step of controlling the display to show the processed content to be displayed includes: controlling the rendering of the processed content to be displayed onto the display; The creation of a virtual display screen and modification of the configuration parameters of a display on an electronic device include: The virtual display screen is created, and the extended display identification data of a display of the electronic device is modified, wherein the modified extended display identification data is used to characterize the virtual display screen. The display is initialized, and the modified extended display identification data is reported to the operating system so that the virtual display screen can obtain the content to be displayed.

2. The method according to claim 1, wherein, The step of processing the content to be displayed at least according to the display parameters includes: Determine the type of the content to be displayed; The target display for displaying the content to be displayed is determined based on the type of the content to be displayed and the display parameters of each display. The content to be displayed is processed based on the display parameters of the target display.

3. The method according to claim 1, wherein, The step of processing the content to be displayed at least according to the display parameters includes: The target display for displaying the content to be displayed is determined based on user instructions; The content to be displayed is processed based on the display parameters of the target display.

4. The method according to claim 2, wherein, Determining the type of content to be displayed includes: Determine the application that generated the content to be displayed; The type of the content to be displayed is determined based on the application; or The type is determined based on the format of the content to be displayed.

5. The method according to claim 1, 2, or 3, wherein, The display is an e-ink screen; The step of processing the content to be displayed at least according to the display parameters of the display includes: When the content to be displayed is a first image, the first image is processed based on the display parameters of the display to form a second image that the display can display, wherein the first image and the second image are at least different in color.

6. The method according to claim 1, 2, or 3, wherein, The display is a high-resolution display; The step of processing the content to be displayed at least according to the display parameters of the display includes: When the content to be displayed is a low-resolution image, the low-resolution image is processed based on the display parameters of the display to form a high-resolution image adapted to the display.

7. An electronic device comprising: A creation module is used to create a virtual display screen and modify the configuration parameters of a display of an electronic device. The virtual display screen is used to obtain the content to be displayed output from the graphics card of the electronic device based on the modified configuration parameters of the electronic device's display, and to prevent the content to be displayed from being sent from the graphics card to the electronic device's display. A determining module is used to determine the display parameters of the display used to display the content to be displayed; The processing module is configured to process the content to be displayed obtained from the virtual display screen according to at least the display parameters, so as to form content that can be displayed by the display screen. The display module is used to control the display to show the processed content to be displayed. The process of processing the content to be displayed obtained from the virtual display screen based at least on the display parameters includes: The content to be displayed on the virtual display screen is copied to the memory buffer, and image processing is performed on the content to be displayed in the memory buffer; The step of controlling the display to show the processed content to be displayed includes: controlling the rendering of the processed content to be displayed onto the display; The creation of a virtual display screen and modification of the configuration parameters of a display on an electronic device include: The virtual display screen is created, and the extended display identification data of a display of the electronic device is modified, wherein the modified extended display identification data is used to characterize the virtual display screen. The display is initialized, and the modified extended display identification data is reported to the operating system so that the virtual display screen can obtain the content to be displayed.

8. The electronic device according to claim 7, wherein, When the displays include multiple displays, the processing of the content to be displayed based at least on the display parameters includes: Determine the type of the content to be displayed; The target display for displaying the content to be displayed is determined based on the type of the content to be displayed and the display parameters of each display. The content to be displayed is processed based on the display parameters of the target display.

Citation Information

Patent Citations

  • Multimedia data double-screen playing method and system

    CN107450874A

  • Display screen control method, display system and vehicle

    CN110134354A

  • Display control method and device and storage medium

    CN113515225A