Unlock instant, AI-driven research and patent intelligence for your innovation.

Node encoding method and device and method for determining node affiliation

A coding method and node technology, which is applied in the computer field, can solve the problems that affect the query speed and cannot be used as the basis for classification, and achieve the effect of helping node management and query, facilitating classification, and strong order

Pending Publication Date: 2020-06-30
BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the current logistics application, random numbers or random strings with no practical meaning are often set as codes for express delivery. This code cannot be used as a classification basis, thus affecting the online and offline query speed

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
  • Node encoding method and device and method for determining node affiliation
  • Node encoding method and device and method for determining node affiliation
  • Node encoding method and device and method for determining node affiliation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0040]The present invention can be used to encode a plurality of nodes forming a tree structure, and these nodes can correspond to any object in practical applications, such as express delivery in the field of logistics (ie express parcels) and collections of express delivery, items in the field of e-commerce (such as Commodities) and item collections, XML (eXtensible Mark...

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 node encoding method and device and a method for determining a node affiliation, and relates to the technical field of computers. One specific embodiment of the node encodingmethod comprises the following steps: determining codes of root nodes in a plurality of nodes forming a tree structure; for any other node in the plurality of nodes, combining the code of the fathernode of the node with the sequence code of the any node to form the code of the any node; when a new node is inserted into the tree structure, if brother nodes exist on the left side and the right side of the inserted new node, constructing a virtual node, and combining the code of the virtual node and the sequence code of the new node into the code of the new node. According to the embodiment, codes which are high in stability and beneficial to classification can be set for the nodes forming the tree structure.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a node encoding method and device and a method for determining node affiliation. Background technique [0002] In the current logistics application, random numbers or random strings with no practical meaning are often set as codes for express delivery. This code cannot be used as a basis for classification, thus affecting the online and offline query speed. Contents of the invention [0003] In view of this, embodiments of the present invention provide a node coding method and device and a method for determining node affiliation, which can set codes with high stability and favorable classification for nodes forming a tree structure. [0004] To achieve the above purpose, according to one aspect of the present invention, a node coding method is provided. [0005] The node encoding method in the embodiment of the present invention is used to encode multiple nodes forming a tre...

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
IPC IPC(8): G06F40/126G06F40/146G06F16/903G06Q10/08
CPCG06F16/90344G06Q10/083
Inventor 汪榆
Owner BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD