Personal mobile AI knowledge base based on USB key and SIMKey

By using the authentication and secure storage characteristics of U-shield and SIMKey in the personal mobile AI knowledge base, combined with data version tools and large models, the problems of personal knowledge base data security and information cocoon in the existing technology are solved, and a safe and reliable knowledge base management tool with automatic learning and iterative evolution are realized.

CN119831008APending Publication Date: 2025-04-15XIAMEN CHAINLESS TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411901252.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

When building a personal knowledge base, it is difficult for the existing technology to ensure data security, and it is easy to fall into the information cocoon, and it is unable to effectively control the knowledge base and algorithms behind it.

Method used

Using the personal mobile AI knowledge base based on U Shield and SIMKey, through the authentication and secure storage characteristics of U Shield and SIMKey, combined with data version tools and large models, a knowledge base management tool that can automatically learn and iteratively evolve is built.

Benefits of technology

On the premise of ensuring the security of personal data, it provides individuals with a knowledge base management tool for automatic learning and iterative evolution, improve personal production and life efficiency, and enhance personal core competitiveness in the AI ​​era.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119831008A_ABST
    Figure CN119831008A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of mobile knowledge bases, in particular to a personal mobile AI knowledge base based on a USB key and an SIMKey, the personal mobile AI knowledge base comprises a knowledge base cloud end, a mobile phone end and a PC end, the mobile phone end comprises a mobile phone end personal intelligent knowledge base management APP, an SIMKey module, a mobile phone end personal knowledge base file module and a mobile phone end SQLite database encrypted by an SQLCipher, the PC end comprises a USB key, a local git warehouse, a local thinking model, a local question and answer model, a git environment and a docker environment, the USB key and the SIMKey are used as carriers, the characteristics of identity verification and safe storage of the USB key and the SIMKey are utilized, a data version tool and a large model with super-strong data processing capacity are combined, and the data processing capacity is improved. A safe and reliable knowledge base management tool which can be automatically learned, iteratively evolved, traceable, verifiable and optimizable can be established for individuals on the premise of fully guaranteeing personal data security, and the knowledge base management tool is a production tool capable of greatly improving the efficiency of personal production and life.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mobile knowledge bases, and in particular to a personal mobile AI knowledge base based on a USB shield and a SIMKey. Background Art

[0002] Currently, people build knowledge bases mainly through traditional search engines such as Baidu or recommendation algorithms to actively obtain information and build personal knowledge bases. However, through search engines, individuals cannot grasp the knowledge base and algorithms behind them. Search engine companies will put information about companies that pay fees at the front, and the recommendation algorithm method can easily make people enter an information cocoon. For this reason, we proposed a personal mobile AI knowledge base based on U shield and SIMKey to solve the above problems. Summary of the invention

[0003] The purpose of the present invention is to provide a personal mobile AI knowledge base based on U shield and SIMKey to solve the technical problems raised by the above background technology.

[0004] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a personal mobile AI knowledge base based on U shield and SIMKey, including a knowledge base cloud, a mobile phone terminal and a PC terminal;

[0005] The knowledge base cloud is used for data storage and backup, identity authentication, and AI capabilities on mobile phones or PCs;

[0006] The mobile phone terminal includes a mobile phone terminal personal intelligent knowledge base management APP, a SIMkey module, a mobile phone terminal personal knowledge base file module and a mobile phone terminal SQLite database encrypted by SQLCipher;

[0007] The mobile-side personal intelligent knowledge base management APP is used to query, manage the personal knowledge base and call cloud resources. The SIMkey module is used to authenticate the operator's identity information and log in to the client management APP after successful authentication, as well as read or write private data in the secure storage area through the SIMKey security algorithm API in the SIMkey module;

[0008] The mobile phone personal knowledge base file module is used to store various types of personal knowledge bases;

[0009] The mobile phone SQLite database is a SQLite database encrypted by SQLCipher on the mobile phone;

[0010] The PC side includes a git environment, a USB shield and a PC side git repository;

[0011] The git environment is used to build a local git repository and synchronize data with the knowledge base cloud;

[0012] The U shield includes a U disk, a private area and a public area. The U disk stores a PC-side personal knowledge base file module, a PC-side personal intelligent knowledge base management software and a PC-side SQLite database encrypted by SQLCipher. The PC-side personal knowledge base file module is used to store various types of personal knowledge bases, and the PC-side personal knowledge base file module is backed up with the mobile phone-side personal knowledge base file through the U shield or the cloud knowledge base. The PC-side personal intelligent knowledge base management software is used to query, manage personal knowledge bases and call cloud resources. The U disk private area stores private data, and the U shield public area stores a boot program for entering the U disk and an initialization recovery program for the U shield;

[0013] The PC-side git repository stores the data and historical versions of the personal knowledge base in git mode.

[0014] Preferably, the knowledge base cloud includes a personal network disk, a U-shield manufacturer server, a SIMkey manufacturer server, a cloud git repository, a cloud thinking model and a cloud question-and-answer model;

[0015] The personal network disk is used to store data backed up from the mobile phone and PC;

[0016] The U-Shield manufacturer server is used for security authentication of the U-Shield, password retrieval, and backup of the cloud git repository of the U-Shield private area and database and the personal network disk upload address / symmetric encryption method and key during upload;

[0017] The SIMkey manufacturer server is used to perform security authentication on the SIMkey, retrieve the password, and back up the secure storage area in the SIMkey and the cloud git repository of the database and the personal network disk upload address / symmetric encryption method and key when uploading;

[0018] The cloud thinking model is a general large model generated by massive data and massive computing power;

[0019] The cloud-based question-and-answer model is used to connect the cloud-based thinking model with the personal knowledge base file on the mobile phone or PC, and provides an API for knowledge base upload, download and question-and-answer for the personal intelligent knowledge base management software on the mobile phone or PC.

[0020] Preferably, the personal data stored in the U-shield private area and the SIMkey secure storage area include the PC-side git repository address, account password, key, data symmetric encryption encryption method and key, personal network disk address, account password, network disk api key, data symmetric encryption encryption method and key, SQLCipher encryption SQLite key, thinking model address, api call key and account password, data cloud git, personal network disk backup address and encryption method and key, question and answer model address, api call key and account password.

[0021] Preferably, the data in the mobile phone SQLite database and the PC SQLite database include the name of each knowledge base, the storage location of each knowledge base corresponding file in the mobile phone, PC and personal network disk, the file names and storage locations of all corresponding files under the personal knowledge base file, all questions raised by the PC and mobile phone calls and the cloud calls, the answers obtained, the version number of the thinking model and question-and-answer model adopted, the input and output parameters of the API call large model, the personal score of the answer and the personal commonly used inquiry template.

[0022] Preferably, the personal frequently used inquiry template includes the template name, the corresponding knowledge base, the address of the selected thinking model, the address of the selected question and answer model, the prompt word of the inquiry, and the parameters selected for the thinking model and question and answer model.

[0023] Preferably, the PC terminal further includes a docker environment, a PC terminal thinking model and a PC terminal question and answer model;

[0024] The docker environment is used to provide an installation environment for the PC-side thinking model and the PC-side question-and-answer model;

[0025] The PC-side thinking model is a general large model generated by massive data and massive computing power;

[0026] The PC-side question-and-answer model is used to connect the PC-side thinking model and the PC-side personal knowledge base file module, and provides an API for knowledge base upload, download and question-and-answer for the PC-side personal intelligent knowledge base management software.

[0027] Preferably, the U-Shield also includes a U-Shield security algorithm area, a UKey and a U-Shield password area. The U-Shield security algorithm area is burned with the U-Shield security authentication algorithm; the U-Shield password is used to store the set U-Shield password, and after the U-Shield password is entered and verified correctly by the U-Shield security authentication algorithm, the U-Shield public area enters the U-Shield private area and obtains the U-Shield usage permission. The UKey is the device-unique code of the U-Shield set by the manufacturer.

[0028] Preferably, the U-Shield public area also stores an installation package of a PC-side thinking model and a PC-side question-and-answer model. Compared with the prior art, the beneficial effects of the present invention are:

[0029] The present invention uses U-shield and SIMKey as carriers, utilizes the identity authentication and secure storage characteristics of U-shield and SIMKey, combines data version tools and a large model with super data processing capabilities, and can build a set of knowledge base management tools for individuals that can automatically learn, iteratively evolve, traceable, verifiable, and optimize security and reliability under the premise of fully ensuring personal data security. It is a production tool that can greatly improve the efficiency of personal production and life; at the same time, it is also a personal mobile knowledge base that fully absorbs the advantages of traditional methods for building personal knowledge bases and is inexpensive and available under the premise of ensuring personal data security, so that everyone can enjoy the benefits of AI under the premise of ensuring personal data security, greatly enhancing personal core competitiveness in the AI ​​era. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for describing the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0031] Figure 1 A schematic diagram of the structure of a personal knowledge base of the prior art;

[0032] Figure 2 It is a schematic diagram of the structure of the personal mobile AI knowledge base of the present invention;

[0033] Figure 3 It is a schematic diagram of the structure of the U shield in the personal mobile AI knowledge base of the present invention;

[0034] Figure 4 It is a schematic diagram of the structure of SIMkey in the personal mobile AI knowledge base of the present invention;

[0035] Figure 5 A schematic diagram of a process of creating a new file library in an embodiment of the present invention;

[0036] Figure 6 A flowchart of an inquiry process in an embodiment of the present invention;

[0037] Figure 7 A schematic diagram of a safety verification mechanism according to an embodiment of the present invention;

[0038] Figure 8 This is a schematic diagram of the activation process of the USB shield in an embodiment of the present invention;

[0039] Fig. 9This is a schematic diagram of the process of reporting loss and replacing a USB shield in an embodiment of the present invention;

[0040] Fig.10 Schematic diagram of the activation process of SIMkey in an embodiment of the present invention;

[0041] Fig.11 Schematic diagram of the process of reporting loss and replacing a SIM key in an embodiment of the present invention;

[0042] Fig.12 Schematic diagram of the data restoration process in an embodiment of the present invention. DETAILED DESCRIPTION

[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] Please refer to Figure 2-11 As shown, the technical solution provided by the present invention is:

[0045] like Figure 2 As shown, a personal mobile AI knowledge base based on U shield and SIMKey includes a knowledge base cloud, a mobile phone terminal and a PC terminal;

[0046] The knowledge base cloud is used for mobile or PC data storage and backup, identity authentication, and AI capabilities;

[0047] The knowledge base cloud includes personal network disk, U shield manufacturer server, SIMkey manufacturer server, cloud git repository, cloud thinking model and cloud question and answer model;

[0048] Personal network disk is used to store data backed up from mobile phones and PCs;

[0049] The U-Shield manufacturer's server is used for security authentication of the U-Shield, password retrieval, and backup of the U-Shield private area and the cloud git repository of the database and the personal network disk upload address / symmetric encryption method and key during upload (for data restoration);

[0050] The SIMkey manufacturer's server is used to perform security authentication on the SIMkey, retrieve the password, and back up the secure storage area in the SIMkey, the cloud git repository of the database, and the personal network disk upload address / symmetric encryption method and key when uploading (for data restoration);

[0051] Cloud thinking models are general large models generated by massive data and massive computing power, such as OpenAI or Wenxin Yiyan or Tongyi Qianwen;

[0052] The cloud-based question-and-answer model is used to connect the cloud-based thinking model with the personal knowledge base file on the mobile phone or PC, and provides APIs for knowledge base upload, download, and question-and-answer for the personal intelligent knowledge base management software on the mobile phone or PC, such as AnythingLLM or QAnything or Qianfan.

[0053] The mobile phone terminal includes a mobile phone personal intelligent knowledge base management APP, a SIMkey module, a mobile phone personal knowledge base file module, and a mobile phone SQLite database encrypted by SQLCipher;

[0054] The mobile-side personal intelligent knowledge base management APP is used to query, manage the personal knowledge base and call cloud resources. The SIMkey module is used to authenticate the operator's identity information and log in to the client management APP after successful authentication, as well as read or write private data in the secure storage area through the SIMKey security algorithm API in the SIMkey module;

[0055] The mobile terminal personal knowledge base file module is used to store various types of personal knowledge bases;

[0056] The mobile SQLite database is a SQLite database encrypted by SQLCipher.

[0057] The PC side includes the git environment, USB shield and PC side git repository;

[0058] The git environment is used to build a local git repository and synchronize data with the cloud repository.

[0059] The U-shield includes a U disk, a private area and a public area. The U disk stores a PC-side personal knowledge base file module, a PC-side personal intelligent knowledge base management software and a PC-side SQLite database encrypted by SQLCipher. The PC-side personal knowledge base file module is used to store various types of personal knowledge bases, and the PC-side personal knowledge base file module is backed up with the mobile phone-side personal knowledge base file through the U-shield or the cloud knowledge base. The PC-side personal intelligent knowledge base management software is used to query, manage the personal knowledge base and call cloud resources. The U disk private area stores private data, and the U-shield public area stores a boot program for entering the U disk and an initialization recovery program for the U-shield;

[0060] The PC-side git repository stores personal knowledge base data and historical versions in git format.

[0061] In this embodiment, the SIMkey module is a special SIM card with stronger data security storage and identity authentication capabilities customized by the operator for users who have higher requirements for personal data security based on the ordinary SIM card that can make calls, send text messages and surf the Internet;

[0062] In this embodiment, the data stored in the personal network disk includes the PC-side git repository address, account password, key, data symmetric encryption encryption method and key, the personal network disk address, account password, network disk api key, data symmetric encryption encryption method and key, SQLCipher encryption SQLite key, thinking model address, api call key and account password, data cloud git, the address of the personal network disk backup as well as the encryption method and key, the question-and-answer model address, api call key and account password.

[0063] In this embodiment, the data in the mobile phone SQLite database and the PC SQLite database include the name of each knowledge base, the storage location of the corresponding files of each knowledge base in the mobile phone, PC and personal network disk, the file names and storage locations of all corresponding files under the personal knowledge base file, all questions raised by the PC and mobile phone calls and the cloud calls, the answers obtained, the version number of the thinking model and question-and-answer model adopted, the input and output parameters of the API call large model, the personal score of the answer and the personal commonly used inquiry template.

[0064] In this embodiment, the personal frequently used inquiry template includes the template name, the corresponding knowledge base, the address of the selected thinking model, the address of the selected question and answer model, the prompt word of the inquiry, and the parameters selected by the thinking model and question and answer model.

[0065] In this embodiment, the PC side also includes a docker environment, a PC side thinking model, and a PC side question-answering model, such as AnythingLLM or QAnything;

[0066] The docker environment is used to provide the installation environment for the PC-side thinking model and the PC-side question-and-answer model;

[0067] The PC-side thinking model is a general large model generated by massive data and massive computing power;

[0068] The PC-side question-and-answer model is used to connect the PC-side thinking model and the PC-side personal knowledge base file module, and provides knowledge base upload, download and question-and-answer APIs for PC-side personal intelligent knowledge base management software, such as Ollama or ChatGLM2-6B.

[0069] In this embodiment, the U-Shield also includes a U-Shield security algorithm area, a UKey and a U-Shield password area. The U-Shield security algorithm area is burned with the U-Shield security authentication algorithm; the U-Shield password is used to store the set U-Shield password, and after the U-Shield password is entered and verified correctly by the U-Shield security authentication algorithm, the U-Shield public area enters the U-Shield private area and obtains the U-Shield usage permission. The UKey is the device unique code of the U-Shield set by the manufacturer.

[0070] In this embodiment, the U-Shield public area also stores installation packages for the PC-side thinking model and the PC-side question-and-answer model.

[0071] The specific process of creating a new knowledge base folder in the U shield in the above embodiment is as follows (eg Figure 5 shown):

[0072] S1. Create a new folder named "Knowledge Base" in the personal knowledge base file module on the PC;

[0073] S2. A knowledge base record with the same file name as "knowledge base" is synchronously written into the SQLite database on the PC and git is initialized to form git data.

[0074] S3, git data is automatically associated with the PC-side git repository;

[0075] S4. Write the associated PC-side git repository address into the knowledge base record and copy the knowledge file to the knowledge base;

[0076] S5. Write the added files into the file record corresponding to the PC-side SQLite database knowledge base, add comments and submit to the PC-side git repository;

[0077] S6. Create a corresponding knowledge base through the PC-side question-answering model and transfer all files to the PC-side question-answering model;

[0078] S7. Automatically write the call records in S6 into the SQLite database.

[0079] The specific process of the inquiry process in the above embodiment is as follows (eg Figure 6 As shown, taking the mobile phone as an example):

[0080] S1. An individual asks questions to the personal knowledge base file module on the mobile phone through the personal intelligent knowledge base management APP on the mobile phone;

[0081] S2, call the cloud-based question-answering model and find the question that is closest to the current question and has the highest score from the existing past questions and answers;

[0082] S3. If a similar question is found, the cloud-based thinking model or cloud-based question-answering model and its parameters with the same knowledge base, prompt and opinion as this question are called to ask the question;

[0083] S4. Determine whether the cloud-based thinking model and cloud-based question-answering model can be used normally. If they can be used normally, obtain the query result and record "questions raised, knowledge base version number, answers obtained, version numbers of the adopted thinking model and question-answering model, and input and output parameters of the API call large model" into the SQLite database on the mobile phone;

[0084] S5. Score the inquiry results based on personal experience or practical tests and complete the inquiry.

[0085] If no similar question is found in step S3, the individual selects a query template from the query templates, and calls the knowledge base, prompt words, thinking model, question-answering model and its parameters set in the query template to ask questions, and then determines whether the cloud thinking model and cloud question-answering model can be used normally;

[0086] At the same time, if it is determined in step S4 that the cloud-based thinking model and the cloud-based question-and-answer model cannot be used normally, the individual will also enter a step in which they select a query template from the query templates, and call the knowledge base, prompt words, thinking model, question-and-answer model and its parameters set in the query template to ask questions, and then determine whether the cloud-based thinking model and the cloud-based question-and-answer model can be used normally.

[0087] The specific process of the security verification mechanism in the above embodiment is as follows (eg Figure 7 shown):

[0088] S1. First enter the U-Shield or SIM key password. If the password is correct, enter the PC-side personal intelligent knowledge base management software or the mobile-side personal intelligent knowledge base management APP. If the password is wrong, use the bound mobile phone number to perform dynamic code verification and change the password;

[0089] S2. Determine whether the USB shield or SIM key manufacturer server can be connected normally. If it can be connected normally, determine whether the USB shield or SIM key is within the validity period. If the USB shield or SIM key is within the validity period or cannot be connected normally, choose whether to modify the USB shield or SIM key password and other operations;

[0090] S3. If the U shield or SIM key is not within the validity period, the bound mobile phone is used to verify the mobile phone verification code. If the verification passes, it is determined whether the U shield or SIM key has been reported lost. If the verification fails, the operation is prohibited;

[0091] S4. If you choose to modify the U-shield or SIM key password or other operations, the operation is prohibited. If you do not choose to modify the U-shield or SIM key password or other operations, determine whether the U-shield or SIM key has been reported lost;

[0092] S5. If the U-Shield or SIM key has not been reported lost, obtain the key of the SQLite database encrypted by SQLCipher from the U-Shield private area or the SIM key secure storage area and open the encrypted SQLite database to obtain the U-Shield or SIM key usage permission. If the U-Shield or SIM key has been reported lost, the operation is prohibited.

[0093] The activation process of the USB shield in the above embodiment is as follows ( Figure 8 shown):

[0094] S1. Insert the U shield into the PC, and click to install the git environment from the installation package folder in the U shield public area, and select whether to install the PC thinking model and PC question and answer model. If yes, click to install the docker environment, PC thinking model and PC question and answer model from the U shield public area. If not, or after installing the docker environment, PC thinking model and PC question and answer model, click to enter the U disk boot program and enter the U disk;

[0095] S2. Choose whether to use it with SIMkey. If not, bind the mobile phone number. After binding the mobile phone number or choosing to use it with SIMkey, obtain the verification code through the mobile phone corresponding to SIMkey to modify the default password.

[0096] S3, then determine whether the corresponding package of SIM key has been purchased. If not, bind the account and password of personal git repository and personal network disk and set the git repository of private area and database and the storage address of personal network disk. If it has been purchased, use the preset git repository, personal network disk, thinking model question and answer model, private area and database git repository and storage address of personal network disk;

[0097] S4. Bind the address, account password, and apikey of your personal thinking model or question-answering model;

[0098] S5. Write the private area, database git, remote upload address of the network disk / symmetric encryption method when uploading, and key into the private area through the API of the U shield. At the same time, back up the data of the private area, database git, remote upload address of the network disk / symmetric encryption method when uploading, and key on the server of the U shield manufacturer (for data originality);

[0099] S6. Set up a personal knowledge base and upload the knowledge base to a certain thinking model. Based on the result of whether the corresponding package of the SIM key has been purchased, choose to use a preset inquiry template or set an inquiry template and start inquiry.

[0100] The specific process of reporting loss and replacing the USB shield in the above embodiment is as follows (eg Fig. 9 shown):

[0101] S1. Report the loss of your mobile phone number to the operator, and apply for a new USB shield from the operator or USB shield manufacturer;

[0102] S2. The operator or USB shield manufacturer writes the latest installation package, instructions for use, and the boot program to enter the USB disk into the USB shield public area;

[0103] S3. Click to install the git environment from the installation package folder in the U-Shield public area (CD drive);

[0104] S4. Select whether to install the PC-side thinking model and PC-side question-and-answer model as needed. If necessary, click to install the docker environment, PC-side thinking model, and PC-side question-and-answer model from the installation package folder in the U-Shield public area (CD drive);

[0105] S5. Click to enter the USB boot program from the USB public area (CD drive) and reset the USB password;

[0106] S6. After restoring the private area data, SQLite data and personal knowledge base data from the personal network disk or git repository, the query starts.

[0107] The activation process of the SIM key in the above embodiment is as follows (eg Fig.10 shown):

[0108] S1. Install the personal intelligent knowledge base management app on the mobile phone, and obtain the verification code through the SIMKey module on the corresponding mobile phone to change the default password;

[0109] S2. Determine whether the corresponding package of SIM key has been purchased. If so, use the preset git repository, personal network disk, thinking model, question and answer model, private area and database git repository and personal network disk storage address. If not, bind the account and password of personal git repository and personal network disk, and bind the address, account password and apikey of personal thinking model and personal question and answer model;

[0110] S3. Write the private area and the cloud git repository of the database and the personal network disk upload address / the symmetric encryption method and key when uploading into the private area through the SIMKey API. At the same time, back up the data of the private area and the cloud git repository of the database and the personal network disk upload address / the symmetric encryption method and key when uploading on the server of the SIMKey manufacturer (for data restoration);

[0111] S4. Set up a personal knowledge base and upload the knowledge base to a certain thinking model. Based on the result of whether the corresponding package of the SIM key has been purchased, choose to use a preset inquiry template or set an inquiry template and start inquiry.

[0112] The specific process of reporting loss and replacing the SIM key in the above embodiment is as follows (eg Fig.11 shown):

[0113] S1. Report the loss of your mobile phone number to the operator and apply for a new SIM key from the operator;

[0114] S2. Install the personal intelligent knowledge base management APP on your mobile phone;

[0115] S3. Obtain the verification code through the SIMkey corresponding mobile phone to modify the default password;

[0116] S4. After restoring the SIMkey secure storage area data, SQLite data and personal knowledge base data from the personal network disk or git repository, the query starts.

[0117] The data restoration process in the above embodiment is as follows ( Fig.12 shown):

[0118] S1. After logging in with the mobile phone verification code, the data restoration process begins, and the cloud git repository and personal network disk upload address of the private area and database, as well as the symmetric encryption method and key during upload are obtained;

[0119] S2. After entering the correct account and password, restore the data from the personal network disk or cloud git repository, and then download the private area and database;

[0120] S3, according to the symmetric encryption algorithm and key used during upload, the data previously stored in the U-Shield private area or the SIMKey secure storage area is written back through the U-Shield or SIMKey API, and the database is decrypted and written back according to the symmetric encryption algorithm and key used during database upload;

[0121] S4. Obtain the SQLCipher encrypted SQLite key from the U-Shield private area or SIMKey secure storage area through the U-Shield or SIMKey API;

[0122] S5. SQLCipher encrypts the SQLite key to open the database and read the relevant data of the knowledge base and query template;

[0123] S6. Download the knowledge base data from the git repository or personal network disk according to the knowledge base related data in the database;

[0124] S7. Download the data to a folder in the knowledge base in the U disk in the mobile phone or U shield, and upload the knowledge base API of the question and answer model knowledge base to transfer the knowledge base used in the query template to the corresponding question and answer model.

[0125] In the description of the present invention, it is necessary to understand that the terms "coaxial", "bottom", "one end", "top", "middle", "the other end", "upper", "one side", "top", "inside", "front", "center", "both ends" and the like indicate orientations or positional relationships based on the drawings, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0126] In the present invention, unless otherwise clearly stipulated and limited, the terms such as "installation", "setting", "connection", "fixation" and "screw-on" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral one; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. Unless otherwise clearly defined, ordinary technicians in this field can understand the specific meanings of the above terms in the present invention according to the specific circumstances.

[0127] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes may be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A personal mobile AI knowledge base based on U-Shield and SIMKey, characterized by: Including knowledge base cloud, mobile and PC; The knowledge base cloud is used for data storage and backup, identity authentication, and AI capabilities on mobile phones or PCs; The mobile phone terminal includes a mobile phone terminal personal intelligent knowledge base management APP, a SIMkey module, a mobile phone terminal personal knowledge base file module and a mobile phone terminal SQLite database encrypted by SQLCipher; The mobile-side personal intelligent knowledge base management APP is used to query, manage the personal knowledge base and call cloud resources. The SIMkey module is used to authenticate the operator's identity information and log in to the client management APP after successful authentication, as well as read or write private data in the secure storage area through the SIMKey security algorithm API in the SIMkey module; The mobile phone personal knowledge base file module is used to store various types of personal knowledge bases; The mobile phone SQLite database is a SQLite database encrypted by SQLCipher on the mobile phone; The PC side includes a git environment, a USB shield and a PC side git repository; The git environment is used to build a local git repository and synchronize data with the knowledge base cloud; The U shield includes a U disk, a private area and a public area. The U disk stores a PC-side personal knowledge base file module, a PC-side personal intelligent knowledge base management software and a PC-side SQLite database encrypted by SQLCipher. The PC-side personal knowledge base file module is used to store various types of personal knowledge bases, and the PC-side personal knowledge base file module is backed up with the mobile phone-side personal knowledge base file through the U shield or the cloud knowledge base. The PC-side personal intelligent knowledge base management software is used to query, manage the personal knowledge base and call cloud resources. The U disk private area stores private data, and the U shield public area stores a boot program for entering the U disk and an initialization recovery program for the U shield; The PC-side git repository stores the data and historical versions of the personal knowledge base in git mode.

2. According to claim 1, a personal mobile AI knowledge base based on USB shield and SIMKey is characterized in that: The cloud knowledge base includes a personal network disk, a U-shield manufacturer server, a SIMkey manufacturer server, a cloud git repository, a cloud thinking model, and a cloud question-and-answer model; The personal network disk is used to store data backed up from the mobile phone and PC; The U-Shield manufacturer server is used for security authentication of the U-Shield, password retrieval, and backup of the cloud git repository of the U-Shield private area and the database and the personal network disk upload address or the symmetric encryption method and key during upload; The SIMkey manufacturer server is used to perform security authentication on the SIMkey, retrieve the password, and back up the secure storage area in the SIMkey and the cloud git repository of the database and the personal network disk upload address or the symmetric encryption method and key during upload; The cloud thinking model is a general large model generated by massive data and massive computing power; The cloud-based question-and-answer model is used to connect the cloud-based thinking model with the personal knowledge base file on the mobile phone or PC, and provides an API for knowledge base upload, download and question-and-answer for the personal intelligent knowledge base management software on the mobile phone or PC.

3. According to claim 1, a personal mobile AI knowledge base based on USB shield and SIMKey is characterized in that: The personal data stored in the U-Shield private area and the SIMkey secure storage area include the PC-side git repository address, account password, key, data symmetric encryption encryption method and key, personal network disk address, account password, network disk api key, data symmetric encryption encryption method and key, SQLCipher encryption SQLite key, thinking model address, api call key and account password, data cloud git, personal network disk backup address and encryption method and key, question and answer model address, api call key and account password.

4. According to claim 1, a personal mobile AI knowledge base based on USB shield and SIMKey is characterized in that: The data in the mobile SQLite database and the PC SQLite database include the name of each knowledge base, the storage location of each knowledge base corresponding file in the mobile phone, PC and personal network disk, the file names and storage locations of all corresponding files under the personal knowledge base file, all questions asked by the PC and mobile phone calls and the cloud calls, the answers obtained, the version number of the thinking model and question-and-answer model used, the input and output parameters of the API call large model, the personal score of the answer and the personal commonly used inquiry template.

5. According to claim 4, a personal mobile AI knowledge base based on USB shield and SIMKey is characterized in that: The personal frequently used inquiry template includes a template name, a corresponding knowledge base, an address of a selected thinking model, an address of a selected question-and-answer model, prompt words for the inquiry, and parameters selected for the thinking model and question-and-answer model.

6. According to claim 1, a personal mobile AI knowledge base based on USB shield and SIMKey is characterized in that: The PC terminal also includes a docker environment, a PC terminal thinking model, and a PC terminal question-and-answer model; The docker environment is used to provide an installation environment for the PC-side thinking model and the PC-side question-and-answer model; The PC-side thinking model is a general large model generated by massive data and massive computing power; The PC-side question-and-answer model is used to connect the PC-side thinking model and the PC-side personal knowledge base file module, and provides an API for knowledge base upload, download and question-and-answer for the PC-side personal intelligent knowledge base management software.

7. The personal mobile AI knowledge base based on USB shield and SIMKey according to claim 6, characterized in that: The U shield also includes a U shield security algorithm area, UKey and U shield password area, and the U shield security algorithm area is burned with the U shield security authentication algorithm; The U-Shield password is used to store the set U-Shield password. After the U-Shield password is entered and verified by the U-Shield security authentication algorithm, the user enters the U-Shield private area from the U-Shield public area and obtains the U-Shield usage permission. The UKey is the device unique code of the U-Shield set by the manufacturer.

8. The personal mobile AI knowledge base based on USB-shield and SIMKey according to claim 6, characterized in that: The U-Shield public area also stores installation packages for the PC-side thinking model and the PC-side question-and-answer model.

Citation Information

Patent Citations

  • Mobile information safety equipment and working method thereof

    CN104504563A

  • Archive knowledge management device for mobile terminal and mobile terminal

    CN110457257A

  • Commercial password security identity verification method suitable for mobile communication

    CN115988495A

  • Intelligent management system for agricultural cultivation

    CN116645232A

  • Personal mobile block chain data archive management system based on USB key

    CN117453629A