CN117435417A - Device position determining method and device, electronic device and storage medium - Google Patents

Device position determining method and device, electronic device and storage medium Download PDF

Info

Publication number
CN117435417A
CN117435417A CN202311756604.4A CN202311756604A CN117435417A CN 117435417 A CN117435417 A CN 117435417A CN 202311756604 A CN202311756604 A CN 202311756604A CN 117435417 A CN117435417 A CN 117435417A
Authority
CN
China
Prior art keywords
information
equipment
target
expansion
board
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
CN202311756604.4A
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 Metabrain Intelligent Technology Co Ltd
Original Assignee
Suzhou Metabrain 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 Metabrain Intelligent Technology Co Ltd filed Critical Suzhou Metabrain Intelligent Technology Co Ltd
Priority to CN202311756604.4A priority Critical patent/CN117435417A/en
Publication of CN117435417A publication Critical patent/CN117435417A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2247Verification or detection of system hardware configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to the technical field of servers, and provides a device position determining method, a device, electronic equipment and a storage medium. The method comprises the following steps: and expanding the equipment objects and the equipment position information in the on-board equipment expansion information to realize that the expanded target on-board equipment expansion information contains the equipment position information of all the equipment in the target server. According to the device position determining method, the device, the electronic device and the storage medium, the device information of each device object in the device expansion information of the target board is expanded, so that the device position information of all devices in the target server is contained in the device expansion information after the device information expansion, the device position information of each device in the target server can be displayed quickly under the condition that a user executes an LSPCI instruction, and the positioning of the devices in the target server is realized conveniently and quickly.

Description

Device position determining method and device, electronic device and storage medium
Technical Field
The present invention relates to the field of server technologies, and in particular, to a device location determining method, a device, an electronic device, and a storage medium.
Background
The server can view various parameters in the server based on the system instruction. For example, based on the LSPCI command, device information in the server is viewed. The information collected by the LSPCI command mainly comes from the data of the configuration space registers of each PCIE device, and the information is parsed according to the definition of the PCIE specification and then presented.
The checking instruction in the existing server cannot directly check the actual position of the equipment in the case of the server, that is, the equipment cannot be positioned, so that the positioning of the equipment is difficult abnormally.
Disclosure of Invention
The invention provides a device position determining method, a device, electronic equipment and a storage medium, which are used for rapidly and simply realizing positioning of equipment in a server.
In a first aspect, the present invention provides a method for determining a device location, including:
acquiring equipment information of each equipment in a target server and equipment position information of each equipment;
expanding the equipment objects in the on-board equipment expansion information of the SMBIOS with the same system management specification based on the equipment information of each equipment to obtain target on-board equipment expansion information after the equipment objects are expanded;
And expanding the equipment information of each equipment object in the target on-board equipment expansion information based on the equipment position information of each equipment, writing the target on-board equipment expansion information after equipment information expansion into an address space of a function interface corresponding to the SMBIOS, calling the function interface corresponding to the SMBIOS under the condition that an LSPCI instruction of the equipment information is executed in the target server, and reading the equipment position information of each equipment from the target on-board equipment expansion information after equipment information expansion.
According to the method for determining the device position provided by the invention, after the target on-board device expansion information of the device object after expansion is obtained, the method further comprises the following steps:
correlating the device silk-screen information of each device object in the system slot information of the SMBIOS with the device information of the corresponding device object in the target on-board device expansion information to obtain correlated target on-board device expansion information;
writing the associated target on-board device expansion information into an address space of the function interface corresponding to the SMBIOS, calling the function interface corresponding to the SMBIOS under the condition that an LSPCI instruction is executed in the target server, reading device silk-screen information of each device from the associated target on-board device expansion information, and determining device position information of each device based on the device silk-screen information of each device.
The method for determining the equipment position provided by the invention further comprises the following steps:
scanning the equipment in the target server at intervals of a preset time period;
acquiring equipment changing information of changing equipment in the target server and changing equipment position information of the changing equipment under the condition that the equipment in the target server is changed;
changing the corresponding equipment object in the target on-board equipment expansion information based on the equipment changing information of the changing equipment to obtain changed target on-board equipment expansion information;
and changing the equipment information in the corresponding equipment object in the changed target on-board equipment expansion information based on the changed equipment position information of the changed equipment, and writing the changed target on-board equipment expansion information of the equipment information into an address space of the function interface corresponding to the SMBIOS, so that the function interface corresponding to the SMBIOS is called under the condition that an LSPCI instruction is executed in the target server, and the equipment position information of each equipment is read from the changed target on-board equipment expansion information of the equipment information.
According to the method for determining the device position provided by the invention, the device information of each device in the target server and the device position information of each device are obtained, and the method comprises the following steps:
Determining a plurality of topological configurations of the target server, determining each device in the target server from the topological configurations, and determining device information of each device and device position information of each device.
According to the device position determining method provided by the invention, the device position information comprises device silk-screen information and physical slot number information.
According to the method for determining the equipment position provided by the invention, equipment information of each equipment is determined, and the method comprises the following steps:
accessing the configuration space of each device, and acquiring the device information of each device from the corresponding register of the configuration space.
According to the method for determining the device position provided by the invention, the device position information of each device is obtained, and the method comprises the following steps:
and acquiring the equipment position information of each equipment based on a pre-constructed static information data table of each equipment, wherein the static information data table comprises equipment silk-screen information of the equipment and physical slot number information of the equipment.
According to the device position determining method provided by the invention, the determining process of the static information data table comprises the following steps:
acquiring equipment silk-screen information of each equipment in the target server and physical slot number information of each equipment;
Correlating the device silk-screen information of each device with the corresponding physical slot number information to obtain the device position information of each device;
and constructing the static information data table based on the equipment position information of each equipment.
According to the device position determining method provided by the invention, the physical slot number information of each device is acquired from the corresponding register of the configuration space based on accessing the configuration space of each device.
According to the device position determining method provided by the invention, based on the device position information of each device, the device information of each device object in the target on-board device expansion information is expanded, and the method comprises the following steps:
and splicing the equipment position information of each equipment into the equipment information of the corresponding equipment object in the target on-board equipment expansion information so as to expand the equipment information of each equipment object in the target on-board equipment expansion information.
According to the method for determining the device position provided by the invention, after the target on-board device expansion information of the device object after expansion is obtained, the method further comprises the following steps:
acquiring device silk-screen information of each device based on a function DSM in an advanced configuration and power management interface;
Correlating the device silk-screen information of each device with the device information of the corresponding device object in the target on-board device expansion information;
writing the associated target on-board equipment expansion information into an address space of the function interface corresponding to the SMBIOS, calling the function interface corresponding to the SMBIOS under the condition that an LSPCI instruction is executed in the target server, reading equipment silk-screen information of each equipment from the associated target on-board equipment expansion information, and determining equipment position information of each equipment based on the equipment silk-screen information of each equipment.
According to the device location determining method provided by the invention, based on the device information of each device, the device object in the on-board device extension information of the same system management standard SMBIOS is extended, comprising the following steps:
determining target equipment which does not exist in the on-board equipment extension information of the SMBIOS from the equipment based on the equipment information of the equipment;
and adding the equipment object corresponding to the target equipment into the on-board equipment expansion information so as to expand the equipment object in the on-board equipment expansion information of the SMBIOS.
In a second aspect, the present invention further provides a device location determining apparatus, including:
the information acquisition module is used for acquiring equipment information of each equipment in the target server and equipment position information of each equipment;
the device information expansion module is used for expanding the device objects in the on-board device expansion information of the SMBIOS with the same system management specification based on the device information of each device to obtain target on-board device expansion information after the device objects are expanded;
the location information expansion module is used for expanding the equipment information of each equipment object in the target on-board equipment expansion information based on the equipment location information of each equipment, writing the target on-board equipment expansion information after equipment information expansion into an address space of a function interface corresponding to the SMBIOS, and calling the function interface corresponding to the SMBIOS under the condition that a display equipment information LSPCI instruction is executed in the target server, and reading the equipment location information of each equipment from the target on-board equipment expansion information after equipment information expansion.
In a third aspect, the present invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing any of the above methods for determining the location of the device when executing the computer program.
In a fourth aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a device location determination method as any one of the above.
According to the device position determining method, device, system, electronic device and storage medium, the device objects in the on-board device expansion information of the SMBIOS are expanded, and the target on-board device expansion information after the device objects are expanded contains the device information of all devices in the target server. The device position information of each device object in the target on-board device expansion information is further expanded, the device position information of all devices in the target server is contained in the target on-board device expansion information after the device information expansion, so that the device position information of each device in the target server can be rapidly displayed under the condition that a user executes an LSPCI instruction, the device in the target server is conveniently and rapidly positioned, and the position determining efficiency of the device in the target server is improved.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for determining a device location according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a device location determination process according to the present invention;
FIG. 3 is a flowchart illustrating a method for determining a device location according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device position determining apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention provides a device position determining method, fig. 1 is a flow chart of the device position determining method provided by the embodiment of the invention, and referring to fig. 1, the device position determining method provided by the embodiment of the invention comprises the following steps:
Step 110, obtaining equipment information of each equipment in a target server and equipment position information of each equipment;
step 120, expanding the device object in the on-board device expansion information of the SMBIOS with the same system management specification based on the device information of each device to obtain target on-board device expansion information after the device object expansion;
and 130, expanding the equipment information of each equipment object in the target on-board equipment expansion information based on the equipment position information of each equipment, and writing the target on-board equipment expansion information after equipment information expansion into an address space of a function interface corresponding to the SMBIOS, so that the function interface corresponding to the SMBIOS is called under the condition that a display equipment information LSPCI instruction is executed in the target server, and the equipment position information of each equipment is read from the target on-board equipment expansion information after equipment information expansion.
The execution subject of the device location determination method provided by the invention can be an electronic device, a component in an electronic device, an integrated circuit, or a chip. The electronic device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet, notebook, palmtop, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS) or personal computer (personal computer, PC), etc., the invention is not particularly limited.
The following describes the technical scheme of the present invention in detail by taking a computer to execute the method for determining the device position provided by the present invention as an example.
In step 110, device information of each device in the target server and device position information of each device are acquired.
The target server is any server that needs to make a view of the device location. The target server includes a plurality of devices, such as a processor, a memory, a display card, a network interface card, and a power supply. The devices are located at different locations in the server chassis.
The device information of the target server is device information of a plurality of devices included in the target server, and may be processor information, memory information, network interface card information, display card information, power supply information, and the like.
The device location information of each device in the target server may be determined based on device silk-screen information or physical slot number information of the device. The device silk-screen information generally refers to related information marked on a circuit board, a component or a housing of the device in a silk-screen manner. The device silk-screen information typically marks basic information about the manufacturer, model number, serial number, date of manufacture, location of installation of the device, etc.
The physical slot number (Physical Slot Number) information refers to the number of a specific slot on the server backplane or motherboard for the device. Each slot typically corresponds to a particular device connection interface, such as a CPU slot, memory slot, expansion card slot, etc. The physical slot number serves to identify and locate the location of a particular device in the server. By checking or configuring the physical slot number, the slot position of the equipment in the server can be accurately determined, and maintenance personnel can conveniently install, replace or troubleshoot the equipment.
In step 120, based on the device information of each device, the device object in the on-board device extension information of the SMBIOS with the same system management specification is extended, so as to obtain target on-board device extension information after the device object is extended.
The system management identity specification (System Management BIOS, SMBIOS) is a standardized interface for providing hardware information to operating systems, management software, and system management tools in computer systems by motherboard manufacturers.
The SMBIOS specification defines how the operating system or system management software accesses and interprets information in the computer system, including processor type, memory configuration, motherboard characteristics, peripheral device information, and other system details. By providing this information, the SMBIOS enables the operating system and management software to obtain detailed information about the computer hardware, thereby better managing and monitoring the system.
The SMBIOS is typically in the form of a data structure that is implemented into a Memory Space (Memory Space). The operating system and management software can obtain detailed information about the system hardware by reading the data structures, thereby realizing management and monitoring of the system.
The SMBIOS specification defines a data structure of multiple types (types) to describe the various components and devices in the computer system, and the on-board device extension information (Onboard Devices Extended Information) is one Type of information in the SMBIOS, commonly referred to as Type41. The on-board device extension information defines device attribute information of each on-board device in the target server.
Specifically, the function definition table of type41 is shown in table 1.
Table 1 type41 function definition table
The device object in the on-board device extension information of the SMBIOS only contains the on-board device in the target server. The device information of each device is the device information of all devices in the target server.
And expanding the equipment objects in the on-board equipment expansion information of the SMBIOS based on the equipment information of all the equipment in the target server to obtain target on-board equipment expansion information after the equipment objects are expanded. The target on-board device extension information after the device object extension contains device objects corresponding to all devices in the target server.
In step 130, based on the device location information of each device, the device information of each device object in the target on-board device extension information is extended, and the target on-board device extension information after the device information is extended is written into the address space of the function interface corresponding to the SMBIOS, so that the function interface corresponding to the SMBIOS is called and the device location information of each device is read from the target on-board device extension information after the device information is extended under the condition that the display device information LSPCI instruction is executed in the target server.
After the device objects in the board-mounted device expansion information are expanded, the device information of each device object is further expanded. And adding the equipment position information of each equipment into the equipment information of the corresponding equipment object in the target onboard equipment expansion information so as to realize expansion of the equipment information of each equipment object in the target onboard equipment expansion information. And after expansion, obtaining target on-board equipment expansion information after equipment information expansion, and realizing expansion of the type41 function.
And after the information expansion is completed, writing the target on-board equipment expansion information after the equipment information expansion into an address space of a function interface corresponding to the SMBIOS to realize the effectiveness after the expansion of the type41 function.
In the case that the user needs to view the device location information of each device in the target server according to the query requirement. The user executes the LSPCI instruction in the target server, and the LSPCI instruction realizes the acquisition of the device information and the device position information in the type41 by calling the function interface corresponding to the SMBIOS, thereby realizing the rapid determination process of the device position information of each device.
Alternatively, the specific device location determining procedure may be shown in the schematic device location determining procedure provided in fig. 2.
And acquiring the equipment information of each equipment in the target server and the equipment position information of each equipment. And expanding the equipment objects in the on-board equipment expansion information of the SMBIOS to realize that the target on-board equipment expansion information after the equipment objects are expanded contains the equipment information of all the equipment in the target server. And further expanding the equipment position information of each equipment object in the target on-board equipment expansion information to realize that the equipment position information of all the equipment in the target server is contained in the target on-board equipment expansion information after the equipment information is expanded. The user opens the operating system, and executes the LSPCI instruction in the operating system to display the device position information of each device.
According to the equipment position determining method provided by the embodiment of the invention, the equipment objects in the on-board equipment expansion information of the SMBIOS are expanded, so that the target on-board equipment expansion information after the equipment objects are expanded contains the equipment information of all the equipment in the target server. The device information of each device object in the target on-board device expansion information is further expanded, the device position information of all devices in the target server is contained in the target on-board device expansion information after the device information expansion, so that the device position information of each device in the target server can be rapidly displayed under the condition that a user executes an LSPCI instruction, the device in the target server is conveniently and rapidly positioned, and the position determining efficiency of the device in the target server is improved.
In one embodiment, after obtaining the target on-board device extension information after the device object is extended, the method further includes: correlating the device silk-screen information of each device object in the system slot information of the SMBIOS with the device information of the corresponding device object in the target on-board device expansion information to obtain correlated target on-board device expansion information; writing the associated target on-board device expansion information into an address space of the function interface corresponding to the SMBIOS, calling the function interface corresponding to the SMBIOS under the condition that an LSPCI instruction is executed in the target server, reading device silk-screen information of each device from the associated target on-board device expansion information, and determining device position information of each device based on the device silk-screen information of each device.
The SMBIOS specification defines a data structure of various types (types) to describe the various components and devices in a computer System, and System slot information (systems Slots) is one Type of information in an SMBIOS, generally referred to as Type9.
Specifically, the function definition table of type9 is shown in table 2 type9 function definition table.
Table 2 type9 function definition table
The system slot information contains device silk-screen information of each device in the target server. And correlating the device silk-screen information of each device object in the system slot information of the SMBIOS with the device information of the corresponding device object in the target on-board device expansion information to obtain correlated target on-board device expansion information, and indirectly expanding the device information in the target on-board device expansion information.
And writing the associated target on-board equipment expansion information into an address space of a function interface corresponding to the SMBIOS to realize the effectiveness of expansion of the type41 function.
In the case that the user needs to view the device location information of each device in the target server according to the query requirement. The user executes the LSPCI instruction in the target server, and the LSPCI instruction is used for transferring the data of the Type9 to the Type41 function for use by calling the SMBIOS corresponding function interface, and the device silk-screen information of the device is screened out, so that the rapid determination process of the device position information of each device is further realized.
According to the device position determining method provided by the embodiment of the invention, the device silk-screen information of the device is screened out by transmitting the data of the Type9 to the Type41 function for use, so that the device position information of each device is rapidly determined.
In one embodiment, further comprising: scanning the equipment in the target server at intervals of a preset time period; acquiring equipment changing information of changing equipment in the target server and changing equipment position information of the changing equipment under the condition that the equipment in the target server is changed; changing the corresponding equipment object in the target on-board equipment expansion information based on the equipment changing information of the changing equipment to obtain changed target on-board equipment expansion information; and changing the equipment information in the corresponding equipment object in the changed target on-board equipment expansion information based on the changed equipment position information of the changed equipment, and writing the changed target on-board equipment expansion information of the equipment information into an address space of the function interface corresponding to the SMBIOS, so that the function interface corresponding to the SMBIOS is called under the condition that an LSPCI instruction is executed in the target server, and the equipment position information of each equipment is read from the changed target on-board equipment expansion information of the equipment information.
It will be appreciated that many devices in the target server are plugged into the target server. In the process of using the target server, there are cases where the devices in the target server are changed according to the use requirement. For example, expanding memory or graphics cards, plugging and unplugging USB connected devices, replacing disks, and the like.
Under the condition that the equipment in the equipment target server is changed, the equipment information and the equipment position information in the target server need to be correspondingly changed so as to realize the dynamic updating process of the equipment information display in the target server.
And changing the corresponding equipment object in the target on-board equipment expansion information based on the equipment changing information of the changing equipment to obtain changed target on-board equipment expansion information.
And changing the equipment information in the corresponding equipment object in the changed target on-board equipment expansion information based on the changed equipment position information of the changed equipment, and writing the changed target on-board equipment expansion information into an address space of the corresponding function interface of the SMBIOS.
In the case that the user needs to view the device location information of each device in the target server according to the query requirement. The user executes the LSPCI instruction in the target server, and the LSPCI instruction realizes the acquisition of the target on-board equipment extension information after the equipment information is changed by calling the function interface corresponding to the SMBIOS, thereby realizing the rapid determination process of the equipment position information of each equipment after the equipment information is changed.
According to the equipment position determining method provided by the embodiment of the invention, under the condition that equipment in the equipment target server is changed, the equipment information and the equipment position information in the target server are correspondingly changed, so that the dynamic updating process of the equipment information display in the target server is realized.
In one embodiment, acquiring device information of each device in a target server and device position information of each device includes: determining a plurality of topological configurations of the target server, determining each device in the target server from the topological configurations, and determining device information of each device and device position information of each device.
The topology configuration of the target server refers to the physical connection and layout among the server hardware components. It describes the manner in which components in a server (e.g., motherboard, processor, memory, storage devices, network adapters, etc.) are connected to each other and their location in the server chassis.
May be obtained by consulting a technical document, specification of the server or communicating with the server provider. The basic topological configuration of the server is determined, and the basic topological configuration comprises the number and the positions of a main board, a processor slot, a memory slot, an expansion slot and the like.
And determining the position of each device in the server case according to the topological configuration and the physical layout of the target server. This may be obtained by consulting a chassis layout of the server, a physical connection diagram, device silk-screening information of the device, a physical slot number of the device, or a specification.
The device position determining method provided by the embodiment of the invention realizes the determination of a plurality of devices in the target server and the determination of the device position information of each device by determining a plurality of topological configurations of the target server.
In one embodiment, the device location information includes device silk-screen information and physical slot number information.
The device information of each device in the target server may be device silk-screen information or physical slot number information of the device. The device silk-screen information generally refers to related information marked on a circuit board, a component or a housing of the device in a silk-screen manner. The device silk-screen information typically marks basic information about the manufacturer, model number, serial number, date of manufacture, location of installation of the device, etc.
The physical slot number (Physical Slot Number) information refers to the number of a specific slot on the server backplane or motherboard for the device. Each slot typically corresponds to a particular device connection interface, such as a CPU slot, memory slot, expansion card slot, etc. The physical slot number serves to identify and locate the location of a particular device in the server. By checking or configuring the physical slot number, the slot position of the equipment in the server can be accurately determined, and maintenance personnel can conveniently install, replace or troubleshoot the equipment.
In one embodiment, determining the device information of the devices includes: accessing the configuration space of each device, and acquiring the device information of each device from the corresponding register of the configuration space.
For example, for a processor, a "processor" category may be expanded in the device manager, right clicking on a certain processor, selecting an "attribute", switching to a "detailed information" tab in an attribute dialog, selecting a "registry attribute" drop-down box, and selecting a "register value", the values of the various configuration registers for that processor may be seen. For example, information such as the model number (VendorIdentifier), the core number (NumberOfCores), the frequency (. About.MHz), the L1/L2 cache size (L1 CacheSize, L2 CacheSize) and the like of the processor can be checked.
Alternatively, it may be accessed through IPMI commands. Through IPMI commands, a network-based interface may be used to remotely manage servers, including access to device configuration spaces and registers. IPMI provides a set of commands and functions that can query the device for sensor data, event logs, hardware information, etc. In general, an IPMI tool (e.g., IPMI tool) may be used to access a device configuration space through a command line or script manner and obtain detailed information of a device.
The equipment position determining method provided by the embodiment of the invention realizes the acquisition of the equipment information of each equipment by accessing the configuration space of each equipment.
In one embodiment, obtaining the device location information of each device includes: and acquiring the equipment position information of each equipment based on a pre-constructed static information data table of each equipment, wherein the static information data table comprises equipment silk-screen information of the equipment and physical slot number information of the equipment.
Based on the static information data table of each device, the device position information of each device is stored. The static information data table stores the device silk screen information of the device and the physical slot number information of the device.
In one embodiment, the determining of the static information data table includes: acquiring equipment silk-screen information of each equipment in the target server and physical slot number information of each equipment; correlating the device silk-screen information of each device with the corresponding physical slot number information to obtain the device position information of each device; and constructing the static information data table based on the equipment position information of each equipment.
The static information data table is a data table constructed in advance for storing device position information of each device in the target server.
And correlating the device silk-screen information and the physical slot number information according to the device silk-screen information and the physical slot number information. A data table may be created based on the database tool that contains columns of device silk-screening information, physical slot number information, and other related information. The device silk-screen information and the physical slot number information are filled in corresponding rows device by device to establish the association. The information obtained after the association is the equipment position information of the equipment.
After obtaining the device position information of each device, a static information data table is constructed based on the device position information of each device.
According to the device position determining method provided by the embodiment of the invention, the storage process of the device position information of each device in the target server is realized by constructing the static information data table for storing the device position information of each device in the target server in advance.
In one embodiment, the physical slot number information of each device is obtained from a corresponding register of a configuration space based on accessing the configuration space of each device.
The configuration space of the device is a memory area reserved for the device and used for storing configuration information and states of the device. This configuration space includes multiple types of registers. These registers store various configuration information and states of the device.
Alternatively, it may be accessed through IPMI commands. Through IPMI commands, a network-based interface may be used to remotely manage servers, including access to device configuration spaces and registers. IPMI provides a set of commands and functions that can query the device for sensor data, event logs, hardware information, etc. In general, an IPMI tool (e.g., IPMI tool) may be used to access a device configuration space through a command line or script manner and obtain detailed information of a device.
The device position determining method provided by the embodiment of the invention realizes the acquisition of the physical slot number information of each device by accessing the configuration space of each device.
In one embodiment, expanding the device information of each device object in the target on-board device expansion information based on the device location information of each device includes: and splicing the equipment position information of each equipment into the equipment information of the corresponding equipment object in the target on-board equipment expansion information so as to expand the equipment information of each equipment object in the target on-board equipment expansion information.
After the device position information of each device is acquired, the device position information of each device is spliced into the device information of the corresponding device object in the target on-board device expansion information. The splicing can be splicing to the front of the equipment information, or interleaving or the like.
According to the equipment position determining method provided by the embodiment of the invention, the equipment position information of each piece of equipment is spliced into the equipment information of the corresponding equipment object in the target on-board equipment expansion information, so that the expansion process of the equipment information of each piece of equipment object in the target on-board equipment expansion information is realized.
In one embodiment, after obtaining the target on-board device extension information after the device object is extended, the method further includes: acquiring device silk-screen information of each device based on a function DSM in an advanced configuration and power management interface; correlating the device silk-screen information of each device with the device information of the corresponding device object in the target on-board device expansion information; writing the associated target on-board device expansion information into an address space of the function interface corresponding to the SMBIOS, calling the function interface corresponding to the SMBIOS under the condition that an LSPCI instruction is executed in the target server, reading device silk-screen information of each device from the associated target on-board device expansion information, and determining device position information of each device based on the device silk-screen information of each device.
Advanced configuration and power management interface (Advanced Configuration and Power Management Interface, ACPI).
Device silk-screening information for each device may be obtained and transferred based on a function DSM in ASL language in ACPI.
ASL (ACPI Source Language) is a language defined in the ACPI specification for describing ACPI tables and ACPI BIOS code.
In the ASL language, DSM (Device Specific Method) is a special method for device-specific functional extensions. The DSM method allows device vendors to pass device-specific information, control commands, or other functions to the operating system through the ACPI interface. Implementation of the DSM method typically relies on ASL code provided by the device vendor so that these functions can be utilized by the operating system.
After the device silk-screen information of the devices is acquired, the device silk-screen information of each device is associated with the device information of the corresponding device object in the target on-board device expansion information; and writing the associated target on-board equipment expansion information into an address space of a function interface corresponding to the SMBIOS.
In the case that the user needs to view the device location information of each device in the target server according to the query requirement. The user executes the LSPCI instruction in the target server, and the LSPCI instruction realizes the acquisition of the device information in the type41 and the device silk-screen information by calling the SMBIOS corresponding function interface, so that the rapid determination process of the device position information of each device can be realized.
According to the device position determining method provided by the embodiment of the invention, the device silk-screen information of each device is obtained based on the function DSM in the ACPI, so that a foundation is provided for rapid determination of the subsequent device position information.
In one embodiment, expanding the device object in the on-board device expansion information of the system management same specification SMBIOS based on the device information of each device includes: determining target equipment which does not exist in the on-board equipment extension information of the SMBIOS from the equipment based on the equipment information of the equipment; and adding the equipment object corresponding to the target equipment into the on-board equipment expansion information so as to expand the equipment object in the on-board equipment expansion information of the SMBIOS.
After obtaining the device information of each device, it is necessary to expand the devices in the SMBIOS. First, it is necessary to determine target devices that do not exist in the on-board device extension information of the SMBIOS from the devices.
It will be appreciated that the on-board device extension information contains device objects for each on-board device. The target device is a device other than the on-board device in the target server.
And adding the device object of the target device into the on-board device expansion information to realize expansion of the device object in the on-board device expansion information, so that the on-board device expansion information contains the device objects of all devices in the target server.
According to the equipment position determining method provided by the embodiment of the invention, the target equipment which does not exist in the on-board equipment expansion information of the SMBIOS is determined from the equipment, and the equipment object of the target equipment is added into the on-board equipment expansion information, so that the expansion process of the equipment object in the on-board equipment expansion information is realized.
The following describes a technical solution provided by an embodiment of the present invention, taking a flowchart of a method for determining a device location provided by an embodiment of the present invention as an example fig. 3:
step 310, the function implementation scheme and result of the original on-board device extension information, i.e. Type41, in the original SMBIOS are reserved, so that the related information of the on-board device can be normally collected and reported to the SMBIOS function interface for interacting information with the operating system.
Step 320, based on step 310, the Type41 function is rewritten and extended, so that the function is further extended to all devices in the target server, that is, the device information defined in the Type41 of all devices is collected, and generated into individual Type41 functional entities, which are filled in the SMBIOS functional interface, and spliced at the back of the data implemented in step 310, where other splicing manners, such as putting in front, or interleaving, may be used according to the function needs.
In step 330, the LSPCI Function supporting module/driver under the linux operating system will read the Device silk-screen information of each Device from Type 41 and then implement it into the Device Name field of the LSPCI information of the Device, because the LSPCI Function will also collect Bus/Device/Function numbers of the devices, the set of data combinations of each Device is unique, and the set of data can be used to match each End Device, thereby obtaining the Device silk-screen information of each Device, so that the Function of displaying the Device silk-screen information in the Device's Device Name field in the LSPCI information is implemented.
And step 340, executing the LSPCI instruction in the operating system of the target server to acquire the device silk-screen information of each device.
In step 350, the Device Name implemented may be optional, may be all devices, or may be a certain type of Device or a combination of some types of devices, for example, one or more types of devices such as a hard disk, a network card, a Raid card, etc., and may be determined in combination with specific functional requirements.
Fig. 4 is a schematic structural diagram of a device position determining apparatus according to an embodiment of the present invention. Referring to fig. 4, an apparatus for determining a device position according to an embodiment of the present invention includes:
An information obtaining module 410, configured to obtain device information of each device in the target server and device location information of each device;
the device information expansion module 420 is configured to expand device objects in the on-board device expansion information of the SMBIOS with the same system management specification based on the device information of each device, so as to obtain target on-board device expansion information after the expansion of the device objects;
the location information expansion module 430 is configured to expand device information of each device object in the target on-board device expansion information based on the device location information of each device, and write the target on-board device expansion information after the device information expansion into an address space of the function interface corresponding to the SMBIOS, so that, when the instruction of displaying device information LSPCI is executed in the target server, the function interface corresponding to the SMBIOS is called, and the device location information of each device is read from the target on-board device expansion information after the device information expansion.
According to the device position determining device provided by the embodiment of the invention, the device objects in the on-board device expansion information of the SMBIOS are expanded, so that the target on-board device expansion information after the device objects are expanded contains the device information of all devices in the target server. The device position information of each device object in the target on-board device expansion information is further expanded, the device position information of all devices in the target server is contained in the target on-board device expansion information after the device information expansion, so that the device position information of each device in the target server can be rapidly displayed under the condition that a user executes an LSPCI instruction, the device in the target server is conveniently and rapidly positioned, and the position determining efficiency of the device in the target server is improved.
In one embodiment, the device information extension module 420 is specifically configured to:
after obtaining the target on-board device extension information after the device object extension, the method further comprises the following steps:
correlating the device silk-screen information of each device object in the system slot information of the SMBIOS with the device information of the corresponding device object in the target on-board device expansion information to obtain correlated target on-board device expansion information;
writing the associated target on-board device expansion information into an address space of the function interface corresponding to the SMBIOS, calling the function interface corresponding to the SMBIOS under the condition that an LSPCI instruction is executed in the target server, reading device silk-screen information of each device from the associated target on-board device expansion information, and determining device position information of each device based on the device silk-screen information of each device.
In one embodiment, the location information extension module 430 is specifically configured to:
scanning the equipment in the target server at intervals of a preset time period;
acquiring equipment changing information of changing equipment in the target server and changing equipment position information of the changing equipment under the condition that the equipment in the target server is changed;
Changing the corresponding equipment object in the target on-board equipment expansion information based on the equipment changing information of the changing equipment to obtain changed target on-board equipment expansion information;
and changing the equipment information in the corresponding equipment object in the changed target on-board equipment expansion information based on the changed equipment position information of the changed equipment, and writing the changed target on-board equipment expansion information of the equipment information into an address space of the function interface corresponding to the SMBIOS, so that the function interface corresponding to the SMBIOS is called under the condition that an LSPCI instruction is executed in the target server, and the equipment position information of each equipment is read from the changed target on-board equipment expansion information of the equipment information.
In one embodiment, the information acquisition module 410 is specifically configured to:
acquiring equipment information of each equipment and equipment position information of each equipment in a target server, wherein the equipment information comprises the following steps:
determining a plurality of topological configurations of the target server, determining each device in the target server from the topological configurations, and determining device information of each device and device position information of each device.
In one embodiment, the information acquisition module 410 is further specifically configured to:
the determining device location information includes device silk-screen information and physical slot number information.
In one embodiment, the information acquisition module 410 is further specifically configured to:
determining the equipment information of each equipment, including:
accessing the configuration space of each device, and acquiring the device information of each device from the corresponding register of the configuration space.
In one embodiment, the information acquisition module 410 is further specifically configured to:
acquiring the equipment position information of each equipment, including:
and acquiring the equipment position information of each equipment based on a pre-constructed static information data table of each equipment, wherein the static information data table comprises equipment silk-screen information of the equipment and physical slot number information of the equipment.
In one embodiment, the information acquisition module 410 is further specifically configured to:
the determining process of the static information data table comprises the following steps:
acquiring equipment silk-screen information of each equipment in the target server and physical slot number information of each equipment;
correlating the device silk-screen information of each device with the corresponding physical slot number information to obtain the device position information of each device;
And constructing the static information data table based on the equipment position information of each equipment.
In one embodiment, the information acquisition module 410 is further specifically configured to:
the physical slot number information of each device is acquired from a corresponding register of a configuration space based on accessing the configuration space of each device.
In one embodiment, the location information extension module 430 is further specifically configured to:
expanding the device information of each device object in the target on-board device expansion information based on the device position information of each device, including:
and splicing the equipment position information of each equipment into the equipment information of the corresponding equipment object in the target on-board equipment expansion information so as to expand the equipment information of each equipment object in the target on-board equipment expansion information.
In one embodiment, the location information extension module 430 is further specifically configured to:
after obtaining the target on-board device extension information after the device object extension, the method further comprises the following steps:
acquiring device silk-screen information of each device based on a function DSM in an advanced configuration and power management interface;
correlating the device silk-screen information of each device with the device information of the corresponding device object in the target on-board device expansion information;
Writing the associated target on-board equipment expansion information into an address space of the function interface corresponding to the SMBIOS, calling the function interface corresponding to the SMBIOS under the condition that an LSPCI instruction is executed in the target server, reading equipment silk-screen information of each equipment from the associated target on-board equipment expansion information, and determining equipment position information of each equipment based on the equipment silk-screen information of each equipment.
In one embodiment, the device information extension module 420 is further specifically configured to:
expanding the device object in the on-board device expansion information of the SMBIOS with the same system management specification based on the device information of each device, wherein the method comprises the following steps:
determining target equipment which does not exist in the on-board equipment extension information of the SMBIOS from the equipment based on the equipment information of the equipment;
and adding the equipment object corresponding to the target equipment into the on-board equipment expansion information so as to expand the equipment object in the on-board equipment expansion information of the SMBIOS.
The present invention also provides an electronic device, as shown in fig. 5, which may include: processor (processor) 510, communication interface (Communication Interface) 520, memory (memory) 530, and communication bus (bus) 540, wherein processor 510, communication interface 520, memory 530 complete communication with each other through communication bus 540. Processor 510 may invoke logic instructions in memory 530 to perform device location determination methods, including, for example:
Acquiring equipment information of each equipment in a target server and equipment position information of each equipment;
expanding the equipment objects in the on-board equipment expansion information of the SMBIOS with the same system management specification based on the equipment information of each equipment to obtain target on-board equipment expansion information after the equipment objects are expanded;
and expanding the equipment information of each equipment object in the target on-board equipment expansion information based on the equipment position information of each equipment, writing the target on-board equipment expansion information after equipment information expansion into an address space of a function interface corresponding to the SMBIOS, calling the function interface corresponding to the SMBIOS under the condition that an LSPCI instruction of the equipment information is executed in the target server, and reading the equipment position information of each equipment from the target on-board equipment expansion information after equipment information expansion.
Further, the logic instructions in the memory 530 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing the device location determination method provided by the above method embodiments, for example comprising:
acquiring equipment information of each equipment in a target server and equipment position information of each equipment;
expanding the equipment objects in the on-board equipment expansion information of the SMBIOS with the same system management specification based on the equipment information of each equipment to obtain target on-board equipment expansion information after the equipment objects are expanded;
and expanding the equipment information of each equipment object in the target on-board equipment expansion information based on the equipment position information of each equipment, writing the target on-board equipment expansion information after equipment information expansion into an address space of a function interface corresponding to the SMBIOS, calling the function interface corresponding to the SMBIOS under the condition that an LSPCI instruction of the equipment information is executed in the target server, and reading the equipment position information of each equipment from the target on-board equipment expansion information after equipment information expansion.
In yet another aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the device location determining method provided by the above method embodiments, for example, including:
acquiring equipment information of each equipment in a target server and equipment position information of each equipment;
expanding the equipment objects in the on-board equipment expansion information of the SMBIOS with the same system management specification based on the equipment information of each equipment to obtain target on-board equipment expansion information after the equipment objects are expanded;
and expanding the equipment information of each equipment object in the target on-board equipment expansion information based on the equipment position information of each equipment, writing the target on-board equipment expansion information after equipment information expansion into an address space of a function interface corresponding to the SMBIOS, calling the function interface corresponding to the SMBIOS under the condition that an LSPCI instruction of the equipment information is executed in the target server, and reading the equipment position information of each equipment from the target on-board equipment expansion information after equipment information expansion.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (15)

1. A method of device location determination, the method comprising:
acquiring equipment information of each equipment in a target server and equipment position information of each equipment;
expanding the equipment objects in the on-board equipment expansion information of the SMBIOS with the same system management specification based on the equipment information of each equipment to obtain target on-board equipment expansion information after the equipment objects are expanded;
and expanding the equipment information of each equipment object in the target on-board equipment expansion information based on the equipment position information of each equipment, writing the target on-board equipment expansion information after equipment information expansion into an address space of a function interface corresponding to the SMBIOS, calling the function interface corresponding to the SMBIOS under the condition that an LSPCI instruction of the equipment information is executed in the target server, and reading the equipment position information of each equipment from the target on-board equipment expansion information after equipment information expansion.
2. The method for determining a device location according to claim 1, further comprising, after obtaining the target on-board device extension information after the device object extension:
correlating the device silk-screen information of each device object in the system slot information of the SMBIOS with the device information of the corresponding device object in the target on-board device expansion information to obtain correlated target on-board device expansion information;
Writing the associated target on-board device expansion information into an address space of the function interface corresponding to the SMBIOS, calling the function interface corresponding to the SMBIOS under the condition that an LSPCI instruction is executed in the target server, reading device silk-screen information of each device from the associated target on-board device expansion information, and determining device position information of each device based on the device silk-screen information of each device.
3. The device location determination method of claim 1, further comprising:
scanning the equipment in the target server at intervals of a preset time period;
acquiring equipment changing information of changing equipment in the target server and changing equipment position information of the changing equipment under the condition that the equipment in the target server is changed;
changing the corresponding equipment object in the target on-board equipment expansion information based on the equipment changing information of the changing equipment to obtain changed target on-board equipment expansion information;
and changing the equipment information in the corresponding equipment object in the changed target on-board equipment expansion information based on the changed equipment position information of the changed equipment, and writing the changed target on-board equipment expansion information of the equipment information into an address space of the function interface corresponding to the SMBIOS, so that the function interface corresponding to the SMBIOS is called under the condition that an LSPCI instruction is executed in the target server, and the equipment position information of each equipment is read from the changed target on-board equipment expansion information of the equipment information.
4. The apparatus position determining method according to claim 1, wherein the acquiring the apparatus information of each apparatus in the target server and the apparatus position information of each apparatus includes:
determining a plurality of topological configurations of the target server, determining each device in the target server from the topological configurations, and determining device information of each device and device position information of each device.
5. The device location determination method of any of claims 1-4, wherein the device location information comprises device silk-screening information and physical slot number information.
6. The apparatus position determining method as claimed in claim 4, wherein said determining apparatus information of each apparatus comprises:
accessing the configuration space of each device, and acquiring the device information of each device from the corresponding register of the configuration space.
7. The apparatus position determining method according to claim 5, wherein acquiring the apparatus position information of each apparatus comprises:
and acquiring the equipment position information of each equipment based on a pre-constructed static information data table of each equipment, wherein the static information data table comprises equipment silk-screen information of the equipment and physical slot number information of the equipment.
8. The apparatus position determining method as claimed in claim 7, wherein the determining of the static information data table includes:
acquiring equipment silk-screen information of each equipment in the target server and physical slot number information of each equipment;
correlating the device silk-screen information of each device with the corresponding physical slot number information to obtain the device position information of each device;
and constructing the static information data table based on the equipment position information of each equipment.
9. The device location determination method of claim 8, wherein the physical slot number information for each device is obtained from a corresponding register in a configuration space based on accessing the configuration space for each device.
10. The device location determining method according to claim 1, wherein the expanding the device information of each device object in the target on-board device expansion information based on the device location information of each device includes:
and splicing the equipment position information of each equipment into the equipment information of the corresponding equipment object in the target on-board equipment expansion information so as to expand the equipment information of each equipment object in the target on-board equipment expansion information.
11. The method for determining a device location according to claim 1, further comprising, after obtaining the target on-board device extension information after the device object extension:
acquiring device silk-screen information of each device based on a function DSM in an advanced configuration and power management interface;
correlating the device silk-screen information of each device with the device information of the corresponding device object in the target on-board device expansion information;
writing the associated target on-board equipment expansion information into an address space of the function interface corresponding to the SMBIOS, calling the function interface corresponding to the SMBIOS under the condition that an LSPCI instruction is executed in the target server, reading equipment silk-screen information of each equipment from the associated target on-board equipment expansion information, and determining equipment position information of each equipment based on the equipment silk-screen information of each equipment.
12. The device location determining method according to claim 1, wherein expanding device objects in on-board device expansion information of a system management same specification SMBIOS based on device information of each device includes:
determining target equipment which does not exist in the on-board equipment extension information of the SMBIOS from the equipment based on the equipment information of the equipment;
And adding the equipment object corresponding to the target equipment into the on-board equipment expansion information so as to expand the equipment object in the on-board equipment expansion information of the SMBIOS.
13. A device location determining apparatus, comprising:
the information acquisition module is used for acquiring equipment information of each equipment in the target server and equipment position information of each equipment;
the device information expansion module is used for expanding the device objects in the on-board device expansion information of the SMBIOS with the same system management specification based on the device information of each device to obtain target on-board device expansion information after the device objects are expanded;
the location information expansion module is used for expanding the equipment information of each equipment object in the target on-board equipment expansion information based on the equipment location information of each equipment, writing the target on-board equipment expansion information after equipment information expansion into an address space of a function interface corresponding to the SMBIOS, and calling the function interface corresponding to the SMBIOS under the condition that a display equipment information LSPCI instruction is executed in the target server, and reading the equipment location information of each equipment from the target on-board equipment expansion information after equipment information expansion.
14. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the device location determination method according to any of claims 1 to 12 when executing the computer program.
15. A non-transitory computer readable storage medium, having stored thereon a computer program, which when executed by a processor implements the device location determination method according to any of claims 1 to 12.
CN202311756604.4A 2023-12-20 2023-12-20 Device position determining method and device, electronic device and storage medium Pending CN117435417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311756604.4A CN117435417A (en) 2023-12-20 2023-12-20 Device position determining method and device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311756604.4A CN117435417A (en) 2023-12-20 2023-12-20 Device position determining method and device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN117435417A true CN117435417A (en) 2024-01-23

Family

ID=89553861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311756604.4A Pending CN117435417A (en) 2023-12-20 2023-12-20 Device position determining method and device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN117435417A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116126613A (en) * 2023-01-12 2023-05-16 苏州浪潮智能科技有限公司 Position detection method and device of PCIe (peripheral component interconnect express) equipment, electronic equipment and storage medium
CN116737640A (en) * 2023-06-16 2023-09-12 浪潮(山东)计算机科技有限公司 Information acquisition method, device, equipment and storage medium
CN117194306A (en) * 2023-08-21 2023-12-08 苏州浪潮智能科技有限公司 Equipment information display method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116126613A (en) * 2023-01-12 2023-05-16 苏州浪潮智能科技有限公司 Position detection method and device of PCIe (peripheral component interconnect express) equipment, electronic equipment and storage medium
CN116737640A (en) * 2023-06-16 2023-09-12 浪潮(山东)计算机科技有限公司 Information acquisition method, device, equipment and storage medium
CN117194306A (en) * 2023-08-21 2023-12-08 苏州浪潮智能科技有限公司 Equipment information display method and system

Similar Documents

Publication Publication Date Title
CN109471770B (en) System management method and device
CN106557340B (en) Configuration method and device
CN102567171B (en) Method for testing blade server mainboard
CN111831345B (en) Management method and device of server hard disk backboard, storage medium and equipment
TW200525422A (en) Method of using feature flags to determine compatibility between bios revisions and installed hardware during flash update
CN102541711A (en) Method for testing X86 architecture server mainboards
CN107145455B (en) Method for updating SMBIOS static information of whole system
US8086834B2 (en) System and method for populating a dedicated system service repository for an information handling system
CN117194306A (en) Equipment information display method and system
CN117435417A (en) Device position determining method and device, electronic device and storage medium
CN115599618B (en) Register dynamic change-allocation verification method and device, storage medium and processor
CN116303200A (en) PCIE equipment positioning management method, system, terminal and storage medium
CN116112412A (en) Virtual network card binding redundancy function test method, system, device and medium
CN113867810B (en) Method, device, terminal and storage medium for checking server hard disk topology
CN114968386A (en) Equipment information management method, device and equipment of electronic equipment
CN109783031B (en) Method, device, terminal and storage medium for checking drive letter and slot number of RAID card
CN111881070A (en) Method, system, equipment and storage medium for managing external equipment of switch
CN113064617B (en) Method, system and storage medium for updating SMBIOS information
US20240143474A1 (en) System and method for dynamic sensors support in ipmi stack
CN115114212B (en) VPD (virtual private digital) refreshing method, device, equipment and medium
CN117785537A (en) Method and device for configuring silk-screen information of equipment, computer equipment and storage medium
CN114153388B (en) Hard disk system, hard disk configuration information refreshing method, device and medium
CN110555090B (en) Method, system, terminal and storage medium for automatically acquiring CPU BUS Number
CN115129568A (en) Server mainboard virtualization capability verification method, system, device and storage medium
CN117076227A (en) Simulation test system, method, device and medium for monitoring function of hard disk backboard

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