CN102004703A - Method and system for protecting data - Google Patents

Method and system for protecting data Download PDF

Info

Publication number
CN102004703A
CN102004703A CN2009101898073A CN200910189807A CN102004703A CN 102004703 A CN102004703 A CN 102004703A CN 2009101898073 A CN2009101898073 A CN 2009101898073A CN 200910189807 A CN200910189807 A CN 200910189807A CN 102004703 A CN102004703 A CN 102004703A
Authority
CN
China
Prior art keywords
protected data
storage space
data storage
protected
authority
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
CN2009101898073A
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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN2009101898073A priority Critical patent/CN102004703A/en
Publication of CN102004703A publication Critical patent/CN102004703A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The embodiment of the invention discloses a method for protecting data, comprising the following steps: setting a protected data storage space in a storer; setting a permission for the protected data storage space; storing data to be protected into the protected data storage space; judging whether a request for operating the data in the protected data storage space has a permission; and if yes, operating the protected data storage space. The invention discloses a system for protecting data. The system comprises a storage module, a protected data storage module and a protected data read-write module, wherein the storage module is provided with the data protective storage space with permission settings; the protected data storage module is used for storing the protected data into the protected data storage space; and the protected data read-write module has the permission of carrying out reading and/or writing operation on the protected data storage space and is used for carrying out the reading and/or writing operation on the protected data storage space. Since the protected data storage space is arranged and the permission is set, faulty operations carried out on the protected data by the system or other programs are avoided.

Description

The method of protected data and system thereof
Technical field
The present invention relates to a kind of method and system of protected data, particularly a kind of method of mobile phone protected data and system.
Background technology
At present, in using the process of mobile phone, need keep in repair or upgrade mobile phone unavoidably, can carry out unavoidably sometimes mobile phone is carried out formative step, just the factory reset of often saying.Usually we can important information be kept at some on PC or some memory devices before maintenance or upgrading, when maintenance or upgrading when finishing again with these protected datas to mobile phone.But after factory reset, data, and the setting of some all will be resumed such as some general customs of the intensity backlight that is provided with, the sound size of button etc. and be Default Value, also needs to be provided with item by item loaded down with trivial details trouble very.
Chinese patent (CN101282540A) discloses a kind of method of using external memory that the data that will keep are stored.The method that it adopted is by with data with packing is set or splits into one by one that small documents is kept in the external memory, when needing restore data and setting this storer is inserted the recovery of carrying out data in mobile phone then.But the problem of Cun Zaiing is like this, only is to be kept in the external memory, and when being connected with this external memory, system program still might produce misoperation to the data of preciousness, does not thoroughly solve mistake deletion mistake modification problem.
Summary of the invention
A technical matters to be solved by this invention is that present electronic equipments such as mobile phone are when using or keeping in repair, when system recovery Default Value or system carry out formative the time memory device, individuation data that is adopted before factory reset or the system formatization and setting can not preserve, and the problem of recovering after factory reset or system formatization.
The embodiment of the invention discloses a kind of method of protected data, may further comprise the steps: the protected data storage space is set in storer; Described protected data storage space is provided with authority; Data to be protected are saved to the protected data storage space; Whether the operation requests that judgement is carried out the data in the protected data storage space has authority, if then the protected data storage space is operated.
The embodiment of the invention discloses a kind of data protection system, comprising: be provided with the memory module of protected data storage space, described protected data storage space has the authority setting; Protected data is preserved module, the protected data storage space is carried out protected data preserve; The protected data module for reading and writing has the authority that the protected data storage space is read and/or write, and carries out described protected data storage space is carried out read and/or write.
The embodiment of the invention is provided with the protected data storage space by employing; and described protected data storage space is provided with the method for authority; the data that the user are set at protected data are kept at the protected data storage space; and preserve and read module is preserved and read protected data by protected data, avoid system or other programs faulty operation to protected data.
Description of drawings
Fig. 1 is the steps flow chart synoptic diagram that the protected data of the embodiment of the invention is preserved
Fig. 2 divides synoptic diagram for embodiment of the invention storer
Fig. 3 is the data protection system synoptic diagram of the embodiment of the invention
Embodiment
For making objects and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
As shown in Figure 1, the method for the disclosed a kind of protected data of the embodiment of the invention may further comprise the steps:
Step 011: the storer specific region is set to the protected data storage space;
Step 012: described space is provided with authority;
Step 013: data to be protected are saved to the protected data storage space;
Step 014: judge whether the operation to the protected data storage space has authority, if then the protected data storage space is operated.
Described authority to the setting of protected data storage space can be different from the data that do not need protection with described protected data; if certainly enough big the or common data of storage space itself not quite and have necessity of the protected data of being set to; also general data all can be set at protected data; and described general data all is stored in the protected data storage space; data space and protected data storage space can certainly be merged into a protected data storage space, and the space of whole merging is provided with authority.Whether, be protected data storage space, depend on whether this space is set specified permission and only allows protected data to preserve and the fetch program reads and/or writes if that is to say.For example; the function that in cell phone system, has factory reset usually; when the user has carried out the factory reset operation; system can change to return to Default Value its data with access rights; but some data that form in user's practice are arranged or be provided with etc.; the user does not wish to change; and by in storage space, setting the protected data storage space; with the data of not wishing to change or be provided with etc. and be stored in the described space; and the program of visiting this space is provided with authority; the program that only possesses authority just can read, as with default for not having authority, and illegal the deletion.After user's factory reset, program by having authority reads out the data of personalization or setting and is used, in case just can avoid over factory reset, the situation that all data or data all are modified takes place, and has brought convenience for user's use.
Concrete, being operating as of carrying out of described data read and/or write.For example; if for needs being carried out when data recovered preserves; just the protected data storage space is carried out data write operation,, then the data that are stored in this protected data storage space are carried out read operation if when need proposing this protected data.
Concrete, described authority is that the protected data memory space address is set viewable objects.As shown in Figure 2; storer is divided into the number of address section; be that address 1 is system memory space for common data space, address 2 for protected data storage space, address 3; as seen address 1 and address 3 are set at system; can carry out read and/or write, and as seen address 2 is set at specific program, can carry out read and/or write; and system is invisible, can not carry out read and/or write.Thereby the behavior of avoiding system to misread and/or write takes place.
Concrete, can also carry out password challenge for the program of all being attempted carry out to described access rights to the operation of protected data storage space.Program with passwords can be operated the protected data storage space; perhaps when program will be operated the data in the protected data storage space, the user is carried out password challenge, have only the correct password of acquisition just to be allowed to the data in the protected data storage space are operated
Concrete, be set to also comprise the setting protected data before the protected data storage space step in the storer specific region.Carry out mark as the data that hope is protected, the data that will have mark are saved in the protected data storage space.
Above-described storer can also can be external memory storage for internal storage, as SD card, memory stick etc.
Concrete, by setting special protected data program, have only the protected data program to have operating right to the protected data storage space.
Concrete, described storer is a flash memory, i.e. Flash Memory.In portable terminal; usually system program and master data etc. all are stored in the flash memory; think important data by in flash memory, marking the specific memory space in order to preserve those users; such as what some users used always data are set; as the sound size of the backlight intensity of screen, button, screen themes etc.; these data are called protected data; by access rights are set; only allow specific program to read or write or wipe, such specific program is called as protected data and preserves and the fetch program.Get up by the data protection that aforesaid step is important with these, just can avoid other programs to also have the mistake deletion action of system etc.
As shown in Figure 3, the embodiment of the invention also discloses a kind of data protection system, comprising: be provided with the memory module of protected data storage space, described protected data storage space has the authority setting, as carries out password setting or to the program that meets authority as seen; Protected data is preserved module, have preservation authority, the protected data storage space is carried out protected data preserve, can be called as protected data preservation module as long as have the program of preserving authority to the protected data storage space, the program of preserving authority that has as specific also has system etc.; The protected data module for reading and writing; has the authority that the protected data storage space is read and/or write; and carry out described protected data storage space is carried out read and/or write, have only special protected data program to have the authority of deletion protected data data that storage space is stored.
In sum, more than be preferred embodiment of the present invention only, be in order to help to understand the spirit and the main points of this patent, but be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. the method for a protected data may further comprise the steps: the protected data storage space is set in storer; Described protected data storage space is provided with authority; Data to be protected are saved to the protected data storage space; Whether the operation requests that judgement is carried out the data in the protected data storage space has authority, if then the protected data storage space is operated.
2. the method for claim 1 is characterized in that the operation requests that described data are carried out is read and/or write.
3. the method for claim 1 is characterized in that described authority is for setting viewable objects to the protected data memory space address.
4. the method for claim 1 is characterized in that described access rights are that all programs of attempting to carry out the operation of protected data storage space are carried out password challenge.
5. as any described method of claim 1 to 4, it is characterized in that before storer being provided with protected data storage space step, also comprising the step of setting protected data.
6. as any described method of claim 1 to 4, it is characterized in that described storer is a flash memory.
7. data protection system, comprising: be provided with the memory module of protected data storage space, described protected data storage space has the authority setting; Protected data is preserved module, the protected data storage space is carried out protected data preserve; The protected data module for reading and writing has the authority that the protected data storage space is read and/or write, and carries out described protected data storage space is carried out read and/or write.
8. a kind of data protection system as claimed in claim 7 is characterized in that described memory module is a flash memory.
CN2009101898073A 2009-08-31 2009-08-31 Method and system for protecting data Pending CN102004703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101898073A CN102004703A (en) 2009-08-31 2009-08-31 Method and system for protecting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101898073A CN102004703A (en) 2009-08-31 2009-08-31 Method and system for protecting data

Publications (1)

Publication Number Publication Date
CN102004703A true CN102004703A (en) 2011-04-06

Family

ID=43812077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101898073A Pending CN102004703A (en) 2009-08-31 2009-08-31 Method and system for protecting data

Country Status (1)

Country Link
CN (1) CN102004703A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223441A (en) * 2011-06-14 2011-10-19 李海军 Method for personably customizing restore factory setting of mobile phone
CN103279431A (en) * 2013-05-23 2013-09-04 青岛海信宽带多媒体技术有限公司 Access method for kinds of permissions of memorizer
CN105786575A (en) * 2016-03-17 2016-07-20 北京奇虎科技有限公司 Mobile terminal and data elimination avoiding method thereof during system rewriting
CN106445402A (en) * 2015-08-11 2017-02-22 中兴通讯股份有限公司 Storage unit formatting method and system
WO2017185704A1 (en) * 2016-04-25 2017-11-02 中兴通讯股份有限公司 Method and device for secure processing of important contact
CN107704402A (en) * 2017-10-13 2018-02-16 浪潮(北京)电子信息产业有限公司 A kind of method, apparatus for protecting data, computer-readable recording medium
CN108595123A (en) * 2018-04-26 2018-09-28 青岛海信移动通信技术股份有限公司 The date storage method and device of mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223441A (en) * 2011-06-14 2011-10-19 李海军 Method for personably customizing restore factory setting of mobile phone
CN103279431A (en) * 2013-05-23 2013-09-04 青岛海信宽带多媒体技术有限公司 Access method for kinds of permissions of memorizer
CN106445402A (en) * 2015-08-11 2017-02-22 中兴通讯股份有限公司 Storage unit formatting method and system
CN105786575A (en) * 2016-03-17 2016-07-20 北京奇虎科技有限公司 Mobile terminal and data elimination avoiding method thereof during system rewriting
CN105786575B (en) * 2016-03-17 2019-06-04 北京奇虎科技有限公司 Mobile terminal and its data exempt from the method removed when for rewriting system
WO2017185704A1 (en) * 2016-04-25 2017-11-02 中兴通讯股份有限公司 Method and device for secure processing of important contact
CN107704402A (en) * 2017-10-13 2018-02-16 浪潮(北京)电子信息产业有限公司 A kind of method, apparatus for protecting data, computer-readable recording medium
CN108595123A (en) * 2018-04-26 2018-09-28 青岛海信移动通信技术股份有限公司 The date storage method and device of mobile terminal

Similar Documents

Publication Publication Date Title
CN102004703A (en) Method and system for protecting data
US8971144B2 (en) Hardware write-protection
JPH06259248A (en) Memory card
US7984296B2 (en) Content protection device and content protection method
CN106716333B (en) Method for completing secure erase operation
WO2014167721A1 (en) Data erasing device, data erasing method, program, and storage medium
CN104035842A (en) Method for deleting and recovering built-in application program
CN108319520A (en) Mobile device alternate operating system based on secure storage
CN104766021A (en) Authority control system and method
US8990577B2 (en) Information processing apparatus and data protection method
US20100115004A1 (en) Backup system that stores boot data file of embedded system in different strorage sections and method thereof
CN102467420A (en) System and method for storing and restoring configuration information of external board card
US8161218B2 (en) Network adapter, method, and computer program product
CN104765631B (en) A kind of application recovery method and device of mobile terminal
JP2007267006A (en) Information protecting system, portable terminal, information medium, information protecting method, and information protecting program
CN106951771B (en) Mobile terminal using method of android operating system
EP3023925B1 (en) Secure element with applications
US20090235365A1 (en) Data access system
KR100794328B1 (en) Data structure for re-arranging file allocation index by memory block
US7447893B2 (en) Method and system for updating boot block BIOS program
CN101388054A (en) Method for saving Linux startup scripts and configuration file by NVRAM to implement system encrypt
US20130173851A1 (en) Non-volatile storage device, access control program, and storage control method
JP2007293576A (en) Information processing system, data writing method, information processor and memory
US20030154385A1 (en) Data security device of data storage medium
JP6160326B2 (en) Information storage medium, information writing method, and writing program

Legal Events

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

Application publication date: 20110406