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

Object serialization and deserialization method and device and computer readable storage medium

A deserialization and serialization technology, applied in the field of object serialization devices and computer-readable storage media, can solve the problems of OutOfMemory exception, large serialization content, and low serialization efficiency, so as to reduce abnormal problems and improve feasibility , the effect of improving efficiency

Active Publication Date: 2021-10-26
厦门正航软件科技有限公司
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide an object serialization method, device and storage medium, aiming to solve the problem of large serialization content, low serialization efficiency, Out Of Memory exception, cross- Technical Issues of Language Platform Compatibility

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 and deserialization method and device and computer readable storage medium
  • Object serialization and deserialization method and device and computer readable storage medium
  • Object serialization and deserialization method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the objects, technical solutions, and advantages of the present invention more clear, the technical solutions in the embodiments of the present invention will be described in contemplation, and Part of embodiments, not all embodiments. It will be appreciated that the specific embodiments described herein are intended to explain the invention and is not intended to limit the invention. Based on the embodiments in the present invention, all other embodiments obtained without creative labor are not made in the premise of creative labor.

[0035] Serialization is the process of converting an object into a byte stream so that the object can be easily saved in a disk file or database and network transmission. The reverse sequence is a serialization process, which is to convert a word stream back to the original object.

[0036] The serialization mechanism can be applied to the system's model storage, data sheet transmission, object network transmission, etc., mai...

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 an object serialization method, which comprises the following steps of: enabling an object to realize an ISerializable interface, and realizing a GetObjectData method; arranging a flag used for version control in the object; transmitting the object attribute and / or the private domain variable of the object into the object; and calling a SerializerInfo method to write the flag, the object attribute and / or the private domain variable of the object into a data stream in sequence. The invention further provides a deserialization method and device corresponding to the serialization method and a computer readable storage medium. The object serialization method aims at solving the technical problems that in an existing object serialization method, serialization content is large, serialization efficiency is low, Out Of Memory is abnormal, and cross-language platform compatibility is poor.

Description

Technical field [0001] The present invention relates to the field of data storage and transmission technologies, in particular an object serialization and reverse sequenceing method, and an object serializing device and a computer readable storage medium applied thereto. Background technique [0002] In a software product, you need to efficiently transfer the object's object to the client or when the client's object is effectively transmitted to the remote server, the transmitted object is packaged, and then passed to the far end in a suitable manner. In the product, some important parameters, model configurations, etc., it is also necessary to use corresponding storage technologies when they need to persistently store them. [0003] At present, when software product objects are transmitted or stored, with .NET as an example, the main technique is concentrated in JSON, XML, SOAPFORMATTER, and Binaryformatter, but existing methods are generally large, and the object is large, seri...

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/20
CPCG06F8/24
Inventor 赖光郎黄连生
Owner 厦门正航软件科技有限公司
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