CN103631722A - Data processing method and electronic equipment - Google Patents
Data processing method and electronic equipment Download PDFInfo
- Publication number
- CN103631722A CN103631722A CN201210313468.7A CN201210313468A CN103631722A CN 103631722 A CN103631722 A CN 103631722A CN 201210313468 A CN201210313468 A CN 201210313468A CN 103631722 A CN103631722 A CN 103631722A
- Authority
- CN
- China
- Prior art keywords
- data
- storage area
- electronic equipment
- pointer
- monitored results
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a data processing method and electronic equipment. The electronic equipment comprises a first storage area and a second storage area. A first speed at which a processor of the electronic equipment reads data in the first storage area is larger than a second speed at which the processor reads data in the second storage area. The method includes the steps of monitoring each datum in M data in the second storage area to obtain M monitoring results, wherein M is an integer larger than or equal to 1; judging whether each result in the M monitoring results meets a preset condition; when N monitoring results in the M monitoring results meet the preset conditions, copying N data corresponding to the N monitoring results to the first storage area, so that when the processor can read and obtain the N data in the first storage area when needing the N data, wherein N is an integer larger than or equal to 1 or an integer smaller than or equal to M.
Description
Technical field
The application relates to computer realm, relates in particular to a kind of data processing method and electronic equipment.
Background technology
Along with scientific and technical development, electronic technology has also obtained development at full speed, and the kind of electronic product is also more and more, and people have also enjoyed the various facilities that development in science and technology brings.People can pass through various types of electronic equipments now, enjoy the comfortable life bringing along with development in science and technology.Such as, personal computer has become an indispensable part in people's life, people can use personal computer to browse news, receiving and dispatching mail, watch film, music appreciating, play games etc.
Development along with electronic technology, electronic equipment all parts performance is also strengthened thereupon and constantly, so the processing speed of electronic equipment is also more and more faster, but as the performance of the hard disk of electronic equipment core component, remain the bottleneck of restriction electronic equipment travelling speed, what now a large amount of users used is all mechanical hard disk, because mechanical hard disk needs control head at the hard disc reading out data that gets at reading out data, so speed during mechanical hard disk reading out data at short notice cannot quick improve as the miscellaneous part of computing machine, thereby the miscellaneous part that makes computing machine is had powerful performance in vain, but the restriction due to hard disk reading out data speed, cannot increase substantially the complete machine travelling speed of computing machine.
In the prior art, the problem that cannot improve fast for solving hard disk reading speed, high-speed cache chip is normally set on hard disk, carrying out hard disc data while reading, by reading bunch the next one bunch or several bunches in data read in buffer memory, thereby when needs read the data in next bunch or several bunches, do not need control head to move to the hard disc reading out data that gets on, but directly the data transmission in buffer memory is arrived to internal memory, owing to reading the speed of the data in high-speed cache chip, be far longer than the speed that magnetic head reads data in disc, so can improve the speed of hard disk reading out data.
But in the process of inventor's invention technical scheme in realizing the embodiment of the present invention, find that above-mentioned technology at least exists following technical matters:
Because the manufacturing cost of high-speed cache chip is far away higher than the manufacturing cost of hard disk, so the size of the high-speed cache chip arranging on hard disk is traditionally arranged to be 8M or 16M, size with respect to some large program files up to several G, the spatial cache that high-speed cache chip provides is limited, the hit rate of data buffer storage is lower, efficiency is not high, so high-speed cache chip is limited to the effect of raising electronic equipment complete machine travelling speed.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method and electronic equipment, has solved prior art high speed cache chip to improving the limited technical matters of effect of computing machine complete machine travelling speed.
The embodiment of the present invention provides a kind of data processing method, be applied on an electronic equipment, described electronic equipment comprises the first storage area and the second storage area, the First Speed that the processor of described electronic equipment reads data in described the first storage area is greater than the second speed that described processor reads data in described the second storage area, described method comprises: monitor each data in M data in described the second storage area, obtain M monitored results, wherein, M is more than or equal to 1 integer; Judge whether each result in a described M monitored results meets one pre-conditioned; In a described M monitored results, there is N monitored results to meet described when pre-conditioned, N data corresponding to a described N monitored results are copied in described the first storage area, make described processor when the described N of needs data, by reading and obtain from described the first storage area, wherein, N is the integer that is more than or equal to 1, is less than or equal to M.
Alternatively, each data in M data in described the second storage area of described monitoring, obtain M monitored results, are specially: monitor the number of times that is read of each data in a described M data, obtain the frequency of utilization value of described each data; Or monitor service time of each data in a described M data, obtain the use duration value of described each data; Or monitor the situation that is read of each data in a described M data, obtain the use information of described each data.
Alternatively, described to judge whether each result in a described M result meets one pre-conditioned, is specially: judge whether described frequency of utilization value surpasses the first preset value; Or judge whether described use duration value surpasses the second preset value; Or based on described use information, whether described each data of judgement are read.
Alternatively, in a described M monitored results, there is N monitored results to meet described when pre-conditioned, before in N the data that a described N monitored results is corresponding copy described the first storage area to, described method also comprises: for each data in a described N data arrange pointer, obtain N pointer, a described N pointer is corresponding one by one with a described N data; Store a described N pointer.
Alternatively, described N data corresponding to a described N monitored results are copied in described the first storage area, specifically comprise: read a described N pointer; Obtain the corresponding relation of a described N pointer and a described N data; According to described corresponding relation, a described N data are copied in described the first storage area.
The embodiment of the present invention also provides a kind of electronic equipment, comprising: casing, one circuit board, is arranged in described casing, one processor, is arranged on described circuit board, the first storage area, is arranged in described casing, is connected with described processor, the second storage area, is arranged in described casing, is connected with described processor, and wherein, the First Speed that described processor reads data in described the first storage area is greater than the second speed that described processor reads data in described the second storage area, wherein, described processor is for monitoring each data in M data of described the second storage area, obtain M monitored results, wherein M is more than or equal to 1 integer, and it is one pre-conditioned to judge whether each result in a described M monitored results meets, and there in a described M monitored results, have N monitored results to meet to be described when pre-conditioned, N data corresponding to a described N monitored results are copied in described the first storage area, make described processor when the described N of needs data, by reading and obtain from described the first storage area, wherein, N is for being more than or equal to 1, be less than or equal to the integer of M.
Alternatively, described processor, specifically for monitoring the number of times that is read of each data in a described M data, obtains the frequency of utilization value of described each data; Or monitor service time of each data in a described M data, obtain the use duration value of described each data; Or monitor the situation that is read of each data in a described M data, obtain the use information of described each data.
Alternatively, described processor is specifically for judging whether described frequency of utilization value surpasses the first preset value; Or judge whether described use duration value surpasses the second preset value; Or based on described use information, whether described each data of judgement are read.
Alternatively, described processor is specifically for for each data in a described N data arrange pointer,, obtain N pointer, a described N pointer is corresponding one by one with a described N data, and stores a described N pointer.
Alternatively, described processor is specifically for reading a described N pointer, and obtains the corresponding relation of a described N pointer and a described N data, and according to described corresponding relation, a described N data copied in described the first storage area.
The one or more technical schemes that provide in the embodiment of the present invention, at least have following technique effect or advantage:
1, owing to having adopted the service condition of data in monitoring electronic equipment the second storage area, in the monitored results of these data, show that these data meet when pre-conditioned, copy the data in the first storage area, thereby make electronic equipment when these data of needs, can be by reading and obtain from the first storage area, thereby solved prior art high speed cache chip to improving the limited technical matters of computing machine overall performance effect, thereby realized the object of accelerating the efficiency of electronic equipment reading out data, reached the technique effect that improves electronic equipment complete machine operating rate.
Simultaneously, owing to just the pre-conditioned data that meet that monitor being copied in the first storage area, and do not need all to copy in the first storage area to meeting pre-conditioned relevant All Files, so reached with minimum space, reach the technique effect that improves electronic equipment complete machine operating rate.
2, owing to having adopted the frequency of utilization value that judges data whether to surpass the first preset value, or whether the use duration value that judges data surpasses the second preset value, or judge whether data are read, and determine according to judged result whether these data need to be copied into the first storage area of electronic equipment, thereby the data that user is often used copy the first storage area to, so when electronic equipment reads the frequent data of using of these users, by reading and obtain from the first storage area, reached the technique effect that improves electronic equipment complete machine operating rate.
3, owing to having adopted, for meeting pre-conditioned data, set up corresponding pointer and stored pointer, and the space that pointer takies is very little, so very little to taking of electronic equipment local hard drive, can electronic equipment storage data.
Accompanying drawing explanation
The process flow diagram of the data processing method that Fig. 1 provides for one embodiment of the invention;
The functional block diagram of the electronic equipment that Fig. 2 provides for one embodiment of the invention.
Embodiment
The embodiment of the present invention, by a kind of data processing method and electronic equipment are provided, has solved prior art high speed cache chip to improving the limited technical matters of effect of computing machine overall performance.
Technical scheme in the embodiment of the present invention is for solving aforementioned cache chip to improving the limited technical matters of computing machine overall performance effect, and general thought is as follows:
Monitor each data in M data in the second storage area, obtain M monitored results, wherein, M is more than or equal to 1 integer, and it is one pre-conditioned to judge whether each result in M monitored results meets, in M monitored results, there is N monitored results to meet when pre-conditioned, N N data corresponding to monitored results are copied in the first storage area, make processor when needs N data, by reading and obtain from the first storage area, wherein, N is the integer that is more than or equal to 1, is less than or equal to M.
Visible, owing to having copied in the first storage area meeting pre-conditioned data in the second storage area, electronic equipment is when these data of needs, just by reading and obtain from the first storage area, add the First Speed that electronic equipment reads data in the first storage area and be greater than the second speed that electronic equipment reads data in the second storage area, so the speed that electronic equipment reads these data than electronic equipment the speed reading from the second storage area fast, so improved the speed of electronic equipment reading out data, reached the object that improves electronic equipment travelling speed.
In order better to understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
The embodiment of the present invention provides a kind of data processing method, please refer to Fig. 1, Fig. 1 is the process flow diagram of the data processing method that provides of the embodiment of the present invention, the method can be applied on the electronic equipment that the invention described above embodiment provides, electronic equipment comprises the first storage area and the second storage area, the First Speed that the processor of electronic equipment reads data in the first storage area is greater than the second speed that processor reads data in the second storage area, and the method comprises:
S1: monitor each data in M data in the second storage area, obtain M monitored results, wherein, M is more than or equal to 1 integer;
S2: judge whether each result in M monitored results meets one pre-conditioned;
S3: have N monitored results to meet when pre-conditioned in M monitored results, N N data corresponding to monitored results are copied in the first storage area, make processor when needs N data, by reading and obtain from the first storage area, wherein, N is the integer that is more than or equal to 1, is less than or equal to M.
In ensuing description, will take electronic equipment as desktop computer, the first storage area is internal memory, the second storage area is that hard disk carries out at length describing for example.
In step S 1, monitor each data in M data in the second storage area, obtain M monitored results, specifically, can be: monitor the number of times that is read of each data in M data, obtain the frequency of utilization value of each data; Or service time of each data in M data of monitoring, obtain the use duration value of each data; Or the situation that is read of each data in M data of monitoring, obtain the use information of each data.
Each data in M data in above-mentioned the second storage area, refer to individual data or data block that electronic equipment can use, in the second storage area, can comprise many program files, and these program files may be very large, likely can occupy several G or more space, but the data that often can use are in actual use partial data wherein, likely only occupy a very little part for whole file, so can be now that this part data that are often used meets pre-conditioned, so can reach with less space the object of the travelling speed that improves electronic equipment, certainly, if total data is all often used in program file, it can be also the total data in program file herein.
In the present embodiment, monitor the number of times that is read of each data in M data, obtain the frequency of utilization value of each data, specifically, can be that in the hard disk of monitoring desktop computer, each data in M data are read number of times within a time period, thus can get each data in M data at this moment between section in frequency of utilization value.
The time period of above-mentioned part can be to start the current service time to desktop computer on these data are stored in the hard disk of desktop computer, also it can be a default time period, the software of take is example, time period can be that user stores on the hard disk of desktop computer and starts, till the current time of desktop computer, or with desktop computer current time toward starting to calculate for the previous period desktop computer current service time, such as being a week or one month, certainly, it can also be the operable other times section of those skilled in the art herein.
Get each data in M data at this moment between after frequency of utilization value in section, just can according to frequency of utilization value extrapolate these data at this moment between section in service condition, such as, A software has been used 10 times in one month, and B software has been used 5 times in one, can know, within the time of this month, the frequency of utilization of A software is higher than the frequency of utilization of B software, for user, be user in this month, use the number of times of A software to be greater than the number of times that uses B software.
What above-mentioned steps described each data in monitoring hard disk in detail is read number of times, thereby get the situation of the frequency of utilization value of each data, in actual applications, can also monitor the service time of each data in hard disk, obtain the use duration value of each data, in ensuing part, will introduce the service time of each data of monitoring, get the use duration value of each data.
Monitor the service time of each data in M data, obtain the use duration value of each data, specifically, can be the service time of each data within a time period in M data in the hard disk of monitoring desktop computer, thus can get each data in M data at this moment between section in use duration value.
Time period herein and the time period of aforementioned part are similar, and at this, succinct for instructions, is not just repeating.
Get each data in M data at this moment between after use duration value in section, just can according to use duration value extrapolate these data at this moment between service condition in section, such as, A software has been used 30 hours in one month, B software has been used 4 hours in one month, can extrapolate, within the time of this month, the use duration of A software is greater than the use duration of B software, for user, be user in this month, use the time span of A software to be greater than the time span of using B software.
Above-mentioned part describes the service time of each data in M data of monitoring in detail, thereby obtain the use duration value of each data, in ensuing part, will introduce the situation that is read of each data in M data of monitoring, obtain the process of the use information of each data.
Monitor the situation that is read of each data in M data, obtain the use information of each data, specifically, can be the situation that is read of each data in M data of monitoring, thereby obtain each data, whether be used, take 1 data as A software be example, whether monitoring A software is read, and can obtain the information whether A software is used, such as, monitored that A software is current to be read, can obtain A software and be used this information.
Above-mentioned part describes each data in M data in monitoring the second storage area in detail, obtain the detailed process of M monitored results, because being adopts electronic equipment automatic monitoring, and monitoring is data frequencies of utilization, use duration and be read situation, so can reflect that electronic equipment reads the truth of these data, thereby during for these data of subsequent treatment, provide foundation, thereby reach the object that improves electronic equipment operating rate, such as, data that are often read in the second storage area, if copied in the first storage area, it is fast that the speed that electronic equipment reads these data from the first storage area will read than electronic equipment the speed of these data from the second storage area, therefore just can reach the object that improves electronic equipment operating rate.
In actual applications, those skilled in the art can adopt separately above-mentioned a kind of mode or adopt the mode of combination in several ways, certain, and those skilled in the art can also, according to actual conditions, choose the demand that other modes meet actual conditions.
Each data in describing monitoring the second storage area in detail in M data, obtain after the detailed process of M monitored results, in ensuing part, will introduce in detail in step S2 how to judge whether each result in M monitored results meets pre-conditioned process.
In step S2, judge whether each result in M monitored results meets one pre-conditioned, specifically, can be: judge that whether frequency of utilization value is over the first preset value; Or judgement is used duration value whether to surpass the second preset value; Or based on use information, judge whether each data is read.
In the present embodiment, judge whether frequency of utilization value surpasses the first preset value, specifically, can be whether the frequency of utilization value that judgement obtains in step S1 surpasses the first preset value, in actual applications, such as, it is 10 times/day that the first preset value can be set, can be whether the frequency of utilization value of these data of judgement acquisition is over 10 times/day herein, if over 10 times/day, the frequency of utilization that can judge these data is higher, certainly, the first preset value is not a fixing numerical value, those skilled in the art can adjust the first preset value according to actual conditions, to meet the demand of actual conditions.
After having introduced and judging that whether frequency of utilization value surpasses the detailed process of the first preset value, in ensuing part, by introducing judgement, use duration value whether to surpass the detailed process of the second preset value.
Judgement is used duration value whether to surpass the second preset value, specifically, can be whether the use duration value obtaining in determining step S1 surpasses the second preset value, in actual applications, such as, it is 5 hours/day that the second preset value can be set, can be to judge that whether the use duration value of these data is over 5 hours/day herein, if over 5 hours/day, the service time that can judge these data is longer, certainly, the second preset value and the first preset value are similar, the second preset value neither a fixing numerical value, those skilled in the art can adjust the first preset value according to actual conditions, to meet the demand of actual conditions.
Whether having introduced judgement use duration value over after the detailed process of the second preset value, in ensuing part, will introduce based on use information, judge whether each data is read.
Based on use information, judge whether each data is read, specifically, can be according to the use information obtaining in step S1, judge whether each data is read, in actual applications, such as, take these data as A software is example, after the use information of the A software getting in step S1, can judge A software and whether be read.
In above-mentioned part, describe in detail and judge whether data meet three kinds of pre-conditioned modes, whether the frequency of utilization value that judges data surpasses the first preset value, or whether the use duration value that judges data surpasses the second preset value, or judge whether data are read, by these three kinds of modes, can obtain the service condition of user to data in electronic equipment the second storage area, thereby can draw the data that user is conventional, thereby the data that user is often used copy the first storage area to, so when electronic equipment reads the frequent data of using of these users, by reading and obtain from the first storage area, reached the technique effect that improves electronic equipment complete machine operating rate.
In step S2, judge each result whether meet pre-conditioned after, can enter step S3, in M monitored results, there is N monitored results to meet when pre-conditioned, N N data corresponding to monitored results are copied in the first storage area, make processor when needs N data, by reading and obtain from the first storage area.
Owing to having adopted the service condition of data in monitoring electronic equipment the second storage area, in the monitored results of these data, show that these data meet when pre-conditioned, copy the data in the first storage area, thereby make electronic equipment when these data of needs, can be by reading and obtain from the first storage area, thereby solved prior art high speed cache chip to improving the limited technical matters of computing machine overall performance effect, thereby realized the object of accelerating the efficiency of electronic equipment reading out data, reached the technique effect that improves electronic equipment complete machine operating rate.
Simultaneously, owing to just the pre-conditioned data that meet that monitor being copied in the first storage area, and do not need all to copy in the first storage area to meeting pre-conditioned relevant All Files, so reached with minimum space, reach the technique effect that improves electronic equipment complete machine operating rate.
In order to reduce the space that takies electronic equipment local hard drive, in another embodiment, in M monitored results, there is N monitored results to meet when pre-conditioned, before in copying N N data corresponding to monitored results to first storage area, the method that the embodiment of the present invention provides also comprises: for each data in N data arrange pointer, obtain N pointer, N pointer is corresponding one by one with N data, and stores N pointer.
Specifically, can be to set up respectively pointer for meeting a pre-conditioned N data, thereby can get N pointer, and N pointer be with to meet a pre-conditioned N data corresponding one by one, and store this N pointer.In concrete enforcement, N pointer can be stored in hard disk, certain, can be also other places, such as CD, disk etc.
Because pointer just points to the address of data, be not the particular content of data, so the space that pointer takies is very little, the amount of physical memory of storing N pointer needs is also very little, so very little to taking of electronic equipment local hard drive, can not affect electronic equipment storage data.
In above-mentioned steps, stored after N pointer, in another embodiment, N N data corresponding to monitored results are copied in the first storage area, specifically can comprise: read N pointer, and obtain the corresponding relation of N pointer and N data, and N data are copied in the first storage area.
Specifically, can be in needs copy N data to first storage area time, read N the pointer of storing in above-mentioned steps, after reading N pointer, can obtain the corresponding relation of N pointer and N data, so corresponding relation that can be based on obtaining, copies N data in the first storage area to.In the present embodiment, because N pointer is stored in hard disk, the effect of N pointer simultaneously is only to provide the address of N data, to copy N data in the first storage area supplied for electronic equipment, read, the data that can not operate user's hard disk write behavior, so can not cause, do not cause the problem that save data is not lost because of instant cut-off.
Based on same inventive concept, the embodiment of the present invention also provides a kind of electronic equipment of implementing the method for data processing in the embodiment of the present invention.In actual applications, this electronic equipment can be desktop computer, can be also notebook computer, can be also the electronic equipments such as panel computer.
Please refer to Fig. 2, Fig. 2 is the functional block diagram of the electronic equipment that provides of the embodiment of the present invention, and this electronic equipment comprises:
One circuit board 102, is arranged in casing 101;
One processor 103, is arranged on circuit board 104;
The first storage area 104, is arranged in casing 101, is connected with processor 103;
The second storage area 105, is arranged in casing 101, is connected with processor 103, and wherein, the First Speed that processor 103 reads data in the first storage area 104 is greater than the second speed that processor 103 reads data in the second storage area 105; Wherein, processor 103 is for monitoring each data in M data of the second storage area, obtain M monitored results, wherein M is more than or equal to 1 integer, and it is one pre-conditioned to judge whether each result in M monitored results meets, and in M monitored results, there is N monitored results to meet when pre-conditioned, N N data corresponding to monitored results are copied in the first storage area, make processor 103 when needs N data, by reading and obtain from the first storage area, wherein, N is the integer that is more than or equal to 1, is less than or equal to M.
Further, processor 103, specifically for the number of times that is read of each data in M data of monitoring, obtains the frequency of utilization value of each data; Or service time of each data in M data of monitoring, obtain the use duration value of each data; Or the situation that is read of each data in M data of monitoring, obtain the use information of each data.
Further, processor 103 is specifically for judging whether frequency of utilization value surpasses the first preset value; Or judgement is used duration value whether to surpass the second preset value; Or based on use information, judge whether each data is read.
Further, processor 103 is specifically for for each data in N data arrange pointer,, obtain N pointer, N pointer is corresponding one by one with N data, and stores N pointer.
Further, processor 103 is specifically for reading N pointer, and obtains the corresponding relation of N pointer and N data, and according to corresponding relation, N data copied in the first storage area.
Electronic equipment in the present embodiment and the data processing method in previous embodiment are two aspects based under same inventive concept, above, the implementation process of method has been done to detailed description, so those skilled in the art can be according to structure and the implementation process of the electronic equipment in aforementioned understanding the present embodiment being described clearly, succinct for instructions, has just repeated no more at this.
Technical scheme in the invention described above embodiment, at least has following technique effect or advantage:
1, owing to having adopted the service condition of data in monitoring electronic equipment the second storage area, in the monitored results of these data, show that these data meet when pre-conditioned, copy the data in the first storage area, thereby make electronic equipment when these data of needs, by reading and obtain from the first storage area, thereby solved prior art high speed cache chip to improving the limited technical matters of computing machine overall performance effect, thereby realized the object of accelerating the efficiency of electronic equipment reading out data, reached the technique effect that improves electronic equipment complete machine operating rate.
Simultaneously, owing to just the pre-conditioned data that meet that monitor being copied in the first storage area, and do not need all to copy in the first storage area to meeting pre-conditioned relevant All Files, so reached with minimum space, reach the technique effect that improves electronic equipment complete machine operating rate.
2, owing to having adopted the frequency of utilization value that judges data whether to surpass the first preset value, or whether the use duration value that judges data surpasses the second preset value, or judge whether data are read, and determine according to judged result whether these data need to be copied into the first storage area of electronic equipment, thereby the data that user is often used copy the first storage area to, so when electronic equipment reads the frequent data of using of these users, by reading and obtain from the first storage area, reached the technique effect that improves electronic equipment complete machine operating rate.
3, owing to having adopted, for meeting pre-conditioned data, set up corresponding pointer and stored pointer, and the space that pointer takies is very little, so very little to taking of electronic equipment local hard drive, can electronic equipment storage data.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code one or more.
The present invention is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block scheme each flow process and/or the flow process in square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computing machine or other programmable data processing device is produced for realizing the device in the function of flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame on computing machine or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.
Claims (10)
1. a data processing method, be applied on an electronic equipment, described electronic equipment comprises the first storage area and the second storage area, the First Speed that the processor of described electronic equipment reads data in described the first storage area is greater than the second speed that described processor reads data in described the second storage area, it is characterized in that, described method comprises:
Monitor each data in M data in described the second storage area, obtain M monitored results, wherein, M is more than or equal to 1 integer;
Judge whether each result in a described M monitored results meets one pre-conditioned;
In a described M monitored results, there is N monitored results to meet described when pre-conditioned, N data corresponding to a described N monitored results are copied in described the first storage area, make described processor when the described N of needs data, by reading and obtain from described the first storage area, wherein, N is the integer that is more than or equal to 1, is less than or equal to M.
2. the method for claim 1, is characterized in that, each data in M data in described the second storage area of described monitoring obtain M monitored results, are specially:
Monitor the number of times that is read of each data in a described M data, obtain the frequency of utilization value of described each data; Or
Monitor the service time of each data in a described M data, obtain the use duration value of described each data; Or
Monitor the situation that is read of each data in a described M data, obtain the use information of described each data.
3. method as claimed in claim 2, is characterized in that, described to judge whether each result in a described M result meets one pre-conditioned, is specially:
Judge whether described frequency of utilization value surpasses the first preset value; Or
Judge whether described use duration value surpasses the second preset value; Or
Based on described use information, whether described each data of judgement are read.
4. the method for claim 1, it is characterized in that, in a described M monitored results, have N monitored results to meet described when pre-conditioned, in N the data that a described N monitored results is corresponding copy described the first storage area to before, described method also comprises:
For each data in a described N data arrange pointer, obtain N pointer, a described N pointer is corresponding one by one with a described N data;
Store a described N pointer.
5. method as claimed in claim 4, is characterized in that, described N data corresponding to a described N monitored results is copied in described the first storage area, specifically comprises:
Read a described N pointer;
Obtain the corresponding relation of a described N pointer and a described N data;
According to described corresponding relation, a described N data are copied in described the first storage area.
6. an electronic equipment, is characterized in that, comprising:
Casing;
One circuit board, is arranged in described casing;
One processor, is arranged on described circuit board;
The first storage area, is arranged in described casing, is connected with described processor;
The second storage area, is arranged in described casing, is connected with described processor, and wherein, the First Speed that described processor reads data in described the first storage area is greater than the second speed that described processor reads data in described the second storage area;
Wherein, described processor is for monitoring each data in M data of described the second storage area, obtain M monitored results, wherein M is more than or equal to 1 integer, and it is one pre-conditioned to judge whether each result in a described M monitored results meets, and there in a described M monitored results, have N monitored results to meet to be described when pre-conditioned, N data corresponding to a described N monitored results are copied in described the first storage area, make described processor when the described N of needs data, by reading and obtain from described the first storage area, wherein, N is for being more than or equal to 1, be less than or equal to the integer of M.
7. electronic equipment as claimed in claim 6, is characterized in that, described processor, specifically for monitoring the number of times that is read of each data in a described M data, obtains the frequency of utilization value of described each data; Or monitor service time of each data in a described M data, obtain the use duration value of described each data; Or monitor the situation that is read of each data in a described M data, obtain the use information of described each data.
8. electronic equipment as claimed in claim 7, is characterized in that, described processor is specifically for judging whether described frequency of utilization value surpasses the first preset value; Or judge whether described use duration value surpasses the second preset value; Or based on described use information, whether described each data of judgement are read.
9. electronic equipment as claimed in claim 6, is characterized in that, described processor, specifically for for each data in a described N data arrange pointer, obtains N pointer, and a described N pointer is corresponding one by one with a described N data, and stores a described N pointer.
10. electronic equipment as claimed in claim 9, it is characterized in that, described processor is specifically for reading a described N pointer, and obtains the corresponding relation of a described N pointer and a described N data, and according to described corresponding relation, a described N data are copied in described the first storage area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210313468.7A CN103631722A (en) | 2012-08-29 | 2012-08-29 | Data processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210313468.7A CN103631722A (en) | 2012-08-29 | 2012-08-29 | Data processing method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103631722A true CN103631722A (en) | 2014-03-12 |
Family
ID=50212806
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210313468.7A Pending CN103631722A (en) | 2012-08-29 | 2012-08-29 | Data processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103631722A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101563729A (en) * | 2006-12-20 | 2009-10-21 | 莫塞德技术公司 | Hybrid solid-state memory system having volatile and non-volatile memory |
CN102117248A (en) * | 2011-03-09 | 2011-07-06 | 浪潮(北京)电子信息产业有限公司 | Caching system and method for caching data in caching system |
CN102609360A (en) * | 2012-01-12 | 2012-07-25 | 华为技术有限公司 | Data processing method, data processing device and data processing system |
-
2012
- 2012-08-29 CN CN201210313468.7A patent/CN103631722A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101563729A (en) * | 2006-12-20 | 2009-10-21 | 莫塞德技术公司 | Hybrid solid-state memory system having volatile and non-volatile memory |
CN102117248A (en) * | 2011-03-09 | 2011-07-06 | 浪潮(北京)电子信息产业有限公司 | Caching system and method for caching data in caching system |
CN102609360A (en) * | 2012-01-12 | 2012-07-25 | 华为技术有限公司 | Data processing method, data processing device and data processing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4859595B2 (en) | Storage system, data relocation method thereof, and data relocation program | |
CN107885666A (en) | A kind of EMS memory management process and device | |
US20130227326A1 (en) | Apparatus and method for controlling power of electronic device having multi-core | |
CN109542907A (en) | Database caches construction method, device, computer equipment and storage medium | |
CN110134650B (en) | File loading method, device, equipment and storage medium | |
CN101281542A (en) | Method and device for storing file | |
CN103198027A (en) | Method and device for storing and providing files | |
CN104216618A (en) | Interface control method | |
CN109922298A (en) | Meeting room monitoring method and device | |
CN103488502A (en) | Method and device for loading data | |
AU2014352423B2 (en) | Method and device for processing application of mobile terminal | |
KR20060129873A (en) | How to organize memory of mobile device | |
JP2013523031A (en) | Method and broadcasting apparatus for realizing high-speed response to control process of multimedia file | |
CN103400074A (en) | Method and device for detecting hidden processes | |
TWI585602B (en) | A method or apparatus to perform footprint-based optimization simultaneously with other steps | |
CN106406494A (en) | Method for scheduling processor and terminal | |
CN104375896A (en) | Information processing method and electronic equipment | |
CN103631722A (en) | Data processing method and electronic equipment | |
CN112800057B (en) | Fingerprint table management method and device | |
JP2009157441A (en) | Information processor, file rearrangement method, and program | |
Nakagami et al. | Job-Aware File-Storage Optimization for Improved Hadoop I/O Performance | |
CN100504812C (en) | Control method of random access flash memory | |
CN101588381A (en) | Streaming data playing method and electronic device executing same | |
CN106407019A (en) | Database processing method of mobile terminal and mobile terminal thereof | |
CN101419622A (en) | Media file tabular display method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140312 |
|
RJ01 | Rejection of invention patent application after publication |