Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Object serialization method and device, machine readable medium and system

A serialization and object technology, applied in the computer field, can solve problems such as expansion and large byte size, and achieve the effect of improving overall performance and network transmission speed

Pending Publication Date: 2020-06-05
SHANGHAI YITU NETWORK SCI & TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, serialization of objects created by complex classes (classes have inheritance, properties have other classes nested, properties have special types such as dates, wrapper classes) will cause expansion problems, and the serialized byte size is larger than serialized into Json format bigger

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
  • Object serialization method and device, machine readable medium and system
  • Object serialization method and device, machine readable medium and system
  • Object serialization method and device, machine readable medium and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] It will be appreciated that, as used herein, the term "module" may refer to or include an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) that executes one or more software or firmware programs and / or memory, combinational logic, and / or other suitable hardware components that provide the described functionality, or may be part of such hardware components.

[0060] It can be understood that, in each embodiment of the present application, the processor may be a microprocessor, a digital signal processor, a microcontroller, etc., and / or any combination thereof. According to another aspect, the processor may be a single-core processor, a multi-core processor, etc., and / or any combination thereof.

[0061] Embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0062] Some embodiments of the present application disclose an object seriali...

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 relates to the technical field of computers, and particularly discloses an object serialization method and device, a machine readable medium and a system. The object serialization methodcomprises the steps: obtaining at least one attribute of an object, wherein attributes comprise an attribute name, an attribute type and an attribute value; creating a packaging object from the object, wherein the attribute name and the attribute value in each attribute of the packaging object are the same as the attribute name and the attribute value of the corresponding attribute of the object,and for the attribute type of each attribute of the packaging object, under the condition that the attribute type of the corresponding attribute of the object is a preset serialization type, the attribute type of the packaging object is the same as the attribute type of the object, under the condition that the attribute type of the corresponding attribute of the object is not the preset serialization type, the attribute type of the packaging object is the preset serialization type corresponding to the attribute type of the object; and performing serialization on the packaging object. And theserialized object occupies a small storage space, the network transmission speed is increased, and the overall performance of the application is improved.

Description

technical field [0001] The invention relates to the field of computer technology, and in particular discloses an object serialization method, device, machine-readable medium and system. Background technique [0002] Serialization is the process of converting an object's state information into a form that can be stored or transmitted. In this process, the serialized result is first written into the buffer, and then the content in the buffer is output or written to disk. Based on the current application scenario, the conversion forms of serialization mainly include Json object numbered notation, Xml extensible markup language, Binary binary string, etc. In the field of cloud computing and high-performance computing, serialization performance usually has a great impact on the computing performance of the system. [0003] Existing object serialization technologies, in most cases, choose frameworks such as Jackson or Fastjson to serialize objects into Json format for readabilit...

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): G06F16/84G06F40/151G06F40/14G06F9/448
CPCG06F16/84G06F9/4493
Inventor 曹玮吴永军陈萌辉
Owner SHANGHAI YITU NETWORK SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products