Supercharge Your Innovation With Domain-Expert AI Agents!

Data conversion method, device and data processing equipment

A technology of data processing equipment and conversion method, which is applied in the field of data processing, can solve the problems of large system overhead and low conversion efficiency, and achieve the effect of low conversion cost and high conversion efficiency

Active Publication Date: 2021-01-15
ALIBABA (CHINA) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, methods such as recursive algorithm functions are used to process and convert each node of the data to be converted into an array. Repeated calls of the recursive algorithm function cause high system overhead and low conversion 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
  • Data conversion method, device and data processing equipment
  • Data conversion method, device and data processing equipment
  • Data conversion method, device and data processing equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] 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 the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0036] Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art wi...

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 a data conversion method and device and a data processing device. The method comprises the following steps: initializing a stack, establishing an array corresponding to a root node of the data to be converted, and putting the array and the node identification of the root node into the stack; when the stack is not empty, taking the corresponding data node identified by the node popping out from the top of the stack as the first target node; selecting a child node of the first target node as a second target node; detecting, for each selected second target node, whether ornot the second target node has child nodes; if the second target node has child nodes, establishing a corresponding array for the second target node, and putting the second target node and the corresponding array into the stack; if the second target node does not have child nodes, assigning a value of the second target node to an array element corresponding to the second target node. Thus, an efficient non-recursive array conversion algorithm for the data to be converted is realized.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a data conversion method, device and data processing equipment. Background technique [0002] When data transmission and processing are required between different systems, the data needs to adopt a data format that can be recognized by the data processing equipment during the transmission process. In the process of data processing, the form of an array can make reading, writing and processing faster and more efficient. Therefore, after the data processing device receives the data sent by other devices, it needs to convert the received data into the form of an array. In the prior art, methods such as recursive algorithm functions are used to process and convert each node of the data to be converted into an array. Repeated calls of the recursive algorithm function cause high system overhead and low conversion efficiency. Contents of the invention [0003] In ord...

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): G06F13/40G06F9/54
CPCG06F9/543G06F13/4018
Inventor 樊恒光
Owner ALIBABA (CHINA) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More