Method and system of data exchange and deserialization method

A data exchange and deserialization technology, applied in the field of Internet communication, can solve the problems of complex type process, complex implementation method, limited application scope of deserialization method, etc., to achieve the effect of strong flexibility and wide application range

Active Publication Date: 2013-04-10
BEIJING FEINNO COMM TECH
View PDF2 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the complex process of knowing the sequence type used in serialization and its corresponding type process, it is possible to correctly deserialize and parse

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 and system of data exchange and deserialization method
  • Method and system of data exchange and deserialization method
  • Method and system of data exchange and deserialization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0028] The basic idea of ​​the present invention is: analyze the serialized binary stream to obtain its type feature bits, judge the type of the binary stream according to the type feature bits and preset rules, and use the analysis method corresponding to the type to analyze and obtain the reverse sequence results.

[0029] figure 1 It is a flow chart of the data exchange method in Embodiment 1 of the present invention. Such as figure 1 As shown, the method includes the following processes.

[0030] Step 10: The data source serializes the original data using the Protobuffer data exchange method to obtain a binary stream.

[0031] Step 11: The application side obtains the serialized binary stream.

[0032] In this step, specifically, the obta...

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 of data exchange. The method of data exchange includes a data source terminal serializing an original data with a data exchange mode of Protobuffer to obtain a binary stream, an application terminal obtaining and parsing the serialized binary stream to obtain the type characteristic bits in the binary stream, determining the sequence type of the binary stream according to the type characteristic bits, and performing corresponding deserialization process to the binary stream according to the obtained sequence type to obtain the original data. The invention also discloses a data exchange system and a deserialization method. According to the methods and system of data exchange and deserialization method, the application flexibility of the deserialization can be improved and the application range of deserialization can be broadened.

Description

technical field [0001] The invention relates to Internet communication technology, in particular to a data exchange method and system, and a deserialization method. Background technique [0002] In data transmission and application between networks, it is usually necessary to convert information into binary files to realize data transmission and application. Currently, the serialization and deserialization of binary files are usually implemented using the Protobuffer data exchange format. Protobuffer is a data exchange format that serializes existing information into binary streams according to different types and corresponding encoding methods for storing information or data transmission. When the binary information is read or received, the serialized binary stream is deserialized to obtain the original information or data for further application. The data volume of the binary stream obtained by Protobuffer serialization is small, and the serialization and deserialization...

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): H04L1/00G06F9/45
Inventor 李凯刘李进
Owner BEIJING FEINNO COMM TECH
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