An electrography pen for brain mapping and a device and method for generating and building a handwritten knowledge base
By using a mind mapping electronic pen and a handwritten knowledge generation and database device, the problem of electronic pens being unable to achieve structured knowledge control is solved, enabling structured storage and visual management of handwritten knowledge, which is suitable for teaching, research and popular science scenarios.
Patent Information
- Application Number
- CN202210974605.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-15
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2042-08-15
AI Technical Summary
Existing electronic pens struggle to achieve structured knowledge control, and the management of handwritten corpus knowledge is unsystematic, leading to wasted data resources, high maintenance costs, and limited application scenarios.
The device employs an electronic pen for mind mapping and a handwritten knowledge generation and database construction device, including an electronic pen and knowledge generation and database construction software. Through handwritten data acquisition, storage, and communication modules, combined with a mind map style structure control device and a microcontroller, it realizes structured mind map drawing and knowledge storage, and uses Base64 encoding and TextRank algorithm for structured knowledge management.
It enables structured storage and visual rendering of handwritten knowledge, promotes standardized knowledge management and efficient resource utilization, and is suitable for teaching, research and popular science scenarios.
Smart Images

Figure CN115344188B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computer automation technology, and specifically relates to a mind mapping electronic pen and a device and method for generating and building a database of handwritten knowledge. Background Technology
[0002] Natural language is ubiquitous in human life, presenting itself in diverse ways and originating from a wide range of sources. The multimodal and unregulated nature of corpus data creates "knowledge silos," making standardized and unified management difficult. Chaotic corpus data management leads to a significant waste of data resources and high data maintenance costs.
[0003] With the development of computer technology, electronic pens have emerged as portable input devices in people's lives. However, electronic pens still have shortcomings. For example, they only provide WYSIWYG (What You Write) functionality and do not involve knowledge structuring control, making it difficult to manage and structure knowledge. Some electronic pens require tablet devices for writing, severely limiting their usage scenarios. The management of handwritten corpus knowledge is not systematic, resulting in wasted data resources and difficulty in organizing knowledge. There is an urgent need to build the necessary domain knowledge base and structured management equipment. Summary of the Invention
[0004] In order to overcome the above technical problems, the purpose of this invention is to provide a mind map drawing electronic pen and a device and method for generating and building a database of handwritten knowledge, which has the characteristics of mechanical control of mind map structure and structured storage and display of handwritten knowledge.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0006] A mind mapping electronic pen and a handwritten knowledge generation and database building device include an electronic pen and knowledge generation and database building software;
[0007] The electronic pen is used for drawing mind maps and includes a handwriting data acquisition module, a data storage and caching module, a data communication module, a microcontroller, a mind map style structure drawing control device, and a power module.
[0008] The knowledge generation and knowledge database software includes a handwritten image and text content location point data storage module, a plain text content recognition module, a formula drawing content image generation module, a Base64 encoding module, a handwritten corpus knowledge base, an outline map and mind map generation module, and a mind map import and export module.
[0009] The handwriting data acquisition module, data storage and caching module, data communication module, and mind map style structure drawing control device are respectively connected to the microcontroller; the power module is used to power the electronic pen and is connected to the handwriting data acquisition module, data storage and caching module, data communication module, mind map style structure drawing control device, and microcontroller.
[0010] The electronic pen and the knowledge generation and knowledge database software interact with each other through a data communication module, which includes, but is not limited to, a Bluetooth module.
[0011] The electronic pen has a gear-based selection structure, meaning that the user can select the mind map style structure by moving the gears. This selection function is achieved by combining a light source and a color sensor.
[0012] The mind map style structure drawing control device sets the mind map style structure options to different colored electrical signals for processing by the microcontroller. The mind map style structure options include: title level options, body text content options, and screenshot content options.
[0013] The mind map style structure drawing control device includes a light source, a gear with filters, and a color sensor. The light source and color sensor are located on opposite sides of the gear with filters. The gear with filters is divided into a title level selection gear, a body text content selection gear, and a screenshot content selection gear. Taking a five-level title as an example, the end face of the title level selection gear is composed of blue, gray, red, green, and yellow filters, while the end faces of the body text content selection and screenshot content selection gears are purple and orange, respectively. The types and order of filter colors are not limited; different title levels, body text content, and screenshots correspond to different filter colors. When the user moves the gear, different colored filters are placed in front of the light source to produce different colored light, and the color sensor receives different colored light and generates corresponding electrical signals.
[0014] The knowledge generation and knowledge database construction software builds a database based on fields such as mind map style structure information, electronic pen identifier, mind map file identifier, and mind map subject category. The handwritten corpus knowledge base can be used for mind map rendering and export.
[0015] According to claim 2, the mind map style structure information is divided into: title field, body text field, and screenshot field;
[0016] The heading fields are divided into first-level heading fields and second-level heading fields (such as second-level heading fields, third-level heading fields, etc.).
[0017] The electronic pen identifier is stored through the data storage and caching module, and read and sent to the knowledge generation and knowledge database software through the microcontroller and data communication module. The electronic pen identifier is generated when the electronic pen is manufactured and represents the unique identification information of the electronic pen. The electronic pen identifier is stored in the electronic pen identifier field of the handwritten corpus knowledge base of the knowledge generation and database software.
[0018] The mind map file identifier is generated by a random algorithm during mind map creation. This random generation algorithm includes, but is not limited to, the Snowflake algorithm, database auto-incrementing IDs, and UUID generation. Taking the Snowflake algorithm as an example, the mind map file identifier is a 64-bit unique ID, including: the highest bit stores 0, bits 1-41 store millisecond-level timestamps, bits 42-51 store machine code, and bits 52-64 store the sequence number. The subject category of the mind map is selected by the user in the knowledge generation and knowledge database construction software interface.
[0019] The handwriting data acquisition module acquires handwritten graphic content positioning point data. This module works in conjunction with paper with positioning points. The handwritten graphic content positioning point data refers to the handwriting positioning point data that stores handwritten graphic information. Mind map creation involves handwritten graphic content positioning point data including: plain text content positioning point data and formula drawing content positioning point data.
[0020] The plain text content location point data is parsed by the plain text content recognition module. The data parsing operation refers to extracting features from the plain text content location point data and matching the data to parse it into plain text content. Based on the mind map style structure information, the parsed plain text content is stored in the handwritten corpus knowledge base. If the mind map style structure information is main text content, then the parsed plain text content is stored in the main text content field of the knowledge base.
[0021] The formula drawing content positioning point data refers to the handwriting positioning point data that records information such as formulas, drawings and special symbols. The formula drawing content positioning point data generates a handwriting image through the formula drawing content image generation module. The handwriting image is encoded into Base64 format data according to the Base64 encoding module. According to the mind map style structure information, the Base64 format data is stored in the handwritten corpus knowledge base.
[0022] The Base64 encoding module follows the Base64 encoding rules, namely: handwriting. Figure 2 The data is converted into four 6-bit sequences every three 8-bit sequences. The highest bit of the 6-bit data is padded with two 0s. The new 8-bit data is converted into decimal and the final string is obtained by looking up the table. If there are less than three 8-bit sequences, one "=" is added for each missing 8-bit, and the lowest bit of the incomplete bit is padded with 0.
[0023] The outline and mind map generation module realizes the arrangement of mind map node positions, decoding of Base64 format data, keyword extraction, and rendering of outline and mind maps.
[0024] The mind map node position arrangement function arranges the content of the mind map style structure information field in the mind map according to the parent node name.
[0025] The Base64 format data decoding function decodes the Base64 format data stored in the screenshot field into an image.
[0026] The keyword extraction function refers to extracting keywords from the content of the main text field based on algorithms including but not limited to the TextRank algorithm; the TextRank algorithm constructs a word graph based on word co-occurrence relationships, iteratively obtains node weights, and uses the word or adjacent word group with the highest weight as the keywords of the main text content.
[0027] The outline map and mind map rendering function visualizes and displays outline maps and mind maps in the software interface;
[0028] The mind map import and export module, the knowledge generation and knowledge database software, has the functions of mind map file generation, mind map file import, and mind map file rendering.
[0029] A method for using an electronic pen for mind mapping and for generating and building a database of handwritten knowledge includes the following steps;
[0030] The electronic pen wirelessly connects to the client of the knowledge generation and knowledge database software, and the electronic pen sends its identifier to the knowledge generation and knowledge database software.
[0031] The user selects the mind map structure option by using the mind map style structure drawing control device;
[0032] The user writes content by hand, and the handwriting data acquisition module acquires the positioning point data of the handwritten text and image content. The microcontroller receives and processes the data, and the electronic pen's data storage and caching module stores the positioning point data of the handwritten text and image content.
[0033] The microcontroller and data communication module read and send mind map style structure information and handwritten text content location point data to the knowledge generation and knowledge database software.
[0034] The handwritten image and text content location point data storage module of the knowledge generation and knowledge database software stores the handwritten image and text content location point data.
[0035] Based on the mind map style structure information, the knowledge generation and knowledge database software divides the handwritten graphic content positioning point data into plain text content positioning point data and formula drawing content positioning point data.
[0036] The plain text content location point data is parsed into plain text content by the plain text content recognition module and stored in the handwritten corpus knowledge base; if the mind map style structure information is title level information, the plain text content is stored in the corresponding title field; if the mind map style structure information is body text content information, the plain text content is stored in the body text content field.
[0037] The formula drawing content positioning point data is converted into a handwriting image by the formula drawing content image generation module; the handwriting image is encoded into Base64 format data by the Base64 encoding module; the Base64 format data is stored in the screenshot field of the handwritten corpus knowledge base;
[0038] The handwritten corpus knowledge base stores the electronic pen identification information, the mind map subject category selected by the user, and the randomly generated mind map file identifier into the corresponding fields of the handwritten corpus knowledge base;
[0039] The outline and mind map generation module renders mind maps and outlines on the knowledge generation and knowledge database software interface based on the content of the handwritten corpus knowledge base.
[0040] The mind map import and export module is used for mind map file generation and import; the mind map file generation refers to generating a mind map file based on the content recorded in the handwritten corpus knowledge base; the mind map file import function refers to the outline map and mind map generation module rendering the mind map on the knowledge generation and knowledge base building software interface based on the mind map file uploaded by the user.
[0041] The beneficial effects of the present invention.
[0042] This device can control the structure of mind maps and handwritten corpus knowledge bases through a mind map style structure drawing control device. This device can structure and render handwritten knowledge; specifically, the handwritten corpus knowledge base stores handwritten knowledge in a structured manner based on the user's handwritten content and mind map style structure information; the outline map and mind map generation modules render the knowledge in a structured manner based on the content of the handwritten corpus knowledge base. This device can effectively promote the structured management of handwritten knowledge. Attached Figure Description
[0043] Figure 1 This is a structural diagram of the device of the present invention.
[0044] Figure 2 This is a functional module composition diagram of the present invention.
[0045] Figure 3 It is a mechanical structure diagram of a mind map-style drawing control device.
[0046] Figure 4 This is a flowchart of the process of the present invention. Detailed Implementation
[0047] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0048] A mind mapping electronic pen and a handwritten knowledge generation and database building device, comprising an electronic pen and knowledge generation and database building software.
[0049] The aforementioned device can control handwritten knowledge structures, construct a handwritten corpus knowledge base, and visualize and render handwritten knowledge. The overall structure of the device is as follows: Figure 1 As shown.
[0050] 1001 represents the handwriting data acquisition module, including but not limited to infrared camera devices; 1002 represents the data storage and caching module, including data storage and data caching functions; the data storage function ensures data is not lost after power failure, achieving long-term storage of user data; the data caching function improves the data read and write speed of the electronic pen. 1003 represents the data communication module, including but not limited to Bluetooth modules; 1004 represents the mind map style structure drawing control device, composed of a light source, a gear with a filter, and a color sensor, which is the key to innovative applications; 1005 represents the power module, which powers the electronic pen device; 1006 represents the microcontroller, which controls the data flow and signal parsing of the electronic pen device; 1007 is the title level selection gear; 1008 is the text content selection and screenshot content selection gear; 1015 is the Type-C interface for charging the electronic pen device; 1009 is the knowledge generation and knowledge database software client carrier, which can generally be understood as a tablet computer, mobile phone, or other similar device. The knowledge generation and knowledge database software presentation layer includes: 1010 Mind Map Knowledge Subject Selection Module; 1011 Outline Map Display Module; 1012 Mind Map Display Module; 1013 Mind Map File Export Module; and 1014 Mind Map File Import Module.
[0051] The functional modules of this device are as follows: Figure 2 As shown. Here, 201 represents the mind mapping electronic pen, the specific structure of which is as follows: Figure 1 As shown, the knowledge generation and knowledge base construction software's functional modules consist of 202-208. Specifically, 202 represents the handwritten text and image content location point data storage module; 203 represents the formula drawing content image generation module; 204 represents the plain text content recognition module; 205 represents the Base64 encoding module; 206 represents the handwritten corpus knowledge base; 207 represents the outline and mind map generation module; and 208 represents the mind map import and export module.
[0052] The components of the mind map style structure drawing control device are as follows: Figure 3 As shown, the design of the mind map style structure drawing control device is one of the innovative design points of this patent; its specific implementation is as follows:
[0053] Step 1: Taking a five-level heading as an example, select the gear end face filter for heading levels 3001-3005; select the gear end face filter for body text content and screenshot content 3006-3007.
[0054] Step 2: Through Figure 1 The 1004 mind map style structure drawing control device converts the mind map style structure options into corresponding color electrical signals. For example... Figure 3 As shown, the 3008 light source and the 3011 color sensor are positioned on opposite sides of the 3012 gear assembly. The 3008 light source illuminates the 3009 filter, generating colored light which is input to the 3011 color sensor. The user selects the 3010 mind map style structure option by shifting the gear. Different color filters placed in front of the light source produce different colored light, and the 3011 color sensor receives these different colored lights and generates corresponding electrical signals. The correspondence between the color electrical signals and the mind map style structure is shown in Table 1. Taking a first-level heading as an example, the 3011 color sensor receives blue light and generates the corresponding electrical signal.
[0055] Step 3: Color electrical signals pass through Figure 1 The 1006 microcontroller receives and processes the color electrical signals. The 1006 microcontroller parses the color electrical signals and generates mind map pattern structure information. Signal parsing refers to the 1006 microcontroller determining the color category based on the frequency of the color electrical signals; for example, if the frequency indicates blue, it generates first-level heading information. The mind map pattern structure information is obtained through... Figure 1 The data is transmitted from the 1003 data communication module to the knowledge generation and knowledge database software.
[0056] The structure design of the handwritten corpus knowledge base is shown in Table 2, and its specific implementation is as follows:
[0057] Step 1: The knowledge generation and knowledge database software builds a database based on fields such as mind map style structure information, electronic pen identifier, mind map file identifier, and mind map subject category.
[0058] Step 2: According to Figure 3 The mind map style structure drawing control device shown has mind map style structure information divided into a title field, a body text field, and a screenshot field. The title field and body text field both store the node creation time, which is the system time when the content is filled. The unique storage information of the title field, body text field, and screenshot field is as follows:
[0059] The heading field is divided into a first-level heading field and multi-level heading fields (such as second-level headings, third-level headings, etc.). The first-level heading field stores the heading node name and the heading content. The heading node name is automatically generated and filled according to the description in Table 2; the heading content is... Figure 2The 204 plain text content recognition module's recognition results are used to fill in the data. The multi-level heading field stores the heading node name, heading content, and parent node name. The heading node name and content are generated and filled in the same way as the current heading level; its parent node name is the name of the heading node at a higher level and created most recently.
[0060] The main text field stores the main text node name, main text content, and parent node name. The main text field is organized by paragraph, with each paragraph being an element in the field's array. The generation and filling methods for the main text node name, main text content, and parent node name are the same as for multi-level heading fields.
[0061] The screenshot field stores the screenshot node name, screenshot content, and parent node name. The screenshot content is... Figure 2 The 205Base64 encoding module generates Base64 format data based on the handwriting image. The generation and filling method for screenshot node names is the same as for multi-level heading fields. The parent node name of the screenshot field is empty upon creation. The content of this field is... Figure 2 The outline and mind map generation module in section 207 obtains and populates the image nodes generated from the mind map after the user drags and drops them.
[0062] Step 3: Electronic pen identification passes Figure 1 The 1002 data storage and caching module stores data. Figure 1 The 1006 microcontroller and 1003 data communication module read and send data to the knowledge generation and knowledge base software. The electronic pen identifier represents the authentication information of this electronic pen and is unique. The electronic pen identifier field in the knowledge base is generated during electronic pen production and populated during mind map creation.
[0063] Step 4: The mind map file identifier is generated by a random algorithm during mind map creation. This random generation algorithm includes, but is not limited to, the snowflake algorithm, database auto-incrementing IDs, and UUID generation. The mind map file identifier represents the authentication information for the mind map drawn with the electronic pen; the ID for a mind map drawn with the same electronic pen is unique. The mind map file identifier field in the knowledge base is generated and populated during mind map creation.
[0064] Step 5: The subject category of the mind map is selected by the user in the knowledge generation and knowledge base construction software interface. The subject categories include, but are not limited to: Chinese, Mathematics, Geography, etc. The subject category field of the mind map in the knowledge base is based on... Figure 1 The selection results for the subject selection module of the 1010 Mind Map knowledge are generated and filled. The subject category of the mind map can be used as a query condition for scenarios such as knowledge increment and knowledge recommendation.
[0065] The overall workflow of this device is as follows: Figure 4 As shown. The specific implementation steps of this workflow are as follows:
[0066] Step 1: Figure 4 In the middle, 4001 represents the user selecting the mind map style structure option and writing content. Figure 1 The 1004 mind map pattern structure drawing control device and the 1006 microcontroller convert the user's selected mind map pattern structure options into mind map pattern structure information electrical signals.
[0067] Figure 1 The Zhong1001 handwriting data acquisition module obtains the positioning point data of handwritten text and image content. This patent point is achieved using paper with positioning points. The handwritten text and image content positioning point data refers to the handwriting positioning point data that stores handwritten text and image information, specifically including: plain text content positioning point data and formula drawing content positioning point data.
[0068] When the user selects a heading level option or a body text content option, the electronic pen generates positioning point data for the plain text content. When the user selects a screenshot content option, the electronic pen generates positioning point data for the formula drawing content. Figure 1 The 1002 data storage and caching module stores the location point data of the handwritten text and image content at the electronic pen.
[0069] Step 2: Figure 4 In step 4002, the mind map structure information and handwritten text content location point data from step 9 are transmitted to the knowledge generation and knowledge database software. This data transmission function is achieved through... Figure 1 The data communication module of the 1003 is implemented.
[0070] Step 3: Figure 4 The 4003 code represents the storage of handwritten image and text content location point data by the knowledge generation and knowledge database software. This function is achieved through... Figure 2 The data storage module for locating the positioning points of handwritten text and images in Chinese 202 has been implemented.
[0071] Step 4: As Figure 4 As shown in sections 4004-4007, corresponding data parsing operations are performed based on the data type of the handwritten text and image content positioning points. Specifically, for plain text content positioning point data, the parsing is performed through... Figure 2 The 204 plain text content recognition module performs parsing. The data parsing operation refers to extracting features and matching data from the plain text content location point data to parse it into plain text content. For formula diagram content location point data, ... Figure 2 The Chinese formula drawing content image generation module parses it into a handwriting image. The handwriting image is then processed... Figure 2 The 205Base64 encoding module converts the data into Base64 format.
[0072] Step 5: According to Figure 4 Zhong 4008 is constructed based on the mind map style structure content information, electronic pen identification information, mind map file identification information, and mind map subject category. Figure 2 The handwritten corpus knowledge base is based on Chinese 206. This handwritten corpus knowledge base can be used for scenarios such as mind map file rendering and mind map file generation.
[0073] Step 6: According to Figure 4 4009, using Figure 2 The outline and mind map generation module in Chinese 207 parses knowledge base data. The knowledge base data parsing functions include: mind map node arrangement, Base64 data decoding, keyword extraction, and outline and mind map rendering.
[0074] The mind map node position arrangement function is based on Figure 2 This implementation uses a knowledge base of 206 handwritten corpora. First-level heading nodes are unique and can be prioritized for rendering. Second-level and multi-level heading nodes are rendered based on their connection to their parent heading nodes. The outline diagram is rendered based on heading nodes and their hierarchical relationships. For example, after a first-level heading is rendered, its subordinate second-level headings are indented appropriately before rendering, and so on for other multi-level headings.
[0075] Before connecting the main text content nodes, keyword extraction is performed and keyword nodes are generated based on algorithms including but not limited to TextRank. These keyword nodes are connected to the parent nodes of the main text content nodes. The main text content nodes are then connected to the keyword nodes as child nodes. The outline diagram is rendered based on the main text content and its parent node names. Taking the TextRank algorithm as an example, the core formula for calculating the word value in handwritten corpus data using this device is: in: The value of the i-th word;
[0076] This represents the set of all words connected to word i.
[0077] The set of words that connect to word t;
[0078] This is a damping factor to make the calculation smoother.
[0079] This invention extracts keywords from the main text of a paragraph using the TextRank algorithm to generate a keyword list. During mind map rendering, the word with the highest weight in the keyword list is typically selected as the content for the keyword node rendering. The pseudocode for keyword extraction based on the TextRank algorithm is shown below. Before connecting the screenshot node, the Base64 format data in the knowledge base is decoded and rendered as an image node. This image node is initially a free node, which is dragged and dropped by the user to connect to its parent node. Based on the user's dragging action, the image content is rendered at the corresponding position in the outline.
[0080] The above workflow can be represented by the following pseudocode: The knowledge generation and knowledge database construction software has functions for generating, importing, and rendering mind map files. Its specific implementation is as follows:
[0081] Step 1: The mind map file generation function includes: based on Figure 2 The 206-word handwritten corpus knowledge base is used to export and store the recorded content into mind map files. The recorded content includes: electronic pen identifiers, mind map file identifiers, content of heading fields at all levels, content of body text fields, screenshot fields, and the subject category of the mind map knowledge. The storage format of the recorded content includes, but is not limited to, JSON. The mind map file format includes, but is not limited to, .mmap, .xml, and .mm.
[0082] Step 2: The mind map file import and rendering function imports the mind map file into the knowledge generation and knowledge base software and displays it on the interface. The rendering process of the title and body text content nodes in the mind map file is shown in Step 14. Screenshot content nodes do not require user dragging and are automatically connected and rendered because their parent nodes are fixed. The imported file establishes a connection with a record in the knowledge base through the mind map file ID field.
[0083] Step 3: The knowledge generation and database construction software operates in two modes: file update mode and file copy mode. File update mode updates both the original mind map file and the original knowledge base records after changes to the mind map content. File copy mode creates a copy of the original file and adds new knowledge base records after changes to the mind map content, without affecting the original file content or the original knowledge base records.
[0084] The beneficial effects of the above-mentioned technical solution of the invention are as follows:
[0085] The aforementioned solution involves an electronic mind mapping pen and a handwritten knowledge generation and database creation device, which can be used in both teaching and research scenarios and science popularization scenarios. In teaching and research scenarios, teachers can create subject-specific mind maps to facilitate clear teaching; students can create mind maps of their learned knowledge for easier review. In science popularization scenarios, it can store and display knowledge from various fields (such as the medical and environmental fields) in a standardized knowledge structure, improving user interest, acceptance, and efficiency.
[0086] Table 1 shows the correspondence between color electrical signals and brain map pattern structures.
[0087] Table 2 is a description of the structure of the handwritten corpus knowledge base.
Claims
1. A mind mapping electronic pen and a handwritten knowledge generation and database building device, characterized in that, This includes electronic pens and knowledge generation and knowledge database software; The electronic pen is used for drawing mind maps and includes a handwriting data acquisition module, a data storage and caching module, a data communication module, a microcontroller, a mind map style structure drawing control device, and a power module. The knowledge generation and knowledge database software includes a handwritten image and text content location point data storage module, a plain text content recognition module, a formula drawing content image generation module, a Base64 encoding module, a handwritten corpus knowledge base, an outline map and mind map generation module, and a mind map import and export module. The handwriting data acquisition module, data storage and caching module, data communication module, and mind map style structure drawing control device are respectively connected to the microcontroller; the power module is used to power the electronic pen and is connected to the handwriting data acquisition module, data storage and caching module, data communication module, mind map style structure drawing control device, and microcontroller. The electronic pen and the knowledge generation and knowledge database software interact with each other through a data communication module, which includes, but is not limited to, a Bluetooth module. Before connecting the main text content nodes, keyword nodes are generated by extracting text keywords using the TextRank algorithm; the keyword nodes are connected to the parent nodes of the main text content nodes; the main text content nodes are connected to the keyword nodes as child nodes; the outline map is rendered based on the main text content and its parent node names; the TextRank algorithm formula for calculating the word value in the handwritten corpus data is as follows: The value of the i-th word; This represents the set of all words connected to word i. The set of words that connect to word t; As a damping factor, it makes the calculation smoother; based on the TextRank algorithm, keywords in the main text are extracted to generate a keyword list. When rendering the mind map, the words with the highest weight in the keyword list are usually selected as the content to be rendered as keyword nodes. The outline and mind map generation module realizes the arrangement of mind map node positions, decoding of Base64 format data, keyword extraction, and rendering of outline and mind maps. The mind map node position arrangement function arranges the content of the mind map style structure information field in the mind map according to the parent node name. The Base64 format data decoding function decodes the Base64 format data stored in the screenshot field into an image; the keyword extraction function refers to extracting keywords from the content of the main text field based on algorithms including but not limited to the TextRank algorithm; the TextRank algorithm constructs a word graph based on word co-occurrence relationships, iteratively obtains node weights, and uses the word or adjacent word group with the highest weight as the keywords of the main text content; The outline map and mind map rendering function visualizes and displays outline maps and mind maps in the software interface; The mind map import and export module, the knowledge generation and knowledge database software, has the functions of mind map file generation, mind map file import, and mind map file rendering.
2. The mind mapping electronic pen and handwritten knowledge generation and database construction device according to claim 1, characterized in that, The electronic pen has a gear-based selection structure, meaning that the user can select the mind map style structure by moving the gears. This selection function is achieved by combining a light source and a color sensor.
3. The mind mapping electronic pen and handwritten knowledge generation and database construction device according to claim 1, characterized in that, The mind map style structure drawing control device sets the mind map style structure options to different colored electrical signals for processing by the microcontroller. The mind map style structure options include: title level options, body text content options, and screenshot content options.
4. The mind mapping electronic pen and handwritten knowledge generation and database construction device according to claim 3, characterized in that, The mind map style structure drawing control device includes a light source, a gear with filters, and a color sensor. The light source and the color sensor are located on opposite sides of the gear with filters. The gear with filters is divided into a title level selection gear, a body text content selection gear, and a screenshot content selection gear. Taking a five-level title as an example, the end face of the title level selection gear is composed of blue, gray, red, green, and yellow filters, while the end faces of the body text content selection and screenshot content selection gears are purple and orange, respectively. The types and order of filter colors are not limited. Different title levels, body text content, and screenshots correspond to different filter colors. When the user moves the gear, different colored filters are placed in front of the light source to produce different colored light. The color sensor receives different colored light and generates corresponding electrical signals.
5. The mind mapping electronic pen and handwritten knowledge generation and database construction device according to claim 1, characterized in that, The knowledge generation and knowledge database construction software builds a database based on mind map style structure information, electronic pen identifier, mind map file identifier, and mind map subject category field. The handwritten corpus knowledge base is used for mind map rendering and export. According to claim 2, the mind map style structure information is divided into: title field, body text field, and screenshot field; The heading field is divided into a first-level heading field and a second-level heading field; The electronic pen identifier is stored through a data storage and caching module, and read and sent to the knowledge generation and knowledge database software through a microcontroller and a data communication module. The electronic pen identifier is generated during the production of the electronic pen and represents the unique identification information of the electronic pen; the electronic pen identifier is stored in the electronic pen identifier field of the handwritten corpus knowledge base of the knowledge generation and database construction software.
6. The mind mapping electronic pen and handwritten knowledge generation and database construction device according to claim 1, characterized in that, The mind map file identifier is generated by a random generation algorithm when the mind map is created. The random generation algorithm includes, but is not limited to, snowflake algorithm, database auto-incrementing ID, and UUID generation. The handwriting data acquisition module acquires handwritten graphic content positioning point data. This module works in conjunction with paper with positioning points. The handwritten graphic content positioning point data refers to the handwriting positioning point data that stores handwritten graphic information. Mind map creation involves handwritten graphic content positioning point data including: plain text content positioning point data and formula drawing content positioning point data. The plain text content location point data is parsed by the plain text content recognition module. The data parsing operation refers to extracting features and matching data from the plain text content location point data to parse it into plain text content. According to the mind map style structure information, the parsed plain text content is stored in the handwritten corpus knowledge base. If the mind map style structure information is the main text content, then the parsed plain text content is stored in the main text content field of the knowledge base. The formula drawing content positioning point data refers to the handwriting positioning point data that records formulas, drawings and special symbols. The formula drawing content positioning point data generates a handwriting image through the formula drawing content image generation module. The handwriting image is encoded into Base64 format data by the Base64 encoding module. According to the mind map style structure information, the Base64 format data is stored in the handwritten corpus knowledge base.
7. The mind mapping electronic pen and handwritten knowledge generation and database construction device according to claim 6, characterized in that, The Base64 encoding module follows the Base64 encoding rules, namely: every 3 8 bits of handwriting binary data are converted into 4 6 bits; the highest bit of the 6-bit data is padded with two 0s; the new 8-bit data is converted into decimal and the final string is obtained by looking up a table; if there are less than 3 8 bits at the end, one "=" is added for each missing 8 bit, and the lowest bit of the incomplete bit is padded with 0.
8. The method of operating a mind mapping electronic pen and a handwritten knowledge generation and database construction device according to any one of claims 1-7, characterized in that, Includes the following steps; The electronic pen wirelessly connects to the client of the knowledge generation and knowledge database software, and the electronic pen sends its identifier to the knowledge generation and knowledge database software. The user selects the mind map structure option by using the mind map style structure drawing control device; The user writes content by hand, and the handwriting data acquisition module acquires the positioning point data of the handwritten text and image content. The microcontroller receives and processes the data, and the electronic pen's data storage and caching module stores the positioning point data of the handwritten text and image content. The microcontroller and data communication module read and send mind map style structure information and handwritten text content location point data to the knowledge generation and knowledge database software. The handwritten image and text content location point data storage module of the knowledge generation and knowledge database software stores the handwritten image and text content location point data. Based on the mind map pattern structure information, the knowledge generation and knowledge database software divides the handwritten graphic content positioning point data into plain text content positioning point data and formula drawing content positioning point data.
9. The operation method of the mind mapping electronic pen and handwritten knowledge generation and database construction device according to claim 8, characterized in that, The plain text content location point data is parsed into plain text content by the plain text content recognition module and stored in the handwritten corpus knowledge base; if the mind map style structure information is title level information, the plain text content is stored in the corresponding title field; if the mind map style structure information is body text content information, the plain text content is stored in the body text content field. The formula drawing content positioning point data is converted into a handwriting image by the formula drawing content image generation module; the handwriting image is encoded into Base64 format data by the Base64 encoding module; the Base64 format data is stored in the screenshot field of the handwritten corpus knowledge base; The handwritten corpus knowledge base stores the electronic pen identification information, the mind map subject category selected by the user, and the randomly generated mind map file identifier into the corresponding fields of the handwritten corpus knowledge base; The outline and mind map generation module renders mind maps and outlines on the knowledge generation and knowledge database software interface based on the content of the handwritten corpus knowledge base. The mind map import and export module is used for mind map file generation and import; the mind map file generation refers to generating a mind map file based on the content recorded in the handwritten corpus knowledge base; the mind map file import function refers to the outline map and mind map generation module rendering the mind map on the knowledge generation and knowledge base building software interface based on the mind map file uploaded by the user.
Citation Information
Patent Citations
Electronic learning device
CN110491189A
Dot matrix paper pen technology application method combined with Connell or Dongda note method
CN110910291A