On screen display (OSD) adaptive display method and device based on screen resolution, equipment and medium

By determining the OSD frame based on the display resolution and selecting matching font library, the OSD interface display problem caused by different display resolutions is solved, and clear and stable OSD interface display on screens with different resolutions is achieved, improving the user experience.

CN119620987APending Publication Date: 2025-03-14SHENZHEN HUIDU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411757318.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In the prior art, the display screen has different resolutions due to different splicing methods, which leads to the inability to display the OSD interface normally, or the display effect is extremely poor, affecting the user experience.

Method used

By obtaining the screen resolution of the target display screen, determining the OSD frame information based on the resolution, obtaining the preset font library file, selecting the target font library that matches the screen resolution, and driving the control module of the display screen to generate and display the OSD interface.

Benefits of technology

It realizes flexible display of OSD interface on display screens with different resolutions, solves the problem that the OSD interface cannot normally adapt to various screen resolutions in the prior art, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119620987A_ABST
    Figure CN119620987A_ABST
Patent Text Reader

Abstract

The invention discloses an OSD self-adaptive display method and device based on screen resolution, equipment and a medium, and relates to the technical field of display. According to the method provided by the invention, the OSD frame and the word stock matched with the screen resolution are determined and imported according to different screen resolutions, and the OSD interface is generated according to the OSD frame information and the target word stock and is displayed on the display screen, so that the OSD interface can be clearly and stably displayed on any spliced screen or the display screen with non-standard resolution. The OSD interface not only can display the current state information of the equipment, such as the working mode, the playing content and the like, but also can interact with the user to provide an equipment control function. A user can conveniently check the running state of the equipment or perform operation through the OSD interface, so that the operation convenience and user experience of the equipment are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of display technology, and in particular to an OSD adaptive display method, device, equipment and medium based on screen resolution. Background Art

[0002] For large display screens such as LED display screens, the screen is usually composed of multiple display modules spliced ​​together. The number and splicing methods of different display modules determine the final screen resolution. For example, different splicing methods will produce different aspect ratios, such as wide screens with an aspect ratio greater than 1, vertical screens with an aspect ratio less than 1, and square screens with an aspect ratio equal to 1. The diversity of screen resolutions poses a great challenge to displaying OSD (On-Screen Display, screen display menus and information) on the display screen. For example, existing solutions usually rely on the use of dot matrix fonts to display OSD content. A significant limitation of the dot matrix font is that it presets fixed-size fonts and usually only supports 1 to 3 font sizes. This fixed character display method cannot flexibly cope with multiple screen resolutions. Due to the huge differences in screen resolutions caused by different splicing modes, it is impossible to flexibly and clearly display the OSD interface by simply relying on a fixed dot matrix font. This results in the OSD interface not being able to display normally at certain resolutions, or the display effect is extremely poor, which greatly affects the user experience. Summary of the invention

[0003] In view of this, the embodiments of the present invention provide an OSD adaptive display method, device, equipment and medium based on screen resolution, so as to solve the problem in the prior art that the OSD interface cannot be displayed normally due to different resolutions of display screens due to different splicing methods.

[0004] In a first aspect, an embodiment of the present invention provides an OSD adaptive display method based on screen resolution, the method comprising:

[0005] Get the screen resolution of the target display;

[0006] Determine OSD frame information according to the screen resolution, wherein the OSD frame information at least includes an OSD display mode and an OSD resolution, wherein the display mode includes a row mode and a column mode;

[0007] Obtaining a preset font library file, wherein the preset font library file includes several font libraries with different font sizes;

[0008] Acquire a target font library matching the screen resolution from the preset font library file;

[0009] The control module driving the target display screen generates an OSD interface according to the OSD framework information and the target font library and displays the OSD interface on the target display screen.

[0010] Preferably, the target display screen is composed of a plurality of display modules, and obtaining the screen resolution of the target display screen includes:

[0011] The screen resolution of the target display screen is obtained according to the number and splicing method of the display modules.

[0012] Preferably, the determining of OSD frame information according to the screen resolution, wherein the OSD frame information at least includes an OSD display mode and an OSD resolution, comprises:

[0013] Determining the aspect ratio of the target display screen according to the screen resolution;

[0014] determining the display mode according to the aspect ratio;

[0015] Get the preset OSD maximum resolution;

[0016] When the screen resolution is greater than or equal to the preset OSD maximum resolution, the OSD resolution is equal to the preset OSD maximum resolution;

[0017] When the screen resolution is less than the preset OSD maximum resolution, the OSD resolution is determined according to the screen resolution and the display mode, and the OSD resolution is less than or equal to the screen resolution.

[0018] Preferably, determining the display mode according to the aspect ratio comprises:

[0019] When the aspect ratio is greater than or equal to 1, the display mode is a row mode, and the OSD frame is configured to contain at least one row of information units and at most N rows of information units, wherein N is determined according to the height of the target display screen and the height of the information unit;

[0020] When the aspect ratio is less than 1, the display mode is a column mode, and the OSD frame is configured to contain at least one column of information units and at most M columns of information units, wherein M is determined according to the width of the target display screen and the width of the information unit;

[0021] The information unit includes at least one character.

[0022] Preferably, when the screen resolution is less than the preset OSD maximum resolution, determining the OSD resolution according to the screen resolution and the display mode comprises:

[0023] Determine a plurality of different OSD frame styles based on the display mode, wherein different OSD frame styles have different numbers of rows or columns;

[0024] The OSD resolution is determined by selecting one of the OSD frame styles according to the screen resolution.

[0025] Preferably, the screen resolution of the target display screen is acquired by a host computer or a microcontroller, and after the host computer or the microcontroller acquires the screen resolution, it is sent to the control module connected thereto.

[0026] Preferably, the preset font file is stored in a USB device, and acquiring a target font matching the screen resolution from the preset font file comprises:

[0027] After acquiring the screen resolution, the host computer or microcontroller determines a target font library that matches the screen resolution, and sends a font library call instruction to the control module to drive the control module to import the target font library from the USB device.

[0028] In a second aspect, an embodiment of the present invention provides an OSD adaptive display device based on screen resolution, the device comprising:

[0029] A screen resolution acquisition module is used to acquire the screen resolution of the target display screen;

[0030] An OSD frame determination module, configured to determine OSD frame information according to the screen resolution, wherein the OSD frame information at least includes an OSD display mode and an OSD resolution, wherein the display mode includes a row mode and a column mode;

[0031] A font preset module, used to obtain a preset font file, wherein the preset font file includes several fonts with different font sizes;

[0032] A target font acquisition module, used to acquire a target font matching the screen resolution from the preset font file;

[0033] The display module is used to drive the control module of the target display screen to generate an OSD interface according to the OSD framework information and the target font library and display it on the target display screen.

[0034] In a third aspect, an embodiment of the present invention provides an OSD adaptive display device based on screen resolution, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, and when the computer program instructions are executed by the processor, the method of the first aspect in the above embodiment is implemented.

[0035] In a fourth aspect, an embodiment of the present invention provides a storage medium having computer program instructions stored thereon, which implements the method of the first aspect in the above-mentioned embodiment when the computer program instructions are executed by a processor.

[0036] In summary, the beneficial effects of the present invention are as follows:

[0037] The screen resolution-based OSD adaptive display method, device, equipment and medium provided by the embodiment of the present invention obtains the screen resolution of the target display screen; determines OSD framework information according to the screen resolution, wherein the OSD framework information at least includes OSD display mode and OSD resolution; obtains a preset font library file, wherein the preset font library file includes several font libraries with different font sizes; obtains a target font library matching the screen resolution from the preset font library file; drives the control module of the target display screen to generate an OSD interface according to the OSD framework information and the target font library and display it on the target display screen, thereby realizing flexible OSD interface display on display screens with different resolutions, and solving the problem that the OSD interface cannot normally adapt to various screen resolutions due to the limitations of font libraries in the prior art. The method of the present invention determines and imports OSD frameworks and font libraries matching the screen resolution according to different screen resolutions, so that the OSD interface can be displayed clearly and stably on any spliced ​​screen or display screen with non-standard resolution. Because the OSD interface can not only display the current status information of the device, such as working mode, playback content, etc., but also interact with the user to provide device control functions. Users can easily view the operating status of the device or perform operations through the OSD interface, which greatly improves the device's operational convenience and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.

[0039] Figure 1 Schematic diagram of the structure of a display screen system according to an embodiment of the present invention.

[0040] Figure 2 It is a flowchart of an OSD adaptive display method based on screen resolution according to an embodiment of the present invention.

[0041] Figure 3 It is a schematic diagram of obtaining screen resolution and preset font files in an embodiment of the present invention.

[0042] Figure 4 It is a structural schematic diagram of an OSD adaptive display device based on screen resolution according to an embodiment of the present invention.

[0043] Figure 5It is a schematic diagram of the structure of an OSD adaptive display device based on screen resolution according to an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.

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

[0046] Embodiment 1

[0047] The embodiment of the present invention provides an OSD adaptive display method based on screen resolution, which is applicable to a display screen system composed of multiple display modules, such as an LED display screen system. Figure 1 As shown, the display screen system includes, in addition to a target display screen for displaying images, a control module (such as a DSP or other ASIC) connected to the target display screen. The control module is also connected to a host computer or a microcontroller (such as a PC, a smart phone, a tablet computer, etc.) to receive information and data from the host computer or the microcontroller.

[0048] See also Figure 2 The OSD adaptive display method based on screen resolution specifically includes the following steps:

[0049] S1: Get the screen resolution of the target display;

[0050] S2: determining OSD frame information according to the screen resolution, wherein the OSD frame information at least includes an OSD display mode and an OSD resolution, wherein the display mode includes a row mode and a column mode;

[0051] S3: Obtain a preset character library file, wherein the preset character library file includes character libraries of several fonts of different sizes;

[0052] S4: Acquire a target font library matching the screen resolution from the preset font library file;

[0053] S5: The control module driving the target display screen generates an OSD interface according to the OSD framework information and the target font library and displays it on the target display screen.

[0054] Specifically, it is necessary to display an OSD interface on the target display screen. First, the screen resolution of the target display screen is obtained to understand the specific aspect ratio and pixel density of the screen. Figure 3 As shown, the screen resolution is obtained by the host computer or the microcontroller MCU. For example, the user calculates the screen resolution according to the splicing method of the target display screen and inputs it through the human-computer interaction interface of the host computer or the microcontroller. The host computer or the microcontroller sends the screen resolution to the control module (such as DSP) of the target display screen. Next, according to the obtained screen resolution, determine the appropriate OSD frame display mode and OSD resolution. Exemplarily, the display mode includes two options: row mode and column mode: when the aspect ratio of the screen is greater than or equal to 1, the row mode is adopted, that is, the information is arranged and displayed in rows; when the aspect ratio is less than 1, the column mode is adopted, and the information is arranged in columns. At the same time, it is also necessary to adjust the OSD resolution of the OSD according to the actual resolution of the screen to adapt it to the current screen. In addition, the preset font library file pre-sets several font libraries with different font sizes. For example, the preset font library file includes several font libraries, each of which is classified according to font size. For example, the first font library includes multiple fonts with a font size of 7×7 pixels, the second font library includes a font size of 12×12 pixels, and the third font library includes multiple fonts with a font size of 16×16 pixels. By establishing a preset font library file, adaptation from small screens to large screens and from low resolution to high resolution can be achieved, so that the most suitable font can be selected for display on screens with different resolutions. For example, Figure 3As shown, the preset font file can be stored in a USB device. After the screen resolution is obtained, the host computer or microcontroller determines the target font that matches the screen resolution, and sends a font call instruction to the control module to drive the control module to import the matching target font from the USB device, ensuring that the selected font size and style can be clearly displayed at the current screen resolution, without characters being too large to cause information overflow, or fonts being too small to affect readability. Finally, the control module calls the corresponding UI tool to generate an OSD interface image based on the obtained OSD framework information and the target font, and drives the target display screen to display the OSD interface. These steps ensure that the OSD interface can be displayed correctly on display screens with different resolutions, the information is clear and readable, and the user experience is good.

[0055] In one embodiment, the target display screen is composed of a plurality of display modules, and obtaining the resolution of the target display screen includes:

[0056] The resolution of the target display screen is obtained according to the number and splicing method of the display modules.

[0057] In this embodiment, the target display screen is composed of multiple display modules spliced ​​together. This spliced ​​display screen is widely used in large display devices. By combining several display modules (hereinafter referred to as modules) together, a screen of any size and resolution can be formed. In order to accurately generate and display the OSD interface, it is necessary to first obtain the screen resolution of the entire spliced ​​target display screen. Specifically, each module usually has a fixed resolution, expressed as the width and height of the module (for example, the resolution of a module may be 192×192 pixels). When splicing, the resolution of the entire screen can be obtained by combining these modules in a certain arrangement (such as the number of horizontal and vertical directions). In order to calculate the resolution of the target display screen, two key parameters must be known first: the number of modules and their arrangement or splicing method. Exemplarily, the target display screen is composed of 3 display modules arranged horizontally, 2 display modules arranged vertically, and the resolution of each module is 192×192 pixels. Then the resolution of the entire target display screen can be calculated by the following formula:

[0058] Horizontal resolution: the horizontal number of modules × the width of each module = 3 × 192 = 576 pixels.

[0059] Vertical resolution: vertical number of modules × height of each module = 2 × 192 = 384 pixels.

[0060] Therefore, the resolution of the entire target display is 576×384 pixels. It is also worth noting that different splicing methods will affect the aspect ratio of the screen and its overall resolution. For example, an increase in the number of modules or a change in the arrangement (such as 4 modules horizontally and 3 modules vertically) will change the screen resolution of the entire target display. By accurately obtaining this screen resolution, the appropriate OSD framework (such as row mode or column mode) is further determined, and the font suitable for the resolution is selected from the preset font file, accurate display can be achieved, ensuring that no matter how the scale and arrangement of the screen splicing, the information can be correctly displayed according to the spliced ​​screen resolution, thereby improving the applicability of the display in large-scale and complex scenarios.

[0061] In one embodiment, determining OSD frame information according to the screen resolution, wherein the OSD frame information at least includes an OSD display mode and an OSD resolution, comprises:

[0062] Determining the aspect ratio of the target display screen according to the screen resolution;

[0063] determining the display mode according to the aspect ratio;

[0064] Get the preset OSD maximum resolution;

[0065] When the screen resolution is greater than or equal to the preset OSD maximum resolution, the OSD resolution is equal to the preset OSD maximum resolution;

[0066] When the screen resolution is less than the preset OSD maximum resolution, the OSD resolution is determined according to the screen resolution and the display mode, and the OSD resolution is less than or equal to the screen resolution.

[0067] Preferably, determining the display mode according to the aspect ratio comprises:

[0068] When the aspect ratio is greater than or equal to 1, the display mode is a row mode, and the OSD frame is configured to contain at least one row of information units and at most N rows of information units, wherein N is determined according to the height of the target display screen and the height of the information unit;

[0069] When the aspect ratio is less than 1, the display mode is a column mode, and the OSD frame is configured to include at least one column of information units, and at least M columns of information units, wherein M is determined according to the width of the target display screen and the width of the information unit;

[0070] The information unit includes at least one character.

[0071] First, the aspect ratio of the target display screen can be determined according to the screen resolution of the target display screen. The aspect ratio refers to the ratio of the width to the height of the screen, which is used to determine the shape of the display screen and its suitable display mode. Generally speaking, a display screen with an aspect ratio greater than 1 is usually called a wide screen, while a screen with an aspect ratio less than 1 is called a vertical screen. Exemplarily, if the screen resolution of the target display screen is 1920×1080 pixels, then its aspect ratio is 1920:1080, which is approximately equal to 16:9, which is greater than 1, indicating that the screen is a wide screen. On the other hand, if the resolution is 1080×1920, the aspect ratio is 9:16, which is less than 1, indicating that the screen is a vertical screen. In this embodiment, the selection of the OSD display mode is based on the aspect ratio of the target display screen. When the aspect ratio is greater than or equal to 1, the OSD will adopt the "row mode"; when the aspect ratio is less than 1, the OSD will adopt the "column mode". Among them, the row mode means that the OSD content is arranged in rows to adapt to the horizontally longer display screen. The row mode is suitable for displaying more horizontal information, such as multiple characters or content units can be accommodated in one line. The column mode means that the OSD content is arranged in columns to adapt to the vertically taller screen to ensure that the content unit can be displayed vertically and avoid horizontal crowding.

[0072] In order to optimize the display effect, preferably, a preset OSD maximum resolution is set to prevent the OSD from occupying too large a screen area at a very high screen resolution and affecting the display of other content. The preset OSD maximum resolution can be set according to display requirements and actual application scenarios, and is not limited here. For example, the preset OSD maximum resolution is 1920×1080. No matter how high the resolution of the target display is, the OSD resolution will not exceed this value, ensuring that the OSD content can be displayed in an appropriate size and will not be displayed too large due to the high screen resolution.

[0073] After determining the screen resolution and display mode, the next step is to calculate the OSD resolution. The determination of OSD resolution can be divided into two cases:

[0074] When the screen resolution of the target display is greater than or equal to the preset OSD maximum resolution, the OSD resolution will be equal to this maximum resolution. For example, if the screen resolution of the target display is 3840×2160 pixels and the OSD maximum resolution is preset to 1920×1080 pixels, the OSD resolution will be 1920×1080 pixels.

[0075] When the screen resolution of the target display is lower than the preset OSD maximum resolution, the OSD resolution will be adjusted according to the screen resolution and display mode. At this time, the OSD resolution will be less than or equal to the screen resolution, ensuring that the OSD content will not exceed the screen boundary and can be clearly displayed on the display with a smaller resolution. For example, assume that the resolution of the target display is 1280×720 pixels, and the OSD maximum resolution is 1920×1080 pixels. In this case, the OSD resolution will be set to no more than 1280×720 pixels to ensure that the OSD can be fully displayed on the target screen without exceeding the screen boundary. In addition, when determining the OSD resolution, the OSD display mode will also affect the final display effect. For example, in row mode, the OSD will be displayed in a row arrangement, so the OSD frame can accommodate at least one row of information units (such as characters) and can display at most N rows of information units. N is calculated by dividing the height of the target display by the height of the information unit (such as the height of one character). Similarly, in column mode, the OSD frame can accommodate at least one column of information units and can display at most M columns of information units. M is calculated as the width of the target display divided by the width of the information unit. Therefore, the OSD resolution will change according to the number of rows or columns set by the OSD frame. In this way, the OSD frame and resolution are automatically adjusted according to the resolution, aspect ratio and display mode of different displays, ensuring that the OSD content can be displayed in the best way on displays with different resolutions, improving the flexibility of OSD display and user experience.

[0076] In one embodiment of the present invention, when the screen resolution of the target display screen is less than the preset OSD maximum resolution, the OSD resolution needs to be adjusted according to the screen resolution and display mode to ensure that the OSD content can be displayed in the best way on display screens of different sizes. The solution determines the final OSD resolution by selecting a suitable OSD frame style.

[0077] When the screen resolution is less than the preset OSD maximum resolution, determining the OSD resolution according to the screen resolution and the display mode includes:

[0078] Determine a plurality of different OSD frame styles based on the display mode, wherein different OSD frame styles have different numbers of rows or columns;

[0079] The OSD resolution is determined by selecting one of the OSD frame styles according to the screen resolution.

[0080] First, based on the display mode (row mode or column mode), several different OSD frame styles can be preset. These OSD frame styles are mainly realized by setting different numbers of rows or columns to adapt to display screens of different sizes and shapes. For example, in row mode, an OSD frame with different numbers of rows such as 1 row, 2 rows, and 3 rows can be set; in column mode, an OSD frame with different numbers of columns such as 1 column, 2 columns, and 3 columns can be set. These different frame styles provide a flexible arrangement for OSD content to ensure that information can adapt to screens with different resolutions. The available OSD frame styles are determined by the screen resolution of the target display screen. In row mode, a suitable number of rows is selected according to the height of the display screen and the height of each row; in column mode, a suitable number of columns is selected according to the width of the display screen and the width of each column. Then, from the preset OSD frame styles, a frame style that matches the screen resolution is selected to determine the final OSD resolution. Exemplarily, the resolution of the target display screen is 800×600 pixels, the preset OSD maximum resolution is 1920×1080 pixels, and the OSD display mode is row mode. In this case, since the screen resolution is less than the maximum resolution, you need to select a suitable style from the preset OSD frame styles. Assuming that the height of each line is 50 pixels, the number of lines that can be accommodated is 600÷50=12 lines according to the height of the display screen (600 pixels). Assuming that the OSD frame style includes 2 lines, 6 lines, 12 lines, and 24 lines, you can select a 12-line OSD frame style and set the OSD resolution of the 12-line style to 800×600 pixels to ensure that the OSD content can fully adapt to the screen resolution. In addition, you can also select a 6-line OSD frame style and set the OSD resolution of the 12-line style to 800×300 pixels, so that the OSD interface only needs to occupy half of the screen.

[0081] In addition, if the OSD interface contains a lot of information, and the currently displayed OSD frame can only accommodate part of it, a cyclic switching method can be used to display different parts of the information on the screen in sequence. This cyclic switching mechanism can be flexibly configured according to the actual usage scenario. For example, the display time of each batch of content can be set, and when a group of content is displayed, it automatically switches to the next group of content and displays it. Users can also manually switch the displayed content by pressing buttons, etc., providing more control options. This method ensures that even at lower resolutions, the OSD interface can still fully display all necessary information without information being truncated or omitted due to screen space limitations.

[0082] Preferably, the specific OSD frame style selection process can be preset in a control module such as a DSP according to different screen resolutions. The control module can automatically select the most suitable OSD frame style according to parameters such as the resolution, aspect ratio, and display mode of the target display screen, such as the setting of a row mode or a column mode, the number of rows or the number of columns, etc. In addition, relevant instructions can also be transmitted to the control module by a host computer or an MCU (microcontroller) so that the user can dynamically adjust the display mode of the OSD framework according to actual needs. The host computer or the MCU can also flexibly transmit different configuration parameters according to the application scenario, and the drive control module adjusts the layout and content display mode of the OSD framework according to the real-time situation. Through this flexible control method, the OSD interface can adapt to various resolutions and display requirements, ensuring that on screens with different resolutions, the content can be presented in the best way.

[0083] When the OSD frame and target font are determined, the appropriate OSD frame style (such as row mode or column mode) and the matching target font are selected according to the screen resolution. Next, the control module (such as DSP) will generate a specific OSD interface based on these preset information. This interface usually includes content such as device status, operation prompts or menu information. Then, the control module converts this information into display data and sends it to the LED screen for display through the driver.

[0084] In summary, the screen resolution-based OSD adaptive display method provided by the embodiment of the present invention realizes flexible OSD display on display screens with different resolutions, and solves the problem in the prior art that the OSD interface cannot normally adapt to various screen resolutions due to the limitations of the font library, etc. The method of the present invention determines and imports the OSD framework and font library that match the screen resolution according to different screen resolutions, so that the OSD interface can be displayed clearly and stably on any spliced ​​screen or display screen with non-standard resolution. Because the OSD interface can not only display the current status information of the device, such as working mode, playback content, etc., but also interact with the user to provide device control functions. Users can easily view the operating status of the device or perform operations through the OSD interface, which greatly improves the convenience of device operation and user experience.

[0085] Embodiment 2

[0086] See also Figure 4 The embodiment of the present invention provides an OSD adaptive display device 200 based on screen resolution, and the device 200 includes:

[0087] A screen resolution acquisition module 201 is used to acquire the screen resolution of a target display screen;

[0088] An OSD frame determination module 202, configured to determine OSD frame information according to the screen resolution, wherein the OSD frame information at least includes an OSD display mode and an OSD resolution, wherein the display mode includes a row mode and a column mode;

[0089] The font preset module 203 is used to obtain a preset font file, wherein the preset font file includes several fonts with different font sizes;

[0090] A target font acquisition module 204 is used to acquire a target font matching the screen resolution from the preset font file;

[0091] The display module 205 is used to drive the control module of the target display screen to generate an OSD interface according to the OSD framework information and the target font library and display it on the target display screen.

[0092] Preferably, the screen resolution acquisition module 201 includes:

[0093] The splicing resolution acquisition unit is used to acquire the screen resolution of the target display screen according to the number and splicing method of the display modules.

[0094] Preferably, the OSD framework determination module 202 includes:

[0095] An aspect ratio acquisition unit, used to determine the aspect ratio of the target display screen according to the screen resolution;

[0096] A display mode determining unit, configured to determine the display mode according to the aspect ratio;

[0097] A maximum resolution acquisition unit, used to acquire a preset OSD maximum resolution;

[0098] A first setting unit, configured to set the OSD resolution to be equal to the preset OSD maximum resolution when the screen resolution is greater than or equal to the preset OSD maximum resolution;

[0099] The second setting unit is used to determine the OSD resolution according to the screen resolution and the display mode when the screen resolution is less than the preset OSD maximum resolution, and the OSD resolution is less than or equal to the screen resolution.

[0100] Preferably, the display mode determining unit comprises:

[0101] a row mode determining unit, configured to, when the aspect ratio is greater than or equal to 1, determine that the display mode is the row mode, and that the OSD frame is configured to contain at least one row of information units and at most N rows of information units, wherein N is determined according to the height of the target display screen and the height of the information unit;

[0102] A column mode determination unit, used for, when the aspect ratio is less than 1, the display mode is a column mode, and the OSD frame is set to contain at least one column of information units and at most M columns of information units, wherein M is determined according to the width of the target display screen and the width of the information unit; wherein the information unit includes at least one character.

[0103] Preferably, the second setting unit includes:

[0104] An OSD frame pattern determination unit, configured to determine a plurality of different OSD frame patterns based on the display mode, wherein different OSD frame patterns have different numbers of rows or columns;

[0105] A resolution determining unit is used to select one of the OSD frame styles according to the screen resolution to determine the OSD resolution.

[0106] In summary, the OSD adaptive display device based on screen resolution provided by the embodiment of the present invention obtains the screen resolution of the target display screen; determines the OSD framework information according to the screen resolution, wherein the OSD framework information at least includes the OSD display mode and the OSD resolution; obtains the preset character library file, wherein the preset character library file includes several character libraries with different font sizes; obtains the target character library matching the screen resolution from the preset character library file; drives the control module of the target display screen to generate the OSD interface according to the OSD framework information and the target character library and display it on the target display screen, thereby realizing flexible OSD interface display on display screens with different resolutions, and solving the problem that the OSD interface cannot normally adapt to various screen resolutions due to the limitations of character libraries in the prior art. The method of the present invention determines and imports the OSD framework and character library matching the screen resolution according to different screen resolutions, so that the OSD interface can be displayed clearly and stably on any spliced ​​screen or display screen with non-standard resolution. Because the OSD interface can not only display the current status information of the device, such as working mode, playback content, etc., but also interact with the user to provide device control functions. Users can easily view the operating status of the device or perform operations through the OSD interface, which greatly improves the device's operational convenience and user experience.

[0107] Embodiment 3

[0108] In addition, the OSD adaptive display method based on screen resolution of the embodiment of the present invention can be implemented by an OSD adaptive display device based on screen resolution. Figure 5 A schematic diagram of the hardware structure of an OSD adaptive display device based on screen resolution provided by an embodiment of the present invention is shown.

[0109] The OSD adaptive display device based on screen resolution may include a processor 301 and a memory 302 storing computer program instructions.

[0110] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.

[0111] The memory 302 may include a large capacity memory for data or instructions. For example, but not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 302 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 302 may be inside or outside the data processing device. In a specific embodiment, the memory 302 is a non-volatile solid-state memory. In a specific embodiment, the memory 302 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0112] The processor 301 reads and executes the computer program instructions stored in the memory 302 to implement any one of the OSD adaptive display methods based on screen resolution in the above embodiments.

[0113] In one example, the OSD adaptive display device based on screen resolution may further include a communication interface 303 and a bus 310. Figure 5 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.

[0114] The communication interface 303 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.

[0115] Bus 310 includes hardware, software or both, and the components of the OSD adaptive display device based on screen resolution are coupled to each other. For example, but not limitation, bus 310 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.

[0116] Embodiment 4

[0117] In addition, in combination with the OSD adaptive display method based on screen resolution in the above embodiments, the embodiment of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor 301, any one of the OSD adaptive display methods based on screen resolution in the above embodiments is implemented.

[0118] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0119] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0120] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0121] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.

Claims

1. An OSD adaptive display method based on screen resolution, characterized in that: The method comprises: Get the screen resolution of the target display; Determine OSD frame information according to the screen resolution, wherein the OSD frame information at least includes an OSD display mode and an OSD resolution, wherein the display mode includes a row mode and a column mode; Obtaining a preset font library file, wherein the preset font library file includes several font libraries with different font sizes; Acquire a target font library matching the screen resolution from the preset font library file; The control module driving the target display screen generates an OSD interface according to the OSD framework information and the target font library and displays the OSD interface on the target display screen.

2. The OSD adaptive display method based on screen resolution according to claim 1, characterized in that: The target display screen is composed of a plurality of display modules, and obtaining the screen resolution of the target display screen includes: The screen resolution of the target display screen is obtained according to the number and splicing method of the display modules.

3. The OSD adaptive display method based on screen resolution according to claim 1, characterized in that: The determining of OSD frame information according to the screen resolution, wherein the OSD frame information at least includes an OSD display mode and an OSD resolution, comprises: Determining the aspect ratio of the target display screen according to the screen resolution; determining the display mode according to the aspect ratio; Get the preset OSD maximum resolution; When the screen resolution is greater than or equal to the preset OSD maximum resolution, the OSD resolution is equal to the preset OSD maximum resolution; When the screen resolution is less than the preset OSD maximum resolution, the OSD resolution is determined according to the screen resolution and the display mode, and the OSD resolution is less than or equal to the screen resolution.

4. The method for OSD adaptive display based on screen resolution according to claim 3, characterized in that: Determining the display mode according to the aspect ratio includes: When the aspect ratio is greater than or equal to 1, the display mode is a row mode, and the OSD frame is configured to contain at least one row of information units and at most N rows of information units, wherein N is determined according to the height of the target display screen and the height of the information unit; When the aspect ratio is less than 1, the display mode is a column mode, and the OSD frame is configured to contain at least one column of information units and at most M columns of information units, wherein M is determined according to the width of the target display screen and the width of the information unit; The information unit includes at least one character.

5. The method for OSD adaptive display based on screen resolution according to claim 4, characterized in that: When the screen resolution is less than the preset OSD maximum resolution, determining the OSD resolution according to the screen resolution and the display mode includes: Determine a plurality of different OSD frame styles based on the display mode, wherein different OSD frame styles have different numbers of rows or columns; The OSD resolution is determined by selecting one of the OSD frame styles according to the screen resolution.

6. The OSD adaptive display method based on screen resolution according to any one of claims 1 to 5, characterized in that: The screen resolution of the target display screen is acquired by a host computer or a microcontroller. After the host computer or the microcontroller acquires the screen resolution, it is sent to the control module connected thereto.

7. The method for OSD adaptive display based on screen resolution according to claim 6, characterized in that: The preset character library file is stored in a USB device, and obtaining a target character library matching the screen resolution from the preset character library file comprises: After acquiring the screen resolution, the host computer or microcontroller determines a target font library that matches the screen resolution, and sends a font library call instruction to the control module to drive the control module to import the target font library from the USB device.

8. An OSD adaptive display device based on screen resolution, characterized in that: The device comprises: A screen resolution acquisition module is used to acquire the screen resolution of the target display screen; An OSD frame determination module, configured to determine OSD frame information according to the screen resolution, wherein the OSD frame information at least includes an OSD display mode and an OSD resolution, wherein the display mode includes a row mode and a column mode; A font preset module, used to obtain a preset font file, wherein the preset font file includes several fonts with different font sizes; A target font acquisition module, used to acquire a target font matching the screen resolution from the preset font file; The display module is used to drive the control module of the target display screen to generate an OSD interface according to the OSD framework information and the target font library and display it on the target display screen.

9. An OSD adaptive display device based on screen resolution, characterized in that: include: At least one processor, at least one memory and computer program instructions stored in the memory, when the computer program instructions are executed by the processor, implement the method according to any one of claims 1 to 7.

10. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.