An information processing method and electronic device
A technology of electronic equipment and processing unit, which is applied in the field of information processing and can solve the problems of data leakage and low security of hard disk data.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0017] This embodiment provides an information processing method, which is applied to an electronic device. The electronic device can be a notebook computer, a desktop computer, a smart phone, a tablet computer, etc., and a hard disk is externally connected to or built into the electronic device, such as a mechanical hard disk, a solid state Hard disk (SSD, Solid State Drives), mobile hard disk, etc.
[0018] In the prior art, a hard disk has a primary partition table and a partition table of an extended partition, wherein the primary partition table is always located in the first physical sector (0 cylinder, 0 head, 1 sector) of the hard disk, and the remaining partition tables The location can be deduced sequentially from the main partition table. Since the storage location of the main partition table is fixed, illegal users can obtain the main partition table, and then obtain other partition tables, and finally obtain the data in the hard disk, resulting in data leakage.
...
Embodiment 2
[0038] On the basis of Embodiment 1, since the preset partition table of the hard disk is generated by the hard disk according to its own situation, before S101, refer to figure 2 As shown, the method also includes:
[0039] S201: Obtain a data formatting instruction;
[0040] S202: Execute a data formatting instruction, format the hard disk, and determine a storage location except for the first physical sector according to a preset policy;
[0041]Specifically, the electronic device executes the above-mentioned data formatting instructions, formats the hard disk, erases all data in the hard disk, and initializes the original partition as one partition. At the same time, the electronic device deletes the second A storage location is determined according to a preset policy in all storage units other than a physical sector.
[0042] In practical applications, the electronic device may determine the third physical sector on the hard disk as a storage location according to a pr...
Embodiment 3
[0059] On the basis of Embodiment 1 or Embodiment 2, in addition to being able to read data from the hard disk, the electronic device can also write data into the hard disk, so see image 3 As shown, before S101, the method also includes:
[0060] S301: Obtain a data write instruction;
[0061] Specifically, when the user wants to store data in the hard disk, or the application program needs to store data in the hard disk, the electronic device obtains a data writing instruction.
[0062] Here, the data to be written into the hard disk can be image files of the operating system, user data, picture files, video files, audio files, documents, etc., and all data that can be stored in the hard disk can be used, and the present invention does not specifically limit it.
[0063] S302: Execute a data write command, and read a preset partition table;
[0064] Specifically, the same as S102, the electronic device executes the data writing instruction, and knows that the data writing ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


