Method for implementing protocol data unit (PDU) used for packing and unpacking network bytes

A technology of a protocol data unit and an implementation method, which is applied in the field of telecommunication service support systems, can solve problems such as inability to meet simple and easy-to-expand requirements, inconvenient use, and complicated packaging and unpacking methods, and achieve good debugging information, simple unpacking, and The effect of masking differences

Active Publication Date: 2012-10-03
WHALE CLOUD TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to propose a solution to the problems that the existing network byte packing and unpacking methods are complicated, and the programming model is complicated, and the protocol field needs to be changed frequently, which is inconvenient to use and cannot meet the requirements of simplicity and easy expansion. Implementation method of protocol data unit PDU for network byte packing and unpacking in complex network programming

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for implementing protocol data unit (PDU) used for packing and unpacking network bytes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0017] The order, length, and data type of the fields in the protocol are defined through the XML configuration file. Shield the complex reading and writing of the original data type, automatically convert it into an understandable basic data type, realize the arbitrary conversion of high and low byte order, and can adapt to flexible protocol configuration.

[0018] Such as Figure 1 As shown, the relationship between each object in the PDU implementation method is explained, and the related terms are explained as follows:

[0019] Protocol object (Protocol): A byte stream abstraction composed of 1 or more PDU objects, which can represent a complete protocol, such as MML protocol, SMPP protocol

[0020] Subpackage (PduBean): In order to organize protocol objects more clearly, or to reuse protocol definitions, you can use subpackages to organize protoc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for implementing a protocol data unit (PDU) used for packing and unpacking network bytes, which comprises the following steps: firstly, defining an XML field configuration file of a needed transmission protocol; and then performing packing and unpacking, wherein the XML field configuration file comprises order, length and data type of fields in the transmission protocol. The method solves the problems of complex programming model and inconvenient protocol field change in the conventional network programming, improves the efficiency of network byte stream programming, facilitates packing and unpacking the network bytes, shields the difference of high-low bytes, and provides good debugging information and unified traffic monitoring.

Description

technical field [0001] The invention relates to a telecommunication service support system, in particular to a technology for packing and unpacking real-time Socket messages in an online billing system, in particular to a method for realizing a protocol data unit (PDU) for network byte packing and unpacking. Background technique [0002] A modern telecom service support system is generally composed of multiple network element nodes, which respectively perform functions such as billing, integrated customer service, SMS gateway, voice gateway, and connection control. In order to provide telecom services to end users, each network element needs to communicate with each other , to complete functions such as data synchronization and business connection control. In such a complex distributed system, the demand for network communication based on TCP / IP is ubiquitous. [0003] Traditional network byte packaging and unpacking requires constant attention to the details of converting v...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06
Inventor 杨学书
Owner WHALE CLOUD TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products