Message encoding-decoding method and device

An encoding method and message encoding technology, applied in the field of message encoding and decoding methods and devices, can solve the problems of lack of flexibility and portability of message encoding and decoding methods, and achieve the effect of improving flexibility and portability

Inactive Publication Date: 2012-07-11
ZTE CORP
View PDF8 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The main purpose of the present invention is to provide a message encoding and decoding method and device to at least solve the problems of lack of flexibility and portability in the above-mentioned message encoding and decoding methods in the related art

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
  • Message encoding-decoding method and device
  • Message encoding-decoding method and device
  • Message encoding-decoding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] This embodiment provides a message encoding and decoding system, Figure 7 is a structural block diagram of a message encoding and decoding system according to an embodiment of the present invention, such as Figure 7 As shown, the system includes: a message format description file 71, a message format operation module 72, a message encoding module 73, a message decoding module 74, a message tree analysis and display module 75, and a message input module 76. The above structure is described in detail below:

[0062] Message format description file 71: used to store the structure of the message. It can be described according to the structural unit of the message, that is, a complete message is composed of multiple structural units, so that the structural units can be reused. The structural units of the telegram can be saved in several files according to different interface types.

[0063] Message format operation module 72: Find the description file corresponding to t...

Embodiment 2

[0070] This embodiment provides a message encoding method, Figure 8 is a flow chart of message encoding according to a preferred embodiment of the present invention, such as Figure 8 As shown, the method includes:

[0071] The following describes the cooperation between each module by explaining the encoding and decoding process of the message:

[0072] Step 802: the user invokes the encoding function in the message encoding module 73 through the input message module.

[0073] Step 804: The encoding function first constructs a packet header according to the parameters input by the user.

[0074] Step 806: Next, the encoding function calls the message structure unit parsing function in the message format operation module according to the message body structure definition in the input parameter.

[0075] Step 808: The message structure unit parsing function reads the corresponding message structure unit in the message format description file 71 and returns it to the message...

Embodiment 3

[0082] This embodiment provides a message decoding method, Figure 9 is a message decoding flow chart according to a preferred embodiment of the present invention, such as Figure 9 As shown, the method includes: a message format description file 71, a message format operation module 72, a message encoding module 73, a message decoding module 74, a message tree analysis and display module 75, and a message input module 76.

[0083] Step 902: the user invokes the decoding function through the packet tree analysis and display module 75. The decoding function splits the message into a message header and a message body, and passes to the message header decoding function and the message body decoding function in the message decoding module 73 respectively;

[0084] Step 904: the format of the message header is fixed, and the message header decoding function directly decodes the message header according to the definition;

[0085] Step 906: The message body decoding function parse...

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 message encoding-decoding method and a message encoding-decoding device, wherein a message encoding method comprises the following steps of: acquiring a message parameter input by a user; and encoding messages in a script language according to the message parameter. According to the message encoding-decoding method and the message encoding-decoding device, disclosed by the invention, the flexibility and transportability of encoding the messages are improved.

Description

technical field [0001] The present invention relates to the communication field, in particular, to a message encoding and decoding method and device. Background technique [0002] The International Telecommunication Union (ITU-T) M.3010 divides the telecom management layer model into network element layer, network element management layer, network management layer, service management layer and transaction management layer. There are different network management systems corresponding to different levels. In these systems, there are often various kinds of information about the same entity, and maintaining a tight consistency among them is an important task. [0003] Currently, in the layered management model of the telecom management network, the format of data communication between layers is mainly Abstract Syntax Notation One (ASN.1), which is a syntax standard for describing structured objectivity. ASN.1 has good extensibility and customization capabilities, and its tree-...

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 Applications(China)
IPC IPC(8): H04L12/56H04L1/00
CPCH04L29/08081H04L67/00
Inventor 张祎强尹勇
Owner ZTE CORP
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