A display control method and device
By responding to HDR mode commands in multi-screen extension devices, determining and controlling display configuration parameters, the problem of monitors and all-in-one PCs not being able to support HDR mode simultaneously is solved, realizing synchronous display configuration in different usage modes and improving display effect.
Patent Information
- Application Number
- CN202210905968.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2042-07-29
AI Technical Summary
In the field of multi-screen expansion, devices such as monitors and all-in-one PCs cannot simultaneously support high dynamic range imaging (HDR) mode, making it impossible to adjust related parameters at the same time.
By responding to the command to enter HDR mode, the target display configuration parameters are determined, and the output of the display screen is controlled based on these parameters to ensure that the display configuration parameters are not unique in different usage modes.
It enables synchronized HDR mode settings for the display screen under different usage modes, solving the problem of not being able to support HDR mode simultaneously, and improving display effect and flexibility.
Smart Images

Figure CN115273770B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of information processing, and more particularly to a display control method and device. BACKGROUND
[0002] At present, the HDR (High Dynamic Range Imaging) technology is widely applied in the technical fields of camera shooting, image playing, photographing and image display. However, in the field of multi-screen expansion, for example, when a display is connected with an all-in-one machine, they each support a single mode of HDR, and cannot support the HDR mode at the same time, which makes it impossible to simultaneously adjust the related parameters for the HDR mode. SUMMARY
[0003] Therefore, the present application provides the following technical solutions.
[0004] A display control method comprises the following steps:
[0005] In response to obtaining an instruction to enter a high dynamic range imaging (HDR) mode, determining a target display configuration parameter;
[0006] Controlling a display output parameter of a target display screen based on the target display configuration parameter;
[0007] Wherein, the display configuration parameter corresponding to the target display screen is not unique.
[0008] Optionally, the step of determining the target display configuration parameter in response to obtaining the instruction to enter the HDR mode comprises:
[0009] In response to obtaining the instruction to enter the HDR mode, determining a current use mode of the electronic device;
[0010] Determining a target display configuration parameter matched with the target display screen based on at least the use mode;
[0011] Wherein, the display configuration parameter matched with the target display screen is the same or different in different use modes.
[0012] Optionally, the instruction to enter the HDR mode comprises at least one of the following:
[0013] Obtaining operation information input by an operator for entering the HDR mode of the electronic device;
[0014] Detecting an instruction to output a first content source, and the output effect of the first content source in the HDR mode is better than that in a non-HDR mode;
[0015] In the case of connecting with the content source end, the content source end obtains an instruction to enter an HDR mode.
[0016] Optionally, after obtaining the instruction to enter the high dynamic range imaging (HDR) mode, the method further comprises:
[0017] Turning on global dimming to configure corresponding display configuration parameters based on at least configuration information of a target display screen;
[0018] Storing the display configuration parameters to a first designated storage location, so that a target graphics card driver can determine target display configuration parameters from the first designated storage location.
[0019] Optionally, configuring corresponding display configuration parameters based on at least configuration information of a target display screen comprises:
[0020] Obtaining current usage information of the target display screen;
[0021] If the usage information indicates that the target display screen is in a first usage mode, configuring first display configuration parameters in the first usage mode based on configuration information of the target display screen;
[0022] If the usage information indicates that the target display screen is in a second usage mode, configuring second display configuration parameters in the second usage mode based on configuration information of the target display screen.
[0023] Optionally, determining target display configuration parameters matched with the target display screen based on the usage mode comprises:
[0024] If the electronic device is in the first usage mode, outputting first display identification information to the target graphics card driver, so that the target graphics card driver reads first display configuration parameters corresponding to the first usage mode from the first designated storage location;
[0025] If the electronic device is in the second usage mode, outputting second display identification information to the target graphics card driver, so that the target graphics card driver reads second display configuration parameters corresponding to the second usage mode from the first designated storage location.
[0026] Optionally, controlling display output parameters of the target display screen based on the target display configuration parameters comprises:
[0027] Outputting a target driving scheme based on the target display configuration parameters, to control the target graphics card driver to execute the target driving scheme.
[0028] Optionally, the method further comprises:
[0029] In response to obtaining the instruction of exiting the high dynamic range imaging (HDR) mode, the target display card driver reads the default display configuration parameter from the second specified storage bit, so that the target display screen outputs the display output parameter corresponding to the default display configuration parameter.
[0030] Optionally, the target display screen is determined based on at least one of the following manners:
[0031] Obtaining a display mode of the display screen;
[0032] Determining a first display area of the display screen corresponding to the display mode as the target display screen;
[0033] Alternatively,
[0034] Obtaining connection configuration information of the display screen connected to the electronic device;
[0035] Determining the first display screen corresponding to the connection configuration information as the target display screen.
[0036] A display control apparatus, comprising:
[0037] A determining unit configured to determine a target display configuration parameter in response to obtaining an instruction of entering a high dynamic range imaging (HDR) mode;
[0038] A control unit configured to control a display output parameter of a target display screen based on the target display configuration parameter;
[0039] The display configuration parameter corresponding to the target display screen is not unique.
[0040] An electronic device, comprising:
[0041] A memory configured to store a program;
[0042] A processor configured to schedule and execute the program in the memory, and implement the display control method in any of the above embodiments by executing the program.
[0043] A storage medium having a computer program stored thereon, and the display control method in any of the above embodiments is implemented by executing the program.
[0044] According to the technical solution, the display control method and device are disclosed, the method determines target display configuration parameters in response to an instruction of entering a high dynamic range imaging (HDR) mode, and controls display output parameters of a target display screen based on the target display configuration parameters, wherein the target display configuration parameters corresponding to the target display screen are not unique. The target display configuration parameters corresponding to the HDR mode are used to control the display output parameters of the target display screen, and the problem that display screens of different display modes cannot use the same display configuration parameters of the HDR mode for display can be solved. BRIEF DESCRIPTION OF DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0046] Figure 1 A flowchart of a display control method provided by an embodiment of the present application;
[0047] Figure 2 A schematic diagram of an application scenario provided by an embodiment of the present application;
[0048] Figure 3 A display control flowchart corresponding to an application scenario provided by an embodiment of the present application;
[0049] Figure 4 A structural schematic diagram of a display control device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0050] The technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0051] The terms "first" and "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish different objects, and are not used to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but can include steps or units not listed.
[0052] The embodiment of the present application provides a display control method, see Figure 1 The method can include the following steps:
[0053] S101, in response to obtaining an instruction of entering a high dynamic range imaging (HDR) mode, determining a target display configuration parameter.
[0054] S102, controlling a display output parameter of a target display screen based on the target display configuration parameter, wherein the target display screen corresponds to non-unique display configuration parameters.
[0055] In step S101, when the high dynamic range imaging (HDR) mode is applied to an image display scene, more content details of a picture can be presented in a bright or dark scene, that is, the HDR mode can provide natural and realistic image output even in a large contrast range.
[0056] When the instruction of entering the high dynamic range imaging (HDR) mode is obtained, the display mode of the electronic device can be the HDR mode, and the display of image information and the like is performed according to the target display configuration parameter of the current HDR mode. As more and more electronic devices support the HDR technology, and the electronic devices have various HDR modes, the current HDR mode can be a default mode of the electronic device entering the high dynamic range imaging (HDR), or can be determined according to the HDR mode specified in the instruction of entering the HDR mode, or can be determined according to the current use mode of the electronic device, and the target display configuration parameter corresponding to the HDR mode is further determined. Each HDR mode can have corresponding display configuration parameters. Taking a luminance display parameter as an example, different HDR modes have different gamma correction curves, and the display luminance can be controlled through the gamma correction curve. Therefore, the display configuration parameter corresponding to the HDR mode indicated by the current instruction is determined as the target display configuration parameter.
[0057] In one embodiment of the embodiment of the present application, the step of determining the target display configuration parameter in response to obtaining the instruction of entering the high dynamic range imaging (HDR) mode includes:
[0058] In response to obtaining the instruction of entering the high dynamic range imaging (HDR) mode, determining a current use mode of the electronic device.
[0059] At least based on the use mode, determining the target display configuration parameter corresponding to the target display screen; wherein the display configuration parameters matched by the target display screen are same or different in different use modes.
[0060] In this embodiment, when receiving an instruction indicating that the electronic device enters a high dynamic range imaging (HDR) mode, the current use mode of the electronic device can be determined based on current running information of the electronic device. Specifically, the current use mode of the electronic device can be determined according to electronic device input / output interface information, can also be determined according to network connection information of the electronic device, and can also be determined according to an application currently running on the electronic device. Taking an all-in-one computer (AIO) as an example, the AIO refers to a computer in which a host is integrated into a display. Compared with a traditional desktop computer, the AIO has advantages such as fewer connections and smaller size, and is currently widely used. The AIO usually has use modes including a PC mode and a display mode. The PC mode is a mode of the AIO in a default state, and can also be referred to as a normal mode. That is, the running mode of the AIO is similar to that of a normal desktop computer, and the AIO can complete information input, processing, and output as an electronic device. The display mode supported by the AIO refers to that a user end can connect the AIO as an extended display screen through an HDMI (High Definition Multimedia Interface) connection line or a DP (DisplayPort) connection line. In different use modes, target display parameters of a display screen can be the same or different. For example, information can be displayed based on the same default display parameters, or different display configuration parameters corresponding to different use modes can be distinguished based on characteristics of to-be-displayed information and / or performance parameters of the electronic device in different use modes. For example, a first set of display configuration parameters can be used in the PC mode of the AIO, and a second set of display configuration parameters can be used in the display mode of the AIO. The first set of display configuration parameters and the second set of display configuration parameters are different. Specifically, each display configuration parameter of each set of display configuration parameters can be different, or only part of the display configuration parameters can be different, such as only a display configuration parameter representing display brightness.
[0061] In an embodiment of the present application, obtaining an instruction to enter an HDR mode includes at least one of the following:
[0062] In a first mode, operation information input by an operator for entering the electronic device into a high dynamic range imaging (HDR) mode is obtained.
[0063] The operation information is information generated by a user and capable of instructing the electronic device to enter the HDR mode, and the corresponding operation can include an instruction operation, a voice operation, a character string input operation, an input device click operation, and a touch click operation for a touch device. For example, the user can enter a display mode interface of the electronic device, click a corresponding HDR start button by using a mouse, and generate an instruction for entering the HDR mode.
[0064] In a second mode, an instruction for outputting a first content source is detected.
[0065] The output effect of the first content source in the HDR mode is better than that in a non-HDR mode, and the first content source can be classified into different types according to the format of the content source, such as a 2D content source and a 3D content source. Furthermore, the first content source can be classified according to the output effect of the content source, such as an SDR (Software Defination Radio) content source and an HDR content source. The HDR content source can provide more dynamic range and detailed images than the SDR content source. According to different exposure time LDR (Low-Dynamic Range) images, the best detailed LDR image corresponding to each exposure time is used to synthesize a final image, which can better reflect the visual effect in a real environment. Therefore, if the HDR content source is to be output, the display configuration parameter corresponding to the HDR content source needs to be used to configure the output parameter of the electronic device, so as to obtain a good output effect. Therefore, when the instruction for outputting the first content source with a better output effect in the HDR mode is detected, it is equivalent to obtaining an instruction for entering the HDR mode.
[0066] In a third mode, in a case where a content source end is connected, an instruction for entering the HDR mode of the content source end is obtained.
[0067] In this application scenario, the display screen of the current electronic device can be used as an extended screen. When the extended screen is connected to a main screen, a processor or a control end corresponding to the main screen is used as a content source end. When the content source end obtains an instruction for entering the HDR mode, the extended screen is equivalent to obtaining the instruction for entering the HDR mode because the information output by the extended screen matches the information output by the main screen. The instruction for entering the HDR mode obtained by the content source end can be determined according to operation information for instructing the content source end to enter the HDR mode or according to the HDR mode content source to be played by the content source end.
[0068] In step S101, in response to obtaining an instruction to enter a high dynamic range imaging (HDR) mode, a target display configuration parameter is determined. The target display configuration parameter can be a display configuration parameter corresponding to the current HDR mode that is pre-stored, or can be a display configuration parameter generated based on the current HDR mode and features of a content source to be output, and environmental features and other information.
[0069] After the target display configuration parameter is determined in step S101, in step S102, the display output parameter of a target display screen can be controlled based on the target display configuration parameter. The display configuration parameter corresponding to the target display screen is not unique. The target display screen can be a display screen of the current electronic device, or an extended display screen connected to the current electronic device. Further, the target display screen can be one or more of the extended display screens connected to the current electronic device. If the display screen of the current electronic device is a main screen, and the electronic device is connected to only one extended display screen, the extended display screen can be the target display screen. If the electronic device is connected to multiple extended display screens, some or all of the extended display screens can be determined as the target display screen based on a specified instruction of an operator. For example, the selected extended display screen to be tested or the selected extended display screen of the content source to be output can be used as the target display screen.
[0070] The display configuration parameter corresponding to the target display screen is not unique. Different display configuration parameters can correspond to different use modes. For example, the target display screen can have a display configuration parameter corresponding to the main screen, and the display configuration parameter corresponding to the extended screen can be different from the display configuration parameter corresponding to the main screen. Correspondingly, when the target display screen is an extended screen, the display configuration parameter of the target display screen can match the display configuration parameter of the main screen, or the target display screen can use a default display configuration parameter.
[0071] Specifically, after obtaining an instruction to enter the HDR mode, the display output parameter of the target display screen is controlled based on the target display configuration parameter. Thus, the display output parameter of the target display screen can be determined based on the target display configuration parameter corresponding to the HDR mode, so that when the target display screen outputs information based on the display output parameter, the output effect of the target display screen can match the output effect of the HDR mode. If the target display screen is an extended screen of the current electronic device, the HDR mode of the extended screen can be synchronized with the HDR mode of the main screen of the electronic device, so that the problem that an integrated electronic device cannot support the HDR mode in the PC mode and the display mode at the same time is solved.
[0072] In an implementation form of the embodiment of the application, after obtaining the instruction to enter the high dynamic range imaging (HDR) mode, the method further includes: starting global dimming to at least configure a display configuration parameter corresponding to the configuration information of the target display screen; and storing the display configuration parameter to a first designated storage location, so that the target driver can determine the target display configuration parameter from the first designated storage location.
[0073] In order to improve the display effect of the display screen, a dynamic dimming technology is usually used to improve the display contrast of the display screen and reduce the energy consumption. According to the backlight brightness adjustment method, the dynamic dimming technology can be divided into global dimming and local dimming. The global dimming changes the backlight brightness as a whole, and the local dimming divides the backlight area into several regions which can be controlled independently, and determines the backlight brightness of the region according to the characteristic value of the image corresponding to the region. Compared with the local dimming, the global dimming does not need to calculate and control the partition of the backlight, has lower hardware cost, and can reduce the problem of light crosstalk. Therefore, in the embodiment of the application, the global dimming is used when the display configuration parameter of the target display screen is configured.
[0074] The definition of the maximum brightness of the display screen can also be different in different HDR modes, for example, the maximum brightness in the HLG 1.2 mode included in the HDR mode is 1000 nit (luminance unit nit), and the maximum brightness in the HLG 1.11 mode included in the HDR mode is 600 nit. The HDR mode that can be supported by the target display screen can be determined according to the configuration information of the target display screen, mainly according to the hardware configuration information in the configuration information corresponding to the target display screen, wherein the hardware configuration information can include the configuration information of the backlight module corresponding to the target display screen, the configuration information of the colorimeter or the optical sensor, etc., so that the corresponding display configuration parameters are configured according to the hardware configuration information corresponding to the target display screen, wherein the display configuration parameters can include brightness parameters, resolution parameters, color parameters, etc. Specifically, according to the related brightness display configuration parameters defined by VESA (Video Electronics Standards Association, Video Electronics Standards Association), HBlank (in the scanning process of converting optical signals into electrical signals, scanning always starts from the top left corner of the image, and the scanning point also moves downward at a slower rate. When the scanning point reaches the right edge of the image, the scanning point quickly returns to the left side and starts the second row scanning below the starting point of the first row. The return process between rows is called horizontal blanking.), HFront Proch (the number of VCLK from the end of a row of valid data to the start of the next horizontal synchronization signal), HSync Width (horizontal synchronization pulse width), HSync Polarity (horizontal synchronization polarity), VBlank (field blanking), VFront Porch (the number of invalid rows before the vertical synchronization signal after the end of an image), VSync Width (vertical synchronization signal pulse), VSync Polarity (vertical synchronization signal polarity) and the like.
[0075] After the corresponding display configuration parameters are configured, the display configuration parameters can be stored in a specified location, such as stored in the first specified storage site, so that the target display card driver can determine the target display configuration parameters from the first instruction storage site, for example, a group of display configuration parameters corresponding to different maximum display brightness of the HDR mode can be stored in different extension blocks, such as storing the display configuration parameters corresponding to the HLG 1.2 mode of the HDR mode in the EDID block0, and storing the display configuration parameters corresponding to the HLG 1.11 mode of the HDR mode in the EDID block1. In this way, the target display card driver can access the corresponding specified storage site to obtain the target display configuration parameters according to the current HDR mode.
[0076] Correspondingly, in an embodiment of the present application, the configuring the corresponding display configuration parameter based on at least the configuration information of the target display screen comprises: obtaining current usage information of the target display screen, and configuring the corresponding display configuration parameter based on the configuration information and the usage information of the target display screen. Wherein, the current usage information can be determined according to one or more of the feature information of the content source to be output by the target display screen, or the connection configuration information of the target display screen, or the usage state information of the target display screen. For example, according to whether the target display screen is connected with other display screens, it can be determined as PC mode or display mode.
[0077] Specifically, obtaining the current usage information of the target display screen, if the usage information represents that the target display screen is in a first usage mode, configuring a first display configuration parameter in the first usage mode based on the configuration information of the target display screen; if the usage information represents that the target display screen is in a second usage mode, configuring a second display configuration parameter in the second usage mode based on the configuration information of the target display screen.
[0078] For example, the target display screen is connected with an electronic device including a main screen, and the target display screen is an extended screen of the electronic device. The first usage mode represents that the target display screen needs to input a content source synchronized with the main screen, and the display effect of the content source in the HDR mode is better than that in the non-HDR mode, so the first display configuration parameter in the first usage mode needs to be configured according to the configuration information of the target display screen, that is, the first display configuration parameter can be the same as the target display configuration parameter corresponding to the HDR of the main screen, so that the first display configuration parameter can meet the output requirement of the content source with better display effect. Correspondingly, the second usage mode can be that the target display screen outputs other content sources, which can be non-HDR mode content sources. At this time, the second display configuration parameter can be a display configuration parameter that is not completely matched with the target display configuration parameter corresponding to the main screen, as long as it can meet the output requirement of the content source to be output by the target display screen.
[0079] Further, based on the usage mode, determining the target display configuration parameter matched with the target display screen comprises:
[0080] If the electronic device is in the first usage mode, outputting first display identification information to the target display card driver, so that the target display card driver reads the first display configuration parameter corresponding to the first usage mode from the first specified storage bit.
[0081] If the electronic device is in the second usage mode, outputting second display identification information to the target display card driver, so that the target display card driver reads the second display configuration parameter corresponding to the second usage mode from the first specified storage bit.
[0082] The first specified storage bit can store a plurality of sets of display configuration parameters, each set of display configuration parameters corresponding to a use mode of the electronic device, and each set of display configuration parameters is set to display identification information corresponding to the use mode, so that the corresponding display configuration parameters can be read according to the display identification corresponding to the use mode, to ensure that the obtained target display configuration parameters match the current use mode of the electronic device, thereby improving the display output effect of the electronic device.
[0083] Further, in the embodiment of the present application, the display output parameter of the display screen is controlled based on the target display configuration parameter, including: outputting a target driving scheme based on the target display configuration parameter to control the target graphics card driver to execute the target driving scheme.
[0084] After obtaining the target display configuration parameter, a target driving scheme for the target graphics card driver to execute can be generated according to the target configuration parameter, and a driving parameter corresponding to each target display parameter can be generated according to the target display parameter, so as to generate the target driving scheme according to the driving parameters. For example, the target display parameter includes a brightness value A corresponding to a target brightness parameter, and the driving parameter is a parameter of a driving-related component that can enable the target display screen to reach the brightness value A. Specifically, it can be a pulse width modulation driving signal parameter for driving a backlight module.
[0085] In an implementation manner of the embodiment of the present application, the display control method further includes: in response to obtaining an instruction to exit the high dynamic range imaging (HDR) mode, controlling the target graphics card driver to read a default display configuration parameter from a second specified storage bit, so that the target display screen outputs a display driving parameter corresponding to the default display configuration parameter.
[0086] In this implementation manner, the second specified storage bit stores a default display configuration parameter, that is, the default display configuration parameter is used to control the target display screen to output a corresponding display driving parameter in a non-HDR mode. The second specified storage bit is different from the first specified storage bit. The second specified storage bit can store the same default display configuration parameter as the display configuration parameter corresponding to the electronic device before obtaining the instruction to enter the HDR mode, or can store a default display configuration parameter determined based on the current environment light and other characteristics of the electronic device after obtaining the instruction to exit the high dynamic range imaging (HDR) mode.
[0087] Correspondingly, the method further includes:
[0088] In response to obtaining an instruction to exit the high dynamic range imaging (HDR) mode, obtaining state information of the target display screen; based on the state information, determining a default display configuration parameter, and storing the default display configuration parameter to a second specified storage bit;
[0089] Alternatively, before obtaining the instruction to enter the high dynamic range imaging (HDR) mode, the current display configuration parameter is determined as a default display configuration parameter, and the default display configuration parameter is stored to a second specified storage bit.
[0090] The state information of the target display screen includes one or more of ambient light state information of the target display screen, state information of the display information to be output, and power consumption state information.
[0091] Correspondingly, after obtaining the instruction to exit the high dynamic range imaging (HDR) mode, the method further includes: exiting the global dimming, and configuring a corresponding display configuration parameter based on a standard color temperature condition of the display screen; and storing the display configuration parameter to a second specified storage bit, so that the target graphics card driver can determine a default display configuration parameter from the second specified storage bit. The standard color temperature condition can be a color temperature specification determined based on device features of the electronic device. Specifically, different manufacturers of electronic devices can correspond to different color temperature specifications. The target graphics card driver can determine a default display configuration parameter that best matches the current environmental condition from the second specified storage bit based on the current environmental condition.
[0092] After obtaining the instruction to exit the high dynamic range imaging (HDR) mode, the control target graphics card driver reads a default display configuration parameter from a second specified storage bit in the embodiment of the application, including:
[0093] In response to receiving the identification data of the target display screen, the control target graphics card driver reads a default display configuration parameter from a second specified storage bit.
[0094] When the target display screen is an extended screen of the current electronic device, the identification data of the target display screen can be EDID (Extended display identification data). The EDID is a standard for display identification data formulated by VESA when formulating the DDC (Display Data Channel) communication protocol. The EDID is stored in the DDC memory in the display. When the computer host is connected to the display, the computer host reads the stored EDID in the DDC memory of the display through the DDC channel. In this way, the target graphics card driver can read a default display configuration parameter corresponding to the target display screen from the second specified storage bit according to the identification data of the target display screen, so that the display configuration parameter that best matches the current display screen can be determined in an application scenario with multiple extended screens, and the output effect of the display screen is improved.
[0095] Further, after obtaining the default display configuration parameters, a default driving scheme can be output based on the default display configuration parameters to control the target graphics card driver to execute the default driving scheme, so that the target display screen outputs display output parameters matching the default driving scheme.
[0096] The default driving scheme can include driving parameters configured according to each default display configuration parameter, such as resolution driving parameters, color driving parameters, brightness driving parameters, and the like.
[0097] In some application scenarios, the display screen is not unique and can include two display screens or multiple display screens. The display screen can be configured with two display screens or multiple display screens, or the electronic device can be externally connected to multiple display screens. Based on this, the embodiments of the present application further provide a method for determining a target display screen, wherein the target display screen is determined based on at least one of the following methods:
[0098] In the first method, the display mode of the display screen is obtained, and the first display area of the display screen corresponding to the display mode is determined as the target display screen.
[0099] In this method, the split screen scenario of the electronic device is mainly considered, that is, the display screen of the electronic device can display the same or different display information through area division. This makes the current display screen have multiple partitions, which can be displayed based on the same display configuration parameters or different display configuration parameters. For example, in the scenario of testing the display effect of the display screen in the HDR mode, the display configuration parameters corresponding to each display area can be different, or the display configuration parameters of some display areas can be determined based on the area position of the display area. The display configuration parameters of some display areas are the same, and the display configuration parameters of some display areas are different. Specifically, the display configuration parameters of the display areas at the edge of the display screen can be the same, and the display configuration parameters of the display areas at the center of the display screen can be different.
[0100] The display mode of the display screen mainly refers to the display mode of each display area of the current display screen. The display mode can be determined according to the positional relationship between each display partition and the operator or the gaze information of the operator, can also be determined according to the current display content of each display partition, can also be determined according to the interaction information between each display partition and the operator, and can also be determined according to the use history data of the operator for each display partition. Specifically, the display area closest to the operator in each display partition can be determined as the target display screen, the display area most interacted with the operator, such as receiving the most selection operation, click operation, input operation, etc. of the operator, can also be determined as the target display screen, the display area with the HDR content source to be output can also be determined as the target display area, and the display area corresponding to the selection instruction of the operator can also be determined as the target display screen according to the selection instruction of the operator.
[0101] In mode two, connection configuration information of a display screen connected with the electronic device is obtained, and a first display screen corresponding to the connection configuration information is determined as a target display screen.
[0102] In this mode, the electronic device has multiple expansion screens through an external display screen, and a target display screen is determined from each expansion screen. The target display screen is mainly determined according to connection configuration information, which includes configuration information of a connection interface of the electronic device and the display screen. For example, in the scene of testing a display screen, a certain type of display screen is specified for testing, and the interface information of the display screen of this type can be used to determine the target display screen for testing. The connection configuration information can also include positional configuration information of the display screen and the electronic device, and the display screen meeting a target position is determined as the target display screen. The target position can be determined based on the optimal operation or gaze of the user. The connection configuration information can also include configuration information of the display screen itself, such as the size, color contrast, saturation, brightness, resolution, color gamut, and other parameters of the display screen. The display screen corresponding to the configuration information meeting a target condition is determined as the target display screen, where the target condition can be determined according to the current environmental brightness parameter or the information to be displayed. The connection configuration information can also include connection mode configuration information, such as wired connection mode and wireless connection mode, and can also include the power consumption parameter of the display screen to be connected. Thus, the corresponding first display screen is determined as the target display screen according to the connection configuration information.
[0103] Further, the corresponding display screen can be determined as the target display screen according to the specified information of the operator in the current application scene. The specified information can be display screen test information, display screen output information, etc.
[0104] A display control method is disclosed in the embodiments of the present application. The method determines target display configuration parameters in response to obtaining an instruction to enter a high dynamic range imaging (HDR) mode. The display output parameters of a target display screen are controlled based on the target display configuration parameters, wherein the display configuration parameters corresponding to the target display screen are not unique. The present application controls the display output parameters of the target display screen based on the target display configuration parameters corresponding to the HDR mode, thereby solving the problem that display screens of different display modes cannot use the same display configuration parameters of the HDR mode for display.
[0105] The display control method of the embodiments of the present application is described below in a specific application scenario. Referring to Figure 2 , a schematic diagram of an application scenario is provided for the embodiments of the present application. In the application scenario, an all-in-one computer 201 is connected to a notebook computer 202 through a connection line 203, Figure 2 The connection line shown in the figure is a wired connection mode, such as connection through HDMI or DP, or a wireless connection mode. The embodiments do not limit this. After the all-in-one computer 201 is connected to the notebook computer 202, the display screen of the notebook computer 202 can be used as an extended screen of the all-in-one computer, that is, the display screen of the notebook computer is used as a target display screen. Referring to Figure 3 , a schematic diagram of a processing flow is provided. When an operator opens the HDR function in the display interface corresponding to the operating system, it is equivalent to obtaining an instruction to enter the HDR mode. After the display processing chip firmware (scalar FW) detects that the HDR is opened, the display processing chip (scalar) opens the global dimming function, adjusts a set of target display configuration parameters based on the display specification of the HDR mode, and stores the parameters in a custom extension storage block, so that the display processing chip can control the display output parameters of the display screen of the notebook computer based on the display configuration parameters in the extension storage block, so as to meet the display requirements of the HDR mode, such as meeting the HDR brightness test specification.
[0106] Specifically, after the display processing chip firmware (scalar FW) detects that the HDR is opened, the global dimming function is opened. The display processing chip adjusts a target set of display configuration parameters based on the display specification of the HDR mode. The set of display configuration parameters corresponds to the current HDR mode, and the parameters are stored in a custom extension storage block, such as EDID block1. For example, the address of the extension storage block (Extension Block) can be read from the address of the default EDID block0-7Eh.
[0107] After the display processing chip turns on the HDR function, a new EDID (Extended Display Identification Data) is outputted. After the display card driver detects the change of the new EDID, the display card driver reads the related display configuration parameters in the specified extended storage block corresponding to the EDID, such as reading the related data in the EDID block1. Specifically, the target display configuration parameters such as EDID, resolution, color, brightness, etc. are read and a corresponding target driving scheme is outputted based on the target display configuration parameters to control the target display screen to output with corresponding display output parameters.
[0108] After the operator turns off the HDR function in the display interface, the display processing chip firmware (scalar FW) detects that the HDR is turned off, and the display processing chip will turn off the global dimming and adjust a set of display configuration parameters to the default storage block based on the standard color temperature specification of the current display screen, such as storing in the EDID block0. Specifically, after the display processing chip turns off the HDR, a new EDID is outputted. After the display card driver detects the change of the new EDID, the display card driver reads the default display configuration parameters in the default EDID block0, such as reading the related settings of EDID data, resolution, color, brightness, etc. and outputs the corresponding default driving scheme to control the target display screen to output with corresponding display output parameters based on the default driving scheme.
[0109] The embodiment can solve the problem that the display and the all-in-one computer only support single mode of HDR and cannot support HDR mode in PC mode and display mode of the all-in-one computer at the same time, and realize that the display control chip can control the brightness parameter adjustment of the all-in-one computer in PC mode and can realize the HDR related brightness test.
[0110] In another embodiment of the present application, a display control device is also provided, which is shown in Figure 4 The device can include:
[0111] A determination unit 401 is configured to determine target display configuration parameters in response to obtaining an instruction to enter a high dynamic range imaging (HDR) mode.
[0112] A control unit 402 is configured to control display output parameters of a target display screen based on the target display configuration parameters.
[0113] The display configuration parameters corresponding to the target display screen are not unique.
[0114] The embodiment of the application discloses a display control device, a determination unit determines target display configuration parameters in response to obtaining an instruction to enter a high dynamic range imaging (HDR) mode; and a control unit controls display output parameters of a target display screen based on the target display configuration parameters, wherein the target display screen corresponds to non-unique display configuration parameters. The application realizes control of display output parameters of a target display screen based on target display configuration parameters corresponding to an HDR mode, and can solve the problem that display screens of different display modes cannot use the same display configuration parameters of an HDR mode for display.
[0115] In an embodiment, the determination unit 401 comprises:
[0116] a first determination subunit configured to determine a current use mode of the electronic device in response to obtaining an instruction to enter an HDR mode;
[0117] a second determination subunit configured to determine target display configuration parameters matched with a target display screen based at least on the use mode;
[0118] wherein the display configuration parameters matched with the target display screen are the same or different in different use modes.
[0119] Further, the instruction to enter the HDR mode comprises at least one of the following:
[0120] obtaining operation information input by an operator for entering the HDR mode;
[0121] detecting an instruction to output a first content source, wherein the output effect of the first content source in the HDR mode is better than that in a non-HDR mode;
[0122] in a case of connection with a content source end, the content source end obtains an instruction to enter the HDR mode.
[0123] In an embodiment, the device further comprises:
[0124] a configuration unit configured to start global dimming to configure corresponding display configuration parameters based at least on configuration information of the target display screen;
[0125] a storage unit configured to store the display configuration parameters to a first designated storage location, so that the target display card driver can determine the target display configuration parameters from the first designated storage location.
[0126] Optionally, wherein the configuration of the corresponding display configuration parameters based at least on the configuration information of the target display screen comprises:
[0127] obtaining current use information of the target display screen;
[0128] If the use information represents that the target display screen is in a first use mode, configuring a first display configuration parameter in the first use mode based on configuration information of the target display screen;
[0129] If the use information represents that the target display screen is in a second use mode, configuring a second display configuration parameter in the second use mode based on configuration information of the target display screen.
[0130] Further, wherein, based on the use mode, determining the target display configuration parameter matched with the target display screen comprises:
[0131] If the electronic device is in a first use mode, outputting first display identification information to the target display card driver, so that the target display card driver reads a first display configuration parameter corresponding to the first use mode from the first specified storage bit;
[0132] If the electronic device is in a second use mode, outputting second display identification information to the target display card driver, so that the target display card driver reads a second display configuration parameter corresponding to the second use mode from the first specified storage bit.
[0133] In an embodiment, wherein the control unit is specifically configured to:
[0134] Outputting a target driving scheme based on the target display configuration parameter to control the target display card driver to execute the target driving scheme.
[0135] Optionally, the control unit of the apparatus is further configured to:
[0136] In response to obtaining an instruction to exit the high dynamic range imaging (HDR) mode, controlling the target display card driver to read a default display configuration parameter from a second specified storage bit, so that the target display screen outputs a display output parameter corresponding to the default display configuration parameter.
[0137] In this embodiment, the target display screen is determined based on at least one of the following:
[0138] Obtaining a display mode of the display screen;
[0139] Determining a first display area of the display screen corresponding to the display mode as the target display screen;
[0140] Or,
[0141] Obtaining connection configuration information of the display screen connected with the electronic device;
[0142] Determine a first display screen corresponding to the connection configuration information as a target display screen.
[0143] It should be noted that the specific implementation of each unit and sub-unit in the present embodiment can refer to the corresponding content in the foregoing, which will not be described in detail here.
[0144] In another embodiment of the present application, a readable storage medium is also provided, which stores a computer program. When the computer program is executed by a processor, each step of the display control method according to any one of the above is implemented.
[0145] In another embodiment of the present application, an electronic device is also provided, which can include:
[0146] A memory is configured to store an application program and data generated by running of the application program.
[0147] A processor is configured to execute the application program to implement the display control method according to any one of the above.
[0148] It should be noted that the specific implementation of the processor in the present embodiment can refer to the corresponding content in the foregoing, which will not be described in detail here.
[0149] Each embodiment in the present specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts between each embodiment can be referred to each other. For the device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and the related parts can be referred to the method part.
[0150] The skilled person can further realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized by electronic hardware, computer software or combination of the two. In order to clearly show the interchangeability of hardware and software, the components and steps of each example have been described in the above description. Whether the functions are realized by hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0151] The steps of the method or algorithm described in combination with the embodiments disclosed herein can be directly implemented by hardware, software module executed by a processor, or combination of the two. The software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0152] The foregoing description of the disclosed embodiments enables a person skilled in the art to make or use the application. Modifications of these embodiments will occur to persons of skill in the art, and that the generic principles defined herein can be applied to other embodiments without departing from the spirit or scope of the application. Therefore, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A display control method, comprising: determining a target display configuration parameter in response to obtaining an instruction to enter a high dynamic range imaging (HDR) mode; controlling a display output parameter of a target display screen based on the target display configuration parameter; wherein the target display configuration parameter corresponding to the target display screen is not unique; wherein the determining the target display configuration parameter in response to obtaining the instruction to enter the high dynamic range imaging (HDR) mode comprises: determining a current use mode of an electronic device in response to obtaining the instruction to enter the high dynamic range imaging (HDR) mode; determining a target display configuration parameter matched with the target display screen based on at least the use mode; wherein the display configuration parameter matched with the target display screen is the same or different in different use modes.
2. The method of claim 1, wherein, The obtaining the instruction to enter the high dynamic range imaging (HDR) mode comprises at least one of: obtaining operation information input by an operator for entering the high dynamic range imaging (HDR) mode of the electronic device; detecting an instruction to output a first content source, an output effect of the first content source in the HDR mode being better than an output effect in a non-HDR mode; in a case of connecting with a content source end, obtaining an instruction to enter the HDR mode by the content source end.
3. The method of claim 1, after obtaining the instruction to enter the high dynamic range imaging (HDR) mode, further comprising: starting global dimming to configure a corresponding display configuration parameter based on at least configuration information of the target display screen; storing the display configuration parameter to a first designated storage location, so that a target display card driver is able to determine the target display configuration parameter from the first designated storage location.
4. The method of claim 3, wherein, The configuring the corresponding display configuration parameter based on at least the configuration information of the target display screen comprises: obtaining current use information of the target display screen; if the use information indicates that the target display screen is in a first use mode, configuring a first display configuration parameter in the first use mode based on the configuration information of the target display screen; if the use information indicates that the target display screen is in a second use mode, configuring a second display configuration parameter in the second use mode based on the configuration information of the target display screen.
5. The method of claim 3, wherein, The determining the target display configuration parameter matched with the target display screen based on the use mode comprises: if the electronic device is in the first use mode, outputting first display identification information to the target display card driver, so that the target display card driver reads the first display configuration parameter corresponding to the first use mode from the first designated storage location; if the electronic device is in the second use mode, outputting second display identification information to the target display card driver, so that the target display card driver reads the second display configuration parameter corresponding to the second use mode from the first designated storage location.
6. The method of any one of claims 1, 3, 4, or 5, wherein, The controlling the display output parameter of the target display screen based on the target display configuration parameter comprises: outputting a target driving scheme based on the target display configuration parameter, to control a target display card driver to execute the target driving scheme.
7. The method of claim 6, further comprising: In response to obtaining the instruction of exiting the high dynamic range imaging (HDR) mode, the target display card driver reads the default display configuration parameter from the second specified storage bit, so that the target display screen outputs the display output parameter corresponding to the default display configuration parameter.
8. The method of any one of claims 1, 3, 4, 5, or 7, wherein, The target display screen is determined based on at least one of the following manners: Obtaining a display mode of the display screen; Determining a first display area of the display screen corresponding to the display mode as the target display screen; Or, Obtaining connection configuration information of the display screen connected to the electronic device; Determining the first display screen corresponding to the connection configuration information as the target display screen.
9. A display control apparatus, comprising: A determination unit configured to determine a target display configuration parameter in response to obtaining an instruction of entering a high dynamic range imaging (HDR) mode; A control unit configured to control a display output parameter of a target display screen based on the target display configuration parameter; Wherein, the display configuration parameter corresponding to the target display screen is not unique; Wherein, the determination of the target display configuration parameter in response to the instruction of entering the high dynamic range imaging (HDR) mode comprises: Determining a current use mode of the electronic device in response to the instruction of entering the high dynamic range imaging (HDR) mode; Determining a target display configuration parameter matched with the target display screen based on at least the use mode; Wherein, the display configuration parameter matched with the target display screen is the same or different in different use modes.
Citation Information
Patent Citations
Display device and multi-window parameter setting method
CN114327199A