CN101097548A - Storing card data hidden management method and program thereof - Google Patents

Storing card data hidden management method and program thereof Download PDF

Info

Publication number
CN101097548A
CN101097548A CNA200610036302XA CN200610036302A CN101097548A CN 101097548 A CN101097548 A CN 101097548A CN A200610036302X A CNA200610036302X A CN A200610036302XA CN 200610036302 A CN200610036302 A CN 200610036302A CN 101097548 A CN101097548 A CN 101097548A
Authority
CN
China
Prior art keywords
sector number
storage card
hidden
data
hiding
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
CNA200610036302XA
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.)
Mitac Computer Shunde Ltd
Shunda Computer Factory Co Ltd
Mitac International Corp
Original Assignee
Mitac Computer Shunde Ltd
Mitac International Corp
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 Mitac Computer Shunde Ltd, Mitac International Corp filed Critical Mitac Computer Shunde Ltd
Priority to CNA200610036302XA priority Critical patent/CN101097548A/en
Publication of CN101097548A publication Critical patent/CN101097548A/en
Pending legal-status Critical Current

Links

Images

Abstract

A kind of hidden management method and program for data of storage card, and it can edit the Master Block Record in storage card by executive program, and build hidden blocks in where just the executive program can access the data, because the data in hidden section can be managed by the executive program of computer which includes data storing and data accessing, and the data management is more secure.

Description

Storing card data hidden management method and program thereof
[Ji Intraoperative field]
The present invention is a kind of data managing method and program thereof, refers in particular to a kind of storage card that is applied to, and (Master Block Record, compiling MBR) produces hidden blocks, carries out the method and the program thereof of data access management to the main block log file in utilization.
[Bei Jing Ji Intraoperative]
The data-hiding method of relevant storage card of past, rest on mostly and directly be stored in file in the storage card, see through then file attribute changed to and hide that attribute reaches, just can allow common people can't find to be hidden in data in the storage card easily thus.
But this utilization can reach the file amendment attribute way of hiding purpose, though reach very easily, but still has following problem for so-called hiding data:
(1) when storage card copies fully,, still can be copied on other medium because of copying fully though this moment, file attribute was hidden.
(2) when storage card formats, both made file attribute belong to concealment property this moment, still can be eliminated fully.
Therefore, existing storing card data hidden technology, hiding be replicated, ruined secret worry, can't ensure the safety of data fully.
Utilize storage card to be used as the manufacturer of the main medium of product for some especially, manufacturer need directly be placed on the needed significant data of some products on the storage card to reach the purpose of easy access sometimes, but these significant datas do not wish again to be found easily by common people, do not wish to be replicated or to destroy yet, and have influence on the use of product, so need to propose a kind of data hidden administrative mechanism safer on the storage card that is applied in.
Therefore, how to utilize the design to computer executable program, proposing a cover can be with data hidden in storage card, and easily hiding data is carried out access management, can also definitely guarantee the method for hiding data security, be the target and the direction place of making great efforts at present.
[summary of the invention]
The object of the present invention is to provide a kind of storing card data hidden Management Mechanism, design by computer executable program, to (the Master Block Record of the main block log file in the storage card, MBR) compile, make storage card produce a hidden blocks, therefore data can be hidden in the storage card safely, and can be easy to carry out data access management.
Therefore, for reaching above-mentioned purpose, the disclosed storing card data hidden management method of the present invention is divided into: (1) storage data and (2) acquisition data two parts.
In the storage section data, include the following step: at first be connected to storage card and read in the storage card main block log file of being stored; Then resolve total sector number of main block log file; Replace total sector number of main block log file with the predetermined sector number, and calculate the hiding sector number of being planned simultaneously; Return then and deposit main block log file and recording storage card identification code, total sector number, predetermined sector number and hide sector number in the management accounts file; Again carry out storage card formatsization with predetermined sector number and hiding sector number at last; Just can carry out and write instruction with the hidden blocks of data storage in storage card this moment.
Part at acquisition data includes the following step: at first be connected to storage card and load the management log file; Then read the management accounts file the storage card identification code and with the contrast of the main block log file of storage card; Whether the result of contrast storage card identification code coincide.If coincide, then can calculate the scope of the hidden blocks of before being planned according to total sector number and predetermined sector number, just can carry out reading command then the hidden blocks of storage card is carried out data acquisition.
The part of whole storing card data hidden supervisory routine then includes: (1) setting module; (2) access module; (3) compile module; (4) memory module; And the several functional modules of (5) instruction module.
Therefore, see through above-mentioned computer executable program and method, just can reach the effect that the data that are hidden in the storage card hidden blocks are carried out access management easily.
[description of drawings]
Fig. 1 is the memorying data flow journey figure of storing card data hidden management method of the present invention.
Fig. 2 is the acquisition data process flow diagram of storing card data hidden management method of the present invention.
Fig. 3 is the functional module framework figure of storing card data hidden supervisory routine of the present invention.
Fig. 4 carries out the storage card physical blocks synoptic diagram of front and back for the present invention.
[embodiment]
Storing card data hidden management method of the present invention for utilizing the performed method flow of computer executable program, mainly is divided into two parts: the one, and the method flow of storage data 30; Another is the method flow of acquisition data 30.Be respectively described below:
Please refer to Fig. 1, the method flow for storage data 30 can be hidden in data 30 in the storage card.At first, seeing through computer bus 20 can be connected on the storage card 10 program of the present invention, and read the main block log file of being stored in the storage card 10 (step 100), this main block log file is recorded in first sector of storage card 10 usually, generally can record information such as total sector number 400 of storage card 10 and storage card identification code in the main block log file; Then, in the main block log file, parse total sector number 400 (step 110) of being stored; At this moment, replace total sector number 400 of main block log file with the predetermined sector that sets in advance several 410, and calculate hiding sector number 420 sizes (step 120) of required planning simultaneously, generally speaking this predetermined sector several 410 must be less than total sector number 400, and the size of hiding sector number 420 just in time deducts the size of predetermined sector several 410 for total sector number 400; Then, return and deposit the main block log file to first sector of storage card 10, and simultaneously with correlation parameter, as: storage card identification code, total sector number 400, predetermined sector several 410 and hiding sector number 420 ... be recorded in etc. information in the management accounts file of program of the present invention (step 130), because each storage card 10 all has unique storage card identification code, therefore in the management accounts file, can see through this storage card identification code and write down 10 other information of a plurality of storage cards; Finish after the storage, just come again storage card 10 to be carried out formative action (step 140) with predetermined sector several 410 and hiding sector number 420, format can be carried out according to fixing direction usually, therefore through after the format, can produce a general user earlier in the storage card 10 and can carry out outside the block (size equals several 410 sizes of predetermined sector) of data access, then produce the hidden blocks (size equals to hide sector number 420 sizes) that another piece can't be known line data 30 accesses of going forward side by side for general user then; At this moment, just can see through carry out in the hidden blocks that the mode that writes instruction is stored in required hiding data 30 storage card 10 (step 150).
Because the information of relevant hidden blocks, only be retained in the management accounts file of program of the present invention, therefore have the action that can carry out access through program of the present invention to the data 30 that are hidden only, and the method flow of relevant data 30 acquisitions will cooperate Fig. 2 to be described as follows:
At first, see through computer bus 20 equally and program of the present invention is connected to institute desires in the storage card 10 of acquisition data 30, finish the connection just management accounts file (step 200) of load store in program of the present invention afterwards; At this moment, read the storage card identification code of management accounts file and compare (step 210) with storage card identification code in the main block log file of storage card, when the record that stores in the management accounts file more than one, then will search storage card identification code in the management accounts file through reading the storage card identification code in the main block log file on the storage card; If both comparing results coincide (step 220), perhaps when searching when having identical storage card identification code with the main block log file, expression can identify hidden blocks scope corresponding on the storage card, therefore just can carry out access to the data 30 in these storage card 10 hidden blocks; At this moment, total sector number 400, the predetermined sector several 410 that just can see through in the management accounts file calculates hidden blocks scope (step 230); At last, carry out a reading command come in the storage card 10 hidden blocks carry out data 30 acquisitions (step 240).
Fig. 3 is the functional module framework figure of program of the present invention, in order to realize that the data 30 of storage card 10 are hidden management, mainly comprises the functional module of following correspondence:
Setting module 300 is in order to store predefined predetermined sector several 410.This setting partly can set up on their own according to the size of different storing card 10 capacity and the size of required planning hidden blocks.
Access module 310 can see through computer bus 20 and be connected with storage card 10 when being used to carry out, carry out the access of main block log file and data 30.
Compile module 320, resolve in order to read the main block log file of being stored in the storage card 10, the total sector number 400 that is write down to find, and utilize in the setting module 300 default predetermined sector several 410 to replace total sector number 400 backs and return and deposit to the main block log file, deposit back storage card 10 again.
In addition, compile module 320 when more being responsible for the total sector number 400 of replacing the main block log file, calculate the size of hiding sector number 420, usually predetermined sector several 410 must be less than total sector number 400, the part that therefore total sector number 400 deducts after the predetermined sector several 410 just becomes the size of hiding sector number 420, after the format instruction through instruction module 340, just can become so-called hidden blocks.
Memory module 330, the storage card identification code that storage main block log file is stored, total sector number 400, and predetermined sector several 410 reaches hiding sector number 420 in the management accounts file.
In the management accounts file, can see through the storage card identification code and be used as main index value, because each storage card 10 all has the storage card identification code of unique uniqueness, therefore when depositing the data of many storage cards 10 in the management accounts file, the usefulness of just can the storage card identification code searching as a comparison.
Instruction module 340 should carry out storage card 10 formats by hiding sector number 420 in order to reach according to this predetermined sector several 410, so can produce the accessible block of general user respectively and have only the accessible hidden blocks of program of the present invention.
Because formative process can be carried out according to fixing direction, therefore will produce the general block with several 410 sizes of predetermined sector earlier in storage card 10, then produces the hidden blocks with hiding sector number 420 sizes then again.
In addition, this instruction module 340 more can be when carrying out data storage, provides one to write instruction and data 30 are stored in the hidden blocks of storage card 10; Also can be when data acquisition, load the management log file and carry out the contrast of storage card identification code, and calculate corresponding hidden blocks scope on the storage card 10 according to total sector number 400 and predetermined sector several 410, provide reading command that storage card 10 hidden blocks are carried out data 30 acquisitions then.
Fig. 4, the synoptic diagram for the present invention carries out the storage card physical blocks of front and back below will cooperate embodiment to explain.
The amount of capacity of supposing storage card 10 is 1MB (megabyte), then its theoretic total sector number 400 is 1048576 bytes (being 1024*1024 bytes), when needs carry out data storage in hidden blocks, if we need plan when a block size is the hidden blocks of 0.5MB, then we only need be set at 524288 bytes with predetermined sector several 410, can carry out main block and record compiling of file, calculating the hidden blocks number through program of the present invention then is 524288 bytes (being 1048576-524288 bytes), then through then producing the block that two sizes are similarly 0.5MB after the format, be respectively the accessible block of general user, and have only the accessible hidden blocks of program of the present invention (formatting procedure will carry out the format of each block according to format direction as shown in FIG.).
When needs carried out the data acquisition of hidden blocks, we then can see through size and the scope that total sector number 400, the predetermined sector several 410 that is write down calculates hidden blocks equally, were carried out the acquisition of data then by program of the present invention.
See through the present invention, can in storage card, set up and belong to the hidden blocks that computer executable program just can be carried out data access, because the data that are stored in this hidden blocks only can manage through computer executable program, comprising data storage and data acquisition, will be safer for the management of these type of data therefore.

Claims (16)

1, a kind of storing card data hidden management method, for utilizing computer executable program, in a storage card that connects, this method comprises the following step with data hidden:
Read a main block log file of being stored in this storage card;
Resolve a total sector number of this main block log file;
Replace this total sector number of this main block log file and calculate a hiding sector number with a predetermined sector number;
Return and deposit this main block log file and write down this storage card identification code, this total sector number, this predetermined sector number and this hiding sector number in a management accounts file;
Reach and to carry out this storage card formatsization again by hiding sector number with this predetermined sector number; And
Carry out one and write instruction the hidden blocks of data storage in this storage card.
2, storing card data hidden management method as claimed in claim 1 is characterized in that: this main block log file is stored in first sector (sector) of this storage card, records this total sector number and this storage card identification code of this storage card at least.
3, storing card data hidden management method as claimed in claim 1 is characterized in that: this hiding sector number equals this total sector number and deducts this predetermined sector number.
4, storing card data hidden management method as claimed in claim 1 is characterized in that: this hidden blocks size equals this hiding sector number.
5, storing card data hidden management method as claimed in claim 1 is characterized in that: it should hiding sector number be unit with position (byte) that this total sector number, this predetermined sector number reach.
6, a kind of storing card data hidden management method for utilizing computer executable program, comes out data acquisition in a storage card that connects of hiding, and this method comprises the following step:
Load a management accounts file;
Read this management accounts file this storage card identification code and with the contrast of a main block log file of this storage card;
When comparing result coincide, calculate a hidden blocks scope according to this total sector number, this predetermined sector number; And
Carry out a reading command this hidden blocks of this storage card is carried out data acquisition.
7, storing card data hidden management method as claimed in claim 6 is characterized in that: this main block log file is stored in first sector (sector) of this storage card, records this total sector number and this storage card identification code of this storage card at least.
8, storing card data hidden management method as claimed in claim 6 is characterized in that: this hiding sector number equals this total sector number and deducts this predetermined sector number.
9, storing card data hidden management method as claimed in claim 6 is characterized in that: this hidden blocks size equals this hiding sector number.
10, storing card data hidden management method as claimed in claim 6 is characterized in that: it should hiding sector number be unit with position (byte) that this total sector number, this predetermined sector number reach.
11, a kind of storing card data hidden supervisory routine is computer executable program, can be in storage card with data hidden, and the data of hiding in the storage card are carried out access management, this system comprises:
One setting module is in order to store a predefined predetermined sector number;
One compiles module, resolve in order to read a main block log file of being stored in this storage card, finding a total sector number, and utilize this predetermined sector number to replace this total sector number and calculate a hiding sector number, return then and deposit this main block log file to this storage card;
One access module in order to be connected with this storage card, carries out the access of this main block log file and data;
One memory module, in order to this storage card identification code, this total sector number of storing this main block log file, and this predetermined sector number reaches this hiding sector number in a management accounts file; And
One instruction module, should carry out this storage card formatsization by hiding sector number in order to reach according to this predetermined sector number, and provide one to write instruction with the hidden blocks of data storage in this storage card, or load this management accounts file and carry out the contrast of this storage card identification code, calculate this hidden blocks scope according to this total sector number, this predetermined sector number, and provide a reading command that this hidden blocks of this storage card is carried out data acquisition.
12, storing card data hidden supervisory routine as claimed in claim 11 is characterized in that: this access module sees through a bus and is connected with this storage card.
13, storing card data hidden supervisory routine as claimed in claim 11 is characterized in that: this main block log file is stored in first sector (sector) of this storage card, records this total sector number and this storage card identification code of this storage card at least.
14, storing card data hidden supervisory routine as claimed in claim 11 is characterized in that: this hiding sector number equals this total sector number and deducts this predetermined sector number.
15, storing card data hidden supervisory routine as claimed in claim 11 is characterized in that: this hidden blocks size equals this hiding sector number.
16, storing card data hidden supervisory routine as claimed in claim 11 is characterized in that: it should hiding sector number be unit with position (byte) that this total sector number, this predetermined sector number reach.
CNA200610036302XA 2006-06-30 2006-06-30 Storing card data hidden management method and program thereof Pending CN101097548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200610036302XA CN101097548A (en) 2006-06-30 2006-06-30 Storing card data hidden management method and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200610036302XA CN101097548A (en) 2006-06-30 2006-06-30 Storing card data hidden management method and program thereof

Publications (1)

Publication Number Publication Date
CN101097548A true CN101097548A (en) 2008-01-02

Family

ID=39011389

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200610036302XA Pending CN101097548A (en) 2006-06-30 2006-06-30 Storing card data hidden management method and program thereof

Country Status (1)

Country Link
CN (1) CN101097548A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207912A (en) * 2010-07-07 2011-10-05 无锡中科龙泽信息科技有限公司 Flash memory equipment for realizing partition function on equipment side and access method of flash memory equipment
WO2011137844A1 (en) * 2011-05-30 2011-11-10 华为终端有限公司 Method and apparatus for accessing data storage device
CN102654849A (en) * 2011-03-03 2012-09-05 赛酷特(北京)信息技术有限公司 Method for hiding and reading by partitions
CN101520854B (en) * 2008-02-29 2012-12-05 锐迪科微电子(上海)有限公司 Smart memory card, data safety control system and method thereof
CN101957897B (en) * 2009-07-20 2014-07-09 精品科技股份有限公司 Storage device management method, computer system control and management method and information storage device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520854B (en) * 2008-02-29 2012-12-05 锐迪科微电子(上海)有限公司 Smart memory card, data safety control system and method thereof
CN101957897B (en) * 2009-07-20 2014-07-09 精品科技股份有限公司 Storage device management method, computer system control and management method and information storage device
CN102207912A (en) * 2010-07-07 2011-10-05 无锡中科龙泽信息科技有限公司 Flash memory equipment for realizing partition function on equipment side and access method of flash memory equipment
CN102207912B (en) * 2010-07-07 2015-10-07 无锡中科龙泽信息科技有限公司 Flash memory device and the access method thereof of sectoring function is realized in equipment end
CN102654849A (en) * 2011-03-03 2012-09-05 赛酷特(北京)信息技术有限公司 Method for hiding and reading by partitions
WO2011137844A1 (en) * 2011-05-30 2011-11-10 华为终端有限公司 Method and apparatus for accessing data storage device
CN102301369A (en) * 2011-05-30 2011-12-28 华为终端有限公司 Data storage device access method and device
CN102301369B (en) * 2011-05-30 2013-06-05 华为终端有限公司 Data storage device access method and device

Similar Documents

Publication Publication Date Title
KR100259432B1 (en) Outboard data migration in a volume stacking library
US7752412B2 (en) Methods of managing file allocation table information
CN105183581B (en) A kind of database disaster tolerance system
US7681008B2 (en) Systems for managing file allocation table information
US20060168652A1 (en) System and method for securing drive access to data storage media based on medium identifiers
US7664910B2 (en) Data management method and apparatus, hierarchical storage apparatus and computer-readable storage medium
CN102096561B (en) Hierarchical data storage processing method, device and storage equipment
CN101556529A (en) Storage system comprising plurality of storage system modules
CN101097548A (en) Storing card data hidden management method and program thereof
CN110019244A (en) Data processing method, device and computer readable storage medium
CN104239438A (en) File information storage method and file information read-write method based on separate storage
US8565051B2 (en) Storage system and method for generating file system in the storage system
US5765211A (en) Segmenting non-volatile memory into logical pages sized to fit groups of commonly erasable data
CN109407971A (en) The method and device of staging disk lock
CN105183949A (en) Railway main data cleaning method and system
JP2529868B2 (en) Recording method of information recording medium
CN101441596A (en) Method for improving flash memory medium read-write speed
US7191360B2 (en) Method of data backup and recovery
CN104077078A (en) Methods and devices for reading and updating storage region
KR20120082176A (en) Data processing method of database management system and system thereof
CN109582235B (en) Management metadata storage method and device
CN105303208B (en) A kind of IC card management method and system
WO2008042594A1 (en) Managing file allocation table information
CN101582280B (en) Recording/reproducing apparatus and information processing method
WO2009110665A1 (en) Information storage medium for recording data according to journaling file system, and method of and apparatus for writing/recovering data using journaling file system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication