Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Tree-shaped data locking and unlocking method

A data and tree-shaped technology, applied in the field of data processing, can solve business errors and other problems, and achieve the effects of improving performance, accurately locking the area range, and simple arithmetic operations

Active Publication Date: 2020-08-28
GUANGDONG ESHORE TECH
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the lock on the necessary nodes is missed, and other businesses modify the data synchronously, it will cause business errors

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
  • Tree-shaped data locking and unlocking method
  • Tree-shaped data locking and unlocking method
  • Tree-shaped data locking and unlocking method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0059] 1. Definition of terms

[0060] For the convenience of the understanding of the technical solution in the present invention, the nouns used in the present invention are defined as follows:

[0061] Subtree group: When unlocking and unlocking multiple subtrees of a tree as a whole, the collection of these subtrees is called a subtree group.

[0062] ·Identification tree: the union of all nodes in the path from the root node of all subtrees in the subtree gro...

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 a locking method of tree-shaped data. The method comprises the following steps: firstly, extracting an identification tree of a to-be-locked sub-tree group and calculating a local identification Map; then, for a locking mark counting value of each node in the local identification Map, comparing the locking mark count values of the same node in the global mark Map of the whole tree to judge whether the locking is allowed or not, if the locking is allowed, superposing the local mark Map into the global mark Map, and storing the local mark Map to ensure that the locking succeeds; and if locking is not allowed, waiting for retry or abandoning according to a failure strategy. Meanwhile, the invention also discloses a corresponding unlocking method. The unlocking is completed by removing the local identifier Map stored when the sub-tree group is locked from the global identifier Map. According to the invention, the data consistency can be ensured, the service logic issimplified, the data concurrent processing capability is improved, and the system performance is improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method for adding and unlocking tree-shaped data. Background technique [0002] With the development of the Internet era, the complexity of the business is getting higher and higher. The IT system tends to be componentized, modularized, and micro-serviced, that is, the business is split into relatively independent bottom-level components, and then integrated at a high level. overall business. Reflected in the business data, the data of an instance of the business is saved as a tree structure, and the data corresponding to each underlying business component is a subtree in the tree, and this split-combination relationship can be nested. [0003] In the process of business processing, some business scenarios only involve a single underlying component, so that business data changes only involve the subtree corresponding to the component, without affecting other data in th...

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): G06F16/23G06F16/22
CPCG06F16/2343G06F16/2365G06F16/2246
Inventor 石巍李丽锋曾舒新何广柏姜有强朱英军王哲
Owner GUANGDONG ESHORE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products