CN112751713A - Block chain-based link establishing method, device and storage medium - Google Patents

Block chain-based link establishing method, device and storage medium Download PDF

Info

Publication number
CN112751713A
CN112751713A CN202011614642.2A CN202011614642A CN112751713A CN 112751713 A CN112751713 A CN 112751713A CN 202011614642 A CN202011614642 A CN 202011614642A CN 112751713 A CN112751713 A CN 112751713A
Authority
CN
China
Prior art keywords
block chain
blockchain
machine
operation code
service system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011614642.2A
Other languages
Chinese (zh)
Other versions
CN112751713B (en
Inventor
李伟
蔡亮
邱炜伟
谭锦志
任梦溪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Qulian Technology Co Ltd
Original Assignee
Hangzhou Qulian Technology Co 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 Hangzhou Qulian Technology Co Ltd filed Critical Hangzhou Qulian Technology Co Ltd
Priority to CN202011614642.2A priority Critical patent/CN112751713B/en
Publication of CN112751713A publication Critical patent/CN112751713A/en
Application granted granted Critical
Publication of CN112751713B publication Critical patent/CN112751713B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • 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/0889Techniques to speed-up the configuration process

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application relates to a block chain-based link establishment method, equipment and a storage medium, and relates to the field of block chains. The block chain-based link establishment method comprises the following steps: the method comprises the steps of obtaining a block chain establishing request by applying the block chain and a service system of a first block chain all-in-one machine; displaying a configuration interface for creating the block chain according to the block chain creation request; acquiring configuration information input to a configuration interface for creating a block chain; sending a deployment node request to the N block chain all-in-one machines according to respective network addresses of the N block chain all-in-one machines, wherein the deployment node request comprises a first safety operation code of the block chain all-in-one machine corresponding to the network address; and verifying the first safety operation code configured for the first block chain all-in-one machine, and indicating the first block chain all-in-one machine after the verification is passed to establish the first safety operation code as a node of the block chain. The method and the device are used for solving the problem that the operation of the block chain node is difficult because the block chain all-in-one machine operates an external block chain and a service platform.

Description

Block chain-based link establishing method, device and storage medium
Technical Field
The present application relates to the field of blockchains, and in particular, to a method, device and storage medium for building a blockchain.
Background
Since the block chain is listed as an important breakthrough for automatic innovation of national core technologies, such as big data, artificial intelligence and the like, the development of the block chain technology and the fusion with the industry are accelerated. With the refined development of the alliance chain industry and the white-heat competition of the core intellectual property rights of the domestic and foreign technology industry, the development bottleneck of the current alliance chain is gradually exposed, and the core technology independent intellectual property rights and the software and hardware service depth fusion platform are lacked.
At present, an existing block chain all-in-one machine integrates hardware and block chain nodes, and mainly operates an external block chain and a Service (BaaS) platform through a command line and the like, so that the block chain nodes are managed, and the block chain all-in-one machine is difficult to operate and high in operation and maintenance cost.
Disclosure of Invention
The application provides a block chain-based link establishment method, device and storage medium, which are used for solving the problem that a block chain node is difficult to operate because an external block chain and a service platform are operated by a block chain all-in-one machine.
In a first aspect, an embodiment of the present application provides a method for building a chain based on a block chain, which is applied to a block chain and a service system of a first block chain all-in-one machine, and includes:
acquiring a block chain establishing request;
displaying a configuration interface for creating the blockchain according to the blockchain creating request;
acquiring configuration information input into the block chain configuration interface, wherein the configuration information comprises respective network addresses and respective first safety operation codes of N block chain all-in-one machines, the N block chain all-in-one machines comprise a first block chain all-in-one machine and N-1 second block chain all-in-one machines, and N is larger than 1;
sending a deployment node request to the N blockchain all-in-one machines according to respective network addresses of the N blockchain all-in-one machines, wherein the deployment node request comprises the first safety operation code of the blockchain all-in-one machine corresponding to the network address;
and verifying the first safety operation code configured for the first block chain all-in-one machine, and indicating the first block chain all-in-one machine to create a node of the block chain after the verification is passed.
Optionally, before the obtaining the blockchain creation request, the method further includes:
acquiring a second safety operation code generated by the first block chain all-in-one machine;
the verifying the first security opcode configured for the first blockchain all-in-one machine includes:
acquiring authentication information in the first security operation code;
acquiring authentication information in the second security operation code;
comparing authentication information in the first secure operation code with authentication information in the second secure operation code;
and if the authentication information in the first safety operation code is the same as the authentication information in the second safety operation code, the verification is passed.
Optionally, before the displaying and creating the blockchain configuration interface, the method further includes:
obtaining permission in the first block chain all-in-one machine;
determining that the license is within a validity period.
In a second aspect, an embodiment of the present application provides a method for building a chain based on a block chain, which is applied to a first block chain all-in-one machine, and includes:
acquiring a block chain of a first block chain all-in-one machine and a deployment node request sent by a service system, wherein the deployment node request comprises a first safety operation code configured for the first block chain all-in-one machine;
and after the indication of the block chain and the service system of the first block chain all-in-one machine is obtained, establishing the node as the block chain.
Optionally, before the obtaining the blockchain of the first blockchain all-in-one machine and the deployment node request sent by the service system, the method further includes:
generating a second security operation code;
and transmitting the second safety operation code to a block chain and service system of the first block chain all-in-one machine.
Optionally, the generating the second security opcode includes:
acquiring a unique identifier in a small storage device connected with the first block chain all-in-one machine;
obtaining permission corresponding to the unique identification;
and generating the second security operation code according to the authentication information included in the permission, wherein the second security operation code includes the authentication information.
Optionally, before the obtaining the blockchain of the first blockchain all-in-one machine and the deployment node request sent by the service system, the method further includes:
determining that the license is within a validity period.
In a third aspect, an embodiment of the present application provides a method for building a chain based on a block chain, which is applied to a block chain and a service system of a second block chain all-in-one machine, and includes:
acquiring a block chain of a first block chain all-in-one machine received by a second block chain all-in-one machine and a deployment node request sent by a service system, wherein the deployment node request comprises a first safety operation code configured for the second block chain all-in-one machine;
and verifying the first safety operation code configured for the second block chain all-in-one machine, and indicating the second block chain all-in-one machine to establish the second block chain all-in-one machine as a node of the block chain after the verification is passed.
Optionally, before the obtaining the blockchain of the first blockchain all-in-one machine received by the second blockchain all-in-one machine and the deployment node request sent by the service system, the method further includes:
acquiring a third safety operation code generated by the second block chain all-in-one machine;
the verifying the first security opcode configured for the second blockchain all-in-one machine includes:
acquiring authentication information in the first security operation code;
acquiring authentication information in the third security operation code;
comparing authentication information in the first secure operation code with authentication information in the third secure operation code;
and if the authentication information in the first safety operation code is the same as the authentication information in the third safety operation code, the verification is passed.
In a fourth aspect, an embodiment of the present application provides a method for building a chain based on a block chain, which is applied to a second block chain all-in-one machine, and includes:
acquiring a block chain of a first block chain all-in-one machine and a deployment node request sent by a service system, wherein the deployment node request comprises a first safety operation code configured for a second block chain all-in-one machine;
and after the indication of the block chain and the service system of the second block chain all-in-one machine is obtained, establishing the node as the block chain.
Optionally, before the obtaining the blockchain of the first blockchain all-in-one machine and the deployment node request sent by the service system, the method further includes:
generating a third security operation code;
and transmitting the third safe operation code to a block chain and service system of the second block chain all-in-one machine.
Optionally, the generating a third security opcode includes:
acquiring a unique identifier in a small storage device connected with the second block chain all-in-one machine;
obtaining permission corresponding to the unique identification;
and generating the third security operation code according to the authentication information included in the permission, wherein the third security operation code includes the authentication information.
Optionally, before the obtaining the blockchain of the first blockchain all-in-one machine and the deployment node request sent by the service system, the method further includes:
determining that the license is within a validity period.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute a program stored in the memory, to implement the blockchain-based link establishment method according to the first aspect, or to implement the blockchain-based link establishment method according to the second aspect, or to implement the blockchain-based link establishment method according to the third aspect, or to implement the blockchain-based link establishment method according to the fourth aspect.
In a sixth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when executed by a processor, the computer program implements the method for building a chain based on a blockchain according to the first aspect, or implements the method for building a chain based on a blockchain according to the second aspect, or implements the method for building a chain based on a blockchain according to the third aspect, or implements the method for building a chain based on a blockchain according to the fourth aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: the method provided by the embodiment of the application is used for building the chain based on the block chain. According to the method, a block chain and service system of a first block chain all-in-one machine acquires a block chain establishing request, displays a block chain establishing configuration interface according to the block chain establishing request, acquires configuration information input to the block chain establishing configuration interface, sends a node deploying request to the N block chain all-in-one machines according to respective network addresses of the N block chain all-in-one machines in the configuration information, verifies a first safety operation code configured for the first block chain all-in-one machine, and indicates the first block chain all-in-one machine after the verification is passed to establish a node of the block chain. The block chain and service system of the first block chain all-in-one machine in the method has the block chain configuration interface, can acquire the configuration information input to the block chain configuration interface, and further creates the block chain nodes, is easy to operate, reduces the operation and maintenance cost, and solves the problem that the block chain nodes are difficult to operate because the block chain all-in-one machine operates the external block chain and the service platform to further create the block chain nodes.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
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, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a block chain system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for building a chain based on a block chain for a block chain and a service system of a first block chain all-in-one machine according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a method for building a chain based on a block chain applied to a first block chain all-in-one machine according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a method for building a chain based on a block chain for a block chain and a service system of a second blockchain all-in-one machine according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of a method for building a chain based on a block chain applied to a second block chain all-in-one machine according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a blockchain-based link establishment apparatus configured in the blockchain and service system of the first blockchain all-in-one machine according to the embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a chain building apparatus based on a block chain configured in a first block chain all-in-one machine according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a blockchain-based link establishment apparatus configured in the blockchain and service system of the second blockchain all-in-one machine according to the embodiment of the present application;
fig. 9 is a schematic structural diagram of a chain building apparatus based on a block chain configured in the second block chain all-in-one machine according to the embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application.
As shown in fig. 1, the blockchain system in the embodiment of the present application includes a blockchain and service system 101 of a first blockchain integrator, a first blockchain integrator 102, a blockchain and service system 103 of a 1 st second blockchain integrator, a 1 st second blockchain integrator 104, a blockchain and service system 105 of a 2 nd second blockchain integrator, and a 2 nd second blockchain integrator 106. Fig. 1 only shows a blockchain formed by a first blockchain integrator and 2 second blockchain integrators, and it should be noted that the number of the second blockchain integrators is not limited in the present application, and a blockchain may be formed by the first blockchain integrator and N-1 second blockchain integrators, where N is greater than 1.
The block chain-based link establishment method provided in the embodiment of the application mainly realizes the link establishment process by the cooperation of the block chain and the service system of the first block chain all-in-one machine, the block chain and the service system of the second block chain all-in-one machine, the second block chain all-in-one machine and the like. The following embodiments describe block chain based link establishment methods from a number of different perspectives.
As shown in fig. 2, the method flow of building a chain based on a block chain applied to a block chain of a first block chain all-in-one machine and a service system mainly includes:
in step 201, a blockchain creation request is obtained.
In one embodiment, after the blockchain and service system of the first blockchain all-in-one machine logs in, a button for creating a blockchain is displayed on a main page, and a blockchain creation request is obtained by obtaining an operation on the button for creating the blockchain.
In one embodiment, before obtaining the blockchain creation request, the specific method further includes: and acquiring a second safety operation code generated by the first block chain all-in-one machine.
Step 202, displaying a configuration interface for creating the blockchain according to the blockchain creation request.
In a specific embodiment, before displaying the configuration interface for creating the blockchain, the specific method further includes: and acquiring a License (License) in the first block chain all-in-one machine, and determining that the License is in a valid period.
If the permission in the first blockchain all-in-one machine is in the valid period, displaying and creating a blockchain configuration interface, and carrying out the next operation; and if the permission in the first blockchain all-in-one machine is not within the validity period, the block chain configuration interface is not displayed and the next operation cannot be carried out.
Step 203, obtaining configuration information input to the creation of the blockchain configuration interface, wherein the configuration information includes respective network addresses and respective first security operation codes of the N blockchain all-in-one machines, the N blockchain all-in-one machines include a first blockchain all-in-one machine and N-1 second blockchain all-in-one machines, and N is greater than 1.
The first blockchain all-in-one machine is a main blockchain all-in-one machine, and is a blockchain all-in-one machine which is internally provided with a blockchain and service system display and creates a blockchain configuration interface and sends a node deployment request. The second blockchain kiosk is a slave blockchain kiosk, which refers to a blockchain kiosk that receives a deployment node request. And creating 1 first blockchain integrator and N-1 second blockchain integrators as nodes in the blockchain.
For example: the configuration information is the respective network addresses 192.168.101.115, 192.168.101.116, 192.168.101.117 and 192.168.101.118 of the 4 blockchain integrators, and the respective first security operation codes b666-0255-30a7f8-9d68, b666-0255-30a7f8-9d68, b666-0255-30a7f8-9d68 and b666-0255-30a7f8-9d68, and the network addresses correspond to the first security operation codes.
And 204, sending a deployment node request to the N blockchain all-in-one machines according to respective network addresses of the N blockchain all-in-one machines, wherein the deployment node request comprises a first safety operation code of the blockchain all-in-one machine corresponding to the network address.
Step 205, verifying the first security operation code configured for the first blockchain all-in-one machine, and after the verification is passed, indicating the first blockchain all-in-one machine to create a node of the blockchain.
In one embodiment, the method for verifying the first security opcode configured for the first blockchain all-in-one machine mainly includes: and obtaining authentication information in the first safety operation code, obtaining authentication information in the second safety operation code, comparing the authentication information in the first safety operation code with the authentication information in the second safety operation code, and if the authentication information in the first safety operation code is the same as the authentication information in the second safety operation code, passing the verification.
For example: the first security operation code is b666-0255-30a7f8-9d68, the second security operation code is b666-0255-30a7f8-9dwq, the authentication information in the first security operation code is b666-0255-30a7f8, the authentication information in the second security operation code is b666-0255-30a7f8, and the authentication information in the first security operation code is the same as the authentication information in the second security operation code, if the verification is passed, the first block chain all-in-one machine is indicated, and the first block chain all-in-one machine is created to be a node of a block chain.
In one embodiment, the first blockchain integrator is instructed to display information of each node on the blockchain after being created as a node of the blockchain. Each node on the block chain can be monitored and managed, and operation and maintenance are more convenient.
As shown in fig. 3, the process of the method for building a chain based on a block chain applied to the first block chain all-in-one machine mainly includes:
step 301, a block chain of the first block chain all-in-one machine and a deployment node request sent by the service system are obtained, wherein the deployment node request includes a first security operation code configured for the first block chain all-in-one machine.
In an embodiment, before obtaining the blockchain of the first blockchain all-in-one machine and the deployment node request sent by the service system, a specific method flow further includes: and generating a second safe operation code, and transmitting the second safe operation code to the block chain and service system of the first block chain all-in-one machine.
In a specific embodiment, the second security operation code is generated, and the specific method flow includes: the method comprises the steps of obtaining a unique identifier in a small storage device connected with a first block chain all-in-one machine, obtaining a permission corresponding to the unique identifier, and generating a second safety operation code according to authentication information included in the permission, wherein the second safety operation code includes the authentication information.
The small storage device can be UKey, which is connected with the computer directly and has the functions of password verification and reliable and high speed. Each small storage device has a unique identifier.
In one embodiment, the authentication information included in the licenses in the N blockchain unifiers that need to be created as nodes of the same blockchain is the same. For example: the licenses in the first blockchain kiosk and the licenses in the N-1 second blockchain kiosks all contain the same authentication information b666-0255-30a7f8, and a second security opcode is generated according to the authentication information, wherein the authentication information is included in the second security opcode, and the second security opcode is b666-0255-30a7f8-9dwq, for example.
In a specific embodiment, according to the correspondence between the unique identifier and the license, the license corresponding to the unique identifier is acquired from the server issuing the license.
In one embodiment, the permission is determined to be within the validity period before acquiring the blockchain of the first blockchain kiosk and the deployment node request sent by the service system.
Step 302, after acquiring the indication of the blockchain and the service system of the first blockchain all-in-one machine, creating a node as the blockchain.
As shown in fig. 4, the method flow of building a chain based on a block chain applied to a block chain of a second block chain all-in-one machine and a service system mainly includes:
step 401, obtaining a block chain of a first block chain all-in-one machine received by a second block chain all-in-one machine and a deployment node request sent by a service system, where the deployment node request includes a first security operation code configured for the second block chain all-in-one machine.
In an embodiment, before obtaining the blockchain of the first blockchain all-in-one machine received by the second blockchain all-in-one machine and the deployment node request sent by the service system, a specific method flow further includes: and acquiring a third safety operation code generated by the second block chain all-in-one machine.
And 402, verifying the first safety operation code configured for the second block chain all-in-one machine, and indicating the second block chain all-in-one machine to create a node of the block chain after the verification is passed.
In one embodiment, the method for verifying the first security opcode configured for the second blockchain all-in-one machine mainly includes: and obtaining authentication information in the first safety operation code, obtaining authentication information in the third safety operation code, comparing the authentication information in the first safety operation code with the authentication information in the third safety operation code, and if the authentication information in the first safety operation code is the same as the authentication information in the third safety operation code, passing the verification.
For example: the first security operation code is b666-0255-30a7f8-9d68, the third security operation code is b666-0255-30a7f8-9d23, the authentication information in the first security operation code is b666-0255-30a7f8, the authentication information in the third security operation code is b666-0255-30a7f8, and the authentication information in the first security operation code is the same as the authentication information in the third security operation code, if the verification is passed, the second block chain all-in-one machine is indicated, and the second block chain all-in-one machine is created to be a node of the block chain.
In one embodiment, the second blockchain integrator is instructed to display information for each node on the blockchain after being created as a node of the blockchain. Each node on the block chain can be monitored and managed, and operation and maintenance are more convenient.
As shown in fig. 5, the process of the method for building a chain based on a block chain applied to the second block chain all-in-one machine mainly includes:
step 501, a block chain of a first block chain all-in-one machine and a deployment node request sent by a service system are obtained, wherein the deployment node request comprises a first security operation code configured for a second block chain all-in-one machine.
In an embodiment, before obtaining the blockchain of the first blockchain all-in-one machine and the deployment node request sent by the service system, a specific method flow further includes: and generating a third safe operation code, and transmitting the third safe operation code to the block chain and service system of the second block chain all-in-one machine.
In a specific embodiment, the third security operation code is generated, and the specific method flow includes: and acquiring a unique identifier in the small storage equipment connected with the second block chain all-in-one machine, acquiring a license corresponding to the unique identifier, and generating a third safety operation code according to the authentication information included in the license, wherein the third safety operation code includes the authentication information.
In one embodiment, the permission is determined to be within the validity period before acquiring the blockchain of the first blockchain kiosk and the deployment node request sent by the service system.
And 502, after the indication of the block chain and the service system of the second block chain all-in-one machine is obtained, establishing the node as the block chain.
In summary, in the embodiment of the present application, the method performs link establishment based on the block link. According to the method, a block chain and service system of a first block chain all-in-one machine acquires a block chain establishing request, displays a block chain establishing configuration interface according to the block chain establishing request, acquires configuration information input to the block chain establishing configuration interface, sends a node deploying request to the N block chain all-in-one machines according to respective network addresses of the N block chain all-in-one machines in the configuration information, verifies a first safety operation code configured for the first block chain all-in-one machine, and indicates the first block chain all-in-one machine after the verification is passed to establish a node of the block chain. The block chain and service system of the first block chain all-in-one machine in the method has the block chain configuration interface, can acquire the configuration information input to the block chain configuration interface, and further creates the block chain nodes, is easy to operate, reduces the operation and maintenance cost, and solves the problem that the block chain nodes are difficult to operate because the block chain all-in-one machine operates the external block chain and the service platform to further create the block chain nodes.
Based on the same concept, the present application provides a blockchain-based link establishment apparatus configured for a blockchain of a first blockchain all-in-one machine and a service system, and the specific implementation of the apparatus may refer to the description of the method embodiment, and repeated descriptions are omitted, as shown in fig. 6, the apparatus mainly includes:
a blockchain creation request obtaining module 601, configured to obtain a blockchain creation request;
a create blockchain configuration interface display module 602, configured to display a create blockchain configuration interface according to the blockchain creation request;
a configuration information obtaining module 603, configured to obtain configuration information input to the configuration interface for creating a blockchain, where the configuration information includes respective network addresses and respective first security operation codes of N blockchain all-in-one machines, the N blockchain all-in-one machines include a first blockchain all-in-one machine and N-1 second blockchain all-in-one machines, and N is greater than 1;
a deployment node request sending module 604, configured to send a deployment node request to the N blockchain all-in-one machines according to respective network addresses of the N blockchain all-in-one machines, where the deployment node request includes the first security operation code of the blockchain all-in-one machine corresponding to the network address;
a first processing module 605, configured to verify the first security opcode configured for the first blockchain all-in-one machine, and instruct the first blockchain all-in-one machine to create a node as the blockchain after the verification is passed.
Based on the same concept, the present application provides a block chain-based link establishment device configured in a first block chain all-in-one machine, and the specific implementation of the device may refer to the description of the method embodiment, and repeated descriptions are omitted, as shown in fig. 7, the device mainly includes:
a first deployment node request obtaining module 701, configured to obtain a blockchain of a first blockchain all-in-one machine and a deployment node request sent by a service system, where the deployment node request includes a first security operation code configured for the first blockchain all-in-one machine;
a second processing module 702, configured to create a node as a blockchain after acquiring the instruction of the blockchain and the service system of the first blockchain all-in-one machine.
Based on the same concept, the present application provides a blockchain-based link establishment apparatus configured for a blockchain of a second blockchain all-in-one machine and a service system, and the specific implementation of the apparatus may refer to the description of the method embodiment, and repeated descriptions are omitted, as shown in fig. 8, the apparatus mainly includes:
a second deployment node request obtaining module 801, configured to obtain a blockchain of a first blockchain all-in-one machine received by a second blockchain all-in-one machine and a deployment node request sent by a service system, where the deployment node request includes a first security operation code configured for the second blockchain all-in-one machine;
a third processing module 802, configured to verify the first security operation code configured for the second blockchain all-in-one machine, and instruct the second blockchain all-in-one machine to create a node as a blockchain after the verification is passed.
Based on the same concept, the present application provides a block chain-based link establishment device configured in a second block chain all-in-one machine, and the specific implementation of the device may refer to the description of the method embodiment, and repeated descriptions are omitted, as shown in fig. 9, the device mainly includes:
a third deployment node request obtaining module 901, configured to obtain a blockchain of the first blockchain all-in-one machine and a deployment node request sent by the service system, where the deployment node request includes a first security operation code configured for the second blockchain all-in-one machine;
a fourth processing module 902, configured to create a node as a blockchain after acquiring the indication of the blockchain and the service system of the second blockchain all-in-one machine.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 10, the electronic device mainly includes: a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein the processor 1001, the communication interface 1002 and the memory 1003 communicate with each other via the communication bus 1004. The memory 1003 stores a program executable by the processor 1001, and the processor 1001 executes the program stored in the memory 1003, so as to implement the following steps:
acquiring a block chain establishing request; displaying a configuration interface for creating the block chain according to the block chain creation request; acquiring configuration information input into a configuration interface for creating a block chain, wherein the configuration information comprises respective network addresses and respective first safety operation codes of N block chain all-in-one machines, the N block chain all-in-one machines comprise a first block chain all-in-one machine and N-1 second block chain all-in-one machines, and N is larger than 1; sending a deployment node request to the N block chain all-in-one machines according to respective network addresses of the N block chain all-in-one machines, wherein the deployment node request comprises a first safety operation code of the block chain all-in-one machine corresponding to the network address; verifying a first safety operation code configured for the first block chain all-in-one machine, and indicating the first block chain all-in-one machine to create a node of a block chain after the verification is passed;
alternatively, the first and second electrodes may be,
acquiring a block chain of a first block chain all-in-one machine and a deployment node request sent by a service system, wherein the deployment node request comprises a first safety operation code configured for the first block chain all-in-one machine; after acquiring the indication of the block chain and the service system of the first block chain all-in-one machine, establishing the node as the block chain;
alternatively, the first and second electrodes may be,
acquiring a block chain of a first block chain all-in-one machine received by a second block chain all-in-one machine and a deployment node request sent by a service system, wherein the deployment node request comprises a first safety operation code configured for the second block chain all-in-one machine; verifying the first safety operation code configured for the second block chain all-in-one machine, and indicating the second block chain all-in-one machine to create a node of a block chain after the verification is passed;
alternatively, the first and second electrodes may be,
acquiring a block chain of a first block chain all-in-one machine and a deployment node request sent by a service system, wherein the deployment node request comprises a first safety operation code configured for a second block chain all-in-one machine; and after the indication of the block chain and the service system of the second block chain all-in-one machine is obtained, the node is established as the node of the block chain.
The communication bus 1004 mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 1004 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 10, but this is not intended to represent only one bus or type of bus.
The communication interface 1002 is used for communication between the electronic apparatus and other apparatuses.
The Memory 1003 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one storage device located remotely from the aforementioned processor 1001.
The Processor 1001 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In yet another embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored, and when the computer program runs on a computer, the computer program causes the computer to execute the block chain based link building method described in the above embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for building a chain based on a block chain is applied to a block chain and service system of a first block chain all-in-one machine, and comprises the following steps:
acquiring a block chain establishing request;
displaying a configuration interface for creating the blockchain according to the blockchain creating request;
acquiring configuration information input into the block chain configuration interface, wherein the configuration information comprises respective network addresses and respective first safety operation codes of N block chain all-in-one machines, the N block chain all-in-one machines comprise a first block chain all-in-one machine and N-1 second block chain all-in-one machines, and N is larger than 1;
sending a deployment node request to the N blockchain all-in-one machines according to respective network addresses of the N blockchain all-in-one machines, wherein the deployment node request comprises the first safety operation code of the blockchain all-in-one machine corresponding to the network address;
and verifying the first safety operation code configured for the first block chain all-in-one machine, and indicating the first block chain all-in-one machine to create a node of the block chain after the verification is passed.
2. The method of claim 1, wherein before the obtaining the blockchain creation request, further comprising:
acquiring a second safety operation code generated by the first block chain all-in-one machine;
the verifying the first security opcode configured for the first blockchain all-in-one machine includes:
acquiring authentication information in the first security operation code;
acquiring authentication information in the second security operation code;
comparing authentication information in the first secure operation code with authentication information in the second secure operation code;
and if the authentication information in the first safety operation code is the same as the authentication information in the second safety operation code, the verification is passed.
3. The blockchain-based chaining method according to claim 1, wherein before displaying the interface for creating the blockchain configuration, the method further comprises:
obtaining permission in the first block chain all-in-one machine;
determining that the license is within a validity period.
4. A method for building a chain based on a block chain is applied to a first block chain all-in-one machine and comprises the following steps:
acquiring a block chain of a first block chain all-in-one machine and a deployment node request sent by a service system, wherein the deployment node request comprises a first safety operation code configured for the first block chain all-in-one machine;
and after the indication of the block chain and the service system of the first block chain all-in-one machine is obtained, establishing the node as the block chain.
5. The blockchain-based link establishment method according to claim 4, wherein before the acquiring the blockchain of the first blockchain all-in-one machine and the deployment node request sent by the service system, the method further comprises:
generating a second security operation code;
and transmitting the second safety operation code to a block chain and service system of the first block chain all-in-one machine.
6. The method according to claim 5, wherein the generating the second security operation code comprises:
acquiring a unique identifier in a small storage device connected with the first block chain all-in-one machine;
obtaining permission corresponding to the unique identification;
and generating the second security operation code according to the authentication information included in the permission, wherein the second security operation code includes the authentication information.
7. The blockchain-based link establishment method according to claim 6, wherein before the acquiring the blockchain of the first blockchain all-in-one machine and the deployment node request sent by the service system, the method further comprises:
determining that the license is within a validity period.
8. A block chain-based link establishment method is applied to a second block chain all-in-one machine and comprises the following steps:
acquiring a block chain of a first block chain all-in-one machine and a deployment node request sent by a service system, wherein the deployment node request comprises a first safety operation code configured for a second block chain all-in-one machine;
and after the indication of the block chain and the service system of the second block chain all-in-one machine is obtained, establishing the node as the block chain.
9. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute a program stored in the memory, to implement the blockchain-based chaining method according to any one of claims 1 to 3, or to implement the blockchain-based chaining method according to any one of claims 4 to 7, or to implement the blockchain-based chaining method according to claim 8.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements the blockchain-based chaining method according to any one of claims 1 to 3, or implements the blockchain-based chaining method according to any one of claims 4 to 7, or implements the blockchain-based chaining method according to claim 8.
CN202011614642.2A 2020-12-30 2020-12-30 Block chain-based link establishing method, device and storage medium Active CN112751713B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011614642.2A CN112751713B (en) 2020-12-30 2020-12-30 Block chain-based link establishing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011614642.2A CN112751713B (en) 2020-12-30 2020-12-30 Block chain-based link establishing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN112751713A true CN112751713A (en) 2021-05-04
CN112751713B CN112751713B (en) 2023-03-24

Family

ID=75649979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011614642.2A Active CN112751713B (en) 2020-12-30 2020-12-30 Block chain-based link establishing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112751713B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242802A (en) * 2022-08-10 2022-10-25 上海柚子工道物联技术有限公司 Tracing link construction method and system of block chain and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10127591B1 (en) * 2017-05-15 2018-11-13 Wippy, LLC Systems, methods, and devices for dynamic used vehicle marketing, dealer matching, and extended sale period transactions platform
CN110061873A (en) * 2019-04-18 2019-07-26 北京共识数信科技有限公司 A kind of block chain visualization node organization configuring management method
CN110647583A (en) * 2019-09-20 2020-01-03 腾讯科技(深圳)有限公司 Block chain construction method, device, terminal and medium
US20200120105A1 (en) * 2018-10-15 2020-04-16 Cloudminds (Shenzhen) Robotics Systems Co., Ltd. Data processing method and apparatus, terminal, and access point computer
US20200126048A1 (en) * 2017-07-14 2020-04-23 Alibaba Group Holding Limited Blockchain service data processing
CN111541727A (en) * 2020-07-08 2020-08-14 支付宝(杭州)信息技术有限公司 Block chain all-in-one machine and automatic chain building method and device thereof
CN111651467A (en) * 2020-05-25 2020-09-11 杭州溪塔科技有限公司 Block chain link point interface issuing and calling method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10127591B1 (en) * 2017-05-15 2018-11-13 Wippy, LLC Systems, methods, and devices for dynamic used vehicle marketing, dealer matching, and extended sale period transactions platform
US20200126048A1 (en) * 2017-07-14 2020-04-23 Alibaba Group Holding Limited Blockchain service data processing
US20200120105A1 (en) * 2018-10-15 2020-04-16 Cloudminds (Shenzhen) Robotics Systems Co., Ltd. Data processing method and apparatus, terminal, and access point computer
CN110061873A (en) * 2019-04-18 2019-07-26 北京共识数信科技有限公司 A kind of block chain visualization node organization configuring management method
CN110647583A (en) * 2019-09-20 2020-01-03 腾讯科技(深圳)有限公司 Block chain construction method, device, terminal and medium
CN111651467A (en) * 2020-05-25 2020-09-11 杭州溪塔科技有限公司 Block chain link point interface issuing and calling method and device
CN111541727A (en) * 2020-07-08 2020-08-14 支付宝(杭州)信息技术有限公司 Block chain all-in-one machine and automatic chain building method and device thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242802A (en) * 2022-08-10 2022-10-25 上海柚子工道物联技术有限公司 Tracing link construction method and system of block chain and electronic equipment
CN115242802B (en) * 2022-08-10 2023-11-24 上海柚子工道物联技术有限公司 Method, system and electronic equipment for constructing traceable link of block chain

Also Published As

Publication number Publication date
CN112751713B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
EP3512155A1 (en) Method and system for providing secure access to artifacts in a cloud computing environment
JP6335945B2 (en) Computer program, apparatus and method for providing access to an external web service to a multifunction peripheral device
CN104113551A (en) Platform authorization method, platform server side, application client side and system
CN104580112A (en) Service authentication method and system, and server
US11848934B2 (en) Resource management system, resource management method, resource transaction management device, resource management device, and program
CN112596754A (en) Block chain intelligent contract deployment method and device
CN112751713B (en) Block chain-based link establishing method, device and storage medium
CN108390786B (en) Business operation and maintenance method and device and electronic equipment
CN114040411B (en) Equipment binding method and device, electronic equipment and storage medium
CN115695012A (en) Login request processing method and device, electronic equipment and storage medium
CN110647583B (en) Block chain construction method, device, terminal and medium
CN111221904A (en) Intelligent contract deployment and execution method and device, electronic equipment and storage medium
CN112650954B (en) Block chain data sharing method, device, equipment and storage medium
CN112995357B (en) Domain name management method, device, medium and electronic equipment based on cloud hosting service
CN113761498A (en) Third party login information hosting method, system, equipment and storage medium
CN112437071A (en) Method, system, device and storage medium for device control
CN103559430B (en) application account management method and device based on Android system
US9177123B1 (en) Detecting illegitimate code generators
CN113114629A (en) Contract management method, device, equipment and storage medium based on block chain
CN112702419A (en) Data processing method, device, equipment and storage medium based on block chain
CN111522580A (en) Method and device for establishing code branch and computer equipment
JP2017187963A (en) Electronic apparatus and system
CN114285890A (en) Cloud platform connection method, device, equipment and storage medium
CN108804713B (en) Image output method, electronic device, and computer-readable medium
CN111106956A (en) Sensor information adding method, device, equipment and storage medium of Internet of things

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