Patent ID: 8627200

Claim:
A method of encoding hierarchized data organized in a plurality of events, comprising: obtaining a first information set of at least one event to be encoded; recovering a grammar based on the first information set, the grammar making it possible to describe at least the first information set; determining a second information set including at least structural information, from the recovered grammar; comparing the determined second information set to the first information set of at least one event to be encoded to determine whether at least a part, defined by a predetermined criterion, of the first information set of at least one event to be encoded can be predicted unequivocally from the grammar; if the result of the comparison step is positive, encoding the unequivocally predicted part of the first information set using only a general code representing conformity information that is common to all information sets; and encoding the information of each event to be encoded of the first information set that is not included in the determined second information set; and if the result of the comparison step is negative, encoding the first information set using at least priorities from the recovered grammar.