The present invention discloses a coding and decoding method and a reading and writing method of a fourth-order RLL (1,7) modulation code, which belongs to the field of
optical storage technology, comprising: a coding step: dividing user data into 6-bit
source data, converting each
source data into a 5-bit
channel code element according to a coding and decoding table, splicing them in sequence, inserting a merging bit between two
adjacent channel code elements to obtain an RLL sequence; a decoding step: removing a merging bit every 5 bits of the RLL sequence to obtain a
channel code element, and splicing each
signal element according to the coding and decoding table. Channel symbols are converted into 6-bit
source data, and the source data are sequentially concatenated to obtain user data. A codec table records the correspondence between 64 types of 6-bit source data and 64 types of 5-bit channel symbols. The channel symbols are 64 of 0000X, 00X0X, 0X00X, X000X, X0X0X, 000X0, 0X0X0, X00X0, 00X00, X0X00, 0X000, and X0000. X ranges from 1 to 3. The present invention can significantly increase the capacity of an
optical storage system without changing optical parameters.