CN108289047A - A kind of RMT test methods and device - Google Patents
A kind of RMT test methods and device Download PDFInfo
- Publication number
- CN108289047A CN108289047A CN201810074421.7A CN201810074421A CN108289047A CN 108289047 A CN108289047 A CN 108289047A CN 201810074421 A CN201810074421 A CN 201810074421A CN 108289047 A CN108289047 A CN 108289047A
- Authority
- CN
- China
- Prior art keywords
- server
- address
- rmt
- test
- machine
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The embodiment of the present application discloses a kind of RMT test methods and device, the method includes:The first IP scan instructions are run, the IP address of N number of server is obtained, form the first IP address table;According to the first IP address table, BIOS refreshing instructions are sent to N number of server, are N number of server batch programming beta version BIOS, the beta version BIOS opens RMT test functions;The 2nd IP scan instructions are run, the IP address and MAC Address of N number of server are obtained, form the second IP address table and mac address table;According to the second IP address table, the RMT test datas of N number of server are obtained respectively, and the RMT test datas include MAC Address, and the MAC Address in the RMT test datas is used to indicate the data source of the RMT test datas.The technical solution provided using the embodiment of the present application is realized the data exchange between PC machine and multiple servers by interchanger, multiple servers can be supported to be carried out at the same time test, improve RMT testing efficiencies.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of RMT test methods and device.
Background technology
Memory is the main storage unit on server master board, is occupied an important position in computer storage hierarchy structure.
The Stability and dependability and memory of memory and the compatibility of mainboard are most important for server design.And in server
Design and production process in, the otherness of different brands memory, the otherness of server master board material, PCB layout and cabling
Design etc. is all to influence the factor of server master board and memory compatibility.Therefore RMT (Rank Margin Test) is server
An essential ring in R&D process, test data can reflect the performance of memory on server master board to a certain extent,
Research staff can assess mainboard PCB device layouts according to test data and be designed with cabling, reduce project risk.
Fig. 1 is the structural schematic diagram that a kind of RMT tests system in the prior art, and PC machine 101 and service is shown in FIG. 1
Device 102, server 102 are equipped with server master board, and server master board is equipped with BMC (Baseboard Management
Controller, baseboard management controller), PC machine 101 is connected by its RS232 interface with the RS232 electric level interfaces of BMC.Its
In, server 102 is used as slave computer, is responsible for testing results software, and test data is sent out from RS232 electric level interfaces;PC machine
101 are used as host computer, are responsible for the reception and statistical analysis of test data.
But above-mentioned test mode is limited to serial communication and only supports point-to-point communication, therefore during actual test
Server can only tested by platform, testing efficiency is relatively low.
Invention content
A kind of RMT test methods and device are provided in the embodiment of the present application, with solve in the prior art testing efficiency compared with
Low problem.
In a first aspect, the embodiment of the present application provides a kind of RMT test methods, and the PC machine being applied in test system, institute
It further includes interchanger and N number of server to state test system, and the PC machine and N number of server pass through the group of switches Cheng Dan
Bus topolopy LAN, the interchanger are that the PC machine and N number of server distribute IP address, the method packet
It includes:
The first IP scan instructions are run, the IP address of N number of server is obtained, form the first IP address table;
According to the first IP address table, BIOS refreshing instructions are sent to N number of server, are N number of server
Batch programming beta version BIOS, the beta version BIOS open RMT test functions;
The 2nd IP scan instructions are run, the IP address and MAC Address of N number of server are obtained, form the second IP address
Table and mac address table;
According to the second IP address table, the RMT test datas of N number of server are obtained respectively, and the RMT tests number
According to including MAC Address, the MAC Address in the RMT test datas is used to indicate the data source of the RMT test datas.
Preferably, described that the RMT test datas of N number of server are obtained according to the second IP address table respectively, packet
It includes:
Judge whether the second IP address table is empty;
If the second IP address table is not sky, the clothes corresponding to the first IP address into the second IP address table
Business device transmission data request instruction;
Receive the RMT test datas that the corresponding server of first IP address is sent;
First IP address is deleted in the second IP address table.
Preferably, the RMT test datas include that flag bit is completed in test, described to receive the first IP address correspondence
Server send RMT test datas, including:
Flag bit is completed in the test for reading the RMT test datas corresponding to first IP address;
If flag bit is completed in the test, instruction test is completed, and receives the RMT tests corresponding to first IP address
Data.
Second aspect, the embodiment of the present application provide a kind of RMT test methods, the server being applied in test system,
The test system includes PC machine, interchanger and N number of server, and the PC machine and N number of server pass through the interchanger
Monobus topological structure LAN is formed, the interchanger is that the PC machine and N number of server distribute IP address, the side
Method includes:
Receive the BIOS refreshing instructions of the transmission of the PC machine, programming beta version BIOS, the beta version BIOS are opened
RMT test functions, wherein execute reboot operation after the complete beta version BIOS of programming;
It runs RMT test softwares and carries out RMT tests, obtain RMT test datas;
According to the data requesting instructions of the PC machine, the RMT test datas are sent to the PC machine.
The third aspect, the embodiment of the present application provide a kind of RMT test devices, the PC machine being applied in test system, institute
It further includes interchanger and N number of server to state test system, and the PC machine and N number of server pass through the group of switches Cheng Dan
Bus topolopy LAN, the interchanger are that the PC machine and N number of server distribute IP address, described device packet
It includes:
First IP address scan module obtains the IP address of N number of server for the first IP scan instructions of operation,
Form the first IP address table;
BIOS refreshing instruction sending modules, for according to the first IP address table, BIOS to be sent to N number of server
Refreshing instruction, is N number of server batch programming beta version BIOS, and the beta version BIOS opens RMT test functions;
Second IP address scan module, for running the 2nd IP scan instructions, obtain N number of server IP address and
MAC Address forms the second IP address table and mac address table;
RMT test data acquisition modules, for according to the second IP address table, obtaining N number of server respectively
RMT test datas, the RMT test datas include MAC Address, and the MAC Address in the RMT test datas is used to indicate institute
State the data source of RMT test datas.
Preferably, the RMT test datas acquisition module, including:
Judgment module, for judging whether the second IP address table is empty;
Data requesting instructions sending module, if being not sky for the second IP address table, to second IP address
Server transmission data request instruction corresponding to the first IP address in table;
RMT test data receiving modules test number for receiving the RMT that the corresponding server of first IP address is sent
According to;
Removing module, for deleting first IP address in the second IP address table.
Preferably, the RMT test datas include that flag bit, the RMT test datas receiving module, tool are completed in test
Body is used for:
Flag bit is completed in the test for reading the RMT test datas corresponding to first IP address;
If flag bit is completed in the test, instruction test is completed, and receives the RMT tests corresponding to first IP address
Data.
The third aspect, the embodiment of the present application provide a kind of RMT test devices, the server being applied in test system,
The test system includes PC machine, interchanger and N number of server, and the PC machine and N number of server pass through the interchanger
Monobus topological structure LAN is formed, the interchanger is that the PC machine and N number of server distribute IP address, the dress
Set including:
BIOS refreshing instruction receiving modules, the BIOS refreshing instructions of the transmission for receiving the PC machine, programming beta version
BIOS, the beta version BIOS open RMT test functions, wherein execute reboot operation after the complete beta version BIOS of programming;
RMT test modules carry out RMT tests for running RMT test softwares, obtain RMT test datas;
RMT test data sending modules, for the data requesting instructions according to the PC machine, described in PC machine transmission
RMT test datas.
Fourth aspect, the embodiment of the present application provide a kind of PC machine, including:
Processor;
The memory executed instruction for storing processor;
Wherein, the processor is configured as executing the method described in above-mentioned first aspect.
5th aspect, the embodiment of the present application provide a kind of server, including:
Processor;
The memory executed instruction for storing processor;
Wherein, the processor is configured as executing the method described in above-mentioned second aspect.
The technical solution provided using the embodiment of the present application is realized by interchanger between PC machine and multiple servers
Data exchange can support multiple servers to be carried out at the same time test, improve RMT testing efficiencies.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is the structural schematic diagram that a kind of RMT tests system in the prior art;
Fig. 2 is the structural schematic diagram that a kind of RMT provided by the embodiments of the present application tests system;
Fig. 3 is a kind of flow diagram of RMT test methods provided by the embodiments of the present application;
Fig. 4 is a kind of UDP datagram frame format schematic diagram provided by the embodiments of the present application;
Fig. 5 is another kind RMT test method flow diagrams provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of RMT test devices provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of another kind RMT test devices provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of PC machine provided by the embodiments of the present application;
Fig. 9 is a kind of structural schematic diagram of server provided by the embodiments of the present application.
Specific implementation mode
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality
The attached drawing in example is applied, technical solutions in the embodiments of the present application is clearly and completely described, it is clear that described implementation
Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common
The every other embodiment that technical staff is obtained without making creative work should all belong to the application protection
Range.
Fig. 2 is the structural schematic diagram that a kind of RMT provided by the embodiments of the present application tests system, as shown in Fig. 2, the application is real
A kind of RMT test systems for applying example offer include PC machine 201, interchanger 202 and N number of server 203, server 1, server
2 ..., server N.Wherein, server 203 includes server master board, and server master board is equipped with BMC, SD card, RS232 electricity
Straight cut and RJ45 interfaces, the PC machine 201 and N number of server 203 are by the group of switches at monobus topology knot
Structure LAN.
Fig. 3 is a kind of flow diagram of RMT test methods provided by the embodiments of the present application, be can be applied to shown in Fig. 2
Test system in PC machine, as shown in figure 3, this method mainly includes the following steps that.
Step S301:PC machine runs the first IP scan instructions, obtains the IP address of N number of server, forms the first IP
Address table.
Upon power-up of the system, interchanger is the PC machine and N number of server distribution IP address in LAN, the application reality automatically
Apply the IP address that the IP address that example is related to refers to BMC network interfaces on server master board.
Step S302:According to the first IP address table, BIOS refreshing instructions are sent to N number of server, are the N
A server batch programming beta version BIOS.
In the embodiment of the present application, PC machine can run BIOS batch refresh tools, open up multiple processes, to each service
Device sends BIOS refreshing instructions, is N number of server batch programming beta version BIOS.Wherein, the beta version BIOS is opened
RMT test functions obtain RMT test datas so that server carries out RMT tests.
Wherein, server executes reboot operation after the complete beta version BIOS of programming.In the embodiment of the present application due to exchanging
The acquisition modes of machine IP address obtain for automatic dynamic, and after Server Restart, the first IP address table that PC machine preserves has lost
Effect needs the IP address for reacquiring server, executes step S303 at this time.
Step S303:It runs the 2nd IP scan instructions, obtains the IP address and MAC Address of N number of server, composition the
Two IP address tables and mac address table.
PC machine obtains IP address of equipment instruction in LAN:Then the network segment residing for nmap-sP+ checks arp cache tables,
Obtain the corresponding MAC Address of IP address in LAN.Wherein IP address provides destination address and source address for data exchange;MAC
Address is the unique mark of all devices in LAN, for identifying test data source.IP address and MAC Address are in PC machine
It can be preserved according to the form of IP address table and mac address table, and establish the mapping relations of IP address table and mac address table.
Step S304:Judge whether the second IP address table is empty.
In the embodiment of the present application, PC machine needs to access server, to obtain the RMT test datas of server.PC machine
It is subject to the IP address in the second IP address table to the access of server, accesses one by one in the second IP address table corresponding to IP address
Server.Specifically, in current procedures, if the second IP address table is not sky, i.e. in the second IP address table there are IP
Location then enters step S304;If the second IP address table is sky, illustrate that the RMT test datas of server have obtained completion, then
Enter step S309.
Step S305:Server transmission data request corresponding to from the first IP address to the second IP address table refers to
It enables.
In the embodiment of the present application, PC machine needs to be traversed for Servers-all in LAN, obtains from each server
Test data.On the basis of the second IP address table IP address in the second IP address table can be accessed one by one to the access of server
Corresponding server.
Wherein, first IP address can be any one IP address in the second IP address table.For example, second
There are 3 IP address, respectively IP address a in IP address table, IP address b and IP address c, the first IP of the embodiment of the present application
Location can be 3 IP address in any one, here for convenient for explanation, by the IP for the server that will currently access
Location is defined as the first IP address.
Step S306:Flag bit is completed in the test for reading the RMT test datas corresponding to first IP address.
In the embodiment of the present application, PC machine is established UDP with the BMC on each server and is connect, when the first IP address is interviewed
When asking, the corresponding server of the first IP address is by the test data being stored in SD card by network interface with the shape of UDP datagram
Formula is sent to PC machine.
Fig. 4 is a kind of UDP datagram frame format schematic diagram provided by the embodiments of the present application, as shown in figure 4, in UDP message
Report frame format includes purpose IP address, target MAC (Media Access Control) address, source IP address, source MAC, test complement mark and test number
According to.
In the embodiment of the present application, the integrality that flag bit verifies RMT test datas is completed by test.Optionally, it surveys
It is that 1 expression test is completed to try complement mark position, and test completes flag bit and indicates that test does not complete for 0.
Step S307:Judge that test completes whether flag bit is 1, if it is 1 that flag bit is completed in test, enters step
S307;If it is 0, return to step S303 that flag bit is completed in test, rejudge whether the second IP address table is empty.
Step S308:Receive the RMT test datas corresponding to first IP address.
It is 1 that flag bit is completed in test, illustrates that the RMT tests of the server have been completed, which is complete
, then the RMT test datas are received, which is saved in local.
Step S309:First IP address is deleted in the second IP address table.
The repetition of data obtains in order to prevent, after the RMT test datas for obtaining the server corresponding to the first IP address,
First IP address is deleted in the second IP address table.
Step S310:Carry out screening and the statistics of data.
RMT test datas include bulk information, and it is necessary to required data letter after the acquisition for completing RMT test datas
Breath is screened and is counted, and is analyzed and is assessed convenient for research staff.In the specific implementation, PC machine can run shell scripts, according to
Each MAC address of server to test data carries out screening statistics.
The technical solution provided using the embodiment of the present application is realized by interchanger between PC machine and multiple servers
Data exchange can support multiple servers to be carried out at the same time test, improve RMT testing efficiencies.
The above method is expounded RMT test methods from the angle of PC machine, below from the angle of server to the party
Method illustrates.
Fig. 5 is another kind RMT test method flow diagrams provided by the embodiments of the present application, be can be applied to shown in Fig. 2
Test system in server, as shown in figure 5, this method mainly includes the following steps that.
Step S501:It runs RMT test softwares and carries out RMT tests, obtain RMT test datas.
In the embodiment of the present application, server completes beta version in the BIOS refreshing instructions for receiving PC machine transmission, programming
After BIOS, reboot operation is executed, RMT test softwares are run after restarting and carry out RMT tests, obtain RMT test datas.
Step S502:Obtain the IP address and MAC Address of all devices in LAN.
It should be pointed out that from the perspective of server, simultaneously the miscellaneous equipment in LAN cannot be distinguished where in server
One is PC machine, and therefore, PC machine needs to obtain the IP address and MAC Address of all devices in LAN.
Step S503:Judge whether to receive data requesting instructions.
In the embodiment of the present application, request of the transmission of RMT test datas based on PC machine is completed in server, is being got
In LAN after the IP address of all devices and MAC Address, server, which is had a try, intercepts network interface, if there is data requesting instructions, then
Enter step S504;Otherwise, step S503 is continued to run with.
Step S504:Send the RMT test datas.
In the embodiment of the present application, RMT test datas are stored in SD card, and initiation request is carried in data requesting instructions
Equipment IP address, after listening to data requesting instructions, in SD card read RMT test datas, with the lattice of UDP datagram
Formula is sent to PC machine.Wherein, the frame format of datagram is as shown in figure 4, may refer to foregoing description, and details are not described herein.
On the basis of above method embodiment, present invention also provides a kind of device embodiments.Fig. 6 is implemented for the application
A kind of structural schematic diagram for RMT test devices that example provides, can be applied to the PC machine in test system shown in Fig. 2, such as Fig. 6
Shown, which comprises the following modules.
First IP address scan module 601, for running the first IP scan instructions, with obtaining the IP of N number of server
Location forms the first IP address table;
BIOS refreshing instructions sending module 602, for according to the first IP address table, being sent to N number of server
BIOS refreshing instructions, are N number of server batch programming beta version BIOS, and the beta version BIOS opens RMT test work(
Energy;
Second IP address scan module 603:For running the 2nd IP scan instructions, with obtaining the IP of N number of server
Location and MAC Address form the second IP address table and mac address table;
RMT test datas acquisition module 604, for according to the second IP address table, obtaining N number of server respectively
RMT test datas, the RMT test datas include MAC Address, and the MAC Address in the RMT test datas is used to indicate
The data source of the RMT test datas.
In a kind of alternative embodiment, the RMT test datas acquisition module 603, including:Judgment module, for judging
Whether the second IP address table is empty;Data requesting instructions sending module, if not being sky for the second IP address table,
Server transmission data request instruction corresponding to from the first IP address to the second IP address table;RMT test datas connect
Module is received, the RMT test datas sent for receiving the corresponding server of first IP address;Removing module is used for institute
The first IP address is stated to delete in the second IP address table.
In a kind of alternative embodiment, the RMT test datas include that flag bit is completed in test, and the RMT tests number
According to receiving module, it is specifically used for:Flag bit is completed in the test for reading the RMT test datas corresponding to first IP address;If
The test is completed flag bit instruction test and is completed, then receives the RMT test datas corresponding to first IP address.
Fig. 7 is the structural schematic diagram of another kind RMT test devices provided by the embodiments of the present application, can be applied to Fig. 2 institutes
Server in the test system shown, as shown in fig. 7, the device comprises the following modules.
BIOS refreshing instructions receiving module 701, the BIOS refreshing instructions of the transmission for receiving the PC machine, programming test
Version BIOS, the beta version BIOS open RMT test functions, wherein execute reboot operation after the complete beta version BIOS of programming;
RMT test modules 702 carry out RMT tests for running RMT test softwares, obtain RMT test datas;
RMT test datas sending module 703 is sent for the data requesting instructions according to the PC machine to the PC machine
The RMT test datas.
The technical solution provided using the embodiment of the present application is realized by interchanger between PC machine and multiple servers
Data exchange can support multiple servers to be carried out at the same time test, improve RMT testing efficiencies.
On the basis of the above embodiments, present invention also provides a kind of PC machine, Fig. 8 is provided by the embodiments of the present application one
The structural schematic diagram of kind PC machine, as shown in figure 8, the PC machine 800 may include:Processor 810, memory 820 and communication unit
Member 830.These components are communicated by one or more bus, it will be understood by those skilled in the art that being taken shown in figure
The structure of business device does not constitute the restriction to the application, it, either busbar network, can also be hub-and-spoke configuration, can be with
Including than illustrating more or fewer components, either combining certain components or different components arrangement.
Wherein, the communication unit 830, for establishing communication channel, to allow the storage device to be set with other
It is standby to be communicated.Receive the user data or send user data to other equipment that other equipment is sent.
The processor 810 is the control centre of storage device, utilizes various interfaces and the entire electronic equipment of connection
Various pieces, by running or execute the software program and/or module that are stored in memory 820, and call and be stored in
Data in memory, to execute the various functions and/or processing data of electronic equipment.The processor can be by integrated circuit
(Integrated Circuit, abbreviation IC) is formed, such as the IC that can be encapsulated by single is formed, can also be by more of connection
The encapsulation IC of identical function or different function and form.For example, processor 810 can only include central processing unit
(Central Processing Unit, abbreviation CPU).In the application embodiment, CPU can be single operation core, also may be used
To include multioperation core.
The memory 820, for storing executing instruction for processor 810, memory 820 can be by any kind of easy
The property lost or non-volatile memory device or combination thereof are realized, such as static RAM (SRAM), electric erasable
Programmable read only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory
(PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
When executing instruction in memory 820 is executed by processor 810 so that PC machine 800 is able to carry out the above method
Step some or all of in embodiment.
On the basis of the above embodiments, present invention also provides a kind of server, Fig. 9 is provided by the embodiments of the present application
A kind of structural schematic diagram of server, as shown in figure 9, the server 900 may include:Processor 910, memory 920 and
Communication unit 930.These components are communicated by one or more bus, it will be understood by those skilled in the art that showing in figure
The structure of the server gone out does not constitute the restriction to the application, it, either busbar network, can also be hub-and-spoke configuration,
Can also include either combining certain components or different components arrangement than illustrating more or fewer components.
Wherein, the communication unit 930, for establishing communication channel, to allow the storage device to be set with other
It is standby to be communicated.Receive the user data or send user data to other equipment that other equipment is sent.
The processor 910 is the control centre of storage device, utilizes various interfaces and the entire electronic equipment of connection
Various pieces, by running or execute the software program and/or module that are stored in memory 920, and call and be stored in
Data in memory, to execute the various functions and/or processing data of electronic equipment.The processor can be by integrated circuit
(Integrated Circuit, abbreviation IC) is formed, such as the IC that can be encapsulated by single is formed, can also be by more of connection
The encapsulation IC of identical function or different function and form.For example, processor 910 can only include central processing unit
(Central Processing Unit, abbreviation CPU).In the application embodiment, CPU can be single operation core, also may be used
To include multioperation core.
The memory 920, for storing executing instruction for processor 910, memory 920 can be by any kind of easy
The property lost or non-volatile memory device or combination thereof are realized, such as static RAM (SRAM), electric erasable
Programmable read only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory
(PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
When executing instruction in memory 920 is executed by processor 910 so that server 900 is able to carry out above-mentioned side
Step some or all of in method embodiment.
In the specific implementation, the application also provides a kind of computer storage media, wherein the computer storage media can store
There is program, step that some or all of which may include when executing in each embodiment provided by the present application.The storage is situated between
Matter can be magnetic disc, CD, read-only memory (English:Read-on lymemory, referred to as:ROM) or random storage is remembered
Body (English:Random access memory, referred to as:RAM) etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present application substantially or
Say that the part that contributes to existing technology can be expressed in the form of software products, which can deposit
Storage is in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used so that computer equipment (can be with
Be personal computer, server either network equipment etc.) execute certain part institutes of each embodiment of the application or embodiment
The method stated.
The same or similar parts between the embodiments can be referred to each other in this specification.Implement especially for terminal
For example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring in embodiment of the method
Explanation.
Above-described the application embodiment does not constitute the restriction to the application protection domain.
Claims (10)
1. a kind of RMT test methods, which is characterized in that the PC machine being applied in test system, the test system further include handing over
It changes planes and N number of server, the PC machine and N number of server are by the group of switches at monobus topological structure local
Net, the interchanger are that the PC machine and N number of server distribute IP address, the method includes:
The first IP scan instructions are run, the IP address of N number of server is obtained, form the first IP address table;
According to the first IP address table, BIOS refreshing instructions are sent to N number of server, for N number of server batch
Programming beta version BIOS, the beta version BIOS open RMT test functions;
Run the 2nd IP scan instructions, obtain the IP address and MAC Address of N number of server, the second IP address table of composition and
Mac address table;
According to the second IP address table, the RMT test datas of N number of server are obtained respectively, in the RMT test datas
Including MAC Address, the MAC Address in the RMT test datas is used to indicate the data source of the RMT test datas.
2. according to the method described in claim 1, it is characterized in that, described according to the second IP address table, institute is obtained respectively
The RMT test datas of N number of server are stated, including:
Judge whether the second IP address table is empty;
If the second IP address table is not sky, the server corresponding to the first IP address into the second IP address table
Transmission data request instruction;
Receive the RMT test datas that the corresponding server of first IP address is sent;
First IP address is deleted in the second IP address table.
3. according to the method described in claim 2, it is characterized in that, the RMT test datas include test complete flag bit,
The RMT test datas for receiving the corresponding server of first IP address and sending, including:
Flag bit is completed in the test for reading the RMT test datas corresponding to first IP address;
If flag bit is completed in the test, instruction test is completed, and receives the RMT test datas corresponding to first IP address.
4. a kind of RMT test methods, which is characterized in that the server being applied in test system, the test system includes PC
Machine, interchanger and N number of server, the PC machine and N number of server are by the group of switches at monobus topological structure
LAN, the interchanger are that the PC machine and N number of server distribute IP address, the method includes:
The BIOS refreshing instructions of the transmission of the PC machine are received, programming beta version BIOS, the beta version BIOS open RMT surveys
Try function, wherein execute reboot operation after the complete beta version BIOS of programming;
It runs RMT test softwares and carries out RMT tests, obtain RMT test datas;
According to the data requesting instructions of the PC machine, the RMT test datas are sent to the PC machine.
5. a kind of RMT test devices, which is characterized in that the PC machine being applied in test system, the test system further include handing over
It changes planes and N number of server, the PC machine and N number of server are by the group of switches at monobus topological structure local
Net, the interchanger are that the PC machine and N number of server distribute IP address, and described device includes:
First IP address scan module obtains the IP address of N number of server, composition for running the first IP scan instructions
First IP address table;
BIOS refreshing instruction sending modules, for according to the first IP address table, sending BIOS to N number of server and refreshing
Instruction, is N number of server batch programming beta version BIOS, and the beta version BIOS opens RMT test functions;
Second IP address scan module obtains the IP address and MAC of N number of server for running the 2nd IP scan instructions
Address forms the second IP address table and mac address table;
RMT test data acquisition modules, for according to the second IP address table, the RMT for obtaining N number of server respectively to be surveyed
Data are tried, the RMT test datas include MAC Address, and the MAC Address in the RMT test datas is used to indicate the RMT
The data source of test data.
6. device according to claim 5, which is characterized in that the RMT test datas acquisition module, including:
Judgment module, for judging whether the second IP address table is empty;
Data requesting instructions sending module, if being not sky for the second IP address table, into the second IP address table
The first IP address corresponding to server transmission data request instruction;
RMT test data receiving modules, the RMT test datas sent for receiving the corresponding server of first IP address;
Removing module, for deleting first IP address in the second IP address table.
7. device according to claim 6, which is characterized in that the RMT test datas include that flag bit is completed in test,
The RMT test datas receiving module, is specifically used for:
Flag bit is completed in the test for reading the RMT test datas corresponding to first IP address;
If flag bit is completed in the test, instruction test is completed, and receives the RMT test datas corresponding to first IP address.
8. a kind of RMT test devices, which is characterized in that the server being applied in test system, the test system includes PC
Machine, interchanger and N number of server, the PC machine and N number of server are by the group of switches at monobus topological structure
LAN, the interchanger are that the PC machine and N number of server distribute IP address, and described device includes:
BIOS refreshing instruction receiving modules, the BIOS refreshing instructions of the transmission for receiving the PC machine, programming beta version BIOS,
The beta version BIOS opens RMT test functions, wherein executes reboot operation after the complete beta version BIOS of programming;
RMT test modules carry out RMT tests for running RMT test softwares, obtain RMT test datas;
RMT test data sending modules send the RMT for the data requesting instructions according to the PC machine to the PC machine
Test data.
9. a kind of PC machine, which is characterized in that including:
Processor;
The memory executed instruction for storing processor;
Wherein, the processor is configured as perform claim and requires 1-3 any one of them methods.
10. a kind of server, which is characterized in that including:
Processor;
The memory executed instruction for storing processor;
Wherein, the processor is configured as the method described in perform claim requirement 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810074421.7A CN108289047A (en) | 2018-01-25 | 2018-01-25 | A kind of RMT test methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810074421.7A CN108289047A (en) | 2018-01-25 | 2018-01-25 | A kind of RMT test methods and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108289047A true CN108289047A (en) | 2018-07-17 |
Family
ID=62835992
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810074421.7A Pending CN108289047A (en) | 2018-01-25 | 2018-01-25 | A kind of RMT test methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108289047A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109062744A (en) * | 2018-07-24 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of method and system for realizing batch testing server memory |
CN111130917A (en) * | 2018-10-31 | 2020-05-08 | 北京国双科技有限公司 | Line testing method, device and system |
CN111813617A (en) * | 2020-08-31 | 2020-10-23 | 成都申威科技有限责任公司 | Method and device for testing and scheduling functions of main board device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100169628A1 (en) * | 2008-12-30 | 2010-07-01 | Hinton Glenn J | Controlling non-redundant execution in a redundant multithreading (RMT) processor |
CN103455397A (en) * | 2013-09-06 | 2013-12-18 | 杭州华为数字技术有限公司 | System self-test method, equipment and system |
CN103957288A (en) * | 2014-04-28 | 2014-07-30 | 福建星网锐捷网络有限公司 | Method, device and equipment for IP address dynamic allocation |
CN106227616A (en) * | 2016-08-10 | 2016-12-14 | 浪潮电子信息产业股份有限公司 | A kind of batch realizes the method that RMT tests automatically |
-
2018
- 2018-01-25 CN CN201810074421.7A patent/CN108289047A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100169628A1 (en) * | 2008-12-30 | 2010-07-01 | Hinton Glenn J | Controlling non-redundant execution in a redundant multithreading (RMT) processor |
CN103455397A (en) * | 2013-09-06 | 2013-12-18 | 杭州华为数字技术有限公司 | System self-test method, equipment and system |
CN103957288A (en) * | 2014-04-28 | 2014-07-30 | 福建星网锐捷网络有限公司 | Method, device and equipment for IP address dynamic allocation |
CN106227616A (en) * | 2016-08-10 | 2016-12-14 | 浪潮电子信息产业股份有限公司 | A kind of batch realizes the method that RMT tests automatically |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109062744A (en) * | 2018-07-24 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of method and system for realizing batch testing server memory |
CN111130917A (en) * | 2018-10-31 | 2020-05-08 | 北京国双科技有限公司 | Line testing method, device and system |
CN111813617A (en) * | 2020-08-31 | 2020-10-23 | 成都申威科技有限责任公司 | Method and device for testing and scheduling functions of main board device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108289047A (en) | A kind of RMT test methods and device | |
CN106789363A (en) | A kind of method and device to virtual machine configuration network interface card | |
CN112910685B (en) | Method and device for realizing unified management of container network | |
CN110162435A (en) | A kind of server PXE starting test method, system, terminal and storage medium | |
CN109800029A (en) | Batch sets method, apparatus, terminal and the storage medium of server B IOS parameter | |
CN109669794A (en) | A kind of data in magnetic disk conformance test method, device, terminal and storage medium | |
CN114172905A (en) | Method and device for cluster network networking, computer equipment and storage medium | |
CN109787864A (en) | A kind of network automatic test approach, device, terminal and storage medium based on Netperf | |
CN107992424A (en) | Automatic test analysis method, application server and computer-readable recording medium | |
CN107070747A (en) | A kind of method of the automatic test network interface card network connection stability under network card binding pattern | |
CN101272293B (en) | Network testing method and device | |
CN116263694A (en) | Warehouse cluster deployment method and device and computing equipment | |
CN116204933A (en) | Method for isolating PCIe network card based on jailhouse under ARM64 architecture | |
CN101668036A (en) | Simulating system of distributed device and method for processing service by simulating distributed device | |
CN109660386B (en) | Software upgrading method for semiconductor memory aging test system | |
CN109510740A (en) | A kind of method, apparatus, terminal and the storage medium of automatic monitoring network interface card MTU value | |
CN102571474A (en) | Virtualized Radius testing system and method | |
CN109815070A (en) | A kind of HOST-BOX server stability test method, apparatus, terminal and storage medium | |
CN112003794B (en) | Floating IP current limiting method, system, terminal and storage medium | |
CN115484187B (en) | Method, equipment and storage medium for testing container network interface in container environment | |
CN113886153B (en) | Network card pressure testing method and device based on container | |
CN109819027A (en) | A kind of server system remote start-up method, device, equipment and storage medium | |
CN109684138A (en) | A kind of visualization hard disk automatic test approach, device, terminal and storage medium | |
CN107515725B (en) | Method and device for sharing disk by core network virtualization system and network management MANO system | |
CN1609819B (en) | Test method for computer external equipment interface |
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: 20180717 |