Creat membership Creat membership
Sign in

Forgot password?

Confirm
  • Forgot password?
    Sign Up
  • Confirm
    Sign In
Creat membership Creat membership
Sign in

Forgot password?

Confirm
  • Forgot password?
    Sign Up
  • Confirm
    Sign In
Collection
For ¥0.57 per day, unlimited downloads CREATE MEMBERSHIP Download

toTop

If you have any feedback, Please follow the official account to submit feedback.

Turn on your phone and scan

home > search >

METHOD AND SYSTEM FOR PARSING MULTI-PROTOCOL MESSAGE BASED ON FILE MODE

Abstract(summary):

The present invention is applicable to the technical field of data communications, and provides a method for parsing a multi-protocol message based on a file mode, comprising: 1. initializing an algorithm memory resource and a file handle; 2. reading a data stream from a communication port and storing same in a data buffer region in the memory; 3. reading data in the data buffer region, and writing the data into a message file, and meanwhile cleaning an old message file to obtain an updated message file; 4. sharing the message file with all protocol stack parsers; 5. repeating steps 2 to 4; 6. each protocol stack parser using an allocated file handle to read data in the updated message file, and determining whether there is a message with the protocol in the data; and 7. if so, responding to the application of the message after processing the message according to the protocol. The method provided by the present invention solves the problem that, in the existing single processing mode, searching each protocol in turn easily causes the receiving buffer to overflow, thereby leading to data loss.


VIEW PDF

The preview is over

If you wish to continue, please create your membership or download this.

Create Membership

Similar Literature

Submit Feedback

This function is a member function, members do not limit the number of downloads