CN108920292A - A kind of calculator memory monitoring and managing method - Google Patents

A kind of calculator memory monitoring and managing method Download PDF

Info

Publication number
CN108920292A
CN108920292A CN201810670643.5A CN201810670643A CN108920292A CN 108920292 A CN108920292 A CN 108920292A CN 201810670643 A CN201810670643 A CN 201810670643A CN 108920292 A CN108920292 A CN 108920292A
Authority
CN
China
Prior art keywords
memory
time
program
apart
last time
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
CN201810670643.5A
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.)
Henan Fu Point Electronic Technology Co Ltd
Original Assignee
Henan Fu Point Electronic 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 Henan Fu Point Electronic Technology Co Ltd filed Critical Henan Fu Point Electronic Technology Co Ltd
Priority to CN201810670643.5A priority Critical patent/CN108920292A/en
Publication of CN108920292A publication Critical patent/CN108920292A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/073Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a memory management context, e.g. virtual memory or cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a kind of calculator memory monitoring and managing methods, relate generally to computer software technical field, include the following steps:Step 1:Detect all programs of committed memory;Step 2:The committed memory for the program that recording step 1 detects respectively and the time used apart from the last time;Step 3:The case where EMS memory occupation for being recorded according to step 2 and the time used apart from the last time, selection closing is carried out to program.Pass through the memory accounting and frequency of use of each program of system detection, the program that some long-times do not use but occupy a large amount of memory headrooms is closed, memory headroom is reserved for the high program of other frequency of use, guarantee the running efficiency of computer, can also reduce the interior energy consumption of computer simultaneously, very good solution computer using middle Memory Allocation it is unreasonable caused by memory usage it is high and the problem of allow computer to use slow reaction, Caton.

Description

A kind of calculator memory monitoring and managing method
Technical field
The invention belongs to computer software technical field, a kind of calculator memory monitoring and managing method.
Background technique
Memory is divided into random access memory (RAM), read-only memory (ROM) and cache memory (Cache).RAM is The memory block of computer operation, it be one kind can at high speed, be randomly written and read data (writing speed and reading speed can With difference) a kind of semiconductor memory;The advantages of RAM is that access speed is fast, read-write is convenient, the disadvantage is that data cannot long Kubo It holds, dies away after power-off.RAM can be divided into static RAM (SRAM) and dynamic ram (DRAM) according to manufacturing theory difference.SRAM Integrated level is low, and price is high, but speed is fast, is commonly used for cache memory.DRAM integrated level is high, and price is low, but needs the period Property dynamic refresh, therefore speed is slow.Usually said memory just refers to RAM.
For general computer in use, memory usage is higher, Caton will be got over by using, and react slower, Ke Yitong It crosses and adds memory bar to solve the problems, such as, but memory is all not enough when the price of memory bar is not low and not all, This will result in waste.As long as the occupancy of reasonable storage allocation in fact, the program not used is closed to its occupancy of release in time Memory it is ensured that the smooth of computer uses.
Summary of the invention
It is an object of the invention to:For the unreasonable caused memory usage of Memory Allocation in above-mentioned computer use It is high and the problem of allow computer to use slow reaction, Caton, propose a kind of calculator memory monitoring and managing method.
The technical solution adopted by the present invention is as follows:
A kind of calculator memory monitoring and managing method, includes the following steps:
Step 1:Detect all programs of committed memory;
Step 2:The committed memory for the program that recording step 1 detects respectively and the time used apart from the last time;
Step 3:The case where EMS memory occupation for being recorded according to step 2 and the time used apart from the last time, to program into Row selection is closed.
By the memory accounting and frequency of use of each program of system detection, some long-times are not used but are occupied a large amount of The program of memory headroom is closed, and reserves memory headroom for the high program of other frequency of use, guarantees the operating effect of computer Rate, while the interior consumption energy consumption of computer can also be reduced.For example, people can open simultaneously very in actual computer usage scenario More software, while carrying out different work, rest when, can open some entertainment softwares again again and come using for example opening and broadcast It puts device to watch movie, when this, often ignore other working softwares and be also open, thus cause other software institute The waste of the memory headroom accounted for, so method proposed by the present invention is exactly to select back at this time the memory of waste It receives, unused memory can be discharged but also reduce the energy consumption of computer.
Preferably, the calculation method of the distance last time used is the last operating time of logging program, Current time when detection is re-recorded, the distance last time used is then calculated according to the time recorded twice.
Preferably, selection closing is carried out to program in the step 3 to include the following steps:
Step 3.1:The EMS memory occupation of calculation procedure and the time used apart from the last time;
Step 3.2:It is selected according to the resulting EMS memory occupation of step 3.2 and apart from the time that the last time uses, if interior It deposits and occupies between 5%-10% and be more than 30min apart from the upper time once used, then issue prompt and choose whether to close this Program;If EMS memory occupation is greater than 10% and is more than 30min apart from the time that the last time uses, the current state of save routine is simultaneously It directly closes, while providing prompt, if reset routine and settable reboot time;Other situations are not handled.
It is mainly used for controlling the program or software that committed memory is more and frequency of use is low, and all can when closing Current state is saved, to avoid the loss of current the file information or data, the memory headroom of waste can be discharged but also saved The information that should be saved, it is reasonable and practical.
Preferably, the step 3.2 is greater than 10% in EMS memory occupation and was more than 30min apart from the upper time once used, Then the current state of save routine and while directly close settable reboot time include 5min, 10min, 30min and 60min, this function can be that the time is arranged in reset routine according to need of work, can be restarted automatically after the time of setting, weight The process opened can also remind user that there are also do not complete.
Preferably, the step 3.2 is when choosing whether to close the program, if selection is to automatically save program Current state, the current state of save routine is avoided that one also in the state that last time closes when being again turned on program The forgetting of a little job schedules.
In conclusion by adopting the above-described technical solution, the beneficial effects of the invention are as follows:
1, in the present invention, by the memory accounting and frequency of use of each program of system detection, some long-times are not used But the program for occupying a large amount of memory headrooms is closed, and is reserved memory headroom for the high program of other frequency of use, is guaranteed meter The running efficiency of calculation machine, while the interior consumption energy consumption of computer can also be reduced.
2, in the present invention, it is mainly used for controlling the program or software that committed memory is more and frequency of use is low, and closing Current state can be all saved when closing, and to avoid the loss of current the file information or data, can discharge the memory of waste Space can save the information that should be saved again, reasonable and practical.
3, in the present invention, when choosing whether to close the program, if selection is the current shape for automatically saving program State, the current state of save routine, also in the state that last time closes when being again turned on program, be avoided that a few thing into The forgetting of degree.
4, in the present invention, while depositing the current state of program and directly close settable reboot time include 5min, 10min, 30min and 60min, this function can be that the time is arranged in reset routine according to need of work, can be in the time mistake of setting After be restarted automatically, the process restarted can also remind user there are also do not complete.
Detailed description of the invention
Fig. 1 is the flow diagram of memory monitoring and managing method of the invention;
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.
As shown in Figure 1, a kind of calculator memory monitoring and managing method, includes the following steps:
Step 1:Detect all programs of committed memory;
Step 2:The committed memory for the program that recording step 1 detects respectively and the time used apart from the last time, distance The calculation method for the time that last time uses is the last operating time of logging program, when current when re-recording detection Between, the distance last time used is then calculated according to the time recorded twice.;
Step 3:The case where EMS memory occupation for being recorded according to step 2 and the time used apart from the last time, to program into Row selection is closed, and is mainly used for controlling the program or software that committed memory is more and frequency of use is low, and when closing Current state will be saved, to avoid the loss of current the file information or data, can discharge waste memory headroom but also The information that should be saved is saved, it is reasonable and practical, mainly include the following steps:
Step 3.1:The EMS memory occupation of calculation procedure and the time used apart from the last time;
Step 3.2:It is selected according to the resulting EMS memory occupation of step 3.2 and apart from the time that the last time uses, if interior It deposits and occupies between 5%-10% and be more than 30min apart from the upper time once used, then issue prompt and choose whether to close this Program, if selection is the current state for automatically saving program, also in the shape that last time closes when being again turned on program State is avoided that the forgetting of a few thing progress.;If EMS memory occupation was greater than 10% and apart from the time that the last time uses 30min then the current state of save routine and is directly closed, while being provided prompt, if reset routine and settable is restarted Time, settable reboot time include 5min, 10min, 30min and 60min, this function can attach most importance to according to need of work The time is arranged in sequence of leaving, and can be restarted automatically after the time of setting, and the process restarted can also remind user that there are also do not complete; Other situations are not handled.
By the memory accounting and frequency of use of each program of system detection, some long-times are not used but are occupied a large amount of The program of memory headroom is closed, and reserves memory headroom for the high program of other frequency of use, guarantees the operating effect of computer Rate, while the interior consumption energy consumption of computer can also be reduced.For example, people can open simultaneously very in actual computer usage scenario More software, while carrying out different work, rest when, can open some entertainment softwares again again and come using for example opening and broadcast It puts device to watch movie, when this, often ignore other working softwares and be also open, thus cause other software institute The waste of the memory headroom accounted for, so method proposed by the present invention is exactly to select back at this time the memory of waste It receives, unused memory can be discharged but also reduce the energy consumption of computer.For example, use at home computer when, start to open The chat softwares such as QQ, wechat have been stepped on, the photo handling softwares such as PS, CDR are opened simultaneously, have been wanted to rest after a period of work, It sees a film, then just minimizes current working software, then open browser and look for the film for wanting to see, then pass through a sudden peal of thunder The downloading of film is carried out, then opens sudden peal of thunder player side and sees below, until finishing watching more than a 2 hours film.This process In open many softwares carry out using, but all because other software can also use again, be not all turned off, this is just The load for resulting in computer is increasing always, and fever will increase, its efficiency is caused to be lower, had in use process Caton or its He occurs bad phenomenon.It can be carried out after the other software that start to watch movie all do not use temporarily by means of the present invention Detection, QQ and the not high software of this committed memory of wechat do not have to processing, and the high working software of this committed memory of PS and CDR exists After stopping using 30 minutes, the current state that system saves software is then shut off, while providing selection, if needs to open again Dynamic program, and the time that setting restarts later is 30min, can be restarted automatically the program later at 30 minutes and in closing When state, remind user there are also working not completing, also the reasonable distribution resource of computer, reduce the energy of computer Consumption.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (5)

1. a kind of calculator memory monitoring and managing method, which is characterized in that include the following steps:
Step 1:Detect all programs of committed memory;
Step 2:The committed memory for the program that recording step 1 detects respectively and the time used apart from the last time;
Step 3:The case where EMS memory occupation for being recorded according to step 2 and the time used apart from the last time, program is selected Select closing.
2. calculator memory monitoring and managing method according to claim 1, which is characterized in that the distance is last use when Between calculation method be the last operating time of logging program, to re-record current time when detection, then according to twice The distance last time used is calculated in the time of record.
3. calculator memory monitoring and managing method according to claim 1, which is characterized in that carried out in the step 3 to program Selection, which is closed, to be included the following steps:
Step 3.1:The EMS memory occupation of calculation procedure and the time used apart from the last time;
Step 3.2:It is selected according to the resulting EMS memory occupation of step 3.2 and apart from the time that the last time uses, if memory accounts for It is more than 30min between 5%-10% and apart from the time that the last time uses, then issues prompt and choose whether to close the program; If EMS memory occupation is greater than 10% and is more than 30min apart from the time that the last time uses, the current state of save routine is simultaneously direct It closes, while providing prompt, if reset routine and settable reboot time;Other situations are not handled.
4. calculator memory monitoring and managing method according to claim 3, which is characterized in that the step 3.2 is in EMS memory occupation Be more than 30min greater than 10% and apart from time for using last time, then the current state of save routine and directly closing while Settable reboot time includes 5min, 10min, 30min and 60min.
5. calculator memory monitoring and managing method according to claim 3, which is characterized in that the step 3.2 is choosing whether When closing the program, if selection is the current state for automatically saving program.
CN201810670643.5A 2018-06-26 2018-06-26 A kind of calculator memory monitoring and managing method Pending CN108920292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810670643.5A CN108920292A (en) 2018-06-26 2018-06-26 A kind of calculator memory monitoring and managing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810670643.5A CN108920292A (en) 2018-06-26 2018-06-26 A kind of calculator memory monitoring and managing method

Publications (1)

Publication Number Publication Date
CN108920292A true CN108920292A (en) 2018-11-30

Family

ID=64421384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810670643.5A Pending CN108920292A (en) 2018-06-26 2018-06-26 A kind of calculator memory monitoring and managing method

Country Status (1)

Country Link
CN (1) CN108920292A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111145398A (en) * 2019-12-31 2020-05-12 深圳绿米联创科技有限公司 Intelligent door lock control method and device, intelligent door lock and storage medium
CN111290364A (en) * 2018-12-10 2020-06-16 奥特润株式会社 Method for monitoring usage of electronic control device of vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2467844A (en) * 2009-02-12 2010-08-18 Gzero Ltd Shutting down unnecessary programs in a computer system
CN106339250A (en) * 2016-08-19 2017-01-18 郭笃刚 Management method of virtual memory of computer
CN106371913A (en) * 2015-07-21 2017-02-01 赤子城网络技术(北京)有限公司 Memory cleaning method and apparatus
CN107479967A (en) * 2017-07-04 2017-12-15 深圳天珑无线科技有限公司 A kind of automatic method and intelligent terminal for removing internal memory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2467844A (en) * 2009-02-12 2010-08-18 Gzero Ltd Shutting down unnecessary programs in a computer system
CN106371913A (en) * 2015-07-21 2017-02-01 赤子城网络技术(北京)有限公司 Memory cleaning method and apparatus
CN106339250A (en) * 2016-08-19 2017-01-18 郭笃刚 Management method of virtual memory of computer
CN107479967A (en) * 2017-07-04 2017-12-15 深圳天珑无线科技有限公司 A kind of automatic method and intelligent terminal for removing internal memory

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111290364A (en) * 2018-12-10 2020-06-16 奥特润株式会社 Method for monitoring usage of electronic control device of vehicle
CN111145398A (en) * 2019-12-31 2020-05-12 深圳绿米联创科技有限公司 Intelligent door lock control method and device, intelligent door lock and storage medium
CN111145398B (en) * 2019-12-31 2022-04-12 深圳绿米联创科技有限公司 Intelligent door lock control method and device, intelligent door lock and storage medium

Similar Documents

Publication Publication Date Title
US8255713B2 (en) Management of link states using plateform and device latencies
TWI330779B (en) Apparatus and method for reducing computing system power through idle synchronization
US10365842B2 (en) System and method for reducing power consumption of memory
US20090158067A1 (en) Saving power in a computer system
CN102880556A (en) Wear leveling method and system of Nand Flash
CN106484330A (en) A kind of hybrid magnetic disc individual-layer data optimization method and device
CN108920292A (en) A kind of calculator memory monitoring and managing method
CN109064327A (en) A kind of intelligence contract processing method, device and equipment
US20190198081A1 (en) Selective refresh with software components
KR20130021625A (en) Operating method and portable device supporting the same
US20090070605A1 (en) System and Method for Providing Memory Performance States in a Computing System
CN102413186A (en) Resource scheduling method and device based on private cloud computing, and cloud management server
CN101458555B (en) Method for adjusting clock period and calculating system
CN113383317A (en) Processing device, method and related equipment
US7958380B2 (en) Coarsely controlling memory power states
CN107402819A (en) The management method and system of a kind of client-cache
CN109521949A (en) It is a kind of that frequency data distribution method is write based on the perception for mixing scratch ROM
US20080209032A1 (en) Alarm method for insufficient storage space of network storage system
CN105094827B (en) A kind of method that processor starts
JP2009037403A (en) Valid activation method for core memory in multi-core processor
CN102063271B (en) State machine based write back method for external disk Cache
CN111176408A (en) SoC low-power-consumption processing method and device
CN1293461C (en) Method for suspending state of computer system
CN102521173A (en) Method for automatically writing back data cached in volatile medium
CN112905121B (en) Data refreshing method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181130

RJ01 Rejection of invention patent application after publication