Method for serializing highly-efficient self-describing complex data objects

A complex data, self-describing technology, applied in the direction of electrical digital data processing, special data processing applications, program control design, etc., can solve the problems of lack of unity and consistency, limited object serialization processing ability, inconvenient use and maintenance, etc. Achieve the effects of reducing error records, improving complex data processing performance, and reducing maintenance difficulty

Active Publication Date: 2014-05-07
致云科技有限公司
View PDF2 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The purpose of the present invention is to provide an efficient self-describing complex data object serialization method, which mainly solves

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 serializing highly-efficient self-describing complex data objects

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0024] In order to solve the problems of limited object serialization processing capability, inconvenient use and maintenance, and lack of unity and consistency in the prior art, the present invention discloses a method for serializing and deserializing various heterogeneous messages using a unified method The serialized binary data stream can describe itself, can be correctly deserialized back to the original object without interface files and independent codec codes, and is suitable for the serialization method of complex data objects.

[0025] In the present invention, each heterogeneous message has a unique message ID, which is used to identify the type of heterogeneous message, and each heterogeneous message contains zero to multiple parameters, which are used to identify the various heterogeneous messages that need to be transmitted. Attribute value, each parameter has its own unique ID, value type and value content saved in binary format. With this setting, serialization...

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 serializing highly-efficient self-describing complex data objects. The method mainly solves the problems existing in the prior art that the object serialization processing capacities are limited, use and maintenance are inconvenient, and uniformity and conformity are deficient. The method comprises the following steps: creating a unique message ID for each heterogeneous message used for identifying the type of the heterogeneous message, creating zero or more than one parameter used for identifying the attribute values to be transferred by various heterogeneous messages, creating the unique ID, the value type and the value content stored in a binary format of each parameter, and achieving serialization and de-serialization using a binary mode according to the message IDs of the heterogeneous messages. By means of the solution, the method achieves the purpose of facilitating management and maintenance, reducing error logging, and improving the capability of processing data, and has a high practical value and a promotional value.

Description

technical field [0001] The invention relates to a complex data object serialization method, in particular to an efficient self-describing complex data object serialization method. Background technique [0002] Object serialization and deserialization are the cornerstones of modern network communication and remote call technology. The serialization method converts logical objects into data packets and sends them to the remote end through the network. After receiving the data packets, the remote server deserializes them Get the original logical object, and then parse and process it. [0003] In order to improve the application effect, the serialization method is required to achieve a balance in performance, ease of use, and scalability. At present, the most widely used and most highly evaluated in the industry is Google's Protocol Buffers solution, which uses .proto files to define serialized object interfaces, generates serialized and deserialized interface codes according t...

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
IPC IPC(8): G06F17/30
CPCG06F9/4488
Inventor 黄睿
Owner 致云科技有限公司
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