CN109254886A - A kind of server memory mounting process automatic checking method and system - Google Patents

A kind of server memory mounting process automatic checking method and system Download PDF

Info

Publication number
CN109254886A
CN109254886A CN201811083706.3A CN201811083706A CN109254886A CN 109254886 A CN109254886 A CN 109254886A CN 201811083706 A CN201811083706 A CN 201811083706A CN 109254886 A CN109254886 A CN 109254886A
Authority
CN
China
Prior art keywords
server
memory
measured
sequence
slot position
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
CN201811083706.3A
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 CN201811083706.3A priority Critical patent/CN109254886A/en
Publication of CN109254886A publication Critical patent/CN109254886A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection 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
    • G06F11/221Detection 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 to test buses, lines or interfaces, e.g. stuck-at or open line faults

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)
  • Tests Of Electronic Circuits (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The present invention relates to server the field of test technology, a kind of server memory mounting process automatic checking method and system are provided, method includes: to detect under linux operating system to server to be measured, obtains memory installation sequence corresponding to the memory being currently installed on server to be measured;The memory installation sequence for the server to be measured that will acquire is compared with the technique expectation sequence of pre-generated server to be measured, judges whether the memory installation sequence of the server to be measured got is identical as the technique expectation sequence of pre-generated server to be measured;It is to determine that server memory installation to be measured meets memory mounting process requirement;Otherwise determine that server memory installation to be measured does not meet memory mounting process requirement, to realize, the automatical and efficient memory installation to server to be measured carries out technique requirement detection under linux operating system, improve the testing efficiency of server batch production, it is ensured that the product quality of server factory.

Description

A kind of server memory mounting process automatic checking method and system
Technical field
The present invention relates to server the field of test technology, specially a kind of server memory mounting process automation inspection side Method and system.
Background technique
In the batch production of current server product, to the test automation of product, testing efficiency and Test coverage Rate requires high.To ensure to obtain optimal system performance, general principle of optimality should refer to when configuring Installed System Memory, in principle of optimality Optimal slotting method including different numbers of slots and when different amount of memory.It can be formed according to principle of optimality for Instructing manufacture operation Memory mounting process, should be strictly in accordance with memory mounting process, since assembling process is behaved in server production assembling process Work operation is so be easy to appear the case where misplug misplugs, therefore the correctness to assemble to memory checks.
Since memory slot position is intensively not easy to recognize on server master board, rely primarily at present manual inspection mode realize in It deposits misplug and misplugs problem, but rely solely on manual inspection to evade memory misplug and misplug problem, the degree of automation is lower, easily It judges by accident and takes a long time, influence production efficiency.
Summary of the invention
In order to overcome the defect of the prior art as indicated above, the present inventor has made intensive studies this, is paying After a large amount of creative works, so as to complete the present invention.
Specifically, the technical problems to be solved by the present invention are: providing a kind of server memory mounting process automation Inspection method, it is intended to solve the problems, such as in the prior art by manual inspection mispluged to evade memory misplug, the degree of automation compared with It is low, the technical issues of easily judging by accident and take a long time, influence production efficiency.
In order to solve the above technical problems, the technical scheme is that
A kind of server memory mounting process automatic checking method, the method includes the following steps:
Under linux operating system, server to be measured is detected, is currently installed on the acquisition server to be measured Memory installation sequence corresponding to memory;
The work of the memory installation sequence for the server to be measured that will acquire and the pre-generated server to be measured Skill expectation sequence is compared, judge the server to be measured got memory installation sequence and it is pre-generated it is described to Whether the technique expectation sequence for surveying server is identical;
When the memory installation sequence of the server to be measured got and the work of the pre-generated server to be measured When skill expectation sequence is identical, then determine that the server memory installation to be measured meets memory mounting process requirement, test passes through;
When the memory installation sequence of the server to be measured got and the work of the pre-generated server to be measured When skill expectation sequence difference, then determine that the server memory installation to be measured does not meet memory mounting process requirement, test is not led to It crosses.
As an improvement scheme, it is described under linux operating system, server to be measured is detected, obtain institute Further include following step before the step of stating memory installation sequence corresponding to the memory being currently installed on server to be measured:
The memory slot position of the server to be measured is defined.
As an improvement scheme, the step of memory slot position to the server to be measured is defined specifically wraps Include following step:
Read the physical memory information on the server to be measured;
After reading the physical memory information on the server to be measured, to each slot position of the server to be measured Serial number is carried out, CPU- memory slot position-slot position number corresponding relationship is formed.
As an improvement scheme, after the step of memory slot position to the server to be measured is defined also Include the following steps:
After the memory slot position for the server to be measured is numbered, obtain every under different CPU and different memory conditions The memory mounting process of one server to be measured;
The memory mounting process of the server to be measured and memory slot position, the slot position of each slot position number are closed Connection, generates and stores the technique expectation sequence of the server to be measured.
Another object of the present invention is to provide a kind of server memory mounting process automation inspection system, the systems Include:
Memory installation sequence obtains module, for being detected under linux operating system to server to be measured, obtains Memory installation sequence corresponding to the memory being currently installed on the server to be measured;
Contrast judgement module, the memory installation sequence of the server to be measured for will acquire and pre-generated institute The technique expectation sequence for stating server to be measured is compared, judge the memory installation sequence of the server to be measured got with Whether the technique expectation sequence of the pre-generated server to be measured is identical;
First determination module, the institute for working as the memory installation sequence of the server to be measured got and pre-generating State server to be measured technique expectation sequence it is identical when, then determine that the server memory to be measured installation meets memory mounting process It is required that test passes through;
Second determination module, the institute for working as the memory installation sequence of the server to be measured got and pre-generating When stating the technique expectation sequence difference of server to be measured, then determine that the server memory installation to be measured does not meet memory erector Skill requirement, test do not pass through.
As an improvement scheme, the system also includes:
Memory slot position definition module is defined for the memory slot position to the server to be measured.
As an improvement scheme, the memory slot position definition module specifically includes:
Physical memory information read module, for reading the physical memory information on the server to be measured;
Slot position serial number module, for after reading the physical memory information on the server to be measured, to described Each slot position of server to be measured carries out serial number, forms CPU- memory slot position-slot position number corresponding relationship.
As an improvement scheme, the system also includes:
Memory mounting process obtains module, for obtaining after the memory slot position for the server to be measured is numbered The memory mounting process of each server to be measured under different CPU and different memory conditions;
Technique expectation sequence generation module, for by the memory mounting process of the server to be measured and memory slot position, every The slot position number of one slot position is associated, and generates and store the technique expectation sequence of the server to be measured;
Database, for storing the technique expectation for the server to be measured that the technique expectation sequence generation module generates Sequence.
In embodiments of the present invention, under linux operating system, server to be measured is detected, is obtained described to be measured Memory installation sequence corresponding to the memory being currently installed on server;The memory for the server to be measured that will acquire is installed Sequence is compared with the technique expectation sequence of the pre-generated server to be measured, judges the service to be measured got Whether the memory installation sequence of device is identical as the technique expectation sequence of the pre-generated server to be measured;It is described in then judgement Server memory installation to be measured meets memory mounting process requirement;Otherwise in determining that the server memory installation to be measured is not met Mounting process requirement is deposited, to realize that the automatical and efficient memory installation to server to be measured carries out work under linux operating system Skill requires detection, improves the testing efficiency of server batch production, it is ensured that the product quality of server factory.
Detailed description of the invention
Fig. 1 is the implementation flow chart of server memory mounting process automatic checking method provided by the invention;
Fig. 2 is the structural block diagram of server memory mounting process automation inspection system provided by the invention.
Specific embodiment
Below with reference to specific embodiment, the present invention is further described.But the purposes and mesh of these exemplary embodiments Be only used to enumerate the present invention, any type of any restriction not is constituted to real protection scope of the invention, it is more non-to incite somebody to action this The protection scope of invention is confined to this.
Fig. 1 shows the implementation flow chart of server memory mounting process automatic checking method provided by the invention, Specifically include the following steps:
In step s101, under linux operating system, server to be measured is detected, obtains the service to be measured Memory installation sequence corresponding to the memory being currently installed on device.
In this step, the details, types of models, sequence of related server manufacturer can be found out by SMBIOS The information such as row number and bios version, processor quantity and physical memory.
In step s 102, the memory installation sequence for the server to be measured that will acquire and it is pre-generated described in Survey server technique expectation sequence be compared, judge the server to be measured got memory installation sequence and in advance Whether the technique expectation sequence of the server to be measured generated is identical, is to then follow the steps S103, no to then follow the steps S104.
In step s 103, when the memory installation sequence of the server to be measured got and it is pre-generated described in When the technique expectation sequence of survey server is identical, then determine that the server memory installation to be measured meets memory mounting process and wants It asks, test passes through.
In step S104, when the server to be measured got memory installation sequence and it is pre-generated described in When surveying the technique expectation sequence difference of server, then determine that the server memory installation to be measured does not meet memory mounting process and wants It asks, test does not pass through.
Following step is also needed to be implemented before executing above-mentioned steps S101:
The memory slot position of the server to be measured is defined, concrete implementation step are as follows:
(1) physical memory information on the server to be measured is read;
(2) after reading the physical memory information on the server to be measured, to each of the server to be measured Slot position carries out serial number, forms CPU- memory slot position-slot position number corresponding relationship.In this embodiment, in Linux system Down by dmidecode type 17 take out machine on physical memory information, the information taken by vertical sequence to Each slot position number, number is incremented by successively since 0 to be indicated with 16 system numbers, and slot position each in this way can use digital number It represents.Take its memory slot bit number of the type of a certain two-way 24DIMM as follows:
After feasibility above-mentioned steps (2), it is also necessary to execute following step:
(3) it after the memory slot position for the server to be measured is numbered, obtains under different CPU and different memory conditions The memory mounting process of each server to be measured;
(4) the memory mounting process of the server to be measured and memory slot position, the slot position of each slot position number are carried out Association, generates and stores the technique expectation sequence of the server to be measured.
In this embodiment, memory mounting process is required to be expressed with a string of characters, such as defines certain two-way server, four A memory it is expected to insert method are as follows: CPU0-CH0D0, CPU0-CH1D0, CPU1-CH0D0, CPU1-CH1D0, then the technique expectation sequence For 0x00-0x02-0x0C-0x0E.
In embodiments of the present invention, above-mentioned server memory mounting process automatic checking method can pass through shell foot This realization, details are not described herein.
Fig. 2 shows the structural block diagram of server memory mounting process automation inspection system provided by the invention, in order to Convenient for explanation, part related to the embodiment of the present invention is only gived in figure.
Server memory mounting process automation inspection system includes:
Memory installation sequence obtains module 11, for detecting, obtaining to server to be measured under linux operating system Take memory installation sequence corresponding to the memory being currently installed on the server to be measured;
Contrast judgement module 12, the memory installation sequence of the server to be measured for will acquire and pre-generated The technique expectation sequence of the server to be measured is compared, and judges the memory installation sequence of the server to be measured got It is whether identical as the technique expectation sequence of the pre-generated server to be measured;
First determination module 13, for when the memory installation sequence of the server to be measured that get and pre-generated When the technique expectation sequence of the server to be measured is identical, then determine that the server memory installation to be measured meets memory erector Skill requirement, test pass through;
Second determination module 14, for when the memory installation sequence of the server to be measured that get and pre-generated When the technique expectation sequence difference of the server to be measured, then determine that the server memory installation to be measured does not meet memory installation Technique requirement, test do not pass through.
Wherein, memory slot position definition module 15 is defined for the memory slot position to the server to be measured.
The memory slot position definition module 15 specifically includes:
Physical memory information read module 16, for reading the physical memory information on the server to be measured;
Slot position serial number module 17, for after reading the physical memory information on the server to be measured, to institute Each slot position for stating server to be measured carries out serial number, forms CPU- memory slot position-slot position number corresponding relationship.
In embodiments of the present invention, the system also includes:
Memory mounting process obtains module 18, for obtaining after the memory slot position for the server to be measured is numbered Take the memory mounting process of each server to be measured under different CPU and different memory conditions;
Technique expectation sequence generation module 19, for by the memory mounting process of the server to be measured and memory slot position, The slot position number of each slot position is associated, and generates and store the technique expectation sequence of the server to be measured;
Database 20, for storing the technique phase for the server to be measured that the technique expectation sequence generation module generates Hope sequence.
Wherein, the function of above-mentioned modules is as recorded in above method embodiment, and details are not described herein.
In embodiments of the present invention, under linux operating system, server to be measured is detected, is obtained described to be measured Memory installation sequence corresponding to the memory being currently installed on server;The memory for the server to be measured that will acquire is installed Sequence is compared with the technique expectation sequence of the pre-generated server to be measured, judges the service to be measured got Whether the memory installation sequence of device is identical as the technique expectation sequence of the pre-generated server to be measured;It is described in then judgement Server memory installation to be measured meets memory mounting process requirement;Otherwise in determining that the server memory installation to be measured is not met Mounting process requirement is deposited, to realize that the automatical and efficient memory installation to server to be measured carries out work under linux operating system Skill requires detection, improves the testing efficiency of server batch production, it is ensured that the product quality of server factory.
It should be appreciated that the purposes of these embodiments is merely to illustrate the present invention and is not intended to limit protection model of the invention It encloses.In addition, it should also be understood that, after reading the technical contents of the present invention, those skilled in the art can make the present invention each Kind change, modification and/or variation, all these equivalent forms equally fall within guarantor defined by the application the appended claims Within the scope of shield.

Claims (8)

1. a kind of server memory mounting process automatic checking method, which is characterized in that the method includes the following steps:
Under linux operating system, server to be measured is detected, obtains the memory being currently installed on the server to be measured Corresponding memory installation sequence;
The technique phase of the memory installation sequence for the server to be measured that will acquire and the pre-generated server to be measured It hopes sequence be compared, judges the memory installation sequence and the pre-generated clothes to be measured of the server to be measured got Whether the technique expectation sequence of business device is identical;
When the memory installation sequence of the server to be measured got and the technique phase of the pre-generated server to be measured When hoping that sequence is identical, then determine that the server memory installation to be measured meets memory mounting process requirement, test passes through;
When the memory installation sequence of the server to be measured got and the technique phase of the pre-generated server to be measured When hoping sequence difference, then determine that the server memory installation to be measured does not meet memory mounting process requirement, test does not pass through.
2. server memory mounting process automatic checking method according to claim 1, which is characterized in that it is described Under linux operating system, server to be measured is detected, is obtained corresponding to the memory being currently installed on the server to be measured Memory installation sequence the step of before further include following step:
The memory slot position of the server to be measured is defined.
3. server memory mounting process automatic checking method according to claim 2, which is characterized in that described to institute State the step of the memory slot position of server to be measured is defined specifically include the following steps:
Read the physical memory information on the server to be measured;
After reading the physical memory information on the server to be measured, each slot position of the server to be measured is carried out Serial number forms CPU- memory slot position-slot position number corresponding relationship.
4. server memory mounting process automatic checking method according to claim 3, which is characterized in that described to institute Further include following step after stating the step of the memory slot position of server to be measured is defined:
After the memory slot position for the server to be measured is numbered, each under different CPU and different memory conditions is obtained The memory mounting process of server to be measured;
The memory mounting process of the server to be measured and memory slot position, the slot position of each slot position number are associated, it is raw At and store the technique expectation sequence of the server to be measured.
5. a kind of server memory mounting process automation inspection system, which is characterized in that the system comprises:
Memory installation sequence obtains module, for detecting to server to be measured, described in acquisition under linux operating system Memory installation sequence corresponding to the memory being currently installed on server to be measured;
Contrast judgement module, the memory installation sequence of the server to be measured for will acquire and it is pre-generated described in Survey server technique expectation sequence be compared, judge the server to be measured got memory installation sequence and in advance Whether the technique expectation sequence of the server to be measured generated is identical;
First determination module, for when the memory installation sequence of the server to be measured that get and it is pre-generated described in When the technique expectation sequence of survey server is identical, then determine that the server memory installation to be measured meets memory mounting process and wants It asks, test passes through;
Second determination module, for when the memory installation sequence of the server to be measured that get and it is pre-generated described in When surveying the technique expectation sequence difference of server, then determine that the server memory installation to be measured does not meet memory mounting process and wants It asks, test does not pass through.
6. server memory mounting process automation inspection system according to claim 5, which is characterized in that the system Further include:
Memory slot position definition module is defined for the memory slot position to the server to be measured.
7. server memory mounting process automation inspection system according to claim 6, which is characterized in that the memory Slot position definition module specifically includes:
Physical memory information read module, for reading the physical memory information on the server to be measured;
Slot position serial number module, for after reading the physical memory information on the server to be measured, to described to be measured Each slot position of server carries out serial number, forms CPU- memory slot position-slot position number corresponding relationship.
8. server memory mounting process automation inspection system according to claim 7, which is characterized in that the system Further include:
Memory mounting process obtains module, different for obtaining after the memory slot position for the server to be measured is numbered The memory mounting process of each server to be measured under CPU and different memory conditions;
Technique expectation sequence generation module, for by the memory mounting process of the server to be measured and memory slot position, each The slot position number of slot position is associated, and generates and store the technique expectation sequence of the server to be measured;
Database, the technique for storing the server to be measured that the technique expectation sequence generation module generates it is expected sequence Column.
CN201811083706.3A 2018-09-18 2018-09-18 A kind of server memory mounting process automatic checking method and system Pending CN109254886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811083706.3A CN109254886A (en) 2018-09-18 2018-09-18 A kind of server memory mounting process automatic checking method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811083706.3A CN109254886A (en) 2018-09-18 2018-09-18 A kind of server memory mounting process automatic checking method and system

Publications (1)

Publication Number Publication Date
CN109254886A true CN109254886A (en) 2019-01-22

Family

ID=65046861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811083706.3A Pending CN109254886A (en) 2018-09-18 2018-09-18 A kind of server memory mounting process automatic checking method and system

Country Status (1)

Country Link
CN (1) CN109254886A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704258A (en) * 2019-09-06 2020-01-17 北京达佳互联信息技术有限公司 Memory insertion method and device and storage medium
CN112231159A (en) * 2020-10-16 2021-01-15 苏州浪潮智能科技有限公司 Memory installation position testing method, system, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8099639B2 (en) * 2009-02-17 2012-01-17 Kabushiki Kaisha Toshiba Failure analysis method, failure analysis system, and memory macro system
CN104407951A (en) * 2014-11-05 2015-03-11 浪潮电子信息产业股份有限公司 Method for automatically testing server
CN106469109A (en) * 2015-08-15 2017-03-01 昆达电脑科技(昆山)有限公司 DIMM failure informs system and method in time
CN108388490A (en) * 2018-02-28 2018-08-10 郑州云海信息技术有限公司 A kind of method and system of test high-end server memory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8099639B2 (en) * 2009-02-17 2012-01-17 Kabushiki Kaisha Toshiba Failure analysis method, failure analysis system, and memory macro system
CN104407951A (en) * 2014-11-05 2015-03-11 浪潮电子信息产业股份有限公司 Method for automatically testing server
CN106469109A (en) * 2015-08-15 2017-03-01 昆达电脑科技(昆山)有限公司 DIMM failure informs system and method in time
CN108388490A (en) * 2018-02-28 2018-08-10 郑州云海信息技术有限公司 A kind of method and system of test high-end server memory

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704258A (en) * 2019-09-06 2020-01-17 北京达佳互联信息技术有限公司 Memory insertion method and device and storage medium
CN112231159A (en) * 2020-10-16 2021-01-15 苏州浪潮智能科技有限公司 Memory installation position testing method, system, terminal and storage medium
CN112231159B (en) * 2020-10-16 2022-10-18 苏州浪潮智能科技有限公司 Memory installation position testing method, system, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN100405297C (en) Updating method for preset value initial setting program of embedded system
CN109254886A (en) A kind of server memory mounting process automatic checking method and system
CN105068929A (en) Test script generation method, test script generation device, testing method, testing device and testing system
CN108920369A (en) A kind of server stress test method, device, equipment and storage medium
US20190229998A1 (en) Methods, systems, and computer readable media for providing cloud visibility
CN106646315B (en) A kind of Auto-Test System and its test method of digital measuring instruments
CN105487859A (en) Template based WEB deployment method for big data components
CN105515893A (en) Method for determining location of sample point
BR102015016975A2 (en) method for computing multiple projected product failure that has multiple parts, system for computing multiple projected product failure that has multiple parts, non-transient computer readable medium, and computer program
CN114239477A (en) Hardware connection checking method and device, storage medium and electronic equipment
CN113934898A (en) Fault code classified storage method, device, equipment and storage medium
US10860938B2 (en) Using the barycentric coordinate technique to determine optimal sensor locations
CN106595584B (en) Antenna attitude data acquisition device, acquisition method and antenna device
US20200074012A1 (en) Affinity determination using graphs
CN115579304A (en) Wafer detection method and device, computer equipment and readable storage medium
CN111985163B (en) Rubidium clock life prediction method and device
CN110519001B (en) Clock synchronization method and device and ammeter communication module
CN105630644A (en) Method and system for detecting memories of micro control units in washing machines
CN106570160A (en) Mass spatio-temporal data cleaning method and mass spatio-temporal data cleaning device
CN106411564A (en) Apparatus and method for detecting ethernet frame
US20200081813A1 (en) Sensor Reliability Determination
CN105243000A (en) Cross-numa memory testing method suitable for multi-path server
KR101694348B1 (en) Reading scheduling method in consideration of communication capability and time information of meters
CN106156627A (en) The treating method and apparatus of automatic information system leak risk
CN110399258A (en) A kind of stability test method, system and device of server 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190122