CN106526447A - Mainboard detection device and method - Google Patents
Mainboard detection device and method Download PDFInfo
- Publication number
- CN106526447A CN106526447A CN201610856611.5A CN201610856611A CN106526447A CN 106526447 A CN106526447 A CN 106526447A CN 201610856611 A CN201610856611 A CN 201610856611A CN 106526447 A CN106526447 A CN 106526447A
- Authority
- CN
- China
- Prior art keywords
- test
- mainboard
- unit
- operating system
- test assignment
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/282—Testing of electronic circuits specially adapted for particular applications not provided for elsewhere
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a mainboard detection device and method. The mainboard detection device comprises the following units connected in sequence: a system installation unit which is used for obtaining an operation system and installing the operation system on a to-be-detected mainboard, an obtainment unit which is used for obtaining a detection task, and an operation unit which is used for operating the detection task in the operation system. The system installation unit is used for obtaining and installing the operation system, and the obtainment unit and the operation unit are used for obtaining and operating the detection task, so that automatic detection of the mainboard performance is achieved, and the detection efficiency is improved. The labor is saved, the problem of man-made misjudgment caused by manual detection is solved, the objectivity, reliability and accuracy of detection can be improved, and the quality of the mainboard and the quality of the server can be further improved.
Description
Technical field
The present invention relates to field of computer technology, it particularly relates to a kind of mainboard detection means and method.
Background technology
Mainboard is the critical piece of server, and the quality of server is directly decided by the performance of mainboard.At present, existing master
Board detecting method be using manually carrying out detecting to the outward appearance of mainboard, and to some basic functions of mainboard (such as switching on and shutting down, net
Mouth, USB interface etc.) tested.
On the one hand, existing mainboard detection method can not cover the detection to mainboard aspect of performance, and compare consuming
Manually, waste time and energy.However, server manufacturer is required for manufacturing and detecting substantial amounts of mainboard daily, it is evident that existing master
Plate detection technique cannot meet server manufacturer to the demand in terms of mainboard performance detection and detection efficiency.The opposing party
Mainboard is detected using manually in face, existing mainboard detection method, less efficient, and artificial erroneous judgement easily occurs, in standard
Really there is certain defect in terms of property;Also, testing result is larger with the detection level dependency of testing staff, objectivity compared with
Difference.
Therefore how quickly and accurately mainboard quality, performance to be monitored to meet the demand of server manufacturer, just
Become a problem demanding prompt solution.
For in correlation technique by manually detecting to mainboard, it is impossible to detect that mainboard performance, efficiency be low, accuracy not
Good problem, not yet proposes effective solution at present.
The content of the invention
For detecting mainboard performance, efficiency are low, accuracy is not good problem in correlation technique, the present invention proposes a kind of
Mainboard detection means and method, can realize the Aulomatizeted Detect of mainboard performance, improve detection efficiency and accuracy.
The technical scheme is that what is be achieved in that:
According to an aspect of the invention, there is provided a kind of mainboard detection means, including being linked in sequence with lower unit:System
System installation unit, for obtaining operating system and operating system being attached to mainboard to be detected;Acquiring unit, surveys for obtaining
Trial is engaged in;And running unit, for testing results task in an operating system detecting to mainboard.
In one embodiment, acquiring unit is additionally operable to obtain configuration file, and configuration file includes the test of test assignment
Environment configuration information.
In one embodiment, also include:Monitoring means, are connected between acquiring unit and running unit;Monitoring means
For in the running of test assignment obtain real-time testing environment configuration information, and by real-time testing environment configuration information with
Test environment configuration information is compared with the running of monitoring and test task.
In one embodiment, the quantity of test assignment is multiple.
In one embodiment, configuration file also includes the run time of each test assignment in multiple test assignments;Its
In, running unit is for running multiple test assignments in an operating system according to the run time of each test assignment.
In one embodiment, also include:Recording unit, is connected to running unit;Recording unit is used for obtaining test times
The test result of business simultaneously is recorded to generate test record to test result.
In one embodiment, also include:Output unit, is connected to recording unit;Output unit is for test record
It is analyzed and generates and exports testing result.
In one embodiment, test environment configuration information includes hardware configuration information and software configuration information.
In one embodiment, system installation unit passes through Network Capture operating system, and operating system is Linux systems
System.
According to a further aspect in the invention, there is provided a kind of mainboard detection method, including:Obtain operating system and will operate
System is attached to mainboard to be detected;Obtain test assignment;And in an operating system testing results task carrying out to mainboard
Detection.
The present invention is obtained by system installation unit and installation operation system, is also obtained by acquiring unit and running unit
With testing results task, the Aulomatizeted Detect to mainboard performance is realized, detection efficiency is improve;It is artificial same saving
When, it is to avoid the problem of the artificial erroneous judgement produced by manual detection, objectivity, reliability and the accuracy of detection is improve, enter
And the quality of mainboard and server can be lifted.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment
The accompanying drawing that needs are used is briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, can be being obtained according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is the block diagram of mainboard detection means according to embodiments of the present invention;
Fig. 2 is the file of acquiring unit acquisition of mainboard detection means according to embodiments of the present invention and showing for test assignment
It is intended to;
Fig. 3 is the schematic diagram of the composition of the test environment configuration information of mainboard detection means according to embodiments of the present invention;
Fig. 4 is the flow chart of the monitoring method of the monitoring means of mainboard detection means according to embodiments of the present invention;
Fig. 5 is the schematic diagram of the running unit configuration operation time of mainboard detection means according to embodiments of the present invention;
Fig. 6 is the schematic diagram that the recording unit of mainboard detection means according to embodiments of the present invention generates test record;
The flow chart that Fig. 7 is the generation of mainboard detection means according to embodiments of the present invention and output testing result;
Fig. 8 is the flow chart of mainboard detection method according to embodiments of the present invention;
Fig. 9 is the flow chart of the mainboard detection method according to the specific embodiment of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, the every other embodiment obtained by those of ordinary skill in the art belong to present invention protection
Scope.
A kind of embodiments in accordance with the present invention, there is provided mainboard detection means.
As shown in figure 1, mainboard detection means according to embodiments of the present invention includes:
System installation unit 101, for obtaining operating system and operating system being attached to mainboard to be detected;
Acquiring unit 102, for obtaining test assignment;And
Running unit 104, for testing results task in an operating system detecting to mainboard.
Above-mentioned technical proposal, is obtained by system installation unit and installation operation system, also by acquiring unit and operation
Unit is obtained and testing results task, is realized the Aulomatizeted Detect to mainboard performance, is improve detection efficiency;Saving people
While work, it is to avoid the problem of the artificial erroneous judgement produced by manual detection, the objectivity of detection, reliability and accurately is improve
Property, and then the quality of mainboard and server can be lifted.
With reference also to Fig. 1, the mainboard detection means of the embodiment of the present invention also includes:Monitoring means 103, recording unit 105,
With output unit 106;Also, said system installation unit 101, acquiring unit 102, monitoring means 103, running unit 104, note
Record unit 105, and output unit 106 be linked in sequence successively.
Wherein, system installation unit 101 can (preboot execute environment, pretrigger hold using PXE
Row environment) etc. technology by network download obtain and (SuSE) Linux OS is installed automatically.
With reference to Fig. 2, in one embodiment, acquiring unit 102 can be downloaded automatically and be obtained by network:Operating file
Run_all.sh scripts, test assignment tool.tar and configuration file case_config.sh scripts, configuration file case_
Config.sh scripts include the test environment configuration information of test assignment tool.tar;Configuration file also includes multiple tests
The run time of each test assignment in task.
Wherein, operating file run_all.sh scripts are the script for running all test assignments;Test assignment tool.tar
For compressed package;Configuration file case_config.sh scripts are the script for configuration testing task mesh run time.
Specifically, test assignment tool.tar by the first test assignment SAT.tar, the second test assignment Stream.tar,
3rd test assignment Geekbench.tar, the 4th test assignment Linpack.tar, the 5th test assignment FIO.tar, the 6th survey
Trial business Reboot.tar and the 7th test assignment DC.tar are constituted.
It is presented herein below and the first to the 7th test assignment is illustrated:
First test assignment SAT.tar includes:Test script and software tool needed for stressapp test assignments, uses
The stability of hardware device is tested in the environment of simulating reality;
Second test assignment Stream.tar includes:Test script and software tool needed for stream test assignments, uses
Test in the performance to internal memory;
3rd test assignment Geekbench.ta includes r:Test script and software work needed for geekbench test assignments
Tool, for testing to the calculating performance of processor;
4th test assignment Linpack.tar includes:Test script and software tool needed for linpack test assignments,
For testing to floating-point performance;
5th test assignment FIO.tar includes:Test script and software tool needed for fio test assignments, for IO
The performance of (input and output) hardware device is tested;
6th test assignment Reboot.tar includes:Test script needed for reboot (system reboot) test assignment and soft
Part instrument;
7th test assignment DC.tar includes:Test script and software tool needed for DC test assignments, for power supply
Performance tested.
With reference to Fig. 3, test environment configuration information includes hardware configuration information and software configuration information.Specifically, hardware is matched somebody with somebody
Confidence breath includes CPU information, memory information, hard disk information and board information;Software information includes BIOS (Basic Input
Output System, basic input output system) information and BMC (Baseboard Management Controller, substrate
Management Controller) information.
In one embodiment, monitoring means 103 are for the acquisition real-time testing environment in the running of test assignment
Configuration information, and real-time testing environment configuration information and test environment configuration information are compared with the fortune of monitoring and test task
Row process.Specifically, as shown in figure 4, before test assignment brings into operation, monitoring means 103 are obtained from acquiring unit 102 first
Test environment configuration information.When test assignment brings into operation, while starting monitoring means 103, obtained once at interval of 60 seconds
Real-time testing environment configuration information, and in the case where test is not completed by real-time testing environment configuration information and test environment
Configuration information is contrasted to judge whether real-time testing environment configuration information is identical with test environment configuration information.When survey in real time
In the case of examination environment configuration information and test environment configuration information identical, OK is recorded in monitoring journal;When real-time testing ring
In the case that border configuration information is different from test environment configuration information, then FAIL is recorded in monitoring journal.Monitoring means 103 with
Test assignment is run simultaneously, until test terminates.
In one embodiment, running unit 104 is being grasped according to the run time of each test assignment in configuration file
Multiple test assignments are run in making system.Specifically, with reference to Fig. 5,104 running configuration file case_config.sh of running unit
Script, the run-time updating of each test assignment set in configuration file case_config.sh scripts is configured to each
In the corresponding operating file of individual test assignment, subsequently just start to run each test assignment successively to be tested accordingly.Its
In, the corresponding operating file of the first to the 7th test assignment is followed successively by:run_sat.py、run_stream.py、run_
Geekbench.py, run_linpack.py, run_fio.py, run_reboot.py and run_DC.py.
In one embodiment, recording unit 105, for obtaining the test result of test assignment and test result being carried out
Record to generate test record.With reference to Fig. 6, after all of test assignment end of run is tested to be terminated, recording unit 105 is certainly
The dynamic test result for obtaining each test assignment and test log simultaneously generate test record, specifically include the fortune of each test assignment
Row time, test result, system journal, monitoring journal, running log and BMC daily records.Wherein, test log includes that test is appointed
The running log of business, system journal, monitoring journal and BMC daily records.And operating time log to runtime.out files (is transported
Row time file) in, test result is recorded in result.out files (test result file), by system journal, monitoring
Daily record, running log and BMC log recordings are in syslog.out (main board system daily record) file.Wherein, above-mentioned test record
Including:Runtime.out files, result.out files and syslog.out files.
In one embodiment, output unit 106, for being analyzed and generating and export detection knot to test record
Really.Specifically, with reference to Fig. 7, output unit 106 (is lost including fall with determining whether there is by row traversal syslog.out files
Lose) or error (mistake) error information, and error information is updated in syslog.out files, then by syslog.out
File is with result.out files, runtime.out compressing files into testing result compressed package.Further, obtain mainboard sequence
Row number SN, and testing result compressed package is named with mainboard serial number SN, finally using telecopy by testing result compressed package
Upload onto the server end.
As shown in figure 8, embodiments in accordance with the present invention, additionally provide a kind of mainboard detection method, comprise the following steps:
S801, obtains operating system and operating system is attached to mainboard to be detected;
S802, obtains test assignment;And
S803, testing results task is detecting to mainboard in an operating system.
As shown in figure 9, being the mainboard detection method according to the specific embodiment of the invention, comprise the following steps:
S901, is downloaded by network automatically using PXE technologies and obtains and install (SuSE) Linux OS;
S902, downloads multiple test assignments and configuration file automatically, and configuration file includes test environment configuration information and survey
The run time of trial business;
S903, obtains real-time testing environment configuration information and monitors multiple test assignments according to test environment configuration information
Running;
S904, runs each test assignment in an operating system according to the run time of each test assignment;
S905, obtains the test result of multiple test assignments and test result is recorded to generate test record;With
And
S906, is analyzed to test record and generates and export testing result.
In sum, by means of the above-mentioned technical proposal of the present invention, obtained by system installation unit and installation operation system
System, is also obtained and testing results task by acquiring unit and running unit, realizes the Aulomatizeted Detect to mainboard performance, carry
High detection efficiency;While saving artificial, it is to avoid the problem of the artificial erroneous judgement produced by manual detection, inspection is improve
The objectivity of survey, reliability and accuracy, and then the quality of mainboard and server can be lifted.
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.
Claims (10)
1. a kind of mainboard detection means, it is characterised in that including being linked in sequence with lower unit:
System installation unit, for obtaining operating system and the operating system being attached to mainboard to be detected;
Acquiring unit, for obtaining test assignment;And
Running unit, for running the test assignment to detect the mainboard in the operating system.
2. mainboard detection means according to claim 1, it is characterised in that
The acquiring unit is additionally operable to obtain configuration file, and the configuration file includes that the test environment of test assignment matches somebody with somebody confidence
Breath.
3. mainboard detection means according to claim 2, it is characterised in that also include:
Monitoring means, the monitoring means are connected between the acquiring unit and the running unit;
The monitoring means for obtaining real-time testing environment configuration information in the running of test assignment, and by the reality
When test environment configuration information compare to monitor the running of the test assignment with the test environment configuration information.
4. mainboard detection means according to claim 2, it is characterised in that
The quantity of the test assignment is multiple.
5. mainboard detection means according to claim 4, it is characterised in that
The configuration file also includes the run time of each test assignment in multiple test assignments;
Wherein, the running unit is for running institute according to the run time of each test assignment in the operating system
State multiple test assignments.
6. mainboard detection means according to claim 1, it is characterised in that also include:
Recording unit, the recording unit are connected to the running unit;
The recording unit is used for obtaining the test result of test assignment and the test result being recorded to generate test
Record.
7. mainboard detection means according to claim 6, it is characterised in that also include:
Output unit, the output unit are connected to the recording unit;
The output unit is for being analyzed to the test record and generate and export testing result.
8. mainboard detection means according to claim 2, it is characterised in that
The test environment configuration information includes hardware configuration information and software configuration information.
9. mainboard detection means according to claim 1, it is characterised in that
The system installation unit is by operating system described in Network Capture, and the operating system is linux system.
10. a kind of mainboard detection method, it is characterised in that include:
Obtain operating system and the operating system is attached to into mainboard to be detected;
Obtain test assignment;And
Run the test assignment in the operating system to detect the mainboard.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610856611.5A CN106526447A (en) | 2016-09-27 | 2016-09-27 | Mainboard detection device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610856611.5A CN106526447A (en) | 2016-09-27 | 2016-09-27 | Mainboard detection device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106526447A true CN106526447A (en) | 2017-03-22 |
Family
ID=58344500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610856611.5A Pending CN106526447A (en) | 2016-09-27 | 2016-09-27 | Mainboard detection device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106526447A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108153653A (en) * | 2018-01-23 | 2018-06-12 | 郑州云海信息技术有限公司 | A kind of BMC blog management methods, system, device and computer storage media |
CN108763131A (en) * | 2018-05-18 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of single UART port connector easy to plug |
CN114062887A (en) * | 2020-07-30 | 2022-02-18 | 合肥本源量子计算科技有限责任公司 | Quantum chip testing method, device and system and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0911735A2 (en) * | 1997-10-27 | 1999-04-28 | Hewlett-Packard Company | Microprocessor test system |
US20040199809A1 (en) * | 2003-04-04 | 2004-10-07 | Sun Microsystems, Inc. | System and method for downloading files over a network with real time verification |
CN1690976A (en) * | 2004-04-24 | 2005-11-02 | 鸿富锦精密工业(深圳)有限公司 | Automatic test system and method for mainboard |
US20120331359A1 (en) * | 2011-06-23 | 2012-12-27 | Texas Instruments Incorporated | Mechanism to Instantiate a JTAG Debugger in a Browser |
CN103490913A (en) * | 2012-06-11 | 2014-01-01 | 鸿富锦精密工业(深圳)有限公司 | Pre-boot execution environment testing device, method and system |
-
2016
- 2016-09-27 CN CN201610856611.5A patent/CN106526447A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0911735A2 (en) * | 1997-10-27 | 1999-04-28 | Hewlett-Packard Company | Microprocessor test system |
US20040199809A1 (en) * | 2003-04-04 | 2004-10-07 | Sun Microsystems, Inc. | System and method for downloading files over a network with real time verification |
CN1690976A (en) * | 2004-04-24 | 2005-11-02 | 鸿富锦精密工业(深圳)有限公司 | Automatic test system and method for mainboard |
US20120331359A1 (en) * | 2011-06-23 | 2012-12-27 | Texas Instruments Incorporated | Mechanism to Instantiate a JTAG Debugger in a Browser |
CN103490913A (en) * | 2012-06-11 | 2014-01-01 | 鸿富锦精密工业(深圳)有限公司 | Pre-boot execution environment testing device, method and system |
Non-Patent Citations (2)
Title |
---|
全国计算机等级考试命题研究组: "《全国计算机等级考试考眼分析与样卷解析 四级软件测试工程师 第2版》", 31 January 2012 * |
王水研究室: "《电脑性能测试、优化与常用工具软件一点通》", 30 April 2003 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108153653A (en) * | 2018-01-23 | 2018-06-12 | 郑州云海信息技术有限公司 | A kind of BMC blog management methods, system, device and computer storage media |
CN108763131A (en) * | 2018-05-18 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of single UART port connector easy to plug |
CN114062887A (en) * | 2020-07-30 | 2022-02-18 | 合肥本源量子计算科技有限责任公司 | Quantum chip testing method, device and system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104391795B (en) | Method and system for automatically testing coverage rate in distributed system | |
CN111506489B (en) | Test method, system, device, server and storage medium | |
CN105302716B (en) | Test method, device under the development mode of interflow | |
US9519571B2 (en) | Method for analyzing transaction traces to enable process testing | |
CN103226485B (en) | Code dissemination method, code issue machine and code delivery system | |
Xu et al. | POD-Diagnosis: Error diagnosis of sporadic operations on cloud applications | |
CN104375910A (en) | Automatic power-on and power-off test method | |
US20100058295A1 (en) | Dynamic Test Coverage | |
US20150324276A1 (en) | Automated execution of functional test scripts on a remote system within a unit testing framework | |
US9542304B1 (en) | Automated operating system installation | |
US20160259714A1 (en) | Production sampling for determining code coverage | |
US20170286281A1 (en) | Transactional boundaries for virtualization within a software system | |
CN105068900A (en) | Testing method for remote control server cold reboot | |
CN106526447A (en) | Mainboard detection device and method | |
Banerjee et al. | Debugging energy-efficiency related field failures in mobile apps | |
CN102340429B (en) | Automatic Internet protocol recovery detection method | |
CN104391780A (en) | Method for automatically checking stability of power supply redundancy function of server | |
US20140033179A1 (en) | Application testing | |
CN111948526A (en) | Test and measurement system for parallel waveform analysis | |
Morales et al. | Anti-patterns and the energy efficiency of Android applications | |
CN103984634A (en) | Memory unsteady state pressure test method of LINUX server | |
US8910146B2 (en) | Automated time-to-value measurement | |
CN106649005A (en) | Automatic pressure testing method of memory ras (Reliability, Availability and Serviceability) characteristics on the basis of shell | |
Yan et al. | Aegis: Attribution of control plane change impact across layers and components for cloud systems | |
N Bhatt et al. | Automation testing software that aid in efficiency increase of regression process |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20170322 |
|
RJ01 | Rejection of invention patent application after publication |