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

Object serialization and deserialization method, 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 problems such as low serialization efficiency, OutOfMemory exception, and large serialized content, so as to reduce abnormal problems and improve feasibility , the effect of improving efficiency

Active Publication Date: 2022-04-19
厦门正航软件科技有限公司
View PDF3 Cites 0 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, device and computer-readable storage medium
  • Object serialization and deserialization method, device and computer-readable storage medium
  • Object serialization and deserialization method, device and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention. Obviously, the described embodiments are the embodiment of the present invention Some, but not all, embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0035] Serialization is the process of converting an object into a byte stream, so that the object can be easily stored in a disk file or database and transmitted over the network. Deserialization is the rever...

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 includes: making the object implement the ISerializable interface and implementing the GetObjectData method; setting a flag for version control in the object; transferring the object attribute and / or the private domain variable of the object to Enter the object; call the SerializerInfo method to write the flag, the object attribute and / or the private domain variable of the object into the data stream in order; and provide the deserialization method and device corresponding to the serialization method and a computer-readable storage medium; aiming to solve the technical problems of large serialization content, low serialization efficiency, Out Of Memory exception, and cross-language platform compatibility in existing object serialization methods.

Description

technical field [0001] The invention relates to the technical field of data storage and transmission, in particular to an object serialization and deserialization method, an object serialization device applying the method, and a computer-readable storage medium. Background technique [0002] In software products, when it is necessary to effectively transmit the object of the remote server to the client or effectively transmit the object of the client to the remote server, the transmitted object must be encapsulated and then passed to the remote end in an appropriate way. In the product, when some important parameters and model configurations need to be persistently stored on the hard disk, the corresponding storage technology is also required. [0003] At present, when transferring or storing software product objects, taking .net as an example, the main technologies are concentrated in JSON, XML, SoapFormatter and BinaryFormatter. The problem of slowness, when large objects...

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 Patents(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