摘要 |
Disclosed are a message processing method and device, for solving the problem of replay attacks while supporting message priority, and ensuring the normal operation of the system. The method in the embodiments of the present invention includes: receiving a message, with the received message carrying a sequence number for preventing replay attacks and information for indicating message priority; and judging whether or not any replay attack occurs according to the sequence number for preventing replay attacks and the information for indicating message priority carried in the received message, and if it occurs, then discarding the received message, and if it does not occur, then processing the received message.
|