1. A method for analyzing messages, comprising: generating a set of messages while at least one of controlling and monitoring a technical process; recording, for each message in the set of messages, an item of time information which codes an occurrence of said messages, and a characteristic identification which codes the messages according to at least one of a message type and a message content; performing, by a computer, a search within characteristic identifications based on syntactic pattern recognition for patterns of a group of successive characteristic identifications within a sequence of characteristic identifications sorted according to the time information, the group of successive characteristic identifications comprising pairs of successive characteristic identifications; and replacing recognized patterns with a pattern identification which characterizes the pattern.