[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2012165337A1 - Tax administration method, tax administration system, transaction information administration device, and authentication server - Google Patents

Tax administration method, tax administration system, transaction information administration device, and authentication server Download PDF

Info

Publication number
WO2012165337A1
WO2012165337A1 PCT/JP2012/063509 JP2012063509W WO2012165337A1 WO 2012165337 A1 WO2012165337 A1 WO 2012165337A1 JP 2012063509 W JP2012063509 W JP 2012063509W WO 2012165337 A1 WO2012165337 A1 WO 2012165337A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction information
transaction
hash value
information
management device
Prior art date
Application number
PCT/JP2012/063509
Other languages
French (fr)
Japanese (ja)
Inventor
山田 哲夫
Original Assignee
Yamada Tetsuo
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 Yamada Tetsuo filed Critical Yamada Tetsuo
Publication of WO2012165337A1 publication Critical patent/WO2012165337A1/en

Links

Images

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/04Billing or invoicing

Definitions

  • the present invention relates to a technique for correctly collecting taxes from a store where a sales transaction is performed with a consumer.
  • the management device can collect indirect tax collection data generated at indirect tax collection terminals such as gaming machines at amusement halls.
  • Technology that centrally manages the management device so that it can be connected to a computer system of a third party organization such as a tax office via a network, and information related to indirect taxes, such as the collected tax amount, can be easily transmitted from the management device to the third party organization. Is disclosed.
  • an object of the present invention is to provide a tax management technique capable of accurately collecting taxes from a store where a sales transaction is performed with a consumer.
  • a tax management method includes transaction information including a cash register and a tax amount of a sales transaction amount that is communicably connected to the cash register and is settled by the cash register.
  • a transaction information management device for managing the transaction information, a transaction information encryption device for encrypting the transaction information, an authentication server for authenticating the transaction information, and an authentication server communicably connected to the authentication server.
  • a tax management method for managing a tax amount of a sales transaction amount by a tax management system including a transaction information input device for inputting transaction information, wherein the cash register is based on transaction information including the transaction transaction amount and the tax amount
  • a first encrypted transaction information is generated by encrypting a hash value, the first specific information hash value, and specific data in the transaction information with a unique encryption key.
  • a transaction information management device ID for uniquely identifying the transaction information management device, receiving the transaction information, and identifying the specific data in the transaction information, the first specific information hash value, and the first encrypted transaction information;
  • a cash register information transmitting step for transmitting to the cash register in association with the cash register, the cash register includes the transaction information, specific data in the transaction information, the first specific information hash value, the first encrypted transaction information,
  • a printing step for issuing a receipt printed with receipt printing information having the transaction information management device ID, and the transaction information input device is the cash register
  • the receipt data information is acquired from the verification data information sending step for sending to the authentication server as the verification data, and the authentication information is connected to the transaction information management device ID and the transaction information management device.
  • An encryption key storing step for associating and storing the encryption key used in the encryption device; and an encryption for specifying the encryption key based on the transaction information management device ID stored in the encryption key storage step by the authentication server A key specifying step, and the authentication server calculates a second transaction information hash value based on the transaction information transmitted from the transaction information input device, and a second specification based on specific data in the transaction information.
  • a tax management method includes a cash register, a transaction information management device that is communicably connected to the cash register, and manages transaction information including a tax amount of a sales transaction amount settled by the cash register; Manages the tax amount of the sales transaction amount by a tax management system that includes an authentication server that authenticates the transaction information and a transaction information input device that is connected to the authentication server so as to be able to input the transaction information.
  • a first hash value calculating step in which the cash register calculates a first transaction information hash value based on transaction information including the sales transaction amount and a tax amount; and the cash register includes the transaction A first transaction information hash value transmission step for transmitting information and the first transaction information hash value to the transaction information management device;
  • the transaction information management device receives the transaction information and the first transaction information hash value from the cash register, calculates a first specific information hash value based on specific data in the transaction information, and stores the first specific information hash value.
  • 1 specific information hash value calculation step and the transaction information management device encrypts the first transaction information hash value, the first specific information hash value, and specific data in the transaction information with a unique encryption key.
  • a first encryption step for generating first encrypted transaction information, and the transaction information management device includes specific data in the transaction information, the first specific information hash value, and the first encrypted transaction information.
  • a cash register information transmitting step for transmitting to the cash register in association with a transaction information management device ID that uniquely identifies the transaction information management device;
  • a receipt printed with receipt printing information including the transaction information, specific data in the transaction information, the first specific information hash value, the first encrypted transaction information, and the transaction information management device ID.
  • the transaction information input device includes the transaction information, specific data in the transaction information, the first transaction information hash value, the first specific information hash value, and the first encrypted transaction.
  • Information and the transaction information management device ID are acquired, and these are transmitted as verification data to the authentication server, and the verification server sends the transaction information management device ID and the encryption key.
  • An encryption key storage step for storing the encryption key; and the authentication server identifies the encryption key based on the transaction information management device ID stored in the encryption key storage step.
  • An encryption key specifying step to be determined, and the authentication server calculates a second transaction information hash value based on the transaction information transmitted from the transaction information input device, and based on specific data in the transaction information
  • a tax management method includes a cash register, a transaction information management device that is communicably connected to the cash register, and manages transaction information including a tax amount of a sales transaction amount settled by the cash register;
  • a transaction information encryption apparatus that is communicably connected to the transaction information management apparatus and encrypts the transaction information, an authentication server that authenticates the transaction information, and a communication server that is communicably connected to the authentication server
  • a tax management method for managing a tax amount of a sales transaction amount by a tax management system including a transaction information input device for inputting the transaction information to a server, wherein the cash register includes the transaction transaction amount and the tax amount.
  • Transaction information transmission step for transmitting the transaction information management device to the transaction information management device, and the transaction information management device transmits the specific data in the transaction information to the transaction
  • a specific data transmission step for transmitting to the information encryption device, and the transaction information encryption device encrypts the specific data in the transaction information received from the transaction information management device with a unique encryption key,
  • a first encryption step for generating encrypted transaction information a first encrypted transaction information transmission step in which the transaction information encryption device transmits the first encrypted transaction information to the transaction information management device, and the transaction information.
  • a cash register that receives the first encrypted transaction information and associates the first encrypted transaction information with a transaction information management device ID that uniquely identifies the transaction information management device and transmits the first encrypted transaction information to the cash register
  • An information transmission step wherein the cash register receives a receipt printing information including the transaction information, the first encrypted transaction information, and the transaction information management device ID;
  • a verification step of verifying the legitimacy of the transaction by comparing the first encrypted transaction information with the second encrypted transaction information.
  • a tax management system includes a cash register, a transaction information management device that is communicably connected to the cash register, and manages transaction information including a tax amount of a sales transaction amount settled by the cash register; Transaction information encryption device that encrypts the transaction information, an authentication server that authenticates the transaction information, and a transaction information input that is communicably connected to the authentication server and inputs the transaction information to the authentication server;
  • a tax management system that manages a tax amount of a sales transaction amount by a tax management system comprising a device, wherein the cash register calculates a first transaction information hash value based on transaction information including the sales transaction amount and the tax amount
  • the transaction information management device receives the transaction information and the first from the cash register.
  • Second communication means for receiving a transaction information hash value; first specific information hash value calculation means for calculating a first specific information hash value based on specific data in the transaction information; the transaction information; A storage unit that stores one transaction information hash value and a first specific information hash value, and the transaction information encryption device receives the first transaction information hash value received from the transaction information management device, the first specific information A first encryption means for generating first encrypted transaction information by encrypting specific data in the information hash value and the transaction information with a unique encryption key; and the transaction information management And a third communication means for transmitting the first encryption means, and the second communication means of the transaction information management device includes the specific data in the transaction information, the first specific information hash A transaction information management device ID for uniquely specifying the value, the first encrypted transaction information, and the transaction information management device, and the transaction information input device, the transaction information input device, Input means for acquiring print information, and fourth communication means for transmitting the receipt print information as
  • Fifth communication means for performing, and encryption key storage means for storing the transaction information management apparatus ID and the encryption key used in the transaction information encryption apparatus connected to the transaction information management apparatus in association with each other ,
  • Encryption key specifying means for specifying the encryption key based on the transaction information management device ID stored in the encryption key storage means, and second transaction information based on the transaction information transmitted from the transaction information input device
  • a second hash value calculating means for calculating a hash value and calculating a second specific information hash value based on specific data in the transaction information; the second transaction information hash value; and the second specific information hash value.
  • second encryption means for generating second encrypted transaction information by encrypting specific data in the transaction information with the encryption key, the first transaction information hash value, and the second transaction information hash value The first specified information hash value and the second specified information hash value, and the first encrypted transaction information and the second encrypted transaction information, respectively. And having an authentication means for authenticating the sex.
  • a tax management system includes a cash register, a transaction information management device that is communicably connected to the cash register, and manages transaction information including a tax amount of a sales transaction amount settled by the cash register; Manages the tax amount of the sales transaction amount by a tax management system that includes an authentication server that authenticates the transaction information and a transaction information input device that is connected to the authentication server so as to be able to input the transaction information.
  • a first hash value calculation means for calculating a first transaction information hash value based on transaction information including the sales transaction amount and a tax amount, the transaction information management device, and data
  • the first communication means capable of transmitting and receiving the transaction information and the first transaction information hash value as the transaction information management device
  • First communication means for transmitting; and printing means for issuing a receipt
  • the transaction information management device receives the transaction information and the first transaction information hash value from the cash register
  • First specific information hash value calculation means for calculating a first specific information hash value based on specific data in the transaction information, the transaction information, the first transaction information hash value, and the first specific information hash value.
  • a storage unit for storing, the first transaction information hash value, the first specific information hash value, and specific data in the transaction information are encrypted with a unique encryption key to generate first encrypted transaction information
  • the second communication means of the transaction information management device includes specific data in the transaction information, the first specific information hash value, and the first encrypted transaction information.
  • a transaction information management device ID that uniquely identifies the transaction information management device is transmitted to the cash register, and the transaction information input device receives the transaction information, specific data in the transaction information, the first
  • a third communication means for transmitting one transaction information hash value, the first specific information hash value, the first encrypted transaction information, and the transaction information management device ID as verification data to the authentication server
  • a fourth communication means for transmitting and receiving data to and from the transaction information input device; an encryption key storage means for storing the transaction information management device ID and the encryption key in association with each other; and An encryption key specifying means for specifying the encryption key based on the transaction information management device ID stored in the storage means;
  • a second transaction information hash value is calculated based on the transaction information;
  • Second hash value calculation means for calculating a second specific information hash value based on specific data in the transaction information, the second transaction information hash value, the second specific information hash value, and the transaction information
  • Second encryption means for generating second encrypted transaction information by encrypting specific data in the encryption key,
  • a tax management system includes a cash register, a transaction information management device that is communicably connected to the cash register, and manages transaction information including a tax amount of a sales transaction amount settled by the cash register; Transaction information encryption device that encrypts the transaction information, an authentication server that authenticates the transaction information, and a transaction information input that is communicably connected to the authentication server and inputs the transaction information to the authentication server;
  • a tax management system that manages a tax amount of a sales transaction amount by a tax management system comprising a device, wherein the cash register is a first communication means capable of transmitting and receiving data to and from the transaction information management device, wherein the transaction A first communication means for transmitting information to the transaction information management device; and a printing means for issuing a receipt.
  • the second communication means of the transaction information management device sets the transaction information management device ID for uniquely identifying the specific data in the transaction information, the first encrypted transaction information, and the transaction information management device.
  • a transaction information input device that transmits the receipt printing information to the cash register, and a fourth communication unit that transmits the receipt printing information to the authentication server as verification data.
  • Transaction information encryption connected to the transaction information management device ID and the transaction information management device, a fifth communication unit that transmits and receives data to and from the transaction information input device
  • An encryption key storage unit that associates and stores the encryption key used in the device, an encryption key specifying unit that specifies the encryption key based on the transaction information management device ID stored in the encryption key storage unit, and Second encryption means for generating second encrypted transaction information by encrypting specific data in the transaction information with the encryption key; verification of the first encrypted transaction information and the second encrypted transaction information; And authenticating means for authenticating the legitimacy of the transaction.
  • the transaction information management device is used in the tax management system according to any one of the fourth to sixth aspects.
  • a transaction information management device is a transaction information management device used in a tax management system according to the fourth or fifth aspect, wherein the transaction information and specific data in the transaction information
  • the first transaction information hash value, the first specific information hash value, and the first encrypted transaction information are stored as transaction management information in association with a transaction information management device ID that uniquely identifies the transaction information management device.
  • Transaction management information storage means and external storage medium mounting means for transmitting the transaction management information to an external storage medium are further provided.
  • a transaction information management device is a transaction information management device used in a tax management system according to the fourth or fifth aspect, wherein the transaction information and specific data in the transaction information
  • the first transaction information hash value, the first specific information hash value, and the first encrypted transaction information are stored as transaction management information in association with a transaction information management device ID that uniquely identifies the transaction information management device.
  • Transaction management information storage means is further provided, and the second communication means transmits the transaction management information to the authentication server.
  • the authentication server according to the tenth aspect is used in the tax management system according to any one of the fourth to sixth aspects.
  • the authentication server is included in the receipt print information transmitted from the transaction information input device by the tax management method according to any of the first to second aspects or the tax management system according to any of the fourth to fifth aspects.
  • the first transaction information hash value to be compared with the second transaction information hash value calculated by the authentication server, the first specific information hash value included in the receipt print information transmitted from the transaction information input device and the first value calculated by the authentication server 2 collation with the specific information hash value, and collation with the first encrypted transaction information included in the receipt print information transmitted from the transaction information input device and the second encrypted transaction information created by the authentication server, respectively, If the verification confirms that the transaction is the same, the transaction is authenticated. Therefore, the transaction can be reliably verified and the store where the transaction is conducted with the consumer. It is possible to achieve an accurate collection of Luo tax.
  • the transaction information management device includes the first transaction information hash value, the first specific information hash value, and the transaction information. Since the first encrypted transaction information is generated by encrypting the specific data with a unique encryption key, the process in the tax management method or the configuration in the tax management system can be made compact.
  • the authentication server includes the first encrypted transaction information and the authentication included in the receipt print information transmitted from the transaction information input device.
  • the server verifies the second encrypted transaction information created by the server and authenticates the transaction if it is confirmed to be the same. Therefore, the transaction can be reliably authenticated, It is possible to accurately collect taxes from stores where sales transactions are conducted.
  • any of the fourth aspect to the sixth aspect is used by the tax management system according to any one of the fourth aspect to the sixth aspect. It is possible to obtain the same effect as the tax management system according to this aspect.
  • transaction information management device relating to the eighth aspect, transaction information, specific data in transaction information, first transaction information hash value, first specific information hash value, and first encrypted transaction information are managed by transaction management. Since the information can be stored in the external storage medium, the information can be easily transferred to an external device that requires it.
  • transaction management includes transaction information, specific data in the transaction information, first transaction information hash value, first specific information hash value, and first encrypted transaction information. Since information is transmitted from the transaction information management device to the authentication server as information, the authentication server can easily manage transaction information and the like.
  • any of the fourth aspect to the sixth aspect is used by the tax management system according to any one of the fourth aspect to the sixth aspect. It is possible to obtain the same effect as the tax management system according to the aspect.
  • the functional block diagram which shows the structure of the tax management system in 1st Embodiment of this invention.
  • the functional block diagram which shows the structure of the tax management system in 1st Embodiment of this invention.
  • the flowchart which shows the flow of a process in case the sales transaction with a consumer is performed in a store.
  • Explanatory drawing which shows the specific example of the information transmitted to a transaction information management apparatus from a cash register.
  • Explanatory drawing which shows the example of the item of transaction management information.
  • Explanatory drawing which shows the example of a description of a receipt.
  • the functional block diagram which shows the structure of the tax management system in 2nd Embodiment of this invention.
  • the schematic diagram which shows the structure of the tax management system in a modification The functional block diagram which shows the structure of the tax management system in a modification.
  • the functional block diagram which shows the structure of the tax management system in a modification The functional block diagram which shows the structure of the tax management system in a modification.
  • FIG. 1 is a schematic diagram showing an example of the configuration of a tax management system 1A according to the first embodiment of the present invention.
  • the tax management system 1A is intended to manage the tax amount of the sales transaction amount settled in the cash register 10 in each store 300, and corresponds to the cash register 10, the transaction information management device 50A, and the transaction information encryption device.
  • the IC card 80, the authentication server 60A, and the transaction information input device 30 are configured.
  • 2 and 3 are functional block diagrams showing the configuration of the tax management system 1A.
  • FIG. 2 is a functional block diagram showing configurations of the cash register 10, the transaction information management device 50A, and the IC card 80 in the tax management system 1A.
  • FIG. 3 is a functional block diagram showing configurations of the authentication server 60A and the transaction information input device 30 in the tax management system 1A.
  • the cash register 10 is used in the store 300 at the time of payment for purchase of a product, and creates transaction information including a sales transaction amount and a tax amount. For each transaction, the cash register 10 settles the product purchased by the consumer and issues a receipt 250.
  • the cash register 10 includes a control unit 11, a storage unit 12, a receipt output unit 13 that outputs a receipt 250, a communication unit 14, a display unit 15, a customer side display unit 16, A key input unit 17, a card reader unit 18, a scanner unit 20, and a hash value calculation unit 21 are connected to each other via a bus line.
  • the control unit 11 is constituted by, for example, a CPU, determines the operation of the entire cash register 10 by executing a program stored in the storage unit 12 described later, and gives a command to the entire cash register 10. Also, the tax amount is calculated by multiplying the purchase amount received from the key input unit 17 by a predetermined tax rate.
  • the storage unit 12 includes, for example, a storage device such as a semiconductor memory, and includes various information such as information input from the transaction information management device 50A, a program executed by the control unit 11, and information necessary for executing the program.
  • the receipt output unit 13 issues a receipt 250 based on the information input to the key input unit 17.
  • the communication unit 14 exchanges data with the transaction information management device 50A.
  • the display unit 15 performs various displays and performs various displays by touching the display screen.
  • the customer side display unit 16 displays the purchased product name, the purchase price, the total purchase price, and the like to the customer.
  • the key input unit 17 is provided with an accounting key used in the case of a credit sale and a current total key used in the case of cash payment as a numeric keypad and a closing key. In the key input unit 17, a product name and a purchase price are input by a clerk of the store 300.
  • the card reader unit 18 reads the content recorded on the magnetic card owned by the consumer.
  • the scanner unit 20 reads the barcode indicating the product number attached to the product and registers the product.
  • the hash value calculation unit 21 calculates a transaction information hash value from the transaction information including the sales transaction amount and the tax amount using a hash function. Furthermore, as shown in FIG. 1, the money storage part 19 is arrange
  • the transaction information management device 50 ⁇ / b> A manages transaction information including the tax amount of the sales transaction amount settled in the cash register 10.
  • the transaction information is connected to the cash register 10 so as to be communicable, and manages transaction information including the tax amount of the sales transaction amount settled by the cash register 10.
  • the transaction information management device 50A and the authentication server 60A are interconnected via the Internet 2 as a communication network, and exchange data with each other using, for example, FTP.
  • control unit 51, storage unit 52, communication unit 53, reader / writer unit 54, input unit 55, and hash value calculation unit 59 are connected to each other via a bus line. ing.
  • the control unit 51 is constituted by, for example, a CPU, and determines the operation of the entire transaction information management device 50A by executing a program stored in the storage unit 52 described later, and gives a command to the entire transaction information management device 50A. .
  • Data is transmitted to and received from the cash register 10.
  • the storage unit 52 is configured by a storage device such as a semiconductor memory, for example, and stores various information such as information input from the cash register 10, a program executed by the control unit 51, and information necessary when executing the program.
  • the input unit 55 accepts various instructions by user operation and input of data such as letters and numbers.
  • the communication unit 53 transmits / receives data to / from the cash register 10.
  • the reader / writer unit 54 reads information from the IC card 80 and writes information to the IC card 80 based on an instruction from the control unit 51.
  • the hash value calculation unit 59 calculates a hash value from predetermined data using a hash function.
  • the IC card 80 corresponding to the transaction information encryption device transmits / receives data to / from the transaction information management device 50A, receives transaction information from the transaction information management device 50A, and encrypts the transaction information and the like. Do. By configuring with an IC card, the transaction information encryption device can be issued from the tax office side, and it is easy to ensure the security of the encryption key.
  • the IC card 80 contains an IC chip.
  • the IC chip includes a control unit 81 composed of a CPU that controls the operation of the entire IC card 80, and a storage unit 82 that stores a program for operating the IC card 80, an encryption key, and the like.
  • the transaction information encryption unit 86 and the I / F 85 are included.
  • the storage unit 82 is composed of a semiconductor memory such as ROM or FLASH.
  • a connection IC terminal is provided as the I / F 85, which is a so-called contact type IC card.
  • the I / F 85 performs data transfer with the transaction information management device 50A and receives power supply from the transaction information management device 50A. Note that power supply and data transmission between the IC card 80 and the transaction information management device 50A may be performed by a non-contact method using an electromagnetic wave used in, for example, RFID.
  • the transaction information encryption unit 86 encrypts the plaintext with a unique encryption key.
  • Transaction information encryption unit 86 encrypts the received data in accordance with a predetermined known encryption algorithm such as DES, and transmits the ciphertext of the received data to transaction information management device 50A.
  • Transaction information encryption unit 86 is realized by an IC card program, and data and an encryption key are stored in storage unit 82.
  • the transaction information input device 30 is communicably connected to the authentication server 60A, and inputs transaction information to the authentication server 60A.
  • a control unit 31 a storage unit 32, an input unit 35, and a display unit 36 are connected to each other via a bus line.
  • the control unit 31 is constituted by, for example, a CPU, and determines the operation of the entire transaction information input device 30 by executing a program stored in the storage unit 32 described later, and gives a command to the entire transaction information input device 30 .
  • the storage unit 32 is constituted by a storage device such as a semiconductor memory, for example, and stores various information such as input transaction information, a program executed by the control unit 31, and information necessary for executing the program.
  • the communication unit 34 transmits / receives data to / from the authentication server 60A, for example, using the Internet 2.
  • the input unit 35 accepts various instructions by user operation and input of data such as characters and numbers.
  • the display unit 36 displays a display object.
  • the authentication server 60A manages transaction information including the tax amount and authenticates the transaction information.
  • the authentication server 60A is operated by, for example, a government agency or a third party commissioned by a government agency that performs tax rate setting and tax collection on products manufactured by a manufacturer sold at each store 300.
  • the authentication server 60A manages a tax amount according to the amount settled for each transaction at each store 300.
  • the authentication server 60A has a transaction information encryption function. As shown in FIG. 3, the authentication server 60A includes a control unit 61, a storage unit 62, a communication unit 64, an input unit 65, a transaction information encryption unit 66, and a hash value calculation unit 69. Are connected to each other.
  • the control unit 61 is constituted by, for example, a CPU, determines the operation of the entire authentication server 60A by executing a program stored in the storage unit 62 described later, and gives a command to the entire authentication server 60A.
  • the control unit 61 also realizes functions of an authentication unit 611 and a key specifying unit 612, which will be described later.
  • the authentication unit 611 authenticates the validity of the transaction based on the data stored in the transaction information storage unit 632 of the storage unit 62.
  • the key specifying unit 612 specifies an encryption key stored in a key storage unit 631 described later for each ID of the transaction information management device 50A.
  • the storage unit 62 is configured by, for example, a semiconductor memory and the like, a program executed by the control unit 61, information necessary for executing the program, and transaction information transmitted from the transaction information input device 30 via the Internet 2 Etc. are stored. Moreover, the memory
  • the transaction information database 63 includes a key storage unit 631 and a transaction information storage unit 632.
  • the key storage unit 631 associates the ID of the transaction information management device 50A with the encryption key used in the IC card 80 connected to the transaction information management device 50A and stores it as encryption key related information.
  • the transaction information storage unit 632 stores consumer transaction information transmitted from the transaction information management device 50A, information for verifying unauthenticated transaction information, and the like.
  • the communication unit 64 transmits / receives data to / from the transaction information input device 30 via the Internet 2.
  • the communication unit 64 communicates with the transaction information management device 50A via the Internet 2 or a dedicated line.
  • the input unit 65 accepts various instructions by user operation and input of data such as characters and numbers.
  • the transaction information encryption unit 66 encrypts data with an encryption key.
  • the hash value calculation unit 69 calculates a hash value from predetermined data using a hash function.
  • the consumer who visited the store 300 proceeds to the cashier counter where the cash register 10 and the transaction information management device 50A are installed, and settles the purchased product. Further, the store clerk inputs transaction information (amount, product data, etc.) regarding the purchased product via the key input unit 17 of the cash register 10.
  • the transaction information input through the key input unit 17 is displayed on the display unit 15 and the customer side display unit 16 and is stored in the storage unit 12 of the cash register 10.
  • a receipt 250 is issued from the receipt output unit 13 and purchase of goods via the money storage unit 19, as in the case of a normal cash register. Such a settlement process is performed.
  • FIG. 4 is a flowchart showing the flow of processing when a sales transaction with a consumer is performed in the store 300. First, when a sales transaction is performed between the consumer and the store 300, data of the content sold and sold in the cash register 10 is input, and the process proceeds to step S1.
  • step S1 transaction information is created based on the data of the entered and sold contents. For example, a case where $ 1.00 juice and $ 1.20 hamburger are purchased will be described.
  • transaction information to be transmitted to the transaction information management device 50A is created. Specific examples of transaction information include, for example, (1) store ID, (2) cash register ID, (3) transaction amount, (4) sales tax target, (5) sales tax amount, (6) receipt number, (7) Transaction date and time, (8) Information on transaction type items is included.
  • Store ID is the ID of the store (taxpayer). It is an ID number assigned to each store, and is a taxpayer number managed by the tax office.
  • the cash register ID is a number assigned to each cash register and POS terminal.
  • the transaction amount is $ 2.20 which is a total amount of $ 1.00 and $ 1.20.
  • the sales tax target amount is shown for each tax type, and in this example, the total amount of $ 1.00 and $ 1.20 is $ 2.20.
  • the sales tax amount is shown for each tax type, and is $ 0.20 in this example.
  • the transaction amount $ 2.20, the sales tax target amount $ 2.20, and the sales tax $ 0.20 are calculated by the cash register 10.
  • the receipt number is a sequence number given to the receipt, and is incremented by 1 for each issue. Individual transaction information is specified by the receipt number.
  • the transaction form indicates whether it is a normal transaction or a return transaction.
  • step S2 the cash register 10 hashes the plain text of the transaction information to calculate a hash value (hereinafter referred to as transaction information hash value).
  • step S3 the cash register 10 transmits the transaction information and the transaction information hash value to the transaction information management device 50A.
  • FIG. 5 is a diagram illustrating a specific example of information transmitted from the cash register 10 to the transaction information management device 50A. As shown in FIG.
  • step S4 the communication unit 53 of the transaction information management device 50A receives the transaction information and the transaction information hash value from the cash register 10. And, arbitrary predetermined data in the transaction information (for example, (3) transaction amount: $ 2.20, (4) sales tax object amount: $ 2.20, (5) sales tax amount: $ 0. 20, (6) Receipt No .: 00300288, etc.) as the specific data, the hash value (hereinafter referred to as the specific information hash value) is calculated by hashing the plain text of the specific data and the ID data of the transaction information management device 50A.
  • the specific information hash value is calculated by hashing the plain text of the specific data and the ID data of the transaction information management device 50A.
  • step S5 the transaction information management device 50A transmits the transaction information hash value, the specific information hash value, and specific data in the transaction information (plain text when the specific information hash value is calculated) to the IC card 80.
  • step S6 the transaction information encryption unit 86 of the IC card 80 encrypts the transaction information hash value, the specific information hash value, and the specific data in the transaction information received from the transaction information management device 50A with a unique encryption key. To create fixed-length encrypted transaction information.
  • the encrypted transaction information is obtained by encrypting received data according to a known predetermined encryption algorithm.
  • step S7 the IC card 80 transmits the encrypted transaction information to the transaction information management device 50A.
  • step S8 the transaction information management device 50A receives the encrypted transaction information, and caches the specific data in the transaction information, the specific information hash value, and the encrypted transaction information in association with the transaction information management device ID. Transmit to the register 10.
  • the transaction information management device ID is an ID assigned to each transaction information management device 50A, and can uniquely identify the transaction information management device 50A that has performed the process.
  • the transaction information management device 50A stores transaction information such as transaction information and a specific information hash value as transaction management information in a transaction file stored in the storage unit 52 of the transaction information management device 50A.
  • FIG. 6 is a diagram illustrating an example of items of transaction management information. As shown in FIG. 6, (1) store ID, (2) cash register ID, (3) transaction amount, (4) sales taxable amount, (5) sales tax amount, (6) receipt number, (7) transaction The date and time, (8) transaction information hash value, (9) specific information hash value, (10) encrypted transaction information, (11) transaction information management device ID, and (12) transaction form are stored.
  • the cash register 10 includes transaction information, specific data in the transaction information transmitted from the transaction information management device 50A, specific information hash value, encrypted transaction information, and transaction information management device ID.
  • the receipt 250 on which the printing information is printed is output from the receipt output unit 13.
  • FIG. 7 is a diagram illustrating a description example of the receipt 250. In the receipt 250 shown in FIG.
  • step S10 of FIG. 4 the transaction information input device 30 acquires the information printed on the receipt 250 from the cash register 10 from the input unit 35. Specifically, the receipt on which the transaction information, the specific data in the transaction information received by the cash register 10 from the transaction information management device 50, the specific information hash value, the encrypted transaction information, and the transaction information management device ID are printed. Receipt printing information as 250 information is input.
  • step S11 the communication unit 34 of the transaction information input device 30 transmits the receipt print information described above as verification data to the authentication server 60A.
  • step S12 the hash value calculation unit 69 of the authentication server 60A calculates a transaction information hash value for verification based on the transaction information of the verification data transmitted to the authentication server 60A in step S11, and the verification data The specific information hash value for verification is calculated based on the specific data in the transaction information.
  • step S13 after the key identification unit 612 of the authentication server 60A identifies the encryption key based on the transaction information management device ID stored in the key storage unit 631, the transaction information encryption unit 66 performs the transaction information hash value for verification.
  • the verification specific information hash value and the specific data in the verification data transaction information are encrypted with the specified encryption key to create verification transaction information.
  • the encryption key is associated with the ID of the transaction information management device 50A and the encryption key used in the IC card 80 connected to the transaction information management device 50A as a key storage unit as encryption key related information.
  • 631 and the key identification unit 612 identifies the encryption key based on the transaction information management device ID stored in the key storage unit 631.
  • the encryption method is the same as in step S5.
  • the verification encrypted transaction information is stored in the transaction information storage unit 632.
  • step S14 the authentication server 60A collates the transaction information hash value transmitted from the transaction information input device 30 with the transaction information hash value for verification calculated by the authentication server 60A, and the specific information transmitted from the transaction information input device 30. Collation between the hash value and the verification specific information hash value calculated by the authentication server 60A, and verification between the encrypted transaction information transmitted from the transaction information input device 30 and the verification encrypted transaction information created by the authentication server 60A Each is performed, and if it is confirmed that it is the same in each verification, the validity of the transaction is authenticated.
  • the verification data stored in the transaction information storage unit 632 is stored with an authentication success flag. If the transaction authentication is unsuccessful, the verification data is stored with an authentication unsuccessful flag.
  • the authentication server 60A sends the transaction information hash value transmitted from the transaction information input device 30 and the transaction information hash value for verification calculated by the authentication server 60A, and is transmitted from the transaction information input device 30.
  • FIG. 8 is a schematic diagram showing the configuration of the tax management system 1B according to the second embodiment of the present invention.
  • the second embodiment is similar to FIGS. 2 and 3 described above, and the configuration of the second embodiment is given the same reference numerals as the corresponding configurations in FIGS. 2 and 3 described above, and different configurations will be described. Explanation of the same configuration is omitted.
  • the function of the IC card 80 in the second embodiment is the same as that of the first embodiment except for the configuration in which the transaction information encryption unit 56 of the transaction information management device 50B is realized.
  • the transaction information management device 50B in the tax management system 1B includes a transaction information encryption unit 56.
  • the hash value calculation unit 59 calculates the specific information hash value based on the specific data in the transaction information, and the transaction information
  • the encryption unit 56 encrypts the transaction information hash value, the specific information hash value, and specific data in the transaction information with a unique encryption key stored in the storage unit 52 to create encrypted transaction information.
  • the transaction information management device 50B associates the specific data in the transaction information, the specific information hash value, and the encrypted transaction information with the transaction information management device ID that uniquely identifies the transaction information management device 50B. 10 to send.
  • the transaction information management device can identify the first transaction information hash value, the first specific information hash value, and the transaction information. Since the encrypted transaction information is generated by encrypting the data, it is possible to make the configuration in the tax management system compact.
  • an IC card is used as the transaction information encryption device.
  • a USB (Universal Serial Bus) memory device may be used.
  • the transaction information management apparatus has a configuration independent of the cash register.
  • a configuration in which each unit of the transaction information management apparatus is realized by a computer provided in the cash register itself may be used.
  • the above transaction information, transaction information hash value, specific data, specific information hash value, and encrypted transaction information are also printed on the receipt using a two-dimensional barcode, and the transaction information input device uses a barcode scanner.
  • the receipt print information can be input to the transaction information input device by reading the two-dimensional barcode with a barcode scanner.
  • one cash register is connected to one transaction information management apparatus.
  • a plurality of cash registers are connected to one transaction information management apparatus. Also good.
  • the transaction information management apparatus transmits the transaction management information stored in the storage unit to the authentication server through wireless communication such as a mobile phone or WiFi and by wired communication such as Ethernet (registered trademark) or USB. May be.
  • the transaction information management device and the authentication server include an external memory mounting unit that mounts an external storage medium such as a USB memory device, whereby transaction management is performed on the external storage medium mounted on the external memory mounting unit of the transaction information management device
  • the information may be transmitted and stored, and the transaction management information may be transmitted to the authentication server by attaching an external storage medium to the external memory mounting unit of the authentication server. Since the transaction management information can be stored in the external storage medium, the transaction management information can be easily transferred to the authentication server. Also. You may input transaction management information directly from the input part of an authentication server.
  • FIG. 9 is a schematic diagram showing the configuration of the tax management system 1C in the present modification.
  • FIG. 10 is a functional block diagram showing the configuration of the tax management system 1C.
  • This modification is similar to FIGS. 1 to 3 described above, and the configuration of this embodiment is given the same reference numerals as the corresponding configurations in FIGS. 1 to 3 described above, and different configurations will be described. A description of the same configuration is omitted.
  • the transaction information management device 50C and the authentication server 60C in the present modification include external memory mounting portions 58 and 68 for mounting an external storage medium such as a USB memory device, and external devices mounted on the external memory mounting portions 58 and 68.
  • the configuration is the same as that of the first embodiment except for the configuration that enables communication with the storage medium.
  • the transaction information management device 50C includes an external memory mounting unit 58, and the authentication server 60C includes an external memory mounting unit 68. Therefore, in the tax management system 1C, the transaction information management device 50C transmits and stores the transaction management information in the external storage medium 90 mounted in the external memory mounting unit 58, and stores it in the external memory mounting unit 68 of the authentication server 60C. Transaction management information can be transmitted from the attached external storage medium 90 to the authentication server 60C.
  • the transaction information management device may create a daily summary report and send it to the authentication server.
  • daily transaction processing total sales calculation processing
  • Items listed in the daily summary report include, for example, (1) store ID, (2) cash register ID, (3) daily summary report number, (4) total daily sales, and (5) daily sales.
  • Total sales tax is included in the total tax, (6) total daily return transaction, and (7) total daily return transaction.
  • the daily total report number is a sequence number assigned to the total report, and is incremented by one for each issue.
  • the daily summary report is transmitted from the transaction information management device to the authentication server, and stored in the transaction information database of the authentication server for each ID of the transaction information management device.
  • the transaction information management device has a function of storing and managing transaction information including the inconsistent data in the inconsistent data file when there is any data inconsistency in the received transaction information. May be. Examples of data inconsistency include a case where the receipt number is not in order or a case where the store ID or cash register ID does not match the data of the previous daily aggregation report. Transaction information including matching data may also be transmitted from the transaction information management device to the authentication server together with the daily summary report.
  • the authentication server checks the first encrypted transaction information included in the receipt print information transmitted from the transaction information input device and the second encrypted transaction information created by the authentication server, and confirms that they are the same. If so, the legitimacy of the transaction may be authenticated.
  • 11 and 12 are functional block diagrams showing the configuration of the tax management system 1D.
  • FIG. 11 is a functional block diagram showing configurations of the cash register 10D, the transaction information management device 50D, and the IC card 80 in the tax management system 1D.
  • FIG. 12 is a functional block diagram showing configurations of the authentication server 60D and the transaction information input device 30 in the tax management system 1D. This modification is similar to FIGS. 2 to 3 described above, and the configuration of this modification is denoted by the same reference numerals as the corresponding configurations in FIGS.
  • the cache register 10D, the transaction information management device 50D, and the authentication server 60D in the present modification are the same as those in the first embodiment except that the hash value calculation unit is not provided.
  • the cash register 10D transmits transaction information to the transaction information management device 50D, and the transaction information management device 50D transmits specific data in the transaction information to the IC card 80.
  • the IC card 80 encrypts specific data in the transaction information received from the transaction information management device 50D with a unique encryption key to generate first encrypted transaction information, and transmits it to the transaction information management device 50D.
  • the transaction information management device 50D receives the first encrypted transaction information and transmits it to the cash register 10D in association with the transaction information management device ID.
  • the cash register 10D issues a receipt on which receipt print information having transaction information, first encrypted transaction information, and transaction information management device ID is printed, and the transaction information input device 50D prints a receipt from the cash register 10D.
  • Information is acquired and transmitted as verification data to the authentication server 60D.
  • the authentication server 60D stores the transaction information management device ID and the encryption key used in the IC card 80 connected to the transaction information input device 50D in association with each other, and is based on the transaction information management device ID. Specify the encryption key.
  • the authentication server 60D generates the second encrypted transaction information by encrypting the transaction information transmitted from the transaction information input device 50D with the encryption key. Then, the authentication server 60D compares the first encrypted transaction information included in the receipt print information received as the verification data with the second encrypted reference information, and authenticates the validity.
  • the cash register 10 and the transaction information management device 50A connected to the cash register 10 are often connected using only one communication port included in the cash register 10. . Therefore, under the situation where the transaction information management device 50A dedicated for tax management is connected to such a cash register 10, the commercial communication function inherent in the cash register 10 cannot be used. Therefore, the transaction information management device 50A is further provided with a commercial function and a commercial information storage means in addition to the tax management function such as the management of transaction information and the exchange of information with the IC card 80 described in each embodiment and modification, It is a preferable modification to allow both the tax management function and the commercial function to function with the register 10 while sharing the communication port.
  • Communicating the communication port is possible by dividing the communication control entity (the side that starts communication first in the communication sequence) according to the purpose (tax purpose / commercial purpose).
  • the cash register 10 is a communication control entity in the case of communication for tax purposes
  • the transaction information management device 50A side is the communication control entity in the case of communication for commercial purposes, and vice versa. This makes it possible to clearly understand both functions by sharing the communication port without the communication control being batting.
  • a technique such as transfer or return of control rights can be used.
  • the sales result information sold by the cash register 10 (sales result by product, sales result by operator, sales result by time, etc.) is taken into the commercial information storage means of the transaction information management device 50A.
  • the database information (product name, unit price, customer data) of the cash register 10 is transmitted from the transaction information management device 50A to the cash register 10, and the database information is changed or added.
  • the former example can be realized by transmitting a “data acquisition request command” for requesting transmission of data such as the sales record generated in the cash register 10 from the transaction information management device 50A to the cash register 10.
  • the latter example can be realized by transmitting a “data update command” for requesting the change / addition of the database from the transaction information management device 50A to the cash register 10.
  • a management server for commercial use different from the authentication server 60A for example, a management server operated by a company that manages the sales of each store 300, etc., wireless communication such as a mobile phone or WiFi, Ethernet (registration) Trademark
  • the transaction information management device 50A is connected to the transaction information management device 50A through wired or wireless communication such as the Internet, and the transaction information management device is connected from the management server to the commercial purpose communication between the transaction information management device 50A and the cash register 10.
  • a command is sent to 50A, and based on this, the transaction information management device 50A sends the “data acquisition request command” and “data update command” to the cash register 10.
  • the management server notifies the transaction information management device 50A of information to be obtained from the cash register 10 as an acquisition command. Receiving this, the transaction information management device 50A may generate a “data acquisition request command” based on the acquisition command and transmit it to the cash register 10. Information such as sales results acquired by the transaction information management device 50A from the cash register 10 is transmitted to the management server.
  • the data for database update / addition is transmitted from the management server to the transaction information management device 50A together with the change addition command, and the transaction received
  • the information management device 50A may generate a “data update command” based on the change addition command and transmit it to the cash register 10 together with data for database update / addition.
  • the management server When the management server is connected to the transaction information management device 50A as described above, the communication port for server connection of the transaction information management device 50A is shared, and the communication destination (tax authentication) is used according to the purpose (tax purpose / commercial purpose). It is preferable to change the server 60A / commercial management server.
  • the communication with the management server is not via the wired / wireless communication network as described above, but an external memory mounting unit for mounting an external storage medium such as a USB memory device as in the case of the authentication server 60A. May be provided for both, and commands and information may be transmitted and received via an external storage medium.

Landscapes

  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

A tax administration method comprises: a step of a storefront register terminal transmitting a first transaction information hash value to a transaction information administration device; a step of the transaction information administration device computing a first identifying information hash value, and transmitting same to a transaction information encryption device; a step of the transaction information encryption device transmitting first encrypted transaction information to the transaction information administration device; a step of the transaction information administration device associating the received information with a transaction information administration device ID and transmitting same to the storefront register terminal; a step of the storefront register terminal issuing a receipt; a step of a transaction information input device transmitting receipt printing information to an authentication server; a step of the authentication server associating the transaction information administration device ID and an encryption key and storing same; a step of the authentication server specifying the encryption key; a step of the authentication server computing a second transaction information hash value and a second identifying information hash value; a step of generating second encrypted transaction information; and a step of authenticating the validity of the transaction by comparing the first transaction information hash value with the second transaction information hash value, the first identifying information hash value with the second identifying information hash value, and the first encrypted transaction information with the second encrypted transaction information.

Description

税管理方法、税管理システム、取引情報管理装置、および認証サーバTax management method, tax management system, transaction information management device, and authentication server
 本発明は、消費者と売買取引が行われる店舗から税金を正しく徴収する技術に関する。 The present invention relates to a technique for correctly collecting taxes from a store where a sales transaction is performed with a consumer.
 販売取引が行われる店舗において、税務署が消費税の徴収を行うにあたっては、各店舗における売上総額および売上税額を把握する必要がある。近年、遊技場における間接税の的確な徴収や情報管理が容易かつ的確に行なわれることを目的として、遊技場における遊技機等の間接税徴収端末で生成される間接税の徴収データを管理装置で集中管理し、該管理装置が税務署等の第三者機関のコンピュータシステムにネットワークを介して接続され、徴収税額など、間接税に関する情報を管理装置から第三者機関に容易に送信可能とする技術が開示されている。 When a taxation office collects a consumption tax at a store where sales transactions are conducted, it is necessary to grasp the total sales amount and the sales tax amount at each store. In recent years, with the aim of facilitating the accurate collection and information management of indirect taxes at amusement halls, the management device can collect indirect tax collection data generated at indirect tax collection terminals such as gaming machines at amusement halls. Technology that centrally manages the management device so that it can be connected to a computer system of a third party organization such as a tax office via a network, and information related to indirect taxes, such as the collected tax amount, can be easily transmitted from the management device to the third party organization. Is disclosed.
 当該技術において、管理装置には、ID情報や照合情報(パスワードや指紋など)による照合確認が適正になされない限り、アクセス制限を設けたり、所定のメモリエリアのデータの上書きや更新が全く不可能な構成とすることによって、間接税に関するデータの改ざんを阻止するセキュリティ機能が設けられている。また、所定のメモリエリアのデータ状況を監視し、データが書き換えられた場合には、故障又は不正が発生したとして遊技店の管理者や第三者機関にそのことが報知される構成とすることによって、納税処理の信頼性向上を図っている(例えば、特許文献1)。 In this technology, unless a verification check is properly performed on the management device using ID information or verification information (password, fingerprint, etc.), access restriction is not possible, and data in a predetermined memory area cannot be overwritten or updated at all. By adopting a simple structure, a security function is provided to prevent falsification of data related to indirect tax. In addition, the data status of a predetermined memory area is monitored, and when the data is rewritten, the manager of the amusement store or a third party organization is notified that a failure or fraud has occurred. Thus, the reliability of tax payment processing is improved (for example, Patent Document 1).
 しかしながら、従来技術においては、消費者と売買取引が行われる店舗において、管理者が管理装置に記憶された売上金額及び消費税額を示すデータを改ざんした場合、税務署は売上総額を正確に把握することができない。一方、消費者と売買取引が行われる店舗においては、取引の内容はキャッシュレジスタに打ち込まれ、打ち込まれた金額を印字したレシートに基づいて、第三者機関が各店舗における売上総額及び消費税額が把握するのが一般的である。この場合においては、売上金の一部をキャッシュレジスタに打ち込まないようにしたり、偽造されたレシートを発行することによっても、税の徴収を免れることができるという問題もあった。 However, in the prior art, if the administrator falsifies the sales amount and consumption tax data stored in the management device at a store where the sales transaction is conducted with the consumer, the tax office must accurately grasp the total sales amount. I can't. On the other hand, at stores where sales transactions are conducted with consumers, the contents of the transaction are entered into a cash register, and the third party determines the total sales and consumption tax at each store based on the receipt printed. It is common to know. In this case, there is also a problem that tax collection can be avoided even if a part of the sales proceeds is not put into a cash register or a forged receipt is issued.
特開2002-143522号公報JP 2002-143522 A
 上記の問題点に鑑みて、本願発明の目的とするところは、消費者と売買取引が行われる店舗から税金の正確な徴収を図ることが可能な税管理技術を提供することにある。 In view of the above problems, an object of the present invention is to provide a tax management technique capable of accurately collecting taxes from a store where a sales transaction is performed with a consumer.
 上記の課題を解決するために、第1の態様に係る税管理方法は、キャッシュレジスタと、該キャッシュレジスタと通信可能に接続され、該キャッシュレジスタによって精算された売買取引金額の税額を含む取引情報を管理する取引情報管理装置と、該取引情報の暗号化を行う取引情報暗号化装置と、該取引情報の認証を行う認証サーバと、該認証サーバと通信可能に接続され、該認証サーバに該取引情報の入力を行う取引情報入力装置とを備える税管理システムにより売買取引金額の税額を管理する税管理方法であって、前記キャッシュレジスタが、前記売買取引金額及び税額を含む取引情報に基づいて第1取引情報ハッシュ値を算出する第1ハッシュ値算出工程と、前記キャッシュレジスタが、前記取引情報及び前記第1取引情報ハッシュ値を前記取引情報管理装置に送信する第1取引情報ハッシュ値送信工程と、前記取引情報管理装置が、前記キャッシュレジスタから前記取引情報及び前記第1取引情報ハッシュ値を受信し、前記取引情報の中の特定のデータに基づいて第1特定情報ハッシュ値を算出して記憶する第1特定情報ハッシュ値算出工程と、前記取引情報管理装置が、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、及び前記取引情報の中の特定のデータを前記取引情報暗号化装置に送信する特定データ送信工程と、前記取引情報暗号化装置が、前記取引情報管理装置から受信した前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、及び前記取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成する第1暗号化工程と、前記取引情報暗号化装置が、前記第1暗号化取引情報を前記取引情報管理装置に送信する第1暗号化取引情報送信工程と、前記取引情報管理装置が前記第1暗号化取引情報を受信し、前記取引情報の中の特定のデータ、前記第1特定情報ハッシュ値、及び前記第1暗号化取引情報を、前記取引情報管理装置を一意に特定する取引情報管理装置IDと関連づけて前記キャッシュレジスタへ送信するキャッシュレジスタ情報送信工程と、前記キャッシュレジスタが、前記取引情報、前記取引情報の中の特定のデータ、前記第1特定情報ハッシュ値、前記第1暗号化取引情報、及び前記取引情報管理装置IDを有するレシート印字情報が印字されたレシートを発行する印刷工程と、前記取引情報入力装置が、前記キャッシュレジスタから前記レシート印字情報を取得し、照合用データとして前記認証サーバへ送信する照合用データ情報送信工程と、前記認証サーバが、前記取引情報管理装置ID及び前記取引情報管理装置に接続される取引情報暗号化装置で使用する前記暗号鍵を関連づけて記憶する暗号鍵記憶工程と、前記認証サーバが、前記暗号鍵記憶工程において記憶された前記取引情報管理装置IDに基づいて前記暗号鍵を特定する暗号鍵特定工程と、前記認証サーバが、前記取引情報入力装置から送信された前記取引情報に基づいて第2取引情報ハッシュ値を算出し、前記取引情報の中の特定のデータに基づいて第2特定情報ハッシュ値を算出する第2ハッシュ値算出工程と、前記認証サーバが、前記第2取引情報ハッシュ値、前記第2特定情報ハッシュ値、及び前記取引情報の中の特定のデータを前記暗号鍵によって暗号化して第2暗号化取引情報を生成する第2暗号化工程と、前記認証サーバが、前記第1取引情報ハッシュ値と前記第2取引情報ハッシュ値との照合、前記第1特定情報ハッシュ値と前記第2特定情報ハッシュ値との照合、及び前記第1暗号化取引情報と前記第2暗号化取引情報との照合をそれぞれ行い、取引の正当性を認証する認証工程とを備えることを特徴とする。 In order to solve the above-described problem, a tax management method according to a first aspect includes transaction information including a cash register and a tax amount of a sales transaction amount that is communicably connected to the cash register and is settled by the cash register. A transaction information management device for managing the transaction information, a transaction information encryption device for encrypting the transaction information, an authentication server for authenticating the transaction information, and an authentication server communicably connected to the authentication server. A tax management method for managing a tax amount of a sales transaction amount by a tax management system including a transaction information input device for inputting transaction information, wherein the cash register is based on transaction information including the transaction transaction amount and the tax amount A first hash value calculation step of calculating a first transaction information hash value; and the cash register includes the transaction information and the first transaction information hash. A first transaction information hash value transmission step of transmitting a value to the transaction information management device; and the transaction information management device receives the transaction information and the first transaction information hash value from the cash register, and A first specific information hash value calculating step for calculating and storing a first specific information hash value based on the specific data therein; and the transaction information management device includes the first transaction information hash value and the first specific information. A specific data transmission step of transmitting a hash value and specific data in the transaction information to the transaction information encryption device; and the first transaction information received from the transaction information management device by the transaction information encryption device A first encrypted transaction information is generated by encrypting a hash value, the first specific information hash value, and specific data in the transaction information with a unique encryption key. An encryption step, a first encrypted transaction information transmitting step in which the transaction information encryption device transmits the first encrypted transaction information to the transaction information management device, and the transaction information management device in the first encryption. A transaction information management device ID for uniquely identifying the transaction information management device, receiving the transaction information, and identifying the specific data in the transaction information, the first specific information hash value, and the first encrypted transaction information; A cash register information transmitting step for transmitting to the cash register in association with the cash register, the cash register includes the transaction information, specific data in the transaction information, the first specific information hash value, the first encrypted transaction information, And a printing step for issuing a receipt printed with receipt printing information having the transaction information management device ID, and the transaction information input device is the cash register The receipt data information is acquired from the verification data information sending step for sending to the authentication server as the verification data, and the authentication information is connected to the transaction information management device ID and the transaction information management device. An encryption key storing step for associating and storing the encryption key used in the encryption device; and an encryption for specifying the encryption key based on the transaction information management device ID stored in the encryption key storage step by the authentication server A key specifying step, and the authentication server calculates a second transaction information hash value based on the transaction information transmitted from the transaction information input device, and a second specification based on specific data in the transaction information. A second hash value calculation step of calculating an information hash value; and the authentication server includes the second transaction information hash value, the second specific information hash value, and A second encryption step of encrypting specific data in the transaction information with the encryption key to generate second encrypted transaction information, and the authentication server includes the first transaction information hash value and the second transaction. Checking with the information hash value, checking the first specific information hash value with the second specific information hash value, and checking the first encrypted transaction information with the second encrypted transaction information, respectively, And an authentication step for authenticating the legitimacy.
 第2の態様に係る税管理方法は、キャッシュレジスタと、該キャッシュレジスタと通信可能に接続され、該キャッシュレジスタによって精算された売買取引金額の税額を含む取引情報を管理する取引情報管理装置と、該取引情報の認証を行う認証サーバと、該認証サーバと通信可能に接続され、該認証サーバに該取引情報の入力を行う取引情報入力装置とを備える税管理システムにより売買取引金額の税額を管理する税管理方法であって、前記キャッシュレジスタが、前記売買取引金額及び税額を含む取引情報に基づいて第1取引情報ハッシュ値を算出する第1ハッシュ値算出工程と、前記キャッシュレジスタが、前記取引情報及び前記第1取引情報ハッシュ値を前記取引情報管理装置に送信する第1取引情報ハッシュ値送信工程と、前記取引情報管理装置が、前記キャッシュレジスタから前記取引情報及び前記第1取引情報ハッシュ値を受信し、前記取引情報の中の特定のデータに基づいて第1特定情報ハッシュ値を算出して記憶する第1特定情報ハッシュ値算出工程と、前記取引情報管理装置が、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、及び前記取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成する第1暗号化工程と、前記取引情報管理装置が、前記取引情報の中の特定のデータ、前記第1特定情報ハッシュ値、及び前記第1暗号化取引情報を、前記取引情報管理装置を一意に特定する取引情報管理装置IDと関連づけて前記キャッシュレジスタへ送信するキャッシュレジスタ情報送信工程と、前記キャッシュレジスタが、前記取引情報、前記取引情報の中の特定のデータ、前記第1特定情報ハッシュ値、前記第1暗号化取引情報、及び前記取引情報管理装置IDを有するレシート印字情報が印字されたレシートを発行する印刷工程と、前記取引情報入力装置が、前記取引情報、前記取引情報の中の特定のデータ、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、前記第1暗号化取引情報、及び前記取引情報管理装置IDを取得して、これらを照合用データとして前記認証サーバへ送信する照合用データ情報送信工程と、前記認証サーバが、前記取引情報管理装置ID及び前記暗号鍵を関連づけて記憶する暗号鍵記憶工程と、前記認証サーバが、前記暗号鍵記憶工程において記憶された前記取引情報管理装置IDに基づいて前記暗号鍵を特定する暗号鍵特定工程と、前記認証サーバが、前記取引情報入力装置から送信された前記取引情報に基づいて第2取引情報ハッシュ値を算出し、前記取引情報の中の特定のデータに基づいて第2特定情報ハッシュ値を算出する第2ハッシュ値算出工程と、前記認証サーバが、前記第2取引情報ハッシュ値、前記第2特定情報ハッシュ値、及び前記取引情報の中の特定のデータを前記暗号鍵によって暗号化して第2暗号化取引情報を生成する第2暗号化工程と、前記認証サーバが、前記第1取引情報ハッシュ値と前記第2取引情報ハッシュ値との照合、前記第1特定情報ハッシュ値と前記第2特定情報ハッシュ値との照合、及び前記第1暗号化取引情報と前記第2暗号化取引情報との照合をそれぞれ行い、取引の正当性を認証する認証工程とを備えることを特徴とする。 A tax management method according to a second aspect includes a cash register, a transaction information management device that is communicably connected to the cash register, and manages transaction information including a tax amount of a sales transaction amount settled by the cash register; Manages the tax amount of the sales transaction amount by a tax management system that includes an authentication server that authenticates the transaction information and a transaction information input device that is connected to the authentication server so as to be able to input the transaction information. A first hash value calculating step in which the cash register calculates a first transaction information hash value based on transaction information including the sales transaction amount and a tax amount; and the cash register includes the transaction A first transaction information hash value transmission step for transmitting information and the first transaction information hash value to the transaction information management device; The transaction information management device receives the transaction information and the first transaction information hash value from the cash register, calculates a first specific information hash value based on specific data in the transaction information, and stores the first specific information hash value. 1 specific information hash value calculation step, and the transaction information management device encrypts the first transaction information hash value, the first specific information hash value, and specific data in the transaction information with a unique encryption key. A first encryption step for generating first encrypted transaction information, and the transaction information management device includes specific data in the transaction information, the first specific information hash value, and the first encrypted transaction information. A cash register information transmitting step for transmitting to the cash register in association with a transaction information management device ID that uniquely identifies the transaction information management device; A receipt printed with receipt printing information including the transaction information, specific data in the transaction information, the first specific information hash value, the first encrypted transaction information, and the transaction information management device ID. The transaction information input device includes the transaction information, specific data in the transaction information, the first transaction information hash value, the first specific information hash value, and the first encrypted transaction. Information and the transaction information management device ID are acquired, and these are transmitted as verification data to the authentication server, and the verification server sends the transaction information management device ID and the encryption key. An encryption key storage step for storing the encryption key; and the authentication server identifies the encryption key based on the transaction information management device ID stored in the encryption key storage step. An encryption key specifying step to be determined, and the authentication server calculates a second transaction information hash value based on the transaction information transmitted from the transaction information input device, and based on specific data in the transaction information A second hash value calculation step of calculating a second specific information hash value; and the authentication server obtains specific data in the second transaction information hash value, the second specific information hash value, and the transaction information, as described above. A second encryption step of generating second encrypted transaction information by encrypting with an encryption key, the authentication server verifying the first transaction information hash value and the second transaction information hash value, and the first identification An authentication step of verifying the legitimacy of the transaction by collating the information hash value and the second specific information hash value, and collating the first encrypted transaction information and the second encrypted transaction information, respectively. Characterized in that it obtain.
 第3の態様に係る税管理方法は、キャッシュレジスタと、 該キャッシュレジスタと通信可能に接続され,該キャッシュレジスタによって精算された売買取引金額の税額を含む取引情報を管理する取引情報管理装置と、 該取引情報管理装置と通信可能に接続され、該取引情報の暗号化を行う取引情報暗号化装置と、該取引情報の認証を行う認証サーバと、 該認証サーバと通信可能に接続され、該認証サーバに該取引情報の入力を行う取引情報入力装置とを備える税管理システムにより売買取引金額の税額を管理する税管理方法であって、前記キャッシュレジスタが,前記売買取引金額及び税額を含む取引情報を前記取引情報管理装置に送信する取引情報送信工程と、前記取引情報管理装置が,前記取引情報の中の特定のデータを前記取引情報暗号化装置に送信する特定データ送信工程と、前記取引情報暗号化装置が,前記取引情報管理装置から受信した前記取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成する第1暗号化工程と、前記取引情報暗号化装置が,前記第1暗号化取引情報を前記取引情報管理装置に送信する第1暗号化取引情報送信工程と、前記取引情報管理装置が,前記第1暗号化取引情報を受信し,前記第1暗号化取引情報を前記取引情報管理装置を一意に特定する取引情報管理装置IDと関連づけて前記キャッシュレ ジスタへ送信するキャッシュレジスタ情報送信工程と、前記キャッシュレジスタが,前記取引情報,前記第1暗号化取引情報,及び前記取引情報管理装置IDを有するレシート印字情報が印字されたレシートを発行する印刷工程と、前記取引情報入力装置が,前記キャッシュレジスタから前記レシート印字情報を取得し,照合用データとして前記認証サーバへ送信する照合用データ情報送信工程と、前記認証サーバが,前記取引情報管理装置ID及び前記暗号鍵を関連づけて記憶する暗号鍵記憶工程と、前記認証サーバが,前記暗号鍵記憶工程において記憶された前記取引情報管理装置IDに基づいて前記暗号鍵を特定する暗号鍵特定工程と、前記認証サーバが,前記取引情報入力装置から送信された前記取引情報を前記暗号鍵によって暗号化して第2暗号化取引情報を生成する第2暗号化工程と、前記認証サーバが,前記第1暗号化取引情報と前記第2暗号化引情報との照合を行い、取引の正当性を認証する認証工程と、を備えることを特徴とする。 A tax management method according to a third aspect includes a cash register, a transaction information management device that is communicably connected to the cash register, and manages transaction information including a tax amount of a sales transaction amount settled by the cash register; A transaction information encryption apparatus that is communicably connected to the transaction information management apparatus and encrypts the transaction information, an authentication server that authenticates the transaction information, and a communication server that is communicably connected to the authentication server A tax management method for managing a tax amount of a sales transaction amount by a tax management system including a transaction information input device for inputting the transaction information to a server, wherein the cash register includes the transaction transaction amount and the tax amount. Transaction information transmission step for transmitting the transaction information management device to the transaction information management device, and the transaction information management device transmits the specific data in the transaction information to the transaction A specific data transmission step for transmitting to the information encryption device, and the transaction information encryption device encrypts the specific data in the transaction information received from the transaction information management device with a unique encryption key, A first encryption step for generating encrypted transaction information, a first encrypted transaction information transmission step in which the transaction information encryption device transmits the first encrypted transaction information to the transaction information management device, and the transaction information. A cash register that receives the first encrypted transaction information and associates the first encrypted transaction information with a transaction information management device ID that uniquely identifies the transaction information management device and transmits the first encrypted transaction information to the cash register An information transmission step, wherein the cash register receives a receipt printing information including the transaction information, the first encrypted transaction information, and the transaction information management device ID; A printing process for issuing a sheet, the transaction information input device acquires the receipt print information from the cash register, and transmits it as verification data to the authentication server; and the authentication server includes: An encryption key storage step for associating and storing the transaction information management device ID and the encryption key, and the authentication server specifies the encryption key based on the transaction information management device ID stored in the encryption key storage step An encryption key identifying step; a second encryption step in which the authentication server encrypts the transaction information transmitted from the transaction information input device with the encryption key to generate second encrypted transaction information; and the authentication server. A verification step of verifying the legitimacy of the transaction by comparing the first encrypted transaction information with the second encrypted transaction information. To.
 第4の態様に係る税管理システムは、キャッシュレジスタと、該キャッシュレジスタと通信可能に接続され、該キャッシュレジスタによって精算された売買取引金額の税額を含む取引情報を管理する取引情報管理装置と、該取引情報の暗号化を行う取引情報暗号化装置と、該取引情報の認証を行う認証サーバと、該認証サーバと通信可能に接続され、該認証サーバに該取引情報の入力を行う取引情報入力装置とを備える税管理システムにより売買取引金額の税額を管理する税管理システムであって、前記キャッシュレジスタが、前記売買取引金額及び税額を含む取引情報に基づいて第1取引情報ハッシュ値を算出する第1ハッシュ値算出手段と、前記取引情報管理装置とデータの送受信が可能な第1通信手段であって、前記取引情報及び前記第1取引情報ハッシュ値を前記取引情報管理装置に送信する第1通信手段と、レシートを発行する印刷手段とを有し、前記取引情報管理装置が、前記キャッシュレジスタから前記取引情報及び前記第1取引情報ハッシュ値を受信する第2通信手段と、前記取引情報の中の特定のデータに基づいて第1特定情報ハッシュ値を算出する第1特定情報ハッシュ値算出手段と、前記取引情報、前記第1取引情報ハッシュ値及び第1特定情報ハッシュ値を記憶する記憶部とを有し、前記取引情報暗号化装置が、前記取引情報管理装置から受信した前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、及び前記取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成する第1暗号化手段と、前記取引情報管理装置に前記第1暗号化手段の送信を行う第3通信手段と、を有し、前記取引情報管理装置の第2通信手段が、前記取引情報の中の特定のデータ、前記第1特定情報ハッシュ値、前記第1暗号化取引情報、及び前記取引情報管理装置を一意に特定する取引情報管理装置IDを前記キャッシュレジスタに送信し、前記取引情報入力装置が、前記取引情報入力装置が、前記レシート印字情報を取得する入力手段と、前記レシート印字情報を照合用データとして前記認証サーバへ送信する第4通信手段とを有し、前記認証サーバが、前記取引情報入力装置との間でデータの送受信を行う第5通信手段と、前記取引情報管理装置IDと前記取引情報管理装置に接続される取引情報暗号化装置で使用する前記暗号鍵とを関連づけて記憶する暗号鍵記憶手段と、前記暗号鍵記憶手段に記憶された前記取引情報管理装置IDに基づいて前記暗号鍵を特定する暗号鍵特定手段と、前記取引情報入力装置から送信された前記取引情報に基づいて第2取引情報ハッシュ値を算出し、前記取引情報の中の特定のデータに基づいて第2特定情報ハッシュ値を算出する第2ハッシュ値算出手段と、前記第2取引情報ハッシュ値、前記第2特定情報ハッシュ値、及び前記取引情報の中の特定のデータを前記暗号鍵によって暗号化して第2暗号化取引情報を生成する第2暗号化手段と、前記第1取引情報ハッシュ値と前記第2取引情報ハッシュ値との照合、前記第1特定情報ハッシュ値と前記第2特定情報ハッシュ値との照合、及び前記第1暗号化取引情報と前記第2暗号化取引情報との照合をそれぞれ行い、取引の正当性を認証する認証手段とを有することを特徴とする。 A tax management system according to a fourth aspect includes a cash register, a transaction information management device that is communicably connected to the cash register, and manages transaction information including a tax amount of a sales transaction amount settled by the cash register; Transaction information encryption device that encrypts the transaction information, an authentication server that authenticates the transaction information, and a transaction information input that is communicably connected to the authentication server and inputs the transaction information to the authentication server A tax management system that manages a tax amount of a sales transaction amount by a tax management system comprising a device, wherein the cash register calculates a first transaction information hash value based on transaction information including the sales transaction amount and the tax amount A first hash value calculating means and a first communication means capable of transmitting / receiving data to / from the transaction information management device, wherein the transaction information and the previous A first communication unit that transmits a first transaction information hash value to the transaction information management device; and a printing unit that issues a receipt. The transaction information management device receives the transaction information and the first from the cash register. Second communication means for receiving a transaction information hash value; first specific information hash value calculation means for calculating a first specific information hash value based on specific data in the transaction information; the transaction information; A storage unit that stores one transaction information hash value and a first specific information hash value, and the transaction information encryption device receives the first transaction information hash value received from the transaction information management device, the first specific information A first encryption means for generating first encrypted transaction information by encrypting specific data in the information hash value and the transaction information with a unique encryption key; and the transaction information management And a third communication means for transmitting the first encryption means, and the second communication means of the transaction information management device includes the specific data in the transaction information, the first specific information hash A transaction information management device ID for uniquely specifying the value, the first encrypted transaction information, and the transaction information management device, and the transaction information input device, the transaction information input device, Input means for acquiring print information, and fourth communication means for transmitting the receipt print information as verification data to the authentication server, wherein the authentication server transmits and receives data to and from the transaction information input device. Fifth communication means for performing, and encryption key storage means for storing the transaction information management apparatus ID and the encryption key used in the transaction information encryption apparatus connected to the transaction information management apparatus in association with each other , Encryption key specifying means for specifying the encryption key based on the transaction information management device ID stored in the encryption key storage means, and second transaction information based on the transaction information transmitted from the transaction information input device A second hash value calculating means for calculating a hash value and calculating a second specific information hash value based on specific data in the transaction information; the second transaction information hash value; and the second specific information hash value. And second encryption means for generating second encrypted transaction information by encrypting specific data in the transaction information with the encryption key, the first transaction information hash value, and the second transaction information hash value The first specified information hash value and the second specified information hash value, and the first encrypted transaction information and the second encrypted transaction information, respectively. And having an authentication means for authenticating the sex.
 第5の態様に係る税管理システムは、キャッシュレジスタと、該キャッシュレジスタと通信可能に接続され、該キャッシュレジスタによって精算された売買取引金額の税額を含む取引情報を管理する取引情報管理装置と、該取引情報の認証を行う認証サーバと、該認証サーバと通信可能に接続され、該認証サーバに該取引情報の入力を行う取引情報入力装置とを備える税管理システムにより売買取引金額の税額を管理する税管理システムであって、前記キャッシュレジスタが、前記売買取引金額及び税額を含む取引情報に基づいて第1取引情報ハッシュ値を算出する第1ハッシュ値算出手段と、前記取引情報管理装置とデータの送受信が可能な第1通信手段であって、前記取引情報及び前記第1取引情報ハッシュ値を前記取引情報管理装置に送信する第1通信手段と、レシートを発行する印刷手段とを有し、前記取引情報管理装置が、前記キャッシュレジスタから前記取引情報及び前記第1取引情報ハッシュ値を受信する第2通信手段と、前記取引情報の中の特定のデータに基づいて第1特定情報ハッシュ値を算出する第1特定情報ハッシュ値算出手段と、前記取引情報、前記第1取引情報ハッシュ値及び第1特定情報ハッシュ値を記憶する記憶部と、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、及び前記取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成する第1暗号化手段とを有し、前記取引情報管理装置の第2通信手段が、前記取引情報の中の特定のデータ、前記第1特定情報ハッシュ値、前記第1暗号化取引情報、及び前記取引情報管理装置を一意に特定する取引情報管理装置IDを前記キャッシュレジスタに送信し、前記取引情報入力装置が、取得された前記取引情報、前記取引情報の中の特定のデータ、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、前記第1暗号化取引情報、及び前記取引情報管理装置IDを照合用データとして前記認証サーバへ送信する第3通信手段と、を有し、前記認証サーバが、前記取引情報入力装置との間でデータの送受信を行う第4通信手段と、前記取引情報管理装置IDと前記暗号鍵とを関連づけて記憶する暗号鍵記憶手段と、前記暗号鍵記憶手段に記憶された前記取引情報管理装置IDに基づいて前記暗号鍵を特定する暗号鍵特定手段と、前記取引情報に基づいて第2取引情報ハッシュ値を算出し、前記取引情報の中の特定のデータに基づいて第2特定情報ハッシュ値を算出する第2ハッシュ値算出手段と、前記第2取引情報ハッシュ値、前記第2特定情報ハッシュ値、及び前記取引情報の中の特定のデータを前記暗号鍵によって暗号化して第2暗号化取引情報を生成する第2暗号化手段と、前記第1取引情報ハッシュ値と前記第2取引情報ハッシュ値との照合、前記第1特定情報ハッシュ値と前記第2特定情報ハッシュ値との照合、及び前記第1暗号化取引情報と前記第2暗号化取引情報との照合をそれぞれ行い、取引の正当性を認証する認証手段とを有することを特徴とする。 A tax management system according to a fifth aspect includes a cash register, a transaction information management device that is communicably connected to the cash register, and manages transaction information including a tax amount of a sales transaction amount settled by the cash register; Manages the tax amount of the sales transaction amount by a tax management system that includes an authentication server that authenticates the transaction information and a transaction information input device that is connected to the authentication server so as to be able to input the transaction information. A first hash value calculation means for calculating a first transaction information hash value based on transaction information including the sales transaction amount and a tax amount, the transaction information management device, and data The first communication means capable of transmitting and receiving the transaction information and the first transaction information hash value as the transaction information management device First communication means for transmitting; and printing means for issuing a receipt; wherein the transaction information management device receives the transaction information and the first transaction information hash value from the cash register; First specific information hash value calculation means for calculating a first specific information hash value based on specific data in the transaction information, the transaction information, the first transaction information hash value, and the first specific information hash value. A storage unit for storing, the first transaction information hash value, the first specific information hash value, and specific data in the transaction information are encrypted with a unique encryption key to generate first encrypted transaction information And the second communication means of the transaction information management device includes specific data in the transaction information, the first specific information hash value, and the first encrypted transaction information. And a transaction information management device ID that uniquely identifies the transaction information management device is transmitted to the cash register, and the transaction information input device receives the transaction information, specific data in the transaction information, the first A third communication means for transmitting one transaction information hash value, the first specific information hash value, the first encrypted transaction information, and the transaction information management device ID as verification data to the authentication server; A fourth communication means for transmitting and receiving data to and from the transaction information input device; an encryption key storage means for storing the transaction information management device ID and the encryption key in association with each other; and An encryption key specifying means for specifying the encryption key based on the transaction information management device ID stored in the storage means; a second transaction information hash value is calculated based on the transaction information; Second hash value calculation means for calculating a second specific information hash value based on specific data in the transaction information, the second transaction information hash value, the second specific information hash value, and the transaction information Second encryption means for generating second encrypted transaction information by encrypting specific data in the encryption key, verification of the first transaction information hash value and the second transaction information hash value, Authenticating means for authenticating the legitimacy of the transaction by collating one specific information hash value and the second specific information hash value and collating the first encrypted transaction information and the second encrypted transaction information, respectively; It is characterized by having.
 第6の態様に係る税管理システムは、キャッシュレジスタと、該キャッシュレジスタと通信可能に接続され、該キャッシュレジスタによって精算された売買取引金額の税額を含む取引情報を管理する取引情報管理装置と、該取引情報の暗号化を行う取引情報暗号化装置と、該取引情報の認証を行う認証サーバと、該認証サーバと通信可能に接続され、該認証サーバに該取引情報の入力を行う取引情報入力装置とを備える税管理システムにより売買取引金額の税額を管理する税管理システムであって、前記キャッシュレジスタが、前記取引情報管理装置とデータの送受信が可能な第1通信手段であって、前記取引情報を前記取引情報管理装置に送信する第1通信手段と、レシートを発行する印刷手段とを有し、前記取引情報管理装置が、前記キャッシュレジスタから前記取引情報を受信する第2通信手段と、前記取引情報を記憶する記憶部とを有し、前記取引情報暗号化装置が、前記取引情報管理装置から受信した前記取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成する第1暗号化手段と、前記取引情報管理装置に前記第1暗号化手段の送信を行う第3通信手段とを有し、前記取引情報管理装置の第2通信手段が、前記取引情報の中の特定のデータ、前記第1暗号化取引情報、及び前記取引情報管理装置を一意に特定する取引情報管理装置IDを前記キャッシュレジスタに送信し、前記取引情報入力装置が、前記レシート印字情報を取得する入力手段と、前記レシート印字情報を照合用データとして前記認証サーバへ送信する第4通信手段とを有し、前記認証サーバが、前記取引情報入力装置との間でデータの送受信を行う第5通信部と、前記取引情報管理装置IDと前記取引情報管理装置に接続される取引情報暗号化装置で使用する前記暗号鍵とを関連づけて記憶する暗号鍵記憶部と、前記暗号鍵記憶部に記憶された前記取引情報管理装置IDに基づいて前記暗号鍵を特定する暗号鍵特定手段と、前記取引情報の中の特定のデータを前記暗号鍵によって暗号化して第2暗号化取引情報を生成する第2暗号化手段と、前記第1暗号化取引情報と前記第2暗号化取引情報との照合をそれぞれ行い、取引の正当性を認証する認証手段とを有することを特徴とする。 A tax management system according to a sixth aspect includes a cash register, a transaction information management device that is communicably connected to the cash register, and manages transaction information including a tax amount of a sales transaction amount settled by the cash register; Transaction information encryption device that encrypts the transaction information, an authentication server that authenticates the transaction information, and a transaction information input that is communicably connected to the authentication server and inputs the transaction information to the authentication server A tax management system that manages a tax amount of a sales transaction amount by a tax management system comprising a device, wherein the cash register is a first communication means capable of transmitting and receiving data to and from the transaction information management device, wherein the transaction A first communication means for transmitting information to the transaction information management device; and a printing means for issuing a receipt. A second communication means for receiving the transaction information from the cache register; and a storage unit for storing the transaction information, wherein the transaction information encryption device specifies the transaction information received from the transaction information management device. A first encryption unit that encrypts the data with a unique encryption key to generate first encrypted transaction information, and a third communication unit that transmits the first encryption unit to the transaction information management device. And the second communication means of the transaction information management device sets the transaction information management device ID for uniquely identifying the specific data in the transaction information, the first encrypted transaction information, and the transaction information management device. And a transaction information input device that transmits the receipt printing information to the cash register, and a fourth communication unit that transmits the receipt printing information to the authentication server as verification data. Transaction information encryption connected to the transaction information management device ID and the transaction information management device, a fifth communication unit that transmits and receives data to and from the transaction information input device An encryption key storage unit that associates and stores the encryption key used in the device, an encryption key specifying unit that specifies the encryption key based on the transaction information management device ID stored in the encryption key storage unit, and Second encryption means for generating second encrypted transaction information by encrypting specific data in the transaction information with the encryption key; verification of the first encrypted transaction information and the second encrypted transaction information; And authenticating means for authenticating the legitimacy of the transaction.
 第7の態様に係る取引情報管理装置は、第4の態様から第6の態様のいずれかの態様に係る税管理システムに用いられる。 The transaction information management device according to the seventh aspect is used in the tax management system according to any one of the fourth to sixth aspects.
 第8の態様に係る取引情報管理装置は、第4の態様または第5の態様に係る税管理システムに用いられる取引情報管理装置であって、前記取引情報、前記取引情報の中の特定のデータ、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値及び前記第1暗号化取引情報を、前記取引情報管理装置を一意に特定する取引情報管理装置IDと関連づけて取引管理情報として記憶する取引管理情報記憶手段と、外部記憶媒体に前記取引管理情報を送信する外部記憶媒体装着手段とをさらに備える。 A transaction information management device according to an eighth aspect is a transaction information management device used in a tax management system according to the fourth or fifth aspect, wherein the transaction information and specific data in the transaction information The first transaction information hash value, the first specific information hash value, and the first encrypted transaction information are stored as transaction management information in association with a transaction information management device ID that uniquely identifies the transaction information management device. Transaction management information storage means and external storage medium mounting means for transmitting the transaction management information to an external storage medium are further provided.
 第9の態様に係る取引情報管理装置は、第4の態様または第5の態様に係る税管理システムに用いられる取引情報管理装置であって、前記取引情報、前記取引情報の中の特定のデータ、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値及び前記第1暗号化取引情報を、前記取引情報管理装置を一意に特定する取引情報管理装置IDと関連づけて取引管理情報として記憶する取引管理情報記憶手段をさらに備え、前記第2通信手段が、前記取引管理情報を前記認証サーバに送信する。 A transaction information management device according to a ninth aspect is a transaction information management device used in a tax management system according to the fourth or fifth aspect, wherein the transaction information and specific data in the transaction information The first transaction information hash value, the first specific information hash value, and the first encrypted transaction information are stored as transaction management information in association with a transaction information management device ID that uniquely identifies the transaction information management device. Transaction management information storage means is further provided, and the second communication means transmits the transaction management information to the authentication server.
 第10の態様に係る認証サーバは、第4の態様から第6の態様のいずれかの態様に係る税管理システムに用いられる。 The authentication server according to the tenth aspect is used in the tax management system according to any one of the fourth to sixth aspects.
 第1から第2の何れの態様に係る税管理方法、または第4から第5の何れの態様に係る税管理システムによっても、認証サーバが、取引情報入力装置から送信されたレシート印字情報に含まれる第1取引情報ハッシュ値と認証サーバが算出した第2取引情報ハッシュ値との照合、取引情報入力装置から送信されたレシート印字情報に含まれる第1特定情報ハッシュ値と認証サーバが算出した第2特定情報ハッシュ値との照合、及び取引情報入力装置から送信されたレシート印字情報に含まれる第1暗号化取引情報と認証サーバが作成した第2暗号化取引情報との照合をそれぞれ行い、各照合において同一であることが確認されれば取引の正当性を認証するので、確実に取引の正当性を認証することができ、消費者と売買取引が行われる店舗から税金の正確な徴収を図ることが可能となる。 The authentication server is included in the receipt print information transmitted from the transaction information input device by the tax management method according to any of the first to second aspects or the tax management system according to any of the fourth to fifth aspects. The first transaction information hash value to be compared with the second transaction information hash value calculated by the authentication server, the first specific information hash value included in the receipt print information transmitted from the transaction information input device and the first value calculated by the authentication server 2 collation with the specific information hash value, and collation with the first encrypted transaction information included in the receipt print information transmitted from the transaction information input device and the second encrypted transaction information created by the authentication server, respectively, If the verification confirms that the transaction is the same, the transaction is authenticated. Therefore, the transaction can be reliably verified and the store where the transaction is conducted with the consumer. It is possible to achieve an accurate collection of Luo tax.
 第2の態様に係る税管理方法、または第5の態様に係る税管理システムによれば、取引情報管理装置が、第1取引情報ハッシュ値、第1特定情報ハッシュ値、及び取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成するので、税管理方法における工程または税管理システムにおける構成をコンパクトにすることが可能となる。 According to the tax management method according to the second aspect or the tax management system according to the fifth aspect, the transaction information management device includes the first transaction information hash value, the first specific information hash value, and the transaction information. Since the first encrypted transaction information is generated by encrypting the specific data with a unique encryption key, the process in the tax management method or the configuration in the tax management system can be made compact.
 第3の態様に係る税管理方法、または第6の態様に係る税管理システムによれば、認証サーバが、取引情報入力装置から送信されたレシート印字情報に含まれる第1暗号化取引情報と認証サーバが作成した第2暗号化取引情報との照合を行い、同一であることが確認されれば取引の正当性を認証するので、確実に取引の正当性を認証することができ、消費者と売買取引が行われる店舗から税金の正確な徴収を図ることが可能となる。 According to the tax management method according to the third aspect or the tax management system according to the sixth aspect, the authentication server includes the first encrypted transaction information and the authentication included in the receipt print information transmitted from the transaction information input device. The server verifies the second encrypted transaction information created by the server and authenticates the transaction if it is confirmed to be the same. Therefore, the transaction can be reliably authenticated, It is possible to accurately collect taxes from stores where sales transactions are conducted.
 第7の態様に係る取引情報管理装置によれば、第4の態様から第6の態様のいずれかの態様に係る税管理システムに用いられることによって、第4の態様から第6の態様のいずれかの態様に係る税管理システムと同様の効果を得ることが可能となる。 According to the transaction information management device relating to the seventh aspect, any of the fourth aspect to the sixth aspect is used by the tax management system according to any one of the fourth aspect to the sixth aspect. It is possible to obtain the same effect as the tax management system according to this aspect.
 第8の態様に係る取引情報管理装置によれば、取引情報、取引情報の中の特定のデータ、第1取引情報ハッシュ値、第1特定情報ハッシュ値及び第1暗号化取引情報を、取引管理情報として外部記憶媒体に記憶させることができるので、これらの情報を必要とする外部装置に容易に転送することが可能となる。 According to the transaction information management device relating to the eighth aspect, transaction information, specific data in transaction information, first transaction information hash value, first specific information hash value, and first encrypted transaction information are managed by transaction management. Since the information can be stored in the external storage medium, the information can be easily transferred to an external device that requires it.
 第9の態様に係る取引情報管理装置によれば、取引情報、取引情報の中の特定のデータ、第1取引情報ハッシュ値、第1特定情報ハッシュ値及び第1暗号化取引情報を、取引管理情報として取引情報管理装置から認証サーバに送信するので、認証サーバは、取引情報等を容易に管理することが可能となる。 According to the transaction information management device according to the ninth aspect, transaction management includes transaction information, specific data in the transaction information, first transaction information hash value, first specific information hash value, and first encrypted transaction information. Since information is transmitted from the transaction information management device to the authentication server as information, the authentication server can easily manage transaction information and the like.
 第10の態様に係る認証サーバによれば、第4の態様から第6の態様のいずれかの態様に係る税管理システムに用いられることによって、第4の態様から第6の態様のいずれかの態様に係る税管理システムと同様の効果を得ることが可能となる。 According to the authentication server according to the tenth aspect, any of the fourth aspect to the sixth aspect is used by the tax management system according to any one of the fourth aspect to the sixth aspect. It is possible to obtain the same effect as the tax management system according to the aspect.
本発明の第1実施形態における税管理システムの構成の例を示す模式図。The schematic diagram which shows the example of a structure of the tax management system in 1st Embodiment of this invention. 本発明の第1実施形態における税管理システムの構成を示す機能ブロック図。The functional block diagram which shows the structure of the tax management system in 1st Embodiment of this invention. 本発明の第1実施形態における税管理システムの構成を示す機能ブロック図。The functional block diagram which shows the structure of the tax management system in 1st Embodiment of this invention. 店舗において消費者との売買取引が行なわれる場合の処理の流れを示すフロー図。The flowchart which shows the flow of a process in case the sales transaction with a consumer is performed in a store. キャッシュレジスタから取引情報管理装置へ送信する情報の具体例を示す説明図。Explanatory drawing which shows the specific example of the information transmitted to a transaction information management apparatus from a cash register. 取引管理情報の項目の例を示す説明図。Explanatory drawing which shows the example of the item of transaction management information. レシートの記載例を示す説明図。Explanatory drawing which shows the example of a description of a receipt. 本発明の第2実施形態における税管理システムの構成を示す機能ブロック図。The functional block diagram which shows the structure of the tax management system in 2nd Embodiment of this invention. 変形例における税管理システムの構成を示す模式図。The schematic diagram which shows the structure of the tax management system in a modification. 変形例における税管理システムの構成を示す機能ブロック図。The functional block diagram which shows the structure of the tax management system in a modification. 変形例における税管理システムの構成を示す機能ブロック図。The functional block diagram which shows the structure of the tax management system in a modification. 変形例における税管理システムの構成を示す機能ブロック図。The functional block diagram which shows the structure of the tax management system in a modification.
 1A,1B,1C、1D 税管理システム
 2 インターネット
 10,10D キャッシュレジスタ
 13 レシート出力部
 11,31,51,61,81 制御部
 12,32,52,62,82 記憶部
 14,34,53,64 通信部
 35,55,65 入力部
 21,59,69 ハッシュ値算出部
 30 取引情報入力装置
 50A、50B,50C,50D 取引情報管理装置
 60A,60C,60D 認証サーバ
 56,66,86 取引情報暗号部
 58,68 外部メモリ装着部
 80 ICカード
 90 外部記憶媒体
 250 レシート
 611 認証部
 612 鍵特定部
 631 鍵記憶部
 632 取引情報記憶部
1A, 1B, 1C, 1D Tax management system 2 Internet 10, 10D Cash register 13 Receipt output unit 11, 31, 51, 61, 81 Control unit 12, 32, 52, 62, 82 Storage unit 14, 34, 53, 64 Communication unit 35, 55, 65 Input unit 21, 59, 69 Hash value calculation unit 30 Transaction information input device 50A, 50B, 50C, 50D Transaction information management device 60A, 60C, 60D Authentication server 56, 66, 86 Transaction information encryption unit 58, 68 External memory mounting unit 80 IC card 90 External storage medium 250 Receipt 611 Authentication unit 612 Key identification unit 631 Key storage unit 632 Transaction information storage unit
 次に、本発明の実施形態を添付図面に基づき詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
 まずは、図1~7に基づき、本発明の第1実施形態を説明する。 First, a first embodiment of the present invention will be described with reference to FIGS.
 図1は、本発明の第1実施形態における税管理システム1Aの構成の例を示す模式図である。税管理システム1Aは、各店舗300におけるキャッシュレジスタ10で精算された売買取引金額の税額を管理することを目的とし、キャッシュレジスタ10と、取引情報管理装置50Aと、取引情報暗号化装置に相当するICカード80と、認証サーバ60Aと、取引情報入力装置30とから構成されている。図2及び図3は、税管理システム1Aの構成を示す機能ブロック図である。図2は、税管理システム1Aにおけるキャッシュレジスタ10、取引情報管理装置50A及びICカード80の構成を示す機能ブロック図である。また、図3は、税管理システム1Aにおける認証サーバ60A及び取引情報入力装置30の構成を示す機能ブロック図である。 FIG. 1 is a schematic diagram showing an example of the configuration of a tax management system 1A according to the first embodiment of the present invention. The tax management system 1A is intended to manage the tax amount of the sales transaction amount settled in the cash register 10 in each store 300, and corresponds to the cash register 10, the transaction information management device 50A, and the transaction information encryption device. The IC card 80, the authentication server 60A, and the transaction information input device 30 are configured. 2 and 3 are functional block diagrams showing the configuration of the tax management system 1A. FIG. 2 is a functional block diagram showing configurations of the cash register 10, the transaction information management device 50A, and the IC card 80 in the tax management system 1A. FIG. 3 is a functional block diagram showing configurations of the authentication server 60A and the transaction information input device 30 in the tax management system 1A.
 キャッシュレジスタ10は、店舗300内において商品購入時の代金支払いの際において使用され、売買取引金額及び税額を含む取引情報を作成する。キャッシュレジスタ10は、取引毎に、消費者が買い上げた商品の精算を行ってレシート250を発行する。図2に示すように、キャッシュレジスタ10は、制御部11と、記憶部12と、レシート250を出力するレシート出力部13と、通信部14と、表示部15と、客側表示部16と、キー入力部17と、カードリーダ部18と、スキャナー部20と、ハッシュ値算出部21とが、バスラインを介して相互に接続されている。 The cash register 10 is used in the store 300 at the time of payment for purchase of a product, and creates transaction information including a sales transaction amount and a tax amount. For each transaction, the cash register 10 settles the product purchased by the consumer and issues a receipt 250. As shown in FIG. 2, the cash register 10 includes a control unit 11, a storage unit 12, a receipt output unit 13 that outputs a receipt 250, a communication unit 14, a display unit 15, a customer side display unit 16, A key input unit 17, a card reader unit 18, a scanner unit 20, and a hash value calculation unit 21 are connected to each other via a bus line.
 制御部11は、例えば、CPUによって構成され、後述する記憶部12に記憶されるプログラムを実行することによって、キャッシュレジスタ10全体の動作を決定し、キャッシュレジスタ10全体に指令を与える。また、キー入力部17から受信した購買金額に対して,予め定められた税率を掛け合わせることで,税額を算出する。記憶部12は、例えば、半導体メモリ等の記憶装置によって構成され、取引情報管理装置50Aから入力された情報、制御部11で実行されるプログラム、プログラムを実行する際に必要な情報等の各種情報を記憶する。 The control unit 11 is constituted by, for example, a CPU, determines the operation of the entire cash register 10 by executing a program stored in the storage unit 12 described later, and gives a command to the entire cash register 10. Also, the tax amount is calculated by multiplying the purchase amount received from the key input unit 17 by a predetermined tax rate. The storage unit 12 includes, for example, a storage device such as a semiconductor memory, and includes various information such as information input from the transaction information management device 50A, a program executed by the control unit 11, and information necessary for executing the program. Remember.
 レシート出力部13は、キー入力部17に入力された情報に基づいてレシート250を発行する。通信部14は、取引情報管理装置50Aとデータの送受信を行う。表示部15は、各種表示を行うととともに、表示画面に触れて様々な表示を行う。客側表示部16は、顧客に買い上げ商品名や買い上げ価格、買い上げ合計金額等を表示する。キー入力部17は、テンキー、締めキーとして、掛売りの場合に使用される会計キー及び現金払いの場合に使用される現計キーが設けられている。キー入力部17は、店舗300の店員によって商品名、購買金額が入力される。カードリーダ部18は、消費者が所有する磁気カードに記録された内容を読み出す。スキャナー部20は、商品に付された商品番号を示すバーコードを読み取って商品登録を行う。ハッシュ値算出部21は、売買取引金額及び税額を含む取引情報からハッシュ関数を用いて取引情報ハッシュ値を算出する。さらに、図1に示すように、金銭収納部19が配置されている。なお、キャッシュレジスタ10は、表示部15及び客側表示部16を備えていない構成であってもよい。 The receipt output unit 13 issues a receipt 250 based on the information input to the key input unit 17. The communication unit 14 exchanges data with the transaction information management device 50A. The display unit 15 performs various displays and performs various displays by touching the display screen. The customer side display unit 16 displays the purchased product name, the purchase price, the total purchase price, and the like to the customer. The key input unit 17 is provided with an accounting key used in the case of a credit sale and a current total key used in the case of cash payment as a numeric keypad and a closing key. In the key input unit 17, a product name and a purchase price are input by a clerk of the store 300. The card reader unit 18 reads the content recorded on the magnetic card owned by the consumer. The scanner unit 20 reads the barcode indicating the product number attached to the product and registers the product. The hash value calculation unit 21 calculates a transaction information hash value from the transaction information including the sales transaction amount and the tax amount using a hash function. Furthermore, as shown in FIG. 1, the money storage part 19 is arrange | positioned. Note that the cash register 10 may not include the display unit 15 and the customer side display unit 16.
 取引情報管理装置50Aは、キャッシュレジスタ10で精算された売買取引金額の税額を含む取引情報を管理する。キャッシュレジスタ10と通信可能に接続され、キャッシュレジスタ10によって精算された売買取引金額の税額を含む取引情報を管理する。また、通信ネットワークとしてのインターネット2を介して、取引情報管理装置50Aと、認証サーバ60Aとが相互接続され、例えばFTP等を利用して相互にデータの送受を行なう。取引情報管理装置50Aは、制御部51と、記憶部52と、通信部53と、リーダライタ部54と、入力部55と、ハッシュ値算出部59とが、バスラインを介して相互に接続されている。 The transaction information management device 50 </ b> A manages transaction information including the tax amount of the sales transaction amount settled in the cash register 10. The transaction information is connected to the cash register 10 so as to be communicable, and manages transaction information including the tax amount of the sales transaction amount settled by the cash register 10. Also, the transaction information management device 50A and the authentication server 60A are interconnected via the Internet 2 as a communication network, and exchange data with each other using, for example, FTP. In transaction information management device 50A, control unit 51, storage unit 52, communication unit 53, reader / writer unit 54, input unit 55, and hash value calculation unit 59 are connected to each other via a bus line. ing.
 制御部51は、例えば、CPUによって構成され、後述する記憶部52に記憶されるプログラムを実行することによって、取引情報管理装置50A全体の動作を決定し、取引情報管理装置50A全体に指令を与える。また、キャッシュレジスタ10との間でデータの送受信を行なう。記憶部52は、例えば、半導体メモリ等の記憶装置によって構成され、キャッシュレジスタ10から入力された情報、制御部51で実行されるプログラム、及びプログラムを実行する際に必要な情報等の各種情報を記憶する。 The control unit 51 is constituted by, for example, a CPU, and determines the operation of the entire transaction information management device 50A by executing a program stored in the storage unit 52 described later, and gives a command to the entire transaction information management device 50A. . Data is transmitted to and received from the cash register 10. The storage unit 52 is configured by a storage device such as a semiconductor memory, for example, and stores various information such as information input from the cash register 10, a program executed by the control unit 51, and information necessary when executing the program. Remember.
 入力部55は、ユーザの操作による各種の指示や、文字、数字等のデータの入力を受け付ける。通信部53は、キャッシュレジスタ10との間でデータの送受信を行なう。リーダライタ部54は、制御部51の指令に基づいて、ICカード80から情報を読み取り、ICカード80に情報を書き込む。ハッシュ値算出部59は、所定のデータからハッシュ関数を用いてハッシュ値を算出する。 The input unit 55 accepts various instructions by user operation and input of data such as letters and numbers. The communication unit 53 transmits / receives data to / from the cash register 10. The reader / writer unit 54 reads information from the IC card 80 and writes information to the IC card 80 based on an instruction from the control unit 51. The hash value calculation unit 59 calculates a hash value from predetermined data using a hash function.
 取引情報暗号化装置に相当するICカード80は、取引情報管理装置50Aとの間でデータの送受信を行ない、取引情報管理装置50Aから取引情報等を受信して、該取引情報等の暗号化を行う。ICカードによって構成することによって、取引情報暗号化装置を税務署側から発行させることが可能となり、暗号鍵のセキュリティの確保が容易となる。ICカード80は、ICチップが内蔵されている。 The IC card 80 corresponding to the transaction information encryption device transmits / receives data to / from the transaction information management device 50A, receives transaction information from the transaction information management device 50A, and encrypts the transaction information and the like. Do. By configuring with an IC card, the transaction information encryption device can be issued from the tax office side, and it is easy to ensure the security of the encryption key. The IC card 80 contains an IC chip.
 図2に示すように、ICチップには、ICカード80全体の動作の制御を行うCPUからなる制御部81と、ICカード80を動作させるプログラムや暗号鍵等が記憶されている記憶部82と、取引情報暗号部86と、I/F85とを有する。記憶部82は、ROM、FLASHといった半導体メモリから構成されている。また、I/F85として接続用IC端子を備えており、いわゆる接触型のICカードである。I/F85は、取引情報管理装置50Aとの間でデータ転送を行うと共に取引情報管理装置50Aから電力供給を受ける。なお、ICカード80と取引情報管理装置50Aとの間の電力供給及びデータ伝送を、例えばRFID等で使用されている電磁波を用いた非接触方式により行うようにしてもよい。 As shown in FIG. 2, the IC chip includes a control unit 81 composed of a CPU that controls the operation of the entire IC card 80, and a storage unit 82 that stores a program for operating the IC card 80, an encryption key, and the like. The transaction information encryption unit 86 and the I / F 85 are included. The storage unit 82 is composed of a semiconductor memory such as ROM or FLASH. Further, a connection IC terminal is provided as the I / F 85, which is a so-called contact type IC card. The I / F 85 performs data transfer with the transaction information management device 50A and receives power supply from the transaction information management device 50A. Note that power supply and data transmission between the IC card 80 and the transaction information management device 50A may be performed by a non-contact method using an electromagnetic wave used in, for example, RFID.
 取引情報暗号部86は、平文を固有の暗号鍵によって暗号化する。取引情報暗号部86は、DES等、予め定められた公知の暗号アルゴリズムに従い受信したデータを暗号化し、受信したデータの暗号文を取引情報管理装置50Aに送信する。取引情報暗号部86は、ICカード用プログラムで実現され、データおよび暗号鍵は記憶部82に記憶される。 The transaction information encryption unit 86 encrypts the plaintext with a unique encryption key. Transaction information encryption unit 86 encrypts the received data in accordance with a predetermined known encryption algorithm such as DES, and transmits the ciphertext of the received data to transaction information management device 50A. Transaction information encryption unit 86 is realized by an IC card program, and data and an encryption key are stored in storage unit 82.
 図3に示すように、取引情報入力装置30は、認証サーバ60Aと通信可能に接続され、認証サーバ60Aに取引情報の入力を行う。取引情報入力装置30は、制御部31と、記憶部32と、入力部35と、表示部36とがバスラインを介して相互に接続されている。制御部31は、例えば、CPUによって構成され、後述する記憶部32に記憶されるプログラムを実行することによって、取引情報入力装置30全体の動作を決定し、取引情報入力装置30全体に指令を与える。記憶部32は、例えば、半導体メモリ等の記憶装置によって構成され、入力された取引情報、制御部31で実行されるプログラム、プログラムを実行する際に必要な情報等の各種情報を記憶する。通信部34は、インターネット2を使用して、例えば、認証サーバ60Aとデータの送受信を行う。入力部35は、ユーザの操作による各種の指示や、文字、数字等のデータの入力を受け付ける。表示部36は、表示物を表示する。 As shown in FIG. 3, the transaction information input device 30 is communicably connected to the authentication server 60A, and inputs transaction information to the authentication server 60A. In the transaction information input device 30, a control unit 31, a storage unit 32, an input unit 35, and a display unit 36 are connected to each other via a bus line. The control unit 31 is constituted by, for example, a CPU, and determines the operation of the entire transaction information input device 30 by executing a program stored in the storage unit 32 described later, and gives a command to the entire transaction information input device 30 . The storage unit 32 is constituted by a storage device such as a semiconductor memory, for example, and stores various information such as input transaction information, a program executed by the control unit 31, and information necessary for executing the program. The communication unit 34 transmits / receives data to / from the authentication server 60A, for example, using the Internet 2. The input unit 35 accepts various instructions by user operation and input of data such as characters and numbers. The display unit 36 displays a display object.
 認証サーバ60Aは、税額を含む取引情報を管理し、取引情報の認証を行う。認証サーバ60Aは、例えば、各店舗300で販売されるメーカが製造した商品に対する税率設定及び税徴収を行なうような行政機関や行政機関から委託された第三者機関が運営するものである。認証サーバ60Aは、各店舗300における取引毎に精算された金額に応じた税額を管理する。また、認証サーバ60Aは、取引情報の暗号化機能を備える。図3に示すように、認証サーバ60Aは、制御部61と、記憶部62と、通信部64と、入力部65と、取引情報暗号部66と、ハッシュ値算出部69とが、バスラインを介して相互に接続されている。 The authentication server 60A manages transaction information including the tax amount and authenticates the transaction information. The authentication server 60A is operated by, for example, a government agency or a third party commissioned by a government agency that performs tax rate setting and tax collection on products manufactured by a manufacturer sold at each store 300. The authentication server 60A manages a tax amount according to the amount settled for each transaction at each store 300. Further, the authentication server 60A has a transaction information encryption function. As shown in FIG. 3, the authentication server 60A includes a control unit 61, a storage unit 62, a communication unit 64, an input unit 65, a transaction information encryption unit 66, and a hash value calculation unit 69. Are connected to each other.
 制御部61は、例えば、CPUによって構成され、後述する記憶部62に記憶されるプログラムを実行することによって、認証サーバ60A全体の動作を決定し、認証サーバ60A全体に指令を与える。また、制御部61は、後述する認証部611及び鍵特定部612の機能も実現する。認証部611は、記憶部62の取引情報記憶部632に記憶されているデータに基づき取引の正当性を認証する。鍵特定部612は、取引情報管理装置50AのIDごとに後述する鍵記憶部631に記憶された暗号鍵を特定する。 The control unit 61 is constituted by, for example, a CPU, determines the operation of the entire authentication server 60A by executing a program stored in the storage unit 62 described later, and gives a command to the entire authentication server 60A. The control unit 61 also realizes functions of an authentication unit 611 and a key specifying unit 612, which will be described later. The authentication unit 611 authenticates the validity of the transaction based on the data stored in the transaction information storage unit 632 of the storage unit 62. The key specifying unit 612 specifies an encryption key stored in a key storage unit 631 described later for each ID of the transaction information management device 50A.
 記憶部62は、例えば、半導体メモリ等によって構成され、制御部61で実行されるプログラム、プログラムを実行する際に必要な情報、及びインターネット2を介して取引情報入力装置30から送信される取引情報等の各種情報を記憶する。また、記憶部62は、消費者の取引情報に関する取引情報データベース63を構成している。取引情報データベース63は、鍵記憶部631および取引情報記憶部632を有する。鍵記憶部631は、取引情報管理装置50AのIDと取引情報管理装置50Aに接続されるICカード80で使用する暗号鍵とを関連づけて暗号鍵関連情報として記憶する。取引情報記憶部632には、取引情報管理装置50Aから送信される消費者の取引情報や認証されていない取引情報等を照合するための情報等が保存される。 The storage unit 62 is configured by, for example, a semiconductor memory and the like, a program executed by the control unit 61, information necessary for executing the program, and transaction information transmitted from the transaction information input device 30 via the Internet 2 Etc. are stored. Moreover, the memory | storage part 62 comprises the transaction information database 63 regarding a consumer's transaction information. The transaction information database 63 includes a key storage unit 631 and a transaction information storage unit 632. The key storage unit 631 associates the ID of the transaction information management device 50A with the encryption key used in the IC card 80 connected to the transaction information management device 50A and stores it as encryption key related information. The transaction information storage unit 632 stores consumer transaction information transmitted from the transaction information management device 50A, information for verifying unauthenticated transaction information, and the like.
 通信部64は、インターネット2を介して取引情報入力装置30との間でデータの送受信を行なう。また、通信部64は、インターネット2や専用回線等を介して取引情報管理装置50Aと通信を行う。入力部65は、ユーザの操作による各種の指示や、文字、数字等のデータの入力を受け付ける。取引情報暗号部66は、データを暗号鍵によって暗号化する。ハッシュ値算出部69は、所定のデータからハッシュ関数を用いてハッシュ値を算出する。 The communication unit 64 transmits / receives data to / from the transaction information input device 30 via the Internet 2. The communication unit 64 communicates with the transaction information management device 50A via the Internet 2 or a dedicated line. The input unit 65 accepts various instructions by user operation and input of data such as characters and numbers. The transaction information encryption unit 66 encrypts data with an encryption key. The hash value calculation unit 69 calculates a hash value from predetermined data using a hash function.
 次に、売買取引が行なわれる場合の処理について説明する。 Next, processing when a sales transaction is performed will be described.
 店舗300に来店した消費者は、キャッシュレジスタ10及び取引情報管理装置50Aが設置されたレジカウンターまで進み、購入した商品を精算する。また、店員は、購入された商品に関する取引情報(金額、商品データなど)を、キャッシュレジスタ10のキー入力部17を介して入力する。キー入力部17を介して入力された取引情報は、表示部15、客側表示部16に表示されるとともに、キャッシュレジスタ10の記憶部12で記憶される。そして、キー入力部17に入力された取引情報に基づいて、通常のキャッシュレジスタの場合と同様に、レシート出力部13からレシート250が発行されるとともに、金銭収納部19を介して商品の購入にかかる精算処理が行われる。 The consumer who visited the store 300 proceeds to the cashier counter where the cash register 10 and the transaction information management device 50A are installed, and settles the purchased product. Further, the store clerk inputs transaction information (amount, product data, etc.) regarding the purchased product via the key input unit 17 of the cash register 10. The transaction information input through the key input unit 17 is displayed on the display unit 15 and the customer side display unit 16 and is stored in the storage unit 12 of the cash register 10. Based on the transaction information input to the key input unit 17, a receipt 250 is issued from the receipt output unit 13 and purchase of goods via the money storage unit 19, as in the case of a normal cash register. Such a settlement process is performed.
 第1実施形態の税管理システム1Aにおいては、レシート250に記載された取引情報が、取引情報入力装置30の入力部35から入力されて、認証サーバ60Aに送信される。図4は、店舗300において消費者との売買取引が行なわれる場合の処理の流れを示すフロー図である。まず、消費者と店舗300との間で売買取引が行なわれると、キャッシュレジスタ10において売買された内容のデータが入力されて、ステップS1に移る。 In the tax management system 1A of the first embodiment, the transaction information described in the receipt 250 is input from the input unit 35 of the transaction information input device 30 and transmitted to the authentication server 60A. FIG. 4 is a flowchart showing the flow of processing when a sales transaction with a consumer is performed in the store 300. First, when a sales transaction is performed between the consumer and the store 300, data of the content sold and sold in the cash register 10 is input, and the process proceeds to step S1.
 ステップS1では、入力された売買された内容のデータに基づいて取引情報が作成される。例えば、$1.00のジュース及び$1.20のハンバーガが購入された場合について説明する。次に、キャッシュレジスタ10において、取引情報管理装置50Aへ送信する取引情報が作成される。取引情報の具体例としては、例えば、(1)店舗ID、(2)キャッシュレジスタID、(3)取引額、(4)売上税対象額、(5)売上税税額、(6)レシート番号、(7)取引日時、(8)取引形態の項目の情報が含まれる。 In step S1, transaction information is created based on the data of the entered and sold contents. For example, a case where $ 1.00 juice and $ 1.20 hamburger are purchased will be described. Next, in the cash register 10, transaction information to be transmitted to the transaction information management device 50A is created. Specific examples of transaction information include, for example, (1) store ID, (2) cash register ID, (3) transaction amount, (4) sales tax target, (5) sales tax amount, (6) receipt number, (7) Transaction date and time, (8) Information on transaction type items is included.
 店舗IDは、店舗(納税者)のIDである。店舗ごとに個別につけられているID番号であり、税務署が管理する納税者番号である。キャッシュレジスタIDは、キャッシュレジスタ及びPOS端末個々につけられている番号である。取引額は、本例では、$1.00及び$1.20の合計額$2.20となる。売上税対象額は税種毎に示され、本例では、$1.00及び$1.20の合計額$2.20となる。売上税税額は税種毎に示され、本例では、$0.20とする。取引額$2.20、売上税対象額$2.20、及び売上税$0.20はキャッシュレジスタ10によって計算される。レシート番号は、レシートにつけられるシーケンス番号であり、発行毎に番号が1ずつ増加される。レシート番号によって、個々の取引情報が特定される。取引形態は、通常取引もしくは返品取引のいずれの形態であるかが示される。 Store ID is the ID of the store (taxpayer). It is an ID number assigned to each store, and is a taxpayer number managed by the tax office. The cash register ID is a number assigned to each cash register and POS terminal. In this example, the transaction amount is $ 2.20 which is a total amount of $ 1.00 and $ 1.20. The sales tax target amount is shown for each tax type, and in this example, the total amount of $ 1.00 and $ 1.20 is $ 2.20. The sales tax amount is shown for each tax type, and is $ 0.20 in this example. The transaction amount $ 2.20, the sales tax target amount $ 2.20, and the sales tax $ 0.20 are calculated by the cash register 10. The receipt number is a sequence number given to the receipt, and is incremented by 1 for each issue. Individual transaction information is specified by the receipt number. The transaction form indicates whether it is a normal transaction or a return transaction.
 ステップS2では、キャッシュレジスタ10が、取引情報の平文をハッシュ化してハッシュ値(以下取引情報ハッシュ値と称する。)を算出する。次にステップS3では、キャッシュレジスタ10が、取引情報及び取引情報ハッシュ値を取引情報管理装置50Aに送信する。図5は、キャッシュレジスタ10から取引情報管理装置50Aへ送信する情報の具体例を示す図である。図5に示すように、(1)店舗ID:ABC12345678、(2)キャッシュレジスタID:003、(3)取引額:$2.20、(4)売上税対象額:$2.20、(5)売上税税額:$0.20、(6)レシート番号:00000278、(7)取引日時:20100131,15:00(2010年1月31日15時)、(8)取引情報ハッシュ値:82kkfd3e3f7といった内容が取引情報管理装置50Aへ送信される。 In step S2, the cash register 10 hashes the plain text of the transaction information to calculate a hash value (hereinafter referred to as transaction information hash value). Next, in step S3, the cash register 10 transmits the transaction information and the transaction information hash value to the transaction information management device 50A. FIG. 5 is a diagram illustrating a specific example of information transmitted from the cash register 10 to the transaction information management device 50A. As shown in FIG. 5, (1) store ID: ABC12345678, (2) cash register ID: 003, (3) transaction amount: $ 2.20, (4) sales tax object amount: $ 2.20, (5 ) Sales tax amount: $ 0.20, (6) Receipt number: 00000278, (7) Transaction date: 2013011, 15:00 (January 31, 2010, 15:00), (8) Transaction information hash value: 82 kkfd3e3f7, etc. The contents are transmitted to transaction information management device 50A.
 ステップS4では、取引情報管理装置50Aの通信部53が、キャッシュレジスタ10から取引情報及び取引情報ハッシュ値を受信する。そして、取引情報の中の予め定めた任意のデータ(例えば、(3)取引額:$2.20、(4)売上税対象額:$2.20、(5)売上税税額:$0.20、(6)レシート番号:00000278など)を特定データとし、該特定データおよび取引情報管理装置50AのIDデータの平文をハッシュ化してハッシュ値(以下特定情報ハッシュ値と称する。)を算出する。 In step S4, the communication unit 53 of the transaction information management device 50A receives the transaction information and the transaction information hash value from the cash register 10. And, arbitrary predetermined data in the transaction information (for example, (3) transaction amount: $ 2.20, (4) sales tax object amount: $ 2.20, (5) sales tax amount: $ 0. 20, (6) Receipt No .: 00300288, etc.) as the specific data, the hash value (hereinafter referred to as the specific information hash value) is calculated by hashing the plain text of the specific data and the ID data of the transaction information management device 50A.
 ステップS5では、取引情報管理装置50Aが、取引情報ハッシュ値、特定情報ハッシュ値、及び取引情報の中の特定のデータ(特定情報ハッシュ値を算出した時の平文)をICカード80に送信する。次にステップS6では、ICカード80の取引情報暗号部86が、取引情報管理装置50Aから受信した取引情報ハッシュ値、特定情報ハッシュ値、取引情報の中の特定のデータを固有の暗号鍵によって暗号化して固定長の暗号化取引情報を作成する。暗号化取引情報は、公知の予め定められた暗号アルゴリズムに従い受信したデータを暗号化したものである。 In step S5, the transaction information management device 50A transmits the transaction information hash value, the specific information hash value, and specific data in the transaction information (plain text when the specific information hash value is calculated) to the IC card 80. Next, in step S6, the transaction information encryption unit 86 of the IC card 80 encrypts the transaction information hash value, the specific information hash value, and the specific data in the transaction information received from the transaction information management device 50A with a unique encryption key. To create fixed-length encrypted transaction information. The encrypted transaction information is obtained by encrypting received data according to a known predetermined encryption algorithm.
 ステップS7では、ICカード80が、暗号化取引情報を取引情報管理装置50Aに送信する。次にステップS8では、取引情報管理装置50Aが、暗号化取引情報を受信し、取引情報の中の特定のデータ、特定情報ハッシュ値、及び暗号化取引情報を取引情報管理装置IDと関連づけてキャッシュレジスタ10へ送信する。取引情報管理装置IDは、取引情報管理装置50A個々につけられているIDであって、処理を行った取引情報管理装置50Aを一意に特定することが可能である。 In step S7, the IC card 80 transmits the encrypted transaction information to the transaction information management device 50A. Next, in step S8, the transaction information management device 50A receives the encrypted transaction information, and caches the specific data in the transaction information, the specific information hash value, and the encrypted transaction information in association with the transaction information management device ID. Transmit to the register 10. The transaction information management device ID is an ID assigned to each transaction information management device 50A, and can uniquely identify the transaction information management device 50A that has performed the process.
 また、取引情報管理装置50Aは、取引情報、特定情報ハッシュ値等の取引情報を、取引管理情報として、取引情報管理装置50Aの記憶部52に記憶されているトランザクションファイルに保存する。図6は、取引管理情報の項目の例を示す図である。図6に示すように、(1)店舗ID、(2)キャッシュレジスタID、(3)取引額、(4)売上税対象額、(5)売上税額、(6)レシート番号、(7)取引日時、(8)取引情報ハッシュ値、(9)特定情報ハッシュ値、(10)暗号化取引情報、(11)取引情報管理装置のID、(12)取引形態、が保存される。 Further, the transaction information management device 50A stores transaction information such as transaction information and a specific information hash value as transaction management information in a transaction file stored in the storage unit 52 of the transaction information management device 50A. FIG. 6 is a diagram illustrating an example of items of transaction management information. As shown in FIG. 6, (1) store ID, (2) cash register ID, (3) transaction amount, (4) sales taxable amount, (5) sales tax amount, (6) receipt number, (7) transaction The date and time, (8) transaction information hash value, (9) specific information hash value, (10) encrypted transaction information, (11) transaction information management device ID, and (12) transaction form are stored.
 ステップS9では、キャッシュレジスタ10が、取引情報と、取引情報管理装置50Aから送信された取引情報の中の特定のデータ、特定情報ハッシュ値、暗号化取引情報、及び取引情報管理装置IDと含むレシート印字情報が印字されたレシート250をレシート出力部13から出力する。図7は、レシート250の記載例を示す図である。図7に示すレシート250においては、店舗名200、店舗ID201、キャッシュレジスタID202,取引日時203、レシート番号204、商品名および単価205、取引額206、売上税対象額207、売上税額208、合計209、消費者からの預かり金額210、釣り211、 取引形態212、取引情報ハッシュ値213、特定情報ハッシュ値214、暗号化取引情報215、取引情報管理装置のID216が印字されている。 In step S9, the cash register 10 includes transaction information, specific data in the transaction information transmitted from the transaction information management device 50A, specific information hash value, encrypted transaction information, and transaction information management device ID. The receipt 250 on which the printing information is printed is output from the receipt output unit 13. FIG. 7 is a diagram illustrating a description example of the receipt 250. In the receipt 250 shown in FIG. 7, store name 200, store ID 201, cash register ID 202, transaction date and time 203, receipt number 204, product name and unit price 205, transaction amount 206, sales tax target amount 207, sales tax amount 208, total 209 The deposit amount 210 from the consumer, fishing 211, salmon transaction form 212, transaction information hash value 213, specific information hash value 214, encrypted transaction information 215, and transaction information management device ID 216 are printed.
 図4のステップS10は、取引情報入力装置30が、キャッシュレジスタ10からレシート250に印字された情報を入力部35から取得する。具体的には、取引情報、キャッシュレジスタ10が取引情報管理装置50から受信した取引情報の中の特定のデータ、特定情報ハッシュ値、暗号化取引情報、及び取引情報管理装置IDが印字されたレシート250の情報であるレシート印字情報が入力される。 In step S10 of FIG. 4, the transaction information input device 30 acquires the information printed on the receipt 250 from the cash register 10 from the input unit 35. Specifically, the receipt on which the transaction information, the specific data in the transaction information received by the cash register 10 from the transaction information management device 50, the specific information hash value, the encrypted transaction information, and the transaction information management device ID are printed. Receipt printing information as 250 information is input.
 ステップS11では、取引情報入力装置30の通信部34が、前述のレシート印字情報を照合用データとして認証サーバ60Aへ送信する。次にステップS12では、認証サーバ60Aのハッシュ値算出部69が、ステップS11で認証サーバ60Aに送信された照合用データの取引情報に基づいて照合用取引情報ハッシュ値を算出し、該照合用データの取引情報の中の特定のデータに基づいて照合用特定情報ハッシュ値を算出する。 In step S11, the communication unit 34 of the transaction information input device 30 transmits the receipt print information described above as verification data to the authentication server 60A. Next, in step S12, the hash value calculation unit 69 of the authentication server 60A calculates a transaction information hash value for verification based on the transaction information of the verification data transmitted to the authentication server 60A in step S11, and the verification data The specific information hash value for verification is calculated based on the specific data in the transaction information.
 ステップS13では、認証サーバ60Aの鍵特定部612が、鍵記憶部631に記憶された取引情報管理装置IDに基づいて暗号鍵を特定した後、取引情報暗号部66が、照合用取引情報ハッシュ値、照合用特定情報ハッシュ値、及び照合用データの取引情報の中の特定のデータを特定された暗号鍵によって暗号化して照合用暗号化取引情報を作成する。具体的には、暗号鍵は、前述の通り、取引情報管理装置50AのIDと取引情報管理装置50Aに接続されるICカード80で使用する暗号鍵とを関連づけて暗号鍵関連情報として鍵記憶部631に記憶されており、鍵特定部612が、鍵記憶部631において記憶された取引情報管理装置IDに基づいて暗号鍵を特定する。暗号化の手法はステップS5と同様である。照合用暗号化取引情報は、取引情報記憶部632に記憶される。 In step S13, after the key identification unit 612 of the authentication server 60A identifies the encryption key based on the transaction information management device ID stored in the key storage unit 631, the transaction information encryption unit 66 performs the transaction information hash value for verification. The verification specific information hash value and the specific data in the verification data transaction information are encrypted with the specified encryption key to create verification transaction information. Specifically, as described above, the encryption key is associated with the ID of the transaction information management device 50A and the encryption key used in the IC card 80 connected to the transaction information management device 50A as a key storage unit as encryption key related information. 631 and the key identification unit 612 identifies the encryption key based on the transaction information management device ID stored in the key storage unit 631. The encryption method is the same as in step S5. The verification encrypted transaction information is stored in the transaction information storage unit 632.
 ステップS14では、認証サーバ60Aが、取引情報入力装置30から送信された取引情報ハッシュ値と認証サーバ60Aが算出した照合用取引情報ハッシュ値との照合、取引情報入力装置30から送信された特定情報ハッシュ値と認証サーバ60Aが算出した照合用特定情報ハッシュ値との照合、及び取引情報入力装置30から送信された暗号化取引情報と認証サーバ60Aが作成した照合用暗号化取引情報との照合をそれぞれ行い、各照合において同一であることが確認されれば、取引の正当性を認証する。 In step S14, the authentication server 60A collates the transaction information hash value transmitted from the transaction information input device 30 with the transaction information hash value for verification calculated by the authentication server 60A, and the specific information transmitted from the transaction information input device 30. Collation between the hash value and the verification specific information hash value calculated by the authentication server 60A, and verification between the encrypted transaction information transmitted from the transaction information input device 30 and the verification encrypted transaction information created by the authentication server 60A Each is performed, and if it is confirmed that it is the same in each verification, the validity of the transaction is authenticated.
 認証サーバ60Aに送信された照合用データに係る取引の認証が成功すれば、取引情報記憶部632に記憶された照合用データに認証成功のフラグをつけて保存する。該取引の認証が不成功の場合には、照合用データに認証不成功のフラグをつけて保存する。 If the authentication of the transaction related to the verification data transmitted to the authentication server 60A is successful, the verification data stored in the transaction information storage unit 632 is stored with an authentication success flag. If the transaction authentication is unsuccessful, the verification data is stored with an authentication unsuccessful flag.
 本実施形態によれば、認証サーバ60Aが、取引情報入力装置30から送信された取引情報ハッシュ値と認証サーバ60Aが算出した照合用取引情報ハッシュ値との照合、取引情報入力装置30から送信された特定情報ハッシュ値と認証サーバ60Aが算出した照合用特定情報ハッシュ値との照合、及び取引情報入力装置30から送信された暗号化取引情報と認証サーバ60Aが作成した照合用暗号化取引情報との照合をそれぞれ行い、各照合において同一であることが確認されれば、取引の正当性を認証するので、確実に取引の正当性を認証することができ、消費者と売買取引が行われる店舗から税金の正確な徴収を図ることが可能となる。 According to the present embodiment, the authentication server 60A sends the transaction information hash value transmitted from the transaction information input device 30 and the transaction information hash value for verification calculated by the authentication server 60A, and is transmitted from the transaction information input device 30. The specific information hash value and the verification specific information hash value calculated by the authentication server 60A, the encrypted transaction information transmitted from the transaction information input device 30, and the verification encrypted transaction information created by the authentication server 60A; If it is confirmed that they are the same in each collation, the legitimacy of the transaction is authenticated, so that the legitimacy of the transaction can be reliably authenticated, and the store where the transaction with the consumer is performed This makes it possible to collect taxes accurately.
 次に、図8に基づき、本発明の第2実施形態を説明する。 Next, a second embodiment of the present invention will be described based on FIG.
 第2実施形態の税管理システムでは、取引情報暗号化装置を備えておらず、取引情報管理装置が取引情報等の暗号化を行う。図8は、本発明の第2実施形態における税管理システム1Bの構成を示す模式図である。第2実施形態では、前述の図2,3と類似しており、第2実施形態の構成には前述の図2,3における対応する構成と同一の参照符号を付し、異なる構成について説明し、同様の構成については説明を省略する。特に、第2実施形態におけるICカード80の機能が取引情報管理装置50Bの取引情報暗号部56によって実現される構成以外は第1実施形態と同じである。 In the tax management system of the second embodiment, the transaction information encryption device is not provided, and the transaction information management device encrypts transaction information and the like. FIG. 8 is a schematic diagram showing the configuration of the tax management system 1B according to the second embodiment of the present invention. The second embodiment is similar to FIGS. 2 and 3 described above, and the configuration of the second embodiment is given the same reference numerals as the corresponding configurations in FIGS. 2 and 3 described above, and different configurations will be described. Explanation of the same configuration is omitted. In particular, the function of the IC card 80 in the second embodiment is the same as that of the first embodiment except for the configuration in which the transaction information encryption unit 56 of the transaction information management device 50B is realized.
 図8に示すように、税管理システム1Bにおける取引情報管理装置50Bは、取引情報暗号部56を備える。取引情報管理装置50Bは、キャッシュレジスタ10から取引情報及び取引情報ハッシュ値を受信すると、ハッシュ値算出部59が、取引情報の中の特定のデータに基づいて特定情報ハッシュ値を算出し、取引情報暗号部56が、取引情報ハッシュ値、特定情報ハッシュ値、及び取引情報の中の特定のデータを記憶部52に記憶された固有の暗号鍵によって暗号化して暗号化取引情報を作成する。そして、取引情報管理装置50Bは、取引情報の中の特定のデータ、特定情報ハッシュ値、及び暗号化取引情報を、取引情報管理装置50Bを一意に特定する取引情報管理装置IDと関連づけてキャッシュレジスタ10へ送信する。第2実施形態においても、第1実施形態と同様の効果を達成することができるとともに、取引情報管理装置が、第1取引情報ハッシュ値、第1特定情報ハッシュ値、及び取引情報の中の特定のデータを暗号化して暗号化取引情報を生成するので、税管理システムにおける構成をコンパクトにすることが可能となる。 As shown in FIG. 8, the transaction information management device 50B in the tax management system 1B includes a transaction information encryption unit 56. When the transaction information management device 50B receives the transaction information and the transaction information hash value from the cash register 10, the hash value calculation unit 59 calculates the specific information hash value based on the specific data in the transaction information, and the transaction information The encryption unit 56 encrypts the transaction information hash value, the specific information hash value, and specific data in the transaction information with a unique encryption key stored in the storage unit 52 to create encrypted transaction information. Then, the transaction information management device 50B associates the specific data in the transaction information, the specific information hash value, and the encrypted transaction information with the transaction information management device ID that uniquely identifies the transaction information management device 50B. 10 to send. In the second embodiment, the same effect as in the first embodiment can be achieved, and the transaction information management device can identify the first transaction information hash value, the first specific information hash value, and the transaction information. Since the encrypted transaction information is generated by encrypting the data, it is possible to make the configuration in the tax management system compact.
 以上、この発明の実施形態について説明したが、この発明は上記説明した内容のものに限定されるものではない。また、上記実施形態においては、取引情報暗号化装置としてICカードを用いていたが、たとえば、USB(Universal Serial Bus)メモリ装置であってもよい。 As mentioned above, although embodiment of this invention was described, this invention is not limited to the thing of the content demonstrated above. In the above embodiment, an IC card is used as the transaction information encryption device. However, for example, a USB (Universal Serial Bus) memory device may be used.
 例えば、上記実施形態では、取引情報管理装置がキャッシュレジスタから独立した構成である場合について説明したが、キャッシュレジスタそのものに設けたコンピュータによって取引情報管理装置の各手段を実現する構成でもよい。さらに、レシート上に、上述の取引情報、取引情報ハッシュ値、特定のデータ、特定情報ハッシュ値及び暗号化取引情報が2次元バーコードによっても印字されており、取引情報入力装置がバーコードスキャナを備えることによって、2次元バーコードを読み取れる場合は、該2次元バーコードをバーコードスキャナで読み取ることによって、レシート印字情報を取引情報入力装置に入力することが可能となる。また、上記実施形態では、1台の取引情報管理装置に対して1台のキャッシュレジスタが接続されていたが、1台の取引情報管理装置に対して複数のキャッシュレジスタを接続させる構成であってもよい。 For example, in the above-described embodiment, the case where the transaction information management apparatus has a configuration independent of the cash register has been described. However, a configuration in which each unit of the transaction information management apparatus is realized by a computer provided in the cash register itself may be used. Furthermore, the above transaction information, transaction information hash value, specific data, specific information hash value, and encrypted transaction information are also printed on the receipt using a two-dimensional barcode, and the transaction information input device uses a barcode scanner. By providing the two-dimensional barcode, the receipt print information can be input to the transaction information input device by reading the two-dimensional barcode with a barcode scanner. In the above embodiment, one cash register is connected to one transaction information management apparatus. However, a plurality of cash registers are connected to one transaction information management apparatus. Also good.
 また、取引情報管理装置が、携帯電話やWiFi等の無線通信を通じて及び、イーサネット(登録商標)、USB等の有線通信により、記憶部に記憶されている取引管理情報を認証サーバに送信するようにしてもよい。また、取引情報管理装置および認証サーバが、USBメモリ装置等の外部記憶媒体を装着する外部メモリ装着部を備えることによって、取引情報管理装置の外部メモリ装着部に装着された外部記憶媒体に取引管理情報を送信して記憶させ、さらに、認証サーバの外部メモリ装着部に外部記憶媒体を装着させて取引管理情報を認証サーバに送信するようにしてもよい。取引管理情報を外部記憶媒体に記憶させることができるので、取引管理情報を認証サーバに容易に転送することが可能となる。また。認証サーバの入力部から、直接取引管理情報を入力してもよい。 In addition, the transaction information management apparatus transmits the transaction management information stored in the storage unit to the authentication server through wireless communication such as a mobile phone or WiFi and by wired communication such as Ethernet (registered trademark) or USB. May be. In addition, the transaction information management device and the authentication server include an external memory mounting unit that mounts an external storage medium such as a USB memory device, whereby transaction management is performed on the external storage medium mounted on the external memory mounting unit of the transaction information management device The information may be transmitted and stored, and the transaction management information may be transmitted to the authentication server by attaching an external storage medium to the external memory mounting unit of the authentication server. Since the transaction management information can be stored in the external storage medium, the transaction management information can be easily transferred to the authentication server. Also. You may input transaction management information directly from the input part of an authentication server.
 図9は、本変形例における税管理システム1Cの構成を示す模式図である。また、図10は、税管理システム1Cの構成を示す機能ブロック図である。本変形例では、前述の図1~3と類似しており、本実施の形態の構成には前述の図1~3における対応する構成と同一の参照符号を付し、異なる構成について説明し、同様の構成については説明を省略する。特に、本変形例における取引情報管理装置50C及び認証サーバ60Cが、USBメモリ装置等の外部記憶媒体を装着する外部メモリ装着部58,68を備え、外部メモリ装着部58,68に装着された外部記憶媒体と通信可能とする構成以外は第1実施形態と同じである。 FIG. 9 is a schematic diagram showing the configuration of the tax management system 1C in the present modification. FIG. 10 is a functional block diagram showing the configuration of the tax management system 1C. This modification is similar to FIGS. 1 to 3 described above, and the configuration of this embodiment is given the same reference numerals as the corresponding configurations in FIGS. 1 to 3 described above, and different configurations will be described. A description of the same configuration is omitted. In particular, the transaction information management device 50C and the authentication server 60C in the present modification include external memory mounting portions 58 and 68 for mounting an external storage medium such as a USB memory device, and external devices mounted on the external memory mounting portions 58 and 68. The configuration is the same as that of the first embodiment except for the configuration that enables communication with the storage medium.
 図9~10に示すように、税管理システム1Cにおいては、取引情報管理装置50Cが外部メモリ装着部58を備え、及び認証サーバ60Cが外部メモリ装着部68を備える。したがって、税管理システム1Cにおいては、取引情報管理装置50Cが、外部メモリ装着部58に装着された外部記憶媒体90に取引管理情報を送信して記憶させ、認証サーバ60Cの外部メモリ装着部68に装着された外部記憶媒体90から認証サーバ60Cへ取引管理情報を送信することが可能となる。 As shown in FIGS. 9 to 10, in the tax management system 1C, the transaction information management device 50C includes an external memory mounting unit 58, and the authentication server 60C includes an external memory mounting unit 68. Therefore, in the tax management system 1C, the transaction information management device 50C transmits and stores the transaction management information in the external storage medium 90 mounted in the external memory mounting unit 58, and stores it in the external memory mounting unit 68 of the authentication server 60C. Transaction management information can be transmitted from the attached external storage medium 90 to the authentication server 60C.
 また、取引情報管理装置が日次集計レポートを作成し、認証サーバに送信するようにしてもよい。具体的には、取引情報管理装置の記憶部に記憶された取引情報について、日次の集計処理(1日の売上額の集計処理)を行い、日次集計レポートを作成する。日次集計レポートに記載される項目としては、例えば、(1)店舗ID、(2)キャッシュレジスタID、(3)日次集計レポート番号、(4)日次売上総額、(5)日次売上税総額、(6)日次返品取引総額、(7)日次返品取引総額における売上税総額が含まれる。なお、日次集計レポート番号は、集計レポートにつけられるシーケンス番号であり、発行毎に1ずつ増加される。日次集計レポートは、取引情報管理装置から認証サーバに送信され、取引情報管理装置のIDごとに認証サーバの取引情報データベースに保存される。認証サーバに送信された取引管理情報と、日次集計レポートを比較することによって、取引情報の正当性をより確実に認証することが可能となる。 Also, the transaction information management device may create a daily summary report and send it to the authentication server. Specifically, daily transaction processing (total sales calculation processing) is performed on transaction information stored in the storage unit of the transaction information management device, and a daily aggregation report is created. Items listed in the daily summary report include, for example, (1) store ID, (2) cash register ID, (3) daily summary report number, (4) total daily sales, and (5) daily sales. Total sales tax is included in the total tax, (6) total daily return transaction, and (7) total daily return transaction. The daily total report number is a sequence number assigned to the total report, and is incremented by one for each issue. The daily summary report is transmitted from the transaction information management device to the authentication server, and stored in the transaction information database of the authentication server for each ID of the transaction information management device. By comparing the transaction management information transmitted to the authentication server and the daily summary report, it is possible to more reliably authenticate the transaction information.
 また、取引情報管理装置が、受信した取引情報に何らかのデータの不整合があった場合、不整合のデータのファイルに当該不整合のデータを含む取引情報を記憶させ、管理する機能を備えるようにしてもよい。データの不整合の例としては、レシート番号が順番通りでない場合や、店舗IDまたはキャッシュレジスタIDが前回の日次集計レポートのデータと不一致である場合等が挙げられる。また、整合のデータを含む取引情報も、日次集計レポートと合わせて取引情報管理装置から認証サーバへ送信するようにしてもよい。 Further, the transaction information management device has a function of storing and managing transaction information including the inconsistent data in the inconsistent data file when there is any data inconsistency in the received transaction information. May be. Examples of data inconsistency include a case where the receipt number is not in order or a case where the store ID or cash register ID does not match the data of the previous daily aggregation report. Transaction information including matching data may also be transmitted from the transaction information management device to the authentication server together with the daily summary report.
 また、認証サーバが、取引情報入力装置から送信されたレシート印字情報に含まれる第1暗号化取引情報と認証サーバが作成した第2暗号化取引情報との照合を行い、同一であることが確認されれば取引の正当性を認証するようにしてもよい。図11及び図12は、税管理システム1Dの構成を示す機能ブロック図である。図11は、税管理システム1Dにおけるキャッシュレジスタ10D、取引情報管理装置50D及びICカード80の構成を示す機能ブロック図である。また、図12は、税管理システム1Dにおける認証サーバ60D及び取引情報入力装置30の構成を示す機能ブロック図である。本変形例では、前述の図2~3と類似しており、本変形例の構成には前述の図2~3における対応する構成と同一の参照符号を付し、異なる構成について説明し、同様の構成については説明を省略する。特に、本変形例におけるャッシュレジスタ10D、取引情報管理装置50D及び認証サーバ60Dが、ハッシュ値算出部を備えていないとする構成以外は第1実施形態と同じである。 Also, the authentication server checks the first encrypted transaction information included in the receipt print information transmitted from the transaction information input device and the second encrypted transaction information created by the authentication server, and confirms that they are the same. If so, the legitimacy of the transaction may be authenticated. 11 and 12 are functional block diagrams showing the configuration of the tax management system 1D. FIG. 11 is a functional block diagram showing configurations of the cash register 10D, the transaction information management device 50D, and the IC card 80 in the tax management system 1D. FIG. 12 is a functional block diagram showing configurations of the authentication server 60D and the transaction information input device 30 in the tax management system 1D. This modification is similar to FIGS. 2 to 3 described above, and the configuration of this modification is denoted by the same reference numerals as the corresponding configurations in FIGS. 2 to 3 described above, and different configurations are described. The description of the configuration is omitted. In particular, the cache register 10D, the transaction information management device 50D, and the authentication server 60D in the present modification are the same as those in the first embodiment except that the hash value calculation unit is not provided.
 税管理システム1Dにおいては、キャッシュレジスタ10Dが,取引情報を取引情報管理装置50Dに送信し、取引情報管理装置50Dが,取引情報の中の特定のデータをICカード80に送信する。次に、ICカード80が、取引情報管理装置50Dから受信した取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成し、取引情報管理装置50Dに送信する。次に、取引情報管理装置50Dが第1暗号化取引情報を受信し、取引情報管理装置IDと関連づけてキャッシュレジスタ10Dへ送信する。 In the tax management system 1D, the cash register 10D transmits transaction information to the transaction information management device 50D, and the transaction information management device 50D transmits specific data in the transaction information to the IC card 80. Next, the IC card 80 encrypts specific data in the transaction information received from the transaction information management device 50D with a unique encryption key to generate first encrypted transaction information, and transmits it to the transaction information management device 50D. To do. Next, the transaction information management device 50D receives the first encrypted transaction information and transmits it to the cash register 10D in association with the transaction information management device ID.
 次に、キャッシュレジスタ10Dが、取引情報、第1暗号化取引情報、取引情報管理装置IDを有するレシート印字情報が印字されたレシートを発行し、取引情報入力装置50Dが,キャッシュレジスタ10Dからレシート印字情報を取得して、照合用データとして認証サーバ60Dへ送信する。認証サーバ60Dは、第1実施形態と同様、取引情報管理装置ID及び取引情報入力装置50Dに接続されるICカード80で使用する暗号鍵を関連づけて記憶しており、取引情報管理装置IDに基づいて暗号鍵を特定する。次に、認証サーバ60Dが、取引情報入力装置50Dから送信された取引情報を暗号鍵によって暗号化して第2暗号化取引情報を生成する。そして、認証サーバ60Dが、照合用データとして受信したレシート印字情報に含まれる第1暗号化取引情報と、第2暗号化引情報との照合を行い、正当性を認証する。 Next, the cash register 10D issues a receipt on which receipt print information having transaction information, first encrypted transaction information, and transaction information management device ID is printed, and the transaction information input device 50D prints a receipt from the cash register 10D. Information is acquired and transmitted as verification data to the authentication server 60D. Similar to the first embodiment, the authentication server 60D stores the transaction information management device ID and the encryption key used in the IC card 80 connected to the transaction information input device 50D in association with each other, and is based on the transaction information management device ID. Specify the encryption key. Next, the authentication server 60D generates the second encrypted transaction information by encrypting the transaction information transmitted from the transaction information input device 50D with the encryption key. Then, the authentication server 60D compares the first encrypted transaction information included in the receipt print information received as the verification data with the second encrypted reference information, and authenticates the validity.
 また、本発明の実施形態において、キャッシュレジスタ10とこれに通信可能に接続される取引情報管理装置50Aとは、キャッシュレジスタ10が有する一つしかない通信ポートを使用して接続される場合が多い。したがってこのようなキャッシュレジスタ10に税管理専用の取引情報管理装置50Aが接続されている状況下では、キャッシュレジスタ10に本来ある商用通信機能が利用できないことになる。そこで、取引情報管理装置50Aに各実施形態や変形例で説明した取引情報の管理やICカード80との情報のやり取り等の税管理機能以外に、商用機能や商用情報記憶手段をさらに備え、キャッシュレジスタ10との間で税管理機能と商用機能の双方の機能を通信ポートを共用しながら機能させることが好ましい変形例である。 In the embodiment of the present invention, the cash register 10 and the transaction information management device 50A connected to the cash register 10 are often connected using only one communication port included in the cash register 10. . Therefore, under the situation where the transaction information management device 50A dedicated for tax management is connected to such a cash register 10, the commercial communication function inherent in the cash register 10 cannot be used. Therefore, the transaction information management device 50A is further provided with a commercial function and a commercial information storage means in addition to the tax management function such as the management of transaction information and the exchange of information with the IC card 80 described in each embodiment and modification, It is a preferable modification to allow both the tax management function and the commercial function to function with the register 10 while sharing the communication port.
 通信ポートの共用は、目的(税務目的/商用目的)に応じて通信制御主体(通信シーケンス上、先に通信を始める側)を分けることで可能である。たとえば税務目的の通信の際は、キャッシュレジスタ10が通信制御主体となり、商用目的の通信の際は、取引情報管理装置50A側が通信制御主体となり、その逆でもよい。これにより通信制御がバッテングせずに、通信ポートを共有して両機能を明確に分かることができる。通信制御手段の切り替えは、制御権の譲渡、返還などの手法が利用できる。 Communicating the communication port is possible by dividing the communication control entity (the side that starts communication first in the communication sequence) according to the purpose (tax purpose / commercial purpose). For example, the cash register 10 is a communication control entity in the case of communication for tax purposes, and the transaction information management device 50A side is the communication control entity in the case of communication for commercial purposes, and vice versa. This makes it possible to clearly understand both functions by sharing the communication port without the communication control being batting. For switching the communication control means, a technique such as transfer or return of control rights can be used.
 また商用機能の例としては、キャッシュレジスタ10で売り上げられた販売実績情報(商品別販売実績・オペレーター別販売実績・時間別販売実績等)を取引情報管理装置50Aの商用情報記憶手段に取り込むことや、キャッシュレジスタ10が持つデータベースの情報(商品名称、単価、顧客データ)を、取引情報管理装置50Aからキャッシュレジスタ10に送信し、データベース情報の変更・追加を行うなどが挙げられる。前者の例は、取引情報管理装置50Aからキャッシュレジスタ10に対して、キャッシュレジスタ10で発生した上記販売実績などのデータの送信を要求する「データ取得要求コマンド」を送信することで実現できる。また後者の例は、取引情報管理装置50Aからキャッシュレジスタ10に対して、データベースの変更・追加を要求する「データ更新コマンド」を送信することで実現できる。 Further, as an example of the commercial function, the sales result information sold by the cash register 10 (sales result by product, sales result by operator, sales result by time, etc.) is taken into the commercial information storage means of the transaction information management device 50A. For example, the database information (product name, unit price, customer data) of the cash register 10 is transmitted from the transaction information management device 50A to the cash register 10, and the database information is changed or added. The former example can be realized by transmitting a “data acquisition request command” for requesting transmission of data such as the sales record generated in the cash register 10 from the transaction information management device 50A to the cash register 10. The latter example can be realized by transmitting a “data update command” for requesting the change / addition of the database from the transaction information management device 50A to the cash register 10.
 また、認証サーバ60Aとは異なる商用の為の管理サーバ、例えば各店舗300の売り上げ等を統括して管理する事業者によって運営される管理サーバを、携帯電話やWiFi等の無線通信やイーサネット(登録商標)、インターネット等の有線、無線の通信により取引情報管理装置50Aに接続し、上記した取引情報管理装置50Aとキャッシュレジスタ10との間の商用目的の通信の際、管理サーバから取引情報管理装置50Aにコマンドを送り、これに基づいて取引情報管理装置50Aが上記「データ取得要求コマンド」や「データ更新コマンド」をキャッシュレジスタ10に送信することも好ましい例である。 In addition, a management server for commercial use different from the authentication server 60A, for example, a management server operated by a company that manages the sales of each store 300, etc., wireless communication such as a mobile phone or WiFi, Ethernet (registration) Trademark), the transaction information management device 50A is connected to the transaction information management device 50A through wired or wireless communication such as the Internet, and the transaction information management device is connected from the management server to the commercial purpose communication between the transaction information management device 50A and the cash register 10. It is also a preferable example that a command is sent to 50A, and based on this, the transaction information management device 50A sends the “data acquisition request command” and “data update command” to the cash register 10.
 この場合、例えば取引情報管理装置50Aがキャッシュレジスタ10に送信する「データ取得要求コマンド」については、管理サーバから取引情報管理装置50Aに対してキャッシュレジスタ10から得たい情報を取得コマンドとして通知し、これを受けた取引情報管理装置50Aが当該取得コマンドに基づいて「データ取得要求コマンド」を生成し、キャッシュレジスタ10に送信すればよい。そしてキャッシュレジスタ10から取引情報管理装置50Aが取得した販売実績などの情報は、管理サーバに送信される。 In this case, for example, for the “data acquisition request command” that the transaction information management device 50A transmits to the cash register 10, the management server notifies the transaction information management device 50A of information to be obtained from the cash register 10 as an acquisition command. Receiving this, the transaction information management device 50A may generate a “data acquisition request command” based on the acquisition command and transmit it to the cash register 10. Information such as sales results acquired by the transaction information management device 50A from the cash register 10 is transmitted to the management server.
 また取引情報管理装置50Aがキャッシュレジスタ10に送信する「データ更新コマンド」については、データベース更新・追加用のデータは管理サーバから取引情報管理装置50Aに変更追加コマンドとともに送信され、これを受けた取引情報管理装置50Aが当該変更追加コマンドに基づいて「データ更新コマンド」を生成し、データベース更新・追加用のデータとともにキャッシュレジスタ10に送信すればよい。 As for the “data update command” that the transaction information management device 50A transmits to the cash register 10, the data for database update / addition is transmitted from the management server to the transaction information management device 50A together with the change addition command, and the transaction received The information management device 50A may generate a “data update command” based on the change addition command and transmit it to the cash register 10 together with data for database update / addition.
 このように取引情報管理装置50Aに管理サーバを接続する場合、取引情報管理装置50Aのサーバ接続用の通信ポートを共用し、目的(税務目的/商用目的)に応じて通信先(税務用の認証サーバ60A/商用の管理サーバ)を変えることが好ましい。尚、このような管理サーバとの通信は上記のような有線/無線の通信網を介すること以外に、認証サーバ60Aの場合と同様、USBメモリ装置等の外部記憶媒体を装着する外部メモリ装着部を両者に備えさせ、外部記憶媒体を介してコマンドや情報の送受させてもよい。 When the management server is connected to the transaction information management device 50A as described above, the communication port for server connection of the transaction information management device 50A is shared, and the communication destination (tax authentication) is used according to the purpose (tax purpose / commercial purpose). It is preferable to change the server 60A / commercial management server. The communication with the management server is not via the wired / wireless communication network as described above, but an external memory mounting unit for mounting an external storage medium such as a USB memory device as in the case of the authentication server 60A. May be provided for both, and commands and information may be transmitted and received via an external storage medium.
 以上の変形例によっても、前記実施の形態と同様の効果を達成することができる。 The same effects as those of the above-described embodiment can also be achieved by the above modification.

Claims (10)

  1.  キャッシュレジスタと、該キャッシュレジスタと通信可能に接続され、該キャッシュレジスタによって精算された売買取引金額の税額を含む取引情報を管理する取引情報管理装置と、該取引情報管理装置と通信可能に接続され、該取引情報の暗号化を行う取引情報暗号化装置と、該取引情報の認証を行う認証サーバと、該認証サーバと通信可能に接続され、該認証サーバに該取引情報の入力を行う取引情報入力装置とを備える税管理システムにより売買取引金額の税額を管理する税管理方法であって、
     前記キャッシュレジスタが、前記売買取引金額及び税額を含む取引情報に基づいて第1取引情報ハッシュ値を算出する第1ハッシュ値算出工程と、
     前記キャッシュレジスタが、前記取引情報及び前記第1取引情報ハッシュ値を前記取引情報管理装置に送信する第1取引情報ハッシュ値送信工程と、
     前記取引情報管理装置が、前記キャッシュレジスタから前記取引情報及び前記第1取引情報ハッシュ値を受信し、前記取引情報の中の特定のデータに基づいて第1特定情報ハッシュ値を算出して記憶する第1特定情報ハッシュ値算出工程と、
     前記取引情報管理装置が、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、及び前記取引情報の中の特定のデータを前記取引情報暗号化装置に送信する特定データ送信工程と、
     前記取引情報暗号化装置が、前記取引情報管理装置から受信した前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、及び前記取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成する第1暗号化工程と、
     前記取引情報暗号化装置が、前記第1暗号化取引情報を前記取引情報管理装置に送信する第1暗号化取引情報送信工程と、
     前記取引情報管理装置が前記第1暗号化取引情報を受信し、前記取引情報の中の特定のデータ、前記第1特定情報ハッシュ値、及び前記第1暗号化取引情報を、前記取引情報管理装置を一意に特定する取引情報管理装置IDと関連づけて前記キャッシュレジスタへ送信するキャッシュレジスタ情報送信工程と、
     前記キャッシュレジスタが、前記取引情報、前記取引情報の中の特定のデータ、前記第1特定情報ハッシュ値、前記第1暗号化取引情報、及び前記取引情報管理装置IDを有するレシート印字情報が印字されたレシートを発行する印刷工程と、
     前記取引情報入力装置が、前記キャッシュレジスタから前記レシート印字情報を取得し、照合用データとして前記認証サーバへ送信する照合用データ情報送信工程と、
     前記認証サーバが、前記取引情報管理装置ID及び前記取引情報管理装置に接続される取引情報暗号化装置で使用する前記暗号鍵を関連づけて記憶する暗号鍵記憶工程と、
     前記認証サーバが、前記暗号鍵記憶工程において記憶された前記取引情報管理装置IDに基づいて前記暗号鍵を特定する暗号鍵特定工程と、
     前記認証サーバが、前記取引情報入力装置から送信された前記取引情報に基づいて第2取引情報ハッシュ値を算出し、前記取引情報の中の特定のデータに基づいて第2特定情報ハッシュ値を算出する第2ハッシュ値算出工程と、
     前記認証サーバが、前記第2取引情報ハッシュ値、前記第2特定情報ハッシュ値、及び前記取引情報の中の特定のデータを前記暗号鍵によって暗号化して第2暗号化取引情報を生成する第2暗号化工程と、
     前記認証サーバが、前記第1取引情報ハッシュ値と前記第2取引情報ハッシュ値との照合、前記第1特定情報ハッシュ値と前記第2特定情報ハッシュ値との照合、及び前記第1暗号化取引情報と前記第2暗号化取引情報との照合をそれぞれ行い、取引の正当性を認証する認証工程とを備えることを特徴とする税管理方法。
    A cash register, a transaction information management device that is communicably connected to the cash register, manages transaction information including a tax amount of the sales transaction amount settled by the cash register, and is communicably connected to the transaction information management device , A transaction information encryption device for encrypting the transaction information, an authentication server for authenticating the transaction information, and transaction information connected to the authentication server so as to be able to communicate and inputting the transaction information to the authentication server A tax management method for managing a tax amount of a sales transaction amount by a tax management system comprising an input device,
    A first hash value calculating step in which the cash register calculates a first transaction information hash value based on transaction information including the sales transaction amount and a tax amount;
    A first transaction information hash value transmission step in which the cash register transmits the transaction information and the first transaction information hash value to the transaction information management device;
    The transaction information management device receives the transaction information and the first transaction information hash value from the cash register, calculates and stores a first specific information hash value based on specific data in the transaction information. A first specific information hash value calculating step;
    A specific data transmission step in which the transaction information management device transmits the first transaction information hash value, the first specific information hash value, and specific data in the transaction information to the transaction information encryption device;
    The transaction information encryption device encrypts the first transaction information hash value received from the transaction information management device, the first specific information hash value, and specific data in the transaction information with a unique encryption key. A first encryption step for generating first encrypted transaction information,
    A first encrypted transaction information transmission step in which the transaction information encryption device transmits the first encrypted transaction information to the transaction information management device;
    The transaction information management device receives the first encrypted transaction information, and the transaction information management device stores the specific data in the transaction information, the first specific information hash value, and the first encrypted transaction information. A cash register information transmission step for transmitting to the cash register in association with a transaction information management device ID that uniquely identifies
    The cash register prints receipt print information including the transaction information, specific data in the transaction information, the first specific information hash value, the first encrypted transaction information, and the transaction information management device ID. Printing process for issuing receipts,
    The transaction information input device acquires the receipt print information from the cash register, and transmits to the authentication server as verification data, a verification data information transmission step,
    An encryption key storage step in which the authentication server associates and stores the encryption key used in the transaction information encryption device connected to the transaction information management device ID and the transaction information management device;
    An encryption key specifying step in which the authentication server specifies the encryption key based on the transaction information management device ID stored in the encryption key storage step;
    The authentication server calculates a second transaction information hash value based on the transaction information transmitted from the transaction information input device, and calculates a second specific information hash value based on specific data in the transaction information A second hash value calculating step,
    The authentication server encrypts specific data in the second transaction information hash value, the second specific information hash value, and the transaction information with the encryption key to generate second encrypted transaction information. Encryption process;
    The authentication server is configured to collate the first transaction information hash value with the second transaction information hash value, collate the first specific information hash value with the second specific information hash value, and the first encrypted transaction. A tax management method, comprising: an authentication step for verifying the legitimacy of a transaction by comparing information with the second encrypted transaction information.
  2.  キャッシュレジスタと、該キャッシュレジスタと通信可能に接続され、該キャッシュレジスタによって精算された売買取引金額の税額を含む取引情報を管理する取引情報管理装置と、該取引情報の認証を行う認証サーバと、該認証サーバと通信可能に接続され、該認証サーバに該取引情報の入力を行う取引情報入力装置とを備える税管理システムにより売買取引金額の税額を管理する税管理方法であって、
     前記キャッシュレジスタが、前記売買取引金額及び税額を含む取引情報に基づいて第1取引情報ハッシュ値を算出する第1ハッシュ値算出工程と、
     前記キャッシュレジスタが、前記取引情報及び前記第1取引情報ハッシュ値を前記取引情報管理装置に送信する第1取引情報ハッシュ値送信工程と、
     前記取引情報管理装置が、前記キャッシュレジスタから前記取引情報及び前記第1取引情報ハッシュ値を受信し、前記取引情報の中の特定のデータに基づいて第1特定情報ハッシュ値を算出して記憶する第1特定情報ハッシュ値算出工程と、
     前記取引情報管理装置が、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、及び前記取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成する第1暗号化工程と、
     前記取引情報管理装置が、前記取引情報の中の特定のデータ、前記第1特定情報ハッシュ値、及び前記第1暗号化取引情報を、前記取引情報管理装置を一意に特定する取引情報管理装置IDと関連づけて前記キャッシュレジスタへ送信するキャッシュレジスタ情報送信工程と、
     前記キャッシュレジスタが、前記取引情報、前記取引情報の中の特定のデータ、前記第1特定情報ハッシュ値、前記第1暗号化取引情報、及び前記取引情報管理装置IDを有するレシート印字情報が印字されたレシートを発行する印刷工程と、
     前記取引情報入力装置が、前記取引情報、前記取引情報の中の特定のデータ、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、前記第1暗号化取引情報、及び前記取引情報管理装置IDを取得して、これらを照合用データとして前記認証サーバへ送信する照合用データ情報送信工程と、
     前記認証サーバが、前記取引情報管理装置ID及び前記暗号鍵を関連づけて記憶する暗号鍵記憶工程と、
     前記認証サーバが、前記暗号鍵記憶工程において記憶された前記取引情報管理装置IDに基づいて前記暗号鍵を特定する暗号鍵特定工程と、
     前記認証サーバが、前記取引情報入力装置から送信された前記取引情報に基づいて第2取引情報ハッシュ値を算出し、前記取引情報の中の特定のデータに基づいて第2特定情報ハッシュ値を算出する第2ハッシュ値算出工程と、
     前記認証サーバが、前記第2取引情報ハッシュ値、前記第2特定情報ハッシュ値、及び前記取引情報の中の特定のデータを前記暗号鍵によって暗号化して第2暗号化取引情報を生成する第2暗号化工程と、
     前記認証サーバが、前記第1取引情報ハッシュ値と前記第2取引情報ハッシュ値との照合、前記第1特定情報ハッシュ値と前記第2特定情報ハッシュ値との照合、及び前記第1暗号化取引情報と前記第2暗号化取引情報との照合をそれぞれ行い、取引の正当性を認証する認証工程とを備えることを特徴とする税管理方法。
    A cash register, a transaction information management device that is communicably connected to the cash register, manages transaction information including a tax amount of the sales transaction amount settled by the cash register, an authentication server that authenticates the transaction information, A tax management method for managing a tax amount of a sales transaction amount by a tax management system connected to the authentication server in a communicable manner and having a transaction information input device for inputting the transaction information to the authentication server,
    A first hash value calculating step in which the cash register calculates a first transaction information hash value based on transaction information including the sales transaction amount and a tax amount;
    A first transaction information hash value transmission step in which the cash register transmits the transaction information and the first transaction information hash value to the transaction information management device;
    The transaction information management device receives the transaction information and the first transaction information hash value from the cash register, calculates and stores a first specific information hash value based on specific data in the transaction information. A first specific information hash value calculating step;
    The transaction information management device generates first encrypted transaction information by encrypting the first transaction information hash value, the first specific information hash value, and specific data in the transaction information with a unique encryption key. A first encryption step,
    The transaction information management device uniquely identifies the transaction information management device with the specific data in the transaction information, the first specific information hash value, and the first encrypted transaction information. A cash register information transmission step for transmitting to the cash register in association with
    The cash register prints receipt print information including the transaction information, specific data in the transaction information, the first specific information hash value, the first encrypted transaction information, and the transaction information management device ID. Printing process for issuing receipts,
    The transaction information input device includes the transaction information, specific data in the transaction information, the first transaction information hash value, the first specific information hash value, the first encrypted transaction information, and the transaction information management. A verification data information transmission step of acquiring device IDs and transmitting them to the authentication server as verification data;
    An encryption key storage step in which the authentication server associates and stores the transaction information management device ID and the encryption key;
    An encryption key specifying step in which the authentication server specifies the encryption key based on the transaction information management device ID stored in the encryption key storage step;
    The authentication server calculates a second transaction information hash value based on the transaction information transmitted from the transaction information input device, and calculates a second specific information hash value based on specific data in the transaction information A second hash value calculating step,
    The authentication server encrypts specific data in the second transaction information hash value, the second specific information hash value, and the transaction information with the encryption key to generate second encrypted transaction information. Encryption process;
    The authentication server is configured to collate the first transaction information hash value with the second transaction information hash value, collate the first specific information hash value with the second specific information hash value, and the first encrypted transaction. A tax management method, comprising: an authentication step for verifying the legitimacy of a transaction by comparing information with the second encrypted transaction information.
  3.  キャッシュレジスタと、 該キャッシュレジスタと通信可能に接続され,該キャッシュレジスタによって精算された売買取引金額の税額を含む取引情報を管理する取引情報管理装置と、 該取引情報管理装置と通信可能に接続され、該取引情報の暗号化を行う取引情報暗号化装置と、該取引情報の認証を行う認証サーバと、 該認証サーバと通信可能に接続され、該認証サーバに該取引情報の入力を行う取引情報入力装置とを備える税管理システムにより売買取引金額の税額を管理する税管理方法であって、
     前記キャッシュレジスタが,前記売買取引金額及び税額を含む取引情報を前記取引情報管理装置に送信する取引情報送信工程と、
     前記取引情報管理装置が,前記取引情報の中の特定のデータを前記取引情報暗号化装置に送信する特定データ送信工程と、
     前記取引情報暗号化装置が、前記取引情報管理装置から受信した前記取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成する第1暗号化工程と、
     前記取引情報暗号化装置が、前記第1暗号化取引情報を前記取引情報管理装置に送信する第1暗号化取引情報送信工程と、
     前記取引情報管理装置が、前記第1暗号化取引情報を受信し、前記第1暗号化取引情報を前記取引情報管理装置を一意に特定する取引情報管理装置IDと関連づけて前記キャッシュレ ジスタへ送信するキャッシュレジスタ情報送信工程と、
     前記キャッシュレジスタが、前記取引情報、前記第1暗号化取引情報、及び前記取引情報管理装置IDを有するレシート印字情報が印字されたレシートを発行する印刷工程と、
     前記取引情報入力装置が、前記キャッシュレジスタから前記レシート印字情報を取得し、照合用データとして前記認証サーバへ送信する照合用データ情報送信工程と、
     前記認証サーバが、前記取引情報管理装置ID及び前記取引情報管理装置に接続される取引情報暗号化装置で使用する前記暗号鍵を関連づけて記憶する暗号鍵記憶工程と、
     前記認証サーバが、前記暗号鍵記憶工程において記憶された前記取引情報管理装置IDに基づいて前記暗号鍵を特定する暗号鍵特定工程と、
     前記認証サーバが、前記取引情報入力装置から送信された前記取引情報を前記暗号鍵によって暗号化して第2暗号化取引情報を生成する第2暗号化工程と、
     前記認証サーバが、前記第1暗号化取引情報と前記第2暗号化引情報との照合を行い、取引の正当性を認証する認証工程とを備えることを特徴とする税管理方法。
    A cash register, a transaction information management device that is communicably connected to the cash register, manages transaction information including a tax amount of the sales transaction amount settled by the cash register, and is communicably connected to the transaction information management device A transaction information encryption device that encrypts the transaction information, an authentication server that authenticates the transaction information, and transaction information that is communicably connected to the authentication server and inputs the transaction information to the authentication server A tax management method for managing a tax amount of a sales transaction amount by a tax management system comprising an input device,
    A transaction information transmitting step in which the cash register transmits transaction information including the sales transaction amount and a tax amount to the transaction information management device;
    The transaction information management device transmits specific data in the transaction information to the transaction information encryption device;
    A first encryption step in which the transaction information encryption device encrypts specific data in the transaction information received from the transaction information management device with a unique encryption key to generate first encrypted transaction information;
    A first encrypted transaction information transmission step in which the transaction information encryption device transmits the first encrypted transaction information to the transaction information management device;
    The transaction information management device receives the first encrypted transaction information and transmits the first encrypted transaction information to the cash register in association with a transaction information management device ID that uniquely identifies the transaction information management device. A cash register information transmission step to perform,
    A printing step in which the cash register issues a receipt printed with receipt printing information having the transaction information, the first encrypted transaction information, and the transaction information management device ID;
    The transaction information input device acquires the receipt print information from the cash register, and transmits to the authentication server as verification data, a verification data information transmission step,
    An encryption key storage step in which the authentication server associates and stores the encryption key used in the transaction information encryption device connected to the transaction information management device ID and the transaction information management device;
    An encryption key specifying step in which the authentication server specifies the encryption key based on the transaction information management device ID stored in the encryption key storage step;
    A second encryption step in which the authentication server encrypts the transaction information transmitted from the transaction information input device with the encryption key to generate second encrypted transaction information;
    A tax management method comprising: an authentication step in which the authentication server compares the first encrypted transaction information with the second encrypted transaction information to authenticate the legitimacy of the transaction.
  4.  キャッシュレジスタと、該キャッシュレジスタと通信可能に接続され、該キャッシュレジスタによって精算された売買取引金額の税額を含む取引情報を管理する取引情報管理装置と、該取引情報の暗号化を行う取引情報暗号化装置と、該取引情報の認証を行う認証サーバと、該認証サーバと通信可能に接続され、該認証サーバに該取引情報の入力を行う取引情報入力装置とを備える税管理システムにより売買取引金額の税額を管理する税管理システムであって、
     前記キャッシュレジスタが、前記売買取引金額及び税額を含む取引情報に基づいて第1取引情報ハッシュ値を算出する第1ハッシュ値算出手段と、前記取引情報管理装置とデータの送受信が可能な第1通信手段であって、前記取引情報及び前記第1取引情報ハッシュ値を前記取引情報管理装置に送信する第1通信手段と、レシートを発行する印刷手段とを有し、
     前記取引情報管理装置が、前記キャッシュレジスタから前記取引情報及び前記第1取引情報ハッシュ値を受信する第2通信手段と、前記取引情報の中の特定のデータに基づいて第1特定情報ハッシュ値を算出する第1特定情報ハッシュ値算出手段と、前記取引情報、前記第1取引情報ハッシュ値及び第1特定情報ハッシュ値を記憶する記憶部とを有し、
     前記取引情報暗号化装置が、前記取引情報管理装置から受信した前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、及び前記取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成する第1暗号化手段と、前記取引情報管理装置に前記第1暗号化手段の送信を行う第3通信手段とを有し、
     前記取引情報管理装置の第2通信手段が、前記取引情報の中の特定のデータ、前記第1特定情報ハッシュ値、前記第1暗号化取引情報、及び前記取引情報管理装置を一意に特定する取引情報管理装置IDを前記キャッシュレジスタに送信し、
     前記取引情報入力装置が、前記レシート印字情報を取得する入力手段と、前記レシート印字情報を照合用データとして前記認証サーバへ送信する第4通信手段とを有し、
     前記認証サーバが、前記取引情報入力装置との間でデータの送受信を行う第5通信部と、前記取引情報管理装置IDと前記取引情報管理装置に接続される取引情報暗号化装置で使用する前記暗号鍵とを関連づけて記憶する暗号鍵記憶部と、前記暗号鍵記憶部に記憶された前記取引情報管理装置IDに基づいて前記暗号鍵を特定する暗号鍵特定手段と、前記取引情報入力装置から送信された前記取引情報に基づいて第2取引情報ハッシュ値を算出し、前記取引情報の中の特定のデータに基づいて第2特定情報ハッシュ値を算出する第2ハッシュ値算出手段と、前記第2取引情報ハッシュ値、前記第2特定情報ハッシュ値、及び前記取引情報の中の特定のデータを前記暗号鍵によって暗号化して第2暗号化取引情報を生成する第2暗号化手段と、前記第1取引情報ハッシュ値と前記第2取引情報ハッシュ値との照合、前記第1特定情報ハッシュ値と前記第2特定情報ハッシュ値との照合、及び前記第1暗号化取引情報と前記第2暗号化取引情報との照合をそれぞれ行い、取引の正当性を認証する認証手段とを有することを特徴とする税管理システム。
    A cash register, a transaction information management device that is communicably connected to the cash register and manages transaction information including a tax amount of the sales transaction amount settled by the cash register, and a transaction information encryption for encrypting the transaction information Transaction amount by a tax management system comprising an authentication device, an authentication server that authenticates the transaction information, and a transaction information input device that is communicably connected to the authentication server and inputs the transaction information to the authentication server A tax management system for managing the tax amount of
    A first hash value calculating means for calculating a first transaction information hash value based on transaction information including the transaction transaction amount and a tax amount; and a first communication capable of transmitting and receiving data to and from the transaction information management device. A first communication means for transmitting the transaction information and the first transaction information hash value to the transaction information management device; and a printing means for issuing a receipt.
    The transaction information management device receives the transaction information and the first transaction information hash value from the cash register, and a first specific information hash value based on specific data in the transaction information. A first specific information hash value calculating means for calculating; a storage unit for storing the transaction information, the first transaction information hash value, and the first specific information hash value;
    The transaction information encryption device encrypts the first transaction information hash value received from the transaction information management device, the first specific information hash value, and specific data in the transaction information with a unique encryption key. First encryption means for generating the first encrypted transaction information, and third communication means for transmitting the first encryption means to the transaction information management device,
    Transaction in which the second communication means of the transaction information management device uniquely identifies the specific data in the transaction information, the first specific information hash value, the first encrypted transaction information, and the transaction information management device Sending the information management device ID to the cash register;
    The transaction information input device has input means for acquiring the receipt print information, and fourth communication means for transmitting the receipt print information as verification data to the authentication server,
    The authentication server uses the fifth communication unit that transmits / receives data to / from the transaction information input device, the transaction information management device ID, and the transaction information encryption device connected to the transaction information management device. An encryption key storage unit that associates and stores an encryption key, an encryption key specifying unit that specifies the encryption key based on the transaction information management device ID stored in the encryption key storage unit, and the transaction information input device Second hash value calculating means for calculating a second transaction information hash value based on the transmitted transaction information, and calculating a second specific information hash value based on specific data in the transaction information; A second encryption unit that encrypts specific data in the transaction information hash value, the second specific information hash value, and the transaction information with the encryption key to generate second encrypted transaction information; Verification of the first transaction information hash value and the second transaction information hash value, verification of the first specific information hash value and the second specific information hash value, and the first encrypted transaction information and the second A tax management system comprising authentication means for verifying the legitimacy of a transaction by performing verification with encrypted transaction information.
  5.  キャッシュレジスタと、該キャッシュレジスタと通信可能に接続され、該キャッシュレジスタによって精算された売買取引金額の税額を含む取引情報を管理する取引情報管理装置と、該取引情報の認証を行う認証サーバと、該認証サーバと通信可能に接続され、該認証サーバに該取引情報の入力を行う取引情報入力装置とを備える税管理システムにより売買取引金額の税額を管理する税管理システムであって、
     前記キャッシュレジスタが、前記売買取引金額及び税額を含む取引情報に基づいて第1取引情報ハッシュ値を算出する第1ハッシュ値算出手段と、前記取引情報管理装置とデータの送受信が可能な第1通信手段であって、前記取引情報及び前記第1取引情報ハッシュ値を前記取引情報管理装置に送信する第1通信手段と、レシートを発行する印刷手段とを有し、
     前記取引情報管理装置が、前記キャッシュレジスタから前記取引情報及び前記第1取引情報ハッシュ値を受信する第2通信手段と、前記取引情報の中の特定のデータに基づいて第1特定情報ハッシュ値を算出する第1特定情報ハッシュ値算出手段と、前記取引情報、前記第1取引情報ハッシュ値及び第1特定情報ハッシュ値を記憶する記憶部と、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、及び前記取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成する第1暗号化手段とを有し、
     前記取引情報管理装置の第2通信手段が、前記取引情報の中の特定のデータ、前記第1特定情報ハッシュ値、前記第1暗号化取引情報、及び前記取引情報管理装置を一意に特定する取引情報管理装置IDを前記キャッシュレジスタに送信し、
     前記取引情報入力装置が、取得された前記取引情報、前記取引情報の中の特定のデータ、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値、前記第1暗号化取引情報、及び前記取引情報管理装置IDを照合用データとして前記認証サーバへ送信する第3通信手段を有し、
     前記認証サーバが、前記取引情報入力装置との間でデータの送受信を行う第4通信部と、前記取引情報管理装置IDと前記暗号鍵とを関連づけて記憶する暗号鍵記憶部と、暗号鍵記憶工程において記憶された前記取引情報管理装置IDに基づいて前記暗号鍵を特定する暗号鍵特定手段と、前記取引情報に基づいて第2取引情報ハッシュ値を算出し、前記取引情報の中の特定のデータに基づいて第2特定情報ハッシュ値を算出する第2ハッシュ値算出手段と、前記第2取引情報ハッシュ値、前記第2特定情報ハッシュ値、及び前記取引情報の中の特定のデータを前記暗号鍵によって暗号化して第2暗号化取引情報を生成する第2暗号化手段と、前記第1取引情報ハッシュ値と前記第2取引情報ハッシュ値との照合、前記第1特定情報ハッシュ値と前記第2特定情報ハッシュ値との照合、及び前記第1暗号化取引情報と前記第2暗号化取引情報との照合をそれぞれ行い、取引の正当性を認証する認証手段とを有することを特徴とする税管理システム。
    A cash register, a transaction information management device that is communicably connected to the cash register, manages transaction information including a tax amount of the sales transaction amount settled by the cash register, an authentication server that authenticates the transaction information, A tax management system that manages a tax amount of a sales transaction amount by a tax management system that is communicably connected to the authentication server and includes a transaction information input device that inputs the transaction information to the authentication server,
    A first hash value calculating means for calculating a first transaction information hash value based on transaction information including the transaction transaction amount and a tax amount; and a first communication capable of transmitting and receiving data to and from the transaction information management device. A first communication means for transmitting the transaction information and the first transaction information hash value to the transaction information management device; and a printing means for issuing a receipt.
    The transaction information management device receives the transaction information and the first transaction information hash value from the cash register, and a first specific information hash value based on specific data in the transaction information. A first specific information hash value calculating means for calculating; a storage unit for storing the transaction information, the first transaction information hash value and the first specific information hash value; the first transaction information hash value; and the first specific information. A first encryption means for generating a first encrypted transaction information by encrypting a hash value and specific data in the transaction information with a unique encryption key;
    Transaction in which the second communication means of the transaction information management device uniquely identifies the specific data in the transaction information, the first specific information hash value, the first encrypted transaction information, and the transaction information management device Sending the information management device ID to the cash register;
    The transaction information input device includes the acquired transaction information, specific data in the transaction information, the first transaction information hash value, the first specific information hash value, the first encrypted transaction information, and the A third communication means for transmitting the transaction information management device ID as verification data to the authentication server;
    A fourth communication unit that transmits and receives data to and from the transaction information input device; an encryption key storage unit that stores the transaction information management device ID and the encryption key in association with each other; and An encryption key specifying means for specifying the encryption key based on the transaction information management device ID stored in the process; a second transaction information hash value is calculated based on the transaction information; Second hash value calculation means for calculating a second specific information hash value based on the data; and the second transaction information hash value, the second specific information hash value, and the specific data in the transaction information are encrypted. Second encryption means for encrypting with a key to generate second encrypted transaction information, verification of the first transaction information hash value and the second transaction information hash value, the first specific information hash value An authentication means for authenticating the legitimacy of the transaction by collating with the second specific information hash value and collating with the first encrypted transaction information and the second encrypted transaction information. Tax management system to do.
  6.  キャッシュレジスタと、該キャッシュレジスタと通信可能に接続され、該キャッシュレジスタによって精算された売買取引金額の税額を含む取引情報を管理する取引情報管理装置と、該取引情報の暗号化を行う取引情報暗号化装置と、該取引情報の認証を行う認証サーバと、該認証サーバと通信可能に接続され、該認証サーバに該取引情報の入力を行う取引情報入力装置とを備える税管理システムにより売買取引金額の税額を管理する税管理システムであって、
     前記キャッシュレジスタが、前記取引情報管理装置とデータの送受信が可能な第1通信手段であって、前記取引情報を前記取引情報管理装置に送信する第1通信手段と、レシートを発行する印刷手段とを有し、
     前記取引情報管理装置が、前記キャッシュレジスタから前記取引情報を受信する第2通信手段と、前記取引情報を記憶する記憶部とを有し、
     前記取引情報暗号化装置が、前記取引情報管理装置から受信した前記取引情報の中の特定のデータを固有の暗号鍵によって暗号化して第1暗号化取引情報を生成する第1暗号化手段と、前記取引情報管理装置に前記第1暗号化手段の送信を行う第3通信手段とを有し、
     前記取引情報管理装置の第2通信手段が、前記取引情報の中の特定のデータ、前記第1暗号化取引情報、及び前記取引情報管理装置を一意に特定する取引情報管理装置IDを前記キャッシュレジスタに送信し、
     前記取引情報入力装置が、前記レシート印字情報を取得する入力手段と、前記レシート印字情報を照合用データとして前記認証サーバへ送信する第4通信手段とを有し、
     前記認証サーバが、前記取引情報入力装置との間でデータの送受信を行う第5通信部と、前記取引情報管理装置IDと前記取引情報管理装置に接続される取引情報暗号化装置で使用する前記暗号鍵とを関連づけて記憶する暗号鍵記憶部と、前記暗号鍵記憶部に記憶された前記取引情報管理装置IDに基づいて前記暗号鍵を特定する暗号鍵特定手段と、前記取引情報の中の特定のデータを前記暗号鍵によって暗号化して第2暗号化取引情報を生成する第2暗号化手段と、前記第1暗号化取引情報と前記第2暗号化取引情報との照合をそれぞれ行い、取引の正当性を認証する認証手段とを有することを特徴とする税管理システム。
    A cash register, a transaction information management device that is communicably connected to the cash register and manages transaction information including a tax amount of the sales transaction amount settled by the cash register, and a transaction information encryption for encrypting the transaction information Transaction amount by a tax management system comprising an authentication device, an authentication server that authenticates the transaction information, and a transaction information input device that is communicably connected to the authentication server and inputs the transaction information to the authentication server A tax management system for managing the tax amount of
    The cash register is a first communication means capable of transmitting / receiving data to / from the transaction information management apparatus, the first communication means for transmitting the transaction information to the transaction information management apparatus, and a printing means for issuing a receipt. Have
    The transaction information management device includes a second communication unit that receives the transaction information from the cash register, and a storage unit that stores the transaction information.
    The transaction information encryption device encrypts specific data in the transaction information received from the transaction information management device with a unique encryption key to generate first encrypted transaction information; and A third communication means for transmitting the first encryption means to the transaction information management device;
    The second communication means of the transaction information management device stores the transaction data management device ID for uniquely identifying the specific data in the transaction information, the first encrypted transaction information, and the transaction information management device in the cash register. To
    The transaction information input device has input means for acquiring the receipt print information, and fourth communication means for transmitting the receipt print information as verification data to the authentication server,
    The authentication server uses the fifth communication unit that transmits / receives data to / from the transaction information input device, the transaction information management device ID, and the transaction information encryption device connected to the transaction information management device. An encryption key storage unit that associates and stores an encryption key; an encryption key specifying unit that specifies the encryption key based on the transaction information management device ID stored in the encryption key storage unit; and A second encryption means for encrypting specific data with the encryption key to generate second encrypted transaction information, and verifying the first encrypted transaction information and the second encrypted transaction information, respectively, A tax management system comprising an authenticating means for authenticating the legitimacy of the tax.
  7.  請求項4~6のいずれかに記載の税管理システムに用いられる取引情報管理装置。 A transaction information management device used in the tax management system according to any one of claims 4 to 6.
  8.  請求項4または5に記載の税管理システムに用いられる取引情報管理装置であって、前記取引情報、前記取引情報の中の特定のデータ、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値及び前記第1暗号化取引情報を、前記取引情報管理装置を一意に特定する取引情報管理装置IDと関連づけて取引管理情報として記憶する取引管理情報記憶手段と、外部記憶媒体に前記取引管理情報を送信する外部記憶媒体装着手段とをさらに備える取引情報管理装置。 The transaction information management device used in the tax management system according to claim 4 or 5, wherein the transaction information, specific data in the transaction information, the first transaction information hash value, and the first specific information hash Transaction management information storage means for storing the value and the first encrypted transaction information as transaction management information in association with a transaction information management device ID that uniquely identifies the transaction information management device; and the transaction management information in an external storage medium The transaction information management device further comprising an external storage medium mounting means for transmitting the message.
  9.  請求項4または5に記載の税管理システムに用いられる取引情報管理装置であって、前記取引情報、前記取引情報の中の特定のデータ、前記第1取引情報ハッシュ値、前記第1特定情報ハッシュ値及び前記第1暗号化取引情報を、前記取引情報管理装置を一意に特定する取引情報管理装置IDと関連づけて取引管理情報として記憶する取引管理情報記憶手段をさらに備え、前記第2通信手段が、前記取引管理情報を前記認証サーバに送信する取引情報管理装置。 The transaction information management device used in the tax management system according to claim 4 or 5, wherein the transaction information, specific data in the transaction information, the first transaction information hash value, and the first specific information hash Transaction management information storage means for storing the value and the first encrypted transaction information as transaction management information in association with a transaction information management apparatus ID that uniquely identifies the transaction information management apparatus; and the second communication means A transaction information management apparatus that transmits the transaction management information to the authentication server.
  10.  請求項4~6のいずれかに記載の税管理システムに用いられる認証サーバ。 An authentication server used in the tax management system according to any one of claims 4 to 6.
PCT/JP2012/063509 2011-05-31 2012-05-25 Tax administration method, tax administration system, transaction information administration device, and authentication server WO2012165337A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201161491433P 2011-05-31 2011-05-31
US61/491,433 2011-05-31

Publications (1)

Publication Number Publication Date
WO2012165337A1 true WO2012165337A1 (en) 2012-12-06

Family

ID=47259193

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/063509 WO2012165337A1 (en) 2011-05-31 2012-05-25 Tax administration method, tax administration system, transaction information administration device, and authentication server

Country Status (1)

Country Link
WO (1) WO2012165337A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10504150A (en) * 1994-07-19 1998-04-14 バンカーズ トラスト カンパニー A method for securely using digital signatures in commercial cryptosystems
JP2004304338A (en) * 2003-03-28 2004-10-28 Ntt Data Corp Data registration system, data registration method and program
JP2005107569A (en) * 2003-09-26 2005-04-21 Ntt Docomo Inc Electronic coupon distribution device, and electronic coupon reception device
JP2008529186A (en) * 2005-02-02 2008-07-31 リテイル・イノヴェイション・エイチティティ・アクチボラゲット System and method for registration control
JP2011197913A (en) * 2010-03-18 2011-10-06 Bmc International Corp Tax management method, tax management system, data management apparatus, and authentication server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10504150A (en) * 1994-07-19 1998-04-14 バンカーズ トラスト カンパニー A method for securely using digital signatures in commercial cryptosystems
JP2004304338A (en) * 2003-03-28 2004-10-28 Ntt Data Corp Data registration system, data registration method and program
JP2005107569A (en) * 2003-09-26 2005-04-21 Ntt Docomo Inc Electronic coupon distribution device, and electronic coupon reception device
JP2008529186A (en) * 2005-02-02 2008-07-31 リテイル・イノヴェイション・エイチティティ・アクチボラゲット System and method for registration control
JP2011197913A (en) * 2010-03-18 2011-10-06 Bmc International Corp Tax management method, tax management system, data management apparatus, and authentication server

Similar Documents

Publication Publication Date Title
US11880815B2 (en) Device enrollment system and method
US10025957B2 (en) Learning a new peripheral using a security provisioning manifest
US20210304197A1 (en) Processing system for processing cryptocurrencies and method for processing cryptocurrencies
WO2011068650A1 (en) Secure electronic receipt systems and methods
KR101053097B1 (en) Apparatus and method for issuing electronic tax invoice
CN106688004A (en) Transaction authentication method, device, mobile terminal, POS terminal and server
KR101812638B1 (en) Module, service server, system and method for authenticating genuine goods using secure element
SE536589C2 (en) Secure two-party comparison transaction system
CN109754247A (en) For the system and method based on bio-identification and device data certification user
JP2011034556A (en) Information system, processing station, credit card payment method
JPWO2013057874A1 (en) Electronic receipt system, terminal device, electronic receipt providing method and program
JP5473697B2 (en) Tax management method, tax management system, data management device, and authentication server
US20130297451A1 (en) Method and system for product or service source authentication
KR101245272B1 (en) Mobile coupon real time certificaton and payment method using mobile terminal such as smart phones and apparatus for the method
JP6037425B2 (en) Electronic receipt issuing system
US11694202B2 (en) Transaction certification management system, transaction certification management apparatus, and transaction certification processing method
WO2012165337A1 (en) Tax administration method, tax administration system, transaction information administration device, and authentication server
US20200286072A1 (en) Information processing apparatus, information processing system, and information processing method, and program
JP7017857B2 (en) Electronic ticket management system, electronic ticket management device, electronic ticket management method and electronic ticket management program
Cha et al. Ensuring the integrity and non-repudiation of remitting e-invoices in conventional channels with commercially available NFC devices
JP6009521B2 (en) User identification system, method and program
JP6310562B2 (en) System, storage medium processing apparatus, electronic money account registration method, digital ticket account registration method, and program
OA18757A (en) Tax Administration Method, Tax Administration System, Transaction Information Administration Device, and Authentication Server.
KR20190119294A (en) Cryptocurrency hardware wallet for authenticating interlocked transaction and method thereof
KR101527505B1 (en) Method for Approving a Product Exchange

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12793389

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12793389

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP