CN111447112B - Block chain network monitoring system, device and method - Google Patents
Block chain network monitoring system, device and method Download PDFInfo
- Publication number
- CN111447112B CN111447112B CN202010216961.1A CN202010216961A CN111447112B CN 111447112 B CN111447112 B CN 111447112B CN 202010216961 A CN202010216961 A CN 202010216961A CN 111447112 B CN111447112 B CN 111447112B
- Authority
- CN
- China
- Prior art keywords
- monitoring
- test
- block chain
- contract
- sending
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/06—Generation of reports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Environmental & Geological Engineering (AREA)
- Technology Law (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Marketing (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a block chain network monitoring system, a device and a method, wherein the system comprises: the monitoring system comprises a monitoring center, a monitoring component and a block chain node, wherein the monitoring center is connected with the monitoring component, and the monitoring component is connected with the block chain node; the monitoring center is used for: generating a monitoring parameter and sending the monitoring parameter to a monitoring component; receiving and displaying a monitoring result; the monitoring component is configured to: and receiving the monitoring parameters, monitoring the monitored block chain link points according to the monitoring parameters to obtain a monitoring result, wherein the monitoring result shows the running health condition of the block chain link points, and sending the monitoring result to the monitoring center. According to the scheme, the monitoring center and the monitoring part are arranged, and the running health condition of the block chain node can be well monitored through the set monitoring parameters.
Description
Technical Field
The invention relates to the technical field of block chain network monitoring, in particular to a block chain network monitoring system, a block chain network monitoring device and a block chain network monitoring method.
Background
The blockchain aims at decentralization, and privacy and security policies are added, so that although the nodes of the blockchain are interconnected and data are shared, the stability of the blockchain as a whole and how the whole operation condition of each node is not transparent and visible. This is not a problem for public chains, since no one is concerned about the overall behavior of the public chain, nor about whether the nodes of other people are functioning well. However, for the federation chain, due to the close coupling of the services among the nodes, the operation condition of each node often influences the transaction release and consensus of other people. However, the current blockchain system does not provide overall operation monitoring, and when connectivity between nodes is in problem, a maintainer cannot immediately judge the position of the problem and cannot well monitor the overall operation condition of the blockchain.
Disclosure of Invention
The embodiment of the invention provides a system, a device and a method for monitoring a block chain network, which solve the technical problem that the whole operation condition of the block chain cannot be well monitored in the prior art.
In a first aspect, an embodiment of the present invention provides a system for monitoring a blockchain network, including: the monitoring system comprises a monitoring center, a monitoring component and a block chain node, wherein the monitoring center is connected with the monitoring component, and the monitoring component is connected with the block chain node;
the monitoring center is used for: generating a monitoring parameter and sending the monitoring parameter to a monitoring component; receiving and displaying a monitoring result;
the monitoring component is configured to: and receiving the monitoring parameters, monitoring the monitored block chain link points according to the monitoring parameters to obtain a monitoring result, wherein the monitoring result shows the running health condition of the block chain link points, and sending the monitoring result to the monitoring center.
In a second aspect, an embodiment of the present invention provides a device for monitoring a blockchain network, including:
the information generation module is used for generating monitoring parameters;
the information sending module is used for sending the monitoring parameters to the monitoring component;
the information receiving module is used for receiving and displaying a monitoring result, wherein the monitoring result is obtained by the monitoring component through monitoring operation on the monitored block chain link points according to the monitoring parameters, and the monitoring result indicates the running health condition of the block chain nodes;
the block chain network monitoring device is connected with the monitoring component, and the monitoring component is connected with the block chain link points.
In a third aspect, an embodiment of the present invention provides a device for monitoring a blockchain network, including:
the information receiving module is used for receiving the monitoring parameters sent by the monitoring center;
the monitoring module is used for monitoring the monitored block chain link points according to the monitoring parameters to obtain a monitoring result, and the monitoring result indicates the running health condition of the block chain link points;
the information sending module is used for sending the monitoring result to the monitoring center;
the block chain network monitoring device is respectively connected with the monitoring center and the block chain link points.
In a fourth aspect, an embodiment of the present invention provides a method for monitoring a blockchain network, including:
the monitoring center generates monitoring parameters and sends the monitoring parameters to a monitoring component;
the monitoring component receives the monitoring parameters, monitors the monitored block chain link points according to the monitoring parameters to obtain monitoring results, indicates the running health condition of the block chain nodes, and sends the monitoring results to the monitoring center;
the monitoring center receives and displays the monitoring result;
the monitoring center is connected with the monitoring component, and the monitoring component is connected with the block chain link points.
In a fifth aspect, an embodiment of the present invention provides a method for monitoring a blockchain network, including:
generating monitoring parameters;
sending the monitoring parameters to a monitoring component;
receiving and displaying a monitoring result, wherein the monitoring result is obtained by monitoring operation of the monitoring component on the monitored block chain link points according to the monitoring parameters, and the monitoring result indicates the running health condition of the block chain link points;
wherein the monitoring component is connected with the block link point.
In a sixth aspect, an embodiment of the present invention provides a method for monitoring a blockchain network, including:
receiving monitoring parameters sent by a monitoring center;
monitoring operation is carried out on the monitored block chain link points according to the monitoring parameters to obtain monitoring results, and the monitoring results indicate the running health conditions of the block chain link points;
and sending the monitoring result to the monitoring center.
In a seventh aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the method is implemented.
In an eighth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the method is stored in the computer-readable storage medium.
In the embodiment of the invention, the running health condition of the block chain node can be well monitored by arranging the monitoring center and the monitoring component.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a block diagram of a system for monitoring a blockchain network according to an embodiment of the present invention;
fig. 2 is a block diagram of a block chain network monitoring apparatus (i.e., a monitoring center) according to an embodiment of the present invention;
fig. 3 is a block diagram of a monitoring apparatus (i.e., a monitoring component) for a blockchain network according to an embodiment of the present invention;
fig. 4 is a first flowchart of a method (monitoring system) for monitoring a blockchain network according to an embodiment of the present invention;
fig. 5 is a flowchart of a method (monitoring system) for monitoring a blockchain network according to an embodiment of the present invention;
fig. 6 is a first flowchart of a method (monitoring center angle) for monitoring a blockchain network according to an embodiment of the present invention;
fig. 7 is a flowchart of a method for monitoring a blockchain network (monitoring center angle) according to an embodiment of the present invention;
fig. 8 is a first flowchart of a method (monitoring component) for monitoring a blockchain network according to an embodiment of the present invention;
fig. 9 is a flowchart of a method (monitoring component) for monitoring a blockchain network according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In an embodiment of the present invention, a system for monitoring a blockchain network is provided, as shown in fig. 1, the system including: a monitoring center, a monitoring component (1, 2, 3 … …) and a block chain node (1, 2, 3 … …), wherein the monitoring center is connected with the monitoring component, and the monitoring component is connected with the block chain node;
the monitoring center is used for: generating a monitoring parameter and sending the monitoring parameter to a monitoring component; receiving and displaying a monitoring result;
the monitoring component is configured to: and receiving the monitoring parameters, monitoring the monitored block chain link points according to the monitoring parameters to obtain a monitoring result, wherein the monitoring result shows the running health condition of the block chain link points, and sending the monitoring result to the monitoring center.
In the embodiment of the invention, maintenance personnel set proper monitoring parameters according to the current network condition and the monitoring requirement and synchronously monitor the parameters for each monitoring part. The monitoring parameters may include, for example, monitoring frequency, monitoring parameters, monitoring mode, start-stop monitoring, and the like. The monitoring center can start and stop each monitoring part (class).
In an embodiment of the present invention, the monitoring center is further configured to: generating test contract data and test transaction data, and sending the test contract data and the test transaction data to the monitoring component; receiving test result data, and determining the operation health condition of the block chain node according to the test result data;
the monitoring component is further configured to: sending the test contract data and the test transaction data to the blockchain node; receiving test result data and sending the test result data to the monitoring center;
the block link points are for: and receiving the test contract data and the test transaction data, performing corresponding test according to the test contract data and the test transaction data, generating test result data, and sending the test result data to the monitoring component.
Specifically, only contracts and transactions which meet logic and privacy settings of service requirements are set on common block chain nodes, and in order to further meet the usability of the monitoring system, simple contracts and transactions for testing current service logic need to be added in the monitoring system in a multiplexing mode. The test contract and the test transaction have the following characteristics:
1) these contracts and transactions need not be logically related to existing contracts,
2) existing private data is not exposed, and business contracts are isolated on the data.
3) And (4) no data accumulation is produced, and data are emptied after the monitoring is finished.
The test contract is deployed on the block chain node, the test contract receives the test transaction, and according to the depth of the test requirement, the following steps are selected:
1) returning directly, the health of the contract invocation path at the block link point may be tested.
On the test contract, such as option 1), directly returns true. The monitor sends a contract request with the parameter of option 1) to the test contracts on all block link points needing to be tested, and if the contract request can be quickly returned to true, the contract running environment from the network is healthy.
2) The authority of the caller and the privacy policy are detected, and the authority on the block chain node, the health condition of the privacy module and the parameter setting can be tested to be correct or not.
On the test contract, say option 2), a security module such as a generic entitlement control, privacy policy, etc. is invoked, if successful, to return true. The supervisor sends the security test parameters and option 2) to the test contracts on all block link points that need to be tested, and if true can be returned, the tested security mechanism is healthy.
3) And calling the service logic by using the test account, and detecting the correctness of the service logic.
For example, option 3) on the test contract, according to some coverage logic and normal business process, invoking normal contract logic, sending the test account number and related parameters and option 2) to the test contract on all block chain nodes needing to be tested by the monitor, and if true can be returned, indicating that the tested contract code deployment condition is healthy.
In an embodiment of the present invention, the monitoring center is further configured to: and determining whether alarm information is generated or not according to the monitoring result data, and sending the alarm information to a processing person for corresponding processing when the alarm information is generated. And carrying out statistical analysis on the monitoring result to obtain a statistical result. And when the maintainer views the statistical results, displaying various statistical results according to the viewing request. The health condition of the block chain network is counted for subsequent improvement.
The number of the monitoring centers can be one or more. For a main initiator and an organizer of a alliance chain, a single monitoring center can be arranged, and for a plurality of main units, the units can be used as the monitoring center to perform whole-network monitoring. The monitoring center can see the running health conditions of all the blockchain nodes, so that the whole blockchain network can be intervened or a responsible unit of the blockchain node with a problem is informed to correct according to the health conditions. The monitoring center can collect the problems which are easy to occur in the existing platform, and provides improvement measures for block chain providers, so that the operation of a block chain network is more stable, and the monitoring and maintenance are easier.
In the embodiment of the present invention, in order to push more monitorable information to the monitoring center, a monitoring component needs to be added to obtain necessary monitoring information from the blockchain node, and the monitoring component may include the following functions.
1) And receiving a parameter setting request of the monitoring center, such as monitoring frequency, monitoring parameters, monitoring modes, start-stop monitoring and the like.
2) And sending a test contract and a test transaction to the block link points according to a certain period, and collecting information such as test transaction return information and service running conditions.
3) And sending a monitoring result to the monitoring center periodically.
In particular, the monitoring components and the block link points may be deployed in equal amounts. If the block chain nodes are in the same type of cluster in the same machine room and the same network segment, the monitoring components and the block chain nodes can also be deployed in a one-to-many manner. Each blockchain node needs to be provided with a monitoring component, so that monitoring with any precision can be carried out.
The monitoring components use separate services to monitor the network used between the communication multiplexing blockchain nodes between the components, so that whether the network between the blockchain nodes is communicated can be monitored at the same time. The monitoring component can also manufacture a similar simple monitoring protocol according to the communication mode between the block chain nodes and the block chain nodes. The ports of the monitoring component and the blockchain network ports appear in pairs with the same security policy.
Based on the same inventive concept, the embodiment of the present invention further provides a device (i.e., a monitoring center) for monitoring a blockchain network, as described in the following embodiments. As shown in fig. 2, the blockchain network monitoring apparatus includes:
an information generating module 201, configured to generate a monitoring parameter;
an information sending module 202, configured to send the monitoring parameter to a monitoring component;
the information receiving module 203 is configured to receive and display a monitoring result, where the monitoring result is obtained by the monitoring component performing a monitoring operation on the monitored block link points according to the monitoring parameters, and the monitoring result indicates an operation health condition of the block link nodes;
the block chain network monitoring device is connected with the monitoring component, and the monitoring component is connected with the block chain link points.
In this embodiment of the present invention, the information generating module 201 is further configured to: generating test contract data and test transaction data;
the information sending module 202 is further configured to: sending the test contract data and the test transaction data to the blockchain node through the monitoring component;
the information receiving module 203 is further configured to receive test result data, and determine an operation health condition of a block link node according to the test result data, where the test result data is generated by performing a corresponding test on the block link node according to the test contract data and the test transaction data.
Based on the same inventive concept, an embodiment of the present invention further provides a device (i.e., a monitoring component) for monitoring a blockchain network, as described in the following embodiments. As shown in fig. 3, the blockchain network monitoring apparatus includes:
the information receiving module 301 is configured to receive monitoring parameters sent by a monitoring center;
a monitoring module 302, configured to perform a monitoring operation on the monitored block link points according to the monitoring parameters to obtain a monitoring result, where the monitoring result indicates an operation health status of the block link points;
an information sending module 303, configured to send the monitoring result to the monitoring center;
the block chain network monitoring device is respectively connected with the monitoring center and the block chain link points.
In this embodiment of the present invention, the information receiving module 301 is further configured to: receiving test contract data and test transaction data sent by a monitoring center;
the information sending module 303 is further configured to: sending the test contract data and the test transaction data to the blockchain node;
the information receiving module 301 is further configured to: receiving test result data, wherein the test result data is generated by performing corresponding tests on the block link points according to the test contract data and the test transaction data;
the information sending module 303 is further configured to: and sending the test result data to the monitoring center.
Based on the same inventive concept, the embodiment of the present invention further provides a method (monitoring system) for monitoring a blockchain network, as described in the following embodiments. As shown in fig. 4, the method for monitoring a blockchain network includes:
step 401: the monitoring center generates monitoring parameters and sends the monitoring parameters to a monitoring component;
step 402: the monitoring component receives the monitoring parameters, monitors the monitored block chain link points according to the monitoring parameters to obtain monitoring results, indicates the running health condition of the block chain nodes, and sends the monitoring results to the monitoring center;
step 403: the monitoring center receives and displays the monitoring result;
the monitoring center is connected with the monitoring component, and the monitoring component is connected with the block chain link points.
In the embodiment of the present invention, as shown in fig. 5, the method further includes:
step 501: the monitoring center generates test contract data and test transaction data, and sends the test contract data and the test transaction data to the monitoring part;
step 502: the monitoring component sends the test contract data and the test transaction data to the blockchain node;
step 503: the block chain node receives the test contract data and the test transaction data, carries out corresponding test according to the test contract data and the test transaction data, generates test result data, and sends the test result data to the monitoring part;
step 504: the monitoring part receives the test result data and sends the test result data to the monitoring center;
step 505: and the monitoring center receives the test result data and determines the running health condition of the block chain node according to the test result data.
Based on the same inventive concept, the embodiment of the present invention further provides a method for monitoring a blockchain network (monitoring center angle), as described in the following embodiments. As shown in fig. 6, the method for monitoring a blockchain network includes:
step 601: generating monitoring parameters;
step 602: sending the monitoring parameters to a monitoring component;
step 603: receiving and displaying a monitoring result, wherein the monitoring result is obtained by monitoring operation of the monitoring component on the monitored block chain link points according to the monitoring parameters, and the monitoring result indicates the running health condition of the block chain link points;
wherein the monitoring component is connected with the block link point.
In the embodiment of the present invention, as shown in fig. 7, the method further includes:
step 701: generating test contract data and test transaction data;
step 702: sending the test contract data and the test transaction data to the blockchain node through the monitoring component;
step 703: and receiving test result data, and determining the running health condition of the block chain node according to the test result data, wherein the test result data is generated by performing corresponding test on the block chain node according to the test contract data and the test transaction data.
Based on the same inventive concept, the embodiment of the present invention further provides a method for monitoring a blockchain network (monitoring component), as described in the following embodiments. As shown in fig. 8, the method for monitoring a blockchain network includes:
step 801: receiving monitoring parameters sent by a monitoring center;
step 802: monitoring operation is carried out on the monitored block chain link points according to the monitoring parameters to obtain monitoring results, and the monitoring results indicate the running health conditions of the block chain link points;
step 803: and sending the monitoring result to the monitoring center.
In the embodiment of the present invention, as shown in fig. 9, the method further includes:
step 901: receiving test contract data and test transaction data sent by a monitoring center;
step 902: sending the test contract data and the test transaction data to the blockchain node;
step 903: receiving test result data, wherein the test result data is generated by performing corresponding tests on the block link points according to the test contract data and the test transaction data;
step 904: and sending the test result data to the monitoring center.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, and the computer readable storage medium stores a computer program for executing the method.
In summary, the system, the device and the method for monitoring a block chain network provided by the invention have the following advantages:
1) for a complex blockchain network going to the center, because the complex blockchain network is not managed by one unit, huge communication obstacles are often caused, and the monitoring center and the monitoring part can cooperate to clearly know the operation condition of the whole blockchain network.
2) The method can perform early warning for the block chain network, know the operation state of each node and provide a good management tool for the initiator.
3) Details can be flexibly monitored, tested, troubleshot, etc.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes may be made to the embodiment of the present invention by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (9)
1. A blockchain network monitoring system, comprising: the monitoring system comprises a monitoring center, a monitoring component and a block chain node, wherein the monitoring center is connected with the monitoring component, and the monitoring component is connected with the block chain node;
the monitoring center is used for: generating a monitoring parameter and sending the monitoring parameter to a monitoring component; receiving and displaying a monitoring result;
the monitoring component is configured to: receiving the monitoring parameters, performing monitoring operation on the monitored block chain link points according to the monitoring parameters to obtain monitoring results, wherein the monitoring results indicate the running health conditions of the block chain link points, and sending the monitoring results to the monitoring center;
the monitoring center is also used for: generating test contract data and test transaction data, and sending the test contract data and the test transaction data to the monitoring component; receiving a monitoring result, and determining the operation health condition of the block chain node according to the monitoring result;
the monitoring component is further configured to: sending the test contract data and the test transaction data to the blockchain node; receiving a monitoring result and sending the monitoring result to the monitoring center;
the block link points are for: receiving the test contract data and the test transaction data, performing corresponding test according to the test contract data and the test transaction data to generate a monitoring result, and sending the monitoring result to the monitoring component;
the test contract is deployed on the block chain node, the test contract receives the test transaction, and according to the depth of the test requirement, the following steps are selected:
option 1) directly returning, and testing the health degree of the contract calling path on the block link point;
sending a contract request with the parameter of option 1) to test contracts on all block link points needing to be tested, and if true can be returned, indicating that the running environment from the network to the contracts is healthy;
option 2) detecting the authority of the caller and trying a privacy policy, and testing whether the authority on the block chain node and the health condition and parameter setting of the privacy module are correct or not;
sending security test parameters and an option 2) to test contracts on all block link points needing to be tested, and if true is returned, indicating that the tested security mechanism is healthy;
option 3) using the test account number, calling the service logic, and detecting the correctness of the service logic;
sending the test account number and related parameters and option 3) to the test contracts on all the block link points needing to be tested, and if true can be returned, indicating that the tested contract code deployment condition is healthy.
2. The system of claim 1, wherein the monitoring center is one or more.
3. The system of claim 1, wherein the monitoring components and block link points are deployed in equal amounts or in a one-to-many manner.
4. The blockchain network monitoring system of claim 1, wherein communications between the monitoring components multiplex networks used between blockchain nodes.
5. The blockchain network monitoring system of claim 1, wherein the monitoring center is further configured to: and determining whether alarm information is generated or not according to the monitoring result, and sending the alarm information to a processing person for corresponding processing when the alarm information is generated.
6. The blockchain network monitoring system of claim 1, wherein the monitoring center is further configured to: and carrying out statistical analysis on the monitoring result to obtain a statistical result.
7. A method for monitoring a blockchain network, comprising:
the monitoring center generates monitoring parameters and sends the monitoring parameters to a monitoring component;
the monitoring component receives the monitoring parameters, monitors the monitored block chain link points according to the monitoring parameters to obtain monitoring results, indicates the running health condition of the block chain nodes, and sends the monitoring results to the monitoring center;
the monitoring center receives and displays the monitoring result;
the monitoring center is connected with the monitoring component, and the monitoring component is connected with the block chain link points;
further comprising:
the monitoring center generates test contract data and test transaction data, and sends the test contract data and the test transaction data to the monitoring part;
the monitoring component sends the test contract data and the test transaction data to the blockchain node;
the block chain node receives the test contract data and the test transaction data, carries out corresponding test according to the test contract data and the test transaction data, generates a monitoring result, and sends the monitoring result to the monitoring part;
the monitoring part receives a monitoring result and sends the monitoring result to the monitoring center;
the monitoring center receives the monitoring result and determines the operation health condition of the block chain node according to the monitoring result;
the test contract is deployed on the block chain node, the test contract receives the test transaction, and according to the depth of the test requirement, the following steps are selected:
option 1) directly returning, and testing the health degree of the contract calling path on the block link point;
sending a contract request with the parameter of option 1) to test contracts on all block link points needing to be tested, and if true can be returned, indicating that the running environment from the network to the contracts is healthy;
option 2) detecting the authority of the caller and trying a privacy policy, and testing whether the authority on the block chain node and the health condition and parameter setting of the privacy module are correct or not;
sending security test parameters and an option 2) to test contracts on all block link points needing to be tested, and if true is returned, indicating that the tested security mechanism is healthy;
option 3) using the test account number, calling the service logic, and detecting the correctness of the service logic;
sending the test account number and related parameters and option 3) to the test contracts on all the block link points needing to be tested, and if true can be returned, indicating that the tested contract code deployment condition is healthy.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of claim 7 when executing the computer program.
9. A computer-readable storage medium storing a computer program for executing the method of claim 7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010216961.1A CN111447112B (en) | 2020-03-25 | 2020-03-25 | Block chain network monitoring system, device and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010216961.1A CN111447112B (en) | 2020-03-25 | 2020-03-25 | Block chain network monitoring system, device and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111447112A CN111447112A (en) | 2020-07-24 |
| CN111447112B true CN111447112B (en) | 2021-11-26 |
Family
ID=71654730
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010216961.1A Active CN111447112B (en) | 2020-03-25 | 2020-03-25 | Block chain network monitoring system, device and method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111447112B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9934138B1 (en) * | 2016-12-07 | 2018-04-03 | International Business Machines Corporation | Application testing on a blockchain |
| CN110912855A (en) * | 2018-09-17 | 2020-03-24 | 中国信息通信研究院 | A security assessment method and system for blockchain architecture based on penetration test case set |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106506203B (en) * | 2016-10-25 | 2019-12-10 | 杭州云象网络技术有限公司 | Node monitoring system applied to block chain |
| CN106598824B (en) * | 2016-11-25 | 2018-11-20 | 深圳前海微众银行股份有限公司 | The method for analyzing performance and device of block chain |
| EP3388994A1 (en) * | 2017-04-12 | 2018-10-17 | Siemens Aktiengesellschaft | Method and apparatus for computer-assisted testing of a blockchain |
| CN107317730B (en) * | 2017-08-21 | 2020-09-04 | 上海点融信息科技有限责任公司 | Method, equipment and system for monitoring state of block chain node |
| CN110061889A (en) * | 2019-04-01 | 2019-07-26 | 北京众享比特科技有限公司 | Block chain performance test methods, device, equipment and storage medium |
| CN110162470B (en) * | 2019-04-28 | 2023-08-18 | 创新先进技术有限公司 | Block chain testing method and device |
-
2020
- 2020-03-25 CN CN202010216961.1A patent/CN111447112B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9934138B1 (en) * | 2016-12-07 | 2018-04-03 | International Business Machines Corporation | Application testing on a blockchain |
| CN110912855A (en) * | 2018-09-17 | 2020-03-24 | 中国信息通信研究院 | A security assessment method and system for blockchain architecture based on penetration test case set |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111447112A (en) | 2020-07-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2823698B2 (en) | Event correlation | |
| US11856426B2 (en) | Network analytics | |
| US9497136B1 (en) | Method and system for providing usage metrics to manage utilzation of cloud computing resources | |
| US8938489B2 (en) | Monitoring system performance changes based on configuration modification | |
| EP1279211B1 (en) | Topology-based reasoning apparatus for root-cause analysis of network faults | |
| US7574502B2 (en) | Early warning of potential service level agreement violations | |
| CN109617759A (en) | Block catenary system stability test method, apparatus, equipment and storage medium | |
| CN106789323A (en) | A kind of communication network management method and its device | |
| CN109218102A (en) | A kind of alarm monitoring method and system | |
| CN109857613A (en) | An automatic operation and maintenance system based on collection cluster | |
| CN109347909A (en) | The working method of PROXZONE service platform | |
| CN107749778B (en) | A kind of communications optical cable fault early warning method and device | |
| CN114143160A (en) | Cloud platform automation operation and maintenance system | |
| CN110474821A (en) | Node failure detection method and device | |
| CN111447112B (en) | Block chain network monitoring system, device and method | |
| CN111628903B (en) | Monitoring method and monitoring system for transaction system running state | |
| EP1820359B1 (en) | Service alarm correlation | |
| CN112134764A (en) | Method and device for determining connectivity of test environment | |
| CN113190440A (en) | Service publishing method, device, equipment and storage medium | |
| Alam et al. | Assessing software reliability performance under highly critical but infrequent event occurrences | |
| CN114785705A (en) | Equipment management method, device and system | |
| CN101945011B (en) | Method and system for evaluating protective performance of multiplexing section | |
| Akter et al. | Dynamic service level agreement verification in cloud computing | |
| Steinke et al. | Multi-tenancy-capable correlation of security events in 5G networks | |
| KR960001047B1 (en) | Test network shape generation and performance analysis test method of signal network management system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |