Serialization method of mobile network data

A mobile network data, serialization technology, applied in digital transmission systems, electrical components, error prevention, etc., can solve problems such as slow labor, complex situations, and huge differences in hardware and computing capabilities.

Inactive Publication Date: 2014-10-22
GUANGZHOU JIZHI INFORMATION TECH
View PDF7 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Today, with the rapid development of the mobile Internet, the information interaction terminal has developed from a single PC terminal to a multi-terminal carrier such as a mobile phone, a PAD, and a PC. and the mobile Internet complicate the situation
The process of network data interaction on mobile terminals becomes laborious and slow

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
  • Serialization method of mobile network data
  • Serialization method of mobile network data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0033] see figure 1 , a mobile network data serialization method provided by the present invention, comprising:

[0034] Define the data packet data item for the mobile network data, and define the data type and length of the data item.

[0035] Preferably, the data types include integer data and character data:

[0036] The integer data includes: 8-bit, 16-bit, 32-bit and 64-bit signed integer types; 8-bit, 16-bit, 32-bit and 64-bit unsigned integer types; the character data includes: string type ; A pointer to a NULL-terminated string.

[0037] Serialize data items;

[0038] Perform a null bitmap mapping operation on the data item; preferably, in the mapping operation, each data item is recorded by a separate null bitmap, and the bitmap is recorded in units of bits. If the content of the data item is empty, it is recorded as 1 , otherwise record as 0.

[0039] Perform varint encoding on signed integer data items; perform zigzag encoding on unsigned integer data items; ...

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 provides a serialization method of mobile network data. The method is characterized in that the method comprises the following steps: defining a data packet data item and defining a data type and a data length of the data item for mobile network data; carrying out serialization processing on the data item; carrying out null bitmap mapping operation on the data item; carrying out varint coding on a signed integer data item; carrying out zigzag coding on an unsigned integer data item; carrying out packaging on a header and carrying out a CRC16 fault-tolerant verification operation on a message record; carrying out header packaging processing on a CRC16 fault-tolerant check code, a message record serial number, a message record command word, and a message length data item of the message record; transmitting message data processed by serialization to a network opposite terminal; and carrying out deserialization processing on the data item. With the method, the data packet becomes small; the parsing speed is faster; and the compatibility and security are high.

Description

technical field [0001] The invention relates to the field of network data processing, in particular to a mobile network data serialization method. Background technique [0002] Serialization is the process of converting the state of a data object into a format that can be persisted or transferred. The opposite of serialization is deserialization, which converts a stream into a data object. These two processes combine to easily store and transfer data. [0003] Today, with the rapid development of the mobile Internet, the information interaction terminal has developed from a single PC terminal to a multi-terminal carrier such as a mobile phone, a PAD, and a PC. and the mobile Internet make the situation even more complicated. The process of network data interaction on the mobile terminal becomes laborious and slow. [0004] In order to adapt to network transmission in various complex situations, we propose a fast and small network data serialization method to solve data s...

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): H04L1/00
Inventor 谢黎军
Owner GUANGZHOU JIZHI INFORMATION 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