CN110069386A - A kind of operation terminal data processing method, operation terminal, system and medium - Google Patents

A kind of operation terminal data processing method, operation terminal, system and medium Download PDF

Info

Publication number
CN110069386A
CN110069386A CN201910356747.3A CN201910356747A CN110069386A CN 110069386 A CN110069386 A CN 110069386A CN 201910356747 A CN201910356747 A CN 201910356747A CN 110069386 A CN110069386 A CN 110069386A
Authority
CN
China
Prior art keywords
data
space
operation terminal
threshold value
available space
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
CN201910356747.3A
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.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething 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 Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201910356747.3A priority Critical patent/CN110069386A/en
Publication of CN110069386A publication Critical patent/CN110069386A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0891Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches using clearing, invalidating or resetting means

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention discloses a kind of operation terminal data processing method, operation terminal, system and media.The step of this method includes: to execute the data cached space hold amount that data operation generates to operation terminal to be monitored;After the data cached occupancy to initial residual available space reaches the first capacity-threshold and/or after the capability value of current residual available space is less than second space threshold value, clear up data cached;Wherein, the first capacity-threshold and second space threshold value be respectively less than or equal to initial residual available space capability value.The opposite data operation efficiency and reliability as shared operation node for ensuring operation terminal of this method.In addition, the present invention also provides a kind of operation terminal, operation terminal data processing system and medium, beneficial effect are same as above.

Description

A kind of operation terminal data processing method, operation terminal, system and medium
Technical field
The present invention relates to field of computer technology, more particularly to a kind of operation terminal data processing method, operation terminal, System and medium.
Background technique
As the measure of precision of Current electronic element is continuously improved, the data processing for the operation terminal being made of electronic component Ability is also constantly being promoted, and the update speed of operation terminal is caused more to be accelerated, and idle operation terminal quantity constantly increases More, since idle operation terminal still has the processing capacity to data, current enterprise is usually by largely idle fortune Terminal is calculated as the shared operation node of data operation ability is provided, the data operation ability of idle operation terminal is integrated with this, And the calculation process to processor active task is realized with lower cost.
In the scene for currently providing operation terminal to data operation ability as shared operation node, operation terminal is deposited It is usually limited to store up space, when operation terminal participates in data operation as shared operation node, it will usually cache a large amount of operation Data, therefore the memory space of operation terminal can be constantly occupied, and then there may be the feelings of the memory space inadequate of operation terminal Condition reduces so as to cause the operation efficiency, fluency and stability of operation terminal, or even directly contributes the delay machine of operation terminal Restart, therefore, it is difficult to ensure the data operation efficiency and reliability as shared operation node of operation terminal.
It can be seen that providing a kind of operation terminal data processing method, ensure transporting as shared for operation terminal using opposite The data operation efficiency and reliability of operator node are those skilled in the art's problems to be solved.
Summary of the invention
The object of the present invention is to provide a kind of operation terminal data processing method, operation terminal, system and media, with opposite Ensure the data operation efficiency and reliability as shared operation node of operation terminal.
In order to solve the above technical problems, the present invention provides a kind of operation terminal data processing method, it is applied to operation terminal, Method includes:
The data cached space hold amount that data operation generates is executed to operation terminal to be monitored;
After the data cached occupancy to initial residual available space reaches the first capacity-threshold and/or in current residual After the capability value of available space is less than second space threshold value, clear up data cached;Wherein, the first capacity-threshold and Two capacity-thresholds be respectively less than or equal to initial residual available space capability value.
Preferably, after the data cached occupancy to initial residual available space reaches the first capacity-threshold and/or After the capability value of current residual available space is less than second space threshold value, clear up data cached, comprising:
After the capability value of current residual available space is less than second space threshold value, cleared up so as to be worked as data cached The capability value of preceding residue available space is greater than or equal to second space threshold value.
Preferably, it after the capability value of current residual available space is less than second space threshold value, is carried out clearly to data cached Manage so that current residual available space capability value be greater than or equal to second space threshold value after, method further include:
When data cached complete liquidation finishes, and the capability value of current residual available space is not greater than or equal to the second sky yet Between threshold value when, carry out free air anomaly alarm.
Preferably, it after the capability value of current residual available space is less than second space threshold value, is carried out clearly to data cached Manage so that current residual available space capability value be greater than or equal to second space threshold value before, method further include:
Data are cleared up execute that the data cached acceptance of the bid that data operation generates writes sufficient preset standard all over;
After the capability value of current residual available space is less than second space threshold value, cleared up so as to be worked as data cached The capability value of preceding residue available space is greater than or equal to second space threshold value, comprising:
After the capability value of current residual available space is less than second space threshold value, data are cleared up in data cached It is cleared up so that the capability value of current residual available space is greater than or equal to second space threshold value.
Preferably, the data of clearing up of sufficient preset standard, packet are write all in the data cached acceptance of the bid for executing data operation generation It includes:
The data cached label not called in preset duration is cleaning data by data operation.
Preferably, after the capability value of current residual available space is less than second space threshold value, in data cached can Cleaning data are cleared up so that the capability value of current residual available space is greater than or equal to after second space threshold value, and method is also Include:
It is finished when data complete liquidation can be cleared up, and the capability value of current residual available space is still less than second space threshold value When, it clears up data cached in addition to it can clear up data.
Preferably, after the data cached occupancy to initial residual available space reaches the first capacity-threshold and/or After the capability value of current residual available space is less than second space threshold value, clear up data cached, comprising:
After the data cached occupancy to initial residual available space reaches the first capacity-threshold and/or in current residual After the capability value of available space is less than second space threshold value, using data cached existing cycle length as priority to caching number According to being cleared up.
In addition, operation terminal includes memory, processor and bus, memory the present invention also provides a kind of operation terminal On be stored with can be by bus transfer to processor, and the operation terminal data processing program run on a processor, operation terminal Such as above-mentioned operation terminal data processing method is realized when data processor is executed by processor.
Preferably, operation terminal is the node for forming CDN network or block chain network.
In addition, the present invention also provides a kind of operation terminal data processing system, system includes:
Monitoring unit is supervised for executing the data cached space hold amount that data operation generates to operation terminal Control;
Data scrubbing unit, for reaching the first capacity-threshold in the data cached occupancy to initial residual available space Afterwards and/or after the capability value of current residual available space is less than second space threshold value, clear up data cached;Wherein, First capacity-threshold and second space threshold value be respectively less than or equal to initial residual available space capability value.
In addition, being stored with fortune on computer readable storage medium the present invention also provides a kind of computer readable storage medium Terminal data processing program is calculated, operation terminal data processing program can be executed by one or more processor, as above to realize The operation terminal data processing method stated.
Operation terminal data processing method provided by the present invention, first to execute data operation generate it is data cached with And the occupancy in space is monitored, and then executes the data cached to initial residual available space of data operation generation when existing Occupancy the case where reaching the first capacity-threshold and/or the capability value of current residual available space be less than second space threshold value It when situation, clears up data cached, wherein the first capacity-threshold and second space threshold value are respectively less than or are equal to initial surplus The whole volume value of remaining available space.Due to this method in view of operation terminal can be data cached because generating when executing data operation And the case where occupied space, in addition to this it is additionally contemplates that operation terminal itself may generate data because responding other objective operations The case where occupied space, therefore above situation is determined accordingly by different threshold values, and under any of the above cases, When data reach threshold value to the occupancy in space, to data operation when generate it is data cached clear up, avoid operation whole with this The case where memory space inadequate at end, and then the opposite data operation efficiency as shared operation node for ensuring operation terminal And reliability.In addition, the present invention also provides a kind of operation terminal, operation terminal data processing system and medium, beneficial effect It is same as above.
Detailed description of the invention
In order to illustrate the embodiments of the present invention more clearly, attached drawing needed in the embodiment will be done simply below It introduces, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill people For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of operation terminal data processing method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another operation terminal data processing method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another operation terminal data processing method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another operation terminal data processing method provided in an embodiment of the present invention;
Fig. 5 is a kind of structure chart of operation terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole embodiments.Based on this Embodiment in invention, those of ordinary skill in the art are without making creative work, obtained every other Embodiment belongs to the scope of the present invention.
In the scene for currently providing operation terminal to data operation ability as shared operation node, operation terminal is deposited It is usually limited to store up space, when operation terminal participates in data operation as shared operation node, it will usually cache a large amount of operation Data, therefore the memory space of operation terminal can be constantly occupied, and then there may be the feelings of the memory space inadequate of operation terminal Condition reduces so as to cause the operation efficiency, fluency and stability of operation terminal, or even directly contributes the delay machine of operation terminal Restart, therefore, it is difficult to ensure the data operation efficiency and reliability as shared operation node of operation terminal.
Core of the invention is to provide a kind of operation terminal data processing method, using it is opposite ensure operation terminal as total Enjoy the data operation efficiency and reliability of operation node.In addition, the present invention also provides a kind of operation terminals, operation terminal data Processing system and medium, beneficial effect are as described above.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.
Fig. 1 is a kind of flow chart of operation terminal data processing method provided in an embodiment of the present invention.Referring to FIG. 1, fortune Calculate terminal data processing method specific steps include:
Step S10: the data cached space hold amount that data operation generates is executed to operation terminal and is monitored.
It should be noted that since the operation terminal in this method can generate corresponding delay during executing data operation Deposit data, it is data cached can the global storage space to operation terminal cause to occupy, in addition, operation terminal is responding and is executing number It generates corresponding data according to can may also execute other operations while operation and global storage space is caused to occupy, because This, is monitored data cached and operation terminal the space hold amount for executing data operation generation in this step.
Step S11: after the data cached occupancy to initial residual available space reaches the first capacity-threshold and/or After the capability value of current residual available space is less than second space threshold value, clear up data cached.
Wherein, the first capacity-threshold and second space threshold value be respectively less than or equal to initial residual available space capacity Value.
It should be noted that the first capacity-threshold in this step is executed caused by data operation for operation terminal The limitation that data cached data volume carries out, that is to say, that the first capacity-threshold is operation terminal in initial residual available space On the basis of, execute the data cached data volume upper limit that can be generated of data operation, wherein initial residual available space is Operation terminal has not carried out possessed memory space when data operation.First capacity-threshold can be less than or equal to remaining available The capability value in space, when the data cached occupancy to initial residual available space reaches the first capacity-threshold, to data operation The data cached of generation carries out clearing up to allow for operation terminal and only execute have data operation, and then occupies remaining available space The data cached of data operation generation is only executed, therefore whether i.e. more than the first capacity-threshold to only focus on the total amount of storing data Can, in addition, the first capacity-threshold is specifically les than or capability value and specific value equal to remaining available space, it should be according to operation Depending on the overall performance of terminal.
Second space threshold value can be less than or equal to the capability value of remaining available space, when the appearance of current residual available space It when magnitude is less than second space threshold value, clears up data cached, allows for operation terminal in addition to executing data operation meeting Generate occupy memory space it is data cached other than, it is also possible to exist and generate data because of the corresponding other operations of operation terminal and account for The case where with memory space, therefore in order in the stability for macroscopically ensuring operation terminal, when whole current in operation terminal When remaining available space is reduced to certain degree, cleaning is data cached as caused by execution data operation, mitigates fortune with this Calculate the data storage burden of terminal entirety.In addition, second space threshold value be specifically les than or equal to remaining available space capability value And specific value, it should be depending on the overall performance of operation terminal.
In addition, it is necessary to explanation, the operation terminal that this method is applied to can be specifically mobile phone, PC or flat Plate computer etc. has the terminal of operational capability and communication capacity, is not specifically limited herein.In addition, the data in this method are transported Calculation can refer in particular to shared operation, and in this scene, budget terminal receives shared operation by preassembled shared operation APP and appoints Business, and operation is carried out to shared processor active task, data cached in calculating process is saved based on the memory space of itself.
In addition, it is necessary to explanation, in order to ensure operation terminal can be relatively convenient and efficiently to execution data fortune It calculates the data cached of generation to be cleared up, the data cached of glue file size can be generated during data operation, it is such as every A data cached file size is all 10MB, needs that important is the value of glue file size should not be too large, to avoid cleaning Process disposably occupies the excessive available resources of operation terminal, and then guarantees that operation terminal clears up the stabilization of data cached process Property.
Operation terminal data processing method provided by the present invention, first to execute data operation generate it is data cached with And the occupancy in space is monitored, and then executes the data cached to initial residual available space of data operation generation when existing Occupancy the case where reaching the first capacity-threshold and/or the capability value of current residual available space be less than second space threshold value It when situation, clears up data cached, wherein the first capacity-threshold and second space threshold value are respectively less than or are equal to initial surplus The whole volume value of remaining available space.Due to this method in view of operation terminal can be data cached because generating when executing data operation And the case where occupied space, in addition to this it is additionally contemplates that operation terminal itself may generate data because responding other objective operations The case where occupied space, therefore above situation is determined accordingly by different threshold values, and under any of the above cases, When data reach threshold value to the occupancy in space, to data operation when generate it is data cached clear up, avoid operation whole with this The case where memory space inadequate at end, and then the opposite data operation efficiency as shared operation node for ensuring operation terminal And reliability.
On the basis of the above embodiments, the present invention also provides a series of preferred embodiments.
Fig. 2 is the flow chart of another operation terminal data processing method provided in an embodiment of the present invention.Referring to FIG. 2, The specific steps of operation terminal data processing method include:
Step S20: the data cached space hold amount that data operation generates is executed to operation terminal and is monitored.
Step S21: it after the capability value of current residual available space is less than second space threshold value, is carried out clearly to data cached It manages so that the capability value of current residual available space is greater than or equal to second space threshold value.
Wherein, second space threshold value is less than or equal to the capability value of initial residual available space.
It should be noted that due to consideration that operation terminal, can when executing data operation in actual application scenarios There can be the scene of more newly downloaded or other third-party application downloading update of system etc. itself, therefore except execution data operation Outside the data cached occupancy memory space generated in the process, there are also other data to occupy memory space, the stability of operation terminal By the data joint effect of miscellaneous sources, therefore the present embodiment carries out the capability value of operation terminal current residual available space Judgement carries out continuing cleaning after the capability value of current residual available space is less than second space threshold value to data cached, so that The capability value of current residual available space is greater than or equal to second space threshold value, i.e., generates when persistently clearing up execution data operation It is data cached so that the current residual available space of operation terminal entirety capability value be greater than or equal to second space threshold value, with this In the relatively various scene of the memory space data source of operation terminal, what is generated when by clearing up data operation as far as possible is slow Deposit data and ensure the remaining available space of operation terminal entirety in reasonable range, it is ensured that the shared fortune of the conduct of operation terminal The data operation efficiency and reliability of operator node.
It should be noted that since operation terminal is data cached to ensure by generating when cleaning execution data operation The remaining available space of operation terminal entirety in reasonable range, but due in above-mentioned memory space data source it is more In scene, execute data operation when generate it is data cached be only a kind of data source, it is understood that there may be the less situation of accounting, because This is likely to occur is cleaned even if by data cached whole, and the capability value of the current residual available space of operation terminal is still not up to The standard of second space threshold value.
In these cases, as a preferred embodiment, when data cached complete liquidation finishes, and current residual When the capability value of available space is not greater than or equal to second space threshold value yet, free air anomaly alarm is carried out.
Due in the method, operation terminal only can it is spontaneous to data operation generate it is data cached clearing up, Therefore work as data cached complete liquidation to finish, and the capability value of current residual available space is not greater than or equal to second space threshold yet When value, need to carry out unprecedented abnormal alarm to user, to inform that the memory space in user's current operation terminal has been expired, in turn The wherein data in addition to data cached are deleted by user's control operation terminal selectively, present embodiment can further really Protect the global reliability of operation terminal.
On the basis of the above embodiments, as a preferred embodiment, current residual available space capacity After value is less than second space threshold value, cleared up so that the capability value of current residual available space is greater than or equal to data cached Second space threshold value, comprising:
After the capability value of current residual available space is less than second space threshold value, according to preset percentage to data cached It is cleared up so that the capability value of current residual available space is greater than or equal to second space threshold value.
It should be noted that due to consideration that in the memory space of operation terminal, except the caching for executing data operation and generating It also include the data content that other odjective causes generate, and the data content that other odjective causes generate can other than data Can also due to the operation of user and be cleaned, therefore data cached being cleared up to execute that data operation generates every time When, only the data of the data cached preset percentage data volume of current whole are cleared up, with this so that current residual can use sky Between capability value reach the standard of second space threshold value, present embodiment can be relatively flexible to cleared up data cached number The control of macroscopic view is carried out according to amount.
On the basis of the above embodiments, as a preferred embodiment, current residual available space capacity After value is less than second space threshold value, cleared up so that the capability value of current residual available space is greater than or equal to data cached Second space threshold value, comprising:
After the capability value of current residual available space is less than second space threshold value, by second space threshold value and current residual Difference between the capability value of available space is cleared up so that current residual is available as data scrubbing magnitude data cached The capability value in space is equal to second space threshold value.
It should be noted that the present embodiment is by the difference between second space threshold value and the capability value of current residual available space Value is used as data scrubbing magnitude, and is cleared up so that the capability value of current residual available space meets the with this data cached The standard of two capacity-thresholds opposite can ensure that operation terminal reaches the whole efficiency of the process of stable state.
Fig. 3 is the flow chart of another operation terminal data processing method provided in an embodiment of the present invention.Referring to FIG. 3, The specific steps of operation terminal data processing method include:
Step S30: the data cached space hold amount that data operation generates is executed to operation terminal and is monitored.
Step S31: data are cleared up execute that the data cached acceptance of the bid that data operation generates writes sufficient preset standard all over.
Step S32: after the capability value of current residual available space is less than second space threshold value, in data cached can Cleaning data carry out cleaning until the capability value of current residual available space is greater than or equal to second space threshold value.
Wherein, second space threshold value is less than or equal to the capability value of initial residual available space.
Due to consideration that in actual application, execute between data cached caused by data operation often there is also Different significance levels, normally executes data operation and that the influence in the directions such as result accuracy is little is data cached, answers As the object preferentially cleared up, ensure that, when clearing up data cached, do not operate on the execution of data operation influences as far as possible with this, because This present embodiment execute data operation generate data cached acceptance of the bid write all over sufficient preset standard significance level it is lower can be clear Data are managed, and then after the capability value of current residual available space is less than second space threshold value, to clearing up in data cached Data carry out cleaning until the capability value of current residual available space is greater than or equal to second space threshold value.The present embodiment can be While ensuring operation terminal works stability, it is further ensured that the relatively normal of data operation executes.
On the basis of the above embodiments, as a preferred embodiment, in the caching for executing data operation generation What sufficient preset standard was write in data acceptance of the bid all over clears up data, comprising:
The data cached label not called in preset duration is cleaning data by data operation.
Due to consideration that it is data cached whether importance with higher for data operation, essentially consist in data operation Whether often it is called in the process, therefore present implementation can clear up data using predetermined period as in data cached middle label Foundation, meeting do not called in predetermined period data cached can be labeled as can clear up data.
On the basis of the above embodiments, as a preferred embodiment, current residual available space capacity After value is less than second space threshold value, cleaning is carried out up to the appearance of current residual available space to the data of clearing up in data cached Magnitude is greater than or equal to after second space threshold value, method further include:
It is finished when data complete liquidation can be cleared up, and the capability value of current residual available space is not greater than or equal to second yet When capacity-threshold, clear up data cached in addition to it can clear up data.
It should be noted that due to consideration that data can be cleared up often be only the partial data in data cached, therefore only Cleaning, which can clear up data in some cases, can not ensure that the capacity of the current residual available space of operation terminal does not reach yet To the standard of second space threshold value, therefore present embodiment, finishing when data complete liquidation can be cleared up, and current residual is available When the capability value in space is not greater than or equal to second space threshold value yet, the caching number in addition to it can clear up data is further cleared up According to utmostly ensuring the reliability of operation terminal with this.
Fig. 4 is the flow chart of another operation terminal data processing method provided in an embodiment of the present invention.Referring to FIG. 4, The specific steps of operation terminal data processing method include:
Step S40: the data cached space hold amount that data operation generates is executed to operation terminal and is monitored.
Step S41: after the data cached occupancy to initial residual available space reaches the first capacity-threshold and/or After the capability value of current residual available space is less than second space threshold value, using data cached existing cycle length as priority It clears up data cached.
It should be noted that existing cycle length is got over due to consideration that data cached caused by execution data operation Long, then its importance for data operation is lower, thus the present embodiment will it is data cached existing for cycle length as Priority is cleared up data cached, i.e., the data cached existing period is longer, then its corresponding priority being cleaned is got over It is high.The present embodiment can be further ensured that normally holding relatively for data operation while ensuring operation terminal works stability Row.
Hereinbefore the embodiment of operation terminal data processing method is described in detail, the present invention also provides A kind of operation terminal corresponding with this method, since the embodiment of operation terminal part and the embodiment of method part are mutually right It answers, the embodiment of operation terminal part refers to the description of the embodiment of method part, wouldn't repeat here.
Fig. 5 is a kind of structure chart of operation terminal provided in an embodiment of the present invention.
Referring to FIG. 5, a kind of operation terminal 1 provided in an embodiment of the present invention, operation terminal 1 includes memory 11, processing Device 12 and bus 13 are stored with the fortune that can be transmitted to processor 12 by bus 13, and be run on the processor 12 on memory 11 Terminal data processing program is calculated, such as above-mentioned operation number of terminals is realized when operation terminal data processing program is executed by processor 12 According to processing method.
The operation terminal 1 can be the node of composition CDN network or block chain network.Can be composition CDN network or The node of person's block chain network.
Wherein, memory 11 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory, Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 11 It can be the internal storage unit of operation terminal 1, such as the hard disk of the operation terminal 1 in some embodiments.Memory 11 exists It is hard to be also possible to the plug-in type being equipped on the External memory equipment of operation terminal 1, such as operation terminal 1 in other embodiments Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, memory 11 can also both including operation terminal 1 internal storage unit and also including outside Store equipment.Memory 11 can be not only used for the application software and Various types of data that storage is installed on operation terminal 1, such as video The code etc. of transcoding program can be also used for temporarily storing the data that has exported or will export.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 11 Code or processing data, such as execute video code conversion program etc..
The bus 13 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA) Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 5 only with one slightly Line indicates, it is not intended that an only bus or a type of bus.
Operation terminal provided by the present invention, first to data cached and space the occupancy for executing data operation generation Amount is monitored, and then is reached when there is the data cached occupancy to initial residual available space for executing data operation generation When the capability value of the case where first capacity-threshold and/or current residual available space is less than the case where second space threshold value, to slow Deposit data is cleared up, wherein the first capacity-threshold and second space threshold value are respectively less than or are equal to initial residual available space Whole volume value.Due to this operation terminal in view of operation terminal can be generated when executing data operation it is data cached due to occupy In addition to this case where space, is additionally contemplates that operation terminal itself may generate data because responding other objective operations and occupy sky Between the case where, therefore above situation is determined accordingly by different threshold values, and under any of the above cases, data pair When the occupancy in space reaches threshold value, to data operation when generate it is data cached clear up, depositing for operation terminal is avoided with this The case where storing up insufficient space, so it is opposite ensure operation terminal as shared operation node data operation efficiency and can By property.
The present invention also provides a kind of operation terminal data processing system, system includes:
Monitoring unit is supervised for executing the data cached space hold amount that data operation generates to operation terminal Control;
Data scrubbing unit, for reaching the first capacity-threshold in the data cached occupancy to initial residual available space Afterwards and/or after the capability value of current residual available space is less than second space threshold value, clear up data cached;Wherein, First capacity-threshold and second space threshold value be respectively less than or equal to initial residual available space capability value.
Operation terminal data processing system provided by the present invention, first to execute data operation generate it is data cached with And the occupancy in space is monitored, and then executes the data cached to initial residual available space of data operation generation when existing Occupancy the case where reaching the first capacity-threshold and/or the capability value of current residual available space be less than second space threshold value It when situation, clears up data cached, wherein the first capacity-threshold and second space threshold value are respectively less than or are equal to initial surplus The whole volume value of remaining available space.Due to this system in view of operation terminal can be data cached because generating when executing data operation And the case where occupied space, in addition to this it is additionally contemplates that operation terminal itself may generate data because responding other objective operations The case where occupied space, therefore above situation is determined accordingly by different threshold values, and under any of the above cases, When data reach threshold value to the occupancy in space, to data operation when generate it is data cached clear up, avoid operation whole with this The case where memory space inadequate at end, and then the opposite data operation efficiency as shared operation node for ensuring operation terminal And reliability.
In addition, being stored with fortune on computer readable storage medium the present invention also provides a kind of computer readable storage medium Terminal data processing program is calculated, operation terminal data processing program can be executed by one or more processor, as above to realize The operation terminal data processing method stated.
Computer readable storage medium provided by the present invention, first to execute data operation generate it is data cached and The occupancy in space is monitored, and then when there is execute that data operation generates data cached to initial residual available space The capability value that occupancy reaches the case where the first capacity-threshold and/or current residual available space is less than the feelings of second space threshold value It when condition, clears up data cached, wherein the first capacity-threshold and second space threshold value are respectively less than or are equal to initial residual The whole volume value of available space.When can be because executing data operation in view of operation terminal due to this computer readable storage medium In addition to this case where generating data cached and occupied space is additionally contemplates that operation terminal itself may be because responding other objective behaviour The case where making and generating data occupied space, therefore above situation is determined accordingly by different threshold values, and upper State in any situation, when data reach threshold value to the occupancy in space, to data operation when generate it is data cached clear up, with This is avoided the case where memory space inadequate of operation terminal, so it is opposite ensure operation terminal as shared operation node Data operation efficiency and reliability.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the article of the element Or there is also other identical elements in method.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (11)

1. a kind of operation terminal data processing method is applied to operation terminal, which is characterized in that the described method includes:
The data cached space hold amount that data operation generates is executed to the operation terminal to be monitored;
After the data cached occupancy to initial residual available space reaches the first capacity-threshold and/or in current residual After the capability value of available space is less than second space threshold value, data cached cleared up to described;Wherein, first spatial threshold Value and the second space threshold value be respectively less than or equal to the initial residual available space capability value.
2. operation terminal data processing method according to claim 1, which is characterized in that described described data cached right The occupancy of initial residual available space reaches after the first capacity-threshold and/or is less than in the capability value of current residual available space After second space threshold value, data cached cleared up to described, comprising:
It is clear to the data cached progress after the capability value of the current residual available space is less than the second space threshold value It manages so that the capability value of the current residual available space is greater than or equal to the second space threshold value.
3. operation terminal data processing method according to claim 2, which is characterized in that it is described the current residual can After being less than the second space threshold value with the capability value in space, data cached cleared up so that the current residual can to described After being greater than or equal to the second space threshold value with the capability value in space, the method also includes:
When the data cached complete liquidation finishes, and the capability value of the current residual available space is not greater than or equal to institute yet When stating second space threshold value, free air anomaly alarm is carried out.
4. operation terminal data processing method according to claim 2 or 3, which is characterized in that described described current surplus After the capability value of remaining available space is less than the second space threshold value, data cached cleared up so that described current surplus to described The capability value of remaining available space is greater than or equal to before the second space threshold value, the method also includes:
Data are cleared up execute that the data cached acceptance of the bid that the data operation generates writes sufficient preset standard all over;
The capability value in the current residual available space be less than the second space threshold value after, to it is described it is data cached into Row is cleared up so that the capability value of the current residual available space is greater than or equal to the second space threshold value, comprising:
The current residual available space capability value be less than the second space threshold value after, to it is described it is data cached in institute Data can be cleared up by, which stating, is cleared up so that the capability value of the current residual available space is greater than or equal to the second space threshold Value.
5. operation terminal data processing method according to claim 4, which is characterized in that described to execute the data fortune That calculates that the data cached acceptance of the bid generated writes sufficient preset standard all over clears up data, comprising:
The data cached label not called in preset duration can be cleared up data by data operation.
6. operation terminal data processing method according to claim 4, which is characterized in that it is described the current residual can After being less than the second space threshold value with the capability value in space, to it is described it is data cached in described in can clear up data and clear up So that the capability value of the current residual available space is greater than or equal to after the second space threshold value, the method is also wrapped It includes:
It clears up data complete liquidation when described and finishes, and the capability value of the current residual available space is still less than described second When capacity-threshold, clear up except it is described clear up data in addition to it is described data cached.
7. operation terminal data processing method according to claim 1, which is characterized in that described described data cached right The occupancy of initial residual available space reaches after the first capacity-threshold and/or is less than in the capability value of current residual available space After second space threshold value, data cached cleared up to described, comprising:
After the data cached occupancy to the initial residual available space reaches first capacity-threshold and/or After the capability value of current residual available space is less than the second space threshold value, made with the data cached existing cycle length It data cached is cleared up for priority to described.
8. a kind of operation terminal, which is characterized in that the operation terminal includes memory, processor and bus, the memory On be stored with can be by bus transfer to the processor, and the operation terminal data processing program run on the processor, The operation terminal data processing program realizes fortune as claimed in any one of claims 1 to 7 when being executed by the processor Calculate terminal data processing method.
9. operation terminal according to claim 8, which is characterized in that the operation terminal is composition CDN network or area The node of block chain network.
10. a kind of operation terminal data processing system, which is characterized in that the system comprises:
Monitoring unit is supervised for executing the data cached space hold amount that data operation generates to the operation terminal Control;
Data scrubbing unit, for reaching the first capacity-threshold in the data cached occupancy to initial residual available space Afterwards and/or after the capability value of current residual available space is less than second space threshold value, data cached cleared up to described;Its In, first capacity-threshold and the second space threshold value be respectively less than or equal to the initial residual available space capacity Value.
11. a kind of computer readable storage medium, which is characterized in that be stored with operation end on the computer readable storage medium End data processing routine, the operation terminal data processing program can be executed by one or more processor, to realize as weighed Benefit require any one of 1 to 7 described in operation terminal data processing method.
CN201910356747.3A 2019-04-29 2019-04-29 A kind of operation terminal data processing method, operation terminal, system and medium Pending CN110069386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910356747.3A CN110069386A (en) 2019-04-29 2019-04-29 A kind of operation terminal data processing method, operation terminal, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910356747.3A CN110069386A (en) 2019-04-29 2019-04-29 A kind of operation terminal data processing method, operation terminal, system and medium

Publications (1)

Publication Number Publication Date
CN110069386A true CN110069386A (en) 2019-07-30

Family

ID=67369558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910356747.3A Pending CN110069386A (en) 2019-04-29 2019-04-29 A kind of operation terminal data processing method, operation terminal, system and medium

Country Status (1)

Country Link
CN (1) CN110069386A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124316A (en) * 2019-12-30 2020-05-08 青岛海尔科技有限公司 Method and device for sharing storage space and computer readable storage medium
CN111162965A (en) * 2019-12-17 2020-05-15 杭州迪普科技股份有限公司 Method and device for monitoring Buffer
CN112448979A (en) * 2019-08-30 2021-03-05 贵州白山云科技股份有限公司 Cache information updating method, device and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776378A (en) * 2016-12-05 2017-05-31 宇龙计算机通信科技(深圳)有限公司 It is a kind of to clear up data cached method and device
CN108829616A (en) * 2018-06-15 2018-11-16 佛山长意云信息技术有限公司 A kind of data cached management method, device, computer equipment and storage medium
CN109542802A (en) * 2018-11-26 2019-03-29 努比亚技术有限公司 Data cached method for cleaning, device, mobile terminal and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776378A (en) * 2016-12-05 2017-05-31 宇龙计算机通信科技(深圳)有限公司 It is a kind of to clear up data cached method and device
CN108829616A (en) * 2018-06-15 2018-11-16 佛山长意云信息技术有限公司 A kind of data cached management method, device, computer equipment and storage medium
CN109542802A (en) * 2018-11-26 2019-03-29 努比亚技术有限公司 Data cached method for cleaning, device, mobile terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《计算机基础教程》编写组: "《医院信息系统数据库技术与应用》", 成都:电子科技大学出版社, pages: 112 - 113 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448979A (en) * 2019-08-30 2021-03-05 贵州白山云科技股份有限公司 Cache information updating method, device and medium
CN112448979B (en) * 2019-08-30 2022-09-13 贵州白山云科技股份有限公司 Cache information updating method, device and medium
US11853229B2 (en) 2019-08-30 2023-12-26 Guizhou Baishancloud Technology Co., Ltd. Method and apparatus for updating cached information, device, and medium
CN111162965A (en) * 2019-12-17 2020-05-15 杭州迪普科技股份有限公司 Method and device for monitoring Buffer
CN111124316A (en) * 2019-12-30 2020-05-08 青岛海尔科技有限公司 Method and device for sharing storage space and computer readable storage medium
CN111124316B (en) * 2019-12-30 2023-12-19 青岛海尔科技有限公司 Storage space sharing method and device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN110069386A (en) A kind of operation terminal data processing method, operation terminal, system and medium
US8014994B2 (en) Simulation business object for service oriented architecture
CN105843656B (en) System upgrading method for insufficient disk space, terminal equipment and server
CN106375404B (en) Data storage control method, date storage method, data capture method and device
CN108449410A (en) Information management method, system and relevant apparatus in a kind of cloud platform
CN103092700A (en) Internal memory cleaning method and cleaning device and terminal device
CN109684099B (en) Message processing method and device
CN106326499B (en) A kind of data processing method and device
CN110351375A (en) A kind of data processing method, device and computer installation, readable storage medium storing program for executing
CN105227671A (en) Off-line data caching method and system
CN104461698A (en) Dynamic virtual disk mounting method, virtual disk management device and distributed storage system
CN107347039A (en) A kind of management method and device in shared buffer memory space
CN112835524A (en) Storage resource allocation method, storage resource controller and scheduling system
CN109144714A (en) EMS memory management process and device
CN109471843A (en) A kind of metadata cache method, system and relevant apparatus
CN114327399A (en) Distributed training method, apparatus, computer device, storage medium and product
CN110891087B (en) Log transmission method and device, electronic equipment and storage medium
CN112148350A (en) Remote version management method for works, electronic device and computer storage medium
CN109521970A (en) A kind of data processing method and relevant device
CN106021003A (en) Intelligent terminal repairing method, intelligent terminal, and server
CN109788006B (en) Data equalization method and device and computer equipment
CN116541047A (en) Firmware upgrading method, device, computer equipment and computer readable storage medium
CN103106125B (en) The flash memory storage method repaired based on memory block
CN106844605B (en) Batch data logical process method and device
CN113743040B (en) Test method, test device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190730