CN107943698A - A kind of DMI information and FRU synchronizing informations automated testing method and system - Google Patents

A kind of DMI information and FRU synchronizing informations automated testing method and system Download PDF

Info

Publication number
CN107943698A
CN107943698A CN201711183399.1A CN201711183399A CN107943698A CN 107943698 A CN107943698 A CN 107943698A CN 201711183399 A CN201711183399 A CN 201711183399A CN 107943698 A CN107943698 A CN 107943698A
Authority
CN
China
Prior art keywords
information
fru
data
dmi
groups
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
CN201711183399.1A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201711183399.1A priority Critical patent/CN107943698A/en
Publication of CN107943698A publication Critical patent/CN107943698A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A kind of DMI information and FRU synchronizing information automated testing methods, specifically include following steps:The data for needing to contrast in DMI information and FRU information are exported respectively;Contrast two groups of data of output;Comparing result is exported and is preserved to log.Further include a kind of DMI information and FRU synchronizing information automatization test systems.Test accurate and effective of the technical solution for DMI and FRU synchronizing informations.More have easy to operate, it is easy to accomplish, readable strong, the advantages that scalability is strong.Test result is exported and is preserved to log, is conducive to the maintenance and upgrade in later stage.

Description

A kind of DMI information and FRU synchronizing informations automated testing method and system
Technical field
The present invention relates to synchronism detection technical field, specifically a kind of DMI information is surveyed with the automation of FRU synchronizing informations Method for testing and system.
Background technology
For server test personnel, DMI information and FRU information are two critically important test contents.Wherein, The synchronism detection of DMI information and FRU information, is the project of the necessary test comparisons of every edition BIOS.But test will be defeated manually every time Enter substantial amounts of test command, then export DMI information and FRU information respectively, then contrasted.Each edition BIOS test will weigh The same order of complex phase, task is cumbersome, and test is dry as dust.
The content of the invention
It is an object of the invention to provide a kind of DMI information and FRU synchronizing informations automated testing method and system, it is used for Solve the problems, such as that current synchronism detection task is cumbersome, waste of manpower.
The technical scheme adopted by the invention to solve the technical problem is that:
A kind of DMI information and FRU synchronizing information automated testing methods, specifically include following steps:
The data for needing to contrast in DMI information and FRU information are exported respectively;
Contrast two groups of data of output;
Comparing result is exported and is preserved to log.
Further, the DMI information and FRU information are the DMI information and FRU information in bios version.
Further, the data for needing to contrast in DMI information and FRU information include manufacture, product Name, System version information.
Further, the method for two groups of data of the contrast output includes:Judge whether two groups of data are consistent;If one Cause, then show DMI information and FRU synchronizing informations, if it is inconsistent, showing that DMI information and FRU information are asynchronous.
A kind of DMI information and FRU synchronizing information automatization test systems, utilize the method, including information output mould Block, for exporting the data for needing to contrast in DMI information and FRU information;With,
Comparing module, for two groups of data of output to be compared, and judges whether consistent;With,
Log files, for preserving comparing result.
Further, the data for needing to contrast include manufacture, product name, System Version information.
Further, the comparing result includes two groups of data unanimously and two groups of data are inconsistent;Two groups of data are consistent Represent that DMI information and FRU synchronizing informations, the inconsistent expression DMI information of two groups of data and FRU information are asynchronous.
What the above content of the invention provided is only the statement of the embodiment of the present invention, rather than invention is in itself.
The effect provided in the content of the invention is only the effect of embodiment, rather than whole effects that invention is all, above-mentioned A technical solution in technical solution has the following advantages that or beneficial effect:
Test accurate and effective of the technical solution for DMI and FRU synchronizing informations.More have easy to operate, it is easy to accomplish, it is readable The advantages that property is strong, and scalability is strong.Test result is exported and is preserved to log, is conducive to the maintenance and upgrade in later stage.
For personal and department, the substantial amounts of testing time can be saved, simplifies cumbersome test assignment.For company For, can all it use manpower and material resources sparingly, ahead of time TK project.
Brief description of the drawings
Attached drawing described herein is used for providing that the present invention is explained further, and forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the method flow schematic diagram of the embodiment of the present invention;
Fig. 2 is the system structure diagram of the embodiment of the present invention.
Embodiment
In order to the technical characterstic of clear explanation this programme, below by embodiment, and its attached drawing is combined, to this Invention is described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the present invention Structure.In order to simplify disclosure of the invention, hereinafter the component and setting of specific examples are described.In addition, the present invention can be with Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated Relation between various embodiments are discussed and/or are set.It should be noted that illustrated component is not necessarily to scale in the accompanying drawings Draw.Present invention omits the description to known assemblies and treatment technology and process to avoid the present invention is unnecessarily limiting.
As shown in Figure 1, a kind of DMI information and FRU synchronizing information automated testing methods, specifically include following steps:
Step 1) exports the data for needing to contrast in DMI information and FRU information respectively;
Two groups of data of step 2) contrast output;
Comparing result is exported and preserved to log by step 3).
DMI information and FRU information are DMI information and FRU information in bios version.
The data for needing to contrast in DMI information and FRU information include manufacture, product name, System Version information.
Such as:Contrast DMI product name and the product name in FRU whether be specially unanimously:
dmidecode-t system|grep"Product Name"
ipmitool fru|grep"Product Name"|uniq
Contrasting the method for two groups of data includes:Judge whether two groups of data are consistent;If consistent, show DMI information and FRU synchronizing informations, if it is inconsistent, showing that DMI information and FRU information are asynchronous.
As shown in Fig. 2, a kind of DMI information and FRU synchronizing information automatization test systems, profit include message output module, For exporting the data for needing to contrast in DMI information and FRU information;With comparing module, for two groups of data of output to be carried out Compare, and judge whether consistent;With log files, for preserving comparing result.
The data for needing to contrast include manufacture, product name, System version information.
Comparing result includes two groups of data unanimously and two groups of data are inconsistent;Two groups of data unanimously represent DMI information and FRU Synchronizing information, the inconsistent expression DMI information of two groups of data and FRU information are asynchronous.
The above is the preferred embodiment of the present invention, for those skilled in the art, Without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also regarded as this hair Bright protection domain.

Claims (7)

1. a kind of DMI information and FRU synchronizing information automated testing methods, it is characterized in that, specifically include following steps:
The data for needing to contrast in DMI information and FRU information are exported respectively;
Contrast two groups of data of output;
Comparing result is exported and is preserved to log.
2. according to the method described in claim 1, it is characterized in that, the DMI information and FRU information are in bios version DMI information and FRU information.
3. according to the method described in claim 1, it is characterized in that, the data for needing to contrast in DMI information and FRU information include Manufacture, product name, System version information.
4. according to the method described in claim 1, it is characterized in that, the method for two groups of data of the contrast output includes:Judge Whether two groups of data are consistent;If consistent, show DMI information and FRU synchronizing informations, if it is inconsistent, showing DMI information It is asynchronous with FRU information.
5. a kind of DMI information and FRU synchronizing information automatization test systems, utilize the side described in 4 any one of Claims 1-4 Method, it is characterized in that, including message output module, for exporting the data for needing to contrast in DMI information and FRU information;With,
Comparing module, for two groups of data of output to be compared, and judges whether consistent;With,
Log files, for preserving comparing result.
6. system according to claim 5, it is characterized in that, the data for needing to contrast include manufacture, Product name, System version information.
7. system according to claim 5, it is characterized in that, the comparing result includes two groups of data unanimously and two groups of numbers According to inconsistent;Two groups of data unanimously represent DMI information and FRU synchronizing informations, the inconsistent expression DMI information of two groups of data and FRU Information is asynchronous.
CN201711183399.1A 2017-11-23 2017-11-23 A kind of DMI information and FRU synchronizing informations automated testing method and system Pending CN107943698A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711183399.1A CN107943698A (en) 2017-11-23 2017-11-23 A kind of DMI information and FRU synchronizing informations automated testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711183399.1A CN107943698A (en) 2017-11-23 2017-11-23 A kind of DMI information and FRU synchronizing informations automated testing method and system

Publications (1)

Publication Number Publication Date
CN107943698A true CN107943698A (en) 2018-04-20

Family

ID=61930060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711183399.1A Pending CN107943698A (en) 2017-11-23 2017-11-23 A kind of DMI information and FRU synchronizing informations automated testing method and system

Country Status (1)

Country Link
CN (1) CN107943698A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984359A (en) * 2018-07-19 2018-12-11 郑州云海信息技术有限公司 A kind of system UUID synchronization detecting method, device, equipment and storage medium
CN112101000A (en) * 2020-09-17 2020-12-18 浪潮电子信息产业股份有限公司 Information consistency test method, device, equipment and computer readable storage medium
CN114138347A (en) * 2021-11-10 2022-03-04 苏州浪潮智能科技有限公司 On-site replaceable unit information storage method and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317667A (en) * 2014-10-27 2015-01-28 浪潮电子信息产业股份有限公司 Method for synchronizing DMI (desktop management interface) and FRU (field replace unit)
CN106055321A (en) * 2016-05-27 2016-10-26 浪潮电子信息产业股份有限公司 Method for automatically switching capitals and small letters for refreshing FRU information in DOS system
CN106407119A (en) * 2016-09-28 2017-02-15 浪潮软件集团有限公司 Browser compatibility testing method based on automatic testing
CN107133145A (en) * 2017-05-02 2017-09-05 郑州云海信息技术有限公司 A kind of DMI information test script programs based under linux
CN107229545A (en) * 2017-06-26 2017-10-03 郑州云海信息技术有限公司 A kind of method of testing and system of linux system hardware detection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317667A (en) * 2014-10-27 2015-01-28 浪潮电子信息产业股份有限公司 Method for synchronizing DMI (desktop management interface) and FRU (field replace unit)
CN106055321A (en) * 2016-05-27 2016-10-26 浪潮电子信息产业股份有限公司 Method for automatically switching capitals and small letters for refreshing FRU information in DOS system
CN106407119A (en) * 2016-09-28 2017-02-15 浪潮软件集团有限公司 Browser compatibility testing method based on automatic testing
CN107133145A (en) * 2017-05-02 2017-09-05 郑州云海信息技术有限公司 A kind of DMI information test script programs based under linux
CN107229545A (en) * 2017-06-26 2017-10-03 郑州云海信息技术有限公司 A kind of method of testing and system of linux system hardware detection

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984359A (en) * 2018-07-19 2018-12-11 郑州云海信息技术有限公司 A kind of system UUID synchronization detecting method, device, equipment and storage medium
CN112101000A (en) * 2020-09-17 2020-12-18 浪潮电子信息产业股份有限公司 Information consistency test method, device, equipment and computer readable storage medium
CN114138347A (en) * 2021-11-10 2022-03-04 苏州浪潮智能科技有限公司 On-site replaceable unit information storage method and computer-readable storage medium
CN114138347B (en) * 2021-11-10 2024-03-12 苏州浪潮智能科技有限公司 On-site replaceable unit information storage method and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109359028B (en) Code quality monitoring method, device, computer equipment and storage medium
Bavota et al. When does a refactoring induce bugs? an empirical study
CN107908550B (en) Software defect statistical processing method and device
CN107943698A (en) A kind of DMI information and FRU synchronizing informations automated testing method and system
CN102479113B (en) Abnormal self-adapting processing method and system
CN110991171B (en) Sensitive word detection method and device
CN110019116B (en) Data tracing method, device, data processing equipment and computer storage medium
US11449488B2 (en) System and method for processing logs
CN110647523B (en) Data quality analysis method and device, storage medium and electronic equipment
CN110765101B (en) Label generation method and device, computer readable storage medium and server
CN113326247B (en) Cloud data migration method and device and electronic equipment
CN106776339A (en) Automated testing method and device
CN107508727A (en) One kind automation network interface card information inspection method and device
CN109324956B (en) System testing method, apparatus and computer readable storage medium
CN110019214A (en) The method and apparatus that data split result is verified
CN112559453A (en) Data storage method and device, electronic equipment and storage medium
CN109992494A (en) A kind of automatic test execution method and apparatus
US11386380B2 (en) System and method for visual, artificial intelligence, and rule based quality assurance
CN113869789A (en) Risk monitoring method and device, computer equipment and storage medium
CN107463493A (en) A kind of test system and method for testing towards host antivirus software product
CN116775477A (en) Software testing progress determining method and device
CN113032256B (en) Automated testing method, apparatus, computer system, and readable storage medium
CN111913706B (en) Topology construction method of dispatching automation system, storage medium and computing equipment
CN104731682A (en) Commodity arrival detection method for Rack server cabinet
CN109101426B (en) Business comparison test system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180420

RJ01 Rejection of invention patent application after publication