Object serialization method, equipment and computing device

A computing device and serialization technology, applied in the computer field, can solve problems such as low data type efficiency, multiple system resources and processing time, and reduce serialization processing performance, so as to improve serialization efficiency, save system resources, and avoid performance consumption Effect

Active Publication Date: 2017-05-31
BEIJING CHESHANGHUI SOFTWARE
View PDF3 Cites 15 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
  • Object serialization method, equipment and computing device
  • Object serialization method, equipment and computing device
  • Object serialization method, equipment 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 Applications(China)
IPC IPC(8): G06F9/44
CPCG06F9/4488
Inventor 贾维维
Owner BEIJING CHESHANGHUI SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products