Unlock instant, AI-driven research and patent intelligence for your innovation.

Serialization coding and decoding method and device and electronic equipment

A serialization and serialization technology, which is applied in the direction of multi-program device, program code conversion, program control design, etc., can solve the problems of complex serialization methods and inability to realize serialization, and achieve the effect of improving flexibility

Pending Publication Date: 2022-02-08
MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiment of the present invention is to provide a serialization encoding, decoding method, device and electronic equipment to solve the problem that developers need to use the data structure specified by the serialization tool, otherwise the serialization cannot be realized, and the serialization method is too complicated

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 coding and decoding method and device and electronic equipment
  • Serialization coding and decoding method and device and electronic equipment
  • Serialization coding and decoding method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The embodiment of the present invention provides a serialized encoding and decoding method, device and electronic equipment.

[0034] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0035] like figure 1 As shown, the embodiment of the present invention provides a serialization encoding method, and the execution body of the method may be an encoding module or the like. The method specifica...

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 embodiment of the invention provides a serialization coding and decoding method and device and electronic equipment, and the method comprises the steps of obtaining to-be-coded data, and determining the data type of the to-be-coded data; according to a Breeze coding protocol corresponding to the data type in a preset serialization protocol, coding the data to be coded to obtain serialization data, wherein the serialized data comprises a type number corresponding to the data type; and sending the obtained serialized data to a target system. According to the embodiment of the invention, cross-language coding and decoding of the existing object data are realized; information such as a data type is added in the serialized data, so that a decoding side can accurately decode the serialized data according to a coding and decoding protocol corresponding to the data type; even if a class object automatically generated by the protocol is not used, the class object can still be automatically decoded and converted into a general object under the condition of no schema description; and the use flexibility is improved.

Description

technical field [0001] The present invention relates to the technical field of computer language, in particular to a serialized encoding and decoding method, device and electronic equipment. Background technique [0002] In a multi-computer language system, the data transfer between different computer systems or services is called data interaction. During the data interaction process, the transmitted data needs to be serialized. The serialization refers to converting the data to be interacted into by The process of binary data format composed of 0 and 1, because only by converting into binary data can it be convenient to transmit through physical or optical signals. Generally, serialization is divided into two parts: encoding and decoding. The serialization is the process of converting a discrete data structure into a continuous stream of bytes. At present, commonly used serializers include ProtoBuf, XML, json, etc. Among them, ProtoBuf is a cross-language serialization pr...

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): G06F8/41G06F9/54
CPCG06F8/44G06F9/546
Inventor 张雷
Owner MICRO DREAM TECHTRONIC NETWORK TECH CHINACO