CN115686648A - Method, device, equipment and medium for managing configuration information - Google Patents

Method, device, equipment and medium for managing configuration information Download PDF

Info

Publication number
CN115686648A
CN115686648A CN202211190677.7A CN202211190677A CN115686648A CN 115686648 A CN115686648 A CN 115686648A CN 202211190677 A CN202211190677 A CN 202211190677A CN 115686648 A CN115686648 A CN 115686648A
Authority
CN
China
Prior art keywords
configuration information
target
management controller
query request
substrate management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211190677.7A
Other languages
Chinese (zh)
Inventor
周璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211190677.7A priority Critical patent/CN115686648A/en
Publication of CN115686648A publication Critical patent/CN115686648A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application discloses a management method, a device, equipment and a medium of configuration information, relates to the technical field of server management, is applied to any one baseboard management controller in a target machine room, and comprises the following steps: after the computer system is powered on, updating local configuration information and position information, and establishing communication connection with other substrate management controllers in the target computer room; acquiring a configuration information query request through a preset information acquisition interface, and judging whether a target substrate management controller matched with the configuration information query request exists in each substrate management controller of the target machine room; and if the target substrate management controller matched with the configuration information query request exists, acquiring target position information corresponding to the target substrate management controller, and displaying the target position information on a preset interface. The sharing of the configuration information among the baseboard management controllers is realized, and the rest configuration information can be inquired in any baseboard management controller.

Description

Method, device, equipment and medium for managing configuration information
Technical Field
The present invention relates to the technical field of server management, and in particular, to a method, an apparatus, a device, and a medium for managing configuration information.
Background
When the number of servers used by a client reaches a certain number, the client usually faces a problem of how to conveniently manage and query the configuration information. For example, what the configuration information of each device is, what the devices with the same configuration information are, if the user has arrived at the computer room, how to quickly find the devices with the same configuration information or what the devices with a specific configuration are, etc.
Currently, for the above problems, the checking is mainly performed according to file records or special software, and which devices are determined and then searched in a machine room. If other configuration requirements exist in the computer room, the user needs to go to the file record or software for checking. If the environment changes, file records or software cannot be updated timely, and therefore the problem of inaccurate records is caused. That is, file records or recording software is difficult to query in a computer room or at a remote place, and a problem of untimely update occurs, resulting in inaccurate recording.
In summary, how to avoid inaccurate records caused by untimely update of configuration information and more conveniently query the configuration information to improve user experience is a problem to be solved at present.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method, an apparatus, a device, and a medium for managing configuration information, which can avoid inaccurate recording caused by untimely update of the configuration information, and query the configuration information more conveniently, so as to improve user experience. The specific scheme is as follows:
in a first aspect, the present application discloses a method for managing configuration information, which is applied to any one baseboard management controller in a target computer room, and includes:
after the power is on, updating local configuration information and position information, and establishing communication connection with other substrate management controllers in the target machine room;
acquiring a configuration information query request through a preset information acquisition interface, and judging whether a target substrate management controller matched with the configuration information query request exists in each substrate management controller of the target machine room;
and if the target substrate management controller matched with the configuration information query request exists, acquiring target position information corresponding to the target substrate management controller, and displaying the target position information on a preset interface.
Optionally, the updating the local configuration information and the location information after the power is turned on includes:
after the power is on, the configuration information of the local including the central processing unit model, the memory model, the pcie card configuration, the hard disk parameters and the IP address is updated, and the local position information is updated.
Optionally, the method for managing configuration information further includes:
and updating the local configuration information and the position information at preset time intervals to obtain the updated configuration information and the updated position information.
Optionally, the determining whether a target baseboard management controller matched with the configuration information query request exists in each baseboard management controller of the target computer room includes:
judging whether the local configuration information is matched with the configuration information query request;
and if not, sending the configuration information query request to other substrate management controllers in the target machine room so as to judge whether the target substrate management controllers matched with the configuration information query request exist in the other substrate management controllers.
Optionally, in the process of determining whether there is a target baseboard management controller matched with the configuration information query request in the remaining baseboard management controllers, the method further includes:
matching the configuration information query request with the configuration information of the other substrate management controllers to determine whether target configuration information which is successfully matched exists;
and if the target configuration information which is successfully matched exists, determining the corresponding substrate management controller as the target substrate management controller matched with the configuration information query request.
Optionally, the method for managing configuration information further includes:
and acquiring an information modification request through the preset information acquisition interface, and modifying the configuration information and the position information of each substrate management controller based on the information modification request.
In a second aspect, the present application discloses a management apparatus for configuration information, which is applied to any one baseboard management controller in a target computer room, and includes:
the information updating module is used for updating local configuration information and position information after being electrified and establishing communication connection with other substrate management controllers in the target machine room;
the matching module is used for acquiring a configuration information query request through a preset information acquisition interface and judging whether a target substrate management controller matched with the configuration information query request exists in each substrate management controller of the target machine room;
and the position information acquisition module is used for acquiring target position information corresponding to the target substrate management controller if the target substrate management controller matched with the configuration information query request exists, and displaying the target position information on a preset interface.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the configuration information management method disclosed in the foregoing.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program realizes the steps of the method for managing configuration information disclosed in the foregoing when executed by a processor.
Therefore, the present application discloses a method for managing configuration information, which is applied to any one baseboard management controller in a target machine room, and includes: after the computer system is powered on, updating local configuration information and position information, and establishing communication connection with other substrate management controllers in the target computer room; acquiring a configuration information query request through a preset information acquisition interface, and judging whether a target substrate management controller matched with the configuration information query request exists in each substrate management controller of the target machine room; and if the target substrate management controller matched with the configuration information query request exists, acquiring target position information corresponding to the target substrate management controller, and displaying the target position information on a preset interface. Therefore, after the power-on, the baseboard management controller can update the local configuration information and the local position information, the problem of inaccurate record caused by untimely update of the configuration information is avoided, and then the baseboard management controller establishes communication connection with the other baseboard management controllers in the target machine room so as to realize information sharing among all devices; the method comprises the steps that a configuration information query request can be obtained on any one device through a preset information obtaining interface, and then whether a target base plate management controller matched with the configuration information query request exists in each base plate management controller of a target machine room or not is judged; and if so, acquiring target position information corresponding to the target substrate management controller and displaying the target position information on a preset interface. Through the scheme, the sharing of the configuration information among the substrate management controllers is realized, and the rest configuration information can be inquired in any one substrate management controller, so that the inquiry of the configuration information is more convenient and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method for managing configuration information disclosed herein;
FIG. 2 is a flowchart of a specific configuration information management method disclosed herein;
FIG. 3 is a schematic structural diagram of a configuration information management apparatus disclosed in the present application;
fig. 4 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Currently, the checking is mainly performed according to file records or special software, and the equipment is determined and then searched in a machine room. If other configuration requirements exist in the computer room, the user needs to go to the file record or the software for checking. If the environment changes, the file recording or the software is not updated timely, and the recording is inaccurate. That is, file records or recording software is difficult to query in a computer room or at a remote place, and a problem of untimely update occurs, resulting in inaccurate recording. Therefore, the embodiment of the application discloses a method, a device, equipment and a medium for managing configuration information, which can avoid inaccurate record caused by untimely update of the configuration information and query the configuration information more conveniently so as to improve user experience.
Referring to fig. 1, an embodiment of the present application discloses a method for managing configuration information, which is applied to any one baseboard management controller in a target computer room, and the method includes:
step S11: and after the power-on, updating the local configuration information and the local position information, and establishing communication connection with the other baseboard management controllers in the target computer room.
In this embodiment, after being powered on, a Baseboard Management Controller (BMC) needs to update local configuration information and position information, that is, each time the device is powered on, the BMC needs to update the configuration information and the position information of the device. Then, a communication connection is established with the other baseboard management controllers in the target machine room, that is, communication such as LLDP (Link Layer Discovery Protocol) can be specifically performed between each baseboard management controller in the target machine room, so as to establish a relatively perfect IPTABLE in the local area network, where IPTABLE is a network firewall. It should be noted that the link layer discovery protocol is a vendor-independent two-layer protocol that allows network devices to advertise their device identity and capabilities within the local subnet.
Further, the method for managing configuration information further includes: and updating the local configuration information and the position information at preset time intervals to obtain the updated configuration information and position information. It can be understood that each baseboard management controller updates local configuration information and position information at preset time intervals, that is, updates local configuration information and position information at fixed time, so that the rest baseboard management controllers can also obtain the updated configuration information and position information of the device through the established communication connection, and further avoid the problem of inaccurate recording caused by untimely update of the configuration information.
Step S12: and acquiring a configuration information query request through a preset information acquisition interface, and judging whether a target substrate management controller matched with the configuration information query request exists in each substrate management controller of the target machine room.
In this embodiment, any device may obtain the configuration information query request through a preset information obtaining interface, where the preset information obtaining interface is a pre-designed interface, and may be a web interface, for example; the configuration information query request is used for triggering query of the baseboard management controller with specific configuration information. After the configuration information query request is obtained, it is determined whether a target baseboard management controller matching the configuration information query request exists in each baseboard management controller of the target computer room, that is, which baseboard management controller has the specific configuration information is queried.
Step S13: and if the target substrate management controller matched with the configuration information query request exists, acquiring target position information corresponding to the target substrate management controller, and displaying the target position information on a preset interface.
In this embodiment, if a target baseboard management controller matching the configuration information query request exists, that is, a target baseboard management controller with specific configuration information is queried, target location information corresponding to the target baseboard management controller is obtained, and an IP address of the baseboard management controller may also be obtained, and then the obtained information, such as the target location information and the IP address, is displayed on a preset interface of a local baseboard management controller, which may be specifically displayed on a web page.
In addition, the method for managing configuration information further includes: and acquiring an information modification request through the preset information acquisition interface, and modifying the configuration information and the position information of each substrate management controller based on the information modification request. It can be understood that the preset information obtaining interface may further obtain an information modification request, that is, when information such as configuration information, location information, and an IP address of a certain board management controller needs to be modified, the preset information obtaining interface of any board management controller may input the information modification request, so as to modify the configuration information, the location information, or the IP address of the corresponding board management controller based on the information modification request.
It can be seen that the present application discloses a method for managing configuration information, which is applied to any one baseboard management controller in a target machine room, and includes: after the computer system is powered on, updating local configuration information and position information, and establishing communication connection with other substrate management controllers in the target computer room; acquiring a configuration information query request through a preset information acquisition interface, and judging whether a target substrate management controller matched with the configuration information query request exists in each substrate management controller of the target machine room; and if the target substrate management controller matched with the configuration information query request exists, acquiring target position information corresponding to the target substrate management controller, and displaying the target position information on a preset interface. Therefore, after the power-on, the baseboard management controller can update the local configuration information and the position information, the problem of inaccurate record caused by untimely update of the configuration information is avoided, and then the baseboard management controller establishes communication connection with the other baseboard management controllers in the target machine room so as to realize information sharing among all devices; the method comprises the steps that a configuration information query request can be obtained on any one device through a preset information obtaining interface, and then whether a target base plate management controller matched with the configuration information query request exists in each base plate management controller of a target machine room or not is judged; and if so, acquiring target position information corresponding to the target substrate management controller and displaying the target position information on a preset interface. Through the scheme, the sharing of the configuration information among the substrate management controllers is realized, and the rest configuration information can be inquired in any one substrate management controller, so that the inquiry of the configuration information is more convenient and the user experience is improved.
Referring to fig. 2, the embodiment of the present application discloses a specific method for managing configuration information, and compared with the previous embodiment, the embodiment further describes and optimizes the technical solution. The method specifically comprises the following steps:
step S21: after the power is on, the local configuration information including the model of the central processing unit, the model of the internal memory, the configuration of the pcie card, the parameters of the hard disk and the IP address is updated, the local position information is updated, and communication connection is established between the local configuration information and the other substrate management controllers in the target machine room.
In this embodiment, after the bmc is powered on, the local configuration information needs to be updated, where the configuration information may include, but is not limited to, a Central Processing Unit (CPU) type number, a memory type, a pci (peripheral component interconnect express) card configuration, a hard disk parameter, and a configuration information of an IP address.
Further, it should be noted that the method for managing configuration information further includes: the method comprises the steps of obtaining a position parameter input in advance, and storing the position parameter into a preset list or a preset dictionary so as to update local position information by using the position parameter. It can be understood that in this embodiment, the location parameters of the bmc need to be input in advance, and the location parameters are stored in a preset list or a preset dictionary, that is, the location parameters may be stored in a list or a dictionary, so as to update the local location information by using the location parameters.
Step S22: and acquiring a configuration information query request through a preset information acquisition interface, and judging whether the local configuration information is matched with the configuration information query request.
In this embodiment, when the configuration information query request is obtained through the preset information obtaining interface, it is first determined whether the local configuration information is matched with the configuration information query request, that is, when one substrate management controller obtains the configuration information query request, the configuration information query request is first compared with the configuration information of the device to determine whether the local configuration information is matched with the configuration information of the device.
Step S23: and if not, sending the configuration information query request to other substrate management controllers in the target machine room so as to judge whether the target substrate management controllers matched with the configuration information query request exist in the other substrate management controllers.
In this embodiment, if the local configuration information does not match the configuration information query request, the configuration information query request is sent to the remaining baseboard management controllers in the target computer room or the local area network, so as to determine whether there is a target baseboard management controller matching the configuration information query request in the remaining baseboard management controllers. It should be noted that, in the process of determining whether there is a target baseboard management controller matching the configuration information query request in the remaining baseboard management controllers, the method may further include: matching the configuration information query request with the configuration information of the other substrate management controllers to determine whether the successfully matched target configuration information exists; and if the target configuration information which is successfully matched exists, determining the corresponding substrate management controller as the target substrate management controller matched with the configuration information query request. It can be understood that, after receiving the configuration information query request, the remaining baseboard management controllers in the local area network complete matching between the corresponding configuration information and the configuration information query request in each baseboard management controller, so as to determine whether matching is successful. And if the target configuration information which is successfully matched exists in the other substrate management controllers, determining the corresponding substrate management controller as the target substrate management controller which is matched with the configuration information query request.
In addition, if the local configuration information matches with the configuration information query request, it indicates that the device is the target baseboard management controller with specific configuration information that needs to be searched, and it is not necessary to send a configuration information query request to the remaining baseboard management controllers.
Step S24: and if the target substrate management controller matched with the configuration information query request exists, acquiring target position information corresponding to the target substrate management controller, and displaying the target position information on a preset interface.
In one embodiment, if there is a target baseboard management controller matching the configuration information query request, target location information corresponding to the target baseboard management controller is obtained, and the target location information is displayed on a preset interface.
In another specific embodiment, if there is no target board management controller matching the configuration information query request, a return message used for representing a mismatch may be returned to the board management controller that acquired the configuration information query request through the preset information acquisition interface, or no return message may be made.
For a more specific processing procedure of the step S24, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated herein.
Therefore, after the power is on, the embodiment of the application updates local configuration information including the model of the central processing unit, the model of the memory, the configuration of the pci card, parameters of the hard disk, the IP address and local position information, and establishes communication connection with other substrate management controllers in the target machine room; acquiring a configuration information query request through a preset information acquisition interface, and judging whether local configuration information is matched with the configuration information query request; if not, sending the configuration information query request to other substrate management controllers in the target machine room so as to judge whether the target substrate management controllers matched with the configuration information query request exist in the other substrate management controllers or not; and if the target substrate management controller matched with the configuration information query request exists, acquiring target position information corresponding to the target substrate management controller, and displaying the target position information on a preset interface. Therefore, the configuration information in the application comprises the central processing unit model, the memory model, the pcie card configuration, the hard disk parameters and the IP address, when the configuration information query request is obtained, the configuration information is firstly matched with the configuration information of the local equipment, and the configuration information query request is sent to other substrate management controllers in the target machine room after the matching is unsuccessful, so that whether the target substrate management controllers matched with the configuration information query request exist in the other substrate management controllers or not is judged, and if the target substrate management controllers exist, the target position information corresponding to the target substrate management controllers is returned. Through the scheme, the sharing of the configuration information among the substrate management controllers is realized, the inaccurate record caused by the untimely updating of the configuration information can be avoided, the configuration information can be inquired more conveniently, and the user experience is improved.
Referring to fig. 3, an embodiment of the present application discloses a management apparatus for configuration information, which is applied to any one baseboard management controller in a target computer room, and the apparatus includes:
the information updating module 11 is configured to update local configuration information and location information after being powered on, and establish communication connection with the other baseboard management controllers in the target computer room;
the matching module 12 is configured to obtain a configuration information query request through a preset information obtaining interface, and determine whether a target baseboard management controller matched with the configuration information query request exists in each baseboard management controller of the target machine room;
a location information obtaining module 13, configured to, if there is a target substrate management controller that matches the configuration information query request, obtain target location information corresponding to the target substrate management controller, and display the target location information on a preset interface.
It can be seen that the application discloses a management device of configuration information, which is applied to any one baseboard management controller in a target machine room, and comprises: after the power is on, updating local configuration information and position information, and establishing communication connection with other substrate management controllers in the target machine room; acquiring a configuration information query request through a preset information acquisition interface, and judging whether a target substrate management controller matched with the configuration information query request exists in each substrate management controller of the target machine room; and if the target substrate management controller matched with the configuration information query request exists, acquiring target position information corresponding to the target substrate management controller, and displaying the target position information on a preset interface. Therefore, after the power-on, the baseboard management controller can update the local configuration information and the local position information, the problem of inaccurate record caused by untimely update of the configuration information is avoided, and then the baseboard management controller establishes communication connection with the other baseboard management controllers in the target machine room so as to realize information sharing among all devices; the method comprises the steps that a configuration information query request can be obtained on any one device through a preset information obtaining interface, and then whether a target base plate management controller matched with the configuration information query request exists in each base plate management controller of a target machine room or not is judged; and if so, acquiring target position information corresponding to the target substrate management controller and displaying the target position information on a preset interface. Through the scheme, the sharing of the configuration information among the substrate management controllers is realized, and the rest configuration information can be inquired in any one substrate management controller, so that the inquiry of the configuration information is more convenient and the user experience is improved.
In some specific embodiments, the information updating module 11 may specifically include:
the first updating unit is used for updating local configuration information including the type of the central processing unit, the type of a memory, the configuration of the pcie card, the parameters of the hard disk and the IP address and updating local position information after the power is on.
In some specific embodiments, the apparatus for managing configuration information may further include:
the device comprises a position parameter acquisition unit, a position parameter acquisition unit and a position parameter updating unit, wherein the position parameter acquisition unit is used for acquiring a position parameter input in advance and storing the position parameter into a preset list or a preset dictionary so as to update local position information by using the position parameter.
In some specific embodiments, the apparatus for managing configuration information may further include:
and the second updating unit is used for updating the local configuration information and the position information at intervals of preset time so as to obtain the updated configuration information and the updated position information.
In some specific embodiments, the matching module 12 may specifically include:
the first judgment unit is used for judging whether the local configuration information is matched with the configuration information query request or not;
and a second determining unit, configured to send the configuration information query request to the other baseboard management controllers in the target computer room if the configuration information query request does not match the configuration information query request, so as to determine whether a target baseboard management controller matching the configuration information query request exists in the other baseboard management controllers.
In some specific embodiments, the process of the matching module 12 may further include:
the information matching unit is used for matching the configuration information query request with the configuration information of the other substrate management controllers so as to determine whether target configuration information which is successfully matched exists;
and the determining unit is used for determining the corresponding substrate management controller as the target substrate management controller matched with the configuration information query request if the target configuration information matched successfully exists.
In some specific embodiments, the apparatus for managing configuration information may further include:
and the information modification unit is used for acquiring an information modification request through the preset information acquisition interface and modifying the configuration information and the position information of each substrate management controller based on the information modification request.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The method specifically comprises the following steps: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. Wherein the memory 22 is adapted to store a computer program, which is loaded and executed by the processor 21, to implement the steps of:
after the power is on, updating local configuration information and position information, and establishing communication connection with other substrate management controllers in the target machine room;
acquiring a configuration information query request through a preset information acquisition interface, and judging whether a target substrate management controller matched with the configuration information query request exists in each substrate management controller of the target machine room;
and if the target substrate management controller matched with the configuration information query request exists, acquiring target position information corresponding to the target substrate management controller, and displaying the target position information on a preset interface.
In some embodiments, the processor, by executing the computer program stored in the memory, may specifically implement the following steps:
after the power is on, the local configuration information including the model of the central processing unit, the model of the internal memory, the configuration of the pcie card, the parameters of the hard disk and the IP address is updated, and the local position information is updated.
In some embodiments, the processor, by executing the computer program stored in the memory, may specifically implement the following steps:
the method comprises the steps of obtaining position parameters input in advance, and storing the position parameters into a preset list or a preset dictionary so as to update local position information by using the position parameters.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and updating the local configuration information and the position information at preset time intervals to obtain the updated configuration information and the updated position information.
In some embodiments, the processor, by executing the computer program stored in the memory, may specifically implement the following steps:
judging whether the local configuration information is matched with the configuration information query request;
and if not, sending the configuration information query request to other substrate management controllers in the target machine room so as to judge whether the target substrate management controllers matched with the configuration information query request exist in the other substrate management controllers.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
matching the configuration information query request with the configuration information of the other substrate management controllers to determine whether target configuration information matched successfully exists;
and if the target configuration information which is successfully matched exists, determining the corresponding substrate management controller as the target substrate management controller matched with the configuration information query request.
In some embodiments, the processor, by executing the computer program stored in the memory, may specifically implement the following steps:
and acquiring an information modification request through the preset information acquisition interface, and modifying the configuration information and the position information of each substrate management controller based on the information modification request.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 21 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in a wake-up state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an AI (Artificial Intelligence) processor for processing a calculation operation related to machine learning.
In addition, the storage 22 is used as a carrier for storing resources, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resources stored thereon include an operating system 221, a computer program 222, data 223, etc., and the storage may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device and the computer program 222 on the electronic device 20, so as to realize the operation and processing of the mass data 223 in the memory 22 by the processor 21, which may be Windows, unix, linux, and the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the management method of configuration information performed by the electronic device 20 disclosed in any of the foregoing embodiments. The data 223 may include data received by the electronic device and transmitted from an external device, data collected by the self input/output interface 25, and the like.
Further, an embodiment of the present application further discloses a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is loaded and executed by a processor, the method steps executed in the management process of the configuration information disclosed in any of the foregoing embodiments are implemented.
In the present specification, the embodiments are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same or similar parts between the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the elements and algorithm steps of the various embodiments described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various example components and steps have been described above generally in terms of their functionality in order to clearly illustrate their interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above detailed description is provided for a method, an apparatus, a device and a storage medium for managing configuration information, and a specific example is applied in this document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A management method of configuration information is characterized in that the method is applied to any baseboard management controller in a target computer room and comprises the following steps:
after the power is on, updating local configuration information and position information, and establishing communication connection with other substrate management controllers in the target machine room;
acquiring a configuration information query request through a preset information acquisition interface, and judging whether a target substrate management controller matched with the configuration information query request exists in each substrate management controller of the target machine room;
and if the target substrate management controller matched with the configuration information query request exists, acquiring target position information corresponding to the target substrate management controller, and displaying the target position information on a preset interface.
2. The method for managing configuration information according to claim 1, wherein the updating the local configuration information and the location information after the power-on comprises:
after the power is on, the local configuration information including the model of the central processing unit, the model of the internal memory, the configuration of the pcie card, the parameters of the hard disk and the IP address is updated, and the local position information is updated.
3. The method for managing configuration information according to claim 2, further comprising:
the method comprises the steps of obtaining position parameters input in advance, and storing the position parameters into a preset list or a preset dictionary so as to update local position information by using the position parameters.
4. The method for managing configuration information according to claim 1, further comprising:
and updating the local configuration information and the position information at preset time intervals to obtain the updated configuration information and the updated position information.
5. The method according to claim 1, wherein the determining whether there is a target bmc matching the configuration information query request in each bmc of the target equipment room includes:
judging whether the local configuration information is matched with the configuration information query request;
and if not, sending the configuration information query request to other substrate management controllers in the target machine room so as to judge whether the target substrate management controllers matched with the configuration information query request exist in the other substrate management controllers.
6. The method according to claim 1, wherein in the step of determining whether there is a target bmc matching the configuration information query request in the remaining bmcs, the method further comprises:
matching the configuration information query request with the configuration information of the other substrate management controllers to determine whether target configuration information which is successfully matched exists or not;
and if the target configuration information which is successfully matched exists, determining the corresponding substrate management controller as the target substrate management controller matched with the configuration information query request.
7. The method for managing configuration information according to any one of claims 1 to 6, further comprising:
and acquiring an information modification request through the preset information acquisition interface, and modifying the configuration information and the position information of each baseboard management controller based on the information modification request.
8. A management device of configuration information is characterized in that the management device is applied to any one baseboard management controller in a target computer room and comprises:
the information updating module is used for updating local configuration information and position information after being electrified and establishing communication connection with other substrate management controllers in the target machine room;
the matching module is used for acquiring a configuration information query request through a preset information acquisition interface and judging whether a target substrate management controller matched with the configuration information query request exists in each substrate management controller of the target machine room;
and the position information acquisition module is used for acquiring target position information corresponding to the target substrate management controller if the target substrate management controller matched with the configuration information query request exists, and displaying the target position information on a preset interface.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing said computer program to implement the steps of the method of managing configuration information according to any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program realizes the steps of the method for managing configuration information according to any one of claims 1 to 7 when executed by a processor.
CN202211190677.7A 2022-09-28 2022-09-28 Method, device, equipment and medium for managing configuration information Pending CN115686648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211190677.7A CN115686648A (en) 2022-09-28 2022-09-28 Method, device, equipment and medium for managing configuration information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211190677.7A CN115686648A (en) 2022-09-28 2022-09-28 Method, device, equipment and medium for managing configuration information

Publications (1)

Publication Number Publication Date
CN115686648A true CN115686648A (en) 2023-02-03

Family

ID=85064310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211190677.7A Pending CN115686648A (en) 2022-09-28 2022-09-28 Method, device, equipment and medium for managing configuration information

Country Status (1)

Country Link
CN (1) CN115686648A (en)

Similar Documents

Publication Publication Date Title
WO2019237586A1 (en) Method and apparatus for managing scheduled tasks, computer device and storage medium
US8375383B2 (en) Rolling upgrades in distributed applications
CN111181787B (en) BMC parameter configuration method, device, equipment and medium
CN103338243A (en) Method and system for updating cache data of Web node
CN107666493B (en) Database configuration method and equipment thereof
CN115168162B (en) Multi-gray-scale issuing method and device based on ingess controller in container environment and storage medium
CN116089090A (en) Virtual resource configuration method, device, equipment and medium of graphic display
CN105530323B (en) File upgrading method, related equipment and system
CN111367761B (en) Information management method, system and related components of universal server
KR20030013265A (en) Machine resource management system, method and program
CN116302136A (en) Firmware configuration method, device, equipment and readable storage medium
CN115686648A (en) Method, device, equipment and medium for managing configuration information
CN111092774A (en) Configuration method and equipment of acquisition gateway
CN114860325A (en) Network card adapting method, device, equipment and storage medium
CN114840263A (en) Network card management method, device, equipment and storage medium
CN112380411A (en) Sensitive word processing method and device, electronic equipment, system and storage medium
CN115174394B (en) Storage data acquisition method, device, equipment and medium
CN111314147A (en) Intelligent device configuration method, cloud platform and storage medium
CN115277408B (en) Agent configuration information updating method, device, equipment and storage medium
CN116436994B (en) Profinet protocol message transmission method, device, equipment and medium
CN116827770A (en) Intelligent acceleration equipment management method, device, equipment and medium
CN114661367B (en) Method, device, equipment and medium for installing operating system in IPv6 environment
CN114756252A (en) Method, device, equipment and medium for installing and configuring client outside big data cluster
CN117707993A (en) Memory resource access method, device, equipment and medium
KR20080027086A (en) System for site-mornitoring and method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination