CN101321341B - smart card power-off protection method - Google Patents

smart card power-off protection method Download PDF

Info

Publication number
CN101321341B
CN101321341B CN2008100294921A CN200810029492A CN101321341B CN 101321341 B CN101321341 B CN 101321341B CN 2008100294921 A CN2008100294921 A CN 2008100294921A CN 200810029492 A CN200810029492 A CN 200810029492A CN 101321341 B CN101321341 B CN 101321341B
Authority
CN
China
Prior art keywords
data
storage block
storage
piece
index
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.)
Expired - Fee Related
Application number
CN2008100294921A
Other languages
Chinese (zh)
Other versions
CN101321341A (en
Inventor
杨梦飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Eastcompeace Technology Co Ltd
Original Assignee
Eastcompeace Smart Card 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 Eastcompeace Smart Card Co Ltd filed Critical Eastcompeace Smart Card Co Ltd
Priority to CN2008100294921A priority Critical patent/CN101321341B/en
Publication of CN101321341A publication Critical patent/CN101321341A/en
Application granted granted Critical
Publication of CN101321341B publication Critical patent/CN101321341B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a power-off protection method for a smart card. The smart card includes a central processing unit and a memorizer divided into a plurality of pages of storage blocks. The method comprises the steps of: setting, in the memorizer, a data backup region of one page of storage block as a backup storage block; setting a page mark for each page of storage block and writing into start-stop bytes of teach storage block; searching for an updating storage block to be written with updating data, and computing the start byte and stop byte of the updating data when the central processing unit judges the updating data is only written in one page of storage block; changing the start byte of the backup storage block to the page mark of the updating storage block, orderly copying the data before the data updating, the updating data and the data after the data updating to the backup storage block, and changing the stop byte of the backup storage block to the page mark of the updating storage block; erasing the data of the updating storage block, electrifying the smart card and performing data restoration. The invention can reduce memorizer space occupied by a power-off protection region and improve utilization rate of storage space of the smart card memorizer.

Description

Smart card power-off protection method
Technical field
The present invention relates to a kind of data record method, especially a kind of smart card power-off protection method that prevents smart card when outage loss of data.
Background technology
Along with the development of mobile communication technology, the use of mobile phone is very universal, and mobile phone uses removable smart card to carry out communication mostly, as SIM card, UIM card etc.When the user used mobile phone communication, mobile phone carried out read-write operation to smart card, as read the users personal data that is stored in the smart card, write the associated person information of the renewal menu that receives or user's input etc. to smart card.But, when mobile phone writes data to smart card, the data that write are to be temporarily stored in the smart card, imperfect tense cut off the power supply in case mobile phone writes data to smart card, smart card is about to legacy data and wipes, and cuts off the power supply when not finishing write operation, more new data can't correctly be write in the smart card, and legacy data is lost, and not only causes damage to the user, even can influence the operate as normal of smart card.
Therefore, existing smart card is provided with CPU (central processing unit) and storer, and is provided with the power-off protection district mostly in the storer, is used for storing the original data of smart card.The storage organization of existing smart card memory as shown in Figure 1.As seen from Figure 1; the storer of existing smart card is divided into three districts; be respectively code area 1, power-off protection district 2 and user data area 3; wherein code area 1 stores software that smart card operation uses etc., the data that user data area 3 is used to store user's personal data, write by mobile phone etc.And storer shown in Figure 1 is a page virtual memory, and the storage space of storer is divided into the storage block of multipage, and the storage size of each page storage block is fixed and equate.
Referring to Fig. 2, be the storage organization synoptic diagram in power-off protection district 2.The power-off protection district 2 of existing smart card comprises index area 21, first backup area 22 and second backup area 23; wherein the size of index area 21 is one page storage block; store the Data Update sign, upgrade index informations such as data source address, destination address and data length; first backup area 22 is two storage blocks that storage size is one page, and second backup area 23 is that two storage size are two pages storage block.
By mobile phone when smart card writes data, at first searching more, which page storage block new data need write in, and all data of this storage block are copied in first backup area or second backup area, then, CPU (central processing unit) is provided with the Data Update sign of index area, and writes corresponding index information.And again will be more new data write to the corresponding position of this storage block.After finishing aforesaid operations, CPU (central processing unit) is removed the Data Update sign in the index area.
Thus; if in smart card writes the process of data, cut off the power supply by mobile phone; after smart card powers on once more; CPU (central processing unit) can be judged and is provided with the Data Update sign in the index area; and store original data in the storage block of new data more in the power-off protection district; CPU (central processing unit) knows that just write operation last time is unsuccessful, and the data in the power-off protection district are write back former storage block, guarantees that the data of former storage block are not lost.
But; this power-off protection method need be provided with the power-off protection district of seven pages of storage block sizes in the storer of smart card; if the storage space of each page storage block is bigger, then the power-off protection district will take a large amount of storage spaces, and the storage space of smart card reservoir can not obtain fully effectively utilizing.
Summary of the invention
Fundamental purpose of the present invention provides a kind of smart card power-off protection method that reduces the shared storage space in power-off protection district in the smart card memory;
Another object of the present invention provides a kind of smart card power-off protection method that effectively makes full use of the smart card memory storage space.
For realizing above-mentioned fundamental purpose, in the smart card power-off protection method provided by the invention, smart card has CPU (central processing unit) and storer, and storer is divided into the multipage storage block, and this power-off protection method comprises
Set the data backup district of one page storage block at least in storer, the data backup district is the storage block of integer page or leaf, and the storage block at its place is the back-up storage piece;
The footers of each page storage block is set, the footers of every page of storage block is write in the start-stop byte of corresponding stored piece;
CPU (central processing unit) judges whether data updated only is written in one page storage block, in this way, carries out the data step of updating and the first data recovering step;
The Data Update step comprises: CPU (central processing unit) is searched and need be write the more updated stored piece of new data, and calculates the more start byte of new data in the updated stored piece and termination byte; CPU (central processing unit) is revised as the start byte of back-up storage piece the footers of updated stored piece, and with data before the start byte of new data correspondence more in the updated stored piece, more in new data and the updated stored piece more the data after the termination byte of new data correspondence be copied in the back-up storage piece, wherein, data before the start byte of new data correspondence more in the updated stored piece, more in new data and the updated stored piece more the data after the termination byte of new data correspondence be stored in successively in the back-up storage piece, CPU (central processing unit) is revised as the termination byte of back-up storage piece the footers of updated stored piece; Wipe the data of updated stored piece, and the footers of updated stored piece is revised as the footers of back-up storage piece;
The first data recovering step: after smart card powers on, judge whether that the footers of start-stop bytes store of storage block is inconsistent, in this way, write the footers of back-up storage piece, and wipe the data of this storage block to the start-stop byte of this page storage block; And, after CPU (central processing unit) powers on, the footers that also can judge whether two pages of storage blocks is identical, footers if any two pages of storage blocks is identical, then will be wherein the footers of one page storage block be revised as the footers of back-up storage piece, and wipe footers and be modified to data in the storage block of back-up storage piece footers.
By such scheme as seen, smart card is more during new data, after not needing all data with the updated stored piece to be copied to the back-up storage piece, write more new data again, but with do not need in the updated stored piece data updated and more new data be copied to the back-up storage piece, and the back-up storage piece is changed to common storage block after finishing duplicating, change the updated stored piece into the back-up storage piece.Like this, the storage block that only needs to be provided with one page or two pages in the storer gets final product as the back-up storage piece, and the storage space that the power-off protection district takies is less, and improves the storage space utilization factor of storer.
And, writing when cutting off the power supply in the data procedures to smart card by mobile phone, the footers of the start-stop bytes store of back-up storage piece is inconsistent, and CPU (central processing unit) is can the judgment data write operation unsuccessful, the data of wiping the back-up storage piece.Like this, can guarantee that updated stored piece Central Plains data can not lose, guarantee the operate as normal of smart card.
Description of drawings
Fig. 1 is the storage organization synoptic diagram of existing smart card memory;
Fig. 2 is the storage organization synoptic diagram in power-off protection district in the existing smart card;
Fig. 3 is the storage organization synoptic diagram of smart card memory in the embodiment of the invention;
Fig. 4 is the storage organization synoptic diagram of smart card memory index area in the embodiment of the invention;
Fig. 5 a to Fig. 5 e is different constitutional diagrams constantly when the back-up storage piece writes data in the embodiment of the invention.
The invention will be further described below in conjunction with drawings and Examples.
Embodiment
Referring to Fig. 3, be the storage organization synoptic diagram of smart card memory in the embodiment of the invention.In the present embodiment, the storer that smart card is provided with CPU (central processing unit) and can be carried out read-write operation by CPU (central processing unit), wherein, storer is a page virtual memory, is made of the multipage storage block, the storage size of each page storage block is fixed and is equated.
In the present embodiment, need encode, the footers of each page just is set, and this footers be write in the start byte and termination byte of each page storage block each page storage block in the storer.As shown in Figure 3, the coding of storage block begins sequential encoding from 0x01, and the coding of last storage block is set at 0xFF, uses last storage block as the data backup district.When CPU (central processing unit) reads the data of storer, according to the coded sequence reading of data of each page storage block.Therefore, the coding of all storage blocks needs continuously in the storer, but storage block need not arranged according to coded sequence.
Certainly, in the present embodiment, the footers of storage block uses a byte representation, if storage block quantity is more, then can use the byte representation more than two or two.
One data backup district is set in storer, and this data backup district should comprise one page storage block at least, and data backup district storage size is the storage block of integer page or leaf.In the present embodiment, last one page storage block is set to the data backup district, and the storage block that just is numbered 0xFF is the data backup district, and this storage block is the back-up storage piece just.Not when smart card writes data, the back-up storage piece is not stored any data.
Also be provided with an index area in the storer, when the more new data that writes to smart card when mobile phone need be written to storage block more than two pages or two pages, need upgrade data storage in the index area, the storage organization of index area as shown in Figure 4.The index area comprises first index area 41 and second index area 42, wherein first index area 41 comprises four index slips, each index slip comprises Data Update sign, the more destination address that writes of new data, the more length of new data and the more new data that need write, and wherein more the length of new data is no more than 40 bytes.Second index area comprises an index slip, and this index slip comprises Data Update sign, the more destination address that writes of new data, the more length of new data and the more new data that need write, and wherein more the length of new data can surpass 40 bytes.
Whether as seen from Figure 4, include two data updating mark in each index slip, being used for identifying the manipulative indexing bar has more new data.Need be when the index area writes more new data, data that at first are provided with in the index slip are upgraded sign, will upgrade again data length, destination address and more new data be written in the corresponding index slip, another Data Update is set at last identifies.Like this, cut off the power supply if write in the data procedures, after smart card powered on, CPU (central processing unit) can successfully write more new data to the index area by judging that two data renewals identify whether consistent judging whether in the index slip.
In the same manner, CPU (central processing unit) is at first removed one of them Data Update sign after finishing the Data Update operation, then other index informations in this index slip is wiped, and removes another Data Update sign at last.As if cutting off the power supply in the process of wiping the index area index information in CPU (central processing unit), after smart card powered on, CPU (central processing unit) also can judge whether need continue to wipe corresponding information in the index slip by judging in the index slip that two data updating mark are whether consistent.
By mobile phone when smart card writes data, CPU (central processing unit) judges at first whether the data that write need to be written in the storage block more than two pages or two pages, in this way, judge further then whether the more new data that is written to storage block surpasses 40 bytes, if be no more than 40 bytes, then data updated is write in first index area 41 in any index slips, and the Data Update sign is set, write the destination address that new data more need write and the index informations such as length of new data more.If data updated surpasses 40 bytes, then data updated is write in second index area 42.
If the more new data that writes of mobile phone only is written in one page storage block, the destination address that the more new data that CPU (central processing unit) provides according to mobile phone writes searches more which page storage block the new data needs write in, and this storage block is the updated stored piece.Simultaneously, CPU (central processing unit) is also calculated more start byte and the termination byte of new data in the updated stored piece.
Then, CPU (central processing unit) is copied to the more new data that does not need data updated and mobile phone to write to smart card in the updated stored piece in the back-up storage piece, and the constitutional diagram that CPU (central processing unit) is inscribed when different when the back-up storage piece writes data is shown in Fig. 5 a to Fig. 5 e.
After CPU (central processing unit) is calculated more the start-stop byte of new data in the updated stored piece, at first the footers of updated stored piece is write to the start byte of back-up storage piece.Shown in Fig. 5 a, in the present embodiment, updated stored piece 51 is the storage blocks that are encoded to 0x01, and CPU (central processing unit) at first writes the footers of back-up storage piece 51 to the start byte of back-up storage piece 52, just write this coding of 0x01.Simultaneously, with in the updated stored piece 51 more the data before the start byte of new data correspondence write in the back-up storage piece 52, the data storage that writes is behind the start byte of back-up storage piece.
Then, shown in Fig. 5 b, CPU (central processing unit) writes the more new data that mobile phone need write in the back-up storage piece 52.Certainly, more new data should write between its corresponding start-stop byte, after just more new data is closelyed follow the data that write in Fig. 5 a.
Then, CPU (central processing unit) with in the updated stored piece 51 the later data of termination byte of new data correspondence be copied in the back-up storage piece 52, this data storage that writes is behind new data more, shown in Fig. 5 c.At this moment, the data of back-up storage piece 52 promptly comprise the more new data that does not need data updated in the updated stored piece 51 and need write, and just use new data more to replace to need in the updated stored piece 51 data that are replaced.
At last, CPU (central processing unit) writes the footers of updated stored piece 51 to the termination byte of back-up storage piece 52, just the footers of back-up storage piece 52 is revised as the footers of updated stored piece, shown in Fig. 5 d.Simultaneously, CPU (central processing unit) is wiped the data of updated stored piece 51, and writes the footers of back-up storage piece 52 to the start-stop byte of updated stored piece 51, i.e. 0xFF is shown in Fig. 5 e.Like this, updated stored piece is originally promptly changed into back-up storage piece 52, stores the data after the renewal in the back-up storage piece originally, promptly becomes common storage block.During the CPU (central processing unit) reading of data, be to fetch data, be arranged in the storer that as long as the footers of all storage blocks is continuous, CPU (central processing unit) can continuous reading corresponding data even storage block is discontinuous according to the footers sequential read of each page storage block.
When CPU (central processing unit) is cut off the power supply in updated stored piece 51 writes the process of data, after re-powering, CPU (central processing unit) judges whether that the footers of start-stop bytes store of storage block is inconsistent, just judge whether under the state that carries out shown in Fig. 5 a, Fig. 5 b, Fig. 5 c, to cut off the power supply, in this way, then wipe the data of back-up storage piece 52, can guarantee that so the former data that are stored in updated stored piece 51 can not lose, guarantee the operate as normal of smart card.
Simultaneously, after CPU (central processing unit) powers on, the footers that also can judge whether two pages of storage blocks is identical, judge that just the state whether CPU (central processing unit) carries out shown in Fig. 5 d cuts off the power supply down, in this way, then will be wherein the data erase of one page storage block, and the footers of the storage block of obliterated data is revised as the footers of back-up storage piece, so promptly finish the Data Update operation.
Certainly, aforesaid operations is the operation when more new data only is written to one page storage block, when if more new data need be written to storage block more than two pages or two pages, CPU (central processing unit) selects more according to the length of new data more that new data is written in first index area or second index area, be provided with the Data Update sign of index area, more the destination address that writes of new data, write index informations such as upgrading data length.
Then, CPU (central processing unit) will not need data updated, be stored in and need data updated to be written in the back-up storage piece 52 in the index area in the updated stored piece 51, these operations write the more operation basically identical of new data with aforementioned to one page storage block, just carry out twice to the more operation of new data of one page storage block, do not repeat them here.
After CPU (central processing unit) is finished aforesaid operations, also need Data Update sign corresponding in the index area is removed, the expression Data Update is operated successfully.
Certainly, in the said process, the more new data that CPU (central processing unit) will write different storage blocks writes respectively in the different index slips, and writes corresponding index information in this index slip, comprise this more new data need write in which page storage block, this is the length etc. of new data more.CPU (central processing unit) is carried out a Data Update operation at every turn, and promptly each more new data with an index slip correspondence writes in the corresponding storage block, until all more new datas are write to corresponding storage block.
This shows, if CPU (central processing unit) writes in the data procedures when outage takes place to back-up storage piece 52, the more new data that is stored in the index area is not wiped free of, and the data in the updated stored piece 51 are not wiped free of yet, therefore, CPU (central processing unit) can with in the updated stored piece 51 more the data before the corresponding start byte of new data, more in new data and the updated stored piece 51 the more corresponding later data of byte that stop of new data be copied in the back-up storage piece 52.
Simultaneously, CPU (central processing unit) can be by judging that whether the Data Update sign is set in the index area is judged whether the preceding Data Update operation of outage is successful, all be provided with as if two updating mark in a certain index slip in the index area, Data Update is unsuccessful before the outage of expression smart card, need carry out Data Update operation once more, new data more is written in the corresponding storage block.
In addition, if two data updating mark of a certain index slip are inconsistent in the index area, represent that then smart card finished the operation that writes data or do not carried out Data Update operation, CPU (central processing unit) can ask mobile phone to send the more new data or the updating mark that directly clears data to smart card once more, and with the renewal datum target address of index area, upgrade index information such as data length and wipe.
This shows; in the present embodiment; as long as the data backup district of one page storage block size is set in storer; and the index area of one page storage block is set; and write footers every page of storage block start-stop byte; can effectively prevent smart card when outage loss of data, the storage space that data backup district and index area take shared storage space in power-off protection district in the existing smart card, thus the storage space wait of smart card memory is made full use of.
Certainly, the foregoing description only is one embodiment of the invention, during practical application, more change can also be arranged, storage block more than two pages or two pages for example is set as the data backup district in storer, and the back-up storage piece is not arranged on the last page storage block of storer; Perhaps, in the updated stored piece more the data before the corresponding start byte of new data, more in new data and the updated stored piece the more corresponding later data of byte that stop of new data not necessarily copy in the back-up storage piece successively, its duplication sequence can change, and is kept at the back-up storage piece successively as long as guarantee above-mentioned data.
Simultaneously, power-off protection method of the present invention is not limited to be applied on the telecom intelligent card such as SIM card, can also be applied in the multiple smart cards such as mass transit card, social security card loss of data when preventing the smart card outage.
At last; it is emphasized that; the invention is not restricted to above-mentioned embodiment, also should be included in protection scope of the present invention such as the subtle change such as change of change, storage block quantity and the storage block storage size of index slip quantity in the change of index area storage index information, the index area.

Claims (2)

1. smart card power-off protection method, this smart card has CPU (central processing unit) and storer, and described storer is divided into the multipage storage block, and this power-off protection method comprises
Set the data backup district of one page storage block at least in storer, the storage block at place, data backup district is the back-up storage piece;
The footers of each page storage block is set, the footers of every page of storage block is write in the start-stop byte of corresponding stored piece;
CPU (central processing unit) judges whether data updated only is written in one page storage block, in this way, carries out the data step of updating and the first data recovering step;
The Data Update step comprises: CPU (central processing unit) is searched and need be write the more updated stored piece of new data, and calculates the more start byte of new data in the updated stored piece and termination byte; CPU (central processing unit) is revised as the start byte of back-up storage piece the footers of updated stored piece, and with data before the start byte of new data correspondence more in the updated stored piece, more in new data and the updated stored piece more the data after the termination byte of new data correspondence be copied in the back-up storage piece, data before the start byte of new data correspondence more in the described updated stored piece, more in new data and the updated stored piece more the data after the termination byte of new data correspondence be stored in successively in the back-up storage piece, CPU (central processing unit) is revised as the termination byte of back-up storage piece the footers of updated stored piece; Wipe the data of updated stored piece, and the footers of updated stored piece is revised as the footers of back-up storage piece;
The first data recovering step: after smart card powers on, judge whether that the footers of start-stop bytes store of storage block is inconsistent, in this way, write the footers of back-up storage piece, and wipe the data of this storage block to the start-stop byte of this page storage block; Simultaneously, after CPU (central processing unit) powers on, the footers that also can judge whether two pages of storage blocks is identical, footers if any two pages of storage blocks is identical, then will be wherein the footers of one page storage block be revised as the footers of back-up storage piece, and wipe footers and be modified to data in the storage block of back-up storage piece footers.
2. smart card power-off protection method according to claim 1 is characterized in that:
Also be provided with the index area in the described storer, the index area comprises first index area and second index area, first index area comprises four index slips, second index area comprises an index slip, each index slip comprises two data updating mark, the more destination address that writes of new data, the more length and the new data more of new data, in the index slip of first index area more the length of new data be no more than 40 bytes, in the index slip of second index area more the length of new data surpass 40 bytes;
Judge that as CPU (central processing unit) data updated need write in the storage block more than two pages or two pages, whether the more new data that judgement need be written to storage block surpasses 40 bytes, as be no more than, data updated is written in first index area in arbitrary index slip, as surpass, data updated is write in the index slip of second index area, the step that data updated is written in the index slip of first index area or second index area is specially: a data updating mark in the index slip at first is set, to upgrade data length then, destination address and more new data be written in the corresponding index slip, another Data Update sign of index slip is set at last; CPU (central processing unit) is according to the information of index slip, carry out a Data Update step at the data that write to each page storage block, after carrying out the data step of updating, remove one of them Data Update sign earlier, wipe other index informations of manipulative indexing bar then, remove another Data Update sign again;
The second data recovering step: after smart card powers on, if in a certain index slip of judgement index area two identical Data Update signs are set, then the more new data with this Data Update sign correspondence writes in the updated stored piece, if judge that two data updating mark in a certain index slip are inconsistent, then request sends the more new data or the updating mark that clears data to smart card once more.
CN2008100294921A 2008-07-11 2008-07-11 smart card power-off protection method Expired - Fee Related CN101321341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100294921A CN101321341B (en) 2008-07-11 2008-07-11 smart card power-off protection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100294921A CN101321341B (en) 2008-07-11 2008-07-11 smart card power-off protection method

Publications (2)

Publication Number Publication Date
CN101321341A CN101321341A (en) 2008-12-10
CN101321341B true CN101321341B (en) 2011-12-28

Family

ID=40181109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100294921A Expired - Fee Related CN101321341B (en) 2008-07-11 2008-07-11 smart card power-off protection method

Country Status (1)

Country Link
CN (1) CN101321341B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661565B (en) * 2009-09-24 2012-05-02 北京握奇数据系统有限公司 Power-off protection method of intelligent card with Mifare simulation function, device and system
CN101807320A (en) * 2010-04-12 2010-08-18 中兴通讯股份有限公司 Terminal aiming at non-contact intelligent card and method thereof for processing abnormality
CN102236816A (en) * 2010-04-27 2011-11-09 公安部第一研究所 Non-contact intelligent card file system for supporting power fail safeguard and method for preventing power fail
CN102147846A (en) * 2010-12-29 2011-08-10 北京握奇数据系统有限公司 Method for writing data in intelligent card and intelligent card
CN102799931B (en) * 2011-11-29 2015-03-04 深圳中科讯联科技有限公司 Data protection method of radio frequency smart card
CN102592154B (en) * 2011-12-30 2014-08-20 北京握奇数据系统有限公司 Intelligent card and data processing method and device therefor
CN102970432B (en) * 2012-11-23 2016-06-08 惠州Tcl移动通信有限公司 A kind of mobile terminal and the method controlling SIM card hot plug thereof
CN103093151B (en) * 2012-12-31 2015-09-30 中国电子科技集团公司第十五研究所 A kind of smart card data power fail safeguard circuit
CN103744746B (en) * 2013-12-30 2016-08-03 北京工业大学 A kind of intelligent card records backup based on index and restoration methods
CN103914393B (en) * 2014-04-11 2017-01-11 四川华拓光通信股份有限公司 MCU-based (microprogrammed control unit-based) non-loss FLASH storage update method
KR102405054B1 (en) * 2015-11-27 2022-06-08 에스케이하이닉스 주식회사 Memory device and method for operating memory device
CN105677383A (en) * 2015-12-28 2016-06-15 北京华大智宝电子系统有限公司 Method for updating data of smart card
CN106093659A (en) * 2016-07-22 2016-11-09 工业和信息化部电子工业标准化研究院 Smart card power-off protection test device, system and method
CN107729972B (en) * 2017-09-01 2020-09-08 捷德(中国)科技有限公司 Data protection method for intelligent IC card
CN111273852A (en) * 2018-12-04 2020-06-12 智微科技股份有限公司 Memory block size determination method
CN111246480A (en) * 2020-01-10 2020-06-05 中移(杭州)信息技术有限公司 Application communication method, system, equipment and storage medium based on SIM card
CN112397128A (en) * 2020-11-19 2021-02-23 潍柴动力股份有限公司 Control method and device for Flash memory

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677571A (en) * 2004-03-12 2005-10-05 株式会社瑞萨科技 Nonvolatile memory apparatus
CN1845082A (en) * 2006-04-29 2006-10-11 北京飞天诚信科技有限公司 Safety writing method for flash memory
CN101025715A (en) * 2007-03-07 2007-08-29 北京飞天诚信科技有限公司 Power-fail protection method based on two continuous logical blocks for non-volatile memory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677571A (en) * 2004-03-12 2005-10-05 株式会社瑞萨科技 Nonvolatile memory apparatus
CN1845082A (en) * 2006-04-29 2006-10-11 北京飞天诚信科技有限公司 Safety writing method for flash memory
CN101025715A (en) * 2007-03-07 2007-08-29 北京飞天诚信科技有限公司 Power-fail protection method based on two continuous logical blocks for non-volatile memory

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴俊军等.面向损耗均衡的COS数据备份机制研究.《计算机工程与科学》.2008,第30卷(第4期),118-120. *

Also Published As

Publication number Publication date
CN101321341A (en) 2008-12-10

Similar Documents

Publication Publication Date Title
CN101321341B (en) smart card power-off protection method
EP2115595B1 (en) Memory device performance enhancement through pre-erase mechanism
TW392173B (en) Method for controlling non volatile semiconductor memory
CN1900919B (en) Flash memory comprising a plurality of blocks
CN101763295B (en) Data backup method, data backup device, backup item erasing method, backup item erasing device, data recovery method and data recovery device
CN103996412A (en) Power-fail protection method applied to intelligent-card nonvolatile memories
CN102135942B (en) Method for realizing wear-leveling in storage equipment as well as the storage equipment
CN101515276B (en) Method for write operation of file data, and recovery method and recovery system for file data
CN103064760B (en) Backup method and backup device
CN101231617B (en) Method for processing data of flash memory equipment
JPH0736175B2 (en) System configuration setting method of data processing system, data processing system, and expansion unit for data processing system
TW200741526A (en) Management of memory blocks that directly store data files
CN103150256A (en) Method and device to improve usb flash write performance
CN101019098A (en) File storage device, host apparatus, method for formatting nonvolatile semiconductor memory, and method of writing data in nonvolatile semiconductor memory
CN105302665B (en) A kind of improved Copy on write Snapshot Method and system
CN109669889B (en) Light Nor Flash control method and device
CN1936866A (en) Flash memory body storing mechanism with data restoring function
CN101699476A (en) Data processing method and device of smart cards
CN101477483B (en) Snap processing method and apparatus based on non-volatile memory medium
CN100456263C (en) Method for treating broken block when using flash memory in tax-controlled cashing machine
CN101763490B (en) Data movement method for flash intelligent card
CN102521146A (en) Data addressing storage method of flash memory block subdivision
CN110262980B (en) High-speed storage system based on limited-life storage medium
US9535796B2 (en) Method, apparatus and computer for data operation
CN103257928A (en) Method and system for data management of flash memory 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
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: EASTCOMPEACE TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: EASTCOMPEACE SMART CARD CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 519060 Guangdong province Zhuhai Nanping Science and Technology Industrial Park Road No. 8 screen

Patentee after: Eastcompeace Technology Co., Ltd.

Address before: 519060 Guangdong province Zhuhai Nanping Science and Technology Industrial Park Road No. 8 screen

Patentee before: Eastcompeace Smart Card Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111228

Termination date: 20160711

CF01 Termination of patent right due to non-payment of annual fee