CN113064774B - Server-based memory integrated refresh diagnosis method and system and storage medium - Google Patents

Server-based memory integrated refresh diagnosis method and system and storage medium Download PDF

Info

Publication number
CN113064774B
CN113064774B CN202110259891.2A CN202110259891A CN113064774B CN 113064774 B CN113064774 B CN 113064774B CN 202110259891 A CN202110259891 A CN 202110259891A CN 113064774 B CN113064774 B CN 113064774B
Authority
CN
China
Prior art keywords
memory
diagnosis
module
refreshing
server
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
Application number
CN202110259891.2A
Other languages
Chinese (zh)
Other versions
CN113064774A (en
Inventor
张增建
王佩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Yingxin Computer Technology Co Ltd
Original Assignee
Shandong Yingxin Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Yingxin Computer Technology Co Ltd filed Critical Shandong Yingxin Computer Technology Co Ltd
Priority to CN202110259891.2A priority Critical patent/CN113064774B/en
Publication of CN113064774A publication Critical patent/CN113064774A/en
Application granted granted Critical
Publication of CN113064774B publication Critical patent/CN113064774B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention belongs to the technical field of memory refresh diagnosis, and provides a server-based memory integrated refresh diagnosis method, a system and a storage medium, which comprise the following steps: s1: after a server is started and enters a system, a main control program unit is operated, a tool installation module is called, a refreshing tool is installed and configured, and a current memory is detected; s2: when the memory is detected, acquiring a firmware version and judging whether the memory needs to be refreshed or not; s3: calling a diagnosis module, diagnosing related information of the memory, and outputting a diagnosis result; s4: and judging the diagnosis result to obtain a diagnosis conclusion.

Description

Server-based memory integrated refresh diagnosis method and system and storage medium
Technical Field
The invention belongs to the technical field of memory refreshing diagnosis, and particularly relates to a server-based memory integrated refreshing diagnosis method, a server-based memory integrated refreshing diagnosis system and a storage medium.
Background
Currently, large customers often require Intel PMEM memory at the assembly plant for the server. In the aspect of using the PMEM, the condition that the version of the firmware of the material incoming material is lower often occurs, and abnormal error reporting occurs when the material incoming material is directly used, so that the firmware needs to be refreshed in advance. However, the establishment of a refreshing platform on the firmware refreshing of the PMEM memory is complex, the traditional refreshing platform needs a hard disk installation system, the environment establishment is slow, and the PMEM memory is not suitable for batch operation; meanwhile, when the PMEM is directly upgraded from a lower version, a media error abnormal log may appear, the abnormal log is complex to clean, the BIOS option of the server needs to be modified, and then the server is restarted. This is a technical problem in the prior art.
In view of the above, the present invention provides a server-based memory integrated refresh diagnostic method, system and storage medium; before the complete machine diagnosis of the server, the method is applied to complete machine production under the condition of ensuring no problem in the PMEM so as to solve the defects and problems in the prior art.
Disclosure of Invention
Aiming at the problems that a refreshing platform is difficult to build, the refreshing efficiency is low, abnormal logs are difficult to clean, the refreshing platform is directly used, the refreshing platform is easy to assemble into a whole machine with problems, and the direct production of the whole machine is not facilitated in the refreshing of the PMEM memory in the prior art; the invention provides a server-based memory integrated refreshing diagnosis method, a server-based memory integrated refreshing diagnosis system and a storage medium, which aim to solve the technical problems.
In order to achieve the purpose, the invention provides the following technical scheme:
in a first aspect, the present invention provides a server-based integrated memory refresh diagnostic method, including the following steps:
s1: after a server is started and enters a system, a main control program unit is operated, a tool installation module is called, a refreshing tool is installed and configured, and a current memory is detected;
s2: when the memory is detected, acquiring a firmware version and judging whether the memory needs to be refreshed or not;
s3: calling a diagnosis module, diagnosing related information of the memory, and outputting a diagnosis result;
s4: and judging the diagnosis result to obtain a diagnosis conclusion.
Preferably, the preparation before the server is started and enters the system in the step S1 includes preparing a start tool, and packaging and integrating a memory refresh tool and a refresh diagnostic package into a linux system mirror image; and preparing a universal server, installing a memory on the universal server, and starting by using a starting tool.
Preferably, the starting tool adopts a common U disk, and records the U disk into a system U disk.
Preferably, the general-purpose server is provided with a memory and a CPU, and adopts a PMEM memory.
The effect of this step is: the refreshing diagnosis work of the memory can be realized by arranging the memory and the CPU on the server, resources are greatly saved, a plurality of universal servers and a plurality of system USB flash disks are prepared simultaneously, the building of a refreshing platform can be realized without extra system installation, and the refreshing efficiency is greatly improved.
Preferably, in step S2, it is determined whether the memory needs to be refreshed, first, a firmware version is obtained, a target value is set, if the obtained firmware version is different from the set target value, the main control program unit calls the refresh module to refresh the memory, after the refresh is completed, the main control program unit modifies bios setting, and calls the log cleaning module to restart the host, in the process of restarting the host, the log cleaning is completed, and after entering the system again, the diagnostic module is called to diagnose the memory; if the acquired firmware version is the same as the set target value, outputting a correct prompt statement, and calling a diagnosis module to diagnose the memory.
Preferably, in step S3, the related information of the memory includes the number of the memory, the firmware version, the health status, the log information, the memory bandwidth, and the rate, and makes a diagnosis, and outputs a diagnosis result.
The effect of this step is: the state of the memory is comprehensively diagnosed by diagnosing the related information of the memory, so that the accuracy of diagnosis is improved, and the diagnosis is more scientific.
Preferably, in step S4, it is determined whether the memory diagnosis result is normal, and if the memory diagnosis result is normal, the memory is prompted to be replaced and the next round of refreshing is started; if not, the serial number and the error information of the abnormal memory product are output, and a maintenance prompt is output.
The effect of this step is: prompt output enables an operator to know the diagnosis result of the memory in time, and makes the next operation according to different prompts, so that the memory diagnosis efficiency is improved.
In a second aspect, the present invention provides a system for diagnosing memory refresh based on server, including: the system comprises a server, a main control program unit, a tool installation module, a refreshing module and a diagnosis module; and after the server enters the system, the main control program unit is operated, and the main control program unit calls the tool installation module, the refreshing module and the diagnosis module to realize the refreshing diagnosis operation on the memory.
Preferably, the server is a general server, and the general server is provided with a memory and a CPU.
Preferably, the server is provided with a memory and is started by a start tool.
Preferably, the starting tool adopts a common U disk, and records the U disk into a system U disk.
Preferably, the step of the main control program unit determining whether the memory needs to be refreshed is as follows:
the method comprises the following steps: firstly, acquiring a firmware version and setting a target value;
step two: then comparing whether the obtained firmware version is the same as the set target value;
step three: if the difference is not the same, the main control program unit calls a refreshing module to refresh the PMEM memory, after refreshing is completed, the main control program unit modifies bios setting, calls a log cleaning module to restart the host, completes log cleaning in the process of restarting the host, and calls a diagnosis module after entering the system again to diagnose the memory;
step four: if the two are the same, outputting a correct prompt statement, and calling a diagnosis module to diagnose the PMEM memory.
Preferably, the main control program unit calls the diagnosis module, firstly judges whether the PMEM memory diagnosis result is normal, and prompts to replace the memory and starts to refresh the next round if the PMEM memory diagnosis result is normal; if not, the serial number and the error information of the abnormal memory product are output, and a maintenance prompt is output.
In a third aspect, the present invention provides a computer storage medium having stored therein instructions which, when run on a computer, cause the computer to perform the above method.
In a fourth aspect, a terminal is provided, including: a processor, a memory, wherein the memory is used for storing a computer program, and the processor is used for calling and running the computer program from the memory, so that the terminal executes the method.
The invention has the advantages that the invention can realize the fast refreshing of the PMEM memory, the log cleaning and the memory diagnosis, can call the refreshing module and the diagnosis module through the main control program unit, realizes the firmware refreshing, the log cleaning and the memory diagnosis, ensures that the PMEM is in a normal state before being assembled to the whole machine, has simple and convenient refreshing platform construction, improves the automation level and the production efficiency, and is convenient for the mass production of the whole machine. In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a server-based memory integrated refresh diagnosis method according to embodiment 1 of the present invention.
Fig. 2 is a schematic block diagram of a system for diagnosing memory refresh based on server in an integrated manner according to embodiment 2 of the present invention.
Fig. 3 is a flowchart of a PMEM memory refresh procedure provided in embodiment 2 of the present invention.
The system comprises a server-based memory integrated refreshing diagnosis system, a server 2, a PMEM memory 3, a main control program unit 4, a tool installation module 5, a refreshing module 6 and a diagnosis module 7.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
as shown in fig. 1, the present embodiment provides a method for diagnosing memory refresh based on server integration, including the following steps:
s1: after the universal server is started and enters a system, a main control program unit is operated, a tool installation module is called, a refreshing tool is installed and configured, and a current memory is detected;
the preparation before the universal server is started and enters the system in the step S1 comprises the steps of preparing a starting tool, and packaging and integrating a memory refreshing tool and a refreshing diagnostic program package into a linux system mirror image; and preparing a universal server, installing a memory on the universal server, and starting by using a starting tool. The starting tool adopts a common U disk, the U disk is recorded into a system U disk, the general server is provided with a memory and a CPU, and a PMEM memory is adopted.
The effect of this step is: the PMEM memory refreshing diagnosis work can be achieved by arranging the memory and the CPU on the universal server, resources are greatly saved, a plurality of universal servers and a plurality of system U disks are prepared simultaneously, the refreshing platform can be built without extra system installation, and refreshing efficiency is greatly improved.
S2: when the PMEM memory is detected, acquiring a firmware version, and judging whether the PMEM memory needs to be refreshed or not;
in the step S2, whether the PMEM memory needs to be refreshed is determined, first, a firmware version is obtained, a target value is set, then, whether the obtained firmware version is the same as the set target value is compared, if not, the main control program unit calls the refresh module to refresh the PMEM memory, after the refresh is completed, the main control program unit modifies bios setting, and calls the log cleaning module to restart the host, in the process of restarting the host, log cleaning is completed, and after entering the system again, the diagnostic module is called to diagnose the PMEM memory; if yes, outputting a correct prompt statement, and then calling a diagnosis module to diagnose the PMEM memory.
S3: calling a diagnosis module, diagnosing the number, firmware version, health state, log information, memory bandwidth and speed of the PMEM memory, and outputting a diagnosis result;
the effect of this step is: through diagnosing the relevant information of the PMEM memory, the state of the PMEM memory is comprehensively diagnosed, the diagnosis accuracy is improved, and the diagnosis is more scientific.
S4: judging the diagnosis result to obtain a diagnosis conclusion;
in the step S4, whether the PMEM memory diagnosis result is normal or not is judged, if so, the memory is prompted to be replaced, and the next round of refreshing is started; if not, the serial number and the error information of the abnormal memory product are output, and a maintenance prompt is output.
The effect of this step is: prompt output enables an operator to know the diagnosis result of the PMEM memory in time, and makes the next operation according to different prompts, so that the memory diagnosis efficiency is improved.
Example 2:
as shown in fig. 2, the present embodiment provides a system 1 for diagnosing memory refresh based on server, which includes: the system comprises a server 2, a main control program unit 4, a tool installation module 5, a refreshing module 6 and a diagnosis module 7; the server 2 adopts a general server, and a memory and a CPU are arranged on the general server. The PMEM memory 3 is installed on the server 2 and started through a system U disk, the system U disk is recorded through a common U disk, the server 2 runs the main control program unit 4 after entering the system, and the main control program unit 4 calls the tool installation module 5, the refreshing module 6 and the diagnosis module 7 to realize refreshing diagnosis operation on the PMEM memory 3.
As shown in fig. 3, the step of the main control program unit 4 determining whether the PMEM memory 3 needs to be refreshed is as follows: the method comprises the following steps: firstly, acquiring a firmware version and setting a target value; step two: then comparing whether the obtained firmware version is the same as the set target value; step three: if the difference is not the same, the main control program unit 4 calls the refreshing module 6 to refresh the PMEM memory 3, after the refreshing is finished, the main control program unit 4 modifies bios setting, calls the log cleaning module to restart the host, finishes the log cleaning in the process of restarting the host, and calls the diagnosis module 7 after entering the system again to diagnose the PMEM memory 3; step four: if the two are the same, outputting a correct prompt statement, and then calling a diagnosis module 7 to diagnose the PMEM memory 3.
The main control program unit 4 calls a diagnosis module 7, firstly judges whether the diagnosis result of the PMEM memory 3 is normal, and prompts to replace the memory and starts to refresh the next round if the diagnosis result is normal; if not, the serial number and the error information of the abnormal memory product are output, and a maintenance prompt is output.
Example 3:
the present embodiments provide a computer storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the above-described method.
Example 4:
the present embodiment provides a terminal, including:
a processor, a memory, wherein the memory is used for storing a computer program, and the processor is used for calling and running the computer program from the memory, so that the terminal executes the method.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. A memory integrated refreshing diagnosis method based on a server is characterized by comprising the following steps:
s1: after a server is started and enters a system, running a main control program unit and detecting a current memory;
s2: when the memory is detected, acquiring a firmware version and judging whether the memory needs to be refreshed or not;
s3: calling a diagnosis module, diagnosing related information of the memory, and outputting a diagnosis result;
s4: judging a diagnosis result to obtain a diagnosis conclusion;
in the step S1, a refreshing tool and a refreshing diagnosis tool package are packaged and integrated into a linux system image, a main control program unit calls a tool installation module, and the refreshing tool is installed and configured; in the step S2, it is determined whether the memory needs to be refreshed, first, a firmware version is obtained, a target value is set, if the obtained firmware version is different from the set target value, the main control program unit invokes the refresh module to refresh the memory, after the refresh is completed, the main control program unit modifies bios settings, and invokes the log cleaning module to restart the host, in the process of restarting the host, the log cleaning is completed, and after entering the system again, the diagnostic module is invoked to diagnose the memory; if the acquired firmware version is the same as the set target value, outputting a correct prompt statement, and calling a diagnosis module to diagnose the memory.
2. The server-based memory integrated refresh diagnostic method according to claim 1, characterized in that a PMEM memory is used.
3. The server-based memory integrated refresh diagnosis method according to claim 1, wherein in step S3, the relevant information of the memory includes the number of memories, firmware version, health status, log information, memory bandwidth, and speed to make a diagnosis.
4. The server-based integrated memory refresh diagnosis method according to claim 3, wherein in step S4, it is determined whether the memory diagnosis result is normal, and if so, it is prompted to replace the memory and start the next refresh cycle; if not, the serial number and the error information of the abnormal memory product are output, and a maintenance prompt is output.
5. A memory integrated refreshing diagnosis system based on a server is characterized by comprising: the system comprises a server, a main control program unit, a tool installation module, a refreshing module and a diagnosis module; after entering the system, the server runs a main control program unit, and the main control program unit calls a tool installation module, a refreshing module and a diagnosis module to realize the refreshing diagnosis operation of the memory;
judging whether the memory needs to be refreshed, firstly obtaining a firmware version, setting a target value, if the obtained firmware version is different from the set target value, calling a refreshing module by a main control program unit, refreshing the memory, after refreshing is finished, modifying bios setting by the main control program unit, calling a log cleaning module to restart the host, completing log cleaning in the process of restarting the host, entering the system again, calling a diagnosis module, and diagnosing the memory; if the acquired firmware version is the same as the set target value, outputting a correct prompt statement, and calling a diagnosis module to diagnose the memory.
6. The system according to claim 5, wherein when the memory is diagnosed, the main control program unit calls the diagnosis module to determine whether the memory diagnosis result is normal, and if so, prompts to replace the memory and starts to refresh the next round; if not, outputting the serial number of the abnormal memory product and error information, and outputting a maintenance prompt.
7. A computer storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method of any one of claims 1-4.
CN202110259891.2A 2021-03-10 2021-03-10 Server-based memory integrated refresh diagnosis method and system and storage medium Active CN113064774B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110259891.2A CN113064774B (en) 2021-03-10 2021-03-10 Server-based memory integrated refresh diagnosis method and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110259891.2A CN113064774B (en) 2021-03-10 2021-03-10 Server-based memory integrated refresh diagnosis method and system and storage medium

Publications (2)

Publication Number Publication Date
CN113064774A CN113064774A (en) 2021-07-02
CN113064774B true CN113064774B (en) 2023-02-28

Family

ID=76560344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110259891.2A Active CN113064774B (en) 2021-03-10 2021-03-10 Server-based memory integrated refresh diagnosis method and system and storage medium

Country Status (1)

Country Link
CN (1) CN113064774B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1904833A (en) * 2005-07-29 2007-01-31 华邦电子股份有限公司 Method for updating memory card firmware
CN102081562A (en) * 2009-11-30 2011-06-01 华为技术有限公司 Equipment diagnosis method and system
CN102331939A (en) * 2011-06-23 2012-01-25 中颖电子股份有限公司 Memory card capable of being upgraded by using any card reader
CN106843957B (en) * 2017-01-17 2021-03-16 青岛海信移动通信技术股份有限公司 System firmware upgrading method and device
CN110704287B (en) * 2019-08-31 2022-07-08 苏州浪潮智能科技有限公司 RAID card abnormal log collection method and system under Linux system and storage medium
CN111142896A (en) * 2019-12-09 2020-05-12 苏州浪潮智能科技有限公司 Method and device for upgrading firmware of storage device and readable medium
CN111158965A (en) * 2019-12-13 2020-05-15 苏州浪潮智能科技有限公司 Method for evaluating BPS memory mode
CN111522702A (en) * 2020-04-21 2020-08-11 苏州浪潮智能科技有限公司 Nonvolatile memory bandwidth detection method, device, equipment and readable medium

Also Published As

Publication number Publication date
CN113064774A (en) 2021-07-02

Similar Documents

Publication Publication Date Title
US8418005B2 (en) Methods, apparatus and articles of manufacture to diagnose temperature-induced memory errors
CN114168222B (en) Method and device for acquiring time consumption during starting, terminal equipment and storage medium
CN108768793B (en) Storage dual-active link fault testing method and device
CN115033419B (en) Method and system for realizing hardware fault self-healing
CN111338698A (en) Method and system for accurately booting server by BIOS (basic input output System)
CN113064774B (en) Server-based memory integrated refresh diagnosis method and system and storage medium
CN112631841A (en) Method, system and medium for cyclic aging test and data collection
CN111475353B (en) Method and system for detecting NVDIMM memory of production line
CN112985488B (en) Temperature stress accelerated life test system and method for sensor
CN112269697B (en) Equipment storage performance testing method, system and related device
CN113503289A (en) Hydraulic motor fault detection method, device and system and excavator
CN111666200A (en) Testing method and terminal for time consumption of cold start of PC software
CN109408145B (en) Processor starting method, device, system and computer readable storage medium
CN110928787A (en) Automatic test script recording and playback method, device, equipment and storage medium
EP3958124B1 (en) Flight management system and method for reporting an intermitted error
CN115617668A (en) Compatibility testing method, device and equipment
CN111400113B (en) Complete machine self-checking method, device and system of computer system
JP6217086B2 (en) Information processing apparatus, error detection function diagnosis method, and computer program
CN111290920B (en) System, method and storage medium for testing CPU temperature based on PECI bus
CN113094221B (en) Fault injection method, device, computer equipment and readable storage medium
CN110209541B (en) Restart testing method and device under LINUX system hard disk load state
CN110489316A (en) A kind of server performance test method and system
CN116382965A (en) Inspection method and device for abnormal restarting of host
CN117472657A (en) Error repairing method, device, equipment and storage medium
CN113127277A (en) Equipment testing method and device, electronic equipment and readable 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