Message storage method and system and storage medium
The invention discloses a message storage method and system and a storage medium, and the method comprises the steps: converting a bus message into a preset structure message according to the type of the received bus message through executing a write task, and taking the preset structure message as...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a message storage method and system and a storage medium, and the method comprises the steps: converting a bus message into a preset structure message according to the type of the received bus message through executing a write task, and taking the preset structure message as an array element, and storing the preset structure message into a cache array; and reading the preset structure message from the cache array by executing a read task, and storing the preset structure message in a disk. According to the scheme, the load length and the total message length of the bus message do not need to be concerned, data reading and writing can be achieved only by sequentially and circularly accessing the array, the problem that memory management and data structure design are complex due to the fact that the load length and the total message length of the bus message are different can be avoided, extra performance overhead is avoided, the design is simple, errors are not prone to occurring, and t |
---|