CN102103774B - Composite application realization method and system, and smart card - Google Patents
Composite application realization method and system, and smart card Download PDFInfo
- Publication number
- CN102103774B CN102103774B CN200910241937.7A CN200910241937A CN102103774B CN 102103774 B CN102103774 B CN 102103774B CN 200910241937 A CN200910241937 A CN 200910241937A CN 102103774 B CN102103774 B CN 102103774B
- Authority
- CN
- China
- Prior art keywords
- charging area
- record
- entering
- entry
- pos machine
- 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
- 239000002131 composite material Substances 0.000 title claims abstract description 42
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000008569 process Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 8
- 239000000203 mixture Substances 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 101100059544 Arabidopsis thaliana CDC5 gene Proteins 0.000 description 2
- 101150115300 MAC1 gene Proteins 0.000 description 2
- 150000001875 compounds Chemical class 0.000 description 2
- XQCFHQBGMWUEMY-ZPUQHVIOSA-N Nitrovin Chemical compound C=1C=C([N+]([O-])=O)OC=1\C=C\C(=NNC(=N)N)\C=C\C1=CC=C([N+]([O-])=O)O1 XQCFHQBGMWUEMY-ZPUQHVIOSA-N 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Devices For Checking Fares Or Tickets At Control Points (AREA)
Abstract
The invention discloses a composite application realization method and a composite application realization system. The composite application realization method comprises that: a point of sales (POS) machine determines a card wiping operation of a user entering a toll area, generates a piece of toll area entering record and transmits the toll area entering record to a smart card used by the user; the smart card writes the received toll area entering record into a toll area entering record set according to preset rules; the POS machine determines the card wiping operation of the user leaving the toll area, and makes a request to the smart card for the toll area entering record; the smart card reads the toll area entering record from the toll area entering record set according to the preset rules, and transmits the read toll area entering record to the POS machine; and the POS machine finishes the transaction according to the received toll area entering record. The invention simultaneously discloses the smart card. In the technical scheme, a plurality of users can use the smart card at the same time, so convenience is brought to the use of the users.
Description
Technical Field
The present invention relates to data processing technologies, and in particular, to a method and a system for implementing a composite application, and a smart card.
Background
An electronic wallet application is a financial Integrated Circuit (IC) card application designed to facilitate small-amount consumption on the spot by a cardholder, and supports various functions such as a picture store, a balance inquiry, and a transaction detail inquiry.
The financial IC card is usually a contact or contactless smart card, and includes a Subscriber Identity Module (SIM) or a Universal Subscriber Identity Module (USIM) applied to a mobile phone. The cardholder can deposit a certain amount of money in the smart card in advance (placed in an on-site off-line payment account of the smart card), and when a consumption transaction is carried out each time, the corresponding transaction amount is directly deducted from the account off-line.
The composite application is a new application mode introduced according to the characteristics of part of industry applications on the basis of the electronic wallet application. Different from the electronic wallet application that a fixed transaction amount is deducted each time, the multiplexing application increases the capacity of recording non-financial data, data writing and consumption transactions are completed simultaneously, and the non-financial data is mainly used as a calculation basis of the transaction amount. For example, when a user takes a subway, the station-entering information of the user is recorded, such as station-entering sites, and when the user leaves the station, different transaction amounts are deducted from the user account according to the recorded station-entering sites and different current station-leaving sites of the user. The composite application is mainly applicable to the field of financial consumption of mileage, timing or times counting.
Table one is the composite application specific file format:
table-composite application specific file
Table two is the composition of each record in the composite application specific file:
byte(s) | Data element | Length of |
1 | Composite application type identifier | 1 |
2 | Length of recording | 1 |
3 | Application locking identification | 1 |
4-n | Composite application data | n-3 |
Records in a file dedicated to a tabled-two composite application
The length of the 4 th byte in each record is variable and is defined by the card issuer.
The composite application special file is protected by an application maintenance key, and in a non-transaction state, the composite application special file is required to be maintained by using a safety message which is verified by the application maintenance key or generates a Message Authentication Code (MAC) by using the application maintenance key; in the transaction state, the composite application specific file needs to be modified through the composite application transaction flow shown in fig. 1.
Fig. 1 is a schematic diagram of a transaction flow of a conventional composite application. As shown in fig. 1, the method comprises the following steps:
step 11: the Point of sale (POS) machine sends a composite application initialization (CAPP PURCHASE) command to the smart card used by the user to initiate a composite application consumption transaction.
Step 12: the smart card performs a series of checks according to the received INITIALIZE FOR CAPP PURCHASE command, and after the checks pass, generates a pseudo-random key and a process key, which are returned to the POS machine.
Step 13: the POS generates MAC1 from the received pseudo-random key and process key, and sends it to the smart card, carried in an UPDATE composite application (UPDATE CAPP DATA CACHE) command.
Step 14: the smart card performs a series of checks according to the received UPDATE CAPP DATA CACHE command, and if the checks pass, temporarily stores the file identifier, record number, composite application type identifier, data field, etc. carried in the command, and returns a response message to the POS.
Step 15: the POS sends a Compound application rewrite (DEBIT FOR CAPPPURCHASE) command to the smart card.
Step 16: the smart card verifies the validity of the MAC1, the transaction amount is deducted from the payment balance according to the temporary stored information after verification is passed, and the composite application special file is updated.
The specific implementation of the above steps will not be described in detail.
However, the above composite application brings convenience to users, and has certain problems, for example, it cannot satisfy the simultaneous use of one smart card by a plurality of users. For example, a user A takes a subway with a smart card, and performs card swiping operation on an entrance gate when the user A enters the subway, so that the entrance information of the user A is recorded on the smart card, the user A performs card swiping operation on an exit gate when the user A leaves the subway, the gate executes fee deduction operation according to the entrance information recorded on the smart card, and the process has no problem; however, if the user a and the user B take the subway simultaneously by two friends and the user B forgets to take the card, the user a may want to use the smart card of the user a to swipe the card of the user a and the user B simultaneously, but the prior art cannot meet the requirement of the user, so that inconvenience is brought to the user.
Disclosure of Invention
In view of this, the main objective of the present invention is to provide a method for implementing a composite application, which is convenient for users to use.
Another object of the present invention is to provide a system for implementing a composite application, which is convenient for users to use.
It is still another object of the present invention to provide a smart card that can be conveniently used by a user.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method for implementing a composite application includes:
the POS machine of the point of sale confirms that the user carries out the operation of swiping the card entering the charging area, generates a record of entering the charging area and sends the record to the smart card used by the user; the intelligent card writes the received charging area entering record into a charging area entering record set according to a preset rule;
the POS machine determines that a user executes card swiping operation of leaving a charging area, and requests the smart card to enter a charging area record; the intelligent card reads a record entering the toll collection area from the record entering the toll collection area in a centralized manner according to a preset rule and sends the record entering the toll collection area to the POS machine;
and the POS machine completes the transaction according to the received record of entering the charging area.
A system for implementing a composite application, comprising:
the POS machine of the point of sale, is used for when confirming the user carries out the card swiping operation entering the charging area, produce a entry charging area record, send to the intelligent card that users use, when confirming the user carries out the card swiping operation leaving the charging area, request to enter the charging area record to the said intelligent card, and finish this transaction according to entering the charging area record received;
the intelligent card is used for writing the charging area entering record received from the POS machine into a charging area entering record set according to a preset rule, reading a charging area entering record from the charging area entering record set according to the preset rule after receiving a request from the POS machine, and sending the charging area entering record to the POS machine.
A smart card, comprising:
a writing unit for writing the charging area entry records received from the POS machine of the point of sale into a charging area entry record set according to a predetermined rule;
and the reading unit is used for reading a record entering the charging area from the record entering the charging area in a centralized manner according to a preset rule after receiving a request from the POS machine and sending the record to the POS machine.
It can be seen that, by adopting the technical scheme of the invention, a charging area entering record set is arranged in the smart card and is used for storing charging area entering records corresponding to a plurality of users, when each user leaves the charging area, the corresponding charging area entering record is read out according to the preset rule, and the transaction is completed according to the read charging area entering record, so that a plurality of users can use one smart card at the same time, thereby facilitating the use of the users.
Drawings
Fig. 1 is a schematic diagram of a transaction flow of a conventional composite application.
Fig. 2 is a flowchart of a method for implementing a composite application according to an embodiment of the present invention.
FIG. 3 is a diagram illustrating a write/read method for accessing a recording set of a pay zone according to the present invention.
Fig. 4 is a schematic diagram of another writing and reading method for entering into the recording set of the charging area according to the present invention.
FIG. 5 is a flowchart illustrating a method for implementing compound transaction according to a preferred embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a composite transaction implementation system according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of a composition structure of an embodiment of the smart card of the present invention.
Detailed Description
Aiming at the problems in the prior art, the invention provides a composite application implementation scheme, wherein a charging area entering record set is arranged in an intelligent card and is used for storing charging area entering records corresponding to a plurality of users, when each user leaves a charging area, the corresponding charging area entering record is read out according to a preset rule, and the transaction is completed according to the read charging area entering record; therefore, a plurality of users can use one smart card at the same time, and the use of the users is facilitated.
Based on the above description, fig. 2 is a flowchart of an embodiment of a composite application implementation method of the present invention. As shown in fig. 2, the method comprises the following steps:
step 21: the POS machine determines that a user executes a card swiping operation for entering a charging area, generates a record for entering the charging area and sends the record to an intelligent card used by the user; and the intelligent card writes the received charging area entering record into a charging area entering record set according to a preset rule.
How to generate the entry record into the charging area is the prior art and is not described in detail.
Step 22: the POS machine determines that a user executes a card swiping operation of leaving a charging area, and requests an intelligent card to enter a charging area for recording; the intelligent card reads a record entering the charging area from the record entering the charging area according to a preset rule and sends the record to the POS machine.
In step 21, after receiving each entry charging area record, the smart card may write the entry charging area record to the end of the entry charging area record set, so that the entry charging area records in the entry charging area record set are arranged in the sequence of the generation time from the first to the last; correspondingly, In step 22, when the smart card reads the entry charging area records, the entry charging area records that are written into the entry charging area record set First may be read Out In the order of First In First Out (FIFO), that is, the entry charging area records are read from the head of the queue formed by the entry charging area records, as shown In fig. 3, or the entry charging area records that are written into the entry charging area record set Last may be read Out In the order of Last In First Out (LIFO), that is, the entry charging area records are read Out from the tail of the queue, as shown In fig. 4. In addition, in step 21, the smart card may also set different priorities for different entering charging area records, and then write the received entering charging area records into corresponding positions in the entering charging area record set according to the sequence from high priority to low priority; accordingly, in step 22, each read entry into the charging area record has the highest priority.
The above is only an example, and in practical application, the writing and reading modes of the record entering the charging area can be arbitrarily set according to needs. No matter what writing and reading method is adopted, no influence is caused to an operator, taking a subway taken by a user as an example, A, B, C three users are in the sequence of a user A, a user B and a user C when swiping a card when entering a station, and the sequence of the user A, the user B and the user C when leaving the station, but if the last-in first-out reading method is adopted, the transaction amount of the user A is calculated according to the record of the user C entering a consumption area, but no influence is caused to the operator, as long as the three users are all charged correctly finally, the transaction amount of the three users is not changed.
Step 23: and the POS machine completes the transaction according to the received record of entering the charging area.
The specific implementation of this step is prior art and will not be described again.
In addition, in practical application, a situation that a user leaves a toll collection area without swiping a card may occur, for example, when the user gets on a bus last time, the user normally swipes the card, but forgets to swipe the card when getting off the bus, in the scheme of the present invention, when the user performs the card swiping operation of getting on the bus this time, the POS machine may first send a reading record command to the smart card used by the user, receive information returned by the smart card, determine whether the user of the smart card leaves the toll collection area without swiping the card according to the received information, and if so, perform processing according to a default manner, for example, perform a fee deduction operation.
The specific implementation manner of determining whether the user of the smart card leaves the charging area without swiping the card before according to the received information may be: if the received information is a record entering a charging area, and the difference between the generation time of the record entering the charging area and the current time is larger than a preset first threshold value, or the record entering the charging area does not belong to one of the records stored in the charging area, determining that the user of the intelligent card leaves the charging area without swiping the card before; the stored entrance charging area records refer to all the entrance charging area records generated by the POS machine in the period from the specified time to the current time. The specific implementation will be further described by the preferred embodiments.
In addition, the scheme of the present invention can limit the number of people allowed to use a smart card at the same time by limiting the size of the inbound record set. Specifically, the smart card may first determine whether the number of records already existing in the entry charging area record set is greater than or equal to a second predetermined threshold before writing the entry charging area record received from the POS machine into the entry charging area record set, and if so, notify the POS machine that the POS machine will refuse the user to enter the charging area, otherwise, write the received entry charging area record into the entry charging area record set according to a predetermined rule.
The specific values of the thresholds can be determined according to actual needs.
The following takes the user riding the subway as an example to further describe the scheme of the invention in detail:
FIG. 5 is a flowchart of a preferred embodiment of a composite application implementation method of the present invention. In the preferred embodiment, the POS machine is a gate, and the record set of charging area entry refers to a record set of station entry. As shown in fig. 5, the method comprises the following steps:
step 51: the user logs in and swipes the card, and the gate sends a Read Record (Read Record) command to the smart card.
Step 52: and after receiving the command, the intelligent card reads the inbound record from the inbound record set and returns the inbound record to the gate.
Step 53: the gate determines whether the user of the smart card has left the station without swiping the card according to the information returned by the smart card, if so, step 54 is executed, otherwise, step 55 is executed.
In practical application, the information returned to the gate by the smart card may have three situations, namely that the returned information is empty, the non-current inbound record is returned, or the current inbound record is returned.
According to a normal flow, when a user correctly goes out of a station and swipes a card, the smart card deletes the station entering record corresponding to the user from the station entering record set, so that if three users on Monday use one smart card A at the same time, the smart card A correspondingly stores three station entering records, and when all three users correctly go out of the station and swipes the card, the corresponding three station entering records are deleted, so that if the three users use the smart card A at the same time on a certain day, such as Wednesday, the smart card cannot read the station entering record, namely, the information returned to the gate is empty; for the next user who enters the station and swipes the card, the smart card reads the station-entering record generated after the card is swiped by the user who enters the station before the user, namely the current station-entering record; in addition, it is also possible that one of the three users forgets to swipe the card when going out on monday using the smart card a, and on wednesday, the smart card reads an inbound record that is generated but not deleted on monday, that is, a non-current inbound record.
If the information returned by the smart card is empty, it is determined that there is no outbound card swiping condition, and step 55 is executed subsequently, and for the latter two conditions, since both the returned information are an inbound record (the inbound record is returned in the same manner as in step 59), it needs to be distinguished by a certain policy, for example: and if the difference between the generation time of the inbound record returned by the smart card and the current time is greater than a preset first threshold value, or the inbound record returned by the smart card does not belong to one of the inbound records stored in the POS machine, determining that the condition that the user does not swipe the card when going out of the station exists. For example, all the inbound records generated within the last 24 hours for different smart cards are stored in the POS, and the stored information is updated in real time, if the inbound record returned by the smart card does not belong to one of the inbound records stored by the POS, it indicates that the inbound record is generated before 24 hours, and in a normal case, the user cannot stay in the subway for 24 hours all the time, so it can be determined that the inbound record is caused by the fact that the user left the subway when last taking the subway and does not swipe the card.
Of course, the above is only an example, and in practical applications, different policies may be set for each POS machine as long as it can be effectively identified whether there is a situation that the user is out of the station and does not swipe the card.
Step 54: processing is performed in a default manner.
For example, the fee deduction operation is performed, and then the step 55 is continuously performed, or the user is rejected to enter the station, or the step 55 is directly performed by ignoring the release, and the specific implementation manner is not limited.
Step 55: the gate machine and the intelligent card perform composite consumption transaction.
Step 56: and after the composite consumption transaction is executed, the gate generates a station entering record and sends the station entering record to the intelligent card.
And 57: and the smart card writes the received inbound record into an inbound record set according to a preset mode.
The predetermined mode comprises a mode of writing the received inbound record into the tail of the inbound record set, and a mode of writing the received inbound record into a corresponding position in the inbound record set according to different priorities corresponding to different preset inbound records and the sequence of the priorities from high to low.
Step 58: the user is out of the station and swipes the card, and the gate sends a Read Record command to the smart card.
Step 59: after receiving the command, the intelligent card reads out an inbound record from the inbound record set according to a preset mode and returns the inbound record to the gate.
The predetermined mode includes reading the entry charging area record written into the entry charging area record set first, reading the entry charging area record written into the entry charging area record set latest, and reading the entry charging area record with the highest priority.
Step 510: and the gate executes the composite consumption transaction with the intelligent card according to the information returned by the intelligent card.
Step 511: and after the composite consumption transaction is completed, the intelligent card deletes the read inbound record from the inbound record set.
Thus, the flow shown in the preferred embodiment of the method of the present invention is completed.
Based on the above method, fig. 6 is a schematic diagram of a composition structure of an embodiment of the composite application implementation system of the present invention. As shown in fig. 6, includes:
the POS machine 61 is used for generating a charge area entering record when the user is determined to execute the card swiping operation for entering the charge area, sending the charge area entering record to the intelligent card 62 used by the user, requesting the intelligent card 62 to enter the charge area record when the user is determined to execute the card swiping operation for leaving the charge area, and completing the transaction according to the received charge area entering record;
and a smart card 62 for writing the charging area entry record received from the POS machine 61 into the charging area entry record set according to a predetermined rule, and reading one charging area entry record from the charging area entry record set according to the predetermined rule after receiving a request from the POS machine 61, and sending the read charging area entry record to the POS machine 61.
The POS machine 61 may be further configured to send a read record command to the smart card 62, receive information returned by the smart card 62, and if the received information is a record of entering a toll collection area, and a difference between a generation time of the record of entering the toll collection area and a current time is greater than a preset first threshold, or the record of entering the toll collection area does not belong to one of the records of entering the toll collection area that are stored by the POS machine, determine that a user of the smart card 62 has left the toll collection area without swiping the card before, and process the record in a default manner; the stored entrance charging area records refer to all the entrance charging area records generated by the POS machine 61 from the specified time to the current time.
Fig. 7 is a schematic diagram of a composition structure of an embodiment of the smart card of the present invention. As shown in fig. 7, includes:
a writing unit 71 for writing the entry charging area records received from the POS machine into an entry charging area record set according to a predetermined rule;
and a reading unit 72, configured to, after receiving a request from the POS machine, read out one entry charging area record from the entry charging area record set according to a predetermined rule, and send the entry charging area record to the POS machine.
The writing unit 71 may specifically include: a receiving subunit 711, configured to receive a record of entering the charging area from the POS machine; a writing subunit 712, configured to write the received entry charging area record to the end of the entry charging area record set;
the reading unit 72 may specifically include: a reading subunit 721, configured to, after receiving a request from the POS machine, read a charging area entry record that is written into the charging area entry record set first, or read a charging area entry record that is written into the charging area entry record set latest; and a sending subunit 722, configured to send the read entry charging area record to the POS machine.
Or, the receiving subunit 711 is configured to receive a record of entering the charging area from the POS; a writing subunit 712, configured to write the received charging area entry record into a corresponding position in the charging area entry record set according to different priorities corresponding to different preset charging area entry records and according to a sequence from high priority to low priority; a reading subunit 721, configured to read, after receiving a request from the POS machine, a record entering the charging area with the highest priority; and a sending subunit 722, configured to send the read entry charging area record to the POS machine.
In addition, the writing unit 71 shown in fig. 7 may further include: a determining subunit 713, configured to determine, after the receiving subunit 711 receives the entry charging area record from the POS machine, whether the number of already existing entry charging area records in the entry charging area record set is greater than or equal to a preset second threshold, and if so, notify the POS machine, otherwise, notify the writing subunit 712 to execute its own function.
For a specific work flow of the system and apparatus embodiments shown in fig. 6 and 7, please refer to the corresponding description in the method embodiments shown in fig. 2 and 5, which is not described herein again.
In a word, by adopting the technical scheme of the invention, a plurality of users can use one intelligent card at the same time, thereby facilitating the use of the users; moreover, the scheme of the invention can flexibly set the writing and reading modes of the intelligent card; in addition, the scheme of the invention does not need to change any interface between the existing intelligent card and the POS machine and the like, and has good compatibility.
In summary, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (7)
1. A method for implementing a composite application, the method comprising:
the POS machine of the point of sale confirms that the user carries out the operation of swiping the card entering the charging area, generates a record of entering the charging area and sends the record to the smart card used by the user; the intelligent card writes the received charging area entering record into a charging area entering record set according to a preset rule;
the POS machine determines that a user executes card swiping operation of leaving a charging area, and requests the smart card to enter a charging area record; the intelligent card reads a record entering the toll collection area from the record entering the toll collection area in a centralized manner according to a preset rule and sends the record entering the toll collection area to the POS machine;
the POS machine completes the transaction according to the received record of entering the charging area;
wherein, the smart card writes the received charging area entering record into the charging area entering record set according to a preset rule, and the method comprises the following steps: writing the received entry charging area record to the end of the entry charging area record set;
the smart card reads one charging area entry record from the charging area entry record set according to a preset rule, and the method comprises the following steps: reading a charging area entry record which is written into the charging area entry record set firstly, or reading a charging area entry record which is written into the charging area entry record set latest;
or,
the smart card writes the received charging area entering record into the charging area entering record set according to a preset rule, and the method comprises the following steps: writing the received charging area entering records into corresponding positions in the charging area entering record set according to different priorities corresponding to different preset charging area entering records and the sequence of the priorities from high to low;
the smart card reads one charging area entry record from the charging area entry record set according to a preset rule, and the method comprises the following steps: and reading out the entry charging area record with the highest priority.
2. The method of claim 1, wherein prior to generating a record of entry into the pay area, further comprising:
and the POS machine sends a reading record command to the intelligent card, receives information returned by the intelligent card, determines whether the user of the intelligent card leaves a charging area without swiping the card according to the received information, and processes the information according to a default mode if the user of the intelligent card leaves the charging area without swiping the card.
3. The method of claim 2, wherein determining from the received information whether the user of the smart card has left the toll area without swiping the card comprises:
if the received information is a record entering a charging area, and the difference between the generation time of the record entering the charging area and the current time is larger than a preset first threshold value, or the record entering the charging area does not belong to one of the records stored in the charging area, determining that the user of the intelligent card leaves the charging area without swiping the card; the stored entrance charging area records refer to all the entrance charging area records generated by the POS machine in the period from the specified time to the current time.
4. The method of claim 1, wherein before the smart card writes the received entry charging area record into the entry charging area record set according to the predetermined rule, the method further comprises:
and the intelligent card judges whether the number of the records which exist in the charging area record set and enter the charging area is larger than or equal to a preset second threshold value or not, if so, the intelligent card informs the POS machine, the POS machine refuses the user to enter the charging area, and otherwise, the intelligent card writes the received records which enter the charging area into the charging area record set according to a preset rule.
5. A system for implementing a composite application, comprising:
the POS machine of the point of sale, is used for when confirming the user carries out the card swiping operation entering the charging area, produce a entry charging area record, send to the intelligent card that users use, when confirming the user carries out the card swiping operation leaving the charging area, request to enter the charging area record to the said intelligent card, and finish this transaction according to entering the charging area record received;
the intelligent card is used for writing the charging area entering records received from the POS machine into a charging area entering record set according to a preset rule, reading one charging area entering record from the charging area entering record set according to the preset rule after receiving a request from the POS machine, and sending the charging area entering record to the POS machine;
the POS machine is further used for sending a reading record command to the intelligent card and receiving information returned by the intelligent card, if the received information is a record entering a charging area, and the difference between the generation time of the record entering the charging area and the current time is larger than a preset first threshold value, or the record entering the charging area does not belong to one of the records stored in the charging area, determining that the user of the intelligent card leaves the charging area without swiping the card before, and processing the record according to a default mode; the stored entrance charging area records refer to all the entrance charging area records generated by the POS machine in the period from the specified time to the current time.
6. A smart card, comprising:
a writing unit for writing the charging area entry records received from the POS machine of the point of sale into a charging area entry record set according to a predetermined rule;
the reading unit is used for reading a record entering the charging area from the record entering the charging area in a centralized manner according to a preset rule after receiving a request from the POS machine and sending the record to the POS machine;
wherein the writing unit includes:
the receiving subunit is used for receiving the record of entering the charging area from the POS machine;
a writing subunit, configured to write the received entry charging area record to the end of the entry charging area record set;
the reading unit includes:
a reading subunit, configured to, after receiving a request from the POS machine, read a charging area entry record that is written into the charging area entry record set first, or read a charging area entry record that is written into the charging area entry record set latest;
the transmitting subunit is used for transmitting the read charging area entering record to the POS machine;
or,
the write unit includes:
the receiving subunit is used for receiving the record of entering the charging area from the POS machine;
the writing subunit is configured to write the received charging area entry records into corresponding positions in the charging area entry record set according to different priorities corresponding to different preset charging area entry records and in an order from high priority to low priority;
the reading unit includes:
the reading subunit is used for reading a record entering the charging area with the highest priority after receiving the request from the POS machine;
and the sending subunit is used for sending the read charging area entering record to the POS machine.
7. The smart card of claim 6, wherein the write unit further comprises: and the judging subunit is used for judging whether the number of the records of the charging area which exist in the charging area record set is greater than or equal to a preset second threshold value or not after the receiving subunit receives the records of the charging area from the POS machine, if so, the POS machine is informed, and if not, the writing subunit is informed to execute the self function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910241937.7A CN102103774B (en) | 2009-12-16 | 2009-12-16 | Composite application realization method and system, and smart card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910241937.7A CN102103774B (en) | 2009-12-16 | 2009-12-16 | Composite application realization method and system, and smart card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102103774A CN102103774A (en) | 2011-06-22 |
CN102103774B true CN102103774B (en) | 2015-03-11 |
Family
ID=44156514
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910241937.7A Active CN102103774B (en) | 2009-12-16 | 2009-12-16 | Composite application realization method and system, and smart card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102103774B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103514465A (en) * | 2012-06-15 | 2014-01-15 | 深圳富泰宏精密工业有限公司 | Intelligent card |
CN103208151B (en) * | 2013-04-03 | 2016-08-03 | 天地融科技股份有限公司 | Process the method and system of operation requests |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1825359A (en) * | 2006-04-06 | 2006-08-30 | 刘秋元 | Prepayment, giving change IC card read-write device, smart card subsystem and paying method |
CN101051280A (en) * | 2006-04-03 | 2007-10-10 | 北京握奇数据***有限公司 | Intelligent card embedded operation system and its control method |
CN101609572A (en) * | 2009-04-23 | 2009-12-23 | 王辉 | Fuel-burning power plant vehicle entry and exit factory unmanned system and method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050222961A1 (en) * | 2004-04-05 | 2005-10-06 | Philippe Staib | System and method of facilitating contactless payment transactions across different payment systems using a common mobile device acting as a stored value device |
-
2009
- 2009-12-16 CN CN200910241937.7A patent/CN102103774B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051280A (en) * | 2006-04-03 | 2007-10-10 | 北京握奇数据***有限公司 | Intelligent card embedded operation system and its control method |
CN1825359A (en) * | 2006-04-06 | 2006-08-30 | 刘秋元 | Prepayment, giving change IC card read-write device, smart card subsystem and paying method |
CN101609572A (en) * | 2009-04-23 | 2009-12-23 | 王辉 | Fuel-burning power plant vehicle entry and exit factory unmanned system and method |
Non-Patent Citations (1)
Title |
---|
非接触IC卡在公交自动收费***中的应用;娄琰琰等;《沈阳工业大学学报》;20021031;第24卷(第5期);443-446 * |
Also Published As
Publication number | Publication date |
---|---|
CN102103774A (en) | 2011-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8224731B2 (en) | Form factor identification | |
CN103794000A (en) | Method for processing in case of non-contact IC card data reading failure and device for implementing method | |
JP2018530049A (en) | Card continuation system and method | |
WO2006006146A2 (en) | System and method for verifying payment | |
US20230169504A1 (en) | Vehicle toll transponder for enabling multiple transaction cards and securely providing transaction card details | |
CN106096954B (en) | Non-networking data processing device, non-networking data interaction system and method | |
JP2007079643A (en) | Electronic money settlement system and electronic money information storage medium | |
CN102103774B (en) | Composite application realization method and system, and smart card | |
US20110147449A1 (en) | Processing method for electronic expense certification | |
CN102521746B (en) | Safely-consuming smart card and method thereof | |
TWI536290B (en) | Management devices, management methods, and programs | |
KR100470731B1 (en) | An Integrated Payment System and its Method of Toll and Parking Fee using various Contactless IC cards for Electronic Money | |
EP1918867A2 (en) | Electronic purchasing of tickets | |
KR101123627B1 (en) | A system for accumulating the changes and the method of providing the change accumulation service | |
KR100471942B1 (en) | Complex type card and card information registration control system | |
CN108022098A (en) | A kind of method of commerce, traction equipment and computer-readable recording medium | |
KR20100003264A (en) | Terminal for transport means | |
JP2007310910A (en) | System for converting mileage point/electronic money value and method for accumulating mileage points | |
JP2686331B2 (en) | IC card for toll road related facilities | |
JP2003157344A (en) | Attendance/leaving management device with electronic money function | |
KR101326662B1 (en) | System and method for card control used information modification file | |
KR20060003716A (en) | Card defective system using integrated card | |
KR20020024096A (en) | System and Method for transaction function using electronic purse | |
KR20090133104A (en) | Program recording medium for utilizing transport means | |
KR20100003263A (en) | Card for transport means |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |