Information management method, device, medium and program product
By installing information management standards in the server's basic input and output system driver execution stage, reading and sorting information of various components of the server, and pushing it to the management end, the problem of limited information management is solved, and the efficiency and convenience of information viewing are improved. Ensure consistency of information.
Patent Information
- Application Number
- CN202411187900.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2044-08-28
AI Technical Summary
The information management of various components in the server is limited by the operating system and management tools, resulting in complex information and it is difficult to clarify the operation of the server.
In the driver execution stage of the basic input and output system, the information management standards are installed, the information of each component of the server is read, and the information is sorted and displayed according to the current status of the server, and the information is pushed to the management end.
It realizes comprehensive and orderly display of information, improves the efficiency and convenience of information viewing, ensures consistency between the management end and the basic input and output system configuration interface information, and clarifies the current operation of the server.
Smart Images

Figure CN118689741B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an information management method, device, medium and program product. Background Art
[0002] At present, the management of information of various components in a server is not only limited by the server's operating system, but also by the use of management tools, management commands, etc., and the managed information is complex, which is not conducive to clarifying the server's operating status.
[0003] Therefore, how to manage the information of each component in the server is a problem that needs to be solved by those skilled in the art. Summary of the invention
[0004] In view of this, the purpose of this application is to provide an information management method, device, medium and program product to manage the information of each component in the server. The specific scheme is as follows:
[0005] In a first aspect, the present application provides an information management method, comprising:
[0006] Install information management standards in the driver implementation phase of the basic input and output system;
[0007] If the information management standard is successfully installed, then read the information of each component in the server according to the information management standard;
[0008] Sorting the information of each component according to the current state of the server to obtain an information sequence;
[0009] The information sequence is displayed on the configuration interface of the basic input and output system, and the information sequence is pushed to the corresponding management terminal according to the received information acquisition command.
[0010] Optionally, if the bus number corresponding to the information management standard is searched and the bus number is valid, it is confirmed that the information management standard is successfully installed, and success mark information is recorded.
[0011] Optionally, if the bus number corresponding to the information management standard is not searched, it is confirmed that the installation of the information management standard has failed, and failure mark information is recorded.
[0012] Optionally, if the bus number corresponding to the information management standard is searched but the bus number is invalid, it is confirmed that the installation of the information management standard has failed, and invalid flag information is recorded.
[0013] Optionally, it also includes:
[0014] If the information management standard fails to be installed, a management failure message is prompted.
[0015] Optionally, the information of each component is sorted according to the current state of the server to obtain an information sequence, including:
[0016] Assigning a first weight value to information of at least one first component associated with the current state of the server;
[0017] assigning a second weight value to information of at least one second component not associated with the current state of the server;
[0018] The information of each component is sorted according to the first weight value and the second weight value to obtain the information sequence.
[0019] Optionally, assigning a first weight value to information of at least one first component associated with the current state of the server includes:
[0020] determining a first importance ranking of the at least one first component;
[0021] According to the first importance ranking, a corresponding first weight value is selected for the at least one first component within a preset first interval; the preset first interval includes: a plurality of first weight values of different sizes.
[0022] Optionally, assigning a second weight value to information of at least one second component that is not associated with the current state of the server includes:
[0023] determining a second importance ranking of the at least one second component;
[0024] According to the second importance ranking, a corresponding second weight value is selected for the at least one second component within a preset second interval; the preset second interval includes: a plurality of second weight values of different sizes.
[0025] Optionally, displaying the information sequence on the configuration interface of the basic input and output system includes:
[0026] Assigning the information in the information sequence to the preset corresponding character variables;
[0027] The assignment of corresponding character variables is displayed in sequence on the configuration interface of the basic input and output system.
[0028] Optionally, reading information of each component in the server according to the information management standard includes:
[0029] Read the information of the processor, cache and memory in the server according to the information management standard.
[0030] Optionally, the processor information includes: voltage value, maximum frequency, current frequency, minimum frequency, base frequency, number of hyperthreads, number of cores and / or number of enabled cores.
[0031] Optionally, the cache information includes: operation modes and error types of caches at each level.
[0032] Optionally, the memory information includes: minimum voltage, maximum voltage, current voltage, data bandwidth, total bandwidth and / or memory serial number.
[0033] In a second aspect, the present application provides an information management device, comprising:
[0034] An installation module for installing information management standards in a driver execution phase of a basic input and output system;
[0035] A reading module, used for reading information of each component in the server according to the information management standard if the information management standard is successfully installed;
[0036] A sorting module, used to sort the information of each component according to the current state of the server to obtain an information sequence;
[0037] The display module is used to display the information sequence on the configuration interface of the basic input and output system, and push the information sequence to the corresponding management terminal according to the received information acquisition command.
[0038] In a third aspect, the present application provides an electronic device, including:
[0039] Memory for storing computer programs;
[0040] The processor is used to execute the computer program to implement the aforementioned disclosed information management method.
[0041] In a fourth aspect, the present application provides a non-volatile storage medium for storing a computer program, wherein the computer program implements the aforementioned disclosed information management method when executed by a processor.
[0042] In a fifth aspect, the present application provides a computer program product, including a computer program / instruction, which implements the steps of the aforementioned disclosed information management method when executed by a processor.
[0043] It can be seen from the above scheme that the present application provides an information management method, including: installing an information management standard in the driver execution phase of a basic input / output system; if the information management standard is successfully installed, reading the information of each component in the server according to the information management standard; sorting the information of each component according to the current status of the server to obtain an information sequence; displaying the information sequence on the configuration interface of the basic input / output system, and pushing the information sequence to the corresponding management end according to the received information acquisition command.
[0044] It can be seen that the beneficial effects of the present application are as follows: in the driver execution stage of the basic input / output system, the information of each component in the server is read using the information management standard, and the information of each component is sorted according to the current state of the server to obtain an information sequence, and then the information sequence is displayed in the configuration interface of the basic input / output system, and the information sequence is pushed to the corresponding management end according to the received information acquisition command. This ensures the comprehensiveness of the read information, and the sorting of various information corresponds to the current state of the server, which can improve the efficiency and convenience of information viewing. The originally complicated information is displayed in an orderly manner, which is conducive to clarifying the current operation status of the server, and also achieves the consistency of the information displayed by the relevant management end and the configuration interface of the basic input / output system.
[0045] Correspondingly, an information management device, medium and program product provided by the present application also have the above-mentioned technical effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in 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 described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0047] Figure 1 A flow chart of an information management method disclosed in this application;
[0048] Figure 2 A schematic diagram of an information management solution using SMBIOS disclosed in this application;
[0049] Figure 3 This is a schematic diagram of information disclosed in this application;
[0050] Figure 4 A schematic diagram of another information management solution using SMBIOS disclosed in this application;
[0051] Figure 5 A schematic diagram of an electronic device disclosed in this application;
[0052] Figure 6 A server structure diagram provided for this application;
[0053] Figure 7 A terminal structure diagram provided for this application. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other examples obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0055] At present, the management of information of each component in the server is not only limited by the operating system of the server, but also by the use of management tools, management commands, etc., and the managed information is complicated, which is not conducive to clarifying the operation status of the server. To this end, the present application provides an information management solution that can ensure the comprehensiveness of the read component information, and the sorting of various information corresponds to the current status of the server, which improves the efficiency and convenience of information viewing. The originally complicated information is displayed in an orderly manner, which is conducive to clarifying the current operation status of the server, and also achieves the consistency of the information displayed by the configuration interface of the relevant management terminal and the basic input and output system.
[0056] See also Figure 1 As shown, the embodiment of the present application discloses an information management method, including:
[0057] S101. Installing information management standards in a basic input / output system driver execution phase.
[0058] In this embodiment, the information management standard may be SMBIOS (System Management BIOS).
[0059] S102: If the information management standard is installed successfully, read the information of each component in the server according to the information management standard.
[0060] If the information management standard installation fails, management fault information will be prompted so that the technical staff can check and locate the cause of the fault based on the management fault information.
[0061] In one embodiment, reading the information of each component in the server according to the information management standard includes: reading the information of the processor, cache and memory in the server according to the information management standard. The information of the processor includes: voltage value, maximum frequency, current frequency, minimum frequency, base frequency, number of hyperthreads, number of cores and / or number of enabled cores. The information of the cache includes: operation mode and error type of each level of cache. The information of the memory includes: minimum voltage, maximum voltage, current voltage, data bandwidth width, total bandwidth width and / or memory serial number.
[0062] In one implementation, if the bus number corresponding to the information management standard is searched and the bus number is valid, it is confirmed that the information management standard is installed successfully and the success mark information is recorded. If the bus number corresponding to the information management standard is not searched, it is confirmed that the information management standard is installed unsuccessfully and the failure mark information is recorded. If the bus number corresponding to the information management standard is searched but the bus number is invalid, it is confirmed that the information management standard is installed unsuccessfully and the invalid mark information is recorded.
[0063] S103: Sort the information of each component according to the current state of the server to obtain an information sequence.
[0064] In this embodiment, the current state of the server may include: abnormal high temperature state, energy-saving state, maximized performance state, and maximized memory read and write performance state. In different states, the associated components are different. For example, in the abnormal high temperature state, the voltage, number of cores, and number of threads of the processor; the speed and voltage of the memory, etc., can be used as the information of the first component, and other information can be used as the information of the second component. It can be seen that there can be multiple first components and second components, and they can be the same, but the information assigned to the first weight value and the information assigned to the second weight value are different.
[0065] In one embodiment, the information of each component is sorted according to the current state of the server to obtain an information sequence, including: assigning a first weight value to the information of at least one first component associated with the current state of the server; assigning a second weight value to the information of at least one second component not associated with the current state of the server; and sorting the information of each component according to the size of the first weight value and the second weight value to obtain an information sequence.
[0066] Wherein, assigning a first weight value to information of at least one first component associated with the current state of the server includes: determining a first importance ranking of at least one first component; selecting a corresponding first weight value for at least one first component within a preset first interval according to the first importance ranking; the preset first interval includes: a plurality of first weight values of different sizes. For example: if the preset first interval is [10,20], then the first weight value can be: each natural number within the interval [10,20], and the larger the first weight value, the higher the importance.
[0067] Wherein, assigning a second weight value to the information of at least one second component that is not associated with the current state of the server includes: determining a second importance ranking of at least one second component; selecting a corresponding second weight value for at least one second component within a preset second interval according to the second importance ranking; the preset second interval includes: a plurality of second weight values of different sizes. For example: if the preset second interval is [0,9], then the second weight value can be: each natural number within the interval [0,9], and the larger the second weight value, the higher the importance.
[0068] S104: Display the information sequence on the configuration interface of the basic input and output system, and push the information sequence to the corresponding management terminal according to the received information acquisition command.
[0069] In one embodiment, displaying the information sequence on the configuration interface of the basic input and output system includes: assigning information in the information sequence to preset corresponding character variables; and displaying the assignments of the corresponding character variables in sequence on the configuration interface of the basic input and output system.
[0070] It can be seen that in the driving execution stage of the basic input and output system, this embodiment uses the information management standard to read the information of each component in the server, and sorts the information of each component according to the current state of the server to obtain an information sequence, and then displays the information sequence on the configuration interface of the basic input and output system, and pushes the information sequence to the corresponding management end according to the received information acquisition command. This ensures the comprehensiveness of the read information, and the sorting of various information corresponds to the current state of the server, which can improve the efficiency and convenience of information viewing. The originally complicated information is displayed in an orderly manner, which is conducive to clarifying the current operation status of the server, and also achieves the consistency of the information displayed by the relevant management end and the configuration interface of the basic input and output system.
[0071] Taking SMBIOS as an example, the following provides an information management solution using SMBIOS.
[0072] See also Figure 2 When the server starts, the SMBIOS protocol is installed in the DXE stage of the BIOS. The SMBIOS protocol is installed using the installation bus function, which searches and matches the GUID number of the SMBIOS bus in all bus GUIDs. When the GUID number of the SMBIOS bus is first searched in all bus GUID numbers, the SMBIOS bus is considered to be installed successfully and a success flag is returned; when the matching SMBIOS bus GUID number is not searched in all bus GUID numbers, the SMBIOS bus is considered to have failed to be installed, and the not found, that is, failure flag information is returned; if the GUID of the SMBIOS bus is not defined in the GUIDs of all buses, the flag information of invalid parameters is returned. If the installation fails, the information of the type type of the SMBIOS protocol cannot be read is returned. If the installation is successful, the Type type in the SMBIOS protocol is read to determine whether the current SMBIOS protocol type is empty. If it is empty, it means that the last type type has been read, and the data in Type4, Type7, Type16, Type17, and Type19 cannot be obtained; if it is not empty, the data in Type4, Type7, Type16, Type17, and Type19 can be read normally.
[0073] Set the SMBIOS bus Handle of Type4, Type7, Type16, Type17, and Type19 to the initial value, that is, SMBIOSHandle=0xFFFE, and then obtain the SMBIOShandle value of Type4, Type7, Type16, Type17, and Type19, the Type type of SMBIOS bus Type4, Type7, Type16, Type17, and Type19, and the data information of SMBIOS bus Type4, Type7, Type16, Type17, and Type19 through the installed SMBIOS bus protocol. If the current Type4, Type7, Type16, Type17, and Type19 information is successfully obtained through the Handle, the success flag information is returned. If the Handle record information of Type4, Type7, Type16, Type17, and Type19 is the last one, the failure flag information is returned.
[0074] See also Figure 3 , when the data in Type4, Type7, Type16, Type17, and Type19 are available, the core parameter information of the processor, memory and other components is obtained through the SMBIOS protocol, including: the voltage value, maximum frequency, current frequency, minimum frequency, base frequency, number of hyperthreads, number of cores, number of enabled cores, L1 cache, L2 cache, L3 cache, L1 / L2 / L3 cache operation mode, L1 / L2 / L3 cache EC error type physically supported by the processor; core physical information supported by memory physically, including but not limited to: minimum memory voltage, maximum memory voltage, current memory voltage, memory data bandwidth width, total memory bandwidth width, memory serial number and other physical information.
[0075] The voltage value of the processor is obtained by reading the processor register, converting and calculating the specific value, and then writing it into the SMBIOS protocol Type 4. Other parameters are similarly calculated.
[0076] In an example, the data in Type4, Type7, Type16, Type17, and Type19 can refer to Table 1.
[0077] Table 1
[0078]
[0079] Next, the parameter values obtained above are passed through the character variable values displayed on the BIOS configuration interface, that is, the obtained SMBIOS information data is passed to the corresponding character variable value, and the character variable value displays and updates the value.
[0080] When displaying the above parameter values, you can sort the parameters according to the real-time status of the server. For example, when the server has a high temperature fault, the voltage, core number, and thread number of the Type 4 CPU; the memory rate and voltage of Type 17 are important parameters and can be displayed first; the remaining parameters of Type 4, Type 7, Type 16, Type 17, and Type 19 can be displayed in the back. When the server wants to ensure the memory read and write performance, the cache capacity of the Type 7 CPU, the voltage, memory frequency, and memory bandwidth of the Type 17 memory are important parameters and can be displayed in the back; the remaining parameters can be displayed in the back.
[0081] When the memory allocation mode is set and enabled in the server, the memory size allocated to each CPU core can be confirmed through the memory address range of type19.
[0082] Under abnormal circumstances, if the above information cannot be obtained normally, the BIOS configuration interface will not display relevant information, only the parameter name will be displayed, and the specific value of the parameter will be replaced by a fixed character (such as NA). Through the above, the core physical information of components such as the processor and memory can be displayed on the BIOS configuration interface, and can be viewed later through commands. For example: during the server startup process, enter the BIOS configuration interface through the hotkey method, and view the core parameter information of the memory and CPU in the memory display interface and CPU display interface respectively.
[0083] It can be seen that in this embodiment, during the server startup stage, the core physical information about the processor and memory is obtained through Type 4, Type 7, Type 16, Type 17, and Type 19 of the SMBIOS protocol type in the DXE stage of the BIOS. If it is not possible or the NA character is displayed, the specific operation process can be referred to Figure 4 This solution can display the core information of the CPU and kernel for real-time viewing without having to enter the operating system to obtain information through commands or physically disassemble the server.
[0084] An information management device provided in an embodiment of the present application is introduced below. The information management device described below can be referenced to other embodiments described in this document.
[0085] The present application embodiment discloses an information management device, including:
[0086] An installation module for installing information management standards in a driver execution phase of a basic input and output system;
[0087] A reading module, used to read the information of each component in the server according to the information management standard if the information management standard is successfully installed;
[0088] A sorting module is used to sort the information of each component according to the current state of the server to obtain an information sequence;
[0089] The display module is used to display the information sequence on the configuration interface of the basic input and output system, and push the information sequence to the corresponding management terminal according to the received information acquisition command.
[0090] In one implementation, the installation module is used to: if the bus number corresponding to the information management standard is searched and the bus number is valid, confirm that the information management standard is successfully installed and record success mark information.
[0091] In one implementation, the installation module is used to: if the bus number corresponding to the information management standard is not searched, then confirm that the installation of the information management standard has failed, and record failure flag information.
[0092] In one implementation, the installation module is used to: if a bus number corresponding to the information management standard is searched but the bus number is invalid, then confirm that the installation of the information management standard has failed, and record invalid flag information.
[0093] In one embodiment, the installation module is further used to: if the information management standard installation fails, prompt management failure information.
[0094] In one embodiment, the sorting module is specifically used to:
[0095] Assigning a first weight value to information of at least one first component associated with a current state of the server;
[0096] assigning a second weight value to information of at least one second component not associated with the current state of the server;
[0097] The information of each component is sorted according to the first weight value and the second weight value to obtain an information sequence.
[0098] In one embodiment, the sorting module is specifically used to:
[0099] determining a first importance ranking of at least one first component;
[0100] According to the first importance order, a corresponding first weight value is selected for at least one first component within a preset first interval; the preset first interval includes: a plurality of first weight values of different sizes.
[0101] In one embodiment, the sorting module is specifically used to:
[0102] determining a second importance ranking of at least one second component;
[0103] According to the second importance order, a corresponding second weight value is selected for at least one second component within a preset second interval; the preset second interval includes: a plurality of second weight values of different sizes.
[0104] In one embodiment, the display module is specifically used for:
[0105] Assign the information in the information sequence to the corresponding preset character variables;
[0106] The assignment of corresponding character variables is displayed in sequence on the configuration interface of the basic input and output system.
[0107] In one embodiment, the reading module is specifically used for:
[0108] Read information about the processor, cache, and memory in the server according to information management standards.
[0109] In one implementation, the processor information includes: voltage value, maximum frequency, current frequency, minimum frequency, base frequency, number of hyperthreads, number of cores, and / or number of enabled cores.
[0110] In one implementation, the cache information includes: operation modes and error types of caches at each level.
[0111] In one implementation, the memory information includes: minimum voltage, maximum voltage, current voltage, data bandwidth, total bandwidth and / or memory serial number.
[0112] Among them, for more specific working processes of each module and unit in this embodiment, reference can be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.
[0113] It can be seen that this embodiment provides an information management device, which ensures the comprehensiveness of the information read, and the sorting of various information corresponds to the current status of the server, which can improve the efficiency and convenience of information viewing. The originally complex information is displayed in an orderly manner, which is conducive to clarifying the current operation status of the server, and also achieves consistency in the information displayed on the configuration interface of the relevant management terminal and the basic input and output system.
[0114] An electronic device provided in an embodiment of the present application is introduced below. The electronic device described below can be referenced to other embodiments described in this document.
[0115] See also Figure 5 As shown, the embodiment of the present application discloses an electronic device, including:
[0116] Memory 501, used for storing computer programs;
[0117] The processor 502 is used to execute the computer program to implement the method disclosed in any of the above embodiments.
[0118] In this embodiment, when the processor executes the computer program stored in the memory, the following steps can be specifically implemented: installing the information management standard in the driver execution phase of the basic input and output system; if the information management standard is successfully installed, reading the information of each component in the server according to the information management standard; sorting the information of each component according to the current status of the server to obtain an information sequence; displaying the information sequence on the configuration interface of the basic input and output system, and pushing the information sequence to the corresponding management end according to the received information acquisition command.
[0119] In this embodiment, when the processor executes the computer program stored in the memory, the following steps can be specifically implemented: if the bus number corresponding to the information management standard is searched and the bus number is valid, it is confirmed that the information management standard is installed successfully and the success mark information is recorded.
[0120] In this embodiment, when the processor executes the computer program stored in the memory, the following steps may be specifically implemented: if the bus number corresponding to the information management standard is not searched, it is confirmed that the installation of the information management standard has failed, and the failure flag information is recorded.
[0121] In this embodiment, when the processor executes the computer program stored in the memory, the following steps may be specifically implemented: if the bus number corresponding to the information management standard is searched but the bus number is invalid, it is confirmed that the installation of the information management standard has failed, and the invalid flag information is recorded.
[0122] In this embodiment, when the processor executes the computer program stored in the memory, the following steps may be specifically implemented: if the installation of the information management standard fails, management fault information is prompted.
[0123] In this embodiment, when the processor executes the computer program stored in the memory, the following steps can be specifically implemented: assigning a first weight value to the information of at least one first component associated with the current state of the server; assigning a second weight value to the information of at least one second component not associated with the current state of the server; and sorting the information of each component according to the size of the first weight value and the second weight value to obtain an information sequence.
[0124] In this embodiment, when the processor executes the computer program stored in the memory, the following steps can be specifically implemented: determining a first importance ranking of at least one first component; selecting a corresponding first weight value for at least one first component within a preset first interval according to the first importance ranking; the preset first interval includes: multiple first weight values of different sizes.
[0125] In this embodiment, when the processor executes the computer program stored in the memory, the following steps can be specifically implemented: determining a second importance ranking of at least one second component; selecting a corresponding second weight value for at least one second component within a preset second interval according to the second importance ranking; the preset second interval includes: multiple second weight values of different sizes.
[0126] In this embodiment, when the processor executes the computer program stored in the memory, the following steps may be specifically implemented: assigning information in the information sequence to preset corresponding character variables; and displaying the assignments of corresponding character variables in sequence on the configuration interface of the basic input and output system.
[0127] In this embodiment, when the processor executes the computer program stored in the memory, the following steps may be specifically implemented: reading information of the processor, cache, and memory in the server according to the information management standard.
[0128] Furthermore, the present application also provides an electronic device. The electronic device can be Figure 6 The server shown can also be Figure 7 Terminal shown. Figure 6 and Figure 7 All of them are structural diagrams of electronic devices according to an exemplary embodiment, and the contents in the diagrams cannot be regarded as any limitation on the scope of use of the present application.
[0129] Figure 6 A schematic diagram of the structure of a server provided in an embodiment of the present application. The server may specifically include: at least one processor, at least one memory, a power supply, a communication interface, an input / output interface, and a communication bus. The memory is used to store a computer program, which is loaded and executed by the processor to implement the relevant steps in the information management disclosed in any of the aforementioned embodiments.
[0130] In this embodiment, the power supply is used to provide working voltage for each hardware device on the server; the communication interface can create a data transmission channel between the server and external devices, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0131] In addition, the memory as a carrier for resource storage can be a read-only memory, random access memory, disk or CD, etc. The resources stored thereon include operating system, computer programs and data, etc. The storage method can be temporary storage or permanent storage.
[0132] The operating system is used to manage and control the hardware devices and computer programs on the server to realize the operation and processing of the data in the memory by the processor, and it can be Windows Server, Netware, Unix, Linux, etc. In addition to computer programs that can be used to complete the information management method disclosed in any of the above embodiments, the computer program can also further include computer programs that can be used to complete other specific tasks. In addition to data such as application update information, the data can also include data such as application developer information.
[0133] Figure 7 A schematic diagram of the structure of a terminal provided in an embodiment of the present application, the terminal may specifically include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer, etc.
[0134] Generally, the terminal in this embodiment includes: a processor and a memory.
[0135] Among them, the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0136] The memory may include one or more computer non-volatile storage media, which may be non-transitory. The memory may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory is at least used to store the following computer program, wherein, after the computer program is loaded and executed by the processor, it can implement the relevant steps in the information management method performed by the terminal side disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory may also include an operating system and data, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system may include Windows, Unix, Linux, etc. The data may include, but is not limited to, update information of the application.
[0137] In some embodiments, the terminal may also include a display screen, an input and output interface, a communication interface, a sensor, a power supply, and a communication bus.
[0138] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the terminal, and may include more or fewer components than those shown in the figure.
[0139] A non-volatile storage medium provided in an embodiment of the present application is introduced below. The non-volatile storage medium described below can be cross-referenced with other embodiments described herein.
[0140] A non-volatile storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the information management method disclosed in the above-mentioned embodiment. The non-volatile storage medium is a computer-readable non-volatile storage medium, which, as a carrier for storing resources, may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system, a computer program and data, etc., and the storage method may be temporary storage or permanent storage.
[0141] In this embodiment, the computer program executed by the processor may specifically implement the following steps:
[0142] The information management standard is installed in the driver execution phase of the basic input / output system; if the information management standard is successfully installed, the information of each component in the server is read according to the information management standard; the information of each component is sorted according to the current state of the server to obtain an information sequence; the information sequence is displayed on the configuration interface of the basic input / output system, and the information sequence is pushed to the corresponding management terminal according to the received information acquisition command.
[0143] In this embodiment, the computer program executed by the processor can specifically implement the following steps: if the bus number corresponding to the information management standard is searched and the bus number is valid, confirm that the information management standard is installed successfully and record the success mark information.
[0144] In this embodiment, the computer program executed by the processor may specifically implement the following steps: if the bus number corresponding to the information management standard is not searched, confirming that the information management standard installation has failed, and recording the failure flag information.
[0145] In this embodiment, when the processor executes the computer program stored in the non-volatile storage medium, the following steps can be specifically implemented: if the bus number corresponding to the information management standard is searched but the bus number is invalid, it is confirmed that the installation of the information management standard has failed, and the invalid flag information is recorded.
[0146] In this embodiment, when the processor executes the computer program stored in the non-volatile storage medium, the following steps may be specifically implemented: if the installation of the information management standard fails, management fault information is prompted.
[0147] In this embodiment, when the processor executes the computer program stored in the non-volatile storage medium, the following steps can be specifically implemented: assigning a first weight value to the information of at least one first component associated with the current state of the server; assigning a second weight value to the information of at least one second component not associated with the current state of the server; and sorting the information of each component according to the size of the first weight value and the second weight value to obtain an information sequence.
[0148] In this embodiment, when the processor executes the computer program stored in the non-volatile storage medium, the following steps can be specifically implemented: determining a first importance ranking of at least one first component; selecting a corresponding first weight value for at least one first component within a preset first interval according to the first importance ranking; the preset first interval includes: multiple first weight values of different sizes.
[0149] In this embodiment, when the processor executes the computer program stored in the non-volatile storage medium, the following steps can be specifically implemented: determining a second importance ranking of at least one second component; selecting a corresponding second weight value for at least one second component within a preset second interval according to the second importance ranking; the preset second interval includes: multiple second weight values of different sizes.
[0150] In this embodiment, when the processor executes the computer program stored in the non-volatile storage medium, the following steps can be specifically implemented: assigning information in the information sequence to preset corresponding character variables; and displaying the assignments of the corresponding character variables in sequence on the configuration interface of the basic input and output system.
[0151] In this embodiment, when the processor executes the computer program stored in the non-volatile storage medium, the following steps may be specifically implemented: reading information of the processor, cache, and memory in the server according to information management standards.
[0152] A computer program product provided in an embodiment of the present application is introduced below. The computer program product described below can be cross-referenced with other embodiments described in this document.
[0153] A computer program product comprises a computer program / instruction, which implements the steps of the aforementioned disclosed information management method when executed by a processor.
[0154] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0155] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of non-volatile storage medium known in the art.
[0156] Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. An information management method, characterized in that: include: Installing an information management standard during the driver execution phase of the basic input / output system; the information management standard is SMBIOS; If the information management standard is successfully installed, the information of the processor, cache and memory in the server is read according to the information management standard; Processor information includes: voltage value, maximum frequency, current frequency, minimum frequency, base frequency, number of hyperthreads, number of cores and / or number of enabled cores; cache information includes: operation mode of cache at each level and error type; memory information includes: minimum voltage, maximum voltage, current voltage, data bandwidth width, total bandwidth width and / or memory serial number; Sorting the information of each component according to the current state of the server to obtain an information sequence; Displaying the information sequence on the configuration interface of the basic input and output system, and pushing the information sequence to the corresponding management terminal according to the received information acquisition command; The information of each component is sorted according to the current state of the server to obtain an information sequence, including: Assigning a first weight value to information of at least one first component associated with the current state of the server; wherein, according to the first importance order of the at least one first component, a corresponding first weight value is selected for the at least one first component; Assigning a second weight value to information of at least one second component that is not associated with the current state of the server; wherein, according to the second importance of the at least one second component, a corresponding second weight value is selected for the at least one second component The information of each component is sorted according to the first weight value and the second weight value to obtain the information sequence.
2. The method according to claim 1, characterized in that If the bus number corresponding to the information management standard is searched and the bus number is valid, it is confirmed that the information management standard is successfully installed, and the success mark information is recorded.
3. The method according to claim 1, characterized in that If the bus number corresponding to the information management standard is not found, it is determined that the installation of the information management standard has failed, and failure flag information is recorded.
4. The method according to claim 1, characterized in that: If the bus number corresponding to the information management standard is searched but the bus number is invalid, it is confirmed that the installation of the information management standard has failed, and invalid flag information is recorded.
5. The method according to claim 1, characterized in that Also includes: If the information management standard fails to be installed, a management failure message is prompted.
6. The method according to claim 1, characterized in that Assigning a first weight value to information of at least one first component associated with the current state of the server includes: determining a first importance ranking of the at least one first component; According to the first importance ranking, a corresponding first weight value is selected for the at least one first component within a preset first interval; the preset first interval includes: a plurality of first weight values of different sizes.
7. The method according to claim 1, characterized in that Assigning a second weight value to information of at least one second component that is not associated with the current state of the server includes: determining a second importance ranking of the at least one second component; According to the second importance ranking, a corresponding second weight value is selected for the at least one second component within a preset second interval; the preset second interval includes: a plurality of second weight values of different sizes.
8. The method according to claim 1, characterized in that Displaying the information sequence on the configuration interface of the basic input and output system includes: Assigning the information in the information sequence to the preset corresponding character variables; The assignment of corresponding character variables is displayed in sequence on the configuration interface of the basic input and output system.
9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program to implement the method according to any one of claims 1 to 8.
10. A non-volatile storage medium, characterized in that: Used to store a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
11. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.
