Patent ID: 7102546

Claim:
A state modulation method for inserting state control code, comprising the steps of: (a) performing run length limited (RLL) state modulation to generate a RLL codeword and store a next state based on a current state, a state modulation table and a user data, said RLL codeword satisfying m/n (d,k) constrain, where m being the length of said data bits, n being the length of said codeword bits, and d and k being the minimum and the maximum of the running length, respectively; (b) determining whether to insert a state control code, and if not, returning to step (a); otherwise, continuing to step (c); (c) finding a set of corresponding state control codes based on said current state and a state control modulation table; and (d) selecting and outputting a state control code from said set, and storing a set of next states corresponding to said state control code, and then returning to step (a).