Disclosure of Invention
To solve the problems in the prior art, an embodiment of the present invention provides a public block chain network system.
The embodiment of the invention provides a public block chain network system, which comprises:
the service user application terminal is used for communicating with the common node server through the block chain application interface and uploading basic application service data to the common node server;
the common node server is used for carrying out preliminary verification on the basic application service data and sending the basic application service data to the verification node server for consensus processing;
the verification node server is used for carrying out consensus processing on the basic application service data and establishing a block to store the basic application service data or updating data corresponding to the basic application service data in a target block after the consensus is successful;
the extended application unit is used for customizing extended application service so that the service user application terminal uses an application program corresponding to the extended application service and uploads extended application service data to a common node server;
and the cross-link protocol management unit is used for storing and setting a connection protocol between different block links.
Optionally, the system further includes a chain management unit and a management user application terminal, wherein:
the management user application terminal is used for performing management operation on the block chain and uploading an operation request to the chain management unit, wherein the operation request comprises a configuration request, a monitoring request and a query request;
the chain management unit is used for sending the operation request to a verification node server so that the verification node server performs consensus processing on the operation request and sends a feedback signal after the consensus is successful; and is also used for executing operation according to the operation request after receiving the feedback signal.
Optionally, the system further includes a development support unit and a development user application terminal, wherein:
the development user application terminal is used for sending a request for calling development resources to the development support unit;
and the development support unit is used for storing the development resources and calling the development resources to the application terminal of the development user according to the request.
Optionally, the verification node server inputs election information for a service user application terminal in the block chain network, and determines a node server according to the election information.
Optionally, the system further includes a reward and punishment unit, configured to send penalty information to the service user application terminal of the abnormal processing verification node server, and send reward information to the service user application terminal of the normal processing verification node server, where the verification node servers in the verification node server set determine the normal processing verification node server and the abnormal processing verification node server according to the consensus processing record and the new block generation record of the application service data.
According to the public block chain network system provided by the embodiment of the invention, the user application terminal and the node server are arranged on the block chain network, so that the design of a user account and a node account is realized, the network is more modularized, the system management and the upgrading are convenient, an application expansion function is added at the same time, a plurality of different engines are supported, developers of different technical stacks can be attracted to join, a cross-link protocol is also arranged, the connection among different block chains is realized, an on-line self-management mechanism can be carried out, the defect of realizing management of the traditional public chain bifurcation is avoided, and the ecological integrity is effectively ensured.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
Fig. 1 shows a public blockchain network system provided by an embodiment of the present invention, which provides a public blockchain network, and the system includes a service user application terminal 11, a normal node server 12, an authentication node server 13, an extended application unit 14, and a cross-chain protocol management unit 15, where:
the service user application terminal 11 is used for communicating with the common node server through the block chain application interface and uploading basic application service data to the common node server;
the common node server 12 is used for carrying out preliminary verification on the basic application service data and sending the basic application service data to the verification node server for consensus processing;
the verification node server 13 is used for carrying out consensus processing on the basic application service data and establishing a block to store the basic application service data or updating data corresponding to the basic application service data in a target block after the consensus is successful;
an extended application unit 14, configured to customize an extended application service, so that the service user application terminal uses an application program corresponding to the extended application service, and upload extended application service data to a common node server;
and the cross-link protocol management unit 15 is used for storing and setting a connection protocol between different block links.
With respect to the above system, it should be noted that, in the embodiment of the present invention, the public blockchain refers to a blockchain that anyone can read and send a transaction, and the transaction can be effectively confirmed, and can also participate in a consensus process therein. In the operation transaction process, a user can access the blockchain network through a user terminal, an application program applied to the blockchain network is executed on the terminal, and an operation behavior on the application program is uploaded to a node server on the blockchain as application service data. For this reason, in the embodiment of the present invention, the user terminal for operating the application program is used as the service user application terminal.
In the embodiment of the invention, after the block chain network is established, a plurality of blocks exist in the network, and sharable data is arranged in each block. These sharable data are application service data. Typically, there are fundamental forms of application, such as digital assets, transactions, records, etc., on a blockchain. Therefore, the application service data butted by the basic application is adopted, and the service user application terminal communicates with the common node server through the block chain application interface and uploads the basic application service data to the common node.
In the embodiment of the invention, new block storage can be established for new application service data. The existing application service data can be updated, modified, deleted and the like.
The user can access the block chain network after the identity authentication through the service user application terminal, and check, inquire, modify and delete a certain target block in the block chain network. The common node server records the operation information of the user, wherein the operation information comprises inquiry, modification and deletion. And the common node server performs preliminary verification on the basic application service data and sends the data successfully verified to the verification node server for consensus processing.
In the embodiment of the invention, the verification node server inputs election information for the user application terminal in the block chain network, and the node server is determined according to the election information.
As shown in fig. 2, in the blockchain network, a user loads an owned token (i.e., election information) on a node server participating in an election through a user application terminal. In fig. 2, U in the small circle is a user application terminal, and V in the large circle is an election node server.
As shown in fig. 3, the user application terminal and the corresponding node server share the processing result. And sequencing and selecting a preset number of verification node servers according to the number of tokens loaded by the node servers to form a verification node server set to participate in consensus. In fig. 3, V in the small circle is a non-verification node server, and V in the large circle is a verification node server.
As shown in fig. 4, because the user application terminal and the elected node server share the processing result, the system further includes a reward punishment unit configured to send punishment information to the service user application terminal of the abnormal processing verification node server and send reward information to the service user application terminal of the normal processing verification node server, where the verification node servers in the verification node server set determine the normal processing verification node server and the abnormal processing verification node server according to the consensus processing record of the application service data and the new block generation record.
The authentication mechanism of the authentication node server is a consensus algorithm adopted by the system in this embodiment, and is an agent rights and interests proving algorithm.
In order to better adapt to different application program access block chain networks, the system is provided with an extended application unit which can be used for customizing extended application services according to the requirements of users. Such as adding customized application services for applications that conform to the ethernet contract virtual engine or the Java contract virtual engine. Therefore, the service user application terminal can use the application program corresponding to the extended application service, and upload the extended application service data to the common node server, and then complete consensus processing on the verification node server.
In order to realize value circulation among different block chains, the system is provided with a cross-chain protocol management unit which is used for storing and setting connection protocols among different block chains so as to realize connection among different block chains.
In a further embodiment, based on the above embodiment, the system further comprises
A chain management unit and a management user application terminal, wherein:
the management user application terminal is used for performing management operation on the block chain and uploading an operation request to the chain management unit, wherein the operation request comprises a configuration request, a monitoring request and a query request;
the chain management unit is used for sending the operation request to a verification node server so that the verification node server performs consensus processing on the operation request and sends a feedback signal after the consensus is successful; and is also used for executing operation according to the operation request after receiving the feedback signal.
The system further comprises a development support unit and a development user application terminal, wherein:
the development user application terminal is used for sending a request for calling development resources to the development support unit;
and the development support unit is used for storing the development resources and calling the development resources to the application terminal of the development user according to the request.
The above embodiment is explained below with the system architecture illustrated in fig. 5:
in fig. 5, the service user application terminal logs in each decentralized application program to handle the basic application service, and generates basic application service data. Each decentralized application relates to digital assets, copyright protection systems, traceability systems, financial applications, loyalty systems, games, enterprise-level applications. The basic application traffic data is recorded as a transaction in the blockchain network. The data record is subjected to consensus processing on the block chain by the common node server and the verification node server, so that the block storage basic application service data is established after the consensus is successful or the data corresponding to the basic application service data in the target block is updated.
The system customizes the extended application service so that the service user application terminal uses the application program corresponding to the extended application service and uploads the extended application service data to the common node server. The extended service is realized based on an Ethernet virtual contract, a Java virtual contract and the like.
The system is provided with a cross-link protocol for storing and setting a connection protocol between different block chains.
The system is provided with a development support function, which comprises an API, an SDK, an interactive client CLI and a Docs.
The system is provided with a chain management function, comprises a browser and a monitor, and is also responsible for configuration, performance and safety of the chain and monitoring and interaction of pluggable modules.
For example, public block chains provide autonomous mechanisms, and relevant configuration information on the chains can be modified. The provided configuration information can be subjected to consensus processing by the verification node server, and the network can automatically replace the configuration information after the consensus passes.
For example, the browser is a blockchain browser provided by a blockchain network, and mainly provides a platform for viewing the blockchain network for a user, can view information such as blockchain transactions and verification nodes, and also provides a platform for creating contracts and calling the contracts on a web end for the user, so that the user can create decentralized applications by using the network more conveniently. The network monitor is a monitoring tool provided for the public block chain network and comprises network monitoring, node service monitoring, verification node monitoring and the like.
According to the public block chain network system provided by the embodiment of the invention, the user application terminal and the node server are arranged on the block chain network, so that the design of a user account and a node account is realized, the network is more modularized, the system management and the upgrading are convenient, an application expansion function is added at the same time, a plurality of different engines are supported, developers of different technical stacks can be attracted to join, a cross-link protocol is also arranged, the connection among different block chains is realized, an on-line self-management mechanism can be carried out, the defect of realizing management of the traditional public chain bifurcation is avoided, and the ecological integrity is effectively ensured.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.