Message processing method and device, electronic equipment and storage medium
The invention relates to the technical field of message processing, and provides a message processing method and device, electronic equipment and a storage medium. According to the method, the number of message bytes of message data received by a buffer area is determined; if the message byte number...
Saved in:
Main Authors | , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
07.11.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to the technical field of message processing, and provides a message processing method and device, electronic equipment and a storage medium. According to the method, the number of message bytes of message data received by a buffer area is determined; if the message byte number of the message data exceeds the target byte number, reading the message data from the buffer area; determining an initial position of the expected message in the message data, and determining a message length of the expected message according to the initial position and a preset byte length; determining an expected message from the message data according to the initial position and the message length; by checking the message data in the buffer area, determining the expected message according to the message data, and in the process of reading the message data from the buffer area and determining the expected message, the message data is still reserved in the buffer area, so that the integrity of the message data in |
---|---|
Bibliography: | Application Number: CN202311122733 |