CN112231159B - A memory installation position testing method, system, terminal and storage medium - Google Patents
A memory installation position testing method, system, terminal and storage medium Download PDFInfo
- Publication number
- CN112231159B CN112231159B CN202011109067.0A CN202011109067A CN112231159B CN 112231159 B CN112231159 B CN 112231159B CN 202011109067 A CN202011109067 A CN 202011109067A CN 112231159 B CN112231159 B CN 112231159B
- Authority
- CN
- China
- Prior art keywords
- serial number
- memory
- location
- file
- output
- 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.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 62
- 238000009434 installation Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 claims description 34
- 238000004590 computer program Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000010998 test method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
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/2247—Verification or detection of system hardware configuration
-
- 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 invention provides a memory installation position testing method, system, terminal and storage medium, including: using a scanning device to read a memory serial number according to the actual physical position of a memory installation slot, and outputting the position serial number; performing a judgment operation: judging whether the operation is in operation Whether the product serial number of the memory slot read under the system exists in the location serial number; perform a comparison operation: compare the sequence of the product serial number and the corresponding location serial number; restart multiple times and repeat the execution of the Judgment operation and comparison operation, output memory installation test results. The invention tests whether the memory installation position is correct by comparing the serial number of the memory product identified under the operating system with the serial number of the actual physical location, which greatly saves test time and manual test workload.
Description
技术领域technical field
本发明属于服务器测试技术领域,具体涉及一种内存安装位置测试方法、系统、终端及存储介质。The invention belongs to the technical field of server testing, and in particular relates to a method, system, terminal and storage medium for testing a memory installation position.
背景技术Background technique
随着CPU和芯片组的不断升级,服务器支持的内存数目也在不断增多;随着服务器平台的不断发展,双路服务器最多支持32根内存,在手动安装的过程中,可能会将内存条安装在错误的内存插槽中,造成服务器运行错乱,故在服务器测试领域,需要对内存的安装位置进行专门的测试。With the continuous upgrading of CPUs and chipsets, the number of memory supported by the server is also increasing; with the continuous development of server platforms, a dual-socket server supports up to 32 pieces of memory. In the process of manual installation, the memory module may be installed. In the wrong memory slot, the server runs erratically, so in the field of server testing, it is necessary to conduct a special test on the installation location of the memory.
现有的测试方法需要先手动安装内存,采用对称方式逐个安装内存,先将第一根内存安装在CPU0_C0D0的位置,服务器开机后在操作系统下对内存位置进行查看,在系统下查看CPU0_C0D0位置是否有内存且容量大小是否与实际一致,关机并交流断电,按照对称的方式逐个安装内存并检查系统下是否与实际一致,直至内存插槽满配。The existing test method needs to manually install the memory first, install the memory one by one in a symmetrical way, first install the first memory in the location of CPU0_C0D0, check the memory location under the operating system after the server is powered on, and check whether the location of CPU0_C0D0 is under the system. If there is memory and whether the capacity is the same as the actual size, shut down and power off the AC, install the memory one by one in a symmetrical way and check whether the system is consistent with the actual situation, until the memory slots are full.
现有的测试方法需要不断的对服务器进行交流断电操作以安装内存,当在whitely平台上进行测试时,需要交流断电32次以验证内存的安装位置。现有的测试方法已经难以满足当前服务器的测试需求,极大的拖慢了服务器的测试进度,增加了测试人员的工作量。The existing test method needs to continuously power off the server to install the memory. When testing on the whitely platform, it needs to power off the AC 32 times to verify the installation position of the memory. The existing testing methods have been difficult to meet the testing requirements of the current server, which greatly slows down the testing progress of the server and increases the workload of the testers.
发明内容SUMMARY OF THE INVENTION
针对现有技术的上述不足,本发明提供一种内存安装位置测试方法、系统、终端及存储介质,以解决上述技术问题。In view of the above deficiencies in the prior art, the present invention provides a method, system, terminal and storage medium for testing a memory installation position to solve the above technical problems.
第一方面,本发明提供一种内存安装位置测试方法,包括:In a first aspect, the present invention provides a method for testing a memory installation position, including:
利用扫描设备按照内存安装插槽的实际物理位置读取内存序列号,输出位置序列号;Use the scanning device to read the memory serial number according to the actual physical location of the memory installation slot, and output the location serial number;
执行判断操作:判断在操作系统下读取的内存插槽的产品序列号是否存在于位置序列号中;Perform judgment operation: judge whether the product serial number of the memory slot read under the operating system exists in the location serial number;
执行对比操作:对比所述产品序列号与相对应的位置序列号的顺序是否一致;Perform a comparison operation: compare whether the sequence of the product serial number and the corresponding location serial number is consistent;
多次重启并重复执行所述判断操作和对比操作,输出内存安装测试结果。Restart multiple times and repeatedly perform the judgment operation and comparison operation, and output the memory installation test result.
进一步的,所述利用扫描设备按照内存安装插槽的实际物理位置读取内存序列号,输出位置序列号,还包括:Further, the use of the scanning device to read the memory serial number according to the actual physical location of the memory installation slot, and output the location serial number, also includes:
利用扫描设备读取内存安装插槽的实际物理位置的内存序列号;Use the scanning device to read the memory serial number of the actual physical location of the memory installation slot;
将扫描到的所述实际物理位置的内存序列号作为位置序列号;Use the scanned memory serial number of the actual physical location as the location serial number;
将所有位置序列号存储在第一文件中。Store all location serial numbers in the first file.
进一步的,所述执行判断操作还包括:Further, the execution judgment operation also includes:
在操作系统下读取内存插槽的产品序列号并存储于第二文件中;Read the product serial number of the memory slot under the operating system and store it in the second file;
判断所述第二文件中的序列号是否都存在于第一文件中:Determine whether the serial numbers in the second file all exist in the first file:
若否,则输出测试失败信息并提示测试人员核对位置序列号;若是,则进一步执行对比操作。If not, output the test failure information and prompt the tester to check the position serial number; if so, further perform the comparison operation.
进一步的,所述对比操作还包括:Further, the comparison operation also includes:
建立第二文件中产品序列号与第一文件位置序列号的对应关系;establishing the correspondence between the product serial number in the second file and the location serial number of the first file;
对比所述产品序列号与相对应的位置序列号的顺序是否一致;Compare whether the sequence of the product serial number and the corresponding location serial number is consistent;
若是,则输出测试通过信息;若否,则输出测试失败信息并记录对比不一致的位置序列号。If so, output the test pass information; if not, output the test failure information and record the position serial number of the inconsistent comparison.
进一步的,所述方法还包括:将第一文件中第二文件不包含的序列号进行标记。Further, the method further includes: marking the serial numbers in the first file that are not included in the second file.
进一步的,所述对应关系根据内存产品序列号及正确的实际物理位置进行设置。Further, the corresponding relationship is set according to the serial number of the memory product and the correct actual physical location.
进一步的,所述方法还包括:根据服务器的测试要求设置重启次数。Further, the method further includes: setting the number of restarts according to the test requirements of the server.
第二方面,本发明提供一种内存安装位置测试系统,包括:In a second aspect, the present invention provides a memory installation location testing system, comprising:
进一步的,扫描信息单元,配置用于利用扫描设备按照内存安装插槽的实际物理位置读取内存序列号,输出位置序列号;Further, the scanning information unit is configured to use the scanning device to read the memory serial number according to the actual physical location of the memory installation slot, and output the location serial number;
判断执行单元,配置用于执行判断操作:判断在操作系统下读取的内存插槽的产品序列号是否存在于位置序列号中;The judgment execution unit is configured to perform the judgment operation: judge whether the product serial number of the memory slot read under the operating system exists in the location serial number;
对比执行单元,配置用于执行对比操作:对比所述产品序列号与相对应的位置序列号的顺序是否一致;A comparison execution unit, configured to perform a comparison operation: to compare whether the sequence of the product serial number and the corresponding position serial number is consistent;
重启测试单元,配置用于多次重启并重复执行所述判断操作和对比操作,输出内存安装测试结果。The restarting test unit is configured to restart multiple times and repeatedly perform the judgment operation and the comparison operation, and output the memory installation test result.
第三方面,提供一种终端,包括:In a third aspect, a terminal is provided, including:
处理器、存储器,其中,processor, memory, where,
该存储器用于存储计算机程序,The memory is used to store computer programs,
该处理器用于从存储器中调用并运行该计算机程序,使得终端执行上述的终端的方法。The processor is used to call and run the computer program from the memory, so that the terminal executes the above-mentioned method of the terminal.
第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In a fourth aspect, a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium, which, when executed on a computer, cause the computer to perform the methods described in the above aspects.
本发明的有益效果在于,The beneficial effect of the present invention is that,
本发明提供的一种内存安装位置测试方法、系统、终端及存储介质,本发明通过对操作系统下识别的内存产品序列号与实际物理位置的序列号进行对比,以测试内存安装位置是否正确,本发明相较于传统的逐个安装内存极大的节省了测试时间和手动测试工作量。The present invention provides a method, system, terminal and storage medium for testing the memory installation position. The present invention tests whether the memory installation position is correct by comparing the memory product serial number identified under the operating system with the serial number of the actual physical location. Compared with the traditional installation of memory one by one, the present invention greatly saves test time and manual test workload.
此外,本发明设计原理可靠,结构简单,具有非常广泛的应用前景。In addition, the present invention has reliable design principle and simple structure, and has a very wide application prospect.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. In other words, other drawings can also be obtained based on these drawings without creative labor.
图1是本发明一个实施例的方法的示意性流程图。FIG. 1 is a schematic flowchart of a method according to an embodiment of the present invention.
图2是本发明一个实施例的系统的示意性框图。FIG. 2 is a schematic block diagram of a system according to an embodiment of the present invention.
图3为本发明实施例提供的一种终端的结构示意图。FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
图4是本发明一个实施例的方法的示意性流程图。FIG. 4 is a schematic flowchart of a method according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
下面对本发明中出现的关键术语进行解释。Key terms appearing in the present invention are explained below.
图1是本发明一个实施例的方法的示意性流程图。其中,图1执行主体可以为一种内存安装位置测试系统。FIG. 1 is a schematic flowchart of a method according to an embodiment of the present invention. Wherein, the execution body of FIG. 1 may be a memory installation location testing system.
如图1所示,该方法包括:As shown in Figure 1, the method includes:
步骤110,利用扫描设备按照内存安装插槽的实际物理位置读取内存序列号,输出位置序列号;
步骤120,执行判断操作:判断在操作系统下读取的内存插槽的产品序列号是否存在于位置序列号中;
步骤130,执行对比操作:对比所述产品序列号与相对应的位置序列号的顺序是否一致;
步骤140,多次重启并重复执行所述判断操作和对比操作,输出内存安装测试结果。Step 140: Restart multiple times and repeatedly perform the judging operation and the comparing operation, and output the memory installation test result.
可选地,作为本发明一个实施例,所述利用扫描设备按照内存安装插槽的实际物理位置读取内存序列号,输出位置序列号,还包括:Optionally, as an embodiment of the present invention, the use of a scanning device to read the memory serial number according to the actual physical location of the memory installation slot, and output the location serial number, further includes:
利用扫描设备读取内存安装插槽的实际物理位置的内存序列号;Use the scanning device to read the memory serial number of the actual physical location of the memory installation slot;
将扫描到的所述实际物理位置的内存序列号作为位置序列号;Use the scanned memory serial number of the actual physical location as the location serial number;
将所有位置序列号存储在第一文件中。Store all location serial numbers in the first file.
可选地,作为本发明一个实施例,所述执行判断操作还包括:Optionally, as an embodiment of the present invention, the performing the judgment operation further includes:
在操作系统下读取内存插槽的产品序列号并存储于第二文件中;Read the product serial number of the memory slot under the operating system and store it in the second file;
判断所述第二文件中的序列号是否都存在于第一文件中:Determine whether the serial numbers in the second file all exist in the first file:
若否,则输出测试失败信息并提示测试人员核对位置序列号;若是,则进一步执行对比操作。If not, output the test failure information and prompt the tester to check the position serial number; if so, further perform the comparison operation.
可选地,作为本发明一个实施例,所述对比操作还包括:Optionally, as an embodiment of the present invention, the comparison operation further includes:
建立第二文件中产品序列号与第一文件位置序列号的对应关系;establishing the correspondence between the product serial number in the second file and the location serial number of the first file;
对比所述产品序列号与相对应的位置序列号的顺序是否一致;Compare whether the sequence of the product serial number and the corresponding location serial number is consistent;
若是,则输出测试通过信息;若否,则输出测试失败信息并记录对比不一致的位置序列号。If so, output the test pass information; if not, output the test failure information and record the position serial number of the inconsistent comparison.
可选地,作为本发明一个实施例,所述方法还包括:将第一文件中第二文件不包含的序列号进行标记。Optionally, as an embodiment of the present invention, the method further includes: marking a serial number that is not included in the second file in the first file.
可选地,作为本发明一个实施例,所述对应关系根据内存产品序列号及正确的实际物理位置进行设置。Optionally, as an embodiment of the present invention, the corresponding relationship is set according to the serial number of the memory product and the correct actual physical location.
可选地,作为本发明一个实施例,所述方法还包括:根据服务器的测试要求设置重启次数。Optionally, as an embodiment of the present invention, the method further includes: setting the number of restarts according to a test requirement of the server.
为了便于对本发明的理解,下面以本发明一种内存安装位置测试方法的原理,结合实施例中对内存产品序列号进行采集的过程,对本发明提供的一种内存安装位置测试方法做进一步的描述。In order to facilitate the understanding of the present invention, a method for testing a memory installation position provided by the present invention will be further described below based on the principle of a memory installation position testing method of the present invention and the process of collecting the serial number of a memory product in the embodiment. .
如图4所示,具体的,所述一种内存安装位置测试方法。包括:As shown in FIG. 4 , specifically, the method for testing a memory installation position is described. include:
1、先将服务器内存满配,并搭建测试环境,使用条码枪等扫描设备对安装内存插槽位置的内存标签进行扫描,获取内存的产品序列号,将获取结果输入至计算机或服务器端并生成第一文件记录物理内存位置;1. First fully configure the server memory, build a test environment, use a barcode gun or other scanning device to scan the memory label at the location where the memory slot is installed, obtain the product serial number of the memory, input the obtained result to the computer or server and generate The first file records the physical memory location;
2、在操作系统下利用dmidecode–tmemory命令,识别各内存插槽内存的位置序列号,生成第二文件记录系统识别到的内存位置;2. Use the dmidecode-tmemory command under the operating system to identify the location serial number of the memory in each memory slot, and generate a second file to record the memory location identified by the system;
3、对第一文件与第二文件进行第一步对比,判断第二文件中的产品序列号是否均存在与第一文件中,即判断操作系统识别的内存均是本服务器允许插入的内存,在满足这一前提条件下,才能对内存在系统下是否出现乱序进行判断;同时将第一文件中第二文件不包含的序列号进行标记,在内存插槽在没有满配的情况下,将不需要执行对比操作的序列号除去;3. Compare the first file with the second file, and determine whether the product serial numbers in the second file exist in the first file, that is, determine that the memory identified by the operating system is the memory that the server allows to be inserted. Only when this precondition is met, can we judge whether the memory is out of order in the system; at the same time, mark the serial numbers that are not included in the second file in the first file, and when the memory slots are not fully configured, Remove serial numbers that do not need to be compared;
4、若否,则输出测试失败并提示测试人员手动检查输入的位置序列号,若是,则进一步对比判断第一文件与第二文件中内存插槽与产品序列的号对应关系和顺序是否一致;在对比操作执行之前,需要建立第二文件中产品序列号与第一文件位置序列号的对应关系,所述对应关系根据内存产品序列号及正确的实际物理位置进行设置。4. If no, the output test fails and the tester is prompted to manually check the input position serial number. If so, then further compare and judge whether the correspondence and sequence of the memory slots and product serial numbers in the first file and the second file are consistent; Before the comparison operation is performed, a corresponding relationship between the product serial number in the second file and the location serial number of the first file needs to be established, and the corresponding relationship is set according to the memory product serial number and the correct actual physical location.
5、若是,则输出测试通过结果,若否,则输出测试失败并抓取不同点生成log文件,记录对比不一致的位置序列号,根据所述位置序列号输出实际的物理位置,从而得到内存安装错误的内存插槽。5. If yes, output the test pass result, if not, output the test failure and capture different points to generate a log file, record the position serial number that is inconsistent with the comparison, and output the actual physical position according to the position serial number, thereby obtaining the memory installation. Wrong memory slot.
6、为了保证测试的准确性,避免偶然性,本方法在操作系统执行的步骤上执行多次循环,即根据服务器的测试要求设置重启次数,多次重启并重复执行所述判断操作和对比操作,输出内存安装测试结果。6. In order to ensure the accuracy of the test and avoid contingency, the method performs multiple cycles on the steps executed by the operating system, that is, the number of restarts is set according to the test requirements of the server, and the judgment operation and the comparison operation are repeated for multiple restarts. Outputs the memory installation test results.
如图2示,该系统200包括:As shown in Figure 2, the system 200 includes:
扫描信息单元210,配置用于利用扫描设备按照内存安装插槽的实际物理位置读取内存序列号,输出位置序列号;The scanning information unit 210 is configured to use the scanning device to read the memory serial number according to the actual physical location of the memory installation slot, and output the location serial number;
判断执行单元220,配置用于执行判断操作:判断在操作系统下读取的内存插槽的产品序列号是否存在于位置序列号中;The judgment execution unit 220 is configured to perform a judgment operation: judging whether the product serial number of the memory slot read under the operating system exists in the position serial number;
对比执行单元230,配置用于执行对比操作:对比所述产品序列号与相对应的位置序列号的顺序是否一致;The comparison execution unit 230 is configured to perform a comparison operation: compare whether the sequence of the product serial number and the corresponding position serial number is consistent;
重启测试单元240,配置用于多次重启并重复执行所述判断操作和对比操作,输出内存安装测试结果。The restart test unit 240 is configured to restart multiple times and repeatedly perform the judgment operation and the comparison operation, and output the memory installation test result.
图3为本发明实施例提供的一种终端系统300的结构示意图,该终端系统300可以用于执行本发明实施例提供的一种内存安装位置测试方法。FIG. 3 is a schematic structural diagram of a
其中,该终端系统300可以包括:处理器310、存储器320及通信单元330。这些组件通过一条或多条总线进行通信,本领域技术人员可以理解,图中示出的服务器的结构并不构成对本发明的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The
其中,该存储器320可以用于存储处理器310的执行指令,存储器320可以由任何类型的易失性或非易失性存储终端或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。当存储器320中的执行指令由处理器310执行时,使得终端300能够执行以下上述方法实施例中的部分或全部步骤。Wherein, the
处理器310为存储终端的控制中心,利用各种接口和线路连接整个电子终端的各个部分,通过运行或执行存储在存储器320内的软件程序和/或模块,以及调用存储在存储器内的数据,以执行电子终端的各种功能和/或处理数据。所述处理器可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器310可以仅包括中央处理器(Central Processing Unit,简称CPU)。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The
通信单元330,用于建立通信信道,从而使所述存储终端可以与其它终端进行通信。接收其他终端发送的用户数据或者向其他终端发送用户数据。The
本发明还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可包括本发明提供的各实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(英文:read-only memory,简称:ROM)或随机存储记忆体(英文:random access memory,简称:RAM)等。The present invention also provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, it can include some or all of the steps in the embodiments provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (English: read-only memory, ROM for short) or a random access memory (English: random access memory, RAM for short).
因此,本发明通过外接设备对内存标签进行扫描,获取各内存的产品号,随后在系统下利用dmidecode–tmemory命令获取各内存插槽的产品序列号,将系统下获取的内存产品序列号与实际安装情况相比对,以判定内存在系统下是否出现乱序,本实施例所能达到的技术效果可以参见上文中的描述,此处不再赘述。Therefore, the present invention scans the memory label through an external device to obtain the product number of each memory, then uses the dmidecode-tmemory command to obtain the product serial number of each memory slot under the system, and compares the memory product serial number obtained under the system with the actual product serial number. The installation conditions are compared to determine whether the memory is out of order under the system. The technical effects that can be achieved in this embodiment can refer to the description above, and are not repeated here.
本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中如U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,包括若干指令用以使得一台计算机终端(可以是个人计算机,服务器,或者第二终端、网络终端等)执行本发明各个实施例所述方法的全部或部分步骤。Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention can be embodied in the form of software products in essence or in the parts that make contributions to the prior art. The computer software products are stored in a storage medium such as a USB flash drive, a mobile Hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes, including several instructions to make a computer terminal (It may be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于终端实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。It is sufficient to refer to each other for the same and similar parts among the various embodiments in this specification. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the description in the method embodiment.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统、系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,系统或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed systems, systems and methods may be implemented in other manners. For example, the system embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection between systems or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
尽管通过参考附图并结合优选实施例的方式对本发明进行了详细描述,但本发明并不限于此。在不脱离本发明的精神和实质的前提下,本领域普通技术人员可以对本发明的实施例进行各种等效的修改或替换,而这些修改或替换都应在本发明的涵盖范围内/任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。Although the present invention has been described in detail in conjunction with the preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, those of ordinary skill in the art can make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions should all fall within the scope of the present invention/any Those skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should all be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011109067.0A CN112231159B (en) | 2020-10-16 | 2020-10-16 | A memory installation position testing method, system, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011109067.0A CN112231159B (en) | 2020-10-16 | 2020-10-16 | A memory installation position testing method, system, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112231159A CN112231159A (en) | 2021-01-15 |
CN112231159B true CN112231159B (en) | 2022-10-18 |
Family
ID=74117689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011109067.0A Active CN112231159B (en) | 2020-10-16 | 2020-10-16 | A memory installation position testing method, system, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112231159B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114113978A (en) * | 2021-11-11 | 2022-03-01 | 成都海光集成电路设计有限公司 | Chip selection method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740112A (en) * | 2016-02-03 | 2016-07-06 | 浪潮电子信息产业股份有限公司 | Method for automatically detecting hardware information during startup under Linux |
CN109254886A (en) * | 2018-09-18 | 2019-01-22 | 郑州云海信息技术有限公司 | A kind of server memory mounting process automatic checking method and system |
CN109918245A (en) * | 2019-02-28 | 2019-06-21 | 苏州浪潮智能科技有限公司 | Method, device, terminal and storage medium for checking server memory location error |
-
2020
- 2020-10-16 CN CN202011109067.0A patent/CN112231159B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740112A (en) * | 2016-02-03 | 2016-07-06 | 浪潮电子信息产业股份有限公司 | Method for automatically detecting hardware information during startup under Linux |
CN109254886A (en) * | 2018-09-18 | 2019-01-22 | 郑州云海信息技术有限公司 | A kind of server memory mounting process automatic checking method and system |
CN109918245A (en) * | 2019-02-28 | 2019-06-21 | 苏州浪潮智能科技有限公司 | Method, device, terminal and storage medium for checking server memory location error |
Also Published As
Publication number | Publication date |
---|---|
CN112231159A (en) | 2021-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110489287B (en) | Method, system and storage medium for testing hot plug through Ipomitool | |
CN111966380A (en) | BMC (baseboard management controller) firmware upgrading method, system, terminal and storage medium | |
CN110162435A (en) | A kind of server PXE starting test method, system, terminal and storage medium | |
CN112948190B (en) | A server hardware testing method, system and related device | |
CN111858201A (en) | A BMC comprehensive testing method, system, terminal and storage medium | |
CN110413470A (en) | A server ISS function testing method, system, terminal and storage medium | |
CN102902613A (en) | Computer system and diagnosis method thereof | |
CN116680101A (en) | Method and device for detecting downtime of operating system, and method and device for eliminating downtime of operating system | |
CN112231159B (en) | A memory installation position testing method, system, terminal and storage medium | |
CN111966551A (en) | Verification method, system, terminal and storage medium of remote command execution result | |
CN108089961A (en) | One kind is based on MOC boards hardware reboot test methods and system | |
CN112486785B (en) | Method, system, terminal and storage medium for positioning downtime phase of server | |
CN111176917B (en) | A CPU SST-BF function stability test method, system, terminal and storage medium | |
CN111176924B (en) | GPU card dropping simulation method, system, terminal and storage medium | |
CN116662050A (en) | A method, device, terminal and medium for error injection support function verification | |
CN111858198A (en) | A multi-scheme memory plugging test method, system, terminal and storage medium | |
CN115422091B (en) | Firmware debugging method and device, electronic equipment and storage medium | |
CN115757099B (en) | Automatic testing method and device for platform firmware protection and recovery function | |
CN114265786B (en) | Automated testing method, device, computer equipment and readable storage medium | |
CN112463504B (en) | Double-control storage product testing method, system, terminal and storage medium | |
CN111475208A (en) | Disk device naming method, system, terminal and storage medium | |
CN112003727A (en) | A multi-node server power test method, system, terminal and storage medium | |
CN112231170A (en) | A data interaction card supervision method, system, terminal and storage medium | |
CN111338677A (en) | Component and drive association validity verification method, system, terminal and storage medium | |
CN116560930A (en) | Server system integration test method, system, terminal and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |