WO2021179787A1 - 一种检测产线nvdimm内存的方法及系统 - Google Patents

一种检测产线nvdimm内存的方法及系统 Download PDF

Info

Publication number
WO2021179787A1
WO2021179787A1 PCT/CN2021/071208 CN2021071208W WO2021179787A1 WO 2021179787 A1 WO2021179787 A1 WO 2021179787A1 CN 2021071208 W CN2021071208 W CN 2021071208W WO 2021179787 A1 WO2021179787 A1 WO 2021179787A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory
nvdimm
nvdimm memory
diagnostic
diag
Prior art date
Application number
PCT/CN2021/071208
Other languages
English (en)
French (fr)
Inventor
徐立华
Original Assignee
苏州浪潮智能科技有限公司
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 苏州浪潮智能科技有限公司 filed Critical 苏州浪潮智能科技有限公司
Publication of WO2021179787A1 publication Critical patent/WO2021179787A1/zh

Links

Images

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/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
    • 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/2273Test methods

Definitions

  • the invention belongs to the technical field of server testing, and specifically relates to a method and system for detecting NVDIMM memory on a production line.
  • NVDIMM Non-Volatile Dual In-line Memory Module
  • NV non-volatile dual-rank memory module
  • PXE Pre-boot Execution Environment
  • Intel Intel
  • the protocol is divided into the client and the server.
  • BIOS Basic Input Output System
  • the BIOS transfers the PXE client to the memory for execution, and displays the command menu.
  • the PXE client The operating system on the server side can be downloaded to the local startup via the network.
  • the DIAG (Diagnostics) system is an operating system independently developed by Inspur Group. It is used to perform related functional tests on the products of the production line. Through the diagnosis of the DIAG system, the qualification rate of NVDIMM memory can be easily and quickly detected.
  • the present invention provides a method and system for detecting NVDIMM memory on a production line.
  • the present invention provides a method and system for detecting NVDIMM memory in a production line to solve the above-mentioned technical problems.
  • the present invention provides a method for detecting NVDIMM memory in a production line, including:
  • diagnosis DIAG system based on the open source source code of NVDIMM memory includes:
  • Compile an executable method according to the open source source code package of NVDIMM memory includes: query method of NVDIMM memory status, version, quantity, capacitor life and memory life, memory backup method and log erasing method;
  • the functional units include: NVDIMM memory status, version, quantity, capacitor life and memory life query function, memory backup function and log erasing In addition to the function;
  • a script file for diagnosing the DIAG system is developed according to the functional unit, and the script file is packaged into a diagnosis service package.
  • the construction of the diagnosis DIAG system based on the open source source code of NVDIMM memory further includes:
  • the kernel file is loaded into the diagnostic DIAG system, and the diagnostic DIAG system is set to a self-starting mode.
  • the method further includes:
  • the kernel file loaded when the system is started is released, and a diagnostic record log is generated.
  • the guiding the NVDIMM memory to be tested into the diagnostic DIAG system by means of a pre-execution environment includes:
  • the client automatically downloads the diagnostic service package
  • the client installs the diagnosis DIAG system according to the diagnosis service package;
  • the client self-starts to diagnose the DIAG system.
  • said obtaining the function information and qualified range of NVDIMM memory includes:
  • the function information of the NVDIMM memory including the status, version, capacitor lifetime, and memory lifetime of the NVDIMM memory;
  • NVDIMM memory According to the version and status of NVDIMM memory, set the upper and lower limits of the qualified range of capacitor life and memory life.
  • the present invention provides a system for detecting NVDIMM memory in a production line, including
  • System construction unit configured to construct a diagnostic DIAG system based on the open source source code of NVDIMM memory
  • the system startup unit is configured to guide the NVDIMM memory to be tested into the diagnostic DIAG system through the pre-execution environment;
  • Information acquisition unit configured to acquire the function information and qualified range of NVDIMM memory
  • the detection execution unit is configured to judge whether the function information is within the qualified range: if it is, it is judged that the NVDIMM memory is qualified; if not, it is judged that the NVDIMM memory is unqualified.
  • system construction unit includes:
  • Source code compilation module configured to compile executable methods based on the open source source code package of NVDIMM memory
  • a function establishment module configured to establish mutually independent functional units according to the executable method and the NVDIMM memory production environment
  • the script packaging module is configured to develop a script file for diagnosing the DIAG system according to the functional unit, and package the script file into a diagnostic service package.
  • system construction unit further includes:
  • Kernel compilation module configured to compile kernel files according to the open source source code package of NVDIMM memory
  • the startup setting module is configured to load the kernel file into the diagnostic DIAG system and set the diagnostic DIAG system to a self-starting mode.
  • system further includes:
  • the kernel release unit is configured to release the kernel file loaded when the system is started after the verification is completed, and generate a diagnostic record log.
  • the present invention provides a method and system for detecting NVDIMM memory in production line, which encapsulates a functional method that is easy to operate and execute based on NVDIMM bottom layer coding, combines the actual production environment and the characteristics of NVDIMM memory, and automatically detects the qualification of NVDIMM by means of PXE pre-installation system , Can be used in batches in the production line manufacturing process, reducing manual operations, and effectively improving the production and manufacturing efficiency of the server.
  • the design principle of the invention is reliable, the structure is simple, and it has a very wide application prospect.
  • Fig. 1 is a schematic flowchart of a method according to an embodiment of the present invention.
  • Fig. 2 is a schematic block diagram of a system according to an embodiment of the present invention.
  • Fig. 1 is a schematic flowchart of a method according to an embodiment of the present invention.
  • the executive body of Figure 1 may be a system for detecting NVDIMM memory in a production line.
  • the method 100 includes:
  • Step 110 Construct a diagnostic DIAG system based on the open source source code of NVDIMM memory
  • Step 120 guide the NVDIMM memory to be tested into the diagnostic DIAG system through the pre-execution environment;
  • Step 130 Obtain the function information and qualified range of the NVDIMM memory
  • Step 140 It is judged whether the function information is within the qualified range: if it is, it is judged that the NVDIMM memory is qualified; if not, it is judged that the NVDIMM memory is unqualified.
  • the construction of the diagnosis DIAG system based on the open source source code of NVDIMM memory includes:
  • Compile an executable method according to the open source source code package of NVDIMM memory includes: query method of NVDIMM memory status, version, quantity, capacitor life and memory life, memory backup method and log erasing method;
  • the functional units include: NVDIMM memory status, version, quantity, capacitor life and memory life query function, memory backup function and log erasing In addition to the function;
  • a script file for diagnosing the DIAG system is developed according to the functional unit, and the script file is packaged into a diagnosis service package.
  • the construction of the diagnosis DIAG system based on the open source source code of NVDIMM memory further includes:
  • the kernel file is loaded into the diagnostic DIAG system, and the diagnostic DIAG system is set to a self-starting mode.
  • the method further includes:
  • the kernel file loaded when the system is started is released, and a diagnostic record log is generated.
  • the guiding the NVDIMM memory to be tested into the diagnostic DIAG system by means of a pre-execution environment includes:
  • the client automatically downloads the diagnostic service package
  • the client installs the diagnosis DIAG system according to the diagnosis service package;
  • the client self-starts to diagnose the DIAG system.
  • the obtaining of the function information and qualified range of NVDIMM memory includes:
  • the function information of the NVDIMM memory including the status, version, capacitor lifetime, and memory lifetime of the NVDIMM memory;
  • NVDIMM memory According to the version and status of NVDIMM memory, set the upper and lower limits of the qualified range of capacitor life and memory life.
  • a method for detecting NVDIMM memory on a production line provided by the present invention will be further described below based on the principle of the present invention for detecting NVDIMM memory on a production line, combined with the process of detecting NVDIMM memory in an embodiment.
  • the method for detecting NVDIMM memory in a production line includes:
  • the executable method and kernel file are packaged and compiled.
  • the executable methods include: nvdimm_getstatus (status and version query), nvdimm_getnum (quantity query), nvdimm_geteslifetime (capacitor lifetime query), nvdimm_getnvlifetime (memory lifetime query), nvdimm_enablebackup (memory backup power function) and nvdimm_clearlog (erase log function), and generate corresponding functional units according to the above executable method, develop and diagnose the DIAG system script file nvdimmservice based on the functional units, and package the script files
  • the diagnostic service package is stored on the server; the kernel files include: jedec_nvdimm.ko, nvdimm_core.ko, nvdimm_smbus.ko, and nvdimm_mem.ko. Use the insmod command of the diagnostic
  • the client connects to the production network, the client automatically downloads the diagnostic service package, and installs the diagnostic DIAG system to the client to run locally according to the diagnostic service package; the client automatically starts the diagnostic DIAG system and starts NVDIMM memory testing .
  • step S1 The executable method described in step S1 is used to obtain the status, version, capacitor life, and memory life of the NVDIMM memory; according to the version and status of the NVDIMM memory, the upper and lower limits of the qualified range of the capacitor life and the memory life are set.
  • the system 200 includes:
  • the system construction unit 210 is configured to construct a diagnostic DIAG system based on the open source source code of NVDIMM memory;
  • the system startup unit 220 is configured to guide the NVDIMM memory to be tested into the diagnostic DIAG system through a pre-execution environment;
  • the information obtaining unit 230 is configured to obtain the function information and qualified range of the NVDIMM memory
  • the detection execution unit 240 is configured to determine whether the function information is within the qualified range: if it is, it is determined that the NVDIMM memory is qualified; if not, it is determined that the NVDIMM memory is unqualified.
  • the system construction unit includes:
  • Source code compilation module configured to compile executable methods based on the open source source code package of NVDIMM memory
  • a function establishment module configured to establish mutually independent functional units according to the executable method and the NVDIMM memory production environment
  • the script packaging module is configured to develop a script file for diagnosing the DIAG system according to the functional unit, and package the script file into a diagnostic service package.
  • system construction unit further includes:
  • Kernel compilation module configured to compile kernel files according to the open source source code package of NVDIMM memory
  • the startup setting module is configured to load the kernel file into the diagnostic DIAG system and set the diagnostic DIAG system to a self-starting mode.
  • system further includes:
  • the kernel release unit is configured to release the kernel file loaded when the system is started after the verification is completed, and generate a diagnostic record log.

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)
  • Debugging And Monitoring (AREA)

Abstract

一种检测产线NVDIMM内存的方法及系统,方法包括根据NVDIMM内存的开源源码构建诊断DIAG系统;通过预执行环境的方式引导待测NVDIMM内存进入所述诊断DIAG系统;获取NVDIMM内存的功能信息和合格范围;判断所述功能信息是否在合格范围之内:若是,则判断NVDIMM内存合格;若否,则判断NVDIMM内存不合格。本发明依据NVDIMM底层编码封装出易于操作执行的功能方法,结合生产实际环境和NVDIMM内存的特点检测NVDIMM合格情况,减少了人工操作,有效提高了服务器的生产制造效率。

Description

一种检测产线NVDIMM内存的方法及系统
本申请要求于2020年3月12日提交中国专利局、申请号为202010171729.0、发明名称为“一种检测产线NVDIMM内存的方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明属于服务器测试技术领域,具体涉及一种检测产线NVDIMM内存的方法及系统。
背景技术
随着客户机房环境的日益复杂,越来越多的客户选择使用NVDIMM内存,以应对异常断电造成的数据丢失等影响。NVDIMM的全称是Non-Volatile Dual In-line Memory Module,即非易失性双列内存模组,如果把NV(非易失)去掉,就相当于传统的内存DIMM。DIMM在系统断电后,其内部数据会消失,而对于DIMM在系统断电后,内存数据不会消失。为了保障服务器整体质量,生产诊断环节引入NVDIMM内存的合格率率检测迫在眉睫。
PXE(Pre-boot ExecuTIon Environment)是由Intel设计的协议,它可以使计算机通过网络启动。协议分为客户机和服务器两端,当计算机引导时,BIOS(Basic Input Output System,基本输入输出系统)把PXE客户机调入内存执行,并显示出命令菜单,经用户选择后,PXE客户机可以将服务器端的操作系统通过网络下载到本地启动。
DIAG(Diagnostics,诊断系统)系统是浪潮集团自主开发的操作系统,用于对生产线的产品进行相关功能测试,通过诊断DIAG系统可以方便快捷的地检测NVDIMM内存的合格率。
现有技术中还未出现在生产线检测NVDIMM内存生产合格率的方法,基于上述技术,本发明提供一种检测产线NVDIMM内存的方法及系统。
发明内容
针对现有技术的上述不足,本发明提供一种检测产线NVDIMM内存的方法及系统,以解决上述技术问题。
第一方面,本发明提供一种检测产线NVDIMM内存的方法,包括:
根据NVDIMM内存的开源源码构建诊断DIAG系统;
通过预执行环境的方式引导待测NVDIMM内存进入所述诊断DIAG系统;
获取NVDIMM内存的功能信息和合格范围;
判断所述功能信息是否在合格范围之内:若是,则判断NVDIMM内存合格;若否,则判断NVDIMM内存不合格。
进一步的,所述根据NVDIMM内存的开源源码构建诊断DIAG系统,包括:
根据NVDIMM内存的开源源码封装编译出可执行方法,所述可执行方法包括:NVDIMM内存的状态、版本、数量、电容寿命和内存寿命的查询方法,内存备电方法和日志擦除方法;
根据所述可执行方法和NVDIMM内存的生产环境建立相互独立的功能单元,所述功能单元包括:NVDIMM内存的状态、版本、数量、电容寿命和内存寿命的查询功能、内存备电功能和日志擦除功能;
根据所述功能单元开发诊断DIAG系统的脚本文件,并将所述脚本文件打包成诊断服务包。
进一步的,所述根据NVDIMM内存的开源源码构建诊断DIAG系统,还包括:
根据NVDIMM内存的开源源码封装编译出内核文件;
将所述内核文件载入诊断DIAG系统,并设置诊断DIAG系统为自启动模式。
进一步的,所述方法还包括:
检验完成后释放系统启动时加载的内核文件,并生成诊断记录日志。
进一步的,所述通过预执行环境的方式引导待测NVDIMM内存进入所述诊断DIAG系统,包括:
客户机自动下载所述诊断服务包;
客户机根据所述诊断服务包安装所述诊断DIAG系统;
客户机自启动诊断DIAG系统。
进一步的,所述获取NVDIMM内存的功能信息和合格范围,包括:
获取NVDIMM内存的功能信息,所述功能信息包括NVDIMM内存的状态、版本、电容寿命和内存寿命;
根据NVDIMM内存的版本和状态,设置电容寿命和内存寿命的合格范围的上、下限值。
第二方面,本发明提供一种检测产线NVDIMM内存的系统,包括
系统构建单元,配置用于根据NVDIMM内存的开源源码构建诊断DIAG系统;
系统启动单元,配置用于通过预执行环境的方式引导待测NVDIMM内存进入所述诊断DIAG系统;
信息获取单元,配置用于获取NVDIMM内存的功能信息和合格范围;
检测执行单元,配置用于判断所述功能信息是否在合格范围之内:若是,则判断NVDIMM内存合格;若否,则判断NVDIMM内存不合格。
进一步的,所述系统构建单元包括:
源码编译模块,配置用于根据NVDIMM内存的开源源码封装编译出可执行方法;
功能建立模块,配置用于根据所述可执行方法和NVDIMM内存的生产环境建立相互独立的功能单元;
脚本打包模块,配置用于根据所述功能单元开发诊断DIAG系统的脚本文件,并将所述脚本文件打包成诊断服务包。
进一步的,所述系统构建单元还包括:
内核编译模块,配置用于根据NVDIMM内存的开源源码封装编译出内核文件;
启动设置模块,配置用于将所述内核文件载入诊断DIAG系统,并设置诊断DIAG系统为自启动模式。
进一步的,所述系统还包括:
内核释放单元,配置用于检验完成后释放系统启动时加载的内核文件,并生成诊断记录日志。
本发明的有益效果在于,
本发明提供的一种检测产线NVDIMM内存的方法及系统,依据NVDIMM底层编码封装出易于操作执行的功能方法,结合生产实际环境和NVDIMM内存的特点,借助于PXE预安装系统自动检测NVDIMM合格情况,可批量用于产线生产制造过程,减少了人工操作,有效提高了服务器的生产制造效率。
此外,本发明设计原理可靠,结构简单,具有非常广泛的应用前景。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明一个实施例的方法的示意性流程图。
图2是本发明一个实施例的系统的示意性框图。
具体实施方式
为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
图1是本发明一个实施例的方法的示意性流程图。其中,图1执行主体可以为一种检测产线NVDIMM内存的系统。
如图1所示,该方法100包括:
步骤110,根据NVDIMM内存的开源源码构建诊断DIAG系统;
步骤120,通过预执行环境的方式引导待测NVDIMM内存进入所述诊断DIAG系统;
步骤130,获取NVDIMM内存的功能信息和合格范围;
步骤140,判断所述功能信息是否在合格范围之内:若是,则判断NVDIMM内存合格;若否,则判断NVDIMM内存不合格。
可选地,作为本发明一个实施例,所述根据NVDIMM内存的开源源码构建诊断DIAG系统,包括:
根据NVDIMM内存的开源源码封装编译出可执行方法,所述可执行方法包括:NVDIMM内存的状态、版本、数量、电容寿命和内存寿命的查询方法,内存备电方法和日志擦除方法;
根据所述可执行方法和NVDIMM内存的生产环境建立相互独立的功能单元,所述功能单元包括:NVDIMM内存的状态、版本、数量、电容寿命和内存寿命的查询功能、内存备电功能和日志擦除功能;
根据所述功能单元开发诊断DIAG系统的脚本文件,并将所述脚本文件打包成诊断服务包。
可选地,作为本发明一个实施例,所述根据NVDIMM内存的开源源码构建诊断DIAG系统,还包括:
根据NVDIMM内存的开源源码封装编译出内核文件;
将所述内核文件载入诊断DIAG系统,并设置诊断DIAG系统为自启动模式。
可选地,作为本发明一个实施例,所述方法还包括:
检验完成后释放系统启动时加载的内核文件,并生成诊断记录日志。
可选地,作为本发明一个实施例,所述通过预执行环境的方式引导待测NVDIMM内存进入所述诊断DIAG系统,包括:
客户机自动下载所述诊断服务包;
客户机根据所述诊断服务包安装所述诊断DIAG系统;
客户机自启动诊断DIAG系统。
可选地,作为本发明一个实施例,所述获取NVDIMM内存的功能信 息和合格范围,包括:
获取NVDIMM内存的功能信息,所述功能信息包括NVDIMM内存的状态、版本、电容寿命和内存寿命;
根据NVDIMM内存的版本和状态,设置电容寿命和内存寿命的合格范围的上、下限值。
为了便于对本发明的理解,下面以本发明检测产线NVDIMM内存的原理,结合实施例中对NVDIMM内存进行检测的过程,对本发明提供的一种检测产线NVDIMM内存的方法做进一步的描述。
具体的,所述一种检测产线NVDIMM内存的方法包括:
S1、根据NVDIMM内存的开源源码构建诊断DIAG系统;
根据NVDIMM开源源码,封装编译出可执行方法和内核文件,所述可执行方法包括:nvdimm_getstatus(状态与版本查询)、nvdimm_getnum(数量查询)、nvdimm_geteslifetime(电容寿命查询)、nvdimm_getnvlifetime(内存寿命查询)、nvdimm_enablebackup(内存备电功能)和nvdimm_clearlog(擦除日志功能),并根据上述可执行方法,生成对应的功能单元,根据所述功能单元开发诊断DIAG系统的脚本文件nvdimmservice,并将所述脚本文件打包成诊断服务包,存储在服务器端;所述内核文件包括:jedec_nvdimm.ko、nvdimm_core.ko、nvdimm_smbus.ko、和nvdimm_mem.ko,使用诊断DIAG系统的insmod命令载入所述内核文件,使用chkconfig--add nvdimmservice设置诊断DIAG系统为自启动模式。
S2、通过预执行环境的方式引导待测NVDIMM内存进入所述诊断DIAG系统;
客户机接入生产网络,客户机自动下载所述诊断服务包,并根据所述诊断服务包将所述诊断DIAG系统安装到客户机本地运行;客户机自启动诊断DIAG系统,开始进行NVDIMM内存检测。
S3、获取NVDIMM内存的功能信息和合格范围;
使用步骤S1所述的可执行方法获取NVDIMM内存的状态、版本、电容寿命和内存寿命;根据NVDIMM内存的版本和状态,设置电容寿命和内存寿命的合格范围的上、下限值。
S4、判断所述功能信息是否在合格范围之内:若是,则判断NVDIMM内存合格;若否,则判断NVDIMM内存不合格。
检查电容寿命和内存寿命是否与其对应的合格范围之内,如果不在合格范围之内,则显示检测失败,最后利用S1的日志擦除功能来擦除检测日志;检验完成后使用系统命令rmmod释放步骤S2中载入的系统启动时的加载内核文件,并上传日志生成诊断记录。
如图2示,该系统200包括:
系统构建单元210,配置用于根据NVDIMM内存的开源源码构建诊断DIAG系统;
系统启动单元220,配置用于通过预执行环境的方式引导待测NVDIMM内存进入所述诊断DIAG系统;
信息获取单元230,配置用于获取NVDIMM内存的功能信息和合格范围;
检测执行单元240,配置用于判断所述功能信息是否在合格范围之内:若是,则判断NVDIMM内存合格;若否,则判断NVDIMM内存不合格。
可选地,作为本发明一个实施例,所述系统构建单元包括:
源码编译模块,配置用于根据NVDIMM内存的开源源码封装编译出可执行方法;
功能建立模块,配置用于根据所述可执行方法和NVDIMM内存的生产环境建立相互独立的功能单元;
脚本打包模块,配置用于根据所述功能单元开发诊断DIAG系统的脚本文件,并将所述脚本文件打包成诊断服务包。
可选地,作为本发明一个实施例,所述系统构建单元还包括:
内核编译模块,配置用于根据NVDIMM内存的开源源码封装编译出内核文件;
启动设置模块,配置用于将所述内核文件载入诊断DIAG系统,并设置诊断DIAG系统为自启动模式。
可选地,作为本发明一个实施例,所述系统还包括:
内核释放单元,配置用于检验完成后释放系统启动时加载的内核文件, 并生成诊断记录日志。
尽管通过参考附图并结合优选实施例的方式对本发明进行了详细描述,但本发明并不限于此。在不脱离本发明的精神和实质的前提下,本领域普通技术人员可以对本发明的实施例进行各种等效的修改或替换,而这些修改或替换都应在本发明的涵盖范围内/任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。

Claims (10)

  1. 一种检测产线NVDIMM内存的方法,其特征在于,包括:
    根据NVDIMM内存的开源源码构建诊断DIAG系统;
    通过预执行环境的方式引导待测NVDIMM内存进入所述诊断DIAG系统;
    获取NVDIMM内存的功能信息和合格范围;
    判断所述功能信息是否在合格范围之内:若是,则判断NVDIMM内存合格;若否,则判断NVDIMM内存不合格。
  2. 根据权利要求1所述的一种检测产线NVDIMM内存的方法,其特征在于,所述根据NVDIMM内存的开源源码构建诊断DIAG系统,包括:
    根据NVDIMM内存的开源源码封装编译出可执行方法,所述可执行方法包括:NVDIMM内存的状态、版本、数量、电容寿命和内存寿命的查询方法,内存备电方法和日志擦除方法;
    根据所述可执行方法和NVDIMM内存的生产环境建立相互独立的功能单元,所述功能单元包括:NVDIMM内存的状态、版本、数量、电容寿命和内存寿命的查询功能、内存备电功能和日志擦除功能;
    根据所述功能单元开发诊断DIAG系统的脚本文件,并将所述脚本文件打包成诊断服务包。
  3. 根据权利要求1所述的一种检测产线NVDIMM内存的方法,其特征在于,所述根据NVDIMM内存的开源源码构建诊断DIAG系统,还包括:
    根据NVDIMM内存的开源源码封装编译出内核文件;
    将所述内核文件载入诊断DIAG系统,并设置诊断DIAG系统为自启动模式。
  4. 根据权利要求3所述的一种检测产线NVDIMM内存的方法,其特征在于,所述方法还包括:
    检验完成后释放系统启动时加载的内核文件,并生成诊断记录日志。
  5. 根据权利要求3所述的一种检测产线NVDIMM内存的方法,其特征在于,所述通过预执行环境的方式引导待测NVDIMM内存进入所述诊 断DIAG系统,包括:
    客户机自动下载所述诊断服务包;
    客户机根据所述诊断服务包安装所述诊断DIAG系统;
    客户机自启动诊断DIAG系统。
  6. 根据权利要求1所述的一种检测产线NVDIMM内存的方法,其特征在于,所述获取NVDIMM内存的功能信息和合格范围,包括:
    获取NVDIMM内存的功能信息,所述功能信息包括NVDIMM内存的状态、版本、电容寿命和内存寿命;
    根据NVDIMM内存的版本和状态,设置电容寿命和内存寿命的合格范围的上、下限值。
  7. 一种检测产线NVDIMM内存的系统,其特征在于,包括:
    系统构建单元,配置用于根据NVDIMM内存的开源源码构建诊断DIAG系统;
    系统启动单元,配置用于通过预执行环境的方式引导待测NVDIMM内存进入所述诊断DIAG系统;
    信息获取单元,配置用于获取NVDIMM内存的功能信息和合格范围;
    检测执行单元,配置用于判断所述功能信息是否在合格范围之内:若是,则判断NVDIMM内存合格;若否,则判断NVDIMM内存不合格。
  8. 根据权利要求7述的一种检测产线NVDIMM内存的系统,其特征在于,所述系统构建单元包括:
    源码编译模块,配置用于根据NVDIMM内存的开源源码封装编译出可执行方法;
    功能建立模块,配置用于根据所述可执行方法和NVDIMM内存的生产环境建立相互独立的功能单元;
    脚本打包模块,配置用于根据所述功能单元开发诊断DIAG系统的脚本文件,并将所述脚本文件打包成诊断服务包。
  9. 根据权利要求7述的一种检测产线NVDIMM内存的系统,其特征在于,所述系统构建单元还包括:
    内核编译模块,配置用于根据NVDIMM内存的开源源码封装编译出 内核文件;
    启动设置模块,配置用于将所述内核文件载入诊断DIAG系统,并设置诊断DIAG系统为自启动模式。
  10. 根据权利要求7所述的一种检测产线NVDIMM内存的系统,其特征在于,所述系统还包括:
    内核释放单元,配置用于检验完成后释放系统启动时加载的内核文件,并生成诊断记录日志。
PCT/CN2021/071208 2020-03-12 2021-01-12 一种检测产线nvdimm内存的方法及系统 WO2021179787A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010171729.0 2020-03-12
CN202010171729.0A CN111475353B (zh) 2020-03-12 2020-03-12 一种检测产线nvdimm内存的方法及系统

Publications (1)

Publication Number Publication Date
WO2021179787A1 true WO2021179787A1 (zh) 2021-09-16

Family

ID=71747390

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/071208 WO2021179787A1 (zh) 2020-03-12 2021-01-12 一种检测产线nvdimm内存的方法及系统

Country Status (2)

Country Link
CN (1) CN111475353B (zh)
WO (1) WO2021179787A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475353B (zh) * 2020-03-12 2021-10-22 苏州浪潮智能科技有限公司 一种检测产线nvdimm内存的方法及系统
CN112083944A (zh) * 2020-09-11 2020-12-15 深圳爱克莱特科技股份有限公司 Linux设备的系统升级装置及方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727371A (zh) * 2010-01-04 2010-06-09 浪潮电子信息产业股份有限公司 在bios中加入并运行内存检测工具的方法
US20110107160A1 (en) * 2009-10-29 2011-05-05 Freescale Semiconductor, Inc. Time-based techniques for detecting an imminent read failure in a memory array
CN109542476A (zh) * 2018-11-01 2019-03-29 郑州云海信息技术有限公司 一种自动识别hdd种类并刷新硬盘固件的方法、系统及装置
CN111475353A (zh) * 2020-03-12 2020-07-31 苏州浪潮智能科技有限公司 一种检测产线nvdimm内存的方法及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102468992A (zh) * 2010-11-16 2012-05-23 鸿富锦精密工业(深圳)有限公司 Pxe测试系统及方法
CN104123224A (zh) * 2014-07-09 2014-10-29 浪潮电子信息产业股份有限公司 一种基于ia-64架构下的简易内存测试方法
CN104407951A (zh) * 2014-11-05 2015-03-11 浪潮电子信息产业股份有限公司 一种自动化进行服务器整机测试的方法
CN105930239A (zh) * 2016-04-20 2016-09-07 浪潮电子信息产业股份有限公司 一种计算机pxe测试方法
CN107038098A (zh) * 2017-04-28 2017-08-11 郑州云海信息技术有限公司 一种可批量通过网络进行服务器内存诊断的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110107160A1 (en) * 2009-10-29 2011-05-05 Freescale Semiconductor, Inc. Time-based techniques for detecting an imminent read failure in a memory array
CN101727371A (zh) * 2010-01-04 2010-06-09 浪潮电子信息产业股份有限公司 在bios中加入并运行内存检测工具的方法
CN109542476A (zh) * 2018-11-01 2019-03-29 郑州云海信息技术有限公司 一种自动识别hdd种类并刷新硬盘固件的方法、系统及装置
CN111475353A (zh) * 2020-03-12 2020-07-31 苏州浪潮智能科技有限公司 一种检测产线nvdimm内存的方法及系统

Also Published As

Publication number Publication date
CN111475353A (zh) 2020-07-31
CN111475353B (zh) 2021-10-22

Similar Documents

Publication Publication Date Title
US11281570B2 (en) Software testing method, system, apparatus, device medium, and computer program product
US10067858B2 (en) Cloud-based software testing
US8839201B2 (en) Capturing test data associated with error conditions in software item testing
US6189114B1 (en) Data processing system diagnostics
US9292416B2 (en) Software development kit testing
US8839202B2 (en) Test environment managed within tests
WO2021179787A1 (zh) 一种检测产线nvdimm内存的方法及系统
US9684587B2 (en) Test creation with execution
US8949794B2 (en) Binding a software item to a plain english control name
CN109726107A (zh) 测试方法、装置、设备及存储介质
US9594670B2 (en) Managing software dependencies during software testing and debugging
US20200151074A1 (en) Validation of multiprocessor hardware component
CN103186463B (zh) 确定软件的测试范围的方法和系统
CN106649020A (zh) 一种存储器机箱烧录信息的检测方法及装置
US8510611B2 (en) Computer apparatus
US10387294B2 (en) Altering a test
CN113315675B (zh) 一种白盒交换机U-Boot自动化测试方法、系统和存储介质
CN114880177A (zh) 固态硬盘的整机异常掉电测试方法、装置和计算机设备
US20140109056A1 (en) Scheduled software item testing
US8997048B1 (en) Method and apparatus for profiling a virtual machine
JP2008293382A (ja) テスト仕様自動生成方式
Venkatesan et al. Junit framework for unit testing. pdf
US20040025081A1 (en) System and method for collecting code coverage information before file system is available
US7636869B2 (en) Program dynamically burnt system and method
AU2023201696B2 (en) Method and device for determining coverage in HIL testing, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21768779

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21768779

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21768779

Country of ref document: EP

Kind code of ref document: A1