Automatic TCP/UDP (Transmission Control Protocol/User Datagram Protocol) data packing and unpacking method based on PYTHON language
A data packet and group packet technology, applied in the direction of program control devices, etc., can solve the problems of cumbersome and complex construction and analysis, difficult expansion, inflexibility, etc., to increase scalability and flexibility, improve accuracy and efficiency , the effect of simplifying the coding work
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment
[0168] A method for grouping and unpacking data packets based on TCP / UPD communication of the present invention is implemented in the supply and marketing communication system. There are commodity download agreements, commodity order agreements, etc. in the supply and marketing system. The invention is used to package and unpack the data of the commodity order agreement. Such as figure 2 shown.
[0169] The specific steps are:
[0170] 1. Packing process
[0171] 1) Define the protocol that needs to be converted as an XML file, and the XML format is as the example above;
[0172] 2) The program loads the XML data and returns the LIST data type after analysis and processing, and selects the specified protocol to be packaged;
[0173] 3) According to the selected protocol, generate the data of each field;
[0174] 4) Then combine the data according to the protocol rules to generate the required protocol communication data packets.
[0175] 2. Unpacking process
[0176] ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com