JP2021013155A - Method and device for recommending and generating network setting - Google Patents

Method and device for recommending and generating network setting Download PDF

Info

Publication number
JP2021013155A
JP2021013155A JP2020085126A JP2020085126A JP2021013155A JP 2021013155 A JP2021013155 A JP 2021013155A JP 2020085126 A JP2020085126 A JP 2020085126A JP 2020085126 A JP2020085126 A JP 2020085126A JP 2021013155 A JP2021013155 A JP 2021013155A
Authority
JP
Japan
Prior art keywords
network
network settings
text
user
recommended
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.)
Pending
Application number
JP2020085126A
Other languages
Japanese (ja)
Inventor
ホア・ソォン
Song Hua
ピ・ビンフォン
Bing-Feng Pi
俊 孫
Shun Son
俊 孫
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Publication of JP2021013155A publication Critical patent/JP2021013155A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/288Entity relationship models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]

Abstract

To provide a method and a device for recommending and generating network settings.SOLUTION: A method for automatically generating a recommended network setting for a block chain network includes steps of receiving a descriptive text related to a project that a user inputs through an input device, extracting features related to predetermined characteristics from the descriptive text, calculating feature values for the features, matching the descriptive text with known network settings based on the features and the feature values, selecting the best matching known network settings as recommended network settings for the project, and showing the recommended network settings to the user by an output device.SELECTED DRAWING: Figure 3

Description

本発明は、ネットワーク設定を推奨及び生成するための方法及び装置に関し、特に、ブロックチェーンネットワークのネットワーク設定を自動で推奨又は生成する方法及び装置に関する。 The present invention relates to a method and device for recommending and generating network settings, and more particularly to a method and device for automatically recommending or generating network settings for a blockchain network.

ブロックチェーン技術が分散型台帳(decentralized ledger)技術として実現される。一般的に言えば、ブロックチェーンネットワークは、パブリックブロックチェーン及び許可型ブロックチェーンの2種類を含む。例えば、ビットコイン及びイーサリアムがパブリックブロックチェーンネットワークであり、Hyperledger Fabric(ハイパーレジャー)が許可型ブロックチェーンネットワークである。通常、許可型ブロックチェーンネットワークは、パブリックブロックチェーンネットワークよりも複雑である。イーサリアムネットワークでは、各ノードが同じ役割を有し、即ち、台帳データのコンセンサス及び同期化に参与する。これとは対照的に、Hyperledger Fabricネットワークにおけるノード(例えば、ピアノードpeer、並べ替えノードorderer、Kafkaコンセンサスアルゴリズム、証書発行機構CAなど)が、通常、異なる役割を有するので、ネットワークの設定、構築及びメンテナンスは、非常に複雑であり、且つ時間がかかる。開発初心者について言えば、このような多くの分散の概念をよく知らないので、大量の時間を費やしてネットワークの各種のコンポーネントを学習及び理解する必要がある。また、許可型ブロックチェーンネットワークに多くの配置点があり、これらの配置点がネットワーク全体の各種の属性に関連するので、開発初心者は、しばしば、現在のプロジェクトのためにどのようなネットワークアーキテクチャーを採用するかを決定することができない場合がある。例えば、効率が高いが、フォールトトレランス(Fault tolerance)が低い「信頼できる単一ノードコンセンサス(Trusted solo)」、及び、フォールトトレランスが高いが、効率が低い「Kafkaコンセンサスアルゴリズム」について、開発初心者は、プロジェクトの中でどのコンセンサスアルゴリズム(consensus algorithm)を使用するかを決定することができない恐れがある。 Blockchain technology will be realized as decentralized ledger technology. Generally speaking, blockchain networks include two types: public blockchain and authorized blockchain. For example, Bitcoin and Ethereum are public blockchain networks, and Hyperledger Fabric is a permitting blockchain network. Allowed blockchain networks are usually more complex than public blockchain networks. In the Ethereum network, each node has the same role, i.e. participates in the consensus and synchronization of ledger data. In contrast, nodes in the Hyperledger Fabric network (eg, peer-to-peer, sort node orderer, Kafka consensus algorithm, certificate issuing mechanism CA, etc.) usually have different roles, so network setup, construction, and maintenance. Is very complex and time consuming. As for beginners, they are not familiar with many of these concepts of distribution and need to spend a lot of time learning and understanding the various components of the network. Also, because there are many location points in an authorized blockchain network, and these location points are related to various attributes of the entire network, beginners often choose what network architecture for their current project. It may not be possible to decide whether to adopt it. For example, beginners may develop a "Trusted solo" with high efficiency but low fault tolerance, and a "Kafka consensus algorithm" with high fault tolerance but low efficiency. It may not be possible to determine which consensus algorithm to use in the project.

今のところ、許可型ブロックチェーンネットワークが完全手動でビルドされるので、ブロックチェーンネットワーク技術を良く知る開発者であっても、往々にして、大量の時間及びエネルギーを費やす必要がある。Hyperledger Fabricに複数の例示的なネットワークが提供されていても、開発者は、依然として、時間を費やしてこれらの例示的なネットワークを、所望のネットワークを得るために理解及び変更する必要がある。 For now, allowed blockchain networks are built completely manually, so even developers familiar with blockchain network technology often have to spend a lot of time and energy. Even though Hyperledger Fabric is provided with multiple exemplary networks, developers still need to spend time understanding and modifying these exemplary networks to get the desired network.

よって、開発初心者にネットワーク設定を自動推奨することができる方法、及び、開発者の要求に応じてネットワーク設定を自動生成することができる方法の提供が望ましい。 Therefore, it is desirable to provide a method that can automatically recommend network settings to development beginners and a method that can automatically generate network settings according to the developer's request.

上述の問題に鑑み、本発明の目的は、ブロックチェーンネットワークのネットワーク設定を自動で推奨及び生成する技術を提供することにある。このような技術により、開発者が許可型ブロックチェーンネットワークを構築及設定する効率を大幅に向上させることができる。 In view of the above problems, an object of the present invention is to provide a technique for automatically recommending and generating network settings of a blockchain network. Such technology can greatly improve the efficiency with which developers build and set up authorized blockchain networks.

本発明の第一側面によれば、ブロックチェーンネットワークの推奨ネットワーク設定を自動生成するための方法が提供され、この方法は、
ユーザが入力装置により入力するプロジェクトに関連する説明テキストを受け取り;
前記説明テキストから所定の特性に関連する特徴を抽出し、前記特徴について特徴値を計算し;
前記特徴及び特徴値に基づいて、前記説明テキストと既知のネットワーク設定とのマッチングを行い;
ベストマッチングの既知のネットワーク設定を前記プロジェクトについての推奨ネットワーク設定として選択し;及び
出力装置により前記ユーザに前記推奨ネットワーク設定を見せることを含む。
According to the first aspect of the present invention, a method for automatically generating recommended network settings for a blockchain network is provided, and this method is described.
Receives descriptive text related to the project that the user inputs through the input device;
Features related to a given characteristic are extracted from the explanatory text, and feature values are calculated for the characteristics;
Matching the explanatory text with known network settings based on the features and feature values;
It involves selecting the best matching known network settings as the recommended network settings for the project; and showing the user the recommended network settings by the output device.

本発明の第一側面によれば、さらに、ブロックチェーンネットワークの推奨ネットワーク設定を自動生成するための装置が提供され、この装置は、記憶器、及び1つ又は複数の処理器を含み、前記処理器は、
ユーザが入力装置により入力するプロジェクトに関連する説明テキストを受け取り;
前記説明テキストから所定の特性に関連する特徴を抽出し、前記特徴について特徴値を計算し;
前記特徴及び特徴値に基づいて、前記説明テキストと既知のネットワーク設定とのマッチングを行い;
ベストマッチングの既知のネットワーク設定を前記プロジェクトについての推奨ネットワーク設定として選択し;及び
出力装置により前記ユーザに前記推奨ネットワーク設定を見せるように構成される。
According to the first aspect of the present invention, a device for automatically generating recommended network settings for a blockchain network is further provided, the device including a storage device and one or more processors, said processing. The vessel is
Receives descriptive text related to the project that the user inputs through the input device;
Features related to a given characteristic are extracted from the explanatory text, and feature values are calculated for the characteristics;
Matching the explanatory text with known network settings based on the features and feature values;
A known network setting for best matching is selected as the recommended network setting for the project; and the output device is configured to show the recommended network setting to the user.

本発明の第二側面によれば、ブロックチェーンネットワークのネットワーク設定を自動生成するための方法が提供され、この方法は、
ユーザが入力装置により入力するプロジェクトに関連するシステム図を受け取り、前記システム図は幾何学図形及び文字を含み;
前記システム図に対して画像認識を行うことで、前記システム図における実体及び実体間の関係を認識し;
認識された実体に基づいて前記ブロックチェーンネットワークの設定ファイルを生成し;
認識された実体間の関係に基づいて前記ブロックチェーンネットワークのスタートアップスクリプトを生成し;及び
出力装置により前記ユーザに前記設定ファイル及び前記スタートアップスクリプトを提供することを含む。
According to the second aspect of the present invention, a method for automatically generating network settings of a blockchain network is provided, and this method is described.
The user receives a system diagram related to the project input by the input device, and the system diagram contains geometric figures and characters;
By performing image recognition on the system diagram, the entities in the system diagram and the relationships between the entities are recognized;
Generate the blockchain network configuration file based on the recognized entity;
It includes generating a startup script for the blockchain network based on the relationships between the recognized entities; and providing the user with the configuration file and the startup script by an output device.

本発明の第二側面によれば、さらに、ブロックチェーンネットワークのネットワーク設定を自動生するための装置が提供され、この装置は、記憶器、及び1つ又は複数の処理器を含み、前記処理器は、
ユーザが入力装置により入力するプロジェクトに関連するシステム図を受け取り、前記システム図は幾何学図形及び文字を含み;
前記システム図に対して画像認識を行うことで、前記システム図における実体及び実体間の関係を認識し;
認識された実体に基づいて前記ブロックチェーンネットワークの設定ファイルを生成し;
認識された実体間の関係に基づいて前記ブロックチェーンネットワークのスタートアップスクリプトを生成し;及び
出力装置により前記ユーザに前記設定ファイル及び前記スタートアップスクリプトを提供するように構成される。
According to a second aspect of the present invention, a device for automatically generating network settings of a blockchain network is further provided, the device including a storage device and one or more processors, said processor. Is
The user receives a system diagram related to the project input by the input device, and the system diagram contains geometric figures and characters;
By performing image recognition on the system diagram, the entities in the system diagram and the relationships between the entities are recognized;
Generate the blockchain network configuration file based on the recognized entity;
The blockchain network startup script is generated based on the relationship between the recognized entities; and the output device is configured to provide the user with the configuration file and the startup script.

また、本発明では、さらに、プログラムを記憶した記録媒体が提供され、前記プログラムは、コンピュータにより実行されるときに、コンピュータに、上述のような方法を実現させる。 Further, the present invention further provides a recording medium in which a program is stored, and when the program is executed by the computer, the computer is made to realize the method as described above.

許可型ブロックチェーンネットワークの一例としてのHyperledger Fabricのネットワークアーキテクチャーを示す図である。It is a figure which shows the network architecture of Hyperledger Fabric as an example of a permission type blockchain network. ピアノード、チャンネル及び組織の関係を示す図である。It is a figure which shows the relationship between a pierode, a channel and a tissue. 本発明の第一側面によるネットワーク設定推奨方法の全体的なフローチャートである。It is an overall flowchart of the network setting recommendation method by the 1st aspect of this invention. 本発明の第一側面による推奨方法の第一実施方式のフローチャートである。It is a flowchart of the first embodiment of the recommended method according to the first aspect of this invention. 分類モデルを生成する方法のフローチャートである。It is a flowchart of a method of generating a classification model. 本発明の第一側面による推奨方法の第二実施方式のフローチャートである。It is a flowchart of the 2nd embodiment of the recommended method according to 1st aspect of this invention. 本発明の第一側面による推奨方法の第三実施方式のフローチャートである。It is a flowchart of the 3rd Embodiment of the recommended method by 1st aspect of this invention. システム図に基づくネットワーク設定の生成を示す図である。It is a figure which shows the generation of the network setting based on the system diagram. 本発明の第二側面によるネットワーク設定の生成方法のフローチャートである。It is a flowchart of the generation method of the network setting by the 2nd aspect of this invention. 本発明に係るコンピュータハードウェアを実現し得る例示的な構成ブロック図である。It is an exemplary block diagram which can realize the computer hardware which concerns on this invention.

以下、添付した図面を参照しながら、本発明を実施するための好適な形態を詳細に説明する。なお、このような実施形態は、例示に過ぎず、本発明を限定するものでない。 Hereinafter, preferred embodiments for carrying out the present invention will be described in detail with reference to the attached drawings. It should be noted that such an embodiment is merely an example and does not limit the present invention.

なお、以下、Hyperledger Fabricを許可型ブロックチェーンネットワークの一例として本発明による技術について説明するが、本発明は、Hyperledger Fabricに限定されず、他の種類の許可型ブロックチェーンネットワークに適用することもできる。 Hereinafter, the technique according to the present invention will be described using Hyperledger Fabric as an example of a permitted blockchain network, but the present invention is not limited to Hyperledger Fabric and can be applied to other types of permitted blockchain networks. ..

図1は、Hyperledger Fabricのネットワークアーキテクチャーを示す図であり、それは、主に、アプリケーションA1-A3、ピアノードP1-P3、証書発行機構CA1-CA4、並べ替えノードQ4、チャンネルC1-C2、コントラクトCC1-CC2、及びネットワーク設定NC4を含む。ピアノードP1-P3は、ネットワークの基本要素であり、それらは、台帳データ及びスマートコントラクト(smart contract)を記憶する。台帳には、ユーザにより生成されるすべてのトランザクション及びスマートコントラクトが永久的に記録され、スマートコントラクトは、ピアノードに記憶及び実行されるプログラムである。ユーザは、トランザクションを提出してスマートコントラクトとインタラクションを行うことで、台帳データにアクセスする必要がある。証書発行機構CA1-CA4は、ネットワーク全体のメンバーシップ管理者である。並べ替えノードQ4は、トランザクションリストを作ることで、すべてのピアノードP1-P3の台帳データを生成し、また、異なるピアノード中のすべての台帳データが一致するように確保する。チャンネルC1、C2は、特定の一組のピアノード及びアプリケーション(スマートコントラクト)がブロックチェーン台帳内で相互通信を行うことを許可する。図1に示すように、アプリケーションA1は、チャンネルC1を用いてピアノードP1、P2と直接通信を行うことができ、アプリケーションA2は、チャンネルC2を用いてピアノードP3と直接通信を行うことができる。なお、チャンネルは、実物でなく、物理的ピアノードの集合により形成される論理的構造である。 Figure 1 shows the network architecture of Hyperledger Fabric, which is mainly application A1-A3, peer node P1-P3, certificate issuing mechanism CA1-CA4, sorting node Q4, channel C1-C2, contract CC1. -Includes CC2 and network settings NC4. Pianos P1-P3 are the basic elements of the network, which store ledger data and smart contracts. All transactions and smart contracts generated by the user are permanently recorded in the ledger, and the smart contract is a program stored and executed in the peer node. Users need to access ledger data by submitting transactions and interacting with smart contracts. The certificate issuing mechanism CA1-CA4 is a membership administrator for the entire network. Sorting node Q4 generates ledger data for all peer nodes P1-P3 by creating a transaction list, and ensures that all ledger data in different peer nodes match. Channels C1 and C2 allow a particular set of peer nodes and applications (smart contracts) to communicate with each other within the blockchain ledger. As shown in FIG. 1, application A1 can directly communicate with peer nodes P1 and P2 using channel C1, and application A2 can directly communicate with peer node P3 using channel C2. The channel is not a real thing, but a logical structure formed by a set of physical peer nodes.

また、ピアノードの集合は、組織を形成することができる。すべてのピアノードは、異なる組織が有する及び貢献するものである。図2は、ピアノード、チャンネル及び組織の関係を示す図である。図2に示すように、ピアノードP1、P2は、組織Org1に属し、ピアノードP3-P6は、組織Org2に属し、ピアノードP7は、組織Org3に属する。また、ピアノードP1及びピアノードP7は、チャンネルCを経由して通信することができる。同様に、ピアノードP3及びP4も、チャンネルCを経由してピアノードP1及びP7と通信することができる。 Also, a set of peer nodes can form an organization. All peer nodes are those owned and contributed by different organizations. FIG. 2 is a diagram showing the relationship between peer nodes, channels, and organizations. As shown in FIG. 2, peer nodes P1 and P2 belong to the organization Org1, peer nodes P3-P6 belong to the organization Org2, and peer node P7 belongs to the organization Org3. Further, the peer node P1 and the peer node P7 can communicate with each other via the channel C. Similarly, peer nodes P3 and P4 can also communicate with peer nodes P1 and P7 via channel C.

通常、1つの完全なネットワークをビルドするには、2種類のファイル、即ち、設定ファイル及びスタートアップスクリプトを生成する必要がある。設定ファイルは、各種の静的な設定、例えば、Docker compose設定ファイル、Cryptogen設定ファイル及びGenesisブロック設定ファイルを含む。Docke compose設定ファイルは、すべてのdockerコンテナ、例えば、ピアノード、並べ替えノード、Kafka、CAなどを生成するために用いられる。Cryptogen設定ファイルは、暗号化に関連するファイル、例えば、ピアノード証書、ユーザ証書、TLS証書などを生成するために用いられる。Genesisブロック設定ファイルは、ネットワーク関係及びgenesisブロック、例えば、組織、アンカーノード、ブロック設定(ブロック大小(サイズ)、ブロック時間など)、コンセンサスアルゴリズム(Trusted solo、Kafka)を初期化するために用いられる。 Normally, to build one complete network, you need to generate two types of files: a configuration file and a startup script. Configuration files include various static configurations, such as Docker compose configuration files, Cryptogen configuration files and Genesis block configuration files. The Docke compose config file is used to generate all docker containers such as peer nodes, sort nodes, Kafka, CA and so on. The Cryptogen configuration file is used to generate encryption-related files such as peer node certificates, user certificates, and TLS certificates. The Genesis block configuration file is used to initialize network relationships and genesis blocks, such as organizations, anchor nodes, block settings (block size, block time, etc.), and consensus algorithms (Trusted solo, Kafka).

スタートアップスクリプトは、動的なスクリプトであり、ネットワーク全体を起動し、且つネットワークのコンポーネントを設定するために用いられる。スタートアップスクリプトは、主に、Dockerコンテナスタートアップスクリプト及びネットワーク関係ビルドスクリプトを含む。Dockerコンテナスタートアップスクリプトは、Dockerコンテナを起動し、即ち、すべての物理的コンポーネントをDockerコンテナと初期化するために用いられる。ネットワーク関係ビルドスクリプトは、ネットワーク関係をビルドするために用いられ、例えば、ピアノード及びユーザを初期化し、チャンネルを生成し、ピアノードをチャンネルに加入する(各ピアノードは、すべて、関連するスクリプトを実行することで1つ又は複数の特定のチャンネルに加入する必要がある)などを含む。 A startup script is a dynamic script that is used to launch the entire network and configure the components of the network. Startup scripts mainly include Docker container startup scripts and network related build scripts. The Docker container startup script is used to start a Docker container, i.e. initialize all physical components with a Docker container. Network relations build scripts are used to build network relations, for example, initializing peer nodes and users, creating channels, joining peer nodes to channels (each peer node all runs the associated script). You need to subscribe to one or more specific channels) and so on.

上述のように、設定ファイル及びスタートアップスクリプトは、1つのブロックチェーンネットワークをビルドするに必要なものである。よって、本発明では、ブロックチェーンネットワークのネットワーク設定の推奨又は生成とは、主に、自動でユーザにブロックチェーンネットワークの設定ファイル及びスタートアップスクリプトを提供することを指す。 As mentioned above, the configuration file and startup script are required to build one blockchain network. Therefore, in the present invention, the recommendation or generation of the network setting of the blockchain network mainly means to automatically provide the user with the setting file and the startup script of the blockchain network.

また、ブロックチェーンネットワークビルド時に拡張性、安全性、効率及びディセントラリゼーションの4つのファクターを考慮する必要がある。 In addition, four factors need to be considered when building a blockchain network: scalability, security, efficiency and decentralization.

拡張性は、ネットワークがより多くのトランザクションをサポートし得ることを要求する。一般的に言えば、トランザクションの数がネットワーク全体の収容力を超えたときにでも、ネットワークは崩壊しないことが望まれる。ネットワークが高い拡張性を有することは、それは、より多くのトランザクションを収容できることを意味する。Hyperledger Fabricネットワークの場合、拡張性は、チャンネル、ピアノード及び組織の数、コンセンサスアルゴリズム、チェーンコード(chaincode)を有するピアノードの数、チェーンコードの裏書ポリシー(endorsement policy)などに関連する。 Scalability requires that the network be able to support more transactions. Generally speaking, it is desirable that the network does not collapse even when the number of transactions exceeds the capacity of the entire network. The high scalability of a network means that it can accommodate more transactions. For Hyperledger Fabric networks, scalability is related to the number of channels, peer nodes and organizations, consensus algorithms, the number of peer nodes with a chaincode, the endorsement policy of the chaincode, and so on.

安全性は、許可型ブロックチェーンネットワークにとって非常に重要である。安全性は、証書発行機構及びチャンネルの数、チェーンコードの裏書ポリシーなどに関連する。 Security is very important for authorized blockchain networks. Security is related to the certificate issuing mechanism, the number of channels, the endorsement policy of the chain code, and so on.

効率は、ブロックチェーンネットワークのスループットを意味する。効率は、ピアノードの数、コンセンサスアルゴリズム、チェーンコードの裏書ポリシーなどに関連する。 Efficiency means the throughput of the blockchain network. Efficiency is related to the number of peer nodes, consensus algorithms, chaincode endorsement policies, and so on.

ディセントラリゼーションは、チャンネル、ピアノード及び組織の数、チェーンコードを有するピアノードの数に関連する。 Descentization is related to the number of channels, peer nodes and organizations, and the number of peer nodes with chaincodes.

しかし、拡張性、安全性、効率及びディセントラリゼーションの4つのファクターが互いに制約するので、経験が乏しい開発初心者は、しばしば、最適な折衷案を見つけることができない。これに鑑み、本発明は、開発初心者を支援するためのネットワーク設定推奨方法を提供する。 However, inexperienced development beginners often cannot find the best compromise because the four factors of scalability, safety, efficiency, and decentralization constrain each other. In view of this, the present invention provides a network setting recommendation method for assisting development beginners.

図3は、本発明の第一側面による推奨方法の全体的なフローチャートである。図3に示すように、ステップS310でユーザ入力のプロジェクト白書を受け取り、白書は、プロジェクトを説明するためのテキストである。その後、ステップS320で白書から拡張性、安全性、効率及びディセントラリゼーションのうちの少なくとも1つのファクター(特性)に関連する詞彙を特徴として抽出し、そして、抽出された特徴について特徴値を計算し、特徴値は、該詞彙の白書における重要性を示す値である。 FIG. 3 is an overall flowchart of the recommended method according to the first aspect of the present invention. As shown in FIG. 3, the user-input project white paper is received in step S310, and the white paper is a text for explaining the project. Then, in step S320, the vocabulary related to at least one factor (characteristic) of extensibility, safety, efficiency and decentralization is extracted as a feature from the white paper, and the feature value is calculated for the extracted feature. , The feature value is a value indicating the importance of the vocabulary in the white paper.

具体的には、白書から上述の4つのファクターの類義語及び反義語を特徴として抽出することができる。以下、1つの例示的な詞彙表(表1)を示す。プロジェクト白書から以下の表1に記載の詞彙を特徴として抽出することができる。

Figure 2021013155
Specifically, synonyms and antonyms of the above four factors can be extracted from the white paper as features. An exemplary vocabulary table (Table 1) is shown below. The vocabulary listed in Table 1 below can be extracted from the project white paper as a feature.
Figure 2021013155

特徴値の計算方法として、例えば、既知のTF(Term Frequency、単語の出現頻度)-IDF(Inverse Document Frequency、逆文書頻度)アルゴリズムを採用しても良い。また、当業者が他の既知のアルゴリズムを用いて特徴値を計算することもできるため、ここでは、その詳しい説明を省略する。 As a method for calculating the feature value, for example, a known TF (Term Frequency, word frequency) -IDF (Inverse Document Frequency) algorithm may be adopted. Further, since those skilled in the art can calculate the feature values using other known algorithms, detailed description thereof will be omitted here.

計算された特徴値をWと記すと、以下の特徴ベクトルを得ることができる。 If the calculated feature value is written as W, the following feature vector can be obtained.

VS=(W1,W2,...,Wi) --(1)
VA=(W1,W2,...,Wj) --(2)
VW=(VS,VA) --(3)
ここで、VSは、類義語特徴ベクトルを表し、VAは、反義語特徴ベクトルを表し、VWは、白書特徴ベクトルを表す。
V S = (W 1 , W 2 , ..., Wi )-(1)
V A = (W 1 , W 2 , ..., W j )-(2)
V W = (V S , V A )-(3)
Here, V S represents a synonym feature vector, V A represents an antonym feature vector, and V W represents a white paper feature vector.

特徴及び特徴値(特徴ベクトル)を得た後に、ステップS330で特徴及び特徴値に基づいて白書と既知のネットワーク設定とのマッチングを行い、その後、ステップS340でベストマッチングの既知のネットワーク設定をユーザに推奨するネットワーク設定として選択し、そして、出力装置により推奨設定をユーザに提供することができる。 After obtaining the features and feature values (feature vector), the white paper is matched with the known network settings based on the features and feature values in step S330, and then the best matching known network settings are given to the user in step S340. It can be selected as the recommended network setting and the output device can provide the recommended setting to the user.

以上、本発明のネットワーク設定推奨方法の全体的なフローを説明したが、以下、図4-図6をもとに該推奨方法の3つの具体的な実施方式について説明する。 The overall flow of the network setting recommended method of the present invention has been described above, but three specific implementation methods of the recommended method will be described below with reference to FIGS. 4-Fig.

図4は、本発明の第一側面による推奨方法の第一実施方式のフローチャートである。図4に示すように、ステップS410で予め複数のネットワーク類型を設定し、各ネットワーク類型は、拡張性、安全性、効率及びディセントラリゼーションのうちの1つの又は2つのファクターに焦点を当ててもよく、また、予め各ネットワーク類型に対応するネットワーク設定(設定ファイル及びスタートアップスクリプトを含む)をさらに設定しても良い。その後、ステップS420、S430を実行し、この2つのステップは、図3におけるステップS310、S320と同じであるから、詳細な説明が省略される。 FIG. 4 is a flowchart of the first embodiment of the recommended method according to the first aspect of the present invention. As shown in FIG. 4, multiple network types may be preset in step S410, and each network type may focus on one or two factors of scalability, safety, efficiency and decentralization. Often, network settings (including configuration files and startup scripts) corresponding to each network type may be further set in advance. After that, steps S420 and S430 are executed, and since these two steps are the same as steps S310 and S320 in FIG. 3, detailed description is omitted.

その後、ステップS440で分類モデルを生成し、該ステップについては、図5に基づいて後述する。 After that, a classification model is generated in step S440, and the step will be described later based on FIG.

ステップS450で、得られた特徴及び特徴値(特徴ベクトル)に基づいて、分類モデルにより、白書を予め設定された複数のネットワーク類型のうちの1つに分類し、その後、ステップS460で、得られたネットワーク類型に対応するネットワーク設定をユーザに推奨する。特徴に基づく分類方法が当業者の既知の技術であるため、ここでは、その詳しい説明を省略する。 Based on the features and feature values (feature vectors) obtained in step S450, the classification model classifies the white paper into one of a plurality of preset network types, which is then obtained in step S460. We recommend users the network settings that correspond to the network types. Since the classification method based on the characteristics is a technique known to those skilled in the art, detailed description thereof will be omitted here.

図5は、機械学習を用いて分類モデルを生成する方法を示す図である。図5に示すように、ステップS510で複数の既知のプロジェクト白書を収集し、その後、ステップS520で手動(人工)の方法で各既知の白書を予め設定された複数のネットワーク類型のうちの適切な1つに分類し、その後、ステップS530で手動分類後の複数の既知の白書を用いて1つの分類モデルを訓練する。例えば、該分類モデルは、ニューラルネットワーク又は機械学習方法により実現することができる。訓練済みの分類モデルは、図4のステップS450で現在の白書に対して分類を行うために用いることができる。 FIG. 5 is a diagram showing a method of generating a classification model using machine learning. As shown in FIG. 5, multiple known project white papers are collected in step S510, and then each known white paper is manually (artificially) collected in step S520 as appropriate of a plurality of preset network types. Classify into one and then train one classification model in step S530 using multiple known white papers after manual classification. For example, the classification model can be realized by a neural network or a machine learning method. The trained classification model can be used to classify the current white paper in step S450 of FIG.

図6は、本発明の第一側面による推奨方法の第二実施方式のフローチャートである。まず、ステップS610で複数の既知のプロジェクト白書及び各白書に対応するネットワーク設定を収集し、そして、各白書について特徴を抽出して特徴値(特徴ベクトル)を計算し、その後、得られた情報に基づいてデータベースをビルドする。このデータベースには、各既知の白書及びそれに対応するネットワーク設定がその対応する特徴及び特徴値と関連付けられて記憶される。 FIG. 6 is a flowchart of the second embodiment of the recommended method according to the first aspect of the present invention. First, in step S610, a plurality of known project white papers and network settings corresponding to each white paper are collected, features are extracted for each white paper, feature values (feature vectors) are calculated, and then the obtained information is used. Build the database based on. Each known white paper and its corresponding network settings are stored in this database in association with its corresponding features and feature values.

その後、ステップS620、S630を実行し、この2つのステップは、図3におけるステップS310、S320と同じであるため、ここで詳しい説明が省略される。 After that, steps S620 and S630 are executed, and since these two steps are the same as steps S310 and S320 in FIG. 3, detailed description is omitted here.

ステップS640で特徴及び特徴値(特徴ベクトル)を用いて現在の白書とデータベース中の各既知の白書との間の類似度を計算する。ここでは、任意の既知の類似度計算方法、例えば、余弦類似度計算方法又は他のテキスト類似度計算方法を採用しても良いが、本発明は、これについて限定しない。 In step S640, the features and feature values (feature vectors) are used to calculate the similarity between the current white paper and each known white paper in the database. Here, any known similarity calculation method, for example, a cosine similarity calculation method or another text similarity calculation method may be adopted, but the present invention is not limited thereto.

その後、ステップS650で現在の白書と一番高い類似度を有する既知の白書のネットワーク設定を確定し、そして、ステップS660で、確定されたネットワーク設定を推奨設定としてユーザに提供する。 Then, in step S650, the network settings of the known white paper having the highest similarity to the current white paper are confirmed, and in step S660, the confirmed network settings are provided to the user as recommended settings.

上述の第一、第二実施方式に係る方法により、ユーザに既知の白書に対応するネットワーク設定を推奨することができる。この方法は、実現が比較的に簡単であり、計算量が小さいという利点を有するが、次のような欠点も存在し、即ち、ユーザのプロジェクトに対してカスタム化したものでないから、推奨される既存のネットワーク設定は、往々にして、ユーザのプロジェクトのすべての要求を満たすことができない。よって、本発明は、第三実施方式を提供し、それは、第一、第二実施方式を組み合わせる方法である。概して言えば、まず、第二実施方式における方法により、一番近い既存のネットワーク設定を取得し、その後、第一実施方式における方法により、該既存のネットワーク設定をもとに修正を行うことで、それがユーザの具体的なプロジェクトに適するようにさせる。 By the method according to the first and second implementation methods described above, it is possible to recommend the network setting corresponding to the known white paper to the user. This method has the advantages of being relatively easy to implement and requires less computation, but it also has the following drawbacks, that is, it is not recommended because it is not customized for the user's project. Existing network settings often fail to meet all the requirements of the user's project. Therefore, the present invention provides a third embodiment, which is a method of combining the first and second embodiments. Generally speaking, by first acquiring the closest existing network settings by the method in the second implementation method, and then making corrections based on the existing network settings by the method in the first implementation method. Make it suitable for your specific project.

図7は、本発明の第一側面による推奨方法の第三実施方式のフローチャートである。図7に示すように、第二実施方式に係る方法により一番高い類似度を有する既知の白書のネットワーク設定を得た後に、直ぐにユーザに推奨せず、ステップS710で第一実施方式と同様に複数のネットワーク類型及び各ネットワーク類型に対応するネットワーク設定を設定し、ここで、各ネットワーク類型は、拡張性、安全性、効率及びディセントラリゼーションのうちの1つ又は2つに焦点を当てる。 FIG. 7 is a flowchart of the third embodiment of the recommended method according to the first aspect of the present invention. As shown in FIG. 7, after obtaining the network setting of the known white paper having the highest similarity by the method according to the second embodiment, it is not immediately recommended to the user, and in step S710, the same as in the first embodiment. Set up multiple network types and network settings for each network type, where each network type focuses on one or two of scalability, security, efficiency and decentralization.

その後、ステップS720で現在のプロジェクトの白書の、設定された複数のネットワーク類型のうちの各々に対してのスコアを確定する。該スコアは、白書が該ネットワーク類型に分類されるべきかの度合いを反映する。スコアが高いほど、白書が該ネットワーク類型に分類されるべきである。逆に、スコアが低いほど、白書が該ネットワーク類型に分類されるべきでない。 Then, in step S720, the score for each of the set network types in the white paper of the current project is determined. The score reflects the degree to which the white paper should be classified into the network type. The higher the score, the more the white paper should be classified into the network type. Conversely, the lower the score, the less the white paper should be classified into the network type.

続いて、ステップS730で、確定されたスコアの昇順に従って、該複数のネットワーク類型を並べ替え、そして、ステップS740で、スコアが一番低い(一番前の)ネットワーク類型に対応するネットワーク設定により、図6におけるステップS650で得られた既知の白書に対応するネットワーク設定を上書きする。その後、ステップS750で、複数のネットワーク類型の並べ替え後の順序に従って、順次、後ろの1つのネットワーク類型に対応するネットワーク設定を用いて、前の1つのネットワーク類型に対応するネットワーク設定を上書きし、言い換えれば、順次、スコアが高いネットワーク類型に対応するネットワーク設定により、スコアが低いネットワーク類型に対応するネットワーク設定を上書きする。毎回上書きする過程において、前の1つのネットワーク設定(設定ファイル及びスタートアップスクリプトを含む)における幾つかのパラメータ又は全部のパラメータが、現在の白書に符合する度合いがより高いネットワーク類型のネットワーク設定により上書きされることで、ユーザの白書に基づいて継続的に既存のネットワーク設定を修正することを実現し、これにより、最終的に得られたネットワーク設定がユーザの具体的なプロジェクトに適するようにさせることができる。その後、最終的に得られたネットワーク設定を、例えば、ステップS760に示すように、推奨ネットワーク設定としてユーザに提供することができる。 Subsequently, in step S730, the plurality of network types are sorted according to the ascending order of the determined scores, and in step S740, the network settings corresponding to the network type with the lowest score (foremost) are used. Override the network settings corresponding to the known white paper obtained in step S650 in Figure 6. Then, in step S750, according to the sorted order of the plurality of network types, the network settings corresponding to the last one network type are sequentially used to overwrite the network settings corresponding to the previous one network type. In other words, the network settings corresponding to the network types with high scores are sequentially overwritten with the network settings corresponding to the network types with low scores. In the process of overwriting each time, some or all parameters in the previous one network setting (including configuration file and startup script) are overwritten by network settings of network type that are more consistent with the current white paper. By doing so, it is possible to continuously modify the existing network settings based on the user's white paper, so that the finally obtained network settings are suitable for the user's specific project. it can. The finally obtained network settings can then be provided to the user as recommended network settings, for example, as shown in step S760.

以下、本発明の第二側面について説明する。ブロックチェーンネットワークビルド時に、開発初心者と異なり、経験を持つ開発者は、通常、現在のプロジェクトについてネットワークのシステム図を設計することができる。システム図は、幾何学図形及び文字を含み、図形の形式でネットワークのアーキテクチャーを表すことができる。本発明の第二側面では、開発者が提供するシステム図に基づいて自動でネットワーク設定を生成し、これにより、開発者の仕事を支援することができる。 Hereinafter, the second aspect of the present invention will be described. When building a blockchain network, unlike novice developers, experienced developers can usually design a system diagram of the network for the current project. The system diagram includes geometric figures and letters and can represent the architecture of the network in the form of figures. In the second aspect of the present invention, network settings can be automatically generated based on the system diagram provided by the developer, thereby supporting the work of the developer.

図8は、システム図に基づくネットワーク設定(設定ファイル及びスタートアップスクリプトを含む)の生成を示す図である。図8に示すように、矩形枠は、ピアノードP、アプリケーションA、証書発行機構CAなどの実体を示す。これらの実体の基本情報及び配置に基づいて設定ファイルを生成する。実体を接続する線及びチャンネルC1、C2は、実体間の関係、例えば、ノードP1がチャンネルC1に加入し、ノードP2がチャンネルC1、C2に加入するなどを示す。これらの関係に基づいてスタートアップスクリプトを生成する。なお、図8に示すシステム図は、一例に過ぎず、当業者は、他の図形、例えば、円形枠、三角形枠などを使って実体を示しても良い。 FIG. 8 is a diagram showing the generation of network settings (including configuration files and startup scripts) based on the system diagram. As shown in FIG. 8, the rectangular frame indicates an entity such as peer node P, application A, and certificate issuing mechanism CA. A configuration file is generated based on the basic information and arrangement of these entities. Lines connecting entities and channels C1 and C2 indicate relationships between entities, such as node P1 joining channel C1 and node P2 joining channels C1 and C2. Generate a startup script based on these relationships. Note that the system diagram shown in FIG. 8 is only an example, and those skilled in the art may show the substance by using other figures such as a circular frame and a triangular frame.

図9は、本発明の第二側面によるネットワーク設定の生成方法のフローチャートである。図9に示すように、ステップS910でユーザ入力のプロジェクトに関連するシステム図を受け取り、ステップS920で画像認識を行うことでシステム図における実体及び実体間の関係を認識する。例えば、システム図における枠及び/又は枠中の文字に基づいてピアノードP1-P3、アプリケーションA1-A3のような実体を認識することができる。また、次のようなもののうちの少なくとも1つに基づいて実体間の関係を認識することができ、即ち、枠を接続する線、線上の文字又は矢印、枠及び線の色、枠の相対位置関係などである。 FIG. 9 is a flowchart of a method of generating a network setting according to the second aspect of the present invention. As shown in FIG. 9, the system diagram related to the user-input project is received in step S910, and the entity and the relationship between the entities in the system diagram are recognized by performing image recognition in step S920. For example, entities such as peer nodes P1-P3 and applications A1-A3 can be recognized based on the frame and / or the characters in the frame in the system diagram. Also, the relationship between entities can be recognized based on at least one of the following: the line connecting the frames, the letters or arrows on the line, the color of the frame and the line, the relative position of the frame. Relationships and so on.

当業者は、適切な画像認識方法を採用してステップS920を実行しても良く、例えば、機械学習に基づく方法を採用しても良い。このような方法を用いる場合、予め手動でラベルを付けた大量のシステム図を利用してニューラルネットワークを訓練することができる。訓練済みのニューラルネットワークは、システム図における実体及び実体間の関係を認識するために用いることができる。例えば、図8に示すシステム図について、訓練済みのニューラルネットワークにより、実体P1、P2及び関係C1を認識することができ、より具体的には、ピアノードP1、P2がともにチャンネルC1に加入することを認識することができる。 One of ordinary skill in the art may employ an appropriate image recognition method to perform step S920, for example, a method based on machine learning. With such a method, neural networks can be trained using a large number of pre-labeled system diagrams. Trained neural networks can be used to recognize entities and relationships between entities in system diagrams. For example, in the system diagram shown in FIG. 8, the trained neural network can recognize the entities P1, P2 and the relation C1, and more specifically, the peer nodes P1 and P2 both join the channel C1. Can be recognized.

認識が行われた後に、ステップS930に示すように、実体の基本情報及び配置に基づいてブロックチェーンネットワークの設定ファイルを生成し、また、実体間の関係に基づいてネットワークのスタートアップスクリプトを生成することができる。その後、ステップS940で、生成された設定ファイル及びスタートアップスクリプトをユーザに提供することができる。 After recognition, generate a blockchain network configuration file based on the basic information and placement of the entities, and generate a network startup script based on the relationships between the entities, as shown in step S930. Can be done. Then, in step S940, the generated configuration file and startup script can be provided to the user.

図9に示す方法により、開発者設計の図形化されたシステム図に基づいて自動でより複雑な設定ファイル及びスタートアップスクリプトを生成することができるため、開発者のワークロードを低減し、開発の効率を向上させることができる。 The method shown in Figure 9 can automatically generate more complex configuration files and startup scripts based on a developer-designed graphical system diagram, reducing developer workload and improving development efficiency. Can be improved.

なお、本発明による方法の実行は、図面に基づいて説明した上述の順序に限定されない。効果に影響しない限り、図面に示す順序とは異なる順序に従って本発明による方法を実現しても良い。例えば、図7の処理が図6のステップS650の後ろにあるが、図7におけるステップS710-S730は、ステップS650の前に実行されても良い。 The execution of the method according to the present invention is not limited to the above-mentioned order described with reference to the drawings. As long as the effect is not affected, the method according to the present invention may be realized in an order different from the order shown in the drawings. For example, the process of FIG. 7 is after step S650 of FIG. 6, but steps S710-S730 of FIG. 7 may be executed before step S650.

また、上述の方法は、ソフトウェア、ハードウェア、又はソフトウェアとハードウェアとの組み合わせにより実現されても良い。ソフトウェアに含まれるプログラムは、事先に装置の内部又は外部に設置される記憶媒体に記憶されても良い。一例として、実行時に、これらのプログラムは、RAMにロードされて処理器(例えば、CPU)により実行されることで、上述の各種の処理を実現する。 Further, the above-mentioned method may be realized by software, hardware, or a combination of software and hardware. The program included in the software may be stored in a storage medium installed inside or outside the device in advance. As an example, at the time of execution, these programs are loaded into RAM and executed by a processor (for example, CPU) to realize the above-mentioned various processes.

図10は、プログラムにより本発明による方法を実現するコンピュータハードウェアの例示的な構成ブロック図である。このコンピュータハードウェアは、本発明によるブロックチェーンネットワークのネットワーク設定を推奨又は生成する装置の一例である。 FIG. 10 is an exemplary block diagram of computer hardware that programmatically implements the method according to the invention. This computer hardware is an example of a device that recommends or generates network settings for a blockchain network according to the present invention.

図10に示すように、中央処理装置(CPU)1001は、ROM 1002に記憶されているプログラム又は記憶部1008からRAM 1003にロッドされているプログラムに基づいて各種の処理を行う。RAM 1003では、ニーズに応じて、CPU 1001が各種の処理を行うときに必要なデータなどを記憶することもできる。CPU 1001、ROM 1002及びRAM 1003は、バス1004を経由して互いに接続される。入力/出力インターフェース1005も、バス1004に接続される。 As shown in FIG. 10, the central processing unit (CPU) 1001 performs various processes based on the program stored in the ROM 1002 or the program rodged from the storage unit 1008 to the RAM 1003. The RAM 1003 can also store data required when the CPU 1001 performs various processes according to needs. CPU 1001, ROM 1002 and RAM 1003 are connected to each other via bus 1004. The input / output interface 1005 is also connected to the bus 1004.

また、入力/出力インターフェース1005には、さらに、次のような部品が接続され、即ち、キーボードなどを含む入力部1006、液晶表示器(LCD)などのような表示器及びスピーカーなどを含む出力部1007、ハードディスクなどを含む記憶部1008、ネットワーク・インターフェース・カード、例えば、LANカード、モデムなどを含む通信部1009である。通信部1009は、例えば、インターネット、LANなどのネットワークを経由して通信処理を行う。 Further, the following components are connected to the input / output interface 1005, that is, an input unit 1006 including a keyboard and the like, an output unit including a display such as a liquid crystal display (LCD), and a speaker. 1007, storage unit 1008 including hard disk, etc., communication unit 1009 including network interface card, for example, LAN card, modem, etc. The communication unit 1009 performs communication processing via a network such as the Internet or LAN.

ドライブ1010は、ニーズに応じて、入力/出力インターフェース1005に接続されても良い。取り外し可能な媒体1011、例えば、半導体メモリなどは、必要に応じて、ドライブ1010にセットされることにより、その中から読み取られたコンピュータプログラムを記憶部1008にインストールすることができる。 Drive 1010 may be connected to input / output interface 1005, if desired. A removable medium 1011 such as a semiconductor memory can be set in the drive 1010 as needed, and a computer program read from the medium can be installed in the storage unit 1008.

また、本発明は、さらに、マシン可読指令コードを含むプログラムプロダクトを提供する。このような指令コードは、マシンにより読み取られて実行されるときに、上述の本発明の実施形態における方法を実行することができる。それ相応に、このようなプログラムプロダクトをキャリー(Carry)する、例えば、磁気ディスク(フロッピーディスク(登録商標)を含む)、光ディスク(CD-ROM及びDVDを含む)、光磁気ディスク(MD(登録商標)を含む)、及び半導体記憶器などの各種記憶媒体も、本発明に含まれる。 The present invention also provides a program product that includes a machine-readable command code. When such a command code is read and executed by the machine, the method according to the embodiment of the present invention described above can be executed. Correspondingly, carry such program products, such as magnetic disks (including floppy disks (registered trademarks)), optical disks (including CD-ROMs and DVDs), magneto-optical disks (MD (registered trademarks)). ), And various storage media such as semiconductor storage devices are also included in the present invention.

また、上述の方法における各操作(処理)は、各種のマシン可読記憶媒体に記憶されているコンピュータ実行可能なプログラムの方式で実現することもできる。 In addition, each operation (process) in the above method can also be realized by a method of a computer-executable program stored in various machine-readable storage media.

また、以上の実施例などに関連し、さらに以下のように付記として開示する。 In addition, in relation to the above examples and the like, it is further disclosed as an appendix as follows.

(付記1)
ブロックチェーンネットワークの推奨ネットワーク設定を自動生成するための方法であって、
ユーザが入力装置により入力するプロジェクトに関連する説明テキストを受け取り;
前記説明テキストから所定の特性に関連する特徴を抽出し、前記特徴について特徴値を計算し;
前記特徴及び特徴値に基づいて、前記説明テキストと既知のネットワーク設定とのマッチングを行い;
ベストマッチングの既知のネットワーク設定を前記プロジェクトについての推奨ネットワーク設定として選択し;及び
出力装置により前記ユーザに前記推奨ネットワーク設定を見せることを含む、方法。
(Appendix 1)
A method for automatically generating recommended network settings for blockchain networks.
Receives descriptive text related to the project that the user inputs through the input device;
Features related to a given characteristic are extracted from the explanatory text, and feature values are calculated for the characteristics;
Matching the explanatory text with known network settings based on the features and feature values;
A method comprising selecting a known network setting for best matching as a recommended network setting for the project; and showing the user the recommended network setting by an output device.

(付記2)
付記1に記載の方法であって、
前記所定の特性は、拡張性、安全性、効率及びディセントラリゼーションのうちの少なくとも1つを含み、前記特徴は、前記説明テキストにおける、前記所定の特性に関連する詞彙であり、前記特徴値は、前記詞彙の、前記説明テキストにおける重要性を示す値である、方法。
(Appendix 2)
The method described in Appendix 1
The predetermined property comprises at least one of extensibility, safety, efficiency and decentralization, the feature is a vocabulary associated with the predetermined property in the explanatory text, and the feature value is , A method that indicates the importance of the vocabulary in the explanatory text.

(付記3)
付記1又は2に記載の方法であって、さらに、
複数のネットワーク類型及び各ネットワーク類型に対応するネットワーク設定を設定し;
分類モデルを生成し;
前記説明テキストの特徴及び特徴値に基づいて、前記分類モデルにより、前記説明テキストを前記複数のネットワーク類型のうちの1つに分類し;及び
得られた1つのネットワーク類型に対応するネットワーク設定を前記推奨ネットワーク設定として前記ユーザに見せることを含む、方法。
(Appendix 3)
The method described in Appendix 1 or 2, and further
Set multiple network types and network settings for each network type;
Generate a classification model;
Based on the features and feature values of the explanatory text, the classification model classifies the explanatory text into one of the plurality of network types; and the network settings corresponding to the obtained network type. A method that includes showing to the user as a recommended network setting.

(付記4)
付記3に記載の方法であって、
分類モデルを生成することは、
手動の方法で複数の既知の説明テキストをそれぞれ前記複数のネットワーク類型のうちの対応する類型に分類し;及び
手動分類後の前記複数の既知の説明テキストを用いて訓練を行い、前記分類モデルを得ることを含む、方法。
(Appendix 4)
The method described in Appendix 3
Generating a classification model is
A manual method is used to classify the plurality of known explanatory texts into the corresponding types of the plurality of network types, respectively; and training is performed using the plurality of known explanatory texts after the manual classification to obtain the classification model. Methods, including getting.

(付記5)
付記3に記載の方法であって、
前記複数のネットワーク類型のうちの各々のネットワーク類型は、拡張性、安全性、効率及びディセントラリゼーションのうちの1つ又は2つに焦点を当てる、方法。
(Appendix 5)
The method described in Appendix 3
A method in which each network type of the plurality of network types focuses on one or two of scalability, security, efficiency and decentralization.

(付記6)
付記1又は2に記載の方法であって、さらに、
データベースを生成し、前記データベースには、複数の既知の説明テキストのうちの各々に対応するネットワーク設定と、特徴及び特徴値とが含まれ;
前記プロジェクトの前記説明テキストと、前記データベース中の各々の既知の説明テキストの特徴及び特徴値とに基づいて、両者(前記説明テキストと、各々の既知の説明テキストとの)間の類似度を計算し;
一番高い類似度を有する既知の説明テキストに対応するネットワーク設定を確定することを含む、方法。
(Appendix 6)
The method described in Appendix 1 or 2, and further
Generate a database, said database containing network settings, features and feature values corresponding to each of several known descriptive texts;
Calculate the similarity between the description text of the project and the features and feature values of each known description text in the database. ;
A method that involves establishing network settings that correspond to the known descriptive text with the highest similarity.

(付記7)
付記6に記載の方法であって、さらに、
前記の一番高い類似度を有する既知の説明テキストに対応するネットワーク設定を前記推奨ネットワーク設定として前記ユーザに見せることを含む、方法。
(Appendix 7)
The method described in Appendix 6 and further
A method comprising showing the user a network setting corresponding to the known explanatory text having the highest similarity as the recommended network setting.

(付記8)
付記6に記載の方法であって、さらに、
複数のネットワーク類型及び各ネットワーク類型に対応するネットワーク設定を設定し;
前記プロジェクトの前記説明テキストの、前記複数のネットワーク類型のうちの各々に対してのスコアを確定し;
確定されたスコアの昇順に従って前記複数のネットワーク類型を並べ替え;
スコアが一番低いネットワーク類型に対応するネットワーク設定を用いて、前記の一番高い類似度を有する既知の説明テキストに対応するネットワーク設定を上書きし;
前記複数のネットワーク類型の並べ替え後の順序に従って、順次、後ろの1つのネットワーク類型に対応するネットワーク設定を用いて、前の1つのネットワーク類型に対応するネットワーク設定を上書きし;及び
最終的に得られたネットワーク設定を前記推奨ネットワーク設定として前記ユーザに見せることを含む、方法。
(Appendix 8)
The method described in Appendix 6 and further
Set multiple network types and network settings for each network type;
Determine the score for each of the plurality of network types in the explanatory text of the project;
Sort the multiple network types according to the ascending order of the determined scores;
Override the network configuration corresponding to the known descriptive text with the highest similarity above, using the network configuration corresponding to the network type with the lowest score;
According to the reordered order of the plurality of network types, the network settings corresponding to the last one network type are sequentially used to overwrite the network settings corresponding to the previous one network type; and finally obtained. A method comprising showing the network settings to the user as the recommended network settings.

(付記9)
ブロックチェーンネットワークのネットワーク設定を自動生成するための方法であって、
ユーザが入力装置により入力するプロジェクトに関連するシステム図を受け取り、前記システム図は幾何学図形及び文字を含み;
前記システム図に対して画像認識を行うことで、前記システム図における実体及び実体間の関係を認識し;
認識された実体に基づいて前記ブロックチェーンネットワークの設定ファイルを生成し;
認識された実体間の関係に基づいて前記ブロックチェーンネットワークのスタートアップスクリプトを生成し;及び
出力装置により前記ユーザに前記設定ファイル及び前記スタートアップスクリプトを提供することを含む、方法。
(Appendix 9)
A method for automatically generating network settings for blockchain networks.
The user receives a system diagram related to the project input by the input device, and the system diagram contains geometric figures and characters;
By performing image recognition on the system diagram, the entities in the system diagram and the relationships between the entities are recognized;
Generate the blockchain network configuration file based on the recognized entity;
A method comprising generating a startup script for the blockchain network based on the relationships between recognized entities; and providing the user with the configuration file and the startup script by an output device.

(付記10)
付記9に記載の方法であって、さらに、
前記システム図中の枠及び枠内の文字のうちの少なくとも1つに基づいて前記実体を認識し;
前記枠と接続される線、前記線上の文字又は矢印、前記枠及び前記線の色、前記枠の位置関係のうちの少なくとも1つに基づいて前記実体間の関係を認識することを含む、方法。
(Appendix 10)
The method described in Appendix 9, and further
Recognize the entity based on the frame in the system diagram and at least one of the characters in the frame;
A method comprising recognizing a relationship between entities based on at least one of a line connected to the frame, a letter or arrow on the line, the color of the frame and the line, and the positional relationship of the frame. ..

(付記11)
ブロックチェーンネットワークの推奨ネットワーク設定を自動生成する装置であって、
記憶器;及び
1つ又は複数の処理器を含み、
前記処理器は、付記1-8に記載の方法を実行するように構成される、装置。
(Appendix 11)
A device that automatically generates recommended network settings for blockchain networks.
Memory; and
Includes one or more processors
The processor is an apparatus configured to perform the method described in Appendix 1-8.

(付記12)
ブロックチェーンネットワークのネットワーク設定を自動生するための装置であって、
記憶器;及び
1つ又は複数の処理器を含み、
前記処理器は、付記9-10に記載の方法を実行するように構成される、装置。
(Appendix 12)
A device for automatically generating network settings for blockchain networks.
Memory; and
Includes one or more processors
The processor is an apparatus configured to perform the method described in Appendix 9-10.

(付記13)
プログラムを記憶した記録媒体であって、
前記プログラムは、コンピュータにより実行されるときに、コンピュータに、付記1-10に記載の方法を実現させる、記録媒体。
(Appendix 13)
A recording medium that stores programs
A recording medium that, when executed by a computer, causes the computer to implement the methods described in Appendix 1-10.

以上、本発明の好ましい実施形態を説明したが、本発明はこの実施形態に限定されず、本発明の趣旨を離脱しない限り、本発明に対するあらゆる変更は、本発明の技術的範囲に属する。 Although the preferred embodiment of the present invention has been described above, the present invention is not limited to this embodiment, and any modification to the present invention belongs to the technical scope of the present invention unless the gist of the present invention is departed.

Claims (10)

ブロックチェーンネットワークの推奨ネットワーク設定を自動生成するための方法であって、
ユーザが入力装置により入力するプロジェクトに関連する説明テキストを受け取り;
前記説明テキストから所定の特性に関連する特徴を抽出し、前記特徴について特徴値を計算し;
前記特徴及び特徴値に基づいて、前記説明テキストと既知のネットワーク設定とのマッチングを行い;
ベストマッチングの既知のネットワーク設定を前記プロジェクトについての推奨ネットワーク設定として選択し;及び
出力装置により前記ユーザに前記推奨ネットワーク設定を見せることを含む、方法。
A method for automatically generating recommended network settings for blockchain networks.
Receives descriptive text related to the project that the user inputs through the input device;
Features related to a given characteristic are extracted from the explanatory text, and feature values are calculated for the characteristics;
Matching the explanatory text with known network settings based on the features and feature values;
A method comprising selecting a known network setting for best matching as a recommended network setting for the project; and showing the user the recommended network setting by an output device.
請求項1に記載の方法であって、
前記所定の特性は、拡張性、安全性、効率及びディセントラリゼーションのうちの少なくとも1つを含み、前記特徴は、前記説明テキストにおける、前記所定の特性に関連する詞彙であり、前記特徴値は、前記詞彙の、前記説明テキストにおける重要性を示す値である、方法。
The method according to claim 1.
The predetermined property comprises at least one of extensibility, safety, efficiency and decentralization, the feature is a vocabulary associated with the predetermined property in the explanatory text, and the feature value is , A method that indicates the importance of the vocabulary in the explanatory text.
請求項1又は2に記載の方法であって、
複数のネットワーク類型と、各ネットワーク類型に対応するネットワーク設定とを設定し;
分類モデルを生成し;
前記説明テキストの特徴及び特徴値に基づいて、前記分類モデルにより、前記説明テキストを前記複数のネットワーク類型のうちの1つに分類し;及び
得られた1つのネットワーク類型に対応するネットワーク設定を前記推奨ネットワーク設定として前記ユーザに見せることをさらに含む、方法。
The method according to claim 1 or 2.
Set multiple network types and network settings corresponding to each network type;
Generate a classification model;
Based on the features and feature values of the explanatory text, the classification model classifies the explanatory text into one of the plurality of network types; and the network settings corresponding to the obtained network type. A method further comprising showing to the user as a recommended network setting.
請求項3に記載の方法であって、
前記分類モデルを生成することは、
手動の方法で複数の既知の説明テキストをそれぞれ前記複数のネットワーク類型のうちの対応する類型に分類し;及び
手動分類後の前記複数の既知の説明テキストを用いて訓練を行い、前記分類モデルを得ることを含む、方法。
The method according to claim 3.
Generating the classification model
A manual method is used to classify the plurality of known explanatory texts into the corresponding types of the plurality of network types, respectively; and training is performed using the plurality of known explanatory texts after the manual classification to obtain the classification model. Methods, including getting.
請求項3に記載の方法であって、
前記複数のネットワーク類型のうちの各々のネットワーク類型が、拡張性、安全性、効率及びディセントラリゼーションのうちの1つ又は2つに焦点を当てる、方法。
The method according to claim 3.
A method in which each of the plurality of network types focuses on one or two of scalability, security, efficiency and decentralization.
請求項1又は2に記載の方法であって、
データベースを生成し、前記データベースには、複数の既知の説明テキストのうちの各々に対応するネットワーク設定と、特徴及び特徴値とが含まれ;
前記プロジェクトの前記説明テキストと、前記データベースに含まれる各々の既知の説明テキストの特徴及び特徴値とに基づいて、前記説明テキストと、各々の既知の説明テキストとの間の類似度を計算し;及び
最も高い類似度を有する既知の説明テキストに対応するネットワーク設定を確定することをさらに含む、方法。
The method according to claim 1 or 2.
Generate a database, said database containing network settings, features and feature values corresponding to each of several known descriptive texts;
Based on the description text of the project and the features and feature values of each known description text contained in the database, the similarity between the description text and each known description text is calculated; And a method further comprising establishing the network settings corresponding to the known descriptive text with the highest similarity.
請求項6に記載の方法であって、
前記の最も高い類似度を有する既知の説明テキストに対応するネットワーク設定を前記推奨ネットワーク設定として前記ユーザに見せることをさらに含む、方法。
The method according to claim 6.
A method further comprising showing the user the network settings corresponding to the known descriptive text having the highest similarity as the recommended network settings.
請求項6に記載の方法であって、
複数のネットワーク類型と、各ネットワーク類型に対応するネットワーク設定とを設定し;
前記プロジェクトの前記説明テキストの、前記複数のネットワーク類型のうちの各々に対してのスコアを確定し;
確定されたスコアの昇順に従って前記複数のネットワーク類型を並べ替え;
スコアが最も低いネットワーク類型に対応するネットワーク設定を用いて、前記の最も高い類似度を有する既知の説明テキストに対応するネットワーク設定を上書きし;
前記複数のネットワーク類型の並べ替え後の順序に従って、順次、後ろの1つのネットワーク類型に対応するネットワーク設定を用いて、前の1つのネットワーク類型に対応するネットワーク設定を上書きし;及び
最終的に得られたネットワーク設定を前記推奨ネットワーク設定として前記ユーザに見せることをさらに含む、方法。
The method according to claim 6.
Set multiple network types and network settings corresponding to each network type;
Determine the score for each of the plurality of network types in the explanatory text of the project;
Sort the multiple network types according to the ascending order of the determined scores;
Override the network settings corresponding to the known descriptive text with the highest similarity above, using the network settings corresponding to the network type with the lowest score;
According to the reordered order of the plurality of network types, the network settings corresponding to the last one network type are sequentially used to overwrite the network settings corresponding to the previous one network type; and finally obtained. A method further comprising showing the network settings to the user as the recommended network settings.
ブロックチェーンネットワークのネットワーク設定を自動生成するための方法であって、
ユーザが入力装置により入力するプロジェクトに関連するシステム図を受け取り、前記システム図は幾何学図形及び文字を含み;
前記システム図に対して画像認識を行い、前記システム図における実体と、実体間の関係とを認識し;
認識された実体に基づいて、前記ブロックチェーンネットワークの設定ファイルを生成し;
認識された実体間の関係に基づいて、前記ブロックチェーンネットワークのスタートアップスクリプトを生成し;及び
出力装置により、前記ユーザに前記設定ファイル及び前記スタートアップスクリプトを提供することを含む、方法。
A method for automatically generating network settings for blockchain networks.
The user receives a system diagram related to the project input by the input device, and the system diagram contains geometric figures and characters;
Image recognition is performed on the system diagram, and the entity in the system diagram and the relationship between the entities are recognized;
Generate the blockchain network configuration file based on the recognized entity;
A method comprising generating a startup script for the blockchain network based on the relationships between recognized entities; and providing the user with the configuration file and the startup script by an output device.
請求項9に記載の方法であって、
前記システム図中の枠及び枠内の文字のうちの少なくとも1つに基づいて、前記実体を認識し;及び
前記枠と接続される線、前記線上の文字又は矢印、前記枠及び前記線の色、並びに、前記枠の位置関係のうちの少なくとも1つに基づいて、前記実体間の関係を認識することをさらに含む、方法。
The method according to claim 9.
Recognize the entity based on the frame and at least one of the characters in the frame in the system diagram; and the line connected to the frame, the character or arrow on the line, the frame and the color of the line. , And the method further comprising recognizing the relationship between the entities based on at least one of the positional relationships of the frame.
JP2020085126A 2019-07-08 2020-05-14 Method and device for recommending and generating network setting Pending JP2021013155A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910610722.1A CN112202587A (en) 2019-07-08 2019-07-08 Method and apparatus for recommending and generating network configurations
CN201910610722.1 2019-07-08

Publications (1)

Publication Number Publication Date
JP2021013155A true JP2021013155A (en) 2021-02-04

Family

ID=74004626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020085126A Pending JP2021013155A (en) 2019-07-08 2020-05-14 Method and device for recommending and generating network setting

Country Status (2)

Country Link
JP (1) JP2021013155A (en)
CN (1) CN112202587A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114503B (en) * 2021-04-13 2022-12-20 中国工商银行股份有限公司 Deployment method and device based on application delivery network requirements
CN116346598B (en) * 2023-05-31 2023-09-01 四川中普盈通科技有限公司 Site configuration method for data transmission control and network access system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5787246A (en) * 1994-05-27 1998-07-28 Microsoft Corporation System for configuring devices for a computer system
US10389580B2 (en) * 2016-10-28 2019-08-20 Western Digital Technologies, Inc. Distributed computing system configuration
CN108763493B (en) * 2018-05-30 2022-06-21 深圳市思迪信息技术股份有限公司 Deep learning-based recommendation method
CN109698752B (en) * 2018-11-29 2021-11-12 南京南瑞信息通信科技有限公司 Enterprise resource management system based on block chain
CN109547260B (en) * 2018-12-07 2022-03-15 中国航空工业集团公司西安航空计算技术研究所 FlexRay network configuration method and system

Also Published As

Publication number Publication date
CN112202587A (en) 2021-01-08

Similar Documents

Publication Publication Date Title
Guo et al. Matchzoo: A learning, practicing, and developing system for neural text matching
Mufid et al. Design an mvc model using python for flask framework development
CN109145099B (en) Question-answering method and device based on artificial intelligence
Luchs A brief introduction to design thinking
Mak Archaeology of a Digitization
US11727019B2 (en) Scalable dynamic acronym decoder
Feldman et al. Strategyproof facility location and the least squares objective
CN107563417A (en) A kind of deep learning artificial intelligence model method for building up and system
JP2021013155A (en) Method and device for recommending and generating network setting
Fei et al. Cross-lingual unsupervised sentiment classification with multi-view transfer learning
US8639643B2 (en) Classification of a document according to a weighted search tree created by genetic algorithms
Shi et al. A benchmark and baseline for language-driven image editing
JP2021096775A (en) Learning method, learning program, and information processing device
US11645563B2 (en) Data filtering with fuzzy attribute association
Sola et al. On the use of knowledge graph completion methods for activity recommendation in business process modeling
Liu et al. Crowdgame: A game-based crowdsourcing system for cost-effective data labeling
Prajapati et al. An ai-based pedagogical tool for creating sketched representation of emotive product forms in the conceptual design stages
JP2021093093A (en) Electronic album creation device, electronic album creation method, and program
Wang et al. Can AI Be as Creative as Humans?
JP7391503B2 (en) Information processing system and information processing method
Nafees et al. Impostor gan: Toward modeling social media user impersonation with generative adversarial networks
WO2021071428A1 (en) System and method for innovation, creativity, and learning as a service
JP2016194684A (en) Subject instruction in curation learning
Guerraoui et al. Robust Machine Learning
US20240071132A1 (en) Image annotation using prior model sourcing