Data security storage device, method and system
By combining the ESP32 main module, USB interface, RFID radio frequency identification module and storage module, the problem of data security risks of USB storage devices in the laboratory is solved, realizing automated data uploading and management, improving data security and reliability, and making it suitable for IoT environments.
Patent Information
- Application Number
- CN202411428108.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2026-01-23
AI Technical Summary
Existing USB storage devices pose data security risks when used in laboratories, and smart storage devices on the market are expensive and difficult to meet the needs of IoT applications.
It adopts a combination of ESP32 main module, USB interface, RFID radio frequency identification module and storage module. It receives data through USB interface, identifies user tags through RFID module, creates folders and stores data based on user identification and timestamp information, and uses WiFi module to upload data to FTP file transfer server and delete local data after uploading.
It enables automated data uploading and management, improves data security and reliability, meets the needs of secure storage and management of scientific research data, and is suitable for IoT environments.
Smart Images

Figure CN121397005A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of data transmission, and particularly relates to a data secure storage device, method and system. BACKGROUND
[0002] According to the requirement of scientific research data, accurate recording and management are needed. However, many devices in the current laboratory are not connected to the network, and USB storage devices are often used to store experimental data, and the experimenter copies the data by himself after the experiment is completed. However, this data storage method has certain security risks, and is easy to cause data concealment, loss or tampering.
[0003] The intelligent storage devices on the market currently only have simple data storage and proprietary transmission functions, and the device cost is high, for example: using NAS (Network Attached Storage) and data transmission through a USB virtual channel, which cannot meet the standardized Internet of Things application requirements, and is difficult to be widely applied to various scenes of the Internet of Things.
[0004] Therefore, there is an urgent need for a scheme that can realize more secure and reliable data management and data storage.
[0005] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present disclosure, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY
[0006] The purpose of the present disclosure is to provide a data secure storage device, method and system, which at least partially overcomes the problem of insecure data storage of the existing storage device of the related technology.
[0007] Other characteristics and advantages of the present disclosure will become apparent from the following detailed description, or will be learned by practice of the present disclosure.
[0008] According to one aspect of the present disclosure, a data secure storage device is provided, comprising: an ESP32 main module, and a USB interface, an RFID radio frequency identification module and a storage module connected with the ESP32 main module respectively, wherein the ESP32 main module comprises a WiFi module;
[0009] The USB interface conforms to the USB protocol of IEEE specification, and is used to connect with a computer device and receive data transmitted by the computer device;
[0010] The RFID radio frequency identification module is used to identify a user tag and read current user identification information;
[0011] The storage module is configured to create a target folder corresponding to the current user identification information and the timestamp information, and store the data in the target folder.
[0012] The ESP32 main module is configured to receive data from the computer device through the USB interface, store the data in the storage module, obtain a confirmation instruction for the current user identification information, and upload the source folder and the source data in the storage module to an FTP file transfer server through the WiFi module according to the confirmation instruction.
[0013] In an embodiment of the present disclosure, the ESP32 main module is further configured to delete the source folder and the source data in the storage module after uploading to the FTP file transfer server.
[0014] In an embodiment of the present disclosure, the system further comprises:
[0015] After power-on, the storage module and the RFID module are initialized.
[0016] After initialization, the ESP32 main module mounts a file management system of the storage module, wherein the file management system is configured to manage files in the storage module.
[0017] After mounting the file management system, the ESP32 main module performs WIFI connection and connects the FTP file transfer server.
[0018] In an embodiment of the present disclosure, the system further comprises a display module configured to display the current user identification information and receive the confirmation instruction issued by a user.
[0019] According to another aspect of the present disclosure, a data security storage method is provided, comprising:
[0020] Connect with a computer device through a USB interface, and receive data transmitted by the computer device;
[0021] Identify a user tag through an RFID module, and read current user identification information;
[0022] Create a target folder corresponding to the current user identification information and the timestamp information in the storage module through an ESP32 main module, and store the data in the target folder;
[0023] Identify the user tag again through the RFID module, and read the current user identification information;
[0024] The ESP32 main module acquires a confirmation instruction for the current user identification information, and uploads the target folder and the data in the storage module to an FTP file transfer server according to the confirmation instruction through a WiFi module, wherein the ESP32 main module comprises the WiFi module.
[0025] In one embodiment of the present disclosure, the data security storage device further comprises:
[0026] After being uploaded to the FTP file transfer server, the ESP32 main module actively deletes the target folder and the data in the storage module.
[0027] According to still another aspect of the present disclosure, a data security storage system is provided, comprising:
[0028] The data security storage device as described above;
[0029] A computer device is connected to the data security storage device through a USB port, and is used to identify the data security storage device as a U disk and perform data transmission;
[0030] An FTP file transfer server is wirelessly connected to the data security storage device, and is used to store the data sent by the data security storage device, so that a user can download the required data according to needs.
[0031] The data security storage device provided by the embodiment of the present disclosure comprises an ESP32 main module, a USB interface, an RFID radio frequency identification module and a storage module connected with the ESP32 main module respectively, wherein the ESP32 main module comprises a WiFi module; the USB interface is used to connect with a computer device and receive data transmitted by the computer device; the RFID radio frequency identification module is used to identify a user tag and read current user identification information; the storage module is used to create a corresponding target folder according to the current user identification information and time stamp information and store the data into the target folder; the ESP32 main module is used to receive data from the computer device through the USB interface and store the data into the storage module, then acquire a confirmation instruction for the current user identification information and upload a source folder and source data in the storage module to an FTP file transfer server through the WiFi module according to the confirmation instruction. The USB compatibility storage is realized by the ESP32 main module, after the data storage is completed in the storage module, the data in the storage module can be uploaded to the FTP file transfer server through network transmission, the user identification information is identified by the RFID radio frequency identification module, so that the subsequent hierarchical and grouped management of the data is realized, and various data management requirements are met. The automatic uploading and management of the data can be realized, the original data in the laboratory can be effectively backed up, the safety and reliability of the data are improved, further, the more safe and transparent storage and access environment for the scientific research data in the experimental data of scientific research is provided, and the healthy development of the scientific research is further promoted. The data security storage device is suitable for the current IoT data management requirement and provides a strategy for the data processing of future intelligent devices.
[0032] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0033] The drawings incorporated into the specification and forming a part of the specification, show embodiments consistent with the present disclosure, and together with the specification, serve to explain the principles of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative labor.
[0034] Figure 1 A structural block diagram of a data security storage device in the embodiment of the present disclosure is shown;
[0035] Figure 2 An external structure schematic diagram of a data security storage device in the embodiment of the present disclosure is shown;
[0036] Figure 3A flow chart of an execution method of a data security storage device in an embodiment of the present disclosure is shown.
[0037] Figure 4 A flow chart of a data security storage method in an embodiment of the present disclosure is shown.
[0038] Figure 5 A structural block diagram of a data security storage system in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0039] Example implementations will now be described more fully with reference to the accompanying drawings. Example implementations may, however, be implemented in many different forms and should not be construed as limited to the implementations set forth herein; rather, these implementations are provided so that this disclosure will be thorough and complete, and will fully convey the inventive concept to those skilled in the art. Features described in the description, structures, or characteristics may be combined in any suitable manner in one or more implementations.
[0040] In addition, the accompanying drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments described herein, and together with the description serve to explain the principles described herein. The same reference numbers in different drawings represent the same or similar elements.
[0041] The scheme provided by the embodiments of the present application relates to an ESP32-based data security storage device, which is specifically described as follows:
[0042] In one embodiment, a data security storage device is provided, which comprises an ESP32 main module 110 and a USB interface 120, an RFID radio frequency identification module 140 and a storage module 130 connected with the ESP32 main module 110 respectively, and the ESP32 main module 110 comprises a WiFi module.
[0043] The above-mentioned various modules can be interconnected through the ESP32 main module 110, and the ESP32 main module 110 can optionally use ESP32-S3 as the main chip, integrates Bluetooth 5.0 and Wi-Fi module functions, and can realize interconnection and data transmission of the modules through its powerful function library.
[0044] The USB interface 120 conforms to the USB protocol of IEEE specification, is used for connecting with a computer device, and receives data transmitted by the computer device.
[0045] The USB interface 120 is connected to the computer device through the USB port 101, and has the performance of plug and play. The data security storage device 100 is compatible with the existing device USB2.0, USB3.0 and USB4.0 flash disk standards.
[0046] Referring to Figure 2 The data security storage device 100 is connected to the computer device through the USB port 101, and has the performance of plug and play. The data security storage device 100 is compatible with the existing device USB2.0, USB3.0 and USB4.0 flash disk standards.
[0047] The RFID radio frequency identification module 140 is used for user tag identification and reading of current user identification information.
[0048] Specifically, the RFID radio frequency identification module 140 detects whether there is a tag close to it. When the card reader detects the tag identification tag information, the user identification (UID) information is read. Optionally, the tag information can be stored. In actual application, the RFID radio frequency identification module 140 performs one or two times of tag identification in one-time data storage management. Through identity authentication and identification storage, human intervention operation is prevented, and data security is improved.
[0049] The storage module 130 is used for creating a corresponding target folder according to the current user identification information and timestamp information, and storing the data into the target folder.
[0050] Specifically, the RFID radio frequency identification module 140 completes one-time tag identification. The RFID radio frequency identification module 140 is specifically an RFID card reader. After reading the UID information, the storage module 130 can specifically use an SD card. In combination with the timestamp information in the ESP32-S3 time library, a target folder corresponding to the time and UID is created in the SD card. The data is stored into the target folder of the flash disk storage module 130. The SD card can provide local storage for saving log files, user data or important system information, etc. It supports various binary data formats such as PDF, MP4, Excel and text documents, etc.
[0051] The ESP32 main module 110 is used for receiving data from the computer device through the USB interface and storing the data into the storage module, then obtaining a confirmation instruction of the current user identification information, and uploading the source folder and source data in the storage module to the FTP file transfer server through the WiFi module according to the confirmation instruction.
[0052] The ESP32 main module 110 controls the storage of data received by the USB interface 120 to the storage module 130, and the data is stored in the corresponding target folder. The stored data and the target folder, the source folder and the source data of the storage module 130, can be uploaded. Here, the RFID radio frequency identification module 140 can perform a label identification check again. The RFID card reader performs a label check again and reads the UID information. The RFID has a read-write function and can be connected to the ESP32-S3 through the SPI interface. After the ESP32-S3 receives the confirmation information, the files in the SD card are uploaded to the directory of the FTP file transfer server through WIFI. The WIFI module allows the ESP32-S3 to connect to a wireless network, realize remote access to the Internet or a local area network, and then establish a connection with the FTP file transfer server configured in the laboratory. Then, the files on the SD card are uploaded through the FTP protocol.
[0053] In addition, the ESP32 main module is also used to actively delete the source folder and the source data in the storage module after uploading to the FTP file transfer server.
[0054] Specifically, the files stored in the SD card can be uploaded to the FTP file transfer server through the ESP32 main module to realize cloud storage and management. After successful uploading, the files in the SD card are deleted, and the file forwarding is completed. The files are uploaded to the cloud, and can be classified and managed in the cloud. Users can download the data themselves but cannot modify the data, ensuring the safety of the data and preventing the stored data from being tampered with.
[0055] The data security storage device of the embodiment disables personal data storage, reduces data loss, ensures system security, automatically sends data to the cloud for management, performs identity authentication and identification storage, prevents human intervention, prevents data tampering, and has high data security. The data is centrally stored, in line with the regulations for experimental data management, storage, and sharing. It can also be managed in groups according to the requirements of the permissions, meeting various data management needs. The safety and reliability of data storage management are improved.
[0056] In one specific embodiment, it also includes:
[0057] After power-on, the storage module and the RFID radio frequency identification module are initialized;
[0058] After initialization, the ESP32 main module mounts the file management system of the storage module, wherein the file management system is used to manage the files in the storage module;
[0059] After mounting the file management system, the ESP32 main module performs WIFI connection and connects the FTP file transfer server.
[0060] Specifically, referring to Figure 3 As shown, the data security storage device is connected to the computer device through the USB interface, and after the device is powered on, S301 is first executed to initialize the SD card, and then S302 is executed to initialize the RFID card reader, S303 is executed to determine whether the initialization is successful, and after the initialization is completed, S304 is executed to mount the SD card file management system. If the initialization fails, S318 can be executed to output information and prompt the user to take relevant operation failure information. After the file mounting is successful, the ESP32 main module performs S305 to connect to the WIFI and S306 to connect to the FTP, and automatically connects to the WIFI and the corresponding FTP file transfer server provided by the laboratory. Then, the RFID radio frequency identification module 140 performs user tag identification, the storage module 130 performs data storage, and the ESP32 main module performs time-limited file cloud uploading, and the like.
[0061] The file management system has a file management function and can manage the files in the SD card, including receiving, sending, searching, updating, and the like.
[0062] In one specific embodiment, it further includes a display module 150 for displaying the current user identification information and receiving the confirmation instruction issued by the user.
[0063] In combination with Figure 2 As shown, the user can see the current user identification information on the display screen 102, and then perform an operation to issue a confirmation instruction, and the confirmation CONF enables the user to control the execution of the ESP32 main module task through simple physical interaction. After receiving the confirmation instruction of the user, the ESP32 main module can perform the file uploading operation.
[0064] Referring to Figure 4 As shown, in another embodiment, a data security storage method is provided, including:
[0065] S401, connecting to a computer device through a USB interface and receiving data transmitted by the computer device;
[0066] The above steps do not involve manual operation, and are more convenient and efficient.
[0067] S402, performing user tag identification through an RFID radio frequency identification module to read current user identification information;
[0068] In combination with Figure 3 As shown, after connecting to the WIFI and the FTP, the RFID radio frequency identification module performs S307, RFID tag checking, S308, determining whether the tag is checked, and if the tag is checked, S309 is entered to activate the RFID tag, and the corresponding current user identification information can be obtained.
[0069] S403, establishing a corresponding target folder in the storage module according to the current user identification information and the timestamp information, and storing the data into the target folder;
[0070] Specifically, the current user identification information and the timestamp information perform data storage, and enter step S310 to create an SD card folder, which is a target folder. Then, S311 stores data. For details, refer to the above-described device embodiment.
[0071] S404, performing user tag identification again through the RFID radio frequency identification module, and reading the current user identification information;
[0072] Specifically, the RFID radio frequency identification module tag identification is performed again, S312, RFID tag checking, S313, judging whether the tag is checked, if the tag is checked, entering S314 to activate the RFID tag, and the corresponding current user identification information can be obtained. If no tag is checked, S317 outputs information, and related operation failure information prompt is performed. Through the identity authentication check of the user information again, human intervention operation is prevented, and data security is improved.
[0073] S405, obtaining a confirmation instruction for the current user identification information through the ESP32 main module, and uploading the target folder and the data in the storage module to an FTP file transfer server through the WiFi module according to the confirmation instruction, wherein the ESP32 main module includes the WiFi module.
[0074] Specifically, the confirmation instruction can be used to determine whether to upload the file, which is the target folder and the data therein. If it is determined to upload the file according to the confirmation instruction, S316 file uploading is completed according to the current user identification information. Finally, S317 outputs information, and a corresponding completion prompt is made after the file uploading. The file can be uploaded to the corresponding directory of the FTP file transfer server, so that different data files can be conveniently managed.
[0075] In one specific embodiment, it further includes: after being uploaded to the FTP file transfer server, the target folder and the data in the storage module are actively deleted through the ESP32 main module.
[0076] The data is temporarily stored in the SD card, and is prevented from being tampered by being deleted in time.
[0077] The embodiment realizes automatic uploading and management of data, ensures that laboratory original data can be effectively backed up, improves the security and reliability of data, provides a safer and more transparent storage and access environment for scientific research data, and further promotes the healthy development of scientific research. It is suitable for current IoT data management needs and provides strategies for future data processing of intelligent devices.
[0078] In still another embodiment, referring to Figure 5 a data security storage system is provided, comprising:
[0079] The data security storage device 100 as described above;
[0080] The computer device 200 is connected to the data security storage device 100 through the USB port, used to identify the data security storage device 100 as a U disk and perform data transmission;
[0081] The FTP file transfer server 300 is wirelessly connected to the data security storage device 100, used to store the data sent by the data security storage device, and the user can download the required data according to the demand.
[0082] Through the data security storage system provided by the embodiment, after obtaining data from the computer device, the data is automatically sent to the cloud server for management, identity authentication and identification storage, which prevents human intervention and prevents data tampering, and the data security is high. An efficient and reliable U disk data storage and forwarding scheme is provided.
[0083] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, such division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into several modules or units.
[0084] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired result. In addition or alternatively, some steps can be omitted, a plurality of steps can be combined into one step, and / or one step can be divided into a plurality of steps, etc.
[0085] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
Claims
1. A data security storage device, characterized in that, include: The ESP32 main module includes a USB interface, an RFID radio frequency identification module, and a storage module, all connected to the ESP32 main module. The ESP32 main module also includes a WiFi module. The USB interface conforms to the IEEE USB protocol standard and is used to connect to computer devices and receive data transmitted by the computer devices. The RFID radio frequency identification module is used to identify user tags and read the current user identification information; The storage module is used to create a corresponding folder based on the current user identification information and timestamp information, and to store the data in the folder. The ESP32 main module is used to receive data from the computer device through the USB interface and store the data in the storage module, then obtain a confirmation instruction for the current user identification information, and according to the confirmation instruction, upload the source folder and source data in the storage module to the FTP file transfer server through the WiFi module.
2. The data security storage device according to claim 1, characterized in that, The ESP32 main module is also used to actively delete the source folder and the source data in the storage module after uploading to the FTP file transfer server.
3. The data security storage device according to claim 1, characterized in that, Also includes: Upon power-up, the storage module and RFID radio frequency identification module initialize. After initialization, the ESP32 main module mounts the file management system of the storage module, wherein the file management system is used to manage the files in the storage module; After the file management system is mounted, the ESP32 main module establishes a WIFI connection and connects to the FTP file transfer server.
4. The data security storage device according to claim 1, characterized in that, Also includes: The display module is used to display the current user identification information and to receive the confirmation command issued by the user.
5. A method for secure data storage, characterized in that, include: It connects to a computer device via a USB interface and receives data transmitted by the computer device; The user tag is identified using an RFID radio frequency identification module to read the current user identification information; The ESP32 main module creates a corresponding target folder in the storage module based on the current user identification information and timestamp information, and stores the data in the target folder. The user tag is identified again by the RFID radio frequency identification module, and the current user identification information is read. The ESP32 main module obtains a confirmation instruction for the current user identification information, and uploads the source folder and source data in the storage module to the FTP file transfer server via the WiFi module according to the confirmation instruction. The ESP32 main module includes the WiFi module.
6. The data security storage method according to claim 5, characterized in that, Also includes: After being uploaded to the FTP file transfer server, the target folder and the data in the storage module are actively deleted by the ESP32 main module.
7. A data security storage system, characterized in that, include: The data security storage device as described in any one of claims 1-4; A computer device is connected to the data security storage device via a USB port, used to identify the data security storage device as a USB flash drive and to perform data transfer; An FTP file transfer server is wirelessly connected to the secure data storage device and is used to store data sent by the secure data storage device, allowing users to download the required data as needed.