CN114328134B - Dynamic testing system for computer memory - Google Patents
Dynamic testing system for computer memory Download PDFInfo
- Publication number
- CN114328134B CN114328134B CN202210256121.7A CN202210256121A CN114328134B CN 114328134 B CN114328134 B CN 114328134B CN 202210256121 A CN202210256121 A CN 202210256121A CN 114328134 B CN114328134 B CN 114328134B
- Authority
- CN
- China
- Prior art keywords
- cpu
- computer memory
- module
- monitoring
- computer
- 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
Images
Abstract
The invention relates to a computer memory dynamic test system, comprising: the monitoring module sends a monitoring command to the information reading and writing module under the control of the CPU according to a set period; the information reading and writing module receives a monitoring command and then executes monitoring reading of a computer memory, the data backup module receives a feedback command and then acquires the reading and writing authority of the computer memory under the control of the CPU so as to read a process file recorded in the computer memory, and backups the process file to the virtual cache module, loads the process file in the virtual cache module under the control of the CPU and processes and analyzes the process file, and marks out a process file formed by system updating, system monitoring and computer task execution; and migrating the marked process file to a preset root directory in a hard disk of the computer.
Description
Technical Field
The invention relates to the technical field of computer memory monitoring, in particular to a computer memory dynamic test system.
Background
Computers are common devices, currently, the monitoring of computer memories utilizes manual acquisition of memory attributes, and process files generated in the execution process of the computers are acquired from the memory attributes, the process files are generally process data of different forms generated by system updating, system monitoring, computer task execution and user operation, generally, when the operations of reading, writing, deleting and the like of the process data are executed, users need to operate the process data, and for non-professional people, the process data are identified and cleared with certain difficulty.
Disclosure of Invention
In view of the above, the present invention is directed to a dynamic test system for computer memory, so as to solve the problems mentioned in the background art.
In order to achieve the purpose, the invention provides the following technical scheme:
the computer memory dynamic test system includes:
the monitoring module is arranged between the CPU and the computer memory and used for sending a monitoring command to the information reading and writing module under the control of the CPU according to a set period;
the information reading and writing module executes monitoring reading of the computer memory after receiving the monitoring command, and sends an instruction to the data backup module after the monitoring reading of the computer memory exceeds a set threshold;
the data backup module receives the feedback instruction, acquires the read-write permission of the computer memory under the control of the CPU to read the process file recorded in the computer memory, backs up the process file to the virtual cache module, and starts a deletion command under the control of the CPU to delete the process file recorded in the computer memory in the current period after the backup is finished;
the analysis module loads the process files in the virtual cache module under the control of the CPU, processes and analyzes the process files, and marks out the process files formed by system updating, system monitoring and computer task execution;
and the migration module receives the process file marked in the analysis module under the control of the CPU and migrates the marked process file to a root directory preset in a computer hard disk.
Further, the virtual cache module is a storage unit established outside the memory of the computer;
or, under the control of CPU, the memory unit is divided from the computer memory;
after the storage unit is established, embedding a monitoring program into the storage unit through a data interface of a CPU (Central processing Unit); the monitoring program is initially installed by keying in an initialization command under the control of the CPU, and the control program which is preset to be accessed and read is deployed and installed in the memory of the computer under the open command of the CPU in the process of initial installation to form the information reading and writing module.
Furthermore, the information reading and writing module has the authority of reading and writing the computer memory according to the open command of the CPU.
Further, the data backup module has:
the read-write permission unit is used for sending read-write permission of the acquired computer memory to the CPU according to the feedback instruction;
the file backup unit is used for reading the process file recorded in the computer memory and backing up the process file to the virtual cache module after the read-write permission of the computer memory permitted by the CPU is obtained;
the deleting unit is used for sending a deleting command to control the deleting unit to delete the process file recorded in the memory of the computer in the current period after the backup is finished;
and the process monitoring unit is used for automatically filtering the process file and marking the process file if the process file is monitored to be deleted unsuccessfully in the process of deleting the process file recorded in the current period computer memory by the deleting unit executing the deleting command, and simultaneously feeding the marking command back to the analysis module.
Further, the analysis module has:
the loading unit is used for loading the process files in the virtual cache module to the processing unit according to the received file time sequence;
the processing unit is used for performing attribute read-write operation on the process file;
an analysis unit for analyzing attributes of the process files to mark the process files formed by the system update, the system monitoring, and the computer task execution, and the cache files other than the process files.
Furthermore, when the analysis unit marks the process file according to the attribute of the analysis process file, compressing the process file formed by system updating, system monitoring and computer task execution, writing the execution authority of the compressed file in the compression process, and migrating the compressed file to a first directory preset in a computer hard disk in the migration execution process;
and converting the format of the cache files except the process file to a file with a uniform format and transferring the file to a second directory preset in a hard disk of the computer.
The invention provides a system capable of automatically monitoring a computer memory, which is a storage unit established outside the computer memory; or, under the control of CPU, the memory unit is divided from the computer memory; after the storage unit is established, embedding a monitoring program into the storage unit through a data interface of a CPU (Central processing Unit); the monitoring program is initially installed by keying in an initialization command under the control of a CPU, the control program which is preset to be accessed and read is deployed and installed in a computer memory under the open command of the CPU in the initial installation process to form an information reading and writing module, and the monitoring module sends a monitoring command to the information reading and writing module under the control of the CPU according to a set period; the information reading and writing module executes monitoring reading of the computer memory after receiving the monitoring command, and sends an instruction to the data backup module after the monitoring reading of the computer memory exceeds a set threshold; the data backup module receives the feedback instruction, acquires the read-write permission of the computer memory under the control of the CPU to read the process file recorded in the computer memory, backs up the process file to the virtual cache module, and starts a deletion command under the control of the CPU to delete the process file recorded in the computer memory in the current period after the backup is finished; meanwhile, loading the process files in the virtual cache module under the control of the CPU, processing and analyzing the process files, and marking the process files formed by system updating, system monitoring and computer task execution; and migrating the marked process file to a preset root directory in a hard disk of the computer.
Therefore, the saved file can be obtained under the root directory preset in the hard disk of the computer, and complex operation is not needed.
Drawings
FIG. 1 is a schematic diagram of the general framework of the present invention;
fig. 2 is a detailed framework principle schematic diagram of the present invention.
Detailed Description
The present invention is described in detail below with reference to the accompanying drawings, which refer to fig. 1 to 2.
Referring to fig. 1 to 2, the present invention provides a dynamic test system for a computer memory, including:
the monitoring module is arranged between the CPU and the computer memory and used for sending a monitoring command to the information reading and writing module under the control of the CPU according to a set period;
the information reading and writing module receives the monitoring command and then executes monitoring reading on the computer memory, and when the monitoring reading of the computer memory exceeds a set threshold value, the information reading and writing module sends an instruction to the data backup module;
the data backup module receives the feedback instruction, acquires the read-write permission of the computer memory under the control of the CPU to read the process file recorded in the computer memory, backs up the process file to the virtual cache module, and starts a deletion command under the control of the CPU to delete the process file recorded in the computer memory in the current period after the backup is finished; the virtual cache module is a storage unit established outside a computer memory; or, under the control of CPU, the memory unit is divided from the computer memory; after the storage unit is established, embedding a monitoring program into the storage unit through a data interface of a CPU (Central processing Unit); the monitoring program is initially installed by keying in an initialization command under the control of the CPU, the control program which is preset to be accessed and read is deployed and installed in the internal memory of the computer under the open command of the CPU in the initial installation process to form the information reading and writing module, and the information reading and writing module has the right of reading and writing the internal memory of the computer formed according to the open command of the CPU.
The analysis module loads the process files in the virtual cache module under the control of the CPU, processes and analyzes the process files, and marks out the process files formed by system updating, system monitoring and computer task execution;
and the migration module receives the process file marked in the analysis module under the control of the CPU and migrates the marked process file to a root directory preset in a computer hard disk.
In the above, the data backup module includes:
the read-write permission unit is used for sending read-write permission of the acquired computer memory to the CPU according to the feedback instruction;
the file backup unit is used for reading the process file recorded in the computer memory and backing up the process file to the virtual cache module after the read-write permission of the computer memory permitted by the CPU is obtained;
the deleting unit is used for sending a deleting command to control the deleting unit to delete the process file recorded in the memory of the computer in the current period after the backup is finished;
and the process monitoring unit is used for automatically filtering the process file and marking the process file if the process file is monitored to be deleted unsuccessfully in the process of deleting the process file recorded in the current period computer memory by the deleting unit executing the deleting command, and simultaneously feeding the marking command back to the analysis module.
In the above, the analysis module has:
the loading unit is used for loading the process files in the virtual cache module to the processing unit according to the received file time sequence;
the processing unit is used for performing attribute read-write operation on the process file;
an analysis unit for analyzing attributes of the process files to mark process files formed by system update, system monitoring, and computer task execution, and cache files other than the process files.
In the above, when the analysis unit performs marking according to the attribute of the analysis process file, the analysis unit compresses the process file formed by system update, system monitoring and computer task execution, writes the execution authority of the compressed file in the compression process, and migrates the compressed file to a first root directory preset in a computer hard disk in the migration execution process;
and converting the format of the cache files except the process file to a file with a uniform format and transferring the file to a second directory preset in a hard disk of the computer.
Example 1
In the embodiment, a virtual memory is configured in a computer.
Because the existing computer has the function of memory expansion, the invention can add a memory hardware (adding a memory bank) or expand a memory block in the original hard disk as a virtual memory, the virtual memory is a storage unit built outside the memory of the computer, and after the storage unit is built, a monitoring program is embedded into the storage unit through a data interface of a CPU; the monitoring program is initialized and installed by keying in an initialization command under the control of a CPU, a control program which is preset to be accessed into a read-write mode is deployed and installed in a computer memory under an open command of the CPU in the initialization and installation process to form an information read-write module, the information read-write module has the right of performing read-write operation on the computer memory according to the open command of the CPU, and the monitoring module sends a monitoring command to the information read-write module under the control of the CPU according to a set period; the information reading and writing module executes monitoring reading of the computer memory after receiving the monitoring command, and sends an instruction to the data backup module after the monitoring reading of the computer memory exceeds a set threshold; the data backup module receives the feedback instruction, acquires the read-write permission of the computer memory under the control of the CPU to read the process file recorded in the computer memory, backs up the process file to the virtual cache module, and starts a deletion command under the control of the CPU to delete the process file recorded in the computer memory in the current period after the backup is finished; meanwhile, loading the process files in the virtual cache module under the control of the CPU, processing and analyzing the process files, and marking the process files formed by system updating, system monitoring and computer task execution; and migrating the marked process file to a preset root directory in a hard disk of the computer.
Example 2
In the embodiment, a monitoring program is embedded into a storage unit which is divided from a computer memory under the control of a CPU (central processing unit) through a data interface of the CPU after the storage unit is established; the monitoring program is initially installed by keying in an initialization command under the control of a CPU, a control program which is preset to be accessed into a read-write mode is deployed and installed in a computer memory under an open command of the CPU in the initial installation process to form an information read-write module, the information read-write module has the right of performing read-write operation on the computer memory according to the open command of the CPU, and the monitoring module sends a monitoring command to the information read-write module under the control of the CPU according to a set period; the information reading and writing module executes monitoring reading of the computer memory after receiving the monitoring command, and sends an instruction to the data backup module after the monitoring reading of the computer memory exceeds a set threshold; the data backup module receives the feedback instruction, acquires the read-write permission of the computer memory under the control of the CPU to read the process file recorded in the computer memory, backs up the process file to the virtual cache module, and starts a deletion command under the control of the CPU to delete the process file recorded in the computer memory in the current period after the backup is finished; meanwhile, loading the process files in the virtual cache module under the control of the CPU, processing and analyzing the process files, and marking the process files formed by system updating, system monitoring and computer task execution; and migrating the marked process file to a preset root directory in a hard disk of the computer.
The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts of the present invention. The foregoing is only a preferred embodiment of the present invention, and it should be noted that there are objectively infinite specific structures due to the limited character expressions, and it will be apparent to those skilled in the art that a plurality of modifications, decorations or changes may be made without departing from the principle of the present invention, and the technical features described above may be combined in a suitable manner; such modifications, variations, combinations, or adaptations of the invention using its spirit and scope, as defined by the claims, may be directed to other uses and embodiments.
Claims (5)
1. Computer memory dynamic test system, characterized by, includes:
the monitoring module is arranged between the CPU and the computer memory and used for sending a monitoring command to the information reading and writing module under the control of the CPU according to a set period;
the information reading and writing module executes monitoring reading of the computer memory after receiving the monitoring command, and sends an instruction to the data backup module after the monitoring reading of the computer memory exceeds a set threshold;
the data backup module receives the feedback instruction, acquires the read-write permission of the computer memory under the control of the CPU to read the process file recorded in the computer memory, backs up the process file to the virtual cache module, and starts a deletion command under the control of the CPU to delete the process file recorded in the computer memory in the current period after the backup is finished;
the analysis module loads the process files in the virtual cache module under the control of the CPU, processes and analyzes the process files, and marks out the process files formed by system updating, system monitoring and computer task execution;
the migration module receives the process file marked in the analysis module under the control of the CPU and migrates the marked process file to a root directory preset in a computer hard disk;
the analysis module has:
the loading unit is used for loading the process files in the virtual cache module to the processing unit according to the received file time sequence;
the processing unit is used for performing attribute read-write operation on the process file;
an analysis unit for analyzing attributes of the process files to mark process files formed by system update, system monitoring, and computer task execution, and cache files other than the process files.
2. The system according to claim 1, wherein the virtual cache module is a storage unit built outside the computer memory;
or, under the control of CPU, the memory unit is divided from the computer memory;
after the storage unit is established, embedding a monitoring program into the storage unit through a data interface of a CPU (Central processing Unit); the monitoring program is initially installed by keying in an initialization command under the control of the CPU, and the control program which is preset to be accessed and read is deployed and installed in the memory of the computer under the open command of the CPU in the process of initial installation to form the information reading and writing module.
3. The system according to claim 2, wherein the information read/write module has a right to perform read/write operations on the computer memory according to an open command of the CPU.
4. The system according to claim 1, wherein the data backup module comprises:
the read-write permission unit is used for sending read-write permission of the acquired computer memory to the CPU according to the feedback instruction;
the file backup unit is used for reading the process file recorded in the computer memory and backing up the process file to the virtual cache module after the read-write permission of the computer memory permitted by the CPU is obtained;
the deleting unit is used for sending a deleting command to control the deleting unit to delete the process file recorded in the memory of the computer in the current period after the backup is finished;
and the process monitoring unit is used for automatically filtering the process file and marking the process file if the process file is monitored to be deleted unsuccessfully in the process of deleting the process file recorded in the current period computer memory by the deleting unit executing the deleting command, and simultaneously feeding the marking command back to the analysis module.
5. The system according to claim 1, wherein the analysis unit compresses the process file formed by system update, system monitoring and computer task execution when marking according to the attribute of the analysis process file, writes the execution authority of the compressed file in the compression process, and migrates the compressed file to a first directory preset in a computer hard disk in the migration process;
and converting the formats of the cache files except the process file into files with a uniform format and transferring the files to a second directory preset in a hard disk of the computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210256121.7A CN114328134B (en) | 2022-03-16 | 2022-03-16 | Dynamic testing system for computer memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210256121.7A CN114328134B (en) | 2022-03-16 | 2022-03-16 | Dynamic testing system for computer memory |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114328134A CN114328134A (en) | 2022-04-12 |
CN114328134B true CN114328134B (en) | 2022-05-31 |
Family
ID=81033845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210256121.7A Active CN114328134B (en) | 2022-03-16 | 2022-03-16 | Dynamic testing system for computer memory |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114328134B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116382596B (en) * | 2023-06-02 | 2023-08-11 | 智成时空(西安)创新科技有限公司 | Space-time big data storage method and system based on distributed technology |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110727640A (en) * | 2019-09-11 | 2020-01-24 | 国云科技股份有限公司 | Lightweight non-master-slave distributed routing file query storage system and method |
CN112269713A (en) * | 2020-10-14 | 2021-01-26 | 苏州浪潮智能科技有限公司 | Method, device and equipment for acquiring program running state and storage medium |
CN112328435A (en) * | 2020-12-07 | 2021-02-05 | 武汉绿色网络信息服务有限责任公司 | Method, device, equipment and storage medium for backing up and recovering target data |
CN113157528A (en) * | 2021-04-27 | 2021-07-23 | 中国工商银行股份有限公司 | Operation change monitoring method and device based on big data service cloud |
CN113282971A (en) * | 2021-05-24 | 2021-08-20 | 康键信息技术(深圳)有限公司 | Processing method, device and equipment of test log and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1433086A4 (en) * | 2001-09-26 | 2006-07-26 | Emc Corp | Efficient management of large files |
US20080140960A1 (en) * | 2006-12-06 | 2008-06-12 | Jason Ferris Basler | System and method for optimizing memory usage during data backup |
US9858195B2 (en) * | 2014-12-10 | 2018-01-02 | International Business Machines Corporation | Near-cache distribution of manifest among peer applications in in-memory data grid (IMDG) non structured query language (NO-SQL) environments |
CN110569229B (en) * | 2019-08-16 | 2022-07-12 | 苏州浪潮智能科技有限公司 | Method and device for processing data generated by database operation |
CN112559448B (en) * | 2021-02-19 | 2021-05-18 | 腾讯科技(深圳)有限公司 | Data state migration method and device, computer equipment and storage medium |
-
2022
- 2022-03-16 CN CN202210256121.7A patent/CN114328134B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110727640A (en) * | 2019-09-11 | 2020-01-24 | 国云科技股份有限公司 | Lightweight non-master-slave distributed routing file query storage system and method |
CN112269713A (en) * | 2020-10-14 | 2021-01-26 | 苏州浪潮智能科技有限公司 | Method, device and equipment for acquiring program running state and storage medium |
CN112328435A (en) * | 2020-12-07 | 2021-02-05 | 武汉绿色网络信息服务有限责任公司 | Method, device, equipment and storage medium for backing up and recovering target data |
CN113157528A (en) * | 2021-04-27 | 2021-07-23 | 中国工商银行股份有限公司 | Operation change monitoring method and device based on big data service cloud |
CN113282971A (en) * | 2021-05-24 | 2021-08-20 | 康键信息技术(深圳)有限公司 | Processing method, device and equipment of test log and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114328134A (en) | 2022-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100478946C (en) | Method and apparatus for file system snapshot persistence | |
JP4741371B2 (en) | System, server apparatus, and snapshot format conversion method | |
KR100689762B1 (en) | A database system and method for storing a plurality of database components in main memory thereof | |
JP4419884B2 (en) | Data replication apparatus, method, program, and storage system | |
US20110093437A1 (en) | Method and system for generating a space-efficient snapshot or snapclone of logical disks | |
CN110568998A (en) | trim command implementation method and device based on solid state disk and computer equipment | |
CN104077380A (en) | Method and device for deleting duplicated data and system | |
US8433871B2 (en) | Data copy management for faster reads | |
KR101478619B1 (en) | Method and Apparatus of Inputting/Outputting Data Using Virtualization Technique | |
CN114328134B (en) | Dynamic testing system for computer memory | |
CN106528338B (en) | Remote data copying method, storage device and storage system | |
CN107577549A (en) | It is a kind of to store the method for testing for deleting function again | |
CN113568788B (en) | Snapshot method, system and storage medium for Linux non-logical volume block device | |
JPWO2007099636A1 (en) | File system migration method, file system migration program, and file system migration apparatus | |
JP2016181142A (en) | Backup control apparatus, backup control method, and program | |
US10776342B2 (en) | Systems and methods for recovering lost clusters from a mounted volume | |
US20050262033A1 (en) | Data recording apparatus, data recording method, program for implementing the method, and program recording medium | |
CN112800007A (en) | Directory entry expansion method and system suitable for FAT32 file system | |
US7865472B1 (en) | Methods and systems for restoring file systems | |
TWI536161B (en) | Backup method, recovery method and computer, computer program product and computer readable recording medium thereof | |
CN114880277B (en) | Block device snapshot method, system and storage medium | |
US20210303212A1 (en) | Data processing method and memory controller utilizing the same | |
TWI791966B (en) | Data processing method and memory controller utilizing the same | |
CN106980645B (en) | Distributed file system architecture implementation method and device | |
US20070130379A1 (en) | Method for data processing based on an operation route in peripheral equipment |
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 |