Supercharge Your Innovation With Domain-Expert AI Agents!

Storage and loading method of mind mapping and storage and loading system thereof

A mind map and loading system technology, applied in the computer field, can solve problems such as large files and complex analysis algorithms, and achieve the effect of minimizing saved files

Active Publication Date: 2015-09-16
FUJIAN TQ DIGITAL
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, most of the preservation technologies of mind maps need to save the attributes (position, name, etc.) of each node and the relationship between nodes. The disadvantage of such preservation is that the stored files are relatively large and the analysis algorithm is relatively complicated.

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
  • Storage and loading method of mind mapping and storage and loading system thereof
  • Storage and loading method of mind mapping and storage and loading system thereof
  • Storage and loading method of mind mapping and storage and loading system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0084] Please refer to figure 1 as well as figure 2 , Embodiment 1 of the present invention is:

[0085] A method for saving and loading a mind map, including a saving step and a loading step;

[0086] The saving steps include:

[0087] S11. Obtain the names of all nodes and the parent-child relationship between all connected nodes;

[0088] S12, save the name of the node as a file in JSON format according to the parent-child relationship between the nodes; specifically: S121, save the node name in the hash table according to the parent-child relationship between the nodes; S122, save the name of the node in the hash table The name of the first node with the parent node is saved as a JSON object; S123, with the first node as the parent node, according to the parent-child relationship between nodes, at least one second node as the child node of the first node is obtained, and the second node is The name of the node is saved as a JSON object according to the parent-child re...

Embodiment 2

[0095] Please refer to image 3 , the second embodiment of the present invention is:

[0096] A mind map saving and loading system, comprising:

[0097] Obtaining module 1, which is used to obtain the names of all nodes and the parent-child relationship between all connected nodes;

[0098] Preservation module 2 is used to save the name of the node as a file in JSON format according to the parent-child relationship between nodes; The relationship is saved in the hash table; the second saving module 22 is used to save the first node name that does not have a parent node in the hash table into a JSON object; the third saving module 23 is used to use the first node as a parent node , obtain at least one second node as a child node of the first node according to the parent-child relationship between the nodes, and save the second node name into a JSON object according to the parent-child relationship between the nodes; the conversion module 24 is used to judge whether there is a...

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 storage and loading method of mind mapping and a storage and loading system thereof. The storage and loading method comprises the following steps: acquiring parent-child relation between names of all nodes and all connecting nodes; storing the names of the nodes as a file with the JSON format according to the parent-child relation among the nodes; the loading comprises the following steps: analyzing the file with the JSON format to obtain all the nodes and establishing a two-dimensional coordinate system on a display screen; acquiring a first node without a parent node, and positioning the first node in the coordinate system; adopting the first node as the parent node, and obtaining at least one second node used as a child node of the first node according to the parent-child relation among the nodes; calculating and positioning a coordinate of the second node used as the child node according to the coordinate of the first node used as the parent node and preset horizontal distance and vertical distance between the parent node and the child node; and judging whether un-positioned nodes exist, if so, using the second node as the first node and executing the former two steps, and if not, ending positioning.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for saving and loading a mind map, and a system for saving and loading. Background technique [0002] At present, mind maps are widely used in education. Using mind maps, teachers can see students' thinking logic and thinking process in real time, and grasp the students' state in an all-round way. At present, most of the preservation technologies of mind maps need to save the attributes (position, name, etc.) of each node and the relationship between nodes. The disadvantage of such preservation is that the stored files are relatively large and the analysis algorithm is relatively complicated. [0003] JSON is a lightweight data exchange format that is easy for humans to read and write, but also easy for machines to parse and generate (network transmission speed); its unique tree structure can effectively reflect the relationship between various elements. [0004] If t...

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): G06F17/30
CPCG06F16/113
Inventor 蔡专锡刘德建方振华李上杰
Owner FUJIAN TQ DIGITAL
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