CN101382907A - Smart card operation method and the smart card - Google Patents

Smart card operation method and the smart card Download PDF

Info

Publication number
CN101382907A
CN101382907A CNA2008102250400A CN200810225040A CN101382907A CN 101382907 A CN101382907 A CN 101382907A CN A2008102250400 A CNA2008102250400 A CN A2008102250400A CN 200810225040 A CN200810225040 A CN 200810225040A CN 101382907 A CN101382907 A CN 101382907A
Authority
CN
China
Prior art keywords
affairs
carry out
smart card
operator scheme
determining
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.)
Granted
Application number
CNA2008102250400A
Other languages
Chinese (zh)
Other versions
CN100595733C (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.)
Petevio Institute Of Technology Co ltd
Original Assignee
Potevio Institute of Technology 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 Potevio Institute of Technology Co Ltd filed Critical Potevio Institute of Technology Co Ltd
Priority to CN200810225040A priority Critical patent/CN100595733C/en
Publication of CN101382907A publication Critical patent/CN101382907A/en
Application granted granted Critical
Publication of CN100595733C publication Critical patent/CN100595733C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a smart card operation method, which comprises the steps: A. during the process for executing an affair, after a key node is executed, the execution result corresponding to the key node is backed up and a preset updating flag bit is set to record the execution process of the affair; the key node is more than one key operation preselected from all operations required for finishing the affairs; B. if interruption occurs during the execution process of the affairs, the next executed operation is determined though the inquiry of the updating flag bit and the determined operation is executed according to the backup information. The invention discloses a smart card simultaneously. The smart card operation method and the smart card can meet needs of various real-time and non-real-time businesses.

Description

A kind of smart card operation method and a kind of smart card
Technical field
The present invention relates to smart card techniques, particularly a kind of smart card operation method and a kind of smart card that can satisfy miscellaneous service demands such as real-time and non real-time.
Background technology
Along with the support of country to smart card industry, smart card has obtained in fields such as enterprise, bank, school, communication, traffic, industry and commerce, the tax and public security using widely, correspondingly, the data reliability in the smart card is also had higher requirement.
At present, the operation of the data reliability in the assurance smart card is referred to as the atomicity operation.Atomicity operation is to regard affairs as a complete operational set (affairs are meant that finishing uses or the set of professional required all operations), each operation in the affairs is inseparable, the all operations of affairs must be submitted to or rollback by whole, if in finishing the process of affairs, interrupt when carrying out any one operation, then whole affairs will roll back to affairs and begin state before.
For example, for the polylith data being write continuously these affairs of smart card,, then after interrupting recovery,, then need to start anew to write again all data if also will carry out these affairs if in writing the process of data, interrupt.In addition, can adopt the mode of legacy data backup or new data backup, avoid interrupting the influence that may cause legacy data in the smart card.Wherein, the legacy data backup mode is meant the legacy data in the smart card is backed up, and like this, if interrupt, then can the data in the smart card be reverted to legacy data by do backup in writing the process of new data; The new data backup mode is meant new data is written to backup area, like this, if interrupt in writing the process of new data, then can the legacy data in the smart card not impacted.
Though above-mentioned atomicity operation can guarantee the reliability of the data in the smart card to a certain extent, this operator scheme but can't satisfy the demand of the business of having relatively high expectations for real-time.Such as, for the mobile phone payment television services, if the user selects real-time pay charge way, promptly according to watching the duration of program to pay the fees, so, when the user finishes watching one section program, when beginning to pay the fees operation by smart card, if power down takes place suddenly in mobile phone, after mobile phone re-powers, the data in the smart card will return to the state before the operation of paying the fees, and that is to say so, can't proceed the operation of paying the fees, thereby benefits of operators is suffered damage.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of smart card operation method, can satisfy the demand of miscellaneous services such as real-time and non real-time.
Another object of the present invention is to provide a kind of smart card, can satisfy the demand of miscellaneous services such as real-time and non real-time.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of smart card operation method, this method comprises:
A, in carrying out the process of affairs, whenever execute a key node, then the execution result with described key node correspondence backs up, and by predefined updating mark position is provided with, writes down the executive process of described affairs; Described key node is a previously selected above important operation from all operations of finishing described office need;
If B interrupts in the process of carrying out described affairs, then after interrupting recovery,, determine the operation that next step will be carried out by inquiring about described updating mark position, and the described operation of determining of information and executing of the described backup of foundation.
Before the described steps A, further comprise:
Receive the notification instruction of self terminal, determine to carry out the operator scheme that described office need adopt,, then carry out described steps A if the operator scheme of determining is the integrality operation according to described notification instruction;
Perhaps, the operation mode information corresponding respectively according to the different affairs of preserving in advance determined to carry out the operator scheme that described office need adopt, if the operator scheme of determining is the integrality operation, then carries out described steps A.
Preferably, described notification instruction is Application Protocol Data Unit APDU instruction; The described operator scheme that need adopt according to the described office of the definite execution of notification instruction comprises:
Read the operator scheme indication information that carries in the operator scheme zone bit in the described APDU instruction, determine to carry out the operator scheme that described office need adopt according to described operator scheme indication information.
If the operator scheme of determining is atomicity operation, then in the process of carrying out described affairs, in taking place, have no progeny, the state of described affairs is rolled back to the state of described affairs before beginning to carry out.
Described affairs are the affairs of smartcard internal, perhaps for needing to carry out between smart card and the terminal affairs of information interaction.
Before the described operation of determining of the information and executing of the described backup of described foundation, further comprise:
Judge whether the interrupted number of times of described affairs has reached predefined maximum interruption times threshold value, if not, the then described operation of determining of information and executing of the described backup of foundation; If, then carry out authentication, and after authentication is passed through, according to the described operation of determining of information and executing of described backup.
A kind of smart card comprises:
Backup units is used for whenever executing a key node in the process of carrying out affairs, and then the execution result with described key node correspondence backs up, and by predefined updating mark position is provided with, writes down the executive process of described affairs; Described key node is a previously selected above important operation from all operations of finishing described office need;
Performance element is used for by inquiring about described updating mark position, determining the operation that next step will be carried out after the interruption recovery that the process of carrying out described affairs occurs, and the described operation of determining of information and executing of the described backup of foundation.
Preferably, further comprise in the described smart card:
Mode selecting unit is used to receive the notification instruction of self terminal, determines to carry out the operator scheme that described office need adopt according to described notification instruction, if the operator scheme of determining is the integrality operation, then notifies described backup units to carry out self function; Perhaps, be used for the operation mode information corresponding respectively, determine to carry out the operator scheme that described office need adopt,, then notify described backup units to carry out self function if the operator scheme of determining is the integrality operation according to the different affairs of preserving in advance.
Described mode selecting unit is further used for, if the operator scheme of determining is atomicity operation, then in the process of carrying out described affairs, has no progeny in taking place, and the state of described affairs is rolled back to the state of described affairs before beginning to carry out.
Described affairs are the affairs of described smartcard internal, perhaps for needing to carry out between described smart card and the terminal affairs of information interaction.
Wherein, described performance element comprises: determine subelement and carry out subelement;
Described definite subelement is used for by inquiring about described updating mark position, determining the operation that next step will be carried out after the interruption recovery that the process of carrying out described affairs occurs;
Described execution subelement is used for the described operation of determining of information and executing according to described backup.
Preferably, further comprise in the described performance element:
Count sub-element is used to add up the interrupted number of times of described affairs;
Judgment sub-unit is used to judge whether the interrupted number of times of described affairs has reached predefined maximum interruption times threshold value, if not, then notify described execution subelement to carry out self function; If then carry out authentication, and after authentication is passed through, notify described execution subelement to carry out self function.
As seen, adopt technical scheme of the present invention, smart card in carrying out the process of a certain affairs, whenever execute a key node after, then the execution result with this key node correspondence backs up, and, the updating mark position writes down the executive process of these affairs by being set, like this, in case in the process of carrying out these affairs, interrupt, after waiting to interrupt recovering, can determine the operation that next step will be carried out according to the updating mark position, and can be according to this operation of determining of information and executing of backup.Compare with existing atomicity operator scheme, this operator scheme provided by the present invention can not cause loss of data because of interruption, so can satisfy the demand of miscellaneous services such as real-time and non real-time.
Description of drawings
Fig. 1 is the process flow diagram of the inventive method embodiment.
Fig. 2 is the implementation synoptic diagram of an affairs example among the inventive method embodiment.
Fig. 3 is the implementation synoptic diagram of another affairs example among the inventive method embodiment.
Fig. 4 is the realization flow figure of the operation recovery protection mechanism among the inventive method embodiment.
Fig. 5 is the composition structural representation of apparatus of the present invention embodiment.
Embodiment
For solving problems of the prior art, a kind of brand-new smart card operation pattern is proposed among the present invention, be the integrality operator scheme: in the process of carrying out a certain affairs, whenever execute a key node, then the execution result with this key node correspondence backs up, and by predefined updating mark position is provided with, write down the executive process of these affairs, be current which key node of carrying out, described key node is a previously selected above important operation from all operations of finishing these office's need; Like this,, then after interrupting recovery,, can determine the operation that next step will be carried out by inquiry updating mark position if in the process of carrying out these affairs, interrupt, and can be according to the described operation of determining of information and executing of backup.
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in further detail.
Fig. 1 is the process flow diagram of the inventive method embodiment.As shown in Figure 1, may further comprise the steps:
Step 101: set is carried out in the updating mark position that sets in advance.
In the present embodiment, when needs begin to carry out a certain affairs, at first set is carried out in the updating mark position that sets in advance, be about to the updating mark position and be set to 0.
Step 102: in the process of carrying out affairs, whenever execute a key node, then the execution result with this key node correspondence backs up, and by the updating mark position is provided with, writes down the executive process of these affairs.
Here the key node of being mentioned is meant a previously selected above important operation from all operations of finishing these office's need.
In this step, whenever execute a key node after, except the execution result of this key node correspondence will being backed up, also need the updating mark position is provided with, with the record affairs executive process.In the present embodiment, can distinguish corresponding different updating mark position set-up mode by pre-set different key node, like this, by this updating mark position of inquiry, can know carried out which key node that is in the subsequent process.Such as, after executing first key node, can be set to 1 in the updating mark position; After executing second key node, the updating mark position is set to 2, and the like.
Step 103: judge in the process of carrying out these affairs whether interrupt, if then execution in step 104; Otherwise, return execution in step 102.
Step 104: after interrupting recovery,, determine the operation that next step will be carried out by inquiry updating mark position, and according to this operation of determining of information and executing of backing up.
If in the process of carrying out affairs, owing to accidental interruption appears in various possible reasons, then after interrupting recovery, by inquiry updating mark position, what operation what can know that next step will carry out is, then, according to back up, the execution result of performed key node is carried out next step operation that will carry out that this is determined before promptly taking place to interrupt.
Illustrate: suppose that a certain affairs comprise three key nodes altogether, are respectively key node 1, key node 2 and key node 3; For ease of describing, supposing to finish these affairs only needs this three operations altogether.So,, but interrupt when also not executing key node 2, then after interrupting recovering, begin to carry out from key node 2 if executing key node 1; If executing key node 2, but interrupt when also not executing key node 3, then after interrupting recovering, begin to carry out from key node 3; Certainly, if when also executing key node 1, do not interrupt, then after interrupting recovery, begin execution from key node 1 and get final product.
In the subsequent process, process shown in the repeating step 102~104 is until all operations that executes these affairs.
Step 105: behind all operations that executes these affairs, with the zero clearing of updating mark position, process ends.
Need to prove that the affairs of being mentioned among the present invention can be meant the affairs of smartcard internal, also can be meant the affairs that need to carry out between smart card and the terminal information interaction.Promptly at both of these case, by concrete example scheme of the present invention is described in further detail respectively below.
Example one:
Suppose that smart card is condition receiving card (CA), affairs are that the CA card watches the duration of program to charge according to the user.As shown in Figure 2, the implementation of these affairs may further comprise the steps:
Step 201: the APDU instruction that receiving terminal is sent, open the transaction protection function.
After the user finished watching program, the employed terminal of user can send to the CA card and comprise programme information, as watched the APDU instruction of information such as duration, pay per view mode and price.After this APDU instruction is received in the CA clamping, open the transaction protection function of self, be about to position, updating mark position.
Step 202: the duration of watching of adding up the user.
Step 203: check pay per view mode and price, calculate the required expense of paying of user.
Step 204: judge whether remaining sum is sufficient in the card, if then execution in step 205; Otherwise, carry out fault processing.
It is irrelevant how to carry out fault processing and the present invention, is not described.
Step 205: carry out the operation of deducting fees.
Step 206: record transaction details.
The specific implementation of above-mentioned steps 202~206 all with prior art in identical, repeat no more.
Step 207: close the transaction protection function, process ends.
Be about to the zero clearing of updating mark position.
If interrupt in the process accident of carrying out affairs shown in Figure 2, such as, after having calculated the required expense of paying of user, also do not have enough time to deduct fees and just cut off the power supply, so, if handle, then be equivalent to the user and watched TV programme but not pay, thereby benefits of operators is suffered damage according to existing mode; And after adopting scheme of the present invention, can address this problem preferably.
Suppose that above-mentioned steps 202,203,204,205 and 206 is key node, then in carrying out the process of affairs shown in Figure 2, whenever execute a key node after, all need to carry out the backup of data and the setting of updating mark position.Like this, if when execution in step 203, interrupt, so, by inquiry updating mark position, carried out the step 202 that is over before can knowing interruption, and, owing to backed up the execution result of step 202, so can be according to this execution result execution in step 203; The rest may be inferred for other situation.Especially, for interrupting this situation when the execution in step 202, can be by inquiry updating mark position because it is set to 0 at this moment, so know and also do not carry out any key node, subsequent interrupt recover the back directly execution in step 202 get final product.
Example two:
Suppose that smart card is the CA card, affairs are similarly the CA card and watch the duration of program to charge according to the user, but different be with shown in Figure 2, in this example, terminal can be not directly send to the CA card with user's the program duration of watching, but need the CA cartoon after constantly carrying out information interaction with terminal, obtain the initial and concluding time that the user watches program, so calculate the user watch the program duration; And, in the follow-up charging process, the CA card also need and terminal between carry out information interaction.As shown in Figure 3, the implementation of these affairs may further comprise the steps:
Step 301: user's application software that opens a terminal, CA sticks into capable initial reset simultaneously.
Step 302: terminal sends to the CA card selects the APDU1 that uses to instruct.
In this step, terminal sends the APDU1 instruction to the CA card, is applied as the pairing application of pay TV so that notice CA card self is selected.
Step 303: the program that the terminal selection will be watched receives the data stream and the authorization control message (ECM) of selected program, and comprises the APDU2 instruction of ECM information to the transmission of CA card.
After the CA clamping receives the APDU1 instruction of self terminal, can be to response message of terminal loopback; After terminal receives this response message, promptly carry out the described process of this step.
After APDU2 instruction is received in step 304:CA clamping,, obtain and zero-time that recording user begins to watch program, parse control word (CW) simultaneously and return to terminal according to the current time information that carries in the ECM information wherein.
Step 305: the data stream of scrambling resolved in the CW word that the terminal utilization receives.
Step 306: when the user watched program to finish, terminal sent to the CA card and carries the APDU3 instruction of watching program end time.
Step 307:CA card statistics user watches duration, and calculates the expense that the user need pay and return to terminal.
Step 308: terminal sends to the CA card determines that the APDU4 that pays the fees instructs.
Step 309:CA sticks into the capable operation of deducting fees.
Step 310: after the success of deducting fees, CA card record transaction details, process ends.
Identical in the specific implementation of flow process shown in Figure 3 and the prior art, repeat no more.
Suppose that affairs shown in Figure 3 have four key nodes, are respectively step 303~306, step 307, step 309 and step 310.Whenever after executing a key node, all need to carry out the backup of data and the setting of updating mark position.Like this, in the process of carrying out these affairs, if in execution in step 303~306, perhaps interrupt in the process of execution in step 307, then after interrupting recovery, direct execution in step 307 (if the CA card does not also receive the program end time of watching of self terminal when taking place to interrupt, then the time when taking place to interrupt is as watching program end time); If interrupted in 309 o'clock carrying out, then after interrupting recovering, direct execution in step 309; If when execution in step 310, interrupt, then after interrupt recovering, direct execution in step 310.As seen, adopt above-mentioned processing mode after, avoided because the loss of data that accidental interruption caused, thereby made the operation of paying the fees after interrupting recovering, to proceed, safeguarded benefits of operators.
In addition, also provide the operator scheme choice mechanism in the scheme of the present invention, promptly supported the selection of smart card, that is to say, supported the continuation after data rollback and the operation disruption is carried out the selection of two kinds of patterns integrality operation and two kinds of patterns of atomicity operation.Certainly, if also have other operator scheme, can include range of choice in equally.Usually, for the less demanding affairs of real-time, can select the atomicity operation, and, then can select the integrality operation for the affairs that real-time is had relatively high expectations.Concrete selection mode can be: smart card receives the notification instruction of self terminal, determine to carry out the operator scheme that current office need adopt according to this notification instruction, perhaps, smart card also can be preserved the corresponding respectively operation mode information of different affairs of (manually being provided with) in advance according to self, determines to carry out the operator scheme that current office need adopt.Wherein, for preceding a kind of mode, described notification instruction typically refers to the APDU instruction, when a certain affairs of beginning, terminal can be utilized the first APUD instruction that sends to smart card, such as the APDU1 instruction in instruction of the APDU in the step 201 shown in Figure 2 and the step 302 shown in Figure 3, by an operator scheme zone bit that is provided with therein, the operator scheme that this office need be adopted is notified to smart card.
Have again, a kind of operation recovery protection mechanism also is provided in the scheme of the present invention, promptly in order to prevent malicious attack, guarantee the security of data manipulation, set in advance a maximum interruption times threshold value, like this, when the interrupted number of times of a certain affairs surpasses this maximum interruption times threshold value, then lock the application of this affairs correspondence; Continue these affairs if desired, then must should use release, the treatment scheme after could continuing then by authentication.
Fig. 4 is the realization flow figure of the operation recovery protection mechanism in the embodiment of the invention.As shown in Figure 4, may further comprise the steps:
Step 401: interrupt recovering, check that the affairs that count are interrupted number of times.
Carry out in the process of a certain affairs at smart card, after interrupting recovery, continue to carry out before the subsequent operation, at first check the interrupted number of times of the affairs that counted.In actual applications, can realize adding up affairs by the counter in the smart card and be interrupted this function of number of times.
Step 402: judge whether to be interrupted number of times greater than predefined maximum interruption times threshold value, if then execution in step 403; Otherwise, execution in step 405.
Step 403: carry out the asymmetric encryption authentication.
Promptly the terminal of pair carrying out information interaction with it by smart card is carried out the asymmetric encryption authentication.Certainly, also can adopt other authentication mode, herein only for illustrating.How to authenticate and be prior art, repeat no more.
Step 404: judge whether authentication is passed through, if then execution in step 405; Otherwise, return execution in step 403.
Step 405: the number of times that is interrupted that will count adds one.
Step 406: continue operation afterwards according to Backup Data and updating mark position.
Step 407: judge whether to interrupt once more, if then return execution in step 401; Otherwise, execution in step 408.
Step 408: continue to carry out subsequent operation, and behind EO, the number of times of adding up that is interrupted is made zero process ends.
Based on said method, Fig. 5 is the composition structural representation of apparatus of the present invention (being smart card) embodiment.As shown in Figure 5, comprising:
Backup units 51 is used for whenever executing a key node in the process of carrying out affairs, and then the execution result with this key node correspondence backs up, and by predefined updating mark position is provided with, writes down the executive process of these affairs; Described key node is a previously selected above important operation from all operations of finishing these office's need;
Performance element 52 is used for by inquiry updating mark position, determining the operation that next step will be carried out after the interruption recovery that the process of carrying out affairs occurs, and according to this operation of determining of information and executing of backing up.
In addition, also can further comprise in the smart card shown in Figure 5:
Mode selecting unit 53 is used to receive the notification instruction of self terminal, determines to carry out the operator scheme that current office need adopt according to this notification instruction, if the operator scheme of determining is the integrality operation, then notifies backup units 51 to carry out self function; Perhaps, be used for the operation mode information corresponding respectively, determine to carry out the operator scheme that current office need adopt,, then notify backup units 51 to carry out self function if the operator scheme of determining is the integrality operation according to the different affairs of preserving in advance.
This mode selecting unit 53 also can be further used for, if the operator scheme of determining is atomicity operation, then in the process of carrying out current affairs, has no progeny in taking place, and the state of these affairs will be rolled back to the state of these affairs before beginning to carry out.
Above-mentioned affairs can be meant the affairs of smartcard internal, also can be meant the affairs that need to carry out between smart card and the terminal information interaction.
Wherein, can specifically comprise in the performance element 52: determine subelement 521 and carry out subelement 522;
Determine subelement 521, be used for after the interruption recovery that the process of carrying out affairs occurs,, determining the operation that next step will be carried out by inquiry updating mark position;
Carry out subelement 522, be used for the operation of determining according to the information and executing of backup.
In addition, also can further comprise in this performance element 52:
Count sub-element 523 is used to add up the interrupted number of times of affairs of current execution;
Judgment sub-unit 524 is used to judge whether the described number of times that is interrupted has reached predefined maximum interruption times threshold value, if not, then notice is carried out subelement 522 and is carried out self function; If then carry out authentication, and after authentication was passed through, notice was carried out subelement 522 and is carried out self function.
The concrete workflow of smart card embodiment shown in Figure 5 please refer to the respective description among the method embodiment shown in Figure 1, repeats no more herein.
In a word, adopt technical scheme of the present invention, smart card in carrying out the process of a certain affairs, whenever execute a key node after, the execution result that is about to this key node correspondence backs up, and, the updating mark position writes down the executive process of affairs by being set, like this, in case in the process of carrying out these affairs, interrupt, after waiting to interrupt recovering, then can determine the operation that next step will be carried out according to the updating mark position, and can be according to this operation of determining of information and executing of backup.Compare with existing atomicity operator scheme, this operator scheme provided by the present invention can not cause loss of data because of interruption, so can satisfy the demand of miscellaneous services such as real-time and non real-time.In addition, scheme of the present invention also provides a kind of operator scheme choice mechanism and a kind of operation recovery protection mechanism, has guaranteed the dirigibility and the security of smart card operation.
In sum, more than be preferred embodiment of the present invention only, 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 (12)

1, a kind of smart card operation method is characterized in that, this method comprises:
A, in carrying out the process of affairs, whenever execute a key node, then the execution result with described key node correspondence backs up, and by predefined updating mark position is provided with, writes down the executive process of described affairs; Described key node is a previously selected above important operation from all operations of finishing described office need;
If B interrupts in the process of carrying out described affairs, then after interrupting recovery,, determine the operation that next step will be carried out by inquiring about described updating mark position, and the described operation of determining of information and executing of the described backup of foundation.
2, method according to claim 1 is characterized in that, before the described steps A, further comprises:
Receive the notification instruction of self terminal, determine to carry out the operator scheme that described office need adopt,, then carry out described steps A if the operator scheme of determining is the integrality operation according to described notification instruction;
Perhaps, the operation mode information corresponding respectively according to the different affairs of preserving in advance determined to carry out the operator scheme that described office need adopt, if the operator scheme of determining is the integrality operation, then carries out described steps A.
3, method according to claim 2 is characterized in that, described notification instruction is Application Protocol Data Unit APDU instruction; The described operator scheme that need adopt according to the described office of the definite execution of notification instruction comprises:
Read the operator scheme indication information that carries in the operator scheme zone bit in the described APDU instruction, determine to carry out the operator scheme that described office need adopt according to described operator scheme indication information.
4, method according to claim 2 is characterized in that, if the operator scheme of determining is atomicity operation, then in the process of carrying out described affairs, has no progeny in taking place, and the state of described affairs is rolled back to the state of described affairs before beginning to carry out.
5, method according to claim 1 is characterized in that, described affairs are the affairs of smartcard internal, perhaps for needing to carry out between smart card and the terminal affairs of information interaction.
6, method according to claim 1 is characterized in that, before the described operation of determining of the information and executing of the described backup of described foundation, further comprises:
Judge whether the interrupted number of times of described affairs has reached predefined maximum interruption times threshold value, if not, the then described operation of determining of information and executing of the described backup of foundation; If, then carry out authentication, and after authentication is passed through, according to the described operation of determining of information and executing of described backup.
7, a kind of smart card is characterized in that, comprising:
Backup units is used for whenever executing a key node in the process of carrying out affairs, and then the execution result with described key node correspondence backs up, and by predefined updating mark position is provided with, writes down the executive process of described affairs; Described key node is a previously selected above important operation from all operations of finishing described office need;
Performance element is used for by inquiring about described updating mark position, determining the operation that next step will be carried out after the interruption recovery that the process of carrying out described affairs occurs, and the described operation of determining of information and executing of the described backup of foundation.
8, smart card according to claim 7 is characterized in that, further comprises in the described smart card:
Mode selecting unit is used to receive the notification instruction of self terminal, determines to carry out the operator scheme that described office need adopt according to described notification instruction, if the operator scheme of determining is the integrality operation, then notifies described backup units to carry out self function; Perhaps, be used for the operation mode information corresponding respectively, determine to carry out the operator scheme that described office need adopt,, then notify described backup units to carry out self function if the operator scheme of determining is the integrality operation according to the different affairs of preserving in advance.
9, smart card according to claim 8, it is characterized in that, described mode selecting unit is further used for, if the operator scheme of determining is the atomicity operation, then in the process of carrying out described affairs, in taking place, have no progeny, the state of described affairs is rolled back to the state of described affairs before beginning to carry out.
10, smart card according to claim 7 is characterized in that, described affairs are the affairs of described smartcard internal, perhaps for needing to carry out between described smart card and the terminal affairs of information interaction.
11, smart card according to claim 7 is characterized in that, described performance element comprises: determine subelement and carry out subelement;
Described definite subelement is used for by inquiring about described updating mark position, determining the operation that next step will be carried out after the interruption recovery that the process of carrying out described affairs occurs;
Described execution subelement is used for the described operation of determining of information and executing according to described backup.
12, smart card according to claim 11 is characterized in that, further comprises in the described performance element:
Count sub-element is used to add up the interrupted number of times of described affairs;
Judgment sub-unit is used to judge whether the interrupted number of times of described affairs has reached predefined maximum interruption times threshold value, if not, then notify described execution subelement to carry out self function; If then carry out authentication, and after authentication is passed through, notify described execution subelement to carry out self function.
CN200810225040A 2008-10-24 2008-10-24 Smart card operation method and smart card Expired - Fee Related CN100595733C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810225040A CN100595733C (en) 2008-10-24 2008-10-24 Smart card operation method and smart card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810225040A CN100595733C (en) 2008-10-24 2008-10-24 Smart card operation method and smart card

Publications (2)

Publication Number Publication Date
CN101382907A true CN101382907A (en) 2009-03-11
CN100595733C CN100595733C (en) 2010-03-24

Family

ID=40462758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810225040A Expired - Fee Related CN100595733C (en) 2008-10-24 2008-10-24 Smart card operation method and smart card

Country Status (1)

Country Link
CN (1) CN100595733C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012843A (en) * 2010-11-19 2011-04-13 曙光信息产业(北京)有限公司 Task migration system
CN102142010A (en) * 2010-12-17 2011-08-03 华为终端有限公司 Method and equipment for inputting data to multimedia service database on embedded equipment
CN102375892A (en) * 2011-11-16 2012-03-14 北京握奇数据系统有限公司 Large-capacity database card and office management method thereof, and system
CN102110334B (en) * 2009-12-23 2013-01-23 中国移动通信集团公司 Device, system and method for processing information
CN104170307A (en) * 2014-03-21 2014-11-26 华为技术有限公司 Failure switching method, device and system
CN109947594A (en) * 2019-02-27 2019-06-28 武汉天喻信息产业股份有限公司 A kind of data back up method and device, data reconstruction method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19946256A1 (en) * 1999-09-27 2000-06-15 Ingo Morgenstern Increased security for e-commerce using intelligent card containing several single codes
DE10248394A1 (en) * 2002-10-17 2004-05-13 Giesecke & Devrient Gmbh Manufacturing method for portable electronic data card e.g. for credit payment transactions, requires preparation of multiple layer card-body with patterned outer layer
BRPI0520741A2 (en) * 2005-12-21 2009-05-26 Security Software Inc secure transaction system using a smart card
CN100576243C (en) * 2007-01-19 2009-12-30 东信和平智能卡股份有限公司 The method for writing data of smart card

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110334B (en) * 2009-12-23 2013-01-23 中国移动通信集团公司 Device, system and method for processing information
CN102012843A (en) * 2010-11-19 2011-04-13 曙光信息产业(北京)有限公司 Task migration system
CN102142010A (en) * 2010-12-17 2011-08-03 华为终端有限公司 Method and equipment for inputting data to multimedia service database on embedded equipment
US9311189B2 (en) 2010-12-17 2016-04-12 Huawei Device Co., Ltd. Method and device for inputting data in multimedia service database on embedded device
CN102375892A (en) * 2011-11-16 2012-03-14 北京握奇数据系统有限公司 Large-capacity database card and office management method thereof, and system
CN102375892B (en) * 2011-11-16 2014-07-02 北京握奇数据系统有限公司 Large-capacity database card and office management method thereof, and system
WO2015139327A1 (en) * 2014-03-21 2015-09-24 华为技术有限公司 Failover method, apparatus and system
CN104170307A (en) * 2014-03-21 2014-11-26 华为技术有限公司 Failure switching method, device and system
CN104170307B (en) * 2014-03-21 2017-12-12 华为技术有限公司 Failover methods, devices and systems
US10095592B2 (en) 2014-03-21 2018-10-09 Huawei Technologies Co., Ltd. Failover method, apparatus and system
US10795785B2 (en) 2014-03-21 2020-10-06 Huawei Technologies Co., Ltd. Failover method, apparatus and system
CN109947594A (en) * 2019-02-27 2019-06-28 武汉天喻信息产业股份有限公司 A kind of data back up method and device, data reconstruction method and device
CN109947594B (en) * 2019-02-27 2021-04-09 武汉天喻信息产业股份有限公司 Data backup method and device and data recovery method and device

Also Published As

Publication number Publication date
CN100595733C (en) 2010-03-24

Similar Documents

Publication Publication Date Title
CN100595733C (en) Smart card operation method and smart card
RU2182726C2 (en) Operation recovery in money transfer system
KR101378180B1 (en) Reader card system and method for reducing an interaction time in contactless transaction
CN103035081B (en) A kind of trading privilege verification method of wireless POS machine, Apparatus and system
EP3816909A1 (en) Payment processing method for offline scenario, server, and readable storage medium
US8768300B2 (en) Remote control method and system for smart card
WO2006075576A1 (en) Secure device and system for issuing ic cards
CN104574058A (en) Fingerprint payment method and related equipment and system
JP2008504618A (en) Multipurpose electronic payment method and system
CN101093566A (en) Safe mobile payment system, device and method
CN104574081A (en) Network payment method as well as related equipment and system
CN104318426A (en) Application software use control method and device for in-application payment
US8718603B2 (en) Method and system for remote control of a smart card
US20190132134A1 (en) Offline only terminal operation method and system
CN107644333A (en) Barcode scanning method of payment, device and payment terminal
CN102799931A (en) Data protection method of radio frequency smart card
CN101840606A (en) Credit card payment system and method based on mobile payment and bill active pushing
CN105631667A (en) Authentication method, device and system
KR100857036B1 (en) Method and apparatus for recovering the fault using the transaction log file in the charging system
CN104732391A (en) Payment terminal, payment background and payment method using virtual card
JP4430367B2 (en) Method for remotely deactivating a decoder for accessing multimedia digital data and the decoder
CN104657223A (en) Resource data processing method and device
CN112001720A (en) mPOS machine and data processing method thereof
CN110889689A (en) Transaction request processing method and device, electronic equipment and readable storage medium
CN105575014A (en) Communication method of intelligent POS terminal and intelligent POS terminal

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
ASS Succession or assignment of patent right

Owner name: CHINA POTEVIO CO., LTD.

Free format text: FORMER OWNER: PUTIAN IT TECH INST CO., LTD.

Effective date: 20130925

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20130925

Address after: 100080, No. two, 2 street, Zhongguancun science and Technology Park, Beijing, Haidian District

Patentee after: CHINA POTEVIO CO.,LTD.

Address before: 100080 Beijing, Haidian, North Street, No. two, No. 6, No.

Patentee before: PETEVIO INSTITUTE OF TECHNOLOGY Co.,Ltd.

ASS Succession or assignment of patent right

Owner name: PUTIAN IT TECH INST CO., LTD.

Free format text: FORMER OWNER: CHINA POTEVIO CO., LTD.

Effective date: 20131210

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20131210

Address after: 100080 Beijing, Haidian, North Street, No. two, No. 6, No.

Patentee after: PETEVIO INSTITUTE OF TECHNOLOGY Co.,Ltd.

Address before: 100080, No. two, 2 street, Zhongguancun science and Technology Park, Beijing, Haidian District

Patentee before: CHINA POTEVIO CO.,LTD.

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

Granted publication date: 20100324

Termination date: 20211024

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