CN103530580A - Terminal SD card security management method, device and terminal - Google Patents

Terminal SD card security management method, device and terminal Download PDF

Info

Publication number
CN103530580A
CN103530580A CN201310419744.2A CN201310419744A CN103530580A CN 103530580 A CN103530580 A CN 103530580A CN 201310419744 A CN201310419744 A CN 201310419744A CN 103530580 A CN103530580 A CN 103530580A
Authority
CN
China
Prior art keywords
card
instruction
lock
lock cipher
terminal
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
CN201310419744.2A
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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201310419744.2A priority Critical patent/CN103530580A/en
Publication of CN103530580A publication Critical patent/CN103530580A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/79Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories

Abstract

The embodiment of the invention discloses a terminal SD card security management method, an SD card management device and a terminal. The method includes the steps that a lock password is generated for an SD card on the terminal; a lock password setting instruction is generated based on the generated lock password, the generated lock password setting instruction is sent to the SD card, so that the SD card is made to enable the received lock password to be used as a lock password of the SD card, and the set lock password is sent to a security storage area of the terminal to be saved. Therefore, according to the terminal SD card security management method, the SD card management device and the terminal, the lock password is set for the SD card independently so as to support locking and unlocking of the SD card independently, and the realization mode is simple.

Description

Terminal security data storage card SD managing card safety method, device and terminal
Technical field
The present invention relates to the communications field, relate in particular to terminal security data storage card (Secure Digital Memory Card, SD) method for managing security, SD card management devices and terminal.
Background technology
SD card on user's mobile phone has comprised a large amount of users personal data, such as, account number, picture, notes etc.Although mobile phone substantially all provides the safety of the functions such as screen password, remote lock and long-range removing for the protection of data at present; but SD card is due to characteristic that can plug; once after stolen or loss; there is the risk directly reading by other equipment such as card reader; now original defencive function the data in uncontrollable SD card be read, data now may be revealed.
In prior art, there is overall encryption technology, the part unification of encryption technology using SD card as DISK to Image is encrypted totally, like this, after even user extracts SD card, data in SD card are also encrypted, so just prevented SD card divulging a secret after extracting, but the overall cipher mode of prior art is realized more complicated, and it can not be supported to the independent release of SD card.
Summary of the invention
The embodiment of the present invention provides and terminal security data storage card SD managing card safety method, SD card management devices and terminal, can to SD card, lock cipher be set separately by the SD card management devices of terminal, and to support that SD card is added separately to release, implementation is simple.
First aspect present invention provides a kind of safe digital storage card SD managing card safety method, and it can comprise:
For the SD card in terminal generates lock cipher;
Lock cipher based on described generation generates lock cipher instruction is set, and the described lock cipher generating is arranged to instruction send to described SD card, so that the lock cipher of described SD card using the lock cipher of described reception as described SD card, and send to the secure storage areas of described terminal to preserve the lock cipher of described setting.
In conjunction with first aspect, in the feasible embodiment of the first, the method for the embodiment of the present invention also comprises:
When receiving the instruction of locking SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and the described lock cipher obtaining is generated to the instruction that locks, and the instruction that locks described in generation is sent to described SD card, to control described SD card, lock.
In conjunction with the feasible embodiment of the first of first aspect, in the feasible embodiment of the second, described in the instruction of the locking SD card that receives be the instruction of remote lock SD card, after the instruction that locks described in generating is sent to described SD card, also can comprise:
In the secure storage areas of described terminal, described in mark, SD card is remote lock state.
In conjunction with first aspect, to the feasible embodiment of the second of first aspect, in the third feasible embodiment, the method for the embodiment of the present invention also can comprise:
When described terminal startup initialization being detected or receiving the instruction of remote de-locking SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, the described lock cipher obtaining is generated to unlock command, and the described unlock command generating is sent to described SD card, to control described SD card, carry out release.
The third feasible embodiment in conjunction with first aspect, in the 4th kind of feasible embodiment, when receiving the instruction of remote de-locking SD card, and after the described unlock command generating is sent to described SD card, also comprise: in the secure storage areas of described terminal, remove the remote lock mark to described SD card.
In conjunction with first aspect, to the feasible embodiment of the second of first aspect, in the 5th kind of feasible embodiment, the method for the embodiment of the present invention also comprises:
When detecting, need remove lock cipher to described SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and by the described lock cipher generating cipher clear instruction of obtaining, and the described clearing password instruction generating is sent to described SD card, to control described SD card, remove the lock cipher of storage.
Second aspect present invention provides a kind of safe digital storage card SD card management devices, and it is positioned at terminal, and it can comprise:
Password generation module, is used to the SD card in described terminal to generate lock cipher;
Password arranges module, for the lock cipher generating based on described password generation module, generate lock cipher instruction is set, and the described lock cipher generating is arranged to instruction send to described SD card, so that the lock cipher of described SD card using the lock cipher of described reception as described SD card, and send to the secure storage areas of described terminal to preserve the lock cipher that described password arranges module setting.
In conjunction with second aspect, in the feasible embodiment of the first, the SD card management devices of the embodiment of the present invention also comprises:
Control module locks, for when receiving the instruction of locking SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and the described lock cipher obtaining is generated to the instruction that locks, and the instruction that locks described in generation is sent to described SD card, to control described SD card, lock.
In conjunction with the feasible embodiment of the first of second aspect, in the feasible embodiment of the second, the instruction of the locking SD card that the described control module that locks receives is the instruction of remote lock SD card, the control module that locks is also for after sending to described SD card by the instruction that locks described in generation, and in the secure storage areas of described terminal, described in mark, SD card is remote lock state.
In conjunction with second aspect, to the feasible embodiment of the second of second aspect, in the third feasible embodiment, the SD card management devices of the embodiment of the present invention also comprises:
Release control module, for when described terminal startup initialization being detected or receiving the instruction of remote de-locking SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and described lock cipher is generated to unlock command, and the described unlock command generating is sent to described SD card, to control described SD card, carry out release.
The third feasible embodiment in conjunction with second aspect, in the 4th kind of feasible embodiment, when described release control module receives the instruction of remote de-locking SD card, described release control module also, for after the described unlock command generating is sent to described SD card, is removed the remote lock mark to described SD card in the secure storage areas of described terminal.
In conjunction with second aspect, to the feasible embodiment of the second of first aspect, in the 5th kind of feasible embodiment, the SD card management devices of the embodiment of the present invention also comprises:
Clearing password module, for removing lock cipher to described SD card when detecting, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and by the described lock cipher generating cipher clear instruction of obtaining, and the described clearing password instruction generating is sent to described SD card, to control described SD card, remove the lock cipher of storage, and remove the lock cipher of the described SD card obtaining described in the secure storage areas of described terminal.
The embodiment of the present invention third aspect provides a kind of terminal, it is characterized in that, comprises the aforesaid SD card of SD card and the present invention management devices.Therefore, in feasible embodiments more of the present invention, for the SD card in terminal generates lock cipher; Lock cipher based on described generation generates lock cipher instruction is set, and the described lock cipher generating is arranged to instruction send to described SD card, so that the lock cipher of described SD card using the lock cipher of described reception as described SD card, and send to the secure storage areas of described terminal to preserve the lock cipher of described setting.It can arrange lock cipher to SD card separately, and to support that SD card is added separately to release, implementation is simple.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of an embodiment of SD managing card safety method of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of SD managing card safety method of the present invention;
Fig. 3 is the schematic flow sheet of another embodiment of SD managing card safety method of the present invention;
Fig. 4 is that the structure of an embodiment of SD card management devices of the present invention forms schematic diagram;
Fig. 5 is that the structure of another embodiment of SD card management devices of the present invention forms schematic diagram;
Fig. 6 is that the structure of another embodiment of SD card management devices of the present invention forms schematic diagram;
Fig. 7 is that the structure of another embodiment of SD card management devices of the present invention forms schematic diagram;
Fig. 8 is that the structure of an embodiment of terminal of the present invention forms schematic diagram;
Fig. 9 is that the structure of an embodiment of terminal of the present invention forms schematic diagram.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 is the schematic flow sheet of an embodiment of SD managing card safety method of the present invention.As shown in Figure 1, it can comprise:
Step S110, for the SD card in terminal generates lock cipher.
In specific implementation, at step S110, can be from the lock cipher that lock cipher that interface obtains user's input generates as the SD card for described terminal that arranges of the SD kayser password of terminal, or, the lock cipher that a lock cipher generates as the SD card in described terminal can be generated at random.
Step S111, lock cipher based on described generation generates lock cipher instruction is set, and the described lock cipher generating is arranged to instruction send to described SD card, so that the lock cipher of described SD card using the lock cipher of described reception as described SD card, and send to the secure storage areas of described terminal to preserve the lock cipher of described setting.
Concrete can, by the relevant regulations in SD card agreement, generate lock cipher by lock cipher instruction is set.Such as, can generate lock cipher by the CMD42 order in the order Class7 of SD card instruction is set.Concrete, Bit0(in CMD42 order can be specially and password position " SetPwd " value is set for " 1 " represents, lock cipher need be set) position assignment arranges lock cipher for " 1 " represents, the data bit of CMD42 order (Pwd Data) is placed to the concrete lock cipher arranging, thus, generate lock cipher instruction is set.And instruction is set the CMD42 after assignment as lock cipher sends to described SD card, when SD clamping, receive CMD42 like this and just can preserve the lock cipher arranging according to the value of the Bit0 in order and Pwd Data.
Corresponding to the setting of lock cipher, the embodiment of the present invention also can comprise the removing flow process of lock cipher, and it specifically can comprise:
Detect and need remove lock cipher to described SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and by the described lock cipher generating cipher clear instruction of obtaining, and the described clearing password instruction generating is sent to described SD card, to control described SD card, remove the lock cipher of storage, and remove the lock cipher of the described SD card obtaining described in the secure storage areas of described terminal.
Concrete, can be by the relevant regulations in SD card agreement, by lock cipher generating cipher clear instruction.Such as, can generate clearing password instruction by the CMD42 order in the order Class7 of SD card.Concrete, Bit3(in CMD42 order can be removed to indicating bit " Erase Card ", when Erase Card value is removed the lock cipher of SD card for " 1 " represents) position assignment represents removing lock cipher for " 1 ", the data bit of CMD42 order (Pwd Data) is placed to the lock cipher that specifically needs removing, thus, generating cipher clear instruction.And using the CMD42 after assignment as clearing password instruction, send to described SD card, when SD clamping, receive CMD42 like this and just can remove the lock cipher of preserving according to the value of the Bit3 in order and Pwd Data.
As from the foregoing, the embodiment of the present invention can arrange lock cipher to SD card separately, and to support that SD card is added separately to release, implementation is simple, the adding release and needn't be subject to the impact of totally encrypting of SD card, has greatly shortened the time that SD card adds release.
Fig. 2 is the schematic flow sheet of another embodiment of SD managing card safety method of the present invention.As shown in Figure 2, it can comprise:
Step S210, for the SD card in described terminal generates lock cipher;
Step S211, lock cipher based on described generation generates lock cipher instruction is set, and the described lock cipher generating is arranged to instruction send to described SD card, so that the lock cipher of described SD card using the lock cipher of described reception as described SD card, and send to the secure storage areas of described terminal to preserve the lock cipher of described setting.
In specific implementation, the implementation of step S210 and step S211 is similar with step S110 and step S111 respectively, at this, does not repeat.
Step S212, when receiving the instruction of locking SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and the described lock cipher obtaining is generated to the instruction that locks, and the instruction that locks described in generation is sent to described SD card, to control described SD card, lock.
In specific implementation, at step S212, can, by the relevant regulations in SD card agreement, lock cipher be generated to the instruction that locks.Such as, can generate the instruction that locks by the CMD42 order in the order Class7 of SD card.Concrete, at step S111, (LOCK)/release (UNLOCK) indicating bit can lock the Bit2(in CMD42 order, value locks to SD card for " 1 " represents, value represents the release of SD card for " 0 ") position assignment locks for " 1 " represents, the data bit of CMD42 order (Pwd Data) is placed to lock cipher, thus, generate the instruction that locks.And using the CMD42 after assignment as the instruction that locks, send to described SD card, when SD clamping, receive CMD42 like this and just can lock according to the Bit2 in order and the value of Pwd Data.
In specific implementation, the instruction of the locking SD card receiving at step S212 is the instruction of remote lock SD card,, after the instruction that locks described in generation is sent to described SD card, also can comprise: in the secure storage areas of described terminal, described in mark, SD card is remote lock state.
Flow process by remote lock SD card can, after user terminal (such as, mobile phone) loses, guarantee the safety of data in SD card in time by remote lock SD card.
Fig. 3 is the schematic flow sheet of another embodiment of SD managing card safety method of the present invention.As shown in Figure 3, it can comprise:
Step S310, for the SD card in described terminal generates lock cipher;
Step S311, lock cipher based on described generation generates lock cipher instruction is set, and the described lock cipher generating is arranged to instruction send to described SD card, so that the lock cipher of described SD card using the lock cipher of described reception as described SD card, and send to the secure storage areas of described terminal to preserve the lock cipher of described setting.
In specific implementation, the implementation of step S310 and step S311 is similar with step S110 and step S111 respectively, at this, does not repeat.
Step S312, when described terminal startup initialization being detected or receiving the instruction of remote de-locking SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and the described lock cipher obtaining is generated to unlock command, and the described unlock command generating is sent to described SD card, to control described SD card, carry out release.
In specific implementation, at step S312, can, by the relevant regulations in SD card agreement, lock cipher be generated to unlock command.Such as, can generate unlock command by the CMD42 order in the order Class7 of SD card.Concrete, at step S312, (LOCK)/release (UNLOCK) indicating bit can lock the Bit2(in CMD42 order, value locks to SD card for " 1 " represents, value represents the release of SD card for " 0 ") position assignment represents release for " 0 ", the data bit of CMD42 order (Pwd Data) is placed to the lock cipher for release, thus, generate unlock command.And using the CMD42 after assignment as unlock command, send to described SD card, when SD clamping, receive CMD42 like this and just can carry out release according to the Bit2 in order and the value of Pwd Data.
The embodiment of the present invention is when terminal starts initialization, and the lock cipher of automatically preserving in reading terminals secure storage areas carries out release to the SD card in terminal, realizes thus the function to SD card automatic unlocking.
In specific implementation, the instruction of the release SD card receiving at step S312 is the instruction of remote de-locking SD card,, after the described unlock command generating is sent to described SD card, also comprise: in the secure storage areas of described terminal, remove the remote lock mark to described SD card.
Flow process by remote de-locking SD card can, after user terminal (such as, mobile phone) safety, guarantee the availability of data in SD card in time by remote de-locking SD card.
In specific implementation, the release flow process of the embodiment of the present invention can be independent of the flow process that locks, step S310-S311 and step S312 can independently complete in the different moment, be not that each starting up of terminal startup all needs first to arrange lock cipher, release again), also when terminal had set lock cipher and made SD card in locking state before start,, it is follow-up when terminal starts, the lock cipher of preserving in the secure storage areas of described terminal is read in capital, and described lock cipher generation unlock command is sent to described SD card, to control described SD card, carry out release.
In some feasible embodiments, the protection that removes that also can be to SD card, its flow process is as follows:
When described SD card is removed from described terminal, from the secure storage areas of described terminal, obtain the described lock cipher of described SD card, and described lock cipher is generated to the instruction that locks, and the instruction that locks described in generation is sent to described SD card, to control described SD card, lock, and in described secure storage areas described in mark SD card be remote lock state.Like this, at SD card, re-power, need release again to use, just guaranteed when not knowing SD kayser password, just can not automatically carry out release, ensured the security of data in SD card.
In specific implementation, embodiment of the method for the present invention can be carried out by the SD card management devices of terminal inner, and described SD card management devices can be independent of SD card or built-in and SD card inside.
As shown in Figure 4, SD card management devices of the present invention at least can comprise that password generation module 41, password arrange module 42, wherein:
Password generation module 41, is used to the SD card in described terminal to generate lock cipher;
In specific implementation, password generation module 41 can be from the lock cipher that lock cipher that interface obtains user's input generates as the SD card for described terminal that arranges of the SD kayser password of terminal, or, can generate at random the lock cipher that a lock cipher generates as the SD card in described terminal.
Password arranges module 42, for the lock cipher generating based on described password generation module 41, generate lock cipher instruction is set, and the described lock cipher generating is arranged to instruction send to described SD card, so that the lock cipher of described SD card using the lock cipher of described reception as described SD card, and the lock cipher that described password generation module 41 is arranged sends to the secure storage areas of described terminal to preserve.
Concrete, password arranges module 42 and can, by the relevant regulations in SD card agreement, lock cipher be generated to lock cipher instruction is set.Such as, can by the CMD42 order in the order Class7 of SD card, generate to lock instruction is set.Concrete, password arrange module 42 Bit0(in CMD42 order can be specially password position " SetPwd " value is set for " 1 " represents, lock cipher need be set) position assignment arranges lock cipher for " 1 " represents, the data bit of CMD42 order (Pwd Data) is placed to the concrete lock cipher arranging, thus, generate lock cipher instruction is set.And instruction is set the CMD42 after assignment as lock cipher sends to described SD card, when SD clamping, receive CMD42 like this and just can preserve the lock cipher arranging according to the value of the Bit0 in order and Pwd Data.
Corresponding to the setting of lock cipher, as shown in Figure 5, the SD card management devices of the embodiment of the present invention also can comprise;
Clearing password module 43, for removing lock cipher to described SD card when detecting, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and by the described lock cipher generating cipher clear instruction of obtaining, and the described clearing password instruction generating is sent to described SD card, to control described SD card, remove the lock cipher of storage, and remove the lock cipher of the described SD card obtaining described in the secure storage areas of described terminal.
Concrete, clearing password module 43 can be by the relevant regulations in SD card agreement, by lock cipher generating cipher clear instruction.Such as, can generate clearing password instruction by the CMD42 order in the order Class7 of SD card.Concrete, clearing password module 43 can be removed indicating bit " Erase Card " by the Bit3(in CMD42 order, when Erase Card value is removed the lock cipher of SD card for " 1 " represents) position assignment represents removing lock cipher for " 1 ", the data bit of CMD42 order (Pwd Data) is placed to the lock cipher that specifically needs removing, thus, generating cipher clear instruction.And using the CMD42 after assignment as clearing password instruction, send to described SD card, when SD clamping, receive CMD42 like this and just can remove the lock cipher of preserving according to the value of the Bit3 in order and Pwd Data.
As from the foregoing, the embodiment of the present invention can arrange lock cipher to SD card separately by the SD card management devices of terminal, and to support that SD card is added separately to release, implementation is simple, the adding release and needn't be subject to the impact of totally encrypting of SD card, greatly shortened the time that SD card adds release.
In specific implementation, as shown in Figure 6, the SD card management devices of the embodiment of the present invention also can comprise:
Control module 44 locks, while being used for receiving the instruction of locking SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and the described lock cipher obtaining is generated to the instruction that locks, and the instruction that locks described in generation is sent to described SD card, to control described SD card, lock.
In specific implementation, the control module that locks 44 can, by the relevant regulations in SD card agreement, generate by lock cipher the instruction that locks.Such as, can generate the instruction that locks by the CMD42 order in the order Class7 of SD card.Concrete, the control module that locks 44 (LOCK)/release (UNLOCK) indicating bit that the Bit2(in CMD42 order can be locked, value locks to SD card for " 1 " represents, value represents the release of SD card for " 0 ") position assignment locks for " 1 " represents, the data bit of CMD42 order (Pwd Data) is placed to lock cipher, thus, generate the instruction that locks.And using the CMD42 after assignment as the instruction that locks, send to described SD card, when SD clamping, receive CMD42 like this and just can lock according to the Bit2 in order and the value of Pwd Data.
In specific implementation, the instruction of the locking SD card that the control module that locks 44 receives is the instruction of remote lock SD card, the control module that locks 44 after the instruction that locks described in generating is sent to described SD card, also can be in the secure storage areas of described terminal described in mark SD card be remote lock state.
Flow process by remote lock SD card can, after user terminal (such as, mobile phone) loses, guarantee the safety of data in SD card in time by remote lock SD card.
In some feasible embodiments; the protection that removes that also can be to SD card; particularly; the control module that locks 44 is also for when removing described SD card from described terminal; from the secure storage areas of described terminal, obtain the described lock cipher of described SD card, and described lock cipher is generated to the instruction that locks, and the instruction that locks described in generation is sent to described SD card; to control described SD card, lock, and in described secure storage areas described in mark SD card be remote lock state.Like this, at SD card, re-power, need release again to use, just guaranteed when not knowing SD kayser password, just can not automatically carry out release, ensured the security of data in SD card.
In specific implementation, as shown in Figure 7, the SD card management devices of the embodiment of the present invention also can comprise:
Release control module 45, for when described terminal startup initialization being detected or receiving the instruction of remote de-locking SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and the described lock cipher obtaining is generated to unlock command, and the described unlock command generating is sent to described SD card, to control described SD card, carry out release.
In specific implementation, release control module 45 can, by the relevant regulations in SD card agreement, generate unlock command by lock cipher.Such as, can generate unlock command by the CMD42 order in the order Class7 of SD card.Concrete, release control module 45 (LOCK)/release (UNLOCK) indicating bit that the Bit2(in CMD42 order can be locked, value locks to SD card for " 1 " represents, value represents the release of SD card for " 0 ") position assignment represents release for " 0 ", the data bit of CMD42 order (Pwd Data) is placed to the lock cipher for release, thus, generate unlock command.And using the CMD42 after assignment as unlock command, send to described SD card, when SD clamping, receive CMD42 like this and just can carry out release according to the Bit2 in order and the value of Pwd Data.
The embodiment of the present invention is when terminal starts initialization, and the lock cipher of preserving in the automatic reading terminals of SD card management devices secure storage areas carries out release to the SD card in terminal, realizes thus the function to SD card automatic unlocking separately.
In specific implementation, the instruction of the release SD card that release control module 45 receives is the instruction of remote de-locking SD card, described release control module 45, after the described unlock command generating is sent to described SD card, is also removed the remote lock mark to described SD card in the secure storage areas of described terminal.
Flow process by remote de-locking SD card can, after user terminal (such as, mobile phone) safety, guarantee the availability of data in SD card in time by remote de-locking SD card.
In addition, the embodiment of the invention also discloses a kind of terminal, as shown in Figure 8, it can comprise SD card 2 and SD card management devices 3, wherein, SD card 2 is the aforesaid SD card of the embodiment of the present invention, SD card management devices 3 be in the aforesaid SD card of embodiment of the present invention management devices any.
Be more than that the functional module having from terminal illustrates the structure composition embodiment of terminal, the function that the hardware module having from terminal below and each hardware module have, further illustrates terminal embodiment of the present invention.
Fig. 9 is that the structure of another embodiment of terminal of the present invention forms schematic diagram.As shown in Figure 9, terminal of the present invention can comprise SD card 91, storer 92 and processor 93, wherein: described processor 93 calls the relative program of storage in described storer 92, and carries out following operation:
For the SD card in described terminal generates lock cipher;
Lock cipher based on described generation generates lock cipher instruction is set, and the described lock cipher generating is arranged to instruction send to described SD card, so that the lock cipher of described SD card using the lock cipher of described reception as described SD card, and send to the secure storage areas of described terminal to preserve the lock cipher of described setting.
In some feasible embodiments, described processor 93 is also carried out following operation:
When receiving the instruction of locking SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and the described lock cipher obtaining is generated to the instruction that locks, and the instruction that locks described in generation is sent to described SD card, to control described SD card, lock.
In some feasible embodiments, the instruction of the locking SD card that described processor 93 receives is the instruction of remote lock SD card, described processor 93, after the instruction that locks described in generation is sent to described SD card, is also carried out following steps: described in mark, SD card is remote lock state in the secure storage areas of described terminal.
In some feasible embodiments, described processor 93 is also carried out following operation:
When described terminal startup initialization being detected or receiving the instruction of remote de-locking SD card, described SD card management devices obtains the lock cipher of described SD card from the secure storage areas of described terminal, the described lock cipher obtaining is generated to unlock command, and the described unlock command generating is sent to described SD card, to control described SD card, carry out release.
In some feasible embodiments, described processor 93 receives the instruction of remote de-locking SD card, and after the described unlock command generating is sent to described SD card, also carry out following steps: in the secure storage areas of described terminal, remove the remote lock mark to described SD card.
In some feasible embodiments, described processor 93 is also carried out following operation:
When detecting, need remove lock cipher to described SD card, described SD card management devices obtains the lock cipher of described SD card from the secure storage areas of described terminal, and by the described lock cipher generating cipher clear instruction of obtaining, and the described clearing password instruction generating is sent to described SD card, to control described SD card, remove the lock cipher of storage, and remove the lock cipher of the described SD card obtaining described in the secure storage areas of described terminal.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by program, described program can be stored in a read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Cited is only preferred embodiment of the present invention above, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.

Claims (13)

1. a safe digital storage card SD managing card safety method, is characterized in that, comprising:
For the SD card in terminal generates lock cipher;
Lock cipher based on described generation generates lock cipher instruction is set, and the described lock cipher generating is arranged to instruction send to described SD card, so that the lock cipher of described SD card using the lock cipher of described reception as described SD card, and send to the secure storage areas of described terminal to preserve the lock cipher of described setting.
2. SD managing card safety method as claimed in claim 1, is characterized in that, also comprises:
When receiving the instruction of locking SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and the described lock cipher obtaining is generated to the instruction that locks, and the instruction that locks described in generation is sent to described SD card, to control described SD card, lock.
3. SD managing card safety method as claimed in claim 2, is characterized in that, described in the instruction of the locking SD card that receives be the instruction of remote lock SD card, after the instruction that locks described in generating is sent to described SD card, also comprise:
In the secure storage areas of described terminal, described in mark, SD card is remote lock state.
4. the SD managing card safety method as described in any one in claim 1-3, is characterized in that, also comprises:
When described terminal startup initialization being detected or receiving the instruction of remote de-locking SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, the described lock cipher obtaining is generated to unlock command, and the described unlock command generating is sent to described SD card, to control described SD card, carry out release.
5. SD managing card safety method as claimed in claim 4, it is characterized in that, when receiving the instruction of remote de-locking SD card, and after the described unlock command generating is sent to described SD card, also comprise: in the secure storage areas of described terminal, remove the remote lock mark to described SD card.
6. the SD managing card safety method as described in any one in claim 1-3, is characterized in that, also comprises:
When detecting, need remove lock cipher to described SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and by the described lock cipher generating cipher clear instruction of obtaining, and the described clearing password instruction generating is sent to described SD card, to control described SD card, remove the lock cipher of storage.
7. a safe digital storage card SD card management devices, is characterized in that, be positioned at terminal, it comprises:
Password generation module, is used to the SD card in described terminal to generate lock cipher;
Password arranges module, for the lock cipher generating based on described password generation module, generate lock cipher instruction is set, and the described lock cipher generating is arranged to instruction send to described SD card, so that the lock cipher of described SD card using the lock cipher of described reception as described SD card, and send to the secure storage areas of described terminal to preserve the lock cipher that described password arranges module setting.
8. SD card management devices as claimed in claim 7, is characterized in that, also comprises:
Control module locks, for when receiving the instruction of locking SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and the described lock cipher obtaining is generated to the instruction that locks, and the instruction that locks described in generation is sent to described SD card, to control described SD card, lock.
9. SD card management devices as claimed in claim 8, it is characterized in that, the instruction of the locking SD card that the described control module that locks receives is the instruction of remote lock SD card, the control module that locks is also for after sending to described SD card by the instruction that locks described in generation, and in the secure storage areas of described terminal, described in mark, SD card is remote lock state.
10. SD card management devices as claimed in any one of claims 7-9, is characterized in that, also comprises:
Release control module, for when described terminal startup initialization being detected or receiving the instruction of remote de-locking SD card, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and described lock cipher is generated to unlock command, and the described unlock command generating is sent to described SD card, to control described SD card, carry out release.
11. SD card management devices as claimed in claim 10, it is characterized in that, when described release control module receives the instruction of remote de-locking SD card, described release control module also, for after the described unlock command generating is sent to described SD card, is removed the remote lock mark to described SD card in the secure storage areas of described terminal.
12. SD card management devices as claimed in any one of claims 7-9, is characterized in that, also comprise:
Clearing password module, for removing lock cipher to described SD card when detecting, from the secure storage areas of described terminal, obtain the lock cipher of described SD card, and by the described lock cipher generating cipher clear instruction of obtaining, and the described clearing password instruction generating is sent to described SD card, to control described SD card, remove the lock cipher of storage, and remove the lock cipher of the described SD card obtaining described in the secure storage areas of described terminal.
13. 1 kinds of terminals, is characterized in that, comprise SD card and the SD card management devices as described in any one in claim 7-12.
CN201310419744.2A 2013-09-13 2013-09-13 Terminal SD card security management method, device and terminal Pending CN103530580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310419744.2A CN103530580A (en) 2013-09-13 2013-09-13 Terminal SD card security management method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310419744.2A CN103530580A (en) 2013-09-13 2013-09-13 Terminal SD card security management method, device and terminal

Publications (1)

Publication Number Publication Date
CN103530580A true CN103530580A (en) 2014-01-22

Family

ID=49932582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310419744.2A Pending CN103530580A (en) 2013-09-13 2013-09-13 Terminal SD card security management method, device and terminal

Country Status (1)

Country Link
CN (1) CN103530580A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156639A (en) * 2014-08-06 2014-11-19 广东欧珀移动通信有限公司 Method and device for opening application program through two-dimension code and intelligent terminal
CN105530641A (en) * 2014-09-30 2016-04-27 中兴通讯股份有限公司 Method and apparatus for realizing SD card security management in mobile terminal
CN107368758A (en) * 2016-05-13 2017-11-21 北京迪文科技有限公司 A kind of management method of SD card interface
CN110020515A (en) * 2019-03-29 2019-07-16 联想(北京)有限公司 Data guard method, data protecting device, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232638A (en) * 2007-01-24 2008-07-30 中兴通讯股份有限公司 System and method for remote protecting mobile terminal data
CN101796525A (en) * 2007-08-28 2010-08-04 松下电器产业株式会社 Electronic device, unlocking method, and program
CN102361481A (en) * 2011-07-07 2012-02-22 上海凯卓信息科技有限公司 Method for binding hardware encryption trans-flash (TF) card with mobile phone subscriber identity module (SIM) card
CN103177224A (en) * 2013-02-06 2013-06-26 东莞宇龙通信科技有限公司 Data protection method and device used for terminal external storage card

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232638A (en) * 2007-01-24 2008-07-30 中兴通讯股份有限公司 System and method for remote protecting mobile terminal data
CN101796525A (en) * 2007-08-28 2010-08-04 松下电器产业株式会社 Electronic device, unlocking method, and program
CN102361481A (en) * 2011-07-07 2012-02-22 上海凯卓信息科技有限公司 Method for binding hardware encryption trans-flash (TF) card with mobile phone subscriber identity module (SIM) card
CN103177224A (en) * 2013-02-06 2013-06-26 东莞宇龙通信科技有限公司 Data protection method and device used for terminal external storage card

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李翔: "短信端到端加密系统的关键技术研究与实现", 《中国优秀硕士学位论文全文数据库-信息科技辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156639A (en) * 2014-08-06 2014-11-19 广东欧珀移动通信有限公司 Method and device for opening application program through two-dimension code and intelligent terminal
CN105530641A (en) * 2014-09-30 2016-04-27 中兴通讯股份有限公司 Method and apparatus for realizing SD card security management in mobile terminal
CN107368758A (en) * 2016-05-13 2017-11-21 北京迪文科技有限公司 A kind of management method of SD card interface
CN110020515A (en) * 2019-03-29 2019-07-16 联想(北京)有限公司 Data guard method, data protecting device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
EP3214563B1 (en) Apparatus and method for improving security of terminal
CN104601324B (en) A kind of verification method, terminal and system for application
EP3528160B1 (en) Method, system and terminal for encrypting/decrypting application program on communication terminal
CN103279411A (en) Method and system of entering application programs based on fingerprint identification
CN101605325B (en) Method for identity authentication, mobile terminal, server, and identity authentication system
CN101026834A (en) Locking method and unlocking method
CN102932540A (en) Mobile terminal and stealing prevention method thereof
US9276748B2 (en) Data-encrypting method and decrypting method for a mobile phone
CN103034417A (en) Unlocking method for touch screen and terminal equipment
CN107818253B (en) Face template data entry control method and related product
US20160105278A1 (en) Key, system and method of unlocking electronic device using the key
CN102883050A (en) Mobile terminal and unlocking method thereof
CN104363589A (en) Identity authentication method, device and terminal
CN103530580A (en) Terminal SD card security management method, device and terminal
CN101815292B (en) Device and method for protecting data of mobile terminal
CN101426049B (en) Data card and method, equipment, system for using equipment binding
CN108989331B (en) Use authentication method of data storage device, device and storage medium thereof
EP2911087A1 (en) Method, device and apparatus for storing and reading data
JP4993114B2 (en) Shared management method for portable storage device and portable storage device
CN104038615A (en) Authentication method and authentication device of communication device
US20160026814A1 (en) Access control of external memory
CN102970273A (en) USB flash disk with command and capable of being unlocked through short messages
CN205179170U (en) Intelligent security cell -phone
CN104182706B (en) A kind of time slot scrambling, device and the mobile terminal of mobile terminal storage card
CN103248487A (en) Near field communication authentication method, certificate authorization center and near field communication equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140122