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

An object serialization method, device and computing device

A computing device and serialization technology, applied in the computer field, can solve the problems of low data type efficiency, reduced serialization processing performance, multiple system resources and processing time, etc., to improve serialization efficiency, avoid performance consumption, and save system resources. Effect

Active Publication Date: 2020-04-21
BEIJING CHESHANGHUI SOFTWARE
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this method, the reflection mechanism needs to consume more system resources and processing time, and the efficiency of obtaining the data type of the attribute value through the reflection mechanism is low
In addition, when the data type is known in the object-oriented language, the multi-condition branch in this method is equivalent to making a lot of invalid judgments, which greatly reduces the processing performance of serialization

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
  • An object serialization method, device and computing device
  • An object serialization method, device and computing device
  • An object serialization method, device and computing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0034] image 3 A block diagram of a computing device 300 according to one embodiment of the present invention is shown. In a basic configuration 302 , computing device 300 typically includes system memory 306 and one or more processors 304 . A memory bus 308 may be used for communication between the processor 304 and the system memory 306 .

[0035] Depending on the desired configuration, processor 304 may be any type of process...

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 is executed in a computer device. The object has one or more attributes, and the method comprises the steps of sequentially obtaining attribute information from each attribute in the object, wherein the attribute information comprises a data type, an attribute name and an attribute value; determining the forecast capacity of a whole buffer area according to the attribute information of each attribute, the whole buffer area is suitable for result of cache object serialization; requesting the whole buffer area of forecast capacity to the operation system, serializing each attribute according to each attribute data, and writing the serialization result in the whole buffer area. The invention further discloses an object serialization device capable of implementing the object serialization method and the computing device including the equipment.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an object serialization method, device and computing equipment. 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 scenarios, the conversion forms of serialization mainly include Json, Xml, Binary, 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] Most of the existing serialization schemes use the original API of the system, but in the serialization API of the system, data cannot be directly written into the buffer, but a small-capacity temporary buffer must be allocated outside t...

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): G06F9/448
CPCG06F9/4488
Inventor 贾维维
Owner BEIJING CHESHANGHUI SOFTWARE
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