CN106325770A - Method for processing long-time idle data - Google Patents

Method for processing long-time idle data Download PDF

Info

Publication number
CN106325770A
CN106325770A CN201610700762.1A CN201610700762A CN106325770A CN 106325770 A CN106325770 A CN 106325770A CN 201610700762 A CN201610700762 A CN 201610700762A CN 106325770 A CN106325770 A CN 106325770A
Authority
CN
China
Prior art keywords
time
data
idle
user
long
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
CN201610700762.1A
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.)
Chengdu Calabar Inforamtion Technology Ltd By Share Ltd
Original Assignee
Chengdu Calabar Inforamtion Technology Ltd By Share 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 Chengdu Calabar Inforamtion Technology Ltd By Share Ltd filed Critical Chengdu Calabar Inforamtion Technology Ltd By Share Ltd
Priority to CN201610700762.1A priority Critical patent/CN106325770A/en
Publication of CN106325770A publication Critical patent/CN106325770A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

Abstract

The invention discloses a method for processing long-time idle data. The method comprises the following steps of 1, setting the time of a timer; 2, enabling the timer to trigger a signal; 3, fetching out a pointer, and obtaining the address of the data with the setting time; 4, obtaining the latest use time; 5, calculating the idle time; 6, judging whether the idle time is greater than or equal to the setting time or not; when the idle time is greater than or equal to the setting time, requesting a user to judge whether the idle time is deleted or not; when the idle time is not greater than or equal to the setting time, returning back to step 1, and repeating the steps 1 to 6; 7, enabling the user to judge whether the corresponding data needs to be deleted or not; when the corresponding data needs to be deleted, deleting the corresponding data; when the corresponding data does not need to be deleted, returning back to step 1, and repeating the steps 1 to 7. The method has the advantage that the long-time idle data hidden in the massive data can be manually or automatically and flexibly processed, and a customer can verify whether the corresponding data is deleted or not in a personalizing way, so that the saving of resources is guaranteed, and the risk of deleting important data is avoided.

Description

The processing method of long-term idle data
Technical field
The present invention relates to a kind of data processing method, the processing method of the data that are specifically related to leave unused for a long time.
Background technology
Along with the high speed development of the Internet, running business on the internet more and more abundanter, number of users also grows with each passing day, Increasing user joins colourful the Internet, and the related protocol brought to solve customer volume to increase severely processes The Upgrade Problem of ability, people come up with various method and remove the treatment effeciency of raising equipment, as increased the place of processor Reason frequency etc., for storage data within a processor, owing to utilization ratio is different, importance is the most different, has Data lose its value existed and cause not using, but again in occupation of memory source, cause processor speed slack-off, User also will not clearly ensconce the data that can discard specifically which part in computer within huge data simultaneously, leads Causing the discarding data in data to get more and more, operating speed is more and more slower.
Summary of the invention
The technical problem to be solved is the problem of data waste resource of leaving unused for a long time, it is therefore intended that provide long-term The processing method of idle data, reduces long-term idle data and takies the phenomenon of resource.
The present invention is achieved through the following technical solutions:
The processing method of long-term idle data, comprises the following steps:
Step one: timer time is arranged, according to user's actual need, manually arranges timing for the required data arranging the time Device time or selection default time are arranged, and set up single-track link table simultaneously, and chained list starts aging from head;
Step 2: intervalometer triggers signal, the timer time arranged according to described step one, intervalometer timing completes, and sends Described intervalometer triggers signal;
Step 3: take out pointer, takes out the address of the data of the time that is set;
Step 4: take out and use the time recently, the address of the data of the time that is set taken out according to described step 3, inquire about phase The data most recently used time answered;
Step 5: calculate standby time, the time of would sit idle for is supplied to user;
Step 6: judge whether more than or equal to the setting time, if judged more than or equal to setting time, request user standby time Whether delete, if standby time was not more than equal to the setting time, then return to step repeating said steps one to step at the beginning Six;
Step 7: user judges whether delete this part data, if selecting is then to delete this part data, terminate this The intervalometer of part data, if selecting no, the most then returns to step repeating said steps one to step 7 at the beginning.
There is provided the mode that two kinds of timer times set, simultaneously according to the difference of data selected, the time of required setting The most inconsistent, so make user have more selectivity.The inquiry most recently used time, calculate and can reduce timing standby time The situation of device false triggering occurs;Provide the user and judge interface, it may be judged whether delete the data that this part is left unused for a long time, it is to avoid by mistake Delete important data or file, improve the guarantee of data safety.
Further, the data requiring time for arranging of step one include single data, multiple data or file.Choosing Select the data variation of setting, the use demand that can extend one's service.
Further, the nearest use time of step 4 be set the data of time close for the last time use time Carve.
Further, the standby time of step 5 is, be set the data of time close for the last time moment of use with The difference in the moment that described step 5 triggers.
The present invention compared with prior art, has such advantages as and beneficial effect: can locate the most flexibly Reason is hidden in the long-term idle data among huge data, and hommization allow client reaffirm whether to delete this part number According to, it is ensured that the saving of resource, it also avoid the risk by mistake deleting significant data simultaneously.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing being further appreciated by the embodiment of the present invention, constitutes of the application Point, it is not intended that the restriction to the embodiment of the present invention.In the accompanying drawings:
Fig. 1 is present configuration schematic diagram.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, to this Invention is described in further detail, and the exemplary embodiment of the present invention and explanation thereof are only used for explaining the present invention, do not make For limitation of the invention.
Embodiment
As it is shown in figure 1, the processing method of the most idle data, comprise the following steps:
Step one: timer time is arranged, according to user's actual need, manually arranges timing for the required data arranging the time Device time or selection default time are arranged, and set up single-track link table simultaneously, and chained list starts aging from head;
Step 2: intervalometer triggers signal, the timer time arranged according to described step one, intervalometer timing completes, and sends Described intervalometer triggers signal;
Step 3: take out pointer, takes out the address of the data of the time that is set;
Step 4: take out and use the time recently, the address of the data of the time that is set taken out according to described step 3, inquire about phase The data most recently used time answered;
Step 5: calculate standby time, the time of would sit idle for is supplied to user;
Step 6: judge whether more than or equal to the setting time, if judged more than or equal to setting time, request user standby time Whether delete, if standby time was not more than equal to the setting time, then return to step repeating said steps one to step at the beginning Six;
Step 7: user judges whether delete this part data, if selecting is then to delete this part data, terminate this The intervalometer of part data, if selecting no, the most then returns to step repeating said steps one to step 7 at the beginning.
There is provided the mode that two kinds of timer times set, simultaneously according to the difference of data selected, the time of required setting The most inconsistent, so make user have more selectivity.The inquiry most recently used time, calculate and can reduce timing standby time The situation of device false triggering occurs;Provide the user and judge interface, it may be judged whether delete the data that this part is left unused for a long time, it is to avoid by mistake Delete important data or file, improve the guarantee of data safety.By three nodes in chained list, including being set the time Data (MAC Address), standby time and pointer;When new MAC Address from hardware learn to after, now processor only need to be this The position that individual MAC Address points to according to the tail pointer of chain list index adds in chained list, the joining day is counted in entry i.e. simultaneously Can;Because mac learning is the most sequential, the MAC entry later added is always than the MAC entry " young " being initially charged.This The loading procedure of sample makes this chained list automatically carry out sequence process in dynamic learning.System has between the different time Every intervalometer, when intervalometer arrives setting time interval every time, system all can produce the message of this intervalometer, disappear with this Breath notifies this timer-operated process initiation.Take out corresponding address when intervalometer triggers pointer when signal arrives, take out phase The nearest corresponding use time answered, compare standby time and setting time, after drawing judgement, transfer to user to reaffirm Whether these part data delete.
Further, the data requiring time for arranging of step one include single data, multiple data or file.Choosing Select the data variation of setting, the use demand that can extend one's service.
Further, the nearest use time of step 4 be set the data of time close for the last time use time Carve.
Further, the standby time of step 5 is, be set the data of time close for the last time moment of use with The difference in the moment that described step 5 triggers.
Above-described detailed description of the invention, has been carried out the purpose of the present invention, technical scheme and beneficial effect further Describe in detail, be it should be understood that the detailed description of the invention that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, all within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. done, all should comprise Within protection scope of the present invention.

Claims (4)

1. the processing method of long-term idle data, it is characterised in that comprise the following steps:
Step one: timer time is arranged, according to user's actual need, manually arranges timing for the required data arranging the time Device time or selection default time are arranged, and set up single-track link table simultaneously, and chained list starts aging from head;
Step 2: intervalometer triggers signal, the timer time arranged according to described step one, intervalometer timing completes, and sends Described intervalometer triggers signal;
Step 3: take out pointer, takes out the address of the data of the time that is set;
Step 4: take out and use the time recently, the address of the data of the time that is set taken out according to described step 3, inquire about phase The data most recently used time answered;
Step 5: calculate standby time, the time of would sit idle for is supplied to user;
Step 6: judge whether more than or equal to the setting time, if judged more than or equal to setting time, request user standby time Whether delete, if standby time was not more than equal to the setting time, then return to step repeating said steps one to step at the beginning Six;
Step 7: user judges whether delete this part data, if selecting is then to delete this part data, terminate this The intervalometer of part data, if selecting no, then returns to step repeating said steps one to step 7 at the beginning.
The processing method of long-term idle data the most according to claim 1, it is characterised in that when needing of described step one Between arrange data include single type data, multiple types of data or file.
The processing method of long-term idle data the most according to claim 1, it is characterised in that making recently of described step 4 It is the data of time to be set close the moment of use for the last time with the time.
The processing method of long-term idle data the most according to claim 1, it is characterised in that during described step 5 idle Between be the data of time to be set and closes the difference in the moment that moment of use triggers with described step 5 for the last time.
CN201610700762.1A 2016-08-23 2016-08-23 Method for processing long-time idle data Pending CN106325770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610700762.1A CN106325770A (en) 2016-08-23 2016-08-23 Method for processing long-time idle data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610700762.1A CN106325770A (en) 2016-08-23 2016-08-23 Method for processing long-time idle data

Publications (1)

Publication Number Publication Date
CN106325770A true CN106325770A (en) 2017-01-11

Family

ID=57741236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610700762.1A Pending CN106325770A (en) 2016-08-23 2016-08-23 Method for processing long-time idle data

Country Status (1)

Country Link
CN (1) CN106325770A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115510272A (en) * 2022-09-20 2022-12-23 哈尔滨萌动科技有限公司 Computer data processing system based on big data analysis

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783874A (en) * 2004-12-01 2006-06-07 华为技术有限公司 Ageing method for address analytic protocol cache table item in network device
CN101170551A (en) * 2007-11-30 2008-04-30 中兴通讯股份有限公司 A data aging processing method
CN101378326A (en) * 2008-09-18 2009-03-04 中兴通讯股份有限公司 Method for enquiring multicast user processing aging
US20160269273A1 (en) * 2013-11-07 2016-09-15 Zte Corporation Method and Device for Aging Remaining Lifetime

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783874A (en) * 2004-12-01 2006-06-07 华为技术有限公司 Ageing method for address analytic protocol cache table item in network device
CN101170551A (en) * 2007-11-30 2008-04-30 中兴通讯股份有限公司 A data aging processing method
CN101378326A (en) * 2008-09-18 2009-03-04 中兴通讯股份有限公司 Method for enquiring multicast user processing aging
US20160269273A1 (en) * 2013-11-07 2016-09-15 Zte Corporation Method and Device for Aging Remaining Lifetime

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115510272A (en) * 2022-09-20 2022-12-23 哈尔滨萌动科技有限公司 Computer data processing system based on big data analysis

Similar Documents

Publication Publication Date Title
CN106874389B (en) Data migration method and device
CN104699541B (en) Method, apparatus, data transfer components and the system of synchrodata
CN104866465B (en) Sensitive Method for text detection and device
WO2019228034A1 (en) Method and apparatus for data synchronization
EP2706719A1 (en) File synchronization method and device
KR20180125031A (en) How to respond to user requests using natural language machine learning based on conversation examples
CN106569585B (en) A kind of method and terminal managing program process
CN106716934A (en) Chat interaction method and apparatus, and electronic device thereof
CN107197036A (en) A kind of consistent processing method of information based on block chain and terminal
WO2015101320A1 (en) Account number generation method, terminal and background server
CN110569252B (en) Data processing system and method
CN108900469A (en) Connect progress page methods of exhibiting, terminal device and computer-readable medium
CN113438355A (en) Communication method, device, equipment and storage medium based on cloud mobile phone
CN106911782A (en) A kind of method for reading data and device
US20150105052A1 (en) Method and apparatus for providing cellphone service from any device
CN106358065A (en) Multimedia information processing method and system
CN110011896A (en) A kind of data processing method and device, a kind of calculating equipment and storage medium
CN109040300A (en) The method, apparatus and storage medium of PUSH message
CN103927303A (en) Method and device for searching accounts
CN103051623B (en) The method of calling of restriction open platform
CN108076042A (en) User information acquiring method, server and computer-readable medium
WO2022111169A1 (en) User identity identification method, computing device and computer storage medium
CN111259066A (en) Server cluster data synchronization method and device
CN110286954B (en) Application program starting method and device and storage medium
CN106325770A (en) Method for processing long-time idle data

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170111