The invention discloses a coding optimization-based
DNA data storage method, a coding optimization-based
DNA data reading method and a terminal, and the method comprises the following steps: S1, obtaining binary data of to-be-stored data, pre-coding the binary data according to an optimization target of
DNA storage coding, the optimization target of the
DNA storage coding comprising that the total module consumption quantity for information expression meets a preset condition; s2, after
a DNA molecular chain set expressed in a module combination form is obtained through module mapping coding, a corresponding DNA molecular chain is obtained in an
assembly or synthesis mode. According to the method, pre-coding and module mapping
cascade coding are introduced, based on a pre-synthesized module
library, physical storage is carried out on
electronic data through
DNA assembly, pre-coding mainly refers to reduction of the number of bit 1, meanwhile, module mapping coding is introduced, DNA data storage based on the
assembly technology is achieved, and the method has the advantages of being simple in structure, convenient to operate and high in practicability. A specific module combination is selected from a preset DNA module
library to react and connect to form the DNA molecular chain, and compared with a synthesis technology, the speed and the cost of the method can be optimized.