CN103647699B - Information processing method in message interaction process, Apparatus and system - Google Patents
Information processing method in message interaction process, Apparatus and system Download PDFInfo
- Publication number
- CN103647699B CN103647699B CN201310627607.8A CN201310627607A CN103647699B CN 103647699 B CN103647699 B CN 103647699B CN 201310627607 A CN201310627607 A CN 201310627607A CN 103647699 B CN103647699 B CN 103647699B
- Authority
- CN
- China
- Prior art keywords
- information
- circle
- terminal
- information processing
- processing
- 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.)
- Active
Links
Abstract
The invention discloses the information processing method in a kind of message interaction process, device and system, including: receive the information process request of terminal, the process authentication code generated after carrying described terminal last time information processing success in described information process request;When the state determining locally stored described last information processing is state unconfirmed, corresponding described last information processing stores described process authentication code, and the state updating described last information processing is committed state;Wherein, described process authentication code is for representing the described successful credential information of terminal last time information processing.Using the method for present invention offer, Apparatus and system, the authentication code that processes generated after solving terminal last time information processing success sends the incomplete problem of the information processing unsuccessfully caused.
Description
The application is to filing date on August 27th, 2010, Application No. 201010265917.6, application
The division Shen of the patent application of entitled " information processing method in message interaction process, Apparatus and system "
Please.
Technical field
The present invention relates to communication technical field, particularly relate to the information processing side in a kind of message interaction process
Method, Apparatus and system.
Background technology
At present, in communication technical field, relate generally between terminal and the processing means of network side by disappearing
Breath carries out the process of relevant information alternately, but in message interaction process, owing to a variety of causes may cause disappearing
The exception of breath transmission, such as, owing to message transmission delay causes the message successively sent not according to transmission
Sequencing arrives recipient, i.e. occurs in that the order of interacting message is chaotic, therefore, follow-up sender with
When relevant information being processed between recipient, the process to information may be caused to occur abnormal, and then reduce
The success rate of information processing and accuracy rate.
It addition, carried out by interacting message between terminal and processing means, in the flow process of information processing, finally locating
Manage the process authentication code that after device all can receive information processing success, terminal generates, be used for verifying, and preserve,
As the successful voucher of this information processing.But in handling process, if terminal transmission process authentication code to
Processing means failure, processing means cannot obtain this process authentication code the most again so that processing means cannot use
Process authentication code and carry out relevant treatment, cause information processing imperfect.
Summary of the invention
The embodiment of the present invention provides the information processing method in a kind of message interaction process, Apparatus and system, uses
To improve success rate and the accuracy rate being carried out information processing by interacting message.
The embodiment of the present invention provides the information processing method in a kind of message interaction process, including:
Processing means receives the first interaction message that terminal sends, and carries renewal in described first interaction message
First message serial number, to be described terminal based on storage original for the first message serial number of described renewal
One message serial number updates what policy update obtained by first;
When the first message serial number determining described renewal changes to locally stored the first original message stream
When the trend of water number meets the variation tendency corresponding with the described first more New Policy, disappear alternately according to described first
The interactive information carried in breath carries out alignment processing, and uses the first message serial number of described renewal to update this
The first original message serial number of ground storage.
The embodiment of the present invention also provides for the information processing method in a kind of message interaction process, including:
Terminal updates, by first, the first original message serial number that policy update is locally stored, obtains renewal
First message serial number;
Send the first interaction message to network side, described first interaction message carries the first of described renewal and disappears
Breath serial number.
The embodiment of the present invention also provides for the information processing method in a kind of message interaction process, including:
Receive the Message handling request of terminal, described Message handling request carries described terminal last time message
The process authentication code generated after processing successfully;
When the state determining locally stored described last Message Processing is state unconfirmed, corresponding described
Last Message Processing stores described process authentication code, and updates the state of described last Message Processing for
Acknowledgement state.
The embodiment of the present invention also provides for the information processor in a kind of message interaction process, including:
First receives unit, for receiving the first interaction message that terminal sends, in described first interaction message
Carrying the first message serial number of renewal, the first message serial number of described renewal is that described terminal is based on storage
Original the first message serial number update policy update by first and obtain;
First processing unit, for when determining that the first message serial number of described renewal changes to locally stored
When the trend of the first message serial number originally meets the variation tendency corresponding with the described first more New Policy, root
Carry out alignment processing according to the interactive information carried in described first interaction message, and use the first of described renewal
Message serial number updates locally stored the first original message serial number.
The embodiment of the present invention also provides for a kind of terminal, including:
Second processing unit, for updating the first original message serial number of policy update storage by first;
Second transmitting element, for sending the first interaction message to network side, takes in described first interaction message
The first message serial number that band updates.
The embodiment of the present invention also provides for the information processing system in a kind of message interaction process, including: terminal and
Processing means, wherein:
Described terminal, for updating the first original message serial number of policy update storage by first;And to
Described processing means sends the first interaction message, carries the first message stream of renewal in described first interaction message
Water number;
Described processing means, for changing to this locality when the first message serial number of the described renewal determining reception
The trend of the first original message serial number of storage meets the change corresponding with the described first more New Policy and becomes
During gesture, carry out alignment processing according to the interactive information carried in described first interaction message, and described in using more
The first new message serial number updates locally stored the first original message serial number.
The embodiment of the present invention also provides for the information processor in a kind of message interaction process, including:
3rd receives unit, for receiving the Message handling request of terminal, carries in described Message handling request
The process authentication code generated after the success of described terminal last time Message Processing;
3rd processing unit, for when determining that the state of locally stored described last Message Processing is for the most true
When recognizing state, corresponding described last Message Processing stores described process authentication code, and updates the described last time
The state of Message Processing is committed state.
The embodiment of the present invention also provides for a kind of terminal, including:
Fourth processing unit, is used for generating Message handling request, carries this terminal in described Message handling request
The process authentication code generated after last Message Processing success;
4th transmitting element, for sending described Message handling request to network side.
The embodiment of the present invention also provides for the information processing system in a kind of message interaction process, including: terminal and
Processing means, wherein:
Described terminal, for sending Message handling request to described processing means, in described Message handling request
The process authentication code generated after carrying the success of this terminal last time Message Processing;
Described processing means, for when determining that the state of locally stored described last Message Processing is for the most true
When recognizing state, corresponding described last Message Processing stores described process authentication code, and updates the described last time
The state of Message Processing is committed state.
In the method that the embodiment of the present invention provides, terminal has the first message serial number, at Xiang Chu locally stored
Before reason device sends interaction message, use the first original message flowing water of the first renewal policy update storage
Number, obtain the first message serial number updated, and in the interaction message be sent to processing means, carry renewal
The first message serial number;After processing means receives this interaction message, obtain the first message wherein updated
Serial number, and compare with locally stored the first original message serial number, it is judged that its variation tendency is
The variation tendency that no satisfied first more New Policy is corresponding, just can be according to the friendship carried in interaction message if met
Mutual information carries out alignment processing, and it is locally stored original to use the first message serial number updated to update
First message serial number.As a example by interaction message is as information process request, owing to terminal is sending information processing
The first locally stored message serial number all can be updated, so twice information processing that terminal sends please during request
The the first message serial number carried in asking is different, when occurring that this information process request that terminal sends is first
When last information process request arrives processing means, processing means is being entered for this information process request
After the corresponding process of row, locally stored the first original message serial number is updated to this information processing
The the first message serial number carried in request, then when processing means receives last information process request again,
The first message serial number owing to carrying in last information process request disappears with the most locally stored first
Breath serial number (the first message serial number i.e. carried in this information process request) is unsatisfactory for the first renewal plan
Slightly corresponding variation tendency, so processing means will not process for last information process request again,
Meanwhile, it also avoid subsequent terminal side abnormal to the relevant treatment of last information processing, also avoid end
Hold inaccurate to information processing between processing means, this improves and carry out information by interacting message
The success rate processed and accuracy.
In the method that the embodiment of the present invention provides, terminal carries one in this information process request sent
The process authentication code generated after secondary information processing success;Processing means after receiving this information process request,
Determine the state of this last information processing stored, when determining that state is unconfirmed, represent the last time
After information processing success, processing means does not receive the process authentication code of corresponding last information processing, so,
Processing means in local correspondence once information processing store this process authentication code, and update at last information
The state of reason is for having confirmed that.By this handling process, when the process authentication transmitting corresponding last information processing
When code gives processing means failure, in this information processing, processing means can be got at this of loss
Reason authentication code, it is ensured that the integrity that information processing processes, the most just improves and carries out information by interacting message
The success rate processed and accuracy.
Accompanying drawing explanation
Information processing method in the message interaction process that the network side that Fig. 1 provides for the embodiment of the present invention performs
Flow chart;
Information processing method in the message interaction process that the end side that Fig. 2 provides for the embodiment of the present invention performs
Flow chart;
Fig. 3 is the flow chart of stored value card space transference in prior art;
The flow chart of the stored value card air storage method that Fig. 4 provides for the embodiment of the present invention 1;
The structural representation of the information processor in the message interaction process that Fig. 5 provides for the embodiment of the present invention 2
Figure;
The structural representation of the terminal that Fig. 6 provides for the embodiment of the present invention 3;
The structural representation of the information processing system in the message interaction process that Fig. 7 provides for the embodiment of the present invention 4
Figure;
The flow chart of the information processing method in the message interaction process that Fig. 8 provides for the embodiment of the present invention;
Fig. 9 is the flow chart that in prior art, stored value card POS circle is deposited;
The flow chart of the method for earmarking electronic wallet that Figure 10 provides for the embodiment of the present invention 5;
The structure of the information processor in the message interaction process that Figure 11 provides for the embodiment of the present invention 6 is shown
It is intended to;
The structure of the terminal that Figure 12 provides for the embodiment of the present invention 7 is intended to;
The structure of the information processing system in the message interaction process that Figure 13 provides for the embodiment of the present invention 8 is shown
It is intended to.
Detailed description of the invention
Carried out success rate and the implementation of accuracy rate of information processing by interacting message in order to provide raising,
Embodiments provide the information processing method in message interaction process, Apparatus and system, below in conjunction with
The preferred embodiments of the present invention are illustrated by Figure of description, it will be appreciated that preferred reality described herein
Execute example be merely to illustrate and explain the present invention, be not intended to limit the present invention.And in the case of not conflicting,
Embodiment in the application and the feature in embodiment can be mutually combined.
The embodiment of the present invention provides the information processing method in a kind of message interaction process, and this method is by network side
Processing means perform, as it is shown in figure 1, include:
Step S101, processing means receive the first interaction message that terminal sends;First interaction message carries
The the first message serial number updated, the first message serial number of renewal is terminal original first based on storage
Message serial number updates what policy update obtained by first.
Step S102, disappear when the first message serial number determining renewal changes to locally stored original first
When the trend of breath serial number meets the variation tendency corresponding with the first more New Policy, according in the first interaction message
The interactive information carried carries out alignment processing, and uses the first message serial number of renewal to update locally stored
The first message serial number originally.
Accordingly, the embodiment of the present invention also provides for a kind of stored value card air storage method, and this method is by electronics
Wallet terminal performs, as in figure 2 it is shown, include:
Step S201, terminal update, by first, the first original message serial number that policy update is locally stored,
Obtain the first message serial number updated.
Step S202, send the first interaction message to network side, the first interaction message carries the first of renewal
Message serial number.
Handling process shown in above-mentioned Fig. 1 and Fig. 2 is provided with counterpart terminal and sends the first message of interaction message
Serial number update mechanism, and processing means determines whether to carry out alignment processing according to the first message serial number
Mechanism;Accordingly, it is also possible to alignment processing device is set and sends the second message serial number renewal of interaction message
Mechanism, and terminal determines whether to carry out the mechanism of alignment processing according to the second message serial number, it processes stream
Journey is identical with mechanism principle shown in Fig. 1.
Below in conjunction with the accompanying drawings, with processing means for circle cryopreservation device, terminal is electronic purse terminal, interaction message
As a example by depositing transaction message for circle, the method provided the present invention with specific embodiment is described in detail.
Prior art can deposit two ways by space transference and POS circle and realize the circle of stored value card
Depositing, wherein, space transference flow process is as it is shown on figure 3, as follows:
Step S301, electronic purse terminal (being such as inserted with the mobile terminal of SIM) receive the circle of user and deposit
After selecting operation, generate random parameter RAND;
The RAND using locally stored circle to deposit double secret key generation carries out computing, generates session key;And
The relevant information using session key that this circle is deposited transaction is encrypted computing, generates message authentication code
MAC1;
Generating circle and deposit transaction request, circle is deposited RAND, the MAC1 carrying generation in transaction request, is also carried
User carries out enclosing the circle of input when depositing selection operation and deposits the information such as the amount of money, trading password, and can also carry
The information such as key version number, algorithm identification number are for indicating the circle of use to deposit key and related algorithm, and go back
On-line transaction sequence number can be carried and deposit transaction for identifying this circle.
Step S302, electronic purse terminal are deposited main frame transmission circle to the circle of network side and are deposited transaction request.
Step S303, circle are deposited main frame and are received after this circle deposits transaction request, deposit transaction request from circle and obtain
RAND, and use this circle stored to deposit double secret key RAND to carry out computing, generate session key;
The relevant information using session key that this circle is deposited transaction is encrypted computing, generates MAC1, and
With enclosing, the MAC1 relatively generated deposits that the MAC1 carried in transaction request is the most equal to be verified;
If unequal, represent that checking is not passed through, terminate circle and deposit transaction process flow, now can also be to electricity
Sub-wallet terminal returns circle and deposits Fail Transaction response;
If equal, expression is verified, and deposits, according to circle, the pertinent transaction information carried in transaction request and carries out
Trading processing deposited by circle, such as, deposits deduction circle the account that transaction is corresponding from this circle and deposits the amount of money, and update connection
Machine transaction sequence number, is specifically as follows the on-line transaction sequence adding 1 using original on-line transaction sequence number after renewal
Number;
The relevant information using session key that this circle is deposited transaction is encrypted computing, generates MAC2, raw
The relevant information and the relevant information generating MAC1 generation that become MAC2 to be used can be different;
Generating circle and deposit transaction success response, circle is deposited in transaction success response and is carried MAC2, it is also possible to carry this
The information such as secondary trade date, exchange hour.
Step S304, circle are deposited main frame and are deposited transaction success response to electronic purse terminal transmission circle.
Step S305, electronic purse terminal receive circle deposit transaction success response after, use session key to this
Secondary circle is deposited the relevant information of transaction and is encrypted computing, generates MAC2, and compares MAC2 and the circle of generation
Deposit that the MAC2 carried in transaction request is the most equal to be verified;
If unequal, represent that checking is not passed through, terminate circle and deposit transaction process flow;
If equal, expression is verified, and updates the account balance of stored value card, supplements with money for stored value card;
Update on-line transaction sequence number, be specifically as follows original on-line transaction sequence number is added 1 as renewal after online
Transaction sequence number;This circle is deposited transaction related information and is encrypted computing by the transaction KI using storage,
Generate transaction authentication code TAC;
Generate circle and deposit transaction result message, wherein carry the TAC of generation.
Step S306, electronic purse terminal are deposited main frame transmission circle to circle and are deposited transaction result message.
Step S307, circle are deposited main frame and are received after circle deposits transaction result message, and the transaction authentication using storage is close
This circle is deposited transaction related information and is encrypted computing by key, generates TAC, and deposits transaction result message with circle
In the TAC that carries compare and verify, preserve TAC after being verified, terminate this circle and deposit transaction.
For the space transference flow process shown in above-mentioned Fig. 3, friendship deposited by the last circle sent when electronic purse terminal
Easily request does not arrives circle when depositing main frame, and electronic purse terminal have sent again this circle and deposits transaction request, and,
The various situations being likely to occur in transmitting procedure due to message, transaction request deposited by this circle sent after causing
First deposited main frame by circle to receive.
Now, circle is deposited this circle of host process and is deposited transaction request, and returns the most originally to electronic purse terminal
Secondary circle deposit transaction response, electronic purse terminal receive this circle depositing transaction response after, carry out the corresponding amount of money
Update etc. and operate this and enclose and deposit transaction, and deposit main frame to circle and return this circle and deposit transaction result message.
When circle is deposited after this circle of response of host deposits transaction request, have received again last circle and deposit transaction request, then
Still can process this circle according to normal flow and deposit transaction request, and return on corresponding to electronic purse terminal
Once transaction response deposited by circle, but owing to the session key that electronic purse terminal is currently used is deposited for this circle corresponding
The session key of transaction, so electronic purse terminal is after on receiving, once transaction response being deposited by circle, then can be due to
Mac authentication mistake terminates last circle and deposits the process of transaction;The most visible, this hour circle deposits main frame and electronics
Wallet terminal deposits the process necessarily failure of transaction for last time circle, so, cause wasting circle and deposit master
The process resource of machine and electronic purse terminal, and reduce circle and deposit the success rate of transaction.
Further, when circle deposit main frame on have sent once circle depositing transaction response after, just receive stored value card end
After holding this circle returned to deposit transaction result message, then cannot verify that transaction correspondence deposited by this circle accurately
TAC, the most just cannot realize depositing this circle the accurate preservation of the TAC of transaction, cause and deposit host computer side at circle
Circle is deposited the confusion of the record of Transaction Information.
Embodiment 1:
The embodiment of the present invention 1 provides the handling process of a kind of stored value card space transference, as shown in Figure 4, bag
Include:
Step S401, electronic purse terminal (being such as inserted with the mobile terminal of SIM) receive the circle of user and deposit
After selecting operation, generate RAND;
The RAND using locally stored circle to deposit double secret key generation carries out computing, generates session key;And
The relevant information using session key that this circle is deposited transaction is encrypted computing, generates message authentication code
MAC1;
Update, according to first, the first original message serial number Ca that policy update is locally stored, updated
After the first message serial number Ca ', such as, the first more New Policy can be original Ca is added 1 as
Ca ', then the variation tendency corresponding to the first more New Policy is for becoming big, i.e. Ca is less than Ca ';
It is also preferred that the left the first serial number threshold value can also be arranged corresponding first message serial number, and determine that Ca ' is
No exceed this first serial number threshold value (when variation tendency for become big time, exceed to be more than), when exceeding,
Represent the first message serial number mechanism failure, terminate subsequent treatment;When less than time, continue follow-up process
Flow process;
It is also preferred that the left in order to avoid changing in transmitting procedure due to the first message serial number so that circle is deposited
The judgement of host computer side is inaccurate, it is also possible to uses the first authentication key that Ca ' is encrypted computing and generates first
MAC;
Generating circle and deposit transaction request, RAND, MAC1, Ca carrying generation in transaction request ' and the deposited by circle
One MAC, also carries user and carries out enclosing and deposit the circle of input when selecting operation and deposit the information such as the amount of money, trading password,
And the information such as key version number, algorithm identification number of can also carrying is for indicating the circle of use to deposit key and phase
Close algorithm, and on-line transaction sequence number can also be carried deposit transaction for identifying this circle.
Step S402, electronic purse terminal are deposited main frame transmission circle to circle and are deposited transaction request.
Step S403, circle are deposited main frame and are received after this circle deposits transaction request, deposit transaction request from circle and obtain
Ca ', if circle is deposited carries a MAC in transaction request, then uses the first authentication key to acquisition
Ca ' is encrypted computing and generates the 2nd MAC, and compares the 2nd MAC of a MAC and the generation carried
The most identical;
If it is not the same, represent that circle is deposited the Ca ' carried in transaction request and had occurred and that change in transmitting procedure,
Different from the Ca ' of electronic purse terminal side, it is impossible to as accurately with reference to carrying out follow-up first message serial number
Judgement, so, terminate this circle and deposit the handling process of transaction;
If identical, represent that circle is deposited the Ca ' carried in transaction request and do not changed in transmitting procedure, be accurate
True, and the Ca ' carried is compared with locally stored Ca, it may be judged whether meet and update plan with first
Slightly corresponding variation tendency, such as, the first more New Policy be in above-mentioned steps S401 to original first
When message serial number adds 1 and is updated, whether the most locally stored Ca is less than Ca ';
If it is not, represent that the first message serial number checking is not passed through, terminate circle and deposit transaction process flow,
Now can also return circle to electronic purse terminal and deposit Fail Transaction response;
If it is lower, represent that the first message serial number is verified, and Ca ' is used to update locally stored Ca;
Deposit transaction request acquisition RAND from circle, and use this circle stored to deposit double secret key RAND to transport
Calculate, generate session key;
The relevant information using session key that this circle is deposited transaction is encrypted computing, generates MAC1, and
With enclosing, the MAC1 relatively generated deposits that the MAC1 carried in transaction request is the most equal to be verified;
If unequal, represent that checking is not passed through, terminate circle and deposit transaction process flow, now can also be to electricity
Sub-wallet terminal returns circle and deposits Fail Transaction response;
If equal, expression is verified, and deposits, according to circle, the pertinent transaction information carried in transaction request and carries out
Trading processing deposited by circle, such as, deposits deduction circle the account that transaction is corresponding from this circle and deposits the amount of money, and update connection
Machine transaction sequence number, is specifically as follows the on-line transaction sequence adding 1 using original on-line transaction sequence number after renewal
Number;
The relevant information using session key that this circle is deposited transaction is encrypted computing, generates MAC2, raw
The relevant information and the relevant information generating MAC1 generation that become MAC2 to be used can be different;
Update, according to second, the second original message serial number Cb that policy update is locally stored, updated
After the second message serial number Cb ', such as, the second more New Policy and the first more New Policy are identical, for by former
The Cb come adds 1 as Cb ', then the variation tendency corresponding to the second more New Policy is for becoming big, i.e. Cb is little
In Cb ';
It is also preferred that the left the second serial number threshold value can also be arranged corresponding second message serial number, and determine that Cb ' is
No exceed this first serial number threshold value (when variation tendency for become big time, exceed to be more than), when exceeding,
Represent the first message serial number mechanism failure, terminate subsequent treatment;When less than time, continue follow-up process
Flow process;
It is also preferred that the left in order to avoid changing in transmitting procedure due to the second message serial number so that circle is deposited
The judgement of host computer side is inaccurate, it is also possible to uses the second authentication key that Cb ' is encrypted computing and generates the 3rd
MAC;Second authentication key can be identical with the first authentication key;
Generating circle and deposit transaction success response, circle is deposited in transaction success response and is carried MAC2, Cb ' and the 3rd
MAC, it is also possible to carry this information such as trade date, exchange hour.
It is also preferred that the left for the above-mentioned handling process of this step, depositing carry in transaction request relevant according to circle
Transaction Information carries out before circle deposits trading processing, it is also possible to comprise determining that the connection carried in transaction request deposited by circle
Machine transaction sequence number is the most identical with locally stored on-line transaction sequence number, if it is not the same, such as deposit with this locality
The on-line transaction sequence number of storage is compared little by 1, represents that last time circle is deposited the transaction process in electronic purse terminal side and do not had
Have successfully, i.e. the amount of money does not update, so circle is deposited main frame and carried out rolling back action, last time circle is deposited transaction button
The amount of money removed returns in corresponding account;If identical, represent that last time circle deposits transaction at electronic purse terminal
The process success of side, then carry out this circle follow-up and deposit the process of transaction.Exist in order to ensure when on-line transaction sequence number
When transmission changes, it is to avoid the checking of on-line transaction sequence number is inaccurate, raw in above-mentioned steps S401
When becoming the computing of a MAC, further relate to the cryptographic calculation to online transaction sequence number.
Step S404, circle are deposited main frame and are deposited transaction success response to electronic purse terminal transmission circle.
Step S405, electronic purse terminal receive circle deposit transaction success response after, depositing from circle concludes the business successfully rings
Obtain Cb ' in should, if circle is deposited carries the 3rd MAC in transaction success response, then use the second discriminating close
Key is encrypted computing to the Cb ' obtained and generates the 4th MAC, and compares the 3rd MAC and the generation carried
The 4th MAC the most equal;
If unequal, represent that circle is deposited the Cb ' carried in transaction success response and had occurred and that in transmitting procedure
Change, different from the Cb ' that host computer side deposited by circle, it is impossible to as accurately with reference to carrying out follow-up second message flowing water
Number judgement, so, terminate this circle and deposit the handling process of transaction;
If equal, represent that circle is deposited the Cb ' carried in transaction success response and do not changed in transmitting procedure,
It is accurately, and the Cb ' carried is compared with locally stored Cb, it may be judged whether meet and second
The variation tendency that more New Policy is corresponding, such as, the second more New Policy be in above-mentioned steps S403 to originally
The second message serial number when adding 1 and be updated, whether the most locally stored Cb less than Cb ';
If it is not, represent that the second message serial number checking is not passed through, terminate circle and deposit transaction process flow;
If it is lower, represent that the second message serial number is verified, Cb ' is used to update locally stored Cb;
And the relevant information using session key that this circle is deposited transaction is encrypted computing, generates MAC2, and compare
With circle, the MAC2 relatively generated deposits that the MAC2 carried in transaction request is the most equal to be verified;
If unequal, represent that checking is not passed through, terminate circle and deposit transaction process flow;
If equal, expression is verified, and updates the account balance of stored value card, supplements with money for stored value card;
Update on-line transaction sequence number, be specifically as follows original on-line transaction sequence number is added 1 as renewal after online
Transaction sequence number;This circle is deposited transaction related information and is encrypted computing by the transaction KI using storage,
Generate transaction authentication code TAC;
And use the handling process identical with above-mentioned steps S401 to update the first message serial number, obtain Ca '
With a MAC;
Generate circle and deposit transaction result message, wherein carry TAC, Ca of generation ' and a MAC.
Step S406, electronic purse terminal are deposited main frame transmission circle to circle and are deposited transaction result message.
Step S407, circle are deposited main frame and are received after circle deposits transaction result message, use and above-mentioned steps S403
In identical handling process judge MAC and Ca ' is verified respectively, if arbitrary checking is obstructed
Cross, then terminate this trading processing, if the verification passes, then use Ca ' to update Ca, and use storage
This circle is deposited transaction related information and is encrypted computing by transaction KI, generates TAC, and deposits friendship with circle
The TAC easily carried in results messages compares and verifies, preserves TAC, terminate this after being verified
Transaction deposited by circle.
For the space transference handling process shown in above-mentioned Fig. 4, it is also preferred that the left can also be at electronic purse terminal
Depositing, to circle, the circle that main frame sends to deposit and carry the second currently stored message serial number in transaction message, main frame deposited by circle
Second message serial number can be verified;And deposit, at circle, the circle that main frame sends to electronic purse terminal and deposit
Carrying the first currently stored message serial number in transaction message, electronic purse terminal can be to the first message stream
Water number is verified;Pass through handling process, it is also possible to further realize circle is deposited the tracking of transaction flow.
Use the stored value card air storage method that above-described embodiment 1 provides, each by electronic purse terminal
Send circle when depositing transaction message, carry the first message serial number of renewal wherein, for circle deposit main frame according to
First message serial number of this renewal judges that this circle deposits whether transaction message is that electronic purse terminal is the last
Transaction message deposited by the circle sent, in order to when determining that transaction message deposited by the circle not being to send the last time, refusal
This circle is deposited the process of transaction message, decreases circle and deposit main frame and electronic purse terminal the most failed inevitable circle is deposited
Transaction process, it also avoid circle deposit main frame to TAC checking and holding process inaccurate, therefore, carry
The success rate of high space transference transaction and accuracy.
Embodiment 2:
Based on same inventive concept, according to the information in the message interaction process that the above embodiment of the present invention provides
Processing method, correspondingly, the embodiment of the present invention 2 additionally provides the information processing in a kind of message interaction process
Device, its structural representation is as it is shown in figure 5, include:
First receives unit 501, for receiving the first interaction message that terminal sends, in the first interaction message
Carrying the first message serial number of renewal, the first message serial number of renewal is that terminal is based on storage original
First message serial number updates what policy update obtained by first;
First processing unit 502, for when determining that the first message serial number of renewal changes to locally stored
When the trend of the first message serial number originally meets corresponding with the first more New Policy variation tendency, according to the
The interactive information carried in one interaction message carries out alignment processing, and uses the first message serial number of renewal more
The most locally stored the first original message serial number.
It is also preferred that the left also carry the first message authentication code in the first interaction message, the first message authentication code is terminal
Use the first authentication key that the first message serial number updated is encrypted computing to generate;
First processing unit 502, is additionally operable to the first message serial number determining renewal and changes to locally stored
The trend of the first original message serial number meet the variation tendency corresponding with the first more New Policy before, make
With the first authentication key, the first message serial number updated is encrypted computing and generates the second message authentication code;
And determine the second message authentication code phase of the first message authentication code and the generation obtained from the first interaction message
With.
It is also preferred that the left said apparatus, also include: the first transmitting element 503;
First processing unit 502, is additionally operable to by the second the second original message stream updating policy update storage
Water number;And generate the second interaction message according to the result being traded processing;Second interaction message carries more
The second new message serial number;
First transmitting element 503, for returning the second interaction message to terminal.
It is also preferred that the left the first processing unit 502, it is additionally operable to before returning the second interaction message to terminal, uses
Second authentication key is encrypted computing and generates the 3rd message authentication code the second message serial number updated, and
Carry in the second interaction message.
It is also preferred that the left above-mentioned processing means is circle cryopreservation device;
Above-mentioned terminal is electronic purse terminal.
It is also preferred that the left first receives unit 501, it is additionally operable to receive the Message handling request of terminal, Message Processing
The process authentication code generated after the success of carried terminal last time Message Processing in request;
First processing unit 502, is additionally operable to when the state determining locally stored last Message Processing is not
During acknowledgement state, corresponding last Message Processing storage processes authentication code, and updates last Message Processing
State is committed state.
Embodiment 3:
Based on same inventive concept, according to the information in the message interaction process that the above embodiment of the present invention provides
Processing method, correspondingly, the embodiment of the present invention 3 additionally provides a kind of terminal, its structural representation such as Fig. 6
Shown in, including:
Second processing unit 601, for updating the first original message flowing water of policy update storage by first
Number;
Second transmitting element 602, for sending the first interaction message to network side, takes in the first interaction message
The first message serial number that band updates.
It is also preferred that the left the second processing unit 601, it is also used for first authentication key the first message to updating
Serial number is encrypted computing and generates the first message authentication code, and carries in the first interaction message.
It is also preferred that the left above-mentioned terminal, also include: second receives unit 603, be used for receiving network side correspondence the
The second interaction message that one interaction message returns, carries the second message flowing water of renewal in the second interaction message
Number, the second message serial number of renewal is that network side the second original message serial number based on storage is by second
Update what policy update obtained;
Second processing unit 601, is additionally operable to when determining that the second message serial number of renewal changes to locally stored
The trend of the second original message serial number when meeting corresponding with the second more New Policy variation tendency, according to
The interactive information carried in second interaction message carries out alignment processing, and uses the second message serial number of renewal
Update locally stored the second original message serial number.
It is also preferred that the left also carry the 3rd message authentication code in the second interaction message, the 3rd message authentication code is network
Side uses the second authentication key that the second message serial number updated is encrypted computing and generates;
Second processing unit 601, is additionally operable to the second message serial number determining renewal and changes to locally stored
The trend of the second original message serial number meet the variation tendency corresponding with the second more New Policy before, make
It is encrypted computing with the second message serial number of second authentication key renewal to receiving and generates the 4th message
Authentication code;
Determine the 4th message authentication code of the 3rd message authentication code and the generation obtained from the second interaction message
Identical.
It is also preferred that the left above-mentioned terminal is electronic purse terminal.
Embodiment 4:
Based on same inventive concept, according to the information in the message interaction process that the above embodiment of the present invention provides
Processing method, correspondingly, the embodiment of the present invention 4 additionally provides the information processing in a kind of message interaction process
System, its structural representation as it is shown in fig. 7, comprises: terminal 701 and processing means 702, wherein:
Terminal 701, for updating the first original message serial number of policy update storage by first;And to
Processing means 702 sends the first interaction message, carries the first message serial number of renewal in the first interaction message;
Processing means 702, for changing to locally stored when the first message serial number of the renewal determining reception
The trend of the first original message serial number when meeting corresponding with the first more New Policy variation tendency, according to
The interactive information carried in first interaction message carries out alignment processing, and uses the first message serial number of renewal
Update locally stored the first original message serial number.
It is also preferred that the left processing means 702, it is additionally operable to disappear by the second original second updating policy update storage
Breath serial number, and generate the second interaction message according to the result being traded processing, the second interaction message is taken
The second message serial number that band updates;And return the second interaction message to terminal 701;
Terminal 701, is additionally operable to when the second message serial number of the renewal determining reception changes to locally stored
When the trend of the second message serial number originally meets corresponding with the second more New Policy variation tendency, according to the
The interactive information carried in two interaction messages carries out alignment processing, and uses the second message serial number of renewal more
The most locally stored the second original message serial number.
It is also preferred that the left terminal 701, for sending Message handling request to processing means 702, Message Processing please
Seek the process authentication code generated after carrying the success of this terminal last time Message Processing;
Processing means 702, is shape unconfirmed for working as the state determining locally stored last Message Processing
During state, corresponding last Message Processing storage processes authentication code, and the state updating last Message Processing is
Committed state.
It is also preferred that the left above-mentioned terminal is electronic purse terminal;Above-mentioned processing means is circle cryopreservation device.
The embodiment of the present invention also provides for the information processing method in a kind of message interaction process, as shown in Figure 8,
Including:
Step S801, the information process request of reception terminal, carried terminal last time letter in information process request
The process authentication code that breath generates after processing successfully.
Step S802, when the state determining locally stored last information processing is state unconfirmed, right
Last information processing storage should process authentication code, and update the state of last information processing for having confirmed that shape
State.
For the information processing method in the message interaction process shown in above-mentioned Fig. 8, further, it is also possible to
The process authentication code generated after last information processing success is verified, particularly as follows:
When the state determining locally stored last information processing is committed state, it is judged that locally stored
Last information processing success after receive process the process carried in authentication code and this information process request
Authentication code is the most identical;
If identical, carry out alignment processing according to the process information that information process request carries.
It is also preferred that the left mode shown in Fig. 8, also include:
Obtain the on-line processing sequence number of this information processing of terminal carried in information process request;
Judge whether the on-line processing sequence number of this information processing processes sequence number with locally stored current Online
Identical;
If identical, carry out alignment processing according to the process information that information process request carries.
Below in conjunction with the accompanying drawings, with terminal as electronic purse terminal, information process request is that transaction request deposited by circle,
Processing authentication code is transaction authentication code, and last information processing is enclosed for the last time as a example by depositing transaction, with concrete real
The method that executing example provides the present invention is described in detail.
In prior art, POS circle deposits flow process as it is shown in figure 9, as follows:
Step S901, POS send circle to electronic purse terminal (such as IC-card or SIM) and deposit at the beginning of transaction
Begin to order, wherein carry cipher key index number, enclose and deposit the information such as the amount of money and POS numbering.
Step S902, electronic purse terminal receive circle deposit transaction initial command after, verify whether to support wherein to take
The cipher key index number of band;If it does not, return initial failure response;If supported, according to cipher key index
Number inquiry is gone too far and is deposited key, and generates RAND, and RAND that double secret key generates carries out computing to use circle to deposit,
Generate session key;And the relevant information using session key that this circle is deposited transaction is encrypted computing, raw
Become message authentication code MAC1;
Generating circle and deposit transaction request, circle is deposited RAND, the MAC1 carrying generation in transaction request, is also carried
User carries out enclosing the circle of input when depositing selection operation and deposits the information such as the amount of money, trading password, and can also carry
The information such as key version number, algorithm identification number are for indicating the circle of use to deposit key and related algorithm, and go back
On-line transaction sequence number can be carried and deposit transaction for identifying this circle.
Step S903, electronic purse terminal send circle to POS and deposit transaction request.
Step S904, POS receive after this circle deposits transaction request, forward it to circle and deposit main frame.
Step S905, circle are deposited main frame and are received after this circle deposits transaction request, deposit transaction request from circle and obtain
RAND, and use this circle stored to deposit double secret key RAND to carry out computing, generate session key;
The relevant information using session key that this circle is deposited transaction is encrypted computing, generates MAC1, and
With enclosing, the MAC1 relatively generated deposits that the MAC1 carried in transaction request is the most equal to be verified;
If unequal, represent that checking is not passed through, terminate circle and deposit transaction process flow, now can be to POS
Machine returns circle and deposits Fail Transaction response;POS is pointed out after receiving failure response;
If equal, expression is verified, and deposits, according to circle, the pertinent transaction information carried in transaction request and carries out
Trading processing deposited by circle, such as, deposits deduction circle the account that transaction is corresponding from this circle and deposits the amount of money, and update connection
Machine transaction sequence number, is specifically as follows the on-line transaction sequence adding 1 using original on-line transaction sequence number after renewal
Number;
The relevant information using session key that this circle is deposited transaction is encrypted computing, generates MAC2, raw
The relevant information and the relevant information generating MAC1 generation that become MAC2 to be used can be different;
Generating circle and deposit transaction success response, circle is deposited in transaction success response and is carried MAC2, it is also possible to carry this
The information such as secondary trade date, exchange hour.
Step S906, circle are deposited main frame and are deposited transaction success response to POS transmission circle.
Step S907, POS receive after this circle deposits success response, forward it to electronic purse terminal.
Step S908, electronic purse terminal receive circle deposit transaction success response after, use session key to this
Secondary circle is deposited the relevant information of transaction and is encrypted computing, generates MAC2, and compares MAC2 and the circle of generation
Deposit that the MAC2 carried in transaction request is the most equal to be verified;
If unequal, represent that checking is not passed through, terminate circle and deposit transaction process flow;
If equal, expression is verified, and updates the account balance of stored value card, supplements with money for stored value card;
Update on-line transaction sequence number, be specifically as follows original on-line transaction sequence number is added 1 as renewal after online
Transaction sequence number;This circle is deposited transaction related information and is encrypted computing by the transaction KI using storage,
Generate transaction authentication code TAC;
Generate circle and deposit transaction result message, wherein carry the TAC of generation.
Step S909, electronic purse terminal send circle to POS and deposit transaction result message.
Step S910, POS receive after this circle deposits transaction result message, forward it to circle and deposit main frame.
Step S911, circle are deposited main frame and are received after circle deposits transaction result message, and the transaction authentication using storage is close
This circle is deposited transaction related information and is encrypted computing by key, generates TAC, and deposits transaction result message with circle
In the TAC that carries compare and verify, preserve TAC after being verified, terminate this circle and deposit transaction.
Flow process is deposited, finally for the space transference flow process shown in above-mentioned Fig. 3 and the POS circle shown in Fig. 9
Circle deposit main frame all can receive circle deposit conclude the business successfully after generation TAC, be used for verifying, and preserve, as this
The successful voucher of transaction deposited by circle.But in handling process, if electronic purse terminal or POS send TAC
Depositing main frame failure to circle, circle is deposited main frame and cannot be obtained this TAC the most again so that circle is deposited main frame and cannot be used TAC
Carry out relevant treatment, cause circle to deposit trading processing imperfect.
Embodiment 5:
The embodiment of the present invention 5 provides the handling process that a kind of stored value card circle is deposited, as shown in Figure 10, and including:
Step S1001, POS send circle to electronic purse terminal (such as IC-card or SIM) and deposit transaction
Initial command, wherein carries cipher key index number, encloses and deposit the information such as the amount of money and POS numbering.
Step S1002, electronic purse terminal receive circle deposit transaction initial command after, verify whether to support wherein
The cipher key index number carried;If it does not, return initial failure response;If supported, according to key rope
Quotation marks inquiry is gone too far and is deposited key, and generates RAND, and the RAND using circle to deposit double secret key generation transports
Calculate, generate session key;And the relevant information using session key that this circle is deposited transaction is encrypted computing,
Generate message authentication code MAC1;
The storage of electronic purse terminal side have last circle deposit conclude the business successfully after the TAC of generation, specifically can correspondence
The identification information that transaction deposited by last circle stores, and such as, this identification information is that transaction deposited by last circle
On-line transaction sequence number;On-line transaction sequence number and TAC that last time circle can be deposited transaction enclosed as the last time
Deposit the circle of transaction to deposit transaction record and jointly store;
Generating circle and deposit transaction request, RAND, MAC1 and the last time carrying generation in transaction request deposited by circle
Transaction record deposited by circle, also carries user and carries out enclosing and deposit the circle of input when selecting operation and deposit the amount of money, trading password etc.
Information, and it is close for indicating the circle of use to deposit to carry the information such as key version number, algorithm identification number
Key and related algorithm, and this on-line transaction sequence number can also be carried deposit transaction for identifying this circle.
Step S1003, electronic purse terminal send circle to POS and deposit transaction request.
Step S1004, POS receive after this circle deposits transaction request, forward it to circle and deposit main frame.
Step S1005, circle are deposited main frame and are received after this circle deposits transaction request, deposit transaction request from circle and obtain
Transaction record deposited by last circle, and judges that the state of transaction deposited by last circle;It is specifically as follows: deposit friendship from circle
Easy record obtains last time circle and deposits the on-line transaction sequence number of transaction, press this on-line transaction sequence number obtained,
Local search goes out the last of storage and encloses the state depositing transaction, and judges;
If state is unconfirmed, after representing that closing the transaction deposited by last time circle, circle is deposited main frame and is not received electronics
The TAC that wallet terminal returns, then corresponding last circle is deposited transaction storage ring and is deposited upper carried in transaction request
The TAC generated after concluding the business successfully deposited by secondary circle, and updates last circle and deposit the state of transaction for having confirmed that;Specifically
Can be: the on-line transaction sequence number of transaction deposited by the corresponding last circle obtained, storage last time circle be deposited and is concluded the business into
The TAC generated after merit;
If state is for having confirmed that, follow-up processing flow can be directly entered, it is also possible to further to upper one
Secondary circle is deposited the TAC of transaction and is verified, i.e. judge locally stored last circle deposit conclude the business successfully after reception
TAC deposit the TAC that the last circle carried in transaction request deposits transaction with circle the most identical;
If it is not the same, terminate this circle to deposit transaction;
If identical, enter follow-up processing flow, deposit, according to circle, the transaction carried in transaction request and be traded
Process, specific as follows:
Deposit transaction request acquisition RAND from circle, and use this circle stored to deposit double secret key RAND to enter
Row operation, generates session key;
The relevant information using session key that this circle is deposited transaction is encrypted computing, generates MAC1, and
With enclosing, the MAC1 relatively generated deposits that the MAC1 carried in transaction request is the most equal to be verified;
If unequal, represent that checking is not passed through, terminate circle and deposit transaction process flow, now can be to POS
Machine returns circle and deposits Fail Transaction response;POS is pointed out after receiving failure response;
If equal, expression is verified, and deposits, according to circle, the pertinent transaction information carried in transaction request and carries out
Trading processing deposited by circle, such as, deposits deduction circle the account that transaction is corresponding from this circle and deposits the amount of money, and update connection
Machine transaction sequence number, is specifically as follows the on-line transaction sequence adding 1 using original on-line transaction sequence number after renewal
Number;
The relevant information using session key that this circle is deposited transaction is encrypted computing, generates MAC2, raw
The relevant information and the relevant information generating MAC1 generation that become MAC2 to be used can be different;
Generating circle and deposit transaction success response, circle is deposited in transaction success response and is carried MAC2, it is also possible to carry this
The information such as secondary trade date, exchange hour.
And record this circle to deposit the state of transaction be unconfirmed, specifically can this on-line transaction sequence number corresponding enter
Row record.
For the above-mentioned handling process of this step S1005, it is also preferred that the left carry depositing in transaction request according to circle
Transaction be traded processing before, it is also possible to this circle is deposited the on-line transaction sequence number of transaction and verifies, tool
Body includes:
Determine that this on-line transaction sequence number and this locally stored online friendship carried in transaction request deposited by circle
Easily sequence number is the most identical, if it is not the same, terminate this circle to deposit transaction;If identical, enter subsequent treatment
Flow process, deposits, according to circle, the transaction carried in transaction request and is traded processing.
Due to when electronic purse terminal initiates space transference request and request deposited by the circle of POS simultaneously, can
The circle request of depositing can initiated after occurring first arrives circle and deposits main frame, and then causes enclosing and deposit host computer side circle is deposited request
Process chaotic and conflict, therefore, use the above-mentioned processing mode that this on-line transaction sequence number is verified,
Can avoid enclosing and deposit main frame the circle request of depositing extremely after first sending out is processed, so avoid process confusion and
Conflict.
Step S1006, circle are deposited main frame and are deposited transaction success response to POS transmission circle.
Step S1007, POS receive after this circle deposits success response, forward it to electronic purse terminal.
Step S1008, electronic purse terminal receive circle deposit transaction success response after, use session key pair
The relevant information that transaction deposited by this circle is encrypted computing, generates MAC2, and compares the MAC2 of generation
Deposit that the MAC2 carried in transaction request is the most equal to be verified with circle;
If unequal, represent that checking is not passed through, terminate circle and deposit transaction process flow;
If equal, expression is verified, and updates the account balance of stored value card, supplements with money for stored value card;
This circle is deposited transaction related information and is encrypted computing by the transaction KI using storage, generates this circle
Deposit the TAC of transaction, and this on-line transaction sequence number corresponding stores this TAC;Update on-line transaction sequence number,
It is specifically as follows the on-line transaction sequence number this original on-line transaction sequence number being added 1 after renewal;
Generate circle and deposit transaction result message, wherein carry the TAC of generation.
Step S1009, electronic purse terminal send circle to POS and deposit transaction result message.
Step S1010, POS receive after this circle deposits transaction result message, forward it to circle and deposit main frame.
Step S1011, circle are deposited main frame and are received after circle deposits transaction result message, use the transaction authentication of storage
This circle of double secret key is deposited transaction related information and is encrypted computing, generates TAC, and deposits transaction results with circle and disappear
The TAC carried in breath compares and verifies, preserves TAC, and update this circle and deposit friendship after being verified
Easy state, for having confirmed that, terminates this circle and deposits transaction.
For processing the detailed process of the method shown in Fig. 9 in space transference mode, shown in above-mentioned Figure 10
The handling principle of flow process is identical, is no longer described in detail at this.
Use the method for earmarking electronic wallet that above-described embodiment 5 provides, deposit transaction when transmitting corresponding last circle
TAC when depositing main frame failure to circle, can deposit at this circle and transaction make circle deposit main frame to get loss
This TAC, it is ensured that the integrity of trading processing deposited by circle, the most just improves the success rate of space transference transaction
And accuracy.
Embodiment 6:
Based on same inventive concept, according to the information in the message interaction process that the above embodiment of the present invention provides
Method, correspondingly, the embodiment of the present invention 6 additionally provides the massaging device in a kind of message interaction process, its
Structural representation as shown in figure 11, including:
3rd receives unit 1101, for receiving the information process request of terminal, carries in information process request
The process authentication code generated after terminal last time information processing success;
3rd processing unit 1102, for when determining that the state of locally stored last information processing is for the most true
When recognizing state, corresponding last information processing storage processes authentication code, and updates the shape of last information processing
State is committed state.
It is also preferred that the left the 3rd processing unit 1102, it is additionally operable to when determining locally stored last information processing
When state is committed state, it is judged that the process authentication received after locally stored last information processing success
Code is the most identical with the process authentication code that carries in information process request;If it is and identical, at information
The process information that reason request is carried carries out alignment processing.
It is also preferred that the left the 3rd processing unit 1102, it is additionally operable to obtain the described terminal carried in information process request
The on-line processing sequence number of this information processing;And judge that the on-line processing sequence number of this information processing is deposited with this locality
It is the most identical that the current Online of storage processes sequence number;If process letter that is identical, that carry according to information process request
Breath carries out alignment processing.
It is also preferred that the left said apparatus is circle cryopreservation device;Above-mentioned terminal is electronic purse terminal.
Embodiment 7:
Based on same inventive concept, according to the information in the message interaction process that the above embodiment of the present invention provides
Method, correspondingly, the embodiment of the present invention 7 additionally provides a kind of terminal, its structural representation such as Figure 12 institute
Show, including:
Fourth processing unit 1201, is used for generating information process request, carries this terminal in information process request
The process authentication code generated after last information processing success;
4th transmitting element 1202, for sending information process request to network side.
Embodiment 8:
Based on same inventive concept, according to the information in the message interaction process that the above embodiment of the present invention provides
Method, correspondingly, the embodiment of the present invention 8 additionally provides the information system in a kind of message interaction process, its
Structural representation as shown in figure 13, including terminal 1301 and processing means 1302, wherein:
Terminal 1301, for sending information process request to processing means 1302, takes in information process request
The process authentication code generated after this terminal of band 1301 last information processing success;
Processing means 1302, is shape unconfirmed for working as the state determining locally stored last information processing
During state, corresponding last information processing storage processes authentication code, and the state updating last information processing is
Committed state.
It is also preferred that the left processing means 1302, it is additionally operable to when the state determining locally stored last information processing
During for committed state, it is judged that the process authentication code received after locally stored last information processing success with
The process authentication code carried in information process request is the most identical;If identical, take according to information process request
The process information of band carries out alignment processing.
It is also preferred that the left above-mentioned terminal is electronic purse terminal;Above-mentioned processing means is circle cryopreservation device.
In sum, the scheme that the embodiment of the present invention provides, receive that terminal sends including: processing means the
One interaction message;First interaction message carries the first message serial number of renewal, the first message stream of renewal
Water number updates what policy update obtained for terminal the first original message serial number based on storage by first;With
And when determining that the first message serial number of renewal changes to locally stored the first original message serial number
When trend meets the variation tendency corresponding with the first more New Policy, mutual according to what the first interaction message carried
Information carries out alignment processing, and uses the first message serial number of renewal to update locally stored original first
Message serial number.The scheme using the embodiment of the present invention to provide, is improve and is carried out at information by interacting message
The success rate of reason and accuracy rate.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention
Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.
Claims (14)
1. the information processing method in a message interaction process, it is characterised in that including:
Receive the information process request of terminal, described information process request carries described terminal last time information
The process authentication code generated after processing successfully;
When the state determining locally stored described last information processing is state unconfirmed, corresponding described
Last information processing stores described process authentication code, and updates the state of described last information processing for
Acknowledgement state;
Wherein, described process authentication code is for representing the described successful credential information of terminal last time information processing.
2. the method for claim 1, it is characterised in that when determining locally stored described upper one
When the state of secondary information processing is committed state, it is judged that locally stored described last information processing success
Rear reception to process the described process authentication code carried in authentication code and described information process request the most identical;
If identical, carry out alignment processing according to the process information that described information process request carries.
3. the method for claim 1, it is characterised in that also include:
Obtain the on-line processing sequence number of described this information processing of terminal carried in described information process request;
Judge that the on-line processing sequence number of this information processing described processes sequence number with locally stored current Online
The most identical;
If identical, carry out alignment processing according to the process information that described information process request carries.
4. the method for claim 1, it is characterised in that also carry in described information process request
The on-line processing sequence number of described terminal last time information processing;
The state determining locally stored described last information processing is state unconfirmed, specifically includes:
By the on-line processing sequence number of the described last information processing carried in described information process request, at this
Inquire the state of described last information processing of storage;And
Determine that the state inquired is unconfirmed.
5. the method as described in claim 1-4 is arbitrary, it is characterised in that described terminal is stored value card
Terminal;
Described information process request is that transaction request deposited by circle;
Described process authentication code is transaction authentication code;
Described last information processing deposits transaction for last time circle.
6. the information processor in a message interaction process, it is characterised in that including:
3rd receives unit, for receiving the information process request of terminal, carries in described information process request
The process authentication code generated after described terminal last time information processing success;
3rd processing unit, for when determining that the state of locally stored described last information processing is for the most true
When recognizing state, corresponding described last information processing stores described process authentication code, and updates the described last time
The state of information processing is committed state;
Wherein, described process authentication code is for representing the described successful credential information of terminal last time information processing.
7. device as claimed in claim 6, it is characterised in that described 3rd processing unit, is additionally operable to
When the state determining locally stored described last information processing is committed state, it is judged that locally stored
Described last information processing success after the process authentication code that receives carry in described information process request
Described process authentication code the most identical;And if identical, the place carried according to described information process request
Reason information carries out alignment processing.
8. device as claimed in claim 6, it is characterised in that described 3rd processing unit, is additionally operable to
Obtain the on-line processing sequence number of described this information processing of terminal carried in described information process request;And sentence
The on-line processing sequence number of this information processing disconnected described and locally stored current Online process sequence number whether phase
With;If identical, carry out alignment processing according to the process information that described information process request carries.
9. the device as described in claim 6-8 is arbitrary, it is characterised in that described device is circle cryopreservation device;
Described terminal is electronic purse terminal.
10. a terminal, it is characterised in that including:
Fourth processing unit, is used for generating information process request, carries this terminal in described information process request
The process authentication code generated after last information processing success;
4th transmitting element, for sending described information process request to network side;
Wherein, described process authentication code is for representing the described successful credential information of terminal last time information processing.
11. terminals as claimed in claim 10, it is characterised in that described terminal is electronic purse terminal.
Information processing system in 12. 1 kinds of message interaction process, it is characterised in that including: terminal and place
Reason device, wherein:
Described terminal, for sending information process request to described processing means, in described information process request
The process authentication code generated after carrying this terminal last time information processing success;
Described processing means, for when determining that the state of locally stored described last information processing is for the most true
When recognizing state, corresponding described last information processing stores described process authentication code, and updates the described last time
The state of information processing is committed state;
Wherein, described process authentication code is for representing the described successful credential information of terminal last time information processing.
13. systems as claimed in claim 12, it is characterised in that described processing means, are additionally operable to work as
Determine when the state of locally stored described last information processing is committed state, it is judged that locally stored
The process authentication code received after described last information processing success and described information process request carry
Described process authentication code is the most identical;If process information that is identical, that carry according to described information process request
Carry out alignment processing.
14. systems as described in claim 12 or 13, it is characterised in that described terminal is stored value card
Terminal;Described processing means is circle cryopreservation device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310627607.8A CN103647699B (en) | 2010-08-27 | Information processing method in message interaction process, Apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310627607.8A CN103647699B (en) | 2010-08-27 | Information processing method in message interaction process, Apparatus and system |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102659176A Division CN102377762A (en) | 2010-08-27 | 2010-08-27 | Information processing method, device and system in message interaction process |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103647699A CN103647699A (en) | 2014-03-19 |
CN103647699B true CN103647699B (en) | 2016-11-30 |
Family
ID=
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101299284A (en) * | 2008-06-06 | 2008-11-05 | 任雪松 | Automatic information sale apparatus, system and method |
CN101370304A (en) * | 2008-09-19 | 2009-02-18 | 中兴通讯股份有限公司 | Authentication implementing method and device |
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101299284A (en) * | 2008-06-06 | 2008-11-05 | 任雪松 | Automatic information sale apparatus, system and method |
CN101370304A (en) * | 2008-09-19 | 2009-02-18 | 中兴通讯股份有限公司 | Authentication implementing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11694200B2 (en) | Secure account creation | |
CN104838399B (en) | Remote transaction is authenticated using mobile device | |
RU2563163C2 (en) | Remote variable authentication processing | |
CN105139193B (en) | Electronic resource processing method, electronic resource processing device and server | |
CA3011600C (en) | Information transaction infrastructure | |
CN104603809B (en) | Promote the system and method for transaction using virtual card on the mobile apparatus | |
US8055558B2 (en) | Method and system for authentication via communication terminal using short message | |
CN109863519A (en) | Specific to the digital wallet virtual payment account of businessman | |
CN109564663A (en) | Dynamic password currency alias uses | |
JP2019507431A (en) | Authentication system and method using location verification | |
CN103067335B (en) | A kind of cordless realizes the method for information interaction, relevant device and system | |
CN108885670A (en) | For interactive verifying password | |
CN104504565A (en) | Mobile payment system and method based on bank virtual card number | |
CN104718555A (en) | Self-authenticating peer to peer transaction | |
WO2012142315A2 (en) | Message routing using logically independent recipient identifiers | |
CN102629921A (en) | Systems and methods for establishing a communication session between communication devices | |
WO2012112941A2 (en) | Method and system for managing data and enabling payment transactions between multiple entities | |
US9336523B2 (en) | Managing a secure transaction | |
CN109948370A (en) | A kind of method for processing business based on block chain, device and electronic equipment | |
CN104881781A (en) | Method, system, and client based on secure transaction | |
CN108334927A (en) | A kind of NFC receives single label and its method of payment | |
EP3533172B1 (en) | System for secure authentication of a user's identity in an electronic system for banking transactions | |
CN103647699B (en) | Information processing method in message interaction process, Apparatus and system | |
KR102060976B1 (en) | Method for dealing a digital currency with block chain matching QR(or BAR) code | |
WO2019203982A2 (en) | Server and method for sending a transaction receipt via a push notification |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |