Method and device for dynamically adjusting resolution
By dynamically adjusting the resolution of the display device, the problem of waste of resources and imbalance of display ratios in ultra-high-definition display devices without high-resolution scenarios is solved, and the power consumption and transmission bandwidth are reduced while maintaining image quality is achieved, which improves the user experience.
Patent Information
- Application Number
- CN202410141724.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-31
- Publication Date
- 2025-08-01
AI Technical Summary
Ultra-high-definition display devices cause waste of computing power, power consumption and transmission resources in use scenarios where high resolution is not required. The imbalance in the display ratio affects office efficiency. The resolution is limited in the multi-streaming transmission function. The existing scaling function cannot be compatible with all software and leads to waste of resources.
By dynamically adjusting the resolution of the display device, performing proportional reduction and amplification operations using the microcontroller, replacing the resolution in the extended display identification data, optimizing the communication channel between the display device and the source device, turning off the edge area driving power or displaying low-power color, and realizing the display of the target resolution.
It reduces the power consumption and data generation of the display system, improves picture quality and viewing comfort, optimizes resource utilization, and reduces transmission bandwidth requirements.
Smart Images

Figure CN120412499A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display technologies, and particularly to a method and apparatus for dynamically adjusting resolution. Background Art
[0002] With the gradual maturity of display technologies and the gradual reduction of costs, the demand for high-end display devices has increased significantly. Currently, with the popularization of high-quality content such as Dolby Ultra HD videos and Ultra HD games, the resolution of display devices has been greatly improved. Ultra HD display devices have broad market prospects in the future.
[0003] However, ultra HD display devices still have many disadvantages as follows. (1) Ultra HD display devices are prone to waste computing power resources, power consumption resources, and transmission resources. Not all usage scenarios and applications of ultra HD display devices require ultra HD picture quality. For example, in office scenarios such as text code classes, using ultra HD picture quality does not have an advantage. Since the computer display adapter outputs signals at the highest resolution and refresh rate for a long time, the rendering computing power of the display adapter is in a high-load state, resulting in unnecessary power consumption waste. (2) Due to the high resolution, the desktop display ratio is seriously imbalanced, affecting daily office efficiency. To achieve ultra HD picture quality, a display device requires more pixel points, which will inevitably result in a reduced pixel pitch, smaller display content, and problems such as overly small text, icons, and images. These problems hinder the user experience of viewing the screen and affect daily office use. (3) The display resolution of multiple display devices using the Multi Stream Transport (MST) function is limited. The multi-stream transport function needs to meet the resolution of the first main display device, and the remaining amount can be allocated to the second and third display devices, resulting in the first display device being able to display images with better picture quality, while the second and third display devices can only display images with rough picture quality, bringing a bad user experience to users using the multi-stream transport function.
[0004] Regarding the problem of the overly small display ratio of ultra HD monitors, currently, the scaling function provided by the operating system is used to perform ratio scaling in a software manner. However, this scaling function cannot be compatible with all software and applications. Moreover, when the operating system changes the resolution, only the display result of the display device is scaled, and the actual bandwidth of the transmitted video is not reduced. With the operating system power consumption and computing power still remaining at the highest level, serious resource waste will occur.
[0005] Therefore, there is a need for a method and apparatus for dynamically adjusting resolution to achieve the purposes of reducing the power consumption of the operating system and display device, maintaining good picture quality, and improving the comfort of viewing the screen. Summary of the Invention
[0006] The following disclosure is merely exemplary and is not intended to be limiting in any way. In addition to the described aspects, embodiments, and features, other aspects, embodiments, and features will be apparent by reference to the drawings and the following detailed description. That is, the following disclosure is provided to introduce concepts, highlights, benefits, and novel and non-obvious technical advantages described herein. Selected, not all, embodiments will be described in further detail below. Accordingly, the following disclosure is not intended to be a necessary feature of the claimed subject matter nor is it intended to be used in determining the scope of the claimed subject matter.
[0007] Therefore, the main objective of the present invention is to provide a method and apparatus for dynamically adjusting the resolution. By instructing to reset the communication channel between the source device (such as a host device like a computer display adapter) and the display device, the resolution of the display device is dynamically adjusted to achieve the purpose of reducing communication data and bandwidth, reducing the data generation amount of the source device, and reducing the overall power consumption of the display system while maintaining good image quality.
[0008] The present invention proposes a method for dynamically adjusting the resolution for use in a display device, including: when receiving a scaling ratio data instruction, performing a ratio reduction operation on the original resolution of a display screen of the display device by a microcontroller of the display device according to the scaling ratio data instruction to obtain a target resolution; replacing the original resolution at a resolution storage location in an extended display identification data (EDID) by the microcontroller with the target resolution to allow a source device to read; receiving, by the microcontroller, an image data generated by the source device according to the target resolution; performing a ratio magnification operation on the target resolution by the microcontroller according to the scaling ratio data instruction to obtain a screen resolution; and setting, by the microcontroller, the original resolution of the display screen to the screen resolution to display the image data.
[0009] In some embodiments, the scaling ratio data instruction includes a value for indicating the scaling ratio, and the ratio reduction operation further includes: dividing the original resolution by the value and performing a floor operation to generate a first resolution; when the first resolution is not greater than the original resolution, setting the first resolution as the target resolution; and when the first resolution is greater than the original resolution, setting the original resolution as the target resolution.
[0010] In some embodiments, the value is a positive number.
[0011] In some embodiments, the scaling ratio data instruction includes a value for indicating the scaling ratio, and the downscaling operation further includes: performing a floor operation on the value to generate a first value; and multiplying the target resolution by the first value to generate the screen resolution.
[0012] In some embodiments, when the screen resolution is less than the original resolution, a display instruction is transmitted to the display screen, where the display instruction is to indicate to display the image data at the center of the display screen and turn off the driving power of the edge area corresponding to the part exceeding the screen resolution or display a low-power color in the edge area.
[0013] In some embodiments, the method further includes: storing the original resolution in another storage location in the extended display identification data; and when the source device cannot read the target resolution, replacing the target resolution at the resolution storage location with the original resolution.
[0014] In some embodiments, the image data has a target resolution.
[0015] In some embodiments, after replacing the original resolution with the target resolution, the microcontroller resets the transmission channel between the source device and the display device.
[0016] The present invention provides a device for dynamically adjusting the resolution, including: one or more processors; and one or more computer storage media storing computer-readable instructions, where the processor uses the computer storage media to perform: when receiving a scaling ratio data instruction, performing a downscaling operation on an original resolution of a display screen according to the scaling ratio data instruction to obtain a target resolution; replacing the original resolution at a resolution storage location in an extended display identification data with the target resolution to allow a source device to read; receiving an image data generated by the source device according to the target resolution; performing an upscaling operation on the target resolution according to the scaling ratio data instruction to obtain a screen resolution; and setting the original resolution of the display screen to the screen resolution to display the image data. Description of the Drawings
[0017] Figure 1 is a schematic diagram of a system for dynamically adjusting the resolution according to an embodiment of the present invention.
[0018] Figure 2 is an operation flowchart showing the downscaling operation performed by the downscaling module according to an embodiment of the present invention.
[0019] Figure 3 is an operation flowchart showing the upscaling operation performed by the upscaling module according to an embodiment of the present invention.
[0020] Figure 4 It is a schematic diagram showing the edge area of a display screen according to an embodiment of the present invention.
[0021] Figure 5 It is a schematic diagram of turning off the drive power of the edge area or displaying a low-power color in the edge area according to an embodiment of the present invention.
[0022] Figure 6 It is a flowchart showing the method of dynamically adjusting the resolution according to an embodiment of the present invention.
[0023] Figure 7 It is a schematic diagram showing the resolution scaling according to an embodiment of the present invention.
[0024] Figure 8 It shows an exemplary operating environment for implementing the embodiments of the present invention.
[0025] Description of main component symbols:
[0026] 100 System
[0027] 110 Source device
[0028] 120 Display device
[0029] 122 Microcontroller
[0030] 1222 Scaling-down module
[0031] 1224 Data storage module
[0032] 1226 Scaling-up module
[0033] 124 Display screen
[0034] 410 Edge area
[0035] 420 Edge area
[0036] 600 Method
[0037] S605, S610, S615, S620, S625 Steps
[0038] 800 Electronic device
[0039] 810 Bus
[0040] 812 Memory
[0041] 814 Processor
[0042] 816 Display element
[0043] 818 I / O port
[0044] 820 I / O components
[0045] 822 Power supply Detailed implementation manners
[0046] In the following, various aspects of the present invention will be described more fully with reference to the accompanying drawings. However, the present invention may be embodied in many different forms and should not be construed as limited to any specific structure or function presented throughout the present invention. On the contrary, providing these aspects will make the present invention thorough and complete, and the present invention will fully convey the scope of the present invention to those skilled in the art. Based on the teachings herein, those skilled in the art should realize that the scope of the present invention is intended to cover any aspect disclosed herein, whether implemented alone or in combination with any other aspect of the present invention. For example, any number of the devices or methods proposed herein may be used to implement it. In addition, in addition to the various aspects of the present invention proposed herein, the scope of the present invention is more intended to cover devices or methods implemented using other structures, functions or combinations of structures and functions. It should be understood that any aspect disclosed herein may be embodied by one or more elements of the claims.
[0047] The term "exemplary" is used herein to mean "serving as an example, instance, or illustration". Any aspect of the present invention or a design described as "exemplary" herein is not necessarily construed as being preferred over or superior to other aspects of the present invention or design. In addition, the same numerals indicate the same elements in all several drawings, and unless otherwise specified in the description, the articles "a" and "the" include plural references.
[0048] It can be understood that when an element is referred to as being "connected" or "coupled" to another element, the element can be directly connected to or coupled to the other element or there may be intermediate elements. On the contrary, when the element is referred to as being "directly connected" or "directly coupled" to another element, there are no intermediate elements. Other words used to describe the relationship between elements should be interpreted in a similar manner (for example, "between" and "directly between", "adjacent" and "directly adjacent", etc.).
[0049] An embodiment of the present invention provides a method and device for dynamically adjusting the resolution. By instructing to reset the communication channel between the source device (such as a host device like a computer display adapter) and the display device, the resolution of the display device is dynamically adjusted, so as to achieve the purpose of reducing communication data and bandwidth, reducing the data generation amount of the source device, and reducing the overall power consumption of the display system under the condition of maintaining good image quality.
[0050] Figure 1FIG. 0 is a schematic diagram of a system 100 for dynamically adjusting resolution according to an embodiment of the present invention. The system 100 includes a source device 110 and a display device 120. The source device 110 is used to output image data, and its type ranges from a small host device (e.g., a computer host with a display adapter) to a large host system (e.g., a large server).
[0051] The display device 120 can be connected to the source device 110 by a transmission cable compliant with the regulations of the Video Electronics Standards Association (VESA), where the transmission cable can include unidirectional and bidirectional signal transmission channels compliant with the VESA standard. The display device 120 at least includes a microcontroller 122 and a display screen 124. The microcontroller 122 can receive image data from the source device 110 and transmit the image data to the display screen 124 for display.
[0052] The microcontroller 122 can receive a scaling ratio data instruction input by a user, where the scaling ratio data instruction can include an instruction directly input through the display device 120 or an indirect instruction input through other devices.
[0053] The display device 120 can present an on-screen display (OSD) interface to the user, and the OSD interface can provide multiple selectable scaling ratio data. The user can directly input a scaling ratio data instruction through the OSD interface to select the desired scaling ratio data.
[0054] In addition, the user can also input a scaling ratio data instruction through the source device 110 or other devices. For example, the microcontroller 122 of the display device 120 can provide a dedicated application programming interface (API) to communicate with the source device 110 or other devices. Therefore, the user can input a scaling ratio data instruction on the source device 110 or other devices to select the desired scaling ratio data.
[0055] In one embodiment, the microprocessor 122 can include a downscaling module 1222, a data storage module 1224, and an upscaling module 1226.
[0056] The downscaling module 1222 can perform a downscaling operation on an original resolution of the display screen 124 according to the scaling ratio data instruction received by the microprocessor 122 to obtain a target resolution.
[0057] In one embodiment, the ratio reduction module 1222 is disposed outside the microprocessor 122, and the ratio reduction module 1222 is electrically coupled to the microprocessor 122.
[0058] The data storage module 1224 replaces the original resolution at a resolution storage location in an Extended Display Identification Data (EDID) with a target resolution to allow the source device 110 to read. The EDID is a description of the display capabilities of a display device, which is a standard information format for display devices formulated by the VESA association, just like the ID card of a display device. The EDID can include information such as the display device name, serial number, and original resolution. Its purpose is to inform the source device 110 of the capabilities that the display device 120 can support before displaying an image, to ensure normal transmission and display of content.
[0059] In one embodiment, after the data storage module 1224 replaces the original resolution at the resolution storage location with the target resolution, it stores the original resolution in another storage location in the EDID. When the source device 110 cannot read the target resolution, the data storage module 1224 can replace the target resolution at the resolution storage location back with the original resolution.
[0060] In another embodiment, after the original resolution is replaced with the target resolution, the microprocessor 122 sets an HPD interrupt and pulls down the hot plug pin of the display device 120 for a period of time, so that the display adapter of the source device 110 disconnects the transmission channel from the display device 120 and stops obtaining the EDID. The microprocessor 122 then pulls up the hot plug pin to reset the transmission channel between the display adapter of the source device 110 and the display device 120. After the transmission channel is reset, the display adapter of the source device 110 will read and identify the EDID after the resolution is replaced. After the display adapter of the source device 110 obtains the target resolution in the EDID, it will generate image data according to the number of pixels of the target resolution, thereby realizing the function of dynamically adjusting the resolution of the display device.
[0061] The ratio amplification module 1226 receives an image data generated by the source device 110 according to the target resolution, and performs a ratio amplification operation on the target resolution according to a value included in the scaling ratio data instruction indicating the scaling ratio to obtain a screen resolution.
[0062] The microcontroller 122 sets the original resolution of the display screen 124 to the screen resolution and displays the above-mentioned image data.
[0063] It should be noted that although the microcontroller 122 is in Figure 1In the figure, the display screen 124 is included in the display device 120 as an example, but the present invention should not be limited thereto. In one embodiment, the microcontroller 122 may be a device outside the display device 120 and may be connected to the display device 120 through a High Definition Multimedia Interface (HDMI).
[0064] It should be understood that Figure 1 The illustrated source device 110 and display device 120 are examples of the architecture of the system 100 for dynamically adjusting the resolution. Figure 1 Each of the illustrated devices may be implemented via any type of electronic device, such as the electronic device 800 described with reference to Figure 8 as shown Figure 8 as shown
[0065] The following will detail how the downscaling module 1222 performs a downscaling operation and how the upscaling module 1226 performs an upscaling operation in detail.
[0066] Figure 2 is a flowchart showing the operation of the downscaling module 1222 performing a downscaling operation according to an embodiment of the present invention. As shown in the figure, it is assumed that the display device provides selectable scaling ratio data [Ratio Data 1, RatioData 2, Ratio Data 3, …, Ratio Data n]. The downscaling module 1222 may receive the scaling ratio data instruction 202 and obtain a value Scaling Ratio included in the scaling ratio data instruction 202 for indicating the scaling ratio. The value Scaling Ratio can be represented by the following formula
[0067] Scaling Ratio = {Ratio Data[n]|n = 1, 2, 3...}
[0068] (Ratio Min ≤ Ratio Data[n] ≤ Ratio Max)
[0069] where the value Scaling Ratio may be a positive number X, and each scaling ratio data Ratio Data[n] is within a range between Ratio Min and Ratio Max. In one embodiment, Ratio Min may be set to 1 and RatioMax may be set to 3. In another embodiment, each scaling ratio data Ratio Data[n] is not limited to an integer or a decimal.
[0070] The microprocessor can obtain the original resolution Y of the display screen, where the original resolution is equal to the physical resolution of the display screen, and is divided into the horizontal pixels Y H and the vertical pixels Y V .
[0071] The scaling-down module 1222 divides the original resolution Y by the value X and performs a floor operation to generate a first resolution Z, where the first resolution Z is composed of the horizontal pixels Z H and the vertical pixels Z V and can be represented by the following formula:
[0072] Z H = Rounddown(Y H / X)
[0073] Z V = Rounddown(Y V / X)
[0074] When the first resolution is not greater than the original resolution, the scaling-down module 1222 sets the first resolution as the target resolution. When the first resolution is greater than the original resolution, the scaling-down module 1222 sets the original resolution as the target resolution.
[0075] After setting the target resolution, the scaling-down module 1222 transmits the target resolution to the data storage module 1224. Subsequently, the source device will re-identify and confirm the target resolution with the display device to generate and transmit image data.
[0076] Figure 3 is a flowchart showing the operation of the scaling-up module 1226 performing a scaling-up operation according to an embodiment of the present invention.
[0077] As shown in the figure, the scaling-up module 1226 can obtain the target resolution Z from the scaling-down module 1222 or the data storage module 1224. The target resolution Z can be represented by the following formula:
[0078] Z = {Z H , Z V}
[0079] where Z H represents the horizontal pixels, Z VRepresents vertical pixels. Compared with the image data with the original resolution, the number of pixels in the image data with the target resolution has significantly decreased. Since the physical resolution of the display screen is fixed, when the resolution of the image data needs to be presented according to the size of the display screen, the number of pixels needs to be mapped and enlarged in a certain proportion. In the present invention, the target resolution is enlarged by an integer multiple equal to a first value X, where this first value is obtained by performing a floor operation on a value used to indicate the scaling ratio in the scaling ratio data instruction 202 included in Figure 2 When the first value is larger, the more pixel points the image data is mapped to and the larger the text and image displayed, so as to improve the viewing comfort of the viewing angle. The first value X can be represented by the following formula:
[0080] X = Rounddown[Scaling Ratio]
[0081] The screen resolution S is generated by multiplying the target resolution Z by the first value X. The number of pixel points presented on the display screen includes the horizontal pixel S H and the vertical pixel S V . The screen resolution S, the horizontal pixel S H and the vertical pixel S V can be represented by the following formula:
[0082] S = {S H , S V}
[0083] S H = Z H * X
[0084] S V = Z V * X
[0085] From the above formula, it can be known that the screen resolution is enlarged by multiplying the target resolution by an integer multiple of the first value. The advantage of using an integer multiple is that the edge of the displayed image data is enlarged in integer multiples, and there will be no excessive gray levels that cause the image edge to be blurred, and a certain clarity of the image data can be maintained. As Figure 4 shown, 410 is the edge area of the screen resolution obtained by multiplying the target resolution by an integer multiple of the first value. 420 shows that there is excessive gray level in the edge area, where the excessive gray level is a low-contrast performance and will reduce the clarity of the displayed image data.
[0086] The mapping and enlargement relationship between the target resolution and the screen resolution can be shown in Table 1.
[0087]
[0088] Table 1
[0089] In one embodiment, when the screen resolution is equal to the original resolution, all the pixel points of the display screen will be filled and displayed. When the screen resolution is less than the original resolution, the microprocessor will transmit a display instruction to the display screen, where the display instruction is to indicate to display the image data at the screen resolution in the center of the display screen and turn off the drive power of the corresponding edge area exceeding the screen resolution or display a low-power color in the edge area.
[0090] Figure 5 It is a schematic diagram of turning off the drive power of the edge area or displaying a low-power color in the edge area according to an embodiment of the present invention. As Figure 5 shown, the image data is displayed in the display area in the center of the display screen, and the drive power of the edge area exceeding the screen resolution will be turned off or a low-power color will be displayed in the edge area. The advantage of adopting the method of turning off the drive power of the edge area or displaying a low-power color in the edge area is that on the one hand, it ensures that the display area has an integer multiple of the target resolution, and on the other hand, since there is no need to consume power to drive the edge area without display, the power consumption of the display device is reduced. In addition, since the image data transmitted by the source device is generated according to the target resolution, the purpose of reducing the transmission bandwidth and power consumption between the source device and the display device can be achieved.
[0091] Figure 6 It is a flowchart showing the method 600 for dynamically adjusting the resolution according to an embodiment of the present invention. This method 600 is executed by the display device 120 as shown in Figure 1 shown.
[0092] In step S605, when receiving a scaling ratio data instruction, a microcontroller of the display device performs a ratio reduction operation on the original resolution of a display screen of the display device according to the scaling ratio data instruction to obtain a target resolution. In one embodiment, the scaling ratio data instruction includes a value for indicating the scaling ratio, and the value is a positive number. The ratio reduction operation further includes: the microcontroller divides the original resolution by the value and performs a floor operation to generate a first resolution. When the first resolution is not greater than the original resolution, the microcontroller sets the first resolution as the target resolution; and when the first resolution is greater than the original resolution, the microcontroller sets the original resolution as the target resolution.
[0093] Next, in step S610, the microcontroller replaces the original resolution at a resolution storage location in an extended display identification data (EDID) with the target resolution to allow a source device to read.
[0094] In step S615, the microcontroller receives an image data generated by the source device according to the target resolution, where the image data has the target resolution.
[0095] In step S620, the microcontroller performs a scaling-up operation on the target resolution according to the scaling ratio data instruction to obtain a screen resolution. In one embodiment, the scaling-up operation further includes: the microprocessor performs a floor operation on a value to generate a first value. The microprocessor multiplies the target resolution by the first value to generate the screen resolution.
[0096] In step S625, the microcontroller sets the original resolution of the display screen to the screen resolution to display the image data.
[0097] In one embodiment, when the screen resolution is less than the original resolution, the microprocessor transmits a display instruction to the display screen, where the display instruction is to indicate to display the image data at the center of the display screen and turn off the driving power of the corresponding edge area exceeding the screen resolution or display a low-power color in the edge area.
[0098] Figure 7 is a schematic diagram showing the resolution scaling according to an embodiment of the present invention. In Figure 7 it, taking the original resolution of a display screen as 6K (6144*3456) and the value indicating the scaling ratio in the scaling ratio data instruction as 1, 2, 2.2 as examples for illustration.
[0099] As shown in the figure, when the values indicating the scaling ratio are 1, 2, 2.2, the target resolution 1, target resolution 2, and target resolution 3 can be expressed by the following formulas:
[0100] Target resolution 1 = [6144*3456] / 1 = [6144*3456]
[0101] Target resolution 2 = [6144*3456] / 2 = [3072*1728]
[0102] Target resolution 3 = [6144*3456] / 2.2 = [{2792.7272...}*{1570.909090...}]
[0103] For target resolution 3, since target resolution 3 is not reduced by an integer multiple ratio, the microcontroller also performs a floor operation on target resolution 3, as expressed by the following formula:
[0104] Rounddown(Target resolution 3) = [2792*1570]
[0105] After obtaining the target resolution 1, target resolution 2, and target resolution 3 through operations, the microprocessor then magnifies the target resolution 1, 2, and 3 by an integer ratio to obtain the screen resolution 1, screen resolution 2, and screen resolution 3, as represented by the following formula:
[0106] Screen resolution 1 = Target resolution 1 * Value 1 = [6144 * 3456] * 1 = 6144 * 3456
[0107] Screen resolution 2 = Target resolution 2 * Value 2 = [3072 * 1728] * 2 = 6144 * 3456. Since Value 3 is 2.2, the microprocessor will perform a floor operation on Value 3, as represented by the following formula:
[0108] Rounddown(Value 3) = 2
[0109] Therefore, the screen resolution 3 is expressed as follows:
[0110] Screen resolution 3 = Target resolution 3 * Rounddown(Value 3) = [7892 * 1570] * 2
[0111] = 5584 * 3140
[0112] As Figure 7 shown, when the display screen displays image data at the screen resolution 3, since the display screen only displays at the pixel size of 5584 * 3140 for the screen resolution 3, there will be an edge area with a pixel size of 6144 * 316 + 3140 * 560 on the display screen. Figure 7 The relationships among the target resolution, screen resolution, original resolution, and edge area in
[0113]
[0114] Table 2
[0115] As described above, the method and device for dynamically adjusting the resolution proposed by the present invention use a target resolution smaller than the original resolution to generate image data, significantly reducing the amount of image generation, the computing power and power consumption of the display adapter of the source device, and the amount of image data transmitted from the source device, achieving the purpose of reducing the power consumption of the entire transmission channel. In addition, in the display device, directly replacing the original resolution in the EDID with the target resolution is more flexible for resolution switching and selection, and can reduce the storage capacity of excessive EDIDs, reducing the cost of storage hardware.
[0116] It should be noted that Figure 1Embodiments of the microprocessor 122 can be implemented in hardware, software, firmware, or any combination thereof. For example, all modules in the microprocessor 122 can be respectively implemented as computer program codes configured to execute in one or more processors. Alternatively, all modules in the microprocessor 122 can be respectively implemented as hardware logic / circuits. For another example, all modules in the microprocessor 122 can be respectively implemented as computer program codes set to execute in one or more processors. Alternatively, all modules in the microprocessor 122 can be respectively implemented as hardware logic / circuits.
[0117] The embodiments described herein, including systems, methods / processes, and / or apparatuses, can be implemented using well-known computers (such as Figure 8 the electronic device 800 shown). For example, the display device 120 or the microprocessor 122 can be implemented using one or more electronic devices 800. For illustrative purposes, the electronic device 800 is described as follows.
[0118] Specifically refer to Figure 8 , Figure 8 The exemplary operating environment shown for implementing the embodiments of the present invention can generally be regarded as the electronic device 800. The electronic device 800 is only one example of a suitable computing environment and is not intended to imply any limitation on the use or functional scope of the present invention. The electronic device 800 should not be construed as having any dependence or requirement related to any one or combination of the shown elements.
[0119] The present invention can be implemented in computer program codes or machine-usable instructions to execute the present invention. The instructions can be computer-executable instructions of program modules, and the program modules are executed by a computer or other machines, such as a personal digital assistant or other portable devices. Generally, program modules include routines, programs, objects, elements, data structures, etc. Program modules refer to program codes that perform specific tasks or implement specific abstract data types. The present invention can be implemented in various system configurations, including portable devices, consumer electronics, general-purpose computers, more specialized computing devices, etc. The present invention can also be implemented in a distributed computing environment, where processing is performed by devices connected by a communication network.
[0120] Refer to Figure 8 . The electronic device 800 includes a bus 810, a memory 812, one or more processors 814, one or more display elements 816, input / output (I / O) ports 818, input / output (I / O) elements 820, and an illustrative power supply 822 that are directly or indirectly coupled to the following devices. The bus 810 represents an element that can be one or more buses (e.g., an address bus, a data bus, or a combination thereof). Although Figure 8The various boxes are shown by lines for simplicity. In fact, the demarcation of each component is not specific. For example, the rendering component of the display device can be regarded as an I / O component; the processor may have a memory.
[0121] Electronic device 800 generally includes various computer-readable media. The computer-readable media can be any available media that can be accessed by electronic device 800, including both volatile and non-volatile media, as well as removable and non-removable media. By way of example and not limitation, the computer-readable media may include computer storage media and communication media. The computer-readable media includes both volatile and non-volatile media, as well as removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, random access memory (RAM), read-only memory (ROM), electrically-erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disc storage devices, magnetic disks, magnetic tapes, magnetic tape storage devices or other magnetic storage devices, or any other media that can be used to store the required information and can be accessed by electronic device 800. Computer storage media does not include signals per se.
[0122] Communication media generally includes computer-readable instructions, data structures, program modules, or other data in the form of a modulated data signal such as a carrier wave or other transmission mechanism, and includes any information delivery media. The term "modulated data signal" refers to a signal having one or more characteristic sets or a signal that has been altered in such a way as to encode information in the signal. By way of example and not limitation, communication media includes wired media such as a wired network or a direct wired connection, and wireless media such as audio, radio frequency, infrared, and other wireless media. Combinations of the above media are included within the scope of computer-readable media.
[0123] The memory 812 includes computer storage media in the form of volatile and non-volatile memory. The memory can be removable, non-removable, or a combination of both. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, and the like. The electronic device 800 includes one or more processors that read data from various entities such as the memory 812 or the I / O elements 820. The display element 816 displays data indications to the user or other devices. Exemplary display elements include display screens and the like.
[0124] The I / O port 818 allows the electronic device 800 to be logically connected to other devices including the I / O elements 820, and some of such devices are built-in devices. Exemplary elements include microphones, rockers, wireless devices, and the like. The I / O elements 820 can provide a natural user interface for processing user-generated gestures, voices, or other physiological inputs. In some examples, these inputs can be transmitted to a suitable network element for further processing. The electronic device 800 can be equipped with a depth camera, such as a stereo camera system, an infrared camera system, an RGB camera system, and combinations of these systems, to detect and identify objects. In addition, the electronic device 800 can be equipped with sensors (e.g., radar, lidar) to periodically sense the surrounding environment within a sensing range, generating sensor information representing its association with the surrounding environment. Furthermore, the electronic device 800 can be equipped with an accelerometer or gyroscope for detecting motion. The output of the accelerometer or gyroscope can be provided for display by the electronic device 800.
[0125] In addition, the processor 814 in the electronic device 800 can also execute the programs and instructions in the memory 812 to present the actions and steps described in the above embodiments, or other descriptions in the specification.
[0126] Any specific order or hierarchical steps of the programs disclosed herein are purely by way of example. Based on design preferences, it must be understood that any specific order or hierarchical steps of the programs can be rearranged within the scope disclosed in this document. The accompanying method claims present the elements of various steps in an example order and should not, therefore, be limited by the specific order or hierarchy shown.
[0127] The use of ordinal numbers such as "first", "second", "third", etc. to modify elements in the claims does not itself imply any priority, precedence, order among the elements, or order of the steps performed by the method, but is only used as an identifier to distinguish different elements with the same name (with different ordinal numbers).
[0128] Although the present invention has been disclosed above by way of implementation examples, it is not intended to limit the present invention. Any person skilled in the art should be able to make some modifications and refinements without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be determined by the scope defined in the appended claims.
Claims
1. A method for dynamically adjusting the resolution, the method for dynamically adjusting the resolution is used in a display device, and the method for dynamically adjusting the resolution includes: When receiving a scaling ratio data instruction, a microcontroller of the display device performs a ratio reduction operation on an original resolution of a display screen of the display device according to the scaling ratio data instruction to obtain a target resolution; The microcontroller replaces the original resolution at a resolution storage location in an extended display identification data with the target resolution to allow a source device to read; The microcontroller receives an image data generated by the source device according to the target resolution; The microcontroller performs a ratio enlargement operation on the target resolution according to the scaling ratio data instruction to obtain a screen resolution; And The microcontroller sets the original resolution of the display screen to the screen resolution to display the image data.
2. The method for dynamically adjusting the resolution according to claim 1, wherein the scaling ratio data instruction includes a value for indicating a scaling ratio, and the ratio reduction operation further includes: Dividing the original resolution by the value and performing a floor operation to generate a first resolution; When the first resolution is not greater than the original resolution, setting the first resolution as the target resolution; and When the first resolution is greater than the original resolution, setting the original resolution as the target resolution.
3. The method for dynamically adjusting the resolution according to claim 2, wherein the value is a positive number.
4. The method for dynamically adjusting the resolution according to claim 1, wherein the scaling ratio data instruction includes a value for indicating a scaling ratio, and the ratio enlargement operation further includes: Performing a floor operation on the value to generate a first value; And Multiplying the target resolution by the first value to generate the screen resolution.
5. The method for dynamically adjusting the resolution according to claim 4, wherein when the screen resolution is less than the original resolution, a display instruction is sent to the display screen, and the display instruction is to indicate to display the image data at the center of the display screen and turn off the driving power of the edge area corresponding to exceeding the screen resolution or display a low-power color in the edge area.
6. The method for dynamically adjusting the resolution according to claim 1, the method for dynamically adjusting the resolution further includes: Storing the original resolution in another storage location in the extended display identification data; And When the source device cannot read the target resolution, replacing the target resolution at the resolution storage location with the original resolution.
7. The method for dynamically adjusting the resolution according to claim 1, wherein the image data has the target resolution.
8. The method for dynamically adjusting the resolution as described in claim 1, wherein after replacing the original resolution with the target resolution, the microcontroller resets the transmission channel between the source device and the display device.
9. An apparatus for dynamically adjusting the resolution, the apparatus for dynamically adjusting the resolution comprising: one or more processors; and one or more computer storage media, the computer storage media storing computer-readable instructions, wherein the processor uses the computer storage media to perform: When receiving a scaling ratio data instruction, performing a ratio reduction operation on an original resolution of a display screen according to the scaling ratio data instruction to obtain a target resolution; Replacing the original resolution at a resolution storage location in an extended display identification data with the target resolution to allow a source device to read; Receiving an image data generated by the source device according to the target resolution; Performing a ratio enlargement operation on the target resolution according to the scaling ratio data instruction to obtain a screen resolution; and Setting the original resolution of the display screen to the screen resolution to display the image data.
10. The apparatus for dynamically adjusting the resolution as described in claim 9, wherein the scaling ratio data instruction includes a value for indicating a scaling ratio, and the ratio reduction operation further includes: Dividing the original resolution by the value and performing a floor operation to generate a first resolution; When the first resolution is not greater than the original resolution, setting the first resolution as the target resolution; and When the first resolution is greater than the original resolution, setting the original resolution as the target resolution.
11. The apparatus for dynamically adjusting the resolution as described in claim 10, wherein the value is a positive number.
12. The apparatus for dynamically adjusting the resolution as described in claim 9, wherein the scaling ratio data instruction includes a value for indicating a scaling ratio, and the ratio enlargement operation further includes: Performing a floor operation on the value to generate a first value; and Multiplying the target resolution by the first value to generate the screen resolution.
13. The apparatus for dynamically adjusting the resolution as described in claim 12, wherein when the screen resolution is less than the original resolution, the processor transmits a display instruction to the display screen, wherein the display instruction is for instructing to display the image data at the center of the display screen and turn off the driving power of the edge area corresponding to exceeding the screen resolution or display a low-power consumption color in the edge area.
14. The apparatus for dynamically adjusting the resolution as described in claim 9, wherein the processor further performs: Storing the original resolution in another storage location in the extended display identification data; and When the source device cannot read the target resolution, replacing the target resolution at the resolution storage location with the original resolution.
15. The apparatus for dynamically adjusting resolution according to claim 9, wherein the image data has the target resolution.
16. The apparatus for dynamically adjusting resolution according to claim 9, wherein after replacing the original resolution with the target resolution, the processor resets the transmission channel between the source device and the apparatus for dynamically adjusting resolution.
Citation Information
Patent Citations
Method for scaling and cropping images for television display
CN101068333A
Method for changing resolution and display apparatus and system using the same
CN102163137A
Image processing method and image processing device
CN108322672A
Method and encoder for encoding a video stream in a video coding format supporting auxiliary frames
CN109688410A
Image processing method and apparatus
CN113728354A