Movatterモバイル変換


[0]ホーム

URL:


CN102103774A - Composite application realization method and system, and smart card - Google Patents

Composite application realization method and system, and smart card
Download PDF

Info

Publication number
CN102103774A
CN102103774ACN2009102419377ACN200910241937ACN102103774ACN 102103774 ACN102103774 ACN 102103774ACN 2009102419377 ACN2009102419377 ACN 2009102419377ACN 200910241937 ACN200910241937 ACN 200910241937ACN 102103774 ACN102103774 ACN 102103774A
Authority
CN
China
Prior art keywords
record
toll area
entering
smart card
toll
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2009102419377A
Other languages
Chinese (zh)
Other versions
CN102103774B (en
Inventor
乐祖晖
李琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co LtdfiledCriticalChina Mobile Communications Group Co Ltd
Priority to CN200910241937.7ApriorityCriticalpatent/CN102103774B/en
Publication of CN102103774ApublicationCriticalpatent/CN102103774A/en
Application grantedgrantedCritical
Publication of CN102103774BpublicationCriticalpatent/CN102103774B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明公开了一种复合应用的实现方法和系统,包括:销售点(POS)机确定用户执行进入收费区的刷卡操作,生成一条进入收费区记录,发送给用户使用的智能卡;智能卡将接收到的进入收费区记录按预定规则写入到进入收费区记录集中;POS机确定用户执行离开收费区的刷卡操作,向智能卡请求进入收费区记录;智能卡按预定规则,从进入收费区记录集中读取出一条进入收费区记录,发送给POS机;POS机根据接收到的进入收费区记录完成本次交易。本发明同时公开了一种智能卡。应用本发明所述的技术方案,能够实现多个用户同时使用一张智能卡,从而方便了用户的使用。

Figure 200910241937

The invention discloses a compound application realization method and system, comprising: a point of sale (POS) machine determines that a user performs a card swiping operation to enter a toll area, generates a record of entering a toll area, and sends it to a smart card used by the user; the smart card will receive The record of entering the toll area is written into the record of entering the toll area according to the predetermined rules; the POS machine determines that the user performs the operation of swiping the card to leave the toll area, and requests the record of entering the toll area from the smart card; the smart card is read from the record of entering the toll area according to the predetermined rules Generate a record of entering the toll area and send it to the POS machine; the POS machine completes the transaction according to the received record of entering the toll area. The invention also discloses a smart card. By applying the technical proposal of the present invention, multiple users can use one smart card at the same time, thereby facilitating the use of the users.

Figure 200910241937

Description

A kind of implementation method of Application of composite and system and a kind of smart card
Technical field
The present invention relates to data processing technique, particularly a kind of implementation method of Application of composite and system and a kind of smart card.
Background technology
Electronic wallet application is a kind ofly to use for financial integrated circuit (IC, the Integrate Circuit) card that makes things convenient for the on-the-spot small amount consumption of holder design, and various functions such as support is strivied for survival, inquiry into balance and transaction detail query.
Described financial IC card typically refers to contact or contact type intelligent card, comprise the subscriber identification card (SIM that is applied in the mobile phone, Subscriber Identity Module) or global subscriber identification card (USIM, Universal Subscriber Identity Module) etc.The holder can deposit certain amount of money (being placed in the on-the-spot off line payment account of smart card) in advance in smart card, when carrying out consumer sale, directly off line is deducted corresponding dealing money and got final product from the account at every turn.
Application of composite is on the basis of electronic wallet application, a kind of new application model of introducing according to the characteristics of part sector application.Different with the dealing money that the each deduction of electronic wallet application is fixing, multiplexing application has increased the ability that writes down non-finance data, and data write with consumer sale and finish simultaneously, and non-finance data is mainly used in the basis as dealing money.Such as, when the user took subway, the information that enters the station of recording user was as the website that enters the station, when the user sets off, according to the website that enters the station of record, in conjunction with the set off difference of website of active user, the different dealing money of deduction from user account.Application of composite mainly is applicable to and has the records of distance by the log, the financial consumption field of timing or metering.
Table one is an Application of composite private file form:
Figure G2009102419377D00011
Figure G2009102419377D00021
Table one Application of composite private file
Table two is the formation situation of every record in the Application of composite private file:
ByteData elementLength
1The Application ofcomposite type identifier 1
2Record length 1
3The application lock calibration is known 1
4-nThe Application of composite data n-3
Record in the table two Application of composite private file
The variable-length of the 4th byte in every record is defined voluntarily by the card issuer.
The Application of composite private file is subjected to the applicating maintenance cryptographic key protection, under nontransaction state, need to use process applicating maintenance key authentication or utilize the applicating maintenance key to generate Message Authentication Code (MAC, MessageAuthentication Code) safe packet is safeguarded the private file of Application of composite; Under stateful transaction, need to come the Application of composite private file is made amendment by Application of composite transaction flow shown in Figure 1.
Fig. 1 is existing Application of composite transaction flow synoptic diagram.As shown in Figure 1, may further comprise the steps:
Step 11: the smart card that point of sale (POS, Point of sales) machine uses to the user sends Application of composite initialization (INITIALIZE FOR CAPP PURCHASE) order, starts the Application of composite consumer sale.
Step 12: smart card carries out a series of inspection according to the INITIALIZE FOR CAPP PURCHASE order that receives, and after inspection is passed through, generates a pseudo-random key and a process key, returns to the POS machine.
Step 13:POS machine generates MAC1 according to the pseudo-random key that receives and process key, and is carried to upgrade in Application of composite (the UPDATE CAPP DATA CACHE) order and sends to smart card.
Step 14: smart card is according to a series of inspection of UPDATE CAPP DATA CACHE order carrying out that receives, pass through if check, then keep in file identification, recording mechanism, Application of composite type identifier and the data field etc. that carry in the order, and return response message to POS.
Step 15:POS machine sends Application of composite to smart card and rewrites (DEBIT FOR CAPPPURCHASE) order.
Step 16: the validity of smart card checking MAC1, checking is passed through, according to temporary information, this dealing money of deduction from payment of balance, and upgrade Application of composite private file etc.
The specific implementation of above steps does not describe in detail.
But also there is certain problem in above-mentioned Application of composite when bringing advantage to the user, such as, use when can't satisfy a plurality of users a sheet smart card.For instance, user A holds smart card and takes subway, on the gate of inlet, carried out the operation of swiping the card when entering the station, like this, to record the information that enters the station of user A on the smart card, during departures, user A has carried out the operation of swiping the card on the gate of outlet, gate will be according to the information and executing that enters the station that writes down on the smart card operation of deducting fees, and this process is no problem; If but two good friends of user A and user B take subway simultaneously, and user B leaves behind card, user A may wish to utilize the smart card of oneself to come to swipe the card with user B for own simultaneously so, but prior art also can't satisfy this demand of user, thereby has brought inconvenience for user's use.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of implementation method of Application of composite, can be user-friendly.
Another object of the present invention is to provide a kind of realization system of Application of composite, can be user-friendly.
Another purpose of the present invention is to provide a kind of smart card, can be user-friendly.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of implementation method of Application of composite comprises:
Point of sale POS machine determines that the user carries out the operation of swiping the card that enters the toll zone, generates one and enters the toll zone record, sends to the smart card that the user uses; Described smart card will receive enters the toll zone record and is written to by pre-defined rule and enters in the record set of toll zone;
Described POS machine determines that the user carries out the operation of swiping the card of leaving the toll zone, and enters the toll zone record to described smart card request; Described smart card is pressed pre-defined rule, reads out one the record set of toll zone and enters the toll zone record from described entering, and sends to described POS machine;
Described POS machine is finished this transaction according to the toll zone record that enters that receives.
A kind of realization system of Application of composite comprises:
Point of sale POS machine, be used for entering the swiping the card during operation of toll zone when determining that the user carries out, generate one and enter the toll zone record, send to the smart card that the user uses, leave the swiping the card during operation of toll zone when determining that the user carries out, enter the toll zone record to described smart card request, and finish this transaction according to the toll zone record that enters that receives;
Described smart card, the toll zone record that enters that is used for being received from the POS machine is written to by pre-defined rule and enters the toll zone record set, and after the request that receives from described POS machine, press pre-defined rule, read out one the record set of toll zone and enter the toll zone record from described entering, send to described POS machine.
A kind of smart card comprises:
Writing unit, the toll zone record of entering that is used for being received from point of sale POS machine is written to by pre-defined rule and enters the toll zone record set;
Reading unit is used for pressing pre-defined rule after the request that receives from described POS machine, reads out one the record set of toll zone and enters the toll zone record from described entering, and sends to described POS machine.
As seen, adopt technical scheme of the present invention, in smart card, be provided with and enter the toll zone record set, what be used to preserve a plurality of user's correspondences enters the toll zone record, when each user leaves the toll zone, reads out the corresponding toll zone record that enters according to pre-defined rule, and finish this transaction according to the toll zone record of entering that reads out, like this, can realize that a plurality of users use a sheet smart card simultaneously, thus convenient for users to use.
Description of drawings
Fig. 1 is existing Application of composite transaction flow synoptic diagram.
Fig. 2 is the process flow diagram of Application of composite implementation method embodiment of the present invention.
Fig. 3 reads the mode synoptic diagram for a kind of the writing that the present invention enters the toll zone record set.
The another kind that Fig. 4 enters the toll zone record set for the present invention writes and reads the mode synoptic diagram.
Fig. 5 is the process flow diagram of multiple exchange implementation method of the present invention preferred embodiment.
Fig. 6 realizes the composition structural representation of system embodiment for multiple exchange of the present invention.
Fig. 7 is the composition structural representation of smart card embodiment of the present invention.
Embodiment
At problems of the prior art, a kind of Application of composite implementation is proposed among the present invention, in smart card, be provided with and enter the toll zone record set, what be used to preserve a plurality of user's correspondences enters the toll zone record, when each user leaves the toll zone, read out the corresponding toll zone record that enters according to pre-defined rule, and finish this transaction according to the toll zone record that enters that reads out; Like this, can realize that a plurality of users use a sheet smart card simultaneously, thus convenient for users to use.
Based on above-mentioned introduction, Fig. 2 is the process flow diagram of Application of composite implementation method embodiment of the present invention.As shown in Figure 2, may further comprise the steps:
Step 21:POS machine determines that the user carries out the operation of swiping the card that enters the toll zone, generates one and enters the toll zone record, sends to the smart card that the user uses; Smart card will receive enters the toll zone record and is written to by pre-defined rule and enters in the record set of toll zone.
How to generate and enter the toll zone and be recorded as prior art, repeat no more.
Step 22:POS machine determines that the user carries out the operation of swiping the card of leaving the toll zone, and enters the toll zone record to the smart card request; Smart card is pressed pre-defined rule, reads out one and enter the toll zone record from enter the toll zone record set, sends to the POS machine.
In thestep 21, smart card whenever receive one enter toll zone record after, can be written into the end that enters the toll zone record set, like this, the toll zone that respectively enters that enters in the record set of toll zone is write down and will be arranged by the order after arriving first according to the rise time; Correspondingly, in thestep 22, smart card reads when entering the toll zone record, can be by first in first out (FIFO, First In First Out) order, read out being written to the toll zone record that enters that enters in the record set of toll zone at first, promptly read and enter the toll zone record from the team's head that respectively enters the formation that toll zone record formed, as shown in Figure 3, perhaps, also can be by last in, first out (LIFO, Last In First Out) order, the up-to-date toll zone record of entering that enters in the record set of toll zone that is written to is read out, promptly read out and enter the toll zone record, as shown in Figure 4 from the tail of the queue of formation.In addition, in thestep 21, smart card can also then according to priority order from high to low, be written to the relevant position that enters in the record set of toll zone with the toll zone record that enters that receives for the different different priority of toll zone recording setting that enter; Correspondingly, instep 22, read out at every turn be priority the highest enter the toll zone record.
Above-mentioned only for illustrating, in actual applications, can be provided with arbitrarily as required enter toll zone record write and read mode.Which kind of no matter adopts write and read mode, all be not influence concerning operator, taking subway with the user is example, three user A, B, C, enter the station when swiping the card according to user A, user B, the order of user C, during departures, still according to user A, user B, the order of user C, if but adopt the above-mentioned mode that reads that last in, first out, when calculating the dealing money of user A, what be based on user C enters the consumption area record, but not influence for operator, as long as finally three usefulness have correctly been charged per family, because three users' dealing money sum can not become.
Step 23:POS machine is finished this transaction according to the toll zone record that enters that receives.
The specific implementation of this step is a prior art, repeats no more.
In addition, in actual applications, the user might occur does not swipe the card and promptly leaves the situation of toll zone, when taking bus the last time such as the user, normally swipe the card when getting on the bus, but forget when getting off and swipe the card, in the scheme so of the present invention, carry out this user and get on the bus and swipe the card when operation, the POS machine can be before generation enters the toll zone record, at first the smart card that uses to the user sends the reading and recording order, and receive the information that smart card returns, whether exist not swipe the card according to the definite user of this smart card before of the information that receives and promptly leave the situation of toll zone, if, then handle according to the acquiescence mode, such as execution deduct fees the operation etc.
Wherein, whether the user of this smart card exists the specific implementation of the situation of promptly leaving the toll zone of not swiping the card to be before determining according to the information that receives: if the information that receives is for entering the toll zone record, and this difference that enters rise time of toll zone record and current time is greater than predefined first threshold, perhaps, this enters toll zone record and does not belong in the record of toll zone one of entering who self has preserved, and the user of this smart card exists not swipe the card and promptly leaves the situation of toll zone before then determining; Described preserved enter that toll zone record is meant from the fixed time to the current time this section the POS machine is generated in the period all enter the toll zone record.The specific implementation back can be described further by preferred embodiment.
In addition, in the scheme of the present invention, also can limit the number that allows to use simultaneously a sheet smart card by the enter the station size of record set of restriction.Specifically, smart card can will be received from the POS machine enter toll zone record be written to enter in the record set of toll zone before, judge that at first whether enter the toll zone that enters that has existed in the record set of toll zone writes down number more than or equal to predefined second threshold value, if, then notify the POS machine, the POS machine enters the toll zone with refusing user's, otherwise, the toll zone record of entering that receives is written to by pre-defined rule and enters in the record set of toll zone.
The concrete value of above-mentioned each threshold value can be decided according to the actual requirements.
Taking subway with the user below is example, and scheme of the present invention is described in further detail:
Fig. 5 is the process flow diagram of Application of composite implementation method of the present invention preferred embodiment.Specific in this preferred embodiment, described POS machine refers to gate, described record set fingering station, the toll zone record set that enters.As shown in Figure 5, may further comprise the steps:
Step 51: the user is entered the station and is swiped the card, and gate sends reading and recording (Read Record) order to smart card.
Step 52: after smart card receives order, from the record set that enters the station, read the record that enters the station, and return to gate.
Step 53: whether the user of this smart card existed the i.e. situation of departures of not swiping the card before the information that gate returns according to smart card was determined, if then execution instep 54, otherwise, execution instep 55.
In actual applications, three kinds of situations may appear in the information that smart card returns to gate, the information of promptly returning for empty, return non-this record that enters the station, or return this record that enters the station.
Because according to normal flow, after the correct departures of user are swiped the card, smart card can be from the record set that enters the station with the record deletion that enters the station of this user's correspondence, so suppose that Monday, three users used a sheet smart card A simultaneously, smart card A goes up correspondence is preserved three records that enter the station so, when these three usefulness per family correctly departures swipe the card after, three corresponding records that enter the station will be all deleted, like this, if some day subsequently, as Wednesday, these three users have used smart card A again simultaneously, so when first user enter the station swipe the card after, smart card will read less than the record that enters the station, the information that promptly returns to gate is for empty; And the user of entering the station and swiping the card for the next one, what smart card read will be the record that enters the station that generates behind the user card punching that enters the station before this user, i.e. this record that enters the station; In addition, also might be that some among these three users forgotten during departures when using smart card A Monday and swiped the card, so in this day on Wednesday, smart card reads just may be the generation of this day on Monday but the also not deleted record that enters the station, promptly non-this record that enters the station.
If the information that smart card returns is for empty, then think the situation that does not exist departures not swipe the card, follow-up execution in step 55 gets final product, for back two kinds of situations, since return be the record that enters the station (mode that returning enters the station writes down can with subsequent step 59 in identical), so also need to distinguish by certain strategy, such as: if the difference of the rise time of the record that enters the station that smart card returns and current time is greater than predefined first threshold, perhaps, smart card returns, and the record that enters the station does not belong in the record of having preserved in the POS machine that enters the station one, the situation of then determining to exist the user to set off and not swiping the card.For instance, preserve all records that enter the station that generate within nearest 24 hours in the POS machine at the different intelligent card, and the information of preserving carried out real-time update, if the record that enters the station that smart card returns does not belong to one in the record of self preserving that enters the station, illustrate that then this record that enters the station generated before 24 hours, and under the normal condition, the user can not stay in the subway in 24 hours always, thus can determine this be because the user takes subway the last time time departures do not swipe the card cause.
Certainly, above-mentioned only for illustrating, in actual applications, can be each POS machine different strategies is set, as long as can effectively identify the situation that whether exists the user to set off and do not swipe the card.
Step 54: handle by the acquiescence mode.
Such as, carry out the operation of deducting fees, continue execution instep 55 then, or refusing user's enters the station, or ignore clearance, direct execution instep 55 etc., specific implementation is not limit.
Step 55: gate and smart card carry out compound consumer sale.
Step 56: after compound consumer sale was finished, gate generated the record that enters the station, and sends to smart card.
Step 57: smart card is written to the record that enters the station that receives in the record set that enters the station according to predetermined way.
Described predetermined way comprises the mode that the record that enters the station that receives is written to the end of the record set that enters the station, and according to the difference that the sets in advance corresponding different priorities of record that enters the station, according to priority order from high to low, the record that enters the station that receives is written to modes such as relevant position in the record set that enters the station.
Step 58: user's departures are swiped the card, and gate sends Read Record order to smart card.
Step 59: after smart card receives order, press predetermined way, from the record set that enters the station, read out the record that enters the station, and return to gate.
Described predetermined way comprise read out be written at first enter in the record set of toll zone enter toll zone record, read out up-to-date be written to enter enter the toll zone record in the record set of toll zone, and read out the highest mode such as toll zone record that enters of priority.
Step 510: the information that gate returns according to smart card, carry out compound consumer sale with smart card.
Step 511: after compound consumer sale was finished, the record that enters the station that smart card will read out was deleted from the record set that enters the station.
So far, promptly finished flow process shown in the inventive method preferred embodiment.
Based on said method, Fig. 6 realizes the composition structural representation of system embodiment for Application of composite of the present invention.As shown in Figure 6, comprising:
POS machine 61, be used for entering the swiping the card during operation of toll zone when determining that the user carries out, generate one and enter the toll zone record, send to thesmart card 62 that the user uses, leave the swiping the card during operation of toll zone when determining that the user carries out, enter the toll zone record tosmart card 62 requests, and finish this transaction according to the toll zone record that enters that receives;
Smart card 62, the toll zone record that enters that is used for being received fromPOS machine 61 is written to by pre-defined rule and enters the toll zone record set, and after the request that receives fromPOS machine 61, press pre-defined rule, from enter the toll zone record set, read out one and enter the toll zone record, send toPOS machine 61.
POS machine 61 can be further used for, send the reading and recording order tosmart card 62, and receive the information thatsmart card 62 returns, if the information that receives is for entering the toll zone record, and this difference that enters rise time of toll zone record and current time is greater than predefined first threshold, perhaps, this enters toll zone record and does not belong in the record of toll zone one of entering who self has preserved, user's existence ofsmart card 62 is not swiped the card and is promptly left the situation of toll zone before then determining, handles according to the acquiescence mode; Described preserved enter that toll zone record is meant from the fixed time to the current time thissection POS machine 61 is generated in the period all enter the toll zone record.
Fig. 7 is the composition structural representation of smart card embodiment of the present invention.As shown in Figure 7, comprising:
Writing unit 71, the toll zone record of entering that is used for being received from the POS machine is written to by pre-defined rule and enters the toll zone record set;
Readingunit 72 is used for pressing pre-defined rule after the request that receives from the POS machine, reads out one and enter the toll zone record from enter the toll zone record set, sends to the POS machine.
Wherein, can specifically comprise in the writing unit 71: receivesubelement 711, be used to receive and enter the toll zone record from the POS machine; Writesubelement 712, the toll zone record that enters that is used for receiving is written to the end that enters the toll zone record set;
Can specifically comprise in the reading unit 72: read subelement 721, be used for after the request that receives from the POS machine, read out and be written to of entering in the record set of toll zone at first and enter the toll zone record, or read out and up-to-dately be written to of entering in the record set of toll zone and enter the toll zone record; Sendsubelement 722, the toll zone record that enters that is used for reading out sends to the POS machine.
Perhaps, receivesubelement 711, be used to receive and enter the toll zone record from the POS machine; Writesubelement 712, be used for entering the corresponding different priorities of toll zone record,, the toll zone record that enters that receives is written to the relevant position that enters in the record set of toll zone according to priority order from high to low according to the difference that sets in advance; Readsubelement 721, be used for after the request that receives from the POS machine, read out the highest one of priority and enter the toll zone record; Sendsubelement 722, the toll zone record that enters that is used for reading out sends to the POS machine.
In addition, also can further comprise in thewriting unit 71 shown in Figure 7:judgment sub-unit 713, be used for when receivesubelement 711 receive from the POS machine enter the toll zone record after, judge that whether enter the toll zone that enters that has existed in the record set of toll zone writes down number more than or equal to predefined second threshold value, if, then notify the POS machine, otherwise notice writessubelement 712 and carries out self function.
The concrete workflow of system shown in Fig. 6 and 7 and device embodiment please refer to the respective description among the method embodiment shown in Fig. 2 and 5, repeats no more herein.
In a word, adopt technical scheme of the present invention, can realize that a plurality of users use a sheet smart card simultaneously, thus convenient for users; And what scheme of the present invention can be provided with smart card flexibly writes and reads mode; Have, scheme of the present invention need not the interface between existing smart card and the POS machine etc. is made any change, and has good compatibility again.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

Translated fromChinese
1.一种复合应用的实现方法,其特征在于,该方法包括:1. A method for implementing a composite application, characterized in that the method comprises:销售点POS机确定用户执行进入收费区的刷卡操作,生成一条进入收费区记录,发送给用户使用的智能卡;所述智能卡将接收到的进入收费区记录按预定规则写入到进入收费区记录集中;The point-of-sale POS machine determines that the user performs the card swiping operation of entering the toll area, generates a record of entering the toll area, and sends it to the smart card used by the user; the smart card writes the received record of entering the toll area into the record of entering the toll area according to predetermined rules ;所述POS机确定用户执行离开收费区的刷卡操作,向所述智能卡请求进入收费区记录;所述智能卡按预定规则,从所述进入收费区记录集中读取出一条进入收费区记录,发送给所述POS机;The POS machine determines that the user performs a card swiping operation to leave the toll area, and requests the record of entering the toll area from the smart card; the smart card reads a record of entering the toll area from the record set of entry to the toll area according to predetermined rules, and sends it to The POS machine;所述POS机根据接收到的进入收费区记录完成本次交易。The POS machine completes the transaction according to the received record of entering the toll area.2.根据权利要求1所述的方法,其特征在于,2. The method of claim 1, wherein,所述智能卡将接收到的进入收费区记录按预定规则写入到进入收费区记录集中包括:将接收到的进入收费区记录写入到所述进入收费区记录集的末尾;The smart card writing the received record of entering the toll area into the record set of entering the toll area according to predetermined rules includes: writing the received record of entering the toll area into the end of the record set of entering the toll area;所述智能卡按预定规则,从所述进入收费区记录集中读取出一条进入收费区记录包括:读取出最先写入到所述进入收费区记录集中的一条进入收费区记录,或者,读取出最新写入到所述进入收费区记录集中的一条进入收费区记录。According to the predetermined rule, the smart card reads a record of entering the toll area from the record set of entering the toll area, which includes: reading a record of entering the toll area first written into the record set of entering the toll area, or reading An entry to the toll area record newly written in the entry to toll area record set is taken out.3.根据权利要求1所述的方法,其特征在于,3. The method of claim 1, wherein,所述智能卡将接收到的进入收费区记录按预定规则写入到进入收费区记录集中包括:根据预先设置的不同进入收费区记录对应的不同优先级,按照优先级由高到低的顺序,将接收到的进入收费区记录写入到所述进入收费区记录集中的相应位置;The smart card writes the received entry into the toll area record into the entry to toll area record set according to predetermined rules, including: according to the different priorities corresponding to the preset different entry to the toll area records, according to the order of priority from high to low, write The received entry toll area record is written into the corresponding position in the entry toll area record set;所述智能卡按预定规则,从所述进入收费区记录集中读取出一条进入收费区记录包括:读取出优先级最高的一条进入收费区记录。According to the predetermined rule, the smart card reads a record of entering the toll area from the set of records of entering the toll area, including: reading a record of entering the toll area with the highest priority.4.根据权利要求1、2或3所述的方法,其特征在于,所述生成一条进入收费区记录之前,进一步包括:4. The method according to claim 1, 2 or 3, characterized in that, before generating a record for entering the charging area, further comprising:所述POS机向所述智能卡发送读取记录命令,并接收所述智能卡返回的信息,根据接收到的信息确定之前所述智能卡的使用者是否存在未刷卡即离开收费区的情况,如果是,则按照默认方式进行处理。The POS machine sends a read record command to the smart card, and receives the information returned by the smart card, and determines according to the received information whether the user of the smart card left the charging area without swiping the card, and if so, are processed by default.5.根据权利要求4所述的方法,其特征在于,所述根据接收到的信息确定之前所述智能卡的使用者是否存在未刷卡即离开收费区的情况包括:5. The method according to claim 4, wherein the determining according to the received information whether the user of the smart card leaves the toll area without swiping the card comprises:如果接收到的信息为进入收费区记录,且该进入收费区记录的生成时间与当前时间之差大于预先设定的第一阈值,或者,该进入收费区记录不属于自身已保存的进入收费区记录中的一条,则确定之前所述智能卡的使用者存在未刷卡即离开收费区的情况;所述已保存的进入收费区记录是指从指定时间到当前时间这一段时间内POS机所生成的所有进入收费区记录。If the received information is a record of entering the toll area, and the difference between the generation time of the record of entering the toll area and the current time is greater than the first preset threshold, or the record of entering the toll area does not belong to the record of entering the toll area that has been saved by itself One of the records, it is determined that the user of the smart card has left the toll area without swiping the card; the saved record of entering the toll area refers to the POS machine generated from the specified time to the current time. All entry to the toll zone is recorded.6.根据权利要求1、2或3所述的方法,其特征在于,所述智能卡将接收到的进入收费区记录按预定规则写入到进入收费区记录集中之前,进一步包括:6. The method according to claim 1, 2 or 3, wherein the smart card further comprises:所述智能卡判断所述进入收费区记录集中已经存在的进入收费区记录数是否大于或等于预先设定的第二阈值,如果是,则通知所述POS机,所述POS机拒绝用户进入收费区,否则,将接收到的进入收费区记录按预定规则写入到所述进入收费区记录集中。The smart card judges whether the number of records of entering the toll area in the record set of entering the toll area is greater than or equal to a preset second threshold, and if so, notifies the POS machine, and the POS machine refuses the user to enter the toll area , otherwise, write the received record of entering the toll area into the record set of entering the toll area according to predetermined rules.7.一种复合应用的实现系统,其特征在于,包括:7. An implementation system of a composite application, characterized in that it comprises:销售点POS机,用于当确定用户执行进入收费区的刷卡操作时,生成一条进入收费区记录,发送给用户使用的智能卡,当确定用户执行离开收费区的刷卡操作时,向所述智能卡请求进入收费区记录,并根据接收到的进入收费区记录完成本次交易;The point-of-sale POS machine is used to generate a record of entering the toll area when it is determined that the user performs a card swiping operation to enter the toll area, and send it to the smart card used by the user. When it is determined that the user performs a card swiping operation to leave the toll area, request Enter the toll area record, and complete the transaction according to the received entry to the toll area record;所述智能卡,用于将接收自POS机的进入收费区记录按预定规则写入到进入收费区记录集中,并在当接收到来自所述POS机的请求后,按预定规则,从所述进入收费区记录集中读取出一条进入收费区记录,发送给所述POS机。The smart card is used to write the record of entering the toll area received from the POS machine into the record set of entering the toll area according to predetermined rules, and after receiving the request from the POS machine, according to the predetermined rules, from the entry to the toll area A record of entering the toll area is read from the collection of toll area records and sent to the POS machine.8.根据权利要求7所述的系统,其特征在于,所述POS机进一步用于,向所述智能卡发送读取记录命令,并接收所述智能卡返回的信息,如果接收到的信息为进入收费区记录,且该进入收费区记录的生成时间与当前时间之差大于预先设定的第一阈值,或者,该进入收费区记录不属于自身已保存的进入收费区记录中的一条,则确定之前所述智能卡的使用者存在未刷卡即离开收费区的情况,按照默认方式进行处理;所述已保存的进入收费区记录是指从指定时间到当前时间这一段时间内POS机所生成的所有进入收费区记录。8. The system according to claim 7, wherein the POS machine is further used to send a read record command to the smart card, and receive the information returned by the smart card, if the received information is to enter the charging area record, and the difference between the generation time of the record entering the toll area and the current time is greater than the first preset threshold value, or the record of entering the toll area does not belong to one of the records of entering the toll area that it has saved, then determine before If the user of the smart card leaves the toll area without swiping the card, it will be processed in a default manner; the saved entry to the toll area record refers to all the entries generated by the POS machine from the specified time to the current time. Toll zone records.9.一种智能卡,其特征在于,包括:9. A smart card, characterized in that, comprising:写入单元,用于将接收自销售点POS机的进入收费区记录按预定规则写入到进入收费区记录集中;The writing unit is used to write the record of entering the toll area received from the point-of-sale POS machine into the record set of entering the toll area according to predetermined rules;读取单元,用于在接收到来自所述POS机的请求后,按预定规则,从所述进入收费区记录集中读取出一条进入收费区记录,发送给所述POS机。The reading unit is configured to, after receiving the request from the POS machine, read a record of entering the toll area from the record set of entering the toll area according to a predetermined rule, and send it to the POS machine.10.根据权利要求9所述的智能卡,其特征在于,10. The smart card according to claim 9, characterized in that,所述写入单元包括:The writing unit includes:接收子单元,用于接收来自所述POS机的进入收费区记录;The receiving subunit is used to receive the record of entering the toll area from the POS machine;写入子单元,用于将接收到的进入收费区记录写入到所述进入收费区记录集的末尾;A write subunit is used to write the received entry into the toll area record to the end of the entry into the toll area record set;所述读取单元包括:The reading unit includes:读取子单元,用于在接收到来自所述POS机的请求后,读取出最先写入到所述进入收费区记录集中的一条进入收费区记录,或读取出最新写入到所述进入收费区记录集中的一条进入收费区记录;Read subunit, for after receiving the request from the POS machine, read out the entry into the toll area record that is first written into the entry toll area record set, or read the latest entry into the toll area record set One record of entering the toll area in the record set of entry to the toll area;发送子单元,用于将读取出的进入收费区记录发送给所述POS机。The sending subunit is used to send the read record of entering the toll area to the POS machine.11.根据权利要求9所述的智能卡,其特征在于,11. The smart card of claim 9, wherein:所述写入单元包括:The writing unit includes:接收子单元,用于接收来自所述POS机的进入收费区记录;The receiving subunit is used to receive the record of entering the toll area from the POS machine;写入子单元,用于根据预先设置的不同进入收费区记录对应的不同优先级,按照优先级由高到低的顺序,将接收到的进入收费区记录写入到所述进入收费区记录集中的相应位置;The writing subunit is used to write the received entry to the toll area record into the entry to toll area record set according to the different priorities corresponding to the pre-set different entry to toll area records in order of priority from high to low corresponding position of所述读取单元包括:The reading unit includes:读取子单元,用于在接收到来自所述POS机的请求后,读取出优先级最高的一条进入收费区记录;The reading subunit is used to read a record of entering the toll area with the highest priority after receiving the request from the POS machine;发送子单元,用于将读取出的进入收费区记录发送给所述POS机。The sending subunit is used to send the read record of entering the toll area to the POS machine.12.根据权利要求10或11所述的智能卡,其特征在于,所述写入单元中进一步包括:判断子单元,用于在当所述接收子单元接收到来自所述POS机的进入收费区记录后,判断所述进入收费区记录集中已经存在的进入收费区记录数是否大于或等于预先设定的第二阈值,如果是,则通知所述POS机,否则,通知所述写入子单元执行自身功能。12. The smart card according to claim 10 or 11, characterized in that, the writing unit further comprises: a judging subunit, configured to enter the charging area when the receiving subunit receives a payment from the POS machine After recording, it is judged whether the record number of entry into the toll area already existing in the entry toll area record set is greater than or equal to the preset second threshold, if yes, then notify the POS machine, otherwise, notify the writing subunit perform its own function.
CN200910241937.7A2009-12-162009-12-16Composite application realization method and system, and smart cardActiveCN102103774B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN200910241937.7ACN102103774B (en)2009-12-162009-12-16Composite application realization method and system, and smart card

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN200910241937.7ACN102103774B (en)2009-12-162009-12-16Composite application realization method and system, and smart card

Publications (2)

Publication NumberPublication Date
CN102103774Atrue CN102103774A (en)2011-06-22
CN102103774B CN102103774B (en)2015-03-11

Family

ID=44156514

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN200910241937.7AActiveCN102103774B (en)2009-12-162009-12-16Composite application realization method and system, and smart card

Country Status (1)

CountryLink
CN (1)CN102103774B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103208151A (en)*2013-04-032013-07-17天地融科技股份有限公司Method and system for processing operation requests
CN103514465A (en)*2012-06-152014-01-15深圳富泰宏精密工业有限公司Intelligent card

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050222961A1 (en)*2004-04-052005-10-06Philippe StaibSystem and method of facilitating contactless payment transactions across different payment systems using a common mobile device acting as a stored value device
CN1825359A (en)*2006-04-062006-08-30刘秋元Prepayment, giving change IC card read-write device, smart card subsystem and paying method
CN101051280A (en)*2006-04-032007-10-10北京握奇数据系统有限公司Intelligent card embedded operation system and its control method
CN101609572A (en)*2009-04-232009-12-23王辉Fuel-burning power plant vehicle entry and exit factory unmanned system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050222961A1 (en)*2004-04-052005-10-06Philippe StaibSystem and method of facilitating contactless payment transactions across different payment systems using a common mobile device acting as a stored value device
CN101051280A (en)*2006-04-032007-10-10北京握奇数据系统有限公司Intelligent card embedded operation system and its control method
CN1825359A (en)*2006-04-062006-08-30刘秋元Prepayment, giving change IC card read-write device, smart card subsystem and paying method
CN101609572A (en)*2009-04-232009-12-23王辉Fuel-burning power plant vehicle entry and exit factory unmanned system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
娄琰琰等: "非接触IC卡在公交自动收费系统中的应用", 《沈阳工业大学学报》*

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103514465A (en)*2012-06-152014-01-15深圳富泰宏精密工业有限公司Intelligent card
CN103208151A (en)*2013-04-032013-07-17天地融科技股份有限公司Method and system for processing operation requests
CN103208151B (en)*2013-04-032016-08-03天地融科技股份有限公司Process the method and system of operation requests

Also Published As

Publication numberPublication date
CN102103774B (en)2015-03-11

Similar Documents

PublicationPublication DateTitle
CN112740232B (en) System and apparatus for encrypted data collection using RFID cards
CN110458562A (en)Bill reimbursement method, device and equipment and computer storage medium
KR20160111286A (en)Processing method for Payment additional information and Electronic device supporting the same
JP5731151B2 (en) Regional point grant system in local currency using electronic media
CN103337023A (en)Mobile payment solution based on two-dimensional code technology
CN103679488A (en)System and method of coupon payment
CN101149860A (en) A tax control data declaration and audit processing method in a network tax control system
CN101604467B (en) Consumer information processing method
CN111026560B (en)Method, apparatus, computer device and storage medium for processing product data
CN102034305A (en)Composite application service processing method and smart card
CN102103774A (en)Composite application realization method and system, and smart card
US10552919B2 (en)Conducting various actions indicated by a financial card
JP2016110321A (en)Fund transfer method, system, and program
JP7395549B2 (en) Payment systems, payment methods, and programs
JP7366096B2 (en) Payment systems, payment methods, and programs
CN103914773A (en)Transaction method and system integrating multiple kinds of membership card information
CN103761646A (en)Method for recognizing and verifying electronic consumption voucher on POS machine through mobile phone number
CN104851011A (en)Point service device
US10050979B2 (en)Executing a process based on validity information indicating one of validity and invalidity
CN110826548A (en)Bill data processing method, system, device and machine readable medium
WO2015037192A1 (en)Terminal device and server device for validity control
CN103295344A (en)Memory card, terminal and transaction system
WO2014027287A1 (en)Issuance, obtaining and utilization of personalized digital end user credentials for use in electronic transactions performed with a mobile device
KR101272150B1 (en)Credit card transaction method of no - voucher of credit card using smart phone
CN201374093Y (en)Electronic payment card

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp