Object serializing method as well as object de-serializing method, device and system

An object and sequence technology, applied in the field of object serialization method, object deserialization method, device and system, can solve the problems affecting data storage or transmission efficiency, large storage space or transmission bandwidth, large amount of byte stream data, etc. , to achieve the effect of shortening serialization and deserialization time, improving speed or data transmission efficiency, and reducing storage space or transmission bandwidth

Inactive Publication Date: 2012-10-24
山东中创软件商用中间件股份有限公司
View PDF3 Cites 53 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved in this application is to provide an object serialization method, an object deserialization method, a device and a system, which are used to solve the problems caused by the complex message structure of each attribute of the serialized data object in the existing serialization technology. The serialization time is long, which makes the technical problem of low serialization efficiency, and it is used to solve the existing serialization technology to serialize the overall serialization of each attribute value of the data object. The data volume of the byte stream is large, occupying Large storage space or transmission bandwidth, technical problems that seriously affect data storage or transmission efficiency

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 serializing method as well as object de-serializing method, device and system
  • Object serializing method as well as object de-serializing method, device and system
  • Object serializing method as well as object de-serializing method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0082] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0083] This application is applied to data objects described in various compiled languages.

[0084] It should be noted that the structure of the object to be serialized can be described as a message structure composed of one or more attributes, for example: the serialized message structure adopted by the serialization technology of the object in the prior art; the object can also describe A message structure consisting of one or more fields, each field consists of four parts: field...

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 provides an object serializing method as well as an object de-serializing method, device and system, which can preset a type value of each field in an object. The object serializing method comprises the following steps of: carrying out binary conversion on the type value of each field so as to obtain a binary sequence of the type value of each field, and carrying out the binary conversion on a label value of each field so as to obtain a binary sequence of the label value of each field; combining the binary sequence of the label value of each field with the binary sequence of the type value of each field, so as to obtain a binary sequence of a key value of each field; carrying out the binary conversion on value information of a field name of each field, so as to obtain a binary sequence of the value information of each field; connecting the binary sequence of the key value of each field with the binary sequence of the value information, so as to obtain a binary sequence of each field; and connecting the binary sequence of each field, so as to obtain the binary sequence of an object.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to an object serialization method, object deserialization method, device and system. Background technique [0002] Serialization technology is widely used in security cloud service platforms, mainly realizing the serialization of objects into binary byte streams, and then saving the byte streams to storage devices (such as disks) or transmitting the byte streams. The object can be a data object, a class object, or a serialized object. [0003] Currently, mainstream serialization technologies include Extensible Markup Language XML (Extensible Markup Language) technology and JSON (JavaScript Object Notation) technology. Serialize, and then connect the serialized strings to obtain a binary byte stream. The deserialization process is the opposite of the above serialization process. [0004] In the above serialization process, due to the complexity of the message structure...

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): G06F17/22
Inventor 周丽芳张权刘鹏王萍张青
Owner 山东中创软件商用中间件股份有限公司
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