JP6991949B2 - Billing information generation program, billing information generator and billing information generation method - Google Patents

Billing information generation program, billing information generator and billing information generation method Download PDF

Info

Publication number
JP6991949B2
JP6991949B2 JP2018177592A JP2018177592A JP6991949B2 JP 6991949 B2 JP6991949 B2 JP 6991949B2 JP 2018177592 A JP2018177592 A JP 2018177592A JP 2018177592 A JP2018177592 A JP 2018177592A JP 6991949 B2 JP6991949 B2 JP 6991949B2
Authority
JP
Japan
Prior art keywords
service
information generation
billing information
application
generation program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018177592A
Other languages
Japanese (ja)
Other versions
JP2020047216A (en
Inventor
晋作 清本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KDDI Corp
Original Assignee
KDDI Corp
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 KDDI Corp filed Critical KDDI Corp
Priority to JP2018177592A priority Critical patent/JP6991949B2/en
Publication of JP2020047216A publication Critical patent/JP2020047216A/en
Application granted granted Critical
Publication of JP6991949B2 publication Critical patent/JP6991949B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

本発明は、利用したサービスの課金情報を生成するための課金情報生成プログラム、課金情報生成装置及び課金情報生成方法に関する。 The present invention relates to a billing information generation program, a billing information generation device, and a billing information generation method for generating billing information of the service used.

従来、分散データベースであるブロックチェーンは、改竄が困難なデータ記録方式として、様々なシステムへの活用方法が提案されている(例えば、非特許文献1~3参照)。 Conventionally, a blockchain, which is a distributed database, has been proposed as a data recording method that is difficult to falsify, and is used in various systems (see, for example, Non-Patent Documents 1 to 3).

Satoshi Nakamoto. Bitcoin: A peer-to-peer electronic cash system, 2008.Satoshi Nakamoto. Bitcoin: A peer-to-peer electronic cash system, 2008. Sompolinsky, Y., Zohar, A.: Accelerating bitcoin’s transaction processing. Fast money grows on trees, not chains. IACR Cryptology ePrint Archive 2013 (2013)881.Somplinsky, Y. et al. , Zohar, A. : Accelerating bitcoin's transaction processing. Fast money grows on trees, not chains. IACR Cryptography ePrint Archive 2013 (2013) 881. Lewenberg, Y., Sompolinsky, Y., Zohar, A.: Inclusive block chain protocols. In:Financial Cryptography and Data Security - 19th International Conference, FC2015, San Juan, Puerto Rico, January 26-30, 2015, Revised Selected Papers. (2015)528-547.Lewenberg, Y. et al. , Sampolinsky, Y. , Zohar, A. : INCLUSIVE black chain protocols. In: Financial Cryptography and Data Security-19th International Conference, FC2015, San Juan, Puerto Rico, January 26-30, 2015, Revised Select Pa. (2015) 528-547.

ところで、クラウドサーバ等によりネットワークを介して提供されるサービスプログラム(以下、単にサービスともいう)は、利用の対価として、定額又は従量制の課金が行われる場合がある。
このような利用料金を算定するための利用実績データは、改竄を防いで正確に記録することが要求される。
By the way, a service program provided via a network by a cloud server or the like (hereinafter, also simply referred to as a service) may be charged a fixed amount or a pay-as-you-go system as a consideration for use.
The usage record data for calculating such usage charges is required to be accurately recorded without falsification.

しかしながら、サービスが共用される場合に、いずれのユーザからどれだけ利用されたかを正確に記録することは難しかった。特に、ユーザが実行する1つのアプリケーションが複数のサービスを利用する場合、利用実績に応じてサービスの提供者に適切に報酬を分配することは難しかった。 However, when the service is shared, it is difficult to accurately record how much it was used by which user. In particular, when one application executed by a user uses a plurality of services, it is difficult to appropriately distribute rewards to service providers according to the usage record.

本発明は、共用のサービスを実行する環境において、適切にサービスの利用料金を課金できる課金情報生成プログラム、課金情報生成装置及び課金情報生成方法を提供することを目的とする。 An object of the present invention is to provide a billing information generation program, a billing information generation device, and a billing information generation method that can appropriately charge a service usage fee in an environment in which a shared service is executed.

本発明に係る課金情報生成プログラムは、アプリケーションからの要求に応じて、複数ユーザで共用されるサービスを実行し、実行結果を前記アプリケーションへ提供する実行ステップと、前記サービスを実行した際に、前記アプリケーションを実行したユーザの識別子と共に、利用実績データをブロックチェーンに記録する記録ステップと、をコンピュータに実行させるためのものである。 The billing information generation program according to the present invention executes a service shared by a plurality of users in response to a request from an application, and provides an execution result to the application, and when the service is executed, the execution step is described. Along with the identifier of the user who executed the application, the recording step of recording the usage record data in the blockchain is to be executed by the computer.

前記利用実績データは、前記サービスの実行開始時刻及び実行終了時刻を含んでもよい。 The usage record data may include an execution start time and an execution end time of the service.

前記利用実績データは、前記サービスへの入力データサイズを含んでもよい。 The usage record data may include the input data size for the service.

前記課金情報生成プログラムにより、前記実行ステップにおいて、前記コンピュータは、前記サービスとの相互認証を実行してもよい。 The billing information generation program may allow the computer to perform mutual authentication with the service in the execution step.

前記課金情報生成プログラムにより、前記実行ステップにおいて、前記コンピュータは、前記アプリケーションの正当性を認証してもよい。 The billing information generation program may allow the computer to authenticate the validity of the application in the execution step.

前記課金情報生成プログラムにより、前記記録ステップにおいて、前記コンピュータは、前記サービスへの入力データ及び前記実行結果を前記ブロックチェーンに記録してもよい。 In the recording step, the computer may record the input data to the service and the execution result in the blockchain by the billing information generation program.

前記課金情報生成プログラムは、前記アプリケーションに対して自身の正当性を保証するための電子署名が付与されてもよい。 The billing information generation program may be given an electronic signature for guaranteeing its own legitimacy to the application.

本発明に係る課金情報生成装置は、前記課金情報生成プログラムを実行する。 The billing information generation device according to the present invention executes the billing information generation program.

本発明に係る課金情報生成方法は、前記課金情報生成装置が前記課金情報生成プログラムを介して、前記アプリケーションからの要求に応じて、前記サービスを実行し、前記ブロックチェーンに前記利用実績データを記録する。 In the billing information generation method according to the present invention, the billing information generation device executes the service in response to a request from the application via the billing information generation program, and records the usage record data in the blockchain. do.

前記課金情報生成方法において、課金装置が前記ブロックチェーンを参照し、前記アプリケーションから実行される複数の前記サービスそれぞれの前記利用実績データに応じた割合で、前記サービスの提供者それぞれの報酬を分配してもよい。 In the billing information generation method, the billing device refers to the blockchain and distributes the reward of each provider of the service at a ratio corresponding to the usage record data of each of the plurality of services executed from the application. You may.

本発明によれば、共用のサービスを実行する環境において、適切にサービスの利用料金を課金できる。 According to the present invention, a service usage fee can be appropriately charged in an environment in which a shared service is executed.

実施形態に係るサービス提供システムの全体構成を示す概要図である。It is a schematic diagram which shows the whole structure of the service provision system which concerns on embodiment. 実施形態に係る課金情報生成装置の機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the charge information generation apparatus which concerns on embodiment. 実施形態に係る課金情報生成方法の手順を例示するシーケンス図である。It is a sequence diagram which illustrates the procedure of the charge information generation method which concerns on embodiment.

以下、本発明の実施形態の一例について説明する。
図1は、本実施形態に係るサービス提供システム100の全体構成を示す概要図である。
サービス提供システム100は、アプリケーションが利用したサービスの利用料金をサービス提供者へ還元するために、アプリケーションの実行ユーザ及びサービス毎の利用実績を記録するものである。
Hereinafter, an example of the embodiment of the present invention will be described.
FIG. 1 is a schematic diagram showing an overall configuration of a service providing system 100 according to the present embodiment.
The service providing system 100 records the execution user of the application and the usage record for each service in order to return the usage fee of the service used by the application to the service provider.

本実施形態において、サービスは、例えば、AI(Artificial Intelligence)によるデータ解析プログラム等、複数ユーザで共用されるものであり、アプリケーションからの入力データに対して、解析結果を提供する。 In the present embodiment, the service is shared by a plurality of users, for example, a data analysis program by AI (Artificial Integrity), and provides analysis results for input data from an application.

サービス提供システム100は、アプリケーションの実行環境を提供する課金情報生成装置1と、アプリケーションから利用される種々のサービスが配置されたクラウド等のサーバ群2と、サービスの利用実績が格納されるデータベースであるブロックチェーン3とを備える。 The service providing system 100 is a billing information generation device 1 that provides an application execution environment, a server group 2 such as a cloud in which various services used by the application are arranged, and a database that stores the service usage record. It is provided with a certain blockchain 3.

課金情報生成装置1の実行環境には、アプリケーションが実行可能に配置され、又は外部端末に配置されたアプリケーションとの通信インタフェースが提供される。
また、この実行環境には、アプリケーションとサービスとを中継する、課金情報生成プログラムとしてのAPI(Application Programming Interface)がサービス毎に提供される。
課金情報生成装置1は、このAPIにより、アプリケーションからの要求に応じてサービス(例えば、解析プログラムA又はB)を実行し、実行結果をアプリケーションに返す。
In the execution environment of the billing information generation device 1, a communication interface with an application arranged so that the application can be executed or arranged in an external terminal is provided.
Further, in this execution environment, API (Application Programming Interface) as a billing information generation program that relays between the application and the service is provided for each service.
The billing information generation device 1 executes a service (for example, analysis program A or B) in response to a request from the application by this API, and returns the execution result to the application.

このとき、課金情報生成装置1は、APIにより、サービスの利用実績データとして、サービスの開始時刻及び終了時刻、入力データサイズ等をブロックチェーン3に書き込む。
ブロックチェーン3に組み込まれた、又は外部装置の課金プログラムがこの利用実績データを参照することで、アプリケーションの利用者に対して、サービス毎の利用料金が課金される。また、ブロックチェーン3に実装された仮想通貨機能により、利用者のアカウントからサービス提供者のアカウントへの支払いの手続きが容易に実現される。
At this time, the billing information generation device 1 writes the start time and end time of the service, the input data size, and the like as the service usage record data in the blockchain 3 by the API.
When the billing program incorporated in the blockchain 3 or the external device refers to this usage record data, the usage fee for each service is charged to the user of the application. In addition, the virtual currency function implemented in the blockchain 3 makes it easy to carry out payment procedures from the user's account to the service provider's account.

図2は、本実施形態に係る課金情報生成装置1の機能構成を示すブロック図である。
課金情報生成装置1は、サーバ装置又はパーソナルコンピュータ等の情報処理装置(コンピュータ)であり、制御部10及び記憶部20の他、各種データの入出力デバイス及び通信デバイス等を備える。
FIG. 2 is a block diagram showing a functional configuration of the billing information generation device 1 according to the present embodiment.
The billing information generation device 1 is an information processing device (computer) such as a server device or a personal computer, and includes a control unit 10 and a storage unit 20, as well as various data input / output devices and communication devices.

制御部10は、課金情報生成装置1の全体を制御する部分であり、記憶部20に記憶された各種プログラムを適宜読み出して実行することにより、本実施形態における各種機能を実現する。制御部10は、CPUであってよい。 The control unit 10 is a part that controls the entire billing information generation device 1, and realizes various functions in the present embodiment by appropriately reading and executing various programs stored in the storage unit 20. The control unit 10 may be a CPU.

記憶部20は、ハードウェア群を課金情報生成装置1として機能させるための各種プログラム、及び各種データ等の記憶領域であり、ROM、RAM、フラッシュメモリ又はハードディスク(HDD)等であってよい。
具体的には、記憶部20は、本実施形態の各機能を制御部10に実行させるためのプログラムとして、例えば、実行環境としてのJava(登録商標)VM(Virtual Machine)、及び各種のサービスを実行するためのAPIを記憶する。
The storage unit 20 is a storage area for various programs and various data for making the hardware group function as the billing information generation device 1, and may be a ROM, RAM, flash memory, hard disk (HDD), or the like.
Specifically, the storage unit 20 provides, for example, Java (registered trademark) VM (Virtual Machine) as an execution environment and various services as a program for causing the control unit 10 to execute each function of the present embodiment. Store the API to execute.

制御部10は、サービス毎に配置されたAPIにより実現される機能部として、認証部11と、実行部12と、記録部13とを備える。 The control unit 10 includes an authentication unit 11, an execution unit 12, and a recording unit 13 as functional units realized by APIs arranged for each service.

認証部11は、アプリケーションからの要求に応じて、このアプリケーションの正当性を認証する。
アプリケーションは、例えば、IDと電子署名との組、又はトークン等を認証情報として保持し、この認証情報を伴ってAPIにサービスの実行を要求する。認証部11は、認証情報によりアプリケーションの正当性を確認することで、不正利用を防ぎ、正規のアプリケーションからの要求のみを処理する。
The authentication unit 11 authenticates the validity of this application in response to a request from the application.
The application holds, for example, a set of an ID and a digital signature, a token, or the like as authentication information, and requests the API to execute a service with this authentication information. By confirming the validity of the application by the authentication information, the authentication unit 11 prevents unauthorized use and processes only the request from the legitimate application.

また、APIには、自身の正当性を保証するための電子署名が付与されていてよい。アプリケーションは、この電子署名によりAPIの正当性を確認する。これにより、アプリケーションとAPIとで相互に認証が行われる。 Further, the API may be given an electronic signature for guaranteeing its own validity. The application confirms the validity of the API by this digital signature. As a result, the application and the API mutually authenticate each other.

実行部12は、アプリケーションからの要求に応じて、ネットワークを介して複数ユーザで共用されるサービスを実行し、実行結果をアプリケーションへ提供する。
このとき、実行部12は、APIと対象のサービスとの相互認証を実行してもよい。APIは、サービスの提供者により併せて提供されるものであり、正規のAPI及びサービスの組み合わせに限り、アプリケーションからの要求を処理してサービスの実行結果をアプリケーションに返す。
なお、相互認証には、既存のプロトコルが利用可能であり、例えば、SSL(Secure Sockets Layer)又はTLS(Transport Layer Security)といったセキュリティプロトコルが利用されてよい。
The execution unit 12 executes a service shared by a plurality of users via a network in response to a request from the application, and provides an execution result to the application.
At this time, the execution unit 12 may execute mutual authentication between the API and the target service. The API is also provided by the service provider, and only in the combination of the legitimate API and the service, the request from the application is processed and the execution result of the service is returned to the application.
For mutual authentication, an existing protocol can be used, and for example, a security protocol such as SSL (Secure Sockets Layer) or TLS (Transport Layer Security) may be used.

記録部13は、実行部12によりサービスを実行した際に、アプリケーションを実行したユーザのID、及び認証部11が取得した認証情報と共に、利用実績データをブロックチェーン3に記録する。
また、記録部13は、サービスへの入力データ及び実行結果を、さらにブロックチェーン3に記録してもよい。
The recording unit 13 records the usage record data in the blockchain 3 together with the ID of the user who executed the application and the authentication information acquired by the authentication unit 11 when the service is executed by the execution unit 12.
Further, the recording unit 13 may further record the input data to the service and the execution result in the blockchain 3.

利用実績データは、アプリケーションを実行したユーザのID、及びサービスのID若しくはAPIのIDをキーとして、サービスの実行開始時刻及び実行終了時刻、あるいは、サービスへの入力データサイズを含む。実行開始時刻は、例えばAPIがサービスを呼び出した時刻、実行終了時刻は、例えばサービスから実行結果を受け取った時刻である。
課金プログラムは、実行開始時刻から実行終了時刻までの利用時間、又はデータサイズに応じて、ユーザに対してサービス毎に課金を行う。
The usage record data includes the execution start time and execution end time of the service, or the input data size to the service, using the ID of the user who executed the application and the ID of the service or the ID of the API as keys. The execution start time is, for example, the time when the API calls the service, and the execution end time is, for example, the time when the execution result is received from the service.
The billing program charges the user for each service according to the usage time from the execution start time to the execution end time or the data size.

図3は、本実施形態に係る課金情報生成方法の手順を例示するシーケンス図である。
この例では、サービスとして解析プログラムA及びBが1つのアプリケーションから利用される。
FIG. 3 is a sequence diagram illustrating the procedure of the billing information generation method according to the present embodiment.
In this example, the analysis programs A and B are used as services from one application.

ステップS1において、ユーザ端末は、アプリケーションを実行する。
ステップS2において、アプリケーションは、API経由で解析プログラムAを呼び出す。
ステップS3において、APIは、解析プログラムAに入力したデータ及び呼び出し時刻を、アプリケーションの実行者のIDと共にブロックチェーン3に記録する。
In step S1, the user terminal executes the application.
In step S2, the application calls the analysis program A via the API.
In step S3, the API records the data input to the analysis program A and the call time in the blockchain 3 together with the ID of the executor of the application.

ステップS4において、解析プログラムAは、解析処理を実行し、解析結果をAPI経由でアプリケーションに返す。
ステップS5において、APIは、解析プログラムAの実行終了時刻を、アプリケーションの実行者のIDと共にブロックチェーン3に書き込む。
In step S4, the analysis program A executes the analysis process and returns the analysis result to the application via the API.
In step S5, the API writes the execution end time of the analysis program A in the blockchain 3 together with the ID of the executor of the application.

ステップS6において、アプリケーションは、API経由で解析プログラムBを呼び出す。
ステップS7において、APIは、解析プログラムBに入力したデータ及び呼び出し時刻を、アプリケーションの実行者のIDと共にブロックチェーン3に記録する。
In step S6, the application calls the analysis program B via the API.
In step S7, the API records the data input to the analysis program B and the call time in the blockchain 3 together with the ID of the executor of the application.

ステップS8において、解析プログラムBは、解析処理を実行し、解析結果をAPI経由でアプリケーションに返す。
ステップS9において、APIは、解析プログラムBの実行終了時刻を、アプリケーションの実行者のIDと共にブロックチェーン3に書き込む。
In step S8, the analysis program B executes the analysis process and returns the analysis result to the application via the API.
In step S9, the API writes the execution end time of the analysis program B in the blockchain 3 together with the ID of the executor of the application.

ステップS10において、アプリケーションは実行を終了し、ユーザ端末へ結果を出力する。
ステップS11において、課金プログラムは、ブロックチェーン3を参照し、解析プログラムA及び解析プログラムBの利用時間をそれぞれ導出すると、利用時間に基づく利用料金を算出する。
ステップS12において、課金プログラムは、アプリケーションの実行者であるユーザ端末に、算出した利用料金の支払要求を送信する。
In step S10, the application ends execution and outputs the result to the user terminal.
In step S11, the billing program refers to the blockchain 3 and derives the usage time of the analysis program A and the analysis program B, respectively, and calculates the usage fee based on the usage time.
In step S12, the billing program transmits a payment request for the calculated usage fee to the user terminal which is the executor of the application.

ステップ13において、ユーザ端末は、支払要求に基づいて、仮想通貨での支払処理を行う。
ステップS14において、ユーザ端末は、支払処理に伴い、支払いのトランザクションをブロックチェーン3に記録する。
In step 13, the user terminal performs payment processing in virtual currency based on the payment request.
In step S14, the user terminal records the payment transaction in the blockchain 3 as the payment is processed.

なお、この例では、ユーザ端末を課金情報生成装置1とは別に設けたが、ユーザ端末自身が課金情報生成装置1として構成されてもよいし、アプリケーションがユーザ端末に配置されてもよい。 In this example, although the user terminal is provided separately from the billing information generation device 1, the user terminal itself may be configured as the billing information generation device 1, or the application may be arranged in the user terminal.

本実施形態によれば、課金情報生成装置1は、アプリケーションの実行環境を提供し、アプリケーションが共用の解析プログラム等のサービスを利用する場合には、実行環境からAPIを経由してサービスを実行する。このとき、課金情報生成装置1は、APIによりサービスの利用実績データをブロックチェーン3に記録する。
したがって、課金情報生成装置1は、課金を行う根拠となる利用実績データをブロックチェーン3に書き込むことにより、完全性を担保し第三者が検証可能とする。
According to the present embodiment, the billing information generation device 1 provides an application execution environment, and when the application uses a service such as a shared analysis program, the billing information generation device 1 executes the service from the execution environment via the API. .. At this time, the billing information generation device 1 records the service usage record data in the blockchain 3 by API.
Therefore, the billing information generation device 1 guarantees completeness and can be verified by a third party by writing the usage record data that is the basis for billing to the blockchain 3.

この結果、共用のサービスを実行する環境において、適切にサービスの利用料金が課金される。また、アプリケーションから複数のサービスが実行される場合、課金プログラムを実行する課金装置は、例えば固定又は利用実績に応じたアプリケーションの使用料に対して、サービス提供者間で、各サービスの利用率に応じた割合で適切に報酬を分配することができる。 As a result, the service usage fee is appropriately charged in the environment where the shared service is executed. In addition, when multiple services are executed from an application, the billing device that executes the billing program determines the usage rate of each service among service providers, for example, with respect to the usage fee of the application according to the fixed or usage record. Rewards can be appropriately distributed at appropriate rates.

サービス提供システム100は、ブロックチェーン3にサービスの利用実績データを記録し、例えば、サービス提供者が記録データを相互に検証することで、特定の管理者を設けることなく、適切な課金の仕組みを実現できる。 The service providing system 100 records service usage record data on the blockchain 3, and for example, the service providers mutually verify the recorded data to provide an appropriate billing mechanism without a specific administrator. realizable.

課金の根拠となる利用実績データは、例えばサービスの実行開始時刻及び実行終了時刻、又はサービスへの入力データサイズが用いられる。
これにより、例えば、APIの呼び出しからサービスの戻り値を受け取るまでの期間を利用時間として課金すること、あるいは、サービスに入力したデータサイズ、すなわち解析するデータ量に応じて課金をすることができる。
As the usage record data that is the basis of billing, for example, the execution start time and execution end time of the service, or the input data size to the service is used.
Thereby, for example, the period from the API call to the receipt of the return value of the service can be charged as the usage time, or the data size input to the service, that is, the amount of data to be analyzed can be charged.

サービス提供システム100において、APIとサービスとは、相互認証を行うことにより、正規の組み合わせでのみサービスの実行が許可される。
これにより、なりすまし、及びAPIを介さずにサービスを利用するといった不正利用を防ぐことができ、適切なサービスの提供及び課金が実現される。
また、サービス提供システム100において、APIは、アプリケーションの正当性を認証することにより、不正利用を抑制できる。
In the service providing system 100, the API and the service are mutually authenticated so that the service can be executed only in a regular combination.
As a result, it is possible to prevent spoofing and unauthorized use such as using the service without using the API, and appropriate service provision and billing are realized.
Further, in the service providing system 100, the API can suppress unauthorized use by authenticating the validity of the application.

さらに、APIは、サービスへの入力データ及び実行結果をブロックチェーン3に記録することで、各サービスの処理内容の検証を可能にし、不正なサービス又はAPIの発見が容易になる。
また、APIには、自身の正当性を保証するための電子署名が付与されることで、アプリケーションによる不正なAPIの呼び出しが抑制される。
Further, the API records the input data to the service and the execution result in the blockchain 3, enabling verification of the processing content of each service and facilitating the detection of an illegal service or API.
In addition, the API is given an electronic signature for guaranteeing its own validity, so that an unauthorized API call by the application is suppressed.

以上、本発明の実施形態について説明したが、本発明は前述した実施形態に限るものではない。また、前述した実施形態に記載された効果は、本発明から生じる最も好適な効果を列挙したに過ぎず、本発明による効果は、実施形態に記載されたものに限定されるものではない。 Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments. Moreover, the effects described in the above-described embodiments are merely a list of the most suitable effects resulting from the present invention, and the effects according to the present invention are not limited to those described in the embodiments.

前述の実施形態では、APIとサービスとは1対1の関係にあるとしたが、これには限られず、APIは、複数のサービスを選択的に実行してもよい。この場合、例えば、アプリケーションが実行するサービスを指定し、APIは、利用実績データをサービスのIDと共にブロックチェーン3に記録する。 In the above-described embodiment, the API and the service have a one-to-one relationship, but the present invention is not limited to this, and the API may selectively execute a plurality of services. In this case, for example, a service to be executed by the application is specified, and the API records the usage record data together with the service ID in the blockchain 3.

前述の実施形態では、課金の基準として、サービスの利用時間又は入力データサイズを説明したが、これには限られない。例えば、サービスの利用回数又は出力データサイズ等、課金の基準は、サービスの内容に応じて適宜設定されてよく、設定された基準に応じて、APIがブロックチェーン3に記憶する利用実績データも決定されてよい。 In the above-described embodiment, the service usage time or the input data size has been described as a billing standard, but the present invention is not limited to this. For example, the billing standard such as the number of times the service is used or the output data size may be appropriately set according to the content of the service, and the usage record data stored in the blockchain 3 by the API is also determined according to the set standard. May be done.

1 課金情報生成装置
2 サーバ群
3 ブロックチェーン
10 制御部
11 認証部
12 実行部
13 記録部
20 記憶部
100 サービス提供システム
1 Billing information generator 2 Server group 3 Blockchain 10 Control unit 11 Authentication unit 12 Execution unit 13 Recording unit 20 Storage unit 100 Service provision system

Claims (10)

外部サーバにおいて複数ユーザで共用されるサービスと組み合わせて、当該サービスを呼び出す装置にAPIとして提供され、
アプリケーションからの要求に応じて、前記サービスを呼び出して実行させ、実行結果を前記アプリケーションへ提供する実行ステップと、
前記サービスを実行した際に、前記アプリケーションを実行したユーザの識別子と共に、前記サービスの利用実績データをブロックチェーンに記録する記録ステップと、を前記装置に実行させるための課金情報生成プログラム。
In combination with a service shared by multiple users on an external server, it is provided as an API to the device that calls the service.
An execution step that calls and executes the service in response to a request from the application and provides the execution result to the application.
A billing information generation program for causing the device to execute a recording step of recording usage record data of the service in a blockchain together with an identifier of a user who has executed the application when the service is executed.
前記利用実績データは、前記サービスの実行開始時刻及び実行終了時刻を含む請求項1に記載の課金情報生成プログラム。 The billing information generation program according to claim 1, wherein the usage record data includes an execution start time and an execution end time of the service. 前記利用実績データは、前記サービスへの入力データサイズを含む請求項1又は請求項2に記載の課金情報生成プログラム。 The billing information generation program according to claim 1 or 2, wherein the usage record data includes an input data size for the service. 前記実行ステップにおいて、前記装置に、前記サービスとの相互認証を実行させるための請求項1から請求項3のいずれかに記載の課金情報生成プログラム。 The billing information generation program according to any one of claims 1 to 3, for causing the device to execute mutual authentication with the service in the execution step. 前記実行ステップにおいて、前記装置に、前記アプリケーションの正当性を認証させるための請求項1から請求項4のいずれかに記載の課金情報生成プログラム。 The billing information generation program according to any one of claims 1 to 4, for causing the device to authenticate the validity of the application in the execution step. 前記記録ステップにおいて、前記装置に、前記サービスへの入力データ及び前記実行結果を前記ブロックチェーンに記録させるための請求項1から請求項5のいずれかに記載の課金情報生成プログラム。 The billing information generation program according to any one of claims 1 to 5, for causing the device to record the input data to the service and the execution result in the blockchain in the recording step. 前記アプリケーションに対して自身の正当性を保証するための電子署名が付与された請求項1から請求項6のいずれかに記載の課金情報生成プログラム。 The billing information generation program according to any one of claims 1 to 6, which is given an electronic signature to guarantee its own validity for the application. 請求項1から請求項7のいずれかに記載の課金情報生成プログラムを実行する課金情報生成装置。 A billing information generation device that executes the billing information generation program according to any one of claims 1 to 7. 請求項8に記載の課金情報生成装置が前記課金情報生成プログラムを介して、前記アプリケーションからの要求に応じて、前記サービスを実行し、前記ブロックチェーンに前記利用実績データを記録する課金情報生成方法。 The billing information generation method according to claim 8, wherein the billing information generation device executes the service in response to a request from the application via the billing information generation program, and records the usage record data in the blockchain. .. 課金装置が前記ブロックチェーンを参照し、前記アプリケーションから実行される複数の前記サービスそれぞれの前記利用実績データに応じた割合で、前記サービスの提供者それぞれの報酬を分配する請求項9に記載の課金情報生成方法。 The billing according to claim 9, wherein the billing device refers to the blockchain and distributes the reward of each provider of the service at a ratio corresponding to the usage record data of each of the plurality of services executed from the application. Information generation method.
JP2018177592A 2018-09-21 2018-09-21 Billing information generation program, billing information generator and billing information generation method Active JP6991949B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018177592A JP6991949B2 (en) 2018-09-21 2018-09-21 Billing information generation program, billing information generator and billing information generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018177592A JP6991949B2 (en) 2018-09-21 2018-09-21 Billing information generation program, billing information generator and billing information generation method

Publications (2)

Publication Number Publication Date
JP2020047216A JP2020047216A (en) 2020-03-26
JP6991949B2 true JP6991949B2 (en) 2022-01-13

Family

ID=69900049

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018177592A Active JP6991949B2 (en) 2018-09-21 2018-09-21 Billing information generation program, billing information generator and billing information generation method

Country Status (1)

Country Link
JP (1) JP6991949B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7458879B2 (en) 2020-04-20 2024-04-01 Lineヤフー株式会社 Information processing device, information processing method, and information processing program
CN113379465A (en) * 2021-06-29 2021-09-10 北京百度网讯科技有限公司 Block chain-based site selection method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002251478A (en) 2001-02-22 2002-09-06 Hitachi Ltd Electronic mall system
JP2002288745A (en) 2001-03-23 2002-10-04 Casio Comput Co Ltd Sales analysis acting system and method therefor
JP2003242417A (en) 2002-02-18 2003-08-29 Nippon Telegr & Teleph Corp <Ntt> Contents circulation method, contents circulation system, contents reproduction device, contents reproduction program, and recording medium thereof
JP2017068835A (en) 2015-10-02 2017-04-06 株式会社リコー Equipment management system, equipment management method, information processing apparatus, image forming apparatus, and information processing program
JP2017208755A (en) 2016-05-20 2017-11-24 株式会社日立製作所 Key management system, server and key management method
JP2018064142A (en) 2016-10-11 2018-04-19 富士通株式会社 Edge server, encryption communication control method thereof, and terminal
JP2018133080A (en) 2017-12-08 2018-08-23 株式会社Kompath Block chain data management system, program, and data structure
US20180255090A1 (en) 2017-03-03 2018-09-06 International Business Machines Corporation Blockchain web browser interface

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002251478A (en) 2001-02-22 2002-09-06 Hitachi Ltd Electronic mall system
JP2002288745A (en) 2001-03-23 2002-10-04 Casio Comput Co Ltd Sales analysis acting system and method therefor
JP2003242417A (en) 2002-02-18 2003-08-29 Nippon Telegr & Teleph Corp <Ntt> Contents circulation method, contents circulation system, contents reproduction device, contents reproduction program, and recording medium thereof
JP2017068835A (en) 2015-10-02 2017-04-06 株式会社リコー Equipment management system, equipment management method, information processing apparatus, image forming apparatus, and information processing program
JP2017208755A (en) 2016-05-20 2017-11-24 株式会社日立製作所 Key management system, server and key management method
JP2018064142A (en) 2016-10-11 2018-04-19 富士通株式会社 Edge server, encryption communication control method thereof, and terminal
US20180255090A1 (en) 2017-03-03 2018-09-06 International Business Machines Corporation Blockchain web browser interface
JP2018133080A (en) 2017-12-08 2018-08-23 株式会社Kompath Block chain data management system, program, and data structure

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
武智 秀 MASARU TAKECHI,解説 Hybridcastを支える技術,NHK技研R&D NO.133,日本放送協会,2012年05月,pp.20-27

Also Published As

Publication number Publication date
JP2020047216A (en) 2020-03-26

Similar Documents

Publication Publication Date Title
US10824701B2 (en) System and method for mapping decentralized identifiers to real-world entities
US11818269B2 (en) Computer-implemented system and method providing a decentralised protocol for the recovery of cryptographic assets
EP3788522B1 (en) System and method for mapping decentralized identifiers to real-world entities
JP6894979B2 (en) How to sign a new block in a decentralized blockchain consensus network
EP3721603B1 (en) System and method for creating decentralized identifiers
US11210661B2 (en) Method for providing payment gateway service using UTXO-based protocol and server using same
US10230756B2 (en) Resisting replay attacks efficiently in a permissioned and privacy-preserving blockchain network
WO2018158936A1 (en) Block chain management device, block chain management method and program
US9892404B2 (en) Secure identity authentication in an electronic transaction
KR20200106130A (en) Method and device for protecting sensitive data of transaction activity based on smart contract in blockchain
Gupta et al. Cloud computing security using blockchain
TW202018571A (en) Data storage method and device based on block chain and electronic equipment
JP2019525296A (en) Offline payment method and device
JP2019511150A (en) System and method for controlling asset related activities via blockchain
US20190305968A1 (en) Human-solved puzzles as proof-of-work for blockchain
CN107493291A (en) A kind of identity identifying method and device based on safety element SE
CN112953978B (en) Multi-signature authentication method, device, equipment and medium
JP6991949B2 (en) Billing information generation program, billing information generator and billing information generation method
JP2022532764A (en) Systems and methods for deparallelized mining in proof of work blockchain networks
Leiba et al. IoTPatchPool: Incentivized delivery network of IoT software updates based on proofs-of-distribution
KR20110124088A (en) Billing verifying apparatus, billing apparatus and method for cloud computing environment
KR20200014121A (en) Method and system for providing block chain service
CN111191273A (en) Method and device for processing document, electronic equipment and readable storage medium
CN111106938A (en) Information processing method, system and equipment
CN114866409B (en) Password acceleration method and device based on password acceleration hardware

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200720

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210427

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210611

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: 20211124

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211208

R150 Certificate of patent or registration of utility model

Ref document number: 6991949

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150