Patent ID: 7352301

Claim:
A method for transmitting on an optical connection a sequence of input data having first and second logic states, said method comprising: providing an optical source for generating an optical signal to be transmitted on said optical connection, said optical source being able to generate optical pulses at the occurrence of said first logic states; encoding said sequence of input data in an encoded sequence of data prior to transmission on said optical connection, where said encoding operation minimizes the first logic states in said encoded sequence of data; driving said optical source with said encoded sequence of data in which the number of first logic states has been minimized, said encoding operation including: arranging said sequence of input data in parallel format on a number of lines; counting the first logic states in said sequence of input data on said number of lines in unit time; comparing a result of said counting with a value that is proportional to the number of lines; and logically inverting said sequence of input data on said number of lines if the result of said counting is greater than said value that is proportional to the number of said bus lines of the sequence of input data; ordering values that are assumed on said number of lines by said sequence of input data; identifying, among said ordered values, a first value which assumes the first logic state; and applying said encoding operation only to the ordered values subsequent to said first value which assumes the first logic state.