Screen display control method, system, and storage medium

By storing screen identification information in the hardware module and defining initialization configuration parameters in the software module, the problem of not being able to reuse drivers for different display specifications is solved, achieving transparency of screen hardware replacement at the software level and reducing costs.

CN123157153APending Publication Date: 2026-11-24QINDAO HAIER REFRIGERATOR CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510961833.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-11
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies, drivers cannot be reused for displays of different specifications, leading to display abnormalities, increasing development and time costs, and making it difficult to optimize the supply chain and reduce costs.

Method used

By storing screen identification information in the hardware module and defining initialization configuration parameters in the software module, a layered storage approach is adopted to decouple the hardware and software layers. This allows screens of different specifications to provide differentiated identification at the hardware level without modifying the driver framework at the software layer.

Benefits of technology

It achieves transparency of screen hardware replacement at the software level, avoids software version fragmentation, reduces development and maintenance costs, and supports compatibility with multiple screen specifications and supply chain flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157153A_ABST
    Figure CN123157153A_ABST
Patent Text Reader

Abstract

The application provides a screen display control method, a system and a storage medium. The method is applied to a screen display control system, which comprises a hardware module for storing target identification information of a target screen, a software module for storing preset configuration information corresponding to a target product, and a control module coupled to the software module and configured to implement the control method. The control method comprises the following steps: obtaining the target identification information when the target product is connected to the target screen; determining target configuration parameters matched with the target identification information based on the preset configuration information; and controlling the target product to display according to the target configuration parameters. The method realizes decoupling of the target product at the software level and the hardware level, so that different specifications of screens only need to provide differentiated identification at the hardware level without modifying the driving framework at the software level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of adaptive display technology, and more specifically to a screen display control method, system, and storage medium. Background Technology

[0002] With the rapid development of display technology today, many electronics manufacturers face the need to upgrade their displays. For example, one manufacturer initially used display A in its products. However, as time passed and technology advanced, the manufacturer decided to provide users with a new display B to replace the old display A in order to improve user experience and optimize product performance.

[0003] Although displays A and B have the same resolution, meeting basic display needs, they differ in their manufacturing era and technological implementation, particularly in the initialization sequences controlling them. This difference leads to display abnormalities after screen replacement if the original drivers or display configurations are used, such as screen flickering, color deviation, and incomplete display, severely impacting the user's ability to use the product normally.

[0004] Meanwhile, this situation has also triggered a series of technical challenges. At the software development level, existing drivers cannot be directly reused for displays with similar specifications but different models using the same control chip. Adaptive drivers need to be developed for different displays, undoubtedly increasing development costs and time. Regarding graphical user interface (GUI) adaptation, existing GUI designs struggle to automatically adapt to displays with the same control chip but slightly different specifications. This can lead to layout errors and abnormal control display after display replacement, requiring additional effort for interface adjustment and optimization. In terms of product supply chain and cost optimization, the inability to be compatible with displays with the same chip but slightly different specifications within the same product lifecycle severely limits manufacturers' display selection. They cannot flexibly change displays based on market supply and cost factors, hindering supply chain optimization and cost reduction, thus restricting product market competitiveness and the company's sustainable development. Summary of the Invention

[0005] One of the objectives of this invention is to provide a screen display control method to solve the technical problem in the prior art where drivers cannot be reused for displays of different specifications, leading to display abnormalities.

[0006] To achieve one of the aforementioned objectives, this invention provides a screen display control method applied to a screen display control system. The control system includes: a hardware module for storing target identification information of a target screen currently used by a target product; a software module for storing preset configuration information corresponding to the target product, the preset configuration information including initialization configuration parameters for controlling the use of the target screen and other screens on the target product; and a control module coupled to the software module for implementing the control method. The control method includes: obtaining target identification information when the target product is connected to the target screen; determining target configuration parameters matching the target identification information based on the preset configuration information; and controlling the target product to display according to the target configuration parameters.

[0007] As a further improvement of one embodiment of the present invention, obtaining the target identification information includes: acquiring a device tree, determining the driver identification information of the display type family corresponding to the screen currently used by the target product based on the device tree; determining the corresponding target driver based on the driver identification information, and determining the target identification information of the corresponding target screen by the target driver.

[0008] As a further improvement of one embodiment of the present invention, the step of determining the target identification information of the corresponding target screen by the target driver includes: determining the acquisition method of the target identification information by the target driver; when the acquisition method is a protocol query method, determining the target identification information according to the identification query command corresponding to the target screen interface; when the acquisition method is a storage read method, determining the target identification information according to the model code stored in the memory corresponding to the target screen.

[0009] As a further improvement of one embodiment of the present invention, before the preset configuration information is established, the method further includes: determining the driver identification information of the target product according to the attribute value corresponding to the first attribute field in the device tree; the first attribute field is used to mark the type of control chip used by the target screen; and determining the corresponding preset configuration information according to the driver identification information.

[0010] As a further improvement of one embodiment of the present invention, controlling the target product to display according to the target configuration parameters includes: initializing the target screen currently used by the target product according to the target configuration parameters; determining the corresponding configuration adjustment information according to the target identification information, and adjusting the display attributes of the target screen according to the configuration adjustment information, wherein the display attributes include at least one of resolution and refresh rate; and controlling the target product to display on the target screen according to the adjusted display attributes.

[0011] As a further improvement of one embodiment of the present invention, the method further includes: when the target product is connected to the first screen or the second screen, obtaining the first identification information of the first screen or the second identification information of the second screen; determining whether the first screen or the second screen is a display screen supported by the target driver; if so, determining the corresponding first screen configuration parameters or second screen configuration parameters according to the first identification information and the second identification information; and controlling the first screen or the second screen to display according to the first screen configuration parameters or the second screen configuration parameters respectively.

[0012] As a further improvement of one embodiment of the present invention, the method further includes: obtaining a plurality of screens; when the plurality of screens have the same specification parameters, setting a plurality of initialization configuration parameters corresponding to the plurality of screens in the same driver.

[0013] To achieve one of the aforementioned objectives, the present invention provides a screen display control system, comprising: a hardware module for storing target identification information of a target screen currently used by a target product; a software module including a driver layer for storing preset configuration information corresponding to the target product, the preset configuration information including initialization configuration parameters for controlling the use of the target screen and other screens on the target product; for obtaining target identification information when the target product is connected to the target screen; and for determining target configuration parameters matching the target identification information based on the preset configuration information; and a display module for displaying on the target screen according to the target configuration parameters.

[0014] As a further improvement of one embodiment of the present invention, the software module further includes: a system layer, used to receive target identification information transmitted by the driver layer, determine configuration adjustment information according to the identification information, and adjust the display attributes of the target screen according to the configuration adjustment information, wherein the display attributes include at least one of display position and rotation angle.

[0015] Compared with the prior art, the embodiments of the present invention have at least one of the following beneficial effects: This invention discloses a screen display control method. By storing screen identification information in the hardware module and defining initialization configuration parameters in the software module, this hierarchical storage method decouples the target product at the software level (display information) from the hardware level (screen information). This allows different screen specifications to provide differentiated identifiers only at the hardware level without modifying the driver framework of the software layer. At the same time, when the screen is replaced, the software layer automatically matches the preset initialization parameters by recognizing the new hardware identifier, keeping the upper-layer application software interface unchanged, thus achieving transparency of screen hardware replacement to the software layer. Attached Figure Description

[0016] Figure 1This is a schematic diagram of the screen display control system in one embodiment of the present invention.

[0017] Figure 2 This is a schematic diagram of the screen display control system in one embodiment of the present invention.

[0018] Figure 3 This is a schematic diagram of the steps of a screen display control method in one embodiment of the present invention.

[0019] Figure 4 This is a schematic diagram of step S1 in one embodiment of the present invention.

[0020] Figure 5 This is a schematic diagram of step S3 in one embodiment of the present invention.

[0021] Figure 6 This is a schematic diagram of the steps of a screen display control method in another embodiment of the present invention.

[0022] Figure 7(a) is a schematic diagram of the workflow of the driver layer when the target product uses the target screen in an embodiment of the present invention.

[0023] Figure 7(b) is a schematic diagram of the system layer workflow when the target product uses the target screen in an embodiment of the present invention.

[0024] Figure 7(c) is a schematic diagram of the application layer workflow when the target product uses the target screen in an embodiment of the present invention.

[0025] Figure 8(a) is a flowchart of a screen display control method in a preferred embodiment of the present invention.

[0026] Figure 8(b) is a schematic diagram of data flow in a screen display control method according to a preferred embodiment of the present invention. Detailed Implementation

[0027] The present invention will now be described in detail with reference to the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional modifications made by those skilled in the art based on these embodiments are included within the scope of protection of the present invention.

[0028] It should be noted that the term "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0029] like Figure 1As shown, one embodiment of the present invention provides a screen display control system 100.

[0030] The screen display control system 100 is a management system used to manage and control the screen display on a target product. Through layered hardware and software collaboration, it ensures that the target product can automatically acquire and apply the corresponding configuration parameters based on the type of screen connected, thereby achieving correct screen display.

[0031] The screen display control system 100 includes a hardware module 11, which stores the target identification information of the target screen currently used by the target product.

[0032] In the screen display control system 100, the hardware module 11 mainly undertakes the function of storing and transmitting physical information related to the screen. For example, it may contain a dedicated storage chip for storing the identification information of the target screen currently used by the target product. This identification information is like the screen's "ID card," which is the screen's unique identification data.

[0033] The screen display control system 100 includes a software module, which is a collection of computer data and instructions organized according to a specific logic.

[0034] In one embodiment, the software module includes a driver layer 12 for storing preset configuration information corresponding to the target product. The preset configuration information includes initialization configuration parameters for controlling the use of the target screen and other screens on the target product.

[0035] In one embodiment, the driver layer 12 is used to obtain target identification information when the target product is connected to the target screen; based on the preset configuration information, it determines the target configuration parameters that match the target identification information.

[0036] In this embodiment, the driver layer 12 is the part of the software module that directly contacts the hardware module 11. It is mainly used for initializing and controlling the hardware device (such as a display screen). Through the driver layer 12, the software module can communicate with the hardware module 11, obtain the hardware's identification information, and send control commands to the hardware, enabling the hardware to work according to the software's requirements.

[0037] For example, when the target product is connected to the target screen, the driver layer 12 can perform basic settings on the target screen according to the initialization configuration parameters corresponding to the target screen to ensure that the target screen can start up and display content normally.

[0038] In one embodiment, the software module includes a system layer 13, which is used to receive target identification information transmitted by the driver layer 12, determine configuration adjustment information based on the target identification information, and adjust the display attributes of the target screen based on the configuration adjustment information. The display attributes include at least one of display position and rotation angle.

[0039] In this embodiment, the system layer 13 provides a higher level of abstraction and services to upper-layer applications, building upon the driver layer 12. For example, different applications may need to adjust the screen's display position or rotate the screen according to the device's orientation. The system layer 13 can handle these complex configuration adjustment tasks, providing users with a more flexible and personalized display experience.

[0040] Furthermore, the method of transmitting target identification information between layers includes at least one of files, memory sharing, and message queues, without specific restrictions.

[0041] The screen display control system 100 includes a display module 14, which is used to display on a target screen according to target configuration parameters. Specifically, the display module 14 converts the display data generated by the software module into actual screen display signals and sends them to the screen for display.

[0042] The following will be based on Figure 1 and Figure 2 The content shown describes the working process of the screen display control system 100.

[0043] When the target product is powered on, the hardware module 11 obtains the identification information ID of the currently connected screen (e.g., screen A outputs ID1, screen B outputs ID2) through a physical interface. After receiving the identification information ID, the software module calls the preset configuration information in the driver layer 12 to determine an initialization sequence matching the identification information ID. This initialization sequence includes at least one of initialization parameters and an initial operation. (Hardware Initialization) System layer 13 performs system-level settings based on the identification information ID, such as calibrating the physical properties of the screen (e.g., rotating by an offset of 60 pixels or 90°), and passes the calibrated and adapted parameters to the display module 14 through the corresponding interface. The display module 14 adjusts the UI drawing according to the display properties exported by the system software, and finally displays it normally on the screen.

[0044] In the above-mentioned process, the hardware module 11 stores the identification information of the display screen, the driver layer 12 realizes multi-screen support by dynamically querying preset configuration parameters, without the need to compile an independent driver for each screen, and the system layer 13 shields the hardware differences, so the user is unaware of the changes in the screen display during use.

[0045] For example, when the supply chain replaces the screen of a target product (from A to B), only the configuration data of A and B need to be maintained in the preset configuration information of the driver layer 12, and neither the software module nor the display module 14 needs to be modified. Thus, the same software can be compatible with screens of different specifications at the same time, which not only avoids software version fragmentation, but also achieves transparent adaptation for hardware replacement.

[0046] like Figure 3 As shown, one embodiment of the present invention provides a screen display control method.

[0047] The screen display control method is applied to a screen display control system to adaptively initialize the screen used by the target, so that it can start up and display normally.

[0048] In one embodiment, the screen display control system can be configured as described above, and the corresponding technical solution is referenced in the control method provided by the present invention.

[0049] like Figure 3 As shown, one embodiment of the present invention provides a screen display control method, which includes the following steps.

[0050] Step S1: When the target product is connected to the target screen, obtain the target identification information; Step S2: Based on the preset configuration information, determine the target configuration parameters that match the target identifier information; Step S3: Control the target product to display according to the target configuration parameters.

[0051] In this way, by storing screen identification information in the hardware module and defining initialization configuration parameters in the software module, this layered storage method decouples the target product from the software layer (display information) and the hardware layer (screen information). This allows different screen sizes to provide differentiated identifiers only at the hardware level without modifying the driver framework of the software layer. At the same time, when the screen is replaced, the software layer automatically matches the preset initialization parameters by recognizing the new hardware identifier, keeping the upper-layer application software interface unchanged, thus achieving transparency of screen hardware replacement to the software layer.

[0052] In step S1, the target identification information is a unique identifier used to mark the target screen.

[0053] In step S2, the target configuration parameters can be understood as hardware configuration parameters used to initialize the target screen.

[0054] like Figure 4 As shown, in one embodiment, obtaining the target identification information in step S1 may include the following steps.

[0055] Step S11: Obtain the device tree and determine the driver identification information of the display type family corresponding to the screen currently used by the target product based on the device tree; Step S12: Determine the corresponding target driver based on the driver identification information, and the target driver determines the target identification information of the corresponding target screen.

[0056] In this way, by configuring the driver identification information corresponding to a common display type family in the device tree, rather than being limited to describing a specific screen information, the hardware identification logic and driver control are decoupled, so that the same device tree can support multiple screens in a display family without having to modify the device tree for each screen.

[0057] In step S11, a device tree is a data structure used to describe the machine attributes of hardware devices, storing hardware information such as CPU, memory, and peripherals in a tree structure.

[0058] In one embodiment, information about display type families is stored in a device tree, enabling the operating system to better accommodate these different display models.

[0059] In this context, a display type family refers to a group of displays designed based on the same control chip architecture, but differing in physical specifications (such as screen size, resolution, glass material, interface type, refresh rate, etc.), display characteristics (such as brightness range, contrast ratio, color gamut coverage, etc.), or functional configurations (such as whether touch control or 3D display is supported), thus forming a collection of displays with similar driving principles and compatibility features. In other words, the same display type family may contain multiple different models of displays that use the same type of control chip.

[0060] In one specific embodiment, there is a one-to-one correspondence between the device tree and the driver identification information of the display type family. In other words, the driver identification information recorded in the device tree is used to bind a certain type of control chip, and the driver program pointed to by the driver identification information completes the initialization. In one specific embodiment, the step S12, in which the target driver program determines the target identification information of the corresponding target screen, specifically includes the following steps.

[0061] Step S121: The target driver determines the method for acquiring the target identification information; Step S122: When the acquisition method is protocol query method, determine the target identifier information according to the identifier query command corresponding to the target screen interface; Step S123: When the acquisition method is storage read mode, determine the target identification information according to the model code stored in the memory corresponding to the target screen.

[0062] In this way, the flexibility of obtaining identification information is improved by using multiple acquisition methods.

[0063] In step S122, the protocol query method refers to actively sending a specific command through the standard communication protocol of the display interface (such as MIPI DSI) to read identification information from the screen controller. DSI (Display Serial Interface) is a specification developed by the MIPI (Mobile Industry Processor Interface) alliance for the efficient transmission of video data and control commands.

[0064] Specifically, the DSI uses the instructions for querying identification information to send an identification query request, and the returned query results are parsed to determine the corresponding target identification information.

[0065] In step S123, the storage and retrieval method refers to the fact that the target screen has a corresponding memory, which stores information such as the model code of the target screen. The model code is a set of characters or numbers used to uniquely identify the model or specifications of the target screen.

[0066] In step S2, the preset configuration information is a set of parameters related to screen display that are pre-stored in the system. The preset configuration information includes screen initialization sequence parameters, which are a series of instructions and data used to initialize and configure the target screen when the target product is first connected to or reconnected to the target screen.

[0067] In one specific embodiment, the initialization sequence parameters may include at least one of the following: screen power management settings, color space configuration (such as resolution, rotation, horizontal sync pulse width, vertical sync pulse width), and gamma correction parameters.

[0068] In one embodiment, prior to step S2, the method may further include the following steps.

[0069] Step P21: Determine the driver identification information of the target product based on the attribute value corresponding to the first attribute field in the device tree; Step P22: Determine the corresponding preset configuration information based on the driver identification information.

[0070] In this way, by matching the driver identifier with the device tree field, the appropriate preset configuration information can be selected in a targeted manner according to the specific configuration of the screen, avoiding blind searching and matching, and improving the efficiency and accuracy of the system in obtaining configuration information.

[0071] In step P21, the first attribute field is used to mark the type of control chip used by the target screen, and the driver identification information points to the driver program (i.e., the preset configuration information) that the target screen needs to call. In other words, the corresponding driver program entry is located according to the type of control chip.

[0072] Specifically, different types of control chips have different underlying operations, register configurations, and communication protocols, so different drivers are needed to adapt them. The entry point of the driver is different for different types of control chips. However, for chips of the same type but different specifications, their core control logic and interaction with the system are similar in the general framework, so the entry point of the driver can be the same, and then the details can be adjusted according to the specific specifications.

[0073] like Figure 5 As shown, in one embodiment, step S3 may specifically include the following steps.

[0074] Step S31: Initialize the target screen currently used by the target product according to the target configuration parameters; Step S32: Determine the corresponding configuration adjustment information based on the target identification information, and adjust the display attributes of the target screen according to the configuration adjustment information. The display attributes include at least one of resolution and refresh rate. Step S33: Control the target product to be displayed on the target screen according to the adjusted display attributes.

[0075] In this way, by leveraging the pivotal role of driver identification information, the configuration logic that was originally scattered in driver code and system services is managed in a unified manner. This avoids redundant development at the driver layer and enables flexible adaptation at the system layer. This combination of hardware abstraction and software layering helps to reduce the hardware and software coupling when multiple screen sizes coexist.

[0076] In step S31, the initialization operation refers to a series of basic setting actions performed by the driver layer to enable the screen to work properly when the target product is connected to the target screen. The purpose is to adjust the hardware state of the screen to a state that can be normally recognized and driven by the system.

[0077] Display attributes refer to a series of parameters used to describe the screen display effect and state. These attributes can be adjusted by changing at least one of the display position and rotation angle to meet preset conditions. In the screen coordinate system, the top-left corner of the screen can be used as the origin (0,0), with the positive x-axis pointing horizontally to the right and the positive y-axis pointing vertically downwards to determine the display position on the screen. For example, the starting point of the display area for screen ID1 is (x=60, y=0), while the starting point of the display area for the corresponding screen ID2 is (x=0, y=30).

[0078] like Figure 6As shown, in one embodiment, the control method further includes the following steps.

[0079] Step S41: When the target product is connected to the first screen or the second screen, obtain the first identification information of the first screen or the second identification information of the second screen. Step S42: Determine whether the first screen or the second screen is a display supported by the target driver; If so, proceed to step S43, determine the corresponding first screen configuration parameters or second screen configuration parameters based on the first identification information or the second identification information, and control the first screen or the second screen to display according to the first screen configuration parameters or the second screen configuration parameters respectively.

[0080] In this way, by dynamically identifying the hardware characteristics of multiple screens and intelligently matching configuration parameters, unified management and collaborative control of heterogeneous display systems are achieved.

[0081] In step S43, the first screen configuration parameters and the second screen configuration parameters can be understood as screen driver information corresponding to two different displays (belonging to the same display type family) controlled by the same type of chip.

[0082] For example, the driver for the target product stores preset configuration information for several preset screens, such as 1234, 7701, and 8970. The driver identification information of the driver is specified by the device tree, and the corresponding target driver is determined based on the driver identification information. The target driver determines the target identification information of the target screen currently connected to the target product. When the target identification information corresponding to the target screen connected to the target product is 7701, the corresponding first screen configuration parameters are loaded from the target driver according to the target identification information (i.e., 7701). When the target identification information corresponding to the target screen connected to the target product is 1234, the corresponding second screen configuration parameters are loaded from the target driver according to the target identification information (i.e., 1234).

[0083] In one embodiment, the control method may further include: obtaining a plurality of screens; when the plurality of screens have the same specification parameters, setting a plurality of initialization configuration parameters corresponding to the plurality of screens in the same driver program.

[0084] In this way, since the driving logic and configuration requirements of screens of the same specifications are highly consistent, unified encapsulation can avoid writing duplicate code for each screen, thereby reducing the size and maintenance cost of the driver.

[0085] In this embodiment, the same specifications can refer to, but are not limited to, having equivalence or similarity in basic display parameters (resolution, screen size, refresh rate, etc.), control chips, and interface protocols. For example, if only the manufacturers are different, but the configuration parameters of the corresponding screens are the same or similar, their initialization logic can be set in the same driver.

[0086] To facilitate understanding of the actions of the driver layer and system layer during screen display, the following will describe the working process of the driver layer, system layer, and application layer (or display layer, UI layer) when the target product uses the target screen for display, in conjunction with Figures 7(a), 7(b), and 7(c).

[0087] Assume that the target product can be compatible with screen identification information including ID1 and ID2. The screens corresponding to these two identification information belong to the same display type family. That is, several screens within the display type family use the same type of control chip. The driver identification information corresponding to this display type family is stored in the device tree in advance.

[0088] When the target product connects to the target screen, the corresponding target driver is called according to the driver identification information recorded in the device tree. The target driver reads the identification information from the target screen and determines whether the identification information is equal to ID1. If yes, the first screen configuration parameters are loaded from the target driver according to ID1 to complete the initialization settings of the screen corresponding to ID1. If no, it determines whether the identification information is equal to ID2. If yes, the second screen configuration parameters are loaded from the target driver according to ID2 to complete the initialization settings of the screen corresponding to ID2. If no, the target screen is set based on the default configuration parameters or an error occurs and the process exits.

[0089] After completing the hardware initialization settings of the screen, the driver layer also exports the screen's identification information to form an identification information file, and passes the identification information to the system layer. The system layer then uses the identification information to implement other system-level settings for the screen that the driver cannot or is inconvenient to perform. For example, adjusting the screen's display position and orientation.

[0090] Specifically, as shown in Figure 7(b), the system software at the system layer reads the identification information file exported by the driver and determines whether the identification information in the identification information file is equal to ID1. If so, it performs the corresponding system-level configuration for ID1 according to the preset system-level configuration information corresponding to ID1. If not, it determines whether the identification information in the identification information file is equal to ID2. If so, it performs the corresponding system-level configuration for ID2 according to the preset system-level configuration information corresponding to ID2.

[0091] After completing the system-level initialization settings of the screen, the system layer exports the display attribute features required by the application layer, forms a display file, and passes it to the application layer. As shown in Figure 7(c), the application layer obtains the screen's display attributes from the display file and makes relevant fine-tuning based on these display attributes, such as adjusting its canvas working area and range according to the display attributes exported by the system layer (e.g., x=0, y=30).

[0092] The various embodiments, examples, or specific examples provided by this invention can be combined with each other to ultimately form multiple better embodiments.

[0093] Figures 8(a) and 8(b) illustrate a flowchart of a screen display control method according to a preferred embodiment. The processing procedure of this preferred embodiment will be summarized below with reference to Figures 8(a) and 8(b).

[0094] First, when the target product is connected to the target screen and powered on, the driver identification information of the corresponding display type family is loaded according to the attribute fields of the device tree. Based on the driver identification information, the corresponding target driver is determined. Then, in the driver layer, the corresponding initialization sequence is queried from the target driver according to the target identification information, and the screen initialization operation is performed according to the initialization sequence. (Driver layer) Secondly, the system layer determines the preset configuration information at the system level based on the identification information exported from the driver layer, performs system-level settings according to the preset configuration information at the system level, and exports screen-related display attributes. (System Layer) Finally, the application layer makes fine-tuning adjustments based on the display attributes exported from the system layer to ensure the target screen displays correctly. (Application Layer) The control method described in this invention achieves dynamic adaptation across the entire chain of screen hardware and software systems by constructing a layered and decoupled display control framework. Specifically, the screen's identification information is used as key metadata, which is passed from the bottom up through the hardware layer, kernel driver layer, system layer, and application layer to form a standardized display attribute transmission chain.

[0095] At the hardware level, the screen determines its identification information through a physical interface, and the driver layer completes the initial configuration of hardware characteristics based on a preset parameter mapping table. The system layer further performs logical calibration based on the identification information, including system-level adjustments such as display area clipping, orientation changes, and input device mapping. Finally, it provides logical display attributes decoupled from physical hardware to the application layer through a unified display management interface.

[0096] It is evident that the control method described in this invention has at least the following advantages. First, by dynamically identifying hardware identifiers (identification information) and loading driving parameters on demand, a single driver program achieves compatible support for multiple screen specifications on the same chip.

[0097] Secondly, the system-level adaptive calibration mechanism shields the installation differences and characteristic fluctuations of the physical screen, providing a stable virtual display environment for upper-layer applications.

[0098] Finally, the application layer implements layout rendering based on abstracted display attributes, completely eliminating the static binding between application code and specific screen specifications in traditional solutions. This layered collaboration model enables the same software image to adapt to screens with different physical characteristics, supporting diverse screen selections during the product design phase and addressing screen replacement needs in the supply chain. This significantly reduces software maintenance costs caused by hardware iterations, achieving flexibility and scalability of the display system throughout its lifecycle. One embodiment of the present invention provides a computer-readable storage medium.

[0099] In one embodiment, a computer-readable storage medium stores a computer program executed by the processor mentioned above, or a screen display control method from any of the aforementioned technical solutions.

[0100] When the processor executes the computer program, it can perform the screen display control method described in any of the preceding technical solutions; therefore, it will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated.

[0101] The computer-readable storage medium may include: flash drive, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.

[0102] In summary, this invention provides a screen display control method, system, and storage medium. By storing screen identification information in the hardware module and defining initialization configuration parameters in the software module, this layered storage approach decouples the target product at the software level (display information) from the hardware level (screen information). This allows different screen sizes to be differentiated only at the hardware level without requiring modifications to the software layer's driver framework. Furthermore, when the screen is replaced, the software layer automatically matches preset initialization parameters by recognizing the new hardware identifier, maintaining the upper-layer application software interface unchanged, thus achieving transparency of screen hardware replacement at the software level.

[0103] It should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This way of describing the specification is only for clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.

[0104] The detailed descriptions listed above are merely specific descriptions of feasible embodiments of the present invention, and are not intended to limit the scope of protection of the present invention. All equivalent embodiments or modifications made without departing from the spirit of the present invention should be included within the scope of protection of the present invention.

Claims

1. A screen display control method characterized by comprising: Applied to a screen display control system, the control system includes: The hardware module is used to store the target identification information of the target screen currently used by the target product; A software module is used to store preset configuration information corresponding to the target product. The preset configuration information includes initialization configuration parameters for controlling the use of the target screen and other screens on the target product. A control module, coupled to the software module, is used to implement the control method, the control method comprising: When the target product is connected to the target screen, the target identification information is obtained; Based on the preset configuration information, the target configuration parameters that match it are determined according to the target identification information; Control the target product to display according to the target configuration parameters.

2. The screen display control method according to claim 1, characterized by, The acquisition of target identification information includes: Obtain the device tree, and determine the driver identification information of the display type family corresponding to the screen currently used by the target product based on the device tree; The corresponding target driver is determined based on the driver identification information, and the target driver determines the target identification information of the corresponding target screen.

3. The screen display control method according to claim 2, characterized by, The determination of the target identifier information corresponding to the target screen by the target driver includes: The target driver determines the method for acquiring target identification information; When the acquisition method is protocol query, the target identifier information is determined according to the identifier query command corresponding to the target screen interface; When the acquisition method is storage read mode, the target identification information is determined according to the model code stored in the memory corresponding to the target screen.

4. The screen display control method according to claim 1, characterized by, Prior to the step of basing the preset configuration information, the method further includes: The driver identification information of the target product is determined based on the attribute value corresponding to the first attribute field in the device tree; the first attribute field is used to mark the type of control chip used by the target screen. The corresponding preset configuration information is determined based on the driver identification information.

5. The screen display control method according to claim 1, characterized by, The control target product is displayed according to the target configuration parameters, including: Initialize the target screen currently used by the target product according to the target configuration parameters; The corresponding configuration adjustment information is determined based on the target identification information, and the display attributes of the target screen are adjusted according to the configuration adjustment information. The display attributes include at least one of resolution and refresh rate. Control the target product to be displayed on the target screen according to the adjusted display attributes.

6. The screen display control method according to claim 1, characterized by, The method further includes: When the target product is connected to the first screen or the second screen, obtain the first identification information of the first screen or the second identification information of the second screen. Determine whether the first or second screen is a display supported by the target driver; If so, determine the corresponding first screen configuration parameters or second screen configuration parameters based on the first identification information or the second identification information; control the first screen or the second screen to display according to the first screen configuration parameters or the second screen configuration parameters respectively.

7. The screen display control method according to claim 1, characterized by, The method further includes: Obtain several screens; When the screens have the same specifications, the initialization configuration parameters corresponding to the screens are set in the same driver.

8. A screen display control system characterized by comprising: include: The hardware module is used to store the target identification information of the target screen currently used by the target product; The software module includes a driver layer for storing preset configuration information corresponding to the target product. The preset configuration information includes initialization configuration parameters for controlling the use of the target screen and other screens on the target product; for obtaining target identification information when the target product is connected to the target screen; and for determining the target configuration parameters that match the target product based on the preset configuration information and the target identification information. The display module is used to display on the target screen according to the target configuration parameters.

9. The screen display control system according to claim 8, characterized by The software module also includes: The system layer is used to receive target identification information transmitted by the driver layer, determine configuration adjustment information based on the identification information, and adjust the display attributes of the target screen based on the configuration adjustment information. The display attributes include at least one of display position and rotation angle.

10. A computer storage medium, the computer readable storage medium having stored thereon a computer program, characterized in that, When the computer program is executed by the processor, it performs the steps of the screen display control method as described in any one of claims 1 to 7.