Information transmission method and system

By adding EEPROM to BIOS and BMC, the BIOS can complete KCS communication without waiting for BMC to be initialized after the server is powered on, which solves the problem of long boot time, improves the user experience, and promptly detects transmission errors through MD5 value verification, improves the improvement of the improvement Problem solving efficiency.

CN114328313BActive Publication Date: 2024-11-29联想长风科技(北京)有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111674354.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-11-29
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

After the server is plugged in AC power, the BIOS needs to wait for the BMC to complete initialization before the handshake will be successfully shaken, resulting in a long boot time and affecting the user experience.

Method used

Add EEPROM to BIOS and BMC. After the server is powered on, the BIOS transmits the information to the EEPROM. The EEPROM is checked and generates MD5 values. After the initialization is completed, the BMC retrieves the information for analysis and verification, and compares the MD5 values ​​to determine the information transmission. Correctness and issue an alarm if there is any error.

Benefits of technology

There is no need for BIOS to wait for BMC to be initialized, shorten the boot time, improve user experience, and promptly discover information transmission problems and improve problem solving efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114328313B_ABST
    Figure CN114328313B_ABST
Patent Text Reader

Abstract

The present invention discloses an information transmission method and system, the method comprising: after the server is powered on, the BIOS transmits the first information to the EEPROM and then hands it over to the OS; after the EEPROM receives the first information, the first information is verified and a first MD5 value is obtained; after the BMC is initialized, it retrieves the first information sent by the BIOS from the EEPROM, and parses the first information to read the first configuration information; the BMC verifies the first configuration information and obtains a second MD5 value; the first MD5 value and the second MD5 value are compared to determine whether to obtain the first alarm information, and according to the first alarm information, it is reminded that the information transmission is incorrect. The method solves the technical problem that the BIOS in the prior art waits for the BMC to initialize before shaking hands and then proceeding with the subsequent process, so there is a long boot time and affects the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an information transmission method and system. Background Art

[0002] At present, the development of domestic processors is very rapid. The firmware of server products, BIOS and BMC will interact during the power-on process of the server and perform KCS communication. At present, for the interaction between BIOS and BMC in server products, BIOS usually sends instructions to shake hands with BMC. When BMC initialization is completed, BIOS will successfully shake hands with BMC. Further, the BIOS process will proceed downward until it is handed over to OS. The purpose of this is to prevent BIOS from communicating with BMC through KCS during BMC initialization. At this time, BMC will fail to communicate because it has not yet completed initialization, thereby receiving incorrect information. In addition, since the first BMC initialization time is long after plugging in AC power, BIOS must wait for BMC initialization to complete before it can successfully shake hands with BMC and proceed with the process. In this way, the server will take a long time to start up when AC power is turned on for the first time, thereby affecting the user experience. Therefore, it is of great significance to develop and design a BIOS and BMC interaction method in which BIOS can complete KCS communication without waiting for BMC handshake.

[0003] However, in the prior art, after the server is plugged into AC power, the BIOS will interact with the BMC. At this time, the BIOS needs to wait for the BMC to complete initialization before the handshake can be successful and then proceed to subsequent processes. Therefore, there is a technical problem of long boot time, which affects the user experience. Summary of the invention

[0004] The purpose of the present invention is to provide an information transmission method and system to solve the problem in the prior art that after the server is plugged into AC power, the BIOS will interact with the BMC. At this time, the BIOS needs to wait for the BMC to complete initialization before the handshake can be successful and then proceed to the subsequent process. Therefore, there is a long boot time, which affects the user experience.

[0005] In view of the above problems, the present invention provides an information transmission method and system.

[0006] In a first aspect, the present invention provides an information transmission method, which is implemented by an information transmission system, wherein the method comprises: after the server is powered on, the BIOS transmits first information to the EEPROM and then hands it over to the OS; after the EEPROM receives the first information, the EEPROM verifies the first information and obtains a first MD5 value; after initialization, the BMC retrieves the first information sent by the BIOS from the EEPROM, and parses the first information to read first configuration information, wherein the first configuration information corresponds to the first information; the BMC verifies the first configuration information to obtain a second MD5 value; compares the first MD5 value with the second MD5 value to determine whether to obtain a first alarm message, and reminds that the information transmission is incorrect according to the first alarm message.

[0007] On the other hand, the present invention further provides an information transmission system for executing an information transmission method as described in the first aspect, wherein the system comprises: a first execution unit: the first execution unit is used for, when the server is powered on, the BIOS transmits the first information to the EEPROM and then hands it over to the OS; a first obtaining unit: the first obtaining unit is used for, after the EEPROM receives the first information, to verify the first information and obtain a first MD5 value; a second execution unit: the second execution unit is used for, after the BMC is initialized, to retrieve the first information sent by the BIOS from the EEPROM, and to parse the first information and read first configuration information, wherein the first configuration information corresponds to the first information; a second obtaining unit: the second obtaining unit is used for the BMC to verify the first configuration information and obtain a second MD5 value; a first determining unit: the first determining unit is used for comparing the first MD5 value and the second MD5 value to determine whether to obtain the first alarm information, and to remind that the information transmission is incorrect according to the first alarm information.

[0008] In a third aspect, a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspects is implemented.

[0009] A fourth aspect is an electronic device, comprising a processor and a memory;

[0010] The memory is used for storing;

[0011] The processor is used to execute any one of the methods in the first aspect by calling.

[0012] In a fifth aspect, a computer program product comprises a computer program and / or instructions, which, when executed by a processor, implement the steps of any one of the methods described in the first aspect.

[0013] One or more technical solutions provided in the present invention have at least the following technical effects or advantages:

[0014] 1. By first adding EEPROM to BIOS and BMC, after the server is powered on, the first information that BIOS will transmit to BMC is temporarily stored in EEPROM through cpld. At this time, BIOS will not shake hands with BMC, but directly hand over to OS. Then, after receiving the first information transmitted by BIOS, EEPROM will automatically verify and generate the first MD5 value. Further, after the initialization of BMC is completed, it also retrieves the first information sent by BIOS from EEPROM through cpld, and parses the first information to read the corresponding first configuration information. Similarly, BMC verifies again according to the read first configuration information and generates a second MD5 value. Finally, compare the first MD5 value generated by EEPROM verification and the second MD5 value generated by BMC verification. When the first MD5 value and the second MD5 value are the same, it means that the communication information is correct; when the first MD5 value and the second MD5 value are different, it means that the communication information is incorrect. At this time, BMC will automatically issue a first alarm message to remind relevant users to identify the problem in time and solve it. By adding EEPROM in BIOS and BMC for temporarily receiving the first information of BIOS, BIOS and BMC do not need to perform handshake operation when interacting, that is, BIOS does not need to wait for BMC initialization, thereby achieving the technical effect of shortening the boot time and improving user experience.

[0015] 2. After the EEPROM receives the first information and after the BMC retrieves and analyzes the first information, configuration verification is performed, thereby comparing the MD5 values ​​obtained from the two verifications, thereby determining whether the transmitted information is correct or not, and giving an alarm in a timely manner when the transmitted information is incorrect, thereby achieving the technical effect of timely discovering information transmission problems and improving problem solving efficiency.

[0016] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0018] Figure 1 A schematic diagram of a flow chart of an information transmission method of the present invention;

[0019] Figure 2 A schematic diagram of a flow chart of determining whether to obtain first alarm information in an information transmission method of the present invention;

[0020] Figure 3 A schematic diagram of a flow chart of handing over to an OS in an information transmission method of the present invention;

[0021] Figure 4 It is a structural schematic diagram of an information transmission system of the present invention;

[0022] Figure 5 It is a schematic diagram of the structure of an exemplary electronic device of the present invention.

[0023] Description of reference numerals:

[0024] A first executing unit 11 , a first obtaining unit 12 , a second executing unit 13 , a second obtaining unit 14 , a first determining unit 15 , a bus 300 , a receiver 301 , a processor 302 , a transmitter 303 , a memory 304 , and a bus interface 305 . DETAILED DESCRIPTION

[0025] The present invention provides an information transmission method and system, which solves the problem in the prior art that after the server is plugged into AC power, the BIOS will interact with the BMC, and at this time the BIOS needs to wait for the BMC to complete initialization before the handshake can be successful, and then the subsequent process can be carried out, so there is a long boot time, which affects the user experience. By adding an EEPROM in the BIOS and the BMC for temporarily receiving the first information of the BIOS, the BIOS and the BMC do not need to perform a handshake operation when interacting, that is, the BIOS does not need to wait for the BMC to initialize, thereby achieving the technical effect of shortening the boot time and improving the user experience.

[0026] The acquisition, storage, use, and processing of data in the technical solution of the present invention are in compliance with the relevant provisions of national laws and regulations.

[0027] Below, the technical solutions in the present invention will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments of the present invention. It should be understood that the present invention is not limited to the example embodiments described herein. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. It should also be noted that, for the convenience of description, only the parts related to the present invention are shown in the accompanying drawings, rather than all of them.

[0028] The present invention provides an information transmission method, which is applied to an information transmission system, wherein the method comprises: when a server is powered on, the BIOS transmits first information to an EEPROM and then hands it over to an OS; after the EEPROM receives the first information, the EEPROM verifies the first information and obtains a first MD5 value; after initialization, the BMC retrieves the first information sent by the BIOS from the EEPROM, and parses the first information to read first configuration information, wherein the first configuration information corresponds to the first information; the BMC verifies the first configuration information and obtains a second MD5 value; and compares the first MD5 value with the second MD5 value to determine whether to obtain a first alarm message, and reminds that the information transmission is incorrect according to the first alarm message.

[0029] After introducing the basic principles of the present invention, various non-limiting implementation methods of the present invention will be specifically described below in conjunction with the accompanying drawings.

[0030] Embodiment 1

[0031] Please see attached Figure 1 The present invention provides an information transmission method, wherein the method is applied to an information transmission system, and the method specifically comprises the following steps:

[0032] Step S100: After the server is powered on, the BIOS transfers the first information to the EEPROM and then hands it over to the OS;

[0033] Specifically, the information transmission method is applied to the information transmission system, and can add EEPROM in BIOS and BMC for temporarily receiving the first information of BIOS, so that BIOS and BMC do not need to perform handshake operation when interacting. Among them, the BIOS is the Basic Input Output System, which is the first software loaded when a personal computer starts. It is also the industry standard firmware interface. Its main function is to provide the user's computer with the lowest level and most basic hardware settings and control. The BMC is the Baseboard Manager Controller, which is used to integrate functions of devices with high system requirements, such as servers. In the prior art, BIOS and BMC will interact during the power-on process of the server, that is, KCS communication.

[0034] Furthermore, in order to prevent BIOS from communicating with BMC via KCS during BMC initialization, which may result in communication failure or incorrect information being received, an EEPROM is added to BIOS and BMC. When the server is powered on, the BIOS transmits the first information to the EEPROM and then directly hands it over to the OS. The first information is the whole machine configuration information to be transmitted when BIOS and BMC shake hands. The EEPROM is an electrically erasable programmable read only memory, which can erase existing information and reprogram it on a computer or dedicated device. Even if the power is off, the memory information will not be lost, and it is generally plug-and-play.

[0035] By directly performing subsequent processes after the first information is transmitted to the EEPROM until it is finally handed over to the OS, the technical effect of avoiding the BIOS from waiting for the BMC to be initialized, thereby saving the boot time, is achieved.

[0036] Step S200: After receiving the first information, the EEPROM verifies the first information and obtains a first MD5 value;

[0037] Specifically, after the EEPROM receives the first information transmitted by the BIOS, i.e., the whole machine configuration information, the received first information is automatically verified and a first MD5 value is generated. Among them, MD5 is a widely used cryptographic hash function that can randomly generate a hash value. In other words, after the EEPROM receives the first information, based on the received first information, a first MD5 value exclusive to the information is automatically generated. The technical effect of ensuring the integrity of information transmission is achieved.

[0038] Step S300: after initialization is completed, the BMC retrieves the first information sent by the BIOS from the EEPROM, and parses the first information to read first configuration information, wherein the first configuration information corresponds to the first information;

[0039] Specifically, when the BMC completes initialization, the first information received by the EEPROM is automatically retrieved, and the information is automatically parsed and read after retrieval to obtain the first configuration information. The first configuration information corresponds to the first information. By retrieving the whole machine configuration information transmitted by the BIOS after the BMC completes initialization, the BIOS waiting time is avoided to be too long, which affects the user experience.

[0040] Step S400: the BMC verifies the first configuration information to obtain a second MD5 value;

[0041] Specifically, after the BMC retrieves the first information from the EEPROM and parses the first configuration information, the MD5 information entropy digest algorithm is automatically used to verify the parsed first configuration information, thereby generating the second MD5 value corresponding to the first configuration information. By obtaining the second MD5 value corresponding to the whole machine configuration information generation information in the BMC, the technical effect of automatically verifying the information is achieved.

[0042] Step S500: Compare the first MD5 value and the second MD5 value to determine whether to obtain the first alarm information, and remind that the information transmission is incorrect according to the first alarm information.

[0043] Specifically, after the EEPROM receives the first information transmitted by the BIOS, the first MD5 value generated is automatically verified, and after the BMC retrieves the first information from the EEPROM and parses the first configuration information, the second MD5 value generated is automatically verified for comparative analysis. By judging whether the hash values ​​are consistent, it is further judged whether the information received by the BMC is consistent with the information received by the EEPROM. In other words, it is intelligently judged whether the first configuration information is completely consistent with the first configuration information, and further, it is determined whether to generate a first alarm message to remind that the information transmission is incorrect. By adding an EEPROM in the BIOS and BMC to temporarily receive the first information of the BIOS, the BIOS and the BMC do not need to perform a handshake operation when interacting. In other words, the BIOS does not need to wait for the BMC to initialize, thereby achieving the technical effect of shortening the boot time and improving the user experience.

[0044] Further, as attached Figure 2 As shown, step S500 of the present invention further includes:

[0045] Step S510: If the first MD5 value is the same as the second MD5 value, it is determined that the information transmission is correct;

[0046] Step S520: If the first MD5 value and the second MD5 value are different, obtain first alarm information.

[0047] Specifically, by automatically judging the first MD5 value and the second MD5 value, when the first MD5 value and the second MD5 value are the same, it indicates that the whole machine configuration information transmission from BIOS to BMC is correct, that is, it is determined that the information transmission is correct; when the first MD5 value and the second MD5 value are different, it indicates that an error has occurred in the whole machine configuration information transmission from BIOS to BMC, that is, it is determined that the information transmission is incorrect, and the random system automatically issues a first alarm message to remind users and other relevant personnel to solve the problem in time, thereby improving the overall efficiency. That is, the judgment of whether the transmission information is correct or not is realized, and an alarm is issued in time when the transmission information is incorrect, achieving the technical effect of timely discovering information transmission problems and improving the efficiency of problem solving.

[0048] Further, as attached Figure 3 As shown, step S100 of the present invention further includes:

[0049] Step S110: the BIOS communicates with the EEPROM via cpld.

[0050] Step S120: After the BIOS transmits the first information to the EEPROM, it does not perform a handshake with the BMC and directly performs subsequent processes until it is handed over to the OS.

[0051] Specifically, the BIOS transmits the first information to the EEPROM through a cpld communication connection, and after the first information is transmitted to the EEPROM, the BIOS does not shake hands with the BMC, that is, it does not need to wait for the initialization process of the BMC, and directly proceeds with the subsequent process until it is handed over to the OS. Among them, the cpld is a programmable logic device composed of a variety of programming technologies, and has the characteristics of high density, high speed and low power consumption. The first information to be transmitted to the BMC is temporarily stored in the EEPROM through the cpld, and then the EEPROM automatically checks and generates a first MD5 value to verify the subsequent information transmission after receiving the first information transmitted by the BIOS. By adding an EEPROM in the BIOS and BMC for temporarily receiving the first information of the BIOS, the BIOS and the BMC do not need to perform a handshake operation when interacting, that is, the BIOS does not need to wait for the BMC to initialize, and the technical effect of shortening the boot time and improving the user experience is achieved.

[0052] Furthermore, step S300 of the present invention further includes:

[0053] Step S310: the BMC is connected to the EEPROM for communication via the cpld.

[0054] Specifically, when the BMC retrieves and analyzes the first information of the EEPROM, it is also completed through the cpld communication connection. Among them, the cpld is a programmable logic device composed of multiple programming technologies, which has the characteristics of high density, high speed and low power consumption. Through the cpld, the technical effect of high efficiency, low power consumption retrieval and analysis of information is achieved.

[0055] In summary, the information transmission method provided by the present invention has the following technical effects:

[0056] 1. By first adding EEPROM to BIOS and BMC, after the server is powered on, the first information that BIOS will transmit to BMC is temporarily stored in EEPROM through cpld. At this time, BIOS will not shake hands with BMC, but directly hand over to OS. Then, after receiving the first information transmitted by BIOS, EEPROM will automatically verify and generate the first MD5 value. Further, after the initialization of BMC is completed, it also retrieves the first information sent by BIOS from EEPROM through cpld, and parses the first information to read the corresponding first configuration information. Similarly, BMC verifies again according to the read first configuration information and generates a second MD5 value. Finally, compare the first MD5 value generated by EEPROM verification and the second MD5 value generated by BMC verification. When the first MD5 value and the second MD5 value are the same, it means that the communication information is correct; when the first MD5 value and the second MD5 value are different, it means that the communication information is incorrect. At this time, BMC will automatically issue a first alarm message to remind relevant users to identify the problem in time and solve it. By adding EEPROM in BIOS and BMC for temporarily receiving the first information of BIOS, BIOS and BMC do not need to perform handshake operation when interacting, that is, BIOS does not need to wait for BMC initialization, thereby achieving the technical effect of shortening the boot time and improving user experience.

[0057] 2. After the EEPROM receives the first information and after the BMC retrieves and analyzes the first information, configuration verification is performed, thereby comparing the MD5 values ​​obtained from the two verifications, thereby determining whether the transmitted information is correct or not, and giving an alarm in a timely manner when the transmitted information is incorrect, thereby achieving the technical effect of timely discovering information transmission problems and improving problem solving efficiency.

[0058] Embodiment 2

[0059] Based on the same inventive concept as the information transmission method in the above embodiment, the present invention also provides an information transmission system, see the attached Figure 4 , the system comprising:

[0060] A first execution unit 11, wherein the first execution unit 11 is used for, when the server is powered on, the BIOS transfers the first information to the EEPROM and then hands it over to the OS;

[0061] A first obtaining unit 12, wherein the first obtaining unit 12 is used for verifying the first information and obtaining a first MD5 value after the EEPROM receives the first information;

[0062] A second execution unit 13, wherein the second execution unit 13 is used for the BMC to retrieve the first information sent by the BIOS from the EEPROM after initialization is completed, and parse the first information to read first configuration information, wherein the first configuration information corresponds to the first information;

[0063] A second obtaining unit 14, wherein the second obtaining unit 14 is used for the BMC to verify the first configuration information to obtain a second MD5 value;

[0064] The first determining unit 15 is used to compare the first MD5 value and the second MD5 value to determine whether to obtain the first alarm information, and to remind the user that the information transmission is incorrect according to the first alarm information.

[0065] Furthermore, the system also includes:

[0066] a second determining unit, the second determining unit being configured to determine that information transmission is correct if the first MD5 value and the second MD5 value are the same;

[0067] A third obtaining unit, wherein the third obtaining unit is used to obtain first alarm information if the first MD5 value and the second MD5 value are different.

[0068] Furthermore, the system also includes:

[0069] A first setting unit, wherein the first setting unit is used for the BIOS to communicate with the EEPROM through a cpld.

[0070] Furthermore, the system also includes:

[0071] The second setting unit is used for the BMC to communicate with the EEPROM through the cpld.

[0072] Furthermore, the system also includes:

[0073] The third execution unit is used for the BIOS to directly perform subsequent processes without handshaking with the BMC after the BIOS transfers the first information to the EEPROM, until it is handed over to the OS.

[0074] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. Figure 1 The information transmission method and specific examples in the first embodiment are also applicable to an information transmission system in the present embodiment. Through the above detailed description of an information transmission method, those skilled in the art can clearly know an information transmission system in the present embodiment, so for the sake of brevity of the specification, it will not be described in detail here. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0075] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0076] Exemplary Electronic Devices

[0077] Reference below Figure 5 The electronic device of the present invention will be described.

[0078] Figure 5 The figure shows a schematic structural diagram of an electronic device according to the present invention.

[0079] Based on the inventive concept of an information transmission method in the aforementioned embodiment, the present invention further provides an information transmission system, on which a computer program is stored, and when the program is executed by a processor, the steps of any method of the information transmission method described above are implemented.

[0080] Among them, Figure 5In the embodiment of the present invention, a bus architecture (represented by bus 300) is shown, which may include any number of interconnected buses and bridges, and bus 300 links various circuits including one or more processors represented by processor 302 and memory represented by memory 304. Bus 300 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are not further described herein. Bus interface 305 provides an interface between bus 300 and receiver 301 and transmitter 303. Receiver 301 and transmitter 303 may be the same element, namely a transceiver, which provides a unit for communicating with various other devices over a transmission medium.

[0081] The processor 302 is responsible for managing the bus 300 and general processing, while the memory 304 may be used to store data used by the processor 302 when performing operations.

[0082] The present invention provides an information transmission method, which is applied to an information transmission system, wherein the method comprises: when the server is powered on, the BIOS transmits the first information to the EEPROM and then hands it over to the OS; after the EEPROM receives the first information, the EEPROM verifies the first information and obtains the first MD5 value; after the initialization is completed, the BMC retrieves the first information sent by the BIOS from the EEPROM, and parses the first information to read the first configuration information, wherein the first configuration information corresponds to the first information; the BMC verifies the first configuration information and obtains the second MD5 value; compares the first MD5 value with the second MD5 value to determine whether to obtain the first alarm information, and reminds the information transmission error according to the first alarm information. The problem in the prior art that after the server is plugged into AC power, the BIOS will interact with the BMC, and at this time the BIOS needs to wait for the BMC to complete the initialization before the handshake is successful, and then proceed to the subsequent process, so there is a long boot time, which affects the user experience. By adding EEPROM in BIOS and BMC for temporarily receiving the first information of BIOS, BIOS and BMC do not need to perform handshake operation when interacting, that is, BIOS does not need to wait for BMC initialization, thereby achieving the technical effect of shortening the boot time and improving user experience.

[0083] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method described in any one of the above-mentioned embodiments is implemented.

[0084] The present invention also provides an electronic device, which includes a processor and a memory;

[0085] The memory is used for storing;

[0086] The processor is used to execute any one of the methods in the above-mentioned embodiment 1 by calling.

[0087] The present invention also provides a computer program product, including a computer program and / or instructions, which, when executed by a processor, implement the steps of the method described in any one of the above-mentioned embodiments.

[0088] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may adopt the form of a complete software embodiment, a complete hardware embodiment, or a combination of software and hardware embodiments. In addition, the present invention is in the form of a computer program product that can be implemented on one or more computer-usable storage media containing computer-usable program codes. The computer-usable storage medium includes, but is not limited to, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), disk memories, compact disc read-only memories (CD-ROM), optical memories, etc.

[0089] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A system that specifies the functions of a box or multiple boxes.

[0090] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction system, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0091] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they understand the basic creative concepts.

[0092] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention belong to the scope of the present invention and its equivalent technologies, the present invention is also intended to include these changes and variations.

Claims

1. An information transmission method, characterized in that: An EEPROM is added between BIOS and BMC, and the method includes: When the server is powered on, the BIOS transfers the first information to the EEPROM and then hands it over to the OS; After receiving the first information, the EEPROM verifies the first information and obtains a first MD5 value; After initialization is completed, the BMC automatically retrieves the first information sent by the BIOS from the EEPROM, and automatically parses the first information to read first configuration information, wherein the first configuration information corresponds to the first information; The BMC verifies the first configuration information to obtain a second MD5 value; Compare the first MD5 value with the second MD5 value to determine whether to obtain first alarm information, and remind that information transmission is incorrect according to the first alarm information; The comparing the first MD5 value and the second MD5 value to determine whether to obtain the first alarm information includes: If the first MD5 value is the same as the second MD5 value, it is determined that the information is transmitted correctly; If the first MD5 value is different from the second MD5 value, first alarm information is obtained.

2. The method according to claim 1, characterized in that The BIOS is connected to the EEPROM for communication via cpld.

3. The method according to claim 2, characterized in that The BMC is communicatively connected with the EEPROM via the cpld.

4. The method according to claim 1, characterized in that After the BIOS transfers the first information to the EEPROM, it hands it over to the OS, including: After the BIOS transmits the first information to the EEPROM, it does not perform a handshake with the BMC and directly performs subsequent processes until it is handed over to the OS.

5. An information transmission system, characterized in that: An EEPROM is added between BIOS and BMC. The system includes: The first execution unit: the first execution unit is used for, when the server is powered on, the BIOS transfers the first information to the EEPROM and then hands it over to the OS; First obtaining unit: The first obtaining unit is used for verifying the first information and obtaining a first MD5 value after the EEPROM receives the first information; Second execution unit: the second execution unit is used for the BMC to automatically retrieve the first information sent by the BIOS from the EEPROM after initialization is completed, and automatically parse the first information to read first configuration information, wherein the first configuration information corresponds to the first information; Second obtaining unit: The second obtaining unit is used for the BMC to verify the first configuration information to obtain a second MD5 value; First determination unit: The first determination unit is used to compare the first MD5 value and the second MD5 value to determine whether to obtain the first alarm information, and to remind the information transmission error according to the first alarm information; a second determining unit, the second determining unit being configured to determine that information transmission is correct if the first MD5 value and the second MD5 value are the same; A third obtaining unit, wherein the third obtaining unit is used to obtain first alarm information if the first MD5 value and the second MD5 value are different.

6. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

7. An electronic device, characterized in that: including a processor and a memory; The memory is used for storing; The processor is used to execute the method according to any one of claims 1 to 4 by calling.

8. A computer program product comprising a computer program and / or instructions, characterized in that: When the computer program and / or the instructions are executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Network transmission function batch test method and system, terminal and storage medium

    CN110557299A

  • Data interaction method and device and related components

    CN113391845A