A method, system, storage medium and device for checking a BMC display chip configuration
By transmitting JSON files between the BIOS and BMC to initialize and compare the display chip registers, the problem of display chip configuration errors was resolved, ensuring normal display and improving system stability and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-18
- Publication Date
- 2026-04-07
AI Technical Summary
The lack of checks on the BMC display chip register configuration in existing technologies leads to uncorrectable display chip configuration errors during system startup, affecting user experience.
The BIOS initializes the display chip registers, generates a JSON file, and transmits it to the BMC. The BMC categorizes and compares the default configured registers and corrects the display chip register values based on the comparison results.
Ensure that the display chip registers are configured correctly to reduce the probability of display errors, improve system stability, and enhance the user experience.
Smart Images

Figure CN115470062B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of server technology, and in particular to a method, system, storage medium, and device for checking the configuration of a BMC display chip. Background Technology
[0002] In current server rooms, due to space and heat dissipation limitations, dedicated display devices are typically not configured like those in personal computers. The common practice is to place the display chip within the Baseboard Management Controller (BMC). The BMC then provides the server with the display chip's functionality, and remote viewing via VNC (Virtual Network Console) or KVM (Keyboard Video Mouse) is used to view the server's display. The display chip undergoes initial configuration during BIOS (Basic Input Output System) startup. Since there is no display device, it's impossible to verify the correctness of the BIOS configuration for the display chip. After the BIOS initialization is complete and the host boots up, errors may occur in the server display during KVM or VNC, and the problem may only be discovered when the user or server administrator uses the system, resulting in a poor user experience.
[0003] The existing technical solutions lack checks on the display chip register configuration in the BMC, making it impossible to correct display chip configuration errors that cause display abnormalities during system startup. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a method, system, storage medium and device for checking the configuration of the BMC display chip, so as to solve the problem that the prior art lacks the check of the display chip register configuration in the BMC, and cannot correct display chip configuration errors during system startup, which leads to display abnormalities.
[0005] To achieve the above objectives, the present invention provides a method for checking the configuration of a BMC display chip, comprising the following steps:
[0006] The BIOS initializes the display chip's registers, obtains the first register information to be tested, saves it to a JSON file, and transmits the JSON file to the BMC. The JSON file contains information on register classification according to a preset strategy.
[0007] The BMC initializes the default configured registers to obtain the second register information and classifies them according to a preset strategy.
[0008] The BMC reads the self-check flag to confirm whether the JSON file transmission is complete;
[0009] In response to the completion of the transmission, BMC parses the JSON file and saves the parsed data to a list;
[0010] The list is traversed, and the data in it is compared with the information in the second register. Based on the comparison results, the register values of different types of registers of the display chip are processed accordingly.
[0011] In some embodiments, the BMC reads a self-check flag to confirm whether the JSON file transmission is complete, including:
[0012] The BMC reads the self-test flag and confirms whether the self-test flag is set to the first predetermined value by the BIOS within a preset time.
[0013] In response to the self-check flag being set to the first predetermined value within a preset time, the JSON file transfer is confirmed to be complete.
[0014] In some embodiments, the method further includes:
[0015] If the self-test flag is not set to the first predetermined value within a preset time, the self-test is determined to have failed.
[0016] In some embodiments, register classification according to a preset strategy includes:
[0017] Based on the values of each register, they are divided into fixed registers, floating registers, and variable registers. Among them, the register values in the fixed register class are fixed, the register values in the floating register class are variable within a preset range, and the register values in the variable register class are variable.
[0018] In some embodiments, processing the register values of different types of registers in the display chip according to the comparison results includes:
[0019] In response to the fact that the first register of the display chip belongs to the fixed register class and the corresponding comparison result is inconsistent, the value of the first register is set to the corresponding register value in the second register information;
[0020] In response to the fact that the second register of the display chip is a floating register and the corresponding comparison results are inconsistent, the value of the second register is reset according to the actual scenario, and the value of the second register is within the preset value range;
[0021] Since the third register of the display chip is a variable register and the corresponding comparison results are inconsistent, the value of the third register is reset according to the actual scenario.
[0022] In some embodiments, the first register information includes register information for the PCIe configuration section and the display-related configuration section.
[0023] In some embodiments, the method further includes:
[0024] In response to the completion of register value processing, the BMC sets the self-test flag to the second predetermined value.
[0025] In another aspect, the present invention provides a system for checking the configuration of a BMC display chip, comprising:
[0026] The JSON file module is configured to initialize the display chip's registers by the BIOS, obtain the first register information to be tested, save it to a JSON file, and transmit the JSON file to the BMC. The JSON file contains relevant information on register classification according to a preset strategy.
[0027] The classification module is configured to initialize the default-configured registers by the BMC, obtain the second register information, and classify the registers according to a preset strategy.
[0028] The confirmation module is configured to have the BMC read the self-check flag to confirm whether the JSON file transmission is complete.
[0029] The parsing module is configured to parse the JSON file by BMC in response to the completion of the transmission and save the parsed data to a list; and
[0030] The processing module is configured to traverse the list, compare the data in it with the information in the second register, and process the register values of different types of registers of the display chip accordingly based on the comparison results.
[0031] In another aspect, the present invention provides a computer-readable storage medium storing computer program instructions that, when executed by a processor, implement the above-described method.
[0032] In another aspect, the present invention provides a computer device including a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, performs the above-described method.
[0033] The present invention has at least the following beneficial technical effects:
[0034] This invention checks the BIOS configuration of the display chip to ensure that the necessary registers of the display chip are configured correctly and the screen displays normally. By saving the default configuration of the display chip registers in the BMC, it can restore the display chip registers to normal when abnormalities are detected, thereby improving system stability by correcting display chip configuration errors in a timely manner. By implementing this embodiment during the server startup phase, display-related faults can be detected as early as possible, reducing the probability of display errors and avoiding the impact on user experience caused by abnormal display chip operation due to configuration problems. Attached Figure Description
[0035] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other embodiments can be obtained based on these drawings without creative effort.
[0036] Figure 1 This is a schematic diagram of a method for checking the configuration of a BMC display chip according to an embodiment of the present invention;
[0037] Figure 2 This is a schematic diagram of the self-test process of the BMC display chip configuration provided in an embodiment of the present invention;
[0038] Figure 3 This is a schematic diagram of a system for checking the configuration of a BMC display chip according to an embodiment of the present invention;
[0039] Figure 4 A schematic diagram of a computer-readable storage medium for implementing a method for checking the configuration of a BMC display chip according to an embodiment of the present invention;
[0040] Figure 5 This is a schematic diagram of the hardware structure of a computer device for performing a method for checking the configuration of a BMC display chip according to an embodiment of the present invention. Detailed Implementation
[0041] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to specific examples and the accompanying drawings.
[0042] It should be noted that all uses of "first" and "second" in the embodiments of the present invention are for the purpose of distinguishing two different entities or different parameters with the same name. Therefore, "first" and "second" are merely for convenience of expression and should not be construed as limiting the embodiments of the present invention. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, such as other steps or units inherent in a process, method, system, product, or device that includes a series of steps or units.
[0043] Based on the above objectives, a first aspect of the present invention provides an embodiment of a method for checking the configuration of a BMC display chip. Figure 1 This diagram illustrates an embodiment of the method for checking the configuration of a BMC display chip provided by the present invention. Figure 1 As shown, the embodiments of the present invention include the following steps:
[0044] Step S10: The BIOS initializes the registers of the display chip, obtains the first register information to be tested, saves it to a JSON file, and transmits the JSON file to the BMC. The JSON file contains relevant information on register classification according to a preset strategy.
[0045] Step S20: The BMC initializes the default configured registers to obtain the second register information and classifies them according to a preset strategy.
[0046] Step S30: The BMC reads the self-test flag to confirm whether the JSON file has been successfully transmitted;
[0047] Step S40: In response to the completion of the transmission, the BMC parses the JSON file and saves the parsed data to a list;
[0048] Step S50: Traverse the list and compare the data in it with the information in the second register, and process the register values of different types of registers of the display chip accordingly based on the comparison results.
[0049] This invention verifies the correct configuration of the display chip's registers by checking the BIOS settings, ensuring proper display and screen display. By saving the default configuration of the display chip's registers in the BMC, it can restore the display chip's registers to normal when malfunctions are detected, thereby improving system stability by promptly correcting display chip configuration errors. Implementing this method during server startup allows for early detection of display-related faults, reducing the probability of display errors and preventing user experience issues caused by abnormal display chip operation due to configuration problems.
[0050] The embodiments of the present invention can configure the data of relevant registers through a default configuration file to adapt to different products and chips.
[0051] In some embodiments, the first register information includes register information for the PCIe configuration section and the display-related configuration section.
[0052] In some embodiments, register classification according to a preset strategy includes: dividing registers into fixed register class, floating register class and variable register class according to the value of each register, wherein the register value in the fixed register class is in a fixed state, the register value in the floating register class is in a variable state within a preset value range, and the register value in the variable register class is in a variable state.
[0053] In the above embodiments, the BMC (Baseboard Management Controller) and BIOS (Basic Input Output System) can exchange register information requiring self-test via JSON (JavaScript Object Notation, a lightweight data exchange format) files. These registers can be divided into two categories according to their function:
[0054] 1) PCIe Configuration Section. This section mainly includes the configuration of the first 64 bytes of the PCIe configuration space and the base address register. The configuration space information is initialized by the BIOS and then stored in a JSON file. The PCIe configuration space is a series of registers arranged according to certain rules as defined by the PCIe (Peripheral Component Interconnect Express, a high-speed serial computer expansion bus standard) specification. It typically contains 256 bytes of data, including the vendor ID, device ID, base address register, and other information related to the PCIe device.
[0055] 2) Display-related configuration section. This section contains the settings for the necessary registers of the display chip, including PLL, MODE, FB ADDRESS, FB WIDTH, display width, height, bit depth, refresh rate, horizontal scan time, vertical scan time, and refresh time. The horizontal scan time, vertical scan time, and refresh time include a series of registers required to calculate these times.
[0056] The BMC obtains the default register addresses, register data, and BIOS configuration register addresses and data by parsing JSON files. For example, its format definition is as follows:
[0057]
[0058]
[0059]
[0060] The JSON file has a simple and easy-to-understand structure. It contains three parts: the file generation time, pci_config, and video_config. Each data set in the JSON file contains three parts: reg, data, and description. reg indicates the register address, and data is the register value.
[0061] In pci_config, data will contain a 64-byte value, and BMC will parse this binary data according to the pci configuration space format.
[0062] The `video_config` file contains a series of registers, each consisting of `reg` and `data`. These registers are categorized into three types based on their value assignment: fixed registers, floating registers, and variable registers. Fixed registers have fixed values; for example, the address of the FrameBuffer (which can be viewed as a memory region containing data to be displayed on the screen) remains constant throughout the system. Floating registers have variable values within a certain range. For instance, screen resolutions can range from [1920x1080], [1024x768], to [800x600], and screen refresh rates can range from [60Hz] to [90Hz]. However, the value range is fixed, and only these values can be taken. Variable registers have changing values that vary depending on the scenario and parameters. For example, the position register of a hardware mouse changes depending on the mouse's position.
[0063] All the register data mentioned above can use either big-endian or little-endian, as long as the BIOS and BMC are consistent. After the BIOS completes the VIDEO (display module) initialization, it will write this data to the specified JSON file according to the above format, which will then be read by the BMC during its self-test program.
[0064] In some embodiments, reading the self-test flag by the BMC to confirm whether the JSON file transmission is complete includes: reading the self-test flag by the BMC and confirming whether the self-test flag is set to a first predetermined value by the BIOS within a preset time; and confirming that the JSON file transmission is complete in response to the self-test flag being set to the first predetermined value within the preset time.
[0065] In some embodiments, the method further includes: determining a self-test failure in response to a self-test flag not being set to a first predetermined value within a preset time.
[0066] In some embodiments, the method further includes: in response to the completion of register value processing, the BMC sets a self-test flag to a second predetermined value.
[0067] In some embodiments, processing the register values of different types of registers of the display chip according to the comparison results includes: in response to the first register of the display chip being a fixed register and the corresponding comparison results being inconsistent, setting the value of the first register to the corresponding register value in the second register information; in response to the second register of the display chip being a floating register and the corresponding comparison results being inconsistent, resetting the value of the second register according to the actual scenario, and the value of the second register being within a preset value range; in response to the third register of the display chip being a variable register and the corresponding comparison results being inconsistent, resetting the value of the third register according to the actual scenario.
[0068] Figure 2 This is a schematic diagram of the self-test process for a BMC display chip configuration provided according to an embodiment of the present invention. Figure 2 As shown, the BMC self-test process first reads the default configuration file (the configuration file format is similar to a JSON file format and contains a comprehensive list of registers) and initializes the default configurations of the relevant local registers. These default values may come from the following sources: 1. Chip datasheet; 2. Product features; 3. Fixed algorithm generation; 4. Other methods of acquisition. During the register value initialization process, registers are grouped according to the aforementioned strategy.
[0069] After initialization is complete, the BMC self-test program will wait until self_flag (i.e., the self-test flag) is set to 1 by the BIOS (i.e., the first predetermined value). If it is not set to 1 within the specified time, the self-test fails and the process ends.
[0070] After `self_flag` is set to 1, the BMC begins parsing the JSON file and saving it to a list according to a fixed format. Next, it iterates through the list using an algorithm, comparing the initial default value with the register values in the list, and processing them according to different register grouping strategies. The specific processing logic is as follows: For registers in the fixed register class, if the BIOS setting value is inconsistent with the default configuration value, it needs to be set to the default configuration value; for registers in the floating register class, if the BIOS setting value is inconsistent with the default configuration range, the register value will be reset according to the corresponding scenario and parameters; for registers in the variable register class, if the BIOS setting value does not match the default value, the following aspects need to be considered: 1. The specific meaning of the register; 2. The scenario associated with the register; 3. Other parameters associated with the register; 4. Other register values related to the register, such as the hardware mouse position register, where the value is considered valid if the position is within the screen display range.
[0071] After all register variables in the list have been checked according to the above process, the BMC will set self_flag to 2 (i.e., the second predetermined value), indicating that the self-test has been successfully completed; if the self-test fails, self_flag will be set to -1. The value of self_flag can provide developers with a reference for locating display problems.
[0072] The above embodiments resolve the issue of display chip configuration errors during server startup leading to uncorrectable display anomalies. They also prevent display chip configuration problems that may occur during server usage by developers or server administrators, improving user experience and enhancing the robustness of the display system. The default configuration file for the display chip can also serve as a reference for developers and server administrators.
[0073] A second aspect of the present invention also provides a system for checking the configuration of a BMC display chip. Figure 3 This diagram illustrates an embodiment of the system for checking the configuration of a BMC display chip provided by the present invention. Figure 3As shown, a system for checking the configuration of a BMC display chip includes: a JSON file module 10, configured to initialize the registers of the display chip by the BIOS, obtain the first register information to be self-tested, save it to a JSON file, and transmit the JSON file to the BMC, wherein the JSON file contains relevant information for register classification according to a preset strategy; a classification module 20, configured to initialize the registers of the default configuration by the BMC, obtain the second register information, and classify the registers according to a preset strategy; a confirmation module 30, configured to read the self-test flag by the BMC to confirm whether the JSON file transmission is complete; a parsing module 40, configured to parse the JSON file by the BMC in response to the completion of transmission, and save the parsed data to a list; and a processing module 50, configured to traverse the list, compare the data in it with the second register information, and perform corresponding register value processing on different types of registers of the display chip according to the comparison result.
[0074] The system for checking the BMC display chip configuration in this embodiment of the invention ensures that the necessary registers of the display chip are configured correctly and the screen displays normally by checking the BIOS configuration of the display chip. By saving the default configuration of the display chip registers in the BMC, it can restore the display chip registers to normal when abnormalities are detected, thereby improving system stability by correcting display chip configuration errors in a timely manner. By implementing this embodiment during the server startup phase, display-related faults can be detected as early as possible, reducing the probability of display errors and avoiding the impact on user experience caused by abnormal display chip operation due to configuration problems.
[0075] A third aspect of the present invention also provides a computer-readable storage medium. Figure 4 A schematic diagram of a computer-readable storage medium illustrating a method for checking the configuration of a BMC display chip according to an embodiment of the present invention is shown. Figure 4 As shown, the computer-readable storage medium 3 stores computer program instructions 31. When executed by a processor, the computer program instructions 31 implement the method of any of the above embodiments.
[0076] It should be understood that, without conflict, all the embodiments, features and advantages described above for the method of checking the configuration of a BMC display chip according to the present invention are equally applicable to the system and storage medium for checking the configuration of a BMC display chip according to the present invention.
[0077] A fourth aspect of the present invention also provides a computer device, including as follows: Figure 5The memory 402 and processor 401 shown are provided. The memory 402 stores a computer program that, when executed by the processor 401, implements the method of any of the above embodiments.
[0078] like Figure 5 The diagram shown is a hardware structure schematic of an embodiment of a computer device for executing a method for checking the configuration of a BMC display chip provided by the present invention. Figure 5 Taking the computer device shown as an example, this computer device includes a processor 401 and a memory 402, and may also include an input device 403 and an output device 404. The processor 401, memory 402, input device 403, and output device 404 can be connected via a bus or other means. Figure 5 Taking a bus connection as an example, input device 403 can receive input digital or character information, and generate key signal inputs related to user settings and function control of the system for checking the BMC display chip configuration. Output device 404 may include display devices such as a display screen.
[0079] Memory 402, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the method for checking the BMC display chip configuration in this embodiment. Memory 402 may include a program storage area and a data storage area, wherein the program storage area may store the operating system and application programs required for at least one function; the data storage area may store data created by using the method for checking the BMC display chip configuration, etc. In addition, memory 402 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 402 may optionally include memory remotely located relative to processor 401, and these remote memories can be connected to the local module via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0080] The processor 401 executes various server functions and data processing by running non-volatile software programs, instructions, and modules stored in the memory 402, thereby implementing the method for checking the BMC display chip configuration described in the above method embodiment.
[0081] Finally, it should be noted that the computer-readable storage medium (e.g., memory) described herein can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. By way of example, and not limitation, non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which can act as external cache memory. By way of example, and not limitation, RAM can be obtained in various forms, such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The storage devices disclosed herein are intended to include, but are not limited to, these and other suitable types of memory.
[0082] Those skilled in the art will also understand that the various exemplary logic blocks, modules, circuits, and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software, or a combination of both. To clearly illustrate this interchangeability between hardware and software, the functionality of the various illustrative components, blocks, modules, circuits, and steps has been generally described. Whether this functionality is implemented as software or as hardware depends on the specific application and the design constraints imposed on the overall system. Those skilled in the art can implement the functionality in various ways for each specific application, but such implementation decisions should not be construed as departing from the scope of the embodiments disclosed herein.
[0083] The various exemplary logic blocks, modules, and circuits described herein can be implemented or performed using the following components designed to perform the functions herein: general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general-purpose processor may be a microprocessor, but alternatively, the processor may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors combined with a DSP, and / or any other such configuration.
[0084] The above are exemplary embodiments disclosed in this invention. However, it should be noted that various changes and modifications can be made without departing from the scope of the embodiments of this invention as defined by the claims. The functions, steps, and / or actions of the methods according to the disclosed embodiments described herein do not need to be performed in any particular order. Furthermore, although the elements disclosed in the embodiments of this invention may be described or claimed individually, they may be understood as multiple unless explicitly limited to a singular number.
[0085] It should be understood that, as used herein, the singular form "a" is intended to include the plural form as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations of one or more of the associatedly listed items. The embodiment numbers disclosed above are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0086] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of the invention (including the claims) is limited to these examples. Within the framework of the invention, technical features of the above embodiments or different embodiments can be combined, and many other variations of different aspects of the invention exist, which are not provided in the details for the sake of brevity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the invention should be included within the protection scope of the invention.
Claims
1. A method for checking the configuration of a BMC display chip, characterized in that, Includes the following steps: The BIOS initializes the registers of the display chip to obtain the first register information to be tested, saves it to a JSON file, and transmits the JSON file to the BMC. The JSON file contains relevant information on register classification according to a preset strategy. The first register information includes register information of the PCIe configuration section and the display-related configuration section. The BMC initializes the default configured registers to obtain the second register information, and classifies the registers according to the preset strategy. The BMC reads the self-check flag to confirm whether the JSON file has been successfully transmitted; In response to the completion of the transmission, the BMC parses the JSON file and saves the parsed data to a list; The list is traversed, and the data therein is compared with the second register information. Based on the comparison result, the register values of different types of registers of the display chip are processed accordingly. Register classification according to a preset strategy includes: Based on the values of each register, they are divided into fixed register class, floating register class and variable register class. The register values in the fixed register class are fixed and unchanging, the register values in the floating register class are variable within a preset value range, and the register values in the variable register class are variable. Based on the comparison results, the register values of different types of registers in the display chip are processed accordingly, including: In response to the fact that the first register of the display chip belongs to the fixed register class and the corresponding comparison results are inconsistent, the value of the first register is set to the corresponding register value in the second register information; In response to the fact that the second register of the display chip belongs to the floating register class and the corresponding comparison results are inconsistent, the value of the second register is reset according to the actual scenario, and the value of the second register is within the preset value range; In response to the fact that the third register of the display chip belongs to the variable register class and the corresponding comparison results are inconsistent, the value of the third register is reset according to the actual scenario.
2. The method according to claim 1, characterized in that, The BMC reads a self-check flag to confirm whether the JSON file transmission is complete, including: The BMC reads the self-test flag and confirms whether the self-test flag is set to a first predetermined value by the BIOS within a preset time. In response to the self-check flag being set to the first predetermined value within the preset time, the transmission of the JSON file is confirmed to be complete.
3. The method according to claim 2, characterized in that, Also includes: If the self-test flag is not set to the first predetermined value within the preset time, the self-test is determined to have failed.
4. The method according to claim 1, characterized in that, Also includes: In response to the completion of the register value processing, the BMC sets the self-test flag to a second predetermined value.
5. A system for checking the configuration of a BMC display chip, characterized in that, include: The JSON file module is configured to initialize the registers of the display chip by the BIOS, obtain the first register information to be tested, save it to a JSON file, and transmit the JSON file to the BMC. The JSON file contains relevant information on register classification according to a preset strategy. The first register information includes register information of PCIE configuration section and display-related configuration section. The classification module is configured to initialize the default-configured registers by the BMC, obtain the second register information, and classify the registers according to the preset strategy. The confirmation module is configured to have the BMC read a self-test flag to confirm whether the JSON file has been successfully transmitted. The parsing module is configured to parse the JSON file by the BMC in response to the completion of transmission and save the parsed data to a list; and The processing module is configured to traverse the list, compare the data therein with the second register information, and perform corresponding register value processing on different types of registers of the display chip according to the comparison result; The JSON file module is also configured to: divide the registers into fixed register class, floating register class and variable register class according to the value of each register, wherein the register value in the fixed register class is in a fixed state, the register value in the floating register class is in a variable state within a preset value range, and the register value in the variable register class is in a variable state. The processing module is also configured to: in response to the first register of the display chip belonging to the fixed register class and the corresponding comparison result being inconsistent, set the value of the first register to the corresponding register value in the second register information; in response to the second register of the display chip belonging to the floating register class and the corresponding comparison result being inconsistent, reset the value of the second register according to the actual scenario, and the value of the second register is within the preset value range; in response to the third register of the display chip belonging to the variable register class and the corresponding comparison result being inconsistent, reset the value of the third register according to the actual scenario.
6. A computer-readable storage medium, characterized in that, The system stores computer program instructions that, when executed by a processor, implement the method as described in any one of claims 1-4.
7. A computer device, comprising a memory and a processor, characterized in that, The memory stores a computer program, which, when executed by the processor, performs the method as described in any one of claims 1-4.
Citation Information
Patent Citations
BMC and BIOS information interaction method and device, BMC and medium
CN113032164A
Method and system for acquiring link information by BMC, equipment and medium
CN113867812A