CN114139743A - A kind of server hardware information management method and device - Google Patents

A kind of server hardware information management method and device Download PDF

Info

Publication number
CN114139743A
CN114139743A CN202111434070.4A CN202111434070A CN114139743A CN 114139743 A CN114139743 A CN 114139743A CN 202111434070 A CN202111434070 A CN 202111434070A CN 114139743 A CN114139743 A CN 114139743A
Authority
CN
China
Prior art keywords
information
image
hardware information
hardware
silk
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.)
Granted
Application number
CN202111434070.4A
Other languages
Chinese (zh)
Other versions
CN114139743B (en
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 CN202111434070.4A priority Critical patent/CN114139743B/en
Publication of CN114139743A publication Critical patent/CN114139743A/en
Application granted granted Critical
Publication of CN114139743B publication Critical patent/CN114139743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Character Input (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a device for managing server hardware information; the method comprises the following steps: the method comprises the steps that wireless communication is carried out to obtain first hardware information managed by a BMC controller and a BIOS controller of a target server; acquiring a silk-screen image of hardware of a target server, and extracting second hardware information in the silk-screen image; and comparing the first hardware information with the second hardware information, executing corresponding operation according to the comparison result, and uploading the silk-screen image. The method or the device avoids the problem that errors are easy to occur due to undersize silk-screen characters of hardware equipment in the process of manually correcting the silk-screen information, and uploads the silk-screen image of the hardware to store basic data of the hardware information after the silk-screen information is corrected, so that the problems can be further determined by uploading the silk-screen image when the uploaded hardware information is inconsistent with the hardware information stored in the system.

Description

Server hardware information management method and device
Technical Field
The invention relates to the technical field of information acquisition and image processing, in particular to a server hardware information management device and method.
Background
In the field of servers, it is often necessary to perform a screen printing calibration on hardware information of a server, that is, to compare the hardware information of the server stored in the background with printing information (screen printing information) on actual hardware, for example, when performing compatibility or structural tests of components such as a CPU and a motherboard, or when repairing the server after sale and returning basic hardware configuration (including SN) and a problem list of the corresponding server to record, the screen printing calibration is indispensable. And the silk-screen proofreading determines the hardware information in the silk-screen, uploads the hardware information to the system and then compares the hardware information with the hardware information stored in the system.
At present, silk screen information uploading work is mostly finished manually, however, characters of silk screen information on hardware are mostly small, and silk screen information needing to be uploaded is more, so that the situation that the uploaded silk screen information is wrong due to errors is inevitable, and when errors occur in silk screen correction, more basic data are lacked to judge whether the problems are caused on stored hardware information or uploaded silk screen information.
Disclosure of Invention
In order to solve the above technical problem, in an aspect of the present invention, a server hardware information management method is provided, the method including: the method comprises the steps that wireless communication is carried out to obtain first hardware information managed by a BMC controller and a BIOS controller of a target server; acquiring a silk-screen image of the hardware of the target server, and extracting second hardware information in the silk-screen image; and comparing the first hardware information with the second hardware information, executing corresponding operation according to a comparison result, and uploading the silk-screen image.
In one or more embodiments, the performing the corresponding operation according to the comparison result and uploading the silk-screen image includes: and responding to the fact that the first hardware information is the same as the second hardware information, marking the silk-screen image with the first hardware information, and uploading the silk-screen image with the mark.
In one or more embodiments, the executing the corresponding operation according to the comparison result and uploading the silk-screen image includes, in response to that the first hardware information is different from the second hardware information, calling an information input module to obtain second input information, where the second input information is manually input hardware information; and marking the silk-screen image by the second input information, and uploading the silk-screen image with the mark.
In one or more embodiments, the server hardware information management method further includes: acquiring third input information, wherein the third input information comprises fault information of hardware; and marking the silk-screen image of the hardware by the third input information, and uploading the silk-screen image with the mark.
In one or more embodiments, the extracting second hardware information in the silk-screen image includes: acquiring a silk-screen image; carrying out gray level conversion on the silk-screen image to obtain a gray level image and obtain a gray level histogram; performing edge detection on the gray-scale image by using a roberts operator to determine an image adjustment range; carrying out image erosion and image expansion processing in the image adjustment range; carrying out equalization adjustment on the gray level image subjected to image corrosion and image expansion processing based on the gray level histogram; carrying out binarization on the gray level image after equalization adjustment, and carrying out median filtering processing; calling a preset script program, calculating the position of each character in the gray level image subjected to binarization and median filtering, and cutting one by one to obtain a gray level image only with a single character; and sequentially comparing the single character in each gray level image with the characters in a preset character template respectively, calculating errors, and identifying the character in the character template with the minimum single character error as the single character to obtain the second hardware information.
In a second aspect of the present invention, there is provided a server hardware information management apparatus including: the near field communication module is configured for wireless communication to acquire first hardware information managed by a BMC (baseboard management controller) and a BIOS (basic input output system) controller of a target server; the camera module is configured to acquire a silk-screen image of hardware of the target server; the processing module is configured to receive the silk-screen image from the camera module and extract second hardware information in the silk-screen image; and receiving the first hardware information from the near field communication module, comparing the first hardware information with the second hardware information, and executing corresponding operation according to the comparison result.
In one or more embodiments, the processing module is further configured to, in response to that the first hardware information is the same as the second hardware information, mark a silk-screen image corresponding to the second hardware information with the first hardware information, and upload the silk-screen image with the mark.
In one or more embodiments, the server hardware information management apparatus further includes an information input module and a display module, where the information input module is configured to edit the first input information to name the silk-screen image with the mark, and the display module is configured to display the silk-screen image with the mark.
In one or more embodiments, the processing module is further configured to, in response to the first hardware information being different from the second hardware information, invoke the information input module to obtain second input information, the second input information being manually input hardware information; and marking the silk-screen image corresponding to the second hardware information by using the second input information, and uploading the silk-screen image with the mark.
In one or more embodiments, the processing module is further configured to invoke the information input module to obtain third input information, where the third input information is fault information of the hardware; and marking the silk-screen image of the hardware by using third input information, and uploading the silk-screen image with the mark.
The beneficial effects of the invention include: on one hand, the stored hardware information is obtained from a BMC (baseboard management controller) or a BIOS (basic input/output system) controller of a target server in a wireless communication mode, on the other hand, a silk-screen image of corresponding hardware equipment in the server is obtained on site, the hardware information in the silk-screen image is extracted, the stored hardware information is compared with the hardware information in the silk-screen image obtained on site, corresponding operation is executed according to the comparison result, and the silk-screen image is uploaded for recording. By the hardware information management method provided by the embodiment, the problem that errors are easy to occur due to undersize silk-screen characters of hardware equipment in the process of manually correcting the silk-screen information is solved; and after the silk-screen information is corrected, uploading the silk-screen image of the hardware to store the basic data of the hardware information, and further determining the problem by uploading the silk-screen image when the uploaded hardware information is inconsistent with the hardware information stored in the system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for managing server hardware information according to the present invention;
FIG. 2 is a flowchart illustrating a process of extracting hardware information from a silk-screen image according to the present invention;
FIG. 3 is a schematic diagram of a server hardware information management apparatus according to the present invention;
fig. 4 is a schematic structural diagram of a readable storage medium according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
Fig. 1 is a flowchart illustrating a method for managing server hardware information according to the present invention. As shown in fig. 1, the workflow of the server hardware information management method of the present invention includes: step S1, acquiring first hardware information managed by a BMC controller and a BIOS controller of a target server through wireless communication; step S2, acquiring a silk-screen image of the hardware of the target server, and extracting second hardware information in the silk-screen image; and step S3, comparing the first hardware information with the second hardware information, executing corresponding operation according to the comparison result, and uploading the silk-screen image.
As in the foregoing embodiment, the server hardware information management method of the present invention, on one hand, acquires each stored hardware information from the BMC controller or the BIOS controller of the target server in a wireless communication manner, and on the other hand, acquires the silk-screen image of the corresponding hardware device in the server on site, extracts the hardware information in the silk-screen image, compares the stored hardware information with the hardware information in the silk-screen image acquired on site, further executes a corresponding operation according to the comparison result, and uploads the silk-screen image for filing. By the hardware information management method provided by the embodiment, the problem that errors are prone to occur due to undersize silk-screen characters of hardware equipment in the process of manually uploading the silk-screen information is solved, the silk-screen image of the hardware is uploaded to store basic data of the hardware information after the silk-screen information is corrected, and then when the uploaded hardware information is inconsistent with the hardware information stored in the system, the problem can be further determined through the uploaded silk-screen image.
In one embodiment, the corresponding operation is executed according to the comparison result, and the silk-screen image is uploaded, wherein the step of marking the silk-screen image with the first hardware information and uploading the silk-screen image with the mark is carried out in response to the first hardware information and the second hardware information being the same. In this embodiment, since the hardware information obtained based on the silk-screen image is the same as the hardware information stored in the system, only one of the two is needed to mark the silk-screen image for filing.
In one embodiment, in response to the first hardware information being different from the second hardware information, the information input module is invoked to obtain second input information, the second input information being manually input hardware information; and marking the silk-screen image by using the second input information, and uploading the silk-screen image with the mark. In this embodiment, when the hardware information obtained based on the silk-screen image does not match the hardware information stored in the system, the hardware information needs to be manually input, and the silk-screen image is marked and uploaded by the manually input hardware information.
In one embodiment, the server hardware information management method of the present invention further includes: acquiring third input information, wherein the third input information comprises fault information of hardware; and marking the silk-screen image of the hardware by using third input information, and uploading the silk-screen image with the mark. The method in this embodiment may be combined with any of the above embodiments, for example, the silk-screen image is marked and uploaded by the first hardware information and the third input information; or marking the silk-screen image by using the second input information and the third input information and uploading. According to the embodiment, the accuracy of silk-screen proofreading can be better ensured, and the hardware equipment with the fault can be searched by inquiring the uploaded silk-screen image after the corresponding hardware fault occurs, so that the hardware fault can be quickly eliminated.
In an optional embodiment, the manner of marking the silk-screen image in each of the above embodiments is to mark the corresponding information in the silk-screen image in a watermark manner; or marking by naming the silk-screen image.
In an embodiment, a method for extracting second hardware information in a silk-screen image is shown in fig. 2, and fig. 2 is a flowchart illustrating a process of extracting hardware information in a silk-screen image according to the present invention. As shown in fig. 2, the extraction process includes: acquiring a silk-screen image; carrying out gray level conversion on the silk-screen image to obtain a gray level image and obtain a gray level histogram; using a roberts operator to carry out edge detection on the gray level image so as to determine an image adjustment range; carrying out image erosion and image expansion processing within an image adjustment range; carrying out equalization adjustment on the gray level image subjected to image corrosion and image expansion processing based on the gray level histogram; carrying out binarization on the gray level image after equalization adjustment, and carrying out median filtering processing; calling a preset script program, calculating the position of each character in the gray level image subjected to binarization and median filtering, and cutting one by one to obtain a gray level image only with a single character; sequentially comparing the single characters in each gray level image with characters in a preset character template respectively, calculating errors, and identifying the character in the character template with the minimum error with the single character as the single character to obtain second hardware information; and displaying the extracted second hardware information, and transmitting the second hardware information back to the background detection terminal for recording. In this embodiment, edge detection of a grayscale image using a roberts operator can be performed by a MATLAB call to an edge function. And the image corrosion treatment is used for removing the unnecessary edge information and only keeping the outline of the characters on the silk screen. The image dilation process is used to smooth the image contours. The preset script program can be myjimsplit.m and getword.m scripts written in advance.
The server hardware information management aims to prevent server silk-screen information uploading errors caused by human factors and assist in quickly and accurately positioning the fault. On the basis of the methods provided by the embodiments, the invention also provides a server hardware information management device, which can scan the silk screen of all hardware devices on the server, simultaneously acquire the relevant information in the BMC and BIOS chip of the server under the coordination of the NFC (near field communication) function, compare the acquired silk screen information with the BIOS and BMC information stored in the device, display the detection result on a display screen, and simultaneously transmit the relevant information back to the research and development department of the headquarter for filing processing. The server hardware information management apparatus of the present invention will be described in more detail below:
in a second aspect of the present invention, a server hardware information management apparatus is presented. FIG. 3 is a schematic structural diagram of a server hardware information management apparatus according to the present invention. As shown in fig. 3, the server hardware information management apparatus according to the present invention includes: the near field communication module 1 is configured for wireless communication to acquire first hardware information managed by a BMC (baseboard management controller) and a BIOS (basic input output system) controller of a target server; the camera module 2 is configured to acquire a silk-screen image of hardware of a target server; the processing module 3 is configured to receive the silk-screen image from the camera module and extract second hardware information in the silk-screen image; and receiving the first hardware information from the near field communication module, comparing the first hardware information with the second hardware information, and executing corresponding operation according to the comparison result. The NFC module may be the above-mentioned NFC module, or may also be a near field wireless communication module such as bluetooth.
In one embodiment, the processing module 3 is further configured to mark, in response to that the first hardware information is the same as the second hardware information, a silk-screen image corresponding to the second hardware information with the first hardware information, and upload the silk-screen image with the mark. In this embodiment, since the hardware information obtained based on the silk-screen image is the same as the hardware information stored in the system, only one of the two is needed to mark the silk-screen image for filing.
In an embodiment, the server hardware information management apparatus of the present invention further includes an information input module 3 and a display module 4, where the information input module 3 is configured to edit the first input information to name the silk-screen image with the mark, and the display module 4 is configured to display the silk-screen image with the mark. In this embodiment, when the hardware information obtained based on the silk-screen image does not match the hardware information stored in the system, the hardware information needs to be manually input, and the silk-screen image is marked and uploaded by the manually input hardware information.
In one embodiment, the processing module 3 is further configured to invoke the information input module to obtain third input information, where the third input information is fault information of the hardware; and marking the silk-screen image of the hardware by using third input information, and uploading the silk-screen image with the mark. The method in this embodiment may be combined with any of the above embodiments, for example, the silk-screen image is marked and uploaded by the first hardware information and the third input information; or marking the silk-screen image by using the second input information and the third input information and uploading. According to the embodiment, the accuracy of silk-screen proofreading can be better ensured, and the hardware equipment with the fault can be searched by inquiring the uploaded silk-screen image after the corresponding hardware fault occurs, so that the hardware fault can be quickly eliminated.
In an optional embodiment, the manner of marking the silk-screen image in each of the above embodiments is to mark the corresponding information in the silk-screen image in a watermark manner; or marking by naming the silk-screen image.
In one embodiment, an image recognition program is also preset in the processing module, and the image recognition program can recognize character information in the image; carrying out gray level conversion on the silk-screen image to obtain a gray level image and obtain a gray level histogram; using a roberts operator to carry out edge detection on the gray level image so as to determine an image adjustment range; carrying out image erosion and image expansion processing within an image adjustment range; carrying out equalization adjustment on the gray level image subjected to image corrosion and image expansion processing based on the gray level histogram; carrying out binarization on the gray level image after equalization adjustment, and carrying out median filtering processing; calling a preset script program, calculating the position of each character in the gray level image subjected to binarization and median filtering, and cutting one by one to obtain a gray level image only with a single character; sequentially comparing the single characters in each gray level image with characters in a preset character template respectively, calculating errors, and identifying the character in the character template with the minimum error with the single character as the single character to obtain second hardware information; and displaying the extracted second hardware information, and transmitting the second hardware information back to the background detection terminal for recording. In this embodiment, edge detection of a grayscale image using a roberts operator can be performed by a MATLAB call to an edge function. And the image corrosion treatment is used for removing the unnecessary edge information and only keeping the outline of the characters on the silk screen. The image dilation process is used to smooth the image contours. The preset script program can be myjimsplit.m and getword.m scripts written in advance.
As described in the foregoing embodiment, the server hardware information management apparatus of the present invention obtains each stored hardware information from the BMC controller or the BIOS controller of the target server in a wireless communication manner through the near field communication module, obtains the silk-screen image of the corresponding hardware device in the server on site through the camera, extracts the hardware information in the silk-screen image through the processing module, compares the stored hardware information with the hardware information in the silk-screen image obtained on site, performs a corresponding operation according to the comparison result, and uploads the silk-screen image for filing. By the hardware information management method provided by the embodiment, the problem that errors are easy to occur due to undersize silk-screen characters of hardware equipment in the process of manually correcting the silk-screen information is solved; and after the silk-screen information is corrected, uploading the silk-screen image of the hardware to store the basic data of the hardware information, and further determining the problem by uploading the silk-screen image when the uploaded hardware information is inconsistent with the hardware information stored in the system.
For the purpose of the application of the method of the invention in a third aspect of the invention, a readable storage medium is also disclosed. Fig. 4 is a schematic structural diagram of a readable storage medium according to the present invention. As shown in fig. 4, the readable storage medium 400 of the present invention comprises an executable computer program 401, the computer program 401 being configured to implement the steps of the method in the following embodiments when executed, the steps comprising:
step S1, acquiring first hardware information managed by a BMC controller and a BIOS controller of a target server through wireless communication; step S2, acquiring a silk-screen image of the hardware of the target server, and extracting second hardware information in the silk-screen image; and step S3, comparing the first hardware information with the second hardware information, executing corresponding operation according to the comparison result, and uploading the silk-screen image.
As in the foregoing embodiment, the server hardware information management method of the present invention, on one hand, acquires each stored hardware information from the BMC controller or the BIOS controller of the target server in a wireless communication manner, and on the other hand, acquires the silk-screen image of the corresponding hardware device in the server on site, extracts the hardware information in the silk-screen image, compares the stored hardware information with the hardware information in the silk-screen image acquired on site, further executes a corresponding operation according to the comparison result, and uploads the silk-screen image for filing. By the hardware information management method provided by the embodiment, the problem that errors are prone to occur due to undersize silk-screen characters of hardware equipment in the process of manually uploading the silk-screen information is solved, the silk-screen image of the hardware is uploaded to store basic data of the hardware information after the silk-screen information is corrected, and then when the uploaded hardware information is inconsistent with the hardware information stored in the system, the problem can be further determined through the uploaded silk-screen image.
In one embodiment, the corresponding operation is executed according to the comparison result, and the silk-screen image is uploaded, wherein the step of marking the silk-screen image with the first hardware information and uploading the silk-screen image with the mark is carried out in response to the first hardware information and the second hardware information being the same. In this embodiment, since the hardware information obtained based on the silk-screen image is the same as the hardware information stored in the system, only one of the two is needed to mark the silk-screen image for filing.
In one embodiment, in response to the first hardware information being different from the second hardware information, the information input module is invoked to obtain second input information, the second input information being manually input hardware information; and marking the silk-screen image by using the second input information, and uploading the silk-screen image with the mark. In this embodiment, when the hardware information obtained based on the silk-screen image does not match the hardware information stored in the system, the hardware information needs to be manually input, and the silk-screen image is marked and uploaded by the manually input hardware information.
In one embodiment, the server hardware information management method of the present invention further includes: acquiring third input information, wherein the third input information comprises fault information of hardware; and marking the silk-screen image of the hardware by using third input information, and uploading the silk-screen image with the mark. The method in this embodiment may be combined with any of the above embodiments, for example, the silk-screen image is marked and uploaded by the first hardware information and the third input information; or marking the silk-screen image by using the second input information and the third input information and uploading. According to the embodiment, the accuracy of silk-screen proofreading can be better ensured, and the hardware equipment with the fault can be searched by inquiring the uploaded silk-screen image after the corresponding hardware fault occurs, so that the hardware fault can be quickly eliminated.
In an optional embodiment, the manner of marking the silk-screen image in each of the above embodiments is to mark the corresponding information in the silk-screen image in a watermark manner; or marking by naming the silk-screen image.
As in the foregoing embodiment, the server hardware information management method of the present invention, on one hand, acquires each stored hardware information from the BMC controller or the BIOS controller of the target server in a wireless communication manner, and on the other hand, acquires the silk-screen image of the corresponding hardware device in the server on site, extracts the hardware information in the silk-screen image, compares the stored hardware information with the hardware information in the silk-screen image acquired on site, further executes a corresponding operation according to the comparison result, and uploads the silk-screen image for filing. By the hardware information management method provided by the embodiment, the problem that errors are prone to occur due to undersize silk-screen characters of hardware equipment in the process of manually uploading the silk-screen information is solved, the silk-screen image of the hardware is uploaded to store basic data of the hardware information after the silk-screen information is corrected, and then when the uploaded hardware information is inconsistent with the hardware information stored in the system, the problem can be further determined through the uploaded silk-screen image.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1.一种服务器硬件信息管理方法,其特征在于,所述方法包括:1. a server hardware information management method, is characterized in that, described method comprises: 无线通信获取由目标服务器的BMC控制器和BIOS控制器管理的第一硬件信息;The wireless communication obtains the first hardware information managed by the BMC controller and the BIOS controller of the target server; 获取所述目标服务器的硬件的丝印图像,并提取所述丝印图像中的第二硬件信息;acquiring a silkscreen image of the hardware of the target server, and extracting second hardware information in the silkscreen image; 将所述第一硬件信息与所述第二硬件信息进行比较,根据比较结果执行相应操作,并上传所述丝印图像。The first hardware information is compared with the second hardware information, corresponding operations are performed according to the comparison result, and the silk screen image is uploaded. 2.如权利要求1所述的服务器硬件信息管理方法,其特征在于,所述根据比较结果执行相应操作,并上传所述丝印图像,包括:2. The server hardware information management method according to claim 1, wherein the performing a corresponding operation according to the comparison result and uploading the silk screen image, comprising: 响应于所述第一硬件信息与所述第二硬件信息相同,以所述第一硬件信息标记所述丝印图像,并上传带有标记的丝印图像。In response to the first hardware information being the same as the second hardware information, the silkscreen image is marked with the first hardware information, and the marked silkscreen image is uploaded. 3.如权利要求1所述的服务器硬件信息管理方法,其特征在于,所述根据比较结果执行相应操作,并上传所述丝印图像,包括3. The server hardware information management method according to claim 1, wherein the performing a corresponding operation according to the comparison result and uploading the silk screen image, comprising: 响应于所述第一硬件信息与所述第二硬件信息不同,调用信息输入模块以获得第二输入信息,所述第二输入信息为手动输入的硬件信息;In response to the first hardware information being different from the second hardware information, calling an information input module to obtain second input information, where the second input information is manually input hardware information; 以所述第二输入信息标记所述丝印图像,并上传带有标记的丝印图像。Mark the silkscreen image with the second input information, and upload the marked silkscreen image. 4.如权利要求2或3所述的服务器硬件信息管理方法,其特征在于,所述方法还包括:4. The server hardware information management method according to claim 2 or 3, wherein the method further comprises: 获取第三输入信息,所述第三输入信息包括硬件的故障信息;obtaining third input information, where the third input information includes hardware failure information; 以所述第三输入信息标记所述硬件的丝印图像,并上传带有标记的丝印图像。A silkscreen image of the hardware is marked with the third input information, and the marked silkscreen image is uploaded. 5.如权利要求1所述的服务器硬件信息校验方法,其特征在于,所述提取所述丝印图像中的第二硬件信息,包括:5. The method for verifying server hardware information according to claim 1, wherein the extracting the second hardware information in the silk screen image comprises: 获取丝印图像;Get the silkscreen image; 将所述丝印图像进行灰度转换获得灰度图像,并获得灰度直方图;Performing grayscale conversion on the screen printing image to obtain a grayscale image, and obtaining a grayscale histogram; 使用roberts算子对所述灰度图像进行边缘检测以确定图像调整范围;Using the roberts operator to perform edge detection on the grayscale image to determine the image adjustment range; 在所述图像调整范围内进行图像腐蚀以及图像膨胀处理;Perform image erosion and image expansion processing within the image adjustment range; 基于所述灰度直方图对经过图像腐蚀以及图像膨胀处理的所述灰度图像进行均衡化调整;performing equalization adjustment on the grayscale image processed by image erosion and image expansion based on the grayscale histogram; 将均衡化调整后的灰度图像二值化,并进行中值滤波处理;Binarize the grayscale image after equalization adjustment, and perform median filter processing; 调用预设的脚本程序,计算经过二值化及中值滤波处理的灰度图像中的每个字符的位置,并逐一进行切割,获得只存在单一字符的灰度图像;Call the preset script program, calculate the position of each character in the grayscale image processed by binarization and median filtering, and cut them one by one to obtain a grayscale image with only a single character; 依次将各个所述灰度图像中的单一字符分别与预设的字符模板中的字符进行比对并计算误差,并将与所述单一字符误差最小的字符模板中的字符识别为所述单一字符以获得所述第二硬件信息。Sequentially compare the single characters in each of the grayscale images with the characters in the preset character template and calculate the error, and identify the character in the character template with the smallest error from the single character as the single character to obtain the second hardware information. 6.一种服务器硬件信息管理装置,其特征在于,包括:6. A server hardware information management device, characterized in that, comprising: 近场通信模块,配置用于无线通信获取由目标服务器的BMC控制器和BIOS控制器管理的第一硬件信息;a near field communication module, configured for wireless communication to obtain first hardware information managed by the BMC controller and the BIOS controller of the target server; 摄像模块,配置用于获取所述目标服务器的硬件的丝印图像;以及a camera module configured to obtain a silkscreen image of the hardware of the target server; and 处理模块,配置用于接收来自所述摄像模块的丝印图像,并提取所述丝印图像中的第二硬件信息;以及a processing module configured to receive a silkscreen image from the camera module and extract second hardware information in the silkscreen image; and 接收来自所述近场通信模块的第一硬件信息,并将所述第一硬件信息与所述第二硬件信息进行比较,并根据比较结果执行相应操作。Receive first hardware information from the near field communication module, compare the first hardware information with the second hardware information, and perform corresponding operations according to the comparison result. 7.如权利要求6所述的服务器硬件信息管理装置,其特征在于,所述处理模块还配置用于7. The server hardware information management device according to claim 6, wherein the processing module is further configured to 响应于所述第一硬件信息与所述第二硬件信息相同,以所述第一硬件信息标记所述第二硬件信息对应的丝印图像,并上传带有标记的丝印图像。In response to the first hardware information being the same as the second hardware information, marking the silkscreen image corresponding to the second hardware information with the first hardware information, and uploading the marked silkscreen image. 8.如权利要求7所述的服务器硬件信息管理装置,其特征在于,还包括信息输入模块与显示模块,所述信息输入模块配置用于编辑第一输入信息以命名所述带有标记的丝印图像,所述显示模块配置用于显示所述带有标记的丝印图像。8. The server hardware information management device according to claim 7, further comprising an information input module and a display module, wherein the information input module is configured to edit the first input information to name the marked silk screen image, and the display module is configured to display the marked silk-screen image. 9.如权利要求8所述的服务器硬件信息管理装置,其特征在于,所述处理模块还配置用于9. The server hardware information management device according to claim 8, wherein the processing module is further configured to 响应于所述第一硬件信息与所述第二硬件信息不同,调用所述信息输入模块以获得第二输入信息,所述第二输入信息为手动输入的硬件信息;In response to the difference between the first hardware information and the second hardware information, invoking the information input module to obtain second input information, where the second input information is manually input hardware information; 以所述第二输入信息标记所述第二硬件信息对应的丝印图像,并上传带有标记的丝印图像。Mark the silkscreen image corresponding to the second hardware information with the second input information, and upload the marked silkscreen image. 10.如权利要求8所述的服务器硬件信息管理装置,其特征在于,所述处理模块还配置用于10. The server hardware information management apparatus according to claim 8, wherein the processing module is further configured to 调用信息输入模块以获得第三输入信息,所述第三输入信息为硬件的故障信息;calling the information input module to obtain third input information, where the third input information is hardware fault information; 以所述第三输入信息标记所述硬件的丝印图像,并上传带有标记的丝印图像。A silkscreen image of the hardware is marked with the third input information, and the marked silkscreen image is uploaded.
CN202111434070.4A 2021-11-29 2021-11-29 Method and device for managing server hardware information Active CN114139743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111434070.4A CN114139743B (en) 2021-11-29 2021-11-29 Method and device for managing server hardware information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111434070.4A CN114139743B (en) 2021-11-29 2021-11-29 Method and device for managing server hardware information

Publications (2)

Publication Number Publication Date
CN114139743A true CN114139743A (en) 2022-03-04
CN114139743B CN114139743B (en) 2024-01-23

Family

ID=80388929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111434070.4A Active CN114139743B (en) 2021-11-29 2021-11-29 Method and device for managing server hardware information

Country Status (1)

Country Link
CN (1) CN114139743B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086155A (en) * 2018-07-27 2018-12-25 郑州云海信息技术有限公司 Server failure localization method, device, equipment and computer readable storage medium
CN111367764A (en) * 2020-03-06 2020-07-03 苏州浪潮智能科技有限公司 A PCIE monitoring method, system, device and computer storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086155A (en) * 2018-07-27 2018-12-25 郑州云海信息技术有限公司 Server failure localization method, device, equipment and computer readable storage medium
CN111367764A (en) * 2020-03-06 2020-07-03 苏州浪潮智能科技有限公司 A PCIE monitoring method, system, device and computer storage medium

Also Published As

Publication number Publication date
CN114139743B (en) 2024-01-23

Similar Documents

Publication Publication Date Title
US11004234B2 (en) Method and apparatus for annotating point cloud data
CN108304243B (en) Interface generation method and device, computer equipment and storage medium
US11657644B2 (en) Automatic ruler detection
CN110134595B (en) Analysis method, analysis device and computer equipment before SVN (scalable vector network) resource library test
CN112214414B (en) Coverage rate processing method, device, equipment and medium based on automatic test
CN114049540B (en) Method, device, equipment and medium for detecting annotation image based on artificial intelligence
CN111178147A (en) Screen crushing and grading method, device, equipment and computer readable storage medium
WO2021159736A1 (en) Application compatibility test method and apparatus, and computer device
CN112363937A (en) Method and device for testing differential coverage rate, computer equipment and storage medium
JP7666266B2 (en) Machine learning system, learning data collection method, and learning data collection program
CN113220488B (en) Recording list pasting method and device based on mobile terminal
CN114139743A (en) A kind of server hardware information management method and device
CN114510536A (en) Data verification method, device, computer equipment and storage medium
CN115457585A (en) Processing method and device for homework correction, computer equipment and readable storage medium
CN117152145B (en) Board card process detection method and device based on image
CN111178347B (en) Ambiguity detection method, ambiguity detection device, ambiguity detection equipment and ambiguity detection storage medium for certificate image
CN117252844A (en) Electronic element detection method, device, equipment and storage medium
CN118865403A (en) Water level identification method, device, computer equipment and storage medium
US20240202972A1 (en) Apparatus and method for determining rotation angle of object, and computer-readable storage medium storing instructions to perform method for determining rotation angle of object
CN112364121B (en) Automatic questionnaire PDF creation method and device, storage medium and computer equipment
CN114092690B (en) Object edge recognition and processing method, system and computer readable storage medium
US11150849B2 (en) Device and method for checking the printing of an article
CN109446100B (en) Method and apparatus for managing script files of devices
CN107085553B (en) A kind of input box testing method and device
CN114937272B (en) Recognition result detection method, device, equipment and medium based on text recognition

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
GR01 Patent grant
GR01 Patent grant