Notebook management method and device and electronic equipment

By running the notepad management method at the blockchain layer and combining the natural language processing model, the problems of data security and functional limitations of traditional notepad applications are solved, and high security and intelligent data management are achieved.

CN119938808APending Publication Date: 2025-05-06BEIJING 21VIANET DATA CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411952933.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

Traditional notepad or electronic note-taking applications limit data to a single server or local device, which can easily lead to data loss, tampering and unauthorized access, and their functions are limited to basic text storage and editing, making it difficult to meet the diverse needs of users.

Method used

By running the notepad management method at the blockchain layer, the distributed, tamper-free and encryption characteristics of the blockchain are used, and the text is intelligently analyzed and generated in combination with the natural language processing model, storing and managing notepad entries.

Benefits of technology

It improves the security and credibility of data, improves the user experience, and realizes intelligent processing and diversified management of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119938808A_ABST
    Figure CN119938808A_ABST
Patent Text Reader

Abstract

The invention discloses a notebook management method and device and electronic equipment, and relates to the technical field of data processing. The notebook management method runs on each node of a block chain layer. The method comprises the following steps: receiving a text input by a user; the text is input into the natural language processing model to obtain text generation content, and the natural language processing model learns expression and generation of languages through a multi-layer neural network and training data. The text input and the text generation content are stored in a block chain as a notebook entry. According to the scheme, the security and credibility of the data can be improved, and the user experience is improved through an intelligent processing function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a notebook management method, device and electronic device. Background Art

[0002] Traditional notepads or electronic note applications usually limit data to a single server or local device. This storage method easily leads to multiple risks such as data loss, tampering, and unauthorized access. More importantly, the functions of traditional notepads or electronic note applications are often limited to basic text storage and editing, lacking intelligent processing capabilities, and difficult to meet users' diverse needs in note-taking. Summary of the invention

[0003] The embodiments of the present application provide a notepad management method, device and electronic device for improving the security and credibility of data and enhancing user experience through intelligent processing functions.

[0004] In a first aspect, an embodiment of the present application provides a notebook management method, which runs on each node of the blockchain layer, and the method includes:

[0005] Receive text input from the user;

[0006] Input the text into the natural language processing model to obtain text generation content. The natural language processing model learns the representation and generation of language through multi-layer neural networks and training data;

[0007] Store text inputs and text generation content as notepad entries on the blockchain.

[0008] In the above method, by running the notepad management method on the blockchain layer and utilizing the distributed, tamper-proof and encrypted characteristics of the blockchain, the security and credibility of the data can be greatly improved. By introducing a natural language processing model, the text content can be intelligently analyzed to obtain text-generated content, thereby improving the user experience.

[0009] Optionally, the above text is obtained by converting speech into text.

[0010] In the above method, the user can directly interact with the notepad application through voice without manual input, which greatly improves the convenience of operation.

[0011] Optionally, the step of inputting the text into a natural language processing model to obtain text generation content specifically includes:

[0012] Perform data preprocessing on the text;

[0013] The preprocessed text is input into the natural language processing model to obtain the text generation content.

[0014] In the above method, data preprocessing is performed on the text, and the preprocessed text is input into the natural language processing model to generate content, which can not only improve the data quality and model performance, but also realize automatic content generation.

[0015] Optionally, the above-mentioned storing the text input and text generated content as a notepad entry in the blockchain includes:

[0016] A distributed storage method based on preset encryption rules is adopted to store text input and text generated content as notepad entries in the blockchain.

[0017] In the above method, the distributed characteristics of blockchain are used to improve the reliability and availability of data, and additional security protection is provided for the data through preset encryption rules, thereby effectively preventing the data from being accessed or tampered with without authorization.

[0018] Optionally, after storing the text input and the text generated content as a notepad entry in the blockchain, the method further includes:

[0019] Set the access permissions for the Notepad entry.

[0020] In the above method, by setting the access rights of the notepad entries, it can be ensured that only authorized users can view or edit specific notepad contents, thereby enhancing the privacy protection and security of the data.

[0021] Optionally, the above method further includes:

[0022] The text content selected by the user is generated into speech output through speech synthesis technology.

[0023] In the above method, by adding the speech synthesis function, the notepad application becomes more diverse and the user experience is improved.

[0024] Optionally, after inputting the text into the natural language processing model to obtain text generation content, the above method further includes:

[0025] Convert text generation content into speech output.

[0026] In the above method, by converting the text-generated content into voice output, the user experience can be improved, and it is convenient for users to obtain and understand information and publish information.

[0027] Optionally, the above method further includes:

[0028] Back up all data in your notebook regularly.

[0029] In the above method, by regularly backing up the notebook data, data security and integrity can be ensured to prevent the risk of loss or damage of the notebook data.

[0030] In a second aspect, an embodiment of the present application provides a notepad management device, which runs on each node of the blockchain layer, and includes:

[0031] A communication module, used for receiving text input by a user;

[0032] A processing module is used to input text into a natural language processing model to obtain text generation content. The natural language processing model learns the representation and generation of language through a multi-layer neural network and training data;

[0033] The processing module is also used to store the text input and text generation content as notepad entries in the blockchain.

[0034] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the processor implements any one of the notepad management methods described in the first aspect.

[0035] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the notepad management method of any one of the first aspects is implemented.

[0036] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program, which is executed by a processor to implement a notepad management method as described in any one of the first aspects above.

[0037] The technical effects brought about by any one of the implementation methods in the second to fifth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A flow chart of a notebook management method provided in an embodiment of the present application;

[0039] Figure 2 An exemplary flowchart of a notepad management provided in an embodiment of the present application;

[0040] Figure 3 A schematic diagram of a device for notepad management provided in an embodiment of the present application;

[0041] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0043] The application scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. It is known to those skilled in the art that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems. In the description of the present application, unless otherwise specified, the meaning of "multiple" is two or more.

[0044] Traditional notepads or electronic note applications usually limit data to a single server or local device. This storage method easily leads to multiple risks such as data loss, tampering, and unauthorized access. More importantly, the functions of traditional notepads or electronic note applications are often limited to basic text storage and editing, lacking intelligent processing capabilities, and difficult to meet users' diverse needs in note-taking.

[0045] In order to solve the above problems, the embodiment of the present application provides a notepad management method. The notepad management method runs on each node of the blockchain layer. For example, the text input by the user is received. The text is input into the natural language processing model to obtain the text generation content. The natural language processing model learns the representation and generation of the language through a multi-layer neural network and training data. The text input and the text generation content are stored in the blockchain.

[0046] In this way, by running the notepad management method on the blockchain layer and utilizing the distributed, tamper-proof and encrypted characteristics of the blockchain, the security and credibility of the data can be greatly improved. By introducing the natural language processing model, the text content can be intelligently analyzed to obtain text-generated content, thereby improving the user experience.

[0047] like Figure 1 As shown, a flow chart of a notebook management method provided by an embodiment of the present application may include the following steps.

[0048] Step S101: receiving text input by a user.

[0049] Optionally, the user's language input can be received, and the user's voice input can be converted into text to obtain text input. In this way, the user can directly interact with the notepad application through voice without manual input, which greatly improves the convenience of operation.

[0050] For example, users can use the application interface of the notepad client to complete account registration or login operations. When the user logs in to the client, identity authentication, such as facial recognition, fingerprint recognition, etc., is performed to ensure that the user's identity is legal and safe. After the user successfully logs in to the client, he can choose to create note content by text input or voice input. If the user chooses voice input, a microphone or other audio device can be used to collect voice information. Use the speech recognition engine (Microsoft Azure Speech API) to convert speech into text.

[0051] Optionally, the system can also receive text or voice input from the user and provide recommendations for related notepad entries based on the input text or voice. For example, based on key information such as the user's input content, history, and preference settings, the found entries are sorted according to factors such as text content matching and creation time, and a recommendation list is generated to provide users with a more personalized and convenient notepad experience.

[0052] Step S102: input the text into a natural language processing model to obtain text generation content.

[0053] Among them, the natural language processing model learns the representation and generation of language through multi-layer neural networks and training data.

[0054] It is understandable that the text-generated content is new text generated by the natural language processing model based on the input text. The present application does not specifically limit the specific form of the text-generated content. For example, the text-generated content can be a reply to the input text. The text-generated content can also be a summary note generated based on the input text.

[0055] Optionally, after obtaining the text input by the user, data preprocessing can be performed on the text. The preprocessed text is input into the natural language processing model to obtain text generation content. In this way, by performing data preprocessing on the text and inputting the preprocessed text into the natural language processing model to generate content, not only can the data quality and model performance be improved, but also automatic content generation can be achieved.

[0056] For example, a user inputs text through the notepad application interface, such as: "Today the weather is very good, I went to the park for a walk". The following data preprocessing steps can be performed: Remove irrelevant characters: such as punctuation marks, special symbols, etc., to obtain: "Today the weather is very good, I went to the park for a walk". Word segmentation: Perform word segmentation on the text and split it into independent words: "Today", "weather", "very good", "I", "went", "park", "walk". Preprocessing steps such as spelling check and stop word removal can also be performed to obtain preprocessed text.

[0057] The following is an explanation of the training process of the natural language processing model:

[0058] First, collect a large amount of public text data to be trained, including news reports, blog articles, academic literature and other text data. Perform data preprocessing on the above text data to be trained, such as data cleaning, deleting noise data, such as garbled characters, repeated content, advertising information, etc. Then use methods such as bag-of-words model to extract features and convert the text into a vector form that can be processed by a computer. Use a deep learning framework to build a neural network model, such as a recurrent neural network or Transformer architecture, use the extracted features as input for training, and continuously optimize the model parameters through a preset loss function. During the training process, cross-validation and other technologies are used to ensure the generalization ability of the model. Determine whether the model meets user requirements by evaluating preset indicators (such as accuracy and recall rate) on the validation set. When the preset indicators reach the set threshold, the natural language processing model is considered to be trained qualified.

[0059] Optionally, after obtaining the text-generated content, the text-generated content may be converted into a voice output, for example, by using text-to-speech technology (Microsoft Text-to-Speech) to convert the text-generated content into a voice output.

[0060] Step S103: Store the text input and text generated content as notepad entries in the blockchain.

[0061] Optionally, a distributed storage method based on preset encryption rules can be used to store text input and text generated content as notepad entries in the blockchain. This storage method not only utilizes the distributed characteristics of the blockchain to improve the reliability and availability of data, but also provides additional security for the data through preset encryption rules, thereby effectively preventing the data from being accessed or tampered with without authorization.

[0062] For example, the preset encryption rules may include the selection of encryption algorithms, the generation and management methods of keys, etc.

[0063] Optionally, after the text input and text generated content are stored as notepad entries in the blockchain, the access rights of the notepad entries can be set. This ensures that only authorized users can view or edit specific notepad content, thereby enhancing data privacy protection and security.

[0064] Optionally, the text content selected by the user in the notepad can be generated into a speech output through speech synthesis technology to be fed back to the user. In this way, by adding the speech synthesis function, the notepad application becomes more diverse and the user experience is improved.

[0065] Optionally, in order to ensure that the user's note data will not be lost, all data in the notebook can be backed up regularly. For example, a backup cycle can be set to automatically back up the user's note data and store it in the blockchain. When the user encounters data loss, damage, or accidental deletion, the backup data can also be restored to ensure data integrity and availability.

[0066] Optionally, an embodiment of the present application provides an application programming interface API, which can provide programmatic access to the notepad to multiple software applications.

[0067] For example, the voice call application authenticates itself by calling the API interface provided by the notepad application and obtains legal interaction permissions. When the user is in a voice call, the call application uses its own voice recognition function to convert the call content into text data. Then, the text data is transmitted to the notepad application with the help of the API interface. After receiving the data, the API interface of the notepad application will pass it to the blockchain layer for secure storage. At the same time, the data will also be passed to the natural language processing model for processing, such as extracting key information in the call (such as the mentioned task schedule, important contact information, etc.), and automatically adding appropriate tags to the note based on this information to facilitate subsequent retrieval.

[0068] For another example, a calendar management application can be integrated with a notepad application. The calendar management application uses an API interface to query the content of notes with specific tags (such as "meeting arrangements" and "to-do items") in the notepad application. After obtaining the relevant information, it displays it on its own interface or performs further schedule planning integration, such as automatically adding the meeting time, location and other information recorded in the notepad to the calendar of the calendar management application. At the same time, the calendar management application can also transfer the notepad-related information created in its application (such as newly added to-do task details) to the notepad application for storage and management through the API interface, so that users can also view and operate this information in the notepad application, thereby realizing seamless interaction and collaborative work of data between multiple applications, and improving the convenience and efficiency of users' information management in different application scenarios.

[0069] It is understandable that the notebook management method runs on each node of the blockchain layer. In this application, the notebook management method is automatically executed by means of smart contracts. Smart contracts can automatically execute the relevant steps of the notebook management method without human intervention, ensuring the distributed storage, security and consistency of the notebook data.

[0070] like Figure 2 As shown, the present application embodiment provides an exemplary flowchart of a notebook management method, which may include the following steps:

[0071] Step S201, receiving a voice input by a user;

[0072] Step S202: converting speech into text;

[0073] Step S203, performing data preprocessing on the text;

[0074] Step S204: input the preprocessed text into a natural language processing model to obtain text generation content;

[0075] Step S205: Using a distributed storage method based on preset encryption rules, the text input and text generated content are stored as notepad entries in the blockchain.

[0076] Figure 3 A schematic diagram of the structure of a notebook management device provided in an embodiment of the present application. The device runs on each node of the blockchain layer. Figure 3 As shown, the device includes: a communication module 301 and a processing module 302.

[0077] The communication module 301 is used to receive text input by a user;

[0078] Processing module 302, used to input text into a natural language processing model to obtain text generation content, and the natural language processing model learns language representation and generation through a multi-layer neural network and training data;

[0079] The processing module 302 is further configured to store the text input and the text generated content as a notepad entry in the blockchain.

[0080] Optionally, the text is obtained by converting speech input by the user into text.

[0081] Optionally, the text is input into a natural language processing model to obtain text generation content, and the processing module 302 is specifically used to:

[0082] Perform data preprocessing on the text;

[0083] The preprocessed text is input into the natural language processing model to obtain the text generation content.

[0084] Optionally, the text input and the text generated content are stored as notepad entries in the blockchain, and the processing module 302 is specifically used to:

[0085] A distributed storage method based on preset encryption rules is adopted to store text input and text generated content as notepad entries in the blockchain.

[0086] Optionally, after storing the text input and the text generated content as a notepad entry in the blockchain, the processing module 302 is further used to:

[0087] Set the access permissions for the Notepad entry.

[0088] Optionally, the processing module 302 is further configured to:

[0089] The text content selected by the user is generated into speech output through speech synthesis technology.

[0090] Optionally, after inputting the text into the natural language processing model to obtain text generated content, the processing module 302 is further used to:

[0091] Convert text generation content into speech output.

[0092] Optionally, the processing module 302 is further configured to:

[0093] Back up all data in your notebook regularly.

[0094] Based on the same technical concept, an electronic device is also provided in an embodiment of the present application, and the electronic device can realize the functions of the aforementioned notepad management device.

[0095] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0096] At least one processor 401, and a memory 402 connected to the at least one processor 401. The specific connection medium between the processor 401 and the memory 402 is not limited in the embodiment of the present application. Figure 4 In the example, the processor 401 and the memory 402 are connected via the bus 400. The bus 400 is Figure 4 The connection between other components is shown by bold lines, and is not intended to be limiting. The bus 400 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 401 can also be called a controller, and there is no limitation on the name.

[0097] In the embodiment of the present application, the memory 402 stores instructions that can be executed by at least one processor 401. The at least one processor 401 can execute a notepad management method discussed above by executing the instructions stored in the memory 402. The processor 401 can implement Figure 3 The functions of each module in the device shown.

[0098] Among them, the processor 401 is the control center of the device, and can use various interfaces and lines to connect the various parts of the entire control device. By running or executing instructions stored in the memory 402 and calling the data stored in the memory 402, the various functions of the device and process data, the device can be monitored as a whole.

[0099] In one possible design, the processor 401 may include one or more processing units, and the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a driver interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 401. In some embodiments, the processor 401 and the memory 402 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.

[0100] Processor 401 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of a notebook management method disclosed in the embodiments of the present application can be directly embodied as a hardware processor to be executed, or a combination of hardware and software modules in the processor can be executed.

[0101] The memory 402 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 402 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 402 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 402 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0102] By programming the processor 401, the code corresponding to the notebook management method described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 1 The embodiment shown is a notebook management method. How to design and program the processor 401 is a technology well known to those skilled in the art and will not be described in detail here.

[0103] It should be noted here that the above-mentioned electronic device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0104] An embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions are used to enable a computer to execute a notepad management method in the above embodiment.

[0105] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0106] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 Flow or flows and / or boxes Figure 1 A device that performs the functions specified in a box or multiple boxes.

[0107] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 Flow or flows and / or boxes Figure 1 The functions specified in one or more boxes.

[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 Flow or flows and / or boxes Figure 1 The steps of the functions specified in one or more boxes. Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A notebook management method, characterized in that: The notepad management method is run on each node of the blockchain layer, and the method includes: Receive text input from the user; Inputting the text into a natural language processing model to obtain text generation content, wherein the natural language processing model learns the representation and generation of language through a multi-layer neural network and training data; The text input and the text generated content are stored as a notepad entry in the blockchain.

2. The method according to claim 1, characterized in that The text is obtained by converting the voice input by the user into text.

3. The method according to claim 1, characterized in that The step of inputting the text into a natural language processing model to obtain text generation content specifically includes: Performing data preprocessing on the text; The preprocessed text is input into the natural language processing model to obtain the text generation content.

4. The method according to claim 1, characterized in that: The storing the text input and the text generated content as a notepad entry in the blockchain specifically includes: The text input and the text generated content are stored as notepad entries in the blockchain using a distributed storage method based on preset encryption rules.

5. The method according to claim 1, characterized in that After storing the text input and the text generated content as a notepad entry in the blockchain, the method further includes: Sets the access permissions for the notebook entry.

6. The method according to claim 1, characterized in that The method further comprises: The text content selected by the user is generated into speech output through speech synthesis technology.

7. The method according to claim 1, characterized in that After inputting the text into a natural language processing model to obtain text generation content, the method further includes: The text generated content is converted into speech output.

8. The method according to claim 1, characterized in that The method further comprises: Back up all data in your notebook regularly.

9. A notepad management device, characterized in that: The notepad management device runs on each node of the blockchain layer, and the device includes: A communication module, used for receiving text input by a user; A processing module, used for inputting the text into a natural language processing model to obtain text generation content, wherein the natural language processing model learns the representation and generation of language through a multi-layer neural network and training data; The processing module is further configured to store the text input and the text generated content as a notepad entry in the blockchain.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to cause the computer to execute the method according to any one of claims 1 to 8.