CN109101383A - A kind of test method and system of memory detection - Google Patents
A kind of test method and system of memory detection Download PDFInfo
- Publication number
- CN109101383A CN109101383A CN201810903359.8A CN201810903359A CN109101383A CN 109101383 A CN109101383 A CN 109101383A CN 201810903359 A CN201810903359 A CN 201810903359A CN 109101383 A CN109101383 A CN 109101383A
- Authority
- CN
- China
- Prior art keywords
- measured
- server
- dci
- memory
- cscripts
- 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
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The present invention provides the test method and system of a kind of memory detection, and method includes the following steps: that 1. build hardware test environment, and server to be measured is connect with control host by DCI line;2. software testing environment is arranged, server DCI line to be measured is set and is enabled, control host installs ITP tool;3. the console of ITP tool judge DCI line whether successful connection;If so, entering step 4;If it is not, return step 1;4. being written and read by Cscripts script to server memory to be measured, sel system log is generated;5. checking sel system log, the test result of server memory to be measured is obtained.System includes: that hardware test environment builds module, software testing environment setup module, DCI line connection judgment module, memory read-write operation module and memory test result acquisition module.Operation of the present invention is simple and convenient, and it is accurate to detect to memory, and testing cost is low, reduces development cost.
Description
Technical field
The invention belongs to memory detection fields, and in particular to a kind of test method and system of memory detection.
Background technique
DCI, is the abbreviation of Downlink Control Information, and DCI line is Downlink Control Information line.
ITP, is the abbreviation of Integration Test Platform, and full name is integration testing platform.
Sel is the abbreviation of System Event Log, to access System Event Log.
Memory is the key components of server system, and the quality of memory directly affects the normal work of server.It is interior
The diagnosis deposited is there are many method, and some is by the test method of software, but the test of software is sometimes inaccurate, and client is not achieved
Demand;Some is detected by ITP equipment, but ITP cost of equipment is too high.
This is the deficiencies in the prior art, therefore, in view of the above-mentioned drawbacks in the prior art, provides a kind of survey of memory detection
Method for testing and system, are necessary.
Summary of the invention
It is an object of the present invention to be mentioned for above-mentioned existing internal storage testing method inaccuracy and costly defect
For the test method and system of a kind of detection of memory, to solve the above technical problems.
To achieve the above object, the present invention provides following technical scheme:
A kind of test method of memory detection, includes the following steps:
S1. hardware test environment is built, server to be measured is connect with control host by DCI line;
S2., software testing environment is set, server DCI line to be measured is set and is enabled, control host installs ITP tool;
S3. the console of ITP tool judge DCI line whether successful connection;
If so, entering step S4;If it is not, return step S1;
S4. server memory to be measured is written and read by Cscripts script, generates sel system log;
S5. it checks sel system log, obtains the test result of server memory to be measured.
Further, the USB3.0 interface of the USB3.0 interface of server to be measured and control host passes through DCI in step S1
Line connection.Host is controlled as control terminal, for server to be measured as downlink controlled end, DCI line realizes control host to clothes to be measured
The control connection of business device.
Further, specific step is as follows by step S2:
S21. server booting to be measured;
S22. the BIOS for entering server to be measured is arranged, and DCI line is enabled option and is set as enabled;
S23. control host side installs ITP tool.DCI enable(HDCIEN) option is set as Enable.
Further, specific step is as follows by step S3:
S31. the configuration console of ITP tool is opened;
S32. the corresponding DCI setting of selection control host-processor;
S33. DCI connection is run by ITP tool, control host obtains server CPU information to be measured;
If controlling host obtains server CPU information success to be measured, DCI line successful connection enters step S4;
Otherwise, DCI line connects unsuccessful, return step S1.Open the configuration console Configuration of ITP tool
Console connect control host with the DCI line of server to be measured and is configured.
Further, step S32. controls host-processor and uses Skylake processor, and DCI setting selects at Skylake
Manage the corresponding DCI setting of device.When controlling host-processor using Skylake processor, corresponding DCI setting selection SKL_
SPT_DCI_ReferenceSettings。
Further, specific step is as follows by step S4:
S41. Cscripts file is downloaded;
S42. it will be stored under C packing catalogue after Cscripts file decompression;
S43. operation Cscripts script is written and read server memory to be measured, and operating result is stored to sel system
System log.CScript script is a version of Windows scripting host, can be used to from order line Run Script.
The present invention gives following technical solution:
A kind of test macro of memory detection, including
Hardware test environment builds module, and for building hardware test environment, server to be measured and control host are passed through DCI line
Connection;
Software testing environment setup module is arranged server DCI line to be measured and enables, control is led for software testing environment to be arranged
Machine installs ITP tool;
DCI line connection judgment module, for the console of ITP tool judge DCI line whether successful connection;
Memory read-write operation module generates sel for being written and read by Cscripts script to server memory to be measured
System log;
Memory test result obtains module and obtains the test result of server memory to be measured for checking sel system log.
Further, software testing environment setup module includes:
Server start-up unit to be measured, for server to be measured to be switched on;
DCI line enables setting unit, and the BIOS for entering server to be measured is arranged, and DCI line is enabled option and is set as enabled;
ITP tool installation unit, for installing ITP tool in control host side.
Further, DCI line connection judgment module includes:
ITP instrument start-up unit is used to open the configuration console of ITP tool;
Selecting unit is arranged in DCI, for selecting the corresponding DCI setting of control host-processor;
DCI line connection judgment unit judges to obtain server to be measured for running DCI connection by ITP tool in control host
Whether CPU information succeeds.
Further, memory read-write operation module includes:
Cscripts file download unit, for downloading Cscripts file;
Cscripts file decompression units, for will be stored under C packing catalogue after Cscripts file decompression;
Memory read-write operating unit is written and read server memory to be measured for running Cscripts script, and will behaviour
Make result storage to sel system log.
The beneficial effects of the present invention are:
Operation of the present invention is simple and convenient, and it is accurate to detect to memory, and testing cost is low, reduces development cost, safeguard service device it is steady
It is qualitative, improve the product quality of server.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
It can be seen that compared with prior art, the present invention implementing with substantive distinguishing features outstanding and significant progress
Beneficial effect be also obvious.
Detailed description of the invention
Fig. 1 is flow chart of the method for the present invention one;
Fig. 2 is flow chart of the method for the present invention two;
Fig. 3 is system schematic of the invention;
Wherein 1- hardware test environment builds module;2- software testing environment setup module;2.1- server start-up unit to be measured;
2.2- DCI line enables setting unit;2.3- ITP tool installation unit;3- DCI line connection judgment module;3.1- ITP tool
Start unit;Selecting unit is arranged in 3.2- DCI;3.3- DCI line connection judgment unit;4- memory read-write operation module;4.1-
Cscripts file download unit;4.2- Cscripts file decompression units;4.3- memory read-write operating unit;5- memory is surveyed
Test result obtains module.
Specific embodiment:
To enable the purpose of the present invention, feature, advantage more obvious and understandable, it is embodied below in conjunction with the present invention
Attached drawing in example, is clearly and completely described the technical solution in the present invention.
Embodiment 1:
As shown in Figure 1, the present invention provides a kind of test method of memory detection, include the following steps:
S1. hardware test environment is built, server to be measured is connect with control host by DCI line;The USB3.0 of server to be measured
Interface is connect with the USB3.0 interface of control host by DCI line;
S2., software testing environment is set, server DCI line to be measured is set and is enabled, control host installs ITP tool;
S3. the console of ITP tool judge DCI line whether successful connection;
If so, entering step S4;If it is not, return step S1;
S4. server memory to be measured is written and read by Cscripts script, generates sel system log;
S5. it checks sel system log, obtains the test result of server memory to be measured.
Embodiment 2:
As shown in Fig. 2, a kind of test method of memory detection, includes the following steps:
S1. hardware test environment is built, server to be measured is connect with control host by DCI line;The USB3.0 of server to be measured
Interface is connect with the USB3.0 interface of control host by DCI line;
S2., software testing environment is set, server DCI line to be measured is set and is enabled, control host installs ITP tool;Specific steps
It is as follows:
S21. server booting to be measured;
S22. the BIOS for entering server to be measured is arranged, and DCI line is enabled option and is set as enabled;
S23. control host side installs ITP tool;
S3. the console of ITP tool judge DCI line whether successful connection;Specific step is as follows:
S31. the configuration console of ITP tool is opened;
S32. the corresponding DCI setting of selection control host-processor;It controls host-processor and uses Skylake processor, DCI is set
Set the corresponding DCI setting of selection Skylake processor;
S33. DCI connection is run by ITP tool, control host obtains server CPU information to be measured;
If controlling host obtains server CPU information success to be measured, DCI line successful connection enters step S4;
Otherwise, DCI line connects unsuccessful, return step S1;
S4. server memory to be measured is written and read by Cscripts script, generates sel system log;Specific steps
It is as follows:
S41. Cscripts file is downloaded;
S42. it will be stored under C packing catalogue after Cscripts file decompression;
S43. operation Cscripts script is written and read server memory to be measured, and operating result is stored to sel system
System log;
S5. it checks sel system log, obtains the test result of server memory to be measured.
Embodiment 3:
As shown in figure 3, a kind of test macro of memory detection, including
Hardware test environment builds module 1, and for building hardware test environment, server to be measured and control host are passed through DCI
Line connection;
Software testing environment setup module 2 is arranged server DCI line to be measured and enables, control is led for software testing environment to be arranged
Machine installs ITP tool;Software testing environment setup module 2 includes:
Server start-up unit 2.1 to be measured, for server to be measured to be switched on;
DCI line enables setting unit 2.2, and the BIOS for entering server to be measured is arranged, and DCI line is enabled option and is set as making
Energy;
ITP tool installation unit 2.3, for installing ITP tool in control host side;
DCI line connection judgment module 3, for the console of ITP tool judge DCI line whether successful connection;The connection of DCI line is sentenced
Disconnected module 3 includes:
ITP instrument start-up unit 3.1 is used to open the configuration console of ITP tool;
Selecting unit 3.2 is arranged in DCI, for selecting the corresponding DCI setting of control host-processor;
DCI line connection judgment unit 3.3 judges to obtain clothes to be measured for running DCI connection by ITP tool in control host
Whether business device CPU information succeeds;
Memory read-write operation module 4 is generated for being written and read by Cscripts script to server memory to be measured
Sel system log;Memory read-write operation module 4 includes:
Cscripts file download unit 4.1, for downloading Cscripts file;
Cscripts file decompression units 4.2, for will be stored under C packing catalogue after Cscripts file decompression;
Memory read-write operating unit 4.3 is written and read server memory to be measured for running Cscripts script, and will
Operating result is stored to sel system log;
Memory test result obtains module 5 and obtains the test result of server memory to be measured for checking sel system log.
The embodiment of the present invention be it is illustrative and not restrictive, above-described embodiment be only to aid in understanding the present invention, because
The present invention is not limited to the embodiments described in specific embodiment for this, all by those skilled in the art's technology according to the present invention
Other specific embodiments that scheme obtains, also belong to the scope of protection of the invention.
Claims (10)
1. a kind of test method of memory detection, which comprises the steps of:
S1. hardware test environment is built, server to be measured is connect with control host by DCI line;
S2., software testing environment is set, server DCI line to be measured is set and is enabled, control host installs ITP tool;
S3. the console of ITP tool judge DCI line whether successful connection;
If so, entering step S4;If it is not, return step S1;
S4. server memory to be measured is written and read by Cscripts script, generates sel system log;
S5. it checks sel system log, obtains the test result of server memory to be measured.
2. a kind of test method of memory detection as described in claim 1, which is characterized in that
The USB3.0 interface of server to be measured is connect with the USB3.0 interface of control host by DCI line in step S1.
3. a kind of test method of memory detection as described in claim 1, which is characterized in that
Specific step is as follows by step S2:
S21. server booting to be measured;
S22. the BIOS for entering server to be measured is arranged, and DCI line is enabled option and is set as enabled;
S23. control host side installs ITP tool.
4. a kind of test method of memory detection as described in claim 1, which is characterized in that
Specific step is as follows by step S3:
S31. the configuration console of ITP tool is opened;
S32. the corresponding DCI setting of selection control host-processor;
S33. DCI connection is run by ITP tool, control host obtains server CPU information to be measured;
If controlling host obtains server CPU information success to be measured, DCI line successful connection enters step S4;
Otherwise, DCI line connects unsuccessful, return step S1.
5. a kind of test method of memory detection as claimed in claim 4, which is characterized in that
Step S32. controls host-processor and uses Skylake processor, the corresponding DCI of DCI setting selection Skylake processor
Setting.
6. a kind of test method of memory detection as described in claim 1, which is characterized in that
Specific step is as follows by step S4:
S41. Cscripts file is downloaded;
S42. it will be stored under C packing catalogue after Cscripts file decompression;
S43. operation Cscripts script is written and read server memory to be measured, and operating result is stored to sel system
System log.
7. a kind of test macro of memory detection, which is characterized in that including
Hardware test environment builds module (1), and for building hardware test environment, server to be measured and control host are passed through
The connection of DCI line;
Software testing environment setup module (2) is arranged server DCI line to be measured and enables, control for software testing environment to be arranged
Host installs ITP tool;
DCI line connection judgment module (3), for the console of ITP tool judge DCI line whether successful connection;
Memory read-write operation module (4) is generated for being written and read by Cscripts script to server memory to be measured
Sel system log;
Memory test result obtains module (5) and obtains the test result of server memory to be measured for checking sel system log.
8. a kind of test macro of memory detection as claimed in claim 6, which is characterized in that
Software testing environment setup module (2) includes:
Server start-up unit (2.1) to be measured, for server to be measured to be switched on;
DCI line enables setting unit (2.2), and the BIOS for entering server to be measured is arranged, and DCI line is enabled option and is set as
It is enabled;
ITP tool installation unit (2.3), for installing ITP tool in control host side.
9. a kind of test macro of memory detection as claimed in claim 6, which is characterized in that
DCI line connection judgment module (3) includes:
ITP instrument start-up unit (3.1) is used to open the configuration console of ITP tool;
Selecting unit (3.2) are arranged in DCI, for selecting the corresponding DCI setting of control host-processor;
DCI line connection judgment unit (3.3) judges to obtain to be measured for running DCI connection by ITP tool in control host
Whether server CPU information succeeds.
10. a kind of test macro of memory detection as claimed in claim 6, which is characterized in that
Memory read-write operation module (4) includes:
Cscripts file download unit (4.1), for downloading Cscripts file;
Cscripts file decompression units (4.2), for will be stored under C packing catalogue after Cscripts file decompression;
Memory read-write operating unit (4.3) is written and read server memory to be measured for running Cscripts script, and
By operating result storage to sel system log.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810903359.8A CN109101383A (en) | 2018-08-09 | 2018-08-09 | A kind of test method and system of memory detection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810903359.8A CN109101383A (en) | 2018-08-09 | 2018-08-09 | A kind of test method and system of memory detection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109101383A true CN109101383A (en) | 2018-12-28 |
Family
ID=64849317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810903359.8A Pending CN109101383A (en) | 2018-08-09 | 2018-08-09 | A kind of test method and system of memory detection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109101383A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112948160A (en) * | 2021-02-26 | 2021-06-11 | 山东英信计算机技术有限公司 | Method and device for positioning and repairing memory ECC problem |
CN113434364A (en) * | 2021-06-25 | 2021-09-24 | 青岛海尔科技有限公司 | Screen-side equipment memory detection method and device, storage medium and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268052A (en) * | 2014-10-21 | 2015-01-07 | 浪潮电子信息产业股份有限公司 | Memory Rank spark test method based on ITP tool |
CN107038098A (en) * | 2017-04-28 | 2017-08-11 | 郑州云海信息技术有限公司 | It is a kind of to pass through the method that network carries out server memory diagnosis in batches |
CN107480019A (en) * | 2017-08-07 | 2017-12-15 | 郑州云海信息技术有限公司 | A kind of server memory Rank Spare method of testings based on Intel Skylake processors |
CN107688540A (en) * | 2017-09-11 | 2018-02-13 | 郑州云海信息技术有限公司 | A kind of method that long-range Debug is carried out using BMC |
-
2018
- 2018-08-09 CN CN201810903359.8A patent/CN109101383A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268052A (en) * | 2014-10-21 | 2015-01-07 | 浪潮电子信息产业股份有限公司 | Memory Rank spark test method based on ITP tool |
CN107038098A (en) * | 2017-04-28 | 2017-08-11 | 郑州云海信息技术有限公司 | It is a kind of to pass through the method that network carries out server memory diagnosis in batches |
CN107480019A (en) * | 2017-08-07 | 2017-12-15 | 郑州云海信息技术有限公司 | A kind of server memory Rank Spare method of testings based on Intel Skylake processors |
CN107688540A (en) * | 2017-09-11 | 2018-02-13 | 郑州云海信息技术有限公司 | A kind of method that long-range Debug is carried out using BMC |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112948160A (en) * | 2021-02-26 | 2021-06-11 | 山东英信计算机技术有限公司 | Method and device for positioning and repairing memory ECC problem |
CN112948160B (en) * | 2021-02-26 | 2023-02-28 | 山东英信计算机技术有限公司 | Method and device for positioning and repairing memory ECC problem |
CN113434364A (en) * | 2021-06-25 | 2021-09-24 | 青岛海尔科技有限公司 | Screen-side equipment memory detection method and device, storage medium and electronic device |
CN113434364B (en) * | 2021-06-25 | 2024-03-22 | 青岛海尔科技有限公司 | Method and device for detecting memory of screen terminal equipment, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103973515A (en) | Network card stability testing method | |
CN104375910A (en) | Automatic power-on and power-off test method | |
CN104850485A (en) | BMC based method and system for remote diagnosis of server startup failure | |
CN107357727A (en) | APP testing results method, apparatus, readable storage medium storing program for executing and computer equipment | |
US20090234942A1 (en) | Apparatus, system, and method for testing embedded device | |
CN105120259B (en) | Digital television detection method and device | |
CN108572895B (en) | Stability test method for automatically checking software and hardware configuration under Linux | |
CN104572422A (en) | Memory monitoring achievement method based on startup and shutdown of Linux system | |
CN108147241B (en) | Authentication method and device for elevator debugging tool | |
CN105068900A (en) | Testing method for remote control server cold reboot | |
CN105335264A (en) | Computer PCIE adapter card function test method based on UEFI | |
CN103984634B (en) | A kind of internal memory unsteady pressure method of testing of LINUX servers | |
CN109101383A (en) | A kind of test method and system of memory detection | |
CN104536863A (en) | Application program test method and device | |
CN113515457B (en) | Internet of things equipment firmware security detection method and device | |
CN106201813A (en) | Method for automatically testing BMC stability | |
KR101976629B1 (en) | Commit sensitive tests | |
CN102045211A (en) | Power supply circulating pressure testing method | |
CN104915228A (en) | Application program language setting method and device | |
CN103279334A (en) | Android software rapid dynamic detection device and method | |
CN107766068A (en) | Application system patch installation, device, computer equipment and storage medium | |
CN107766193A (en) | A kind of IB cards performance automatic test method and system | |
CN112612697A (en) | Software defect testing and positioning method and system based on byte code technology | |
CN107907838A (en) | A kind of redundant power module tests system and method | |
CN110134559B (en) | BMC fault detection method, system and related components |
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: 20181228 |
|
RJ01 | Rejection of invention patent application after publication |