CN117668939A - Custom file system and electronic device - Google Patents

Custom file system and electronic device Download PDF

Info

Publication number
CN117668939A
CN117668939A CN202311685613.9A CN202311685613A CN117668939A CN 117668939 A CN117668939 A CN 117668939A CN 202311685613 A CN202311685613 A CN 202311685613A CN 117668939 A CN117668939 A CN 117668939A
Authority
CN
China
Prior art keywords
file
identity information
main control
control chip
file system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311685613.9A
Other languages
Chinese (zh)
Inventor
周斌
曾超
鲁智超
张晓�
陈创钿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Chuzhi Technology Co ltd
Original Assignee
Beijing Chuzhi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Chuzhi Technology Co ltd filed Critical Beijing Chuzhi Technology Co ltd
Priority to CN202311685613.9A priority Critical patent/CN117668939A/en
Publication of CN117668939A publication Critical patent/CN117668939A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to the technical field of hard disk data security, in particular to a custom file system and electronic equipment, aiming at improving the security of hard disk data. The custom file system of the present invention is loaded or unloaded by an application program, and is used for operating hidden partitions, and comprises: the interface for opening the file is configured to acquire the identity information, the file password, the file path and the opening mode which are input by the application layer, and after confirming that the file path points to the hidden partition, a user-defined file opening instruction is sent to the main control chip so that the main control chip can open the file after verifying the identity information; the interface for writing the file is configured to acquire data input by the application layer and send a self-defined writing instruction to the main control chip so as to encrypt and store the input data; and the file reading interface is configured to send a self-defined reading instruction to the main control chip according to the file reading instruction input by the application layer and receive returned decrypted file data. The invention eliminates various data leakage risks brought by the existing operating system.

Description

Custom file system and electronic device
Technical Field
The invention relates to the technical field of hard disk data security, in particular to a custom file system and electronic equipment.
Background
Most of the file systems used in the current computers are file systems of the operating systems, and the file systems can be automatically loaded along with the starting of the operating systems.
The mainstream operating systems (Windows and extensive) are developed by foreign enterprises, and whether backdoors exist or users with holes cannot know whether the files stored on the hard disk are easily monitored and operated by the operating system background program, so that great hidden danger is brought to the data security of the hard disk.
In view of this, the present invention has been made.
Disclosure of Invention
In order to solve the above problems in the prior art, the present invention provides a custom file system and an electronic device, which improve the security of hard disk data.
In a first aspect of the present invention, a custom file system is provided, where the file system is loaded or unloaded by an application program and is used to operate a hidden partition of a hard disk; the file system includes:
an interface to open a file configured to: acquiring first identity information, a file password, a file path and an opening mode which are input by an application layer, and after confirming that the file path points to the hidden partition, sending a self-defined file opening instruction to a main control chip of the hard disk so that the main control chip executes file opening operation after verifying that the first identity information passes; the custom file opening instruction comprises: the identity information, the file password, the file path, and the open mode;
an interface to write a file configured to: acquiring data input by an application layer, and sending a self-defined writing instruction to the main control chip so that the main control chip encrypts the input data by using the file password and stores the encrypted data in the hidden partition;
an interface to read a file configured to: and sending a self-defined reading instruction to the main control chip according to the file reading instruction input by the application layer, and receiving decrypted file data returned by the main control chip.
Preferably, the file system further comprises:
an interface to delete a directory or file configured to: and acquiring second identity information input by an application layer and a path of a directory or a file to be deleted, and after confirming that the path points to the hidden partition, sending a self-defined deleting instruction to the main control chip so that the main control chip executes the operation of deleting the file after verifying that the second identity information passes.
Preferably, the file system further comprises:
a catalog viewing interface configured to: and acquiring the third identity information input by the application layer and a path of the directory to be checked, and after confirming that the path points to the hidden partition, sending a custom directory checking instruction to the main control chip so that the main control chip returns the subdirectory and the file list under the directory to be checked after verifying that the third identity information passes.
Preferably, the file system further comprises:
a file attribute viewing interface configured to: and acquiring fourth identity information and a file path input by an application layer, and after confirming that the path points to the hidden partition, sending a custom attribute checking instruction to the main control chip so that the main control chip returns corresponding file attributes after verifying that the fourth identity information passes.
Preferably, the file system further comprises:
partition formatting or deleting interface configured to: and acquiring fifth identity information and a partition name to be formatted or deleted, which are input by an application layer, and after confirming that the partition to be formatted or deleted is the hidden partition, transmitting a customized partition formatting or deleting instruction to the main control chip so that the main control chip executes formatting or deleting operation on the hidden partition after verifying that the fifth identity information passes.
Preferably, the file system further comprises:
a partition creation interface configured to: and acquiring sixth identity information, a partition name to be created, a sector address and a length which are input by an application layer, and sending a customized partition creation instruction to the main control chip so that the main control chip executes an instruction for creating a hidden partition according to the sector address and the length after verifying that the sixth identity information passes.
Preferably, the file system further comprises:
a hidden partition query interface configured to: and acquiring seventh identity information input by an application layer, and sending a custom hidden partition checking instruction to the main control chip so that the main control chip returns information of the hidden partition after verifying that the seventh identity information passes.
Preferably, the file system further comprises:
and the identity verification interface is configured to acquire the identity information input by the application layer and send the identity information to the main control chip of the hard disk for verification.
Preferably, the hard disk is a solid state hard disk or a mechanical hard disk;
the first identity information, the second identity information, the third identity information, the fourth identity information, the fifth identity information, the sixth identity information, and the seventh identity information are the same or different from each other.
In a second aspect of the invention, an electronic device is proposed, comprising a custom file system as described above.
The invention has the following beneficial effects:
the custom file system can be matched with the main control chip of the hard disk to read and write the secret file on the hidden partition of the hard disk. The user-defined file system is not loaded along with the starting of the operating system, when a user needs to access the files in the hidden partition, the file system can be loaded through a specific application program, and the file system can be unloaded in time when the user does not need to access the files. The custom file system includes: an interface to open a file, an interface to write a file, and an interface to read a file. Corresponding instructions from the operating system can be intercepted and filtered through the custom file opening instructions and read/write instructions. By verifying the first identity information and encrypting the file, the user who uses the specific application program to operate the hidden partition currently can be ensured to be legal, and the security of the hard disk data is effectively improved.
In addition, the custom file system can also comprise an interface for deleting the catalogue or the file, a catalogue viewing interface and a file attribute viewing interface, and the operating system can not see the catalogue and the file under the condition that legal users are convenient to manage the catalogue and the file because custom instructions are used in the interfaces. The custom file system may also include a partition formatting or deleting interface, a partition creation interface, a hidden partition query interface, an authentication interface, etc., so that an authenticated legitimate user may have the highest authority for a hidden partition. Different users can also have different rights of file reading and writing, directory viewing, partition formatting or deleting by distinguishing different identity information (first identity information, second identity information and … …). The operating system cannot check the information of the hidden partition and the catalogues and files in the hidden partition, and cannot format, delete and destroy the data in the hidden partition, so that various data leakage risks brought by the existing operating system are avoided.
Drawings
FIG. 1 is a schematic diagram of a first embodiment of a custom file system according to the present invention;
FIG. 2 is a schematic diagram of a second embodiment of a custom file system according to the present invention;
FIG. 3 is a schematic diagram of a third embodiment of a custom file system according to the present invention.
Detailed Description
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention.
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present invention.
It should be noted that in the description of the present invention, the terms "first," "second," and the like are merely used for convenience of description and are not to be construed as limiting the invention as to the relative importance of the device, element or parameter being described or implied. In addition, the term "and/or" in the present invention is merely an association relationship describing the association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In this context, unless otherwise specified, the term "/" generally indicates that the associated object is an "or" relationship.
The hard disk adopted in the embodiment of the invention can be a solid state hard disk or a mechanical hard disk, and the program of the hard disk main control chip is matched with the custom file system of the invention, so that all custom instructions of the custom file system of the invention can be identified and corresponding operations can be executed. Hereinafter, the first identity information, the second identity information, the third identity information, the fourth identity information, the fifth identity information, the sixth identity information, and the seventh identity information may be the same as or different from each other. The identity information can be a user name, a password, iris information, a fingerprint, a voiceprint and the like, and the main control chip compares the received identity information with the identity information stored in the hard disk in advance (for example, the identity information can be stored in an external flash of the main control chip or a memory embedded in the main control chip) so as to verify whether the current user has corresponding permission.
FIG. 1 is a schematic diagram of a first embodiment of a custom file system according to the present invention. The file system is loaded or unloaded by an application program and is used to operate hidden partitions of the hard disk. As shown in fig. 1, the custom file system 100 of the present embodiment includes an interface 101 for opening a file, an interface 102 for writing a file, and an interface 103 for reading a file.
The interface 101 to open a file is configured to: acquiring first identity information, a file password, a file path and an opening mode which are input by an application layer, and after confirming that the file path points to a hidden partition, sending a self-defined file opening instruction to a main control chip of a hard disk so that the main control chip executes file opening operation after verifying that the first identity information passes; the custom file opening instruction comprises: identity information, the file password, the file path and the opening mode.
The interface 102 to write files is configured to: and acquiring data input by the application layer, and sending a self-defined writing instruction to the main control chip so that the main control chip encrypts the input data by using a file password and stores the encrypted data in the hidden partition.
The interface 103 for reading files is configured to: and sending a self-defined reading instruction to the main control chip according to the file reading instruction input by the application layer, and receiving decrypted file data returned by the main control chip.
FIG. 2 is a schematic diagram of a second embodiment of a custom file system according to the present invention. As shown in fig. 2, the custom file system 200 of the present embodiment includes an interface 201 for opening a file, an interface 202 for writing a file, an interface 203 for reading a file, an interface 204 for deleting a directory or a file, a directory viewing interface 205, and a file attribute viewing interface 206.
The interface 201 for opening a file, the interface 202 for writing a file, and the interface 203 for reading a file are the same as the interface 101 for opening a file, the interface 102 for writing a file, and the interface 103 for reading a file in the first embodiment, which are respectively corresponding to each other, and are not described herein again.
In this embodiment, the interface 204 for deleting a directory or file is configured to: and acquiring the second identity information input by the application layer and the path of the directory or the file to be deleted, and after confirming that the path points to the hidden partition, sending a self-defined deleting instruction to the main control chip so that the main control chip executes the operation of deleting the file after verifying that the second identity information passes.
The catalog viewing interface 205 is configured to: and acquiring the third identity information input by the application layer and the path of the directory to be checked, and after confirming that the path points to the hidden partition, sending a custom directory checking instruction to the main control chip so that the main control chip returns the subdirectory and the file list under the directory to be checked after verifying that the third identity information passes.
The file property viewing interface 206 is configured to: and acquiring fourth identity information and a file path input by the application layer, and after confirming that the path points to the hidden partition, sending a custom attribute checking instruction to the main control chip so that the main control chip returns corresponding file attributes after verifying that the fourth identity information passes.
FIG. 3 is a schematic diagram of a third embodiment of a custom file system according to the present invention. As shown in fig. 3, the custom file system 300 of the present embodiment includes an interface 301 for opening a file, an interface 302 for writing a file, an interface 303 for reading a file, an interface 304 for deleting a directory or a file, a directory viewing interface 305, a file attribute viewing interface 306, a partition formatting or deleting interface 307, a partition creation interface 308, a hidden partition query interface 309, and an identity verification interface 310.
The file opening interface 301, the file writing interface 302, the file reading interface 303, the directory or file deleting interface 304, the directory viewing interface 305, and the file attribute viewing interface 306 are the same as the file opening interface 201, the file writing interface 202, the file reading interface 203, the directory or file deleting interface 204, the directory viewing interface 205, and the file attribute viewing interface 206 in the above-described second embodiment, and are not described herein.
In this embodiment, the partition formatting or deletion interface 307 is configured to: and acquiring fifth identity information and a partition name to be formatted or deleted which are input by an application layer, and sending a user-defined partition formatting or deleting instruction to a main control chip after confirming that the partition to be formatted or deleted is a hidden partition, so that the main control chip executes formatting or deleting operation on the hidden partition after verifying that the fifth identity information passes.
Partition creation interface 308 is configured to: and acquiring the sixth identity information, the name of the partition to be created, the sector address and the length which are input by the application layer, and sending a customized partition creation instruction to the main control chip so that the main control chip executes the instruction for creating the hidden partition according to the sector address and the length after verifying that the sixth identity information passes.
The hidden partition query interface 309 is configured to: and acquiring seventh identity information input by the application layer, and sending a custom hidden partition checking instruction to the main control chip so that the main control chip returns information of the hidden partition after verifying that the seventh identity information passes.
The identity verification interface 310 is configured to obtain identity information input by the application layer and send the identity information to a main control chip of the hard disk for verification.
The invention also provides an embodiment of the electronic device, wherein the electronic device of the embodiment comprises the custom file system.
Those of skill in the art will appreciate that the various illustrative method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of functionality in order to clearly illustrate the interchangeability of electronic hardware and software. Whether such functionality is implemented as electronic hardware or software depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application, but such implementation is not intended to be limiting.
Thus far, the technical solution of the present invention has been described in connection with the preferred embodiments shown in the drawings. However, it will be readily appreciated by those skilled in the art that the scope of the invention is obviously not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features may be made by those skilled in the art without departing from the principles of the present invention, and such modifications and substitutions will be within the scope of the present invention.

Claims (10)

1. A custom file system, wherein the file system is loaded or unloaded by an application program and is used for operating a hidden partition of a hard disk; the file system includes:
an interface to open a file configured to: acquiring first identity information, a file password, a file path and an opening mode which are input by an application layer, and after confirming that the file path points to the hidden partition, sending a self-defined file opening instruction to a main control chip of the hard disk so that the main control chip executes file opening operation after verifying that the first identity information passes; the custom file opening instruction comprises: the identity information, the file password, the file path, and the open mode;
an interface to write a file configured to: acquiring data input by an application layer, and sending a self-defined writing instruction to the main control chip so that the main control chip encrypts the input data by using the file password and stores the encrypted data in the hidden partition;
an interface to read a file configured to: and sending a self-defined reading instruction to the main control chip according to the file reading instruction input by the application layer, and receiving decrypted file data returned by the main control chip.
2. The custom file system of claim 1, wherein the file system further comprises:
an interface to delete a directory or file configured to: and acquiring second identity information input by an application layer and a path of a directory or a file to be deleted, and after confirming that the path points to the hidden partition, sending a self-defined deleting instruction to the main control chip so that the main control chip executes the operation of deleting the file after verifying that the second identity information passes.
3. The custom file system of claim 2, wherein the file system further comprises:
a catalog viewing interface configured to: and acquiring the third identity information input by the application layer and a path of the directory to be checked, and after confirming that the path points to the hidden partition, sending a custom directory checking instruction to the main control chip so that the main control chip returns the subdirectory and the file list under the directory to be checked after verifying that the third identity information passes.
4. The custom file system of claim 3, wherein the file system further comprises:
a file attribute viewing interface configured to: and acquiring fourth identity information and a file path input by an application layer, and after confirming that the path points to the hidden partition, sending a custom attribute checking instruction to the main control chip so that the main control chip returns corresponding file attributes after verifying that the fourth identity information passes.
5. The custom file system of claim 4, wherein the file system further comprises:
partition formatting or deleting interface configured to: and acquiring fifth identity information and a partition name to be formatted or deleted, which are input by an application layer, and after confirming that the partition to be formatted or deleted is the hidden partition, transmitting a customized partition formatting or deleting instruction to the main control chip so that the main control chip executes formatting or deleting operation on the hidden partition after verifying that the fifth identity information passes.
6. The custom file system of claim 5, wherein the file system further comprises:
a partition creation interface configured to: and acquiring sixth identity information, a partition name to be created, a sector address and a length which are input by an application layer, and sending a customized partition creation instruction to the main control chip so that the main control chip executes an instruction for creating a hidden partition according to the sector address and the length after verifying that the sixth identity information passes.
7. The custom file system of claim 6, wherein the file system further comprises:
a hidden partition query interface configured to: and acquiring seventh identity information input by an application layer, and sending a custom hidden partition checking instruction to the main control chip so that the main control chip returns information of the hidden partition after verifying that the seventh identity information passes.
8. The custom file system of claim 7, wherein the file system further comprises:
and the identity verification interface is configured to acquire the identity information input by the application layer and send the identity information to the main control chip of the hard disk for verification.
9. The custom file system of claim 8, wherein the custom file system is configured to store the custom file system,
the hard disk is a solid state disk or a mechanical hard disk;
the first identity information, the second identity information, the third identity information, the fourth identity information, the fifth identity information, the sixth identity information, and the seventh identity information are the same or different from each other.
10. An electronic device comprising the custom file system of any of claims 1-9.
CN202311685613.9A 2023-12-08 2023-12-08 Custom file system and electronic device Pending CN117668939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311685613.9A CN117668939A (en) 2023-12-08 2023-12-08 Custom file system and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311685613.9A CN117668939A (en) 2023-12-08 2023-12-08 Custom file system and electronic device

Publications (1)

Publication Number Publication Date
CN117668939A true CN117668939A (en) 2024-03-08

Family

ID=90065883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311685613.9A Pending CN117668939A (en) 2023-12-08 2023-12-08 Custom file system and electronic device

Country Status (1)

Country Link
CN (1) CN117668939A (en)

Similar Documents

Publication Publication Date Title
CN107480555B (en) Database access authority control method and device based on block chain
US7840750B2 (en) Electrical transmission system in secret environment between virtual disks and electrical transmission method thereof
US8498417B1 (en) Automation of coordination of encryption keys in a SAN based environment where an encryption engine, device management, and key management are not co-located
US9830278B1 (en) Tracking replica data using key management
CN109643356B (en) Method and system for preventing phishing or extorting software attacks
KR100806477B1 (en) Remote access system, gateway, client device, program, and storage medium
JP4759513B2 (en) Data object management in dynamic, distributed and collaborative environments
US8799681B1 (en) Redundant array of encrypting disks
US11232222B2 (en) Access management system, access management method and program
US20150244684A1 (en) Data security management system
US20100185852A1 (en) Encryption and decryption method for shared encrypted file
CN105141614B (en) A kind of access right control method and device of movable storage device
KR20060045000A (en) File locker and mechanisms for providing and using same
CN101971186A (en) Information leak prevention device, and method and program thereof
US8695085B2 (en) Self-protecting storage
JP3735300B2 (en) Information recording / reproducing system capable of restricting access and access restriction method thereof
US20100017374A1 (en) Approching control system to the file server
KR100810368B1 (en) System for preventing access and expose documents in group
US20230132303A1 (en) System for blocking a ransomware attack
CN112655037B (en) Secure file distribution system and secure file distribution method
JP2004070674A (en) Data protecting device, data protecting method and program in electronic data interchange system
CN102801728B (en) The management method of automatic login of client side and system
JP2010097510A (en) Remote access management system and method
CN117668939A (en) Custom file system and electronic device
CN113127823B (en) Method, system and medium for managing local serial port login and authority

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination