CN104199745A - System data protection testing method based on DOS environment - Google Patents

System data protection testing method based on DOS environment Download PDF

Info

Publication number
CN104199745A
CN104199745A CN201410439735.4A CN201410439735A CN104199745A CN 104199745 A CN104199745 A CN 104199745A CN 201410439735 A CN201410439735 A CN 201410439735A CN 104199745 A CN104199745 A CN 104199745A
Authority
CN
China
Prior art keywords
testing
data
data protection
dos environment
dos
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410439735.4A
Other languages
Chinese (zh)
Inventor
颜伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201410439735.4A priority Critical patent/CN104199745A/en
Publication of CN104199745A publication Critical patent/CN104199745A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

The invention provides a system data protection testing method based on the DOS environment. The testing method relates to a BIOS operation module used for setting the data protection mode, a CPLD module with a system power-down triggering function, a battery module providing power for a mini system, and a memory read-write tool module used in the DOS environment. Compared with the prior art, the testing method has the advantages that the testing method is based on the DOS environment, system configuration which is simplified to the maximum is used to achieve analogue function testing, testing complicity is reduced, testing efficiency is improved, and then the project developing time is shortened; furthermore, a gap in data protection function testing is filled, and the data protection function testing is made to be more suitable for the field of development testing of storage servers; besides, the design is reasonable, the structure is simple, using is convenient, and therefore using value is high.

Description

A kind of method of testing of the system data protection based on DOS environment
Technical field
The present invention relates to Computer Storage Server development field, specifically a kind of method of testing of the system data protection based on DOS environment.
Background technology
On the memory device of various application systems, information is just growing at top speed in the mode of data storage, is constantly advancing the process of global IT application.The thing followed is that the demand of magnanimity information storage constantly increases.Although the memory capacity of file server and database server is in continuous expansion, can or can encounter space is being doubled and redoubled, the demand that user has stores service capacity to increase on the one hand, also wish on the other hand not affect current application when machine room accident power-off, guarantee that the data in buffer memory can not lost.Therefore storage server possesses data protection function has become an indispensable gordian technique of industry; the implementation of this technology is different; but in principle, be all that data are saved in non-volatile storage medium, there are vigorous vitality and vast potential for future development in the storage server field that is applied in of visual data defencive function.
Yet; the data protection function of storage server does not have general testing tool and method at present; because Client application is different; the operating system of using is also not quite similar; but be consistent on to the requirement of data protection; need to ensure and data cachedly when unexpected power down, can not lose, to can not impact service application during power recovery.Therefore fast and convenient checking means are seeming particularly important in R&D process fast, and method of testing based on DOS environment can improve the test duration greatly, and to platform resource demand, be also considerably less, the true application under authentication mechanism and operating system can be consistent again.Comprehensive these factors, in current storage server performance history, propose a kind of means of testing that is applicable to research and development fast and just seem very necessary.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of method of testing of the system data protection based on DOS environment is provided.
Technical scheme of the present invention realizes in the following manner, and its method of testing is as follows:
(1), the BIOS operational module of data protection pattern is set;
(2), the CPLD module of system power failure Trigger Function is provided;
(3), the battery module of mini system power supply is provided;
(4), memory read-write tool model under DOS.
The BIOS operational module that data protection pattern is set can be realized current system pattern is set is data protection pattern, and after the unexpected power down of system, realizes the write activity of data from internal memory to hard disk; After systematic electricity recovers, the data on hard disk are write back to internal memory;
Provide the CPLD module of system power failure Trigger Function to be mainly responsible for detecting system power state, while occurring if any power down situation, can notify battery to provide electric power support to the key chip of system.
Provide the battery module of mini system power supply after system meets accident power down, to carry out electric power output, meet system and complete data and from internal memory, be saved in the action of hard disk.
Under DOS, memory read-write tool model is mainly responsible for writing test data toward memory protect region, and can check the data integrity in memory protect region.
Advantage of the present invention is:
The method of testing of a kind of system data protection based on DOS environment of the present invention compared to the prior art, test gimmick based on DOS environment, the system configuration that collocation is simplified most, complete analog functuion test, reduced testing complex degree, improve testing efficiency, thereby can shorten the project development cycle; In addition; this method of testing has also been filled up a blank of data protection function test, make its development and testing field that is more suitable for storage server, and the present invention also has the features such as reasonable in design, simple in structure, easy to use; thereby, there is good use value.
Accompanying drawing explanation
Fig. 1 is a kind of structural representation of method of testing of the system data protection based on DOS environment.
Embodiment
Below in conjunction with accompanying drawing, the method for testing of a kind of system data protection based on DOS environment of the present invention is described in detail below.
As shown in Figure 1, the method for testing of a kind of system data protection based on DOS environment of the present invention, method of testing is as follows:
(1), the BIOS operational module of data protection pattern is set;
(2), the CPLD module of system power failure Trigger Function is provided;
(3), the battery module of mini system power supply is provided;
(4), memory read-write tool model under DOS.
The BIOS operational module that data protection pattern is set can be realized current system pattern is set is data protection pattern, and after the unexpected power down of system, realizes the write activity of data from internal memory to hard disk; After systematic electricity recovers, the data on hard disk are write back to internal memory.
Provide the CPLD module of system power failure Trigger Function to be mainly responsible for detecting system power state, while occurring if any power down situation, can notify battery to provide electric power support to the key chip of system.
Provide the battery module of mini system power supply after system meets accident power down, to carry out electric power output, meet system and complete data and from internal memory, be saved in the action of hard disk.
Under DOS, memory read-write tool model is mainly responsible for writing test data toward memory protect region, and can check the data integrity in memory protect region.
In the single control storage platform that is 2G at an Installed System Memory, by BIOS, protection memory size being set is that 1G(system free memory becomes 1G), pattern is data protection pattern; Restarting systems enters DOS environment, utilizes memory read-write instrument to the position of 0x40000000, to write the data of " 0xAA, 0xBB, 0xCC " three bytes; Now cut off AC power supplies, battery, by the electric power supply of adapter system critical piece, carries out data being copied to the action of hard disk from internal memory simultaneously, has copied rear system and can shut down; At this moment completed the action that data are preserved.
Need to confirm the integrality of these data below; connecting AC moves with simulation system power recovery; system starting process can move in the recovery of executing data from hard disk to internal memory; complete after recovery, system starts to DOS environment, now opens the data that memory read-write instrument is checked 0x40000000 place; if can see the data of " 0xAA; 0xBB, 0xCC " three bytes, the data protection function that can determine this system is normal.
Its processing and fabricating of method of testing of a kind of system data protection based on DOS environment of the present invention is very simple and convenient, can process to specifications shown in accompanying drawing.
Except the technical characterictic described in instructions, be the known technology of those skilled in the art.

Claims (5)

1. the method for testing that the system data based on DOS environment is protected, is characterized in that method of testing is as follows:
(1), the BIOS operational module of data protection pattern is set;
(2), the CPLD module of system power failure Trigger Function is provided;
(3), the battery module of mini system power supply is provided;
(4), memory read-write tool model under DOS.
2. the method for testing that a kind of system data based on DOS environment according to claim 1 is protected, the BIOS operational module that it is characterized in that arranging data protection pattern can be realized current system pattern is set is data protection pattern, and after the unexpected power down of system, realize the write activity of data from internal memory to hard disk; After systematic electricity recovers, the data on hard disk are write back to internal memory.
3. the method for testing that a kind of system data based on DOS environment according to claim 1 is protected; it is characterized in that providing the CPLD module of system power failure Trigger Function to be mainly responsible for detecting system power state; while occurring if any power down situation, can notify battery to provide electric power support to the key chip of system.
4. the method for testing that a kind of system data based on DOS environment according to claim 1 is protected; it is characterized in that providing the battery module of mini system power supply after system meets accident power down, to carry out electric power output, meet system and complete data and from internal memory, be saved in the action of hard disk.
5. the method for testing that a kind of system data based on DOS environment according to claim 1 is protected; it is characterized in that under DOS, memory read-write tool model is mainly responsible for writing test data toward memory protect region, and can check the data integrity in memory protect region.
CN201410439735.4A 2014-09-01 2014-09-01 System data protection testing method based on DOS environment Pending CN104199745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410439735.4A CN104199745A (en) 2014-09-01 2014-09-01 System data protection testing method based on DOS environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410439735.4A CN104199745A (en) 2014-09-01 2014-09-01 System data protection testing method based on DOS environment

Publications (1)

Publication Number Publication Date
CN104199745A true CN104199745A (en) 2014-12-10

Family

ID=52085042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410439735.4A Pending CN104199745A (en) 2014-09-01 2014-09-01 System data protection testing method based on DOS environment

Country Status (1)

Country Link
CN (1) CN104199745A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354241A (en) * 2016-08-31 2017-01-25 浪潮电子信息产业股份有限公司 Method, system and device for power fail safeguard of data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354241A (en) * 2016-08-31 2017-01-25 浪潮电子信息产业股份有限公司 Method, system and device for power fail safeguard of data

Similar Documents

Publication Publication Date Title
CN101916201B (en) Android-based mobile terminal cold-boot method and device
CN103970585B (en) Create the method and device of virtual machine
CN104021093A (en) Power-down protection method for memory device based on NVDIMM (non-volatile dual in-line memory module)
CN107076797B (en) Testing semiconductor memory power consumption based on executed access commands
CN103930878A (en) Method, apparatus and system for memory validation
CN103810020A (en) Virtual machine elastic scaling method and device
CN103744713A (en) Autonomous configuration method for FPGA (field programmable gate array)-based embedded dual-core system
CN102567146A (en) Log backup method and device and smart card
CN104133740A (en) Method for recovering abnormal power failure data
CN104781794A (en) In-place change between transient and persistent state for data structures in non-volatile memory
CN102024021A (en) Method for logging metadata in logical file system
CN104461773A (en) Backup deduplication method of virtual machine
CN104778116A (en) Multibreak software debugging device and method
CN103530242B (en) Nand Flash memorizer write operation process power down means of defence
CN103927215A (en) kvm virtual machine scheduling optimization method and system based on memory disk and SSD disk
CN103064800A (en) Power failure protection system and implementation method thereof
US20150261648A1 (en) Power monitoring system for virtual platform simulation
CN103593301A (en) Bad block management method and system
CN103488547A (en) Rapid reconstruction method of RAID group fault hard disk
CN104199745A (en) System data protection testing method based on DOS environment
CN104572350B (en) A kind of metadata processing method and device
CN101833483A (en) Embedded electronic device and data storage method
CN103914330A (en) Raid card configuring method and computer under loongson platform
CN103823637A (en) Data processing method and data processing device
CN105955852A (en) Server backing-up method and device and server restoring method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141210