Merging method, device and electronic equipment for nested data

A data and nesting technology, applied in other database retrieval, other database index, other database query, etc., can solve the problems of high memory and performance overhead, achieve the effect of reducing memory overhead, reducing performance overhead, and improving merge efficiency

Active Publication Date: 2022-05-13
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a nested data merging method, device and electronic equipment, so as to alleviate the technical problem of large memory and performance overhead caused by deep copying data merging in the prior art

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
  • Merging method, device and electronic equipment for nested data
  • Merging method, device and electronic equipment for nested data
  • Merging method, device and electronic equipment for nested data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] Considering the existing method of merging nested data, only deep copy can be used, which is equivalent to creating a new object with exactly the same content and structure as the original data, so that it is necessary to apply for the merged data with nested data A memory with the same size as the memory will cause a large memory overhead and performance overhead. Based on this, the embodiments of the present invention provide a nested data merging method, device, and electronic equipment. When merging nested dat...

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 nested data merging method, device and electronic equipment, and relates to the technical field of data replication. In the method, the nested data includes a plurality of dictionary data, and the dictionary data includes references and data corresponding to the references, and the references The corresponding data includes at least one key-value pair, and the key-value pair includes a key and a key value; the method includes: obtaining a reference corresponding to each dictionary data in the nested data; Store in the dictionary array of the pre-built dictionary data structure; apply the dictionary key-value query method or dictionary traversal method to the dictionary array with references, and obtain the merged data corresponding to the nested data. The present invention can alleviate the technical problem of high memory and performance overhead caused by data merging through deep copy in the prior art.

Description

technical field [0001] The invention relates to the technical field of data duplication, in particular to a nested data merging method, device and electronic equipment. Background technique [0002] For data formats with multi-layer nested dictionaries, when it is necessary to merge multiple pieces of such data into one piece of data according to different priorities, the usual method is to use the deep copy method. For example, when creating a monster in a game, the data used for initialization is usually divided into four parts: constant data (for the same monster), level-related data, editor modification data, and program code modification data. Since the monster data is organized hierarchically, using shallow copy will destroy the original data, so deepcopy must be used to merge the data, that is, recursively copy each layer of data. The method of using deepcopy needs to apply for an additional memory, and the memory size is the same as the merged data. Therefore, ther...

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): G06F16/901G06F16/903
CPCG06F16/901G06F16/90335
Inventor 杨之江
Owner NETEASE (HANGZHOU) NETWORK 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