Display adjustment method and device, storage medium and electronic equipment
By uniformly adjusting the display effects of multiple display devices, the problems of time-consuming and difficult operation in the existing technology are solved, and flexible and efficient display adjustment is achieved, which is suitable for various display devices and complex environments.
Patent Information
- Application Number
- CN202410302474.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-15
- Publication Date
- 2025-09-16
AI Technical Summary
In the existing technology, the display adjustment method of the display device is not flexible enough to meet specific application requirements. In particular, the adjustment is time-consuming in cross-device environments and automated testing scenarios, and it is difficult to adjust in locations that are difficult for operators to reach.
This paper provides a display adjustment method. By obtaining display adjustment instructions for multiple display devices, the display system of each device is called separately to uniformly adjust the display effect. The target module is created using the Rust language and the Neo library, and the Electron application is used for cross-platform calling.
It realizes simplified, fast and safe display effect adjustment for multiple display devices, lowers the learning threshold, improves adjustment efficiency, and has good scalability and the ability to adapt to complex environments.
Smart Images

Figure CN120656392A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer display technology, and in particular to a display adjustment method, device, storage medium, and electronic device. Background Art
[0002] In the prior art, users can adjust relevant parameters in the display system of the display device to adjust the effect of the content displayed on the display device. The above-mentioned relevant parameters include display parameters such as resolution, zoom ratio, brightness, light and dark contrast, color contrast, etc. However, such an adjustment method is not flexible enough and cannot meet the needs of specific applications. Especially in cross-display device environments and automated testing scenarios, it is usually necessary to adjust the display devices one by one, which takes a long time. Moreover, in order to achieve the state of the collage matrix, display devices are sometimes set in places that the operator's hands cannot reach (for example, at a higher position), and it is particularly difficult for the operator to adjust these display devices. Therefore, a more sophisticated and dynamic display adjustment method is needed. Summary of the Invention
[0003] The embodiments of the present application provide a display adjustment method, device, storage medium, and electronic device, which can uniformly adjust the display effects corresponding to multiple display devices, thereby improving adjustment efficiency. The technical solution is as follows:
[0004] In a first aspect, an embodiment of the present application provides a display adjustment method, the method comprising:
[0005] Obtaining a display adjustment instruction for at least one target display device among a plurality of display devices;
[0006] In response to the display adjustment instruction, the display system of each target display device is called to adjust the display effect of the target display device.
[0007] In a second aspect, an embodiment of the present application provides a display adjustment device, the device comprising:
[0008] An instruction acquisition module, configured to acquire a display adjustment instruction for at least one target display device among the plurality of display devices;
[0009] The display adjustment module is configured to, in response to the display adjustment instruction, call the display system of each target display device to adjust the display effect of the target display device.
[0010] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.
[0011] In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.
[0012] The beneficial effects of the technical solutions provided by some embodiments of the present application include at least:
[0013] The present application aims to adjust the display effects corresponding to at least one target display device among multiple display devices. By obtaining display adjustment instructions, the display system of each target display device is called respectively, thereby adjusting the display effects of each target display device. In other words, based on the method provided by the present application, the user can complete the unified adjustment of the display effects corresponding to multiple display devices in real time by simply inputting instructions. The user does not need to learn how to use the display systems corresponding to different display devices, nor does he need to adjust each individual display device one by one. The adjustment process is simplified, the learning threshold is lowered, and the adjustment efficiency of the display adjustment for multiple display devices is greatly improved. Furthermore, the display effect adjustment method of the present application adjusts the display effect of the target display device by calling the display system of the target display device. The adjustment method is simple and highly secure. At the same time, it has good scalability and can adapt to complex usage environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0015] Figure 1 Schematic diagram of the structure of a display adjustment method provided in an embodiment of the present application;
[0016] Figure 2 is a flow chart of a display adjustment method provided in an embodiment of the present application;
[0017] Figure 3 This is a schematic diagram of a display effect change of a display device provided by an embodiment of the present application;
[0018] Figure 4 is a flow chart of a display adjustment method provided in an embodiment of the present application;
[0019] Figure 5 is a flow chart of a display adjustment method provided in an embodiment of the present application;
[0020] Figure 6is a structural diagram of a display adjustment device provided in an embodiment of the present application;
[0021] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0023] In the description of this application, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and should not be understood to indicate or imply relative importance. In the description of this application, it should be noted that, unless otherwise expressly specified and limited, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to the specific circumstances. In addition, in the description of this application, unless otherwise specified, "multiple" refers to two or more. "and / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0024] The present application is described in detail below with reference to specific embodiments.
[0025] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, storage, and display, etc.), and signals involved in the embodiments of this specification are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the instructions and information involved in this specification are obtained with full authorization.
[0026] like Figure 1 As shown, Figure 11 is a schematic diagram of the architecture of a display adjustment method provided in an embodiment of the present application, including a processing device 101 for executing the display adjustment method and multiple display devices. The multiple display devices at least include display device 1021, display device 1022, display device 1023, display device 1024, and display device 1025. It is understandable that, Figure 1 The number and types of processing devices 101 and display devices are for illustration only.
[0027] The processing device 101 can be understood as a processor that executes the display adjustment method proposed in this application. Specifically, the processing device 101 obtains a display adjustment instruction for at least one target display device among multiple display devices, and further, in response to the display adjustment instruction, calls the display system of each target display device to adjust the display effect of the target display device.
[0028] For example, the processing device 101 can be a single server device, such as a rack-mounted, blade, tower, or cabinet-mounted server device, or a hardware device with strong computing power, such as a workstation or mainframe computer. Alternatively, the processing device 101 can be a server cluster composed of multiple servers, wherein the servers in the service cluster can be symmetrically arranged, wherein each server has equivalent functionality and status in the transaction chain, and each server can independently provide external services. Independent service can be understood as not requiring the assistance of other servers. It is understood that the above-mentioned servers can be multiple physical servers, where the multiple physical servers are independent in hardware; or multiple servers can be multiple virtual servers, where the multiple virtual servers are deployed in the same hardware resource pool. The deployment methods of virtual servers include, but are not limited to, VMware, Virtual Box, and Virtual PC.
[0029] For another example, the processing device 101 may be an electronic device with communication capabilities. The electronic device includes, but is not limited to, a wearable device, a handheld device, a personal computer, a tablet computer, an in-vehicle device, a smartphone, a computing device, or other processing device connected to a wireless modem. In different networks, electronic devices may be referred to by different names, such as user equipment, access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, cellular phone, cordless phone, personal digital assistant (PDA), electronic device in 5G network or future evolution network, etc.
[0030] Display devices 1021, 1022, 1023, 1024, and 1025 can be understood as electronic devices that have display functions and display image content. These devices primarily achieve image display by controlling the brightness and color of pixels. Examples of display devices include televisions, computer monitors, smartphones, tablets, e-book readers, digital photo frames, car navigation systems, and smartwatches. These display devices utilize different display technologies and have different display systems, such as liquid crystal displays (LCDs), organic light-emitting diodes (OLEDs), and electronic paper (E-Ink).
[0031] For example, in a display device using liquid crystal display (LCD) technology, the display device is equipped with multiple pixels, each of which has a liquid crystal channel. When a signal passes through, the liquid crystal in each liquid crystal channel distorts and changes the direction of light propagation. As a result, under the illumination of a backlight, the light is distorted and passes through each pixel to present different colors. For another example, in a display device based on light-emitting diode (OLED) technology, the display device is also equipped with multiple pixels, each of which has a light-emitting diode. When a signal is input, each light-emitting diode emits light of different brightness and color, thereby presenting the entire image through the display device.
[0032] A display system can be understood as the entire system that controls the display device's image display by calling preset functions based on control instructions. This system typically includes the relevant drivers and software. In other words, the display system controls the display device to display images corresponding to received display parameters such as resolution, zoom ratio, brightness, contrast, and color contrast.
[0033] Different types of display devices may have the same or different display systems, but different display systems operate differently. In other words, different display systems have different preset functions, expose different user interfaces, and accept different types of control commands and methods of receiving them.
[0034] For example, display device 1021 is a car display, display device 1022 is a computer monitor, and display device 1023 is an e-book reader. Although the operating systems of display devices 1021, 1022, and 1023 are all Android, the display system of display device 1021 is a car display system, display device 1022 is a computer display system, and display device 1023 is an e-book reader display system. Even if the display devices have the same type of display system, they may have different display system versions.
[0035] The user can adjust the relevant parameters in the display system of the display device to adjust the effect of the content displayed on the display device. The above-mentioned relevant parameters include display parameters such as resolution, zoom ratio, brightness, light and dark contrast, color contrast, etc. However, such an adjustment method is not flexible enough and cannot meet the needs of specific applications. Especially in cross-display device environments and automated testing scenarios, it is usually necessary to adjust the display devices one by one, which takes a long time. In addition, in the case of achieving the state of the collage matrix, sometimes display devices are also set in places where the operator's hands cannot reach (for example, at a higher position), and it is particularly difficult for the operator to adjust these display devices.
[0036] Therefore, a more sophisticated and dynamic display adjustment method is needed. In one embodiment, Figure 2 The figure shows a schematic diagram of a display adjustment method proposed in an embodiment of the present application. This method can be implemented by a computer program and can be run on a display adjustment device based on a von Neumann architecture. The computer program can be integrated into an application or run as a standalone tool application.
[0037] Specifically, the display adjustment method includes:
[0038] S101: Acquire a display adjustment instruction for at least one target display device among multiple display devices.
[0039] The display adjustment command is used to adjust the display effect of at least one target display device among multiple display devices. The display adjustment command can be obtained based on the triggering conditions of the display adjustment command. The triggering conditions can be set according to actual needs. The triggering conditions can be time conditions, service type conditions, or operation type conditions. For example, the display adjustment command can be triggered at a specified time; the display adjustment command can be triggered when a specified service type is executed; the display adjustment command can be obtained when a specified operation type is detected.
[0040] For example, the processing device displays a preset page through a display device. The preset page is provided with multiple preset items. The preset items can be in the form of buttons, text boxes, images, etc. Through the displayed preset page, trigger operations from the user for the multiple preset items are received. The trigger operations can be clicks, slides, long presses, etc. Further, at least one target display device among the multiple display devices is determined based on the trigger instructions of at least one preset item corresponding to the target display device, and the display effect that needs to be adjusted is determined based on the trigger instructions of the preset items corresponding to the multiple display parameters.
[0041] In this embodiment, since different display devices have different display systems, and different display systems correspond to different interactive interfaces, this embodiment obtains the user's display adjustment instructions through a unified preset page, thereby reducing the user's learning cost of learning how to adjust the display effect and improving the efficiency of adjusting the display effect.
[0042] The target display device may be any one of the plurality of display devices, and the number of target display devices may be one or more. The display adjustment instruction carries instruction information indicating the target display device among the plurality of display devices. For example, the display adjustment instruction includes device information such as the device number, device name, device model, device parameters, and device location of the target display device.
[0043] S102 : In response to the display adjustment instruction, respectively call the display system of each target display device to adjust the display effect of the target display device.
[0044] In response to the display adjustment instruction, at least one target display device among the multiple display devices is determined, and the display system of each target display device is respectively invoked to adjust the display effect of the target display device to the display effect corresponding to the display adjustment instruction. For example, if the display adjustment instruction is used to improve the clarity of the multiple target display devices, in response to the display adjustment instruction, the display system of each target display device is respectively invoked to increase the resolution of the multiple target display devices and sharpen the display content of the multiple target display devices, thereby adjusting the display effect of each target display device.
[0045] In one embodiment, in response to a display adjustment instruction, the display system of each target display device is invoked to modify at least one display parameter corresponding to each target display device to a target value, thereby adjusting the display effect of each target display device. The at least one display parameter may include a display parameter such as resolution, zoom ratio, brightness, light-dark contrast, and color contrast. For example, in response to a display adjustment instruction, the display system of each target display device is invoked to modify the resolution corresponding to each target display device to 1920x1080 and the brightness corresponding to each target display device to 80%, thereby adjusting the display effect of each target display device.
[0046] like Figure 3 As shown, Figure 3 1 is a schematic diagram of a display effect change of a display device provided in an embodiment of the present application, including multiple display devices. The multiple display devices include at least display device 2011, display device 2012, display device 2013, and display device 2014.
[0047] In response to the display adjustment instruction, the target display devices among the multiple display devices are determined to be display device 2011 and display device 2012. Further, the display system of display device 2011 is called to modify the resolution of display device 2011 from 1920×1080 to 1920×1080 and the brightness from 60% to 80%. The display system of display device 2012 is called to modify the resolution of display device 2012 from 1080×720 to 1920×1080 and the brightness from 80% to 80%. Figure 3 The lower middle figure shows the display effects of display device 2011 and display device 2012.
[0048] In one embodiment, a target module in a preset format is created based on the neon library using the rust language; a display adjustment instruction for at least one target display device among a plurality of display devices is received through the cross-platform desktop application development program Electron; and in response to the display adjustment instruction, the display system of each target display device is respectively called to adjust the display effect of the target display device by calling the target module in the process of the cross-platform desktop application development program.
[0049] Rust is a systems-level programming language that provides efficient memory management and secure concurrency control. The neon library is a library and toolchain for embedding Rust into the Node library, enabling the writing of secure and fast native .node target modules. Electron is a cross-platform desktop application development program that leverages the Chromium and Node.js technology stacks.
[0050] In the above embodiment, in response to the display adjustment instruction, in the process of the cross-platform desktop application development program, the display system of each target display device is called respectively by calling the target module to adjust the display effect of the target display device, including: in response to the display adjustment instruction, in the process of the cross-platform desktop application development program, the target value corresponding to at least one display parameter included in the display adjustment instruction obtained by the cross-platform desktop application development program is received by calling the target module; by calling the target module, the display system of each target display device is called respectively to modify at least one display parameter corresponding to each target display device to the target value, so as to adjust the display effect of the target display device.
[0051] Specifically, a target module with a preset format is created based on the neon library using the rust language. The target module internally implements receiving display parameters such as resolution and scaling parameters passed from the Electron application and target values corresponding to the above display parameters, and adjusts the display parameters such as resolution and scaling parameters corresponding to the display system to the target values corresponding to the above display parameters by calling the display system corresponding to the display device, such as the Windows API (such as the ChangeDisplaySettingsW function), thereby adjusting the display effect of the display device.
[0052] By leveraging the Rust language's powerful system interfaces and performance, you can use Rust modules written in Rust within Electron applications to conveniently call various display operating system interfaces, thereby adjusting the display effects of various display devices. Compared to writing plugins in languages like C / C++, writing target modules using the Rust language's bridging capabilities with the Node library provides greater code security and maintainability. Furthermore, thanks to Rust's memory management and concurrency control mechanisms, target modules written using this bridging capability can avoid many common memory leaks and thread safety issues, thereby improving the stability and performance of display adjustments.
[0053] In other words, using the Rust language and the bridging capabilities of the Node library to write target modules provides Electron applications with a new way to adjust the display effect, making it easier for users to call the method interface of the underlying display system and improving the performance and stability of display adjustment.
[0054] The present application aims to adjust the display effects corresponding to at least one target display device among multiple display devices. By obtaining display adjustment instructions, the display system of each target display device is called respectively, thereby adjusting the display effects of each target display device. In other words, based on the method provided by the present application, the user can complete the unified adjustment of the display effects corresponding to multiple display devices in real time by simply inputting instructions. The user does not need to learn how to use the display systems corresponding to different display devices, nor does he need to adjust each individual display device one by one. The adjustment process is simplified, the learning threshold is lowered, and the adjustment efficiency of the display adjustment for multiple display devices is greatly improved. Furthermore, the display effect adjustment method of the present application adjusts the display effect of the target display device by calling the display system of the target display device. The adjustment method is simple and highly secure. At the same time, it has good scalability and can adapt to complex usage environments.
[0055] In one embodiment, Figure 4The figure shows a schematic diagram of a display adjustment method proposed in an embodiment of the present application. This method can be implemented by a computer program and can be run on a display adjustment device based on a von Neumann architecture. The computer program can be integrated into an application or run as a standalone tool application.
[0056] Specifically, the display adjustment method includes:
[0057] S201: Acquire a display adjustment instruction for at least one target display device among multiple display devices.
[0058] See the above S101, which will not be repeated here.
[0059] S202 : In response to a display adjustment instruction, obtain a display effect corresponding to the display adjustment instruction.
[0060] The display adjustment instruction is parsed according to a protocol of the display adjustment instruction to obtain a display effect for adjusting an initial display effect of the display device. For example, the protocol for parsing the display adjustment instruction may include HyperText Transfer Protocol (HTTP), HTTPS (an HTTP protocol encrypted by SSL / TLS), File Transfer Protocol (FTP), Simple Mail Transfer Protocol (SMTP), Post Office Protocol 3 (POP3), Internet Mail Access Protocol (IMAP), etc.
[0061] For example, the processing device displays a preset page through a display device. The preset page is provided with multiple preset items. The preset items can be in the form of buttons, text boxes, images, etc. Through the displayed preset page, trigger operations from the user for the multiple preset items are received. The trigger operations can be clicks, slides, long presses, etc. Further, at least one target display device among the multiple display devices is determined based on the trigger instructions of at least one preset item corresponding to the target display device, and the display effect that needs to be adjusted is determined based on the trigger instructions of the preset items corresponding to the multiple display parameters.
[0062] S203: Determine, according to a preset mapping relationship, at least one display parameter corresponding to the display effect corresponding to the display adjustment instruction in the display system of each target display device and a target value corresponding to each display parameter.
[0063] The preset mapping relationship represents the mapping relationship between the display parameters of the display adjustment instruction obtained by the processing device that executes the display adjustment method and the display parameters included in the display system of the target display parameters, as well as the mapping relationship between the target values of the display parameters of the display adjustment instruction obtained by the processing device and the target values of the display parameters included in the display system of the target display parameters.
[0064] For example, if the display parameter obtained from the display adjustment instruction is "resolution," the processing device determines, based on a preset mapping relationship, that the display parameter on the target display device's display system is "resolution." For another example, if the display parameter obtained from the display adjustment instruction is "brightness," and the target value for that display parameter is "60%," the processing device determines that the display parameter on the target display device's display system is "brightness," and the target value for that display parameter is "0.6."
[0065] S204: Call the display system of each target display device respectively, and modify at least one display parameter included in the display system of each target display device to a target value corresponding to the display parameter.
[0066] The display system of each target display device is called separately. For example, in the process of a cross-platform desktop application development program, the display system of the target display device is called by calling a target module in the .node format. At least one display parameter included in the display system of the target display device is modified to the target value corresponding to the display parameter, thereby adjusting the display effect of the target display device.
[0067] The present application aims to adjust the display effects corresponding to at least one target display device among multiple display devices. By obtaining display adjustment instructions, the display system of each target display device is called respectively, thereby adjusting the display effects of each target display device. In other words, based on the method provided by the present application, the user can complete the unified adjustment of the display effects corresponding to multiple display devices in real time by simply inputting instructions. The user does not need to learn how to use the display systems corresponding to different display devices, nor does he need to adjust each individual display device one by one. The adjustment process is simplified, the learning threshold is lowered, and the adjustment efficiency of the display adjustment for multiple display devices is greatly improved. Furthermore, the display effect adjustment method of the present application adjusts the display effect of the target display device by calling the display system of the target display device. The adjustment method is simple and highly secure. At the same time, it has good scalability and can adapt to complex usage environments.
[0068] In one embodiment, Figure 5The figure shows a schematic diagram of a display adjustment method proposed in an embodiment of the present application. This method can be implemented by a computer program and can be run on a display adjustment device based on a von Neumann architecture. The computer program can be integrated into an application or run as a standalone tool application.
[0069] Specifically, the display adjustment method includes:
[0070] S301: Store the initial display effect of each target display device.
[0071] The initial display effect can be understood as the display effect before the display effect of the target display device is adjusted. In this application, each target display device or the initial display effect of each display device is stored based on a preset period or storage instruction. The trigger condition for the storage instruction may be the detection of the need to adjust the display effect of the target display device. For example, the initial display effect of the initial display device is a resolution of 1080×720 and a zoom ratio of 1:1.
[0072] S302: Obtain a display adjustment instruction for at least one target display device among multiple display devices.
[0073] See the above S101, which will not be repeated here.
[0074] S303 : In response to the display adjustment instruction, respectively call the display system of each target display device to adjust the display effect of the target display device.
[0075] See the above S102, which will not be repeated here.
[0076] S304: Obtain a display recovery instruction for the target display device.
[0077] The display restoration command is used to restore the adjusted display effect of the target display device to its initial display effect. The display adjustment command can be obtained based on the trigger conditions of the display adjustment command. The trigger conditions can be set according to actual needs. The trigger conditions can be time conditions, service type conditions, or operation type conditions. For example, the display restoration command can be triggered at a specified time; the display adjustment command can be triggered when a specified service type is executed; and the display restoration command can be obtained when a specified operation type is detected.
[0078] S305 : In response to the display restoration instruction, call the display system of the target display device to restore the display effect of the target display device to the initial display effect.
[0079] In response to the display restoration instruction, the stored initial display effect of the target display device is determined, and the display system of the target display device is called to restore the display effect of the target display device to the initial display effect. For example, if the display effect of the target display device is adjusted to a resolution of 1920×1080 and a zoom ratio of 2:1, in response to the display restoration instruction, the display system of the target display device is called to restore the display effect of the target display device to a resolution of 1080×720 and a zoom ratio of 1:1.
[0080] In this embodiment, the display effect of the target display device can be quickly adjusted to the initial display effect through the display recovery instruction, without the user having to manually record the initial display effect before the adjustment, and the display effect of the target display device can be adjusted again by issuing a display adjustment instruction corresponding to the initial display effect. The display recovery method of this embodiment can improve the flexibility of display adjustment.
[0081] In one embodiment, in response to a display adjustment instruction, after calling the display system of each target display device to adjust the display effect of the target display device, it also includes: if it is detected that the adjustment behavior of adjusting the display effect of the target display device is abnormal, an error report is generated; wherein the error report includes step information corresponding to the adjustment behavior and device information of the target display device where the abnormality occurs.
[0082] The adjustment behavior of the display effect of the target display device is abnormal, including that the adjustment of the display effect of one or more target display devices does not meet the expectations of the display adjustment instruction, or the adjustment time of the display effect of one or more target display devices exceeds the preset time.
[0083] Based on a detected anomaly in adjusting the display effect of a target display device, an error report is generated that includes information about the steps involved in the adjustment and device information about the target display device where the anomaly occurred. The information about the steps involved in the adjustment may include information such as the steps for invoking the display system of the target display device and the steps for adjusting display parameters of the display system of the target display device one by one. The device information about the target display device where the anomaly occurred may include device information such as the device number, device name, device model, device parameters, and device location.
[0084] In this embodiment, the step information corresponding to the adjustment behavior and the device information of the target display device where the exception occurs are recorded through error reporting, so that the user can solve the exceptions that occur during the display adjustment process in a targeted manner according to the error report, thereby making the display effect adjustment behavior safe and reversible.
[0085] The present application aims to adjust the display effects corresponding to at least one target display device among multiple display devices. By obtaining display adjustment instructions, the display system of each target display device is called respectively, thereby adjusting the display effects of each target display device. In other words, based on the method provided by the present application, the user can complete the unified adjustment of the display effects corresponding to multiple display devices in real time by simply inputting instructions. The user does not need to learn how to use the display systems corresponding to different display devices, nor does he need to adjust each individual display device one by one. The adjustment process is simplified, the learning threshold is lowered, and the adjustment efficiency of the display adjustment for multiple display devices is greatly improved. Furthermore, the display effect adjustment method of the present application adjusts the display effect of the target display device by calling the display system of the target display device. The adjustment method is simple and highly secure. At the same time, it has good scalability and can adapt to complex usage environments.
[0086] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0087] See Figure 6 , which shows a schematic diagram of the structure of a display adjustment device provided by an exemplary embodiment of the present application. The display adjustment device can be implemented as all or part of the device through software, hardware, or a combination of both. The display adjustment device includes an instruction acquisition module 401 and a display adjustment instruction 402.
[0088] An instruction acquisition module 401 is configured to acquire a display adjustment instruction for at least one target display device among a plurality of display devices;
[0089] The display adjustment module 402 is configured to, in response to the display adjustment instruction, call the display system of each target display device to adjust the display effect of the target display device.
[0090] In one embodiment, the display adjustment module 402 includes:
[0091] The display adjustment unit is configured to call the display system of each target display device respectively in response to the display adjustment instruction, and modify at least one display parameter corresponding to each target display device to a target value respectively, so as to adjust the display effect of the target display device.
[0092] In one embodiment, the display adjustment unit includes:
[0093] a first adjustment subunit, configured to obtain, in response to the display adjustment instruction, a display effect corresponding to the display adjustment instruction;
[0094] a second adjustment subunit, configured to determine, according to a preset mapping relationship, at least one display parameter corresponding to the display effect corresponding to the display adjustment instruction in the display system of each target display device and a target value corresponding to each display parameter;
[0095] The third adjusting subunit is configured to respectively call the display system of each of the target display devices, and modify at least one display parameter included in the display system of each of the target display devices to a target value corresponding to the display parameter.
[0096] In one embodiment, the display adjustment device further includes:
[0097] The module creation module is used to create a target module in a preset format based on the neon library using the rust language;
[0098] In one embodiment,
[0099] The instruction acquisition module 401 includes:
[0100] An instruction acquisition unit, configured to receive a display adjustment instruction for at least one target display device among the plurality of display devices through the cross-platform desktop application development program Electron;
[0101] The display adjustment module 402 includes:
[0102] The calling adjustment unit is used to respond to the display adjustment instruction and adjust the display effect of the target display device by calling the target module in the process of the cross-platform desktop application development program.
[0103] In one embodiment, calling the adjustment unit includes:
[0104] a first calling subunit, configured to, in response to the display adjustment instruction, receive, in a process of the cross-platform desktop application development program, a target value corresponding to at least one display parameter included in the display adjustment instruction obtained by the cross-platform desktop application development program by calling the target module;
[0105] The second calling subunit is used to call the target module to call the display system of each target display device to modify at least one display parameter corresponding to each target display device to the target value, so as to adjust the display effect of the target display device.
[0106] In one embodiment, the display adjustment device further includes:
[0107] An effect storage module, configured to store the initial display effect of each target display device;
[0108] An instruction acquisition module, configured to acquire a display recovery instruction for the target display device;
[0109] The display restoration module is configured to, in response to the display restoration instruction, call the display system of the target display device to restore the display effect of the target display device to the initial display effect.
[0110] In one embodiment, the display adjustment device further includes:
[0111] A report generation module is used to generate an error report if it is detected that the adjustment behavior of adjusting the display effect of the target display device is abnormal; wherein the error report includes step information corresponding to the adjustment behavior and device information of the target display device where the abnormality occurs.
[0112] The present application aims to adjust the display effects corresponding to at least one target display device among multiple display devices. By obtaining display adjustment instructions, the display system of each target display device is called respectively, thereby adjusting the display effects of each target display device. In other words, based on the method provided by the present application, the user can complete the unified adjustment of the display effects corresponding to multiple display devices in real time by simply inputting instructions. The user does not need to learn how to use the display systems corresponding to different display devices, nor does he need to adjust each individual display device one by one. The adjustment process is simplified, the learning threshold is lowered, and the adjustment efficiency of the display adjustment for multiple display devices is greatly improved. Furthermore, the display effect adjustment method of the present application adjusts the display effect of the target display device by calling the display system of the target display device. The adjustment method is simple and highly secure. At the same time, it has good scalability and can adapt to complex usage environments.
[0113] It should be noted that the display adjustment device provided in the above embodiment, when executing the display adjustment method, is merely illustrated by the division of the aforementioned functional modules. In actual applications, the aforementioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the display adjustment device provided in the above embodiment and the display adjustment method embodiment are based on the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.
[0114] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0115] The present application also provides a computer storage medium that can store multiple instructions, which are suitable for being loaded and executed by a processor as described above. Figure 1 - Figure 5 The display adjustment method of the embodiment shown in the figure can be specifically executed by referring to Figure 1 - Figure 5 The detailed description of the illustrated embodiment will not be repeated here.
[0116] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor as described above. Figure 1 - Figure 5 The display adjustment method of the embodiment shown in the figure can be specifically executed by referring to Figure 1 - Figure 5 The detailed description of the illustrated embodiment will not be repeated here.
[0117] See Figure 7 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device 500 may include: at least one processor 501 , at least one network interface 504 , a user interface 503 , a memory 505 , and at least one communication bus 502 .
[0118] The communication bus 502 is used to implement the connection and communication between these components.
[0119] The user interface 503 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 503 may also include a standard wired interface and a wireless interface.
[0120] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0121] The processor 501 may include one or more processing cores. The processor 501 utilizes various interfaces and lines to connect the various components within the server 500. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 505, and calling data stored in the memory 505, the processor 501 performs various functions of the server 500 and processes data. Optionally, the processor 501 may be implemented in the form of at least one hardware component selected from the group consisting of a digital signal processing (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 501 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 501 and may be implemented separately on a single chip.
[0122] Among them, the memory 505 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 505 includes a non-transitory computer-readable storage medium. The memory 505 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 505 may also be optionally at least one storage device located away from the aforementioned processor 501. As Figure 7 As shown, the memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a display adjustment application.
[0123] exist Figure 7In the electronic device 500 shown, the user interface 503 is mainly used to provide an input interface for the user and obtain user input data; and the processor 501 can be used to call the display adjustment application stored in the memory 505 and specifically perform the following operations:
[0124] Obtaining a display adjustment instruction for at least one target display device among a plurality of display devices;
[0125] In response to the display adjustment instruction, the display system of each target display device is called to adjust the display effect of the target display device.
[0126] In one embodiment, the processor 501 executes the response to the display adjustment instruction and calls the display system of each target display device to adjust the display effect of the target display device, specifically performing:
[0127] In response to the display adjustment instruction, the display system of each target display device is called respectively, and at least one display parameter corresponding to each target display device is modified to a target value respectively, so as to adjust the display effect of the target display device.
[0128] In one embodiment, the processor 501 executes, in response to the display adjustment instruction, calling the display system of each target display device respectively, and modifying at least one display parameter corresponding to each target display device to a target value respectively, specifically performing:
[0129] In response to the display adjustment instruction, obtaining a display effect corresponding to the display adjustment instruction;
[0130] Determining, according to a preset mapping relationship, at least one display parameter corresponding to the display effect corresponding to the display adjustment instruction in the display system of each target display device and a target value corresponding to each display parameter;
[0131] The display systems of the target display devices are respectively called, and at least one display parameter included in the display systems of the target display devices is respectively modified to a target value corresponding to the display parameter.
[0132] In one embodiment, before executing the step of obtaining the display adjustment instruction for at least one target display device among the multiple display devices, the processor 501 further executes:
[0133] Create a target module in a preset format based on the neon library using the rust language;
[0134] The processor 501 executes the acquisition of the display adjustment instruction for at least one target display device among the multiple display devices, specifically performing:
[0135] Receiving, through the cross-platform desktop application development program Electron, a display adjustment instruction for at least one target display device among the plurality of display devices;
[0136] The processor 501 executes the response to the display adjustment instruction and calls the display system of each target display device to adjust the display effect of the target display device, specifically performing:
[0137] In response to the display adjustment instruction, the display system of each target display device is respectively called to adjust the display effect of the target display device by calling the target module in the process of the cross-platform desktop application development program.
[0138] In one embodiment, the processor 501 executes the response to the display adjustment instruction, and in the process of the cross-platform desktop application development program, calls the target module to call the display system of each target display device to adjust the display effect of the target display device, specifically performing:
[0139] In response to the display adjustment instruction, in the process of the cross-platform desktop application development program, receiving, by calling the target module, a target value corresponding to at least one display parameter included in the display adjustment instruction obtained by the cross-platform desktop application development program;
[0140] By calling the target module, the display system of each target display device is called respectively to modify at least one display parameter corresponding to each target display device to the target value, so as to adjust the display effect of the target display device.
[0141] In one embodiment, before executing the step of obtaining the display adjustment instruction for at least one target display device among the multiple display devices, the processor 501 further executes:
[0142] Storing the initial display effect of each target display device;
[0143] After the processor 501 executes the response to the display adjustment instruction and calls the display system of each target display device to adjust the display effect of the target display device, it further executes:
[0144] Obtaining a display recovery instruction for the target display device;
[0145] In response to the display restoration instruction, the display system of the target display device is called to restore the display effect of the target display device to the initial display effect.
[0146] In one embodiment, after the processor 501 executes the step of respectively calling the display system of each target display device to adjust the display effect of the target display device in response to the display adjustment instruction, it further executes:
[0147] If an abnormality is detected in the adjustment behavior of the display effect of the target display device, an error report is generated; wherein the error report includes step information corresponding to the adjustment behavior and device information of the target display device where the abnormality occurs.
[0148] The present application aims to adjust the display effects corresponding to at least one target display device among multiple display devices. By obtaining display adjustment instructions, the display system of each target display device is called respectively, thereby adjusting the display effects of each target display device. In other words, based on the method provided by the present application, the user can complete the unified adjustment of the display effects corresponding to multiple display devices in real time by simply inputting instructions. The user does not need to learn how to use the display systems corresponding to different display devices, nor does he need to adjust each individual display device one by one. The adjustment process is simplified, the learning threshold is lowered, and the adjustment efficiency of the display adjustment for multiple display devices is greatly improved. Furthermore, the display effect adjustment method of the present application adjusts the display effect of the target display device by calling the display system of the target display device. The adjustment method is simple and highly secure. At the same time, it has good scalability and can adapt to complex usage environments.
[0149] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The program can be stored in a computer-readable storage medium, and when executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory, or a random access memory.
[0150] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A display adjustment method, characterized in that: The method comprises: Obtaining a display adjustment instruction for at least one target display device among a plurality of display devices; In response to the display adjustment instruction, the display system of each target display device is called to adjust the display effect of the target display device.
2. The display adjustment method according to claim 1, wherein: The step of respectively calling the display system of each target display device to adjust the display effect of the target display device in response to the display adjustment instruction includes: In response to the display adjustment instruction, the display system of each target display device is called respectively, and at least one display parameter corresponding to each target display device is modified to a target value respectively, so as to adjust the display effect of the target display device.
3. The display adjustment method according to claim 2, wherein: In response to the display adjustment instruction, respectively calling the display system of each of the target display devices, and respectively modifying at least one display parameter corresponding to each of the target display devices to a target value, including: In response to the display adjustment instruction, obtaining a display effect corresponding to the display adjustment instruction; Determining, according to a preset mapping relationship, at least one display parameter corresponding to the display effect corresponding to the display adjustment instruction in the display system of each target display device and a target value corresponding to each display parameter; The display systems of the target display devices are respectively called, and at least one display parameter included in the display systems of the target display devices is respectively modified to a target value corresponding to the display parameter.
4. The display adjustment method according to claim 1, wherein: Before obtaining the display adjustment instruction for at least one target display device among the multiple display devices, the method further includes: Create a target module in a preset format based on the neon library using the rust language; The acquiring of a display adjustment instruction for at least one target display device among the plurality of display devices includes: Receiving, through the cross-platform desktop application development program Electron, a display adjustment instruction for at least one target display device among the plurality of display devices; The step of respectively calling the display system of each target display device to adjust the display effect of the target display device in response to the display adjustment instruction includes: In response to the display adjustment instruction, the display system of each target display device is respectively called to adjust the display effect of the target display device by calling the target module in the process of the cross-platform desktop application development program.
5. The display adjustment method according to claim 4, wherein: In response to the display adjustment instruction, adjusting the display effect of the target display device by respectively calling the display system of each target display device by calling the target module in the process of the cross-platform desktop application development program includes: In response to the display adjustment instruction, in the process of the cross-platform desktop application development program, receiving, by calling the target module, a target value corresponding to at least one display parameter included in the display adjustment instruction obtained by the cross-platform desktop application development program; By calling the target module, the display system of each target display device is called respectively to modify at least one display parameter corresponding to each target display device to the target value, so as to adjust the display effect of the target display device.
6. The display adjustment method according to claim 1, wherein: Before acquiring the display adjustment instruction for at least one target display device among the multiple display devices, the method further includes: Storing the initial display effect of each target display device; After the display system of each target display device is respectively called to adjust the display effect of the target display device in response to the display adjustment instruction, the method further includes: Obtaining a display recovery instruction for the target display device; In response to the display restoration instruction, the display system of the target display device is called to restore the display effect of the target display device to the initial display effect.
7. The display adjustment method according to claim 1, wherein: After the display system of each target display device is respectively called to adjust the display effect of the target display device in response to the display adjustment instruction, the method further includes: If an abnormality is detected in the adjustment behavior of the display effect of the target display device, an error report is generated; wherein the error report includes step information corresponding to the adjustment behavior and device information of the target display device where the abnormality occurs.
8. A display adjustment device, characterized in that: The device comprises: An instruction acquisition module, configured to acquire a display adjustment instruction for at least one target display device among the plurality of display devices; The display adjustment module is configured to, in response to the display adjustment instruction, call the display system of each target display device to adjust the display effect of the target display device.
9. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, which are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps according to any one of claims 1 to 7.
Citation Information
Patent Citations
An information regulating method and device
CN108091295A
Multi-display system, multi-display display method, and displays
JP2018194625A