CN111045962B - SD card data confidentiality method, system, equipment and computer medium - Google Patents

SD card data confidentiality method, system, equipment and computer medium Download PDF

Info

Publication number
CN111045962B
CN111045962B CN201911310806.XA CN201911310806A CN111045962B CN 111045962 B CN111045962 B CN 111045962B CN 201911310806 A CN201911310806 A CN 201911310806A CN 111045962 B CN111045962 B CN 111045962B
Authority
CN
China
Prior art keywords
target
card
address
file system
partition table
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.)
Active
Application number
CN201911310806.XA
Other languages
Chinese (zh)
Other versions
CN111045962A (en
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.)
Hunan Goke Microelectronics Co Ltd
Original Assignee
Hunan Goke Microelectronics 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 Hunan Goke Microelectronics Co Ltd filed Critical Hunan Goke Microelectronics Co Ltd
Priority to CN201911310806.XA priority Critical patent/CN111045962B/en
Publication of CN111045962A publication Critical patent/CN111045962A/en
Application granted granted Critical
Publication of CN111045962B publication Critical patent/CN111045962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory
    • G06F12/1408Protection against unauthorised use of memory or access to memory by using cryptography
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/073Special arrangements for circuits, e.g. for protecting identification code in memory
    • G06K19/07309Means for preventing undesired reading or writing from or onto record carriers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Storage Device Security (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a method, a system, equipment and a computer medium for secure data of an SD card, which determine a file system partition table of a target SD card; determining a target address in the target SD card, wherein the target address is an address except for the block address 0 in the target SD card; and placing the file system partition table at the target address, and ensuring that the file system partition table is unique in the target SD card. According to the data confidentiality method for the SD card, the file system partition table in the target SD card is placed at the target address except the block address 0, so that other hosts cannot read the file system partition table under the condition that the target address is not known, files in the SD card cannot be read, and data confidentiality of the target SD card is achieved. The SD card data confidentiality system, the SD card data confidentiality equipment and the computer readable storage medium also solve the corresponding technical problems.

Description

SD card data confidentiality method, system, equipment and computer medium
Technical Field
The present invention relates to the field of data security technologies, and in particular, to a method, a system, an apparatus, and a computer medium for secure data of an SD card.
Background
The SD card is a new generation memory device based on a semiconductor flash memory, and is widely used in portable devices such as digital cameras, tablet computers, multimedia players, etc. due to its excellent characteristics of small size, fast data transmission speed, hot-pluggable, etc.
However, one SD card can be recognized by a plurality of devices, thereby making the data security of the SD card poor.
In summary, how to improve the data security of the SD card is a problem to be solved by those skilled in the art.
Disclosure of Invention
The purpose of the application is to provide a data confidentiality method of an SD card, which can solve the technical problem of how to improve the data security of the SD card to a certain extent. The application also provides an SD card data security system, equipment and a computer readable storage medium.
In order to achieve the above object, the present application provides the following technical solutions:
a method of secure data for an SD card, comprising:
determining a file system partition table of a target SD card;
determining a target address in the target SD card, wherein the target address is an address except for a block address 0 in the target SD card;
and placing the file system partition table at the target address, and ensuring that the file system partition table is unique in the target SD card.
Preferably, the determining the target address in the target SD card, where the target address is an address in the target SD card except for the block address 0, includes:
in the original byte space of the target SD card, any block address other than the block address 0 is determined as the target address.
Preferably, the placing the file system partition table at the target address and ensuring that the file system partition table is unique in the target SD card includes:
judging whether the file system partition table exists on the block address 0 of the target SD card;
if yes, directly transferring the file system partition table on the block address 0 to the target address;
if not, the file system partition table is directly placed at the target address.
Preferably, after the ensuring that the file system partition table is unique in the target SD card, the method further includes:
and covering the preset information to the block address 0.
Preferably, the preset information includes start-up information in the target SD card.
Preferably, the preset information includes information not belonging to the target SD card.
Preferably, the preset information includes information on the target address in the target SD card.
Preferably, after the file system partition table is placed at the target address, the method further includes:
and sending the target address to a host bound with the target SD card, so that the host modifies the SD card drive of the host based on the target address, and the host directly reads the file system partition table from the target address.
Preferably, after the file system partition table is placed at the target address, the method further includes:
judging whether the host currently driving the target SD card is a host bound with the target SD card, if not, transferring the file system partition table from the target address to the block address 0 in the target SD card after a preset transfer condition is met.
Preferably, after the transferring the file system partition table from the target address to the block address 0, the method further includes:
after the host finishes using the target SD card, transferring the file system partition table from the block address 0 to the target address.
An SD card data security system comprising:
the first determining module is used for determining a file system partition table of the target SD card;
the second determining module is used for determining a target address in the target SD card, wherein the target address is an address except for the block address 0 in the target SD card;
and the first setting module is used for placing the file system partition table at the target address and ensuring that the file system partition table is unique in the target SD card.
An SD card data security device, comprising:
a memory for storing a computer program;
and the processor is used for realizing the steps of the SD card data confidentiality method when executing the computer program.
A computer readable storage medium having stored therein a computer program which when executed by a processor performs the steps of the SD card data confidentiality method as described in any one of the above.
The method for data confidentiality of the SD card determines a file system partition table of a target SD card; determining a target address in the target SD card, wherein the target address is an address except for the block address 0 in the target SD card; and placing the file system partition table at the target address, and ensuring that the file system partition table is unique in the target SD card. According to the data confidentiality method for the SD card, the file system partition table in the target SD card is placed at the target address except the block address 0, so that other hosts cannot read the file system partition table under the condition that the target address is not known, files in the SD card cannot be read, and data confidentiality of the target SD card is achieved. The SD card data confidentiality system, the SD card data confidentiality equipment and the computer readable storage medium also solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
FIG. 1 is a first flowchart of a method for secure data of an SD card according to an embodiment of the present disclosure;
FIG. 2 is a second flowchart of a method for secure data of an SD card according to an embodiment of the present disclosure;
FIG. 3 is a diagram of the internal memory partition of a standard SD card;
FIG. 4 is a block diagram of the internal memory space of the SD card of the present application;
fig. 5 is a schematic structural diagram of an SD card data security system according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an SD card data security device according to an embodiment of the present application;
fig. 7 is another schematic structural diagram of an SD card data security device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Referring to fig. 1, fig. 1 is a first flowchart of an SD card data security method according to an embodiment of the present application.
The data security method for the SD card provided by the embodiment of the application can comprise the following steps:
step S101: and determining a file system partition table of the target SD card.
In practical application, the file system partition table of the target SD card can be determined first. Specifically, the mode of determining the file system partition table can be determined according to whether the target SD card is manufactured, for example, for the manufactured target SD card, since the file system partition table is stored in the block address 0 of the target SD card by default, the file system partition table in the block address 0 can be directly read; for the target SD card in the manufacturing process, the file system partition table may not be written into the target SD card, and at this time, the file system partition table may be determined under the external control of the user and the like.
Step S102: and determining a target address in the target SD card, wherein the target address is an address except for the block address 0 in the target SD card.
In practical application, after determining the file system partition table of the target SD card, the target address, that is, the address for storing the file system partition table, may be determined in the target SD card. Since the file system partition table of the SD card is stored in the block address 0 of the target SD card by default, if the block address 0 is used as the target address, all hosts can read the file system partition table from the block address 0, and then file reading is carried out on the target SD card according to the file system partition table; therefore, in order to hide the file system partition table in the target SD card, other addresses than the block address 0 in the target SD card are required as target addresses.
Step S103: and placing the file system partition table at the target address, and ensuring that the file system partition table is unique in the target SD card.
In practical application, after the target address is determined in the target SD card, the file system partition table may be placed at the target address, and it is ensured that the file system partition table is unique in the target SD card, that is, the file system partition table may only store the target address in the target SD card.
The method for data confidentiality of the SD card determines a file system partition table of a target SD card; determining a target address in the target SD card, wherein the target address is an address except for the block address 0 in the target SD card; and placing the file system partition table at the target address, and ensuring that the file system partition table is unique in the target SD card. According to the data confidentiality method for the SD card, the file system partition table in the target SD card is placed at the target address except the block address 0, so that other hosts cannot read the file system partition table under the condition that the target address is not known, files in the SD card cannot be read, and data confidentiality of the target SD card is achieved.
In the data security method for an SD card provided in the embodiment of the present application, the target address of the file system partition table may be any address except for the block address 0 in the target SD card theoretically, however, in the application process of the SD card, formatting operation may be performed on the SD card, and at this time, all other spaces except for the initial byte space in the SD card may be formatted, and in this case, the file system partition table may also be formatted, so, in order to avoid the file system partition table being formatted, the target address is determined in the target SD card, and when the target address is an address except for the block address 0 in the target SD card, any block address except for the block address 0 may be determined as the target address in the initial byte space of the target SD card.
It should be noted that the size of the initial byte space of the SD card may be determined according to actual needs, for example, 1M.
In the data security method for the SD card provided by the embodiment of the present application, in order to quickly place the file system partition table at the target address and ensure the uniqueness of the file system partition table, when the file system partition table is placed at the target address and ensure that the file system partition table is uniqueness in the target SD card, it may be determined whether the file system partition table exists at the block address 0 of the target SD card; if yes, directly transferring the file system partition table on the block address 0 to a target address; if not, the file system partition table is directly placed at the target address.
In the method for keeping secure data in the SD card provided in the embodiment of the present invention, since the file system partition table is only stored in the target address, then the block address 0 of the SD card is idle, and in this case, in order to further improve the security of the SD card data, other information except the file system partition table may be added to the block address 0 to confuse the host, so that after ensuring that the file system partition table is unique in the target SD card, the preset information may be further covered to the block address 0.
In a specific application, the preset information may include start information in the target SD card. In the process, a copy of starting information can be copied at will and added into the target SD card, at this time, when the SD card is started, the starting information on the block address 0 is directly ignored, so that the SD card can be started normally; when the SD card is started, the block address 0 and the information on the target address can be exchanged, namely the starting information on the block address 0 can be transferred to the target address, and the file system partition table on the target address is transferred to the block address 0, so that the SD card is started normally; of course, when the target address is not the address storing the start information, a certain start information may be transferred to the block address 0, and then, when the SD card is started, the start information may be transferred to the original address, and then the SD card may be started normally.
In a specific application, for convenience, the preset information may be set to information not belonging to the target SD card.
In a specific application, for convenience, when information is stored in the target address, the preset information may be set as the information in the target address in the target SD card.
Of course, other ways of determining the preset information are also possible, which will not be described in detail herein.
Referring to fig. 2, fig. 2 is a second flowchart of an SD card data security method according to an embodiment of the present application.
The data security method for the SD card provided by the embodiment of the application can comprise the following steps:
step S201: and determining a file system partition table of the target SD card.
Step S202: and determining a target address in the target SD card, wherein the target address is an address except for the block address 0 in the target SD card.
Step S203: and placing the file system partition table at the target address, and ensuring that the file system partition table is unique in the target SD card.
Step S204: and sending the target address to a host bound with the target SD card, so that the host modifies the SD card driver of the host based on the target address, and the host directly reads the file system partition table from the target address.
In practical application, in order to facilitate the host bound by the target SD card to read the data information on the target SD card, after the file system partition table is placed at the target address, the target address may also be sent to the host bound by the target SD card, so that the host modifies its own SD card driver based on the target address, and the host directly reads the file system partition table from the target address.
It should be noted that, the host modifies its own SD card drive based on the target address information, that is, modifies the address of the file system partition table read in its own SD drive from the default block address 0 to the target address, so that when the host reads the SD card, the host may directly read the file system partition table from the target address, and further may directly read the file of the target SD card.
In the method for keeping secure data in SD card provided in the embodiment of the present invention, when the host is not the host bound to the target SD card, in order to enable these hosts to read and write the target SD card, after the file system partition table is placed at the target address, it may be determined whether the host currently driving the target SD card is the host bound to the target SD card, if not, after the preset transfer condition is satisfied, the file system partition table is transferred from the target address to the block address 0 in the target SD card. That is, when the host bound to the non-target SD card reads the target SD card, the file system partition table in the target SD card may be transferred from the target address to the block address 0, so that the host bound to the non-target SD card may normally read the file system partition table from the block address 0, and further may normally read and write the file of the target SD card. And the host bound by the non-target SD card cannot determine the target address, so that the host bound by the non-target SD card cannot read the file system partition table on the target address, and the data confidentiality of the target SD card is ensured. The preset transferring condition can be determined according to actual needs, such as whether to obtain the transferring authority of the system partition table, and the like, specifically, whether to obtain the transferring authority of the system partition table can be determined by judging whether to receive a preset tool, and the preset tool can be a tool for transferring the partition table of the file system, and the like; thus, after receiving the preset tool, the host bound by the non-target SD card acquires the transfer authority of the file system partition table, and the file system partition table can be transferred from the target address to the block address 0 through the preset tool.
In a specific application scenario, after the file system partition table is transferred from the target address to the block address 0, in order to continue to ensure the data confidentiality of the target SD card, after the host finishes using the target SD card, the file system partition table may also be transferred from the block address 0 to the target address.
It should be noted that the data security method of the SD card in the present application is equally applicable to the process of manufacturing the target SD card. The combination of the SD card data security method and the manufacturing process of the target SD card in the present application will now be described with reference to fig. 3 and 4. Fig. 3 is a block diagram of the internal memory space of the standard SD card, fig. 4 is a block diagram of the internal memory space of the SD card of the present application, and in fig. 4, the block address 1024 is the target address, and the manufacturing process of the target SD card is as follows:
dividing the SD card into a plurality of partitions according to the requirement of the SD card, and formatting the SD card user partitions;
writing a starting program, a system and the like required by the SD card into the SD card, specifically, storing the starting program in block addresses 1-2047 (initial 1 Mbyte space of the SD card), dividing a partition storage system kernel, and dividing a file system of the partition storage system;
the file system partition information table of the SD card is placed at the block address 1024, and the partition information table of block address 0 is covered with a startup procedure or the like.
After the target SD card is manufactured, the host to which the target SD card is bound needs to modify its own SD card driver, so that the host directly reads the file system partition information table in the block address 1024 when reading the file system partition table. For the host bound by the non-target SD card, the file system partition information table of the SD card needs to be restored from the block address 1024 to the block address 0, and accordingly, after the non-target SD card is used, if the target SD card is to be plugged back into the host bound by the target SD card, the partition information table needs to be restored from the block address 0 to the block address 1024, and the partition information table covering the block address 0 can be used by a startup procedure or the like.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an SD card data security system according to an embodiment of the present application.
The data security system of the SD card provided in the embodiment of the present application may include:
a first determining module 101, configured to determine a file system partition table of the target SD card;
a second determining module 102, configured to determine a target address in the target SD card, where the target address is an address in the target SD card except for the block address 0;
the first setting module 103 is configured to place the file system partition table at the target address, and ensure that the file system partition table is unique in the target SD card.
The second determining module of the SD card data security system provided in the embodiment of the present application may include:
and a first determining unit configured to determine, as the target address, any one of the block addresses other than the block address 0 in the initial byte space of the target SD card.
The embodiment of the application provides an SD card data security system, and the first setting module may include:
a first judging unit for judging whether a file system partition table exists on the block address 0 of the target SD card; if yes, directly transferring the file system partition table on the block address 0 to a target address; if not, the file system partition table is directly placed at the target address.
The data security system for SD card provided in the embodiment of the present application may further include:
and the first covering module is used for covering the preset information to the block address 0 after the first setting module ensures that the file system partition table is unique in the target SD card.
The embodiment of the application provides an SD card data security system, and the preset information comprises starting information in a target SD card.
The data security system for the SD card provided by the embodiment of the application comprises preset information which does not belong to a target SD card.
The embodiment of the application provides an SD card data security system, and the preset information comprises information on a target address in a target SD card.
The data security system for SD card provided in the embodiment of the present application may further include:
and the first sending module is used for sending the target address to the host bound by the target SD card after the first setting module places the file system partition table at the target address, so that the host modifies the SD card driver of the host based on the target address, and the host directly reads the file system partition table from the target address.
The data security system for SD card provided in the embodiment of the present application may further include:
and the first judging module is used for judging whether the host for driving the target SD card is a host bound with the target SD card or not after the first setting module places the file system partition table at the target address, and if not, transferring the file system partition table from the target address to the block address 0 in the target SD card after the preset transfer condition is met.
The data security system of the SD card provided by the embodiment of the application can further comprise;
and the first transfer module is used for transferring the file system partition table from the block address 0 to the target address after the host finishes using the target SD card after the first judgment module transfers the file system partition table from the target address to the block address 0.
The application also provides an SD card data security device and a computer readable storage medium, which have the corresponding effects of the SD card data security method provided by the embodiment of the application. Referring to fig. 6, fig. 6 is a schematic structural diagram of an SD card data security device according to an embodiment of the present application.
The data security device for SD card provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program:
determining a file system partition table of a target SD card;
determining a target address in the target SD card, wherein the target address is an address except for the block address 0 in the target SD card;
and placing the file system partition table at the target address, and ensuring that the file system partition table is unique in the target SD card.
The data security device for SD card provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: in the original byte space of the target SD card, any one block address other than the block address 0 is determined as the target address.
The data security device for SD card provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: judging whether a file system partition table exists on a block address 0 of the target SD card; if yes, directly transferring the file system partition table on the block address 0 to a target address; if not, the file system partition table is directly placed at the target address.
The data security device for SD card provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: after ensuring that the file system partition table is unique in the target SD card, the preset information is covered to the block address 0.
The data security device for SD card provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: the preset information includes start-up information in the target SD card.
The data security device for SD card provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: the preset information includes information not belonging to the target SD card.
The data security device for SD card provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: the preset information includes information on a target address in the target SD card.
The data security device for SD card provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: after the file system partition table is placed at the target address, the target address is sent to the host bound by the target SD card, so that the host modifies the SD card driver of the host based on the target address, and the host directly reads the file system partition table from the target address.
The data security device for SD card provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: and after the file system partition table is placed at the target address, judging whether the host for driving the target SD card is the host bound by the target SD card, if not, transferring the file system partition table from the target address to the block address 0 in the target SD card after the preset transfer condition is met.
The data security device for SD card provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: after the file system partition table is transferred from the target address to the block address 0, after the host finishes using the target SD card, the file system partition table is transferred from the block address 0 to the target address.
Referring to fig. 7, another SD card data security device provided in an embodiment of the present application may further include: an input port 203 connected to the processor 202 for transmitting an externally input command to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing result of the processor 202 to the outside; and the communication module 205 is connected with the processor 202 and is used for realizing communication between the SD card data security device and the outside. The display unit 204 may be a display panel, a laser scanning display, or the like; communication means employed by the communication module 205 include, but are not limited to, mobile high definition link technology (HML), universal Serial Bus (USB), high Definition Multimedia Interface (HDMI), wireless connection: wireless fidelity (WiFi), bluetooth communication, bluetooth low energy communication, ieee802.11s based communication.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
determining a file system partition table of a target SD card;
determining a target address in the target SD card, wherein the target address is an address except for the block address 0 in the target SD card;
and placing the file system partition table at the target address, and ensuring that the file system partition table is unique in the target SD card.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: in the original byte space of the target SD card, any one block address other than the block address 0 is determined as the target address.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: judging whether a file system partition table exists on a block address 0 of the target SD card; if yes, directly transferring the file system partition table on the block address 0 to a target address; if not, the file system partition table is directly placed at the target address.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: after ensuring that the file system partition table is unique in the target SD card, the preset information is covered to the block address 0.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: the preset information includes start-up information in the target SD card.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: the preset information includes information not belonging to the target SD card.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: the preset information includes information on a target address in the target SD card.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: after the file system partition table is placed at the target address, the target address is sent to the host bound by the target SD card, so that the host modifies the SD card driver of the host based on the target address, and the host directly reads the file system partition table from the target address.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: and after the file system partition table is placed at the target address, judging whether the host for driving the target SD card is the host bound by the target SD card, if not, transferring the file system partition table from the target address to the block address 0 in the target SD card after the preset transfer condition is met.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: after the file system partition table is transferred from the target address to the block address 0, after the host finishes using the target SD card, the file system partition table is transferred from the block address 0 to the target address.
The computer readable storage medium referred to in this application includes Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The description of the related parts in the SD card data security system, the device and the computer readable storage medium provided in the embodiments of the present application is referred to the detailed description of the corresponding parts in the SD card data security method provided in the embodiments of the present application, and is not repeated here. In addition, the parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of the corresponding technical solutions in the prior art, are not described in detail, so that redundant descriptions are avoided.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method for securing data in an SD card, comprising:
determining a file system partition table of a target SD card;
determining a target address in the target SD card, wherein the target address is an address except for a block address 0 in the target SD card;
placing the file system partition table at the target address, and ensuring that the file system partition table is unique in the target SD card;
the determining the target address in the target SD card, where the target address is an address in the target SD card except for the block address 0, includes:
determining any block address except the block address 0 as the target address in the initial byte space of the target SD card;
wherein, after the ensuring that the file system partition table is unique in the target SD card, the method further comprises:
covering the preset information to the block address 0;
the preset information comprises starting information in the target SD card; or (b)
The preset information comprises information which does not belong to the target SD card; or (b)
The preset information comprises information on the target address in the target SD card.
2. The method of claim 1, wherein said placing the file system partition table at the target address and ensuring that the file system partition table is unique in the target SD card comprises:
judging whether the file system partition table exists on the block address 0 of the target SD card;
if yes, directly transferring the file system partition table on the block address 0 to the target address;
if not, the file system partition table is directly placed at the target address.
3. The method of any of claims 1 to 2, wherein the placing the file system partition table after the target address further comprises:
and sending the target address to a host bound with the target SD card, so that the host modifies the SD card drive of the host based on the target address, and the host directly reads the file system partition table from the target address.
4. The method of any of claims 1 to 2, wherein the placing the file system partition table after the target address further comprises:
judging whether the host currently driving the target SD card is a host bound with the target SD card, if not, transferring the file system partition table from the target address to the block address 0 in the target SD card after a preset transfer condition is met.
5. The method of claim 4, wherein after transferring the file system partition table from the target address to the block address 0, further comprising:
after the host finishes using the target SD card, transferring the file system partition table from the block address 0 to the target address.
6. An SD card data security system, comprising:
the first determining module is used for determining a file system partition table of the target SD card;
the second determining module is used for determining a target address in the target SD card, wherein the target address is an address except for the block address 0 in the target SD card;
the first setting module is used for placing the file system partition table at the target address and ensuring that the file system partition table is unique in the target SD card;
wherein the second determining module includes:
a first determining unit configured to determine, as the target address, any block address other than the block address 0 in an initial byte space of the target SD card;
wherein, still include:
the first covering module is used for covering preset information to the block address 0 after the first setting module ensures that the file system partition table is unique in the target SD card;
the preset information comprises starting information in the target SD card; or (b)
The preset information comprises information which does not belong to the target SD card; or (b)
The preset information comprises information on the target address in the target SD card.
7. An SD card data security device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the SD card data confidentiality method according to any one of claims 1 to 5 when executing said computer program.
8. A computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, which when executed by a processor, implements the steps of the SD card data confidentiality method according to any one of claims 1 to 5.
CN201911310806.XA 2019-12-18 2019-12-18 SD card data confidentiality method, system, equipment and computer medium Active CN111045962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911310806.XA CN111045962B (en) 2019-12-18 2019-12-18 SD card data confidentiality method, system, equipment and computer medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911310806.XA CN111045962B (en) 2019-12-18 2019-12-18 SD card data confidentiality method, system, equipment and computer medium

Publications (2)

Publication Number Publication Date
CN111045962A CN111045962A (en) 2020-04-21
CN111045962B true CN111045962B (en) 2023-06-09

Family

ID=70237161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911310806.XA Active CN111045962B (en) 2019-12-18 2019-12-18 SD card data confidentiality method, system, equipment and computer medium

Country Status (1)

Country Link
CN (1) CN111045962B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601430A (en) * 2004-10-14 2005-03-30 苏州超锐微电子有限公司 Method of carrying out hard disk protection by utilizing encryption of main zoning

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9812836D0 (en) * 1998-06-16 1998-08-12 Ncr Int Inc Data security arrangement
DE60017870T2 (en) * 1999-10-21 2005-06-23 Matsushita Electric Industrial Co., Ltd., Kadoma A SEMICONDUCTOR MEMORY CARD ACCESS ARRANGEMENT, A COMPUTER READABLE RECORDING MEDIUM, INITIALIZATION PROCEDURE, AND A SEMICONDUCTOR MEMORY CARD
US6532538B1 (en) * 2000-02-17 2003-03-11 International Business Machines Corporation Method and system for supporting multiple operating systems on the same disk running on different computers at the same time
CN100476761C (en) * 2002-05-20 2009-04-08 邵通 Device and method of realizing hard disk safety isolation
JP4559359B2 (en) * 2003-02-20 2010-10-06 パナソニック株式会社 Information recording medium and area management method thereof
JP5098145B2 (en) * 2005-10-12 2012-12-12 ソニー株式会社 Data management apparatus and recording medium management method
CN101430747B (en) * 2008-09-26 2011-09-07 武汉大学 Movable equipment based on credible embedded platform and its security storage method
EP2535846A4 (en) * 2010-02-10 2013-04-17 Huawei Device Co Ltd Method and apparatus for partitioning sd card, sd card and terminal devices
CN102184144A (en) * 2011-04-27 2011-09-14 中国人民解放军炮兵学院南京分院 Hardware-encryption mobile hard disk drive and application method thereof
CN102693283B (en) * 2012-05-07 2015-10-28 深圳市共进电子股份有限公司 A kind of data partition storage method of embedded system and System guides starting method
CN103020550B (en) * 2012-12-03 2016-08-17 记忆科技(深圳)有限公司 A kind of solid state hard disc and safety access method, solid state hard disk system
CN105809050B (en) * 2014-12-31 2018-10-02 北京元心科技有限公司 A kind of partition method and device of multiple operating system
CN105528307B (en) * 2015-11-27 2019-03-29 联想(北京)有限公司 A kind of method and electronic equipment of information processing
CN106778283B (en) * 2016-11-21 2020-04-07 惠州Tcl移动通信有限公司 Method and system for protecting key data of system partition
CN109710295B (en) * 2018-11-23 2022-05-27 北京计算机技术及应用研究所 Safe and reliable FPGA remote upgrading method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601430A (en) * 2004-10-14 2005-03-30 苏州超锐微电子有限公司 Method of carrying out hard disk protection by utilizing encryption of main zoning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈祖爵 ; 蒋仕俊 ; .智能遥控器SD卡文件系统的设计与实现.计算机工程与设计.2007,第28卷(第19期),4716-4718. *

Also Published As

Publication number Publication date
CN111045962A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
US11216206B2 (en) Method of operating data storage device
WO2017020647A1 (en) Novel storage-based embedded file system and realization method thereof
JP2008547068A (en) USB-SD storage device having a plurality of DMA channels, storage method thereof and recording medium
TWI790456B (en) Memory addressing methods and associated controller
KR20190120573A (en) Memory system, data processing system and operating method of the memory system
KR100592105B1 (en) Method for controlling access to partitioned blocks of shared memory and portable terminal having shared memory
CN110908927A (en) Data storage device and method for deleting name space thereof
US11068283B2 (en) Semiconductor apparatus, operation method thereof, and stacked memory apparatus having the same
US20110179217A1 (en) Flash Storage Device and Data Access Method of Flash Memory
CN111045962B (en) SD card data confidentiality method, system, equipment and computer medium
CN115883022B (en) DMA transmission control method, apparatus, electronic device and readable storage medium
US20150326684A1 (en) System and method of accessing and controlling a co-processor and/or input/output device via remote direct memory access
US8275932B2 (en) Method for transmitting special commands to flash storage device
US11720624B2 (en) Storage device, electronic system including storage device, and control program for storage device
US10146553B2 (en) Electronic apparatus and booting method thereof
US20160048353A1 (en) Memory system and method of controlling memory system
KR20120134463A (en) Optical data backup method and device adopting the method
US9916103B2 (en) Memory control device, memory device, and memory control method
JP6318073B2 (en) Electronics
US20150242338A1 (en) Memory device and method enabling performance of special operations by application of memory device
CN110286995B (en) Data reading and writing method and device
KR100592109B1 (en) Method for controlling access to partitioned blocks of shared memory and portable terminal having shared memory
CN110928682A (en) Method for external equipment to access computer memory
KR100743253B1 (en) Method and apparatus for correcting code data error
KR20210016938A (en) Data processing system and operating method thereof

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
GR01 Patent grant
GR01 Patent grant