CN106326793A - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN106326793A
CN106326793A CN201510372637.8A CN201510372637A CN106326793A CN 106326793 A CN106326793 A CN 106326793A CN 201510372637 A CN201510372637 A CN 201510372637A CN 106326793 A CN106326793 A CN 106326793A
Authority
CN
China
Prior art keywords
card
circle
deposited
data
authentication code
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
CN201510372637.8A
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510372637.8A priority Critical patent/CN106326793A/en
Publication of CN106326793A publication Critical patent/CN106326793A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

The invention provides an information processing method and a device. The information processing method comprises steps of: acquiring data stored in an IC card, and a report authentication code generated by the IC card based on the data stored in the IC card; according to the data stored in the IC card and the report authentication code, determining whether a storage result of the IC card is successful or not; and if the storage result of the IC card is not successful, re-executing the storage operation of the IC card.

Description

Information processing method and device
[technical field]
The application relates to communication technical field, particularly relates to a kind of information processing method and device.
[background technology]
The most ripe and perfect, more along with integrated circuit (Integrated Circuit, IC) card standard Carry out the most IC-cards and use this standard implementation, such as mass transit card, Citizen Card Item, student card etc..
In the application process of IC-card, it is generally required to the data in IC-card are operated, in IC-card Data are stored in persistent storage device.As a example by IC-card application in stored value card, need to carry out Operation deposited by IC-card circle, and this operation actually increases the numerical value in IC-card according to circle poke value.
Finding in actual applications, circle deposits process it may happen that various exception, causes circle to be deposited unsuccessfully.
[summary of the invention]
The many aspects of the application provide a kind of information processing method and device, in order to circle to be deposited abnormal carrying out Effectively process, improve circle and be saved as power.
The one side of the application, it is provided that a kind of information processing method, including:
Obtain the data after circle is deposited on IC-card and described IC-card based on the data after circle is deposited on described IC-card The message authentication code generated;
According to the data after circle is deposited on described IC-card and described message authentication code, determine the circle of described IC-card Deposit result the most successful;
If result deposited by the circle of described IC-card is unsuccessfully, then operation deposited by the circle re-executing described IC-card.
The another aspect of the application, it is provided that a kind of information processor, including:
Acquisition module, encloses the data after depositing and described IC-card based on described IC-card for obtaining on IC-card Upper circle deposit after the message authentication code of data genaration;
Result determines module, is used for according to the data after circle is deposited on described IC-card and described message authentication code, Determine that the circle of described IC-card deposits result the most successfully;
Siderosphere storing module, for the circle of described IC-card deposit result be non-successful time, re-execute described Operation deposited by the circle of IC-card.
In this application, obtain the data after circle is deposited on IC-card and IC-card according on IC-card, circle is deposited after The message authentication code of data genaration, afterwards according to the data after circle is deposited on IC-card and message authentication code, determines It is the most successful that result deposited by the circle of IC-card;When the circle of IC-card deposit result be non-successful time, re-execute IC-card Circle deposit operation.Owing to message authentication code is that IC-card is according to the data genaration after circle is deposited on IC-card, tool Body generate process be difficult to the person of being hacked forge, so based on message authentication code can be authentic and valid judge The situation that result is non-successful deposited by IC-card circle, re-executes IC-card circle the most again and deposits operation, it is possible to achieve IC-card circle is deposited abnormal process, improves IC-card circle and be saved as power.
[accompanying drawing explanation]
For the technical scheme being illustrated more clearly that in the embodiment of the present application, below will be to embodiment or existing In technology description, the required accompanying drawing used is briefly described, it should be apparent that, in describing below Accompanying drawing is some embodiments of the application, for those of ordinary skill in the art, is not paying creation On the premise of property is laborious, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The schematic flow sheet of the information processing method that Fig. 1 provides for the application one embodiment;
The schematic flow sheet of the information processing method that Fig. 2 provides for another embodiment of the application;
The structural representation of the information processor that Fig. 3 provides for the application one embodiment;
The structural representation of the information processor that Fig. 4 provides for another embodiment of the application.
[detailed description of the invention]
For making the purpose of the embodiment of the present application, technical scheme and advantage clearer, below in conjunction with this Shen Please accompanying drawing in embodiment, the technical scheme in the embodiment of the present application is clearly and completely described, Obviously, described embodiment is some embodiments of the present application rather than whole embodiments.Based on Embodiment in the application, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of the application protection.
In IC-card is applied, need that IC-card is carried out circle and deposit operation, to increase the numerical value in IC-card. What deserves to be explained is, according to the difference of IC-card application, the implication that in IC-card, numerical value represents can the most not yet With.Illustrate, as a example by IC-card application in stored value card, then the numeric representation goods in IC-card The coin amount of money.
It is as follows that flow process deposited by existing IC-card circle:
Circle cryopreservation device sends circle to IC-card and deposits initialization command, and this order carries circle and deposits key ID, circle Poke value, the terminal number (may be simply referred to as terminal number) that circle cryopreservation device is corresponding;
IC-card utilizes the interior numerical value of current card, circle to deposit the letters such as sequence number, key version, algorithm mark, random number Breath calculates the first message authentication code;
IC-card returns circle to circle cryopreservation device and deposits the response message of initialization command, and this response message includes: when In front card, numerical value, circle deposit sequence number, key version, algorithm mark, random number and the first message authentication code;
The interior numerical value of current card, circle that circle cryopreservation device returns according to IC-card deposit sequence number, key version, algorithm Mark and random number, carry out legitimate verification to the first message authentication code;
If the first message authentication code is by legitimate verification, circle cryopreservation device according to circle poke value, circle deposit type, The date deposited by terminal number, circle that circle cryopreservation device is corresponding, circle is deposited the information such as time and calculated the second message authentication code;
The date deposited by circle to circle by cryopreservation device, the time deposited by circle and the second message authentication code is sent to IC-card;
IC-card according to wait to enclose deposit the amount of money, the date deposited by the terminal number that type deposited by circle, circle cryopreservation device is corresponding, circle and The time deposited by circle, and the second message authentication code is carried out legitimate verification;
After the second message authentication code is by legitimate verification, interior for card numerical value is increased circle poke value by IC-card, And circle is deposited sequence number increase by 1, then deposit successfully circle to circle cryopreservation device return circle and deposit results messages.
If occurring abnormal during circle is deposited, circle may be caused to deposit unsuccessfully.
For the problems referred to above, the application provides a kind of based on the data after circle is deposited on IC-card and based on IC-card Upper circle deposit after the message authentication code of data genaration, the circle of IC-card is deposited result and verifies, verifying The circle of IC-card deposit result be unsuccessfully time, the method for operation deposited by the circle re-executing IC-card, in order to IC-card Abnormal being effectively treated deposited by circle, improves circle and is saved as power.
The schematic flow sheet of the information processing method that Fig. 1 provides for the application one embodiment.As it is shown in figure 1, The method includes:
101, obtain and enclose the data after depositing and IC-card based on the data genaration after circle is deposited on IC-card on IC-card Message authentication code.
102, according to the data after circle is deposited on IC-card and message authentication code, determine that result deposited by the circle of IC-card The most successful.
If result deposited by the circle of 103 IC-cards is non-successful, then operation deposited by the circle re-executing IC-card.
The information processing method that the application provides, specifically can be performed by information processor.At this information Reason device can be deposited the functional module that operation encloses in cryopreservation device realize as enclosing IC-card, or Can realize independent of circle cryopreservation device, but can communicate with circle cryopreservation device.
Such as, when information processor receive represent IC-card circle deposit the circle of failure deposit results messages time, Being saved as power to improve circle, the siderosphere that can initiate IC-card deposits flow process.Or, work as information processor Any circle is not received when depositing results messages in the appointment time after operation terminates deposited by the circle of IC-card, due to Cannot determine that circle is deposited the most successful, be saved as merit in order to ensure circle, the siderosphere that can initiate IC-card deposits flow process. In simple terms, receiving, information processor can represent that IC-card circle is deposited the circle of failure and deposited results messages Time, obtain the data after circle is deposited on IC-card and IC-card message based on the data genaration after circle is deposited on IC-card Authentication code.Or, information processor can in the appointment time after operation terminates deposited by the circle of IC-card not Receive any circle when depositing results messages, obtain the data after circle is deposited on IC-card and IC-card based on IC-card Enclose the message authentication code of the data genaration after depositing.
What deserves to be explained is, information processor is except initiating the siderosphere of IC-card in above-mentioned two situations Deposit outside flow process, it is also possible to the siderosphere initiating IC-card in other cases deposits flow process.
Wherein, to deposit flow process specific as follows for the siderosphere of IC-card:
Information processor obtain the data after circle is deposited on IC-card and IC-card based on IC-card, circle is deposited after The message authentication code of data genaration;Afterwards, according to the data after circle is deposited on acquired IC-card and message mirror Other code, determines that result deposited by the circle of IC-card the most successful;If result deposited by the circle of IC-card is non-successful, then weigh Operation deposited by the new circle performing IC-card.
In the present embodiment, it is IC-card according to the data genaration after circle is deposited on IC-card due to message authentication code , concrete generation process is difficult to the person of being hacked and forges, so the circle of IC-card being deposited knot based on message authentication code Fruit judges, it is ensured that the verity of judged result and accuracy.Such as, for depositing at IC-card circle Operation does not for a long time receive any circle after terminating and deposits the situation of results messages, and information processor passes through message Data after circle is deposited in authentication code and IC-card, can know that result deposited by the circle of IC-card the most successful accurately. The most such as, for assailant forge IC-card ring manipulation failed in the case of for, if assailant wish forge IC-card circle deposits the illusion of failure by verification, in addition it is also necessary to after on the IC-card used in proof procedure, circle is deposited Data and message authentication code forge, in order to by IC-card circle deposit after data and message authentication code Checking go too far deposit the most failed.Although during IC-card circle is deposited, between circle cryopreservation device and IC-card Being plaintext transmission, transferring content is easy to the person of being hacked and forges, but owing to message authentication code is that IC-card is adopted Based on the data genaration after circle is deposited on IC-card with certain algorithm, concrete generation process cannot be in transmitting procedure Middle disclosure, message authentication code is difficult to the person of being hacked and forges, after assailant cannot be by forgery IC-card, circle be deposited Data and message authentication code make the circle of forgery deposit the illusion of failure by verification.As can be seen here, this reality Execute example to identify assailant to a certain extent and deliberately forge IC-card circle and deposit the illusion of operation failure, permissible Know that result deposited by the real circle of IC-card accurately.
Based on above-mentioned, the present embodiment is based on message authentication code, it is possible to the authentic and valid card judging IC The situation that result is non-successful deposited by circle, re-executes IC-card circle the most again and deposits operation, it is possible to achieve to IC Collar deposits abnormal process, improves IC-card circle and is saved as power.What deserves to be explained is, knot deposited by the circle of IC-card It is failed situation and the circle that cannot determine IC-card that the situation that fruit is non-successful includes that result deposited by the circle of IC-card Deposit the situation that result is success or failure.
In an optional embodiment, information processor obtains and encloses the data after depositing and IC-card on IC-card The mode of message authentication code based on the data genaration after circle is deposited on described IC-card includes:
Information processor sends request of data to IC-card, to ask the data after circle is deposited on IC-card and report Literary composition authentication code;IC-card receives the request of data that information processor sends, after on IC-card, circle is deposited Data genaration message authentication code, then by IC-card circle deposit after data and message authentication code return at information Reason device;Information processor receives and encloses the data after depositing and message authentication code on the IC-card that IC-card returns.
In an optional embodiment, existing IC-card can be extended, increase data-interface, should Data-interface supports certain command format, and this command format is exclusively used in request of data, and IC-card increases data newly Interface sends request of data for information processor to IC-card and provides condition.Based on this, information processor Request of data is sent, to ask the data after circle is deposited on IC-card and the process bag of message authentication code to IC-card Include:
The command format that information processor is supported according to the data-interface that IC-card is newly-increased, generates data Request;By the data-interface that IC-card is newly-increased, send request of data to IC-card, to ask to enclose on IC-card Data after depositing and message authentication code.
In another optional embodiment, it is contemplated that IC-card has enclosed deposits interface, by utilizing IC-card Some circles are deposited interface and are enclosed the data after depositing and message authentication code on IC-card for obtaining, and this will realize IC-card The multiplexing of interface, the most cost-effective, improve and realize efficiency.Based on this, information processor is to IC Card sends request of data, to ask the process of the data after circle is deposited on IC-card and message authentication code to include:
Regenerate circle and deposit initialization command, using as request of data;This circle is deposited initialization command and is typically wrapped Include: the information such as key ID, circle poke value, terminal number that information processor is corresponding deposited by circle;
Resend circle to IC-card and deposit initialization command, to ask the data after circle is deposited on IC-card and message Authentication code.
For IC-card, when being deposited after interface deposits initialization command to circle by existing circle, meeting Perform circle and deposit flow process.Specifically refer to, IC-card utilize numerical value in current card, circle deposit sequence number, key version, The information such as algorithm mark, random number calculate message authentication code;Initialization command is deposited, at information for circle Reason device returns a response message, and this response message includes: in current card, numerical value, circle deposit sequence number, key Version, algorithm mark, random number and message authentication code, in this currently blocks, numerical value is actually this information Numerical value in card after IC-card circle is deposited before processing operation.
Based on above-mentioned, information processor receives and encloses the data after depositing and message on the IC-card that IC-card returns The process of authentication code, including:
The response message of initialization command deposited by the circle receiving IC-card return, and this response message includes enclosing on IC Data after depositing and message authentication code.
What deserves to be explained is, in the above-described embodiment, resend circle to IC-card and deposit initialization command, Operation deposited by the circle being equivalent to restart IC-card.Then, result deposited by the follow-up circle at checking IC-card is unsuccessfully Time, re-execute the circle of IC-card and deposit after the IC-card circle that operation actually performs to restart deposits operation Afterflow journey.
In an optional embodiment, deposit the probability of success to improve circle further, execution IC can be circulated Operation deposited by the circle of card, until circle is saved as merit.
Further, it is saved as this to reduce IC-card circle, it is to avoid the problems such as endless loop, can preset Siderosphere deposits termination condition, when siderosphere deposit termination condition meet time, terminate to re-execute the circle of IC-card and deposit operation. Such as, it can be the maximum execution number of times that siderosphere is deposited that described siderosphere deposits termination condition, when re-executing IC The circle of card is deposited the number of times of operation and is reached default maximum when performing number of times, and the circle no longer re-executing IC-card is deposited Operation.The most such as, it can be the maximum execution time that siderosphere is deposited that described siderosphere deposits termination condition, then when weight When the time that operation deposited by the new circle performing IC-card reaches default maximum execution time, no longer re-execute Operation deposited by the circle of IC-card.
Based on above-mentioned, information processor encloses the data after depositing and IC-card based on IC on acquisition IC-card Before the message authentication code of the data genaration after circle is deposited on card, it can be determined that whether the siderosphere preset deposits condition Meet, if siderosphere deposits termination condition not met, it is meant that operation deposited by the circle that can continue to re-execute IC-card, The data after depositing and IC-card is enclosed on IC-card based on enclosing the data genaration after depositing on IC-card in being carried out obtaining Message authentication code and subsequent operation, in order to when the circle of IC-card is deposited unsuccessfully, continue to re-execute IC-card Circle deposit.
Based on enclosing the data after depositing and the embodiment of message authentication code on above-mentioned various acquisition IC-cards, After obtaining the data after circle is deposited on IC-card and message authentication code, after information processing is according on IC-card, circle is deposited Data and message authentication code, determine that the circle of IC-card is deposited result whether successfully process and included:
By on IC-card circle deposit before data and IC-card on circle deposit after data compare;
If the data after circle is deposited in the data before circle is deposited on IC-card and IC-card differ, determine IC-card Result deposited by circle is successfully;If the data after enclosing the data before depositing on IC-card and on IC-card, circle being deposited are identical, really Determine the circle of IC-card depositing result is non-successful.
Further, for the data after circle is deposited on data and the IC-card before circle is deposited on IC-card identical in the case of, It is legal that message authentication code can be carried out by information processor further according to the data after circle is deposited on IC-card Property checking;If message authentication code passes through legitimate verification, determining that result deposited by the circle of IC-card is unsuccessfully;If report Literary composition authentication code is by legitimate verification, and determining that result deposited by the circle of IC-card is that suspicious (suspicious situation refers to Cannot determine that the circle of IC-card is deposited result and is success or failure).
What deserves to be explained is, the data before circle is deposited on above-mentioned IC-card mainly include enclosing on IC-card the number before depositing Sequence number deposited by value and circle, and the data after circle is deposited on IC-card mainly include enclosing the numerical value after depositing on IC-card and circle is deposited Sequence number.Concrete, if IC-card circle is saved as merit, then after on numerical value before circle is deposited on IC-card and IC-card, circle is deposited Numerical value should change, the circle before circle is deposited on IC-card is deposited on sequence number and IC-card the circle after circle is deposited and is deposited sequence Number also can change, therefore, if the numerical value before circle is deposited on IC-card deposit with circle on IC-card after numerical value Change, illustrate that circle is saved as merit;Or, if the circle before circle is deposited on IC-card is deposited on sequence number and IC-card Circle after circle is deposited is deposited sequence number and is changed, and also explanation circle is saved as merit.Otherwise, if IC-card circle is deposited unsuccessfully, then Enclose the numerical value after circle is deposited on the numerical value before depositing and IC-card on IC-card should not change, and enclose on IC-card Sequence number deposited by circle before depositing and circle after circle is deposited on IC-card is deposited sequence number and also can be kept consistent, therefore, if IC On card circle deposit before numerical value and IC-card on circle deposit after numerical value do not change, and on IC-card circle deposit before and after Circle deposit sequence number and also do not change, further message authentication code is carried out legitimate verification, if message mirror Other code passes through legitimate verification, illustrates that certain failure deposited by circle;If message authentication code is not by legitimate verification, Mean that the circle after circle is deposited on the numerical value after circle is deposited on IC-card or IC-card is deposited sequence number and may the person of being hacked be distorted Or forge, now, circle is deposited result and is probably successfully, it is also possible to failure, and i.e. result deposited by circle is can Doubt.
What deserves to be explained is, the application is not intended to the implementation of information processor.Information processor Can be located at circle cryopreservation device in realize, then checking and siderosphere deposit wait operation can circle cryopreservation device this locality realization, Or, information processor can also be positioned at service end, then checking and siderosphere are deposited and waited operation servicing End realizes.Can realize according to real needs for different application scenarios.
It addition, this application provides the method that result deposited by checking reality circle, but it is not intended to obtain the result After in business or technical concrete application.
Furthermore, the application is also not intended to realization and the form of concrete IC-card, for the card of entity, nothing Opinion is mobile phone SE, and SIM etc. is the most effective.
The schematic flow sheet of the information processing method that Fig. 2 provides for another embodiment of the application.In this enforcement In example, information processor is as the Implement of Function Module in circle cryopreservation device.As in figure 2 it is shown, the party Method includes:
201, circle cryopreservation device to IC-card send circle deposit initialization command, this order carry circle deposit key ID, Circle poke value, the terminal number that circle cryopreservation device is corresponding (follow-up referred to as terminal number).
202, IC-card utilization currently blocks interior numerical value, sequence number deposited by circle, key version, algorithm identify, at random The information such as number calculate the first message authentication code MAC1.
203, IC-card returns circle to circle cryopreservation device and deposits the response message of initialization command, this response message bag Include: in current card, numerical value, circle deposit sequence number, key version, algorithm mark, random number and MAC1.
204, numerical value in the current card that circle cryopreservation device returns according to IC-card, enclose deposit sequence number, key version, Algorithm mark and random number, carry out legitimate verification to MAC1;If MAC1 passes through legitimate verification, Then perform step 205.
205, circle cryopreservation device according to circle poke value, type deposited by circle, the date deposited by terminal number, circle, circle is deposited time Between etc. information calculate the second message authentication code MAC2.
206, circle cryopreservation device deposits the date to IC-card transmission circle, circle deposits time and MAC2.
207, IC-card is according to treating that the amount of money deposited by circle, circle deposits type, terminal number, the date deposited by circle and the time deposited by circle, MAC2 is carried out legitimate verification.
208, after MAC2 is by legitimate verification, interior for card numerical value is increased above-mentioned circle poke value by IC-card, And circle is deposited sequence number increase by 1.
209, IC-card returns to circle cryopreservation device and represents that circle is deposited successfully circle and deposited results messages.
210, intermediate equipment intercepts and represents that circle is deposited successfully circle and deposited results messages, is revised as representing circle Results messages deposited by the circle depositing failure.
211, results messages deposited by the circle that intermediate equipment deposits failure to circle cryopreservation device return expression circle, and continues Perform step 212.
212, circle cryopreservation device regenerates circle and deposits initialization command, this order carry circle deposit key ID, Above-mentioned circle poke value and above-mentioned terminal number.
213, circle cryopreservation device resends circle to IC-card and deposits initialization command.
214, IC-card utilization currently blocks interior numerical value, sequence number deposited by circle, key version, algorithm identify, at random The information such as number calculate MAC1.
215, IC-card returns circle to circle cryopreservation device and deposits the response message of initialization command, this response message bag Include: in current card, numerical value, circle deposit sequence number, key version, algorithm mark, random number and MAC1.
216, in the circle card that step 215 returned of cryopreservation device, sequence number deposited by numerical value or circle, and in step 203 In the card returned, numerical value or circle are deposited sequence number and are compared;If comparative result is identical, then perform step 217; If comparative result is for differing, then perform step 218.
217, the interior numerical value of current card, the circle that circle cryopreservation device returns according to step 215 deposits sequence number, key version Basis, algorithm mark and random number, carry out legitimate verification to MAC1;If MAC1 does not passes through legitimacy Checking, then perform step 219;If MAC1 passes through legitimate verification, then perform step 220.
218, circle cryopreservation device determines that circle is saved as merit, terminates this time operation.
219, to determine that circle is deposited suspicious for circle cryopreservation device, then can return step 212, again re-execute IC Operation deposited by the circle of card, till the satisfied siderosphere preset deposits termination condition.
220, circle cryopreservation device determines that circle is deposited unsuccessfully, then can return step 205, in order to continue executing with IC Other flow process of operation deposited by the circle of card, until meeting the siderosphere preset to deposit termination condition.
From above-mentioned, the present embodiment obtains and encloses the data after depositing and IC-card on IC-card according on IC-card Enclose the message authentication code of the data genaration after depositing, afterwards according to the data after circle is deposited on IC-card and Package authentication Code, deposits result to the circle of IC-card and verifies;Failure deposited by the IC-card circle that verifies that can be authentic and valid Situation, re-executes IC-card circle the most again and deposits operation, it is possible to achieve IC-card circle is deposited abnormal process, Improve IC-card circle and be saved as power.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore by its all table Stating as a series of combination of actions, but those skilled in the art should know, the application is by being retouched The restriction of the sequence of movement stated because according to the application, some step can use other orders or with Shi Jinhang.Secondly, those skilled in the art also should know, embodiment described in this description all belongs to In preferred embodiment, necessary to involved action and module not necessarily the application.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has in certain embodiment The part described in detail, may refer to the associated description of other embodiments.
The structural representation of the information processor that Fig. 3 provides for the application one embodiment.As it is shown on figure 3, This device includes: acquisition module 31, result determine module 32 and siderosphere storing module 33.
Acquisition module 31, deposits based on circle on IC-card for obtaining on IC-card the data after circle is deposited and IC-card After the message authentication code of data genaration.
Result determines module 32, the data after circle is deposited on the IC-card obtained according to acquisition module 31 And message authentication code, determine that result deposited by the circle of IC-card the most successful.
Siderosphere storing module 33, is non-for determining that module 32 determines that result deposited by the circle of IC-card in result During success, operation deposited by the circle re-executing IC-card.
In an optional embodiment, acquisition module 31 specifically for:
Receive represent IC-card circle deposit the circle of failure deposit results messages time, obtain after on IC-card, circle is deposited Data and IC-card message authentication code based on the data genaration after circle is deposited on IC-card;Or
Any circle is not received when depositing results messages in the appointment time after operation terminates deposited by the circle of IC-card, Obtain the data after circle is deposited on IC-card and IC-card Package authentication based on the data genaration after circle is deposited on IC-card Code.
In an optional embodiment, acquisition module 31 is particularly used in:
Request of data is sent, to ask the data after circle is deposited on IC-card and message authentication code to IC-card;
Receive the data after circle is deposited on the IC-card that IC-card returns and message authentication code.
Further alternative, acquisition module 31 is particularly used in:
Regenerate circle and deposit initialization command, using as request of data;
Resend circle to IC-card and deposit initialization command, to ask the data after circle is deposited on IC-card and message Authentication code;
The response message of initialization command deposited by the circle receiving IC-card return, and response message includes that on IC, circle is deposited After data and message authentication code.
In an optional embodiment, as shown in Figure 4, this information processor also includes: conditional judgment Module 34.
Conditional judgment module 34, for judging that the siderosphere preset deposits whether termination condition meets, and at siderosphere When depositing termination condition not met, trigger acquisition module 31 and perform to enclose the data after depositing and IC on acquisition IC-card Block the operation of message authentication code based on the data genaration after circle is deposited on IC-card.
In an optional embodiment, result determines that module 32 is particularly used in:
By on IC-card circle deposit before data and IC-card on circle deposit after data compare;
If the data after circle is deposited in the data before circle is deposited on IC-card and IC-card differ, determine IC-card Result deposited by circle is successfully;
If the data after enclosing the data before depositing on IC-card and on IC-card, circle being deposited are identical, determine the circle of IC-card Depositing result is non-successful.
The information processor that the present embodiment provides, obtain the data after circle is deposited on IC-card and IC-card according to The message authentication code of data genaration after circle is deposited on IC-card, afterwards according to the data after circle is deposited on IC-card and Message authentication code, determines that result deposited by the circle of IC-card the most successful;Depositing result when the circle of IC-card is non-successful Time, operation deposited by the circle re-executing IC-card.After being IC-card according on IC-card, circle is deposited due to message authentication code Data genaration, concrete generation process is difficult to the person of being hacked and forges, so based on message authentication code to IC The circle of card is deposited result and is judged, it is possible to authentic and valid judges that the feelings that result is non-successful deposited by IC-card circle Condition, re-executes IC-card circle the most again and deposits operation, it is possible to achieve IC-card circle is deposited abnormal process, carries High IC-card circle is saved as power.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches The specific works process of the system stated, device and unit, is referred to the correspondence in preceding method embodiment Process, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, device and Method, can realize by another way.Such as, device embodiment described above is only shown Meaning property, such as, the division of described unit, be only a kind of logic function and divide, actual can when realizing There to be other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another System, or some features can ignore, or do not perform.Another point, shown or discussed each other Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit Or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees The parts shown for unit can be or may not be physical location, i.e. may be located at a place, Or can also be distributed on multiple NE.Can select according to the actual needs part therein or The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the application can be integrated in a processing unit In, it is also possible to it is that unit is individually physically present, it is also possible to two or more unit are integrated in one In individual unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds The form of SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer In read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, including some fingers Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) Or processor (processor) performs the part steps of method described in each embodiment of the application.And it is aforementioned Storage medium include: USB flash disk, portable hard drive, read only memory (Read-Only Memory, ROM), Random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various The medium of program code can be stored.
Last it is noted that above example is only in order to illustrate the technical scheme of the application, rather than to it Limit;Although the application being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of the application each embodiment technical scheme.

Claims (12)

1. an information processing method, it is characterised in that including:
Obtain the data after circle is deposited on IC-card and described IC-card based on the data genaration after circle is deposited on described IC-card Message authentication code;
According to the data after circle is deposited on described IC-card and described message authentication code, determine that the circle of described IC-card is deposited Result is the most successful;
If result deposited by the circle of described IC-card is non-successful, then operation deposited by the circle re-executing described IC-card.
Method the most according to claim 1, it is characterised in that after circle is deposited on described acquisition IC-card Data and described IC-card message authentication code based on the data genaration after circle is deposited on described IC-card, including:
Receive represent that results messages deposited by the described IC-card circle circle of depositing failure time, obtain after on IC-card, circle is deposited Data and described IC-card based on the message authentication code of data genaration after circle is deposited on described IC-card;Or
In the appointment time after operation terminates deposited by the circle of described IC-card, do not receive any circle deposit results messages Time, obtain the data after circle is deposited on IC-card and described IC-card based on the data genaration after circle is deposited on described IC-card Message authentication code.
Method the most according to claim 1, it is characterised in that after circle is deposited on described acquisition IC-card Data and described IC-card message authentication code based on the data genaration after circle is deposited on described IC-card, including:
Request of data is sent, to ask the data after circle is deposited on described IC-card and described message to described IC-card Authentication code;
Receive the data after circle is deposited on the described IC-card that described IC-card returns and described message authentication code.
Method the most according to claim 3, it is characterised in that described to described IC-card transmission data Request, to ask the data after circle is deposited on described IC-card and described message authentication code, including:
Regenerate circle and deposit initialization command, using as described request of data;
Resend described circle to described IC-card and deposit initialization command, after asking on described IC-card circle to be deposited Data and described message authentication code;
Data after circle is deposited on the described IC-card that the described IC-card of described reception returns and described message authentication code, Including:
The response message of initialization command deposited by the described circle receiving the return of described IC-card, and described response message includes Data after circle is deposited on described IC and described message authentication code.
Method the most according to claim 1, it is characterised in that after circle is deposited on described acquisition IC-card Before data and described IC-card message authentication code based on the data genaration after circle is deposited on described IC-card, also wrap Include:
Judge that the siderosphere preset deposits whether termination condition meets;
If described siderosphere deposits termination condition not met, then perform to obtain and on IC-card, enclose the data after depositing and described IC Block the operation of message authentication code based on the data genaration after circle is deposited on described IC-card.
6. according to the method described in any one of claim 1-5, it is characterised in that described according to described IC Data after circle is deposited on card and described message authentication code, determine that the circle of described IC-card deposits result the most successfully, bag Include:
By on described IC-card circle deposit before data and described IC-card on circle deposit after data compare;
If the data after circle is deposited in the data before circle is deposited on described IC-card and described IC-card differ, determine institute Stating the circle of IC-card and depositing result is successfully;
If the data after enclosing the data before depositing on described IC-card and on described IC-card, circle being deposited are identical, determine described Result deposited by the circle of IC-card is non-successful.
7. an information processor, it is characterised in that including:
Acquisition module, encloses the data after depositing and described IC-card based on circle on described IC-card for obtaining on IC-card The message authentication code of the data genaration after depositing;
Result determines module, for according to enclosing the data after depositing and described message authentication code on described IC-card, really It is the most successful that result deposited by the circle of fixed described IC-card;
Siderosphere storing module, for the circle of described IC-card deposit result be non-successful time, re-execute described IC Operation deposited by the circle of card.
Device the most according to claim 7, it is characterised in that described acquisition module specifically for:
Receive represent that results messages deposited by the described IC-card circle circle of depositing failure time, obtain and enclose on described IC-card Data after depositing and described IC-card message authentication code based on the data genaration after circle is deposited on described IC-card;Or Person
In the appointment time after operation terminates deposited by the circle of described IC-card, do not receive any circle deposit results messages Time, obtain the data after circle is deposited on described IC-card and described IC-card based on the data after circle is deposited on described IC-card The message authentication code generated.
Device the most according to claim 7, it is characterised in that described acquisition module specifically for:
Request of data is sent, to ask the data after circle is deposited on described IC-card and described message to described IC-card Authentication code;
Receive the data after circle is deposited on the described IC-card that described IC-card returns and described message authentication code.
Device the most according to claim 9, it is characterised in that described acquisition module specifically for:
Regenerate circle and deposit initialization command, using as described request of data;
Resend described circle to described IC-card and deposit initialization command, after asking on described IC-card circle to be deposited Data and described message authentication code;
The response message of initialization command deposited by the described circle receiving the return of described IC-card, and described response message includes Data after circle is deposited on described IC and described message authentication code.
11. devices according to claim 7, it is characterised in that also include:
Conditional judgment module, for judging that the siderosphere preset deposits whether termination condition meets, and at described siderosphere When depositing termination condition not met, trigger described acquisition module and perform to obtain data after circle is deposited on IC-card and described The operation of IC-card message authentication code based on the data genaration after circle is deposited on described IC-card.
12. according to the device described in any one of claim 7-11, it is characterised in that described result determines mould Block specifically for:
By on described IC-card circle deposit before data and described IC-card on circle deposit after data compare;
If the data after circle is deposited in the data before circle is deposited on described IC-card and described IC-card differ, determine institute Stating the circle of IC-card and depositing result is successfully;
If the data after enclosing the data before depositing on described IC-card and on described IC-card, circle being deposited are identical, determine described Result deposited by the circle of IC-card is non-successful.
CN201510372637.8A 2015-06-30 2015-06-30 Information processing method and device Pending CN106326793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510372637.8A CN106326793A (en) 2015-06-30 2015-06-30 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510372637.8A CN106326793A (en) 2015-06-30 2015-06-30 Information processing method and device

Publications (1)

Publication Number Publication Date
CN106326793A true CN106326793A (en) 2017-01-11

Family

ID=57723230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510372637.8A Pending CN106326793A (en) 2015-06-30 2015-06-30 Information processing method and device

Country Status (1)

Country Link
CN (1) CN106326793A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113487300A (en) * 2021-04-29 2021-10-08 杭州恒生芸擎网络科技有限公司 Safety verification method and device for expense data earmark process and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799954A (en) * 2009-11-20 2010-08-11 北京飞天诚信科技有限公司 Method for loading double electronic purses
CN101840600A (en) * 2009-12-31 2010-09-22 北京握奇数据系统有限公司 Earmark method of electronic purse
WO2012000438A1 (en) * 2010-06-29 2012-01-05 飞天诚信科技股份有限公司 Method for operating electronic purse
CN103473698A (en) * 2013-09-10 2013-12-25 西安五丰公信息服务有限公司 Digital television electronic business system with IC cards as carriers and application method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799954A (en) * 2009-11-20 2010-08-11 北京飞天诚信科技有限公司 Method for loading double electronic purses
CN101840600A (en) * 2009-12-31 2010-09-22 北京握奇数据系统有限公司 Earmark method of electronic purse
WO2012000438A1 (en) * 2010-06-29 2012-01-05 飞天诚信科技股份有限公司 Method for operating electronic purse
CN103473698A (en) * 2013-09-10 2013-12-25 西安五丰公信息服务有限公司 Digital television electronic business system with IC cards as carriers and application method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113487300A (en) * 2021-04-29 2021-10-08 杭州恒生芸擎网络科技有限公司 Safety verification method and device for expense data earmark process and electronic equipment

Similar Documents

Publication Publication Date Title
CN102542453B (en) Mobile payment identity verification method
CN104169952A (en) Network payment method, device and system
CN104217332A (en) Payment verification method, server and system
CN105099688A (en) Operation method for electronic account, display method and apparatus for payment page
CN108600315B (en) Block link route processing method, device and storage medium
CN103310557B (en) A kind of mthods, systems and devices of electronic cash space transference of NFC mobile phone
CN103107888B (en) The identity identifying method that the dynamic multi-attribute of facing moving terminal is multi-level
CN104199654A (en) Open platform calling method and device
CN110070357B (en) Data processing method, device and system
CN104579668A (en) User identity verification method, password protection device and verification system
CN110175833B (en) Computer device, method, system and medium for binding bank card information
WO2015188780A1 (en) Method and apparatus for processing account information
CN104580112A (en) Service authentication method and system, and server
CN104935435A (en) Login methods, terminal and application server
CN102263867A (en) Electronic recharging method and agent terminal
CN104901806A (en) Method, device and system for processing virtual resources
CN105681258A (en) Session method and session device based on third-party server
CN105306202A (en) Identity verification method and device, server
CN104751323A (en) Method for transferring electronic account data and related device and related system
CN105354704A (en) Resource processing method, apparatus and system
CN104778389A (en) Numerical value transferring method, terminal, server and system
CN106326793A (en) Information processing method and device
CN103957104A (en) Dynamic token anti-phishing method and device
CN113362064B (en) Multiple signature method, computer device, and storage medium
CN106327187B (en) Information processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1233007

Country of ref document: HK

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170111

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1233007

Country of ref document: HK