Method, device and computer-readable medium for adjusting display parameters of a display screen
By acquiring the trigger events of the display parameters of the display screen, determining whether the trigger events meet the preset conditions, and adjusting the display parameters of the first and second display areas of the display screen in synchronous or asynchronous mode, the visual fatigue caused by the brightness difference in dual-screen displays is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202111133329.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-27
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2041-09-27
AI Technical Summary
In existing technologies, the brightness adjustment of the first and second display areas of a dual-screen display differs, leading to visual fatigue and affecting the user experience.
By acquiring the trigger events of the display parameters of the display screen, it is determined whether the trigger events meet the preset conditions. If they do, the display parameters of the two display areas are adjusted in synchronous mode; otherwise, they are adjusted separately in asynchronous mode, thus realizing synchronous and asynchronous adjustment of the display parameters.
It solves the problem of visual fatigue caused by differences in display parameters and improves the user's display experience in different scenarios.
Smart Images

Figure CN114020223B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a method, apparatus, and computer-readable medium for adjusting display parameters of a display screen. Background Technology
[0002] To meet user demand for laptop displays, more and more computers are featuring dual-screen designs. Currently, operating systems provided by Microsoft do not have brightness adjustment functionality for dual screens. For example, Windows 10 or Windows 11 rely on the built-in monitor's brightness control to adjust the brightness of the specific display.
[0003] Currently, although the ASUS Zenbook series features a dual-screen design and offers dual-screen brightness adjustment capabilities, such as adjusting the brightness of the second display area using pulse width modulation, a difference in brightness still exists between the adjusted second and first display areas. This prevents the first and second display areas from effectively coordinating, leading to visual fatigue for users during dual-screen use and ultimately reducing the user experience. Summary of the Invention
[0004] To address the problems existing in the prior art, embodiments of the present invention provide a method, apparatus, and computer-readable medium for adjusting display parameters of a display screen, which can effectively adjust the display parameters of a first area and a second area of the display screen, thereby improving the user experience.
[0005] To achieve the above objectives, according to a first aspect of the present invention, a method for adjusting display parameters of a display screen is provided. The display screen includes a first display area and a second display area. The method includes: acquiring a trigger event for the display parameters of the display screen; if the trigger event satisfies a preset condition, determining that the adjustment mode of the display parameters of the display screen is a synchronous mode, and simultaneously adjusting the display parameters of the first display area and the second display area; if the trigger event does not satisfy the preset condition, determining that the adjustment mode of the display parameters of the display screen is an asynchronous mode, and respectively adjusting the display parameters of the first display area and the second display area.
[0006] Optionally, the method further includes: detecting the display objects in the first display area and the second display area to obtain detection results; if the detection results indicate that the first display area and the second display area are displaying different parts of the same object, then switching the current adjustment mode from asynchronous mode to synchronous mode, and simultaneously adjusting the display parameters of the first display area and the second display area.
[0007] Optionally, the method further includes: detecting the working mode of the first display area; if the detection result indicates that the working mode of the first display area is a first preset mode, then switching the current adjustment mode from synchronous mode to asynchronous mode, and adjusting the display parameters of the second display area to a preset threshold; if the detection result indicates that the first display area exits the first preset mode, then switching the current adjustment mode from asynchronous mode to synchronous mode, and simultaneously adjusting the display parameters of the first display area and the second display area.
[0008] Optionally, if the detection result indicates that the working mode of the first display area is a first preset mode, then switching the current adjustment mode from synchronous mode to asynchronous mode includes: if the detection result indicates that the working mode of the first display area is a first preset mode, then detecting the running time of the first preset mode; if the detection result indicates that the running time meets a preset threshold, then switching the current adjustment mode from synchronous mode to asynchronous mode.
[0009] Optionally, the trigger event for obtaining the display parameters of the display screen includes: obtaining a trigger operation for adjusting the display parameters of the display screen, generating a parameter adjustment interface; the parameter adjustment interface includes adjustment mode options; and obtaining a trigger event based on the selection of the adjustment mode options.
[0010] Optionally, the trigger event for obtaining the display parameters of the display screen includes: obtaining a trigger instruction for adjusting the display parameters of the display screen; based on the trigger instruction, querying the user configuration list to see if there is an adjustment mode corresponding to the trigger instruction, and generating a trigger event based on the query result.
[0011] Optionally, the user configuration list includes a first configuration list and a second configuration list; a mapping relationship is established between the first trigger instruction and the synchronous mode to obtain the first configuration list; a mapping relationship is established between the second trigger instruction and the asynchronous mode to obtain the second configuration list.
[0012] To achieve the above objectives, according to a second aspect of the present invention, an apparatus for adjusting display parameters of a display screen is also provided. The display screen includes a first display area and a second display area. The apparatus includes: an acquisition module for acquiring a trigger event for the display parameters of the display screen; a synchronization module for determining that the adjustment mode of the display parameters of the display screen is a synchronous mode if the trigger event meets a preset condition, and simultaneously adjusting the display parameters of the first display area and the second display area; and an asynchronous module for determining that the adjustment mode of the display parameters of the display screen is an asynchronous mode if the trigger event does not meet the preset condition, and respectively adjusting the display parameters of the first display area and the second display area.
[0013] Optionally, the device further includes: a first detection module, configured to detect the display objects in the first display area and the second display area, and obtain a detection result; and a first switching module, configured to switch the current adjustment mode from asynchronous mode to synchronous mode and simultaneously adjust the display parameters of the first display area and the second display area if the detection result indicates that the first display area and the second display area are displaying different parts of the same object.
[0014] To achieve the above objectives, according to a third aspect of the present invention, a computer-readable medium is also provided, on which a computer program is stored, wherein when the program is executed by a processor, it implements the method for adjusting display parameters of a display screen as described in the first aspect.
[0015] Compared with the prior art, the present invention provides a method, apparatus, and computer-readable medium for adjusting display parameters of a display screen. The display screen includes a first display area and a second display area. First, a trigger event for the display parameters is acquired. Then, it is determined whether the trigger event meets a preset condition. If the trigger event meets the preset condition, the adjustment mode for the display parameters is determined to be synchronous, and the display parameters of the first and second display areas are adjusted simultaneously. If the trigger event does not meet the preset condition, the adjustment mode for the display parameters is determined to be asynchronous, and the display parameters of the first and second display areas are adjusted separately. Therefore, by acquiring and judging the trigger event for the display parameters, determining the adjustment mode based on the judgment result, and adjusting the display parameters of the first and second display areas based on the adjustment mode, synchronous and asynchronous adjustment of the first and second display areas of the display screen can be achieved. This solves the problem of user visual fatigue caused by the difference in display parameters between the first and second display areas in the prior art, thereby improving the user experience of the display screen in different scenarios.
[0016] It should be understood that the teachings of this invention do not need to achieve all the beneficial effects described above, but rather that specific technical solutions can achieve specific technical effects, and other embodiments of this invention can also achieve beneficial effects not mentioned above. Attached Figure Description
[0017] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the invention. In the drawings, the same or corresponding reference numerals denote the same or corresponding parts.
[0018] Figure 1 This is a schematic flowchart illustrating a method for adjusting display parameters of a display screen according to an embodiment of the present invention;
[0019] Figure 2This is a schematic flowchart illustrating a method for adjusting display parameters of a display screen according to another embodiment of the present invention;
[0020] Figure 3 This is a schematic flowchart illustrating a method for adjusting display parameters of a display screen according to another embodiment of the present invention.
[0021] Figure 4 This is a schematic flowchart illustrating a method for adjusting display parameters of a display screen according to another embodiment of the present invention;
[0022] Figure 5 This is a schematic flowchart illustrating a trigger event for obtaining display parameters of a display screen according to an embodiment of the present invention;
[0023] Figure 6 This is a schematic block diagram of a device for adjusting display parameters of a display screen according to an embodiment of the present invention. Detailed Implementation
[0024] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0025] like Figure 1 The diagram shows a schematic flowchart of a method for adjusting display parameters of a display screen according to an embodiment of the present invention. The method includes a first display area and a second display area; the method includes at least the following steps: S101, acquiring a trigger event for display parameters; S102, if the trigger event meets a preset condition, determining the adjustment mode of the display parameters to be synchronous mode, and simultaneously adjusting the display parameters of the first and second display areas; S103, if the trigger event does not meet the preset condition, determining the adjustment mode of the display parameters to be asynchronous mode, and adjusting the display parameters of the first and second display areas respectively.
[0026] In S101, there are multiple ways to obtain trigger events, including manual triggering such as triggering keyboard hotkeys, triggering operating system display parameter settings, triggering the parameter adjustment interface of an app, and ALS ambient light detection. For triggering the parameter adjustment interface of an app, the specific implementation process is as follows: obtain the trigger operation for adjusting the display parameters and generate the parameter adjustment interface; the parameter adjustment interface includes adjustment mode options; based on the selection of the adjustment mode options, obtain the trigger event.
[0027] Trigger events can also be obtained automatically through system-generated trigger commands. For example, by detecting the displayed objects in the first and second display areas, and generating trigger commands based on the detection results, the system can automatically trigger events to obtain the display parameters. Alternatively, trigger events can be obtained automatically through system time. Therefore, based on the different methods of obtaining trigger events, the display parameters can be manually or automatically adjusted, thereby improving the user experience in different scenarios.
[0028] It should be noted that the first display area and / or the second display area can refer to a specific flexible screen or a projection area; no further restrictions are imposed here.
[0029] Here, the display parameters can be one or more of the following: brightness, saturation, and sharpness of the display screen.
[0030] In S102 and S103, the preset conditions are for triggered events. Since the methods of obtaining triggered events differ, each triggered event has a corresponding preset condition. For example, for a triggered event that obtains display parameters based on the adjustment mode option in the APP's parameter adjustment interface, the corresponding preset condition is the selection of the adjustment mode option. If the adjustment mode option is selected, it means the triggered event meets the preset condition, and the adjustment mode is determined to be synchronous mode; if the adjustment mode option is not selected, it means the triggered event does not meet the preset condition, and the adjustment mode is determined to be asynchronous mode. As another example, for a triggered event that obtains display parameters based on the current system time, the corresponding preset condition is that the current system time equals a preset time. If the current system time equals the preset time, it means the triggered event meets the preset condition, and the adjustment mode is synchronous mode; if the current system time is less than the preset time, it means the triggered event does not meet the preset condition, and the adjustment mode is asynchronous mode.
[0031] In synchronous mode, the adjustment of display parameters for the first and second display areas is achieved through the following process: the graphics card is notified that the current adjustment mode is synchronous mode; then the graphics card obtains the display parameters of the first display area from the operating system, and adjusts the display parameters of the second display area based on the display parameters of the first display area, so that the second display area has the same display parameters as the first display area, thereby achieving synchronous adjustment of the first and second display areas.
[0032] In asynchronous mode, the adjustment of display parameters for the first and second display areas is achieved through the following process: the graphics card is notified that the current adjustment mode is asynchronous; then the graphics card adjusts the display parameters of the first and second display areas respectively; thus, the first and second display areas are adjusted asynchronously.
[0033] It should be noted that there are two independent API interfaces. One API interface is used to notify the graphics card whether the current adjustment mode is synchronous or asynchronous. The other API interface is used to adjust the display parameters of the first and second display areas synchronously or asynchronously.
[0034] Here, the graphics card can adjust the display parameters of the first and second display areas through backlight-assisted modulation technology or pulse width modulation technology, without making too many restrictions here.
[0035] This invention, through obtaining and judging the trigger events of display parameters of the display screen, determines the adjustment mode of the display parameters based on the judgment result, and adjusts the display parameters of the first display area and the second display area based on the adjustment mode. This enables synchronous and asynchronous adjustment of the first and second display areas of the display screen, solving the problem of user visual fatigue caused by the difference in display parameters between the first and second display areas in the prior art, thereby improving the user experience of the display screen in different scenarios.
[0036] like Figure 2 The diagram shows a schematic flowchart of a method for adjusting display parameters of a display screen according to another embodiment of the present invention. This embodiment is a further optimization based on the foregoing embodiment. A method for adjusting display parameters of a display screen, the display screen including a first display area and a second display area; the method includes at least the following operation flow: S201, obtaining a trigger event for display parameters of the display screen; S202, if the trigger event does not meet a preset condition, determining that the adjustment mode of the display parameters of the display screen is asynchronous mode, and adjusting the display parameters of the first display area and the second display area respectively; S203, detecting the display objects of the first display area and the second display area, and obtaining detection results; S204, if the detection results indicate that the first display area and the second display area are both displaying different parts of the same object, switching the current adjustment mode from asynchronous mode to synchronous mode, and adjusting the display parameters of the first display area and the second display area simultaneously.
[0037] The specific implementation processes of S201 and S202 are as follows: Figure 1 The specific implementation processes of S101 and S103 in the illustrated embodiments are similar, and will not be described in detail here.
[0038] Specifically, at a preset time, the displayed objects in the first and second display areas in asynchronous mode are detected. If the detection result indicates that the content displayed in the second display area is a continuation of the content displayed in the first display area (i.e., the display mode used by the first and second display areas is split-screen display), or that the second display area displays a portion of the content displayed in the first display area (i.e., the display mode used by the first and second display areas is drawing board mode), it means that both the first and second display areas are displaying different parts of the same object. In this case, the current adjustment mode is switched from asynchronous mode to synchronous mode, and the display parameters of the first and second display areas are adjusted simultaneously. If the detection result indicates that the first and second display areas are not displaying different parts of the same object, no processing is performed, and the display screen continues to display in asynchronous mode.
[0039] It should be noted that the solution in this embodiment can be applied to scenarios of browsing web pages, as well as scenarios of viewing images.
[0040] This embodiment can detect the displayed objects in the first and second display areas in asynchronous mode, and switch the current adjustment mode from asynchronous to synchronous mode based on the detection results to synchronously adjust the display parameters of the first and second display areas. Therefore, it can adjust the display parameters of the first and second display areas based on the displayed object, achieving automatic adjustment. This solves the problem of user visual fatigue caused by the difference in display parameters between the first and second display areas when users view the same object on a dual-screen laptop, thus improving the user experience.
[0041] like Figure 3 The diagram shown is a schematic flowchart of a method for adjusting display parameters of a display screen according to another embodiment of the present invention. This embodiment is a further optimization based on the foregoing embodiment. A method for adjusting display parameters of a display screen, the display screen including a first display area and a second display area, the method includes at least the following operation steps: S301, acquiring a trigger event for display parameters of the display screen; S302, if the trigger event meets a preset condition, determining that the adjustment mode of the display parameters of the display screen is a synchronous mode, and simultaneously adjusting the display parameters of the first display area and the second display area; S303, detecting the working mode of the first display area; S304, if the detection result indicates that the working mode of the first display area is a first preset mode, switching the current adjustment mode from synchronous mode to asynchronous mode, and adjusting the display parameters of the second display area to a preset threshold; S305, if the detection result indicates that the first display area exits the first preset mode, switching the current adjustment mode from asynchronous mode to synchronous mode, and simultaneously adjusting the display parameters of the first display area and the second display area.
[0042] The specific implementation processes of S301 and S302 are similar to those of S101 and S102, and will not be repeated here.
[0043] The first preset mode is manually set and is not specifically limited here. The first preset mode can be a full-screen mode, such as for games or videos; it can also be a deep office mode, such as for document editing, PPT processing, or web browsing; or it can automatically enter the lock screen or display a rotating wallpaper. For example, if the detection result indicates that a game program has entered full-screen mode in the first display area, the current adjustment mode will be automatically switched from synchronous mode to asynchronous mode, and the brightness of the second display area will be reduced to 50% after 3 minutes and to 0% after 5 minutes. If the detection result indicates that the first display area has exited full-screen mode, the current mode will be automatically switched from asynchronous mode back to synchronous mode.
[0044] It should be noted that both full-screen mode and deep office mode have corresponding configuration lists, such as configuration lists that establish mapping relationships between game programs, video programs and full-screen mode.
[0045] This invention detects the working mode of the first display area in synchronous mode, switches the current adjustment mode from synchronous mode to asynchronous mode based on the detection result, and then adjusts the display parameters of the second display area. This enables automatic switching of the display screen based on the working mode and effective adjustment of the display parameters of the second display area, thereby facilitating the use of the display screen in different scenarios and improving the user experience.
[0046] like Figure 4 The diagram shown is a schematic flowchart of a method for adjusting display parameters of a display screen according to another embodiment of the present invention. This embodiment is a further optimization based on the foregoing embodiment. A method for adjusting display parameters of a display screen, the display screen including a first display area and a second display area, the method includes at least the following operation flow: S401, acquiring a trigger event for display parameters of the display screen; S402, if the trigger event meets a preset condition, determining that the adjustment mode of the display parameters of the display screen is a synchronous mode, and simultaneously adjusting the display parameters of the first display area and the second display area; S403, detecting the working mode of the first display area; S404, if the detection result indicates that the working mode of the first display area is a first preset mode, detecting the running time of the first preset mode; S405, if the detection result indicates that the running time meets a preset threshold, switching the current adjustment mode from synchronous mode to asynchronous mode.
[0047] The specific implementation processes of S401 and S402 are as follows: Figure 1 The specific implementation processes of S101 and S102 in the illustrated embodiments are similar, and will not be described in detail here.
[0048] Specifically, the first preset mode is user desktop standby. For example, the working mode of the first display area is detected. If the detection result indicates that the first display area is in user desktop standby mode, the standby time of user desktop standby is detected. If the detection result indicates that the standby time is greater than 5 minutes, the current adjustment mode is automatically switched from synchronous mode to asynchronous mode, and the brightness of the second display area is reduced to 50% after 3 minutes and reduced to 0% after 5 minutes.
[0049] like Figure 5 The diagram illustrates a schematic flowchart of a trigger event for obtaining display parameters of a screen, according to an embodiment of the present invention. This embodiment is a further optimization based on the aforementioned embodiment. Obtaining the trigger event for obtaining display parameters includes: S501, establishing a mapping relationship between a first trigger command and a synchronous mode to obtain a first configuration list; establishing a mapping relationship between a second trigger command and an asynchronous mode to obtain a second configuration list; S502, obtaining a trigger command for adjusting display parameters of the screen; S503, based on the trigger command, querying the user configuration list to see if there is an adjustment mode corresponding to the trigger command, and generating a trigger event based on the query result; S504, if the trigger event meets a preset condition, determining that the adjustment mode of the display parameters of the screen is a synchronous mode, and simultaneously adjusting the display parameters of the first display area and the second display area; S505, if the trigger event does not meet the preset condition, determining that the adjustment mode of the display parameters of the screen is an asynchronous mode, and respectively adjusting the display parameters of the first display area and the second display area.
[0050] The specific implementation processes of S502, S504, and S505 are as follows: Figure 1 The specific implementation processes of S101, S102 and S103 in the illustrated embodiments are similar, and will not be described again here.
[0051] In S501, the second trigger command can be generated based on triggering a work mode such as full-screen display or deep office mode. The first trigger command can be generated based on triggering a display mode such as split-screen display or drawing board display; there are no strict limitations here.
[0052] This invention generates a configuration list by pre-establishing a mapping relationship between different trigger commands and adjustment modes; after obtaining the trigger command, it queries the corresponding adjustment mode from the configuration list and adjusts the display parameters of the first and second display areas of the display screen based on the adjustment mode, thereby achieving automatic adjustment, improving the efficiency and accuracy of display parameter adjustment, and thus improving the user experience.
[0053] It should be understood that, in the various embodiments of the present invention, the order of the above-mentioned process numbers does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0054] like Figure 6 The diagram shown is a schematic block diagram of a device for adjusting display parameters of a display screen according to an embodiment of the present invention. The device 600 includes: an acquisition module 601, used to acquire trigger events for display parameters; a synchronization module 602, used to determine that the adjustment mode of the display parameters is synchronous mode if the trigger event meets preset conditions, and simultaneously adjust the display parameters of the first and second display areas; and an asynchronous module 603, used to determine that the adjustment mode of the display parameters is asynchronous mode if the trigger event does not meet preset conditions, and respectively adjust the display parameters of the first and second display areas.
[0055] In an optional embodiment, the device further includes: a first detection module, configured to detect the display objects in the first display area and the second display area, and obtain a detection result; and a first switching module, configured to switch the current adjustment mode from asynchronous mode to synchronous mode and simultaneously adjust the display parameters of the first display area and the second display area if the detection result indicates that the first display area and the second display area are displaying different parts of the same object.
[0056] In an optional embodiment, the device further includes: a second detection module for detecting the working mode of the first display area; a second switching module for switching the current adjustment mode from synchronous mode to asynchronous mode and adjusting the display parameters of the second display area to a preset threshold if the detection result indicates that the working mode of the first display area is a first preset mode; and a third detection module for switching the current adjustment mode from asynchronous mode to synchronous mode and simultaneously adjusting the display parameters of the first display area and the second display area if the detection result indicates that the first display area has exited the first preset mode.
[0057] In an optional embodiment, the second switching mode includes: a detection unit, configured to detect the running time of the first preset mode if the detection result indicates that the working mode of the first display area is a first preset mode; and a switching unit, configured to switch the current adjustment mode from synchronous mode to asynchronous mode if the detection result indicates that the running time meets a preset threshold.
[0058] In an optional embodiment, the acquisition module 601 includes: an acquisition unit, configured to acquire a trigger operation for adjusting the display parameters of the display screen and generate a parameter adjustment interface; the parameter adjustment interface includes adjustment mode options; and a generation unit, configured to generate a trigger event based on the selection of the adjustment mode options.
[0059] In an optional embodiment, the acquisition module 601 includes: an acquisition unit further configured to acquire a trigger instruction for adjusting the display parameters of the display screen; and a production unit further configured to, based on the trigger instruction, query from the user configuration list whether there is an adjustment mode corresponding to the trigger instruction, and generate a trigger event based on the query result.
[0060] In an optional embodiment, the user configuration list includes a first configuration list and a second configuration list; the device further includes: a first mapping unit, configured to establish a mapping relationship between a first trigger instruction and a synchronous mode to obtain a first configuration list; and a second mapping unit, configured to establish a mapping relationship between a second trigger instruction and an asynchronous mode to obtain a second configuration list.
[0061] The above-described apparatus can execute the method for adjusting display screen parameters provided in an embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method for adjusting display screen parameters. Technical details not described in detail in this embodiment can be found in the method for adjusting display screen parameters provided in the embodiment of the present invention.
[0062] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0063] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components may be combined, or integrated into another device, or some features may be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0064] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0065] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0066] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage media, read-only memory (ROM), magnetic disks, or optical disks.
[0067] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage media, ROM, magnetic disks, or optical disks.
[0068] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for adjusting display parameters of a display screen, characterized in that, The display screen includes a first display screen and a second display screen, the first display screen includes a first display area, and the second display screen includes a second display area. The method includes: A trigger event for obtaining the display parameters of the display screen is generated by the user's selection of the display adjustment mode option, which includes synchronous mode and asynchronous mode; If the triggering event meets the preset conditions, the adjustment mode of the display parameters of the display screen is determined to be synchronous mode. The display parameters of the first display screen and the second display screen are continuously adjusted simultaneously based on synchronous mode until the adjustment mode is switched to asynchronous mode. The simultaneous adjustment of the display parameters of the first display screen and the second display screen based on synchronous mode includes: notifying the graphics card that the current adjustment mode is synchronous mode through a first API interface; then the graphics card continuously obtains the display parameters of the first display screen from the operating system through a second API interface. When a change in the display parameters of the first display screen is detected, the display parameters of the second display screen are adjusted based on the display parameters of the first display screen. If the triggering event does not meet the preset conditions, the adjustment mode of the display parameters of the display screen is determined to be asynchronous mode, and the display parameters of the first display screen and the second display screen are continuously adjusted based on asynchronous mode until the adjustment mode is switched to synchronous mode; the adjustment of the display parameters of the first display screen and the second display screen based on asynchronous mode includes: notifying the graphics card that the current adjustment mode is asynchronous mode through the first API interface; then the graphics card adjusts the display parameters of the first display screen and the second display screen through the second API interface.
2. The method according to claim 1, characterized in that, Also includes: The objects displayed in the first display area and the second display area are detected to obtain the detection results; If the detection result indicates that the first display area and the second display area are displaying different parts of the same object, then the current adjustment mode is switched from asynchronous mode to synchronous mode, and the display parameters of the first display area and the second display area are adjusted simultaneously.
3. The method according to claim 1, characterized in that, Also includes: The working mode of the first display area is detected, and the detection result is obtained; If the detection result indicates that the working mode of the first display area is the first preset mode, then the current adjustment mode is switched from synchronous mode to asynchronous mode, and the display parameters of the second display area are adjusted to the preset threshold. If the detection result indicates that the first display area has exited the first preset mode, then the current adjustment mode is switched from asynchronous mode to synchronous mode, and the display parameters of the first display area and the second display area are adjusted simultaneously.
4. The method according to claim 3, characterized in that, If the detection result indicates that the working mode of the first display area is a first preset mode, then switching the current adjustment mode from synchronous mode to asynchronous mode includes: If the detection result indicates that the working mode of the first display area is a first preset mode, then the running time of the first preset mode is detected. If the detection result indicates that the running time meets the preset threshold, the current adjustment mode will be switched from synchronous mode to asynchronous mode.
5. The method according to claim 1, characterized in that, The triggering event for obtaining the display parameters of the screen includes: A trigger operation to adjust the display parameters of the screen is obtained, and a parameter adjustment interface is generated; the parameter adjustment interface includes adjustment mode options; The trigger event is obtained based on the selection of the adjustment mode option.
6. The method according to claim 1, characterized in that, The triggering event for obtaining the display parameters of the screen includes: Obtain a trigger command to adjust the display parameters of the display screen; Based on the trigger command, the system queries the user configuration list to see if there is an adjustment mode corresponding to the trigger command, and generates a trigger event based on the query result.
7. The method according to claim 6, characterized in that, The user configuration list includes a first configuration list and a second configuration list; Establish a mapping relationship between the first trigger command and the synchronization mode to obtain the first configuration list; The second trigger command is mapped to the asynchronous mode to obtain the second configuration list.
8. A device for adjusting display parameters of a display screen, characterized in that, The display screen includes a first display screen and a second display screen, the first display screen includes a first display area, and the second display screen includes a second display area. The device includes: The acquisition module is used to acquire the trigger event of the display parameters of the display screen. The trigger event is generated by the user's selection of the display adjustment mode option, which includes synchronous mode and asynchronous mode. The synchronization module is used to determine that the adjustment mode of the display parameters of the display screen is synchronous mode if the triggering event meets the preset conditions, and continuously adjust the display parameters of the first display screen and the second display screen simultaneously based on the synchronous mode until the adjustment mode is switched to asynchronous mode; adjusting the display parameters of the first display screen and the second display screen simultaneously based on the synchronous mode includes: notifying the graphics card that the current adjustment mode is synchronous mode through a first API interface; then the graphics card continuously obtains the display parameters of the first display screen from the operating system through a second API interface, and when it detects that the display parameters of the first display screen have changed, it adjusts the display parameters of the second display screen based on the display parameters of the first display screen; An asynchronous module is used to determine that the adjustment mode of the display parameters of the display screen is asynchronous if the triggering event does not meet the preset conditions, and to continuously adjust the display parameters of the first display screen and the second display screen respectively based on the asynchronous mode until the adjustment mode is switched to synchronous mode; adjusting the display parameters of the first display screen and the second display screen respectively based on the asynchronous mode includes: notifying the graphics card that the current adjustment mode is asynchronous mode through the first API interface; and then the graphics card adjusts the display parameters of the first display screen and the second display screen respectively through the second API interface.
9. The apparatus according to claim 8, characterized in that, Also includes: The first detection module is used to detect the display objects in the first display area and the second display area, and obtain the detection results; The first switching module is configured to switch the current adjustment mode from asynchronous mode to synchronous mode and simultaneously adjust the display parameters of the first display area and the second display area if the detection result indicates that the first display area and the second display area are displaying different parts of the same object.
10. A computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Brightness adjustment method and device, mobile terminal and storage medium
CN109949777A