Method for converting tree-like nested data into plane data table
A data table and data technology, applied in the information field, can solve problems such as consuming manpower and financial resources, and achieve the effect of reducing costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] like figure 1 As shown, it is a method for converting tree nested data into a flat data table provided in the embodiment of the present invention, and the specific steps are as follows:
[0052] S101. Locate each information field in the information field set to be converted to a leaf node in a tree data structure.
[0053] For a tree structure, nodes include root nodes, branch nodes and leaf nodes, and each stage corresponds to a different field name, where the field names of the leaf nodes are associated with specific data, and each branch node (or intermediate node, That is, the intermediate nodes except the root node and the leaf node) are all information groups, which do not associate with any data except for nodes containing subordinate fields.
[0054] like figure 2 It shows an example of the definition of a tree-shaped nested structure: where / represents the root of the data object, and each letter from a to i represents the field name on different levels, a...
Embodiment 2
[0098] In order to further illustrate the technical solution of this application, this application provides an example of a specific application scenario, as follows:
[0099] S201, assuming that the information of each information field in the information field set to be converted is weight information, height information, admission diagnosis information, discharge diagnosis information, operation date and operation name, which correspond to leaf node weight, height, admission diagnosis , discharge diagnosis, date of operation, and name of operation.
[0100] S202. Calculate a path from the root node to each of the leaf nodes. And generating corresponding extraction primitives for each node of each path, and concatenating the extraction primitives into a primitive linked list.
[0101] In this embodiment, the following data extraction primitives are defined:
[0102] CID-generate preset public fields; the public fields include but not limited to at least one of the followin...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com