CN107861886A - Data cached processing method, device and terminal - Google Patents

Data cached processing method, device and terminal Download PDF

Info

Publication number
CN107861886A
CN107861886A CN201711220156.0A CN201711220156A CN107861886A CN 107861886 A CN107861886 A CN 107861886A CN 201711220156 A CN201711220156 A CN 201711220156A CN 107861886 A CN107861886 A CN 107861886A
Authority
CN
China
Prior art keywords
data
data cached
cache partitions
manipulation event
cached
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
CN201711220156.0A
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.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201711220156.0A priority Critical patent/CN107861886A/en
Publication of CN107861886A publication Critical patent/CN107861886A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
    • 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/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • 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/0866Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches for peripheral storage systems, e.g. disk cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/72Details relating to flash memory management
    • G06F2212/7204Capacity control, e.g. partitioning, end-of-life degradation

Abstract

Present invention is disclosed a kind of data cached processing method, device and terminal, belong to Computer Applied Technology field.Methods described includes:Carry out the monitoring of data manipulation event in cache partitions, obtain the data manipulation event in the cache partitions, the cache partitions correspond in internal memory by the data cached storage location specified of operation application program, when reaching the time cycle, pass through the data manipulation event, obtain the cache partitions changed within the time cycle it is data cached, by the data cached flash memory for being updated to the application program and running and configuring.In addition, additionally provide data cached processing unit and terminal.Above-mentioned data cached processing method, device and terminal can greatly reduce the erasable number to flash memory.

Description

Data cached processing method, device and terminal
Technical field
The present invention relates to Computer Applied Technology field, more particularly to a kind of data cached processing method, device and end End.
Background technology
Flash (flash memory) and internal memory are currently used two kinds of storage mediums.Wherein Flash is commonly used to preserve in terminal Power down is not lost data cached, and internal memory be typically program operation place, power down then loss of data.On service life, Flash typically can only write 10 ten thousand to million times, the i.e. erasing each time to same by inserting, and can all reduce this block uses the longevity Life, and internal memory then limits without this, it has the characteristics of refreshing at a high speed, service life is very long.
Frequently with Flash as data cached storage medium in current terminal, and to slow during the use of terminal The read-write of deposit data will be very frequent.For example, during the use of the web such as the browser being installed in television set applications, it is right Data cached read-write is very frequently (general one second ten several times).And due to limited erasable number, the frequency of some block in Flash It is numerous it is erasable the block will be caused easily downright bad, and as the bad block in Flash is more and more, will cause terminal occur starting it is abnormal.
The content of the invention
In order to solve the data cached read-write of terminal-pair flash memory in correlation technique, excessively frequently technical problem, the present invention carry A kind of data cached processing method, device and terminal are supplied.
First aspect, there is provided a kind of data cached processing method, including:
The monitoring of data manipulation event in cache partitions is carried out, obtains the data manipulation event in the cache partitions, institute State cache partitions corresponding in internal memory by the data cached storage location specified of operation application program;
When reaching the time cycle, by the data manipulation event, the cache partitions are obtained in the time cycle What is inside changed is data cached;
By in the data cached flash memory for being updated to the application program operation and configuring.
Second aspect, there is provided a kind of data cached processing unit, including:
Data manipulation event-monitoring module, for carrying out the monitoring of data manipulation event in cache partitions, obtain described slow Deposit the data manipulation event in subregion, the cache partitions correspond in internal memory by operation application program specify it is data cached Storage location;
Change data cached acquisition module, for when reaching the time cycle, by the data manipulation event, obtaining institute State cache partitions changed within the time cycle it is data cached;
Data update module, for by the data cached flash memory for being updated to the application program and running and configuring.
The third aspect, there is provided a kind of terminal, including:
Processor;And
The memory being connected with the processor communication;Wherein,
The memory storage has readable instruction, and the readable instruction is realized such as first during the computing device Method described in aspect.
Fourth aspect, there is provided a kind of computer readable storage medium, be stored thereon with computer program, the calculating Machine program realizes the method such as first aspect when executed.
The technical scheme provided by embodiments of the invention can obtain following beneficial effect:
Data cached storage location when being used as application program operation by referring to a fixed cache partitions in internal memory, and lead to Cross and obtain cache partitions and changed within the time cycle data cached, the respective cache data in flash memory are updated, It is erasable so as to only need cycle passage time to carry out the data cached storage location that renewal be present in flash memory, greatly reduce to dodging The erasable number deposited, and per the cycle in elapsed time time interval, by flash memory application program is run it is data cached enter Row backup, avoiding causes the data cached security lost completely, substantially increase data cached storage because of internal memory power down.
It should be appreciated that the general description and following detailed description of the above are only exemplary, the present invention not by Limitation.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and for explaining principle of the invention together with specification.
Fig. 1 is the schematic diagram of an implementation environment according to involved by the disclosure.
Fig. 2 is a kind of data cached process flow figure according to an exemplary embodiment.
Fig. 3 is correspondingly implement step S110 in the data cached processing method that exemplifies according to Fig. 2 a kind of specific real Existing flow chart.
Fig. 4 is correspondingly implement step S130 in the data cached processing method that exemplifies according to Fig. 2 a kind of specific real Existing flow chart.
Fig. 5 is another data cached processing method for correspondingly being implemented to exemplify according to Fig. 2.
Fig. 6 is a kind of block diagram of data cached processing unit according to an exemplary embodiment.
Fig. 7 is to correspond to data manipulation event in data cached processing unit shown in exemplary embodiment according to Fig. 6 to supervise Control a kind of block diagram of module 110.
Fig. 8 is to correspond to data update module 130 in data cached processing unit shown in exemplary embodiment according to Fig. 6 A kind of block diagram.
Fig. 9 is the block diagram of another data cached processing unit for correspondingly being implemented to exemplify according to Fig. 6.
Figure 10 is a kind of block diagram of terminal according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following exemplary is implemented Embodiment described in example does not represent all embodiments consistent with the present invention.On the contrary, they are only and such as institute The example of the consistent apparatus and method of described, of the invention some aspects in attached claims.
Fig. 1 is the schematic diagram of an implementation environment according to involved by the disclosure.The implementation environment includes:In terminal 100 Application program 101, internal memory 102 and flash memory 103.
In terminal 100 run application program 101 when, by advance be application program 101 in the internal memory 102 of terminal 100 Specify a cache partitions, and then application program 101 is using the cache partitions as data cached storage location when running, and in advance If time cycle, the data cached relevant position being updated in internal memory 103 that will be changed in cache partitions, so as to avoid Because internal memory 102 causes data cached loss, and only need to be every the time interval of time cycle completely because being cleared data after power down It is once erasable to the data cached position progress in the presence of renewal in flash memory 103, greatly reduce the erasable number to flash memory.
Terminal 100 can be the computer equipments such as television set, mobile phone, computer, and specific implementation is not by the present embodiment Limitation.
Fig. 2 is a kind of data cached process flow figure according to an exemplary embodiment, as shown in Fig. 2 The data cached processing method may comprise steps of.
In step s 110, the monitoring of data manipulation event in cache partitions is carried out, obtains the data behaviour in cache partitions Make event.
Cache partitions be in internal memory by the data cached storage location specified of operation application program.
Internal memory is the memory space of CPU energy direct addressins.
In a specific exemplary embodiment, RAM (Random Access Memory, random access memory) is inside saved as.
By selecting a subregion to be used as cache partitions in internal memory, delayed when being run for the application program in terminal The storage of deposit data.Because internal memory does not have the limitation of the erasable number of data, therefore service life is very long, and with brush at a high speed The characteristics of new.
In a specific exemplary embodiment, one is set to delay in internal memory by tmpfs (interior sustainability file system) Subregion is deposited, data cached storage location during as browser execution, so as to avoid the operation of the application programs such as browser frequently right Flash memory carries out data cached read-write, greatly reduces the read-write number to flash memory.
Data manipulation event be to the data cached event operated, such as document creation event, file modification event, File deletion event etc..
When being monitored to the data manipulation events of cache partitions in internal memory, it can be monitored by system kernel, It can be monitored, can also be monitored in other way by the application program of operation.
In one exemplary embodiment, the data manipulation event of cache partitions in internal memory is supervised by system internal control Control, and then application program is notified by the Inotify of system kernel.
In the step s 120, when reaching the time cycle, by data manipulation event, cache partitions are obtained in the time cycle What is inside changed is data cached.
Time cycle pre-sets.User can adjust the time cycle according to specific usage scenario.For example, when Between the cycle could be arranged to 10 seconds, it can also be provided that 100 seconds.
Only when time interval reaches the time cycle, just acquisition cache partitions change slow in the time interval Deposit data.
For example, the time cycle is 10 seconds, in Beijing time 12:00:12 have been obtained when 10:00:10-12:00:10 times In the range of accordingly change it is data cached when, then in Beijing time 12:00:12 are obtained when 20:00:10-12:00:When 20 Between in the range of change it is data cached.
In step s 130, by the data cached flash memory for being updated to application program operation and configuring.
By by cache partitions changed within the time cycle it is data cached copy in flash memory, to corresponding in flash memory Data cached be replaced renewal.Without in flash memory it is all it is data cached be updated, avoid to number in flash memory It is erasable according to the position progress not updated, greatly reduce the erasable number to flash memory.
Can be the caching number that will be changed during by the data cached flash memory for being updated to application program operation and configuring Data bit is that unit updates in a flash memory or the text by the data cached ownership to be changed by obtaining in advance according to this Part, and then updated in a flash memory in units of file, it can also be that other modes data cached are updated to what is changed In flash memory.
Using method as described above, it is used as delaying when application program is run by referring to a fixed cache partitions in internal memory Deposit data storage location, and by obtain cache partitions changed within the time cycle it is data cached, to the phase in flash memory Answer it is data cached be updated, so as to only need cycle passage time in flash memory it is data cached exist renewal storage location carry out It is erasable, the erasable number to flash memory, and the time interval per the cycle in elapsed time are greatly reduced, by flash memory to using journey The data cached of sort run is backed up, and avoiding causes data cached loss completely because of internal memory power down, substantially increases slow The security of deposit data storage.
Fig. 3 is the detailed description for correspondingly implementing step S110 in the data cached processing method that exemplifies according to Fig. 2, such as Shown in Fig. 3, the step S110 in the data cached processing method can also comprise the following steps.
In step S111, according to the monitoring information of preset data Action Events type, reception system is according to monitoring information The announcement information for monitoring the data manipulation event to cache partitions and sending.
Preset data Action Events type is the event type of the progress data manipulation pre-set.
In one exemplary embodiment, preset data Action Events type is establishment event, modification event, deletion event.
When application program need to carry out the monitoring of data manipulation event to cache partitions, sent out by Inotify interfaces to system Send the monitoring information for including preset data Action Events type.System is believed according to the monitoring comprising preset data Action Events type Breath, cache partitions in internal memory are carried out with the monitoring of data manipulation event, judge whether that event type operates with preset data Event type identical event, if in the presence of the event being defined as into the data manipulation event to cache partitions, and notify to apply Program.
In step S113, the data manipulation event to cache partitions is obtained according to announcement information.
Using method as described above, by system cache partitions are carried out with the monitoring of data manipulation event, without extra Increase the monitoring function of application program, greatly reduce resource occupation amount during application program operation.
Optionally, step S120 can also include following in the data cached processing method that Fig. 2 correspondingly implements to exemplify Step:
When reaching the time cycle, determine whether the data cached of data manipulation event handling changes, obtain cache partitions What is changed within the time cycle is data cached.
It is understood that the data manipulation event to cache partitions is handled data cached.
Therefore, according to the process content of data manipulation event, the data cached of the data manipulation event handling is obtained.
Therefore, according in the time cycle each data manipulation event handling it is data cached, each data manipulation thing can be known Data cached whether the changing of part processing, if changing, obtain cache partitions and changed within the time cycle It is data cached.
Using method as described above, when reaching the time cycle, by the caching number for determining data manipulation event handling Whether according to changing, when changing, acquisition cache partitions within the time cycle accordingly change data cached, and root According to these it is data cached in flash memory it is corresponding it is data cached be updated, so as to only need to be slow to what is changed in the time cycle The storage location progress of deposit data in a flash memory is erasable, erasable without being carried out to all storage locations of flash memory, greatly reduces To the erasable number of flash memory.
Fig. 4 is the detailed description for correspondingly implementing step S130 in the data cached processing method that exemplifies according to Fig. 2, such as Shown in Fig. 4, the step S130 in the data cached processing method can also comprise the following steps.
In step S131, data more new file is determined according to data cached the belonged to file to change.
Data more new file is the data cached file that renewal be present that it is included.Such as to this in preset time period The data cached of file has the operation such as establishment, modification, deletion.
It is understood that data cached stored in the form of a file.Therefore, according to data manipulation event institute What is handled is data cached, can easily know the data cached file that renewal be present.
In step S132, for each data more new file, the corresponding sudden strain of a muscle in a flash memory of data more new file is determined Deposit position.
As previously described, it is data cached to be stored in units of file.And in flash memory an application program caching Data cached in cache partitions is identical when data and last time cycle.
Thus, caused by if data more new file is due to the data manipulation such as modification, deletion event, according to the data More new file, its storage location in a flash memory, i.e. flash locations can be known;If data more new file is due to the number such as establishment Caused by according to Action Events, then according to the data more new file will be in a flash memory storage location determine the data renewal text The flash locations of part.
In step S133, data cached replacement of the data more new file in cache partitions is stored to flash locations.
Using method as described above, by units of file, need to only exist to the more new file of the data in the time cycle Storage location progress in flash memory is once erasable, erasable without being carried out to all storage locations of flash memory, exists without to flash memory It is repeatedly erasable to there is the storage location progress repeatedly updated in the time cycle, greatly reduces the erasable number to flash memory.
Fig. 5 is another data cached processing method for correspondingly being implemented to exemplify according to Fig. 2, as shown in figure 5, in Fig. 2 After step S130 in corresponding embodiment, the data cached processing method can also comprise the following steps.
In step S210, start-up operation of the monitoring system after closing.
After closing, all data in internal memory will be completely removed system.Therefore, stored in internal memory in cache partitions Account, password etc. it is data cached will lose, but in flash memory it is data cached not because system closing and be eliminated.
In step S220, start-up operation is responded, data cached in flash memory is copied to cache partitions.
As previously described, each time cycle, what can all be changed in the time range for obtaining the time cycle is slow After deposit data, by the data cached relevant position being updated in flash memory in this part, therefore, though in internal memory cache partitions caching Data are all lost, upper week time when also cache partitions data cached can be returned into closing after system start-up Phase.
Therefore, when system starts after closing, data cached in flash memory is copied in cache partitions.So as to avoid When restarting because of system after closing, original buffer culture can not recover, and by the way that data cached in flash memory is copied to In the cache partitions of internal memory, the security of data cached storage ensure that.
Following is present system embodiment, can be used for performing above-mentioned data cached processing method embodiment.For The details not disclosed in present system embodiment, it refer to the data cached processing method embodiment of the present invention.
Fig. 6 is a kind of block diagram of data cached processing unit according to an exemplary embodiment, and the system includes But it is not limited to:Data manipulation event-monitoring module 110, the data cached acquisition module 120 of change and data update module 130.
Data manipulation event-monitoring module 110, for carrying out the monitoring of data manipulation event in cache partitions, described in acquisition Data manipulation event in cache partitions, the cache partitions correspond in internal memory by the caching number specified of operation application program According to storage location;
Change data cached acquisition module 120, for when reaching the time cycle, by the data manipulation event, obtaining The cache partitions are taken to be changed within the time cycle data cached;
Data update module 130, for by the data cached flash memory for being updated to the application program and running and configuring In.
The function of modules and the implementation process of effect specifically refer to above-mentioned data cached processing side in said apparatus The implementation process of step is corresponded in method, will not be repeated here.
Optionally, as shown in fig. 7, data manipulation event-monitoring module 110 also includes but is not limited to:Notification receiving unit 111 and data Action Events acquiring unit 113.
Notification receiving unit 111, for according to the monitoring information for including preset data Action Events type, receiving the system The announcement information that system monitors the data manipulation event to the cache partitions according to the monitoring information and sent;
Data manipulation event acquiring unit 113, for obtaining the data to the cache partitions according to the announcement information Action Events.
Optionally, change data cached acquisition module 120 also to include but is not limited to:Change data cached acquiring unit.
Change data cached acquiring unit, for when reaching the time cycle, determining the data manipulation event handling It is data cached whether to change, obtain the cache partitions accordingly changed within the time cycle it is data cached.
Optionally, as shown in figure 8, data update module 130 also includes but is not limited to:Data update document determining unit 131st, update position determination unit 132 and data replace memory cell 133.
Data update document determining unit 131, for true according to data cached the belonged to file to change Fixed number is according to more new file;
Position determination unit 132 is updated, for for each data more new file, determining that the data more new file exists Corresponding flash locations in flash memory;
Data replace memory cell 133, for the data more new file is data cached in the cache partitions Replacement is stored to the flash locations.
Optionally, Fig. 9 is the block diagram of another data cached processing unit for correspondingly being implemented to exemplify according to Fig. 6, such as Shown in Fig. 9, the data cached processing unit also includes but is not limited to:Start monitoring module 210 and data replication module 220.
Start monitoring module 210, for start-up operation of the monitoring system kernel after closing;
Data duplication module 220, for responding the start-up operation, data cached in the flash memory is copied to described Cache partitions.
Figure 10 is a kind of block diagram of terminal 100 according to an exemplary embodiment.
With reference to figure 10, terminal 100 can include one or more following component:Processing component 101, memory 102, electricity Source component 103, multimedia groupware 104, audio-frequency assembly 105, sensor cluster 107 and communication component 108.Wherein, above-mentioned group Part is simultaneously not all necessary, and terminal 100 can increase other assemblies according to itself functional requirement or reduce some components, this implementation Example is not construed as limiting.
Processing component 101 generally controls the integrated operation of terminal 100, is such as communicated with display, call, data, phase Operation that machine operates and record operation is associated etc..Processing component 101 can include one or more processors 109 to perform Instruction, to complete all or part of step of aforesaid operations.In addition, processing component 101 can include one or more modules, just Interaction between processing component 101 and other assemblies.For example, processing component 101 can include multi-media module, it is more to facilitate Interaction between media component 104 and processing component 101.
Memory 102 is configured as storing various types of data to support the operation in terminal 100.These data are shown Example includes the instruction of any application program or method for operating on the terminal 100.Memory 102 can be by any kind of Volatibility or non-volatile memory device or combinations thereof are realized, such as SRAM (Static Random Access Memory, static RAM), EEPROM (Electrically Erasable Programmable Read- Only Memory, Electrically Erasable Read Only Memory), EPROM (Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory EPROM), PROM (Programmable Read-Only Memory, may be programmed read-only Memory), ROM (Read-Only Memory, read-only storage), magnetic memory, flash memory, disk or CD.Storage One or more modules are also stored with device 102, one or more modules are configured to by the one or more processors 109 Perform, to complete all or part of step in any shown method of Fig. 2, Fig. 3, Fig. 4 and Fig. 5.
Power supply module 103 provides electric power for the various assemblies of terminal 100.Power supply module 103 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for terminal 100.
Multimedia groupware 104 is included in the screen of one output interface of offer between the terminal 100 and user.One In a little embodiments, screen can include LCD (Liquid Crystal Display, liquid crystal display) and TP (Touch Panel, touch panel).If screen includes touch panel, screen may be implemented as touch-screen, to receive from user's Input signal.Touch panel includes one or more touch sensors with the gesture on sensing touch, slip and touch panel.Institute Stating touch sensor can the not only border of sensing touch or sliding action, but also detect and the touch or slide phase The duration and pressure of pass.
Audio-frequency assembly 105 is configured as output and/or input audio signal.For example, audio-frequency assembly 105 includes a Mike Wind, when terminal 100 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone is configured as connecing Receive external audio signal.The audio signal received can be further stored in memory 102 or be sent out via communication component 108 Send.In certain embodiments, audio-frequency assembly 105 also includes a loudspeaker, for exports audio signal.
Sensor cluster 107 includes one or more sensors, and the state for providing various aspects for terminal 100 is commented Estimate.For example, sensor cluster 107 can detect opening/closed mode of terminal 100, the relative positioning of component, sensor group Part 107 can be changed with the coordinate of 100 1 components of detection terminal 100 or terminal and the temperature change of terminal 100.At some In embodiment, the sensor cluster 107 can also include Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 108 is configured to facilitate the communication of wired or wireless way between terminal 100 and other equipment.Terminal 100 can access the wireless network based on communication standard, such as WiFi (WIreless-Fidelity, wireless network), 2G or 3G, Or combinations thereof.In one exemplary embodiment, communication component 108 receives via broadcast channel and comes from external broadcasting management The broadcast singal or broadcast related information of system.In one exemplary embodiment, the communication component 108 also includes NFC (Near Field Communication, near-field communication) module, to promote junction service.For example, it can be based in NFC module RFID (Radio Frequency Identification, radio frequency identification) technology, IrDA (Infrared Data Association, Infrared Data Association) technology, UWB (Ultra-Wideband, ultra wide band) technology, BT (Bluetooth, it is blue Tooth) technology and other technologies realize.
In the exemplary embodiment, terminal 100 can be by one or more ASIC (Application Specific Integrated Circuit, application specific integrated circuit), DSP (Digital Signal Processing, at data signal Manage device), PLD (Programmable Logic Device, PLD), FPGA (Field-Programmable Gate Array, field programmable gate array), controller, microcontroller, microprocessor or other electronic components realize, be used for Perform the above method.
The concrete mode that computing device operates in terminal in the embodiment is about the data cached processing Detailed description is performed in the embodiment of method, will no longer elaborate explanation herein.
Optionally, the present invention also provides a kind of terminal, perform Fig. 2, Fig. 3, Fig. 4 and Fig. 5 it is any shown in it is data cached The all or part of step of processing method.The terminal includes:
Processor;And
The memory being connected with the processor communication;Wherein,
The memory storage has readable instruction, and the readable instruction is realized as described above during the computing device Method described in either exemplary embodiment.
The concrete mode that computing device operates in terminal in the embodiment is about the data cached processing Detailed description is performed in the embodiment of method, explanation will be not set forth in detail herein.
In the exemplary embodiment, a kind of storage medium is additionally provided, the storage medium is that computer readable storage is situated between Matter, such as can be the provisional and non-transitory computer readable storage medium for including instruction.The storage medium is for example wrapped The memory 102 of instruction is included, above-mentioned instruction can be performed by the processor 109 of terminal 100 to complete above-mentioned data cached processing Method.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, sheet Art personnel can perform various modifications and changes without departing from the scope.The scope of the present invention only will by appended right Ask to limit.

Claims (10)

1. a kind of data cached processing method, it is characterised in that methods described includes:
The monitoring of data manipulation event in cache partitions is carried out, obtains the data manipulation event in the cache partitions, it is described slow Deposit subregion corresponding in internal memory by the data cached storage location specified of operation application program;
When reaching the time cycle, by the data manipulation event, obtain the cache partitions and sent out within the time cycle Changing it is data cached;
By in the data cached flash memory for being updated to the application program operation and configuring.
2. according to the method for claim 1, it is characterised in that the prison for carrying out data manipulation event in cache partitions The step of controlling, obtaining the data manipulation event in the cache partitions includes:
According to the monitoring information for including preset data Action Events type, reception system is monitored to institute according to the monitoring information The announcement information stated the data manipulation event of cache partitions and sent;
Data manipulation event to the cache partitions is obtained according to the announcement information.
3. according to the method for claim 1, it is characterised in that it is described when reaching the time cycle, grasped by the data Make event, obtaining the data cached step that the cache partitions change within the time cycle includes:
When reaching the time cycle, determine whether the data cached of the data manipulation event handling changes, described in acquisition Cache partitions change data cached within the time cycle.
4. according to the method for claim 1, it is characterised in that described data cached to be updated to the application program by described Step in the flash memory for running and configuring includes:
Data cached the belonged to file according to changing determines data more new file;
For each data more new file, the data more new file corresponding flash locations in a flash memory are determined;
Data cached replacement of the data more new file in the cache partitions is stored to the flash locations.
5. according to the method for claim 1, it is characterised in that data cached be updated to the application program by described and run And after the step in the flash memory configured, methods described also includes:
Start-up operation of the monitoring system after closing;
The start-up operation is responded, data cached in the flash memory is copied to the cache partitions.
6. a kind of data cached processing unit, it is characterised in that described device includes:
Data manipulation event-monitoring module, for carrying out the monitoring of data manipulation event in cache partitions, obtain the caching point Data manipulation event in area, the cache partitions correspond in internal memory by the data cached storage specified of operation application program Position;
Change data cached acquisition module, for when reaching the time cycle, by the data manipulation event, obtaining described slow Deposit subregion changed within the time cycle it is data cached;
Data update module, for by the data cached flash memory for being updated to the application program and running and configuring.
7. device according to claim 6, it is characterised in that the data manipulation event-monitoring module includes:
Notification receiving unit, for according to the monitoring information of preset data Action Events type is included, receive the system according to The announcement information that the monitoring information monitors the data manipulation event to the cache partitions and sent;
Data manipulation event acquiring unit, for obtaining the data manipulation thing to the cache partitions according to the announcement information Part.
8. device according to claim 6, it is characterised in that the data cached acquisition module of change includes:
Change data cached acquiring unit, for when reaching the time cycle, determining the caching of the data manipulation event handling Whether data change, obtain the cache partitions accordingly changed within the time cycle it is data cached.
9. a kind of terminal, it is characterised in that the terminal includes:
Processor;And
The memory being connected with the processor communication;Wherein,
The memory storage has readable instruction, and such as claim is realized in the readable instruction during computing device Method described in any one of 1-5.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that the computer journey Sequence realizes the method as described in claim any one of 1-5 when executed.
CN201711220156.0A 2017-11-28 2017-11-28 Data cached processing method, device and terminal Pending CN107861886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711220156.0A CN107861886A (en) 2017-11-28 2017-11-28 Data cached processing method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711220156.0A CN107861886A (en) 2017-11-28 2017-11-28 Data cached processing method, device and terminal

Publications (1)

Publication Number Publication Date
CN107861886A true CN107861886A (en) 2018-03-30

Family

ID=61702811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711220156.0A Pending CN107861886A (en) 2017-11-28 2017-11-28 Data cached processing method, device and terminal

Country Status (1)

Country Link
CN (1) CN107861886A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254879A (en) * 2018-09-27 2019-01-22 南方电网科学研究院有限责任公司 A kind of data processing method, system, device and readable storage medium storing program for executing
CN109491973A (en) * 2018-09-25 2019-03-19 中国平安人寿保险股份有限公司 Electronic device, declaration form delta data distribution analysis method and storage medium
WO2019206260A1 (en) * 2018-04-28 2019-10-31 华为技术有限公司 Method and apparatus for reading file cache
CN110825387A (en) * 2019-11-01 2020-02-21 积成电子股份有限公司 Method for quickly positioning over programming of storage device of terminal equipment
CN111984195A (en) * 2020-08-19 2020-11-24 广州邦讯信息系统有限公司 Method and device for improving stability of embedded Linux system
CN112801702A (en) * 2021-01-28 2021-05-14 上海联蔚数字科技集团股份有限公司 Resource management method and resource management equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160054942A1 (en) * 2013-03-15 2016-02-25 Super Talent Technology, Corp. Green NAND Device (GND) Driver with DRAM Data Persistence For Enhanced Flash Endurance and Performance
CN105812891A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Method and system for storing data in screen end plate of modular television
CN107247560A (en) * 2017-05-23 2017-10-13 努比亚技术有限公司 Date storage method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160054942A1 (en) * 2013-03-15 2016-02-25 Super Talent Technology, Corp. Green NAND Device (GND) Driver with DRAM Data Persistence For Enhanced Flash Endurance and Performance
CN105812891A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Method and system for storing data in screen end plate of modular television
CN107247560A (en) * 2017-05-23 2017-10-13 努比亚技术有限公司 Date storage method and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李硕 等: "多核处理器下共享高速缓存划分技术的综述", 《无线互联科技》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019206260A1 (en) * 2018-04-28 2019-10-31 华为技术有限公司 Method and apparatus for reading file cache
CN109491973A (en) * 2018-09-25 2019-03-19 中国平安人寿保险股份有限公司 Electronic device, declaration form delta data distribution analysis method and storage medium
CN109254879A (en) * 2018-09-27 2019-01-22 南方电网科学研究院有限责任公司 A kind of data processing method, system, device and readable storage medium storing program for executing
CN110825387A (en) * 2019-11-01 2020-02-21 积成电子股份有限公司 Method for quickly positioning over programming of storage device of terminal equipment
CN111984195A (en) * 2020-08-19 2020-11-24 广州邦讯信息系统有限公司 Method and device for improving stability of embedded Linux system
CN112801702A (en) * 2021-01-28 2021-05-14 上海联蔚数字科技集团股份有限公司 Resource management method and resource management equipment

Similar Documents

Publication Publication Date Title
CN107861886A (en) Data cached processing method, device and terminal
CN102253858B (en) Device and method for managing application programs
JP6526044B2 (en) Information recall method and apparatus, and electronic terminal
CN104239094A (en) Method and device for controlling background application programs and terminal equipment
CN105573744A (en) Application list ordering method, application list ordering device and terminal equipment
CN110008008A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN104951335A (en) Processing method and device for application program installation packages
CN107544898A (en) Data capture method, device, equipment and storage medium
CN104636475A (en) Method and device for optimizing multimedia file storage space
CN103987028A (en) Method and system for automatically updating contact persons
CN106648730A (en) Processing method and device of abnormal application
CN107741869A (en) The startup method, apparatus and terminal device of application program
CN105677141A (en) Application program management method and terminal
CN104023324A (en) Method and device of processing strange call number
CN104050039A (en) Method and device for having control over multimedia playing
CN106504026A (en) A kind of data capture method and device
CN103870319B (en) Information processing method, device and electronic equipment
CN105468370A (en) Method and system for quickly removing message in notification bar of mobile terminal and mobile terminal
CN104267987A (en) Detection method, detection device and terminal for application program APP (Application) update
CN105653316A (en) Method and device for monitoring unloaded situation of software
CN104182329A (en) Method for power consumption reminding of applications, mobile terminal and application download server
CN106027672A (en) Method and apparatus for providing updated information using power control
CN109802994A (en) A kind of information push method and system based on content distributing network
CN109348041B (en) Application program networking control method and device, storage medium and terminal
CN107247735A (en) Document transmission method and device

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
CB02 Change of applicant information

Address after: 266000, No. 218, Bay Road, Qingdao economic and Technological Development Zone, Shandong

Applicant after: Hisense Video Technology Co., Ltd

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: HISENSE ELECTRIC Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180330

RJ01 Rejection of invention patent application after publication