[go: up one dir, main page]

JP2007274289A - Service transaction system and program thereof - Google Patents

Service transaction system and program thereof Download PDF

Info

Publication number
JP2007274289A
JP2007274289A JP2006096692A JP2006096692A JP2007274289A JP 2007274289 A JP2007274289 A JP 2007274289A JP 2006096692 A JP2006096692 A JP 2006096692A JP 2006096692 A JP2006096692 A JP 2006096692A JP 2007274289 A JP2007274289 A JP 2007274289A
Authority
JP
Japan
Prior art keywords
service
data
transaction
identification information
transmitted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2006096692A
Other languages
Japanese (ja)
Other versions
JP4820997B2 (en
Inventor
Shinsuke Tamura
信介 田村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Fukui NUC
Original Assignee
University of Fukui NUC
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 University of Fukui NUC filed Critical University of Fukui NUC
Priority to JP2006096692A priority Critical patent/JP4820997B2/en
Publication of JP2007274289A publication Critical patent/JP2007274289A/en
Application granted granted Critical
Publication of JP4820997B2 publication Critical patent/JP4820997B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

【課題】本発明は、サービス利用者が個々の取引を自分自身と関連付けられることなくサービス依頼することができるとともにサービス提供者がサービス利用者の利用料金の適正な総額を確実に算定することができるサービス取引システムを提供することを目的とするものである。
【解決手段】サービス提供装置1において生成した取引識別情報をサービス利用装置2で取得し、サービス取引ごとにサービス提供装置1に送信して署名処理したものを次回のサービス取引に使用することで、サービス利用装置2の取引権限をチェックする。また、サービス利用装置2で今回及び次回の取引識別情報に基づいて生成した確認情報を送信してサービス提供装置1で一次結合データを生成し、一次結合データをサービス利用装置2に登録する。サービス取引ごとの一次結合データを集計して利用料金の合計額を算出すると共に確認情報に基づいて集計の際の不正操作を判定する。
【選択図】図7
The present invention enables a service user to request a service without associating individual transactions with himself / herself and enables the service provider to reliably calculate an appropriate total amount of the service user's usage fee. It aims at providing the service transaction system which can be performed.
By obtaining the transaction identification information generated in the service providing device 1 by the service using device 2 and transmitting the signature to the service providing device 1 for each service transaction and using it for the next service transaction, The transaction authority of the service using device 2 is checked. Also, the service utilization apparatus 2 transmits confirmation information generated based on the current and next transaction identification information, the service provision apparatus 1 generates primary combined data, and the primary combined data is registered in the service utilization apparatus 2. The primary combined data for each service transaction is aggregated to calculate the total amount of usage charges, and unauthorized operations are determined based on the confirmation information.
[Selection] Figure 7

Description

本発明は、サービス取引システムにおいて、当該システムに関係する個人や物に密接に関連付けられる個別情報や取引情報が特定されることなくサービス取引を実施するサービス取引システム及びそのプログラムに関する。   The present invention relates to a service transaction system for executing a service transaction without specifying individual information or transaction information closely related to an individual or an object related to the system, and a program thereof.

インターネット等のネットワークシステムが急速に普及するにつれて、様々な情報がネットワーク上で送受信されている。しかしながら、ネットワーク上でやりとりされる情報は、常に悪意を持った第三者に不正に取得されたり改変される危険性がある。そのため、安全対策として様々な暗号化処理技術が開発されており、ネットワーク上で送受信される情報を暗号化することで情報の不正利用や改変を防止するようにしている。   As network systems such as the Internet rapidly spread, various types of information are transmitted and received on the network. However, there is a risk that information exchanged on the network is always illegally obtained or altered by a malicious third party. For this reason, various encryption processing techniques have been developed as a safety measure, and information transmitted and received on the network is encrypted to prevent unauthorized use and modification of the information.

こうした通信情報の暗号化処理技術は、通信時の不正取得や改変には有効であるが、暗号化処理された情報が正当に取得されて復号化された後の情報の悪用には対応することができない。   Such communication information encryption processing technology is effective for unauthorized acquisition and modification during communication, but it can handle misuse of information after the encrypted information has been properly acquired and decrypted. I can't.

すなわち、特定の個人がサービス提供会社にID及びパスワードを暗号化して送信し、サービス提供会社からサービスを受けた場合、その個人の受けたサービス内容は、IDとともにサービス提供会社に蓄積され、その個人の関連情報として記憶されていく。このように蓄積された個別情報は、サービス提供会社で厳格な情報管理がなされていたとしても不正流用されるおそれがある。特に、情報処理システムの高度化に伴って大量の情報を簡単に処理することができるようになり、その危険性は大きくなっている。   That is, when a specific individual sends an encrypted ID and password to a service provider and receives a service from the service provider, the service content received by the individual is stored in the service provider together with the ID, and the individual It is memorized as related information. Individual information accumulated in this way may be misappropriated even if strict information management is performed by the service provider. In particular, with the advancement of information processing systems, it has become possible to easily process a large amount of information, and the danger has increased.

例えば、銀行預金の預け入れや払い出し、クレジットカードを用いた商品の購入といったサービス取引では、サービス提供者である銀行や信販会社によって大量の取引情報が蓄積されるが、これらの取引情報が個人情報と関連付けられて蓄積されるためにこうした情報の保護が必要となる。そのため、サービス取引の際にサービス利用者の匿名性を高めることで、取引情報と個人情報との関連付けられないようする手法が検討されている。   For example, in service transactions such as deposit and withdrawal of bank deposits and purchases of products using credit cards, a large amount of transaction information is accumulated by the service provider bank or credit sales company. This information needs to be protected in order to be stored in association. For this reason, methods for preventing the association between transaction information and personal information by increasing the anonymity of service users during service transactions are being studied.

特許文献1では、サービス提供者の端末が、サービス利用者に対してユーザIDを生成・発行するとともに該ユーザIDの正当性を証明する証明書を生成し、サービスの提供に必要なサービス利用者の個人情報をユーザIDと関連付けて記憶し、一の利用者の端末が他の利用者を指定して前記サービス提供者によるサービスを利用する際にユーザID及び証明書を取得し、該証明書によりユーザIDの正当性を検証してサービス提供者の端末に提示し、サービス提供者が該ユーザIDに関連付けられた個人情報基づきサービス提供を行う点が記載されている。   In Patent Document 1, a service provider terminal generates and issues a user ID to a service user, generates a certificate that proves the validity of the user ID, and is a service user necessary for providing the service. Personal information is stored in association with the user ID, and when the terminal of one user designates another user and uses the service provided by the service provider, the user ID and certificate are obtained, and the certificate is obtained. Describes that the validity of the user ID is verified and presented on the terminal of the service provider, and the service provider provides the service based on the personal information associated with the user ID.

特許文献2では、商品の発注者が使用する発注者端末装置で匿名サービス提供者によって公開された公開鍵によって商品の宛先情報を暗号化した宛先暗号化情報を生成し、受注者端末装置では、受信した宛先暗号化情報を出力して匿名サービス端末装置に取り込み、匿名サービス端末装置では、取り込んだ宛先暗号化情報を秘密鍵によって復号して発注された商品の配送先を特定する点が記載されている。   In Patent Literature 2, destination encrypted information obtained by encrypting destination information of a product with a public key published by an anonymous service provider in an orderer terminal device used by the orderer of the product is generated. The received destination encryption information is output and imported into the anonymous service terminal device, and the anonymous service terminal device describes that the destination encryption information is decrypted with a secret key and the delivery destination of the ordered product is specified. ing.

特許文献3では、購入者が加盟店に匿名IDを用いて商品を発注し、加盟店から匿名サービス提供者への商品の発送には購入者の個人情報が記載されていない伝票を用い、匿名サービス提供者において購入者の住所・氏名等が記載された伝票に変換した後、商品を購入者へ配送するようにした点が記載されている。   In Patent Document 3, a purchaser orders a product from a member store using an anonymous ID, and uses a slip that does not contain the purchaser's personal information to ship the product from the member store to the anonymous service provider. It is described that the service provider converts the purchaser's address, name, etc. into a slip and then delivers the product to the purchaser.

なお、本明細書において、「個別情報」とは、個人、会社等の法人及び個別に特定されて取り扱われる物(以下「個人等」という。)に関する情報であって、当該情報に含まれる氏名、生年月日その他の記述等により特定の個人等を識別することができるもの(他の情報と容易に照合することができ、それにより特定の個人等を識別することができることとなるものを含む。)を意味する。
特開2005−50330号公報 特開2004−139413号公報 特開2002−7904号公報
In this specification, “individual information” refers to information regarding individuals, corporations such as companies, and items that are individually identified and handled (hereinafter referred to as “individuals”), and the names included in the information. , Which can identify a specific individual by date of birth or other description (including those that can be easily collated with other information, thereby identifying a specific individual, etc.) .)
JP 2005-50330 A JP 2004-139413 A JP 2002-7904 A

上述した特許文献に示すように、サービス利用者とサービス提供者との間に両方に誠実で中立的な機関を設立して、その機関を介してサービス取引が個人情報と関連付けられないようにすることは、中立的な機関においてサービス取引が個人情報と関連付けられるため中立的な機関からの情報漏洩の可能性がある限り絶対的に信用できるシステムとはなっていない。   As shown in the above-mentioned patent document, a sincere and neutral organization is established between the service user and the service provider so that service transactions are not associated with personal information through the organization. This is not an absolutely reliable system as long as there is a possibility of information leakage from a neutral institution because service transactions are associated with personal information in a neutral institution.

このように、互いに信用できないサービス利用者及びサービス提供者がネットワークで接続されてサービス取引を実施するシステムでは、互いに安心してサービス取引を行うことはできないのが現状である。   As described above, in a system in which service users and service providers that are not trusted with each other are connected via a network to perform service transactions, it is currently impossible to perform service transactions with peace of mind.

そこで、本発明は、サービス利用者及びサービス提供者が通信手段で接続されてサービス取引を行うサービス取引システムにおいて、サービス利用者が個々の取引を自分自身と関連付けられることなくサービス依頼することができるとともにサービス提供者がサービス利用者の利用料金の適正な総額を確実に算定することができ、またサービス利用者や提供者が不正な取引を実行した場合にはそれを特定することができるサービス取引システムを提供することを目的とするものである。   Therefore, the present invention is a service transaction system in which a service user and a service provider are connected by communication means to perform a service transaction, and the service user can request a service without associating each transaction with itself. Service transactions that allow service providers to reliably calculate the appropriate amount of service users' fees and to identify any unauthorized transactions by service users or providers The purpose is to provide a system.

本発明に係るサービス取引システムは、サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムであって、前記サービス提供装置は、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定する識別情報判定手段と、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理を行うサービス提供手段と、サービス利用装置から送信された暗号化取引識別情報に署名処理する署名処理手段と、サービス利用装置から送信された今回の取引識別情報及び確認情報の組を含む情報をサービス利用装置の取引記録として生成する取引記録生成手段とを備え、前記サービス利用装置は、メモリに記憶されたサービス提供装置による署名処理済みの取引識別情報をサービス提供装置に送信してサービス依頼を行うサービス依頼手段と、次回のサービス取引の取引識別情報を選択する識別情報選択手段と、取引識別情報を暗号化処理し暗号化取引識別情報を生成する暗号化処理手段と、サービス提供装置から送信された署名処理済みの暗号化取引識別情報を復号化処理して署名処理済みの取引識別情報をメモリに記憶する復号化処理手段と、次回取引のための取引識別情報からサービス提供装置が知らないパラメータを用いて計算される確認情報を生成する確認情報処理手段とを備えていることを特徴とする。   A service transaction system according to the present invention includes a service use device and a service providing device that is connected to the service use device via a communication unit and receives a service request from the service use device and processes the service. In the service transaction system, when the service providing apparatus determines that the transaction identification information transmitted from the service using apparatus is valid, the identification information determination means, and the transaction identification information is determined to be valid Service providing means for performing service processing in response to a request from the service using apparatus, signature processing means for performing signature processing on the encrypted transaction identification information transmitted from the service using apparatus, and the current transaction transmitted from the service using apparatus Transaction record generator for generating information including a set of identification information and confirmation information as a transaction record of a service using device The service using device transmits transaction identification information that has been signed by the service providing device stored in the memory to the service providing device and makes a service request, and transaction identification of the next service transaction. Identification information selection means for selecting information; encryption processing means for encrypting transaction identification information to generate encrypted transaction identification information; and decrypting encrypted transaction identification information that has been subjected to signature processing transmitted from the service providing apparatus Decryption processing means for storing transaction identification information that has been processed and signed in memory, and confirmation for generating confirmation information calculated using parameters that the service providing apparatus does not know from the transaction identification information for the next transaction And an information processing means.

本発明に係るサービス取引方法は、サービス利用装置からのサービス依頼を受けてサービス提供装置が当該サービスを処理するサービス取引方法であって、サービス利用装置が予めサービス提供装置から取得した署名処理済みの取引識別情報を送信してサービス提供装置にサービス依頼し、サービス提供装置が、サービス利用装置から送信された取引識別情報が有効なものであるか否かを判定し、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理するとともに、サービス利用装置が、次回のサービス取引の取引識別情報を暗号化処理することによって暗号化取引識別情報を生成し、また次回の取引識別情報からサービス提供装置の知らないパラメータを用いて計算される確認情報を生成してそれぞれサービス提供装置に送信し、サービス提供装置が、サービス利用装置から送信された暗号化取引識別情報に対して署名処理するとともに、今回の取引識別情報及び確認情報を含む情報をサービス利用装置の取引記録として生成し、サービス利用装置が、サービス提供装置から送信された署名処理済みの暗号化取引識別情報を復号化処理して署名処理済みの取引識別情報を取得することを特徴とする。   A service transaction method according to the present invention is a service transaction method in which a service providing apparatus processes a service in response to a service request from a service using apparatus, and the service using apparatus has received a signature process previously acquired from the service providing apparatus. Send the transaction identification information to request service from the service providing device, the service providing device determines whether the transaction identification information transmitted from the service using device is valid, and determines that the transaction identification information is valid Service processing in response to a request from the service using device, the service using device generates encrypted transaction identification information by encrypting the transaction identification information of the next service transaction, and Confirmation information calculated using parameters unknown to the service provider from the transaction identification information The service providing apparatus performs signature processing on the encrypted transaction identification information transmitted from the service using apparatus, and records information including the current transaction identification information and confirmation information on the transaction record of the service using apparatus. And the service using apparatus decrypts the signature-processed encrypted transaction identification information transmitted from the service providing apparatus to obtain the signature-processed transaction identification information.

本発明に係るプログラムは、サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムにおいて、該サービス利用装置を機能させるためのプログラムであって、前記サービス利用装置を、メモリに記憶されたサービス提供装置による署名処理済みの取引識別情報をサービス提供装置に送信してサービス依頼を行う手段、次回のサービス取引の取引識別情報を選択する手段、取引識別情報を暗号化処理し暗号化取引識別情報を生成する手段、次回のサービス取引の取引識別情報からサービス提供装置の知らないパラメータを用いて計算される確認情報を生成する手段、サービス提供装置から送信された署名処理済みの暗号化取引識別情報を復号化処理して署名処理済みの取引識別情報をメモリに記憶する手段、として機能させる。   A program according to the present invention is a service transaction comprising a service using device and a service providing device that is connected to the service using device via a communication means and receives a service request from the service using device and processes the service. In the system, a program for causing the service using device to function, wherein the service using device transmits the transaction identification information processed by the service providing device stored in the memory to the service providing device to request a service. Means for selecting transaction identification information for the next service transaction, means for encrypting the transaction identification information to generate encrypted transaction identification information, parameters unknown to the service providing device from the transaction identification information for the next service transaction A means for generating confirmation information calculated using a service, transmitted from a service providing apparatus Signature processed encrypted transaction identification information means for storing the transaction identification information of the decoding process to signed processed in memory, to function as a.

本発明に係る別のプログラムは、サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムにおいて、該サービス提供装置を機能させるためのプログラムであって、前記サービス提供装置を、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定する手段、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理を行う手段、サービス利用装置から送信された暗号化取引識別情報に署名処理する手段、サービス利用装置から送信された今回の取引識別情報と確認情報の組を含む情報をサービス利用装置の取引記録として生成する手段、として機能させる。   Another program according to the present invention includes a service using device and a service providing device that is connected to the service using device via communication means and receives a service request from the service using device and processes the service. In the service transaction system, a program for causing the service providing device to function, wherein the service providing device is a means for determining whether or not the transaction identification information transmitted from the service using device is valid, transaction identification Means for performing service processing in response to a request from the service using device when it is determined that the information is valid, means for performing signature processing on the encrypted transaction identification information transmitted from the service using device, and this time transmitted from the service using device For generating information including a set of transaction identification information and confirmation information as a transaction record of a service using device To function as.

本発明に係る別のサービス取引システムは、サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムであって、前記サービス利用装置は、k回目のサービス取引において(k+1)回目のサービス取引の取引識別情報T(k+1)を暗号化処理し暗号化取引識別情報を生成する暗号化処理手段と、取引識別情報T(k+1)から計算されるM個の要素データVs(k+1)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成する確認情報処理手段と、サービス提供装置から送信された署名処理済みの暗号化取引識別情報を復号化処理して署名処理済みの取引識別情報をメモリに記憶する復号化処理手段と、メモリに記憶されたk回目のサービス取引のための署名処理済みの取引識別情報T(k)をサービス提供装置に送信してサービス依頼を行うサービス依頼手段と、k回目のサービス取引記録としてサービス提供装置から送信される、後記の式(B)に基づいて計算される互いに独立なP個の一次結合データSj(k)(j=1,2,…,P)を登録する登録手段と、サービス提供装置からの集計依頼に応じて登録された一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに、サービス提供装置から送信された集計値Σrk+1t(k)(t=1,2,…,M)を復号化処理して集計値ΣXu(k)(u=1,2,…,M)を生成する要素集計値処理手段とを備え、前記サービス提供装置は、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定する識別情報判定手段と、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理を行うサービス提供手段と、サービス利用装置から送信された暗号化取引識別情報に署名処理する署名処理手段と、サービス利用装置の知らないP2個の係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)の列を記憶する記憶手段と、記憶手段に記憶された係数データaij及び乱数rkを用いて、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)並びにサービス利用装置から送信された取引識別情報T(k)によって計算されるM個の要素データVs(k)及び確認情報Wt(k)を含むP(P≧2M+2)個の値の互いに独立な一次結合データSj(j=1,2,…,P)を以下の式(B)
j(k)=a1jE(k)+{a(1+1)j1(k)+a(2+1)j2(k)+…+a(M+1)M(k)}rk+{a(M+1+1)j1(k)+a(M+2+1)j2(k)+…+a(2M+1)M(k)}rk+1+a(2M+2)jR(k)・・・(B)
により算出する結合計算手段と、サービス利用装置のサービス取引回数をN回として、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出する合計額算出手段と、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値Σrks(k)並びに取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1t(k)を算出するとともに集計値Σrk+1t(k)を送信する要素集計値算出手段と、集計値Σrks(k)とサービス利用装置から送信された集計値ΣXu(k)が矛盾するか否か判定する不正判定手段とを備えていることを特徴とする。
Another service transaction system according to the present invention includes a service use device, and a service providing device that is connected to the service use device via a communication unit and receives a service request from the service use device and processes the service. In the service transaction system, the service using device encrypts the transaction identification information T (k + 1) of the (k + 1) -th service transaction in the k-th service transaction to generate encrypted transaction identification information. M is independent of each other by coefficients that are not known by the service providing device and the M element data V s (k + 1) (s = 1, 2,..., M) calculated from the transaction identification information T (k + 1). Confirmation information processing means for generating confirmation information W t (k) (t = 1, 2,..., M), which is a linear combination, and an encrypted transaction identifier that has been processed by the signature transmitted from the service providing apparatus. Decryption processing means for decrypting the other information and storing the signature-processed transaction identification information in the memory, and signature-processed transaction identification information T (k) for the k-th service transaction stored in the memory Service request means for sending a service request to the service providing apparatus, and P pieces of independent P calculated from the formula (B) below, transmitted from the service providing apparatus as the kth service transaction record. The registration means for registering the primary combined data S j (k) (j = 1, 2,..., P) and the primary combined data S j (k) registered in response to the aggregation request from the service providing apparatus are represented by j. The combined aggregated data ΣS j (k) aggregated for k is calculated every time and the aggregated value Σr k + 1 W t (k) (t = 1, 2,..., M) transmitted from the service providing apparatus is decoded. processing to aggregate values ΣX u (k) (u = 1,2, ..., M) to produce a An identification value determining means for determining whether or not the transaction identification information transmitted from the service using apparatus is valid, and the transaction identification information is determined to be valid. Service providing means for performing service processing in response to a request from the service using device, signature processing means for processing the encrypted transaction identification information transmitted from the service using device, and P 2 unknown to the service using device. Storage means for storing columns of coefficient data a ij (i = 1, 2,..., P; j = 1, 2,..., P) and random numbers r k (k = 1, 2,...); by using the coefficient data a ij and the random number r k stored in the unit, the service based on the use fee transaction data E (k), the random number R (k) and transmitted from the service using apparatus transaction identification information T (k ) M-number calculated by the element data V s (k)及Confirmation information W t (k) including P (P ≧ 2M + 2) pieces of mutually independent linear combinations of the values data S j (j = 1,2, ... , P) following equation (B)
S j (k) = a 1j E (k) + {a (1 + 1) j V 1 (k) + a (2 + 1) j V 2 (k) +... + A (M + 1) V M (k )} R k + {a (M + 1 + 1) j W 1 (k) + a (M + 2 + 1) j W 2 (k) +... + A (2M + 1) W M (k)} r k +1 + a (2M + 2) j R (k) (B)
A coupling calculating means for calculating a result, the service transaction number of the service using apparatus as N times, the service using apparatus of P sent from the bound aggregate data ΣS j (k) and the coefficient data a ij transaction identification information T based on (1) to total amount calculation means for calculating the total value ΣE (k) of data E (k) related to T (N), P pieces of combined total data ΣS j (k) and coefficients transmitted from the service using device Based on the data a ij , the total value Σr k V s (k) for k for each s of the product r k V s (k) of element data and random numbers related to the transaction identification information T (1) to T (N) and A total value Σr k + 1 W t (k) for k for each t of the product r k + 1 W t (k) of the confirmation information on the transaction identification information T (1) to T (N + 1) and the random number is calculated. and element aggregate value calculating means for transmitting aggregate value Σr k + 1 W t a (k) with Wherein the aggregate value Σr k V s (k) and transmitted from the service using apparatus the aggregate value .SIGMA.X u (k) is a fraud determination means for determining whether or not contradictory.

本発明に係る別のサービス取引方法は、サービス利用装置からのサービス依頼を受けてサービス提供装置が当該サービスを処理するサービス取引方法であって、サービス利用装置が、そのk回目のサービス取引において予めサービス提供装置から取得した署名処理済みの取引識別情報T(k)を送信してサービス提供装置にサービス依頼し、サービス提供装置が、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定するとともに、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理し、サービス利用装置が、次回のサービス取引の取引識別情報T(k+1)を暗号化した暗号化取引識別情報と、取引識別情報T(k+1)に基づいて計算されるM個の要素データVs(k)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成し、サービス提供装置が、次回サービス取引のための暗号化識別情報に署名するとともに、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)、サービス利用装置から送信された取引識別情報T(k)に基づいて計算されるM個の要素データVs(k)及び確認情報Wt(k)を含むP(P≧2M+2)個の値の、サービス利用装置が知らない係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)を用いた互いに独立な一次結合データSj(k)(j=1,2,…,P)を以下の式(B)
j(k)=a1jE(k)+{a(1+1)j1(k)+a(2+1)j2(k)+…+a(M+1)M(k)}rk+{a(M+1+1)j1(k)+a(M+2+1)j2(k)+…+a(2M+1)M(k)}rk+1+a(2M+2)jR(k)・・・(B)
により算出し、算出されたP個の一次結合データSj(k)をサービス利用装置において登録し、サービス提供装置からの集計依頼に応じて、登録されたN回分の一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに結合集計データΣSj(k)をサービス提供装置に送信し、サービス提供装置が、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出し、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値Σrks(k)並びに取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1tを算出するとともに集計値Σrk+1t(k)をサービス利用装置に送信し、サービス利用装置が、サービス提供装置から送信された集計値Σrk+1t(k)を復号化処理して集計値ΣXu(k)(u=1,2,…,M)を生成し、サービス提供装置が、サービス利用装置から送信された集計値ΣXuと集計値Σrks(k)との間に矛盾があるか否かを判定することを特徴とする。
Another service transaction method according to the present invention is a service transaction method in which a service providing apparatus processes a service in response to a service request from a service utilization apparatus, and the service utilization apparatus is previously configured in the k-th service transaction. The transaction identification information T (k) that has been subjected to signature processing acquired from the service providing apparatus is transmitted to request a service from the service providing apparatus, and the service providing apparatus has valid transaction identification information transmitted from the service using apparatus. If the transaction identification information is determined to be valid, service processing is performed in response to a request from the service utilization device, and the service utilization device encrypts the transaction identification information T (k + 1) of the next service transaction. Encrypted transaction identification information and M element data V s (k) (s) calculated based on the transaction identification information T (k + 1) = 1, 2,..., M) generating confirmation information W t (k) (t = 1, 2,. The service providing apparatus signs the encrypted identification information for the next service transaction, and also includes data E (k), random number R (k) based on the usage fee for the service transaction, and transaction identification information transmitted from the service utilization device. Coefficient data a that the service using apparatus does not know of P (P ≧ 2M + 2) values including M element data V s (k) and confirmation information W t (k) calculated based on T (k) ij (i = 1, 2,..., P; j = 1, 2,..., P) and random numbers r k (k = 1, 2,...) and mutually independent primary combined data S j (k) ( j = 1,2, ..., P) with the following formula (B)
S j (k) = a 1j E (k) + {a (1 + 1) j V 1 (k) + a (2 + 1) j V 2 (k) +... + A (M + 1) V M (k )} R k + {a (M + 1 + 1) j W 1 (k) + a (M + 2 + 1) j W 2 (k) +... + A (2M + 1) W M (k)} r k +1 + a (2M + 2) j R (k) (B)
Calculated by, of P calculated linear combination data S j (k) is registered in the service using apparatus in accordance with the aggregation request from the service providing apparatus, one N times registered linear combination data S j (k ) Is calculated for k for each j, and the combined total data ΣS j (k) is calculated and the combined total data ΣS j (k) is transmitted to the service providing apparatus, and the service providing apparatus is transmitted from the service using apparatus. Based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij , an aggregate value ΣE (k) of data E (k) related to transaction identification information T (1) to T (N) is calculated, and the service is used. A product r k V s (k) of element data and random numbers related to transaction identification information T (1) to T (N) based on P pieces of combined total data ΣS j (k) and coefficient data a ij transmitted from the apparatus. For each s of k Total value? R k for k for each t in the aggregate value? R k V s (k) as well as transaction identification information T (1) ~T (N + 1) of the confirmation information and the random number relating to the product r k + 1 W t (k ) +1 W t is calculated and the total value Σr k + 1 W t (k) is transmitted to the service using apparatus, and the service using apparatus transmits the total value Σr k + 1 W t (k) transmitted from the service providing apparatus. Are generated to generate a total value ΣX u (k) (u = 1, 2,..., M), and the service providing apparatus transmits the total value ΣX u and the total value Σr k V transmitted from the service using apparatus. It is characterized by determining whether or not there is a contradiction with s (k).

本発明に係るさらに別のプログラムは、サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムにおいて、該サービス利用装置を機能させるためのプログラムであって、前記サービス利用装置を、k回目のサービス取引において(k+1)回目のサービス取引の取引識別情報T(k+1)を暗号化処理し暗号化取引識別情報を生成する手段、取引識別情報T(k+1)から計算されるM個の要素データVs(k+1)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成する手段、サービス提供装置から送信された署名処理済みの暗号化取引識別情報を復号化処理して署名処理済みの取引識別情報をメモリに記憶する復号化処理手段、メモリに記憶されたk回目のサービス取引のための署名処理済みの取引識別情報T(k)をサービス提供装置に送信してサービス依頼を行う手段、k回目のサービス取引記録としてサービス提供装置から送信される、後記の式(B)に基づいて計算される互いに独立なP個の一次結合データSj(k)(j=1,2,…,P)を登録する手段、サービス提供装置からの集計依頼に応じて登録された一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに、サービス提供装置から送信された集計値Σrk+1t(k)(t=1,2,…,M)を復号化処理して集計値ΣXu(k)(u=1,2,…,M)を生成する手段、として機能させる。 Still another program according to the present invention includes a service using device and a service providing device that is connected to the service using device via a communication unit and receives a service request from the service using device and processes the service. A service transaction system for functioning the service utilization device, wherein the service utilization device encrypts transaction identification information T (k + 1) of the (k + 1) th service transaction in the kth service transaction. Means for processing and generating encrypted transaction identification information, knowing the service providing apparatus of M element data V s (k + 1) (s = 1, 2,..., M) calculated from transaction identification information T (k + 1) Means for generating confirmation information W t (k) (t = 1, 2,..., M), which are M linear combinations independent of each other with no coefficients, transmitted from the service providing apparatus Decryption processing means for decrypting signature-processed encrypted transaction identification information and storing the signature-processed transaction identification information in a memory; Signature-processed transaction for k-th service transaction stored in memory Means for making a service request by transmitting identification information T (k) to the service providing device, transmitted from the service providing device as the k-th service transaction record, and calculated independently based on the following formula (B) P number of linear combinations data S j (k) (j = 1,2, ..., P) means for registering the primary binding data S j registered in accordance with the aggregation request from the service providing apparatus (k) each The combined aggregated data ΣS j (k) aggregated for k for each j is calculated, and the aggregated value Σr k + 1 W t (k) (t = 1, 2,..., M) transmitted from the service providing apparatus is calculated. decoding to aggregate values ΣX u (k) (u = 1,2, ..., M) generates a That means, to function as.

本発明に係るさらに別のプログラムは、サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムにおいて、該サービス提供装置を機能させるためのプログラムであって、前記サービス提供装置を、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定する手段、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理を行う手段、サービス利用装置から送信された暗号化取引識別情報に署名処理する手段、記憶手段に記憶された係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)を用いて、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)並びにサービス利用装置から送信された取引識別情報T(k)によって計算されるM個の要素データVs(k)及び確認情報Wt(k)を含むP(P≧2M+2)個の値の互いに独立な一次結合データSj(j=1,2,…,P)を以下の式(B)
j(k)=a1jE(k)+{a(1+1)j1(k)+a(2+1)j2(k)+…+a(M+1)M(k)}rk+{a(M+1+1)j1(k)+a(M+2+1)j2(k)+…+a(2M+1)M(k)}rk+1+a(2M+2)jR(k)・・・(B)
により算出する手段、サービス利用装置のサービス取引回数をN回として、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出する手段、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値Σrks(k)並びに取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1t(k)を算出するとともに集計値Σrk+1t(k)を送信する手段、集計値Σrks(k)とサービス利用装置から送信された集計値ΣXu(k)が矛盾するか否かで不正判定する手段、として機能させる。
Still another program according to the present invention includes a service using device and a service providing device that is connected to the service using device via a communication unit and receives a service request from the service using device and processes the service. In the service transaction system, a program for causing the service providing device to function, wherein the service providing device is a means for determining whether or not the transaction identification information transmitted from the service using device is valid. Means for performing service processing in response to a request from the service using apparatus when the identification information is determined to be valid, means for performing signature processing on the encrypted transaction identification information transmitted from the service using apparatus, and coefficient stored in the storage means data a ij (i = 1,2, ... , P; j = 1,2, ..., P) and the random number r k (k = 1,2, ... ) using a charge for the service transaction Based data E (k), the random number R (k) and M elements calculated by the transmitted transaction identification information T (k) from the service using apparatus data V s (k) and the confirmation information W t a (k) P (P ≧ 2M + 2) values of primary combination data S j (j = 1, 2,..., P) independent of each other are included in the following formula (B)
S j (k) = a 1j E (k) + {a (1 + 1) j V 1 (k) + a (2 + 1) j V 2 (k) +... + A (M + 1) V M (k )} R k + {a (M + 1 + 1) j W 1 (k) + a (M + 2 + 1) j W 2 (k) +... + A (2M + 1) W M (k)} r k +1 + a (2M + 2) j R (k) (B)
And the transaction identification information T (1) based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service utilization device, where N is the number of service transactions of the service utilization device. Means for calculating aggregate value ΣE (k) of data E (k) related to T (N), transaction based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service using device Aggregated value Σr k V s (k) for k for each s of product r k V s (k) of element data and random numbers relating to identification information T (1) to T (N) and transaction identification information T (1) The total value Σr k + 1 W t (k) for k for each t of the product r k + 1 W t (k) of the confirmation information and random numbers r to T (N + 1) is calculated and the total value Σr k + 1 It means for transmitting W t a (k), service utilization and aggregate value Σr k V s (k) Whether Incorrect determining means placed et the transmitted aggregate value .SIGMA.X u (k) is inconsistent, to function as a.

本発明に係るさらに別のサービス取引システムは、サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムであって、前記サービス利用装置は、k回目のサービス取引においてサービス取引に使用するために選択された取引識別情報T(k)とその取引回数に基づいて設定された回数データQ(k)を合体して識別データを生成する識別データ生成手段と、次回のサービス取引の識別データT(k+1)Q(k+1)を暗号化処理し暗号化識別データを生成する暗号化処理手段と、取引識別情報T(k+1)から計算されるM個の要素データVs(k+1)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成する確認情報処理手段と、サービス提供装置から送信された署名処理済みの暗号化識別データを復号化処理して署名処理済みの識別データをメモリに記憶する復号化処理手段と、メモリに記憶された署名処理済みの識別データをサービス提供装置に送信してサービス依頼を行うサービス依頼手段と、k回目のサービス取引記録としてサービス提供装置から送信される、後記の式(D)に基づいて計算される互いに独立なP個の一次結合データSj(k)(j=1,2,…,P)を登録する登録手段と、サービス提供装置からの集計依頼に応じて、登録されたN回分の一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに結合集計データΣSj(k)及び回数データQ(N)に相当する値をサービス提供装置に送信する集計処理手段と、サービス提供装置から送信された集計値Σrk+1t(k)(t=1,2,…,M)を復号化処理して集計値ΣXu(k)(u=1,2,…,M)を生成する要素集計値処理手段とを備え、前記サービス提供装置は、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定する識別情報判定手段と、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理を行うサービス提供手段と、サービス利用装置から送信された暗号化識別データに署名処理する署名処理手段と、サービス利用装置の知らないP2個の係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)の列を記憶する記憶手段と、サービス取引において、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)並びにサービス利用装置から送信された取引識別情報T(k)によって計算されるM個の要素データVs(k)及び確認情報Wt(k)を含むP(P≧2M+3)個の値の、記憶手段に記憶された係数データaij及び乱数rkを用いた互いに独立な一次結合データSj(j=1,2,…,P)を以下の式(D)
j(k)=a1jE(k)+a2jQ(k)+{a(1+2)j1(k)+a(2+2)j2(k)+…+a(M+2)M(k)}rk+{a(M+1+2)j1(k)+a(M+2+2)j2(k)+…+a(2M+2)M(k)}rk+1+a(2M+3)jR(k)・・・(D)
により算出する結合計算手段と、サービス利用装置のサービス取引回数をN回として、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出する合計額算出手段と、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する回数データQ(k)の集計値ΣQ(k)を算出して集計値ΣQ(k)とサービス利用装置から送信された回数データQ(N)に相当する値との間の整合性を判定する第一不正判定手段と、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値Σrks(k)並びに取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1t(k)を算出するとともに集計値Σrk+1t(k)を送信する要素集計値算出手段と、集計値Σrks(k)とサービス利用装置から送信された集計値ΣXu(k)が矛盾するか否か判定する第二不正判定手段とを備えていることを特徴とする。
Still another service transaction system according to the present invention includes a service using device, and a service providing device that is connected to the service using device via a communication unit and receives a service request from the service using device and processes the service. The service transaction system is provided, wherein the service utilization device is set based on transaction identification information T (k) selected for use in service transaction in the k-th service transaction and the number of transactions. Identification data generating means for generating identification data by combining the data Q (k), and encryption processing for generating encrypted identification data by encrypting identification data T (k + 1) Q (k + 1) of the next service transaction means a transaction identification information T (k + 1) is calculated from M element data V s (k + 1) ( s = 1,2, ..., M) of the service providing apparatus Confirmation by coefficients not known to be mutually independent M number of primary connection information W t (k) (t = 1,2, ..., M) and verify information processing means for generating a signature processing transmitted from the service providing apparatus The decryption processing means for decrypting the encrypted encrypted identification data and storing the signature processed identification data in the memory, and sending the signature processed identification data stored in the memory to the service providing apparatus and requesting the service Service request means for performing P, and P pieces of primary combination data S j (k) (j, which are calculated based on the following formula (D) and transmitted from the service providing apparatus as a k-th service transaction record = 1, 2,..., P), and the registered primary combined data S j (k) for N times is totaled for k for each j in response to a totaling request from the service providing apparatus. Calculate the combined data ΣS j (k) And total processing means for transmitting values corresponding to the combined total data ΣS j (k) and the count data Q (N) to the service providing apparatus, and the total value Σr k + 1 W t (k transmitted from the service providing apparatus. ) (T = 1, 2,..., M) to generate an aggregate value ΣX u (k) (u = 1, 2,..., M). The providing device responds to the request from the service using device when the transaction identifying information transmitted from the service using device is valid, and when the transaction identifying information is determined to be valid. Service providing means for performing service processing, signature processing means for performing signature processing on encrypted identification data transmitted from the service using apparatus, and P 2 coefficient data a ij (i = 1,2) unknown to the service using apparatus. , ..., P; j = 1,2 , ..., to store a sequence of P) and the random number r k (k = 1,2, ... ) M elements calculated by storage means and data E (k) based on the service transaction usage fee, random number R (k), and transaction identification information T (k) transmitted from the service utilization device data V s (k) and the confirmation information W t (k) including P (P ≧ 2M + 3) pieces of values, mutually independent linear combination data using the coefficient data a ij stored and the random number r k in the storage means S j (j = 1, 2,..., P) is expressed by the following equation (D)
S j (k) = a 1j E (k) + a 2j Q (k) + {a (1 + 2) j V 1 (k) + a (2 + 2) j V 2 (k) +... + A (M + 2) V M (k)} r k + {a (M + 1 + 2) j W 1 (k) + a (M + 2 + 2) j W 2 (k) + ... + a (2M + 2) W M (K)} r k + 1 + a (2M + 3) j R (k) (D)
The transaction calculation information is calculated based on the combined calculation data ΣS j (k) and the coefficient data a ij transmitted from the service utilization device, where N is the number of service transactions of the service utilization device and N is the number of service transactions of the service utilization device. (1) to total amount calculation means for calculating the total value ΣE (k) of data E (k) related to T (N), P pieces of combined total data ΣS j (k) and coefficients transmitted from the service using device Based on the data a ij , the total value ΣQ (k) of the count data Q (k) relating to the transaction identification information T (1) to T (N) is calculated, and the total value ΣQ (k) is transmitted from the service using device. First fraud determination means for determining consistency with a value corresponding to the number of times data Q (N), P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service using device. Transaction identification information T (1 About ~T product of element data and the random number relating to (N) r k V aggregate values for k for each s of s (k) Σr k V s (k) as well as transaction identification information T (1) ~T (N + 1) Calculate the total value Σr k + 1 W t (k) for k for each t of the product r k + 1 W t (k) of the confirmation information and the random number and calculate the total value Σr k + 1 W t (k) Element total value calculation means for transmission, and second fraud determination means for determining whether or not the total value Σr k V s (k) and the total value ΣX u (k) transmitted from the service using device are inconsistent. It is characterized by being.

本発明に係るさらに別のサービス取引方法は、サービス利用装置からのサービス依頼を受けてサービス提供装置が当該サービスを処理するサービス取引方法であって、サービス利用装置が、そのk回目のサービス取引において予めサービス提供装置から取得した署名処理済みの取引識別情報T(k)を送信してサービス提供装置にサービス依頼し、サービス提供装置が、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定するとともに、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理し、サービス利用装置が、次回のサービス取引の取引識別情報T(k+1)とその取引回数に基づいて設定された回数データQ(k+1)を合体して識別データT(k+1)Q(k+1)を生成し暗号化して暗号化識別データとしてサービス提供装置に送信し、サービス提供装置が暗号化識別データに署名処理し、サービス利用装置が、署名処理された暗号化識別データを復号化処理して署名処理済みの識別データを取得するとともに、次回の取引識別情報T(k+1)に基づいて計算されるM個の要素データVs(k+1)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成し、サービス提供装置が、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)、サービス利用装置から送信された識別データT(k)Q(k)から求められるQ(k)、サービス利用装置から送信された識別データT(k)Q(k)から求められるT(k)に基づいて計算されるM個の要素データVs(k)及びサービス利用装置から送信された確認情報Wt(k)を含むP(P≧2M+3)個の値の、サービス利用装置が知らない係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)を用いた互いに独立な一次結合データSj(k)(j=1,2,…,P)を以下の式(D)
j(k)=a1jE(k)+a2jQ(k)+{a(1+2)j1(k)+a(2+2)j2(k)+…+a(M+2)M(k)}rk+{a(M+1+2)j1(k)+a(M+2+2)j2(k)+…+a(2M+2)M(k)}rk+1+a(2M+3)jR(k)・・・(D)
により算出し、算出されたP個の一次結合データSj(k)をサービス利用装置において登録し、サービス提供装置からの集計依頼に応じて、登録されたN回分の一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに結合集計データΣSj(k)及び回数データQ(N)に相当する値をサービス提供装置に送信し、サービス提供装置が、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出し、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する回数データQ(k)の集計値ΣQ(k)を算出して集計値ΣQ(k)とサービス利用装置から送信された回数データQ(N)に相当する値との間の整合性を判定し、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値Σrks(k)並びに取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1tを算出するとともに集計値Σrk+1t(k)をサービス利用装置に送信し、サービス利用装置が、サービス提供装置から送信された集計値Σrk+1t(k)を復号化処理して集計値ΣXu(k)(u=1,2,…,M)を生成し、サービス提供装置が、サービス利用装置から送信された集計値ΣXuと集計値Σrks(k)との間に矛盾があるか否かを判定することを特徴とする。
Still another service transaction method according to the present invention is a service transaction method in which a service providing apparatus processes a service in response to a service request from a service utilization apparatus, and the service utilization apparatus performs the k-th service transaction. The transaction identification information T (k) having been subjected to signature processing acquired in advance from the service providing apparatus is transmitted to request the service providing apparatus, and the service providing apparatus has valid transaction identification information transmitted from the service using apparatus. In addition to determining whether or not the transaction identification information is valid, the service processing is performed in response to a request from the service using device, and the service using device receives the transaction identification information T (k + 1) for the next service transaction. Identification data T (k + 1) Q (k + 1) by combining the number data Q (k + 1) set based on the number of transactions Generated, encrypted, and transmitted as encrypted identification data to the service providing apparatus. The service providing apparatus performs signature processing on the encrypted identification data, and the service using apparatus decrypts the signature-processed encrypted identification data and performs signature. A service providing apparatus for obtaining M identification data V s (k + 1) (s = 1, 2,..., M) calculated based on the next transaction identification information T (k + 1) while obtaining processed identification data Confirmation information W t (k) (t = 1, 2,..., M), which are M linear combinations independent of each other by a coefficient that is unknown, is generated, and the service providing apparatus is based on the usage fee of the service transaction. Data E (k), random number R (k), identification data T (k) transmitted from the service using device Q (k) obtained from Q (k), identification data T (k) transmitted from the service using device T (k) calculated from Q (k) Coefficients calculated M elements data V s (k) and the service P utilization including confirmation information transmitted from the device W t (k) (P ≧ 2M + 3) are sets of values based, service utilization device does not know data a ij (i = 1,2, ... , P; j = 1,2, ..., P) and the random number r k (k = 1,2, ... ) in a flat independent using the following binding data S j (k ) (J = 1,2, ..., P) to the following formula (D)
S j (k) = a 1j E (k) + a 2j Q (k) + {a (1 + 2) j V 1 (k) + a (2 + 2) j V 2 (k) +... + A (M + 2) V M (k)} r k + {a (M + 1 + 2) j W 1 (k) + a (M + 2 + 2) j W 2 (k) + ... + a (2M + 2) W M (K)} r k + 1 + a (2M + 3) j R (k) (D)
Calculated by, of P calculated linear combination data S j (k) is registered in the service using apparatus in accordance with the aggregation request from the service providing apparatus, one N times registered linear combination data S j (k ) For each j, the combined total data ΣS j (k) is calculated, and the values corresponding to the combined total data ΣS j (k) and the number of times data Q (N) are transmitted to the service providing apparatus. The providing apparatus aggregates data E (k) related to transaction identification information T (1) to T (N) based on P pieces of combined aggregation data ΣS j (k) and coefficient data a ij transmitted from the service using apparatus. Count data relating to transaction identification information T (1) to T (N) based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service using device by calculating the value ΣE (k) Collection of Q (k) The measured value ΣQ (k) is calculated to determine consistency between the total value ΣQ (k) and the value corresponding to the number of times data Q (N) transmitted from the service using device, and transmitted from the service using device. For each s of the product r k V s (k) of element data and random numbers related to the transaction identification information T (1) to T (N) based on the P pieces of combined total data ΣS j (k) and the coefficient data a ij Of k for each t of the product r k + 1 W t (k) of the total value Σr k V s (k) of k and confirmation information on the transaction identification information T (1) to T (N + 1) and random numbers The aggregate value Σr k + 1 W t is calculated and the aggregate value Σr k + 1 W t (k) is transmitted to the service using device, and the service using device transmits the aggregate value Σr k + 1 W transmitted from the service providing device. t (k) is decrypted to generate an aggregate value ΣX u (k) (u = 1, 2,..., M). It is characterized by determining whether or not there is a contradiction between the total value ΣX u transmitted from the service using device and the total value Σr k V s (k).

本発明に係るさらに別のプログラムは、サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムにおいて、該サービス利用装置を機能させるためのプログラムであって、前記サービス利用装置を、k回目のサービス取引においてサービス取引に使用するために選択された取引識別情報T(k)とその取引回数に基づいて設定された回数データQ(k)を合体して識別データを生成する手段、次回のサービス取引の識別データT(k+1)Q(k+1)を暗号化処理し暗号化識別データを生成する手段、取引識別情報T(k+1)から計算されるM個の要素データVs(k+1)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成する手段、サービス提供装置から送信された署名処理済みの暗号化識別データを復号化処理して署名処理済みの識別データをメモリに記憶する手段、メモリに記憶された署名処理済みの識別データをサービス提供装置に送信してサービス依頼を行う手段、k回目のサービス取引記録としてサービス提供装置から送信される、後記の式(D)に基づいて計算される互いに独立なP個の一次結合データSj(k)(j=1,2,…,P)を登録する手段、サービス提供装置からの集計依頼に応じて、登録されたN回分の一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに結合集計データΣSj(k)及び回数データQ(N)に相当する値をサービス提供装置に送信する手段、サービス提供装置から送信された集計値Σrk+1t(k)(t=1,2,…,M)を復号化処理して集計値ΣXu(k)(u=1,2,…,M)を生成する手段、として機能させる。 Still another program according to the present invention includes a service using device and a service providing device that is connected to the service using device via a communication unit and receives a service request from the service using device and processes the service. In the service transaction system, a program for causing the service utilization device to function, the transaction identification information T (k) selected to use the service utilization device for the service transaction in the k-th service transaction; Means for generating identification data by combining the number of times data Q (k) set based on the number of transactions, identification data T (k + 1) Q (k + 1) for the next service transaction is encrypted and encrypted identification data means for generating a transaction identification information T (k + 1) is calculated from M element data V s (k + 1) ( s = 1,2, ..., M) Confirmation by a factor unknown to the service providing apparatus are mutually independent M number of primary connection information W t (k) (t = 1,2, ..., M) means for generating a signature processing transmitted from the service providing apparatus Means for decrypting the encrypted encrypted identification data and storing the signature processed identification data in the memory, means for transmitting the signature processed identification data stored in the memory to the service providing apparatus, and making a service request; P primary combined data S j (k) (j = 1, 2,..., which are transmitted from the service providing apparatus as the k-th service transaction record and calculated based on the following formula (D). P) is registered, and the combined total data ΣS j (k) obtained by totaling the registered primary combined data S j (k) for N times for k for each j in response to the total request from the service providing apparatus. Calculate and join aggregated data Σ j (k) and the number of data Q means for transmitting a value corresponding to (N) to the service providing apparatus, aggregate values sent from the service providing apparatus Σr k + 1 W t (k ) (t = 1,2, ... , M) is decrypted to function as a means for generating a total value ΣX u (k) (u = 1, 2,..., M).

本発明に係るさらに別のプログラムは、サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムにおいて、該サービス提供装置を機能させるためのプログラムであって、前記サービス提供装置を、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定する手段、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理を行う手段、サービス利用装置から送信された暗号化識別データに署名処理する手段、サービス取引において、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)並びにサービス利用装置から送信された取引識別情報T(k)によって計算されるM個の要素データVs(k)及び確認情報Wt(k)を含むP(P≧2M+3)個の値の、記憶手段に記憶された係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)を用いた互いに独立な一次結合データSj(j=1,2,…,P)を以下の式(D)
j(k)=a1jE(k)+a2jQ(k)+{a(1+2)j1(k)+a(2+2)j2(k)+…+a(M+2)M(k)}rk+{a(M+1+2)j1(k)+a(M+2+2)j2(k)+…+a(2M+2)M(k)}rk+1+a(2M+3)jR(k)・・・(D)
により算出する手段、サービス利用装置のサービス取引回数をN回として、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出する手段、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する回数データQ(k)の集計値ΣQ(k)を算出して集計値ΣQ(k)とサービス利用装置から送信された回数データQ(N)に相当する値との間の整合性を判定する手段、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値Σrks(k)並びに取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1t(k)を算出するとともに集計値Σrk+1t(k)を送信する手段、集計値Σrks(k)とサービス利用装置から送信された集計値ΣXu(k)が矛盾するか否か不正判定する手段、として機能させる。
Still another program according to the present invention includes a service using device and a service providing device that is connected to the service using device via a communication unit and receives a service request from the service using device and processes the service. In the service transaction system, a program for causing the service providing device to function, wherein the service providing device is a means for determining whether or not the transaction identification information transmitted from the service using device is valid. Means for performing service processing in response to a request from the service using device when the identification information is determined to be valid, means for performing signature processing on the encrypted identification data transmitted from the service using device, service transaction, Data E (k) based on usage fee, random number R (k) and transmitted from service usage device The trading identity T (k) is calculated by the M element data V s (k) and the confirmation information W P including t (k) (P ≧ 2M + 3) number of values, stored in the storage means coefficient data a ij (i = 1,2, ... , P; j = 1,2, ..., P) and the random number r k (k = 1,2, ... ) independent with primary binding data S j ( j = 1,2, ..., P) with the following formula (D)
S j (k) = a 1j E (k) + a 2j Q (k) + {a (1 + 2) j V 1 (k) + a (2 + 2) j V 2 (k) +... + A (M + 2) V M (k)} r k + {a (M + 1 + 2) j W 1 (k) + a (M + 2 + 2) j W 2 (k) + ... + a (2M + 2) W M (K)} r k + 1 + a (2M + 3) j R (k) (D)
And the transaction identification information T (1) based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service utilization device, where N is the number of service transactions of the service utilization device. Means for calculating aggregate value ΣE (k) of data E (k) related to T (N), transaction based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service using device The total value ΣQ (k) of the count data Q (k) regarding the identification information T (1) to T (N) is calculated, and the total value ΣQ (k) and the count data Q (N) transmitted from the service using device are calculated. equivalent means for determining consistency between the value, P number of bound aggregates which are transmitted from the service using apparatus data ΣS j (k) and transaction identification based on the coefficient data a ij information T (1) ~T ( N) Element data and random numbers Product r k aggregate value of k for each s of V s (k) Σr k V s (k) as well as transaction identification information T (1) through T product of (N + 1) regarding confirmation information and the random number r k + 1 W It means for transmitting the aggregate value Σr k + 1 W t (k ) to calculate the t aggregate value of k for each t in (k) Σr k + 1 W t (k), the aggregate value? r k V s ( k) and a means for determining whether or not the total value ΣX u (k) transmitted from the service using device contradicts.

本発明に係るサービス取引システム及びサービス取引方法は、サービス利用装置が予めサービス提供装置から取得した署名処理済みの取引識別情報を送信しサービス提供装置で当該取引識別情報を用いて個々の取引において正当な利用者か否かを、当該取引識別情報にサービス提供装置の正しい署名があるか、また当該取引識別情報が既に利用されているものではないかを調べることによって判定してサービス処理を行い、サービス取引が正常に完了した後にサービス利用装置から次回のサービス取引の取引識別情報を暗号化処理した暗号化取引識別情報を送信しサービス提供装置で当該暗号化取引識別情報を署名処理して送信し、署名処理済みの暗号化取引識別情報をサービス利用装置で復号化処理して署名処理済みの次回の取引識別情報を取得するようにしているので、個々の取引においても利用者とは関連付けられていない署名処理済みの取引識別情報を用いて正当な利用者であるかサービス提供装置が判定することができる。さらに、次回に使用する取引識別情報は、サービス取引が正常に完了した後に暗号化処理された状態でサービス提供装置に送信されるので、サービス提供装置は次回の取引識別情報を知らずに署名処理することになり、サービス提供装置はサービス利用装置がサービスに関する処理を正しく終了してから次回のサービスを受けることを確認できるが、サービス利用装置が今回のサービス取引と次回のサービス取引との間の関連付けをサービス提供装置に知られることはない。署名処理済みの暗号化取引識別情報は、サービス利用装置で復号化処理されて解読可能な署名処理済みの取引識別情報となり、次回のサービス取引の際にサービス提供装置に送信されるようになる。   In the service transaction system and the service transaction method according to the present invention, the service use apparatus transmits the transaction identification information that has been subjected to the signature processing acquired in advance from the service providing apparatus, and the service providing apparatus uses the transaction identification information to validate each transaction. A service process by determining whether the transaction identification information has the correct signature of the service providing device and whether the transaction identification information has already been used. After the service transaction is successfully completed, the service using device transmits encrypted transaction identification information obtained by encrypting the transaction identification information of the next service transaction, and the service providing device transmits the encrypted transaction identification information after signature processing. The next transaction identification information that has been subjected to signature processing after decryption processing of the encrypted transaction identification information that has been signed Because be acquired, it is possible to determine that a is one service providing device authorized user using a signature processed transaction identification information not associated with even users in individual transactions. Further, since the transaction identification information to be used next time is transmitted to the service providing apparatus in an encrypted state after the service transaction is normally completed, the service providing apparatus performs signature processing without knowing the next transaction identification information. In other words, the service providing device can confirm that the service using device correctly receives the next service after the processing related to the service is correctly completed, but the service using device associates the current service transaction with the next service transaction. Is not known to the service providing apparatus. The signature-processed encrypted transaction identification information becomes signature-processed transaction identification information that can be decrypted and decrypted by the service using device, and is transmitted to the service providing device at the next service transaction.

以上のように、サービス利用装置は、個々の取引に関して関連付けられることなく取引を行うことができ、個別情報と関連付けられることなく認証を受けてサービス依頼を行うことができれば、利用者の個人情報に関連付けられて取引関連情報を蓄積されることがなくなる。また、サービス提供装置は、利用者を特定することなく利用者の正当性や取引の際の正当性を判定することができ、サービス取引の際の個別情報の管理を厳重に行う必要がなくなり、従来のような第三者機関を介して行う必要もなくなる。   As described above, if the service using device can perform a transaction without being associated with each transaction, and can receive a service request without being associated with individual information, Transaction related information is no longer stored in association with each other. In addition, the service providing device can determine the legitimacy of the user and the legitimacy at the time of transaction without specifying the user, and it is not necessary to strictly manage the individual information at the time of the service transaction, There is no need to use a third party as in the past.

本発明に係る別のサービス取引システム及びサービス取引方法は、サービス利用装置が、そのk回目のサービス取引において予めサービス提供装置から取得した署名処理済みの取引識別情報T(k)を送信してサービス提供装置にサービス依頼し、サービス提供装置が、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定するとともに、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理し、サービス利用装置が、次回のサービス取引の取引識別情報T(k+1)を暗号化した暗号化取引識別情報と、取引識別情報T(k+1)に基づいて計算されるM個の要素データVs(k)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成し、サービス提供装置が、次回サービス取引のための暗号化識別情報に署名するとともに、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)、サービス利用装置から送信された取引識別情報T(k)に基づいて計算されるM個の要素データVs(k)及び確認情報Wt(k)を含むP(P≧2M+2)個の値の、サービス利用装置が知らない係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)を用いた互いに独立な一次結合データSj(k)(j=1,2,…,P)を上記の式(B)により算出し、算出されたP個の一次結合データSj(k)をサービス利用装置において登録し、サービス提供装置からの集計依頼に応じて、登録されたN回分の一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに結合集計データΣSj(k)をサービス提供装置に送信し、サービス提供装置が、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出しているので、個々の取引に関して関連付けられることなく利用者はサービス取引を依頼することができるとともに、サービス提供装置では特定の利用者による個々の取引の利用料金を知ることなくその合計額のみを確実に算出することができる。すなわち、P個の一次結合データSj(k)の算出に用いられる係数データaij、乱数rk及び乱数R(k)はサービス提供装置しか知らないデータとすることで、その算出方法がサービス利用装置に知られることなく一次結合データSj(k)の算出結果のみがサービス利用装置に登録されるため、サービス利用装置側で登録された一次結合データSj(k)を勝手に操作することができない。そして、結合集計データΣSj(k)をサービス利用装置から得ることができれば、集計値ΣE(k)、集計値Σrks(k)、集計値Σrk+1t(k)及び集計値ΣR(k)の(2M+2)個のデータを変数として係数データaijを用いたP(P≧2M+2)個の連立一次方程式を解くことで、集計値ΣE(k)を正確に求めることができる。したがって、個々の取引の利用料金であるE(k)を知らなくても集計値を正しく算出して利用者に合計額を請求することが可能となる。 In another service transaction system and service transaction method according to the present invention, a service using device transmits a transaction identification information T (k) having been subjected to signature processing acquired in advance from the service providing device in the k-th service transaction. A service request is made to the providing device, and the service providing device determines whether or not the transaction identification information transmitted from the service using device is valid, and from the service using device when the transaction identification information is determined to be valid. In response to the request, the service using device is calculated based on the encrypted transaction identification information obtained by encrypting the transaction identification information T (k + 1) of the next service transaction and the transaction identification information T (k + 1). M pieces of element data V s (k) (s = 1,2, ..., M) are mutually independent M number of linear combinations by a factor unknown to the service providing apparatus of the confirmation Distribution W t (k) (t = 1,2, ..., M) to generate a service providing device, as well as sign the encrypted identification information for the next service transaction, based on the charge for the service transaction data M element data V s (k) and confirmation information W t (k) calculated based on E (k), random number R (k), transaction identification information T (k) transmitted from the service using device The coefficient data a ij (i = 1, 2,..., P; j = 1, 2,..., P) and the random number r k (k = k =) that the service using apparatus does not know, including P (P ≧ 2M + 2) values. 1, 2,... Are calculated by the above equation (B), and the P primary linkage data S j (k) (j = 1, 2,..., P) that are independent from each other are calculated. data S j (k) is registered in the service using apparatus in accordance with the aggregation request from the service providing apparatus, one N times registered linear combination data S j (k) of the k for each j There transmits bonded aggregate data [sigma] s j (k) to the service providing apparatus to calculate the aggregate binding aggregated data [sigma] s j (k), the service providing device, P number of binding aggregated data sent from the service using apparatus [sigma] s Since the total value ΣE (k) of the data E (k) related to the transaction identification information T (1) to T (N) is calculated based on j (k) and the coefficient data a ij , they are associated with each transaction. The user can request the service transaction without any problem, and the service providing apparatus can surely calculate only the total amount without knowing the usage fee of each transaction by the specific user. That is, by the P number of linear combinations data S j coefficient data a ij used to calculate the (k), the random number r k and the random number R (k) is known only service providing device data, the calculation method Service calculation results of only the primary binding data S j (k) without revealing the utilization apparatus is to be registered in the service using apparatus, arbitrarily operating the primary binding data S j, registered in the service using apparatus (k) I can't. If the combined total data ΣS j (k) can be obtained from the service using device, the total value ΣE (k), the total value Σr k V s (k), the total value Σr k + 1 W t (k) and the total By solving P (P ≧ 2M + 2) simultaneous linear equations using the coefficient data a ij with (2M + 2) data of the value ΣR (k) as variables, the aggregate value ΣE (k) can be accurately obtained. it can. Therefore, the total value can be calculated correctly and the total amount can be charged to the user without knowing E (k), which is the usage fee for each transaction.

また、サービス利用装置から送信された今回のサービス取引の取引識別情報T(k)に基づくM個の要素データVs(k)及び次回のサービス取引の取引識別情報T(k+1)に基づいて暗号化処理されたM個の確認情報Wt(k)を一次結合データSj(k)の算出式に含ませることで、一連のサービス取引の一次結合データSj(k)をサービス提供装置の知らない形で互いに関連付けさせることができ、サービス提供装置が個々のサービス取引を関連付けて蓄積することはできなくなる。また、サービス取引が互いに関連付けられることでサービス利用装置での不正操作を判定することも可能となる。すなわち、結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎の集計値Σrks(k)並びに取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎の集計値Σrk+1t(k)を算出して、集計値Σrk+1t(k)をサービス利用装置で復号化処理して集計値ΣXu(k)を得ることで、サービス提供装置は、個別の取引識別情報を知ることなく取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積の集計値を得ることができる。この値は、サービス利用装置から得られた次回の取引識別情報T(N+1)に基づく要素データVs(N+1)を取引識別情報T(1)〜T(N)に関する要素データと乱数の積の集計値Σrks(k)に加算した値と一致するので、両者が一致するか否か判定すれば、サービス利用装置側で不正操作があったか否か判定することが可能となる。 Further, encryption is performed based on the M element data V s (k) based on the transaction identification information T (k) of the current service transaction transmitted from the service utilization device and the transaction identification information T (k + 1) of the next service transaction. The M pieces of confirmation information W t (k) subjected to the conversion processing are included in the calculation formula of the primary combination data S j (k), so that the primary combination data S j (k) of the series of service transactions is obtained from the service providing apparatus. They can be associated with each other in an unknown manner, and the service providing apparatus cannot associate and store individual service transactions. It is also possible to determine an unauthorized operation on the service using device by associating service transactions with each other. That is, based on the combined total data ΣS j (k) and the coefficient data a ij , the total of each product r k V s (k) of the element data and random numbers related to the transaction identification information T (1) to T (N) is calculated for each s. Aggregated value Σr k + 1 W t for each t of product rk + 1 W t (k) of value Σr k V s (k) and confirmation information on transaction identification information T (1) to T (N + 1) and random numbers (K) is calculated, and the aggregate value Σr k + 1 W t (k) is decrypted by the service using device to obtain the aggregate value ΣX u (k). Without knowing the information, it is possible to obtain the total value of the product of the confirmation information and the random numbers regarding the transaction identification information T (1) to T (N + 1). This value is obtained by multiplying the element data V s (N + 1) based on the next transaction identification information T (N + 1) obtained from the service using device by the product of the element data on the transaction identification information T (1) to T (N) and a random number. Since it matches the value added to the total value Σr k V s (k), if it is determined whether or not they match, it is possible to determine whether or not there has been an unauthorized operation on the service using device side.

本発明に係るさらに別のサービス取引システム及びサービス取引方法は、サービス利用装置が、そのk回目のサービス取引において予めサービス提供装置から取得した署名処理済みの取引識別情報T(k)を送信してサービス提供装置にサービス依頼し、サービス提供装置が、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定するとともに、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理し、サービス利用装置が、次回のサービス取引の取引識別情報T(k+1)とその取引回数に基づいて設定された回数データQ(k+1)を合体して識別データT(k+1)Q(k+1)を生成し暗号化して暗号化識別データとしてサービス提供装置に送信し、サービス提供装置が暗号化識別データに署名処理し、サービス利用装置が、署名処理された暗号化識別データを復号化処理して署名処理済みの識別データを取得するとともに、次回の取引識別情報T(k+1)に基づいて計算されるM個の要素データVs(k+1)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成し、サービス提供装置が、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)、サービス利用装置から送信された識別データT(k)Q(k)から求められるQ(k)、サービス利用装置から送信された識別データT(k)Q(k)から求められるT(k)に基づいて計算されるM個の要素データVs(k)及びサービス利用装置から送信された確認情報Wt(k)を含むP(P≧2M+3)個の値の、サービス利用装置が知らない係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)を用いた互いに独立な一次結合データSj(k)(j=1,2,…,P)を上記の式(D)により算出し、算出されたP個の一次結合データSj(k)をサービス利用装置において登録し、サービス提供装置からの集計依頼に応じて、登録されたN回分の一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに結合集計データΣSj(k)及び回数データQ(N)に相当する値をサービス提供装置に送信し、サービス提供装置が、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出しているので、個々の取引に関して関連付けられることなく利用者はサービス取引を依頼することができるとともに、サービス提供装置では特定の利用者による個々の取引の利用料金を知ることなくその合計額のみを確実に算出することができる。すなわち、P個の一次結合データSj(k)の算出に用いられる係数データaij、乱数rk及び乱数R(k)はサービス提供装置しか知らないデータとすることで、その算出方法がサービス利用装置に知られることなく一次結合データSj(k)の算出結果のみがサービス利用装置に登録されるため、サービス利用装置側で登録された一次結合データSj(k)を勝手に操作することができない。そして、結合集計データΣSj(k)をサービス利用装置から得ることができれば、集計値ΣE(k)、集計値ΣQ(k)、集計値Σrks(k)、集計値Σrk+1t(k)及び集計値ΣR(k)の(2M+3)個のデータを変数として係数データaijを用いたP(P≧2M+3)個の連立一次方程式を解くことで、集計値ΣE(k)を正確に求めることができる。したがって、個々の取引の利用料金であるE(k)を知らなくても集計値を正しく算出して利用者に合計額を請求することが可能となる。 In another service transaction system and service transaction method according to the present invention, the service using apparatus transmits the transaction identification information T (k) that has been subjected to signature processing and obtained in advance from the service providing apparatus in the k-th service transaction. A service request is made to the service providing apparatus, and the service providing apparatus determines whether or not the transaction identification information transmitted from the service using apparatus is valid, and if the transaction identification information is determined to be valid, the service using apparatus In response to a request from the service, the service utilization apparatus combines the transaction identification information T (k + 1) of the next service transaction and the number of times data Q (k + 1) set based on the number of transactions, and the identification data T (K + 1) Q (k + 1) is generated, encrypted, and transmitted as encrypted identification data to the service providing apparatus. The signature processing is performed on the encoded identification data, and the service using device decrypts the encrypted identification data that has been subjected to the signature processing to obtain the signature-processed identification data, and based on the next transaction identification information T (k + 1). Confirmation information W t (k) that is M linear combinations independent of each other by coefficients unknown to the service providing apparatus of the M element data V s (k + 1) (s = 1, 2,..., M) calculated by ) (T = 1, 2,..., M), and the service providing device uses data E (k), random number R (k) based on the usage fee of the service transaction, and identification data transmitted from the service using device. M elements calculated based on Q (k) obtained from T (k) Q (k) and T (k) obtained from identification data T (k) Q (k) transmitted from the service using device confirmation that was sent from the data V s (k) and the service using apparatus Distribution W t P containing (k) of the (P ≧ 2M + 3) number of values, the coefficient does not know the service using device data a ij (i = 1,2, ... , P; j = 1,2, ..., P) And the first-order coupled data S j (k) (j = 1, 2,..., P) that are independent of each other using the random numbers r k (k = 1, 2,...) The registered P primary combination data S j (k) is registered in the service using device, and the registered N primary combination data S j (k) is obtained for each j in response to the aggregation request from the service providing device. The combined total data ΣS j (k) totaled for k is calculated, and values corresponding to the combined total data ΣS j (k) and the frequency data Q (N) are transmitted to the service providing apparatus. Transaction identification information T (1) to T (N) based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the utilization device. ) Data E (k) is calculated as an aggregate value ΣE (k), so that the user can request a service transaction without being associated with each transaction, and the service providing apparatus is a specific user. It is possible to reliably calculate only the total amount without knowing the usage fee of each transaction. That is, by the P number of linear combinations data S j coefficient data a ij used to calculate the (k), the random number r k and the random number R (k) is known only service providing device data, the calculation method Service calculation results of only the primary binding data S j (k) without revealing the utilization apparatus is to be registered in the service using apparatus, arbitrarily operating the primary binding data S j, registered in the service using apparatus (k) I can't. If the combined aggregate data ΣS j (k) can be obtained from the service using device, the aggregate value ΣE (k), the aggregate value ΣQ (k), the aggregate value Σr k V s (k), the aggregate value Σr k + 1 By solving P (P ≧ 2M + 3) simultaneous linear equations using coefficient data a ij with (2M + 3) pieces of data of W t (k) and the summation value ΣR (k) as variables, the sum value ΣE (k ) Can be obtained accurately. Therefore, the total value can be calculated correctly and the total amount can be charged to the user without knowing E (k), which is the usage fee for each transaction.

そして、サービス利用装置から送信されたP個の結合集計データΣSj及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する回数データQ(k)の集計値ΣQ(k)を算出して集計値ΣQ(k)とサービス利用装置から送信された回数データQ(N+1)との間の整合性を判定すれば、サービス取引の取引回数に基づく回数データQ(k)は回数順に従って付与されているので、Q(1)〜Q(N)までを加算した集計値ΣQ(k)からサービス取引した最後の回数順が特定されて、次回の回数順であるQ(N+1)との整合性を判定することができ、整合していない場合には不正な操作があったものとすることが可能となる。 Then, based on the P pieces of combined total data ΣS j and coefficient data a ij transmitted from the service utilization device, the total value ΣQ (k) of the count data Q (k) regarding the transaction identification information T (1) to T (N) ) And the consistency between the aggregate value ΣQ (k) and the number of times data Q (N + 1) transmitted from the service using device is determined, the number of times data Q (k) based on the number of service transactions is obtained. Since it is given according to the order of the number of times, the order of the last number of service transactions is specified from the total value ΣQ (k) obtained by adding Q (1) to Q (N), and Q (N + 1) which is the next number of times order ) Can be determined, and if it is not consistent, it can be assumed that there has been an unauthorized operation.

回数データQ(k)に関する整合性があると判定された場合には、サービス利用装置から送信された今回のサービス取引の取引識別情報T(k)に基づくM個の要素データVs(k)及び次回のサービス取引の取引識別情報T(k+1)に基づいて暗号化処理されたM個の確認情報Wt(k)を用いてさらに不正操作の判定を行うことで、より確実に不正操作の判定を行うことができる。すなわち、要素データVs(k)及び確認情報Wt(k)を一次結合データSj(k)の算出式に含ませることで、一連のサービス取引の一次結合データSj(k)をサービス提供装置の知らない形で互いに関連付けさせることができ、サービス提供装置が個々のサービス取引を関連付けて蓄積することはできなくなる。また、サービス取引が互いに関連付けられることでサービス利用装置での不正操作を判定することも可能となる。結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎の集計値Σrks(k)及び取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎の集計値Σrk+1t(k)を算出して、集計値Σrk+1t(k)をサービス利用装置で復号化処理して集計値ΣXu(k)を得ることで、サービス提供装置は、個別の取引識別情報を知ることなく取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積の集計値を得ることができる。この値は、サービス利用装置から得られた次回の取引識別情報T(N+1)に基づく要素データVs(N+1)を取引識別情報T(1)〜T(N)に関する要素データと乱数の積の集計値Σrks(k)に加算した値と一致するので、両者が一致するか否か判定すれば、サービス利用装置側で不正操作があったか否か判定することが可能となる。 When it is determined that there is consistency regarding the number of times data Q (k), M element data V s (k) based on the transaction identification information T (k) of the current service transaction transmitted from the service using device. In addition, the unauthorized operation is determined more reliably by using the M pieces of confirmation information W t (k) encrypted based on the transaction identification information T (k + 1) of the next service transaction. Judgment can be made. In other words, by including in the calculation formula of the element data V s (k) and the confirmation information W t (k) primary binding data S j (k), a set of service transactions primary binding data S j (k) to the service The providing devices can be associated with each other without the knowledge of the providing device, and the service providing device cannot associate and store individual service transactions. It is also possible to determine an unauthorized operation on the service using device by associating service transactions with each other. Based on the combined total data ΣS j (k) and the coefficient data a ij , the total value Σr for each s of the product r k V s (k) of the element data and random numbers related to the transaction identification information T (1) to T (N) The total value Σr k + 1 W t (k) for each t of the product r k + 1 W t (k) of confirmation information and random numbers for k V s (k) and transaction identification information T (1) to T (N + 1) ) And the aggregate value Σr k + 1 W t (k) is decrypted by the service using device to obtain the aggregate value ΣX u (k). Without knowing, the total value of the product of the confirmation information on the transaction identification information T (1) to T (N + 1) and the random number can be obtained. This value is obtained by multiplying the element data V s (N + 1) based on the next transaction identification information T (N + 1) obtained from the service using device by the product of the element data on the transaction identification information T (1) to T (N) and a random number. Since it matches the value added to the total value Σr k V s (k), if it is determined whether or not they match, it is possible to determine whether or not there has been an unauthorized operation on the service using device side.

以下、本発明に係る実施形態について詳しく説明する。なお、以下に説明する実施形態は、本発明を実施するにあたって好ましい具体例であるから、技術的に種々の限定がなされているが、本発明は、以下の説明において特に本発明を限定する旨明記されていない限り、これらの形態に限定されるものではない。   Hereinafter, embodiments according to the present invention will be described in detail. The embodiments described below are preferable specific examples for carrying out the present invention, and thus various technical limitations are made. However, the present invention is particularly limited in the following description. Unless otherwise specified, the present invention is not limited to these forms.

図1は、本発明に係るサービス取引システムに関する実施形態の構成を示す概略図である。サービス提供装置1は、インターネット等のネットワーク3を介してサービス利用装置2と接続されている。サービス利用装置2は、一般に多数の装置がネットワーク接続されているが、ここでは、理解を容易にするため、サービス利用装置2は、1台だけ記載している。   FIG. 1 is a schematic diagram showing a configuration of an embodiment relating to a service transaction system according to the present invention. The service providing apparatus 1 is connected to the service using apparatus 2 via a network 3 such as the Internet. In general, many service use devices 2 are connected to the network, but only one service use device 2 is shown here for easy understanding.

サービス提供装置1は、情報処理部10及び記憶部11を備えており、情報処理部10が記憶部11に記憶されたデータ及びプログラムを読み出してデータ処理を行い、サービス利用装置2とデータの送受信を行うようになっている。サービス利用装置2は、それぞれ情報処理部20及び記憶部21を備えており、情報処理部20が記憶部21に記憶されたデータ及びプログラムを読み出してデータ処理を行い、サービス提供装置1とデータの送受信を行うようになっている。サービス提供装置1及びサービス利用装置2における個別情報処理に関する機能は、予め記録媒体やネットワークを用いてインストールされるプログラムにより実現される。   The service providing apparatus 1 includes an information processing unit 10 and a storage unit 11. The information processing unit 10 reads data and programs stored in the storage unit 11, performs data processing, and transmits / receives data to / from the service using device 2. Is supposed to do. Each of the service using devices 2 includes an information processing unit 20 and a storage unit 21. The information processing unit 20 reads out data and programs stored in the storage unit 21 and performs data processing. Send and receive. Functions related to individual information processing in the service providing apparatus 1 and the service using apparatus 2 are realized by a program that is installed in advance using a recording medium or a network.

図2は、サービス提供装置1とサービス利用装置2との間で互いに正当性を判定するための機能ブロック図を示している。サービス提供装置1の情報処理部10は、パスワード抽出部100、第一暗号キー生成部101、第一暗号化処理部102、第二暗号キー生成部103、第二暗号化処理部104、正当性判定部105及び送受信部106を備えており、こうした機能は、記憶部11に記憶されたサービス提供プログラム110により実現される。記憶部11に記憶された顧客DB111には、サービス利用装置を利用する全利用者のID、パスワード、氏名、住所といった顧客の属性情報が登録されている。   FIG. 2 shows a functional block diagram for determining the legitimacy between the service providing apparatus 1 and the service using apparatus 2. The information processing unit 10 of the service providing apparatus 1 includes a password extraction unit 100, a first encryption key generation unit 101, a first encryption processing unit 102, a second encryption key generation unit 103, a second encryption processing unit 104, validity The determination unit 105 and the transmission / reception unit 106 are provided, and these functions are realized by the service providing program 110 stored in the storage unit 11. In the customer DB 111 stored in the storage unit 11, customer attribute information such as IDs, passwords, names, and addresses of all users who use the service using device is registered.

パスワード抽出部100は、サービス利用装置から受信した複数のIDからなるIDリストに対応する複数のパスワードpを記憶部11の顧客DB111より抽出し、IDリストの配列順序に対応したパスワードリストを作成する。   The password extraction unit 100 extracts a plurality of passwords p corresponding to an ID list made up of a plurality of IDs received from the service using device from the customer DB 111 of the storage unit 11 and creates a password list corresponding to the arrangement order of the ID list. .

第一暗号キー生成部101は、第一暗号化処理部102で用いる第一暗号キーとしてパスワードpと同じ長さのランダムビットパターンrを生成する。第一暗号化処理部102は、第一暗号キーrとパスワード抽出部100で作成されたパスワードリストのパスワードpとの排他的論理和x
x=pXORr
をpの暗号化情報として算出し、パスワードリストに対応した暗号パスワードリストを作成する。
The first encryption key generation unit 101 generates a random bit pattern r having the same length as the password p as the first encryption key used in the first encryption processing unit 102. The first encryption processing unit 102 performs an exclusive OR x between the first encryption key r and the password p in the password list created by the password extraction unit 100.
x = pXORr
Is calculated as encryption information of p, and an encryption password list corresponding to the password list is created.

第二暗号キー生成部103は、第二暗号キーKを生成し、第二暗号化処理部104は、第二暗号キーKにより第一暗号キーrを暗号化した暗号化情報K(r)を算出し、K(r)及びKをサービス提供装置の検証情報とする。暗号パスワードリスト及び暗号化情報K(r)は、第二暗号キーKとともに送受信部106を介してサービス利用装置2に送信される。第二暗号化処理部104では、暗号化キー及び復号化キーが異なる暗号方式を用いればよく、例えば、RSA等の公知の暗号方式を用いて暗号化処理するようにすればよい。   The second encryption key generation unit 103 generates a second encryption key K, and the second encryption processing unit 104 generates encrypted information K (r) obtained by encrypting the first encryption key r with the second encryption key K. And K (r) and K are used as verification information of the service providing apparatus. The encryption password list and the encryption information K (r) are transmitted to the service using apparatus 2 through the transmission / reception unit 106 together with the second encryption key K. The second encryption processing unit 104 may use encryption methods with different encryption keys and decryption keys. For example, the encryption processing may be performed using a known encryption method such as RSA.

正当性判定部105は、サービス利用装置2からその検証情報として受信したランダムビットパターンと第一暗号キー生成部101で生成した第一暗号キーであるランダムビットパターンrとを照合してサービス利用装置2の正当性を判定する。送受信部106は、サービス利用装置2とデータの送受信を行う。   The validity determination unit 105 collates the random bit pattern received as the verification information from the service use device 2 with the random bit pattern r, which is the first encryption key generated by the first encryption key generation unit 101, and uses the service use device. The validity of 2 is determined. The transmission / reception unit 106 transmits / receives data to / from the service using device 2.

サービス利用装置2の情報処理部20は、ID発生部200、パスワード処理部201、正当性判定部202及び送受信部203を備えており、こうした機能は、記憶部21に記憶されたサービス利用プログラム210により実現される。記憶部21は、サービス利用装置2を利用する利用者のID及びパスワードpを記憶するID/パスワード登録部211を備えている。   The information processing unit 20 of the service use device 2 includes an ID generation unit 200, a password processing unit 201, a validity determination unit 202, and a transmission / reception unit 203, and these functions are stored in the service use program 210 stored in the storage unit 21. It is realized by. The storage unit 21 includes an ID / password registration unit 211 that stores the ID and password p of the user who uses the service using device 2.

ID発生部200は、記憶部21のID/パスワード登録部211に登録されたIDを含む複数のIDを発生させてIDリストを作成する。当該利用者のID以外のIDについては、全利用者のID数に基づいてランダムに発生させるようにする。   The ID generation unit 200 generates a plurality of IDs including IDs registered in the ID / password registration unit 211 of the storage unit 21 and creates an ID list. IDs other than the user IDs are randomly generated based on the number of IDs of all users.

パスワード処理部201は、サービス提供装置から受信した暗号パスワードリストの中のID/パスワード登録部211に登録されたIDの位置に相当する暗号パスワードxとID/パスワード登録部211に登録されたパスワードqとの排他的論理和y
y=xXORq
を計算して、さらに、yをサービス提供装置1から受信した第二暗号キーKを用いて第二暗号化処理部104と同一の暗号方式で暗号化しK(y)とする。
The password processing unit 201 includes an encryption password x corresponding to the position of the ID registered in the ID / password registration unit 211 in the encryption password list received from the service providing apparatus and the password q registered in the ID / password registration unit 211. Exclusive OR with
y = xXORq
Further, y is encrypted by the same encryption method as the second encryption processing unit 104 using the second encryption key K received from the service providing apparatus 1, and is set to K (y).

ここで、パスワード処理部201では、サービス提供装置1から受信した暗号パスワードxは、
x=pXORr
であるので、q=pならば、
y=xXORq=pXORrXORp=r・・・(E)
となり、元の第一暗号キーrが復号化される。例えば、
p=001100
r=011000
である場合
x=010100
となる。したがって、
xXORp=011000=r
となる。
Here, in the password processing unit 201, the encrypted password x received from the service providing apparatus 1 is
x = pXORr
Therefore, if q = p,
y = xXORq = pXORrXORp = r (E)
Thus, the original first encryption key r is decrypted. For example,
p = 001100
r = 011000
If x = 010100
It becomes. Therefore,
xXORp = 01000 = r
It becomes.

正当性判定部202は、サービス提供装置1から受信した暗号化されたランダムビットパターンK(r)及びパスワード処理部201で計算したK(y)をパターン比較して一致するか否か判定する。一致すると判定された場合には、サービス提供装置1は正当なものとしてパスワード処理部201で計算したランダムビットパターンy(=r)を検証情報としてサービス提供装置1に送信し、一致しない場合には、サービス提供装置は不正なものとしてランダムビットパターンは送信しない。   The validity determination unit 202 determines whether or not the encrypted random bit pattern K (r) received from the service providing apparatus 1 matches the K (y) calculated by the password processing unit 201 by pattern comparison. If it is determined that they match, the service providing apparatus 1 transmits the random bit pattern y (= r) calculated by the password processing unit 201 as valid information to the service providing apparatus 1 as verification information. The service providing apparatus does not transmit a random bit pattern as an illegal one.

図3は、サービス提供装置1及びサービス利用装置2との間で互いに正当性を判定する処理フローを示している。まず、サービス利用装置2は、認証処理を行う場合、全利用者のIDからランダムに(N−1)個のIDを発生させる(S100)。複数のIDを発生させる場合、例えば、予め記憶部21に全利用者のID総数が記憶されており、ID総数の連続番号の中からランダムに選択するようにすればよい。そして、サービス利用装置2に登録された利用者のIDを記憶部21から読み出して、発生させた複数のIDとともにランダムに配列させてN個のIDからなるIDリストを作成する(S101)。図4は、IDリストの一例を示す。この例では、t番目に利用者のIDkが設定されている。 FIG. 3 shows a processing flow for determining the legitimacy between the service providing apparatus 1 and the service using apparatus 2. First, when performing the authentication process, the service using device 2 randomly generates (N-1) IDs from all the user IDs (S100). In the case of generating a plurality of IDs, for example, the total number of IDs of all users is stored in advance in the storage unit 21 and may be selected at random from the serial numbers of the total number of IDs. Then, the user ID registered in the service using device 2 is read from the storage unit 21 and randomly arranged together with a plurality of generated IDs to create an ID list composed of N IDs (S101). FIG. 4 shows an example of the ID list. In this example, the user ID k is set for the t-th.

作成されたIDリストをサービス提供装置1に送信して、リスト中のN個のIDに対応するパスワードを記憶部11から抽出する(S102)。そして、抽出したパスワードをIDリストの配列に従って配列してパスワードリストを作成する(S103)。図5は、図4のIDリストに基づいて作成されたパスワードリストを示している。パスワードリストのt番目には、利用者のパスワードpkがリストアップされている。 The created ID list is transmitted to the service providing apparatus 1, and passwords corresponding to N IDs in the list are extracted from the storage unit 11 (S102). Then, the extracted passwords are arranged according to the ID list arrangement to create a password list (S103). FIG. 5 shows a password list created based on the ID list of FIG. At the t-th password list, user passwords pk are listed.

次に、第一暗号キーであるランダムビットパターンrを発生させて(S104)、パスワードリストのパスワードとランダムビットパターンrとの排他的論理和xを算出する(S105)。パスワードリストの各パスワードについて排他的論理和xを算出したら、パスワードリストの配列に従って配列して暗号パスワードリストを作成する(S106)。図6は、図5のパスワードリストに基づいて作成された暗号パスワードリストを示している。暗号パスワードリストのt番目の排他的論理和xkが利用者のパスワードpkに対応する。 Next, a random bit pattern r, which is a first encryption key, is generated (S104), and an exclusive OR x of the password in the password list and the random bit pattern r is calculated (S105). After calculating the exclusive logical sum x for each password in the password list, an encrypted password list is created by arranging according to the password list array (S106). FIG. 6 shows an encryption password list created based on the password list of FIG. The t-th exclusive OR x k in the encryption password list corresponds to the user password p k .

ここで、利用者がpk以外のパスワードを直接知るのを防ぐ目的で、パスワードリストの各パスワードをランダムビットパターンrとの排他的論理和xを計算する前又は後で、暗号化しておいてもよい。ただし、この場合には、サービス利用装置2がpkあるいはpk及びrの排他的論理和xを暗号化した情報が計算できるように、サービス利用装置2でもサービス提供装置1と同じ暗号キーと暗号化機構を備える必要がある。この場合の暗号化方式は、当然暗号キーと復号キーとが異なるものでなければならない。 Here, in order to prevent the user to know directly the password other than p k, each of the password list password before calculating the exclusive OR x of a random bit pattern r or later, keep in encrypting Also good. However, in this case, the service using apparatus 2 can calculate the same encryption key as that of the service providing apparatus 1 so that the service using apparatus 2 can calculate information obtained by encrypting the exclusive OR x of p k or p k and r. It is necessary to provide an encryption mechanism. Of course, the encryption method in this case must have a different encryption key and decryption key.

次に、第二暗号キー生成部103において第二暗号キーKを生成し(S107)、第二暗号キーKを用いてランダムビットパターンrを暗号化処理して(S108)、第二暗号キーK、暗号化されたランダムビットパターンK(r)及び暗号パスワードリストをサービス利用装置2に送信する(S109)。   Next, the second encryption key generation unit 103 generates a second encryption key K (S107), encrypts the random bit pattern r using the second encryption key K (S108), and the second encryption key K The encrypted random bit pattern K (r) and the encrypted password list are transmitted to the service using device 2 (S109).

サービス利用装置2では、受信した暗号パスワードリストの中からt番目の排他的論理和xkを抽出して(S110)、記憶部21に登録された利用者のパスワードpkとの排他的論理和を算出する(S111)。ステップS111での算出処理により、式(E)に示すように、ランダムビットパターンyが算出されるので、算出されたランダムビットパターンを第二暗号キーKを用いて暗号化処理する(S112)。暗号化されたランダムビットパターンK(y)をサービス提供装置1から受信したランダムビットパターンK(r)と比較して(S113)サービス提供装置1の正当性を判定する。一致する場合には、サービス提供装置1がサービス利用装置2から受信したIDリストのすべてのIDとランダムビットパターンrとの排他的論理和を正しく計算したことになり、正当なサービス提供装置であると判定することができる。そこで、ステップS111で算出したランダムビットパターンyをサービス提供装置1に送信する(S114)。ステップS113において両者が一致しない場合にはサービス提供装置は不正なものであると判定してランダムビットパターンyを送信せず終了する。 The service using device 2 extracts the t-th exclusive OR x k from the received encrypted password list (S110), and performs exclusive OR with the user password p k registered in the storage unit 21. Is calculated (S111). Since the random bit pattern y is calculated by the calculation process in step S111 as shown in the equation (E), the calculated random bit pattern is encrypted using the second encryption key K (S112). The encrypted random bit pattern K (y) is compared with the random bit pattern K (r) received from the service providing apparatus 1 (S113), and the validity of the service providing apparatus 1 is determined. If they match, the service providing apparatus 1 correctly calculates the exclusive OR of all IDs in the ID list received from the service using apparatus 2 and the random bit pattern r, and the service providing apparatus is a legitimate service providing apparatus. Can be determined. Therefore, the random bit pattern y calculated in step S111 is transmitted to the service providing apparatus 1 (S114). If they do not match in step S113, the service providing apparatus determines that the service providing device is illegal and ends without transmitting the random bit pattern y.

サービス提供装置1は、受信したランダムビットパターンyをステップS104で発生させたランダムビットパターンrと比較して(S115)サービス利用装置2の正当性を判定する。一致する場合には、サービス提供装置1から送信した暗号パスワードリストに含まれるパスワードを用いてサービス利用装置2が処理したと判定できるため、サービス利用装置2に対してサービス提供を開始する。一致しない場合には、サービス利用装置2は、暗号パスワードリストに含まれるパスワードを用いて処理していないことから、不正なものとしてエラーメッセージを送信して(S116)終了する。   The service providing apparatus 1 compares the received random bit pattern y with the random bit pattern r generated in step S104 (S115), and determines the validity of the service using apparatus 2. If they match, it can be determined that the service using device 2 has processed using the password included in the encrypted password list transmitted from the service providing device 1, and therefore service provision to the service using device 2 is started. If they do not match, the service using device 2 has not processed using the password included in the encryption password list, and therefore transmits an error message as invalid and ends (S116).

以上の処理では、サービス利用装置2からIDリストを送信しているので、サービス提供装置1ではどのIDの利用者がアクセスしてきているのか特定することはなく、利用者の正当性を判定できる。そして、サービス利用装置2では、サービス提供装置1から送信されたランダムビットパターンK(r)と自身が計算したK(y)とが一致することを確認することにより、サービス提供装置1が正しく処理していることを確認することができる。この場合、サービス利用装置2に他の利用者のパスワードが送信されるが、パスワード若しくはパスワードとランダムビットパターンとの排他的論理和も暗号キーと復号キーとが異なる暗号方式によって暗号化することで、復号化には別のキーが必要となるので、サービス利用装置での不正な利用は簡単に防止できる。同様に、サービス提供装置1で用いたランダムビットパターンrの暗号化も暗号キーと復号キーとが異なる暗号方式によって行われるので、暗号化されたランダムビットパターンK(r)を直接復号化してサービス提供装置1に送信するといった不正な処理も防止される。すなわち、真正なパスワードがないとサービス利用装置2ではランダムビットパターンrを復号化することができない。   In the above processing, since the ID list is transmitted from the service using apparatus 2, the service providing apparatus 1 does not specify which ID user is accessing, and can determine the legitimacy of the user. Then, in the service using device 2, the service providing device 1 correctly processes by confirming that the random bit pattern K (r) transmitted from the service providing device 1 matches K (y) calculated by itself. You can confirm that you are doing. In this case, the password of another user is transmitted to the service using device 2, but the exclusive OR of the password or the password and the random bit pattern is also encrypted by an encryption method in which the encryption key and the decryption key are different. Since another key is required for decryption, unauthorized use in the service utilization device can be easily prevented. Similarly, since the encryption of the random bit pattern r used in the service providing apparatus 1 is also performed by an encryption method in which the encryption key and the decryption key are different, the service is performed by directly decrypting the encrypted random bit pattern K (r). Unauthorized processing such as transmission to the providing apparatus 1 is also prevented. In other words, the service utilization device 2 cannot decrypt the random bit pattern r without an authentic password.

そして、暗号パスワードリストでは共通のランダムビットパターンrを用いてパスワードを処理しているので、暗号パスワードリストの何番目のパスワードが復号化されたかについてもサービス提供装置1では特定されない。また、サービス提供装置1では、サービス利用装置2から受信したランダムビットパターンyにより正当性を判定するので、利用者を特定することなく認証を行うことができる。   Since the password is processed using the common random bit pattern r in the encryption password list, the service providing apparatus 1 does not specify what number password in the encryption password list is decrypted. Further, since the service providing apparatus 1 determines the validity based on the random bit pattern y received from the service using apparatus 2, authentication can be performed without specifying the user.

以上のように、サービス提供装置1及びサービス利用装置2は、互いに匿名で認証することができる。   As described above, the service providing apparatus 1 and the service using apparatus 2 can authenticate each other anonymously.

図7は、サービス提供装置1とサービス利用装置2との間でサービス取引を行う場合の概略ブロック図である。サービス提供装置1の情報処理部10は、取引識別情報生成部120、取引識別情報判定部121、サービス処理部122、署名処理部123、結合計算部124、集計値算出部125、不正判定部126及び乱数発生部127を備えており、こうした機能は、記憶部11に記憶されたサービス提供プログラム110により実現される。   FIG. 7 is a schematic block diagram when a service transaction is performed between the service providing apparatus 1 and the service using apparatus 2. The information processing unit 10 of the service providing apparatus 1 includes a transaction identification information generation unit 120, a transaction identification information determination unit 121, a service processing unit 122, a signature processing unit 123, a combination calculation unit 124, a total value calculation unit 125, and an fraud determination unit 126. And a random number generator 127, and these functions are realized by the service providing program 110 stored in the storage unit 11.

記憶部11には、生成された取引識別情報Tを管理するための取引識別情報テーブル128、結合計算処理や集計値算出処理に用いる(2M+2)2個の係数データaij(i=1,2,…,2M+2;j=1,2,…,2M+2)及び乱数発生部127で生成される十分長い乱数の列rk(k=1,2,…)を記憶する係数データ記憶部129が記憶されている。係数データaijは、適当な数値を用いて適当に設定されるが、係数データaijで構成される行列の行列式が0とならないように設定する。乱数rkは、乱数発生部により予め十分多くの乱数を発生させて記憶しておく。そして、後述するように、各サービス利用者のk回目のサービス取引に関する一次結合データSjを算出する際には、共通の乱数rk及びrk+1を使用する。 The storage unit 11 includes a transaction identification information table 128 for managing the generated transaction identification information T, and (2M + 2) two coefficient data a ij (i = 1,2) used for the combination calculation process and the total value calculation process. ,..., 2M + 2; j = 1, 2,..., 2M + 2) and coefficient data storage for storing a sufficiently long random number sequence r k (k = 1, 2,...) Generated by the random number generator 127. The part 129 is stored. The coefficient data a ij is appropriately set using an appropriate numerical value, but is set so that the determinant of the matrix composed of the coefficient data a ij does not become zero. Random number r k is stored by generating a pre sufficient number of random by the random number generator. As described later, when calculating the linear combination data S j relates to the k-th service transactions of each service user, using a common random number r k and r k + 1.

取引識別情報生成部120は、個々のサービス取引を識別するために用いられる取引識別情報Tを生成し、生成された取引識別情報Tは、取引識別情報テーブル128に登録されて管理される。取引識別情報判定部121は、サービス利用装置2から送信された取引識別情報が署名済みであり、かつ、取引識別情報テーブル128に基づいて未使用のものであることをチェックして正当なサービス依頼か否か判定する。   The transaction identification information generation unit 120 generates transaction identification information T used for identifying individual service transactions, and the generated transaction identification information T is registered in the transaction identification information table 128 and managed. The transaction identification information determination unit 121 checks that the transaction identification information transmitted from the service using device 2 has been signed and is unused based on the transaction identification information table 128, and makes a valid service request. It is determined whether or not.

サービス処理部122は、正当なサービス依頼に対して依頼内容に従ってサービス処理を行う。サービス取引が完了すると、サービスの利用料金を算出するとともに使用された取引識別情報について取引識別情報テーブル128に使用済みであることを登録する。署名処理部123は、サービス取引が完了した後次回に使用する取引識別情報が暗号化処理されてサービス利用装置2から送信されてくると、暗号化取引識別情報に署名処理してサービス利用装置2に送信する。   The service processing unit 122 performs service processing according to the request content in response to a legitimate service request. When the service transaction is completed, the service usage fee is calculated and the transaction identification information used is registered in the transaction identification information table 128. When the transaction identification information to be used next time is encrypted and transmitted from the service using device 2 after the service transaction is completed, the signature processing unit 123 performs signature processing on the encrypted transaction identification information and performs the service using device 2. Send to.

結合計算部124は、サービス利用装置2から送信された最初の取引に使用する取引識別情報T(1)に基づいて暗号化処理されたM個の初期確認情報Wt(0)(t=1,2,…,M)、乱数発生部127で発生させた乱数R(0)、係数データ記憶部129に記憶された係数データaij及び乱数r1を用いた(2M+2)個の一次結合データSj(j=1,2,…,2M+2)を以下の式(A)
j={a(M+1+1)j1(0)+a(M+2+1)j2(0)+…+a(2M+1)M(0)}r1+a(2M+2)jR(0)・・・(A)
により算出する。
The combination calculation unit 124 encrypts the M pieces of initial confirmation information W t (0) (t = 1) based on the transaction identification information T (1) used for the first transaction transmitted from the service utilization device 2. , 2,..., M), (2M + 2) pieces of primary combined data using the random number R (0) generated by the random number generator 127, the coefficient data a ij and the random number r 1 stored in the coefficient data storage unit 129. S j (j = 1, 2,..., 2M + 2) is expressed by the following formula (A)
S j = {a (M + 1 + 1) j W 1 (0) + a (M + 2 + 1) j W 2 (0) +... + A (2M + 1) W M (0)} r 1 + a ( 2M + 2) j R (0) ... (A)
Calculated by

また、結合計算部124は、サービス利用装置2のk回目のサービス取引完了後に、当該サービス取引の利用料金に基づくデータE(k)(k=1,2,…,N)、サービス利用装置2から送信された今回のサービス取引の取引識別情報T(k)(k=1,2,…,N)に基づくM個の要素データVs(k)(s=1,2,…,M)及び次回のサービス取引の取引識別情報T(k+1)(k=1,2,…,N)に基づいて暗号化処理されたM個の確認情報Wt(k)(t=1,2,…,M)、乱数発生部127で発生させた乱数R(k)(k=1,2,…,N)、係数データ記憶部129に記憶された係数データaij及び乱数rkを用いた(2M+2)個の一次結合データSj(k)(j=1,2,…,2M+2)を以下の式(B)
j(k)=a1jE(k)+{a(1+1)j1(k)+a(2+1)j2(k)+…+a(M+1)M(k)}rk+{a(M+1+1)j1(k)+a(M+2+1)j2(k)+…+a(2M+1)M(k)}rk+1+a(2M+2)jR(k)・・・(B)
により算出する。
In addition, after completing the k-th service transaction of the service utilization device 2, the connection calculation unit 124 uses the data E (k) (k = 1, 2,. M element data V s (k) (s = 1, 2,..., M) based on the transaction identification information T (k) (k = 1, 2,. And M pieces of confirmation information W t (k) (t = 1, 2,...) Encrypted based on the transaction identification information T (k + 1) (k = 1, 2,..., N) of the next service transaction. , M), random number generated in the random number generating unit 127 R (k) (k = 1,2, ..., N), using the coefficient data a ij and the random number r k stored in the coefficient data storage section 129 ( 2M + 2) pieces of primary combined data S j (k) (j = 1, 2,..., 2M + 2) are expressed by the following equation (B)
S j (k) = a 1j E (k) + {a (1 + 1) j V 1 (k) + a (2 + 1) j V 2 (k) +... + A (M + 1) V M (k )} R k + {a (M + 1 + 1) j W 1 (k) + a (M + 2 + 1) j W 2 (k) +... + A (2M + 1) W M (k)} r k +1 + a (2M + 2) j R (k) (B)
Calculated by

なお、算出する一次結合データSj(k)(j=1,2,…,2M+2)の個数は、(2M+2)個以上であれば、後述する各集計値を算出することができることから、その個数Pを(P≧2M+2)となるように設定すればよい。そして、それに合せて係数データaijについても、P2個の係数データaij(i=1,2,…,P;j=1,2,…,P)に設定すればよい。 In addition, if the number of primary combination data S j (k) (j = 1, 2,..., 2M + 2) to be calculated is equal to or greater than (2M + 2), each aggregate value to be described later can be calculated. The number P may be set to satisfy (P ≧ 2M + 2). And, for the coefficient data a ij accordingly, P 2 pieces of coefficient data a ij (i = 1,2, ... , P; j = 1,2, ..., P) may be set to.

集計値算出部125は、サービス利用装置から送信された(2M+2)個の結合集計データΣSj及び係数データaijに基づいて、取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出して、サービス利用装置2がこれまでにN回のサービス取引を実行したとすると、N回のサービス取引に関する利用料金の合計額を求める。さらに、サービス利用装置2から送信された(2M+2)個の結合集計データΣSj(k)及び係数データaijに基づいて、取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値ΣVs(k)並びに取引識別情報T(1)〜T(N+1)に関する初期確認情報Wt(0)及び確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1tを算出して集計値Σrk+1tをサービス利用装置2に送信する。 Based on (2M + 2) pieces of combined total data ΣS j and coefficient data a ij transmitted from the service using device, the total value calculation unit 125 generates data E (k) related to the transaction identification information T (1) to T (N). ) E calculated value ΣE (k), and the service utilization apparatus 2 has executed N service transactions so far, the total amount of usage charges related to the N service transactions is obtained. Further, based on (2M + 2) pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service using device 2, element data and random numbers of the transaction identification information T (1) to T (N) Aggregated value ΣV s (k) for k for each s of product r k V s (k), initial confirmation information W t (0), confirmation information and random number regarding transaction identification information T (1) to T (N + 1) The total value Σr k + 1 W t for k for each t of the product r k + 1 W t (k) is calculated, and the total value Σr k + 1 W t is transmitted to the service using device 2.

不正判定部126は、集計値Σrksにサービス利用装置2から送信された要素データと乱数の積rk+1s(N+1)を各s毎に加算した集計値とサービス利用装置2から送信された集計値ΣXu(k)が一致しているか否か判定する。 The fraud determination unit 126 adds the element data transmitted from the service using device 2 and the random number product r k + 1 V s (N + 1) to the total value Σr k V s for each s and the service using device 2. It is determined whether or not the total value ΣX u (k) transmitted from is coincident.

サービス利用装置2の情報処理部20は、取引識別情報取得部220、サービス処理部221、暗号化処理部222、復号化処理部223、確認情報処理部224、結合データ集計部225及び要素集計値処理部226を備えており、こうした機能は、記憶部21に記憶されたサービス利用プログラム210により実現される。記憶部21には、サービス提供装置1から取得した取引識別情報Tに含まれる取引識別情報のリスト227、サービス提供装置1で署名処理された取引識別情報が登録された登録部228、サービス提供装置1から送信された(2M+2)個の一次結合データSjを記憶する登録部229、次回のサービス取引の取引識別情報T(k+1)の暗号化処理して確認情報を計算するのに用いるM2個の係数データbst(s=1,2,…,M;t=1,2,…,M)を記憶する係数データ記憶部230を記憶している。 The information processing unit 20 of the service using device 2 includes a transaction identification information acquisition unit 220, a service processing unit 221, an encryption processing unit 222, a decryption processing unit 223, a confirmation information processing unit 224, a combined data totaling unit 225, and an element total value. The processing unit 226 is provided, and such a function is realized by the service use program 210 stored in the storage unit 21. The storage unit 21 includes a list 227 of transaction identification information included in the transaction identification information T acquired from the service providing device 1, a registration unit 228 in which the transaction identification information subjected to signature processing in the service providing device 1 is registered, and the service providing device. A registration unit 229 that stores (2M + 2) pieces of primary combined data S j transmitted from 1, M 2 used to calculate confirmation information by encrypting transaction identification information T (k + 1) of the next service transaction The coefficient data storage unit 230 that stores the pieces of coefficient data b st (s = 1, 2,..., M; t = 1, 2,..., M) is stored.

取引識別情報取得部220は、サービス取引を開始する前にサービス提供装置1から必要数の取引識別情報を取引識別情報Tから選択して取得する。サービス処理部221は、登録部228に登録された署名処理済みの取引識別情報をサービス提供装置1に送信してサービス依頼を行う。   The transaction identification information acquisition unit 220 selects and acquires the required number of transaction identification information from the transaction identification information T from the service providing apparatus 1 before starting the service transaction. The service processing unit 221 makes a service request by transmitting the signature-processed transaction identification information registered in the registration unit 228 to the service providing apparatus 1.

暗号化処理部222は、最初のサービス取引の取引識別情報T(1)又はサービス取引完了後に次回のサービス取引の取引識別情報T(k+1)(k=1,2,…,N)を暗号化処理し暗号化取引識別情報を生成する。また、復号化処理部223は、サービス提供装置から送信された署名処理済みの暗号化取引識別情報を復号化処理して署名処理済みの取引識別情報を登録部228に記憶する。   The encryption processing unit 222 encrypts the transaction identification information T (1) of the first service transaction or the transaction identification information T (k + 1) (k = 1, 2,..., N) of the next service transaction after the service transaction is completed. Process and generate encrypted transaction identification information. In addition, the decryption processing unit 223 decrypts the signature-processed encrypted transaction identification information transmitted from the service providing apparatus, and stores the signature-processed transaction identification information in the registration unit 228.

取引識別情報Tの暗号化処理は、次回のサービス取引で使用する取引識別情報がサービス提供装置に知られてしまうと今回のサービス取引で使用した取引識別情報との関連付けがサービス提供装置側で可能となるためである。また、サービス提供装置にとっては、今回のサービス取引が完了した後に次回のサービス取引の取引識別情報を署名処理するので、正当にサービスを登録したサービス利用者のみに署名処理した取引識別情報を提供することができ、サービス利用額の総計の確実な計算が可能となる。   The encryption processing of transaction identification information T allows the service providing device to associate the transaction identification information used in the next service transaction with the transaction identifying information used in the current service transaction when the service providing device is informed It is because it becomes. Further, since the service providing apparatus performs signature processing on the transaction identification information of the next service transaction after the completion of the current service transaction, the transaction identification information that has been subjected to the signature processing is provided only to the service user who registered the service properly. It is possible to reliably calculate the total amount of service usage.

暗号化処理部222における取引識別情報Xの暗号化処理としては、例えば、乱数r及びサービス提供装置1側の公開鍵pを用いて以下のように処理する。
X→rpX
処理された暗号化取引識別情報を署名処理部123においてサービス提供装置1の秘密鍵qを用いて以下のように署名処理する。
pX→(rpX)q
この場合、取引識別情報Xには乱数rが掛けられているため、サービス提供装置1では取引識別情報Xを知ることはできず、ブラインド署名処理が行われることになる。署名処理された暗号化取引識別情報を復号化処理部223では、暗号化処理部222の暗号化処理で使用した乱数rを用いて以下のように処理する。
(rpX)q→(rpqXq)/r
ここで、pq=1であるから、
(rpqXq)/r→(rXq)/r→Xq
となり、サービス提供装置1の秘密鍵qで署名処理された取引識別情報Xを得ることができる。サービス利用装置が送信した取引識別情報が署名処理されたか否か確認したい場合には、署名処理された取引識別情報にサービス提供装置1の公開鍵pを掛けることで
Xq→Xqp→X
となって確認することができる。
As the encryption processing of the transaction identification information X in the encryption processing unit 222, for example, the following processing is performed using the random number r and the public key p on the service providing apparatus 1 side.
X → r p X
The signature processing unit 123 processes the encrypted transaction identification information thus processed using the secret key q of the service providing apparatus 1 as follows.
r p X → (r p X) q
In this case, since the transaction identification information X is multiplied by a random number r, the service providing apparatus 1 cannot know the transaction identification information X, and blind signature processing is performed. The decryption processing unit 223 processes the signature-processed encrypted transaction identification information using the random number r used in the encryption processing of the encryption processing unit 222 as follows.
(R p X) q → (r pq X q ) / r
Here, pq = 1, so
(R pq X q ) / r → (rX q ) / r → X q
Thus, the transaction identification information X signed with the secret key q of the service providing apparatus 1 can be obtained. When it is desired to check whether or not the transaction identification information transmitted by the service using device has been subjected to signature processing, the transaction identification information subjected to signature processing is multiplied by the public key p of the service providing device 1.
X q → X qp → X
It can be confirmed.

確認情報処理部224は、最初のサービス取引の取引識別情報T(1)に基づいて計算されるM個の要素データVs(1)(s=1,2,…,M)のサービス提供装置1の知らない係数による互いに独立なM個の一次結合である初期確認情報Wt(0)(t=1,2,…,M)を生成するとともに、サービス取引完了後に今回のサービス取引の回数をkとして、次回サービス取引の取引識別情報T(k+1)(k=1,2,…,N)に基づいて計算されるM個の要素データVs(k+1)(s=1,2,…,M)のサービス提供装置1の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成する。 The confirmation information processing unit 224 is a service providing device for M element data V s (1) (s = 1, 2,..., M) calculated based on the transaction identification information T (1) of the first service transaction. The initial confirmation information W t (0) (t = 1, 2,..., M), which is M linear combinations independent of each other by a coefficient that is not known, is generated, and the number of service transactions this time after completion of the service transaction , And M element data V s (k + 1) (s = 1, 2,... Calculated based on the transaction identification information T (k + 1) (k = 1, 2,..., N) of the next service transaction. , M), the confirmation information W t (k) (t = 1, 2,..., M), which is M linear combinations independent of each other by coefficients that the service providing apparatus 1 does not know.

M個の要素データVs(k)は、例えば、図8に示すように、取引識別情報T(k)を構成するビット列をM個に等分した各ビット列とする。次回の取引識別情報T(k+1)に基づいて暗号化処理されたM個の確認情報Wt(k)は、図9に示すように、まず、M個の要素データVs(k+1)を生成し、係数データ記憶部230に記憶されたM2個の係数データbstを用いて以下の式(F)
t(k)=b1t1(k+1)+b2t2(k+1)+…+bMtM(k+1)・・・(F)
により算出される。
The M element data V s (k) is, for example, each bit string obtained by equally dividing the bit string constituting the transaction identification information T (k) into M pieces as shown in FIG. The M pieces of confirmation information W t (k) encrypted based on the next transaction identification information T (k + 1) first generate M element data V s (k + 1) as shown in FIG. Then, using the M 2 pieces of coefficient data b st stored in the coefficient data storage unit 230, the following equation (F)
W t (k) = b 1t V 1 (k + 1) + b 2t V 2 (k + 1) +... + B Mt V M (k + 1) (F)
Is calculated by

2個の係数データbstは、サービス利用装置2のみが登録しているので、サービス提供装置1側で確認情報Wt(k)から次回の取引識別情報T(k+1)を知ることはできない。したがって、サービス提供装置1において、今回のサービス取引に関連付けて次回のサービス取引を蓄積していくことが防止される。また、サービス提供装置1は、今回の取引識別情報と次回のサービス取引の取引識別情報に関する確認情報に基づいて一次結合データSj(k)を算出することで、サービス取引の連続性を確保し、サービス利用装置によるサービス取引記録の削除やすり替えなどの改変を集計処理後に確実に検出できるようになる。 Since only the service using device 2 registers the M 2 coefficient data b st , the service providing device 1 cannot know the next transaction identification information T (k + 1) from the confirmation information W t (k). . Therefore, the service providing apparatus 1 is prevented from accumulating the next service transaction in association with the current service transaction. In addition, the service providing apparatus 1 secures the continuity of the service transaction by calculating the primary combined data S j (k) based on the confirmation information regarding the current transaction identification information and the transaction identification information of the next service transaction. This makes it possible to reliably detect alterations such as deletion or replacement of service transaction records by the service using device after the aggregation processing.

結合集計部225は、サービス提供装置1からの集計依頼に応じて登録された一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに、サービス利用装置2がこれまで受けたサービス取引の回数をNとすると、次回の取引識別情報T(N+1)に基づいて要素データVs(N+1)を生成して結合集計データΣSj(k)及び要素データVs(N+1)を送信する。 The combined totaling unit 225 calculates the combined total data ΣS j (k) obtained by totaling the primary combined data S j (k) registered in response to the totaling request from the service providing apparatus 1 for k for each j, Assuming that the number of service transactions received by the service utilization apparatus 2 so far is N, element data V s (N + 1) is generated based on the next transaction identification information T (N + 1), and the combined total data ΣS j (k) and Element data V s (N + 1) is transmitted.

例えば、サービス提供装置1との間でN回のサービス取引が行われたとすると、サービス提供装置1からはサービス利用装置2に、サービス取引前の最初に使用する取引識別情報T(1)に関するものをSj(0)とすると、図10に示すように、Sj(0)からSj(N)までの(N+1)回分の一次結合データが送信される。そして、サービス提供装置1からの集計依頼があった場合、一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)は、図10の最下段の式で表される。この式は、集計値ΣE(k)、集計値Σrks(k)、集計値Σrk+1t(k)及び集計値ΣR(k)の(2M+2)個のデータを変数として係数データaijを用いた(2M+2)個の連立一次方程式となっている。 For example, assuming that N service transactions have been performed with the service providing device 1, the service providing device 1 provides the service using device 2 with respect to transaction identification information T (1) used first before the service transaction. the When S j (0), as shown in FIG. 10, (N + 1) times the primary binding data from S j (0) to S j (N) is transmitted. Then, when there is a totaling request from the service providing apparatus 1, the combined total data ΣS j (k) obtained by totaling the primary combined data S j (k) for k for each j is expressed by the lowermost expression in FIG. expressed. This equation is a coefficient with (2M + 2) data of the aggregate value ΣE (k), the aggregate value Σr k V s (k), the aggregate value Σr k + 1 W t (k) and the aggregate value ΣR (k) as variables. These are (2M + 2) simultaneous linear equations using data a ij .

そのため、サービス提供装置1の集計値算出部125では、結合集計データΣSj(k)を得ることができれば、係数データaijに基づいて(2M+2)個の連立一次方程式を解くことができ、集計値ΣE(k)、集計値Σrks(k)、集計値Σrk+1t(k)及び集計値ΣR(k)を得ることができる。したがって、サービス提供装置1の集計値算出部125では、サービス利用装置2の個々のサービス取引に関する利用料金E(k)を知らなくてもその集計値ΣE(k)を算出することが可能となる。 Therefore, if the total value calculation unit 125 of the service providing apparatus 1 can obtain the combined total data ΣS j (k), (2M + 2) simultaneous linear equations can be solved based on the coefficient data a ij and the total is calculated. The value ΣE (k), the total value Σr k V s (k), the total value Σr k + 1 W t (k) and the total value ΣR (k) can be obtained. Therefore, the total value calculation unit 125 of the service providing apparatus 1 can calculate the total value ΣE (k) without knowing the usage fee E (k) related to each service transaction of the service using apparatus 2. .

また、結合集計データΣSj(k)の算出式には、サービス利用装置2側が知らない係数データaijの他に乱数rk及びR(k)が用いられているので、サービス利用装置2において一次結合データSj(k)の算出式を知ることはできず、不正操作を行うことはできない。 Further, the calculation formula for binding aggregated data [sigma] s j (k), since in addition to the random number r k and R of the coefficient data a ij does not know the service using apparatus 2 side (k) is used, the service using apparatus 2 The calculation formula of the primary combined data S j (k) cannot be known, and an illegal operation cannot be performed.

ここで集計値Σrk+1t(k)は取引識別情報T(1)〜T(N)に次回の取引識別情報T(N+1)を加えたものに対応する値であるので、サービス提供装置1の集計値算出部125では、得られた集計値Σrks(k)にサービス提供装置1から送信された次回の取引識別情報T(N+1)に対応する要素データVs(N+1)と乱数の積rN+1s(N+1)を各s毎に加えた集計値Σrks(k)を算出する。 Here, the total value Σr k + 1 W t (k) is a value corresponding to the value obtained by adding the next transaction identification information T (N + 1) to the transaction identification information T (1) to T (N), and therefore, the service provision In the total value calculation unit 125 of the device 1, the element data V s (N + 1) corresponding to the next transaction identification information T (N + 1) transmitted from the service providing device 1 to the obtained total value Σr k V s (k). The total value Σr k V s (k) is calculated by adding the product of the random number r N + 1 V s (N + 1) for each s.

さらに、集計値算出部125は、集計値Σrk+1t(k)をサービス利用装置2に送信し、要素集計処理部226が、集計値Σrk+1t(k)を復号化処理して集計値ΣXu(k)(u=1,2,…,M)を生成する。確認情報Wt(k)が、上述したようにM2個の係数データbstを用いて式(F)で算出されていることから、集計値Σrk+1t(k)が要素データVs(k)の各s毎のkについての集計値Σrks(k)を変数として係数データbstを用いたM個の連立一次方程式とみることができる。そのため、要素集計処理部226では、集計値Σrk+1t(k)をサービス提供装置1から得ることができれば、係数データbstを用いたM個の連立一次方程式を解いて、集計値ΣXu(k)を得ることができる。 Further, the total value calculation unit 125 transmits the total value Σr k + 1 W t (k) to the service utilization device 2, and the element total processing unit 226 decrypts the total value Σr k + 1 W t (k). The total value ΣX u (k) (u = 1, 2,..., M) is generated by processing. Since the confirmation information W t (k) is calculated by the equation (F) using the M 2 coefficient data b st as described above, the total value Σr k + 1 W t (k) is the element data. can be regarded as the M linear equations using the coefficient data b st aggregate value of k for each s of V s (k)? r k V s (k) is a variable. Therefore, if the total value Σr k + 1 W t (k) can be obtained from the service providing apparatus 1, the element total processing unit 226 solves the M simultaneous linear equations using the coefficient data b st and calculates the total value. ΣX u (k) can be obtained.

要素集計処理部226が算出処理した集計値ΣXu(k)は、取引識別情報T(1)〜T(N+1)に関する集計値であるため、不正な処理が行われていなければ、集計値Σrks(k)と一致する。そのため、不正判定部126で算出した集計値と一致するか否か判定することで、不正操作が行われたか否かチェックすることが可能となる。すなわち、サービス利用装置2側で結合集計データΣSj(k)を削除したり差し替えたりするなどの不正操作すると、今回及のサービス取引の取引識別情報T(k)と次回取引の取引識別情報T(k+1)から計算した確認情報の整合性がとれなくなり、サービス提供装置1の不正判定部126で算出した今回の取引識別情報T(k)に関する要素データの集計値Σrks(k)とサービス利用装置2の要素集計処理部226で算出した次回の取引識別情報T(k+1)に関する要素データの集計値ΣXu(k)が一致しなくなって不正判定部126においてチェックされるようになる。 The total value ΣX u (k) calculated and processed by the element total processing unit 226 is a total value related to the transaction identification information T (1) to T (N + 1). Therefore, if no unauthorized processing is performed, the total value Σr This is consistent with k V s (k). Therefore, it is possible to check whether or not an illegal operation has been performed by determining whether or not the total value calculated by the fraud determination unit 126 matches. That is, when an unauthorized operation such as deleting or replacing the combined aggregate data ΣS j (k) on the service using device 2 side, the transaction identification information T (k) of the current service transaction and the transaction identification information T of the next transaction are performed. The consistency of the confirmation information calculated from (k + 1) is lost, and the total value Σr k V s (k) of the element data related to the current transaction identification information T (k) calculated by the fraud determination unit 126 of the service providing apparatus 1 The aggregate value ΣX u (k) of the element data related to the next transaction identification information T (k + 1) calculated by the element aggregation processing unit 226 of the service using device 2 is not matched and is checked by the fraud determination unit 126.

要素集計処理部226では、集計値ΣVs(k)のみをサービス提供装置1に返すようになっているため、個々のサービス取引の取引識別情報T(k)に関する要素データVs(k)を知られることがない。 Since the element total processing unit 226 returns only the total value ΣV s (k) to the service providing apparatus 1, element data V s (k) relating to the transaction identification information T (k) of each service transaction is obtained. Not known.

図11は、サービス取引の実施前に行われる取引識別情報の発行処理に関するフローである。サービス提供装置1では、予め必要数の取引識別情報が生成されて取引識別情報テーブル128が記憶されている(S200)。まず、図3に示すように、サービス提供装置1とサービス利用装置2との間で互いに正当性の判定が行われて(S201、S202)匿名での認証が行われる。互いに正当性があると判定された場合に、サービス利用装置2は、サービス提供装置1に対して必要な数の取引識別情報の発行依頼を行う(S203)。サービス提供装置1は、未使用の取引識別情報をリストアップして、必要数をサービス利用装置2に発行する(S204)。この場合、リストアップされたものからサービス利用装置2側で選択するようにしてもよい。発行された取引識別情報は、サービス利用装置2の登録部228に記憶される(S205)。   FIG. 11 is a flow relating to the transaction identification information issuance process performed before the execution of the service transaction. In the service providing apparatus 1, a necessary number of transaction identification information is generated in advance and a transaction identification information table 128 is stored (S200). First, as shown in FIG. 3, the service providing apparatus 1 and the service using apparatus 2 determine each other's validity (S201, S202) and perform anonymous authentication. When it is determined that the two are legitimate, the service using device 2 requests the service providing device 1 to issue a necessary number of transaction identification information (S203). The service providing apparatus 1 lists unused transaction identification information and issues the required number to the service using apparatus 2 (S204). In this case, you may make it select from the list-up on the service utilization apparatus 2 side. The issued transaction identification information is stored in the registration unit 228 of the service using device 2 (S205).

次に、最初のサービス取引に用いる取引識別情報T(1)を選択して暗号化処理を暗号化処理部222で行い(S206)、暗号化取引識別情報T(1)を生成する。そして、選択された取引識別情報T(1)に基づいて確認情報処理部224で確認情報Wt(0)を生成する(S207)。生成された暗号化取引識別情報T(1)及び初期確認情報Wt(0)を添付してサービス提供装置1に対して署名処理を依頼する(S208)。サービス提供装置1では、署名処理部123で暗号化取引識別情報T(1)に署名処理を行い(S209)、結合計算部124で一次結合データSj(0)を上記の式(A)により算出処理する(S210)。署名処理された暗号化取引識別情報T(1)及び算出された一次結合データSj(0)をサービス利用装置2に送信し(S211)、署名処理された暗号化取引識別情報T(1)は、サービス利用装置2の復号化処理部223で処理されて署名入りの取引識別情報T(1)となり(S212)、登録部228に登録され、一次結合データSjは登録部229に登録される(S212)。 Next, the transaction identification information T (1) used for the first service transaction is selected and the encryption processing is performed by the encryption processing unit 222 (S206), and the encrypted transaction identification information T (1) is generated. Then, the confirmation information processing unit 224 generates confirmation information W t (0) based on the selected transaction identification information T (1) (S207). Attaching the generated encrypted transaction identification information T (1) and initial confirmation information W t (0) to the service providing apparatus 1 is requested (S208). In the service providing apparatus 1, the signature processing unit 123 performs signature processing on the encrypted transaction identification information T (1) (S209), and the combination calculation unit 124 converts the primary combined data S j (0) according to the above equation (A). Calculation processing is performed (S210). The signature-processed encrypted transaction identification information T (1) and the calculated primary combined data S j (0) are transmitted to the service using device 2 (S211), and the signature-processed encrypted transaction identification information T (1) Is processed by the decryption processing unit 223 of the service using apparatus 2 to become transaction identification information T (1) with a signature (S212), registered in the registration unit 228, and the primary combined data Sj is registered in the registration unit 229. (S212).

以上の処理により、サービス利用装置2は、サービス取引に必要な取引識別情報を取得するとともに最初に使用する署名入りの取引識別情報を得ることができる。   With the above processing, the service using device 2 can obtain transaction identification information necessary for service transaction and obtain transaction identification information with a signature to be used first.

図12は、サービス利用装置2によるk回目のサービス取引を行う場合の処理に関するフローである。まず、サービス提供装置1とサービス利用装置2との間で互いに正当性の判定が行われて(S300、S301)匿名での認証が行われる。互いに正当性があると判定された場合に、サービス利用措置2は、署名入りの取引識別情報T(k)を読み出して(S302)署名入りの取引識別情報T(k)を添付しサービス提供装置1に対してサービス依頼を行う(S303)。   FIG. 12 is a flow relating to processing when the service use device 2 performs the k-th service transaction. First, validity determination is performed between the service providing apparatus 1 and the service using apparatus 2 (S300, S301), and anonymous authentication is performed. When it is determined that the two are legitimate, the service use measure 2 reads the transaction identification information T (k) with a signature (S302) and attaches the transaction identification information T (k) with a signature to the service providing apparatus. 1 is requested for service (S303).

サービス提供装置1は、サービス依頼を受けると、署名入りの取引識別情報T(k)を取得して(S304)正常に署名されているか否か、未使用のものであるか否かチェックし取引識別情報T(k)の判定を行う(S305)。取引識別情報T(k)が正常なものであると判定された場合には、サービス処理を開始してサービス利用装置2との間でサービス取引を行う(S306)。そして、サービス取引完了後その利用料金E(k)を算出する(S307)。   Upon receipt of the service request, the service providing apparatus 1 acquires the transaction identification information T (k) with a signature (S304), checks whether it is normally signed and whether it is unused or not. The identification information T (k) is determined (S305). When it is determined that the transaction identification information T (k) is normal, service processing is started and a service transaction is performed with the service using device 2 (S306). Then, after the service transaction is completed, the usage fee E (k) is calculated (S307).

ステップS305において、取引識別情報T(k)が正常なものでないと判定された場合にはエラー処理を行い(S308)サービス処理は行われない。   If it is determined in step S305 that the transaction identification information T (k) is not normal, error processing is performed (S308), and service processing is not performed.

一方、サービス利用装置2は、サービス提供装置1とのサービス取引が開始されると、必要なサービス処理を行い(S309)、サービス取引完了後に次回のサービス取引で使用する取引識別情報T(k+1)を選択して暗号化処理部222で暗号化され(S310)、暗号化取引識別情報T(k+1)を生成する。そして、選択された取引識別情報T(k+1)に基づいて確認情報処理部224で確認情報Wt(k)を生成する(S311)。生成された暗号化取引識別情報T(k+1)を添付してサービス提供装置1に対して署名処理を依頼する(S312)。 On the other hand, when the service transaction with the service providing device 1 is started, the service using device 2 performs necessary service processing (S309), and transaction identification information T (k + 1) used in the next service transaction after the service transaction is completed. Is encrypted by the encryption processing unit 222 (S310), and encrypted transaction identification information T (k + 1) is generated. Then, the confirmation information processing unit 224 generates confirmation information W t (k) based on the selected transaction identification information T (k + 1) (S311). The generated encrypted transaction identification information T (k + 1) is attached and the service providing apparatus 1 is requested to perform signature processing (S312).

サービス提供装置1では、署名処理部123で暗号化取引識別情報T(k+1)に署名処理を行い(S313)、結合計算部124で一次結合データSj(k)を上記の式(B)により算出処理する(S314)。署名処理された暗号化取引識別情報T(k+1)及び算出された一次結合データSj(k)をサービス利用装置2に送信し(S315)、署名処理された暗号化取引識別情報T(k+1)は、サービス利用装置2の復号化処理部223で処理されて署名入りの取引識別情報T(k+1)となり(S316)、登録部228に登録され、一次結合データSj(k)は、登録部229に登録される(S317)。 In the service providing apparatus 1, the signature processing unit 123 performs signature processing on the encrypted transaction identification information T (k + 1) (S 313), and the combination calculation unit 124 converts the primary combined data S j (k) according to the above equation (B). Calculation processing is performed (S314). The signature-processed encrypted transaction identification information T (k + 1) and the calculated primary combined data S j (k) are transmitted to the service using device 2 (S315), and the signature-processed encrypted transaction identification information T (k + 1) Is processed by the decryption processing unit 223 of the service using device 2 to become transaction identification information T (k + 1) with a signature (S316), registered in the registration unit 228, and the primary combined data S j (k) is stored in the registration unit It is registered in 229 (S317).

以上の処理では、互いの正当性を判定して匿名認証した後においても取引識別情報を用いて署名入りの場合にサービス提供装置1でサービス取引するようにいるので、個々のサービス取引が匿名で行うことができるだけでなく、サービス利用装置の連続する取引が正しく行われることを保証する。また、次回の取引識別情報については暗号化処理された暗号化取引識別情報及び確認情報Wt(k)で処理されるので、今回の取引識別情報との関連付けがなされなず取引識別情報から一連のサービス取引を特定することができない。 In the above processing, even after the mutual validity is determined and the anonymous authentication is performed, the service providing apparatus 1 performs the service transaction when the signature is entered using the transaction identification information. Therefore, each service transaction is anonymous. In addition to being able to do so, it ensures that consecutive transactions of service-using devices are done correctly. Further, since the next transaction identification information is processed by the encrypted transaction identification information and confirmation information W t (k) that have been encrypted, the transaction identification information is not associated with the current transaction identification information, Unable to identify service transactions.

サービス提供装置1では、署名入りの取引識別情報により正当なサービス取引権限のある利用者を確実に判定することができる。   The service providing apparatus 1 can reliably determine a user who has a legitimate service transaction authority based on the transaction identification information with a signature.

図13は、サービス利用装置2に関する利用料金等の集計処理に関するフローである。集計処理は、サービス提供装置1において所定期間毎に行われる。まず、サービス提供装置1とサービス利用装置2との間で互いに正当性の判定が行われて(S400、S401)匿名での認証が行われる。互いに正当性があると判定された場合に、サービス提供装置1は、サービス利用装置2に対して集計依頼を行う(S402)。   FIG. 13 is a flow relating to a totaling process of usage charges and the like related to the service usage device 2. The aggregation process is performed in the service providing apparatus 1 every predetermined period. First, validity determination is performed between the service providing apparatus 1 and the service using apparatus 2 (S400, S401), and anonymous authentication is performed. When it is determined that the two are legitimate, the service providing apparatus 1 makes a totaling request to the service using apparatus 2 (S402).

サービス利用装置2は、それまでにN回のサービス取引をしているとして、集計依頼に基づいて登録部229に蓄積された一次結合データSj(k)についてデータ別に集計して結合集計データΣSj(k)を算出する(S403)。そして、選択された次回の取引識別情報T(N+1)を読み出して(S404)その要素データVs(N+1)を生成し(S405)、結合集計データΣSj及び要素データVs(N+1)をサービス提供装置1に送信する(S406)。 The service using device 2 is assumed to have performed N service transactions so far, and the primary combined data S j (k) accumulated in the registration unit 229 based on the totaling request is totaled for each data, and the combined total data ΣS j (k) is calculated (S403). Then, the selected next transaction identification information T (N + 1) is read out (S404), the element data V s (N + 1) is generated (S405), and the combined total data ΣS j and the element data V s (N + 1) are serviced. It transmits to the providing apparatus 1 (S406).

サービス提供装置1は、結合集計データΣSj(k)、係数データaij及びrkに基づいて、集計値ΣE(k)、集計値Σrks(k)及び集計値Σrk+1t(k)を算出する(S407)。そして、集計値Σrks(k)に、要素データと乱数の積rN+1s(N+1)を各s毎に加算処理した集計値を求め(S408)、集計値Σrk+1t(k)は、サービス利用装置2に送信する(S409)。 Service providing apparatus 1, the binding aggregated data ΣS j (k), based on the coefficient data a ij and r k, aggregate values? En (k), the aggregate value Σr k V s (k) and total value? R k + 1 W t (k) is calculated (S407). Then, the total value Σr k V s (k) is obtained by adding the element data and the random number product r N + 1 V s (N + 1) for each s (S408), and the total value Σr k + 1 is obtained. W t (k) is transmitted to the service using device 2 (S409).

サービス利用装置2は、集計値Σrk+1t(k)に基づいて集計値ΣXu(k)を算出処理し(S410)、算出された集計値ΣXu(k)をサービス提供装置1に送信する(S411)。 The service using device 2 calculates the total value ΣX u (k) based on the total value Σr k + 1 W t (k) (S410), and uses the calculated total value ΣX u (k) as the service providing device 1. (S411).

サービス提供装置1は、送信された集計値ΣXu(k)とステップS408で算出した集計値rks(k)(rN+1s(N+1)を加算した値)が一致するか判定し(S412)、一致する場合には正しく集計されたものとして集計値ΣE(k)に基づいてサービス利用装置2に利用料金の請求を行う(S413)。サービス利用装置2は、利用料金の請求に基づいて支払い処理を行う(S414)。 Whether the service providing apparatus 1 matches the transmitted total value ΣX u (k) with the total value r k V s (k) calculated in step S408 (a value obtained by adding r N + 1 V s (N + 1)). If it matches, the service utilization apparatus 2 is charged for the usage fee based on the total value ΣE (k) (S413). The service use device 2 performs a payment process based on the charge for the use fee (S414).

ステップS412において一致しない場合には、不正操作があったものとして、サービス提供装置1は、不正処理を行う(S415)。不正処理では、例えば、サービス利用装置2に対して係数データbstの開示を求めて、確認情報Wt(k)から要素データVs(k)を算出し、サービス利用装置2に関するサービス取引で使用した取引識別情報を特定する。そして、特定された取引識別情報に基づいてサービス利用装置2に登録された一次結合データから利用金額を集計してサービス利用装置2に対して請求するようにする。 If they do not match in step S412, the service providing apparatus 1 performs an unauthorized process on the assumption that there has been an unauthorized operation (S415). In the fraud processing, for example, the service utilization apparatus 2 is requested to disclose the coefficient data bst , the element data V s (k) is calculated from the confirmation information W t (k), and the service transaction related to the service utilization apparatus 2 is performed. Identify the transaction identification information used. Then, based on the identified transaction identification information, the usage amount is totaled from the primary combined data registered in the service utilization device 2 and charged to the service utilization device 2.

以上の処理により、サービス利用装置2は、個々のサービス取引に関して知らせることなく所定期間の集計値のみをサービス提供装置1に提供すればよく、サービス提供装置1においても集計値のみを得ることで、正確に利用料金の合計金額を算出することができ、さらに不正操作があったことについても確実に判定することが可能となる。   With the above processing, the service using device 2 only needs to provide the service providing device 1 with a total value for a predetermined period without notifying each service transaction, and the service providing device 1 also obtains only the total value, The total amount of the usage fee can be calculated accurately, and it is possible to reliably determine that there has been an unauthorized operation.

以上説明した実施形態では、サービス利用装置2の確認情報処理部224において今回のサービス取引の取引識別情報T(k)に基づくM個の要素データVs(k)及び次回のサービス取引の取引識別情報T(k+1)に基づいて暗号化処理されたM個の要素データWt(k)を生成してサービス提供装置1に送信するようにしているが、次回のサービス取引の取引識別情報T(k+1)の代わりに前回のサービス取引の取引識別情報T(k−1)を用いることもできる。 In the embodiment described above, M element data V s (k) based on the transaction identification information T (k) of the current service transaction and the transaction identification of the next service transaction in the confirmation information processing unit 224 of the service utilization device 2. The M element data W t (k) encrypted based on the information T (k + 1) is generated and transmitted to the service providing apparatus 1, but the transaction identification information T ( Instead of k + 1), transaction identification information T (k-1) of the previous service transaction can be used.

図14は、前回の取引識別情報T(k−1)を確認情報に用いた場合の一次結合データSjのリストである。この場合には、サービス利用装置2は、サービス取引開始前にダミーの取引識別情報T(0)を用いてその要素データVs(0)を生成し暗号処理せずにサービス提供装置1に送信する。サービス提供装置1は、一次結合データSj(0)を以下の式(G)
j(0)={a(1+1)j1(0)+a(2+1)j2(0)+…+a(M+1)M(0)}r1+a(2M+2)jR(0)・・・(G)
により算出する。そして、サービス利用装置2のk回目のサービス取引完了後には、今回のサービス取引の取引識別情報T(k)に基づくM個の要素データVs(k)及び前回の取引識別情報T(k−1)に基づいて暗号化処理されたM個の確認情報Wt(k−1)を生成してサービス提供装置1に送信する。サービス提供装置1は、一次結合データSj(k)を以下の式(H)
j(k)=a1jE(k)+{a(1+1)j1(k)+a(2+1)j2(k)+…+a(M+1)M(k)}rk+1+{a(M+1+1)j1(k−1)+a(M+2+1)j2(k−1)+…+a(2M+1)M(k−1)}rk+a(2M+2)jR(k)・・・(H)
により算出する。以上のように算出された一次結合データSj(k)をサービス利用装置2に送信して登録すれば、上記の実施形態と同様に利用料金の集計及び不正判定を行うことができる。
FIG. 14 is a list of primary combined data S j when the previous transaction identification information T (k−1) is used as confirmation information. In this case, the service using device 2 generates the element data V s (0) using the dummy transaction identification information T (0) before starting the service transaction, and transmits it to the service providing device 1 without performing the encryption process. To do. The service providing apparatus 1 converts the primary combined data S j (0) into the following formula (G)
S j (0) = {a (1 + 1) j V 1 (0) + a (2 + 1) j V 2 (0) +... + A (M + 1) V M (0)} r 1 + a (2M +2) j R (0) ... (G)
Calculated by After the service transaction of the service utilization device 2 is completed, the M element data V s (k) based on the transaction identification information T (k) of the current service transaction and the previous transaction identification information T (k− M pieces of confirmation information W t (k−1) encrypted based on 1) are generated and transmitted to the service providing apparatus 1. The service providing apparatus 1 converts the primary combined data S j (k) into the following formula (H)
S j (k) = a 1j E (k) + {a (1 + 1) j V 1 (k) + a (2 + 1) j V 2 (k) +... + A (M + 1) V M (k )} R k + 1 + {a (M + 1 + 1) j W 1 (k−1) + a (M + 2 + 1) j W 2 (k−1) +... + A (2M + 1) W M (K-1)} r k + a (2M + 2) j R (k) (H)
Calculated by If the primary combined data S j (k) calculated as described above is transmitted and registered to the service using device 2, the usage charges can be tabulated and fraud determination can be performed as in the above embodiment.

図15から図17は、前回の取引識別情報T(k−1)を確認情報に用いた場合の処理フローである。図11から図13で説明した処理フローと異なる部分について説明を行い、同じ部分については説明を省略する。   FIG. 15 to FIG. 17 are processing flows when the previous transaction identification information T (k−1) is used as confirmation information. Parts different from the processing flow described with reference to FIGS. 11 to 13 will be described, and description of the same parts will be omitted.

サービス取引の実施前に行われる取引識別情報の発行処理に関するフローでは、図15に示すように、取引識別情報の発行処理後ダミーの取引識別情報T(0)を生成し(S506)その要素データVs(0)を生成して(S507)サービス提供装置1に送信し、サービス提供装置1では上記の式(G)を用いて一次結合データSj(0)を算出する(S508)。算出された一次結合データSj(0)は、サービス利用装置2に送信されて(S509)登録部229に登録される(S510)。 In the flow relating to the transaction identification information issuance process performed before the service transaction is performed, dummy transaction identification information T (0) is generated after the transaction identification information issuance process as shown in FIG. 15 (S506). V s (0) is generated (S507) and transmitted to the service providing apparatus 1, and the service providing apparatus 1 calculates the primary combined data S j (0) using the above equation (G) (S508). The calculated primary combination data S j (0) is transmitted to the service using device 2 (S509) and registered in the registration unit 229 (S510).

サービス取引を行う場合の処理に関するフローでは、図16に示すように、サービス取引完了後、前回の取引識別情報T(k−1)を暗号化して確認情報Wt(k−1)を生成する(S610)。生成された確認情報Wt(k−1)をサービス提供装置1に送信して上記の式(H)を用いて一次結合データSj(k)を算出する(S615)。算出された一次結合データSj(k)は、署名入り情報とともにサービス利用装置2に送信されて(S616)登録部229に登録される(S618)。 As shown in FIG. 16, in the flow relating to the processing in the case of performing a service transaction, after completion of the service transaction, the previous transaction identification information T (k-1) is encrypted to generate confirmation information W t (k-1). (S610). The generated confirmation information W t (k−1) is transmitted to the service providing apparatus 1, and the primary combined data S j (k) is calculated using the above equation (H) (S615). The calculated primary combined data S j (k) is transmitted to the service using apparatus 2 together with the signed information (S616) and registered in the registration unit 229 (S618).

利用料金等の集計処理に関するフローでは、図17に示すように、結合集計データΣSj(k)の算出処理後最後のサービス取引で使用した取引識別情報T(N)を読み出して(S704)その要素データVs(N)を生成し(S705)結合集計データΣSj(k)及びVs(N)をサービス提供装置1に送信する(S706)。サービス提供装置1では、結合集計データΣSj(k)を用いて、集計値ΣE(k)、集計値Σrks(k)及び集計値Σrkt(k−1)を算出して(S707)、集計値Σrks(k)からrNs(N)を減算処理し(S708)、集計値Σrkt(k−1)をサービス利用装置2に送信する(S709)。サービス利用装置2では、集計値Σrkt(k−1)から集計値ΣXu(k−1)を算出して(S710)サービス提供装置1に送信し(S711)、サービス提供装置1では、ステップS708で算出した集計値と集計値ΣXu(k−1)とが一致しているか判定して(S712)不正判定を行う。 In the flow related to the aggregation processing such as the usage fee, as shown in FIG. 17, the transaction identification information T (N) used in the last service transaction after the calculation processing of the combined aggregation data ΣS j (k) is read (S704) Element data V s (N) is generated (S705), and the combined total data ΣS j (k) and V s (N) are transmitted to the service providing apparatus 1 (S706). The service providing apparatus 1 calculates the total value ΣE (k), the total value Σr k V s (k), and the total value Σr k W t (k−1) using the combined total data ΣS j (k). (S707), r N V s (N) is subtracted from the total value Σr k V s (k) (S708), and the total value Σr k W t (k−1) is transmitted to the service using device 2 (S709). ). The service using device 2 calculates the total value ΣX u (k−1) from the total value Σr k W t (k−1) (S710) and transmits it to the service providing device 1 (S711). Then, it is determined whether or not the total value calculated in step S708 matches the total value ΣX u (k−1) (S712), and fraud determination is performed.

以上のような処理により、前回の取引識別情報を用いた確認情報でも上述した実施形態と同様に利用料金の集計及び不正判定を行うことができる。   Through the processing as described above, even with confirmation information using the previous transaction identification information, usage charges can be tabulated and fraud determination can be performed as in the above-described embodiment.

図18は、上述した実施形態とは別の実施形態に関する概略ブロック図である。この例では、不正判定を行うために、上述の実施形態で用いた確認情報以外に取引回数を用いるようにしている。なお、上述の実施形態と同様の構成については、説明が重複するため省略する。   FIG. 18 is a schematic block diagram relating to an embodiment different from the above-described embodiment. In this example, in order to perform fraud determination, the number of transactions is used in addition to the confirmation information used in the above embodiment. In addition, about the structure similar to the above-mentioned embodiment, since description overlaps, it abbreviate | omits.

サービス提供装置1の情報処理部10は、取引識別情報生成部120、取引識別情報判定部121、サービス処理部122、署名処理部123、結合計算部124、集計値算出部125、不正判定部126及び乱数発生部127を備えており、こうした機能は、記憶部11に記憶されたサービス提供プログラム110により実現される。   The information processing unit 10 of the service providing apparatus 1 includes a transaction identification information generation unit 120, a transaction identification information determination unit 121, a service processing unit 122, a signature processing unit 123, a combination calculation unit 124, a total value calculation unit 125, and an fraud determination unit 126. And a random number generator 127, and these functions are realized by the service providing program 110 stored in the storage unit 11.

記憶部11には、生成された取引識別情報Tを管理するための取引識別情報テーブル128、結合計算処理や集計値算出処理に用いる(2M+3)2個の係数データaij(i=1,2,…,2M+3;j=1,2,…,2M+3)及び十分多い乱数の列rk(k=1,2,…)を記憶する係数データ記憶部129が記憶されている。係数データaijは、適当な数値を用いて適当に設定されるが、係数データaijで構成される行列の行列式が0とならないように設定する。乱数rkは、乱数発生部127により予め発生させて記憶しておく。そして、後述するように、各サービス利用者のk回目のサービス取引に関する一次結合データSj(k)を算出する際には、共通の乱数rk及びrk+1を使用する。 The storage unit 11 has a transaction identification information table 128 for managing the generated transaction identification information T, and (2M + 3) two coefficient data a ij (i = 1, 2) used for the combination calculation process and the total value calculation process. ,..., 2M + 3; j = 1, 2,..., 2M + 3) and a coefficient data storage unit 129 for storing a sufficiently large random number sequence r k (k = 1, 2,...). The coefficient data a ij is appropriately set using an appropriate numerical value, but is set so that the determinant of the matrix composed of the coefficient data a ij does not become zero. Random number r k is stored in advance is generated by the random number generation unit 127. As described later, when calculating the linear combination data S j (k) for the k-th service transactions of each service user, using a common random number r k and r k + 1.

取引識別情報生成部120及びサービス処理部122は、上述の実施形態と同様の機能を備えている。   The transaction identification information generation unit 120 and the service processing unit 122 have the same functions as those in the above-described embodiment.

結合計算部124は、サービス利用装置2から送信された最初の取引に使用する取引識別情報T(1)に基づいて暗号化処理されたM個の初期確認情報Wt(0)(t=1,2,…,M)、乱数発生部127で発生させた乱数R(0)、係数データ記憶部129に記憶された係数データaij及び乱数r1を用いて(2M+3)個の一次結合データSj(0)(j=1,2,…,2M+3)を以下の式(I)
j(0)={a(M+1+2)j1(0)+a(M+2+2)j2(0)+…+a(2M+2)M(0)}r1+a(2M+3)jR(0)・・・(I)
により算出する。
The combination calculation unit 124 encrypts the M pieces of initial confirmation information W t (0) (t = 1) based on the transaction identification information T (1) used for the first transaction transmitted from the service utilization device 2. , 2,..., M), (2M + 3) pieces of primary combined data using the random number R (0) generated by the random number generator 127, the coefficient data a ij and the random number r 1 stored in the coefficient data storage unit 129. S j (0) (j = 1, 2,..., 2M + 3) is expressed by the following formula (I)
S j (0) = {a (M + 1 + 2) j W 1 (0) + a (M + 2 + 2) j W 2 (0) +... + A (2M + 2) W M (0)} r 1 + a (2M + 3) j R (0) ... (I)
Calculated by

また、結合計算部124は、サービス利用装置2によるk回目のサービス取引完了後に、当該サービス取引の利用料金に基づくデータE(k)(k=1,2,…,N)、サービス利用装置2から送信された今回のサービス取引の回数に基づく回数データQ(k)(k=1,2,…,N)、今回のサービス取引の取引識別情報T(k)(k=1,2,…,N)に基づくM個の要素データVs(k)(s=1,2,…,M)、次回のサービス取引の取引識別情報T(k+1)(k=1,2,…,N)に基づいて暗号化処理されたM個の確認情報Wt(k)(t=1,2,…,M)、乱数発生部127で発生させた乱数R(k)(k=1,2,…,N)並びに係数データ記憶部129に記憶された係数データaij及び乱数rkを用いた(2M+3)個の一次結合データSj(k)(j=1,2,…,2M+3)を以下の式(J)
j(k)=a1jE(k)+a2jQ(k)+{a(1+2)j1(k)+a(2+2)j2(k)+…+a(M+2)M(k)}rk+{a(M+1+2)j1(k)+a(M+2+2)j2(k)+…+a(2M+2)M(k)}rk+1+a(2M+3)jR(k)・・・(J)
により算出する。
Further, after the k-th service transaction by the service utilization device 2 is completed, the combination calculation unit 124 uses the data E (k) (k = 1, 2,..., N) based on the usage fee of the service transaction, the service utilization device 2 Number data Q (k) (k = 1, 2,..., N) based on the number of current service transactions transmitted from, and transaction identification information T (k) (k = 1, 2,. , N) based on M element data V s (k) (s = 1, 2,..., M), transaction identification information T (k + 1) (k = 1, 2,..., N) of the next service transaction M pieces of confirmation information W t (k) (t = 1, 2,..., M) encrypted based on the random number R (k) generated by the random number generator 127 (k = 1, 2, , N) and (2M + 3) pieces of primary combined data S j (k) (j = 1, 2,..., 2M + 3) using the coefficient data a ij and the random number r k stored in the coefficient data storage unit 129. ) With the following formula (J)
S j (k) = a 1j E (k) + a 2j Q (k) + {a (1 + 2) j V 1 (k) + a (2 + 2) j V 2 (k) +... + A (M + 2) V M (k)} r k + {a (M + 1 + 2) j W 1 (k) + a (M + 2 + 2) j W 2 (k) + ... + a (2M + 2) W M (K)} r k + 1 + a (2M + 3) j R (k) (J)
Calculated by

なお、算出する一次結合データSj(k)(j=1,2,…,2M+2)の個数は、(2M+3)個以上であれば、後述する各集計値を算出することができることから、その個数Pを(P≧2M+3)となるように設定すればよい。そして、それに合せて係数データaijについても、P2個の係数データaij(i=1,2,…,P;j=1,2,…,P)に設定すればよい。 In addition, if the number of primary combination data S j (k) (j = 1, 2,..., 2M + 2) to be calculated is (2M + 3) or more, each aggregate value to be described later can be calculated. The number P may be set so as to satisfy (P ≧ 2M + 3). And, for the coefficient data a ij accordingly, P 2 pieces of coefficient data a ij (i = 1,2, ... , P; j = 1,2, ..., P) may be set to.

集計値算出部125は、サービス利用装置2がそれまでに実行した取引の数をNとすると、サービス利用装置から送信された(2M+3)個の結合集計データΣSj(k)及び係数データaijに基づいて、取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出してN回のサービス取引に関する利用料金の合計額を求める。また、サービス利用装置2から送信された(2M+3)個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する回数データQ(k)の集計値ΣQ(k)を算出する。さらに、サービス利用装置2から送信された(2M+3)個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値Σrks並びに取引識別情報T(1)〜T(N+1)に関する初期確認情報と乱数の積r1t(0)及び確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1t(k)を算出して集計値Σrk+1t(k)をサービス利用装置2に送信する。 The total value calculation unit 125 assumes (2M + 3) pieces of combined total data ΣS j (k) and coefficient data a ij transmitted from the service using device, where N is the number of transactions that the service using device 2 has executed so far. The total value ΣE (k) of the data E (k) related to the transaction identification information T (1) to T (N) is calculated based on the above, and the total amount of usage charges related to N service transactions is obtained. In addition, based on (2M + 3) pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service utilization device 2, the number-of-times data Q (k) relating to the transaction identification information T (1) to T (N). The total value ΣQ (k) is calculated. Further, based on (2M + 3) pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service utilization device 2, the product of element data and random numbers relating to the transaction identification information T (1) to T (N) r k V s (k) aggregate value? r k V s and transaction identification information T for the k for each s of (1) ~T (N + 1 ) on initial confirmation information and the random number of the product r 1 W t (0) and The total value Σr k + 1 W t (k) for k for each t of the product r k + 1 W t (k) of the confirmation information and the random number is calculated and the total value Σr k + 1 W t (k) is calculated. It transmits to the service using device 2.

不正判定部126は、第一の不正判定として、集計値算出部125で算出された集計値ΣQ(k)とサービス利用装置2から送信された回数データQ(N+1)との間の整合性を判定して不正操作があるか否か判定し、回数データQ(k)に関して整合性がある場合には、第二の不正判定として、集計値Σrks(k)にサービス利用装置2から送信された要素データと乱数の積rN+1s(N+1)を各s毎に加算した集計値とサービス利用装置2から送信された集計値ΣXu(k)が一致しているか否か判定する。 The fraud determination unit 126 determines the consistency between the total value ΣQ (k) calculated by the total value calculation unit 125 and the number of times data Q (N + 1) transmitted from the service using device 2 as a first fraud determination. It is determined whether or not there is an unauthorized operation, and if there is consistency regarding the number of times data Q (k), as a second unauthorized determination, the aggregate value Σr k V s (k) is transferred from the service using device 2. Whether the total value obtained by adding the product r N + 1 V s (N + 1) of the transmitted element data and the random number for each s matches the total value ΣX u (k) transmitted from the service using device 2 judge.

サービス利用装置2の情報処理部20は、取引識別情報取得部220、サービス処理部221、暗号化処理部222、復号化処理部223、識別データ生成部231、確認情報処理部224、結合データ集計部225及び要素集計値処理部226を備えており、こうした機能は、記憶部21に記憶されたサービス利用プログラム210により実現される。記憶部21には、サービス提供装置1から取得した取引識別情報Tから選択された取引識別情報のリスト227、サービス提供装置1で署名処理された識別データが登録された登録部228、各k回目のサービス取引においてサービス提供装置1から送信された(2M+3)個の一次結合データSj(k)を記憶する登録部229、次回のサービス取引の取引識別情報T(k+1)の暗号化処理に用いるM2個の係数データbst(s=1,2,…,M;t=1,2,…,M)を記憶する係数データ記憶部230を記憶している。 The information processing unit 20 of the service utilization device 2 includes a transaction identification information acquisition unit 220, a service processing unit 221, an encryption processing unit 222, a decryption processing unit 223, an identification data generation unit 231, a confirmation information processing unit 224, and a combined data tabulation. Unit 225 and element total value processing unit 226, and these functions are realized by the service use program 210 stored in the storage unit 21. The storage unit 21 includes a list 227 of transaction identification information selected from the transaction identification information T acquired from the service providing device 1, a registration unit 228 in which identification data signature-processed by the service providing device 1 is registered, and each kth time A registration unit 229 that stores (2M + 3) pieces of primary combined data S j (k) transmitted from the service providing apparatus 1 in the service transaction of the service transaction, and is used for encryption processing of transaction identification information T (k + 1) of the next service transaction. A coefficient data storage unit 230 that stores M 2 pieces of coefficient data b st (s = 1, 2,..., M; t = 1, 2,..., M) is stored.

取引識別情報取得部220は、上述の実施形態と同様の機能を備えている。   The transaction identification information acquisition unit 220 has the same function as that of the above-described embodiment.

識別データ生成部231は、サービス取引を行うごとに自動的に1ずつ増加してサービス取引の回数を示す回数データを設定する機能を備えており、最初のサービス取引の取引識別情報T(1)を選択してその回数データQ(1)を設定し、両者を合体した識別データT(1)Q(1)を生成し、また、k回目のサービス取引完了後に次回のサービス取引の取引識別情報T(k+1)(k=1,2,…,N)を選択してその回数データQ(k)を設定し、両者を合体した識別データT(k+1)Q(k+1)を生成する。なお、回数データQ(k)は、取引回数そのもののデータ以外にも、(取引回数−定数)や(取引回数×定数)というように設定してもよく、サービス取引を行うごとに1ずつ増加するように設定されればよい。   The identification data generation unit 231 has a function of setting the number data indicating the number of service transactions by incrementing automatically by 1 each time a service transaction is performed, and transaction identification information T (1) of the first service transaction. Is selected, the number of times data Q (1) is set, identification data T (1) Q (1) is generated by combining the two, and the transaction identification information of the next service transaction after the completion of the kth service transaction T (k + 1) (k = 1, 2,..., N) is selected, the number of times data Q (k) is set, and identification data T (k + 1) Q (k + 1) is generated by combining the two. The number data Q (k) may be set to (transaction number-constant) or (transaction number × constant) in addition to the data of the transaction number itself, and increases by one for each service transaction. What is necessary is just to set so that.

暗号化処理部222は、最初のサービス取引の識別データT(1)Q(1)又はサービス取引完了後に次回のサービス取引の識別データT(k+1)Q(k+1)を暗号化処理し暗号化識別データを生成する。また、復号化処理部223は、サービス提供装置から送信された署名処理済みの暗号化識別データを復号化処理して署名処理済みの識別データを登録部228に記憶する。   The encryption processing unit 222 encrypts the identification data T (1) Q (1) of the first service transaction or the identification data T (k + 1) Q (k + 1) of the next service transaction after the service transaction is completed. Generate data. Also, the decryption processing unit 223 decrypts the signature-processed encrypted identification data transmitted from the service providing apparatus, and stores the signature-processed identification data in the registration unit 228.

暗号化処理部222で暗号化処理された識別データは、サービス提供装置1の署名処理部123で署名処理されてサービス利用装置に送信されて復号化処理部223で復号化されるが、これら一連の処理は、上述の実施形態と同様に行われる。   The identification data encrypted by the encryption processing unit 222 is subjected to signature processing by the signature processing unit 123 of the service providing apparatus 1, transmitted to the service using apparatus, and decrypted by the decryption processing unit 223. This process is performed in the same manner as in the above-described embodiment.

確認情報処理部224は、最初のサービス取引の取引識別情報T(1)に基づいて暗号化処理されたM個の初期確認情報Wt(0)(t=1,2,…,M)を生成するとともに、k回目のサービス取引完了後に次回のサービス取引の取引識別情報T(k+1)(k=1,2,…,N)に基づいて計算されるVs(k+1)を暗号化処理したM個の確認情報Wt(k)(t=1,2,…,M)を生成する。M個の要素データVs(k+1)及びM個の確認情報Wt(k)は、上述した実施形態と同様に生成される。 The confirmation information processing unit 224 receives the M pieces of initial confirmation information W t (0) (t = 1, 2,..., M) encrypted based on the transaction identification information T (1) of the first service transaction. And V s (k + 1) calculated based on transaction identification information T (k + 1) (k = 1, 2,..., N) of the next service transaction after the completion of the kth service transaction M pieces of confirmation information W t (k) (t = 1, 2,..., M) are generated. M element data V s (k + 1) and M pieces of confirmation information W t (k) are generated in the same manner as in the above-described embodiment.

結合集計部225は、サービス提供装置1からの集計依頼に応じて登録された一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに次回の取引識別情報T(N+1)に基づく要素データVs(N+1)及び次回のサービス取引の回数順に基づく回数データQ(N+1)を生成して結合集計データΣSj(k)、要素データVs(N+1)及び回数データQ(N+1)を送信する。 The combined totaling unit 225 calculates the combined total data ΣS j (k) obtained by calculating the primary combined data S j (k) registered in response to the totaling request from the service providing apparatus 1 for k for each j and the next time. Element data V s (N + 1) based on the transaction identification information T (N + 1) and the number of times data Q (N + 1) based on the order of the number of times of the next service transaction are generated, and the combined total data ΣS j (k), element data V s ( N + 1) and count data Q (N + 1).

例えば、サービス提供装置1との間でN回のサービス取引が行われたとすると、サービス提供装置1からサービス利用装置2に、サービス取引前の最初に使用する取引識別情報T(1)に関するものをSj(0)とすると、図19に示すように、Sj(0)からSj(N)までの(N+1)回分の一次結合データがサービス利用装置2に送信される。そして、サービス提供装置1からの集計依頼があった場合、一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)は、図19の最下段の式で求められる。この式は、集計値ΣE(k)、集計値ΣQ(k)、集計値Σrks(k)、集計値Σrk+1t(k)及び集計値ΣR(k)の(2M+3)個のデータを変数として係数データaijを用いた(2M+3)個の連立一次方程式となっている。 For example, assuming that N service transactions have been performed with the service providing device 1, information relating to transaction identification information T (1) to be used first before the service transaction is transferred from the service providing device 1 to the service using device 2. When S j (0), as shown in FIG. 19, (N + 1) times the primary binding data from S j (0) to S j (N) is transmitted to the service using apparatus 2. Then, when there is a totaling request from the service providing apparatus 1, the combined total data ΣS j (k) obtained by totaling the primary combined data S j (k) for k for each j is expressed by the lowermost expression in FIG. Desired. This formula is calculated as (2M + 3) of the total value ΣE (k), the total value ΣQ (k), the total value Σr k V s (k), the total value Σr k + 1 W t (k), and the total value ΣR (k). These are (2M + 3) simultaneous linear equations using coefficient data a ij with the data as variables.

そのため、サービス提供装置1の集計値算出部125では、結合集計データΣSj(k)を得ることができれば、係数データaijに基づいて(2M+3)個の連立一次方程式を解くことができ、集計値ΣE(k)、集計値ΣQ(k)、集計値Σrks(k)、集計値Σrk+1t(k)及び集計値ΣR(k)を得ることができる。したがって、サービス提供装置1の集計値算出部125では、サービス利用装置2の個々のサービス取引に関する利用料金E(k)を知らなくてもその集計値ΣE(k)を算出することが可能となる。 Therefore, the aggregate value calculation unit 125 of the service providing apparatus 1, if it is possible to obtain binding aggregated data ΣS j (k), can be solved on the basis of the coefficient data a ij of (2M + 3) number of simultaneous linear equations, aggregation The value ΣE (k), the total value ΣQ (k), the total value Σr k V s (k), the total value Σr k + 1 W t (k), and the total value ΣR (k) can be obtained. Therefore, the total value calculation unit 125 of the service providing apparatus 1 can calculate the total value ΣE (k) without knowing the usage fee E (k) related to each service transaction of the service using apparatus 2. .

また、一次結合データΣSj(k)の算出式には、サービス利用装置2側が知らない係数データaijの他に乱数rk及びR(k)が用いられているので、サービス利用装置2において一次結合データSjの算出式を知ることはできず、不正操作を行うことはできない。 Further, the calculation formula of the primary binding data [sigma] s j (k), since in addition to the random number r k and R of the coefficient data a ij does not know the service using apparatus 2 side (k) is used, the service using apparatus 2 The calculation formula of the primary combined data S j cannot be known, and an illegal operation cannot be performed.

不正判定部126は、集計値ΣQ(k)を用いて不正判定を行う場合には、集計値ΣQ(k)が取引識別情報T(1)〜T(N)に関する回数データの総和であることから、サービス利用装置2から送信された取引識別情報T(N+1)の回数データQ(N+1)との整合性をチェックすることで、一次結合データSjの集計において不正操作があったことを判定できる。例えば、回数データQ(k)が取引回数自体を示すデータの場合回数データQ(N+1)が(N+1)となって、集計値は1からNまでの整数を連続して加算した値N・(N+1)/2となるが、集計値算出部125から得られた集計値ΣQ(k)がこの値と異なっていれば、一次結合データSjを一部欠落させて集計していることが疑われて不正操作をチェックすることができる。 When the fraud determination unit 126 performs fraud determination using the total value ΣQ (k), the total value ΣQ (k) is the sum of the number of times related to the transaction identification information T (1) to T (N). From this, it is determined that there has been an unauthorized operation in the aggregation of the primary combined data S j by checking the consistency of the transaction identification information T (N + 1) transmitted from the service utilization device 2 with the number data Q (N + 1). it can. For example, when the count data Q (k) is data indicating the transaction count itself, the count data Q (N + 1) is (N + 1), and the total value is a value obtained by continuously adding integers from 1 to N N · ( N + 1) / 2, but if the aggregate value ΣQ (k) obtained from the aggregate value calculation unit 125 is different from this value, it is suspected that the primary combined data S j is partially omitted and aggregated. You can check for unauthorized operations.

不正判定部126で集計値Σrks(k)に基づいて不正判定を行う場合には、図19に示すように、取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)を集計した集計値Σrks(k)に対して、集計値Σrk+1t(k)は、取引識別情報T(1)〜T(N)に次回の取引識別情報T(N+1)を加えたものを集計していることから、結合データ集計部225では、次回の取引識別情報T(N+1)に基づいて要素データと乱数の積rN+1s(N+1)を生成してサービス提供装置1に送信し、集計値算出部125で集計された集計値Σrks(k)に各s毎に要素データと乱数の積rN+1s(N+1)を加算して取引識別情報T(1)〜T(N+1)に関する集計値を算出する。 When the fraud determination unit 126 performs fraud determination based on the total value Σr k V s (k), as shown in FIG. 19, the element data and the random number of the transaction identification information T (1) to T (N) For the total value Σr k V s (k) obtained by totaling the products r k V s (k), the total value Σr k + 1 W t (k) is stored in the transaction identification information T (1) to T (N). Since the sum of the next transaction identification information T (N + 1) is aggregated, the combined data aggregation unit 225 calculates the product r N + 1 of the element data and the random number based on the next transaction identification information T (N + 1). V s (N + 1) is generated and transmitted to the service providing apparatus 1, and the total value Σr k V s (k) totaled by the total value calculation unit 125 is multiplied by the product r N + 1 of the element data and random number for each s. V s (N + 1) is added to calculate a total value for transaction identification information T (1) to T (N + 1).

そして、集計値算出部125は、集計値Σrk+1t(k)をサービス利用装置2に送信し、上述した実施形態と同様に要素集計処理部226において集計値ΣXu(k)を算出し、算出処理した集計値ΣXu(k)が、取引識別情報T(1)〜T(N+1)に関する集計値であるため、不正な処理が行われていなければ、集計値Σrks(k)と一致することから、不正判定部126で算出した集計値と一致するか否か判定することで、不正操作が行われたか否かチェックすることが可能となる。サービス利用装置2側で一次結合データΣSj(k)を不正操作すると、今回及び次回のサービス取引の取引識別情報T(k)の確認情報とT(k+1)との整合性がとれなくなり、サービス提供装置1の不正判定部126で算出した今回の取引識別情報T(k)に関する要素データの集計値Σrks(k)とサービス利用装置2の要素集計処理部226で算出した次回の取引識別情報T(k+1)に関する要素データの集計値ΣXu(k)が一致しなくなって不正判定部126においてチェックされるようになる。 Then, the total value calculation unit 125 transmits the total value Σr k + 1 W t (k) to the service utilization device 2, and the total value ΣX u (k) is transmitted in the element total processing unit 226 as in the above-described embodiment. Since the calculated and calculated total value ΣX u (k) is the total value regarding the transaction identification information T (1) to T (N + 1), the total value Σr k V s is obtained unless an unauthorized process is performed. Since it matches (k), it is possible to check whether or not an illegal operation has been performed by determining whether or not the total value calculated by the fraud determination unit 126 matches. If the primary combined data ΣS j (k) is illegally operated on the service utilization device 2 side, the confirmation information of the transaction identification information T (k) of the current and next service transactions cannot be matched with T (k + 1), and the service Total value Σr k V s (k) of the element data related to the current transaction identification information T (k) calculated by the fraud determination unit 126 of the providing device 1 and the next transaction calculated by the element total processing unit 226 of the service using device 2 The total value ΣX u (k) of the element data relating to the identification information T (k + 1) does not match and is checked by the fraud determination unit 126.

要素集計処理部226では、集計値Σrks(k)のみをサービス提供装置1に返すようになっているため、個々のサービス取引の取引識別情報T(k)に関する要素データVs(k)を知られることがない。 Since the element totaling processing unit 226 returns only the total value Σr k V s (k) to the service providing apparatus 1, element data V s (k) regarding the transaction identification information T (k) of each service transaction is returned. ) Is not known.

図20は、サービス取引の実施前に行われる取引識別情報の発行処理に関するフローである。サービス提供装置1では、予め必要数の取引識別情報が生成されて取引識別情報テーブル128が記憶されている(S800)。まず、サービス提供装置1とサービス利用装置2との間で互いに正当性の判定が行われて(S801、S802)匿名での認証が行われる。互いに正当性があると判定された場合に、サービス利用装置2は、サービス提供装置1に対して必要な数の取引識別情報の発行依頼を行う(S803)。サービス提供装置1は、未使用の取引識別情報をリストアップして、必要数をサービス利用装置2に発行する(S804)。発行された取引識別情報は、サービス利用装置2の登録部228に記憶される(S805)。   FIG. 20 is a flow relating to the transaction identification information issuance process performed before the execution of the service transaction. In the service providing apparatus 1, a necessary number of transaction identification information is generated in advance and the transaction identification information table 128 is stored (S800). First, validity determination is performed between the service providing apparatus 1 and the service using apparatus 2 (S801, S802), and anonymous authentication is performed. When it is determined that the two are legitimate, the service using device 2 requests the service providing device 1 to issue the necessary number of transaction identification information (S803). The service providing apparatus 1 lists unused transaction identification information and issues the required number to the service using apparatus 2 (S804). The issued transaction identification information is stored in the registration unit 228 of the service utilization device 2 (S805).

次に、最初のサービス取引に用いる取引識別情報T(1)を選択して(S806)その回数データQ(1)を設定し(S807)識別データT(1)Q(1)を生成する(S808)。生成された識別データは暗号化処理部222で暗号化処理を行い(S809)、暗号化識別データを生成する。そして、選択された取引識別情報T(1)に基づいて確認情報処理部224で初期確認情報Wt(0)を生成する(S810)。生成された暗号化識別データT(1)Q(1)及び初期確認情報Wt(0)を添付してサービス提供装置1に対して署名処理を依頼する(S811)。サービス提供装置1では、署名処理部123で暗号化識別データT(1)Q(1)に署名処理を行い(S812)、結合計算部124で一次結合データSj(1)を上記の式(I)により算出処理する(S813)。署名処理された暗号化識別データT(1)Q(1)及び算出された一次結合データSj(1)をサービス利用装置2に送信し(S814)、署名処理された暗号化識別データT(1)Q(1)は、サービス利用装置2の復号化処理部223で処理されて署名入りの識別データT(1)Q(1)となり(S815)、登録部228に登録され、一次結合データSj(1)は登録部229に登録される(S816)。 Next, the transaction identification information T (1) used for the first service transaction is selected (S806), and the count data Q (1) is set (S807), and identification data T (1) Q (1) is generated (S807). S808). The generated identification data is encrypted by the encryption processing unit 222 (S809) to generate encrypted identification data. Then, based on the selected transaction identification information T (1), the confirmation information processing unit 224 generates initial confirmation information W t (0) (S810). Attaching the generated encrypted identification data T (1) Q (1) and initial confirmation information W t (0), the service providing apparatus 1 is requested to perform signature processing (S811). In the service providing apparatus 1, the signature processing unit 123 performs signature processing on the encrypted identification data T (1) Q (1) (S812), and the combination calculation unit 124 converts the primary combined data S j (1) to the above formula ( Calculation processing is performed according to (I) (S813). The signature processing encrypted identification data T (1) Q (1) and the calculated primary combined data S j (1) are transmitted to the service using device 2 (S814), and the signature processing encrypted identification data T ( 1) Q (1) is processed by the decryption processing unit 223 of the service using device 2 to become signature-added identification data T (1) Q (1) (S815), registered in the registration unit 228, and primary combined data S j (1) is registered in the registration unit 229 (S816).

以上の処理により、サービス利用装置2は、サービス取引に必要な取引識別情報を取得するとともに最初に使用する署名入りの識別データを得ることができる。   Through the above processing, the service using device 2 can obtain transaction identification information necessary for service transaction and obtain identification data with a signature to be used first.

図21は、サービス利用装置2のk回目のサービス取引を行う場合の処理に関するフローである。まず、サービス提供装置1とサービス利用装置2との間で互いに正当性の判定が行われて(S900、S901)匿名での認証が行われる。互いに正当性があると判定された場合に、サービス利用措置2は、署名入りの識別データT(k)Q(k)を読み出して(S902)サービス提供装置1に対してサービス依頼を行う(S903)。   FIG. 21 is a flow relating to processing when the service use device 2 performs the k-th service transaction. First, validity determination is performed between the service providing apparatus 1 and the service using apparatus 2 (S900, S901), and anonymous authentication is performed. When it is determined that the two are legitimate, the service utilization measure 2 reads the signed identification data T (k) Q (k) (S902) and makes a service request to the service providing apparatus 1 (S903). ).

サービス提供装置1は、サービス依頼を受けると、署名入りの識別データT(k)Q(k)を取得して(S904)正常に署名されているか否か、取引識別情報T(k)が未使用のものであるか否かチェックし識別データT(k)Q(k)の判定を行う(S905)。識別データT(k)Q(k)が正常なものであると判定された場合には、サービス処理を開始してサービス利用装置2との間でサービス取引を行う(S906)。そして、サービス取引完了後その利用料金E(k)を算出する(S907)。   Upon receipt of the service request, the service providing apparatus 1 acquires signed identification data T (k) Q (k) (S904), and whether or not the transaction identification information T (k) has been successfully signed. It is checked whether or not it is used, and the identification data T (k) Q (k) is determined (S905). When it is determined that the identification data T (k) Q (k) is normal, service processing is started and a service transaction is performed with the service using device 2 (S906). Then, after the service transaction is completed, the usage fee E (k) is calculated (S907).

ステップS905において、識別データT(k)Q(k)が正常なものでないと判定された場合にはエラー処理を行い(S908)サービス処理は行われない。   If it is determined in step S905 that the identification data T (k) Q (k) is not normal, error processing is performed (S908), and service processing is not performed.

一方、サービス利用装置2は、サービス提供装置1とのサービス取引が開始されると、必要なサービス処理を行い(S909)、サービス取引完了後に次回のサービス取引に用いる取引識別情報T(k+1)を選択して(S910)その回数データQ(k+1)を設定し(S911)識別データT(k+1)Q(k+1)を生成する(S912)。生成された識別データは暗号化処理部222で暗号化処理を行い(S913)、暗号化識別データを生成する。   On the other hand, when the service transaction with the service providing device 1 is started, the service using device 2 performs necessary service processing (S909), and uses the transaction identification information T (k + 1) used for the next service transaction after the service transaction is completed. Select (S910) and set the count data Q (k + 1) (S911) to generate identification data T (k + 1) Q (k + 1) (S912). The generated identification data is encrypted by the encryption processing unit 222 (S913) to generate encrypted identification data.

次に、次回の取引識別情報T(k+1)に基づいて確認情報処理部224で確認情報Wt(k)を生成する(S914)。そして、生成された暗号化識別データT(k+1)Q(k+1)を添付してサービス提供装置1に対して署名処理を依頼する(S915)。 Next, confirmation information W t (k) is generated by the confirmation information processing unit 224 based on the next transaction identification information T (k + 1) (S914). Then, the generated encryption identification data T (k + 1) Q (k + 1) is attached and the service providing apparatus 1 is requested to perform signature processing (S915).

サービス提供装置1では、署名処理部123で暗号化識別データT(k+1)Q(k+1)に署名処理を行い(S916)、結合計算部124で一次結合データΣSj(k)を上記の式(J)により算出処理する(S917)。署名処理された暗号化識別データT(k+1)Q(k+1)及び算出された一次結合データSj(k)をサービス利用装置2に送信し(S918)、署名処理された暗号化識別データT(k+1)Q(k+1)は、サービス利用装置2の復号化処理部223で処理されて署名入りの識別データT(k+1)Q(k+1)となり(S919)、登録部228に登録され、一次結合データSjは、登録部229に登録される(S920)。 In the service providing apparatus 1, the signature processing unit 123 performs signature processing on the encrypted identification data T (k + 1) Q (k + 1) (S916), and the combination calculation unit 124 converts the primary combined data ΣS j (k) to the above formula ( J) to calculate (S917). The signature identification encrypted identification data T (k + 1) Q (k + 1) and the calculated primary combined data S j (k) are transmitted to the service using apparatus 2 (S918), and the signature identification encryption identification data T ( k + 1) Q (k + 1) is processed by the decryption processing unit 223 of the service using apparatus 2 to become signature-added identification data T (k + 1) Q (k + 1) (S919), registered in the registration unit 228, and primary combined data S j is registered in the registration unit 229 (S920).

以上の処理では、互いの正当性を判定して匿名認証した後においても取引識別情報を用いて署名入りの場合にサービス提供装置1でサービス取引するようにいるので、個々のサービス取引が匿名で正しく実行できるようになる。また、次回の取引識別情報については暗号化処理された暗号化識別データT(k+1)Q(k+1)で処理されるので、今回の取引識別情報との関連付けがなされず取引識別情報から一連のサービス取引を特定することができない。   In the above processing, even after the mutual validity is determined and the anonymous authentication is performed, the service providing apparatus 1 performs the service transaction when the signature is entered using the transaction identification information. Therefore, each service transaction is anonymous. It can be executed correctly. Further, since the next transaction identification information is processed by the encrypted identification data T (k + 1) Q (k + 1) that has been encrypted, the transaction identification information is not associated with the current transaction identification information and a series of services are obtained. The transaction cannot be identified.

サービス提供装置1では、署名入りの識別データにより正当なサービス取引権限のある利用者を確実に判定することができるとともに、回数データについても署名処理されることで不正判定の際の根拠データとして用いることができる。   The service providing apparatus 1 can reliably determine a user who has a legitimate service transaction authority based on the identification data with a signature, and uses the signature data for the number of times data as the basis data for fraud determination. be able to.

図22は、これまでにN回のサービス取引を行ったサービス利用装置2に関する利用料金等の集計処理に関するフローである。集計処理は、サービス提供装置1において所定期間毎に行われる。まず、サービス提供装置1とサービス利用装置2との間で互いに正当性の判定が行われて(S1000、S1001)匿名での認証が行われる。互いに正当性があると判定された場合に、サービス提供装置1は、サービス利用装置2に対して集計依頼を行う(S1002)。   FIG. 22 is a flow relating to a totaling process of usage fees and the like related to the service usage apparatus 2 that has performed N service transactions so far. The aggregation process is performed in the service providing apparatus 1 every predetermined period. First, validity determination is performed between the service providing apparatus 1 and the service using apparatus 2 (S1000, S1001), and anonymous authentication is performed. When it is determined that the two are legitimate, the service providing apparatus 1 makes a totaling request to the service using apparatus 2 (S1002).

サービス利用装置2は、集計依頼に基づいて登録部229に蓄積された一次結合データSj(k)を各j毎に集計して結合集計データΣSj(k)を算出する(S1003)。そして、選択された次回の取引識別情報T(N+1)を読み出して(S1004)その回数データQ(N+1)を設定する(S1005)とともに要素データVs(N+1)を生成し(S1006)、結合集計データΣSj(k)、回数データQ(N+1)及び要素データVs(N+1)をサービス提供装置1に送信する(S1007)。 The service using device 2 calculates the combined aggregated data ΣS j (k) by aggregating the primary combined data S j (k) stored in the registration unit 229 for each j based on the aggregation request (S1003). Then, the selected next transaction identification information T (N + 1) is read out (S1004), and the count data Q (N + 1) is set (S1005), and element data V s (N + 1) is generated (S1006), and the combined tabulation is performed. Data ΣS j (k), number-of-times data Q (N + 1), and element data V s (N + 1) are transmitted to the service providing apparatus 1 (S1007).

サービス提供装置1は、結合集計データΣSj及び係数データaijに基づいて、集計値ΣE(k)、集計値ΣQ(k)、集計値Σrks(k)及び集計値Σrk+1t(k)を算出する(S1008)。そして、算出された集計値ΣQ(k)とサービス利用装置2から送信された回数データQ(N+1)との間の整合性をチェックし(S1009)、両者の間に整合性がある場合には、集計値Σrks(k)に要素データと乱数の積rN+1s(N+1)を各s毎に加算処理した集計値を求め(S1010)、集計値Σrk+1t(k)は、サービス利用装置2に送信する(S1011)。 The service providing apparatus 1 calculates the total value ΣE (k), the total value ΣQ (k), the total value Σr k V s (k), and the total value Σr k + 1 based on the combined total data ΣS j and the coefficient data a ij. W t (k) is calculated (S1008). Then, the consistency between the calculated total value ΣQ (k) and the number of times data Q (N + 1) transmitted from the service using apparatus 2 is checked (S1009). The total value Σr k V s (k) is calculated by adding the element data and the random number product r N + 1 V s (N + 1) for each s (S1010), and the total value Σr k + 1 W t is obtained. (K) is transmitted to the service using device 2 (S1011).

サービス利用装置2は、集計値Σrk+1t(k)に基づいて集計値ΣXu(k)を算出処理し(S1012)、算出された集計値ΣXu(k)をサービス提供装置1に送信する(S1013)。 The service using apparatus 2 calculates the total value ΣX u (k) based on the total value Σr k + 1 W t (k) (S1012), and uses the calculated total value ΣX u (k) as the service providing apparatus 1. (S1013).

サービス提供装置1は、送信された集計値ΣXu(k)とステップS1010で算出した集計値が一致するか判定し(S1014)、一致する場合には正しく集計されたものとして集計値ΣE(k)に基づいてサービス利用装置2に利用料金の請求を行う(S1015)。サービス利用装置2は、利用料金の請求に基づいて支払い処理を行う(S1016)。 The service providing apparatus 1 determines whether or not the transmitted total value ΣX u (k) matches the total value calculated in step S1010 (S1014). If they match, the total value ΣE (k ), The service usage apparatus 2 is charged for the usage fee (S1015). The service use device 2 performs a payment process based on the charge for the use fee (S1016).

ステップS1009において回数データQに関して整合性がない場合及びステップ1014において要素データVs(k)に関して一致しない場合には、不正操作があったものとして、サービス提供装置1は、不正処理を行う(S1017)。 If there is no consistency with respect to the count data Q in step S1009 and there is no match with respect to the element data V s (k) in step 1014, the service providing apparatus 1 performs an unauthorized process on the assumption that an unauthorized operation has occurred (S1017). ).

以上の処理により、サービス提供装置1側では、回数データQ及び取引識別情報Tに関して二重の不正判定を行うことができ、より的確に不正操作を判定することができる。   With the above processing, the service providing apparatus 1 can make a double fraud determination regarding the number data Q and the transaction identification information T, and can more accurately determine an illegal operation.

なお、以上の例では、取引識別情報をサービス取引装置側で生成してサービス利用装置で取得するようにしているが、第三者機関などが取引識別情報を生成してサービス利用装置に提供するようにしてもよい。また、取引識別情報に基づいて生成される要素データVs(k)は、サービス提供装置で生成して用いたり、サービス利用装置で生成してサービス提供装置に送信したりすることができ、適宜選択してシステム構成すればよい。 In the above example, transaction identification information is generated on the service transaction device side and acquired by the service utilization device. However, a third party or the like generates transaction identification information and provides it to the service utilization device. You may do it. Further, the element data V s (k) generated based on the transaction identification information can be generated and used by the service providing apparatus, or can be generated by the service using apparatus and transmitted to the service providing apparatus. Select and configure the system.

このように、本発明に係るサービス取引システムでは、サービス利用者側において個々の取引内容を知られることなくサービス取引を行うことができる。また、サービス提供者側においては個別情報を蓄積することなく確実に利用料金の請求を行うことができ、個別情報の管理コストを大幅に低減することができる。そして、利用料金の集計に不正な操作が行われたとしても不正判定を確実に行い、正しい利用料金の請求が行うことが可能となる。   Thus, in the service transaction system according to the present invention, service transactions can be performed without knowing the details of individual transactions on the service user side. Further, the service provider can reliably charge the usage fee without accumulating individual information, and the management cost of the individual information can be greatly reduced. And even if an unauthorized operation is performed on the calculation of usage charges, it is possible to reliably determine fraud and charge the correct usage charges.

したがって、今後ユキュビタス・コンピューティングの進展により企業のみならず家庭内にもネットワークが普及した社会において、本発明を用いることでサービス取引を円滑に行うことができる。   Therefore, service transactions can be smoothly performed by using the present invention in a society where the network has spread not only in companies but also in homes due to the progress of ubiquitous computing in the future.

本発明に係る実施形態の構成を示す概略図である。It is the schematic which shows the structure of embodiment which concerns on this invention. 本発明に係る実施形態において正当性を判定するための機能ブロック図である。It is a functional block diagram for judging validity in the embodiment concerning the present invention. 本発明に係る実施形態において正当性を判定するための処理フローである。It is a processing flow for determining validity in the embodiment according to the present invention. IDリストに関する説明図である。It is explanatory drawing regarding an ID list. パスワードリストに関する説明図である。It is explanatory drawing regarding a password list. 暗号パスワードリストに関する説明図である。It is explanatory drawing regarding an encryption password list. 本発明に係る実施形態におけるサービス取引に関する機能ブロック図である。It is a functional block diagram regarding the service transaction in the embodiment according to the present invention. 取引識別情報の要素データに関する説明図である。It is explanatory drawing regarding the element data of transaction identification information. 取引識別情報の要素データに関する説明図である。It is explanatory drawing regarding the element data of transaction identification information. 一次結合データの集計に関する説明図である。It is explanatory drawing regarding totaling of primary combined data. サービス取引の実施前に行われる取引識別情報の発行処理に関するフローである。It is the flow regarding the issue processing of the transaction identification information performed before implementation of a service transaction. サービス取引を行う場合の処理に関するフローである。It is the flow regarding the process in the case of performing a service transaction. 利用料金等の集計処理に関するフローである。It is a flow related to a totaling process such as a usage fee. 変形例における一次結合データの集計に関する説明図である。It is explanatory drawing regarding the total of the primary combination data in a modification. 変形例におけるサービス取引の実施前に行われる取引識別情報の発行処理に関するフローである。It is a flow regarding the issue processing of the transaction identification information performed before implementation of the service transaction in a modification. 変形例におけるサービス取引を行う場合の処理に関するフローである。It is a flow regarding the process in the case of performing the service transaction in a modification. 変形例における利用料金等の集計処理に関するフローである。It is a flow regarding the totaling process of the usage fee etc. in the modification. 別の実施形態におけるサービス取引に関する機能ブロック図である。It is a functional block diagram regarding the service transaction in another embodiment. 別の実施形態における一次結合データの集計に関する説明図である。It is explanatory drawing regarding the total of the primary combined data in another embodiment. 別の実施形態におけるサービス取引の実施前に行われる取引識別情報の発行処理に関するフローである。It is a flow regarding the issue processing of the transaction identification information performed before implementation of the service transaction in another embodiment. 別の実施形態におけるサービス取引を行う場合の処理に関するフローである。It is a flow regarding the process in the case of performing service transaction in another embodiment. 別の実施形態における利用料金等の集計処理に関するフローである。It is a flow regarding totaling processing of usage fees and the like in another embodiment.

符号の説明Explanation of symbols

1 サービス提供装置
2 サービス利用装置
3 ネットワーク
10 情報処理部
11 記憶部
20 情報処理部
21 記憶部
1 service providing device 2 service using device 3 network
10 Information processing department
11 Memory
20 Information processing department
21 Memory

Claims (12)

サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムであって、
前記サービス提供装置は、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定する識別情報判定手段と、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理を行うサービス提供手段と、サービス利用装置から送信された暗号化取引識別情報に署名処理する署名処理手段と、サービス利用装置から送信された今回の取引識別情報及び確認情報の組を含む情報をサービス利用装置の取引記録として生成する取引記録生成手段とを備え、
前記サービス利用装置は、メモリに記憶されたサービス提供装置による署名処理済みの取引識別情報をサービス提供装置に送信してサービス依頼を行うサービス依頼手段と、次回のサービス取引の取引識別情報を選択する識別情報選択手段と、取引識別情報を暗号化処理し暗号化取引識別情報を生成する暗号化処理手段と、サービス提供装置から送信された署名処理済みの暗号化取引識別情報を復号化処理して署名処理済みの取引識別情報をメモリに記憶する復号化処理手段と、次回取引のための取引識別情報からサービス提供装置が知らないパラメータを用いて計算される確認情報を生成する確認情報処理手段とを備えていることを特徴とするサービス取引システム。
A service transaction system comprising: a service using device; and a service providing device connected to the service using device via a communication means and receiving a service request from the service using device to process the service,
The service providing apparatus includes an identification information determination unit that determines whether or not the transaction identification information transmitted from the service utilization apparatus is valid, and a request from the service utilization apparatus when the transaction identification information is determined to be valid. A service providing means for performing service processing according to the above, a signature processing means for signing the encrypted transaction identification information transmitted from the service using apparatus, and the current transaction identification information and confirmation information transmitted from the service using apparatus. Transaction record generating means for generating information including a transaction record of a service using device,
The service utilization device selects transaction request information for sending a service request by transmitting the transaction identification information processed by the service providing device stored in the memory to the service providing device, and transaction identification information for the next service transaction. Identification information selection means, encryption processing means for encrypting transaction identification information and generating encrypted transaction identification information, and decryption processing of the encrypted transaction identification information transmitted from the service providing apparatus. Decryption processing means for storing the transaction identification information that has been subjected to signature processing in a memory; and confirmation information processing means for generating confirmation information calculated from the transaction identification information for the next transaction using parameters that the service providing device does not know; A service transaction system characterized by comprising:
サービス利用装置からのサービス依頼を受けてサービス提供装置が当該サービスを処理するサービス取引方法であって、サービス利用装置が予めサービス提供装置から取得した署名処理済みの取引識別情報を送信してサービス提供装置にサービス依頼し、サービス提供装置が、サービス利用装置から送信された取引識別情報が有効なものであるか否かを判定し、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理するとともに、サービス利用装置が、次回のサービス取引の取引識別情報を暗号化処理することによって暗号化取引識別情報を生成し、また次回の取引識別情報からサービス提供装置の知らないパラメータを用いて計算される確認情報を生成してそれぞれサービス提供装置に送信し、サービス提供装置が、サービス利用装置から送信された暗号化取引識別情報に対して署名処理するとともに、今回の取引識別情報及び確認情報を含む情報をサービス利用装置の取引記録として生成し、サービス利用装置が、サービス提供装置から送信された署名処理済みの暗号化取引識別情報を復号化処理して署名処理済みの取引識別情報を取得することを特徴とするサービス取引方法。   A service transaction method in which a service providing apparatus processes a service in response to a service request from a service using apparatus, and the service using apparatus transmits the transaction identification information subjected to signature processing acquired from the service providing apparatus in advance to provide the service. A service request is made to the device, and the service providing device determines whether or not the transaction identification information transmitted from the service using device is valid, and if the transaction identifying information is determined to be valid, In addition to processing the service in response to the request, the service using device generates encrypted transaction identification information by encrypting the transaction identification information of the next service transaction, and knows the service providing device from the next transaction identification information. Confirmation information calculated using no parameters is generated and sent to each service providing device. The providing device performs signature processing on the encrypted transaction identification information transmitted from the service using device, and generates information including the current transaction identification information and confirmation information as a transaction record of the service using device. A service transaction method characterized in that signature-processed encrypted transaction identification information transmitted from a service providing apparatus is decrypted to obtain signature-processed transaction identification information. サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムにおいて、該サービス利用装置を機能させるためのプログラムであって、
前記サービス利用装置を、
メモリに記憶されたサービス提供装置による署名処理済みの取引識別情報をサービス提供装置に送信してサービス依頼を行う手段、
次回のサービス取引の取引識別情報を選択する手段、
取引識別情報を暗号化処理し暗号化取引識別情報を生成する手段、
次回のサービス取引の取引識別情報からサービス提供装置の知らないパラメータを用いて計算される確認情報を生成する手段、
サービス提供装置から送信された署名処理済みの暗号化取引識別情報を復号化処理して署名処理済みの取引識別情報をメモリに記憶する手段、
として機能させるためのプログラム。
In a service transaction system comprising: a service using device; and a service providing device that is connected to the service using device via a communication unit and receives a service request from the service using device and processes the service. Is a program for making
The service using device,
Means for making a service request by transmitting transaction identification information that has been signed by the service providing apparatus stored in the memory to the service providing apparatus;
Means for selecting transaction identification information for the next service transaction,
Means for encrypting transaction identification information and generating encrypted transaction identification information;
Means for generating confirmation information calculated by using parameters unknown to the service providing device from the transaction identification information of the next service transaction;
Means for decrypting the signature-processed encrypted transaction identification information transmitted from the service providing apparatus and storing the signature-processed transaction identification information in a memory;
Program to function as.
サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムにおいて、該サービス提供装置を機能させるためのプログラムであって、
前記サービス提供装置を、
サービス利用装置から送信された取引識別情報が有効なものであるか否か判定する手段、
取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理を行う手段、
サービス利用装置から送信された暗号化取引識別情報に署名処理する手段、
サービス利用装置から送信された今回の取引識別情報と確認情報の組を含む情報をサービス利用装置の取引記録として生成する手段、
として機能させるためのプログラム。
In a service transaction system comprising: a service using device; and a service providing device that is connected to the service using device via a communication unit and receives a service request from the service using device and processes the service. Is a program for making
The service providing device;
Means for determining whether or not the transaction identification information transmitted from the service using device is valid;
Means for performing service processing in response to a request from the service using device when the transaction identification information is determined to be valid;
Means for signing encrypted transaction identification information transmitted from a service using device;
Means for generating information including a set of the current transaction identification information and confirmation information transmitted from the service using device as a transaction record of the service using device;
Program to function as.
サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムであって、
前記サービス利用装置は、k回目のサービス取引において(k+1)回目のサービス取引の取引識別情報T(k+1)を暗号化処理し暗号化取引識別情報を生成する暗号化処理手段と、取引識別情報T(k+1)から計算されるM個の要素データVs(k+1)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成する確認情報処理手段と、サービス提供装置から送信された署名処理済みの暗号化取引識別情報を復号化処理して署名処理済みの取引識別情報をメモリに記憶する復号化処理手段と、メモリに記憶されたk回目のサービス取引のための署名処理済みの取引識別情報T(k)をサービス提供装置に送信してサービス依頼を行うサービス依頼手段と、k回目のサービス取引記録としてサービス提供装置から送信される、後記の式(B)に基づいて計算される互いに独立なP個の一次結合データSj(k)(j=1,2,…,P)を登録する登録手段と、サービス提供装置からの集計依頼に応じて登録された一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに、サービス提供装置から送信された集計値Σrk+1t(k)(t=1,2,…,M)を復号化処理して集計値ΣXu(k)(u=1,2,…,M)を生成する要素集計値処理手段とを備え、
前記サービス提供装置は、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定する識別情報判定手段と、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理を行うサービス提供手段と、サービス利用装置から送信された暗号化取引識別情報に署名処理する署名処理手段と、サービス利用装置の知らないP2個の係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)の列を記憶する記憶手段と、記憶手段に記憶された係数データaij及び乱数rkを用いて、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)並びにサービス利用装置から送信された取引識別情報T(k)によって計算されるM個の要素データVs(k)及び確認情報Wt(k)を含むP(P≧2M+2)個の値の互いに独立な一次結合データSj(j=1,2,…,P)を以下の式(B)
j(k)=a1jE(k)+{a(1+1)j1(k)+a(2+1)j2(k)+…+a(M+1)M(k)}rk+{a(M+1+1)j1(k)+a(M+2+1)j2(k)+…+a(2M+1)M(k)}rk+1+a(2M+2)jR(k)・・・(B)
により算出する結合計算手段と、サービス利用装置のサービス取引回数をN回として、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出する合計額算出手段と、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値Σrks(k)並びに取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1t(k)を算出するとともに集計値Σrk+1t(k)を送信する要素集計値算出手段と、集計値Σrks(k)とサービス利用装置から送信された集計値ΣXu(k)が矛盾するか否か判定する不正判定手段とを備えていることを特徴とするサービス取引システム。
A service transaction system comprising: a service using device; and a service providing device connected to the service using device via a communication means and receiving a service request from the service using device to process the service,
The service using apparatus encrypts transaction identification information T (k + 1) of the (k + 1) -th service transaction in the k-th service transaction to generate encrypted transaction identification information, transaction identification information T Confirmation information W that is M linear combinations independent of each other by coefficients unknown to the service providing apparatus of M element data V s (k + 1) (s = 1, 2,..., M) calculated from (k + 1). Confirmation information processing means for generating t (k) (t = 1, 2,..., M), and the signature-processed encrypted transaction identification information transmitted from the service providing apparatus are decrypted and signed. The decryption processing means for storing the transaction identification information in the memory and the transaction identification information T (k) for which the signature processing for the k-th service transaction stored in the memory is transmitted to the service providing apparatus to make a service request. Service request means and kth P primary combination data S j (k) (j = 1, 2,..., P) independent from each other and calculated based on the following formula (B), which is transmitted as a service transaction record of A registration means for registering the data, and the combined total data ΣS j (k) obtained by totaling the primary combined data S j (k) registered in response to the total request from the service providing apparatus for k for each j, The aggregate value Σr k + 1 W t (k) (t = 1, 2,..., M) transmitted from the service providing apparatus is decrypted to obtain the aggregate value ΣX u (k) (u = 1, 2,. , M) and an element total value processing means for generating
The service providing apparatus includes an identification information determination unit that determines whether or not the transaction identification information transmitted from the service utilization apparatus is valid, and a request from the service utilization apparatus when the transaction identification information is determined to be valid. Service providing means for performing service processing in accordance with the signature processing means, signature processing means for signing encrypted transaction identification information transmitted from the service using apparatus, and P 2 coefficient data a ij (i = 1, 2,..., P; j = 1, 2,..., P) and random numbers r k (k = 1, 2,...), And coefficient data a ij stored in the storage means and using the random number r k, M number of elements calculated by the data E based on the use fee (k), the random number R (k) and transmitted from the service using apparatus transaction identification information T (k) of the service transaction P including data V s (k) and confirmation information W t (k) (P ≧ 2M + 2) pieces of independent primary combination data S j (j = 1, 2,..., P) are expressed by the following equation (B)
S j (k) = a 1j E (k) + {a (1 + 1) j V 1 (k) + a (2 + 1) j V 2 (k) +... + A (M + 1) V M (k )} R k + {a (M + 1 + 1) j W 1 (k) + a (M + 2 + 1) j W 2 (k) +... + A (2M + 1) W M (k)} r k +1 + a (2M + 2) j R (k) (B)
A coupling calculating means for calculating a result, the service transaction number of the service using apparatus as N times, the service using apparatus of P sent from the bound aggregate data ΣS j (k) and the coefficient data a ij transaction identification information T based on (1) to total amount calculation means for calculating the total value ΣE (k) of data E (k) related to T (N), P pieces of combined total data ΣS j (k) and coefficients transmitted from the service using device Based on the data a ij , the total value Σr k V s (k) for k for each s of the product r k V s (k) of element data and random numbers related to the transaction identification information T (1) to T (N) and A total value Σr k + 1 W t (k) for k for each t of the product r k + 1 W t (k) of the confirmation information on the transaction identification information T (1) to T (N + 1) and the random number is calculated. and element aggregate value calculating means for transmitting aggregate value Σr k + 1 W t a (k) with Service trading system, characterized in that the aggregate values Σr k V s (k) and transmitted from the service using apparatus the aggregate value .SIGMA.X u (k) is a fraud determination means for determining whether or not contradictory.
サービス利用装置からのサービス依頼を受けてサービス提供装置が当該サービスを処理するサービス取引方法であって、
サービス利用装置が、そのk回目のサービス取引において予めサービス提供装置から取得した署名処理済みの取引識別情報T(k)を送信してサービス提供装置にサービス依頼し、サービス提供装置が、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定するとともに、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理し、サービス利用装置が、次回のサービス取引の取引識別情報T(k+1)を暗号化した暗号化取引識別情報と、取引識別情報T(k+1)に基づいて計算されるM個の要素データVs(k)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成し、サービス提供装置が、次回サービス取引のための暗号化識別情報に署名するとともに、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)、サービス利用装置から送信された取引識別情報T(k)に基づいて計算されるM個の要素データVs(k)及び確認情報Wt(k)を含むP(P≧2M+2)個の値の、サービス利用装置が知らない係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)を用いた互いに独立な一次結合データSj(k)(j=1,2,…,P)を以下の式(B)
j(k)=a1jE(k)+{a(1+1)j1(k)+a(2+1)j2(k)+…+a(M+1)M(k)}rk+{a(M+1+1)j1(k)+a(M+2+1)j2(k)+…+a(2M+1)M(k)}rk+1+a(2M+2)jR(k)・・・(B)
により算出し、算出されたP個の一次結合データSj(k)をサービス利用装置において登録し、サービス提供装置からの集計依頼に応じて、登録されたN回分の一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに結合集計データΣSj(k)をサービス提供装置に送信し、サービス提供装置が、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出し、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値Σrks(k)並びに取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1tを算出するとともに集計値Σrk+1t(k)をサービス利用装置に送信し、サービス利用装置が、サービス提供装置から送信された集計値Σrk+1t(k)を復号化処理して集計値ΣXu(k)(u=1,2,…,M)を生成し、サービス提供装置が、サービス利用装置から送信された集計値ΣXuと集計値Σrks(k)との間に矛盾があるか否かを判定することを特徴とするサービス取引方法。
A service transaction method in which a service providing apparatus processes a service in response to a service request from a service using apparatus,
The service using apparatus transmits the transaction identification information T (k) having been subjected to signature processing acquired in advance from the service providing apparatus in the k-th service transaction to request the service providing apparatus, and the service providing apparatus receives the service using apparatus. The transaction identification information transmitted from the server is determined whether or not the transaction identification information is valid, and when the transaction identification information is determined to be valid, service processing is performed in response to a request from the service utilization device. The encrypted transaction identification information obtained by encrypting the transaction identification information T (k + 1) of the service transaction, and M pieces of element data V s (k) (s = 1, 2,..., M) to generate confirmation information W t (k) (t = 1, 2,..., M) which are M linear combinations independent of each other by coefficients unknown to the service providing device. But next time In addition to signing the encrypted identification information for the service transaction, based on the data E (k) based on the usage fee of the service transaction, the random number R (k), and the transaction identification information T (k) transmitted from the service utilization device The coefficient data a ij (i = 1, i = 1, P) (P ≧ 2M + 2) values including the M element data V s (k) and the confirmation information W t (k) calculated by 2,..., P; j = 1, 2,..., P) and random numbers r k (k = 1, 2,...) And mutually independent primary combined data S j (k) (j = 1, 2, ..., P) is replaced by the following formula (B)
S j (k) = a 1j E (k) + {a (1 + 1) j V 1 (k) + a (2 + 1) j V 2 (k) +... + A (M + 1) V M (k )} R k + {a (M + 1 + 1) j W 1 (k) + a (M + 2 + 1) j W 2 (k) +... + A (2M + 1) W M (k)} r k +1 + a (2M + 2) j R (k) (B)
Calculated by, of P calculated linear combination data S j (k) is registered in the service using apparatus in accordance with the aggregation request from the service providing apparatus, one N times registered linear combination data S j (k ) Is calculated for k for each j, and the combined total data ΣS j (k) is calculated and the combined total data ΣS j (k) is transmitted to the service providing apparatus, and the service providing apparatus is transmitted from the service using apparatus. Based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij , an aggregate value ΣE (k) of data E (k) related to transaction identification information T (1) to T (N) is calculated, and the service is used. A product r k V s (k) of element data and random numbers related to transaction identification information T (1) to T (N) based on P pieces of combined total data ΣS j (k) and coefficient data a ij transmitted from the apparatus. For each s of k Total value? R k for k for each t in the aggregate value? R k V s (k) as well as transaction identification information T (1) ~T (N + 1) of the confirmation information and the random number relating to the product r k + 1 W t (k ) +1 W t is calculated and the total value Σr k + 1 W t (k) is transmitted to the service using apparatus, and the service using apparatus transmits the total value Σr k + 1 W t (k) transmitted from the service providing apparatus. And the aggregate value ΣX u (k) (u = 1, 2,..., M) is generated, and the service providing apparatus transmits the aggregate value ΣX u and the aggregate value Σr k V transmitted from the service using apparatus. A service transaction method characterized by determining whether there is a contradiction with s (k).
サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムにおいて、該サービス利用装置を機能させるためのプログラムであって、
前記サービス利用装置を、
k回目のサービス取引において(k+1)回目のサービス取引の取引識別情報T(k+1)を暗号化処理し暗号化取引識別情報を生成する手段、
取引識別情報T(k+1)から計算されるM個の要素データVs(k+1)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成する手段、
サービス提供装置から送信された署名処理済みの暗号化取引識別情報を復号化処理して署名処理済みの取引識別情報をメモリに記憶する復号化処理手段、
メモリに記憶されたk回目のサービス取引のための署名処理済みの取引識別情報T(k)をサービス提供装置に送信してサービス依頼を行う手段、
k回目のサービス取引記録としてサービス提供装置から送信される、後記の式(B)に基づいて計算される互いに独立なP個の一次結合データSj(k)(j=1,2,…,P)を登録する手段、
サービス提供装置からの集計依頼に応じて登録された一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに、サービス提供装置から送信された集計値Σrk+1t(k)(t=1,2,…,M)を復号化処理して集計値ΣXu(k)(u=1,2,…,M)を生成する手段、
として機能させるためのプログラム。
In a service transaction system comprising: a service using device; and a service providing device that is connected to the service using device via a communication unit and receives a service request from the service using device and processes the service. Is a program for making
The service using device,
means for encrypting transaction identification information T (k + 1) of the (k + 1) -th service transaction in the k-th service transaction to generate encrypted transaction identification information;
M element data V s (k + 1) (s = 1, 2,..., M) calculated from the transaction identification information T (k + 1) are M linear combinations independent of each other by coefficients unknown to the service providing apparatus. Means for generating certain confirmation information W t (k) (t = 1, 2,..., M);
Decryption processing means for decrypting the signature-processed encrypted transaction identification information transmitted from the service providing apparatus and storing the signature-processed transaction identification information in a memory;
Means for sending a service request by transmitting the transaction identification information T (k) processed for signature for the k-th service transaction stored in the memory to the service providing device;
P primary combined data S j (k) (j = 1, 2,..., which are transmitted from the service providing apparatus as the k-th service transaction record and calculated based on the following formula (B). P) means to register,
The combined total data ΣS j (k) obtained by totaling k for each j of the primary combined data S j (k) registered in response to the total request from the service providing apparatus is calculated and transmitted from the service providing apparatus. Means for decoding aggregate value Σr k + 1 W t (k) (t = 1, 2,..., M) to generate aggregate value ΣX u (k) (u = 1, 2,..., M) ,
Program to function as.
サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムにおいて、該サービス提供装置を機能させるためのプログラムであって、
前記サービス提供装置を、
サービス利用装置から送信された取引識別情報が有効なものであるか否か判定する手段、
取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理を行う手段、
サービス利用装置から送信された暗号化取引識別情報に署名処理する手段、
記憶手段に記憶された係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)を用いて、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)並びにサービス利用装置から送信された取引識別情報T(k)によって計算されるM個の要素データVs(k)及び確認情報Wt(k)を含むP(P≧2M+2)個の値の互いに独立な一次結合データSj(j=1,2,…,P)を以下の式(B)
j(k)=a1jE(k)+{a(1+1)j1(k)+a(2+1)j2(k)+…+a(M+1)M(k)}rk+{a(M+1+1)j1(k)+a(M+2+1)j2(k)+…+a(2M+1)M(k)}rk+1+a(2M+2)jR(k)・・・(B)
により算出する手段、
サービス利用装置のサービス取引回数をN回として、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出する手段、
サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値Σrks(k)並びに取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1t(k)を算出するとともに集計値Σrk+1t(k)を送信する手段、
集計値Σrks(k)とサービス利用装置から送信された集計値ΣXu(k)が矛盾するか否かで不正判定する手段、
として機能させるためのプログラム。
In a service transaction system comprising: a service using device; and a service providing device that is connected to the service using device via a communication unit and receives a service request from the service using device and processes the service. Is a program for making
The service providing device;
Means for determining whether or not the transaction identification information transmitted from the service using device is valid;
Means for performing service processing in response to a request from the service using device when the transaction identification information is determined to be valid;
Means for signing encrypted transaction identification information transmitted from a service using device;
Using the coefficient data a ij (i = 1, 2,..., P; j = 1, 2,..., P) and random numbers r k (k = 1, 2,...) Stored in the storage means, M element data V s (k) and confirmation information W calculated by data E (k) based on transaction usage fee, random number R (k), and transaction identification information T (k) transmitted from the service utilization device The primary combination data S j (j = 1, 2,..., P) of P (P ≧ 2M + 2) values including t (k), which are independent from each other, is expressed by the following formula (B)
S j (k) = a 1j E (k) + {a (1 + 1) j V 1 (k) + a (2 + 1) j V 2 (k) +... + A (M + 1) V M (k )} R k + {a (M + 1 + 1) j W 1 (k) + a (M + 2 + 1) j W 2 (k) +... + A (2M + 1) W M (k)} r k +1 + a (2M + 2) j R (k) (B)
Means for calculating by
The number of service transactions of the service using device is N times, and the transaction identification information T (1) to T (N) based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service using device. Means for calculating an aggregate value ΣE (k) of data E (k) related to
A product r k V s (product of element data on transaction identification information T (1) to T (N) and random numbers based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service using device. k) for each s, the total value Σr k V s (k) for each s and each of the product r k + 1 W t (k) of confirmation information and random numbers for transaction identification information T (1) to T (N + 1) It means for transmitting the aggregate value Σr k + 1 W t (k ) and calculates the total value Σr k + 1 W t (k ) for k for each t,
Means for determining whether the total value Σr k V s (k) and the total value ΣX u (k) transmitted from the service using device are inconsistent;
Program to function as.
サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムであって、
前記サービス利用装置は、k回目のサービス取引においてサービス取引に使用するために選択された取引識別情報T(k)とその取引回数に基づいて設定された回数データQ(k)を合体して識別データを生成する識別データ生成手段と、次回のサービス取引の識別データT(k+1)Q(k+1)を暗号化処理し暗号化識別データを生成する暗号化処理手段と、取引識別情報T(k+1)から計算されるM個の要素データVs(k+1)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成する確認情報処理手段と、サービス提供装置から送信された署名処理済みの暗号化識別データを復号化処理して署名処理済みの識別データをメモリに記憶する復号化処理手段と、メモリに記憶された署名処理済みの識別データをサービス提供装置に送信してサービス依頼を行うサービス依頼手段と、k回目のサービス取引記録としてサービス提供装置から送信される、後記の式(D)に基づいて計算される互いに独立なP個の一次結合データSj(k)(j=1,2,…,P)を登録する登録手段と、サービス提供装置からの集計依頼に応じて、登録されたN回分の一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに結合集計データΣSj(k)及び回数データQ(N)に相当する値をサービス提供装置に送信する集計処理手段と、サービス提供装置から送信された集計値Σrk+1t(k)(t=1,2,…,M)を復号化処理して集計値ΣXu(k)(u=1,2,…,M)を生成する要素集計値処理手段とを備え、
前記サービス提供装置は、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定する識別情報判定手段と、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理を行うサービス提供手段と、サービス利用装置から送信された暗号化識別データに署名処理する署名処理手段と、サービス利用装置の知らないP2個の係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)の列を記憶する記憶手段と、サービス取引において、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)並びにサービス利用装置から送信された取引識別情報T(k)によって計算されるM個の要素データVs(k)及び確認情報Wt(k)を含むP(P≧2M+3)個の値の、記憶手段に記憶された係数データaij及び乱数rkを用いた互いに独立な一次結合データSj(j=1,2,…,P)を以下の式(D)
j(k)=a1jE(k)+a2jQ(k)+{a(1+2)j1(k)+a(2+2)j2(k)+…+a(M+2)M(k)}rk+{a(M+1+2)j1(k)+a(M+2+2)j2(k)+…+a(2M+2)M(k)}rk+1+a(2M+3)jR(k)・・・(D)
により算出する結合計算手段と、サービス利用装置のサービス取引回数をN回として、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出する合計額算出手段と、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する回数データQ(k)の集計値ΣQ(k)を算出して集計値ΣQ(k)とサービス利用装置から送信された回数データQ(N)に相当する値との間の整合性を判定する第一不正判定手段と、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値Σrks(k)並びに取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1t(k)を算出するとともに集計値Σrk+1t(k)を送信する要素集計値算出手段と、集計値Σrks(k)とサービス利用装置から送信された集計値ΣXu(k)が矛盾するか否か判定する第二不正判定手段とを備えていることを特徴とするサービス取引システム。
A service transaction system comprising: a service using device; and a service providing device connected to the service using device via a communication means and receiving a service request from the service using device to process the service,
The service utilization apparatus identifies the transaction identification information T (k) selected for use in the service transaction in the k-th service transaction and the number-of-times data Q (k) set based on the number of transactions. Identification data generating means for generating data, encryption processing means for generating encrypted identification data by encrypting identification data T (k + 1) Q (k + 1) of the next service transaction, and transaction identification information T (k + 1) Confirmation information W t (k) that is M linear combinations independent of each other by coefficients unknown to the service providing apparatus of M element data V s (k + 1) (s = 1, 2,..., M) calculated from ) Confirmation information processing means for generating (t = 1, 2,..., M), and the signature-processed encrypted identification data transmitted from the service providing apparatus is decrypted and the signature-processed identification data is stored in the memory. Decoding processing means stored in And service request means for transmitting the identification processed data stored in the memory to the service providing apparatus to make a service request, and the following formula (D) transmitted from the service providing apparatus as the k-th service transaction record ) Based on the registration means for registering P pieces of primary combined data S j (k) (j = 1, 2,..., P) independent from each other, The combined total data ΣS j (k) obtained by counting the registered primary combined data S j (k) for N times for each j is calculated, and the combined total data ΣS j (k) and the frequency data Q (N) are calculated. a counting processing unit for transmitting the corresponding value to the service providing apparatus, the aggregate value Σr k + 1 W t (k ) (t = 1,2, ..., M) transmitted from the service providing apparatus to process decoding the Element summation to generate summation value ΣX u (k) (u = 1,2, ..., M) A value processing means,
The service providing apparatus includes an identification information determination unit that determines whether or not the transaction identification information transmitted from the service utilization apparatus is valid, and a request from the service utilization apparatus when the transaction identification information is determined to be valid. Service providing means for performing service processing according to the above, signature processing means for performing signature processing on the encrypted identification data transmitted from the service using apparatus, and P 2 coefficient data a ij (i = 1) unknown to the service using apparatus. , 2, ..., P; j = 1,2, ..., P) and random number r k (k = 1,2, ...), and in the service transaction, in the usage fee of the service transaction M element data V s (k) and confirmation information W t (k) calculated based on the data E (k) based on this, the random number R (k), and the transaction identification information T (k) transmitted from the service using device. Storage means for including P (P ≧ 2M + 3) values Independent one with stored coefficient data a ij and the random number r k linear combination data S j (j = 1,2, ... , P) following equation (D)
S j (k) = a 1j E (k) + a 2j Q (k) + {a (1 + 2) j V 1 (k) + a (2 + 2) j V 2 (k) +... + A (M + 2) V M (k)} r k + {a (M + 1 + 2) j W 1 (k) + a (M + 2 + 2) j W 2 (k) + ... + a (2M + 2) W M (K)} r k + 1 + a (2M + 3) j R (k) (D)
The transaction calculation information is calculated based on the combined calculation data ΣS j (k) and the coefficient data a ij transmitted from the service utilization device, where N is the number of service transactions of the service utilization device and N is the number of service transactions of the service utilization device. (1) to total amount calculation means for calculating the total value ΣE (k) of data E (k) related to T (N), P pieces of combined total data ΣS j (k) and coefficients transmitted from the service using device Based on the data a ij , the total value ΣQ (k) of the count data Q (k) relating to the transaction identification information T (1) to T (N) is calculated, and the total value ΣQ (k) is transmitted from the service using device. First fraud determination means for determining consistency with a value corresponding to the number of times data Q (N), P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service using device. Transaction identification information T (1 About ~T product of element data and the random number relating to (N) r k V aggregate values for k for each s of s (k) Σr k V s (k) as well as transaction identification information T (1) ~T (N + 1) Calculate the total value Σr k + 1 W t (k) for k for each t of the product r k + 1 W t (k) of the confirmation information and the random number and calculate the total value Σr k + 1 W t (k) Element total value calculation means for transmitting, and second fraud determination means for determining whether or not the total value Σr k V s (k) and the total value ΣX u (k) transmitted from the service using device contradict each other. Service transaction system characterized by
サービス利用装置からのサービス依頼を受けてサービス提供装置が当該サービスを処理するサービス取引方法であって、
サービス利用装置が、そのk回目のサービス取引において予めサービス提供装置から取得した署名処理済みの取引識別情報T(k)を送信してサービス提供装置にサービス依頼し、サービス提供装置が、サービス利用装置から送信された取引識別情報が有効なものであるか否か判定するとともに、取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理し、サービス利用装置が、次回のサービス取引の取引識別情報T(k+1)とその取引回数に基づいて設定された回数データQ(k+1)を合体して識別データT(k+1)Q(k+1)を生成し暗号化して暗号化識別データとしてサービス提供装置に送信し、サービス提供装置が暗号化識別データに署名処理し、サービス利用装置が、署名処理された暗号化識別データを復号化処理して署名処理済みの識別データを取得するとともに、次回の取引識別情報T(k+1)に基づいて計算されるM個の要素データVs(k+1)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成し、サービス提供装置が、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)、サービス利用装置から送信された識別データT(k)Q(k)から求められるQ(k)、サービス利用装置から送信された識別データT(k)Q(k)から求められるT(k)に基づいて計算されるM個の要素データVs(k)及びサービス利用装置から送信された確認情報Wt(k)を含むP(P≧2M+3)個の値の、サービス利用装置が知らない係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)を用いた互いに独立な一次結合データSj(k)(j=1,2,…,P)を以下の式(D)
j(k)=a1jE(k)+a2jQ(k)+{a(1+2)j1(k)+a(2+2)j2(k)+…+a(M+2)M(k)}rk+{a(M+1+2)j1(k)+a(M+2+2)j2(k)+…+a(2M+2)M(k)}rk+1+a(2M+3)jR(k)・・・(D)
により算出し、算出されたP個の一次結合データSj(k)をサービス利用装置において登録し、サービス提供装置からの集計依頼に応じて、登録されたN回分の一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに結合集計データΣSj(k)及び回数データQ(N)に相当する値をサービス提供装置に送信し、サービス提供装置が、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出し、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する回数データQ(k)の集計値ΣQ(k)を算出して集計値ΣQ(k)とサービス利用装置から送信された回数データQ(N)に相当する値との間の整合性を判定し、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値Σrks(k)並びに取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1tを算出するとともに集計値Σrk+1t(k)をサービス利用装置に送信し、サービス利用装置が、サービス提供装置から送信された集計値Σrk+1t(k)を復号化処理して集計値ΣXu(k)(u=1,2,…,M)を生成し、サービス提供装置が、サービス利用装置から送信された集計値ΣXuと集計値Σrks(k)との間に矛盾があるか否かを判定することを特徴とするサービス取引方法。
A service transaction method in which a service providing apparatus processes a service in response to a service request from a service using apparatus,
The service using apparatus transmits the transaction identification information T (k) subjected to signature processing acquired in advance from the service providing apparatus in the k-th service transaction and requests the service providing apparatus, and the service providing apparatus receives the service using apparatus. The transaction identification information transmitted from is determined whether or not the transaction identification information is valid, and when the transaction identification information is determined to be valid, service processing is performed in response to a request from the service utilization device. The transaction identification information T (k + 1) of the service transaction and the number of times data Q (k + 1) set based on the number of transactions are combined to generate identification data T (k + 1) Q (k + 1), which is encrypted and encrypted. Data is transmitted to the service providing device, the service providing device performs signature processing on the encrypted identification data, and the service using device performs signature processing. Of identification with the data decoding process to obtain a signing processed identification data, the next transaction identification information T (k + 1) is calculated on the basis of the M pieces of element data V s (k + 1) ( s = 1, 2,..., M) to generate confirmation information W t (k) (t = 1, 2,. Q (k) obtained from data E (k), random number R (k) based on the usage fee of the service transaction, identification data T (k) Q (k) transmitted from the service usage device, service usage device M element data V s (k) calculated based on T (k) obtained from the identification data T (k) Q (k) transmitted from and the confirmation information W t ( k) including P (P ≧ 2M + 3) number of service using devices Et no coefficient data a ij (i = 1,2, ... , P; j = 1,2, ..., P) and the random number r k (k = 1,2, ... ) mutually independent linear combination data S using the j (k) (j = 1, 2,..., P) is expressed by the following equation (D)
S j (k) = a 1j E (k) + a 2j Q (k) + {a (1 + 2) j V 1 (k) + a (2 + 2) j V 2 (k) +... + A (M + 2) V M (k)} r k + {a (M + 1 + 2) j W 1 (k) + a (M + 2 + 2) j W 2 (k) + ... + a (2M + 2) W M (K)} r k + 1 + a (2M + 3) j R (k) (D)
Calculated by, of P calculated linear combination data S j (k) is registered in the service using apparatus in accordance with the aggregation request from the service providing apparatus, one N times registered linear combination data S j (k ) For each j, the combined total data ΣS j (k) is calculated, and the values corresponding to the combined total data ΣS j (k) and the number of times data Q (N) are transmitted to the service providing apparatus. The providing apparatus aggregates data E (k) related to transaction identification information T (1) to T (N) based on P pieces of combined aggregation data ΣS j (k) and coefficient data a ij transmitted from the service using apparatus. Count data relating to transaction identification information T (1) to T (N) based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service using device by calculating the value ΣE (k) Collection of Q (k) The measured value ΣQ (k) is calculated to determine consistency between the total value ΣQ (k) and the value corresponding to the number of times data Q (N) transmitted from the service using device, and transmitted from the service using device. For each s of the product r k V s (k) of element data and random numbers related to the transaction identification information T (1) to T (N) based on the P pieces of combined total data ΣS j (k) and the coefficient data a ij Of k for each t of the product r k + 1 W t (k) of the total value Σr k V s (k) of k and confirmation information on the transaction identification information T (1) to T (N + 1) and random numbers The aggregate value Σr k + 1 W t is calculated and the aggregate value Σr k + 1 W t (k) is transmitted to the service using device, and the service using device transmits the aggregate value Σr k + 1 W transmitted from the service providing device. t (k) is decrypted to generate an aggregate value ΣX u (k) (u = 1, 2,..., M). A service transaction method characterized by determining whether or not there is a contradiction between a total value ΣX u transmitted from a service using device and a total value Σr k V s (k).
サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムにおいて、該サービス利用装置を機能させるためのプログラムであって、
前記サービス利用装置を、
k回目のサービス取引においてサービス取引に使用するために選択された取引識別情報T(k)とその取引回数に基づいて設定された回数データQ(k)を合体して識別データを生成する手段、
次回のサービス取引の識別データT(k+1)Q(k+1)を暗号化処理し暗号化識別データを生成する手段、
取引識別情報T(k+1)から計算されるM個の要素データVs(k+1)(s=1,2,…,M)のサービス提供装置の知らない係数による互いに独立なM個の一次結合である確認情報Wt(k)(t=1,2,…,M)を生成する手段、
サービス提供装置から送信された署名処理済みの暗号化識別データを復号化処理して署名処理済みの識別データをメモリに記憶する手段、
メモリに記憶された署名処理済みの識別データをサービス提供装置に送信してサービス依頼を行う手段、
k回目のサービス取引記録としてサービス提供装置から送信される、後記の式(D)に基づいて計算される互いに独立なP個の一次結合データSj(k)(j=1,2,…,P)を登録する手段、
サービス提供装置からの集計依頼に応じて、登録されたN回分の一次結合データSj(k)を各j毎にkについて集計した結合集計データΣSj(k)を算出するとともに結合集計データΣSj(k)及び回数データQ(N)に相当する値をサービス提供装置に送信する手段、
サービス提供装置から送信された集計値Σrk+1t(k)(t=1,2,…,M)を復号化処理して集計値ΣXu(k)(u=1,2,…,M)を生成する手段、
として機能させるためのプログラム。
In a service transaction system comprising: a service using device; and a service providing device that is connected to the service using device via a communication unit and receives a service request from the service using device and processes the service. Is a program for making
The service using device,
means for generating identification data by combining transaction identification information T (k) selected for use in service transaction in the k-th service transaction and number-of-times data Q (k) set based on the number of transactions;
Means for encrypting identification data T (k + 1) Q (k + 1) of the next service transaction to generate encrypted identification data;
M element data V s (k + 1) (s = 1, 2,..., M) calculated from the transaction identification information T (k + 1) are M linear combinations independent of each other by coefficients unknown to the service providing apparatus. Means for generating certain confirmation information W t (k) (t = 1, 2,..., M);
Means for decrypting the signature-processed encrypted identification data transmitted from the service providing apparatus and storing the signature-processed identification data in the memory;
Means for sending a service request by transmitting the identification processed identification data stored in the memory to the service providing device;
P primary combined data S j (k) (j = 1, 2,..., which are transmitted from the service providing apparatus as the k-th service transaction record and calculated based on the following formula (D). P) means to register,
In response to the aggregation request from the service providing apparatus, the combined total data ΣS j (k) obtained by totaling the registered N primary combined data S j (k) for k for each j is calculated and the combined total data ΣS. means for transmitting a value corresponding to j (k) and the count data Q (N) to the service providing device;
The aggregate value Σr k + 1 W t (k) (t = 1, 2,..., M) transmitted from the service providing apparatus is decrypted to obtain the aggregate value ΣX u (k) (u = 1, 2,. , M),
Program to function as.
サービス利用装置と、サービス利用装置に通信手段を介して接続されるとともにサービス利用装置からのサービス依頼を受けて当該サービスを処理するサービス提供装置とを備えているサービス取引システムにおいて、該サービス提供装置を機能させるためのプログラムであって、
前記サービス提供装置を、
サービス利用装置から送信された取引識別情報が有効なものであるか否か判定する手段、
取引識別情報が有効と判定された場合にサービス利用装置からの依頼に応じてサービス処理を行う手段、
サービス利用装置から送信された暗号化識別データに署名処理する手段、
サービス取引において、当該サービス取引の利用料金に基づくデータE(k)、乱数R(k)並びにサービス利用装置から送信された取引識別情報T(k)によって計算されるM個の要素データVs(k)及び確認情報Wt(k)を含むP(P≧2M+3)個の値の、記憶手段に記憶された係数データaij(i=1,2,…,P;j=1,2,…,P)及び乱数rk(k=1,2,…)を用いた互いに独立な一次結合データSj(j=1,2,…,P)を以下の式(D)
j(k)=a1jE(k)+a2jQ(k)+{a(1+2)j1(k)+a(2+2)j2(k)+…+a(M+2)M(k)}rk+{a(M+1+2)j1(k)+a(M+2+2)j2(k)+…+a(2M+2)M(k)}rk+1+a(2M+3)jR(k)・・・(D)
により算出する手段、
サービス利用装置のサービス取引回数をN回として、サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関するデータE(k)の集計値ΣE(k)を算出する手段、
サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する回数データQ(k)の集計値ΣQ(k)を算出して集計値ΣQ(k)とサービス利用装置から送信された回数データQ(N)に相当する値との間の整合性を判定する手段、
サービス利用装置から送信されたP個の結合集計データΣSj(k)及び係数データaijに基づいて取引識別情報T(1)〜T(N)に関する要素データと乱数の積rks(k)の各s毎のkについての集計値Σrks(k)並びに取引識別情報T(1)〜T(N+1)に関する確認情報と乱数の積rk+1t(k)の各t毎のkについての集計値Σrk+1t(k)を算出するとともに集計値Σrk+1t(k)を送信する手段、
集計値Σrks(k)とサービス利用装置から送信された集計値ΣXu(k)が矛盾するか否か不正判定する手段、
として機能させるためのプログラム。
In a service transaction system comprising: a service using device; and a service providing device that is connected to the service using device via a communication unit and receives a service request from the service using device and processes the service. Is a program for making
The service providing device;
Means for determining whether or not the transaction identification information transmitted from the service using device is valid;
Means for performing service processing in response to a request from the service using device when the transaction identification information is determined to be valid;
Means for signing encrypted identification data transmitted from the service using device;
In a service transaction, M element data V s (calculated from data E (k) based on the usage fee of the service transaction, a random number R (k) and transaction identification information T (k) transmitted from the service utilization device. k) and P (P ≧ 2M + 3) values of coefficient data a ij (i = 1, 2,..., P; j = 1, 2, P) stored in the storage means including the confirmation information W t (k) .., P) and random numbers r k (k = 1, 2,...) And mutually independent primary combined data S j (j = 1, 2,..., P) are expressed by the following equation (D)
S j (k) = a 1j E (k) + a 2j Q (k) + {a (1 + 2) j V 1 (k) + a (2 + 2) j V 2 (k) +... + A (M + 2) V M (k)} r k + {a (M + 1 + 2) j W 1 (k) + a (M + 2 + 2) j W 2 (k) + ... + a (2M + 2) W M (K)} r k + 1 + a (2M + 3) j R (k) (D)
Means for calculating by
The number of service transactions of the service using device is N times, and the transaction identification information T (1) to T (N) based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service using device. Means for calculating an aggregate value ΣE (k) of data E (k) related to
Based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service using device, aggregate value ΣQ (of count data Q (k) relating to transaction identification information T (1) to T (N) means for determining the consistency between the total value ΣQ (k) and the value corresponding to the count data Q (N) transmitted from the service using device by calculating k)
A product r k V s (product of element data on transaction identification information T (1) to T (N) and random numbers based on P pieces of combined aggregate data ΣS j (k) and coefficient data a ij transmitted from the service using device. k) for each s, the total value Σr k V s (k) for each s and each of the product r k + 1 W t (k) of confirmation information and random numbers for transaction identification information T (1) to T (N + 1) It means for transmitting the aggregate value Σr k + 1 W t (k ) and calculates the total value Σr k + 1 W t (k ) for k for each t,
Means for illegally determining whether or not the total value Σr k V s (k) and the total value ΣX u (k) transmitted from the service using device are inconsistent;
Program to function as.
JP2006096692A 2006-03-31 2006-03-31 Service transaction system and program thereof Active JP4820997B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006096692A JP4820997B2 (en) 2006-03-31 2006-03-31 Service transaction system and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006096692A JP4820997B2 (en) 2006-03-31 2006-03-31 Service transaction system and program thereof

Publications (2)

Publication Number Publication Date
JP2007274289A true JP2007274289A (en) 2007-10-18
JP4820997B2 JP4820997B2 (en) 2011-11-24

Family

ID=38676633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006096692A Active JP4820997B2 (en) 2006-03-31 2006-03-31 Service transaction system and program thereof

Country Status (1)

Country Link
JP (1) JP4820997B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011521553A (en) * 2008-05-14 2011-07-21 ネーデルランツ オルガニサティー フォール トゥーゲパストナトゥールヴェテンシャッペリーク オンデルズーク テーエンオー Method and system for verifying shared secrets

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040122767A1 (en) * 2001-05-11 2004-06-24 Sanchez Bernardo Nicolas Method for secure, anonymous electronic financial transactions
JP2006279595A (en) * 2005-03-29 2006-10-12 Univ Of Fukui Information processing system and program thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040122767A1 (en) * 2001-05-11 2004-06-24 Sanchez Bernardo Nicolas Method for secure, anonymous electronic financial transactions
JP2006279595A (en) * 2005-03-29 2006-10-12 Univ Of Fukui Information processing system and program thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011521553A (en) * 2008-05-14 2011-07-21 ネーデルランツ オルガニサティー フォール トゥーゲパストナトゥールヴェテンシャッペリーク オンデルズーク テーエンオー Method and system for verifying shared secrets

Also Published As

Publication number Publication date
JP4820997B2 (en) 2011-11-24

Similar Documents

Publication Publication Date Title
CN110473105B (en) Block chain transaction settlement method, system and related equipment
KR101780636B1 (en) Method for issuing certificate information and blockchain-based server using the same
KR101661933B1 (en) Ccertificate authentication system and method based on block chain
KR101661930B1 (en) Certificate issuance system based on block chain
KR101863953B1 (en) System and method for providing electronic signature service
JP4116971B2 (en) Crypto system for group signature
JP4120125B2 (en) License issuing device and method
US20150356523A1 (en) Decentralized identity verification systems and methods
WO2002037746A1 (en) Content distribution system and content distribution method
JP5399400B2 (en) Digital content counting system and method
JP6963218B2 (en) Ticket validation device, method and program
JP2012524309A (en) Electronic ticket processing method and apparatus
KR20160085144A (en) System and method for processing payment of vending machine
JPWO2008126460A1 (en) Electronic data authentication method, electronic data authentication program, and electronic data authentication system
KR101902992B1 (en) System and Method for Managing Transportation Card
JPH10260630A (en) Key management method and system for electronic signature
JP4820997B2 (en) Service transaction system and program thereof
JP2002140534A (en) System and method for contents distribution with log management constitution
US20050222932A1 (en) Electronic commerce method, electronic commerce system, certificate terminal, and principal certification method by agent
US20230283466A1 (en) Content protection system
JPWO2019107000A1 (en) Information processing equipment, information processing systems, information processing methods, and programs
KR101710950B1 (en) Method for distributing encrypt key, card reader and system for distributing encrypt key thereof
JP3497936B2 (en) Personal authentication method
US20170323302A1 (en) Security systems and methods
KR100733129B1 (en) Secure payment processing system and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090108

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110809

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150