CODING METHOD AND APPARATUS, AND ELECTRONIC DEVICE
The present application relates to the technical field of data processing, and discloses a coding method and apparatus, and an electronic device. The method comprises: obtaining a first storage region and a second storage region; when an electronic device is initialized, erasing the first storage re...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng ; fre |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present application relates to the technical field of data processing, and discloses a coding method and apparatus, and an electronic device. The method comprises: obtaining a first storage region and a second storage region; when an electronic device is initialized, erasing the first storage region and the second storage region, so that bit values in the first storage region and the second storage region are 1; when the electronic device operates for a preset period of time, writing the bit values in the first storage region from 1 to 0; when all the bit values in the first storage region are 0, erasing the first storage region, so that all the bit values in the first storage region are written from 0 to 1; and writing the bit values in the second storage region from 1 to 0. According to the present application, by using the characteristic that operation time monotonically increases, the number of operations on a storage medium can be greatly reduced by means of the described coding mode, thereby prolong |
---|