A display parameter setting method, device, equipment and storage medium

By monitoring the target process and injecting target code during the boot process of the client, and using the DeviceIOcontrol function in the kernel state to set display parameters, the problems of setting time delay and screen flickering in the existing technology are solved, and self-adaptation in the kernel state is achieved. settings to improve user experience.

CN114675892BActive Publication Date: 2024-09-17HANGZHOU WULIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210379849.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-12
Publication Date
2024-09-17
Estimated Expiration
2042-04-12

AI Technical Summary

Technical Problem

When setting display parameters, the existing technology causes setting time delays and screen flickering, which affects the user experience, and cannot be adaptively set in the kernel state.

Method used

By monitoring the target process during the startup of the client, the SSDT table in the kernel state is used to determine the service routine address of the target function, and the target code is injected into the target process, and the display parameters are set in the kernel state through the DeviceIOcontrol function.

Benefits of technology

It realizes adaptive and imperceptible setting of display parameters in kernel mode, improves user experience and avoids setting time delays and screen flickering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114675892B
    Figure CN114675892B
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and storage medium for setting display parameters, including: monitoring a target process during the boot process of a client; the target process is a process used to trigger the client to enter a user state during the boot process; when the target process is monitored to start, the service routine address corresponding to the target function is determined based on the SSDT table in the client kernel state; the target function provides a system service for setting the display parameters of the client; injecting the target code for calling the DeviceIOcontrol function into the target process to obtain the injected process, and controlling the kernel device object to call the target function corresponding to the service routine address by running the injected process to call the DeviceIOcontrol function, so as to set the parameter value of the display parameter of the client to the preset parameter value. The present application can realize the adaptive and imperceptible setting of display parameters in the kernel state, and improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a display parameter setting method, device, equipment and storage medium. Background Art

[0002] With the development of cloud computing related businesses, whether it is a cloud diskless office environment or a cloud gaming entertainment environment, users' display requirements for the host are gradually diversified. For example, some game players will use a larger screen for a better visual experience, which requires a higher resolution and refresh rate. For ordinary users, there is no such high display demand, as long as they can work normally or play ordinary games, but different resolutions and refresh rates need to be adapted according to different display hardware. In the prior art, the system function is generally called for setting after entering the system, but this solution has two disadvantages: one is that the setting time is late, and the user has already entered the desktop and the default display parameter value will be enabled first; the second is that when setting new display parameters, there will be a screen flashing phenomenon due to parameter changes, and the user experience is very bad.

[0003] Therefore, how to adaptively set display parameters is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a display parameter setting method, device, equipment and storage medium, which can realize adaptive and imperceptible setting of display parameters in kernel mode and improve user experience. The specific scheme is as follows:

[0005] A first aspect of the present application provides a display parameter setting method, comprising:

[0006] Monitoring a target process during the boot process of the client; wherein the target process is a process used to trigger the client to enter the user state during the boot process;

[0007] When the target process is monitored to start, a service routine address corresponding to a target function is determined based on the SSDT table in the kernel state of the client; wherein the target function provides a system service for setting display parameters of the client;

[0008] The target code for calling the DeviceIOcontrol function is injected into the target process to obtain the injected process, and the kernel device object is controlled to call the target function corresponding to the service routine address by running the injected process to call the DeviceIOcontrol function, so as to set the parameter value of the display parameter of the client to the preset parameter value.

[0009] Optionally, monitoring the target process during the boot process of the client includes:

[0010] A notification function is created by calling a kernel API, so as to capture the target process by using the notification function.

[0011] Optionally, determining the service routine address corresponding to the target function based on the SSDT table in the client kernel state includes:

[0012] Loading the NT kernel-level file in PE format to obtain the SSDT table;

[0013] The ID of the target function is obtained from the SSDT table by matching the function name, and the service routine address corresponding to the target function is determined according to the ID.

[0014] Optionally, the display parameter setting method further includes:

[0015] Calling kernel IOCreateDevice function to create the kernel device object;

[0016] A dispatch routine for the kernel state to respond to the operation request of the user state is set so that the injection process is run through the dispatch routine to call the DeviceIOcontrol function.

[0017] Optionally, injecting the target code for calling the DeviceIOcontrol function into the target process to obtain the injected process includes:

[0018] Call the kernel ZwAllocateVirturalMemory function to allocate virtual memory and call the KeStackAttachProcess function to attach the virtual memory to the target process;

[0019] The target code for calling the DeviceIOcontrol function is copied to the virtual memory, so as to inject the target code into the target process in the virtual memory to obtain the injected process.

[0020] Optionally, injecting the target code into the target process in the virtual memory includes:

[0021] The target code is injected into the target process in the virtual memory by calling the ZwCreateThreadEx function.

[0022] Optionally, in the display parameter setting method, the target process is LogonUI.exe.

[0023] A second aspect of the present application provides a display parameter setting device, comprising:

[0024] A process monitoring module, used to monitor a target process during the boot process of the client; wherein the target process is a process used to trigger the client to enter the user state during the boot process;

[0025] An address determination module, for determining a service routine address corresponding to a target function based on the SSDT table in the client kernel state when the target process is monitored to start, wherein the target function provides a system service for setting display parameters of the client;

[0026] An injection setting module is used to inject the target code for calling the DeviceIOcontrol function into the target process to obtain the injected process, and control the kernel device object to call the target function corresponding to the service routine address by running the injected process to call the DeviceIOcontrol function, so as to set the parameter value of the display parameter of the client to the preset parameter value.

[0027] A third aspect of the present application provides an electronic device, comprising a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the aforementioned display parameter setting method.

[0028] A fourth aspect of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are loaded and executed by a processor, the aforementioned display parameter setting method is implemented.

[0029] In this application, the target process in the process of client booting is first monitored; wherein the target process is a process used to trigger the client to enter the user state during the booting process; when the target process is monitored to start, the service routine address corresponding to the target function is determined based on the SSDT table in the kernel state of the client; wherein the target function provides a system service for setting the display parameters of the client; then the target code for calling the DeviceIOcontrol function is injected into the target process to obtain the injected process, and the kernel device object is controlled to call the target function corresponding to the service routine address by running the injected process to call the DeviceIOcontrol function, so as to set the parameter value of the display parameter of the client to the preset parameter value. It can be seen that when the target process that triggers the client to enter the user state is captured during the booting process, the service routine address of the target function for setting the display parameters is obtained during the kernel startup process, and code is injected into the target process to call the DeviceIOcontrol function to communicate with the kernel device object, so as to realize the adaptive and imperceptible setting of display parameters in the kernel state, and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0031] Figure 1 A flow chart of a display parameter setting method provided by this application;

[0032] Figure 2 A schematic diagram of a specific display parameter setting method provided in this application;

[0033] Figure 3 A schematic diagram of the structure of a display parameter setting device provided in this application;

[0034] Figure 4 A structural diagram of an electronic device for setting display parameters provided in this application. DETAILED DESCRIPTION

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

[0036] Currently, most of the settings are made by calling system functions after entering the system, but this solution has two disadvantages: first, the setting time is late, when the user has already entered the desktop and the default display parameter value is enabled; second, when setting new display parameters, there will be a screen flash due to parameter changes, which is a very bad user experience. In view of the above technical defects, please provide a display parameter setting solution that can achieve adaptive and imperceptible setting of display parameters in kernel mode to improve user experience.

[0037] Figure 1 A flow chart of a display parameter setting method provided in an embodiment of the present application. Figure 1 As shown, the display parameter setting method includes:

[0038] S11: monitoring a target process during the boot process of the client; wherein the target process is a process used to trigger the client to enter the user state during the boot process.

[0039] In this embodiment, the target process during the client boot process is first monitored. The target process is a process used to trigger the client to enter the user state during the boot process, such as the LogonUI.exe process. To this end, a notification function can be created by calling the kernel API to capture the target process using the notification function. For a detailed complete process, refer to Figure 2 PsSetCreateProcessNotifyRoutine can be called to create a process creation notification function, and then the LogonUI.exe process can be captured by comparing the process name. In addition, the SSDT HOOK of the API for setting display parameters and the injection of the LogonUI.exe process can also be implemented in the notification function.

[0040] S12: When the target process is monitored to start, a service routine address corresponding to a target function is determined based on the SSDT table in the client kernel state; wherein the target function provides a system service for setting display parameters of the client.

[0041] In this embodiment, when the target process is monitored to start, the service routine address corresponding to the target function is determined based on the SSDT table in the client kernel state. The target function provides a system service for setting the display parameters of the client. That is, when the notification function captures the creation of the logonUI.exe process, the service routine address corresponding to the target function is determined. Furthermore, the NT kernel-level file in PE format can be loaded first to obtain the SSDT table, and then the ID of the target function can be obtained from the SSDT table by matching the function name, and the service routine address corresponding to the target function can be determined according to the ID.

[0042] Taking Win10 system as an example, when the display parameter is resolution or refresh rate, the target function is specifically NtUserChangeDisplaySettings. In the process of starting the operating system kernel, when the user state has not yet started, that is, when the desktop has not yet entered, ntdll.dll is loaded in the kernel driver to analyze the PE file to obtain the ID of the NtUserChangeDisplaySettings function, and the system service routine is parsed through the ID to save the global variables. Specifically, by calling LoadNtdllWin10 to load the PE format ntdll.dll file, the SSDT of the Win10 system is obtained, and its ID is parsed through the function name NtUserChangeDisplaySettings. The system service stub function in the ntdll.dll file specifies a system service number. For example, the system service number of NtUserChangeDisplaySettings is 0x1350h. In kernel mode, KiSystemServiceRepeate clearly calls which system service routine in the kernel according to this system service number, and clearly copies how much data from the user stack to the kernel stack.

[0043] S13: injecting the target code for calling the DeviceIOcontrol function into the target process to obtain the injected process, and controlling the kernel device object to call the target function corresponding to the service routine address by running the injected process to call the DeviceIOcontrol function, so as to set the parameter value of the display parameter of the client to the preset parameter value.

[0044] In this embodiment, the target code for calling the DeviceIOcontrol function is first injected into the target process to obtain the injected process. For process injection, first call the kernel ZwAllocateVirturalMemory function to allocate virtual memory and call the KeStackAttachProcess function to attach the virtual memory to the target process, and then copy the target code for calling the DeviceIOcontrol function to the virtual memory to inject the target code into the target process in the virtual memory to obtain the injected process. Specifically, the target code can be injected into the target process in the virtual memory by calling the ZwCreateThreadEx function. It can be understood that the target code is a shellcode binary machine code. For the LogonUI.exe process, first create a thread injection thread, which is used to run the shellcode. That is, by calling the kernel API ZwAllocateVirtualMemory to allocate the application layer execution virtual memory, and then call KeStackAttachProcess to attach to the corresponding logonUI.exe process.

[0045] On this basis, the kernel device object is controlled to call the target function corresponding to the service routine address by running the injection process to call the DeviceIOcontrol function, so as to set the parameter value of the display parameter of the client to the preset parameter value. The preset parameter value is the parameter value dynamically configured by the Web service background administrator according to the demand, and the configuration will be sent to the host as each host is started, and the parameter setting is realized before entering the desktop. This process is initiated and set from the kernel state during the process of setting the display parameters, which is safe, reliable, and accurate in timing, and will not cause screen flashing or being terminated by a third-party program.

[0046] To this end, on the one hand, it is necessary to call the kernel IOCreateDevice function to create the kernel device object, which is a control device for setting the display parameters so as to communicate with the user layer. On the other hand, it is also necessary to set a dispatch routine for the kernel state to respond to the operation request of the user state so as to run the injection process to call the DeviceIOcontrol function through the dispatch routine.

[0047] In this embodiment, the resolution setting is taken as an example. The dispatch routines include IRP_MJ_CREATE, IRP_MJ_CLOSE, and IRP_MJ_DEVICE_CONTROL to respond to user-mode opening, closing, and communication operations. The NtUserChangeDisplaySettings system call is mainly implemented in the dispatch routine of IRP_MJ_DEVICE_CONTROL. Specifically, the current user-mode process is opened by calling the ZwCurrentProcess function, the user-mode virtual memory is allocated by calling the ZwAllocateVirtualMemory function, and the m_NtUserChangeDisplaySettings system routine of HooK is called to complete the resolution setting. In this embodiment, the target code shellcode is used to call DeviceIOControl and communicate with the kernel device object to trigger the resolution setting operation. In the kernel state, the shellcode binary that triggers the resolution setting is copied to the virtual memory space, and ZwCreateThreadEx is called to implement remote thread injection, completing the application layer's call to the driver layer DeviceIoControl. The kernel responds to DeviceIoControl and calls the Hook's NtUserChangeDisplaySettings system routine, which runs in the LonUI.exe process address space to complete the resolution setting.

[0048] It can be seen that the embodiment of the present application first monitors the target process during the client boot process; wherein the target process is a process used to trigger the client to enter the user state during the boot process; when the target process is monitored to start, the service routine address corresponding to the target function is determined based on the SSDT table in the kernel state of the client; wherein the target function provides a system service for setting the display parameters of the client; then the target code for calling the DeviceIOcontrol function is injected into the target process to obtain the injected process, and the kernel device object is controlled to call the target function corresponding to the service routine address by running the injected process to call the DeviceIOcontrol function, so as to set the parameter value of the display parameter of the client to the preset parameter value. When the embodiment of the present application captures the target process that triggers the client to enter the user state during the boot process, that is, the service routine address of the target function for setting the display parameters is obtained during the kernel startup process, and code is injected into the target process to call the DeviceIOcontrol function to communicate with the kernel device object, so as to realize the adaptive and imperceptible setting of display parameters in the kernel state and improve the user experience. Before entering the system, the resolution is dynamically set in the kernel state with an experience that the user does not perceive.

[0049] See also Figure 3 As shown, the embodiment of the present application also discloses a display parameter setting device, including:

[0050] The process monitoring module 11 is used to monitor the target process during the boot process of the client; wherein the target process is the process used to trigger the client to enter the user state during the boot process;

[0051] The address determination module 12 is used to determine the service routine address corresponding to the target function based on the SSDT table in the client kernel state when the target process is monitored to start; wherein the target function provides a system service for setting the display parameters of the client;

[0052] The injection setting module 13 is used to inject the target code for calling the DeviceIOcontrol function into the target process to obtain the injected process, and control the kernel device object to call the target function corresponding to the service routine address by running the injected process to call the DeviceIOcontrol function, so as to set the parameter value of the display parameter of the client to the preset parameter value.

[0053] It can be seen that the embodiment of the present application first monitors the target process during the client boot process; wherein, the target process is a process used to trigger the client to enter the user state during the boot process; when the target process is monitored to start, the service routine address corresponding to the target function is determined based on the SSDT table in the kernel state of the client; wherein, the target function provides a system service for setting the display parameters of the client; then the target code for calling the DeviceIOcontrol function is injected into the target process to obtain the injected process, and the kernel device object is controlled to call the target function corresponding to the service routine address by running the injected process to call the DeviceIOcontrol function, so as to set the parameter value of the display parameter of the client to the preset parameter value. When the embodiment of the present application captures the target process that triggers the client to enter the user state during the boot process, that is, the service routine address of the target function for setting the display parameters is obtained during the kernel startup process, and code is injected into the target process to call the DeviceIOcontrol function to communicate with the kernel device object, so as to realize the adaptive and imperceptible setting of display parameters in the kernel state, and improve the user experience.

[0054] In some specific embodiments, the process monitoring module 11 is specifically used to create a notification function by calling a kernel API, so as to capture the target process using the notification function.

[0055] In some specific embodiments, the address determination module 12 specifically includes:

[0056] A loading unit, used for loading an NT kernel-level file in a PE format to obtain the SSDT table;

[0057] A determination unit is used to obtain the ID of the target function from the SSDT table by matching the function name, and determine the service routine address corresponding to the target function according to the ID.

[0058] In some specific embodiments, the injection setting module 13 specifically includes:

[0059] An attachment allocation unit is used to call a kernel ZwAllocateVirturalMemory function to allocate virtual memory and call a KeStackAttachProcess function to attach the virtual memory to the target process;

[0060] A copy unit, used for copying the target code for calling the DeviceIOcontrol function to the virtual memory;

[0061] The injection unit is used to inject the target code into the target process in the virtual memory by calling the ZwCreateThreadEx function.

[0062] In some specific embodiments, the display parameter setting device further includes:

[0063] An object creation module, used for calling the kernel IOCreateDevice function to create the kernel device object;

[0064] The routine setting module is used to set a dispatch routine for the kernel state to respond to the operation request of the user state so as to run the injection process to call the DeviceIOcontrol function through the dispatch routine.

[0065] Furthermore, an embodiment of the present application also provides an electronic device. Figure 4 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0066] Figure 4The present invention provides a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the display parameter setting method disclosed in any of the aforementioned embodiments.

[0067] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0068] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222 and data 223, etc. The storage method can be temporary storage or permanent storage.

[0069] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the display parameter setting method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. The data 223 can include process information collected by the electronic device 20.

[0070] Furthermore, an embodiment of the present application also discloses a storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the steps of the display parameter setting method disclosed in any of the aforementioned embodiments are implemented.

[0071] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0072] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0073] The display parameter setting method, device, equipment and storage medium provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for setting display parameters, characterized in that: include: Monitoring a target process during the boot process of the client; wherein the target process is a process used to trigger the client to enter the user state during the boot process; When the target process is monitored to start, a service routine address corresponding to a target function is determined based on the SSDT table in the kernel state of the client; wherein the target function provides a system service for setting display parameters of the client; Injecting the target code for calling the DeviceIOcontrol function into the target process to obtain the injected process, and controlling the kernel device object to call the target function corresponding to the service routine address by running the injected process to call the DeviceIOcontrol function, so as to set the parameter value of the display parameter of the client to the preset parameter value; Determining the service routine address corresponding to the target function based on the SSDT table in the client kernel state includes: Loading the NT kernel-level file in PE format to obtain the SSDT table; Obtaining the ID of the target function from the SSDT table by matching the function name, and determining the service routine address corresponding to the target function according to the ID; The step of injecting the target code for calling the DeviceIOcontrol function into the target process to obtain the injected process includes: Call the kernel ZwAllocateVirturalMemory function to allocate virtual memory and call the KeStackAttachProcess function to attach the virtual memory to the target process; Copying the target code for calling the DeviceIOcontrol function to the virtual memory, so as to inject the target code into the target process in the virtual memory to obtain the injected process; Injecting the target code into the target process in the virtual memory includes: The target code is injected into the target process in the virtual memory by calling the ZwCreateThreadEx function.

2. The display parameter setting method according to claim 1, characterized in that: The monitoring of the target process during the booting process of the client includes: A notification function is created by calling a kernel API, so as to capture the target process by using the notification function.

3. The display parameter setting method according to claim 1, characterized in that: Also includes: Calling kernel IOCreateDevice function to create the kernel device object; A dispatch routine for the kernel state to respond to the operation request of the user state is set so that the injection process is run through the dispatch routine to call the DeviceIOcontrol function.

4. The display parameter setting method according to any one of claims 1 to 3, characterized in that: The target process is LogonUI.exe.

5. A display parameter setting device, characterized in that: include: A process monitoring module, used to monitor a target process during the boot process of the client; wherein the target process is a process used to trigger the client to enter the user state during the boot process; An address determination module, for determining a service routine address corresponding to a target function based on the SSDT table in the kernel state of the client when the target process is monitored to start, wherein the target function provides a system service for setting display parameters of the client; An injection setting module, used for injecting a target code for calling a DeviceIOcontrol function into the target process to obtain an injected process, and controlling a kernel device object to call the target function corresponding to the service routine address by running the injected process to call the DeviceIOcontrol function, so as to set the parameter value of the display parameter of the client to a preset parameter value; The address determination module specifically includes: A loading unit, used for loading an NT kernel-level file in a PE format to obtain the SSDT table; A determination unit, configured to obtain the ID of the target function from the SSDT table by matching the function name, and determine the service routine address corresponding to the target function according to the ID; The injection setting module specifically includes: An attachment allocation unit is used to call a kernel ZwAllocateVirturalMemory function to allocate virtual memory and call a KeStackAttachProcess function to attach the virtual memory to the target process; A copy unit, used for copying the target code for calling the DeviceIOcontrol function to the virtual memory; The injection unit is used to inject the target code into the target process in the virtual memory by calling the ZwCreateThreadEx function.

6. An electronic device, characterized in that: The electronic device comprises a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the display parameter setting method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: Used to store computer executable instructions, which, when loaded and executed by a processor, implement the display parameter setting method according to any one of claims 1 to 4.