Method, system, device and medium for implementing USB flash drive with detection function
By burning files on the Ferry USB flash drive to analyze the host computer software and private interface, installing it to the server side, detecting and managing storage chip data, solving the problem of data leakage risks and untargeted detection, and improving data security.
Patent Information
- Application Number
- CN202411141257.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-20
AI Technical Summary
The existing ferry USB flash drives have a high risk of data leakage during use, and it is impossible to conduct targeted detection of different types of ferry USB flash drives.
By burning files in the CD driver logical partition of the Ferry USB flash drive, analyzing the host computer software and preset private interfaces, and installing them to the server to realize the detection and management of storage chip data, including user information verification, file list acquisition, encryption processing and Antivirus detection.
It effectively reduces the risk of data leakage and can burn different file analysis software according to different types of ferry USB flash drives, realizes targeted detection and improves data security.
Smart Images

Figure CN118656828B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of USB ferrying, and in particular to a method, system, device and medium for implementing USB ferrying with a detection function. Background Art
[0002] With the rapid development of information technology, data exchange and storage have become an indispensable part of people's daily life. In the process of data exchange, USB flash drives, as a portable storage device, are widely popular due to their small size, large capacity, and fast transmission speed. As one of them, the Ferry USB flash drive not only has the above advantages, but also has become the preferred tool for data exchange and storage for the majority of users due to its affordable price and easy operation.
[0003] The Ferry USB flash drive is a hardware device, and its main components include USB interface, storage chip, control chip, PCB board, etc. USB interface: responsible for data exchange between the USB flash drive and the computer or other devices, and is the bridge connecting the USB flash drive to the outside world. Storage chip: usually uses Flash storage technology to store user data. The capacity of the storage chip can be flexibly selected according to needs. Control chip: as the core control unit of the USB flash drive, it is responsible for managing and controlling the reading and writing operations of data, as well as communicating with the computer. PCB board: provides stable electrical connections and communication channels for the components inside the USB flash drive.
[0004] However, ordinary ferry USB flash drives only have basic storage and transmission functions during use, and the risk of data leakage in ferry USB flash drives is relatively high. In addition, the existing solutions for detecting ferry USB flash drives mainly use the detection software on the computer to perform unified standard detection on external USB flash drives, and cannot perform targeted detection on different types of ferry USB flash drives. Summary of the invention
[0005] In view of the above-mentioned deficiencies in the prior art, the present application provides a method, system, device and medium for implementing a ferry USB flash drive with a detection function, so as to solve the problem that the risk of data leakage in the existing ferry USB flash drives is high and targeted detection of different types of ferry USB flash drives cannot be performed.
[0006] In a first aspect, the present application provides a method for implementing a ferry U disk with a detection function, the method comprising: obtaining a file analysis host computer software corresponding to a preset file system built into a storage chip of the current ferry U disk through a preset burning area in a CD drive logical partition of the ferry U disk, and obtaining a preset private interface between the preset file system management and the file analysis host computer software through a burning area, wherein the ferry U disk comprises a PCB board, a main control chip connected to the PCB board, a storage chip, a CD drive logical partition and a USB interface; when the ferry U disk is connected to a server side through a USB interface, the ferry U disk starts the CD drive logical partition and installs the file analysis host computer software to the server side; starting the file analysis host computer software on the server side, obtaining user information through a user information acquisition interface preset by the file analysis host computer software, completing the startup of the file analysis host computer software after the user information is successfully verified, and configuring a preset private interface on the server side, and then the file analysis host computer software reads the storage data managed by the preset file system through the preset private interface, and then calls the preset file analysis program in the file analysis host computer software to detect the storage data.
[0007] Furthermore, the file analysis host computer software includes a preset user interface, and the preset user interface is provided with trigger elements corresponding to a file addition, deletion, modification and query program, a file and capacity display program, and a file encryption program; after the file analysis host computer software reads the storage data managed by the preset file system through a preset private interface, the method also includes: the file analysis host computer software calls the preset file system through the preset private interface to obtain the file list and file information in the storage chip; fills the obtained file list and file information into the preset user interface; when the trigger element on the preset user interface is triggered, calls the preset file system through the preset private interface to perform corresponding operations, and updates the file list and file information in the preset user interface.
[0008] Furthermore, the file encryption program corresponds to several preset encryption algorithms; and is displayed on a preset user interface, and has a one-to-one relationship with the trigger element.
[0009] Furthermore, the file analysis host computer software includes a preset log recording program.
[0010] Furthermore, the preset private interface at least includes a preset communication protocol, an identity authentication security mechanism, an access control security mechanism, and a preset interface compatibility mechanism.
[0011] Furthermore, after completing the startup of the file analysis host computer software, the method also includes: scanning the file system and directory in the server side through the file analysis host computer software; calling the preset keyword recognition algorithm in the file analysis host computer software to identify the installation location or configuration information of the anti-virus software from the file system and directory; based on the installation location or configuration information, starting or calling the anti-virus software through a command line, API call or a preset calling mechanism; the file analysis host computer software determines the data to be tested for virus infection from the storage data managed by the preset file system through a preset private interface, and then passes the file path of the data to be tested for virus infection to the anti-virus software, and then obtains the result returned by the anti-virus software.
[0012] In the second aspect, the present application provides a system for implementing a ferry U disk with a detection function, the system comprising: a ferry U disk, and the ferry U disk comprises a PCB board, a main control chip connected to the PCB board, a storage chip, a CD drive logical partition and a USB interface; wherein the storage chip has a built-in preset file system to manage storage data, and there is a burning area in the CD drive logical partition; a burning module is used to burn the file analysis host computer software corresponding to the preset file system built into the storage chip of the current ferry U disk in the preset burning area in the CD drive logical partition of the ferry U disk, and burn the preset private interface between the preset file system management and the file analysis host computer software; wherein the ferry U disk comprises PCB board, main control chip connected to the PCB board, storage chip, CD drive logical partition and USB interface; server side, used to access the ferry U disk through the USB interface, start the CD drive logical partition in the ferry U disk, and install the file analysis host computer software to the server side; obtain user information through the user information acquisition interface preset by the file analysis host computer software, complete the startup of the file analysis host computer software after the user information is successfully verified, and configure the preset private interface on the server side, and then the file analysis host computer software reads the storage data managed by the preset file system through the preset private interface, and then calls the preset file analysis program in the file analysis host computer software to detect the storage data.
[0013] Furthermore, the file analysis host computer software includes a preset user interface, and the preset user interface is provided with trigger elements corresponding to the file addition, deletion, modification and query program, the file and capacity display program, and the file encryption program; the server side includes a software running component, which is used to support the file analysis host computer software to call the preset file system through the preset private interface to obtain the file list and file information in the storage chip; fill the obtained file list and file information into the preset user interface; when the trigger element on the preset user interface is triggered, call the preset file system through the preset private interface to perform the corresponding operation, and update the file list and file information in the preset user interface.
[0014] In a third aspect, the present application provides an implementation device for a USB flash drive with a detection function, the device comprising: a processor; and a memory on which executable code is stored, and when the executable code is executed, the processor executes an implementation method for a USB flash drive with a detection function such as any one of the above items.
[0015] In a fourth aspect, the present application provides a non-volatile computer storage medium having computer instructions stored thereon, which, when executed, implement a method for implementing a USB flash drive with a detection function as described above.
[0016] Those skilled in the art can understand that the present application has at least the following beneficial effects:
[0017] This application is to analyze the file analysis host computer software corresponding to the preset file system in the storage chip of the ferry U disk, and parse the preset file system through the file analysis host computer software, so as to obtain the storage data managed in the preset file system. Since the file analysis host computer software in this application is burned, different file analysis host computer software can be burned according to different types of ferry U disks. Solve the problem that the existing detection scheme cannot perform targeted detection on different types of ferry U disks. In addition, after the file analysis host computer software is started on the server, this application sets a user information verification interface, and after the verification is successful, the file analysis host computer software can be run to obtain the storage data corresponding to the preset file system. Otherwise, the storage data cannot be obtained, which solves the problem of high risk of data leakage in the existing ferry U disk. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Some embodiments of the present disclosure are described below with reference to the accompanying drawings, in which:
[0019] Figure 1 It is a flow chart of a method for implementing a USB flash drive ferrying with a detection function provided in an embodiment of the present application.
[0020] Figure 2 It is a schematic diagram of the internal structure of a system for implementing a USB flash drive with a detection function provided in an embodiment of the present application.
[0021] Figure 3 It is a schematic diagram of the internal structure of a device for implementing a USB flash drive with a detection function provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] It should be understood by those skilled in the art that the embodiments described below are only preferred embodiments of the present disclosure, and do not mean that the present disclosure can only be implemented through the preferred embodiments. The preferred embodiments are only used to explain the technical principles of the present disclosure, and are not used to limit the protection scope of the present disclosure. Based on the preferred embodiments provided by the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work should still fall within the protection scope of the present disclosure.
[0023] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0024] The technical solution proposed in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0025] The embodiment of the present application provides a method for implementing a USB flash drive with a detection function, such as Figure 1 As shown, the method provided in the embodiment of the present application mainly includes the following steps:
[0026] Step 110, through the preset burning area in the CD drive logical partition of the ferry U disk, burn the file analysis host computer software corresponding to the preset file system built into the storage chip of the current ferry U disk, and burn the preset private interface between the preset file system management and the file analysis host computer software.
[0027] It should be noted that the Ferry USB disk supports USB-CDROM mode. The CD drive logical partition can be a separate chip area or a partition set within the main control chip. The Ferry USB disk includes a PCB board, a main control chip connected to the PCB board, a storage chip, a CD drive logical partition and a USB interface. In addition, the preset private interface at least includes a preset communication protocol, an identity authentication security mechanism, an access control security mechanism, and a preset interface compatibility mechanism.
[0028] In addition, the specific implementation method of burning to obtain the preset private interface between the preset file system management and the file analysis host computer software can be implemented through existing technologies, and this application does not limit the specific burning process. For example, it can be burned through existing burning software (Nero 10, etc.).
[0029] Step 120: When the ferry U disk is connected to the server side through the USB interface, the ferry U disk starts the CD drive logical partition and installs the file analysis host computer software to the server side.
[0030] It should be noted that the specific process of installing the file analysis host computer software to the server side can be implemented by the existing technology. This application does not limit this. For example, through the CD drive of the server side, the file analysis host computer software in the ferry U disk CD drive logical partition is identified and obtained, and then downloaded and installed.
[0031] Step 130, start the file analysis host computer software on the server side, obtain user information through the user information acquisition interface preset by the file analysis host computer software, after the user information is successfully verified, complete the startup of the file analysis host computer software, and configure the preset private interface on the server side, and then the file analysis host computer software reads the storage data managed by the preset file system through the preset private interface, and then calls the preset file analysis program in the file analysis host computer software to detect the storage data.
[0032] It should be noted that the file analysis host computer software can add existing operating programs according to actual needs, such as file addition, deletion, modification and query programs, file and capacity display programs, and file encryption programs, and set the operating program trigger element on the preset user interface.
[0033] In addition, after the file analysis host computer software reads the storage data managed by the preset file system through the preset private interface, the method of the present application may also include:
[0034] The file analysis host computer software calls the preset file system through the preset private interface to obtain the file list and file information in the storage chip; fills the obtained file list and file information into the preset user interface; when the trigger element on the preset user interface is triggered, calls the preset file system through the preset private interface to perform the corresponding operation, and updates the file list and file information in the preset user interface.
[0035] In addition, the file analysis host computer software can set multiple encryption algorithms as needed to encrypt the stored data in the storage chip. Specifically, the file encryption program corresponds to several preset encryption algorithms; and is displayed on the preset user interface, and has a one-to-one relationship with the trigger element.
[0036] In addition, in order to track and audit the file operation history, the file analysis host computer software includes a preset log recording program, which further realizes the tracking of data operations through log recording.
[0037] In addition, the present application can call anti-virus software to perform virus disinfection on storage chips. The specific process may be: after completing the startup of the file analysis host computer software, the file analysis host computer software is used to scan and obtain the file system and directory in the server side; the keyword recognition algorithm preset in the file analysis host computer software is called to identify and obtain the installation location or configuration information of the anti-virus software from the file system and directory; based on the installation location or configuration information, the anti-virus software is started or called through a command line, API call or a preset calling mechanism; the file analysis host computer software determines the data to be disinfected from the storage data managed by the preset file system through a preset private interface, and then passes the file path of the data to be disinfected to the anti-virus software, and then obtains the result returned by the anti-virus software.
[0038] besides, Figure 2 The present application provides a system for implementing a USB flash drive 2 with a detection function. Figure 2 As shown, the system provided in the embodiment of the present application mainly includes:
[0039] The ferry U disk 210 includes a PCB board, a main control chip connected to the PCB board, a storage chip, a CD drive logic partition and a USB interface; wherein the storage chip has a built-in preset file system to manage storage data, and there is a burning area in the CD drive logic partition.
[0040] The burning module 220 is used to burn the file analysis host computer software corresponding to the preset file system built into the storage chip of the current ferry U disk 210 in the preset burning area in the CD drive logical partition of the ferry U disk 210, and burn the preset private interface between the preset file system management and the file analysis host computer software; wherein the ferry U disk 210 includes a PCB board, a main control chip connected to the PCB board, a storage chip, a CD drive logical partition and a USB interface.
[0041] It should be noted that the burning module 220 may be existing burning software or hardware capable of burning a USB disk.
[0042] The server side 230 is used to access the ferry U disk 210 through the USB interface, start the CD drive logical partition in the ferry U disk 210, and install the file analysis host computer software to the server side 230; obtain user information through the user information acquisition interface preset by the file analysis host computer software, and after the user information is successfully verified, complete the startup of the file analysis host computer software, and configure the preset private interface on the server side 230, and then the file analysis host computer software reads the storage data managed by the preset file system through the preset private interface, and then calls the preset file analysis program in the file analysis host computer software to detect the storage data.
[0043] It should be noted that the file analysis host computer software includes a preset user interface, and the preset user interface is provided with trigger elements corresponding to the file addition, deletion, modification and query program, the file and capacity display program, and the file encryption program.
[0044] The server side 230 includes a software running component, which is used to support the file analysis host software to call the preset file system through the preset private interface to obtain the file list and file information in the storage chip; fill the obtained file list and file information into the preset user interface; when the trigger element on the preset user interface is triggered, call the preset file system through the preset private interface to perform the corresponding operation, and update the file list and file information in the preset user interface.
[0045] The above is a method embodiment of the present application. Based on the same inventive concept, the present application embodiment also provides a device for detecting a USB flash drive. Figure 3 As shown, the device includes: a processor; and a memory, on which executable codes are stored. When the executable codes are executed, the processor executes a method for implementing a USB flash drive with a detection function as described in the above embodiment.
[0046] Specifically, the server side obtains the file analysis host computer software corresponding to the preset file system built in the storage chip of the current ferry U disk through the preset burning area in the CD drive logical partition of the ferry U disk, and burns the preset private interface between the preset file system management and the file analysis host computer software; wherein, the ferry U disk includes a PCB board, a main control chip connected to the PCB board, a storage chip, a CD drive logical partition and a USB interface; when the ferry U disk is connected to the server side through the USB interface, the ferry U disk starts the CD drive logical partition and installs the file analysis host computer software to the server side; the file analysis host computer software is started on the server side, and user information is obtained through the user information acquisition interface preset by the file analysis host computer software. After the user information is successfully verified, the file analysis host computer software is started, and the preset private interface is configured on the server side, and then the file analysis host computer software reads the storage data managed by the preset file system through the preset private interface, and then calls the preset file analysis program in the file analysis host computer software to detect the storage data.
[0047] In addition, an embodiment of the present application further provides a non-volatile computer storage medium on which executable instructions are stored. When the executable instructions are executed, a method for implementing a USB flash drive with a detection function as described above is implemented.
[0048] So far, the technical solutions of the present disclosure have been described in combination with the above multiple embodiments, but it is easy for those skilled in the art to understand that the protection scope of the present disclosure is not limited to these specific embodiments. Without departing from the technical principles of the present disclosure, those skilled in the art can split and combine the technical solutions in the above-mentioned various embodiments, and can also make equivalent changes or replacements to the relevant technical features. Any changes, equivalent replacements, improvements, etc. made within the technical concept and / or technical principle of the present disclosure will fall within the protection scope of the present disclosure.
Claims
1. A method for implementing a USB flash drive with a detection function, characterized in that: The method comprises: The preset burning area in the CD drive logical partition of the ferry U disk is used to burn the file analysis host computer software corresponding to the preset file system built in the storage chip of the current ferry U disk, and the preset private interface between the preset file system management and the file analysis host computer software is burned; wherein the ferry U disk includes a PCB board, a main control chip connected to the PCB board, a storage chip, a CD drive logical partition and a USB interface; When the Baifu U disk is connected to the server through the USB interface, the Baifu U disk starts the CD drive logical partition and installs the file analysis host computer software to the server; Start the file analysis host computer software on the server side, obtain user information through the user information acquisition interface preset by the file analysis host computer software, and after the user information is successfully verified, complete the startup of the file analysis host computer software, and configure the preset private interface on the server side. Then, the file analysis host computer software reads the storage data managed by the preset file system through the preset private interface, and then calls the preset file analysis program in the file analysis host computer software to detect the storage data.
2. The method for implementing a USB flash drive with detection function according to claim 1, characterized in that: The file analysis host computer software includes a preset user interface, and the preset user interface is provided with trigger elements corresponding to a file addition, deletion, modification and query program, a file and capacity display program, and a file encryption program; After the file analysis host computer software reads the storage data managed by the preset file system through the preset private interface, the method further includes: The file analysis host computer software calls the preset file system through the preset private interface to obtain the file list and file information in the storage chip; Fill the acquired file list and file information into the preset user interface; When the trigger element on the preset user interface is triggered, the preset file system is called through the preset private interface to perform corresponding operations, and the file list and file information are updated in the preset user interface.
3. The method for implementing a USB flash drive with detection function according to claim 2, characterized in that: The file encryption program corresponds to several preset encryption algorithms; and is displayed on a preset user interface, and has a one-to-one relationship with the trigger element.
4. The method for implementing a USB flash drive with detection function according to claim 1, characterized in that: The file analysis host software includes a preset logging program.
5. The method for implementing a USB flash drive with detection function according to claim 1, characterized in that: The preset private interface at least includes a preset communication protocol, an identity authentication security mechanism, an access control security mechanism, and a preset interface compatibility mechanism.
6. The method for implementing a USB flash drive with detection function according to claim 1, characterized in that: After completing the startup file analysis host computer software, the method further includes: The file system and directory in the server are obtained by scanning the file analysis host computer software; Calling the keyword recognition algorithm preset in the file analysis host computer software to identify the installation location or configuration information of the anti-virus software from the file system and directory; Based on the installation location or configuration information, start or call the antivirus software through the command line, API call or preset call mechanism; The file analysis host computer software determines the data to be disinfected from the storage data managed by the preset file system through a preset private interface, and then passes the file path of the data to be disinfected to the antivirus software, and then obtains the result returned by the antivirus software.
7. A system for implementing a USB flash drive with a detection function, characterized in that: The system comprises: The ferry U disk includes a PCB board, a main control chip connected to the PCB board, a storage chip, a CD drive logical partition and a USB interface; wherein the storage chip has a built-in preset file system to manage storage data, and there is a burning area in the CD drive logical partition; The burning module is used to burn the file analysis host computer software corresponding to the preset file system built in the storage chip of the current ferry U disk in the preset burning area in the CD drive logical partition of the ferry U disk, and burn the preset private interface between the preset file system management and the file analysis host computer software; wherein the ferry U disk includes a PCB board, a main control chip connected to the PCB board, a storage chip, a CD drive logical partition and a USB interface; The server side is used to access the ferry U disk through the USB interface, start the CD drive logical partition in the ferry U disk, and install the file analysis host computer software to the server side; obtain user information through the user information acquisition interface preset by the file analysis host computer software, and after the user information is successfully verified, complete the startup of the file analysis host computer software, and configure the preset private interface on the server side, and then the file analysis host computer software reads the storage data managed by the preset file system through the preset private interface, and then calls the preset file analysis program in the file analysis host computer software to detect the storage data.
8. The system for realizing USB ferrying with detection function according to claim 7 is characterized in that: The file analysis host computer software includes a preset user interface, and the preset user interface is provided with trigger elements corresponding to a file addition, deletion, modification and query program, a file and capacity display program, and a file encryption program; The server side includes a software running component for supporting the file analysis host computer software to call the preset file system through the preset private interface to obtain the file list and file information in the storage chip; and fill the obtained file list and file information into the preset user interface; When the trigger element on the preset user interface is triggered, the preset file system is called through the preset private interface to perform corresponding operations, and the file list and file information are updated in the preset user interface.
9. A device for realizing a USB flash drive with a detection function, characterized in that: The device comprises: processor; and a memory having executable codes stored thereon, which, when executed, causes the processor to execute a method for implementing a USB flash drive with a detection function as described in any one of claims 1 to 6.
10. A non-volatile computer storage medium, characterized in that: Computer instructions are stored thereon, and when the computer instructions are executed, a method for implementing a ferry USB flash drive with a detection function as described in any one of claims 1 to 6 is implemented.
