Object serialization realization method and device

An implementation method and serialization technology, applied in the field of computer applications, can solve problems such as low development efficiency and easy introduction of defects, and achieve the effect of reducing space, avoiding introduction of defects, and improving development efficiency.

Active Publication Date: 2021-04-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF16 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a target serialization implementation method that can improve development efficiency and avoid introducing defects for the problems of low development efficiency and easy introduction of defects caused by manual copying and pasting of codes in the traditional target serialization process

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 realization method and device
  • Object serialization realization method and device
  • Object serialization realization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and 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.

[0028] It can be understood that the terms "first", "second" and the like used in the present invention can be used to describe various elements herein, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first client could be termed a second client, and, similarly, a second client could be termed a first client, without departing from the scope of the present invention. Both the first client and the second client are clients, but they are not the same client.

[0029] figure 1 It is a schematic diagram of a...

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 a method and device for realizing object serialization. The method includes the following steps: automatically obtaining the part to be serialized in the target; analyzing the part to be serialized in the target to obtain an analysis result, and saving the analysis result; performing an analysis on the target according to the analysis result Serialization is converted into a packaged serialization wrapper; the packaged serialization wrapper is called to perform serialized reading and writing of the target through a reflection mechanism. The above target serialization implementation method and device, by automatically obtaining the part to be serialized in the target, performing analysis to obtain the analysis result, serializing the target according to the analysis result, converting it into a packaging serialization wrapper, and calling the packaging serialization packaging Serialized reading and writing using the controller and reflection mechanism does not require manual coding, which improves development efficiency and does not require manual copying and pasting, avoiding the introduction of defects, reducing the amount of engineering code and functions, and reducing space.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to a method and device for realizing object serialization. Background technique [0002] Object serialization technology is a technology that converts object data into another persistent data form. The converted data form must be easy to store on external media, or easy to use the network for transmission. In order for stored and transmitted data to be turned back into in-memory objects again, such transformations must be reversible. Object serialization technology introduces the abstraction of objects in the process of data transmission and storage, making this process more intuitive and more convenient to use. Therefore, object serialization technology is widely used in object-oriented software systems. [0003] Due to the widespread use of object serialization technology, many computing languages ​​provide functional support for object serialization at the language level thr...

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/30
CPCG06F8/30
Inventor 曾勇翟一帆苟键林声炜俞尚李宏伟梁祥泰陈钟苟晓东
Owner TENCENT TECH (SHENZHEN) CO LTD
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