WO2001031548A1 - Procede de transaction et systeme de transaction - Google Patents

Procede de transaction et systeme de transaction Download PDF

Info

Publication number
WO2001031548A1
WO2001031548A1 PCT/JP1999/005563 JP9905563W WO0131548A1 WO 2001031548 A1 WO2001031548 A1 WO 2001031548A1 JP 9905563 W JP9905563 W JP 9905563W WO 0131548 A1 WO0131548 A1 WO 0131548A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
transaction
information
store
ticket
Prior art date
Application number
PCT/JP1999/005563
Other languages
English (en)
French (fr)
Inventor
Masao Hoshino
Nobuhiko Nishio
Original Assignee
Fujitsu Limited
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 Fujitsu Limited filed Critical Fujitsu Limited
Priority to PCT/JP1999/005563 priority Critical patent/WO2001031548A1/ja
Priority to EP99947858A priority patent/EP1225533A4/en
Publication of WO2001031548A1 publication Critical patent/WO2001031548A1/ja
Priority to US10/114,058 priority patent/US20020107799A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/105Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems involving programming of a portable memory device, e.g. IC cards, "electronic purses"

Definitions

  • the present invention relates to a transaction method, a transaction system, a management device thereof, and an IC card using an IC card, and in particular, a transaction method, a transaction system, a settlement device, and an IC for counting the electronic value of an IC card provided in the transaction device.
  • a transaction method a transaction system, a settlement device, and an IC for counting the electronic value of an IC card provided in the transaction device.
  • This electronic wallet transaction is a system in which a customer's IC card has cash data equivalent to money and transfers it to a transaction device.
  • the IC card referred to in this electronic wallet retrieval has a one-chip microcomputer in which a nonvolatile RAM and a processor are configured in one chip.
  • This microcomputer is built in a plastic card of the same size as the credit card with a structure that enhances security.
  • the non-volatile RAM stores an electronic value and a password. Further, the non-volatile RAM has a program module for performing an encryption process and a module for performing a decryption process. In addition, the non-volatile RAM uses these modules to verify the legitimacy of the device accessing the IC card, and to verify the legitimacy of the person accessing the IC card using the device. An authentication program is also built-in. This has increased safety. For this reason, the IC card has the advantage that the security is higher than magnetic cards that are vulnerable to tampering or unauthorized reading of magnetic data.
  • the electronic wallet transaction is an electronic procedure for taking out ordinary cash from the wallet and giving the cash to the other party. If a part of the amount of the IC card is transferred to the transaction device during the transaction, the balance of the IC card decreases correspondingly and the balance of the memory of the transaction device increases.
  • the electronic value transferred to a transaction device such as a POS terminal device is stored in a memory in the transaction device, transmitted to the center after the store is closed, and the post-processing is completed.
  • a system using the above-mentioned IC force has been proposed (for example, Japanese Patent Application Laid-Open Publication No. Heisei 9-161152).
  • Japanese Patent Laid-Open Publication No. Hei 7-33459 proposes an electronic wallet transaction system using a coupon point card service.
  • services can be issued and services can be executed in accordance with electronic wallet transactions.
  • procedures such as service collection, counting, and settlement rely on humans, and there is a problem in that post-processing is complicated.
  • Discounted services for products are provided by coupons.
  • the store clerk mailed these coupons together with the data-collected journal to the counting office.
  • the counting office sorts coupons for each store and for each manufacturer, and calculates and calculates how much each manufacturer pays to each store. Thereafter, each manufacturer is notified by mail of the amount to be paid along with the coupon for each store.
  • this service system has a problem in that the coupon processing behind the coupon ticket is manually performed, which requires a lot of time for the shop.
  • an object of the present invention is to provide a transaction method, a transaction system, a management device thereof, and an IC card for automating post-processing of services.
  • an object of the present invention is to provide a transaction method for preventing fraud in post-processing of services.
  • the purpose is to provide a transaction system, its management device and an IC card.
  • an object of the present invention is to provide a transaction method, a transaction system, a management device thereof, and an IC card for providing a customer service for inviting electronic wallet transactions.
  • One aspect of the transaction method according to the present invention is a transaction method for processing transaction data generated in accordance with a transaction, wherein the transaction data associated with the transaction is stored in an IC force provided in a transaction device. Reading an IC card and classifying and totaling the transaction data.
  • an IC card detachably provided in the transaction device, and the Ic card including the transaction data associated with the transaction.
  • a management device that reads the IC force and classifies and totals the transaction data.
  • the transaction device stores the transaction data in an IC card
  • the management device reads the IC card, and performs classification and aggregation, so that it is possible to automate post-processing of the transaction data. .
  • the management device reads out transaction data from an IC card separate from the device, classifies and compiles the data, so it adjusts the amount to be received or paid by each store from the transaction data collected at multiple stores be able to
  • the transaction device stores service information for providing a service to a customer in the IC card. This makes it possible to automate post-processing of services.
  • the transaction device has an electronic wallet transaction function.
  • a card reader / writer for exchanging information with a customer IC card a reader / writer for exchanging information with the IC card, and an electronic value of the customer IC card.
  • the storing step includes a step of extracting service information to be provided with a service from the customer IC card, and the step of extracting the extracted service information into the customer IC card. Transfer to the IC force.
  • the IC card issues service information for receiving a desired service and transfers the service information to the customer IC card, and stores the service information in the customer IC card. It has a function of extracting and collecting service information to be provided with services from the provided service information.
  • the service information in which the service ticket is digitized can be transferred like a service ticket on a piece of paper.
  • the service ticket can be distributed as if it were a paper ticket service ticket.
  • the service information to be provided with the service is extracted and collected from the service information stored in the customer IC card, so that the service ticket can be automatically issued and the service ticket can be automatically collected.
  • the customer service function can be provided without the need for the user and the card-introducing store. Also, even if service information is independently provided, since service information is collected from the IC force, it is possible to prevent fraudulent reception of the service again based on the service information.
  • the transaction device executes the transfer and extraction of service information
  • the service ticket can be issued without any injustice, and the service ticket can be extracted without injustice.
  • service information is handled in the same way as electronic cash, multiple types of services can be provided to the IC card.
  • the transaction device issues the service information associated with the electronic wallet transaction.
  • the transaction device includes the extracted service.
  • the service based on the source information is reflected in the electronic wallet transaction.
  • the management apparatus includes: a card reader / liner for exchanging information with the IC card; It has processing means for classifying and summarizing the service information of each company for each issuer, and output means for outputting the total result.
  • the collected data of the IC card can be totaled and output.
  • the processing means of the management device classifies the service information of the IC card by issuer and totals the service information.
  • Classifying and totaling by issuing store collection transaction data of multiple stores can be classified and totaled for each store.
  • the processing unit of the management device classifies the service information of the IC force by issue maker and totals the information.
  • Invoices to issuers can be automatically created because they are classified and tabulated by issuer.
  • the output unit of the management device outputs the service information together with the aggregation result. Since each service information is output, it is possible to verify the improperity of the service ticket.
  • the management device creates service information to be issued and writes the service information to the IC card.
  • the second IC card exchanges information with the IC card.
  • It has a function of executing transfer of electronic cash and transfer of the service information.
  • the transfer of the electronic cash and the service ticket is performed by the second IC card, so that the management and handling of the electronic cash and the service ticket are facilitated.
  • fraud on the store side can be prevented.
  • the IC card has a memory having an electronic wallet area and a service information storage area for storing service information provided to a customer for service. Having. Since the IC card has an electronic wallet transaction function and a service ticket transfer function, a service function can be easily provided to an IC card having an electronic wallet transaction function.
  • the processor includes the service ticket identification data and
  • service information including an encrypted signature created based on the identification data. Since the cryptographic signature is stored, security against fraud can be provided.
  • the processor issues service information for receiving a desired service and transfers the service information to a customer IC card. It has the function of extracting and collecting service information that is the subject of service provision.
  • Service issuance and collection for IC force clients and customers IC force services, preventing fraudulent service tickets. Also, a service function can be easily provided to the transaction device.
  • the processor has a function of exchanging information with the customer IC card to execute transfer of electronic cash and transfer of the service information.
  • the memory has a plurality of service information storage areas for storing service information for each type of service information.
  • a plurality of types of services can be provided, and classification and aggregation can be performed for each service.
  • the memory has an issuance service storage area for storing service information to be issued.
  • FIG. 1 is a system configuration diagram of one embodiment of the present invention.
  • FIG. 2 is a block diagram of a P0S terminal device according to one embodiment of the present invention.
  • FIG. 3 is a processing flowchart of the POS terminal device of FIG.
  • FIG. 4 is a block diagram of a customer IC according to an embodiment of the present invention.
  • FIG. 5 is an explanatory diagram of the memory area of the customer IC card in FIG.
  • FIG. 6 is an explanatory diagram of the access authority table in FIG.
  • FIG. 7 is a block diagram of a store IC card according to one embodiment of the present invention.
  • FIG. 8 is an explanatory diagram of a memory area of the store IC card of FIG.
  • FIG. 9 is a flowchart (part 1) of the processing of the store IC card of FIG. 7.
  • FIG. 10 is a flowchart (part 2) of the processing of the store IC card of FIG. is there.
  • FIG. 11 is a flowchart (part 3) of the processing of the store IC card in FIG.
  • FIG. 12 is a flowchart (No. 4) of the process of the store IC force in FIG.
  • FIG. 13 is a flowchart (part 1) of the processing of the customer IC force of FIG.
  • FIG. 14 is a flowchart (part 2) of the processing of the customer IC force of FIG.
  • FIG. 15 is a flowchart (part 3) of the processing of the customer IC card shown in FIG.
  • FIG. 16 is a block diagram of the display of FIG.
  • FIG. 17 is a perspective view of the display device of FIG.
  • FIG. 18 is a block diagram of the communication device of FIG.
  • FIG. 19 is a perspective view of the communication device of FIG.
  • FIG. 20 is a block diagram of the settlement apparatus of FIG.
  • FIG. 21 is a flowchart (No. 1) of the processing of the counting device in FIG.
  • FIG. 22 is a flowchart (No. 2) of the processing of the counting device in FIG.
  • FIG. 23 is a flowchart (part 3) of the processing of the counting device in FIG.
  • FIG. 24 is an explanatory diagram of a table of the counting device in FIG. 20.
  • FIG. 1 is a configuration diagram of an IC force trading system according to one embodiment of the present invention.
  • the customer IC card 2 has a processor and a non-volatile random access memory (RAM) built in a plastic card of the size of a credit card standardized by JIS and other standards.
  • RAM non-volatile random access memory
  • security function security function
  • the IC card 2 is further provided with a magnetic stripe and a stripe for optical recording.
  • the customer IC card 2 has an electronic wallet area, a service ticket area, an advertising area, and an electronic signature area.
  • the P ⁇ S terminal device 1 constitutes an electronic wallet transaction device that executes an electronic wallet transaction in conjunction with the customer's IC card 1.
  • An electronic wallet is defined as a wallet that holds cash at electronic value.
  • Electronic wallet transactions are not limited to electronic wallet transactions that transfer electronic value.Electronic value transfer is performed in a secret state by encryption / decryption processing functions, and so-called electronic signatures and the like are based on this. This includes transactions where information about the transferred value is protected from forgery and fraud by the authentication processing function.
  • the terminal device 1 has a customer IC card 2 and a customer IC card / reader 4 for exchanging information. Further, the POS terminal device 1 has a service ticket processing function 5 in addition to the electronic wallet transaction function.
  • the service ticket processing function 5 issues and collects service tickets, extracts service tickets for service provision, and executes services.
  • the service voucher is an electronic voucher that is individually specified and given value under certain conditions. For example, electronic data of a voting ticket, a lottery, a coupon, and the like, which is usually issued as a piece of paper, corresponds to this.
  • a store-side IC card 3 that can be attached to the P0S terminal device 1 is provided.
  • This store-side IC card 3 has the same hardware configuration as customer card 1 Have.
  • the store-side IC card 3 has a function of issuing a service ticket such as a lottery, a function of selecting a winning ticket, and a function of collecting the winning ticket.
  • management system 9 with a settlement device with functions.
  • Electronic cash (with electronic signature) and service ticket (with electronic signature) are transferred between the POS terminal 1 and the customer's IC card 2.
  • This transfer refers to the process of transferring electronic cash or a service voucher to be transferred from one of the IC card or the electronic wallet transaction device to the other.
  • the electronic cash or service voucher to be transferred becomes untransferable at the transfer source, and only the transferee can transfer. For example, if a service voucher is transferred from one to the other, the service voucher will no longer be available at the source, but the destination will be able to use the service voucher.
  • the transfer of the service ticket may be recorded as a history. The same applies to electronic cash.
  • the transaction history at the time of issuing the lottery is left in the IC card.
  • the issue date and issue store number of the lottery are stored. These are extracted from the IC card, the winning confirmation device, etc., and the lower three digits of the winning number are decrypted from the issuing date, issuer number, and electronic signature data. Verification is performed by comparing the lower three digits of the decoded lottery number with the lower three digits of the actual lottery number.
  • this store number be set like a secret key set arbitrarily.
  • the POS terminal device 1 that issues the lottery encrypts the lottery with the key value that is the key, and the lottery confirmation device that confirms the winning is provided with a table of the store number and the corresponding key value. Just read it.
  • the lottery number shown to the customer is the lower three digits It is also possible to make the upper encryption part or a part thereof invisible to customers in the form of a digital signature. As a result, the customer does not know the store number and cannot forge. Also, clerks hired in the store cannot forge because they do not know the code of the store. In addition, it is possible to check for forgery.
  • the service ticket is a voting ticket
  • select the lottery The number of votes is entered in the IC card 2 for each lottery number, and the number of votes is also stored in the IC card 3 of the P0S terminal device 1. Since IC card 2 cannot distinguish between a vote number of the same period and a vote number of another period, when issuing a voting ticket from IC card 3 of P0S terminal device 1, Attach identification information that combines the relevant period information and digital signature, and fill in IC card 2 as a voting number. The IC card of the P0S terminal device 1 totals the total value at the time of settlement or the like. After the counting period, the lottery number with the largest number of votes will be the winning number.
  • the IC card 3 of the P ⁇ S terminal device 1 reads the lottery number, the number of votes, and the identification information from the IC card 2 when a transaction is made with the IC card 2. Then, from the identification information, the justification of the information is confirmed, and the counting period is derived.
  • the IC card 3 of the POS terminal device 2 has a table of winning numbers for each counting period (for example, if each counting period is every two weeks, every two weeks in a range of about three months). This table is searched for the aggregation period derived from the identification information, and the winning number is obtained. The winning number is compared with the voted number.
  • the voting ticket service is a refund
  • the number of votes is multiplied by the refund amount for one unit of voting, and the refund amount Is calculated.
  • the amount of refund is subtracted from the amount of shopping, and the customer's required payment is calculated. If the refund amount is large, the remaining amount is written as a gift certificate on IC card 2 so that it can be used only for the next shopping at the same store.
  • voting takes place at chain stores, settlement between chain stores is required. In other words, stores that issue lots of lotteries need to pay a large amount of refunds to customers.
  • the IC card 3 of the POS terminal device 1 stores the number of issued votes and the number of winning and refunded voting tickets.
  • the management device 9 is an IC The information of the card 3 is read and the contribution is calculated.
  • the IC card 3 of the POS terminal device 1 includes a table for managing the respective data, that is, the number of issued voting tickets and the number of refunded voting tickets.
  • the service ticket is a lottery
  • the lottery and the digital signature obtained in a short time are written on the IC card 2 in the electronic wallet transaction by the IC card 2.
  • the lottery is displayed on the balancer (balance display) 6.
  • the balancer balance display
  • a product is purchased with the IC card 2 during the lottery refund period or the product delivery period, the presence or absence of a winning is automatically confirmed and the service is received.
  • This lottery is issued when a certain amount or more is purchased.
  • a lottery may be issued when a certain number of points are accumulated.
  • the service voucher is a coupon
  • the product eg, a cigarette
  • exchange a coupon for a new cigarette By providing such services, customers will be secured and purchases will be promoted.
  • the store-side IC card 3 since the store-side IC card 3 issues a service ticket such as a lottery and selects the winning ticket, it is possible to prevent the store from issuing the service ticket forgery and forgery lottery. In addition, since the service ticket is automatically collected by the store-side IC card 3, there is no need to count and manage paper coupons. This eliminates annoyance and facilitates data handling.
  • a service ticket such as a lottery and selects the winning ticket
  • This store side IC card 3 has an electronic wallet transaction function. Therefore, it can also be used as a customer IC card.
  • a store owner's customer IC card can be used as it is as a store IC card.
  • the POS terminal device manages information such as a manufacturer of a service ticket product such as a coupon ticket stored in the IC card 2 and information about a store using the coupon ticket. At the same time, the information is stored in the IC card 3 on the store side. If a paper coupon is used, the processing information of the paper coupon is totaled in the store IC card 3.
  • the management system 9 that counts and manages coupon data reads out used coupons from the store-side IC card 3, counts them, and transfers the management data and coupon data to each product maker. In this way, the handling of coupon information can be digitized, and resources such as paper can be minimized. In addition, data handling reduces the need for human intervention, Gender increases. Furthermore, it can be realized without constructing a large-scale online network.
  • the communication device 7 transfers the electronic cash and the service ticket of the customer IC card 2 to the third party customer IC card 8.
  • the reverse is also possible.
  • the service ticket information can be transferred so as to be transferred between IC cards or between an IC card and a device as if it were a paper ticket.
  • the balancer (balance indicator) 6 is for displaying electronic cash and service tickets of the customer IC card 2.
  • the service tickets can be individually transferred in the same manner as the paper ticket service ticket, an IC card transaction having the same circulation as the paper ticket service ticket can be realized. This is convenient for the user and can encourage the user to use the IC card.
  • the electronic service ticket is automatically issued and automatically collected, so that the store side does not require any trouble.
  • service tickets issued individually can be managed, and payments can be automated. As a result, it is possible to prevent errors and improper payments.
  • FIG. 2 is a block diagram of the POS terminal device
  • FIG. 3 is a flowchart of the processing thereof.
  • the P0S terminal device 1 includes a keyboard 11, a display device 12, a zonal code reader 13, a printer 14, a host device or an interface 1 connected to a line. 6, Control unit 17 composed of microcomputer, etc., Memory 18, External storage device such as hard disk 19, Customer input pad 20 for customer IC input, IC for store-Reader / writer 2 1 and an interface circuit 15 for other devices.
  • the customer input pad 0 is where the customer's IC card 2 is inserted, and the customer's IC card reader / writer 20a that accesses the customer's IC card 2 for reading, writing, etc. It consists of a keypad 20b for manually inputting the transaction amount, etc., and a display 20c for displaying input data from the keypad 20a.
  • the store IC card reader / writer 21 is a device that reads and writes the IC card 3 distributed to the store. These devices are mutually connected to the bus line 22 and exhibit predetermined functions under the program control of the control unit 17. Further, the customer input pad 20 and the store IC card reader / writer 21 are connected by a bus 23 different from the bus 22. Processing between the customer IC card 2 and the store IC card 3 is performed via the bus line 23. Therefore, the confidentiality of the transferred data can be increased.
  • the processing functions of the control unit 17 include, in addition to the functions (eg, general functions such as ordinary sales registration and calculation) of a general P • S terminal device or an electronic cash register, a customer IC card. It has an electronic wallet transaction function, a service ticket issuance consignment function, a winning service ticket selection consignment function, an advertisement document management function, and the like.
  • the service ticket issuance commissioning function of the control unit 17 issues a service ticket to the store IC card 3 that issues the service ticket via the store IC card reader / writer 21. It is entrusted and the service ticket issued to the customer IC card 2 is transferred. Further, in this embodiment, it is determined whether or not the service ticket such as lottery, coupon ticket, and voting ticket stored in the customer IC card 2 is a ticket suitable for enjoying the service. Is determined. For this reason, the winning service ticket selection commissioning function of the control unit 17 refers to the function of the control unit i7, which entrusts this processing to the store IC card 3.
  • the advertisement document management function devices having a document creation function, such as so-called mopile terminals and personal computers, are connected to the other interfaces 15 and the advertisement text created by those devices is stored in the memory 18 or the like.
  • the control unit 17 accumulates in the external memory 19 and executes a transaction using the IC card 2, it means a process of writing to the customer's IC card 2 according to conditions during normal processing.
  • the operator of the P 0 S terminal device 1 first selects the mode of the P 0 S terminal device by an ordinary method. Generally, a key held by a clerk is inserted into a keyhole (not shown) of the keyboard 11, and the mode is designated by rotating the key.
  • the control unit 17 performs a transaction mode, a payment mode, and a transaction mode in accordance with the mode specified by the keyboard 11. Switch to setting mode. First, the mode shifts to the setting mode (S221).
  • step S222 the process proceeds to step S222.
  • (S223) This is the step in which the store inputs the advertisement data desired to be issued or checks the accumulation status. That is, the control unit 17 reads out the advertisement data of the shop stored in the external storage device 19, displays the advertisement data on the display unit 12, and inquires of the operator whether or not the advertisement content is updated.
  • a device for data input for example, the above-mentioned small personal computer
  • the input document is transferred to the external storage device 19 and stored in a predetermined area.
  • step 234 normal data setting processing is performed. For example, whether or not to perform the cumulative point service according to the sales, or change the price of the product, and the like, generally set the status parameters of the POS terminal.
  • step S200 the control unit 17 displays a display indicating that the setting has been completed on the display unit 11, and ends this mode.
  • the clerk changes the key rotation position to change to the transaction mode.
  • control unit 17 performs a well-known price lookup process based on the input product code, that is, a process of deriving a product name (or a product department code, etc.) and a product price from the product code, I do. This is generally referred to as product registration. Then, the merchandise registration process is performed for all the purchased merchandise, and the printer 14 prints the purchase details information in parallel. At the same time, the detailed information is stored, and the total purchase amount is created in the memory 18.
  • step S203 When the product registration process is completed, the clerk listens to the customer for the type of payment. In other words, they ask whether they will pay in cash, use a credit card, or even pay from an electronic wallet using an IC card. According to this result, the clerk operates the keyboard 11 to enter the payment type.
  • the control unit 17 executes a normal process of step S204, which is a process for credit payment or cash payment, or a step S200, which is a routine of a payment process using an electronic wallet. Move to 7.
  • control unit 17 performs a cumulative calculation and stores it in the external storage device 19, or performs a cumulative calculation for each department and stores it. After performing such normal transaction completion processing, the flow shifts to step S201, where the transaction waits.
  • the control unit 17 sends the transaction before the transaction from the customer IC card 2 via the customer IC reader / writer 20a. It reads out the product information of the transferred and stored coupon ticket. The read product information is compared with the product code registered this time, Check if there is any product corresponding to the product information of the coupon ticket extracted from the customer IC card 2.
  • control unit 17 applies the corresponding product to the store IC card 3 set in the store IC card reader / writer 21. Outsource coupon collection. Based on this consignment, as will be described later in FIG. 11, the in-store IC card 3 receives the transfer of the corresponding coupon from the customer IC card 2. When the transfer of the coupon to the in-store IC card 3 is completed, the in-store IC card 3 notifies the control unit 17 to that effect.
  • step S209 Upon receipt of the transfer completion notification, the control unit 17 proceeds to step S209, in which the control unit 17 checks the sales amount of the corresponding product stored in the memory 18 this time. Calculate the discount rate by coupon and calculate the discount amount. This discount amount is stored in the memory 18 and this information is transferred to the printer 14. The discount rate and the discount amount are displayed on the receipt as "Coupon voucher discount XX% YYY yen". Is printed.
  • step S210 When the processing of the coupon is completed, the lottery is set in the setting mode of step S221. If the voting ticket service is set, the lottery of step S210 is set. Move to service processing.
  • the processing is entrusted to the store IC card 3 through the control unit 17 and the store IC card reader / writer 1.
  • the store IC card 3 has a winning number and a winning ticket number and an electronic signature.
  • Store IC card 3 is stored from customer IC card 2 via customer IC card reader / writer 21a, bus 23, customer IC card reader / writer 20a, and customer IC card 2 is stored.
  • the information of the winning lottery and betting ticket is read. Then, it checks whether it is a winning or a winning ticket.
  • the store IC card 3 transfers the winning or winning ballot (winning ticket) from the customer IC card 2 to the store IC card 3. Let it. Thereafter, the store IC card 3 notifies the controller 17 of the completion of the transfer via the store IC power reader / writer 20a, and also provides a service amount for the winning or winning ticket, for example, a discount. The service information such as the amount or the prize amount is notified. (S211) Upon receiving this notification, the control unit 1'7 stores the discount amount in the memory 18 and supplies the printer number 14 with the ticket number and service information such as prize money. Print this information on the account
  • step S 2 calculates the discount amount stored in step S 209 and the discount amount created in step S 211 from the cumulative sales amount stored in the memory 18. Then, the transaction amount to be deducted from the electronic wallet of the customer IC card 2 is calculated. The calculated transaction amount is supplied to the printer 14 and printed on a receipt. Further, the control unit 17 entrusts an electronic wallet transaction of this transaction amount to the in-store IC card 3 via the in-store IC card league writer 11.
  • the store IC card 3 is transferred to the store IC card reader / writer 21, bus 23, and customer IC card reader / It communicates with customer IC card 2 and transfers the corresponding amount of electronic money from customer IC card 2 to store IC card 3.
  • a transfer completion notification is notified from the store IC card 3 via the store IC card reader / writer 21.
  • the control unit 17 supplies the printer 14 with the transaction amount requested for transfer and information indicating that the electronic wallet transaction has been completed, and prints that fact on the receipt. For example, the receipt prints “Electronic cash for one payment ⁇ 13,000 paid, card number 12345”.
  • step S12 of the electronic wallet transaction processing consignment is completed.
  • the control unit 17 requests the in-store IC card 3 to issue a lottery.
  • the control unit 17 calculates the number of lotteries to be issued based on the total sales stored in the memory 18 beforehand. That is, for example, when a lottery is issued for each piece of 100 yen, the total sales amount is divided by this 100 yen to obtain the number of pieces.
  • the request from the control unit 17 to the store IC card 3 includes this number information.
  • the in-store IC card 3 receives this, creates the designated number of electronic signatures, and transfers it to the customer's IC card 2.
  • the issued lottery number is notified to the control unit 17 excluding the electronic signature, and the control unit 17 supplies this to the printer 14 to print the lottery number on the receipt. This ends the lottery issuing process.
  • step S2 14 When the lottery issuance processing is completed, the control unit 17 first switches to the setting mode.
  • step S222 the product table corresponding to the coupon that has been developed in the memory 18 is compared with the product sold this time, and it is determined whether the product to be issued a coupon exists in the product sold. Confirm. If the sales product includes a product for which a coupon must be newly issued, the control unit 17 issues a coupon ticket issue process to the store IC card 3 together with the product code. Outsource.
  • the store IC card 3 communicates with the customer IC card 2 and generates a new coupon for the notified product code. Move to 2.
  • the store IC card 3 When the coupon ticket issuance process is completed, the store IC card 3 notifies the control unit 17 of the completion. As a result, the control unit 17 supplies information on the issued coupon to the printer 14, and prints out on the seat that the coupon has been issued and the product name for which the coupon can be used. I do. For example, "XXX juice issuance of a 10% discount coupon ticket XXX juice until January 1, 1999" is "XXX juice” as a product name that can use a coupon ticket, and the discount rate of the coupon ticket, validity period, etc. Is printed. These pieces of information are all information stored in the store IC card 3.
  • the control unit 17 reads out the advertisement information stored in the external storage device 19 and supplies it to the customer IC reader / writer 20a.
  • the customer IC card reader / writer 20a stores the supplied advertisement information in a predetermined area of the customer IC card 2, and ends the advertisement information transfer process.
  • step S2 16 After completing the above series of processing, the control unit 17 issues a customer IC card 2 discharge command to the customer IC card reader / writer 20a, and stores the customer IC card 2 in the customer. Return to. Next, the information of the coupon collected in this transaction, the collected lottery, the issued coupon, and the issued lottery are collectively recorded in a specific area of the memory 18. At the same time, the general transaction processing executed in step S204, for example, processing such as the cumulative sales of each department is performed, and the receipt is discharged to complete the transaction.
  • step S18 When the store clerk closes or replaces the store clerk, the store clerk switches the key rotation position of the key board 11 to the position of the settlement mode Byone. As a result, the control unit 17 shifts to the settlement mode.
  • a normal closing process for example, printing out all the transactions handled by the P0S terminal device 1 to the printer 14, storage in the external storage device 19, product type Print out the total sales amount for each.
  • the printed output includes, for issued lottery and betting tickets, the lottery number, the number of lotteries, the number of votes for each option by voting ticket, and for the collected lotteries and voting tickets, the lottery number, voting ticket number,
  • the service amount provided to the customer by the selected lottery and / or betting ticket and its total (for example, the prize amount and its total) are calculated, totaled, and printed. And it ends.
  • the 1 C card 3 of the terminal device 1 has a function of transferring, extracting, and collecting service tickets such as lottery, voting ticket, and bonbon ticket to the customer IC card 2 used as an electronic wallet.
  • This service information like the service ticket as a piece of paper, can be transferred independently and can promote the distribution of the service ticket.
  • service ticket issuance management and service ticket collection management can be automated.
  • automatic issuance and automatic collection can save labor on the store side.
  • services such as discounts can be executed in connection with electronic wallet transactions. For this reason, e-wallet transactions are more attractive to users. This is also effective as a means of attracting customers to stores that introduce cards.
  • FIG. 4 is a circuit block diagram of the customer IC card 2
  • FIG. 5 is an explanatory diagram of the memory area of the customer IC card 2
  • FIG. 6 is an explanatory diagram of the access authority table as shown in FIG.
  • the customer IC card 2 includes a connection terminal 31 specified by IS0, an interface circuit 32 for communication with external devices, a microcomputer (microcomputer) 33 connected thereto, and a non-volatile RAM. (Hereinafter referred to as memory) 35 and volatile RAM (hereinafter referred to as memory) 34.
  • memory non-volatile RAM
  • memory volatile RAM
  • these powers are enclosed in a plastic card of the same size as the standardized credit card.
  • the description will be made using an IC card having a connection terminal 31.
  • a so-called wireless IC card having no connection terminal may be used.
  • the communication interface circuit 32 has a wireless function.
  • a predetermined program is burned into the microcomputer 33.
  • This program is an authentication program that verifies that the device accessing the IC card is a legitimate device, and an authentication program that verifies that the IC card that communicates with the IC card has the right access authority.
  • it has a built-in verification program to verify that the person who handles this IC card is the correct owner.
  • respective authentication programs for performing the reverse verification are also stored. That is, a program for causing the connecting device side and the partner IC card side to confirm that this IC card is a proper IC card is also stored.
  • the memory 35 is provided with an area for storing various information shown in FIG. That is, in FIG. 5, the memory 35 includes, in addition to the directory 40 and the OS program 41, an electronic wallet area 42, a lottery / voting ticket information area 43, a coupon A ticket area 44 and an advertising area 45 are provided. Further, the memory 35 stores an access authority table 46 described later, a personal identification number 47, an encryption key 48 used for an authentication program, and various application programs 49.
  • the electronic wallet area 42 stores the remaining amount that can be used as electronic money and the electronic signature thereof. Further, in this area 42, the transaction date, transaction type (discrimination of payment or acceptance), transaction amount and its electronic signature, and identification information of the transaction partner are classified as past transaction history data for each transaction. Have been stored. Dozens of transaction histories can be stored, and each area is controlled to be used cyclically by a known control method.
  • the lottery ticket information area 43 stores, for each lottery, a lottery number, an issue date, an issuer, and an electronic signature associated with the lottery number.
  • the number of voting units, the date of issue, the issuing store, and the electronic signature of the voting ticket are stored.
  • the coupon voucher area 4 4 stores the corresponding product code, discount rate, validity period, issuing store, and electronic signature of the coupon voucher, corresponding to each coupon voucher.
  • the electronic signatures in areas 42, 43, and 44 are stored in separate areas that are separate from information about balances, transaction histories, voting information, and coupons. This area cannot be read even if it is directly accessed from an external device.
  • the advertisement area 45 is an area for storing the advertisement information supplied from the P0S terminal device 1 described above with reference to FIG. 2, and is decoded by the balancer (display device) 6 in FIG. Stores text of possible character codes.
  • the access authority table 46 indicates the type of device that accesses the IC card, the access authority of the device, and the access authority of each of the above areas 42 to 45. To give. For example, it is set to allow only reading, allow updating, allow deleting, and prohibit everything.
  • the customer IC card 2 has a locked state and an unlocked state.
  • the locked state it is necessary to enter a password, and access is possible only within the area stored in the access authority information area only by password matching.
  • the e-purse data of the e-purse area 42 in FIG. 6 the e-purse data of the e-purse area 42 in FIG.
  • the access model is a model such as a balancer or a P0S terminal device to be described later that should allow only display of simple data, only reading is permitted.
  • access authority is set in Table 46 so that other types of access, that is, writing, deleting, and updating are not permitted.
  • Electronic wallet data, lottery and voting information, and coupon information can be written and deleted by the microcomputer 33 inside their own IC card only when the access partner's model is an IC card. ing.
  • FIG. 7 is a block diagram of a store IC card
  • FIG. 8 is an explanatory diagram of the memory cell.
  • the hard configuration of the store IC card 3 is the same as that of the customer IC card 2 described in FIG. 4, and the connection terminal 61, the communication interface circuit 62, A microcomputer 63, a volatile memory 64, and a nonvolatile memory 65 are provided.
  • This store IC card 3 may be used as a normal customer IC card.
  • FIG. 8 illustrates the memory area of the non-volatile memory 65 provided in the store 1 C card 3.
  • a directory area 701 As the area, a directory area 701, an OS area 720, and an application area 703 are provided.
  • the application area 703 contains an access permission table 704 similar to the access permission table shown in Fig. 6 described above, a password 705 for the IC card owner, and key information for encrypting the transmission information. (Encryption key) 706 and an area 707 for storing various application programs are provided.
  • the electronic wallet area 708, the winning ticket table 709, the winning ticket storage area 710, the winning lottery, the voting ticket storage area 711, and the publishing area can be issued.
  • a lottery number, a table of betting ticket incense table 7 12, a corresponding coupon table 7 13, a collected coupon ticket storage area 7 14, and an issued coupon ticket storage area 7 15 are arranged.
  • the electronic wallet area 708 stores the same type of data as the electronic wallet area of the IC card 2 for the customer.
  • the winning ticket table 7 0 9 has a winning lottery with a lottery number drawn in the past. Or a place where information about voting is stored.
  • the lottery number, the date of issue of the lottery, the issuing store and its electronic signature are stored.
  • information on service provision for winning is stored. For example, this information can be considered to be the service itself, such as "Travel in Hawaii”, “50,000 yen for a department store gift certificate", or "discount”.
  • the per-voting slot number, the amount to be refunded per unit of votes, the issuance period of the betting tickets, etc. are stored together with the electronic signature.
  • the winning ticket storage area 710 is an area for storing information on the winning ticket transferred from the customer IC card 2, as described later.
  • the digital signature is stored together with the lottery number, the issue date of the lottery, and the information of the issuing store.
  • the betting ticket number, the number of voting tickets of the betting ticket, the issuance date of the betting ticket, and the issuing store code indicating the code of the store that issued the betting ticket are stored together with the electronic signature.
  • a plurality of lotteries and a plurality of betting tickets are stored so that they can be distinguished at a later date.
  • the issued lottery and betting ticket storage area 7 11 1 is an area for storing information on lotteries issued from the in-store IC card 3 and information on the issued betting ticket each time it is issued.
  • a lottery number, a lottery issue date, an issuer code for identifying the shop that issued the lottery, and their electronic signatures are stored.
  • the series of information for one lottery is the same information as the information stored in the customer IC card 2.
  • voting tickets the ballot number, the number of votes cast, and the date of issue are stored. Among them, for the number of votes cast, for example, there are three voting frames, “1”, “2”, and “3”, and “1”, “2”, “3”, “1-2” as voting frames.
  • Reference numeral 12 denotes an area for storing lottery information and voting frame information that may be issued by the in-store IC card 3.
  • the information of the lower three digits described above is stored in the table as an issueable lottery number.
  • this store IC card 3 can issue this lottery number as If Table 7 12 specifies the numbers 0 0 1 to 1 0 0, only the numbers between the numbers can be issued.
  • the issuing program of the store IC card 3 described later counts and assigns a number each time a lottery is issued from the minimum value (for example, 0 0 1), and up to the maximum value (for example, 1 0 0). It should be issued.
  • the issuable period the period during which the shopping district performs lottery sales is set.
  • the electronic signature data added to the lottery is also stored in this table 7 12.
  • the voting number in this table 7 12 stores the voting frame number. That is, as described above, when there are six voting slots 1, 2, 3, 112, 113, and 2-3, these are stored in a distinguishable manner. As for the issuable period, date information is stored so as to distinguish the period during which the voting sale is conducted, similarly to the issuable period of the lottery. In addition, electronic signature data attached to each betting ticket is also stored.
  • the electronic signature data of the lottery and betting tickets in this area 7 12 is electronic signature data created by the device 9 that manages the system described later, and is information that is required for later verification.
  • the corresponding coupon table 7 13 is used at the time of product purchase, and stores information for specifying a coupon that is valid. That is, the information to determine whether or not the purchased product has a good product for issuing a coupon, and information for determining whether or not the coupon stored in the customer IC card 2 is a discount target. Stores and stores the issuing store information on the coupon to be issued and its electronic signature.
  • the stored information includes a product code, a product discount rate by a coupon for the product code, a validity period of the coupon, a product code of a coupon issued when the product is purchased, and management described below. It is a digital signature created in Yuan 9.
  • the collected coupon ticket storage area 714 is an area for storing coupon tickets collected from the customer IC card 2.
  • the area 714 includes information corresponding to the coupon information stored in the customer IC card 2, the date of use when the coupon was collected, the code of the store used (illustrated as “user store”), Also, the electronic signature of the information of the coupon ticket stored in the customer IC card 2 is stored.
  • the issued coupon ticket storage area 7 1 5 is the coupon issued from the store IC card 3. This is an area for logging information. This area 715 is created by the product code of the product to be covered by the coupon, the discount rate at the time of purchase of the product, the validity period of the coupon, the issuing store indicating the store that issued the coupon, and the management source. Stores the electronic signature of the coupon that is being issued.
  • Figures 9 to 12 show the store's IC card
  • FIG. 3 is a flowchart
  • FIGS. 13 to 15 are flowcharts of the customer IC card 2.
  • the store IC card 3 starts the program and perform the mutual authentication steps S801 and S802.
  • a random number request command is issued to the store IC card 3 from the POS terminal 1 shown in FIG.
  • the in-store IC card 3 generates a random number in response to this, and transmits it to the P0S terminal device 1.
  • the POS terminal device 1 encrypts this random number using a certain encryption key and returns it to the store IC card 3. After decrypting the returned encrypted random number in the IC card 3, the generated random number is compared with the decrypted random number. In this way, the device is authenticated (step S801).
  • the P0S terminal device 1 generates a random number, and transmits an authentication command to the IC card 3 together with the generated random number.
  • the IC card 3 uses the encryption key 48 held by the IC card, encrypts the received random number using the encryption processing program in the OS area 41, and sends it to the POS terminal 1. I do.
  • the POS terminal device 1 decodes this to obtain a random number and compares it with the generated random number. If so, check that the correct IC card 3 has been inserted.
  • This process is defined as authentication (AUTHENT I CAT ION) in the IS0 standard. Such authentication is performed before the IC card processes stored information with an external device. Processing step S 8 for store IC card 3 described later 0 4, S 8 1 0.S 8 0 0, S 8 3 0, S 8 3 0, S 8 4 0, S 8 5 0 and customer IC card processing steps S 1 2 4 4, S 1 2 1 0, S 1 2 2 0 and S 1 230 are the same processing. In these cases, mutual authentication is performed between IC cards, that is, between the customer IC card 2 and the store IC card 3. Hereinafter, it is referred to as IC-to-IC authentication, and detailed description is omitted.
  • the store IC card 3 waits for a command from the PS terminal 1 shown in FIG. 2 via the store IC reader / writer 21 in step S803. State.
  • the electronic wallet transaction process is executed in step S804 or S809 in FIG. 9 for the store IC card 3, and in step S12 in FIG. 13 for the customer IC card 2.
  • step S208 of P ⁇ S in FIG. 3 when the processing of the electronic wallet transaction is entrusted to the store IC card 3 from the P ⁇ S terminal device 1, first, in this step S804 The customer performs IC card authentication, S805 self-IC card authentication, and S124 authentication between IC cards in Fig. 13. That is, mutual authentication is performed.
  • the store IC card 3 and the customer IC card 2 are connected via the store IC card reader / writer 21, bus 13, and customer IC card reader / writer 20 a. Perform communication.
  • step S125 the access authority table 46 of the nonvolatile memory 35 of the IC card 2 is searched to determine whether or not access to the corresponding electronic wallet area 42 is permitted. When the access is permitted, the data in the electronic wallet area is expanded in the volatile memory 34.
  • Step S806, SI206 The customer requests the personal identification number from the IC card 2 to the store IC card 3.
  • the store IC card 3 inputs a password to the customer IC reader / writer 20 shown in FIG.
  • the IC card reader / writer 20 displays this on the display unit 20c.
  • the customer enters a password through the keypad 20b the information is supplied to the customer IC card 2.
  • the customer IC card 2 compares and compares the password 47 stored in the memory area 35 of FIG. 5 with the input password. If there is a correspondence between the personal identification numbers, the user unlocks the lock state, outputs an access permission notice to the store IC card 3, and proceeds to the next step. Note that any of these communications may be encrypted.
  • the store IC card 3 proceeds to the next step upon receiving the permission notice in step S806.
  • the store's IC card 3 transfers electronic cash at steps S807 and S808, and the customer's IC card 2 transfers electronic cash at step S127.
  • the transaction amount according to the purchase amount is transferred at the time of the outsourcing and is stored in the memory.
  • the store IC card 3 reads this.
  • the customer IC card 2 is requested to transfer this amount of electronic cash.
  • the customer IC card 2 subtracts the corresponding transaction amount from the balance in the electronic wallet area 42 (S128).
  • the transaction amount is transmitted to the store IC card 3 together with the transfer command.
  • the store IC card 3 updates its own electronic wallet area 708.
  • an exchange completion notice is issued to the customer IC card 2 to complete the electronic cash exchange.
  • the customer IC card 2 completes the transfer of the electronic cash upon receiving the exchange completion notification.
  • electronic cash communication is performed by confidential communication. That is, in the case of a cash transfer request from the in-store IC card 3, the transfer amount is encrypted using the encryption key and the encryption program used in the previous mutual authentication.
  • the customer IC card 2 decrypts the encrypted amount information to obtain the transaction amount information.
  • the transfer command and the transaction amount are similarly encrypted and transmitted. This is decrypted by the store IC card 3 and the cash is transferred. Not only the transaction amount but also part of the information in communication is encrypted in the same way, and all the information including the part and this encrypted data are transmitted to the other party together. Then, the data may be decrypted by the other party and compared with all data received to confirm whether or not the encrypted part matches.
  • encryption technology is applied so that the information during communication can be confirmed as correct information by both parties.
  • the store IC card 3 when the exchange of the transaction amount is completed, the store IC card 3 sends a completion notification indicating that the transaction has been completed to the P0S terminal device 1 via the store IC card reader / writer 20. Notice. Then, the process returns to the command waiting state in step S803.
  • the customer IC card 2 when the transfer of the electronic cash is completed, stores the transaction history in the history area of the electronic wallet area 42 of the memory 35, and ends the electronic wallet transaction. Then, the flow shifts to the command waiting state in step S123.
  • the store IC card 3 is obtained by the steps S850 to S853 in FIG. 11, and the customer IC card 2 is obtained by the steps S1230 to S1234 in FIG. Execute the one-point ticket collection process.
  • Step S 8 5 Then S 1 2 3 2
  • step S851 the store IC card 3 transmits a collection command to the customer IC card 2 together with the product code of the coupon ticket specified from the P0S terminal device 1.
  • the customer IC card 2 executes a collection process based on the received command in step S1223. That is, the coupon voucher area 44 is searched according to the product code included in the command, information related to the corresponding product code is read, and the information is transferred to the store IC card 3.
  • This transfer information includes the product code, discount rate, issue date, issue store, and electronic signature.
  • the electronic signature is a specific one based on coupon information, product code, discount rate, issue date of the management company, company code of the management company, manufacturer code, etc.
  • the one encrypted with the encryption key can be used.
  • the transfer information between these IC cards is encrypted and transferred using the encryption key used for mutual authentication.
  • the store IC card 3 decrypts the encrypted data if it has been encrypted, collects it in step 851, and then, in step S852, stores its own table area 7 1 3 Performs comparison and verification with the digital signature owned by. After confirming that the card is correct by this verification, the transfer completion notice is sent to the customer IC card 2. In response to the transfer completion notification, the customer IC card 2 deletes the corresponding coupon information in the coupon area 44 in S123, and completes the transfer. Then, the flow shifts to the command waiting state in step S123.
  • the store's IC card 3 stores the collected coupon ticket along with the date of use and the store code in the collected coupon ticket area 714 of FIG. After that, the transfer completion of the coupon is notified to the control unit 17 of the P0S terminal device 1 via the in-store IC card reader 20a. Then, the process returns to the command waiting of S803 in FIG.
  • the flowchart of the store IC card 3 relating to the processing step S210 relating to the winning ticket in the flowchart of the P ⁇ S terminal device 1 in FIG. 3 is shown in steps 820 to S82 of FIG. Shown in Figure 7.
  • the flow chart of the customer IC card 2 is shown in steps S122 to S124 of FIG. Step S8 20, S1 2 0, S1 2 1
  • step S210 of the P0S terminal device 1 the processing of the winning ticket is entrusted to the store IC card 3.
  • the process proceeds from the step S803 waiting for a command to the step S820.
  • Step S820 is a step of mutual authentication with the other party's IC card, which is the same as described above, and therefore, the description is omitted.
  • the customer IC card 2 executes a mutual authentication process in step S122.
  • step S1221 the access authority of the partner's IC card is confirmed using the above-described access authority table.
  • the in-store IC card 3 Upon successful completion of the mutual authentication, the in-store IC card 3 reads and collects the winning ticket in step 82 1. That is, the in-store IC card 3 issues a read command for a lottery and a betting ticket to the customer IC card 2. In response, the customer IC card 2 reads the lottery information and the betting ticket information stored in the area 43 of the memory in FIG. Send to 3. At this time, the electronic signature attached to each of the lottery and the betting ticket is also transmitted.
  • the transmitted information is transmitted with increased security against eavesdropping and forgery. For example, as described above, all or a part of the information is encrypted using an encryption key, or all or part of the information is encrypted using an encryption key, and all the information is transmitted. It may be added after and transmitted.
  • the in-store IC card 3 extracts the winning ticket from the lottery and voting ticket received from the customer IC card 2 in this step S822. That is, the winning lottery and the winning voting number stored in the winning ticket table 709 of the store IC card 3 shown in FIG. 8 are compared with the received lottery and the corresponding portion of the voting ticket. As for the lottery, the lottery number, the issue date, and the issuing store are compared to extract a match. In step S823, the electronic signature added to the extracted lottery is compared with the electronic signature stored in Table 709 to verify that the lottery is valid. .
  • step S822 it is checked whether the voting date of the received voting ticket is applicable during the voting period in Table 709, and the date of the voting period is set. Extract the betting ticket. Next, the winning voting ticket is extracted by comparing the winning voting number of the table 709 with the extracted voting number of the corresponding period.
  • the number of voting units per ballot is read out.
  • the refund amount for the voting unit is read from the table 709, and the total refund amount based on the betting ticket stored in the customer IC card 2 is calculated. Store this information temporarily in the volatile memory 64 of the store IC card 3 You.
  • step S823 the electronic signature of the relevant voting ticket received from the customer IC card 2 is compared with the electronic signature of the winning voting ticket stored in the table 709 in FIG. And verify that it is genuine.
  • Step S 8 2 S 1 2 2 3
  • step S8284 the in-store IC card 3 transfers all received ticket data excluding the per-ticket information to the customer IC card 1 as a lottery at a later date. At this time, it goes without saying that the data is transmitted after being subjected to the encryption processing as described above.
  • step S1223 the customer IC card 2 decrypts the received lottery / voting ticket information and compares it with the electronic signature of each ticket still stored in its own memory. If it is determined by this comparison that the information is correct, the information of all the vouchers / votes stored earlier is replaced with the information of all the received vouchers / votes. That is, the service ticket information including the electronic signature of each ticket excluding the winning ticket is newly stored in the area 43 of the customer IC card 2 in FIG. At this point, the lottery and betting ticket information stored in the customer IC card 2 is the information excluding the winning ticket.
  • the electronic signature of each ticket is stored in an area that is managed differently from other information of lottery and betting tickets in confidentiality management.
  • the electronic signature is stored in an area that can be read and updated only when the information exchange partner is an IC card, and is accessed from other devices. Is forbidden.
  • general information such as a ticket number, an issuance date, and the like are stored in an area that is accessible from any device under a predetermined condition. Therefore, in this step S1223, the customer IC card 2 stores the information and the electronic signature in different storage areas.
  • the customer IC card 2 When the storing of the lottery / voting ticket information and the storing of the electronic signature are completed, the customer IC card 2 outputs to the store IC card 3 a reception confirmation indicating that all the information has been received.
  • Step S 8 25, S 8 26 When the store IC card 3 receives the reception confirmation command, it determines that transfer of the winning ticket has been completed and shifts to step S825.
  • the store IC card 3 stores the refund amount and service information previously stored in the volatile memory 64 of the store IC card 3 in the POS terminal device 1 shown in FIG. Notify the control unit 17 of this.
  • step S826 a consignment process completion notification is returned to the control unit 17 of the POS terminal device 1.
  • the winning ticket processing of the store IC card entrusted with the winning ticket processing is completed. Then, the process returns to the command waiting state in step 803 of FIG.
  • the P-S terminal device 1 entrusts a coupon ticket collection process to the in-store IC card 3 in step S208. At this time, the P-S terminal device 1 notifies the store IC card 3 of the coupon ticket information on the coupon ticket, that is, the product code.
  • This processing is entrusted to the store IC card 3 flow chart in FIG. 11 from step S850 to step S853 and the customer IC card 2 flow chart in FIG. This is performed from step 1 230 to step S 1 2 3 4.
  • step S850 and S1230 are the same mutual authentication steps as described above, and a description thereof will be omitted.
  • step S 1 2 3 1 of customer IC card 2 is a step of confirming the access authority of the communication partner, and an area in which reading, writing, and deletion for access to the coupon information area is possible, as described above. Make sure that Step S 8 51 1, S 1 2 3 2, S 1 2 3 3
  • the store IC card 3 Upon completion of the mutual authentication and the confirmation of the access authority, in step S851, the store IC card 3 requests the customer IC card 2 to transfer the coupon ticket specified from the P0S terminal device 1. I do. Based on this, the customer's IC card 2 reads out the relevant coupon from the memory area (area 44 in FIG. 5) in which the customer IC card 2 is stored in step S1232 and transfers it to the store IC card 3 I do. At that time, the electronic signature corresponding to the coupon is also transferred. Then, in step S123, the transferred coupon is stored in customer's IC card 2 memory area 4 4 (Fig. 5). To complete the transfer of the coupon.
  • the store IC card 3 receives the electronic signature-added certificate from the customer IC card 2 in step S851 in FIG. In step S852, the digital signature attached to the received coupon is verified by comparing it with the digital signature held by the store IC card 3.
  • the store IC card 3 stores the coupon received in the collection coupon ticket storage area 7 14 in FIG. 8 in step S853 in FIG. Store the ticket.
  • the coupon information includes the received coupon information, that is, the product code, discount rate, validity period, issuing store, and electronic signature.
  • the date of use of the coupon and the code of the user's store are written in the area 714.
  • the store IC card 3 is classified and stored according to the product code. For example, multiple products from a single manufacturer are generally numbered consecutively in product code. Sort in the order of this number and memorize it. When this process is completed, the corresponding product code and its discount rate are notified to the P0S terminal device 1, and the coupon ticket collection process for the in-store IC card 3 is completed. Then, the process returns to the command waiting state in step 803 of FIG.
  • the POS terminal device 1 entrusts the issuance of a lottery / voting ticket to the in-store IC card 3 in step S213.
  • the processing of the store IC for this issuance consignment is shown in steps S830 to S818 in FIG. 9 and steps S840 to S843 in FIG.
  • the processing of the customer IC card 2 is shown in steps S110 to S124 in FIG.
  • Steps S810 (Fig. 9), S1210, S1111 (Fig. 13) Steps S810, S1210 are mutual authentication between IC terminals. Since it is as described above, the description is omitted.
  • step S1211 the customer IC card 2 confirms the access right of the in-store IC card 3 to be accessed. In other words, referring to the access authority table in FIG. If the customer's IC card 2 is not in the hacking state, confirm that the access is free.
  • step S811 the POS terminal device 1 issues an issuance commission and calculates the number of issued N according to the notified sales amount.
  • step S8 12 it is confirmed that the resulting numerical value N is equal to or greater than the natural number “1”. If the numerical value N is equal to or greater than “1”, the numerical value N is issued. Transition. If “1” or less, the process proceeds to the completion step of step S818.
  • the store IC card 3 issues the lottery for the number of issued sheets N calculated in the previous step S811 in steps S813 to S817.
  • step S813 the lottery number and the electronic signature are read from the lowest number of the lottery number range with reference to the issuable lottery voting frame number table 712 shown in FIG. Next, the lowest order of the area of the corresponding table 7 12 is rewritten.
  • step S814 an electronic signature using the store IC card 3 is created using the read number and the electronic signature. For this reason, the encryption key 706 shown in FIG. 8 is used, and encryption is performed by the encryption logic mutually authenticated with the customer IC card 2. Thereafter, in step S815, the lottery number, the electronic signature, and the electronic signature created with the store IC card are transferred to the customer IC card 2.
  • step S816 the store IC card 3 stores the transferred lottery number, issue date, and issue store in the issued lottery / voting ticket storage area 711 of the memory of FIG. Store the signature,
  • step S122 of FIG. 13 the customer IC card 2 encrypts the serial number and the digital signature of the received information with the mutually authenticated encryption logic and its own encryption key. Then, it is checked whether the digital signature added by the store IC card 3 matches the encrypted information. Next, if it can be confirmed that it is correct, in step S1213, the lottery number in the lottery and betting ticket information area 43 of FIG. Store. In addition, the digital signature read from the table of the store IC card 3 is associated with information such as the lottery number and the like, and externally. Store in an area protected from access.
  • step S817 the in-store IC card 3 determines whether or not the number of issued lotteries has reached the number N calculated in step S811. If not, return to step S813 and repeat.
  • Step S 8 1 S 1 2 1 4
  • step S817 When the shop IC card 3 has issued the lottery for the corresponding number in step S817, it issues an issuance completion notice to the customer IC card 2 in step S818. In response to this, the customer IC card 2 receives and stores all of the information correctly, and outputs a storage completion notification to the store IC card 3 as a storage end process in step S1224. This process ends. On the other hand, in step S818, the store IC card 3 receives the storage completion notification from the customer IC card 2 and then transmits an issuance completion notification to the control unit 17 of the P0S terminal device 1. Then, the lottery issuing process ends. Then, the process returns to step S803 waiting for a command.
  • the store IC card 3 executes steps S830 to S8338 in FIG. . Further, the customer IC card 2 executes steps S1210 through S1214 in FIG. 13 described in the lottery issuing process. Thereby, the voting ticket issuance process is performed. Since the processing of the customer IC card 2 is as described above, the description is omitted here, and only the processing of the store IC card 3 is described.
  • step S830 the store IC card 3 performs mutual authentication with the customer IC card 2. This mutual authentication is the same as that described above, and the description is omitted. Step 8 3 1
  • step S831 the store IC card 3 divides the amount notified from the P0S terminal device 1, that is, the discounted sales amount, by a fixed reference amount, and Calculate N. For example, if the notified amount is 300000 yen and the reference amount is 10000 yen, the number of voting units is 3 °.
  • Step S 8 3 2 The in-store IC card 3 reads out the voting frame number with reference to the issuable lottery number / voting frame number table 7 12 in FIG. Then, it instructs the customer input pad 20 in FIG. 2 to display the calculated number of voting units and the voting frame number. Based on this, in step S833, the customer input pad 20 displays the number of voting units and the voting frame number on the display unit 20c. According to this display, the shopper enters the vote number and the number of votes using the keypad 20b.
  • the entered vote number and the number of votes are displayed on the display unit 20c, and the customer input pad 20 displays the remaining number of votes.
  • the customer input pad 20 transfers each voting number and each voting unit to the store's IC card 3
  • the store IC card 3 receives these in step S834. Then, the in-store IC card 3 creates voting information for each voting number in this step S835. In other words, using a vote number, the number of votes cast for that vote number, the date of issue, the code uniquely assigned to the store IC card 3, and the serial number of the betting ticket, an electronic signature that has been subjected to a predetermined operation Create This digital signature may be a simple predetermined addition, subtraction, multiplication, or division, without being limited to encryption using the encryption key of the store's IC card 3 or the encryption logic used for mutual authentication.
  • the refunded electronic signature is memorized, and when the other person's voting ticket is refunded, the electronic signature of the other person's voting ticket is compared with this electronic signature to check for duplication. This prevents a voting ticket with the same ballot number from being refunded twice. Furthermore, by decrypting the electronic signature of the voting ticket, it is confirmed whether the same information as these voting information, that is, the voting number, the number of voting units, the code of the store IC card, the issue date, and the serial number can be restored. This prevents counterfeit voting tickets.
  • step S8336 the store IC card 3 stores the voting ticket information created in the above step S8355, that is, the voting information and the electronic signature in the area 711 in FIG. To pay.
  • step S8337 the store IC card 3 transfers the stored betting ticket information to the customer IC card 2. All transfer is completed and customer IC card 2 Upon receiving the storage completion notification, the store IC card 3 notifies the PS terminal device 1 of the completion of the entrustment process in step S838. Then, the process returns to step S803 waiting for a command.
  • step S 2 14 of the flowchart in FIG. 3 if the purchased terminal includes a product to be issued a coupon ticket, the P ⁇ S terminal device 1 Outsourcing of tickets.
  • the in-store IC card 3 executes the issuance process in steps S840 to S843 in FIG.
  • the customer Ic force 2 executes steps S1210 through S1214 in FIG.
  • Steps S1210 through S1214 are described in the above-mentioned lottery issuing process.
  • the processing is the same as that described in the lottery issuing process except that the storage area is specified and the access authority confirmation area is different.
  • the coupon is stored in the coupon area 44 of the customer IC 2 in FIG. Therefore, the description of the processing of the customer IC card 2 is omitted.
  • Step S841 is the mutual authentication between the IC cards described above, and the description is omitted.
  • the store IC card 3 searches for the corresponding coupon ticket table 713 in Fig. 8, and the coupon corresponding to the product code notified from the P0S terminal device 1. Search ticket information. Then, the store's IC card 3 reads the corresponding coupon information. That is, for the relevant coupon, the product code to be discounted in the next transaction, that is, the product code of the product for which the issued coupon can be used (hereinafter referred to as the issued coupon product code), the discount rate, The attached electronic signature is read.
  • step S842 the store IC card 3 reads the issued coupon product code, discount rate, and electronic signature, the issue date, the ID code assigned to the store IC card 3, and the issued coupon ticket.
  • a new digital signature is created by adding, subtracting, multiplying, and dividing the serial number of a given number by a predetermined formula.
  • step S843 the store IC card 3 stores these coupon ticket information in the issued coupon ticket storage area 715 of the memory 65 in FIG. Further, the store IC card 3 transfers the information to the customer IC card 2. Thereafter, when the transfer is completed and the storage completion notification is received from the customer IC terminal 2, the store IC card 3 issues a consignment processing completion notification to the control unit 17 of the POS terminal device 1. Then, the process returns to step S803 waiting for a command.
  • step S222 of the setting mode in FIG. 3 the P0S terminal device 1 executes a process of reading a code of a product to be issued a voucher.
  • a corresponding flowchart for the store IC card 3 is shown in step S860 of FIG. 11 In this step S860, the store IC card 3 is the P0S terminal 1 These read commands are received, the corresponding coupon ticket table 7 12 in FIG. 8 is accessed, and the product code is read. Then, the store IC card 3 transfers the product code to the P0S terminal device 1 and ends the process. Then, the process returns to step S803 waiting for a command.
  • step S215 in FIG. 3 the P0S terminal device 1 performs a process of entering advertisement information into the customer IC force 2.
  • the corresponding processing flow of the customer IC card 2 is shown in steps S1240 to S1243 in FIG.
  • step S140 upon receiving the advertisement information write command from the POS terminal device 1, the customer IC card 2 checks the access authority table 46 in FIG.
  • step S1241 the customer IC card 2 notifies the POS terminal device 1 of the storage area. For example, the POS terminal device 1 is notified of the storable address, that is, the storable capacity from the start address of the storable area.
  • the advertisement information is transferred from the P0S terminal device 1.
  • the customer IC card 2 receives the information and proceeds to the advertising area 45 in FIG. Next is stored.
  • the customer IC card 2 sends a notification indicating the completion of the reception to the POS terminal device 1 and ends the processing.
  • step S 1 2
  • FIG. 16 is a configuration diagram of the display
  • FIG. 17 is a perspective view of the display. In both figures, the same numbers indicate the same items.
  • 15000 is a display
  • 1511 is an electrical contact to the terminal of the IC card
  • 1150 is a key
  • 1551 is a key control section
  • 1152 is an interface.
  • the circuit, 1513 is a microcomputer
  • 1514 is a display control circuit
  • 1515 is a display section.
  • reference numeral 1518 denotes an IC force.
  • the display unit 1515 is capable of displaying tens of digits of character characters, and is composed of a display device such as an LCD or a liquid crystal display. The number of keys is 3 to 6, and these can be combined to input data or specify a mode.
  • the contact point 1511 is provided inside the card entrance 1516 in Fig. 17 and when the customer IC card or the store IC card is inserted, those IC cards 15 Make electrical contact with 18 contacts to enable information communication.
  • the size of the display 150 is about 30 mm x 50 mm x 5 mm, and is portable.
  • Step S 1 250 ( Figure 15)
  • the IC card 1518 confirms the access right of the display unit 1500.
  • access to the digital signature area is prohibited, as shown in the access authority table in FIG. 6, but all other areas can only be read (READ). I have.
  • the display 1500 does not always verify the password in the e-wallet data area of the IC card 1518 and the lottery information. Access is not possible.
  • the access authority table is expanded to a work area (not shown) in the IC card.
  • the IC card 15 18 confirms whether or not it is locked. If it is in the locked state, it is notified to the display unit 1500 that it is in the locked state, and the flow shifts to step S125i. If the lock has been released, the process proceeds to step S1253.
  • the display unit 1500 receives this status information, and displays a lock state, for example, “SHICK” on the display unit 151.
  • the customer When the IC card 1518 is locked, the customer operates the display unit 150Q key -15010 to input the password. For example, the CPU 1513 of the display unit 1503 shifts the numerical value by pressing one of the keys, and if another key is pressed by the corresponding value, the numerical value is changed. Is registered in an internal memory (not shown). Repeat this process for the number of digits corresponding to the password, and finally press the other key twice consecutively to enter the password. These can use key input control functions used in mobile phones and various mobile devices.
  • the password entered by the customer under such control is transferred from the CPU 1513 in FIG. 16 to the IC card 1518.
  • step S1252 the password stored in the IC card 1518 is compared with the entered password. If there is a corresponding relationship, the flow shifts to step S1253 of the reading process.
  • step S1253 of the readout process first, the IC card 1518 reads out the balance of the electronic wallet area 42 shown in FIG. 5, and reads the balance into the display 1500 in FIG. Supply.
  • the display unit 1500 displays the balance on the display unit 1515. Display 1 5 0 0
  • the operator switches from the balance display state to the other information display state by using two of the keys in FIG. 17. In FIG. 15, the keys are tentatively represented as an A key and a B key.
  • step S1254 the IC card 1518 advances the address and the first in the area where the transaction history information of the electronic wallet area 42 in FIG. 5 is stored. Read transaction history. Then, the transaction history is supplied to the display unit 1500 and displayed on the display unit 1515. Next, when the key is pressed again and the signal is received by the IC card 1518, the next transaction history is read out, and the display history is similarly displayed by switching the previous display to the previous display. Is supplied to the display 150. Hereinafter, this operation is repeated every time key A is pressed, and the last transaction history is obtained. When key A is pressed, the balance in the balance area is supplied to the display unit 1500 again.
  • step S125 when the key B is pressed, an instruction indicating that the key B is pressed is supplied to the IC card 1518, and the IC card 1518 executes step S125.
  • step S1255 the information of the first ticket in the lottery and betting ticket area of the IC card 1518 is read out and supplied to the display unit 150, and the information of one betting ticket or lottery is read. indicate.
  • the IC card 1518 supplies the information excluding the electronic signature area shown in FIG. 5 to the display unit 1500 to be displayed.
  • step S1257 the flow shifts to step S1257 to read the information of the next ticket.
  • the key A By pressing the key A one after another, the information of each ticket in the lottery and betting ticket information area 43 of FIG. 5 is read, supplied to the display 150, and displayed.
  • step S1258 when the key B is pressed, the flow shifts to step S1258. Also, in step S1252 described above, even if the passwords do not match, the flow shifts to step S1258 to display the advertisement area.
  • step S125 the information stored in the advertising area 45 in FIG. 5 is read. This is supplied to the display unit 1500 so that one line of advertisement information is displayed. Every time key A is pressed, the advertisement area 45 of the IC card 1518 is read out in the order of the storage address of the advertisement and supplied to the display 1500 in step S1258. Table Show. Thus, even if the advertisement is long, it is read out in order by repeatedly pressing the key A and displayed on the display section 150 of the display 150 in FIG. become.
  • the IC card 1518 shifts to step S1259 for displaying coupon information.
  • the IC card 1518 also has the same function as in the reading of the electronic wallet area, and the lottery and voucher ticket information areas. Only information that can be made public without reading is read from the first coupon ticket in the coupon ticket area 44 in FIG. 5 and supplied to the display 150.
  • the indicator 15 15 in FIG. 17 displays such information. .
  • step S 1 260 the information of the coupon ticket stored next is displayed on the display unit 15 15 in step S 1 260 at each time.
  • step S 1 261 it is checked whether or not it is in the locked state, and if not, the process returns to the electronic wallet area reading step in step S 1 253. If it is in the locked state, the password collation is performed in the same manner as in step S1252. If the passwords match, the process returns to step S1253 for reading the electronic wallet area. If the passwords do not match, the process proceeds to step S1258 to read the advertisement information, and the process is repeated thereafter.
  • the contents of the IC card can be confirmed.
  • the electronic signature cannot be visually recognized from the display 150, the ticket cannot be duplicated or forged based on the information of the displayed lottery or the coupon.
  • advertisements for the store can be displayed on the display of the customer.
  • FIG. 18 is a block diagram of the communication device
  • FIG. 19 is a perspective view of the communication device.
  • 1518a and 1518b are customer IC cards, each of which is owned by a different customer.
  • the communication device 1600 is portable It is about the size of a calculator, for example, 70 mm wide, 110 mm long, and about 10 mm thick. Then, by a predetermined operation, from one IC card 1518a inserted into the communication device 160 to the other IC card 1518b, electronic cash, a cash voucher, lottery, a voting ticket Can be relocated.
  • 1610 is a microprocessor with built-in memory
  • 1611a and 1611b are contacts, which make electrical contact with the contacts of IC cards 1518a and 1518b.
  • electronic information can be communicated between the IC card and the microprocessor 1610.
  • 1 6 1 2b is an interface circuit for the IC force connected to each contact.
  • 16 1 1 is a key board, numeric keys and other functions. It is composed of a single key.
  • Reference numeral 1617 denotes a control circuit of the keyboard
  • 1615 denotes a display
  • 1614 denotes a display control circuit of the display.
  • the IC cards 1518a and 1518b are inserted into the upper and lower slots of the communication device 160, respectively, so that information can be exchanged.
  • FIG. 19 the IC cards 1518a and 1518b are inserted into the upper and lower slots of the communication device 160, respectively, so that information can be exchanged.
  • each IC card 1518a, 1518b When each IC card 1518a, 1518b is inserted into the slot of the communication device 160, each IC card starts the processing shown in Fig. 13. . That is, as described above, in step S1221, it is confirmed whether the connected device is a correct device. Then, in S 122, what is the connected device is identified.
  • this information is received by the microcomputer 1610 via the interface circuits 1612a and 1612b, and the processing is performed in a time-division manner.
  • the microcomputer 1610 of the communication device 1600 sent the information to the display 1615 via the display control circuit 1614. Displays the contents that prompt mode input.
  • the owner of the communication device 16100 selects and presses a predetermined function from the function keys of the key group 1611 here.
  • Electronic cash between IC cards, lottery, voting ticket, coupon In the case of transferring a Bonn ticket, for example, press the key marked “Transfer” (hereinafter referred to as “Transfer” key).
  • the microcomputer 1610 displays the type of the transfer target on the display 1614. For example, “Electronic cash” is displayed first, and thereafter, each time the “Transfer” key is pressed, the transfer target is displayed in succession as “Lot”, “Vot ticket”, “Coupon”.
  • the type of the transfer target is specified.
  • the microcomputer 1610 recognizes that the transfer target is a lottery.
  • the microcomputer 1610 then displays the information on the display 1615 in order to determine the relocation destination and the relocation source. For example, “Slot 1 to 2?” Is displayed first, and if the execution key is not pressed within a certain period of time, “Slot 2 to 1?” Is displayed.
  • the execution key of the key group 1611 is pressed, the contents displayed on the display 1615 are the transfer destination and transfer source specified by the operator. Recognize that.
  • the transfer of the lottery from the IC card 1518a to the IC card 1518b will be described as an example.
  • the microcomputer 1610 of the communication device 1600 transfers the command for reading the drawing area to the IC card 1518a via the interface circuit 1612b. After receiving this command and confirming the access authority, the IC card 15 18 a reads the lottery information from the corresponding area, that is, the lottery / voting ticket information area 43 in FIG. 5, and reads the contact information. Transfer to 1600. At this time, only the information of each lottery is transmitted without reading the electronic signature area. In FIG. 18, the microcomputer 1610 of the communication device 160 temporarily stores the lottery information successively transferred to the internal memory. Thereafter, information for one lottery in the unit is displayed on the display 1615 via the display controller 1614.
  • F 1 key a key labeled “F 1” (hereinafter referred to as “F 1 key”)
  • the microcomputer 1610 identifies the press of the F1 key based on the key press signal from the key control circuit 1617, and displays the next lottery information stored in the memory as described above on the display 16 Display on 1-5. Hereinafter, this operation is repeated by pressing the F1 key. Operator is relocated When the lottery that has become is confirmed on the display 1 6 1 5, the execution key described above is pressed.
  • the microcomputer 1610 recognizes that the execution key has been pressed and knows the lottery to be transferred.When the lottery to be transferred is determined, the microcomputer 1610 sends the IC card 1518a to the IC card 1518a. Then, the transfer command is transferred together with the corresponding lottery number. At the same time, a new lottery storage processing command is transferred to the IC card 15 15 18 b. According to the reception of each command from microcomputer 1610, IC card 1518a and IC card
  • the transfer source IC card 1518a reads the corresponding lottery information together with the electronic signature this time, and performs the necessary encryption processing and new electronic signature processing at the time of transfer, as described above. Send to IC card 15 18 b. After verifying the received lottery information and electronic signature, the IC card 1518b notifies the IC card 1518a of the completion of the transfer when it is confirmed that the transfer is authentic. At the same time, the IC card 1518b stores the transferred lottery information and the electronic signature in its own lottery storage area. Meanwhile, IC card
  • the 1518a Upon receiving the transfer completion notification, the 1518a deletes the information of its own lottery. This completes all relocation work.
  • the transfer target has been described by taking lottery as an example.
  • transfer can be performed between IC cards by the same processing. If the IC card is in the locked state, check the state before performing the transfer process, and have each card ⁇ ⁇ input the password from the key group 1611 to unlock the locked state. Needless to say, it is good to have the password collated within each IC card.
  • the store's IC card 3 stores the service ticket issued at the chain store and the service ticket collected by providing services such as refund.
  • the tallying device 9 performs settlement of the service ticket of the store's IC card 3 and other processes.
  • FIG. 20 is a block diagram of the hardware of the counting (managing) device, and FIGS.
  • FIG. 23 is a flowchart of the processing
  • FIG. 24 is a table explanatory view of the main part.
  • the counting (management) device 210 (in FIG. 1, denoted by 9) is composed of a general personal computer. That is, the counting device 210 is a microcomputer 211, a display 210 such as a CRT, a keyboard 210 for character input, a RAM memory 210, a laser printer, etc. Printer 204, an external storage device 210 such as a node disk device, and a line communication device 210 such as a modem.
  • the tallying device 2100 is used to access the IC card reader / writer 2108 for accessing the IC card used by the administrator of the tallying device 2100 and the store IC card 3. Equipped with an IC card reader / writer.
  • the tallying device 2100 must be installed in a place such as a bank where the safety aspect is guaranteed, and must be managed according to a predetermined safety standard.
  • the counting device executes step S1771 of the process selection input.
  • step S1771 of the process selection input on the screen of the display device 2101 shown in FIG. 20, data setting or data access to the force or transfer of each service ticket is performed, which involves accessing the card.
  • a menu is displayed for selecting whether to perform a forced access process or to collect and settle tickets from each IC force. Based on this, the operator selects a process to be selected by using the keyboard 211.
  • Step 1720 is a step of inputting information on the issued lottery and the issued voting ticket.
  • the operator determines whether or not the lottery service is to be performed for the issued lottery, what the lottery numbers are from what number, what the validity period is, what time the lottery date is, As a service of the lottery, enter whether it is a prize, cash, gift certificate, etc.
  • the operator sets the number of voting digits, the number that can be voted on, the condition, and the frame number.
  • the voting ticket issuance period, voting ticket number range, lottery date, etc. will be set.
  • Step 1721 is a step for setting coupon ticket information.
  • coupon tickets the information described in the documents and the like sent from each organization is entered from the keyboard 210 of FIG. For example, a product that can issue a coupon, its product code, a product code of a coupon that can be issued with the product code, a product code of an issued coupon, a discount rate, a validity period, and the like.
  • the product on the coupon ticket and the product on which the coupon is issued may be different. That is, it can be set so that a coupon for product B is issued when product A is purchased. This can be used, for example, to issue a coupon for a new product when purchasing an old product to promote the sale of a new product. Further, when the commodity A is purchased, a coupon for the commodity A, that is, a coupon for the same commodity may be issued. Therefore, when setting the information, the product code of the purchased product and the product code on the coupon may be different or the same, and the product code, discount rate, It is necessary to enter information such as the validity period and the like.
  • a floppy disk drive may be connected to the apparatus, and the information may be input from a floppy disk in response to the supply of a floppy disk in which such information is stored. .
  • Step 1722 is a step of setting a winning ticket. If the ticket is a lottery, the lottery will be drawn manually by the specified method based on the issued ticket number.
  • a lottery will be drawn for each class such as 1st, 2nd, etc
  • the total number of voting slots is counted and obtained. This may be done manually. Further, statistical information may be obtained by a personal computer or the like using the “EXCEL” software (trade name) from the database created by the recovery processing described later, and may be aggregated. The most popular voting space is the winning voting space.
  • a totalized betting ticket number corresponding to the betting ticket voting for the winning voting frame is extracted. This may be performed manually, or the search may be performed using a database search software such as a personal computer. In any case, the betting ticket number of the winning betting ticket and various information of the betting ticket are input.
  • the lottery number, issue date, issue store, and electronic signature are used, and in the case of betting tickets, the vote number, number of units, voting frame number, issue date, and issue date , And an electronic signature are input and stored in the external storage device 210.
  • the microcomputer 211 of FIG. 20 executes the process selection input step of FIG.
  • step S1702 When the operator selects the card access processing in the processing selection step S1701, the processing shifts to step S1702. Since input processing requires processing with the IC card, in step S1702, first, the user is prompted to insert the store IC card 3 into the display 2101 of FIG. 20. Display. In accordance with this, the operator inserts the store IC card 3 into the IC card reader / writer 210. As a result, the same connection device authentication as described in the description of the P0S terminal device 1 is performed between the microcomputer 211 and the inserted IC card 3, and the correct IC card is inserted. Check that the correct device is accessing the IC card.
  • Step S1703 is a step of authenticating the microcomputer 211 operator. That is, check whether the operator has the right authority. For this reason, the user is asked to enter a password and user ID. The microcomputer 211 compares the password registered in advance in the device with the input password, and confirms the access authority assigned to the user ID in advance. This authenticates the person who is allowed to access the IC card. If the authentication is successful, the process moves to the next step S1774.
  • This step S1704 is a step of selecting a process. In this step, a write process (S1755-S1711) to the IC card or a collection / transfer process shown in FIG. 22 is selected. For this reason, the selected item is displayed on the display unit 210 of FIG. 20, and the operator specifies and inputs the relevant item on the keyboard 210.
  • This writing process is a process of writing information on various service tickets that can be issued to the in-store IC card 3.
  • the processing flowchart of the in-store IC card 3 is not shown in FIG.
  • Step S1705 in FIG. 18 is a step of setting a range of issueable lottery numbers.
  • the operator sets the key number range of the ticket to be assigned to the store IC card 3 from among all the lottery numbers previously set in step S1720. 0 Specify from 2.
  • the microcomputer 211 reads out the previously stored information from the external storage device 210 and displays it on the display device 210. Therefore, the operator looks at the range of the lottery number and the voting number which have not been issued yet from the displayed number range, and selects a number range of the ticket which is allowed to be issued to the store arbitrarily from the range. Enter from 2.
  • This input method may be specified and input by a pointing device such as a mouse (not shown) connected to the keyboard 210 or directly connected to the microcomputer 211.
  • the microcomputer 211 writes the issued flag, issued store code, and issued date in the specified number range on the database.
  • the present step S 1705 is completed, and the flow shifts to the next step S 1706.
  • Step S1.706 is a step of creating an electronic signature.
  • the electronic signature is created by encrypting it with the specified encryption logic based on the issuing code, ticket number, and issue date.
  • the microcomputer 211 executes this processing. Note that this encryption (that is, creation of an electronic signature) uses a dedicated LSI for verification and a digital signal processor DSP. You may do this.
  • Step S 177 is a step of transferring the lottery from totaling device 210 to store IC card 3.
  • the ticket information is transferred in the same manner as the transfer of the ticket from the in-store IC card 3 to the customer IC card 2 first.
  • the issue number range, issue period, validity period, etc. are added and transferred to the store's IC card 3.
  • step S111 the device access is performed in step S111.
  • step S111 the information on the received lottery is encrypted to obtain encrypted data.
  • step S111 the digital signature transmitted at the end of the lottery and created by the counting device is compared with the encrypted data, and it is confirmed whether or not they match, and verified. If they match, in the next step S111, they are stored in the corresponding areas of the memory in the IC card 3, respectively.
  • the electronic signature attached to each ticket is stored in a secret area, that is, an area that cannot be accessed by a specific device, in association with each ticket, and the transfer is completed.
  • a secret area that is, an area that cannot be accessed by a specific device, in association with each ticket, and the transfer is completed.
  • the IC card 3 proceeds to step S111 to calculate the totaling device.
  • a completion notification is issued at 2100 and the processing ends.
  • Step S1708 is an initial step for issuing a betting ticket.
  • Book In step S 178 the entire issue range of the betting ticket number is displayed on the display device 210 of FIG. 20 in the same manner as in the lottery, and the corresponding range is indicated by the keyboard 2 1 0 Selected by 2 Assuming that the total number of betting tickets to be issued during the predetermined period is 100, the numbers in the selected number range are assigned from 1 to 100 for each betting ticket. This ensures that one ballot ticket is given one number. Thus, if someone else duplicates and refunds this number, you can check that only one refund is required.
  • the microcomputer 211 displays the previously set voting frame number for this period or the voting conditions such as the number of digits that can be voted on the screen 2101. indicate.
  • the execution input for confirmation is pressed from the keyboard 210, the issue number range, issue destination, and issue date are stored in the memory. Then, the flow shifts to step S1799 in FIG.
  • Step S1799 is a step of creating voting ticket information for each ticket. That is, information such as the ticket number, issuer, issue date, issuer, etc. is created in the order of the issue number range stored in the memory 211 of FIG. 20 and further based on these. Create an electronic signature.
  • One piece of ticket information is composed of created electronic information (in the case of a voting ticket, information excluding the slot number and the number of votes cast) and an electronic signature.
  • One ticket information is stored in the memory 210.
  • ticket information is created for each ticket, and ticket information is created for all numbers in the corresponding range and stored in the memory 210, so that step S in FIG. 1 709 is completed, and the process proceeds to the next step S 171 ⁇ .
  • Step S1710 is a step of transferring the betting ticket related information to the IC card 3 and storing the issue management information in the tallying device 210.
  • the information of each ticket including the electronic signature previously stored in the memory 210 3, information such as the number range, issuer, issue date, and validity period are stored in the microcomputer 2110. Reads. Then, the microcomputer 211 transfers this to the IC card reader / writer 211, and transfers the ticket information to the IC card 3. Then, other accompanying information, that is, frame information such as a ticket number range and a voting slot number, and information such as an issuable period are transferred to the IC card 3.
  • the processing flowchart of the IC card 3 is shown in FIG. That is, the IC card 3 performs the same transfer processing as in the lottery in steps S1113 to S1116 in FIG. Aggregation device 2 1 When the notification that the transfer is completed is received from the IC card 3, the process proceeds to the next step S1771.
  • Step S1771 is a step of issuing a coupon.
  • the microcomputer 211 reads out all the information of the previously created coupon ticket from the external storage device 210, and transfers it to the IC card 3 via the IC card league writer 210. .
  • the IC card 3 receives, verifies, and stores it in the corresponding area of its own memory in step S111113 or step S116, which was described above with reference to FIG. This ends the relocation,
  • step S1744 of the previous process selection the processing of the counting device returns to step S1744 of the previous process selection. That is, it waits for the input of the process selection.
  • step S 1801 the operator selects one of the three types of processing of collecting lottery and betting ticket information issued at each store, collecting a winning ticket, and collecting collected coupons. This is a step of selectively inputting processing. For this reason, in the counting device 210, the microcomputer 211 displays the display items shown in the respective processes on the display device 210. Next, the operator uses the keyboard 210 to select the corresponding display item. In response, the microcomputer 2100 shifts to the specified step.
  • This process is for collecting information on lottery and betting tickets issued to the customer's IC card 2 from the store's IC card 3 for settlement.
  • the first step S 1802 is an initial step.
  • This step S1802 is a step of collecting the issued lottery and issued voting tickets, including information for management. For this reason, the information necessary to create the aggregation table I shown in FIG. 24 (a) is transmitted to the IC card via the keyboard 210 and the IC reader / writer 211. 3 or
  • the microcomputer 211 of FIG. 20 displays on the display 211 so as to input the store name of the IC card 3.
  • the user inputs “x X store” from the keyboard 210.
  • the store name and the code of the store are registered in advance in the external storage device 210 together with the address and contact information, and are read out from the external storage device 210 before inputting. Displayed as 1 0 1 Next, the corresponding store may be selected from the keyboard 211.
  • information for identifying the person who brought the store's IC card 3 for checkout is input so that the fraud can be verified at a later date. This may be the name or ID number of the store owner's IC card 3 owner. If the store has the clerk responsible for the settlement in advance, the ID number of this clerk may be registered.
  • the microcomputer 211 sends a collection command of the relevant information to the store's IC card 3 via the IC card reader / writer 210.
  • the IC card 3 confirms the access authority, reads out the information on the issued lottery and the issued betting ticket from the area 711 described above with reference to FIG. To send to.
  • the microcomputer 211 and all tickets (lots, voting tickets) are temporarily loaded in the memory 110 3.
  • step S1803 verify that all tickets have been issued correctly by verifying that the tickets have been issued in a reasonable period and that the electronic signature is correct.
  • a settlement process is executed in step S184. That is, the payment is performed as shown in the payment table I of FIG.
  • the area of the store concerned is read, and the number of tickets and the number of tickets are totaled for each issue period in the area 201 of the store of FIG. 24 (a).
  • FIG. 24 (a) shows an example of 55 lotteries and 55 lottery lots, while the betting ticket has 30 tickets and 80 lottery votes.
  • the number of lotteries is considered that one lottery is equivalent to one lottery.
  • the number of schools is 55 schools, and they read each ticket (lot and voting ticket) one by one from the memory 2103 in Fig. 20 and add up the relevant information and total them.
  • checkout table I This accounting information is added to the information previously stored in each area of, and the settlement table I is updated.
  • step S1805 for storing the mouth information, and the information of each ticket (lot and voting ticket) developed in the memory 210 of FIG. In each ticket area 2 0 1 1.
  • the input information such as the ID of the payer, that is, the person who brought the IC card 3 described above to the tallying device 210 for payment, is added to each ticket (lottery and voting ticket). I do.
  • the process returns to the process selecting step S1704 in FIG.
  • step S1860 is an initial step, in which a winning ticket is collected and pre-processing for that is performed.
  • the settlement table II shown in Fig. 24 (b) is used for the pay ticket collection process.
  • the settlement table II has the same area as the settlement table I in Fig. 24 (a), an area for storing the number of winning tickets (lottery and voting tickets) and the number of lots, and a refund amount for each store.
  • step S1866 in FIG. 12 includes input processing of such information.
  • the microcomputer 211 displays the items to be input on the display 210, and causes the keyboard 210 to input necessary information. It goes without saying that this information includes the ID of the store and the ID of the person who came to the checkout, as described above.
  • the information input from the keyboard 210 is expanded in the memory 210 and is temporarily stored.
  • the microcomputer 211 sends a ticket transfer command to the IC card 3 via the IC card reader / writer 210.
  • the IC card 3 confirms the access authority of the accessing totaling device 210 You. Then, when it is determined that the device is a transferable device, the IC card 3 reads the area of the winning ticket, creates an electronic signature, and transmits the electronic signature. The information of the ticket transferred from the IC card 3 is temporarily expanded in the memory 210. When all the winning tickets have been collected, the flow proceeds to the verification processing step S 1807 of each collected ticket.
  • step S 1807 of the lottery verification process first, the lottery is verified by each received ticket and the electronic signature transmitted along with each ticket. That is, the IC card 3 creates an encrypted electronic signature for each of these tickets, but the tallying device 2100 also performs the same encryption and receives the received electronic signature and the tallying device 2 1 Check whether 0 matches the digital signature created by encryption.
  • the transferred ticket exists in the information on the winning ticket previously stored in the external storage device 210.
  • the collected ticket is a winning ticket, check whether the digital signature issued at the time of the previous issue can be reproduced from other information of the received ticket.
  • the same ticket number that is, the lottery number or the betting ticket number
  • the same ticket number exists in the area 214 storing the log information of the tallying table ⁇ ⁇ ⁇ ⁇ of FIG. 24 (b). If the same number exists, that number is printed by the printer 210 of FIG. If the same number does not exist, the total is added to each item (1) in the totaling area 201 of the totaling table II of FIG. 24 (b).
  • a table of lottery numbers and reimbursement amounts is provided in the memory 210 of FIG. 20 to derive the amount corresponding to the grade from the lottery number. It is good to accumulate.
  • the refund amount corresponding to the ticket is calculated from the ticket information. That is, since a predetermined refund amount is set in the voting unit of the unit, the refund amount is obtained by multiplying the number of votes and the corresponding refund amount. This is accumulated in the area for summarizing the reimbursement amount in the totalization table II in Fig. 24 (b).
  • Each winning ticket (lottery and voting ticket) is stored as log information in the log information storage area 2104 of the aggregation table II in FIG. 24 (b).
  • Step S1808 is a step of updating the settlement table stored in the external storage device 210 of FIG.
  • the microcomputer 211 retrieves the relevant settlement table from the external storage device 210 into the total created in the memory 210 in step S 188. Update to Table II.
  • the new collected ticket information is added to the settlement table stored in the external storage device 210 in step S 189 of FIG.
  • the process returns to the processing selection input step S1774 in FIG.
  • Step S181 0 is a pre-processing step for collecting a collected coupon ticket.
  • Figure 24 (c) shows the settlement table ⁇ for coupons.
  • the settlement table III stores the information on the collected coupons, the number of collections, the total amount of the discounts associated with the collection, and the log information on the collected coupons, for each store, at the manufacturer of each product.
  • the microcomputer 211 of FIG. 20 displays an item to be input on the display 211 so as to guide the operation.
  • the operator inputs the designated information from the keyboard 210.
  • the input information is temporarily stored in the memory 210.
  • the microcomputer 211 sends a coupon ticket collection command to the IC card 3 via the IC reader / writer 210.
  • the IC card 3 reads out the collected coupons that have been collected from the memory area 714 of FIG. 8, respectively, creates an electronic signature, and then transfers the digital signature to the counting device 2100.
  • the aggregation device 210 expands the information received via the IC card reader / writer 210 into the memory 210 and temporarily stores it. When these transfers to and from the IC card 3 are completed, the microcomputer 211 executes the collected ticket verification step S1811 in FIG.
  • the same procedure as that for creating an electronic signature in the IC card 3 is performed based on various information related to the coupon, and the confirmation is performed.
  • a digital signature for Sent along with each coupon The digital signature is compared with the verification digital signature for verification.
  • the external storage device 2105 checks whether the coupon corresponds to the coupon set in the previous setting process, and checks whether the coupon is correct. When the verification of all coupons is completed, the process proceeds to step S1812 in FIG.
  • This step S1812 is a settlement processing step.
  • the settlement table III shown in FIG. 24 (c) is read from the microcomputer 211 and the external storage device 210.
  • the coupons that have been previously developed in the memory 2103 are categorized, accumulated, and updated.
  • step S1813 the microcomputer 211 copies the information updated on the memory to the external storage device 210, and the collection and transfer ends. As a result, the amount to be paid by each manufacturer is accumulated for each company and each store that has collected. At the same time, the collected coupons are stored in the external storage device 210.
  • the process returns to step S 174 of the process selection input of FIG. 21 and the microcomputer 211 waits for input of a process item from the keyboard 210.
  • step S1771 in FIG. 1 If the operator selects the item "input completed" from the keyboard 210 here, the microcomputer 210 returns to step S1771 in FIG.
  • step S1701 of the process selection input in FIG. 21 the process proceeds to the process shown in FIG.
  • step S1901 for authentication of the identity of the operator is first provided to strictly perform this.
  • step S1901 the operator's ID number and personal identification number are stored in advance in the external storage device 210 of the totaling device 210.
  • the operator is requested to provide a personal identification number, and confirms whether the personal identification number inputted from the keyboard 211 of FIG. 20 corresponds to the stored personal identification number. If the passwords do not match, the process returns to step S1701 of the process selection input of FIG.
  • step S1901 of the personal authentication the ID information of the operator performing the payment as described above is stored in the external storage device in advance. Alternatively, convert this into an IC card, and give the IC card for the tallying device to a specific authoritative official, for example, the manager in charge of chain stores, and confirm the operator with such an IC card May be used. In this case, the IC force reader / writer force of FIG. 20 is further used to access the operator's IC force force. If it is confirmed that the user is the correct operator, the flow shifts to the input step S1902 of the process selection in FIG.
  • step S1902 the tabulation device 2100 displays the selected item on the display 2101 in the same manner as described above, and causes the keyboard 2102 to input a processing item. If the processing specified from the board 210 is the settlement of the lottery and the betting ticket, the flow shifts to step S1903.
  • Step S1903 is a process of calculating the amount paid by each store according to the issued lottery and the number of betting tickets. This process is performed at the end of the period at a place such as a management association where the counting device is located. For example, in the case of monthly closing, processing is performed on the first day of every month.
  • the microcomputer 211 reads out the settlement table I shown in FIG. 24 (a) from the external storage device 210 into the memory 210, and extracts the total number of issued lotteries. I do. That is, the total number of issued bushes stored for each store is calculated first. Next, assuming that one lottery is issued for each fixed purchase amount determined between the stores, the contribution of one lottery in accordance with the number of issued pieces with respect to the total prize is calculated. For example, for a product with a total of 10 million yen, if 20,000 copies are finally the total number of issues, the calculation is assuming a contribution of 500 yen per copy. Further, the amount of each store ⁇ ⁇ ⁇ ⁇ in the settlement table I is multiplied by this amount to calculate the amount of each store's contribution to the lottery.
  • the amount paid per unit shall be a uniform predetermined amount.
  • the contribution for the voting ticket of the store is calculated.
  • the contributions obtained in this way are added to the contributions for the lottery created earlier to determine the contributions at the store. That is, in Fig. 24 (a) As shown in the settlement table I, the contribution of “XX store” is calculated assuming that the contribution of one lottery ticket is 500 yen and the contribution of one voting ticket is 100 yen. Is (55 sheets X 50,000 yen x 80 units X 100 yen), for a total of 35,500 yen.
  • step S 1905 for each store, the lottery and betting tickets issued at that store are printed.
  • the printed information is information of each ticket and does not include the electronic signature.
  • Step S1906 is a step of calculating the amount already paid by each store having already provided the service to the customer.
  • the microcomputer 211 reads out the settlement table II shown in FIG. 24 (b) from the external storage device 210 to the memory 210. After scolding, calculate the total refund amount for each store. In other words, the sum of the refund of the lottery in the settlement table II of FIG. 24 (b) and the refund of the voting ticket are calculated to calculate the total amount of the processed payment.
  • This calculation is performed for each store, and this is developed in the memory 210 of FIG. 20, and this step S1906 is completed.
  • step S 1907 a list of paid amounts for each store is printed. For this reason, the calculation result stored in the memory 210 is supplied to the printer 210 and printed out.
  • step S 1908 the microcomputer 211 prints the log information stored in the settlement tables I and II, which are developed in the memory 210, that is, the information of the winning ticket. .
  • control is performed so that the electronic signature is not included in the print information.
  • final settlement of the shop is performed. That is, the amount of payment (b) is subtracted from the amount of payment (a) for each store stored in the memory 2103 to obtain the settlement amount for the current term.
  • step S 1910 the settlement amount is printed for each store.
  • step S1911 Upon completion of the settlement amount printing process, the flow shifts to step S1911, and the information of each settlement table I and II stored in the external storage device 210 in FIG. 20 is updated. . That is, as for the log information of the collection ticket in the area 214 of FIG. 24 (b), the storage information is updated by adding the information indicating that the settlement has been completed, and the stored information is updated, as shown in FIG. 24 (a), The areas 201, 2 and 203 of (b) totaled for each store are cleared to zero. The issued tickets stored in area 101 of FIG. 24 (a) are also re-stored with the adjusted information added. In this way, the information stored in the adjustment tables I and II stored in the external storage device 210 is updated.
  • the manager Based on the settlement amount for each store issued by the tallying device, the manager manually creates an invoice for each store and performs the actual settlement process.
  • the process returns to the process selection input step S1902 in FIG.
  • step S1902 in FIG. 23 when coupon ticket payment processing is designated, the flow shifts to step S1902.
  • This step S 1920 is a step of data classification and settlement.
  • processing is performed to create a document to be sent to the manufacturer of the product and a document to be sent to the store.
  • the contents of aggregation by manufacturer are the settlement table III itself in Fig. 24 (c).
  • the coupon of the store ⁇ ⁇ and its amount are calculated. That is, the information of the same store is read out from the area for each maker in the aggregation table III, and the amount to be paid to each store is summed up from the merit.
  • the process moves to the next step S 1921.
  • Step S 1911 is a step of changing pages and printing for each maker. That is, the area of each manufacturer is read from the settlement table III in FIG. 24 (c), and the total payment and the payment to each store are calculated and printed. At the same time, the number of coupons for each product code used and the information on each coupon are printed. In this case, the information with the electronic signature is printed.
  • the store information such as the transfer account number, account name, and contact information for each store, is stored in the external storage device 210 of FIG. 20. These store identification information along with the amount paid to the store. By printing, payment processing on the maker side becomes easier.
  • step S1922 the page is changed for each store, and the settlement amount is printed for each maker. Further, at this time, a coupon which is log information is printed without an electronic signature.
  • the microcomputer 211 updates the value of each area in the settlement table III of the external storage device 210 to a state in which it is cleared so that the settlement table ⁇ is cleared. As a result, the table is in the initialized state, and the processing ends.
  • the process Upon completion of these steps, the process returns to the process selection step S1902. Thereafter, when the operator designates the end of the process, the process returns to the process selection input step S1701 in FIG. 21 so that the next process can be selected.
  • the settlement information can be classified and output for each store and each maker. Also, by reading the contents of the in-store IC card, the settlement information can be automatically output. For this reason, automatic payments can be made without building a large-scale online network. Therefore, it is especially effective for electronic transactions in shopping malls, chain stores, etc.
  • collected and issued tickets can be listed, and when problems such as the possibility of fraud occur later, verification can be performed by checking the log information printed on each of them.
  • the settlement operation with the store may be digitized.
  • the service ticket has been described as a lottery, a voting ticket, and a coupon, but a service ticket for providing other services can also be used.
  • the POS terminal device has been described as an example of the electronic wallet transaction device, the present invention can be applied to other devices capable of electronic wallet transaction.
  • the discount service has been described as a service to be executed at the time of electronic wallet transaction, but other services such as granting a gift certificate can also be applied.
  • the service ticket collection process was explained by transferring the service ticket from the customer card to the store IC card.However, the paper coupon was printed using the barcode scanner of the P0S terminal. It can also be read and stored in a store IC card.
  • the present invention is useful as a system for post-processing transaction data, and particularly useful as a post-processing system for customer service added to an electronic wallet transaction system.

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Description

明細 取引方法及び取引シス亍ム
技術の分野
本発明は、 I Cカードを使用した取引方法、 取引システム、 その管理装置及び I Cカードに関し、 特に、 取引装置に設けられた I Cカードの電子的価値を集計 する取引方法、 取引システム、 精算装置及び I Cカードに関する。 背景技術
最近、 I Cカードを用いた電子商取引すなわち電子財布取引が、 実用化されて いる。 この電子財布取引は、 顧客の持つ I Cカードに、 お金に相当する現金デー タを持たせ、 それを取引装置に移転するようなシステムである。 この電子財布取 引用の I Cカードは、 不揮発性 R A Mとプロセッサとが 1チップで構成された 1 チップマイコンを有する。 そして、 このマイコンが、 クレジッ トカードと同じ大 きさのプラスチックカ一ド内に、 保安性を高めた構造で内蔵される。
不揮発性 R A Mには、 電子的価値となる金額や暗証番号が記憶される。 更に、 不揮発性 R A Mには、 暗号化処理を行 モジュールと、 復号化処理を行うモジュ ールとがプログラムとして内蔵されている。 更に、 不揮発性 R A Mには、 これら モジュールを使用して、 I C力一ドをアクセスする装置自体の正当性の検証や、 その装置を使用して I Cカードにアクセスする人の正当性の検証を行う認証プロ グラムも内蔵されている。 これにより、 安全性が高められている。 このため、 改 ざんや磁気データの不正読取等の不正に弱い磁気カードに比較して、 I Cカード は安全性が高いというメ リッ トを有している。
電子財布取引は、 通常の現金を財布から取り出し相手に現金を渡す手順を電子 化したものである。 I Cカードの金額の一部が、 取引装置に、 取引の際移動した 場合、 I Cカードの残高がその分減少し、 取引装置のメモリの残高が増加する。
こう した電子財布取引は、 買い物等をする場合に、 現金を用意する必要がなく 、 取引処理の時間が現金に比較して短くて済む。 又、 小銭やお札等で財布がかさ ばるということがないので、 収納にも便利である、 更に、 多額の金額を運用する 商店や銀行等では、 現金そのものを扱わないので、 現金運搬時の盗難等に対する 安全性の面でも、 電子現金は高い安全性を持つという効果がある。
商店や銀行等では、 P 0 S端末装置等の取引装置に移転された電子的価値は、 取引装置内のメモリに記憶され、 閉店後に、 センターに送信され、 後方処理が完 了する。 このメモリ として、 前述の I C力一ドを利用したシステムが、 提案され ている (例えば、 日本国公開特許平成 9年 1 6 1 1 5 2号公報等) 。
この I Cカードを使用した電子財布取引を誘引するため、 電子財布取引と顧客 サービスシステムを組み合わせることが考えられる。 例えば、 特開平 7— 3 3 4 5 9 0号公報では、 クーポンのポイントカードサ一ビスを併用した電子財布取引 システムが提案されている。
このシステムでは、 電子財布取引に伴い、 サービスを発行して、 サービスを実 行することができる。 しかしながら、 かかるサービスを実行した場合に、 サ一ビ スの回収、 集計や精算等の手続きは、 人手に頼っており、 後方処理が煩雑である という問題があった。
又、 サービスとして、 クーポン券により商品の割引サービスが行われている。 このサービスを実施した場合に、 店誧側では、 これらクーポン券を、 データ集積 されたジャーナルと一緒に、 集計所に郵送していた。 集計所では、 各店毎、 各メ 一力毎に、 クーポン券を仕分けし、 各メーカが各店舗にいく ら支払うかを集計計 算する。 その後、 各メーカにクーポン券とともに支払うべき各店毎の額が郵送に て通知される。
即ち、 このサービスシステムでは、 クーポン券の後方処理は、 人手に頼ってお り、 店側の手間がかかるという問題があった。 又、 集計業者によるクーポン券の 割増しや、 集計データの偽造等、 不正にも弱いという問題があった。
従って、 本発明の目的は、 サービスの後方処理を自動化するための取引方法、 取引システム、 その管理装置及び I Cカードを提供することを目的とする。
又、 本発明の目的は、 サービスの自動分類及び集計を行うための取引方法、 取 引システム、 その管理装置及び I Cカードを提供することを目的とする。
更に、 本発明の目的は、 サービスの後方処理の不正を防止するための取引方法 、 取引システム、 その管理装置及び I Cカードを提供することを目的とする。 更に、 本発明の目的は、 電子財布取引を誘引する顧客サービスを付与するため の取引方法、 取引システム及びその管理装置及びその I Cカードを提供すること にめ 。
更に、 本発明の目的は、 電子財布取引に顧客サ一ビスを付与しても、 セキユリ ティの高い顧客サービスを提供するための取引方法、 取引システム及びその管理 装置及びその I Cカードを提供することにある。 発明の開示
本発明の取引方法の一態様は、 取引に伴い発生された取引データを処理する取 引方法において、 取引に伴う取引データを取引装置に設けられた I C力一ドに格 納するステップと、 前記 I Cカードを読み取り、 前記取引データの分類及び集計 を行うステツプとを有する。
又、 本発明の取引システムの一態様では、 取引に伴い発生された取引データを 処理する取引システムにおいて、 取引装置に着脱可能に設けられた I Cカードと 、 取引に伴う取引データを前記 I cカードに格納する取引装置と、 前記 I C力一 ドを読み取り、 前記取引デ一タの分類及び集計を行う管理装置とを有する。 この態様では、 取引装置が、 取引データを I Cカードで格納し、 管理装置が、 I Cカードを読みだして、 分類及び集計を行うため、 取引データの後方処理を自 動化することが可能となる。 又、 I Cカードによるため、 オンライン網を設けな くても、 実現できる。 更に、 管理装置が、 装置とは別の I Cカードから取引デ一 タを読み出し、 分類及び集計するため、 複数の店舗で回収された取引データから それぞれの店舗が受け取るべきあるいは支払うべき金額を精算することができる
。 その上、 取引データによる精算が、 I Cカードで全て可能になるので、 不正等 に対する保安性が高い。
本発明の他の態様の取引システムでは、 前記取引装置は、 顧客にサービスを供 与したサービス情報を前記 I Cカードに格納する。 これにより、 サービスの後方 処理の自動化が可能となる。
本発明の他の態様の取引システムでは、 前記取引装置は、 電子財布取引機能を 有する顧客 I Cカードと情報交換するためのカードリーダ一/ライ夕と、 前記 I C力一ドと情報交換するための力一ドリーダ一/ライタと、 前記顧客 I Cカード の電子的価値を、 前記 I Cカー ドに移転して、 電子財布取引を実行する処理手段 とを有する。
これによ り、 電子財布取引にサービス取引を付加したので、 顧客にとって便利 なサービスを、 電子財布取引用 I C力一ドに付与することができる。
本発明の他の態様の取引方法では、 格納ステップは、 顧客 I Cカードからサ一 ビス供与の対象となるサービス情報を抽出するステップと、 前記抽出したサ一ビ ス情報を前記顧客 I C力一ドから前記 I C力一ドに移転するステップからなる。 又、 本発明の他の態様の取引システムでは、 前記 I C力一ドは、 所望のサービ スを受けるためのサービス情報を発行し、 前記顧客 I Cカードに移転する機能と 、 前記顧客 I Cカードに格納されたサービス情報の内、 サービス供与の対象とな るサービス情報を抽出して、 回収する機能とを有する。
この態様では、 サービス券を電子化したサービス情報を、 紙片のサービス券の ように移転可能としている。 これにより、 サービス券を電子化しても、 紙片のサ 一ビス券のように、 流通性を持たせることができる。 又、 顧客 I Cカードに格納 されたサービス情報の内、 サービス供与の対象となるサービス情報を抽出して、 回収するため、 サービス券の自動発行及びサービス券の自動回収が可能となる。
このため、 利用者及びカード導入店舗の手間がかからずに、 顧客サービス機能 を付与することができる。 又、 サービス情報を独立に付与しても、 I C力一ドか らサービス情報を回収するため、 再度、 そのサービス情報により再度サービスを 受けるという不正を防止できる。
更に、 サービス情報の移転、 抽出を取引装置が実行するため、 サービス券を不 正なく発行でき、 且つサービス券の抽出も不正なく実行できる。 その上、 サ一ビ ス情報も、 電子現金と同様に扱うため、 複数種類のサービスを I Cカードに与え ることができる。
本発明の取引システムの他の態様では、 前記取引装置は、 前記電子財布取引に 伴う前記サービス情報を発行する。
本発明の取引システムの他の態様では、 前記取引装置は、 前記抽出したサ一ビ ス情報によるサービスを、 前記電子財布取引に反映する。
これらの態様により、 電子財布取引に直接反映した顧客サービスが可能となる 本発明の管理装置の一態様では、 管理装置は、 前記 I Cカードと情報交換する カードリーダ一/ライ 夕と、 前記 I C力一 ドのサ一ビス情報を、 発行メーカ一別 に分類し、 集計する処理手段と、 集計結果を出力する出力手段とを有する。 この態様により、 I Cカー ドの回収データを集計、 出力することができる。 本発明の管理装置の他の態様では、 前記管理装置の処理手段は、 前記 I Cカー ドのサービス情報を、 発行店別に分類して、 集計する。
発行店別に分類、 集計するため、 複数の店舗の回収取引データを、 各店舗毎に 、 分類、 集計できる。
本発明の管理装置の他の態様では、 前記管理装置の処理手段は、 前記 I C力一 ドのサ一ビス情報を、 発行メーカ一別に分類して、 集計する。
発行メーカー別に分類、 集計するため、 発行メーカーへの請求書を自動作成で きる。
本発明の管理装置の他の態様では、 前記管理装置の出力手段は、 前記集計結果 とともに、 前記各サービス情報を出力する。 各サービス情報が出力されるため、 サービス券の不正等を検証できる。
本発明の管理装置の他の態様では、 前記管理装置は、 発行すべきサービス情報 を作成し、 前記 I Cカードに書き込む。
これにより、 サービス券の発行が、 人手を介しないため、 自動化が可能となり 、 且つ不正も防止できる。
本発明の他の態様では、 第 2の I Cカードは、 前記 I Cカードと情報交換して
、 電子現金の移転及び前記サービス情報の移転を実行する機能を有する。 この形 態では、 電子現金とサービス券の移転処理を、 第 2の I Cカードで行うため、 電 子現金及びサービス券の管理、 取扱いが容易となる。 更に、 店舗側の不正も防止 することができる。
本発明の I Cカードの一態様では、 I Cカードが、 電子財布領域と顧客にサ一 ビスを供与したサービス情報を格納するサービス情報格納領域とを有するメモリ を有する。 I Cカードが、 電子財布取引機能とサービス券の移転機能を持っため 、 容易に、 電子財布取引機能を持つ I Cカードに、 サービス機能を付与すること ができる。
本発明の I Cカードの他の形態では、 プロセッサは、 サービス券識別データと
、 前記識別データを基に作成された暗号化署名とからなるサービス情報を、 前記 メモリに格納する。 暗号化署名を格納するため、 不正に対するセキュリティを供 与することができる。
本発明の I Cカードの他の形態では、 前記プロセッサは、 所望のサービスを受 けるためのサービス情報を発行し、 顧客 I Cカードに移転する機能と、 前記顧客 I Cカードに格納されたサービス情報の内、 サービス供与の対象となるサ一ビス 情報を抽出して、 回収する機能とを有する。
I C力一ドカ、 顧客 I C力一ドに対し、 サービスの発行、 回収を行うため、 サ 一ビス券の不正を防止できる。 又、 取引装置に、 容易にサービス機能を付与でき る。
本発明の I Cカードの他の形態では、 前記プロセッサは、 前記顧客 I Cカード と情報交換して、 電子現金の移転及び前記サービス情報の移転を実行する機能を 有する。
これによ り、 人手を介さずに、 電子現金及びサービス券の移転及び回収を行う ため、 より不正を防止できる。
本発明の I Cカードの他の形態では、 前記メモリは、 サ一ビス情報の種類別に サービス情報を格納する複数のサービス情報格納領域を有する。 これによ り、 複 数種のサービスが提供でき、 且つサービス毎に、 分類、 集計できる。
本発明の I Cカードの他の形態では、 前記メモリは、 発行すべきサービス情報 を格納する発行サービス格納領域を有する。
これにより、 サービス券の発行が、 人手を介しないため、 自動化が可能となり 、 且つ不正も防止できる。 図面の簡単な説明
第 1図は、 本発明の一実施例のシステム構成図である。 第 2図は、 本発明の一実施例の P 0 S端末装置のプロック図である。
第 3図は、 第 2図の P O S端末装置の処理フローチヤ一ト図である。
第 4図は、 本発明の一実施例の顧客 I C力一ドのブ口ック図である。
第 5図は、 第 4図の顧客 I Cカードのメモリエリアの説明図である。
第 6図は、 第 5図におけるアクセス権限テーブルの説明図である。
第 7図は、 本発明の一実施例の店用 I Cカードのブ口ック図である。
第 8図は、 第 7図の店用 I Cカードのメモリエリアの説明図である。
第 9図は、 第 7図の店用 I Cカードの処理フローチャート図 (その 1 ) である 第 1 0図は、 第 7図の店用 I C力一ドの処理フローチヤ一ト図 (その 2 ) であ る。
第 1 1図は、 第 7図の店用 I Cカードの処理フローチャート図 (その 3 ) であ る。
第 1 2図は、 第 7図の店用 I C力一ドの処理フローチャート図 (その 4 ) であ る。
第 1 3図は、 第 4図の顧客 I C力一ドの処理フローチヤ一卜図 (その 1 ) であ る。
第 1 4図は、 第 4図の顧客 I C力一ドの処理フローチャート図 (その 2 ) であ る。
第 1 5図は、 第 4図の顧客 I Cカードの処理フローチャート図 (その 3 ) であ る。
第 1 6図は、 第 1図の表示器のプロック図である。
第 1 7図は、 第 1 6図の表示器の斜視図である。
第 1 8図は、 第 1図の連絡装置のブロッ ク図である。
第 1 9図は、 第 1 8図の連絡装置の斜視図である。
第 2 0図は、 第 1図の精算装置のプロック図である。
第 2 1図は、 第 2 0図の集計装置の処理フローチャート図 (その 1 ) である。 第 2 2図は、 第 2 0図の集計装置の処理フローチヤ一卜図 (その 2 ) である。 第 2 3図は、 第 2 0図の集計装置の処理フローチャート図 (その 3 ) である。 第 2 4図は、 第 2 0図の集計装置のテーブル説明図である。 発明を実施するための最良の形態
以下、 本発明の取引システム、 I Cカード、 電子財布取引装置、 管理装置を順 に説明する。
• · I C力一ド取引システム · ·
第 1図は、 本発明の一実施例の I C力一ド取引システムの構成図である。 第 1図に示すように、 顧客 I Cカード 2は、 J I S規格等で規格化されるクレ ジッ トカ一ドの大きさのプラスチックカ一ド内にプロセッサと不揮発性ランダム アクセスメモリ (R A M ) を内蔵し、 更に、 暗号化 ·復号化処理機能等の安全化 機能 (セキュリティ機能) を内蔵する力一ドである。 又、 この I Cカード 2に、 更に磁気ストライプゃ光記録用のストライプが設けられることを排除するもので はない。 顧客 I Cカード 2は、 電子財布領域と、 サービス券領域と、 広告領域と 、 電子署名領域とを有する。
P〇 S端末装置 1は、 顧客 I Cカード 1 と連動して、 電子財布取引を実行する 電子財布取引装置を構成する。 電子財布とは、 現金を電子的価値で所有する財布 と定義される。 電子財布取引とは、 電子的価値の移転を行う電子財布取引に限ら れず、 電子的価値の移転が、 暗号化 ·復号化処理機能により秘密状態で行われ、 且つこれに基づく所謂電子署名等の認証処理機能によって、 移転される価値に係 る情報が偽造、 不正から保護される取引を含む。
?〇 3端末装置 1は、 顧客 I Cカード 2 と、 情報の交換を行う顧客 I Cカード /リーダー 4 を有する。 更に、 P O S端末装置 1は、 電子財布取引機能の他に、 サービス券の処理機能 5を有する。 サービス券の処理機能 5は、 サービス券の発 行、 回収、 サービス供与対象のサービス券の抽出及びサービスの実行を行う。 こ こで、 サービス券とは、 個別に特定され、 一定の条件で、 価値の付与される電子 的な券をいう。 例えば、 通常紙片として発行される投票券、 籤、 クーポン券等を 電子的にしたデータが相当する。
次に、 このシステムでは、 P 0 S端末装置 1に装着可能な店側 I Cカード 3が 設けられている。 この店側 I Cカード 3は、 顧客力一ド 1 と同一のハード構成を 有する。 そして、 店側 I Cカード 3は、 籤等のサービス券の発行機能、 当選券の 選出機能、 当選券を回収する回収機能を有する。
そして、 店側 I C力一ド 3のデータを読み出し、 発行した籤等のサ一ビス券の 集計機能、 発行籤の店側 I Cカード 3への書込機能、 引換え店への精算を行う計 算機能を備える精算装置を有する管理システム (管理装置) 9を設けている。
P O S端末装置 1 と、 顧客 I Cカード 2の間で、 電子現金 (電子署名付) とサ 一ビス券 (電子署名付) の移転が行われる。 この移転とは、 I Cカード又は電子 財布取引装置の内の一方から他方へ移転対象となる電子現金またはサービス券を 移動する処理を言う。 移転後、 移転対象となる電子現金あるいはサービス券は、 移転元においては、 その後移転不可能な状態となり、 移転先のみが移転可能な状 態となる。 例えば、 サービス券を一方から他方に移転すると、 移転元において、 そのサービス券はその後利用できない状態となる一方、 移転先がそのサービス券 を利用できるようになる。 移転元では、 当該サービス券の移転を履歴として記録 に残すこともある。 電子現金についても同様である。
ここで、 サービス券 (籤、 投票券、 またはクーポン券) を I Cカードに対して 発行することにあたって、 偽造される恐れがある。 これを防止する為に、 暗号化 技術の導入が必要となる。 これを電子署名という。 一例として、 次の暗号化技術 を適用する。 籤を例にとると、 籤発行店に特有の数値 Aと、 籤発行日 B及び籤番 号の一部となる数値 C (例えば、 籤番号の下位 3桁) で、 電子署名データを作成 する。
I Cカード内には、 籤発行時の取引履歴を残している。 この取引履歴として、 該当の籤の発行日、 発行店番号を記憶する。 これらを、 I Cカード、 当選籤確認 装置等から抽出し、 籤発行日、 発行店番号、 電子署名データから籤番号の下位 3 桁を復号する。 復号された籤番号の下位 3桁と、 実際の籤番号の下位 3桁を照合 して、 検証を行う。
この店番号は、 任意に設定される秘密鍵のようにしておくことが望ましい。 こ の場合、 籤を発行する P O S端末装置 1が、 当該鍵となる鍵数値で籤を暗号化し 、 当選籤を確認する籤確認装置は、 店番号と対応する鍵数値のテーブルを設けて 、 これから読みだすようにすれば良い。 また、 顧客に見せる籤番号は、 下位 3桁 のみとしておき、 デジタル署名の形で、 上位の暗号化部分あるいはその一部を顧 客に見えないようにしても良い。 これにより顧客は、 店番号を知らないので、 偽 造はできない。 また、 店に雇われている店員も、 店の暗号は判らないので偽造す ることはできない。 また、 偽造有無を確認することができる。
次に、 このシステムのサービス処理について、 説明する。
サービス券が投票券の場合は、 籤選択を行う。 籤番号毎に、 I Cカード 2に投 票数を入れ、 且つ P 0 S端末装置 1の I Cカード 3でも、 投票数を記憶する。 I Cカード 2は、 同じ期間の投票番号なのか他の期間の投票番号なのか区別ができ ないので、 P 0 S端末装置 1の I Cカード 3から投票券を発行する際、 選択した 籤番号に、 該当期間情報とデジタル署名を組み合わせた識別情報を付加して、 I Cカード 2に投票番号として記入する。 P 0 S端末装置 1の I Cカードは、 精算 時等の際、 集計値を集計する。 集計期間後、 最も投票数の多い籤番号を当選番号 とする。
P〇 S端末装置 1の I Cカード 3は、 I Cカード 2で取引された時、 I Cカー ド 2から籤番号、 投票数、 識別情報を読み出す。 そして、 識別情報から、 当該情 報の正当化を確認して、 且つ集計期間を導き出す。 P O S端末装置 2の I Cカー ド 3は、 集計期間毎 (例えば、 各集計期間が 2週間毎なら、 3ヶ月程度の範囲の 各 2週間毎) の当選番号の表をテーブルとして持っている。 このテーブルを、 識 別情報から導き出した集計期間で検索し、 当選番号を得る。 該当当選番号と、 投 票されている籤番号とを照合する。
投票券のサービスが、 払戻しである場合には、 一致する籤番号がある時に、 当 該表のそれぞれの当選番号毎に、 投票数に投票の 1ュニッ 卜の払戻し額を乗算し て、 払戻し額の総額を演算する。 次いで、 買い物額から払戻し額を差し引き、 顧 客の支払い必要額を算出する。 払戻し額が多い場合には、 残りの額を商品券とし て I Cカード 2に書込み、 次の同店舗での買い物にのみ使用できるようにする。 一方、 投票がチェーン店で行われる場合、 チェーン店間での精算が必要である 。 すなわち、 籤をたく さん発行した店舗が、 顧客に払い戻した払戻し額を多く支 払う必要がある。 このため、 P O S端末装置 1の I Cカード 3は、 発行した投票 数の枚数、 当選し且つ払戻しした投票券の枚数を格納する。 管理装置 9は、 I C カード 3のこれら情報を読み出し、 負担金の演算を行う。 P O S端末装置 1の I Cカード 3は、 それぞれのデータ、 すなわち発行した投票券枚数、 払い戻した投 票券枚数を管理するテーブルを備える。
サービス券が籤の場合には、 I Cカード 2による電子財布取引の際に、 短期間 で結果のでる籤とそのデジタル署名を、 I Cカード 2に書き込む。 籤は、 バラン サ (残高表示器) 6で見えるようにする。 そして、 籤の払戻し期間内または商品 受渡し期間内に、 I Cカード 2で商品を購入した際に、 自動的に当選の有無を確 認し、 サービスを受ける。 この籤は、 一定額以上購入した時に発行する。 又、 ポ ィント制として、 一定のボイン卜がたまつたら、 籤を発行してもよい。
サービス券がクーポン券の場合には、 例えば、 商品 (例えば、 タバコ) を買つ た人の I C力一ド 2に、 新発売の製品のクーポン券を入れる。 次の取引きの際に 、 新しいタバコとクーポン券を交換する。 このようなサービスを行うことで、 顧 客の固定化が図られ、 購買を促進する結果となる。
このシステムでは、 店側 I Cカード 3が、 籤等のサービス券を発行し、 当選券 の選出を行うので、 店側によるサービス券の偽装発行、 偽装抽選を防止できる。 また、 店側 I Cカード 3によって、 サービス券の自動回収が行われるため、 紙に よるクーポン券等の集計や管理が必要ない。 これにより、 煩わしさがなくなり、 データの取扱 、が容易になる。
この店側 I Cカード 3は、 電子財布取引機能を持つ。 従って、 顧客 I Cカード としても、 使用できる。 例えば、 店舗の主人の顧客 I Cカードをそのまま店用 I Cカードとして使用できる。
更に、 I Cカード 2に格納されたクーポン券等のサービス券の商品の製造メー 力、 クーポン券使用店等の情報を、 P O S端末装置によって管理する。 これとと もに、 これら情報を店側 I Cカード 3に格納する。 又、 紙によるクーポン券が使 用された場合には、 紙のクーポン券の処理情報を店側 I Cカード 3に集計する。 クーポンデータを集計管理する管理システム 9は、 店側 I Cカード 3から使用済 クーポンを読み出し、 集計し、 管理データ及びクーポンデータを各商品メーカに 転送する。 このように、 クーポン情報の取扱いを電子化でき、 紙等の資源を極力 抑えることができる。 また、 データの取扱いも人手が介入する機会が減り、 信頼 性が増加する。 更に、 大規模なオンライ ン網を構築することなく実現できる。 連絡装置 7は、 顧客 I Cカード 2の電子現金、 サービス券を、 第 3者の顧客 I Cカード 8に移転する。 逆も可能である。 このように、 サービス券情報が、 あた かも紙券と同様に、 I Cカード間又は I Cカードと装置間で受け渡されるように 、 移転することができる。 このため、 顧客とサービスとの括り付けがなく、 サ一 ビスの移転が自由となる。 バランサ (残高表示器) 6は、 顧客 I Cカード 2の電 子現金やサービス券を表示するためのものである。
このように、 紙片のサービス券と同様に、 サービス券を個別に移転できるよう にしたため、 紙片のサービス券と同様の流通性をもつ I Cカード取引を実現でき る。 これにより、 利用者にとって、 便利であり、 利用者の I C力一ドの利用を促 進できる。
又、 このようにしても、 電子化されたサービス券が自動発行、 自動回収される ため、 店舗側の手間もかからない。 しかも、 個別に発行されたサービス券の管理 が可能となり、 精算等を自動化できる。 これにより、 精算等における誤り、 不正 も防止できる。
以下、 I Cカードを含む各装置の詳細について説明する,
• · P 0 S端末装置 · - 第 2図は、 P O S端末装置のブロック図、 第 3図は、 その処理フローチャート 図である。
第 2図に示すように、 P 0 S端末装置 1は、 キ一ボード 1 1、 表示器 1 2、 ゾ —コードリーダ 1 3、 プリ ンタ 1 4、 上位装置或いは回線に接続されるィンター フェース 1 6、 マイコン等で構成された制御部 1 7、 メモリ 1 8、 ハ一ドディス ク等の外部記憶装置 1 9、 顧客 I C力一ド用の顧客入力パッ ド 2 0、 店用 I C力 ―ドリーダライタ 2 1及びその他の装置用のィンタ一フェース回路 1 5を備えて いる。
顧客入力パッ ド 0は、 顧客の所有する I Cカード 2が挿入され、 当該顧客用 I Cカード 2に対して読取、 書込等のアクセスを行う顧客 I Cカードリーダライ 夕 2 0 a、 暗証番号や、 取引金額等を手動入力するためのキーパッ ド 2 0 b、 キ —パッ ド 2 0 aからの入力データ等を表示する表示器 2 0 cからなる。 又、 店用 I Cカードリ一ダライタ 2 1は、 店に配布された I Cカード 3の読取 、 書込を行う装置である。 これらの各機器は、 互いにバス線 2 2に接続され、 制 御部 1 7のプログラム制御の元で所定の機能を発揮するものである。 更に、 顧客 入力パッ ド 2 0 と店用 I Cカードリーダライタ 2 1は、 バス 2 2 と異なるバス 2 3によって接続されている。 顧客 I Cカード 2 と店用 I Cカード 3 との間の処理 は、 このバス線 2 3を介して行われる。 このため、 移転データの機密性を高める ことができる。
制御部 1 7の処理機能としては、 一般の P◦ S端末装置あるいは電子的金銭登 録機が有する機能 (例えば、 通常の売上登録、 計算等の一般的な機能) の他に、 顧客 I Cカード 2による電子財布取引機能、 サービス券発行委託機能、 当選サ一 ビス券選別委託機能、 広告文書管理機能等を備えている。
本実施例では、 制御部 1 7のサービス券発行委託機能は、 サービス券の発行を 行う店用 I Cカード 3に対して、 店用 I Cカードリ一ダライタ 2 1 を介してサ一 ビス券の発行を委託し、 顧客 I Cカード 2に発行したサービス券を移転させるも のである。 又、 本実施例においては、 顧客 I Cカード 2が蓄積している籤、 クー ポン券、 投票券等のサービス券がサ—ビスを享受するに適した券であるかどうか を店用 I Cカード 3が判別するようにしている。 このため、 制御部 1 7の当選サ —ビス券選別委託機能は、 制御部 i 7力、 この処理を店用 I Cカード 3に委託す る機能を言う。 更に、 広告文書管理機能については、 その他のインターフヱース 1 5に、 所謂モパイル端末、 パソコン等の、 文書作成機能を有する機器を接続し て、 それらの機器にて作成された広告文章をメモリ 1 8や外部メモリ 1 9に制御 部 1 7が蓄積し、 且つ I Cカード 2による取引を実行した際、 通常処理の途中で 、 条件に従って顧客 I Cカード 2に書き込む処理を言う。
以下、 第 3図のフローチャートに従って、 第 2図の P O S端末装置の動作を説 明する。
( S 2 0 0 ) P 0 S端末装置 1の操作者は、 最初に P 0 S端末装置のモードを 通常の手法によって選択する。 一般的には、 キーボード 1 1の図示されない鍵孔 に店員が保有する鍵を揷入し、 その回転にてモードを指定する。 制御部 1 7は、 キーボ一ド 1 1によって指定されたモードに応じて、 取引モ一ド、 精算モード、 設定モードに切り替わる。 最初に、 設定モード (S 2 2 1 ) に移行する。
( S 2 2 1 ) 設定モードでは、 籤、 投票券、 クーポン券等のサービスの有無を それぞれキーボード 2 1により設定する。 なお、 本実施例では籤のサービス及び クーポン券のサービスを中心に説明する。 但し、 投票券の場合は、 投票番号を入 力する以外は、 籤と略同様の処理にて実現できる。
サービス有無の設定の後、 店員は、 店用 I Cカード 3を店用 I Cカードリーダ ライタ 2 1に装着する。 この段階で、 籤、 投票券、 クーポン券のサービスをしな いならば、 ステップ S 2 2 3に移行する。 逆に、 少なく とも、 クーポン券のサー ビスを指定すると、 ステップ S 2 2 2に移行する。
( S 2 2 2 ) 店用 I Cカードリーダライタ 2 1力、 装着された店用 I Cカード 3力、 正しい I C力一ドであることを確認する。 又、 店用 I Cカード 3は、 店用 I Cカードリーダライタ 1 1力、 正当なアクセス権限を有するものであるかどう かを確認する。 この確認の後に、 店用 I Cカード 3が格納しているクーポン券を 発行すべき商品の商品テーブルを読み出し、 メモリ 1 8に展開する。
( S 2 2 3 ) 店が発行を希望する広告データの入力あるいは蓄積状況の確認を 行うステップである。 すなわち、 制御部 1 7は、 外部記憶装置 1 9に格納されて いるお店の広告データを読み出して、 表示器 1 2に表示するとともに、 広告内容 の更新の有無を操作者に問い合わせる。
次いで、 広告内容の書き換えがある場合には、 その他のインタ一フヱース 1 5 にデータ入力のための装置 (例えば、 前述した小型のパソコン等) を接続して、 文書入力される。 入力された文書は外部記憶装置 1 9に転送され、 所定の領域に 記憶される。 この作業が終わると、 ステップ S 2 2 4に移行する。
( S 2 2 4 ) このステップでは、 通常データの設定処理をする。 例えば、 売上 に応じた累計ポイントサービスを行うか否か、 あるいは、 商品の価格を変更する 等、 一般に行われている P O S端末の状態パラメータの設定を行う。 この処理が 終了すると、 ステップ S 2 0 0のモード区別状態に戻り、 制御部 1 7は表示器 1 1に設定終了の表示をして、 このモードを終了する。 通常、 設定モードの終了後 、 店員は鍵の回転位置を変えて、 取引モードに変更する。
( S 2 0 1 ) 店員の鍵の位置が取引モードの位置になると、 P 0 S端末装置 1 は、 取引待ち状態となる。
( S 2 0 2 ) お客が品物を買い上げると通常の売上処理を実行する。 即ち、 P 〇 S端末装置 1は、 バーコ一ドリーダ 1 3で、 商品に貼付されているバーコ一ド を読み取ることにより商品コードを得るか、 若しくは、 キーボード 1 1から商品 の種別を入力することで商品コ一ドをえる。
これに基づき、 制御部 1 7は、 入力された商品コードに基づいて周知のプライ スルックアップ処理、 すなわち、 商品コードから商品名 (あるいは商品部門コ一 ド等) や商品価格を導きだす処理、 を行う。 これは、 一般に、 商品の登録処理と いわれている。 そして、 商品の登録処理を、 買い上げした商品の全品について行 い、 プリ ンタ 1 4をして、 並行に買い上げ明細情報を印字せしめる。 これととも に、 明細情報を記憶し、 且つ買い上げ累計額を、 メモリ 1 8に作成してゆく。
( S 2 0 3 ) 商品の登録処理が終了すると、 店員は支払の種類をお客から聴取 する。 即ち、 現金で支払うのか、 クレジッ 卜カードを使用して支払うのか、 更に は I Cカードによる電子財布から支払うのかを聴取する。 この結果に従って、 店 員は、 キーボード 1 1 を操作して、 支払種別を入力する。 入力された支払種別に 従って、 制御部 1 7は、 クレジッ ト支払あるいは現金支払のための処理であるス テツプ S 2 0 4の通常処理あるいは電子財布による支払処理のルーチンであるス テツプ S 2 0 7に移る。
( S 2 0 4 ) クレジッ トカードによる支払あるいは現金による支払の場合には 、 周知の手順で、 支払い処理が、 制御部 1 7により実行される。 すなわち、 預か り金の入力ゃクレジッ トカード番号の入力を行い、 釣り銭の演算を行う。
( S 2 0 5 ) そして、 取引完了により、 レシートに印字を行う。
( S 2 0 6 ) 制御部 1 7は、 累計計算をし、 外部記憶装置 1 9へ格納したり、 部門別累計演算をして格納する。 このような通常の取引の完了処理を行って、 ス テツプ S 2 0 1へ移行し、 取引待ち状態になる。
( S 2 0 7 ) 一方、 支払種別が電子財布による取引であると、 制御部 1 7は、 顧客 I C力一ドリーダライタ 2 0 aを介して顧客 I Cカード 2から、 この取引よ り前の取引で移転され格納されたクーポン券の商品情報を読み出す。 読み出され た商品情報は、 今回売上登録した商品コードと対比し、 売り上げ登録した商品の 中に、 顧客 I Cカード 2から抽出したクーポン券の商品情報に相当する商品があ るかどうかを確認する。
( S 2 0 8 ) この確認により、 該当商品がある場合は、 制御部 1 7は、 店用 I Cカードリーダライ夕 2 1にセッ トされている店用 I C力一ド 3に対して、 該当 するクーポン券の回収を委託する。 この委託に基づき、 第 1 1図にて、 後述する 様に、 店用 I Cカード 3は、 顧客 I Cカード 2から該当するクーポン券の移転を 受ける。 店用 I Cカード 3に該当クーポン券の移転が完了すると、 店用 I C力一 ド 3は、 この旨、 制御部 1 7に通知する。
( S 2 0 9 ) 制御部 1 7は、 移転完了通知を受けると、 ステップ S 2 0 9に移 行し、 メモリ 1 8に格納されている今回売上登録された該当商品の売上額に対し て、 クーポン券による割引率を演算して、 割引額を計算する。 この割引額を、 メ モリ 1 8に格納するとともに、 プリ ン夕 1 4に対してこの情報を転送し、 レシ一 卜に 「クーポン券 割引 X X % Y Y Y円」 というように、 割引率と割引額を 印字させる。
( S 2 1 0 ) クーポン券の処理が終了すると、 ステップ S 2 2 1の設定モ一ド で籤 ·投票券サービスが設定されている場合には、 ステップ S 2 1 0の籤 ·投票 券のサービス処理に移行する。
籤 ·投票券のサービス処理では、 制御部 1 7力、 店用 I Cカードリーダライ夕 1 を介して店用 I Cカード 3に処理を委託する。 第 1 0図で後述するように、 店用 I Cカード 3は、 当たり籤、 当選券の各番号 ·電子署名を所有している。 店 用 I Cカード 3は、 店用 I C力一ドリ一ダライタ 2 1、 バス 2 3、 顧客 I C力一 ドリ一ダライタ 2 0 aを介して、 顧客 I Cカード 2から、 顧客 I Cカード 2が格 納している籤と投票券の情報を読取る。 そして、 当たり籤又は当選券かどうかを 確認する。 当たり籤又は当選券を顧客 I Cカード 2が保有している場合は、 店用 I Cカード 3は、 顧客 I Cカード 2から当該当たり籤あるいは当たり投票券 (当 選券) を店用 I Cカード 3に移転させる。 その後、 店用 I Cカード 3は、 店用 I C力一ドリ一ダライタ 2 0 a介して、 制御部 1 7に移転完了を通知するとともに 、 当たり籤、 あるいは当選券に対するサービス供与の量、 例えば、 割引額あるい は賞金金額等のサービス情報を通知する。 ( S 2 1 1 ) 制御部 1' 7は、 この通知を受けると、 割引額をメモリ 1 8に格納 するとともに、 プリ ンタ 1 4に当たり券の番号と、 賞金等のサービス情報を供給 し、 プリ ンタ 1 4によってレシ一ト上にこの情報を印字させる
( S 1 2 ) 次いで、 制御部 1 7は、 メモリ 1 8に格納されている累計売上額 から、 ステップ S 2 0 9にて格納した割引額と、 ステップ S 2 1 1にて作成した 割引額とを差引き、 顧客 I Cカード 2の電子財布から差し引くべき取引金額を算 出する。 算出された取引金額は、 プリ ンタ 1 4に供給され、 レシート上に印字さ れる。 更に、 制御部 1 7は、 店用 I Cカードリーグライタ 1 1を介して、 店用 I Cカード 3に、 この取引金額の電子財布取引を委託する。
第 9図にて、 後述するように、 店用 I Cカード 3は、 これに基づいて店用 I C 力一ドリ一ダライタ 2 1、 バス 2 3、 顧客 I Cカードリーダライ夕 2 0 aを介し て、 顧客 I Cカード 2 と通信を行い、 該当売上額の電子マネーを顧客 I Cカード 2から店用 I Cカード 3に移転する。 移転が終了すると、 移転完了通知が、 店用 I Cカード 3から店用 I Cカードリーダライタ 2 1を介して通知される。 これに 基づいて、 制御部 1 7は、 プリ ンタ 1 4に、 移転を要請した取引額と、 電子財布 取引が完了したことを示す情報を供給し、 レシート上にその旨を印字する。 例え ば、 レシートには、 「電子マネ一払 ¥ 13, 000済 カード番号 12345 」 と印字し する。 これにより、 電子財布取引処理委託のステップ S 1 2を終了する。
( S 2 1 3 ) 次いで、 制御部 1 7は、 店用 I Cカード 3に対して籤を発行する 様依頼する。 これに先立ち、 制御部 1 7は、 先に計算し、 メモリ 1 8に格納して いる売上合計を元に発行すべき籤の枚数を計算する。 すなわち、 例えば、 1 0 0 0円につき 1枚毎、 籤を発行する場合には、 売上合計額をこの 1 0 0 0円で割り 算し、 枚数を求める。 制御部 1 7から店用 I Cカード 3への依頼には、 この枚数 情報が含まれる。 第 9図にて、 後述するように、 店用 I Cカード 3はこれを受け て、 指示された枚数の電子署名付籤を作成し、 顧客 I Cカード 2にこれを移転す る。 発行された籤番号は、 電子署名を除いて制御部 1 7に通知され、 制御部 1 7 は、 プリ ンタ 1 4にこれを供給して、 レシート上に籤番号を印字させる。 これに より、 籤の発行処理を終了する。
( S 2 1 4 ) 籤の発行処理が終了すると、 制御部 1 7は、 先に設定モードのス テツプ S 2 2 2にて、 メモリ 1 8に展開されているクーポン券該当商品テーブル と、 今回売上商品とを対比し、 クーポン券を発行すべき商品が、 売上商品の中に 存在するかどうかを確認する。 売上商品の中にクーポン券を新たに発行する必要 のある商品が含まれている場合には、 制御部 1 7は、 店用 I Cカード 3に対して 、 その商品コ一ドとともにクーポン券発行処理を委託する。
第 1 1図にて、 後述するように、 店用 I Cカード 3は、 顧客 I Cカード 2 と通 信し、 通知された商品コードに対する新クーポン券を発生し、 店用 I Cカード 3 から顧客 I Cカード 2に移転する。
クーポン券発行処理が完了すると、 店用 I Cカード 3から制御部 1 7に対して 、 完了通知がなされる。 これにより、 制御部 1 7は、 発行されたクーポン券に関 する情報をプリ ンタ 1 4に供給し、 しシート上に、 クーポン券が発行されたこと 及びそのクーボン券が使用できる商品名を印字する。 例えば、 「 1 0 %割引クー ボン券発行 X X Xジュース 1999. 1. 1迄」 というように、 クーポン券を使用で きる商品名として 「XXX ジュース」 を、 更にクーポン券の割引率や、 有効期間等 を印字する。 これらの情報は、 いずれも店用 I Cカード 3に格納されている情報 である。
( S 2 1 5 ) クーポン券の発行処理が終了すると、 制御部 1 7は、 外部記憶装 置 1 9に格納された広告情報を読み出し、 顧客 I C力一ドリーダライタ 2 0 aに 供給する。 顧客 I Cカードリーダライタ 2 0 aは、 供給された広告情報を顧客 I Cカード 2の所定の領域に格納して、 広告情報転送処理を終了する。
( S 2 1 6 ) 制御部 1 7は、 以上の一連の処理を終了すると、 顧客 I Cカード リーダライタ 2 0 aに対して顧客 I Cカード 2の排出命令を発行して、 顧客 I C カード 2 を顧客に返却する。 次いで、 今回の取引で回収したクーポン券、 回収し た籤、 発行したクーポン券、 発行した籤の情報をメモリ 1 8の特定のエリアに集 計記録する。 これとともに、 ステップ S 2 0 4で実行した一般の取引処理、 例え ば、 部門別売上累計等の処理を行い、 レシートを排出処理して取引を完了する。
( S 2 1 7 ) この処理の完了後、 制御部 1 7は取引待ちモード S 2 0 1に復帰 する。
以後、 顧客が商品を買い上げ、 P O S端末装置 1にて取引をする都度、 上述し た取引モードの各ステップを実行することになる。 次に、 清算モードについて、 説明する。
( S 1 8 ) 閉店あるいは店員の交代の為に、 店員が、 締め上げを行う際、 店 員はキ一ボード 1 1の前述した鍵の回転位置を精算モー卞の位置に切り換える。 これにより、 制御部 1 7は精算モードに移行する。 精算モードでは、 ステップ S 1 8において、 通常の締め上げ処理、 例えば、 その P 0 S端末装置 1で扱った 全ての取引のプリンタ 1 4への打ち出し、 外部記憶装置 1 9への格納、 商品種類 毎の累計売上額の印字出力、 を行う。
( S 2 1 9 ) ついで、 当日に発行したクーポン券のトータル枚数や、 クーポン 券の商品毎の発行枚数、 更には、 当日に回収したクーポン券の枚数、 商品毎の回 収したクーポン券枚数、 クーポン券による割引額の累計、 商品別のクーポン券に よる割引額の累計額を計算し、 プリンタ 1 4に印字出力する。 更に、 籤あるいは 投票券について、 クーポン券と同様の累計計算や印字出力を行う。 この印字出力 としては、 発行した籤、 投票券については、 籤番号、 籤枚数、 投票券による各選 択肢の投票数、 また、 回収した籤、 投票券については、 籤番号、 投票券番号、 当 選した籤及びまたは投票券によって顧客に支給したサービス量とその累計 (例え ば、 賞金額とその累計等) を計算、 集計して印字する。 そして、 終了する。 このように、 P 0 S端末装置 1で電子財布取引の際に、 ?0 3端末装置 1の 1 Cカード 3が、 電子財布として使用される顧客 I Cカード 2に、 籤、 投票券、 ク —ボン券等のサービス券を移転し、 抽出し、 回収する機能を持つ。 このサービス 情報は、 紙片としてのサービス券と同様に、 単独移転可能であり、 サービス券の 流通を促すことができる。
単独移転可能なため、 サービス券の発行管理、 サービス券の回収管理等を自動 化できる。 又、 自動発行、 自動回収するため、 店舗側の手間を省くことができる 更に、 割引等のサービスを、 電子財布取引に関連して、 実行できる。 このため 、 利用者にとって、 電子財布取引の魅力が一層増加する。 この事は、 カードを導 入する側の店舗にとっても、 集客の手段として有効である。
又、 サービス券を単独移転しても、 セキュリティの高い I Cカードを用いるの で、 セキュリティの高いサ一ビスを付与できる。
更に、 店用 I Cカード 3を利用し、 I C力一ド同士による取引を行うので、 機 密性、 安全性が高いサービス供与や、 サービス供与の管理が可能となる。 従って 、 P 0 S端末装置の管理者にとっても、 メ リッ 卜がある。
• ·顧客 I Cカード · ·
次に、 顧客 I Cカード 2の詳細について説明する。
第 4図は、 顧客 I Cカード 2の回路プロック図、 第 5図は、 顧客 I Cカード 2 のメモリエリアの説明図、 第 6図は、 そのアクセス権限テーブルの説明図である 第 4図に示すように、 顧客 I Cカード 2は、 I S 0にて規定されている接続端 子 3 1、 外部装置との通信ィンターフヱース回路 3 2、 これに接続されるマイコ ン (マイ クロコンピュータ) 3 3、 不揮発性 R A M (以下メモリ と称する) 3 5 と、 揮発性 R A M (以下メモリ と称する) 3 4を備える。 そして、 これら力、 規 格化されたクレジッ トカ一ドと同じ大きさのプラスチックカ一ド内に封入されて いる。 尚、 本実施例では、 接続端子 3 1 を持つタイプの I Cカードによって説明 をするが、 接続端子を持たない、 所謂、 無線 I Cカードを使用しても良い事は明 らかである。 無線 I C力一ドの場合には、 通信用ィンタ一フヱース回路 3 2力、 無線機能を持つと考えれば良い。
マイコン 3 3には、 所定のプログラムが焼き付けられている。 このプログラム は、 I C力一ドをアクセスする装置が正当な装置であるかどうかを検証する為の 認証プログラム、 通信を行う相手方 I Cカードが正当なアクセス権限を持ってい るかどうかを検証する認証プログラム、 更には、 この I Cカードを扱う人が正し い所有者であるかどうかを検証するための検証プログラムを内蔵している。 更に 、 その逆の検証をするためのそれぞれの認証プログラムも格納されている。 即ち 、 この I Cカードが正規の I Cカードであることを接続装置側、 相手方 I Cカー ド側に確認させるためのプログラムも記憶されている。
一方、 メモリ 3 5には、 第 5図で示す各種情報が格納されるエリアが設けられ ている。 すなわち、 第 5図において、 メモリ 3 5には、 ディレク トリ 4 0、 O S プログラム 4 1の他に、 電子財布領域 4 2、 籤、 投票券情報領域 4 3、 クーポン 券領域 4 4、 広告領域 4 5が設けられている。 更に、 メモリ 3 5には、 後述する アクセス権限テーブル 4 6、 個人暗証番号 4 7、 認証プログラムに使用される暗 号化鍵 4 8、 各種アブリケーシヨ ンプログラム 4 9が格納されている。
電子財布領域 4 2には、 電子マネーとして使用できる残金額、 及びその電子署 名が格納されている。 更に、 この領域 4 2には、 過去の取引履歴データとして、 取引日、 取引種別 (支払あるいは受け入れの区別) 、 取引額とその電子署名、 取 引相手の識別情報が、 それぞれの取引毎に区分されて格納されている。 格納する 取引履歴の数は数十件格納可能になっており、 各領域は公知の制御方法によって サイクリ ックに使用される様に制御される。
籤 ·投票券情報領域 4 3には、 各籤毎に、 籤番号、 発行日、 発行店、 及び籤番 号にかかる電子署名が格納され、 また、 各投票券毎に、 投票した組み番号、 投票 口数、 発行日、 発行店、 投票券にかかる電子署名がそれぞれ格納される。
クーポン券領域 4 4は、 各クーポン券に対応して、 該当商品コード、 割引率、 有効期間、 発行店、 及びそのクーポン券にかかる電子署名を格納する。
なお、 領域 4 2, 4 3 , 4 4における電子署名は、 残高や取引履歴、 投票券惰 報、 クーポン券に関する情報とは区別された別領域に格納されている。 この領域 は、 外部装置から直接アクセスされても、 読取できない領域となっている。 広告領域 4 5は、 先に第 2図を使用して説明した P 0 S端末装置 1から供給さ れる広告情報を格納するエリアであり、 第 1図のバランサ (表示装置) 6にて、 解読可能な文字コードのテキストを格納する。
アクセス権限テーブル 4 6は、 第 6図を用いて詳述する様に、 この I Cカード に対してアクセスする装置の種類每に、 装置のアクセス権限を、 前記の各領域 4 2〜 4 5に対して与えるためのものである。 例えば、 読取のみを許したり、 更新 を許したり、 削除を許す、 全てを禁止するように設定されている。
第 6図において、 顧客 I Cカード 2にはロック状態、 口ックの解除状態とを有 する。 ロック状態にある時は、 暗証番号の入力が必要となり、 暗証一致によって のみ、 アクセスが、 アクセス権限情報のエリアに格納されている領域の範囲での み可能となる。
例えば、 第 6図において、 第 5図の電子財布領域 4 2の電子財布データに対し ては、 アクセス機種が、 後述するバラ ンサ、 P 0 S端末装置等のその装置が単な るデータの表示のみが許されるべき機種である場合には、 読取のみを許可する。 このアクセス機種では、 他の種類のアクセス、 すなわち、 書込、 削除、 更新につ いては許可されないようアクセス権限がテーブル 4 6に設定されている。 電子財 布データ、 籤 ·投票情報、 クーポン情報については、 アクセスする相手方機種が 、 I Cカードである時のみ、 自己の I C力一ド内部のマイコン 3 3によって、 書 込、 削除が可能と設定されている。
• '店用 I Cカード ' ·
第 7図は、 店用 I C力一ドのブ口ック図、 図 8は、 そのメモリェ.リァの説明図 である。
第 7図に示すように、 店用 I Cカード 3のハ一ド構成は、 第 4図にて説明した 顧客 I Cカード 2 と同様、 接続端子 6 1、 通信ィンタ一フヱ一ス回路 6 2、 マイ コン 6 3、 揮発性メモリ 6 4、 不揮発性メモリ 6 5を備えている。 この店用 I C 力一ド 3は、 通常の顧客用 I Cカードとして使用しても良い。
第 8図には、 店用 1 Cカード 3が備える不揮発性メモリ 6 5のメモリエリアを 図示している。 エリアとしては、 ディ レク ト リ領域 7 0 1、 O Sエリア 7 0 2、 アプリケーシヨ ンエリア 7 0 3が設けられる。 アプリケ一シヨンエリア 7 0 3に は、 前述した第 6図のアクセス権限表と同種のアクセス権限テーブル 7 0 4、 I Cカードの所有者の暗証番号 7 0 5、 電送情報の暗号化のため鍵情報 (暗号化鍵 ) 7 0 6、 各種アプリケ一ションプログラムが格納されるエリァ 7 0 7が設けら れている。
更には、 書き換え可能な不揮発性メモリ 6 5のエリアとして、 電子財布領域 7 0 8、 当たり券テーブル 7 0 9、 当たり券格納領域 7 1 0、 発行籤、 投票券格納 領域 7 1 1、 発行可能籤番号、 投票券の枠香のテーブル 7 1 2、 該当クーポン券 テーブル 7 1 3、 回収クーポン券格納領域 7 1 4、 発行クーポン券格納領域 7 1 5が配置される。
電子財布領域 7 0 8は、 先の顧客用 I Cカード 2の電子財布領域と同じ種類の データを格納する。
当たり券テーブル 7 0 9は、 過去に抽選した籤番号で当たりとなった、 籤ある いは投票についての情報が格納される場所である。 籤については、 籤番号と、 籤 の発行日、 発行店とその電子署名とが格納される。 さらに、 当たり籤に対するサ —ビスの供与に関する情報が格納される。 例えば、 この情報は、 「ハワイ旅行」 、 「デパート商品券 5万円分」 、 「割引料金」 等、 サービスそのもの情報である と考えて良い。 又、 投票券に関しては、 当たり投票枠番号、 単位投票数に対する 払い戻し額、 投票券の発行期間等が電子署名とともに格納されている。
当たり券格納領域 7 1 0には、 後述するように、 顧客 I Cカード 2から移転さ れた当たり券の情報を格納する領域である。 この領域には、 籤については、 籤番 号とその籤の発行日、 発行店の情報とともに、 その電子署名が格納される。 また 、 投票券については、 投票券番号と、 その投票券の投票口数、 その投票券の発行 日、 その投票券を発行した店のコードを示す発行店コ一ドが、 電子署名とともに 格納される。 この領域には、 複数の籤や複数の投票券がそれぞれ、 後日、 区別で きる様に格納される。
発行籤、 投票券格納領域 7 1 1は、 この店用 I Cカード 3から発行された籤と 発行された投票券の情報を、 発行される都度格納する領域である。 籤を発行した 場合には、 籤番号、 籤の発行日、 籤を発行した店を識別する発行店コード、 及び それらの電子署名が格納される。 一つの籤に対するこれらの一連の情報は、 顧客 I Cカード 2に格納した情報と同一の情報となる。 また、 投票券については、 投 票番号と、 投票した数、 発行日が格納される。 この内、 投票した口数については 、 例えば、 投票枠が 「 1」 、 「 2」 、 「 3」 の 3枠有り、 投票可能枠として 「 1 」 、 「 2」 、 「 3」 、 「 1— 2」 、 「 1— 3」 、 「 2— 3」 の 6枠存在する場合 には、 それぞれの可能枠に対して何口、 投票したかその数の情報が書き込まれる 発行可能籤、 投票枠テーブル 7 1 2は、 その店用 I Cカード 3で発行しても良 い籤の情報、 投票枠の情報を記憶する領域である。 籤については、 前述した下位 3桁の情報が、 発行可能な籤番号として、 テーブルに格納される。 例えば、 籤番 号として、 0 0 1番から 9 9 9香が、 或る商店街の或る期間の全ての籤とした場 合に、 この店用 I Cカード 3が発行できる籤番号として、 このテーブル 7 1 2に 番号 0 0 1〜 1 0 0 と規定してあれば、 その間の番号しか発行できない。 これは 、 後述する店用 I Cカード 3の発行プログラムが、 最小値 (例えば、 0 0 1 ) か ら籤を発行する毎にカウントして番号を割りつけていき、 最大値 (例えば、 1 0 0 ) まで発行する様にすれば良い。 また、 発行可能期間については、 その商店街 が籤のセールを行っている期間が設定される。 これらの情報とともに、 籤に附加 される電子署名データも、 このテーブル 7 1 2に格納されている。
また、 このテーブル 7 1 2の投票可能番号については、 投票可能枠番号が格納 されている。 すなわち、 上述の如く、 投票可能な枠が、 1、 2、 3、 1一 2、 1 一 3、 2— 3の 6枠の場合は、 これらが区別可能に格納されている。 また、 発行 可能期間については、 籤の発行可能期間と同様、 その投票セールを実施する期間 を区別する様に、 日付情報が格納される。 さらに、 各投票券に附加される電子署 名データも、 格納される。
このエリア 7 1 2における籤及び投票券の電子署名データは、 後述するシステ ムを管理する装置 9が作成した電子署名デ一タであり、 後日の検証の際に必要と なる情報である。
該当クーポン券テーブル 7 1 3は、 商品買い上げ時に使用されるものであり、 有効期間にあるクーポン券を特定する情報が格納されている。 すなわち、 買い上 げ商品に、 クーポン券を発行して良い商品があるかどう力、、 また、 顧客 I Cカー ド 2に格納されたクーポン券が割引対象であるのかどうかを判別するための情報 を格納し、 且つこれから発行するクーポン券についての発行店情報、 及びその電 子署名を格納する。 例えば、 格納情報は、 商品コード、 その商品コードに対する クーポン券による商品割引率、 該当クーポン券の有効期間、 さらに、 該当商品が 購入された場合に発行するクーポン券の商品コード、 及び、 後述する管理元 9で 作成された電子署名である。
回収クーポン券格納領域 7 1 4は、 顧客 I Cカード 2から回収したクーポン券 を格納する領域である。 この領域 7 1 4は、 顧客 I Cカード 2に格納されたクー ボン情報に対応する情報と、 クーポン券を回収した日である利用日、 利用したお 店のコード ( 「利用店」 と図示) 、 及び、 顧客 I Cカード 2に格納されたクーポ ン券の情報の電子署名を格納する。
発行クーポン券格納領域 7 1 5は、 店用 I Cカード 3から発行したクーポン券 の情報のログ記録を取る領域である。 この領域 7 1 5は、 クーポン券の対象とな る商品の商品コード、 その商品の購入時の割引率、 クーポン券の有効期間、 クー ボン券を発行した店を示す発行店、 管理元が作成しているクーポン券にかかる電 子署名を格納する。
• · I C力一ド取引処理 · ·
以下、 顧客 I Cカード 2と、 店用 I Cカード 3のフローチャートを元に各処理 毎に、 I Cカード間の動作を説明する。 第 9図乃至第 1 2図は、 店用 I Cカード
3のフローチャート図、 第 1 3図乃至第 1 5図は、 顧客 I Cカード 2のフローチ ヤート図である。
(初期処理)
ステップ S 80 1、 S 802
第 3図の P〇 S処理フロー図には記載しなかったが、 店用 I Cカード 3が第 2 図の店用 I C力一ドリーダライタ 2 1にセッ 卜されると、 店用 I Cカード 3のプ ログラムをスタートして、 相互認証ステップ S 80 1、 S 802を実行する。 この相互認証では、 第 2図に示す POS端末装置 1から、 乱数要求コマンドを 店用 I Cカード 3に発行する。 店用 I Cカード 3は、 これに応じて、 乱数を発生 し、 P 0 S端末装置 1に送信する。 P O S端末装置 1は、 この乱数を一定の暗号 鍵を使用して暗号化して店用 I Cカード 3に返送する。 返送された暗号化乱数を I Cカード 3内で復号化した後、 発生した乱数と復号化した乱数とを比較する。 これにより、 装置側の認証を行う (ステップ S 80 1 ) 。
次いで、 P 0 S端末装置 1で乱数を発生し、 発生した乱数とともに認証コマン ドを I Cカード 3に送信する。 I Cカード 3は、 I Cカードが保有している暗号 化鍵 4 8を使用し、 OS領域 4 1内にある暗号化処理プログラムを使用して受信 乱数を暗号化し、 これを POS端末装置 1に送信する。 POS端末装置 1では、 これを復号化して乱数を得て、 発生した乱数と比較する。 対応していれば、 正し い I Cカード 3が挿入されたことを確認する。
尚、 この処理は、 I S 0規格に認証 (AUTHENT I CAT I ON) として 規定されるものである。 I Cカードが外部装置との間で格納情報の処理等を行う に先立ち、 こうした認証を行う。 後述する店用 I Cカード 3の処理ステップ S 8 0 4、 S 8 1 0. S 8 2 0、 S 8 3 0、 S 8 4 0、 S 8 5 0及び顧客 I Cカード の処理ステップ S 1 2 0 4、 S 1 2 1 0、 S 1 2 2 0、 S 1 2 3 0 も同一処理 である。 これらの場合は、 I Cカード間、 すなわち、 顧客 I Cカード 2 と店用 I Cカード 3 との間で相互に認証する。 以後、 I C力一ド間認証と称し、 詳細説明 は省略する。
ステップ S 8 0 3
第 9図において、 店用 I Cカード 3は、 本ステップ S 8 0 3にて、 第 2図に示 す P〇 S端末装置 1からの店用 I C力一ドリ一ダライタ 2 1 を介したコマンド待 ち状態となる。
(電子財布取引処理)
電子財布の取引処理は、 店用 I Cカード 3では、 第 9図のステップ S 8 0 4な いし S 8 0 9にて実行され、 顧客 I Cカード 2では、 第 1 3図のステツプ S 1 2
0 4ないしステップ S 1 2 0 9にて実行される。 従って、 両図のステップを同時 に、 説明する。
ステップ S 8 0 4、 S 8 0 5、 S 1 0 4
第 3図における、 P〇 Sのステップ S 2 0 8において、 P〇 S端末装置 1から 、 電子財布取引の処理が店用 I Cカード 3に委託されると、 最初にこのステップ S 8 0 4の顧客 I Cカード認証、 S 8 0 5の自己 I Cカードの認証、 第 1 3図に おける S 1 2 0 4の I Cカード間認証を行う。 すなわち、 相互認証を実行する。 この際、 第 2図に説明したように、 店用 I Cカードリ一ダライタ 2 1、 バス 1 3 、 顧客 I Cカードリーダライ夕 2 0 aを介して、 店用 I Cカード 3 と、 顧客 I C カード 2は通信を行う。
ステップ S 1 0 5
顧客 I Cカード 2は、 認証がとれると、 すなわち、 店用 I Cカード 2が正当な
1 Cカードであることを確認すると、 本ステップ S 1 2 0 5に進む。 このステツ プにおいて、 I Cカード 2の不揮発性メモリ 3 5のアクセス権限テーブル 4 6を 検索して、 該当電子財布領域 4 2へのアクセスを許可するかを判定する。 ァクセ スを許可する場合には、 電子財布領域のデータを揮発メモリ 3 4に展開する。 ステップ S 8 0 6、 S I 2 0 6 顧客 I Cカード 2から暗証番号を店用 I C力一ド 3に要求する。 店用 I Cカー ド 3は、 第 2図に示す顧客 I C力一ドリーダライタ 2 0に対して暗証番号の入力 を則す。 I Cカードリーダライタ 2 0は、 表示部 2 0 cにこの旨を表示する。 顧 客が暗証番号をキ一パッ ド 2 0 bより入力すると、 その情報は、 顧客 I Cカード 2に供給される。 顧客 I Cカード 2は、 第 5図のメモリエリア 3 5に格納されて いる暗証番号 4 7 と、 入力暗証番号とを比較照合する。 暗証番号同士が対応関係 にあれば、 口ック状態を解く とともに、 店用 I Cカード 3にアクセスの許可通知 を出力して、 次のステップへ進む。 なお、 これらの通信はいずれも暗号化されて いても良い。
店用 I Cカード 3は、 ステップ S 8 0 6において、 許可通知を得ると次のステ ップへ進む。
ステップ S 8 0 7、 S 8 0 8、 S 1 0 7 . S 1 0 8
店用 I Cカード 3は、 本ステップ S 8 0 7、 S 8 0 8にて、 また顧客 I Cカー ド 2はステップ S 1 2 0 7にて、 電子現金の移転を行う。 すなわち、 店用 I C力 —ド 3では、 買い上げ額に応じた取引金額が、 先の委託の際に転送され、 メモリ に展開されている。 S 8 0 7において、 店用 I Cカード 3は、 これを読取る。 次 いで、 ステップ S 8 0 8にて、 この金額分の電子現金の移転を顧客 I Cカード 2 に要求する。 顧客 I Cカード 2は、 該当取引額を電子財布領域 4 2の残高から引 き算する ( S 1 2 0 8 ) 。 これとともに、 その取引額を、 店用 I Cカード 3に移 転コマンドとともに、 送信する。 これを受けて、 店用 I Cカード 3は、 自己の電 子財布領域 7 0 8を更新する。 そして、 交換終了通知を、 顧客 I Cカード 2に発 行して、 電子現金の交換を完了する。 また、 顧客 I Cカード 2は、 交換終了通知 を受けて、 電子現金の移転を完了する。 '
尚、 電子現金の通信は、 機密通信にて行われる。 すなわち、 店用 I Cカード 3 からの現金の移転要求の際には、 移転額を、 先の相互認証の際に使用した暗号化 鍵、 暗号化プログラムを使用して暗号化する。 顧客 I Cカード 2では、 この暗号 化されたが金額情報を復号化して、 取引額情報を入手する。 また、 顧客 I Cカー ド 2からの取引額の移転の際には、 移転コマンドと、 同様に暗号化を施して取引 額とを送信する。 これを店用 I Cカード 3で復号化して、 現金の移転を受ける。 尚、 取引金額に限らず、 通信中の一部の情報について同様に暗号化をし、 その 一部を含む全ての情報と、 この暗号化データを一緒に相手方へ送信する。 そして 、 当該相手方でそれを復号して受信した全データと対比し、 暗号化された当該一 部の部分が一致するか確認しても良い。 いずれにせよ通信中の情報は両者で正し い情報であることが確認できる様に暗号化技術が施される。
ステップ S 8 0 9、 S 1 2 0 9
第 9図において、 店用 I Cカード 3は、 取引額の交換が終わると、 取引が終わ つたことを示す完了通知を、 店用 I Cカードリーダライタ 2 0を介して P 0 S端 末装置 1 に通知する。 そして、 ステップ S 8 0 3のコマンド待ち状態に戻る。 第 1 3図において、 顧客 I Cカード 2は、 電子現金の移転が終了すると、 取引 の履歴を、 メモリ 3 5の電子財布領域 4 2の履歴領域に格納して、 電子財布取引 を終了する。 そして、 ステップ S 1 2 0 3のコマンド待ち状態に移行する。
(クーポン券回収処理)
店用 I Cカード 3は、 第 1 1図のステップ S 8 5 0乃至 S 8 5 3により、 顧客 I Cカード 2は、 第 1 4図のステップ S 1 2 3 0乃至 S 1 2 3 4により、 ク一ポ ン券の回収処理を実行する。
ステップ S 8 5 0、 S 1 2 3 0、 S 1 2 3 1
このステップ S 8 5 0、 S 1 2 3 0で前述した相互認証を行う。 ついで、 顧客 I Cカード 2は、 S 1 2 3 1でクーポン券の格納領域に対するアクセス権限の確 認、を行う。
ステップ S 8 5 し S 1 2 3 2
店用 I Cカード 3は、 ステップ S 8 5 1にて、 P 0 S端末装置 1から指定され たクーポン券の商品コ一ドとともに、 回収コマンドを、 顧客 I Cカード 2に送信 する。 顧客 I Cカード 2は、 ステップ S 1 2 3 2において、 受信コマンドに基づ いて回収処理を実行する。 すなわち、 コマンドに含まれている商品コードによつ て、 クーポン券領域 4 4 を検索し、 該当する商品コードに関係する情報を読取り 、 店用 I Cカード 3に転送する。 この転送情報には、 商品コ一ド、 割引率、 発行 日、 発行店、 及び電子署名を含んでいる。 電子署名は、 クーポン券情報、 商品コ ード、 割引率、 管理元発行日、 管理元の企業コード、 製造者コード等から特定の 暗号化鍵で暗号化したものを使用することができる。 さらに、 これら I Cカード 間での転送情報は、 相互認証に利用した暗号鍵を使用して暗号化して転送される ステップ S 8 5 2、 S 1 2 3 3
店用 I C力一ド 3は、 暗号化がなされていれば、 これを復号化し、 ステップ 8 5 1にてこれを回収した後、 本ステップ S 8 5 2にて、 自己のテーブル領域 7 1 3に所有する電子署名との比較検証を行う。 この検証により正しいク一ボン券で あることを確認した後、 移転完了通知を顧客 I Cカード 2に送信する。 顧客 I C カード 2は、 S 1 2 3 3にて、 この移転完了通知に応じて、 クーポン領域 4 4の 該当クーポン情報を削除して、 移転を完了する。 そして、 ステップ S 1 2 0 3の コマンド待ち状態に移行する。
ステップ S 8 5 3
店用 I Cカード 3は、 第 8図の回収クーポン券領域 7 1 4に、 回収したクーポ ン券を、 利用日、 利用店コードとともに、 格納する。 その後、 店用 I Cカードリ —ダ 2 0 aを介して、 P 0 S端末装置 1の制御部 1 7に、 クーポン券の移転完了 を通知する。 そして、 第 9図の S 8 0 3のコマンド待ちに戻る。
(当たり券の処理)
第 3図における P〇 S端末装置 1のフローチャートの中の、 当たり券に関する 処理ステップ S 2 1 0に関連する店用 I Cカード 3のフローチャートは、 第 1 0 図のステップ 8 2 0ないし S 8 2 7に示されている。 顧客 I Cカード 2のフロー チャートは、 第 1 4図のステップ S 1 2 2 0乃至 S 1 2 4に示されている。 ステップ S 8 2 0、 S 1 2 2 0、 S 1 2 1
P 0 S端末装置 1のステップ S 2 1 0では、 店用 I Cカード 3に対して当たり 券の処理を委託する。 これにより、 店用 I Cカード 3では、 コマンド待ちのステ ップ S 8 0 3からステップ S 8 2 0へ移行する。 ステップ S 8 2 0は、 相手方 I Cカードとの相互認証ステップであり、 前述した通りであるため、 説明は省略す る。 また、 これに対応して、 顧客 I Cカード 2では、 ステップ S 1 2 2 0で、 相 互認証処理を実行する。 さらに、 ステップ S 1 2 2 1にて、 相手方の I Cカード のァクセス権限を前記したアクセス権限テーブルを使用して確認する。 ステップ S 8 2 1、 S 1 2 2 2
相互認証が良好に終了すると、 店用 I Cカード 3は、 ステップ 8 2 1において 当たり券の読取回収を行う。 すなわち、 店用 I Cカード 3は、 顧客 I Cカード 2 に、 籤、 投票券の読取コマンドを発行する。 これに応じて、 顧客 I Cカード 2は 、 ステップ S 1 2 2 2にて、 第 5図におけるメモリのエリア 4 3に格納された籤 の情報、 及び、 投票券の情報を読取り、 店用 I Cカード 3に送信する。 この時、 籤、 投票券のそれぞれに付けられている電子署名も送信する。 また、 送信される 情報は、 盗聴や偽造に対する安全性を高めて送信される。 例えば、 前述した通り 、 全部の情報または一部の情報が暗号鍵を使用して暗号化されたり、 全部又は一 部の情報を暗号化鍵を使用して暗号化し、 それを、 全ての送信情報の後に付加し て送信しても良い。 こう した通信を行う際には、 フローチャートには図示しなか つたが、 送り側及び受け側で、 それぞれの暗号を解く手順が挿入されることは言 うまでもない。
ステップ S 8 2 2、 S 8 2 3
店用 I Cカード 3は、 本ステップ S 8 2 2にて、 顧客 I Cカード 2から受信し た籤、 投票券から当たり券を抽出する。 すなわち、 第 8図に示す店用 I Cカード 3の当たり券テーブル 7 0 9に格納された当たり籤と当たり投票番号と、 当該受 信した籤、 及び投票券の該当部分を対比する。 籤については、 籤番号及び発行日 、 発行店を比較して一致するものを抽出する。 ステップ S 8 2 3において、 抽出 された籤については、 その籤に付加されている電子署名を、 テーブル 7 0 9に格 納されている電子署名と比較し、 正当な券であることを検証する。
また、 投票券については、 ステップ S 8 2 2において、 テーブル 7 0 9中の投 票期間に、 受信した投票券の投票日が該当するかどうかを確認して、 該当投票期 間の日付を持つ投票券を抽出する。 次いで、 テーブル 7 0 9の当たり投票番号と 、 抽出された該当期間の投票番号を対比して当たり投票券を抽出する。
次いで、 顧客 I Cカード 2からのデータの内、 当たり投票券の投票口数を読み 出す。 一方、 テーブル 7 0 9から投票単位に対する払い戻し額を読み出し、 当該 顧客 I Cカード 2に格納されている当たり投票券に基づく合計の払い戻し額を演 算する。 店用 I C力一ド 3の揮発メモリ 6 4に、 一次的に、 これらの情報を蓄え る。
その後、 ステップ S 8 2 3にて、 顧客 I C力一ド 2から受信した該当投票券の 電子署名と、 第 8図のテーブル 7 0 9に格納している当たり投票券の電子署名と を対比して本物かどうかを検証する。
ステップ S 8 2 4、 S 1 2 2 3
当たり券の抽出が行われると、 残りの券データは、 顧客 I Cカード 2に返却さ れる。 ステップ S 8 2 4において、 店用 I Cカード 3は、 後日抽選分として、 当 たり券の情報を除いた受信している全ての券データを、 顧客 I Cカード 1に転送 する。 この際、 前記した様な暗号化処理が施されて、 送信されることは言うまで もない。
顧客 I Cカード 2では、 本ステップ S 1 2 2 3において、 受信した籤 ·投票券 の情報の暗号化を解き、 自己のメモリに未だ格納している各券の電子署名との比 較を行う。 この比較により、 正しいと判った際に、 先に格納されている全ての投 票券 ·籤の情報を、 受信した全ての籤 ·投票券の情報に置き換える。 すなわち、 当たり券を除いた各券の電子署名を含むサービス券情報が、 新たに顧客 I Cカー ド 2の第 5図における領域 4 3に格納される。 この時点で、 顧客 I Cカード 2に 格納されている籤、 投票券の情報は、 当たり券が除かれた情報となる。
また、 各券の電子署名は、 機密管理において、 籤、 投票券の他の情報と異なる 管理がなされている領域に格納される。 すなわち、 第 6図に示すアクセス権限テ —ブル 4 6によって明らかなように、 電子署名は、 情報交換の相手が I Cカード に限り、 読み出し、 更新ができる領域に格納され、 その他の装置からのアクセス は禁止されている。 一方、 券番号、 発行日、 等の一般情報は、 所定の条件さえそ ろえば、 いずれの装置からもアクセスを許す領域に格納される。 このため、 本ス テツプ S 1 2 2 3において、 顧客 I Cカード 2は、 それぞれの情報と電子署名を 、 異なる格納領域に格納する。
ステップ S 1 2 2 4
顧客 I Cカード 2は、 籤 ·投票券情報の格納、 電子署名の格納が終了すると、 全てを受信した旨を示す受信確認を店用 I Cカード 3に出力する。
ステップ S 8 2 5、 S 8 2 6 店用 I Cカード 3は、 受信確認コマンドを受信すると、 当たり券の移転作業が 完了したとして、 ステップ S 8 2 5に移行する。 ステップ S 8 2 5において、 店 用 I Cカード 3は、 先に店用 I Cカード 3の揮発性メモリ 6 4に格納していた払 い戻し額、 サービス情報を、 第 2図に示す P O S端末装置 1の制御部 1 7に通知 する。 その後、 ステップ S 8 2 6において、 委託処理完了通知を P O S端末装置 1の制御部 1 7に返送する。 これにより、 当たり券処理委託された店用 I Cカー ドの当たり券処理を完了する。 そして、 第 9図のステップ 8 0 3のコマンド待ち の状態に戻る。
(クーポン券回収処理)
第 3図において、 P〇 S端末装置 1は、 ステップ S 2 0 8において、 店用 I C カード 3に対してクーポン券回収処理を委託する。 この際、 P〇 S端末装置 1は 、 該当クーポン券に関するクーポン券情報、 即ち、 商品コードを店用 I Cカード 3に通知する。 この処理の委託は、 店用 I Cカード 3のフローチヤ一卜において 、 第 1 1図のステップ S 8 5 0からステップ S 8 5 3迄及び顧客 I Cカード 2の フローチヤ一卜においては、 第 1 4図のステップ 1 2 3 0からステップ S 1 2 3 4において遂行される。
ステップ S 8 5 0、 S 1 2 3 0、 S 1 3 1
これらステップ S 8 5 0、 S 1 2 3 0は、 前述と同様の相互認証ステップであ り、 説明を省略する。 また、 顧客 I Cカード 2のステップ S 1 2 3 1は、 通信相 手のアクセス権限の確認ステップであり、 前述と同様に、 クーポン情報エリアへ のアクセスのための読取、 書き込み、 削除が可能な領域であることを確認する。 ステップ S 8 5 1, S 1 2 3 2、 S 1 2 3 3
上記の相互認証及びアクセス権限の確認が終了すると、 ステップ S 8 5 1にて 、 店用 I Cカード 3は、 P 0 S端末装置 1から指定されているクーポン券の移転 を顧客 I Cカード 2に要求する。 これに基づき、 顧客 I Cカード 2では、 ステツ プ S 1 2 3 2にて、 自己の格納するメモリエリア( 第 5図におけるエリァ 4 4 ) から、 該当クーポン券を読み出し、 店用 I Cカード 3に転送する。 その際、 その クーポン券に対応する電子署名も転送する。 その後、 ステップ S 1 2 3 3におい て、 転送したクーポン券を顧客 I Cカード 2のメモリのエリア 4 4 (第 5図) か ら削除して、 クーポン券の移転を完了する。
ステップ S 8 5 2、 S 8 5 3
店用 I Cカード 3は、 第 1 1図のステツプ S 8 5 1にて、 電子署名付のク一ポ ン券を、 顧客 I Cカード 2から受信する。 ステップ S 8 5 2において、 受信した クーポン券に付随する電子署名を、 店用 I Cカード 3が保有する電子署名と比較 して検証する。
検証の結果、 本物であることが確認されると、 店用 I Cカード 3は、 第 1 1図 のステップ S 8 5 3において、 第 8図の回収クーポン券格納領域 7 1 4に受信し たクーポン券を格納する。 このクーポン券の情報としては、 受信したクーポン券 情報、 すなわち、 商品コード、 割引率、 有効期間、 発行店、 及び電子署名が含ま れる。 さ らに、 同領域 7 1 4に、 本クーポン券の利用日、 及び、 利用店のコ一ド が書き込まれる。 この際、 店用 I Cカード 3は、 商品コードに応じて、 分類して 記憶する。 例えば、 一般に 1つの製造メーカの複数の商品には、 商品コードが連 続する番号が付されている。 この番号順にソートして、 記憶してゆく。 この処理 が終了すると、 該当商品コードとその割引率とを P 0 S端末装置 1に通知して、 店用 I Cカード 3のクーポン券回収処理は終了する。 そして、 第 9図のステップ 8 0 3のコマンド待ちの状態に戻る。
(籤の発行処理)
第 3図の P O S端末装置のフローチャートにおいて、 P O S端末装置 1は、 ス テツプ S 2 1 3において、 店用 I Cカード 3に籤 ·投票券の発行委託を行う。 こ の発行委託にかかる店用 I C力一ドの処理は、 第 9図のステップ S 8 3 0乃至 S 8 1 8及び第 1 0図のステップ S 8 4 0乃至 S 8 4 3に示される。 又、 顧客 I C カード 2の処理は、 第 1 3図のステップ S 1 1 0ないしステップ S 1 2 1 4に 示される。
ステップ S 8 1 0 (第 9図) 、 S 1 2 1 0、 S 1 1 1 (第 1 3図) ステップ S 8 1 0、 S 1 2 1 0は、 I C力一ド間の相互認証であり、 前述した 通りであるので、 説明を省略する。 ステップ S 1 2 1 1において、 顧客 I Cカー ド 2は、 アクセスする店用 I Cカード 3のアクセス権限を確認する。 すなわち、 第 6図のアクセス権限テーブルを参照して、 I Cカードからの投票情報エリアの ァクセスにかかるものであるため、 顧客 I C力一ド 2が口ック状態になければ、 アクセス自由となっていることを確認する。
ステップ S 8 1 1、 S 8 1 2
店用 I C力一ドでは、 ステップ S 8 1 1にて、 P 0 S端末装置 1から発行委託 とともに、 通知された売上額に応じた発行枚数 Nを計算する。 次いで、 ステップ S 8 1 2にて、 その結果の数値 Nが自然数 「 1」 以上であることを確認し、 「 1 」 以上であれば、 その数値 N枚分を発行するため、 次のステップに移行する。 尚 、 「 1」 以下であれば、 ステップ S 8 1 8の完了ステップに移行する。
ステップ S 8 1 3ないし S 8 1 7、 ステップ S 1 2 1 2、 S 1 2 1 3
店用 I Cカード 3は、 このステップ S 8 1 3乃至ステップ S 8 1 7にて、 先の ステップ S 8 1 1で算出された発行枚数 N分の籤を発行する。
すなわち、 ステップ S 8 1 3において、 第 8図に示す発行可能籤■投票枠番テ 一ブル 7 1 2を参照して、 籤番号の範囲の最下位番号から、 籤番号及び電子署名 を読み出し、 ついで、 該当テーブル 7 1 2の領域の最下位を書き換える。
ステップ S 8 1 4において、 読み出した番号及び電子署名を使用して、 店用 I Cカード 3による電子署名を作成する。 このため、 第 8図に示す暗号化鍵 7 0 6 を使用し、 顧客 I Cカード 2 との間で相互認証した暗号論理で暗号化する。 その 後、 ステップ S 8 1 5において、 顧客 I Cカード 2へ籤番号、 電子署名、 及び店 用 I Cカードで作成した電子署名を転送する。
転送が完了すると、 ステップ S 8 1 6において、 店用 I Cカード 3は、 第 8図 のメモリの発行籤 ·投票券格納領域 7 1 1に、 転送した籤番号、 発行日、 発行店 とともにその電子署名を格納する,
顧客 I Cカード 2は、 第 1 3図のステップ S 1 2 1 2において、 受信した情報 の内、 籤番号と電子署名を、 相互認証した暗号化論理及び自己の持つ暗号化鍵で 暗号化する。 そして、 店用 I Cカード 3で付加した電子署名と、 この暗号化した 情報とがー致するか確認する。 次に、 正しいものであることが確認できた場合に は、 ステップ S 1 2 1 3において、 第 5図の籤、 投票券情報領域 4 3に、 籤番号 を、 発行日、 発行店のコードとともに格納する。 又、 店用 I Cカード 3のテープ ルから読み出された電子署名は、 この籤番号等の情報と関係付けて、 外部からの アクセスから保護された領域に格納する。
次いで、 店用 I Cカード 3は、 ステップ S 8 1 7において、 ステップ S 8 1 1 で算出した数 N枚に、 発行籤枚数が達しているかどうかを判断する。 達していな い場合には、 ステップ S 8 1 3に戻り、 これを繰り返す。
ステップ S 8 1 8、 S 1 2 1 4
店用 I Cカード 3は、 ステップ S 8 1 7において、 該当枚数分の籤を発行した 場合には、 ステップ S 8 1 8において、 顧客 I Cカード 2に発行完了通知を発行 する。 これに応答して、 顧客 I Cカード 2は、 全て正しく受信し、 格納した場合 に、 ステップ S 1 2 1 4にて、 格納終了処理として、 店用 I Cカード 3に格納完 了通知を出力して、 この処理を終了する。 一方、 店用 I Cカード 3は、 このステ ップ S 8 1 8において、 顧客 I Cカード 2から格納完了通知を受けた後、 P 0 S 端末装置 1の制御部 1 7に発行完了通知を送信して、 籤発行処理を終了する。 そ して、 ステップ S 8 0 3のコマンド待ちに戻る。
(投票券発行処理)
投票券の発行処理が、 p 0 S端末装置 1から店用 I Cカード 3に委託されると 、 店用 I Cカード 3は、 第 1 0図のステップ S 8 3 0乃至 S 8 3 8を実行する。 また、 顧客 I Cカード 2は、 籤発行処理で説明した第 1 3図のステップ S 1 2 1 0ないし S 1 2 1 4を実行する。 これにより、 投票券の発行処理が遂行される。 なお、 顧客 I Cカード 2の処理は、 前述した通りであるので、 ここでは説明を省 略し、 店用 I Cカード 3の処理のみ説明する。
ステップ S 8 3 0
本ステツプ S 8 3 0にて、 店用 I Cカード 3は、 顧客 I Cカード 2 との間で相 互認証を行う。 この相互認証は、 前述したものと同一であり、 説明を省略する。 ステップ 8 3 1
本ステップ S 8 3 1において、 店用 I C力一ド 3は、 P 0 S端末装置 1から通 知された額、 すなわち、 割引済の売上額、 を一定基準額で割り算して、 投票可能 口数 Nを算出する。 例えば、 通知された額が 3 0 0 0 0円で、 基準額が 1 0 0 0 円とすると、 投票可能口数は 3 ◦口となる。
ステップ S 8 3 2 店用 I Cカード 3は、 第 8図の発行可能籤番 ·投票枠番テ一ブル 7 1 2を参照 し、 投票可能枠番を読み出す。 そして、 第 2図の顧客入力パッ ド 2 0に、 計算し た投票可能口数と、 投票可能枠番を表示するよう指示する。 これに基づき、 ステ ップ S 8 3 3において、 顧客入力パッ ド 2 0は、 表示器 2 0 cに投票可能口数と 投票可能枠番を表示する。 この表示に従い、 買い物客が、 投票番号と投票数をキ —パッ ド 2 0 bを用いて入力する。
入力された投票番号と投票数は、 表示器 2 0 cに表示されるとともに、 顧客入 カパッ ド 2 0は、 残り投票口数を表示する。 全ての投票口数が投票された際、 顧 客入力パッ ド 2 0は、 各投票番号とそれぞれの投票口数を店用 I Cカード 3に転 送する
ステップ S 8 3 4、 S 8 3 5
店用 I Cカード 3は、 本ステップ S 8 3 4にて、 これらを受信する。 そして、 店用 I Cカード 3は、 本ステップ S 8 3 5にて、 投票番号毎に投票情報を作成す る。 すなわち、 投票番号、 その投票番号に投票した口数、 発行日、 店用 I Cカー ド 3に一意に割り付けられているコード、 及び、 投票券の通し番号を使用して、 所定の演算を施した電子署名を作成する。 この電子署名は、 特に、 店用 I Cカー ド 3の暗号化鍵や相互認証に使用した暗号論理での暗号化でなく とも、 単純な所 定の決ま りの加減乗除を行う事でも良い。 投票券の払い戻しの際に、 払い戻され た電子署名を記憶しておき、 他人の投票券の払い戻し時に、 他人の投票券の電子 署名とこの電子署名と比較して、 重複がないか確認する。 これにより、 同じ投票 番号の投票券が、 2回払い戻されることを防止することができる。 更に、 投票券 の電子署名を復号化することで、 これらの投票情報と同じ情報、 すなわち、 投票 番号、 投票口数、 店用 I Cカードのコード、 発行日、 通し番号が復元できるかを 確認する。 これにより、 投票券の偽造を防止する。
ステップ S 8 3 6、 S 8 3 7、 S 8 3 8
本ステツプ S 8 3 6にて、 店用 I Cカード 3は、 上記のステップ S 8 3 5で作 成された投票券情報、 すなわち投票情報と電子署名を、 第 8図の領域 7 1 1に格 納する。 ステップ S 8 3 7においては、 店用 I Cカード 3は、 格納した投票券情 報を、 顧客 I Cカード 2に転送する。 全て転送が終了し、 顧客 I Cカード 2から 、 格納完了通知を受信すると、 ステップ S 8 3 8にて、 店用 I Cカード 3は、 P 〇 S端末装置 1に対して委託処理完了を通知する。 そして、 ステップ S 8 0 3の コマン ド待ちに戻る。
(新規クーポン券発行処理)
P〇 S端末装置 1は、 第 3図のフローチャートのステップ S 2 1 4において、 購入商品の中に、 クーポン券を発行する対象の商品の有る場合には、 店用 I C力 ―ド 3にクーポン券の発行委託を行う。 店用 I Cカード 3は、 第 1 1図のステツ プ S 8 4 0ないし S 8 4 3により発行処理を実行する。 顧客 I C力一ド 2は、 第 1 3図のステップ S 1 2 1 0ないし S 1 2 1 4を実行する。 このステップ S 1 2 1 0乃至 S 1 2 1 4は、 前述の籤発行処理で説明されている。 そして、 籤発行処 理で説明したものと、 格納領域の指定、 アクセス権限の確認領域が相違する以外 は、 同一である。 これにより、 第 5図の顧客 I C力一ド 2のクーポン券領域 4 4 にクーポン券が格納される。 このため、 顧客 I Cカード 2の処理の説明は省略す る。
ステップ S 8 4 0
本ステップは、 前述した I Cカード間の相互認証であり、 説明を省略する ステップ S 8 4 1
本ステップ S 8 4 1にて、 店用 I Cカード 3は、 第 8図の該当クーポン券テ一 ブル 7 1 3 を検索して、 P 0 S端末装置 1から通知された商品コードに該当する クーポン券情報を検索する。 そして、 店用 I Cカード 3は、 該当クーポン券情報 を読みだす。 即ち、 該当するクーポン券についての、 次の取引時に割引対象とな る商品コード、 すなわち、 発行するクーポン券が利用可能な商品の商品コード( 以下、 発行クーポン商品コードと称する) 、 割引率、 あらかじめ付されている電 子署名が読みだされる。
ステップ S 8 4 2
本ステップ S 8 4 2において、 店用 I Cカード 3は、 読み出した発行クーポン 商品コード、 割引率、 及び、 電子署名と、 発行日、 店用 I Cカード 3に割りつけ られた I Dコード、 発行クーポン券の通し番号を所定の数式で加減乗除して、 新 たな電子署名を作成する。 ステップ S 8 4 3
ステップ S 8 4 3において、 店用 I Cカード 3は、 第 8図のメモリ 6 5の発行 クーポン券格納領域 7 1 5に、 これらのクーポン券情報を格納する。 更に、 店用 I Cカード 3は、 顧客 I Cカード 2に、 これらの情報を転送する。 その後、 転送 が終了し、 顧客 I C力一ド 2から格納完了通知を受信すると、 店用 I Cカード 3 は、 P 0 S端末装置 1の制御部 1 7へ、 委託処理完了通知を発行する。 そして、 ステップ S 8 0 3のコマンド待ちに戻る。
(クーポン券該当商品テーブルの読み出し処理)
P 0 S端末装置 1は、 第 3図の設定モードのステップ S 2 2 2において、 ク一 ボン券を発行すべき商品のコ一ドを読み出す処理を実行する。 これに対応する店 用 I Cカード 3のフローチャートが第 1 1図のステップ S 8 6 0に示されている このステップ S 8 6 0においては、 店用 I Cカード 3は、 P 0 S端末装置 1か らの読取コマンドを受信して、 第 8図の該当クーポン券テーブル 7 1 2をァクセ スし、 その商品コ一ドを読み出す。 そして、 店用 I Cカード 3は、 その商品コ一 ドを P 0 S端末装置 1に転送して、 処理を終了する。 そして、 ステップ S 8 0 3 のコマン ド待ちに戻る。
(顧客 I Cカードの広告領域記入処理)
第 3図のステップ S 2 1 5において、 P 0 S端末装置 1は、 顧客 I C力一ド 2 に対して広告情報を記入する処理を行う。 これに対応する顧客 I Cカード 2の処 理フローが、 第 1 4図のステップ S 1 2 4 0ないしステップ S 1 2 4 3に示され る。
まず、 ステップ S 1 4 0にて、 顧客 I Cカード 2は、 P O S端末装置 1から 広告情報の書込コマンドを受信すると、 第 6図のアクセス権限テーブル 4 6を確 認する。 次いで、 ステップ S 1 2 4 1にて、 顧客 I Cカード 2は、 格納エリアを P O S端末装置 1に通知する。 例えば、 格納可能アドレス、 すなわち、 格納可能 な領域の先頭ァドレスから格納可能容量を、 P O S端末装置 1に通知する。
これに従って、 P 0 S端末装置 1から広告情報が転送される。 ステップ S 1 2 4 2にて、 顧客 I Cカード 2は、 その情報を受信し、 第 5図の広告領域 4 5に順 次格納してゆく。 顧客 I Cカード 2は、 最終受信を終了すると、 受信完了を示す 通知を P O S端末装置 1 に送信して、 処理を終了する。 そして、 ステップ S 1 2
0 3のコマン ド待ちに戻る。
- -表示器 - ·
上記の如く、 I Cカード 2、 3に格納された各情報を顧客が見るために、 I C カード用の表示器、 いわゆるバランサ、 が用意される。 第 1 6図は、 表示器の構 成図、 第 1 7図は、 表示器の斜視図である。 両図において同じ番号は同じものを 示している。
図中、 1 5 0 0は表示器、 1 5 1 1は I Cカードの端子に対する電気的な接点 、 1 5 1 0はキー、 1 5 1 7はキー制御部、 1 5 1 2はィンタ一フェース回路、 1 5 1 3はマイコン、 1 5 1 4は表示制御回路、 1 5 1 5は表示部である。
又、 第 1 7図において、 1 5 1 8は I C力一ドである。 同図は、 I Cカード 1 5 1 8の挿入状態を示す。 表示部 1 5 1 5は、 十数桁の文字キャラクタを表示可 能なものであり、 L C D、 液晶等の表示器で構成される。 また、 キ一 1 5 1 1の 数は、 3〜6個であり、 これを組み合わせてデータを入力したり、 モー ドを指定 したりできる。 接点 1 5 1 1は、 第 1 7図のカード揷入口 1 5 1 6の内部に設け られ、 顧客 I C力一ドゃ店用 I C力一ドが揷入されると、 それらの I Cカード 1 5 1 8の接点と電気的な接触をし、 情報通信を可能とする。 また、 この表示器 1 5 0 0の大きさは、 3 0 mmx 5 0 mm x 5 mm程度の大きさで、 携帯可能とな つている。
表示器 1 5 0 0 と I Cカードとの間の情報交換処理は、 第 1 5図の顧客 I C力 一ドの処理フローチヤ一トに示されている。 従って、 第 1 5図を基に、 処理を説 明する。
第 1 7図に示すように、 I Cカード 1 5 1 8カ 、 表示器 1 5 0 0に揷入される と、 I Cカード 1 5 1 8は、 表示器 1 5 0 0の接点 1 5 1 0、 インタ一フェース 回路 1 5 1 2を介して C PU I 5 1 3 との間で相互認証、 接続装置識別を行う。 これは、 第 1 3図で前述した最初のステップ S 1 2 0 1、 S 1 2 0 1で実行され る。
ステップ S 1 2 5 0 (第 1 5図) 本ステツプにて、 I Cカード 1 5 1 8は、 表示器 1 5 0 0のアクセス権限を確 認する。 表示器 1 5 0 0の場合は、 第 6図のアクセス権限テーブルに示すように 、 電子署名エリアのアクセスが禁止されているが、 他のエリアは、 いずれも読取 ( R E A D ) のみ可能となっている。 また、 I Cカード 1 5 1 8がロック状態に あるときは、 表示器 1 5 0 0は、 I Cカード 1 5 1 8の電子財布データのェリァ と、 籤 '投票情報エリアについては、 必ず暗証照合しないと、 アクセスができな い。 このアクセス権限テーブルを I C力一ド内の図示されないワークエリァにテ —ブル展開する。
ステップ S 1 2 5 1
I Cカード 1 5 1 8は、 本ステップにて、 自己がロック状態にあるかどうかを 確認する。 ロック状態にある時は、 ロッ ク状態である旨、 表示器 1 5 0 0に通知 して、 ステップ S 1 2 5 iへ移行する。 ロックが解除されているときは、 ステツ プ S 1 2 5 3へ移行する。 表示器 1 5 0 0は、 この状態情報を受信して、 表示部 1 5 1 に、 ロック状態、 例えば 「し〇 C K」 、 を表示する。
ステップ S 1 2 5 1
I Cカード 1 5 1 8がロック状態にあるときは、 顧客は、 表示器 1 5 0 Qのキ - 1 5 1 0を操作して、 暗証番号を入力する。 例えば、 表示器 1 5 0 0の C P U 1 5 1 3は、 キ一 1 5 1 1の内 1つのキーの押下で数値をシフトさせて、 該当数 値で他のキーが押下されたら、 その数値を図示されない内部メモリに登録する。 これを、 暗証番号に相当する桁数分繰り返し、 最後に当該他のキーを 2回連続押 下すれば、 暗証番号を入力することができる。 これらは、 携帯電話や、 各種携帯 機器で使用されているキーの入力制御機能を利用できる。 こうした制御に基づい て顧客が入力した暗証番号は、 第 1 6図の C P U 1 5 1 3から I Cカード 1 5 1 8に転送される。 I Cカード 1 5 1 8では、 本ステップ S 1 2 5 2にて、 I C力 —ド 1 5 1 8が格納している暗証番号と、 入力された暗証番号とを対比する。 対 応関係があれば、 読み出し処理のステップ S 1 2 5 3に移行する。
読み出し処理のステップ S 1 2 5 3にて、 最初に、 I Cカード 1 5 1 8は、 第 5図に示す電子財布領域 4 2の残高を読み出し、 第 1 7図の表示器 1 5 0 0に供 給する。 表示器 1 5 0 0は、 残高を表示部 1 5 1 5に表示する。 表示器 1 5 0 0 の操作者は、 第 1 7図のキ一 1 5 1 1の内、 2つのキーを使用して、 残高の表示 状態から他の情報の表示状態に切り換える。 第 1 5図においては、 そのキーを仮 に Aキーと Bキーとして表記している。
残高表示状態で、 キー Aを押下すると、 その指示が表示器 1 5 0 0から I C力 —ド 1 5 1 8に通知される。 それに基づいて、 ステップ S 1 2 5 4に移行し、 I Cカード 1 5 1 8は、 ァ ドレスを進めて、 第 5図の電子財布領域 4 2の取引履歴 の情報が格納される領域の最初の取引履歴を読み出す。 そして、 取引履歴を表示 器 1 5 0 0に供給し、 その表示部 1 5 1 5に表示する。 次いで、 再度キーが押下 され、 その信号を I Cカード 1 5 1 8が受信すると、 その次の取引履歴を読み出 し、 同様にしてその取引履歴を前の表示を切り換えて表示させるため、 表示情報 を表示器 1 5 0 0に供給する。 以下、 キ一 Aの押下がある都度これを繰り返し、 最後の取引履歴になり、 キー Aが押下されると、 再度、 残高領域の残高を表示器 1 5 0 0に供給する。
ここでキー Bが押下されると、 キー Bに係る押下を示す指示が I Cカード 1 5 1 8に供給され、 I Cカード 1 5 1 8がステップ S 1 2 5 5を実行する。
ステップ S 1 2 5 5では、 I Cカード 1 5 1 8の籤、 投票券の領域の先頭の券 の情報を読み出し、 表示器 1 5 0 0に供給して、 一つの投票券あるいは籤の情報 を表示する。 尚、 この時、 I Cカード 1 5 1 8は、 第 5図の電子署名領域を除く 情報を、 表示器 1 5 0 0に供給して、 表示せしめる。 ここで、 操作者がキ一 Aを 押下すると、 ステップ S 1 2 5 7に移行し、 次の券の情報を読み出す。 次々に、 キー Aを押下することにより、 第 5図の籤、 投票券情報領域 4 3の各券の情報が 読み出されて、 表示器 1 5 0 0に供給され、 表示される。
一方、 キー Bが押下されると、 ステップ S 1 2 5 8に移行する。 また、 前述し たステップ S 1 2 5 2において、 暗証が一致しなかった場合にも、 広告領域を表 示する為、 本ステップ S 1 2 5 8に移行する。
ステップ S 1 2 5 8では、 第 5図の広告領域 4 5に記憶された情報が読みださ れる。 これは、 表示器 1 5 0 0に供給されて、 一行分の広告情報が表示される。 キ一 Aを押下する度に、 ステップ S 1 2 5 8にて、 I Cカード 1 5 1 8の広告領 域 4 5を、 広告の記憶ァドレスの順番で読み出し、 表示器 1 5 0 0に供給して表 示する。 これにより、 広告が長文であっても、 キー Aの繰り返し押下により、 順 番に読みだされて、 第 1 7図の表示器 1 5 0 0の表示部 1 5 1 5に表示されるこ とになる。
この段階で、 キー Bを押下すると、 I Cカード 1 5 1 8は、 クーポン券の情報 を表示するためのステップ S 1 2 5 9に移行する。 S 1 2 5 9において、 ク一ポ ン券の読み出しの場合も、 I Cカード 1 5 1 8は、 電子財布領域、 及び、 籤、 投 票券情報領域の読み出しと同様に、 各電子署名については読み出さず、 公にでき る情報のみを、 第 5図のクーポン券領域 4 4の先頭のクーポン券から読み出して 、 表示器 1 5 0 0に供給する。 第 1 7図の表示器 1 5 1 5は、 これらの情報を表 示する。 .
ここで、 キー Aを押下すると、 その都度、 ステップ S 1 2 6 0にて、 次に格納 されているクーポン券の情報を、 表示部 1 5 1 5に表示する。
ここで、 操作者が、 キ一 Bを押下すると、 I Cカード 1 5 1 8はステップ S 1 2 6 1に移行する。 このステップ S 1 2 6 1では、 ロック状態かを調べ、 ロック 状態でない場合には、 ステップ S 1 2 5 3の電子財布領域の読み取りステップに 戻る。 ロック状態である場合には、 ステップ S 1 2 5 2 と同様に、 暗証照合を行 う。 暗証が、 一致していれば、 電子財布領域を読み取るステップ S 1 2 5 3に戻 る。 暗証が一致していない場合で、 広告情報を読み取るステップ S 1 2 5 8に移 行し、 以下これを繰り返す。
このように本実施例の表示器 1 5 0 0によれば、 I Cカードの内容が確認でき る。 また、 電子署名の部分は表示器 1 5 0 0から視認できないため、 表示され籤 やクーポン券の情報に基づく、 券の複製、 偽造ができない。 しかも、 お店にとつ てみれば、 顧客の持つ表示器に、 お店の広告を表示できるという効果を奏する。 • · I Cカード連絡装置 · ·
本発明によれば、 クーポン券、 籤、 投票券は、 顧客 I Cカード間で移転が可能 である。 この移転は、 第 1 8図、 第 1 9図に示す連絡装置によってなされる。 第 1 8図は、 連絡装置のブロック図、 第 1 9図は、 連絡装置の斜視図である。 第 1 9図に示すように、 1 5 1 8 a、 1 5 1 8 bは、 顧客 I Cカードであり、 それぞれ異なる顧客が所有する I Cカードである。 連絡装置 1 6 0 0は、 携帯型 の電卓程度の大きさ、 例えば、 幅 7 0 mm. 長さ 1 1 0 mm、 厚さ 1 0 mm程度 の大きさである。 そして、 所定の操作によって、 連絡装置 1 6 0 0に挿入された 一方の I Cカード 1 5 1 8 aから他方の I Cカード 1 5 1 8 bへ、 電子現金、 ク 一ボン券、 籤、 投票券を移転可能となっている。
第 1 8図、 第 1 9図において、 同一物は同一符号が付して示されている。 図中 、 1 6 1 0はメモリ内蔵のマイクロプロセッサ、 1 6 1 1 a 、 1 6 1 1 bは接点 であり、 I Cカード 1 5 1 8 a、 1 5 1 8 bの接点と電気的に接触して、 I C力 ードとマイクロプロセッサ 1 6 1 0との間で電子的な情報の通信を可能とする。 1 6 1 2 a. 1 6 1 2 bは、 それぞれ接点と接続される I C力一ド用のィンタ一 フェース回路、 1 6 1 1は、 キ一ボードであり、 数値キーと、 その他のファンク ショ ンキ一で構成されている。
1 6 1 7は、 キ一ボードの制御回路、 1 6 1 5は表示器、 1 6 1 4は表示器 1 6 1 4の表示制御回路である。 尚、 第 1 9図は、 連絡装置 1 6 0 0の上下の 1つ のスロッ トにそれぞれ、 I Cカード 1 5 1 8 a、 1 5 1 8 bが挿入され、 情報交 換可能状態になっている状態の斜視図である。
以下、 連絡装置 1 6 0 0の動作を、 顧客 I Cカードの処理フローチャート第 1 3図及び第 1 4図を使用して説明する。
各 I Cカード 1 5 1 8 a、 1 5 1 8 b力 、 連絡装置 1 6 0 0のスロッ トに揷入 されると、 第 1 3図に示した処理をそれぞれの I C力一ドがスタートする。 すな わち、 前述した通り、 ステップ S 1 2 0 1にて、 接続装置が正しい装置であるか 確認を行う。 次いで、 S 1 2 0 2で、 接続された装置が何であるかを識別する。
この場合、 連絡装置 1 6 0 0であるので、 コマンド待ち S 1 2 0 3に移行する 。 第 1 8図において、 これらの情報は各ィンタ一フェース回路 1 6 1 2 a、 1 6 1 2 bを介してマイコン 1 6 1 0が受信し、 時分割に処理を進める。 両 I Cカー ド共にコマンド待ちのステップ S 1 0 3 となったところで、 連絡装置 1 6 0 0 のマイコン 1 6 1 0は、 表示制御回路 1 6 1 4を介して表示器 1 6 1 5に、 モー ド入力を促す内容の表示を行う。
連絡装置 1 6 0 0の所有者は、 ここでキー群 1 6 1 1のファンクションキ一か ら所定の機能を選択して押下する。 I Cカード間の電子現金、 籤、 投票券、 クー ボン券の移転の場合は、 例えば、 「移転」 と表記されたキ一( 以下、 「移転」 キ —と称する) を押下する。 これに基づいて、 マイコン 1 6 1 0は、 表示器 1 6 1 4に、 移転対象物の種類を表示する。 例えば、 最初に 「電子現金」 と表示し、 以 後 「移転」 キーが押下される都度、 「籤」 、 「投票券」 、 「クーポン券」 と次々 に移転対象物を表示する。
操作者が、 特定の移転対象物の表示において、 実行キー、 例えば、 「F 4」 と 表記されたキーを押下すると、 移転対象物の種類が特定される。 すなわち、 「籤 」 と表示された段階で、 実行キーを押下すると、 移転対象物が籤であることをマ イコン 1 6 1 0が認識する。
マイコン 1 6 1 0は、 次いで、 移転先と移転元を確定すべく、 表示器 1 6 1 5 に表示する。 例えば、 最初に、 「スロッ ト 1から 2 ?」 と表示し、 実行キーが一 定時間内で押下されない場合は、 「スロッ ト 2から 1 ?」 と表示する。 マイコン 1 6 1 0は、 キー群 1 6 1 1の実行キーが押下された際に、 表示器 1 6 1 5に表 示されている内容が、 操作者が指定した移転先と移転元であるという認識をする 。 ここでは、 I Cカード 1 5 1 8 aから I Cカード 1 5 1 8 bへの籤の移転を例 に説明する。
連絡装置 1 6 0 0のマイコン 1 6 1 0は、 籤領域の読出コマンドを、 インター フェース回路 1 6 1 2 bを介して I Cカード 1 5 1 8 aに転送する。 I Cカード 1 5 1 8 aは、 このコマンドを受けてアクセス権限を確認した後、 該当領域、 す なわち、 第 5図の籤 ·投票券情報領域 4 3から籤情報をそれぞれ読出し、 連絡装 置 1 6 0 0に転送する。 この時は、 電子署名領域の読取はせずに、 各籤の情報の みを送信する。 第 1 8図において、 連絡装置 1 6 0 0のマイコン 1 6 1 0は、 内 部メモリに、 次々に転送されてくる籤情報を一旦蓄える。 その後、 単位の籤 1枚 分の情報を、 表示制御部 1 6 1 4を介して表示器 1 6 1 5に表示する。
操作者が、 キ一群 1 6 1 1中の 「次の情報の要求」 を意味するファンクショ ン キー、 例えば、 「F 1」 と表記されるキー( 以下 F 1キーと称する) を押下する と、 マイコン 1 6 1 0はキ一制御回路 1 6 1 7からのキ一押下信号に基づいて、 F 1キーの押下を識別し、 前述した通りメモリに蓄積した次の籤情報を表示器 1 6 1 5に表示する。 以下、 F 1キーの押下でこれを繰り返す。 操作者が移転対象 となる籤を表示器 1 6 1 5にて確認した際、 先に説明した実行キーを押下する。 マイコン 1 6 1 0は、 実行キーが押下された事を認識して、 移転すべき籤を知る 移転すべき籤が確定すると、 マイコン 1 6 1 0は、 I Cカード 1 5 1 8 aに対 して、 該当する籤番号とともに移転コマンドを転送する。 これとともに、 I C力 —ド 1 5 1 8 bに対して、 新籤格納処理コマンドを転送する。 マイコン 1 6 1 0 からのそれぞれのコマン ドの受信に従って、 I Cカード 1 5 1 8 aと I Cカード
1 5 1 8 bは、 I Cカード間認証を実行し、 権限を確認する。 これは、 前述した 店用 I Cカードと顧客 I Cカード間の券等の移転と同様の処理となる。 移転元と なる I Cカード 1 5 1 8 aは、 該当する籤情報を、 今回は、 電子署名とともに読 出し、 前述した通り、 移転の際に必要な暗号化処理や新規電子署名処理を施して 、 I Cカード 1 5 1 8 bに送信する。 I Cカード 1 5 1 8 bは、 受信された籤情 報及び電子署名を検証した後、 本物であることが確認されると、 移転完了を I C カード 1 5 1 8 aに通知する。 これとともに、 I Cカード 1 5 1 8 bは、 自己の 籤の格納領域に、 転送された籤情報と、 電子署名を格納する。 一方、 I Cカード
1 5 1 8 aは、 この移転完了通知を受信すると、 自己の該当籤の情報を消去する 。 これにより、 全移転作業が完了する。
ここでは、 移転対象を籤を例に説明したが、 投票券の場合も、 クーポン券の場 合も同様な処理によって、 I Cカード間で移転できる。 尚、 I Cカードがロック 状態にある場合には、 移転処理をする前の段階で状態を確認し、 それそれのカー ド每にロック状態を解くため、 暗証をキー群 1 6 1 1から入力させ、 各 I C力一 ド内で暗証照合させる事で良いことは言うまでもない。
• ·サービス券の集計、 発券管理装置 ' ·
店用 I Cカード 3は、 チヱ一ン店で発行したサービス券と、 払い戻し等のサ一 ビス供与を行って、 回収したサービス券を記憶している。 集計装置 9は、 この店 用 I Cカード 3のサービス券の精算、 他の処理を行う。
第 2 0図は、 集計 (管理) 装置のハードウェアのブロック図、 第 2 1図乃至第
2 3図は、 その処理フローチャート図、 第 2 4図は、 その要部のテーブル説明図 である。 第 2 0図に示すように、 集計 (管理) 装置 2 1 0 0 (第 1図では、 9 と表記) は、 一般的なパーソナルコンピュータで構成される。 即ち、 集計装置 2 1 0 0は 、 マイコン 2 1 1 0、 C R T等の表示器 2 1 0 1、 キャラクタ入力用のキーボー ド 2 1 0 2 、 R A Mメモ リ 2 1 0 3、 レ一ザプリ ンタ等のプリ ンタ 2 1 0 4、 ノヽ ードディスク装置等の外部記憶装置 2 1 0 5、 モデム等の回線通信装置 2 1 0 6 を備える。
更に、 集計装置 2 1 0 0は、 集計装置 2 1 0 0の管理者が使用する I Cカード をアクセスするための I C力一ドリ一ダライタ 2 1 0 8及び、 店用 I Cカード 3 にァクセスするための I Cカードリーダライ夕 2 1 0 9を備えている。
集計装置 2 1 0 0は、 銀行等の安全面が保証された場所に設置され、 所定の安 全基準で管理されていることが必要である。
以下、 第 2 1図ないし第 2 3図の処理フローチャートを使用し、 集計装置 2 1 0 0の処理動作を説明する。
第 2 1図において、 集計装置は、 最初に、 処理選択入力のステップ S 1 7 0 1 を実行する。 このステップでは、 第 2 0図の表示装置 2 1 0 1の画面上に、 デ一 タの設定処理なのか、 力一ドへのデータ書込や各サービス券の移転等のカードの アクセスを伴う力一ドアクセス処理なのか、 あるいは、 各 I C力一ドからの券の 回収及び精算処理なのかを選択するためのメニューを表示する。 これに基づいて 、 操作者は、 選択する処理を、 キーボード 2 1 0 1 にて、 選択する。
(設定処理)
上記キ一ボード 2 1 0 1からの選択内容が設定処理である場合、 マイコン 2 1 1 0は、 第 2 1図のステップ S 1 7 2 0に移行する。 ステップ 1 7 2 0は、 発行 籤、 発行投票券についての情報を入力するステップである。 このステップでは、 操作者が、 発行籤については、 籤のサービスをするかどうか、 籤番号は何番から 何番迄とするのか、 有効期間を何時とするのか、 抽選日を何時にするのか、 籤の サービスとして、 景品とするのか、 現金とするのか、 商品券にするのか等を入力 する。 投票券の場合は、 操作者は、 投票桁数や、 投票して良い番号等、 所調、 枠 番号を設定する。 また、 投票券の発行期間、 投票券の番号範囲、 抽選日等を設定 する。 設定情報は、 第 2 0図の外部記簿装置 2 1 0 5に格納される。 第 2 1図の籤 ·投票券の設定処理 S 1 7 2 0が終了すると、 若しくは、 籤ゃ投 票券サービスをしないと設定されると、 第 2 1図のステップ S 1 7 2 1に移行す る。 ステップ 1 7 2 1は、 クーポン券情報の設定の為のステップである。 クーポ ン券については、 各メ一力から送付されてくる書類等に記載された情報を、 第 2 0図のキーボード 2 1 0 2から入力する。 例えば、 クーポン券を発行して良い商 品と、 その商品コード、 その商品コードで発券して良いクーポン券の商品コード 及び、 発行済クーポン券の商品コードと、 割引率、 有効期間等である。
上記した様に、 クーポン券面の商品と、 クーポン券を発行する対象の商品とは 異なっていても良い。 すなわち、 商品 Aを購入したときに商品 Bのクーポン券を 発券する様に、 設定できる。 これは、 新製品の販売を促進するために、 旧製品を 購入した際に、 新製品のクーポン券を発行する、 という様な利用ができる。 また 、 商品 Aを購入したら、 商品 Aのクーポン券すなわち、 同じ商品のクーポン券を 発行してもよい。 従って、 その情報の設定の際には、 購入商品の商品コードと、 クーポン券面の商品コードとが異なる場合も、 一致する場合もあり、 クーポン券 面の商品コードの商品に対する商品コード、 割引率、 有効期間、 等の情報の入力 が必要になる。
これら設定情報は、 キーボード 2 1 0 1から入力することができる。 又、 第 2 0図には図示されていないが、 フロッピディスク ドライブを装置に接続しておき 、 これらの情報が記憶されるフロッピ一ディスクの供給を受けて、 フロッピーデ ィスクから入力しても良い。
この入力が終了すると、 各入力情報が、 一旦メモリ 2 1 0 3に格納される。 そ して、 全ての入力が終わり、 終了キー等の処理完了指示の入力がキーボード 2 1 0 2からなされたタイミ ングで、 メモリ 2 1 0 3から外部記憶装置 2 1 0 5に記 憶される。 尚、 前述の籤 ·投票券の場合も同様に、 一旦メモリ 2 1 0 3に格納さ れ、 処理終了によって外部記憶装置 2 1 0 5に格納されることは言うまでもない 外部記憶装置 2 1 0 5の記憶がすべて完了すると、 マイコン 2 1 1 0は、 第 2 1図のステップ 1 7 2 2に移行する。 ステップ 1 7 2 2は、 当たり券の設定ステ ップである。 券が籤の場合は、 発行券番号を基にして、 所定の方法で人手で抽選 し、 1等、 2等、 など等級毎に抽選する。 また、 投票券の場合は、 投票枠の最も 多い枠を、 集計して得る。 これは、 人手によって行っても良い。 又、 後述する回 収処理によって作成されたデータベースを、 「 E X C E L」 ソフ ト (商標名) を 使用して、 統計情報をパソコン等で得て、 集計処理しても良い。 最も多い投票枠 力'、 当選投票枠である。 次いで、 当選した投票枠に投票している投票券に対応す る、 集計されている投票券番号を抽出する。 これも人手によって行っても、 パソ コン等のデータべ一ス検索ソフ トを使用して検索しても良い。 いずれにせよ、 当 たり投票券の投票券番号及びその投票券の各種情報が入力される。
籤の情報の場合には、 第 8図により説明したように、 籤番号、 発行日、 発行店 、 電子署名を、 投票券の場合は、 投票番号、 口数、 投票枠番号、 発行日、 発行期 間、 及び電子署名を入力し、 外部記憶装置 2 1 0 5に記憶させる。 この処理を終 了すると、 第 2 0図のマイコン 2 1 1 0は、 第 2 1図の処理選択入力のステツプ
S 1 7 0 1に戻る。
(力一ドアクセス処理)
処理選択ステップ S 1 7 0 1で、 操作者がカードアクセス処理を選択すると、 ステップ S 1 7 0 2に処理が移行する。 入力処理は、 I Cカードとの間の処理が 必要となるため、 ステップ S 1 7 0 2では、 最初に、 第 2 0図の表示器 2 1 0 1 に、 店用 I Cカード 3の挿入を促す表示を行う。 これに従って、 操作者が、 店用 I Cカード 3を、 I Cカードリーダライ夕 2 1 0 9に挿入する。 これにより、 マ イコン 2 1 1 0 と揷入された I Cカード 3 との間で、 P 0 S端末装置 1の説明の 中で説明したと同様の接続装置認証を行い、 正しい I Cカードが挿入されたか、 正しい装置が I C力一ドをアクセスしているかを確認する。
正当な装置が、 正当な I C力一ドにァクセスすることを確認した時に、 ステツ プ S 1 7 0 3に移行する。 ステップ S 1 7 0 3は、 マイコン 2 1 1 0力 操作者 を認証するステップである。 すなわち、 操作者が、 正しい権限を持っている人か どうかを確認する。 このため、 暗証番号と利用者 I Dを入力させる。 マイコン 2 1 1 0は、 装置にあらかじめ登録されている暗証番号と入力暗証番号とを比較し 、 利用者 I Dにあらかじめ割りつけられているアクセス権限を確認する。 これに より、 I Cカードへのアクセスが許されている人であるかどうかを認証する。 認証がとれれば、 次のステップ S 1 7 0 4に移行する。 このステップ S 1 7 0 4は、 処理を選択するステップである。 このステップでは、 I Cカードへの書込 処理 ( S 1 7 0 5〜 S 1 7 1 1 ) か、 第 2 2図に示す回収 ·移転処理かを選択す る。 このため、 第 2 0図の表示器 2 1 0 1に選択項目が表示され、 操作者が、 キ 一ボード 2 1 0 2にて、 該当項目を指定入力する。
I C力一ドへの書き込み処理を選択すると、 マイコン 2 1 1 0は、 第' 2 1図に おけるステップ S 1 7 0 5に移行する。
(書き込み処理)
この書き込み処理は、 店用 I Cカード 3に、 発行可能な各種サービス券の情報 を書き込む処理である。 店用 I Cカード 3の処理フローチャートは、 第 1 2図に 不して る。
( 1 ) 籤発行
第 1 8図のステップ S 1 7 0 5は、 発行可能籤番号の範囲を設定するステップ である。 ここでは、 操作者は、 先にステップ S 1 7 2 0において設定している全 ての籤の番号の中から、 その店用 I Cカード 3に割り当てる券の番号の範囲を、 キ一ボード 2 1 0 2より指定する。 このために、 マイコン 2 1 1 0は、 外部記憶 装置 2 1 0 5から、 先に記憶しているこれらの情報を読出、 表示器 2 1 0 1に表 示する。 そこで、 操作者は表示された番号範囲から、 まだ発行していない籤番号 、 投票番号の範囲を見て、 その中から任意にその店に発行を許す券の番号範囲を キーボ一ド 2 1 0 2から、 入力する。 この入力方法は、 キ一ボード 2 1 0 2に接 続されるあるいはマイコン 2 1 1 0に直接接続されている図示されないマウス等 のポインティングデバイスによって指定入力しても良い。 この入力に応じて、 マ イコン 2 1 1 0は、 データベース上に、 これら指定された番号範囲に、 発行済の フラグ、 発行先の店コ一ド、 発行日を書き込む。 これにより、 本ステップ S 1 7 0 5を終了し、 次のステップ S 1 7 0 6に移行する。
ステップ S 1 7 0 6は、 電子署名を作成するステップである。 電子署名は、 発 行元のコード、 券の番号、 発行日を基に、 所定の暗号化論理で暗号化して作成す る。 マイコン 2 1 1 0が、 この処理を実行する。 尚、 この暗号化 (すなわち、 電 子署名作成) 、 検証用の専用の L S I、 デジタル信号処理装置 D S Pを使用して 、 これを実行しても良い。
券毎に作成されたこれらの電子署名は、 券の各番号毎に券情報に付加され、 一 旦、 メモリ 2 1 0 3に格納される。 その後、 発行した券情報として外部記憶装置 2 1 0 5にログ情報として各券毎に記憶して、 ステップ S 1 7 0 6を終了する。 すなわち、 各籤をここで作成して、 外部記憶装置に格納することになる。 その 籤は、 籤番号と電子署名とを少なく とを持ち、 電子署名は、 上記の発行元コード をすくなく とも持つ。 ステップ S 1 7 0 6の後、 ステップ S 1 7 0 7に移行する ステ'ソプ S 1 7 0 7は、 集計装置 2 1 0 0から店用 I Cカード 3へ、 籤を移転 するステップである。 本ステップ S 1 7 0 7において、 券情報は、 先に店用 I C カード 3から顧客 I Cカード 2への券の移転と同様の処理で移転される。 これに 加えて、 発行番号範囲、 発行期間、 有効期間、 等を加えて、 店用 I Cカード 3へ 転送する。 店用 I C力一ド 3から移転完了通知を受信して、 次のステップ S 1 7 0 8に移行する。
この期間の店用 I C力一ド 3の処理を、 第 1 2図を用いて、 説明する。 店用 I Cカード 3は、 先に、 接続装置との間で相互認証を行っているので、 集計装置 2 1 0 0から移転コマンドを受信すると、 ステップ S 1 1 1 3にて、 装置のァクセ ス権限を確認し、 メモリへの追記が可能であることを確認する。 次いで、 ステツ プ S 1 1 1 4にて、 受信した籤にかかる情報を暗号化し、 暗号化データを得る。 そして、 籤の最後に送信され、 且つ集計装置で作成された電子署名と、 暗号化デ —夕とを比較して、 一致するかいなかを確認、 検証する。 一致していれば、 次の ステップ S 1 1 1 5にて、 I Cカード 3内のメモリの該当するエリアに、 それぞ れを格納する。 また、 各券に付随する電子署名は各券と対応付けて、 秘密領域、 すなわち、 特定の装置がアクセスできない領域に格納して、 移転を完了する。 次々に発行された籤を格納して、 最終籤まで格納し、 更に、 その他の付加情報 、 すなわち番号範囲等を受信し終わると、 I Cカード 3は、 ステップ S 1 1 1 6 にて、 集計装置 2 1 0 0に完了通知を発して終了する。
( 2 ) 投票券発行
ステップ S 1 7 0 8は、 投票券を発行処理するため初期ステップである。 本ス テツプ S 1 7 0 8では、 籤と同様に、 投票券の券番号の全発行範囲を、 第 2 0図 の表示器 2 1 0 1に表示し、 その中から、 該当範囲が、 キーボード 2 1 0 2にて 選択される。 選択された番号範囲の各番号は、 所定期間に発行する投票券が全部 で 1 0 0 0枚とすると、 各投票券に 1番から 1 0 0 0番まで割りつけられる。 こ れにより、 1枚の投票券に 1つの番号が付与される様にする。 このため、 他人が この番号を複写して払い戻ししても、 1回のみの払い戻しで済むようにチヱック できる。 この番号範囲の指定が終わると、 マイコン 2 1 1 0は、 先に設定されて いる今期間の投票枠番、 あるいは投票可能な桁数等の投票可能な諸条件を、 画面 2 1 0 1 に表示する。 キーボード 2 1 0 2より、 確認の為の実行入力を押すと、 発行番号範囲、 発行先、 発行日がメモリに格納される。 次いで第 2 1図のステツ プ S 1 7 0 9に移行する。
ステップ S 1 7 0 9は、 投票券情報を、 券毎に作成するステップである。 すな わち、 第 2 0図のメモリ 2 1 0 3に格納された発行番号範囲の番号順に、 券番号 、 発行元、 発行日、 発行先等の情報を作成し、 更に、 これらを基に電子署名を作 成する。 1つの券情報は、 作成された電子情報 (投票券の場合は、 枠番号及び投 票口数を除いた情報) と電子署名とからなる。 1つの券情報を、 メモリ 2 1 0 3 に格納してゆく。 次々に、 各券毎に券情報が作成され、 該当の範囲の全ての番号 に対して券情報が作成されて、 メモリ 2 1 0 3に格納されると、 第 2 1図におけ るステップ S 1 7 0 9を終了し、 次のステップ S 1 7 1 〇に移行する。
ステップ S 1 7 1 0は、 投票券の関係情報の I Cカード 3への移転と、 集計装 置 2 1 0 0内での発行管理情報を記憶するステップである。 このステップ S 1 7 1 0では、 先にメモリ 2 1 0 3に記憶した電子署名を含む各券の情報、 番号範固 、 発行元、 発行日、 有効期間等の情報を、 マイコン 2 1 1 0が読み出す。 そして 、 マイコン 2 1 1 0は、 これを I Cカードリーダライタ 2 1 0 9に転送して、 券 情報を I Cカード 3に移転する。 そして、 その他の付随情報、 すなわち、 券の番 号範囲や投票可能枠番等の枠情報、 発行可能期間等の情報は、 I Cカード 3に転 送される。 I Cカード 3の処理フローチヤ一トは、 第 1 2図に示してある。 即ち 、 I Cカード 3は、 第 1 2図のステップ S 1 1 1 3乃至 S 1 1 1 6において、 籤 と同様の移転処理を行う。 第 1 2図のステップ S 1 1 1 6により、 集計装置 2 1 0 0力 I Cカード 3より移転が完了した旨の通知を受けると、 次のステップ S 1 7 1 1に移行する。
( 3 ) クーポン券発行
ステップ S 1 7 1 1は、 クーポン券を発行するステップである。 すなわち、 マ イコン 2 1 1 0は、 外部記憶装置 2 1 0 5から、 先に作成されたクーボン券の全 情報をそれぞれ読出し、 I Cカードリーグライタ 2 1 0 9を介して I Cカード 3 に移転する。 I Cカード 3は、 第 1 2図で先に説明したステップ S 1 1 1 3ない し S 1 1 1 6にて、 これを受信し、 検証して、 自己のメモリの該当エリアに記憶 する。 これにより、 移転を終了する,
第 2 1図において、 クーボン券の移転が終了すると、 集計装置の処理は、 先の 処理選択のステップ S 1 7 0 4に戻る。 すなわち、 処理選択の入力待ちとなる。
(回収移転処理)
第 2 1図のステップ 1 7 0 4の処理選択入力のステップにおいて、 操作者がキ —ボード 2 1 0 2から回収処理を指定すると、 集計装置 2 1 0 0は、 第 2 2図の 処理選択入力ステップ S 1 8 0 1に移行する。
このステップ S 1 8 0 1は、 各店にて発行した籤や投票券情報の回収処理と、 当たり券の回収処理と、 回収したクーポン券の回収処理という 3種類の処理の内 から、 操作者が処理を選択入力するステップである。 このため、 集計装置 2 1 0 0では、 マイコン 2 1 1 0が、 表示器 2 1 0 1にそれぞれの処理に示す表示項目 を表示する。 次いで、 操作者が、 キーボード 2 1 0 2 を使用して、 該当表示項目 を選択する。 これに応じて、 マイコン 2 1 0 0は、 指定されたステップに移行す る。
( 1 ) 発行した籤と投票券の情報の回収
この処理は、 店用 I Cカード 3から、 顧客 I Cカード 2へ発行した籤や投票券 の情報を精算の為に収集する処理である。
最初のステツプ S 1 8 0 2は、 初期ステップである。 このステップ S 1 8 0 2 では、 管理のための情報を含む、 発行籤、 発行投票券の回収のステップである。 このため、 第 2 4図 ( a ) に示す集計テーブル I を作成するために必要な情報を 、 キーボード 2 1 0 2及び I C力一ドリ一ダライタ 2 1 0 9を介して I Cカード 3か
即ち、 第 2 0図のマイコン 2 1 1 0は、 表示器 2 1 0 1に対して、 I Cカード 3の店誧名を入力するように、 表示する。 例えば、 集計テーブル I に示すように 、 「x X商店」 と、 キーボード 2 1 0 2から入力させる。 或いは、 店舗名及びそ の店舗のコードを、 あらかじめその住所、 連絡先とともに外部記憶装置 2 1 0 5 に登録しておき、 入力に先立ち、 外部記憶装置 2 1 0 5から読み出して、 表示器 2 1 0 1 に表示する。 次いで、 キーボード 2 1 0 1から該当店舗を選択するよう うにしても良い。 また、 不正を後日検証できるよう、 当該店用 I Cカード 3を精 算のために持ってきた人を識別するための情報を入力させる。 これは、 店用 I C カード 3の所有者本人の名前や I D番号でも良い。 又、 あらかじめ店舗が事務員 に精算の責任を負わせている場合には、 この事務員の I D番号を登録するように しても良い。
これらの入力が完了すると、 マイコン 2 1 1 0は、 I Cカードリーダライタ 2 1 0 9を介して店用の I Cカード 3に、 該当情報の回収コマンドを送出する。 I Cカード 3では、 このコマンドを受信するとアクセス権限を確認の上、 第 8図で 先に説明した領域 7 1 1から発行籤と発行投票券の情報を読出し、 これを集計装 置 2 1 0 0に送出する。 集計装置 2 1 0 0では、 マイコン 2 1 1 0力、 全ての券 ( 籤、 投票券) を一旦メモリ 1 1 0 3に展開していく。
全ての発行券を回収すると、 第 2 2図のステップ S 1 8 0 3において、 券の検 証を行う。 即ち、 券が妥当な期間に発行されたものであるか、 電子署名が正しい か等を検証して、 全ての券が正しく発行されていることを確認する。
この確認が済むと、 ステップ S 1 8 0 4にて、 精算処理を実行する。 すなわち 、 先に入力された各情報とともに、 第 2 4図 (a ) の精算テーブル Iに示すよう に、 精算を行う。 先ず、 該当商店の領域を読出し、 第 2 4図 (a ) の店舗の領域 2 0 1 2に、 券枚数、 口数を、 発行期間毎に集計する。 第 2 4図 ( a ) では、 籤 が 5 5枚、 籤の口数も 5 5枚、 一方、 投票券については、 券が 3 0枚、 投票数 8 0口の例を示している。 尚、 籤の口数は、 籤 1枚が 1口に相当するとみなしてい る。 口数も 5 5校、 これらは、 第 2 0図のメモリ 2 1 0 3から各券 (籤と投票券 ) を一枚ずつ読出、 該当情報を加算して集計する。 最後に、 この精算テーブル I の各領域に先に格納されていた情報に、 この集計情報を加算して、 精算テーブル I を更新する。
次いで、 口グ情報を格納するためのステップ S 1 8 0 5に移行し、 第 2 0図の メモリ 2 1 0 3に展開されている各券 (籤と投票券) の情報を、 精算テーブル I のそれぞれの券の領域 2 0 1 1に記憶してゆく。 この際に、 精算者、 すなわち、 先に説明した本 I Cカード 3を精算の為に集計装置 2 1 0 0に持参した本人の I D等の入力情報をそれぞれの券 (籤と投票券) に付加する。 格納処理が終了する と、 第 2 0図の処理選択ステップ S 1 7 0 4に戻る。
( 2 ) 当たり券移転処理
第 2 2図の処理選択入力 S 1 8 0 1にて、 当たり券の回収処理が指定されると 、 集計装置 2 1 0 0は、 ステップ S 1 8 0 6に移行して、 同処理を遂行する。 すなわち、 ステップ S 1 8 0 6は、 初期ステップであり、 当たり券の回収とそ の為の事前処理を行うステップである。 当たり券の回収処理には、 第 2 4図 (b ) に図示する精算テーブル IIが使用される。 この精算テーブル IIは、 第 2 4図 ( a ) の精算テーブル I と同様の領域を持ち、 店舗毎に、 当たり券 (籤と投票券) の枚数と、 その口数とを格納する領域、 払い戻し額あるいは払い戻しサービスの 料の合計の領域、 払い戻し期間の領域等を持つ店舗の領域 2 0 1 3 と、 回収移軽 された籤、 投票券のログ情報の格納領域 2 0 1 4を持っている。 さらに、 この口 グ情報の領域 2 0 1 4には、 回収された券 (籤と投票券) の各情報だけでなく、 精算日、 精算した人の I D等を籤毎に格納する。 このため、 第 1 2図におけるス テツプ S 1 8 0 6では、 これらの情報の入力処理を含む。 このステップ S 1 8 0 6では、 マイコン 2 1 1 0は、 表示器 2 1 0 1に、 入力すべき項目を表示し、 必 要な情報をキーボード 2 1 0 2から入力させる様にする。 これらの情報には前述 と同様にして、 店の I Dや精算に来た人の I Dも含まれることは言うまでもない 。 キーボード 2 1 0 2から入力されたそれらの情報は、 メモリ 2 1 0 3に展開さ れ、 一時記憶される。 所定の情報が入力され終わると、 マイコン 2 1 1 0は、 I Cカードリーダライタ 2 1 0 9を介して I Cカード 3に当たり券の移転コマンド を送出する。
I Cカード 3は、 アクセスしている集計装置 2 1 0 0のアクセス権限を確認す る。 そして、 移転可能な装置であることが判明すると、 I Cカード 3は、 当たり 券の領域を読出し、 電子署名を作成し、 送信する。 I Cカード 3から移転された 券の情報は、 一旦メモリ 2 1 0 3に展開される。 全ての当たり券が回収されると 、 回収した各券の検証処理ステップ S 1 8 0 7に移行する。
籤検証処理のステップ S 1 8 0 7では、 最初に、 受信した各券と、 各券に付随 して転送されてく る電子署名によって、 籤を検証する。 すなわち、 I Cカード 3 で、 これら各券に対して暗号化された電子署名が作成されるが、 集計装置 2 1 0 0でも、 同様の暗号化を行い、 受信した電子署名と、 集計装置 2 1 0 0が暗号化 により作成した電子署名とがー致するかどうかを確認する。
次いで、 外部記憶装置 2 1 0 5に先に格納された当たり券の情報に、 転送され た券が存在するかを確認する。 次に、 回収した券が、 当たり券である場合には、 先の発行時点で発行した電子署名が、 受信した券のその他の情報から再生できる か確認する。 更に、 第 2 4図 (b ) の集計テーブル Πのログ情報を格納する領域 2 0 1 4に、 同じ券番号 (すなわち、 籤番号あるいは投票券番号) が存在しない かどうかを確認する。 同じ番号が存在すれば、 第 2 0図のプリンタ 2 1 0 4にて その番号の印字を行う。 同じ番号が存在していなければ、 第 2 4図 (b ) の集計 テーブル IIの集計領域 2 0 1 3の各項目每に累計してゆく。 この場合、 券毎に払 い戻し額が異なる場合には、 第 2 0図のメモリ 2 1 0 3に籤番号と払い戻し額の テーブルを持たせて、 籤番号から等級に対応する額を導き出して、 累計すること で良い。 投票券の場合は、 券情報から、 券に対応する払い戻し額を演算して求め る。 すなわち、 単位の投票口に所定の払い戻し額が設定されるので、 投票数と該 当払い戻し額とを乗算して、 払い戻し額を求める。 これを、 第 2 4図 (b ) の集 計テーブル IIの払い戻し額を集計するための領域に累計してゆく。 また、 各当た り券 (籤と投票券) は、 それぞれ、 第 2 4図 (b ) の集計テーブル IIのログ情報 格納領域 2 1 0 4に、 口グ情報として格納される。
これらの処理が終了すると、 第 1 2図のステップ S 1 8 0 8に移行する。 ステ ップ S 1 8 0 8は、 第 2 0図の外部記憶装置 2 1 0 5に格納された精算テーブル を更新するステップである。 マイコン 2 1 1 0は、 外部記憶装置 2 1 0 5から該 当精算テ一ブルを、 先のステップ S 1 8 0 8で、 メモリ 2 1 0 3に作成した集計 テーブル IIの内容に更新する。 ログ情報についても、 第 2 2図のステップ S 1 8 0 9で、 新たな回収券情報を、 外部記憶装置 2 1 0 5に格納された精算テーブル に追記する。 全ての券の回収移転が完了すると、 第 2 1図の処理選択入力のステ ップ S 1 7 0 4に戻る。
( 3 ) 回収クーポン券の回収処理
第 2 2図の処理選択入力のステップ S 1 8 0 1にて、 クーポン券の回収が選択 されると、 I Cカード 3に格納されている回収クーポン券の回収処理に移行する ステップ S 1 8 1 0は、 回収クーポン券を回収するための事前処理ステップで ある。 第 2 4図 ( c ) に、 クーポン券に関する精算テーブル ΙΠが示されている。 精算テーブル IIIは、 各商品のメーカ每に、 店舗毎、 回収クーポン券の情報と、 回 収数、 回収に伴い割引した額の総計、 及び、 回収したクーポン券のログ情報を格 納する。
この為、 券を回収する前に、 券の情報とは異なる前述した様な情報入力処理が 行われる。 すなわち、 第 2 0図のマイコン 2 1 1 0は、 表示器 2 1 0 1に入力す べき項目を操作案内するよう表示する。 次いで、 操作者が、 キ一ボード 2 1 0 2 からそれら指定された情報を入力する。 入力された情報は、 一旦、 メモリ 2 1 0 3に格納される。 所定の情報入力が終了すると、 マイコン 2 1 1 0は、 I C力一 ドリーダライタ 2 1 0 9を介して I Cカード 3に、 クーポン券の回収コマンドを 送出する。
I Cカード 3は、 前述したように、 回収している回収クーポン券を第 8図のメ モリの領域 7 1 4からそれぞれ読出し、 電子署名を作成した後に、 集計装置 2 1 0 0に転送する。 集計装置 2 1 0 0では、 I Cカードリーダライタ 2 1 0 9を介 して受信されるそれらの情報をメモリ 2 1 0 3に展開し、 一時、 格納する。 I C カード 3 との間で、 これらの移転が完了すると、 マイコン 2 1 1 0は第 2 2図の 回収券検証ステップ S 1 8 1 1 を遂行する。
回収券検証ステップ S 1 8 1 1では、 先に説明したと同様に、 クーポン券に関 する各種情報を基に、 I Cカード 3内で電子署名を作成したと同じ手続処理を行 つて、 確認のための電子署名を作成する。 各クーポン券に付随して送られてきた 電子署名と、 この確認用電子署名を比較して、 検証する。 ついで、 外部記憶装置 2 1 0 5に、 先の設定処理で設定されたクーポン券と対応するかを確認して、 正 しいクーポン券かどうかを確認してゆく。 全てのクーポン券の検証が終了すると 、 第 2 2図のステップ S 1 8 1 2に移行する。
このステップ S 1 8 1 2は、 精算処理ステップである。 この精算処理の際は、 上記した第 2 4図 ( c ) に図示される精算テーブル IIIを、 マイコン 2 1 1 0力、 外部記憶装置 2 1 0 5から読出す。 次いで、 各項目毎に、 先にメモリ 2 1 0 3に 展開している各クーポン券を類別して、 累計し、 更新してゆく。
また、 この時、 該当するログ領域に移転されたクーポン券の各情報を追加記入 してゆく。 ステップ S 1 8 1 3にて、 テーブルの更新が終了すると、 マイコン 2 1 1 0は、 メモリ上で更新された各情報を外部記憶装置 2 1 0 5に写し、 回収移 転が終了する。 これにより、 各企業毎、 回収した店舗毎に、 各メーカから支払わ れるべき金額が累計されて行く。 これとともに、 各回収したクーポン券が、 外部 記憶装置 2 1 0 5に格納される。 この処理が終了すると、 第 2 1図の処理選択入 力のステップ S 1 7 0 4に戻り、 マイコン 2 1 1 0は、 キーボ一ド 2 1 0 2から の処理項目の入力待ち状態となる。
又、 操作者が、 ここでキーボード 2 1 0 2から、 入力終了という項目を選択す ると、 マイコン 2 1 0 0は、 第 2 1図のステップ S 1 7 0 1に戻る。
(精算処理)
第 2 1図の処理選択入力のステップ S 1 7 0 1にて、 操作者が、 精算処理を指 定すると、 第 2 3図に示す処理に移行する。 精算処理の場合、 金銭授受が伴うた め、 これを厳正に行うべく、 最初に操作者の本人認証のステップ S 1 9 0 1が設 けられている。
S 1 9 0 1では、 集計装置 2 1 0 0の外部記憶装置 2 1 0 5に、 あらかじめ、 操作者の I D番号と、 暗証番号を記憶しておく。 本ステップとなった場合に、 操 作者に暗証番号を要求し、 第 2 0図のキーボード 2 1 0 2から入力された暗証番 号が、 記憶された暗証番号と対応するかどうかを確認する。 若し、 暗証番号がー 致しない場合には、 処理は、 第 2 1図の処理選択入力のステップ S 1 7 0 1に戻 る。 なお、 この本人認証のステップ S 1 9 0 1では、 上記の如く精算を行う操作者 の I D情報をあらかじめ外部記憶装置に格納しておく。 又は、 これを I Cカード 化して、 集計装置用の I Cカードを、 特定の権威ある役席者、 例えば、 チェーン 店間の管理責任者等に持たせて、 こうした I Cカードで操作者を確認するように しても良い。 この場合には、 第 2 0図の I C力一ドリ一ダライタ 2 1 0 8力、 そ の操作者の I C力一ドに対してアクセスするために更に利用される。 本人が正し い操作者であることが確認されると、 第 2 3図の処理選択の入力ステップ S 1 9 0 2に移行する。
ステップ S 1 9 0 2では、 集計装置 2 1 0 0力;、 前述と同様に選択される項目 を表示器 2 1 0 1に表示し、 キ一ボード 2 1 0 2から処理項目を入力させる。 キ 一ボード 2 1 0 2から指定された処理が、 籤と投票券の精算である場合には、 ス テツプ S 1 9 0 3に移行する。
( 1 ) 籤と投票券の精算処理
ステップ S 1 9 0 3は、 発行した籤と投票券の枚数に応じた、 各店舗の負担済 の額を計算する処理である。 この処理は、 集計装置のおかれた管理組合等の場所 で、 期間の締めの時期に行われる。 例えば、 月次締めの場合は、 毎月 1 日に処理 を行う。
このため、 マイコン 2 1 1 0は、 外部記憶装置 2 1 0 5から第 2 4図 ( a ) に 示す精算テーブル I を、 メモリ 2 1 0 3に読出し、 発行した籤の枚数の総計を抽 出する。 すなわち、 店毎に格納されている発行藪の総数を最初に計算する。 次に 、 籤を店舗間で定めた一定の購入額毎に一枚発行されることとすると、 景品総額 に対する、 発行枚数に応じた 1枚の籤の負担金を計算する。 例えば、 総額一千万 円の商品で、 2万枚が、 最終的に合計した発行枚数になったとしたら、 1枚当た り 5 0 0円の負担金であるとして計算する。 更に、 精算テーブル Iにおける各店 誧の口数にこの額を乗算して、 籤に対する各店舗の負担金額を計算する。
次に、 投票券については、 1口毎の負担金額を一律所定の金額とする。 精算テ 一ブル Iの各店誧の投票口数に、 その金額を掛け合わせて、 その店舗の投票券に 関する負担金を計算する。 これで得た、 負担金と先に作成した籤に関する負担金 を足し算して、 その店舗における負担金を求める。 すなわち、 第 2 4図 (a ) の 精算テーブル I に示すように、 「X X商店」 の負担金は、 籤の 1枚の負担金が 5 0 0円、 投票券の 1口の負担金が 1 0 0円とした場合に、 計算式は ( 5 5枚 X 5 0 0円十 8 0口 X 1 0 0円) となり、 合計 3万 5千 5百円となる。
これを各店毎に行い、 第 2 0図のメモリ 2 1 0 3上に、 店毎の負担金を格納し てゆく。 この処理が終了すると、 次のステップ S 1 9 0 4にて、 店毎に、 この負 担金を印字する。 すなわち、 メモリ 2 1 0 3に格納された負担金をプリ ンタ 2 1 0 4にて、 印字出力する。
次いで、 ステップ S 1 9 0 5にて、 店毎に、 その店で発行した籤及び投票券の 印字を行う。 印字される情報は、 各券の情報であり、 電子署名は含んでいない。 負担金の印字が終了すると、 ステップ S 1 9 0 6に移行する。 ステップ S 1 9 0 6は、 各店が既にサービスを顧客に提供することによって、 既に負担済の金額 を計算するステップである。 マイコン 2 1 1 0は、 外部記憶装置 2 1 0 5から、 第 2 4図 (b ) に示す精算テーブル IIを、 メモリ 2 1 0 3に読み出す。 叱る後、 店毎に払い戻し額の合計を計算する。 すなわち、 第 2 4図 (b ) の精算テーブル IIの籤の払い戻し額と、 投票券の払い戻し額とを合計して、 支払処理済の合計額 を計算する。
この計算を、 店毎に行い、 これを第 2 0図のメモリ 2 1 0 3に展開して、 この ステップ S 1 9 0 6を終了する。
次いで、 ステップ S 1 9 0 7において、 店別に支払済金額の一覧を印字する。 このため、 メモリ 2 1 0 3に格納した計算結果を、 プリ ンタ 2 1 0 4に供給して 印字出力する。
次いで、 ステップ S 1 9 0 8にて、 マイコン 2 1 1 0は、 メモリ 2 1 0 3に展 開されている精算テーブル I、 IIに格納されたログ情報、 すなわち、 当たり券の 情報を印字する。 この際、 印字情報に電子署名は含まないように制御される。 全ての当たり券情報を印字終了すると、 次のステップ s 1 9 0 9において、 最 終的な店の精算を行う。 すなわち、 メモリ 2 1 0 3に格納されている店毎の負担 金 ( a ) から支払済の額 (b ) を減算して、 今期の精算額を求める。
例えば、 先の例で、 「x x商店」 の支払済額の合計 (b ) が 1 0万円であり、 負担額 ( a ) が 3万 5千 5百円であれば、 その差額である 6万 4千 5百円が精算 金として 「X X商店」 には支払われることになる。 これらの精算額は、 全ての店 に対して、 ステップ S 1 9 0 9において計算される。
次に、 ステップ S 1 9 1 0において、 店毎に、 精算額が印字される。
精算額の印字処理が終了すると、 ステップ S 1 9 1 1 に移行し、 第 2 0図の外 部記憶装置 2 1 0 5に格納された各精算テ一ブル I , IIの情報の更新を行う。 す なわち、 第 2 4図 (b ) の領域 2 0 1 4の回収券のログ情報については、 精算済 を示す情報を付加して、 記憶情報を更新し、 第 2 4図 ( a ) 、 ( b ) の各店舗毎 に集計した領域 2 0 1 2、 2 0 1 3はゼロクリアする。 第 2 4図 (a ) の領域 1 0 1 1 に格納された発行の券についても、 精算済の情報を付加して再格納する。 このようにして、 外部記憶装置 2 1 0 5が格納する精算テーブル I、 IIに格納さ れる情報を更新する。
集計装置で打ち出された店毎の精算額から、 管理者は、 人手等で各店舗に、 請 求書を作成し、 実際の精算処理がなされる。 テーブルデータの更新処理が終了す ると、 第 2 3図の処理選択入力ステップ S 1 9 0 2に復帰する。
( 2 ) クーポン券の精算
第 2 3図の処理選択ステップ S 1 9 0 2にて、 クーポン券の精算処理が指定さ れると、 ステップ S 1 9 2 0に移行する。
このステップ S 1 9 2 0は、 データ分類、 精算のステップである。 ここでは、 商品のメーカに送付するための書類と、 店舗に送付するための書類を作成するた めの処理が行われる。 メーカ別の集計内容は、 第 2 4図 ( c ) の精算テーブル III そのものである。 次に、 店每のクーポン券及びその額を計算する。 すなわち、 集 計テーブル IIIにおける各メーカ毎の領域から、 同一の店の情報をそれぞれ読み出 し、 メ一力から、 各店に支払われるべき額を合計する。 この処理を終了すると、 次のステップ S 1 9 2 1に移行する。
ステップ S 1 9 1 1は、 メーカ毎に、 ページ替えをして印字するステップであ る。 すなわち、 第 2 4図 ( c ) の精算テーブル IIIから各メーカの領域を読出し、 支払総額、 各店舗への支払額を演算して、 印字する。 これとともに、 使用された 商品コード別のクーポン券の枚数と、 それぞれのクーポン券の口グ情報を印字す る。 この場合、 電子署名付きの情報を印字する。 なお、 第 2 0図の外部記憶装置 2 1 0 5に、 店毎の振込口座番号、 口座名、 連 絡先等、 店の識別情報を記憶しておき、 店への支払額とともにこれらの識別情報 を印字するようにすれば、 より、 メーカ側の支払処理が容易になる。
メ一力毎の印字が終了すると、 次のステップ S 1 9 2 2に移行する。 ステップ S 1 9 2 2では、 店毎にページ変えをして、 メーカ別に精算額を印字する。 更に 、 この際、 ログ情報であるクーポン券を電子署名無で印字する。 この処理が終了 すると、 マイコン 2 1 1 0は、 精算テーブル ΠΙをクリアするように、 外部記憶装 置 2 1 0 5の精算テーブル III内の各領域の値をクリアした状態に更新する。 これ により、 テーブルは初期化状態となり、 処理としては終了する。
これらのステップが終了すると、 処理選択ステップ S 1 9 0 2に復帰する。 そ の後、 操作者が処理終了を指定すると、 処理は、 第 2 1図の処理選択入カステツ プ S 1 7 0 1へ復帰して、 次の処理の選択可能になる。
以上の様に、 本実施例の集計装置によれば、 サービス券を移転可能としてるた め、 店每、 メーカ毎に、 精算情報を分類して、 出力することができる。 又、 店用 I Cカードの内容を読みだすことにより、 自動的に精算情報を出力することがで きる。 このため、 大規模なオンライン網を構築しなくても、 自動精算が可能とな る。 従って、 特に、 商店街、 チェーン店等の電子取引に有効である。
また、 回収された券、 発行された券も一覧でき、 後日、 不正の可能性等の問題 が生じた時に、 これらそれぞれに印字されたログ情報を確認することにより、 検 証することができる。
更に、 店用 I Cカード 3の電子現金に、 前記店の精算額を附加することにより 、 店との精算行為を電子化しても良い。
以上、 本発明を実施例により説明したが、 次のような変形が可能である。
(1) I Cカードとして、 プロセッサとメモリを有するもので説明したが、 メモ リのみ有する I cカードにも、 適用できる。
(2) サービス券を、 籤、 投票券、 クーポン券で説明したが、 他のサービスを供 与するためのサービス券の利用も可能である。
(3) 電子財布取引装置として、 P O S端末装置を例に説明したが、 他の電子財 布取引の可能な装置にも、 適用できる。 (4) 電子財布取引時に、 実行するサービスとして、 割引サービスを説明したが 、 商品券の付与等他のサ一ビスも適用できる。
(5) サービス券を取引データとして説明したが、 他の取引に伴うデータの処理 に利用できる。
(6) サービス券を顧客カードから店用 I C力一ドに移転することにより、 サ一 ビス券の回収処理を説明したが、 P 0 S端末装置のバ一コードスキャナにより、 紙のクーポン券を読み取り、 店用 I Cカードに格納することもできる。
以上、 本発明を実施例により説明したが、 本発明の趣旨の範囲内で、 種々の変 形が可能であり、 それらを本発明の範囲から排除するものではない。 産業上の利用可能性
以上のように、 本発明は、 取引データを後方処理するシステムとして有用であ り、 特に、 電子財布取引システムに付加する顧客サービスの後方処理システムと して有用である。
特に、 サービス券等の取引データを I Cカードに回収し、 I Cカードの回収デ -タを管理装置が自動分類及び集計するため、 オンライン網を構築することなく 、 回収、 精算を自動化できる。
又、 自動回収、 自動精算するため、 店側での不正や、 集計側での不正も防止で きる。

Claims

請求の範囲
1 . 取引に伴い発生された取引データを処理する取引方法において、
取引に伴う取引データを取引装置に設けられた I c力一ドに格納するステップ と、
前記 I Cカードを読み取り、 前記取引データの分類及び集計を行うステップと を有することを
特徴とする取引方法。
2 . 請求の範囲第 1項記載の取引方法において、
格納ステツフ。は、
顧客 I C力一ドからサービス供与の対象となるサービス情報を抽出するステツ プと、
前記抽出したサービス情報を前記顧客 I Cカードから前記 I Cカードに移転す るステツプからなることを
特徴とする取引方法。
3 . 取引に伴い発生された取引データを処理する取引システムにおいて、 取引装置に着脱可能に設けられた I Cカードと、
取引に伴う取引データを前記 I Cカードに格納する取引装置と、
前記 I Cカードを読み取り、 前記取引データの分類及び集計を行う管理装置と を有することを
特徴とする取引システム。
4 . 請求の範囲第 3項記載の取引システムにおいて、
前記取引装置は、
顧客にサービスを供与したサービス情報を前記 I Cカードに格納することを 特徴とする取引システム。
5 . 請求の範囲第 4項記載の取引システムにおいて、
前記取引装置は、
電子財布取引機能を有する顧客 I Cカードと情報交換するための力一ドリ一ダ —/ライタと、
前記 I Cカードと情報交換するためのカードリーダ一/ライ夕と、 前記顧客 I Cカー ドの電子的価値を、 前記 I Cカードに移転して、 電子財布取 引を実行する処理手段とを有することを
特徴とする取引システム。
6 . 請求の範囲第 4項記載の取引システムにおいて、
前記 I Cカードは、
所望のサービスを受けるためのサービス情報を発行し、 前記顧客 I Cカードに 移転する機能と、
前記顧客 I Cカードに格納されたサービス情報の内、 サービス供与の対象とな るサービス情報を抽出して、 回収する機能とを有することを
特徴とする取引システム。
7 . 請求の範囲第 5項記載の取引システムにおいて、
前記取引装置は、
前記電子財布取引に伴う前記サービス情報を発行することを
特徴とする取引システム。
8 . 請求の範囲第 5項記載の取引システムにおいて、
前記取引装置は、
前記抽出したサービス情報によるサービスを、 前記電子財布取引に反映するこ とを
特徴とする取引システム。
9 . 請求の範囲第 6項記載の取引システムにおいて、
前記管理装置は、
発行すべきサービス情報を作成し、 前記 I Cカードに書き込むことを 特徴とする取引システム。
1 0 . 取引装置の取引データを格納する I Cカードであって、
電子財布領域と、
顧客にサービスを供与したサービス情報を格納するサービス情報格納領域とを 有するメモリを有することを
特徴とする I Cカード。
1 1 . 取引データを処理する管理装置において、 I Cカードと情報交換を行う力一ドリーダ一/ライタと、
取引に伴う取引データを格納した前記 I Cカードを読み取り、 前記取引デ一夕 の分類及び集計を行う処理手段とを有することを
特徴とする管理装置。
1 2 . 請求の範囲第 1 1項記載の管理装置において、
前記処理手段は、
顧客にサービスを供与したサービス情報を前記 I Cカードから読み取り、 前記 サービス情報の分類及び集計を行うことを
特徴とする管理装置。
PCT/JP1999/005563 1999-10-07 1999-10-07 Procede de transaction et systeme de transaction WO2001031548A1 (fr)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/JP1999/005563 WO2001031548A1 (fr) 1999-10-07 1999-10-07 Procede de transaction et systeme de transaction
EP99947858A EP1225533A4 (en) 1999-10-07 1999-10-07 TRANSACTION PROCESS AND TRANSACTION SYSTEM
US10/114,058 US20020107799A1 (en) 1999-10-07 2002-04-03 Transaction method, transaction system, management equipment and IC card therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP1999/005563 WO2001031548A1 (fr) 1999-10-07 1999-10-07 Procede de transaction et systeme de transaction

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US10/114,058 Continuation US20020107799A1 (en) 1999-10-07 2002-04-03 Transaction method, transaction system, management equipment and IC card therefor

Publications (1)

Publication Number Publication Date
WO2001031548A1 true WO2001031548A1 (fr) 2001-05-03

Family

ID=14236945

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1999/005563 WO2001031548A1 (fr) 1999-10-07 1999-10-07 Procede de transaction et systeme de transaction

Country Status (3)

Country Link
US (1) US20020107799A1 (ja)
EP (1) EP1225533A4 (ja)
WO (1) WO2001031548A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005204126A (ja) * 2004-01-16 2005-07-28 Amano Corp 電子署名方法および電子署名装置
JP2005229450A (ja) * 2004-02-16 2005-08-25 Amano Corp 電子署名方法

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001222740A (ja) * 2000-02-09 2001-08-17 Sony Corp 電子マネーシステム及び電子マネー端末装置
US20040267648A1 (en) * 2003-06-26 2004-12-30 Oracle International Corporation Data totaling using interval-based subtotals
EP1743443B1 (en) * 2004-05-03 2013-09-25 HID Global Corporation Managed and secured credential issuance
WO2006053023A2 (en) * 2004-11-09 2006-05-18 Digimarc Corporation Authenticating identification and security documents
WO2006082540A2 (en) * 2005-02-02 2006-08-10 Koninklijke Philips Electronics N.V. Method, apparatus, device, system, program, for calibrating
KR100648658B1 (ko) * 2005-07-19 2006-11-24 삼성전자주식회사 전자서명 가능한 인쇄시스템과 프린터 및 인쇄방법
EP1873963A1 (en) 2006-06-29 2008-01-02 Incard SA Authentication method for IC cards
US9846866B2 (en) * 2007-02-22 2017-12-19 First Data Corporation Processing of financial transactions using debit networks
JP4253021B2 (ja) * 2007-03-07 2009-04-08 株式会社エヌ・ティ・ティ・ドコモ 携帯端末
TWM348284U (en) * 2008-06-13 2009-01-01 Hyweb Technology Co Ltd Contactless chip card reader with additional-activity encrypting/decrypting mechanism and additional-activity processing mechanism
US8864586B2 (en) 2009-11-12 2014-10-21 Nguyen Gaming Llc Gaming systems including viral gaming events
US9626826B2 (en) 2010-06-10 2017-04-18 Nguyen Gaming Llc Location-based real-time casino data
US8597108B2 (en) 2009-11-16 2013-12-03 Nguyen Gaming Llc Asynchronous persistent group bonus game
US8696470B2 (en) 2010-04-09 2014-04-15 Nguyen Gaming Llc Spontaneous player preferences
US9564018B2 (en) 2010-11-14 2017-02-07 Nguyen Gaming Llc Temporary grant of real-time bonus feature
US20180053374A9 (en) 2010-11-14 2018-02-22 Binh T. Nguyen Multi-Functional Peripheral Device
US9595161B2 (en) * 2010-11-14 2017-03-14 Nguyen Gaming Llc Social gaming
US9235952B2 (en) 2010-11-14 2016-01-12 Nguyen Gaming Llc Peripheral management device for virtual game interaction
US8444052B2 (en) * 2011-04-05 2013-05-21 Rev Worldwide, Inc. Method and device for merchant authentication
US10421010B2 (en) 2013-03-15 2019-09-24 Nguyen Gaming Llc Determination of advertisement based on player physiology
US11398131B2 (en) 2013-03-15 2022-07-26 Aristocrat Technologies, Inc. (ATI) Method and system for localized mobile gaming
US9814970B2 (en) 2013-03-15 2017-11-14 Nguyen Gaming Llc Authentication of mobile servers
US9600976B2 (en) 2013-03-15 2017-03-21 Nguyen Gaming Llc Adaptive mobile device gaming system
JP6949611B2 (ja) * 2017-08-03 2021-10-13 東芝テック株式会社 商品登録装置及びそのプログラム
US11386747B2 (en) * 2017-10-23 2022-07-12 Aristocrat Technologies, Inc. (ATI) Gaming monetary instrument tracking system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05197868A (ja) * 1992-01-20 1993-08-06 Csk Corp Icカ−ドを利用した料金支払い方式
JPH08180154A (ja) * 1994-12-21 1996-07-12 Hitachi Ltd 電子財布装置
JPH09204484A (ja) * 1995-11-21 1997-08-05 Hitachi Ltd Icカード自動取引端末装置およびそれに用いるicカード
JPH09237298A (ja) * 1996-02-29 1997-09-09 Hitachi Ltd 電子通貨決済システム
JPH10143683A (ja) * 1996-09-13 1998-05-29 Fujitsu Ltd チケットレスシステム及び処理方法並びにチケットレス処理プログラムを記録したコンピュータで読み取り可能な記録媒体
JPH10187820A (ja) * 1996-12-25 1998-07-21 Hitachi Ltd Ecシステムの商品販売利用方法

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2264800A (en) * 1992-03-02 1993-09-08 Gen Information Systems Ltd Portable storage devices
JP3024433B2 (ja) * 1993-05-28 2000-03-21 富士通株式会社 カード決済装置
JPH0737147A (ja) * 1993-07-16 1995-02-07 Fujitsu Ltd 連動処理機能付きカード処理装置
JP3416141B2 (ja) * 1994-02-04 2003-06-16 アイシー・ワン・インコーポレイテッド 奨励クレジットの割当て及び割戻し方法及び装置
JPH08287201A (ja) * 1995-04-11 1996-11-01 Hitachi Ltd Icカード内の購買履歴活用による与信方法とそのシステム
EP0775990A3 (en) * 1995-11-21 2000-08-23 Hitachi, Ltd. IC card automated transaction terminal and IC card used therein
US5953705A (en) * 1996-09-13 1999-09-14 Fujitsu Limited Ticketless system and processing method and memory medium storing its processing program
US6055509A (en) * 1997-02-11 2000-04-25 Ken R. Powell System and method for transferring identification information between portable cards in a computerized retail store having communication among a plurality of computers
FR2762424B1 (fr) * 1997-04-17 2003-01-10 Gemplus Card Int Carte a puce avec compteur, notamment compteur d'unite ou de gratifications, et procede de mise en oeuvre
JPH11110461A (ja) * 1997-10-01 1999-04-23 Fujitsu Ltd 二重財布を有する電子財布システム、その電子財布システムに適用されるicカード、二重財布を有するicカード取引装置、二重財布を有するicカード取引システムおよびそのicカード取引システムに適用されるicカード
JP2000011081A (ja) * 1998-03-26 2000-01-14 Citicorp Dev Center Inc マルチメモリ技術スマ―トカ―ドによるリモ―トバンキングの方法およびシステム

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05197868A (ja) * 1992-01-20 1993-08-06 Csk Corp Icカ−ドを利用した料金支払い方式
JPH08180154A (ja) * 1994-12-21 1996-07-12 Hitachi Ltd 電子財布装置
JPH09204484A (ja) * 1995-11-21 1997-08-05 Hitachi Ltd Icカード自動取引端末装置およびそれに用いるicカード
JPH09237298A (ja) * 1996-02-29 1997-09-09 Hitachi Ltd 電子通貨決済システム
JPH10143683A (ja) * 1996-09-13 1998-05-29 Fujitsu Ltd チケットレスシステム及び処理方法並びにチケットレス処理プログラムを記録したコンピュータで読み取り可能な記録媒体
JPH10187820A (ja) * 1996-12-25 1998-07-21 Hitachi Ltd Ecシステムの商品販売利用方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1225533A4 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005204126A (ja) * 2004-01-16 2005-07-28 Amano Corp 電子署名方法および電子署名装置
JP2005229450A (ja) * 2004-02-16 2005-08-25 Amano Corp 電子署名方法
JP4647918B2 (ja) * 2004-02-16 2011-03-09 アマノ株式会社 タイムスタンプ方法

Also Published As

Publication number Publication date
EP1225533A1 (en) 2002-07-24
US20020107799A1 (en) 2002-08-08
EP1225533A4 (en) 2003-05-02

Similar Documents

Publication Publication Date Title
WO2001027853A1 (fr) Systeme d'echange par carte a circuit integre
WO2001031548A1 (fr) Procede de transaction et systeme de transaction
US7731086B2 (en) System and method for mass transit merchant payment
US20080105739A1 (en) Electronic money system and transaction method using the same
EP2357624A1 (en) Transaction apparatus, systems and methods
JPH11102405A (ja) コンピュータネットワークによるくじ発券及び換金方法
CN1971638A (zh) 临时代金卡的方法及系统
WO2003034356A1 (fr) Procede permettant de delivrer une publicite par un appareil de transaction automatique
WO2002075679A2 (en) Anonymous payment system and method
KR20090084813A (ko) 소비자 및 상인 간의 구매 트랜잭션을 관리하는 방법 및 시스템
JPH10307885A (ja) 電子マネーシステム、電子マネーカード、電子マネー取引方法及び記録媒体
JP5830227B2 (ja) 代行収納システム及び代行収納方法
US20030115135A1 (en) Method and apparatus for recording transactions
WO2002008980A1 (fr) Systeme de transaction avec de l'argent electronique
JP3209484B2 (ja) 券類販売総合管理システム
US7703672B2 (en) Electronic money management system, electronic money management method and computer program
JP2002109237A (ja) カード取引用icカード
JP2002083237A5 (ja)
JP2002207970A (ja) 情報カード発行システム
JPH10255121A (ja) 電子マネーシステム
JP3061710B2 (ja) レジスタシステム
JP2004145877A (ja) 情報処理システム、情報処理方法、情報処理プログラム及び記録媒体
WO2007029123A2 (en) System and method for processing transactions
JP3527176B2 (ja) デビットカードを利用したくじの投票・当籤金振り込み方法
KR20010000329A (ko) 네트워크형 선불카드를 이용한 온·오프라인 전자거래시스템과 방법 및 이를 이용한 인터넷 사이트간 회원공유방법

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
ENP Entry into the national phase

Ref country code: JP

Ref document number: 2001 534056

Kind code of ref document: A

Format of ref document f/p: F

WWE Wipo information: entry into national phase

Ref document number: 10114058

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1999947858

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1999947858

Country of ref document: EP

WWR Wipo information: refused in national office

Ref document number: 1999947858

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 1999947858

Country of ref document: EP