A data processing method and electronic device
An electronic device and data processing technology, applied in the field of data processing, can solve the problems of slow data processing speed, fast data processing speed, limited optimization space, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] Embodiment 1 of the present invention provides a data processing method, the processing flow diagram of the data processing method is as follows figure 1 shown, including the following steps:
[0047] Step S101, acquiring the status of each storage unit in the electronic device;
[0048] Specifically, the electronic device regularly detects the states of its own storage units, stores the states of the respective storage units in a storage area of the electronic device, and queries the states of the storage units in the storage area.
[0049] Here, the cycle of detecting the state of each storage unit can be flexibly set as required; the storage area storing the state of each storage unit can also be flexibly set according to the properties of the electronic device; for example, in order to reduce the consumption of SSD read and write resources , the state of each storage unit can be stored in a certain reserved byte in the SSD read / write protocol; or the state of eac...
Embodiment 2
[0063] Embodiment 2 of the present invention provides a data processing method, the processing flow diagram of the data processing method is as follows figure 2 shown, including the following steps:
[0064] Step S201, the electronic device regularly detects the states of its own storage units, and stores the states of the storage units;
[0065] Here, the cycle of detecting the state of each storage unit can be flexibly set as required; the storage area storing the state of each storage unit can also be flexibly set according to the properties of the electronic device; for example, in order to reduce the consumption of SSD read and write resources , the state of each storage unit can be stored in a certain reserved byte in the SSD read / write protocol; or the state of each storage unit can be stored in a preset cache area, etc.
[0066] The electronic device includes one or more storage units, and when the electronic device includes multiple storage units, the state of each ...
Embodiment 3
[0083] Embodiment 3 of the present invention provides a data processing method, the processing flow diagram of the data processing method is as follows Figure 4 shown, including the following steps:
[0084] Step S301, the electronic device regularly detects the states of its own storage units, and stores the states of the storage units;
[0085] Here, the cycle of detecting the state of each storage unit can be flexibly set as required; the storage area storing the state of each storage unit can also be flexibly set according to the properties of the electronic device; for example, in order to reduce the consumption of SSD read and write resources , the state of each storage unit can be stored in a certain reserved byte in the SSD read / write protocol; or the state of each storage unit can be stored in a preset cache area, etc.
[0086] The electronic device includes one or more storage units, and when the electronic device includes multiple storage units, the state of each ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


