CN110308962A - Manage method, electronic equipment and the medium of block chain network - Google Patents
Manage method, electronic equipment and the medium of block chain network Download PDFInfo
- Publication number
- CN110308962A CN110308962A CN201910600770.2A CN201910600770A CN110308962A CN 110308962 A CN110308962 A CN 110308962A CN 201910600770 A CN201910600770 A CN 201910600770A CN 110308962 A CN110308962 A CN 110308962A
- Authority
- CN
- China
- Prior art keywords
- node
- block chain
- chain network
- user
- network
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- User Interface Of Digital Computer (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This disclosure relates to a kind of method, electronic equipment and medium for managing block chain network.The method of the management block chain network, comprising: show that the user interface for managing block chain network, the user interface include that one or more block chain networks check icon and one or more block chain network editor's icons;In response to receiving the user's input for being directed to one or more of block chain networks and checking icon, the display block chain network in the user interface;And user's input of one or more of block chain network editor's icons is directed in response to receiving, one or more of block chain networks are edited, and compiled block chain network is shown in the user interface.
Description
Technical field
This disclosure relates to block chain technical field, in particular to a kind of method for managing block chain network, electronic equipment and
Computer readable storage medium.
Background technique
Block chain technology is the new application mould of the computer technologies such as distributed account book technology, common recognition algorithm, Encryption Algorithm
Formula.The characteristics of block chain technology be decentralization, it is open and clear, can not distort.Network based on the building of block chain technology can be with
Referred to as block chain network may include node in the block chain network.These nodes may belong to different tissues mechanism, this
Part or all of node in a little nodes also may belong to identical organization.
Although block chain technology has the advantages that the advantages of a variety of, can not especially to distort and well solve trust property, and
By favor, but since it is integrated with the multi-field technology including distributed computing technology, common recognition algorithm, Encryption Algorithm etc.,
For maintenance personnel to the more demanding of the grasp of block chain network technology and program capability.Also, due to block chain network
In each Node distribution range it is wide therefore very complicated to the management of block chain network and not intuitive.
Summary of the invention
For this purpose, according to one aspect of the disclosure, providing a kind of method for managing block chain network, comprising: display is used for
Manage the user interface of block chain network, the user interface include one or more block chain networks check icon and one or
Multiple block chain network editor's icons;In response to receiving the user for being directed to one or more of block chain networks and checking icon
Input, the display block chain network in the user interface;And one or more of block chains are directed in response to receiving
The user of network editing icon inputs, and edits one or more of block chain networks, and show in the user interface
Compiled block chain network.
According to another aspect of the disclosure, a kind of electronic equipment is provided, comprising: processor and the storage for storing program
Device, described program include instruction, and described instruction executes the processor according in the disclosure when being executed by the processor
The method.
According to the another aspect of the disclosure, a kind of computer readable storage medium for storing program, described program are provided
Including instruction, described instruction executes the electronic equipment according to institute in the disclosure in the processor execution by electronic equipment
The method stated.
From the exemplary embodiment described with reference to the accompanying drawing, the more features and advantage of the disclosure be will become apparent.
Detailed description of the invention
Attached drawing schematically illustrates embodiment and constitutes part of specification, together with the verbal description of specification
For explaining illustrative embodiments.Shown embodiment is not limit the scope of the claims merely for the purpose of illustration.
In all the appended drawings, identical appended drawing reference refers to similar but not necessarily identical element.
Fig. 1 shows according to the exemplary embodiment of the disclosure for creating the exemplary user interface of block chain network
Schematic diagram;
Fig. 2 shows according to the exemplary embodiment of the disclosure for managing exemplary first user of block chain network
The schematic diagram at interface;
Fig. 3 shows according to the exemplary embodiment of the disclosure for managing the exemplary second user of block chain network
The schematic diagram at interface;
Fig. 4 shows according to the exemplary embodiment of the disclosure for creating the stream of the illustrative methods of block chain network
Cheng Tu;
Fig. 5 shows according to the exemplary embodiment of the disclosure for managing the stream of the illustrative methods of block chain network
Cheng Tu;
Fig. 6 shows the structural frames that can be applied to example electronic device according to the exemplary embodiment of the disclosure
Figure.
Specific embodiment
In the disclosure, unless otherwise stated, using term " first ", " second ", " third ", " the 4th ", "
Five ", " the 6th ", " the 7th " etc. are not intended to limit the positional relationship of these elements, sequential relationship or important to describe various elements
Sexual intercourse, this term are only intended to distinguish an element with another element.In some instances, the first element and second
Element can be directed toward the same instance of the element, and in some cases, the description based on context, they also may refer to not
Same example.
The mesh of description particular example is intended merely to term used in the various exemplary descriptions in the disclosure
, and be not intended to be limiting.Show unless the context clearly if not limiting the quantity of element specially, it should
Element is either one or more.In addition, term "and/or" used in the disclosure covers in listed project
Any one and whole possible combinations.
It is according to the exemplary embodiment of the disclosure for creating block link network below with reference to Fig. 1 to Fig. 3 detailed description
The schematic diagram of the exemplary user interface of network and the exemplary user interface for managing block chain network.
Fig. 1 shows according to the exemplary embodiment of the disclosure for creating the exemplary user interface of block chain network
Schematic diagram.
Referring to Fig.1, it includes Accessorial Tools Storage 110, design area 120 that user, which creates the exemplary user interface 100 of block chain network,
With state area 130.
As shown in Figure 1, Accessorial Tools Storage 110 includes that various types of nodes create icon.Accessorial Tools Storage includes for creating tissue
The node creation icon 111 of agency node is sorted and organized the node creation icon 112 of node, for creating equity for creating
The node that the node creation icon 113 of node, user create certification node creates icon 114, the node for creating SDK node
It creates icon 115 and the node for creating ordering joint creates icon 116.It is retouched it should be noted that only being used as to illustrate above
The node creation icon in Accessorial Tools Storage is stated, Accessorial Tools Storage can also only include that a node creates icon, a node creation
Icon can create node, then by editing created node come the type of concept transfer, can also specify in creation
The type of created node.
The major part in design area 120 shows the topology diagram of the block chain network based on Hyperledger.Such as figure
Shown in 1, the root node of topology diagram is the graphical representation of network node.According to example, the figure of four organization's nodes
It indicates and a graphical representation for being sorted and organized node is connected by the graphical representation of line and network node.In this example,
The graphical representation of four organization's nodes respectively represents developing department, logistics department, IT department and test organization.User can be with
The quantity and title of adjustment organization as needed.Certainly, user can not also planned network node, and be designed to each
The graphical representation of organization's node is connected each other by line.In this example, each organization's node includes being subordinated to
Its peer node, certification node and SDK node, being sorted and organized node includes the ordering joint for being subordinated to it.In institute referring to Fig.1
In the example shown, the graphical representation of peer node peer1 authenticates the graphical representation of node ca1 and the figure table of SDK node sdk1
Show the graphical representation for being connected to by line and indicating organization's node of logistics department, after showing that these three nodes are subordinated to
Diligent department;The graphical representation of the graphical representation of peer node peer2, the graphical representation for authenticating node ca2 and SDK node sdk2 is logical
It crosses line and is connected to the graphical representation for indicating organization's node of IT department, to show that these three nodes are subordinated to IT department;
The graphical representation of the graphical representation of peer node peer3, the graphical representation for authenticating node ca3 and SDK node sdk3 passes through line
It is connected to the graphical representation for indicating organization's node of developing department, to show that these three nodes are subordinated to developing department;It is right
The graphical representation of equal nodes peer4, the graphical representation for the graphical representation and SDK node sdk4 for authenticating node ca4 are connected by line
It is connected to the graphical representation for indicating organization's node of test organization, to show that these three nodes are subordinated to test organization.
Multiple operation buttons 121 and scaling slider bar 122 have been also shown in the upper left corner in design area 120.Multiple operation buttons
121 include that (such as can be below in conjunction with Fig. 3 description for managing the second of block chain network for returning to previous page
User interface) return push-button, for the refresh button in refresh design area, the deployment button for disposing block chain network and
Save button.Slide may be implemented in scaling slider bar 122, to zoom in or out the topology diagram in design area.
State area 130 is for showing the information of current block chain network and/or the information of respective nodes.As shown in Figure 1, net
Box around network node indicates that user currently chooses network node, in the case where network node is selected, in state area 130
In the information of current block chain network is shown.The information of block chain network includes the title of block chain network, Business Name, block
Version, block chain network type, running environment type, SDK version number, block chain network version of chain network etc..State area 130
It further include the description frame for describing the block chain network, user can edit this and describe the content in frame.If the node chosen is
Other kinds of node, then information may include title, Business Name, domain name, deployed environment of node etc..
Fig. 2 shows according to the exemplary embodiment of the disclosure for managing exemplary first user of block chain network
The schematic diagram at interface.
Referring to Fig. 2, exemplary first user interface 200 of user management block chain network includes Accessorial Tools Storage 210, monitored space
220, state area 230 and details viewing area 240.
Accessorial Tools Storage 210 in Fig. 2 is similar with the Accessorial Tools Storage 110 in Fig. 1, and details are not described herein.
The major part of monitored space 220 shows the block chain network designed in the design area 120 of Fig. 1 by deployment
Topological network figure afterwards.The design area of line and Fig. 1 between various types of nodes and node shown in monitored space 220
Node in 120 is similar in line, and details are not described herein.
Other than the line between node and node is identical as Fig. 1, monitored space 220 further includes network node, to constant pitch
The operating status diagram of point, certification node and SDK node, wherein operating status diagram is highlighted.Highlight including
Network node it is figured highlight, the figured graphical representation for highlighting, authenticating node of peer node
Highlight and the figured of SDK node highlights, to show that the operating status of above-mentioned node is portion
Administration.As shown in Fig. 2, prominent indicate to refer to also showing that a circle, the circle are shown in a manner of solid line outside above-mentioned node.
Certainly, which is also possible to dotted line, and can rotate around the graphical representation of corresponding node.Show in monitored space 220
The top of peer node peer1, peer2, peer3 and peer4 out respectively further include fan-shaped arrangement first state diagram,
Second state diagram, third state diagram and the 4th state diagram, respectively indicate channel associated with each peer node, intelligence
It can contract, block chain information and Transaction Information.As shown in Fig. 2, the third state diagram top display about peer node peer1
There are digital " 4 ", shows that the block height in block chain is 4;The 4th state diagram top about peer node peer1 is shown
Digital " 6 " show that the number of transaction of the generation in block chain is 6.
Multiple operation buttons 221 and scaling slider bar 222 have been also shown in the upper left corner of monitored space 220.Multiple operation buttons
221 include for return previous page (such as can be below with reference to Fig. 3 description for manage block chain network second use
Family interface) return push-button, the refresh button for refreshing monitored space and the Edit button for editing block chain network.
Slide may be implemented in scaling slider bar 122, to zoom in or out the topology diagram in monitored space.
State area 230 includes the intelligent contract of channel region 231, first area 232 and the second intelligent contract area 233.State area
230 show the channel in block chain network, the i.e. corresponding block chain in a channel.As shown in Fig. 2, in channel region 231
One channel of display channel entitled " complaint " shows that there are " complaint " channels in the block chain network.In the channel
An intelligent contract is disposed, an intelligent contract of intelligent contract entitled " complaint " is shown in the first intelligent contract area 232.
As an example, the intelligence contract is initialized, show that the intelligence of entitled " complaint " is closed in the second intelligent contract area 233
The textual representation of " initialization " about.
Details viewing area 240 includes multiple details the Show Buttons, is pressed including port information display switch
Button 241, title display switch button 242 and example environments display switch button 243.As shown in Fig. 2, current, port information
The switch state of display switch button 241 is to close, and the non-display port information in the first user interface 200, clicks port at this time
Switch state can be set to open by information display switch button 241, thus shown in the first user interface 200 peer node,
The port information for authenticating node, SDK node and ordering joint, clicks the port information switch button again, can will switch shape
State is set to pass, can no longer show peer node, certification node, SDK node and sequence section in the first user interface 200 at this time
The port information of point.Port information may include the id title of above-mentioned node, port numbers, IP address, operating status etc..Title is opened
Closing button can control display or no longer shows the title of each node, as shown in Fig. 2, title display switch button 242 at this time
Switch state be open, click the title display switch button 242, switch state can be set to passs, thus no longer display respectively
The title of a node, so that monitored space 220 is more succinct.Example environments switch button can control the figure in network node
Shape expression vicinity is shown or the title of no longer display environment example, as shown in Fig. 2, example environments display switch button at this time
243 switch state is to close, and clicks the example environments display switch button 243, switch state can be set to open, in network section
The title of the graphical representation vicinity display environment example of point.
Fig. 3 shows according to the exemplary embodiment of the disclosure for managing the exemplary second user of block chain network
The schematic diagram at interface.
Referring to Fig. 3, the exemplary second user interface 300 for managing block chain network includes chain space area 310, chained list
Area 320 and operating space 330.
The thumbnail that the topology diagram of multiple block chain networks can be shown in chain space area 310 (illustrates only in Fig. 3
One), chained list area 320 shows the information of every block chain network of multiple block chain networks in the form of a list, and wherein chain is empty
Between each thumbnail in area 310 represent one in multiple block chain networks, every a line in chained list area 320 also represents multiple
One in block chain network, and each thumbnail can be corresponding with the information of every a line block chain network.Shown according to one
Example, when cursor is moved to certain a line in chained list area 320, can be highlighted corresponding with a line in chain space area 310
Topological network figure thumbnail.According to another example, when cursor is moved to some block chain network in chain space area 310
When the thumbnail of topological network figure, a line block chain network corresponding with the thumbnail can be highlighted in chained list area 320
Information.The information of every block chain network in chained list area 320 may include the title and block chain network of block chain network
Version, network state, operating status, renewal time.Network state may include in design, dispose and have been turned on.Operation
State may include in nothing, part operation and operation.It further include editing area 325 in chained list area 320.Editing area 325 can be chain
Every a line in table area 320 is respectively provided with multiple Edit buttons, so that each block chain network can be edited independently;Alternatively,
Unified Edit button is arranged in multiple block chain networks in editing area 325 or chained list area 320, to the block chain chosen
Network is edited.Edit button may include monitoring button, start button, stop button, unload button, checks network log
Button and networking client configure download button.Monitoring button, which can be used for jumping to, is used for directorial area in conjunction with what Fig. 2 was described
First user interface of block chain network.Start button can be used for starting or restarting corresponding block chain network.Stop button can
With the operation for suspending corresponding block chain network.Unloading button can be used for unloading corresponding block chain network, and simultaneously
Unload the channel for including in the block chain network, intelligent contract and block data etc..Check that network log button can be used for looking into
See the network log of corresponding block chain network.Networking client configuration download button can be used for downloading corresponding block link network
The client configuration file of network, for configuring the client of block chain network to be added.
Operating space 330 includes multiple operation buttons, including creation network button, search button and refresh button.
Creation network button can be used for jumping to the user interface that user as described in connection with fig. 1 creates block chain network.Search is pressed
Button can be used for searching for desired block chain network according to network name.Refresh button can refresh chain space area 310 and chained list area
320, to show updated chain space area and chained list area.
It will be appreciated by those skilled in the art that the example for being used to create block chain network described above by reference to Fig. 1 to Fig. 3
Property user interface, exemplary first user interface for managing block chain network and for managing showing for block chain network
Example property second user interface is merely exemplary, and not in any limiting sense.Such as exemplary user interface, exemplary user interface
Each figure table that each icon that each functional areas for including, exemplary user interface include, exemplary user interface include
Show and pattern, shape, the size of element etc. in all exemplary user interfaces such as state diagram and operating status diagram is
Illustratively, and not the limitation to the disclosure is constituted.
Below in conjunction with Fig. 1 and Fig. 4 description according to the method for the creation block chain network of the disclosure.
Fig. 4 shows according to the exemplary embodiment of the disclosure for creating the stream of the illustrative methods of block chain network
Cheng Tu.
As already described above, the method for creation block chain network is difficult greatly according to prior art, time-consuming, cost
It is huge.For this purpose, the present disclosure proposes a kind of easily operated, quick and creations for specializing in personnel without being proficient in block chain technology
The method of block chain network.
The method of exemplary embodiment according to Fig.4, creation block chain network may comprise steps of: display is used
In the user interface of creation block chain network, the user interface includes block chain network deployment icon and one or more nodes
Create icon (step 401);The first user input of one or more of nodes creation icon is directed in response to receiving,
Graphical representation (the step 402) of first node is shown in the user interface;And block chain network is directed in response to receiving
Deployment diagram target user input, disposes block chain network, the block chain network includes the first node (step 403).With
Under will be described in above-mentioned steps 401 to step 403.
In step 401, according to some embodiments, the user interface for creating block chain network can be above in association with
The exemplary user interface for being used to create block chain network of Fig. 1 description.User interface can be following a plurality of types of electronics
The user interface of any one or more of electronic equipment of equipment: desktop computer, laptop computer, tablet computer, individual
Digital assistants, smart phone etc..According to some embodiments, the user interface may include multiple functional areas, such as Accessorial Tools Storage,
Design area, state area etc..
According to some embodiments, can in the Accessorial Tools Storage of user interface display block chain network deployment icon and one or
Multiple nodes create icon.According to some embodiments, the user interface for creating block chain network may include multiple nodes
Icon is created, multiple node creation icons can be different from each other, and different node creation icons can correspond to different types of
The creation of node.According to some embodiments, the user interface for creating block chain network can only include a node creation
Icon, one node creation icon can correspond to different types of node, may correspond to same type of node.
In step 402, defeated for the first user of one or more of nodes creation icon according to some embodiments
Enter may include at least one of following input mode: replica node creates icon and glues in design area in Accessorial Tools Storage
It pastes, choose node creation icon and hit, in design class mark directly by the node creation icon drag in Accessorial Tools Storage to design area
In and suitable for create node any kind of user's input mode.
It should be noted that through herein presented " duplication ", " stickup ", " choosing ", " click ", " dragging ", " clicking ",
The operations such as " double-click ", " long-pressing " can both be realized by input equipment, can also directly be realized by the gesture of user, also
It can be realized simultaneously by the gesture of input equipment and user.Input equipment can be such as keyboard, mouse, handwriting pad, wheat
Gram wind etc. is suitable for any kind of input equipment that user is inputted.Touch sensitive surface can be passed through to the sensing of the gesture of user
To realize.According to some embodiments, the touch sensitive surface is also known as touch screen, touch-sensitive display etc..
According to some embodiments, shows that the graphical representation of first node can be in the user interface and shown in design area
The graphical representation of first node, but the present disclosure is not limited thereto.According to some embodiments, the first node can be block link network
Any node in network.According to some embodiments, the figured shape and color of first node can be with corresponding nodes
Create icon shape and color it is all the same or it is equal it is different, can also with shape is identical and color is different or shape is different and color
It is identical.According to some examples, the figured shape of first node can be circle, triangle, rectangle or be suitable for indicating
The graphical representation of any other shape of the node in block chain network.
In step 403, according to some embodiments, for block chain network deployment diagram target user input may include with
At least one of lower input mode: it clicks block chain network deployment icon, double-click the block chain network deployment icon, long-pressing
The block chain network is disposed icon and is inputted suitable for the user for any other type of block chain network deployment diagram target.
According to some embodiments, disposing block chain network be can be the block chain network integrated connection including first node
To network.According to some embodiments, disposes block chain network and be also possible to allow each node in block chain network each other
Communicatedly connect.According to some embodiments, the network that block chain network is connected can be wide area network (WAN), Metropolitan Area Network (MAN)
(MAN), local area network (LAN) or the network of any other type suitable for the access of block chain network.According to some embodiments,
The block chain network may include at least one first node.According to some examples, first node in block chain network
Quantity can determine according to actual needs.According to some examples, the quantity of the first node in block chain network can also be taken
Certainly in the common recognition algorithm of application;For example, the block chain network can if the common recognition algorithm used is proof of work (POW)
To include at least one first node;If the common recognition algorithm used is practical Byzantine failure tolerance algorithm (PBFT), the block
Chain network may include at least four first nodes.
According to the method for the creation block chain network of the disclosure, the mode of user's input is very simple and is easy to upper hand.One
Aspect, user only need that block chain can be created using the icon having been provided in the graphic user interface according to disclosed method
Network, without understanding the principle for the various technologies that block chain technology is included in depth, without writing code.On the other hand,
Method according to the creation block chain network of the disclosure is very intuitive.
Compared with traditional developer is by the method for a large amount of code establishing block chain networks, according to the creation of the disclosure
The method of block chain network is more efficient, and the requirement for developer is lower.Non-technical personnel is by simple training
It can use and block chain network is created according to disclosed method, time and human cost is greatly saved.
According to some embodiments, the deployment block chain network may include obtaining the information of the first node;With
And the information of the information and deployed environment based on the first node, by calling the API of deployed environment in the deployed environment
The first node of the middle creation block chain network.
According to some embodiments, the considerations of in terms of safety, login in user for creating block chain network
The identity of user can also be verified before user interface and/or user interface for managing block chain network.Also,
If the identity of user is authenticated, user is allowed to login user interface for creating block chain network and/or for managing
Manage the user interface of block chain network;Otherwise, refusal user logins these user interfaces.According to some embodiments, meet identity
The user of verifying can also be divided into different type, and different types of user corresponds to different permissions.According to some examples,
User can be divided into ordinary user, administrator and super keepe three types;Wherein, ordinary user may only have and check
The permission of the state of the block chain network of creation, administrator may also have other than with permission possessed by ordinary user
The permission of the block chain network and creation block chain network that have editor to create, super keepe with administrator in addition to being had
Other than some permissions, may also have and change for creating the user interface of block chain network and for managing block chain network
The permissions such as pattern, the arrangement mode of user interface.
According to some embodiments, the type of block chain network can be selected.
According to some embodiments, the user interface further includes the type selection menu of block chain network, and user can be with
Menu is selected to select the type of block chain network by the type of the block chain network in user interface.Select block
The method of the type of chain network may include: the user in response to receiving the type selection menu for being directed to the block chain network
Input, display includes the first list of the type of at least one block chain network in the user interface;And in response to connecing
Selection of the user in the first list to the type of block chain network is received, is shown in the user interface selected
The textual representation of the type of block chain network.
According to some embodiments, the different patterns of menu are selected according to the type of block chain network, for the block
User's input of the type selection menu of chain network and first list can also be different.According to some examples, block chain network
Type selection menu can be pull-down menu, in this case, select menu for the type of the block chain network
User's input may include drop down button or the long-pressing pull-down menu itself of click pull-down menu menu is unfolded, and
First list can be list shown in the menu of expansion.According to some examples, the type selection menu of block chain network can
To be pop-up menu, for the block chain network type selection menu user input may include click, double-click or
Long-pressing pop-up menu itself, and first list can be pop-up menu or dialog box shown in list.Certainly, above
The pattern of menu only is described by some examples, but the present disclosure is not limited thereto, can use and be suitably selected for block chain network
The type of any pattern selects menu.
According to some embodiments, showing that the textual representation of the type of selected block chain network can be directly will be selected
The title of the type for the block chain network selected and/or referred to as display are on a user interface.It, can be in block chain according to some examples
Network type selection menu at show selected block chain network type title and/or abbreviation, or can with
The title and/or letter of the type of selected block chain network are shown at any other position for being suitable for display on the interface of family
Claim.
According to some embodiments, the type of the block chain network may include the block chain based on Hyperledger
Network, but the present disclosure is not limited thereto, and the type of the block chain network can also include any other for being suitable for block chain technology
The block chain network of type.
According to some embodiments, the type of the block chain network created is ether mill, and the first node is ether mill
Node.According to some embodiments, the block chain network based on ether mill can be the area of alliance's chain property based on ether mill
Block chain network is also possible to the block chain network of the private chain property based on ether mill.
In this way, user can select according to actual needs the type of block chain network, to further increase
Create the applicability of block chain network and the operability of user interface.
Although it should be noted that described above is that can select the type of block chain network, the present disclosure is not limited to
This.According to some embodiments, user is not necessarily to select the type of block chain network.According to some embodiments, according to showing for the disclosure
Example property method can preassign the default type of block chain network, for example, Hyperledger.
The type of deployed environment can be selected before disposing block chain network according to some embodiments.
According to some embodiments, the user interface further includes the type selection menu of deployed environment, and user can lead to
The type for the deployed environment crossed in user interface selects menu to select the type of deployed environment.Select deployed environment
The method of type may include: user's input in response to receiving the type selection menu for being directed to the deployed environment, in institute
State the second list that display in user interface includes the type of at least one deployed environment;And in response to receiving user in institute
The selection in second list to the type of deployed environment is stated, the type of selected deployed environment is shown in the user interface
Textual representation.
According to some embodiments, the pattern of menu is selected, for the class of the deployed environment according to the type of deployed environment
User's input of type selection menu and second list and the type selection menu for the block chain network having been described in above
Pattern, for the block chain network type selection menu user input it is similar with first list, therefore, in order to clearly rise
See, details are not described herein.Certainly, the type of the type selection of deployed environment and block chain network is selected, above-mentioned selection dish
Single pattern, the mode of user's input and form of list may be the same or different.
According to some embodiments, the type of the deployed environment may include Kubernetes, Docker Compose,
And Virtual Machine, but the present disclosure is not limited thereto, and the type of the deployed environment can also include being suitable for block chain skill
The deployed environment of any other type of art.
In this way, user can select according to actual needs the type of deployed environment, to further increase wound
Build the applicability of block chain network and the operability of user interface.
Although it should be noted that above in association with the exemplary embodiment of the disclosure, describe can before disposing block chain network
It is selected with the type to deployed environment, but the present disclosure is not limited thereto.According to some embodiments, deployment block chain network it
Before, user is not necessarily to select the type of deployed environment.According to some embodiments, can be referred in advance according to the illustrative methods of the disclosure
The default type of deployed environment is determined, for example, Kubernetes.
Example environments can be selected before disposing block chain network according to some embodiments.According to some
Embodiment, user is without selecting example environments.According to some embodiments, can be preassigned according to the illustrative methods of the disclosure
The example environments of default.
It can choose sample application before disposing block chain network according to some embodiments.According to some implementations
Example, sample application can be the configuration file of pre-set block chain network.
Below by by taking the block chain network based on Hyperledger as an example, the exemplary reality according to the disclosure is described in detail
Apply the illustrative methods of the creation block chain network of example.
According to some embodiments, the illustrative methods may include: in response to receiving for one or more
The first user input of a node creation icon, shows the graphical representation of first node in the user interface.By being created
The type for the block chain network built is Hyperledger, and in this case, the first node is organization's node.On
Text has been combined Fig. 4 and describes the detailed process for creating the first node, and details are not described herein.According to some embodiments, make
It can be for organization's node of the first node and represent organization node.According to some embodiments, tissue
Mechanism can be the department in enterprise, for example, organization can be developing department W in enterprise, test organization X, IT department
Y, logistics department Z etc..According to some embodiments, organization can also be enterprise, public institution, its hetero-organization, for example, tissue
Mechanism can be bank A, school B, commonweal organizations C etc..According to some embodiments, organization's node can be entity section
Point, for example, organization's node can be the physical machine of entity.According to some embodiments, organization's node can also be with
It is dummy node, for example, organization's node can be the docker in cloud.According to some embodiments, organization's section
Point had not both corresponded to the physical equipment of entity, did not corresponded to virtual cloud product yet, but purely logical node.
The illustrative methods can also include: to be directed to one or more of nodes creation icon in response to receiving
Second user input, shows the graphical representation of second node, the second node is to be sorted and organized section in the user interface
Point.It can be the node for representing and being sorted and organized as node is sorted and organized described in the second node, described be sorted and organized can
To be made of all ordering joints.
According to some embodiments, the first user input is different from the second user and inputs, but described second
The range of choice for the various input modes that user's input may include can be used with described first had been described in above
The range of choice for the various input modes that family input may include is identical.It below will be detailed by schematic example in two kinds of situation
First user input and second user input are described.
Situation one: including that multiple and different nodes creates icon in the user interface, each different node creates figure
Mark can correspond to the creation of a type of node.
In situation one, according to some examples, the first user input can be directly will be corresponding with organization's node
Node creates icon drag into design area, and second user input can be directly will node wound corresponding with node is sorted and organized
Icon drag is built into design area.
Situation two: a node creation icon is only included in the user interface.
In situation two, according to some examples, the first user input can be the creation of the node in direct Drag tool area
Into design area and then icon is by the graphical display of editor (for example, the selection or character input) node with determination described the
One user input corresponds to creation organization's node, and second user input can be the creation of the node in direct Drag tool area
Into design area and then icon is by the graphical display of editor (for example, the selection or character input) node with determination described the
Two users input corresponds to creation and is sorted and organized node.
It should be noted that in the example of above-mentioned two situations, described first user input and second user input
Input mode be it is similar, from the point of view of this is consistency and convenience for user's operation, but the disclosure is also unlimited
In this, for example, first user input can be directly will node creation icon corresponding with organization's node in situation one
It drags in design area, second user input can be replicates node creation figure corresponding with node is sorted and organized in Accessorial Tools Storage
It marks and is pasted in design area.
The the first user input and second user for node creation icon is described in detail above by schematic example
Input, further below will description inputted for the node creation third user input of icon, fourth user input, the 5th user, the
Six users input and the 7th user input.The third user is input to the 7th user and inputs the principle in input mode
It is similar with the principle of first user input and second user input, therefore for the sake of clarity, hereafter will no longer it go to live in the household of one's in-laws on getting married
It states.
In this way, the block chain network for the creation Hyperledger type that user can be more convenient.
According to some embodiments, user interface can also include that organization increases icon, and the exemplary side newly
Method can also include: to show on a user interface in response to receiving the user's input for being directed to the organization and increasing icon newly
For inputting the dialog box of the information of organization, the information includes the organization names, alias, Business Name of organization
Deng;The figured user input of first node is directed in response to receiving, display is for selecting the organization increased newly
Menu or list;In response to receiving the input of one user in menu or list, corresponding with this group of loom is shown
The title or alias of structure or Business Name etc..
In this way, user can be laid out the organization of block chain network to be added in advance, and in user
Each organization can be distinguished in interface well.
The illustrative methods can also include: in response to receiving the first user input, in the user interface
In also show the graphical representation of peer node, and show and the graphical representation of the peer node be connected to the first node
Figured line, to show that the peer node is subordinated to the first node.
In Hyperledger, peer node (peer), which is mainly responsible for, to be realized by executing chain code in block chain network
Distributed account book read-write operation.All peer nodes are all accounting nodes, are responsible for the pair of maintenance status data and account book
This.Part peer node can execute according to the setting of endorsement strategy and trade and endorse to result, to be used as endorsement node.
It should be noted that line throughout can be the graphical representation and organization's node of connection such as peer node
Graphical representation between line segment, curve, arrow etc..In the user interface, the graphical representation and tissue of line and peer node
The graphical representation of agency node can contact, and can not also contact.
In some embodiments, show that peer node is subordinated to first node and refers to showing that peer node is subordinated to group
Knit agency node.According to an exemplary embodiment, bank A has physical machine C1, thus physical machine C1 is subordinated to bank A.?
In the block chain network of the exemplary embodiment, organization node Org is used to indicate to make as the bank A of organization
The physical machine C1 in block chain network to be added that bank A has is indicated with peer node peer1, and in response to receiving
First user input, can show the graphical representation and expression for indicating the peer node peer1 of physical machine C1 in the user interface
Line between the graphical representation of the organization node Org of bank A, to show that physical machine C1 is subordinated to bank A.
In some embodiments, it is inputted in response to receiving the first user as described above, can show group simultaneously
Knit the graphical representation and peer node of the graphical representation of agency node, the graphical representation of peer node and organization's node
Graphical representation between line.In some embodiments, this three can be shown sequentially in time, for example, can be first
It shows the graphical representation of organization's node, then shows the graphical representation of peer node, finally show the figure of organization's node
Shape indicates the line between the graphical representation of peer node.Certainly, the present disclosure is not limited thereto, can be using suitable for display node
And any sequence of the subordinate relation between display node shows this three.
In general, each organization has at least one peer node.Therefore, when user is expected that by the first user input
Create organization's node graphical representation when, can automatically create on a user interface one it is related to organization's node
The peer node of connection and show that the peer node is subordinated to the line of organization's node.In this way, further
The time is saved in the creation for simplifying block chain network, and reduces creation block chain network in the process due to forgetting creation pair
Error probability caused by equal nodes.
The illustrative methods can also include: in response to receiving the second user input, in the user interface
In also show the graphical representation of ordering joint, and show and the graphical representation of the ordering joint be connected to the second node
Figured line, to show that the ordering joint is subordinated to the second node.
In Hyperledger, ordering joint (orderer) is mainly responsible for the common recognition process in block chain network.Altogether
During knowledge, ordering joint receives the transaction of at least one of block chain network, is ranked up to these transaction, these are traded
Be bundled in block, block be distributed to peer node, wait it is to be verified, and after being proved to be successful by authenticated block again
It is distributed to peer node.
According to an exemplary embodiment, it is sorted and organized with ordering joint orderer1, thus ordering joint
Orderer1, which is subordinated to, to be sorted and organized.It is defeated in response to receiving second user in the block chain network of the exemplary embodiment
Enter, can show ordering joint orderer1 in the user interface and be sorted and organized between line, to show ordering joint
Orderer1, which is subordinated to, to be sorted and organized.
In general, being each sorted and organized at least one ordering joint.Therefore, when user is expected that by second user input
Creation is when being sorted and organized the graphical representation of node, and can automatically creating one on a user interface, to be sorted and organized node related to this
The ordering joint of connection and show that the ordering joint is subordinated to the line for being sorted and organized node.In this way, further
The time is saved in the creation for simplifying block chain network, and reduces creation block chain network in the process due to forgetting creation row
Error probability caused by sequence node.
The illustrative methods can also include: to be directed to one or more of nodes creation icon in response to receiving
5th user input, shows the graphical representation of peer node in the user interface;The equity is directed in response to receiving
The figured user of the graphical representation of node and first node input is shown the graphical representation of the certification node
It is connected to the figured line of the first node, to show that the certification node is subordinated to the first node;Response
In receiving the 6th user input for one or more of nodes creation icon, sequence is shown in the user interface
The graphical representation of node;And the graphical representation of the ordering joint and the figure of the second node are directed in response to receiving
The user of expression inputs, and the graphical representation of the ordering joint is connected to the figured company of the second node by display
Line, to show that the ordering joint is subordinated to the second node.
According to an exemplary embodiment, bank A may have more than one physical machine, such as with three physical machines
C1, C2, C3 use organization node Org to indicate as the bank A of organization, using peer node peer1,
Peer2, peer3 indicate three physical machines C1, C2, C3 that bank A has;In addition, be sorted and organized may have it is more than one
Ordering joint, such as there are three ordering joint orderer1, orderer2, orderer3 for tool.In this exemplary embodiment, it rings
Ying Yu receives the first user input and second user input, can only automatically create a peer node peer1 and a sequence
Node orderer1, thus also need other two peer nodes peer2, peer3 of manual creation and other two ordering joints
orderer2、orderer3。
According to illustrative methods, in this exemplary embodiment, user can initiate respectively twice the 5th user input and
6th user input twice with create other two peer nodes peer2, peer3 and other two ordering joint orderer2,
orderer3。
In addition, in this exemplary embodiment, user can also initiate the graphical representation for being directed to peer node peer2 respectively
Figured user input with organization node Org and graphical representation and organization for peer node peer3
The figured user of node Org inputs, with show organization node Org respectively with peer node peer2 and peer3 it
Between line, to show that peer node peer2 and peer3 belong to organization node Org, in other words, physical machine C2 and
C3 belongs to bank A.In addition, in this exemplary embodiment, user can also initiate respectively for ordering joint orderer2
Graphical representation and be sorted and organized node figured user input and for ordering joint orderer3 graphical representation
Be sorted and organized node figured user input, with display be sorted and organized node respectively with ordering joint orderer2 and
Line between orderer3.
In some cases, organization's node may include the more than one peer node for being subordinated to it, be sorted and organized
Node may include its ordering joint of more than one subordinate.Therefore, when user expectation be manually added more peer nodes and
When ordering joint, it can be inputted by the 5th user and the 6th user input to create more peer nodes and ordering joint.
In this way, the flexibility and user interface friendliness of the creation of block chain network are further improved.
The illustrative methods can also include: in response to receiving the first user input, in the user interface
In also show certification node graphical representation and SDK node graphical representation, and show by it is described certification node figure table
Show the figured line for being connected to the first node and the graphical representation of the SDK node is connected to described first
The figured line of node, to show that the certification node and the SDK node are subordinated to the first node respectively.
In Hyperleger, certification (CA) node is responsible for verifying the identity and certificate of node.Authenticating node can be with
Organization's entity authentication is helped to be subordinated to the identity of its all peer nodes.SDK node is responsible for verifying the body of organization
Part and the uniformity for guaranteeing the SDK in network.
It in some embodiments, can be each tissue in order to preferably improve the internal security of organization
Agency node creates the certification node for being subordinated to it.According to an exemplary embodiment, for bank A etc. to security requirement compared with
High organization needs to create the certification node ca for being subordinated to it, and in response to receiving the first user input, can
To show the graphical representation and the graphical representation for the organization node Org for indicating bank A of certification node ca in the user interface
Between line.
In some cases, in order to improve organization's internal security, each organization has a certification node.
It therefore, can be on a user interface when user, which is expected that by the first user, inputs the graphical representation of creation organization's node
It automatically creates a certification node associated with organization's node and shows that the certification node is subordinated to this group of loom
The line of structure node.
In this way, the time is saved in the creation for further simplifying block chain network, and reduces creation block
Due to the probability of safety issue caused by forgetting creation certification node during chain network.
It in some embodiments, can be each organization in order to improve the safety of entire block chain network
Node creates the SDK node for being subordinated to it.According to an exemplary embodiment, higher to security requirement for bank A etc.
Organization needs to create the SDK node sdk for being subordinated to it, and in response to receiving the first user input, Ke Yi
It is shown in user interface between the graphical representation of SDK node sdk and the graphical representation of the organization node Org of expression bank A
Line.
In some cases, in order to improve the internet security of entire block chain network, each organization has one
SDK node.Therefore, when user be expected that by the first user input creation organization's node graphical representation when, can with
A SDK node associated with organization's node is automatically created on the interface of family and shows that the SDK node is subordinated to this
The line of organization's node.In this way, the creation for further simplifying block chain network is saved the time, and is dropped
Due to the probability of Network Security Issues caused by forgetting to create SDK node during low creation block chain network.
The illustrative methods can also include: to be directed to one or more of nodes creation icon in response to receiving
Third user input, shows the graphical representation of certification node in the user interface;And in response to receiving for described
The graphical representation of node and the figured user input of the first node are authenticated, is shown the figure of the certification node
The figured line for being connected to the first node is indicated, to show that the certification node is subordinated to the first node;
It is directed to the fourth user input of one or more of nodes creation icon in response to receiving, is shown in the user interface
The graphical representation of SDK node;And the graphical representation of the SDK node and the figure of the first node are directed in response to receiving
The graphical representation of the SDK node is connected to the figured company of the first node by user's input that shape indicates, display
Line, to show that the SDK node is subordinated to the first node.
According to some embodiments, it is optional for authenticating node.It requires lower for Safety of internal network or only has
The organization for having a small amount of peer node and being easy for workers to certification can not also automatically create when creating organization's node
Authenticate node.If requirement of the subsequent organization to Safety of internal network improves or is added a large amount of equities to be certified
Node can be then manually added and the tissue by creating the third user input of icon for one or more of nodes
The associated certification node of agency node, and pass through the figure of graphical representation and the first node for the certification node
The user that shape indicates inputs to show line between the two to show subordinate relation.
In this way, it when user's expectation is manually added certification node, can be inputted by third user come manually
Creation certification node, to further improve the flexibility and user interface friendliness of the creation of block chain network.
According to some embodiments, SDK node is optional.According to some embodiments, for there is certain internet security
It is required that block chain network for, can only have a SDK node in each block chain network.If organization wishes hand
It is dynamic that SDK node is added, then it can be added manually by creating the fourth user input of icon for one or more of nodes
Enter SDK node associated with organization's node, and the graphical representation and described first by being directed to the SDK node
The figured user of node inputs to show line between the two to show subordinate relation.
In this way, it when user's expectation is manually added SDK node, can be created manually by fourth user input
SDK node is built, to further improve the flexibility and user interface friendliness of the creation of block chain network.
The illustrative methods can also include: to show the graphical representation of the network node of the block chain network.In addition,
The illustrative methods can also include: also to show in response to receiving the first user input by the first node
Graphical representation is connected to the figured line of the network node.
According to some embodiments, it can indicate whole using the graphical representation of the network node shown on a user interface
The network connection of a block chain network.According to some embodiments, the figure of network node is shown while can showing user interface
Shape indicates.According to some embodiments, the 7th user of one or more node creation icons can also be directed in response to receiving
Input, shows the graphical representation of network node on a user interface.
According to some embodiments, line can be used to connect the graphical representation of the network node and each group loom
The graphical representation of structure node, to show to connect with communicating with one another between these organization's nodes.
By showing the graphical representation of the network node on a user interface so that the graphical representation of network node and above
The graphical representation for the organization's node having been described, the graphical representation of peer node, is recognized at the graphical representation for being sorted and organized node
The card graphical representation of node, the graphical representation of SDK node, the graphical representation of ordering joint form tree-shaped on a user interface jointly
Topology diagram.There are three levels for the tree-shaped topology diagram tool, wherein serving as the root section of the tree-shaped topology diagram
The graphical representation of the network node of point is as the first level, the graphical representation of organization's node and the figure for being sorted and organized node
Indicate graphical representation, the graphical representation of SDK node as the graphical representation of the second level and peer node, certification node
Graphical representation with ordering joint is as third level.
Using the graphical representation of network node as root node, entire block chain network is allowed to be expressed as tree-shaped topology
Structure chart, it is more beautiful, and the node of each type is well arranged, train of thought is clear, further improves creation block link network
The user experience of the user interface of network.
Certainly, it will be understood by those skilled in the art that the network node can be virtual logical node, each group is indicated
Knit the wired and or wireless communications connection that can have between agency node.It, can not also be in user according to some embodiments
Network node is shown on interface.It, can be in response to for the figure for receiving Liang Ge organization node according to some embodiments
The user of expression inputs, and display is connected to the line between the graphical representation of Liang Ge organization node in the user interface, with
Show that the two organization's nodes can connect with communicating with one another.
According to some embodiments, the user interface can also include knot removal icon and line deletes icon, and
And the illustrative methods can also include: the figure that the knot removal icon and node to be deleted are directed in response to receiving
The user of expression inputs, and deletes the graphical representation of the node to be deleted from the user interface and is connected to the section to be deleted
The line of point;And in response to receiving the user's input for being directed to the line and deleting icon and line to be deleted, from the use
Delete the line to be deleted in family interface.
According to some embodiments, knot removal icon and line are deleted icon and can be directly displayed on a user interface,
It can just be shown when selecting node and/or line to be deleted.
In this way, user deletes the node and/or line created in which can be convenient, to further improve
The flexibility and user interface friendliness of block chain network creation.
The illustrative steps for introducing deployment block chain network according to an exemplary embodiment of the present disclosure are described more fully below.
For the convenience of description, in the illustrative steps of deployment block chain network, it is assumed that block chain type is
Hyperledger, the environmental form of deployment is Kubernetes, it will be appreciated by those skilled in the art that these assume not structure
The limitation of the pairs of disclosure.
According to some embodiments, in the illustrative methods according to the disclosure, the type of the block chain network be can be
Hyperledger, the deployed environment can be Kubernetes, and described by calling the API of deployed environment described
The first node that the block chain network is created in deployed environment may include: the creation name sky in Kubernetes environment
Between;The bibliographic structure of block chain network is created in the NameSpace;It is each organization's section in the NameSpace
Point creation certificate;It is that the peer node, the ordering joint and the SDK node distribute port simultaneously in the NameSpace
Generate yaml file;And it is based on the yaml file, create the pod of the peer node, the pod of the ordering joint and institute
State the pod of SDK node.
According to some embodiments, disposing block chain may include:
The request of deployment block chain network is received, designed block chain network in the user interface has been read and has opened up
Structure chart is flutterred, wherein topology diagram includes the topology information of block chain network, and topology information includes organization
Node, peer node, the information for authenticating node and SDK node;
Background network management module instantiates Kubernetes environmental treatment interface module, and at Kubernetes environment
Reason interface module is by calling Kubernetes API to be connected to Kubernetes environment;
CreateNamespace function is called to create name in Kubernetes environment according to the title of block chain network
Space, and pass through the bibliographic structure of KubernetesCommandRun function creation Fabric network under NameSpace;
It is called in the NameSpace in Kubernetes environment by KubernetesCommandRun function preset
Fabric script is that each organization's node creates related credentials according to the title of organization's node and domain name;
Call NetworkOrderProcess function, NetworkPeerProcess function and NetworkSdkProcess
Function to be respectively ordering joint, peer node and SDK node distribution port in the NameSpace of Kubernetes environment, protects
The port is deposited, and generates respective yaml file;And
According to the yaml file of each self-generating, the pod of peer node, pod the and SDK node of ordering joint is respectively created
pod。
According to some embodiments, the display for the block chain network that can also be updated.
According to some embodiments, can also include: scanning at predetermined time intervals according to the illustrative methods of the disclosure described in
Block chain network;The network state and in the database more of the first node in the block chain network is obtained by API
The new network state;Read the network state updated in the database;And the network state based on update, in the use
The block chain network of update is shown in the interface of family.
According to some embodiments, the method for updating the block chain network of deployment may include: that background network management module exists
It is to have disposed, and network state is notified to detect that the network state in the information of the block chain network is modified after deployment block chain network
Module is listened to listen to network state;Network state is listened to module and is scanned at predetermined time intervals to network topology structure,
It calls checkFabricNodeStatus function to obtain the status information of network node each node, and updates and arrive database
In;And network state is read from database by API, the state of each node in more new block chain network, in user interface
The upper updated block chain network of display.
After deployment block chain network success, channel can also be created for one or more peer nodes.
The illustrative methods can also include: to be directed to any one node in the block chain network in response to receiving
Figured user input, display function selects menu, and function selection menu includes channel creation option;And it rings
Ying Yu receives user's input for channel creation option, and the literal table in the channel is shown in the user interface
Show.
In Hyperledger, channel (channel) is a logical construction, is made of the node being physically present.One
A channel includes a distributed account book, so it also will be understood that forming a block chain at a channel.One peer node
It can be added in multiple channels, but the account book in each channel is isolation, realizes the data isolation between different channels and guarantor
It is close.Therefore, by using multiple channels, multiple account books can be generated in a block chain network.
According to some embodiments, the figured user input for any one node can be double-click, long-pressing
The graphical representation of any one node, and if input equipment is mouse, it can be and click any one node by right key
Graphical representation.
According to some embodiments, user's input for channel creation option may include creating to the channel
The selection of option.According to some embodiments, user's input for channel creation option can also include logical to creating
The tunnel name in road and user's input of channel alias, and can be in user to the user of tunnel name and channel alias input
It shows, can also be shown in the dialog box newly popped up on interface.
User's input of channel creation option is directed in response to receiving, it is according to the exemplary embodiment of the disclosure
The method in creation channel may include: to identify title, alias and the details in the channel to be created of user's input, to service
Device submits the request in creation channel;Server receives request data, and the legitimacy of data is submitted in verification, and is existed according to tunnel name
Duplicate checking is carried out in database, such as submits the illegal direct illegal error message of returned data of data;Server will receive
Valid data gives the creation that network management module carries out channel;Network management module generates configuration file according to network structure;
Network management module executes the script of creation channel document on backstage according to tunnel name;Network management module calls SDK
Rest API, and the parameters such as organization's title, tunnel name are passed into SDK;SDK receives the parameter of creation channel request
After parsed, obtain common recognition node address and related credentials;Based on parameters such as tunnel names, creation channel request is sent to altogether
Know node;Node of knowing together creates destination channel, returns to creation result;SDK receives returning the result and returning to for creation channel
Upper layer;If SDK creates channel success, channel is saved in database;And server returns to creation to client and leads to
The result in road.
According to some embodiments, shows that the textual representation in the channel can be and show the channel in the user interface
Title.
User interface by creating block chain network further can intuitively create the channel as logical construction, and
And the creation in channel can be associated with arbitrary node, which further improves the flexible of the user interface of creation block chain network
Property and operability.
The illustrative methods can also include: in the graphical representation vicinity of the peer node, also display with it is described
The corresponding channel status diagram of peer node;And the graphical representation of the peer node and described logical is directed in response to receiving
The user of the textual representation in road inputs, and the channel is added in the peer node, and highlight the channel status figure
Show, to show that channel has been added in the peer node.
According to some embodiments, in the graphical representation vicinity of the peer node, also display and the peer node
Corresponding at least one state diagram, and include that channel status illustrates at least one state diagram, channel status diagram can
A variety of different appearances are presented according to corresponding peer node different conditions relevant to channel.According to some embodiments,
It highlights channel status diagram to refer to when not yet channel is added in corresponding peer node, desalinates display channel state diagram
Show, and when corresponding peer node has been added to channel, show that the channel status illustrates in a manner of highlighted.According to some realities
Example is applied, channel status diagram is highlighted and refers to when not yet channel is added in corresponding peer node, shown in a manner of diminution
Show that channel status illustrates, and when corresponding peer node has been added to channel, the channel status figure is shown in the way to enlarge
Show.According to some embodiments, highlights channel status diagram and refers to when not yet channel is added in corresponding peer node,
Display channel state illustrates in a static manner, and when corresponding peer node has been added to channel, it shows in a dynamic way
Show that the channel status illustrates.Certainly, the present disclosure is not limited thereto, can also highlight channel status using various modes appropriate
Diagram, to distinguish whether corresponding peer node is added channel.
In this way, any channel can be added by the user interface in any peer node by user, into one
Step enriches the function and operability of creation block chain network.
It can also be node deployment intelligence contract and the intelligent contract for initializing deployment after creating channel.
The function selection menu can also include intelligent contract deployment option, and the illustrative methods can also wrap
It includes: in the graphical representation vicinity of the peer node, also showing intelligent contract state diagram corresponding with the peer node;
And user's input of the intelligent contract deployment option is directed in response to receiving, intelligent contract is disposed, and highlight
The intelligence contract state diagram, to show that the peer node has disposed intelligent contract.
In Hyperledger, the access control to account book is provided using intelligent contract.Intelligent contract not only as
The core mechanism for encapsulating and simplifying information can also allow for participant voluntarily to write to handle certain affairs executed automatically.
According to some embodiments, at least one state diagram having been described above can also include intelligent contract state
Diagram.According to some embodiments, the appearance and highlighted mode of intelligent contract state diagram can be similar to above
The appearance and highlighted mode for the channel status diagram being described in detail, details are not described herein.
According to some embodiments, is inputted for the user of the intelligent contract deployment option, may include to the intelligence
The selection of energy contract deployment option.According to some embodiments, user's input for the intelligent contract deployment option can be straight
It connects and is shown in the user interface, can also be shown in the dialog box newly popped up.According to some embodiments, for the intelligence
User's input of energy contract deployment option can include but is not limited to upload the intelligent contract pre-set, input intelligent contract
Title, input intelligent contract version number, input intelligent contract tunnel name to be applied, the intelligence that input is pre-set
The development language of contract.According to some embodiments, inputs the version number of intelligent contract, inputs intelligent contract channel name to be applied
Claim, the development language for the intelligent contract that input is pre-set can be inputted by textual mode, the mode that also can choose
Input.
According to some embodiments, after disposing intelligent contract success, the title of intelligent contract may be displayed on corresponding logical
The title vicinity in road, such as lower section, to indicate that the corresponding channel middle has affixed one's name to the intelligence contract.
In this way, user can intuitively dispose intelligent contract and can intuitively be arranged and intelligence to be disposed
It can the relevant attribute information of contract.
After disposing intelligent contract, the intelligent contract disposed can also be initialized.
The function selection menu further includes intelligent contract initialization option, and the illustrative methods can also wrap
It includes: being directed to user's input of the intelligent contract initialization option in response to receiving, initialize intelligent contract, and described
The textual representation for having initialized intelligent contract is shown in user interface.
According to some embodiments, user's input for the intelligent contract initialization option can be directly in the use
Family is shown on interface, can also be shown in the dialog box newly popped up.According to some embodiments, disposed for the intelligent contract
User's input of option can include but is not limited to intelligent contract, addition or the editor of selection no initializtion or delete initialization intelligence
Parameter needed for energy contract.
New dialog box can also be popped up, and can receive before initializing intelligent contract according to some embodiments
The selection for initializing intelligent contract is reaffirmed from user.
According to some embodiments, show that the textual representation for having initialized intelligent contract is included in use in the user interface
The intermediate pop-up at family interface indicates the prompting frame of successful initialization intelligence contract.The textual representation further includes in corresponding intelligence
The title vicinity of energy contract shows initialized textual representation, to show corresponding intelligent contract successful initialization.
In this way, user can more intuitively initialize intelligent contract.
Below in conjunction with Fig. 2, Fig. 3 and Fig. 5 description according to the method for the management block chain network of the disclosure.
Fig. 5 shows according to the exemplary embodiment of the disclosure for managing the stream of the illustrative methods of block chain network
Cheng Tu.
As already described above, the method for managing block chain network according to prior art is very complicated and not intuitive.
For this purpose, the present disclosure proposes a kind of easily operated, intuitive and the maintenance personnel without being proficient in block chain technology management block chains
The method of network.
The method of exemplary embodiment according to figure 5, management block chain network may comprise steps of: display is used
In the user interface of management block chain network, the user interface includes that one or more block chain networks check icon and one
Or multiple block chain network editor icon (steps 501);It is looked into response to receiving for one or more of block chain networks
See user's input of icon, the display block chain network (step 502) in the user interface;And it is directed in response to receiving
The user of one or more of block chain network editor's icons inputs, and edits one or more of block chain networks, and
Compiled block chain network (step 503) is shown in the user interface.Above-mentioned steps 501 described in detail below are to step
Rapid 503.
In step 501, according to some embodiments, the user interface for managing block chain network can be knot above
Close the user interface for being used to manage block chain network of Fig. 2 and Fig. 3 description.The user interface can be following a plurality of types of
The user interface of any electronic equipment in electronic equipment: desktop computer, laptop computer, tablet computer, a number
Word assistant, smart phone etc..
In step 502, according to some embodiments, the use of icon is checked for one or more of block chain networks
Family input may include cursor placement, click, double-click, long-pressing and any kind of user for being adapted to look at block chain network
Input mode.According to some embodiments, cursor placement may include by input equipment by cursor placement in the user interface
It also may include by the way that touch will be on cursor placement icon in the user interface on icon.
In step 503, according to some embodiments, for the use of one or more of block chain network editor's icons
Family input can check that user's input of icon is similar with for one or more of block chain networks, and details are not described herein.
According to the method for the management block chain network of the disclosure, the mode of user's input is very simple and is easy to upper hand.One
Aspect, user only need that management block can be created using the icon having been provided in the graphic user interface according to disclosed method
Chain network carrys out directorial area without code is write without understanding the principle for the various technologies that block chain technology is included in depth
Block chain network.On the other hand, the method according to the management block chain network of the disclosure is very intuitive.
Compared with the method for traditional management block chain network, more according to the method for the management block chain network of the disclosure
Intuitively, the requirement and for maintenance personnel is lower.Non-technical personnel can be used by simple training according to the disclosure
Method manage block chain network, time and human cost is greatly saved.
According to some embodiments, the display block chain network and the compiled block chain network of the display respectively can
To include the topology diagram for showing the block chain network.
According to some embodiments, topology diagram refers to the network structure being made of apparatus for network node and communication media
Figure.Block chain network is to be coupled in one by one or more communication links by the node of one or more identical or different types
The network risen.Topology diagram is particularly suitable for display block chain network and compiled block chain network.
The display of block chain network and compiled block chain network can be made more intuitive using topology diagram, side
Just management of the user to block chain network.
According to some embodiments, the user interface may include the first user interface, and the display area
The topology diagram of block chain network may include: the node that the block chain network is shown in first user interface
Graphical representation;And in first user interface, display connects the line of the node.
According to some embodiments, an example of the first user interface be can be above in association with Fig. 2 description for managing
Exemplary first user interface of block chain network.
According to some embodiments, first user interface can also include node creation icon and block chain network portion
Icon is affixed one's name to, and the illustrative methods can also include: defeated in response to receiving the user for creating icon for the node
Enter, the graphical representation of newly-increased node is shown in first user interface;The newly-increased node is directed in response to receiving
The figured user of graphical representation and existing node input, the newly-increased company of display the connection newly-increased node and existing node
Line;It is directed to block chain network deployment diagram target user input in response to receiving, is based on the newly-increased node and the connection
The newly-increased line of the newly-increased node and existing node, by the newly-increased node deployment into block chain network.
According to some embodiments, which can be any type of node.According to some examples, the newly-increased node
It can be organization's node and/or peer node.
According to some embodiments, existing node can be any type of node.According to some examples, which is
Peer node, existing node can be organization's node, and be directed to the peer node and organization in response to receiving
The user of node inputs, and the newly-increased line of connection peer node and institutional framework node can be shown, to indicate that this is newly-increased
Peer node is subordinated to existing organization's node.According to some examples, which is organization's node, is had
Node can be network node, and user's input of organization's node and network node is directed in response to receiving, can
To show the newly-increased line of connection organization's node and network node, to indicate that newly-increased organization's node can communicate
Ground and network connection.
According to some embodiments newly, above-mentioned newly-increased node can be increased to the relationship portion between node and existing node according to this
It affixes one's name in the block chain network being currently running.
In this way, for the block chain network disposed and be currently running, user can be directly for managing
Newly-increased node is added in first user interface of block chain network, and then increases this newly node deployment into block chain network,
Without stopping the operation of entire block chain network, which greatly enhances the flexibility of the management to block chain network and can operate
Property.
According to some embodiments, the node may include first node, and if the method can also include:
The block chain network has been disposed, then in the graphical representation vicinity of the first node, also display and the first node pair
First state diagram, the second state diagram, third state diagram and the 4th state diagram answered, wherein if the first segment
Channel has been added in point, then highlights the first state diagram, if the first node has disposed intelligent contract, protrude
It shows the second state diagram, if the channel that the first node is added has generated block chain, highlights described
Third state diagram, if the channel that the first node is added has been traded, highlights the 4th state diagram
Show.
According to some embodiments, first node for example can be pair in the block chain network based on Hyperledger
Equal nodes.
It, can be in the first segment in order to preferably manage deployed block chain network according to some embodiments
Point is disposed about one or more states diagram, for example, one, two, three, four, or more.Each state diagram can
To indicate a kind of state associated with first node.According to some embodiments, first state diagram can indicate and first segment
The associated state in channel that point is added, the second state diagram can indicate associated with the intelligent contract that first node is disposed
State, third state diagram can indicate the associated state of block chain being added with first node, and the 4th state diagram can be with
Indicate state associated with the transaction occurred in the block chain that first node is added.Certainly, the present disclosure is not limited thereto, state diagram
Show the state that also may indicate that other than above-mentioned four kinds states associated with first node, for example, state diagram can be with
Indicate state associated with the common recognition occurred in the block chain that first node is added.
According to some embodiments, one or more state diagrams can be centered on the graphical representation of first node in fan
Shape is arranged in the figured top of first node, and but the present disclosure is not limited thereto, and one or more states diagram can also be with
Fan-shaped figured left, upper left side, upper right side, the right side for being arranged in first node centered on the graphical representation of first node
Side, lower right, lower section, lower left etc..According to some embodiments, one or more states diagram can be suitable for showing the with any
The mode of the state of one node is arranged near the graphical representation of first node.
In this way it is possible to state associated with first node more intuitively be shown, convenient for user to block chain
The management of network.
According to some embodiments, the method for the management block chain network can also include: in response to for described the
User's input of three condition diagram, shows block information corresponding with the first node;And in response to being directed to the third
User's input of state diagram, shows Transaction Information corresponding with the first node.
According to some embodiments, the method for the management block chain network can also include: described highlighted
The third state illustrates vicinity, and display shows that the first of the block height of generated block chain counts;It is highlighted described
The 4th state illustrate vicinity, display shows that the second of the number of transaction occurred counts.
According to some embodiments, first counts figured center and the third state that can be arranged in first node
On the extended line of the line of diagram, second counts the figured center that can be arranged in first node and the 4th state diagram
Line extended line on.Certainly, the present disclosure is not limited thereto, and the first counting and the second counting can be located at third state figure
Show and illustrated at any position suitable for display counting in vicinity with the 4th state, as long as not obscuring each other.
In this way it is possible to more intuitively show the number of transaction and current block occurred in current block chain
Height, facilitate management of the user to block chain network.
According to the illustrative methods of management block chain network, the type of the block chain network can be Hyperledger,
The first node can be peer node, and the node can also include as peer node or certification node or SDK node
Or the second node of network node, and if the block chain network has been disposed, in the graphical representation of the first node
Vicinity can highlight operating status diagram corresponding with the first node, or in the figure table of the second node
Show that vicinity can highlight operating status diagram corresponding with the second node.
First node can also be highlighted other than the state diagram of display first node according to some embodiments
It is illustrated with the operating status of second node.According to some embodiments, highlighted in first node and/or second node vicinity
Operating status diagram show that first node and/or second node be deployed to the block chain by disposing block chain network
In network.It, can be only as first node if the type of block chain network is Hyperledger according to some examples
Peer node vicinity highlight corresponding with peer node operating status diagram, can also be in pair as second node
Equal nodes or certification node or SDK node or network node vicinity highlight and peer node or certification node or SDK
Node or the corresponding operating status diagram of network node.According to some examples, operating status diagram be can be around first node
And/or figured circle, triangle, the rectangle etc. indicated with dotted line or realization of second node, but the present disclosure is not limited to
This.According to some examples, highlights operating status diagram and can be and dynamically highlight operating status diagram.For example, such as
Fruit operating status diagram is represented by dotted lines, and highlighting operating status diagram can be the fortune that rotational display is represented by dotted lines
Dynamic state diagram;If motion state diagram be to realize and indicate, highlight motion state illustrate can be Zoom display with
The motion state diagram that solid line indicates.
In this way it is possible to be more intuitive to see whether block chain network deployed and block chain network in
Which node it is deployed, facilitate management of the user to block chain network.
According to some embodiments, if it may include: company, the line institute that the display, which connects the line of the node,
The state of two nodes connect is normal, then shows the line using the first color;If two that the line is connected
The state of any of node is exception, then shows the line using the second color;Wherein, first color is different from institute
State the second color.According to some embodiments, the exception may include that the nodes break down and/or the node disconnect
With the connection of the block chain network.According to some embodiments, first color can be green, and second color can
To be red.
According to some embodiments, line can be shown by different colors, and then shows two sections of line connection
Whether the state of point is abnormal.As described above, for example, can show two nodes of line connection by the line being displayed in red
One or two of be abnormal, can by green line show the line connection two nodes it is normal.But this
It discloses without being limited thereto, can show line using more than two kinds of colors.It, can be by the company that is displayed in red according to some examples
Line shows that two nodes of line connection are abnormal, can be by showing that orange line shows the two of line connection
One in a node is abnormal, and can show that two nodes of line connection are normal by the line of green.According to
Some examples can show that event occurs at least one node in two nodes of line connection by the line being displayed in red
Barrier can show that at least one node in two nodes of line connection disconnects and the area by showing orange line
The connection of block chain network can show that two nodes of line connection are normal by the line of green.
It should be noted that the different colours of line in some cases are shown above only by some examples, according to the disclosure
Exemplary embodiment, the exception of various situations can also be shown using any color.
In this way it is possible to which the case where more intuitively showing current block chain network interior joint, facilitates user couple
The management of block chain network.
Below by by taking the block chain network based on Hyperledger as an example, the exemplary reality according to the disclosure is described in detail
Apply the illustrative methods of the management block chain network of example.
According to the illustrative methods of management block chain network, the type of the block chain network can be Hyperledger,
And the graphical representation of the node of the display block chain network may include: the group loom for showing the block chain network
The graphical representation of structure node;Show the graphical representation for being sorted and organized node of the block chain network;Show the block link network
The graphical representation of the peer node of network;Show the graphical representation of the ordering joint of the block chain network;Show the block chain
The graphical representation of the certification node of network;Show the graphical representation of the SDK node of the block chain network;And the display area
The graphical representation of the network node of block chain network.
The block chain network based on Hyperledger is described in detail in the method for creation block chain network above
In include various nodes, wherein various nodes include but is not limited to network node, institutional framework node, be sorted and organized node,
Peer node, certification node, SDK node and ordering joint.Therefore, according to some embodiments, in management Hyperledger type
Block chain network when, can show graphical representation, the organization's node, the figure table for being sorted and organized node of network node
Show, the figure table of the graphical representation of peer node, the graphical representation for authenticating node, the graphical representation of SDK node and ordering joint
Show.
In this way it is possible to more intuitively show the various nodes in the block chain network of Hyperledger type,
Facilitate management of the user to block chain network.
According to the illustrative methods of management block chain network, it may include: aobvious that the display, which connects the line of the node,
Show connect the peer node graphical representation, it is described certification node graphical representation and the SDK node graphical representation with
The figured line of organization's node;The graphical representation that display connects the ordering joint is sorted and organized with described
The figured line of node;And display connects the graphical representation of organization's node and described is sorted and organized node
Graphical representation and the network node figured line.
The block chain network based on Hyperledger is described in detail in the method for creation block chain network above
In include various nodes between possible relationship, wherein various nodes include but is not limited to network node, institutional framework node,
It is sorted and organized node, peer node, certification node, SDK node and ordering joint.Therefore, it according to some embodiments, is managing
When the block chain network of Hyperledger type, it can show that peer node, certification node and SDK node and organization save
Existing relationship between point, can show ordering joint and be sorted and organized existing relationship between node, can also show tissue
Structure node and it is sorted and organized existing relationship between node and network node.
In this way it is possible to more intuitively show in the block chain network of Hyperledger type various nodes it
Between existing relationship, facilitate management of the user to block chain network.
According to the illustrative methods of management block chain network, the user interface may include second user interface, described
Second user interface may include first area and second area;And the illustrative methods can also include: described
In one region, the thumbnail of each of the block chain network topology diagram of block chain network is shown;And institute
It states in second area, shows the information of each of block chain network block chain network.
According to some embodiments, an example at second user interface be can be above in association with Fig. 3 description for managing
The exemplary second user interface of block chain network, second user interface can show one or more block chain networks.According to
Some embodiments, referring to Fig. 3, first area can be chain space area 310, and second area can be chained list area 320.According to some
Embodiment, the thumbnail of topology diagram are the topology diagrams after reducing according to a certain percentage.According to some embodiments,
The thumbnail of topology diagram only shows the line between the graphical representation and node of various nodes, and but the present disclosure is not limited thereto.
In this way it is possible to show multiple block chain networks to be managed in a user interface, facilitate use
Management of the family to multiple block chain networks.In addition, two different regions of each block chain network in second user interface
In shown by two different modes, not only can intuitively show each block chain network, but also can check each block chain
The information of network further facilitates management of the user to multiple block chain networks.
According to the illustrative methods of management block chain network, the display thumbnail may include breviary described in Dynamically Announce
Figure.According to the illustrative methods of management block chain network, the Dynamically Announce thumbnail may include: in response to receiving protrusion
The user's input for showing the first block chain network in the block chain network, highlights opening up for the first block chain network
Flutter the thumbnail of structure chart.It is described to highlight in the block chain network according to the illustrative methods of management block chain network
The first block chain network user input include: that user's input position indicating cursor is placed on described in the first area
On the thumbnail of the topology diagram of first block chain network;Or in the selection second area with the first block link network
The display of the information of the corresponding block chain network of network.
According to some embodiments, Dynamically Announce thumbnail can also include that thumbnail is shown as centered on network node
Slowly rotation.According to some embodiments, indicating cursor, which is placed on thumbnail, be can be by input equipment or by touch-sensitive table
The cursor dwell of face indicating positions is not clicked actively, is double-clicked, the long-pressing thumbnail on thumbnail.In addition, by thumbnail cloth
The the first block chain network selected in block chain network can be protruded well at the general center of first area by setting.According to
Some embodiments select the display of the information of block chain network corresponding with the first block chain network in the second area
It can be the display for clicking the information of the block chain network.
In this way it is possible to the first block chain network that user it is expected selection be highlighted, to promote user's body
It tests, user is facilitated to be managed desired block chain network.
According to the illustrative methods of management block chain network, the information of the display block chain network may include using column
Table shows the information of the block chain network, each of each column of the list and the information of the block chain network area
The information of block chain network is corresponding, and each of every a line of the list and described block chain network block chain network are corresponding,
So that every a line of the list is corresponding with each thumbnail.By way of list the information of display block chain network for
It is more intuitive and clear for user.In addition, the information of the block chain network of the every a line of list is corresponding with thumbnail, so that user
The information that block chain network can be not only obtained from patterned representation, can also be accordingly from textual expression side
The information of block chain network is obtained in formula.
The illustrative methods can also include: to input in response to the user for any one thumbnail, highlight
Selected thumbnail, and highlight a line corresponding with selected thumbnail of the list;And in response to needle
User's input to any a line of the list, highlights selected a line, and highlight and selected one
The corresponding thumbnail of row.
According to some embodiments, no matter by thumbnail one block chain network of selection, or pass through the row selection of list
One block chain network can make the two highlight.In this way it is possible to further intuitively establish the attachment of interest
Connection between the topology diagram of the block chain network of prestige and the information of block chain network, facilitates user to block chain network
Management.
According to the illustrative methods of management block chain network, the information of the block chain network may include block chain network
Title and the version of the block chain network, network state, operating status and one or more in renewal time.According to
The illustrative methods of block chain network are managed, the network state may include in design, dispose and have been turned on;The operation
State may include in nothing, part operation and operation;When the network state is in design, the operating status can be
Nothing.
According to the illustrative methods of management block chain network, the one or more of block chain networks of editor be can wrap
It includes: editing the information of one or more of block chain networks;And the one or more of block chain networks of editor node,
The information of relationship and channel and intelligent contract between node.According to some embodiments, user can lead to according to actual needs
The user interface of management block chain network is crossed to adjust the framework of block chain network and/or the information of block chain network.With in this way
Mode, can enrich management block chain network means.
Below with reference to the electronic equipment of Fig. 6 description according to one aspect of the disclosure.
Fig. 6 shows the structural frames that can be applied to example electronic device according to the exemplary embodiment of the disclosure
Figure.
An aspect of this disclosure may include a kind of electronic equipment, and the electronic equipment includes processor and storage program
Memory, described program include instruction, and described instruction executes the processor aforementioned any when being executed by the processor
Method.
Referring to Fig. 6, according to some embodiments, electronic equipment 600 includes processor 601 and memory 602, wherein handling
Device 601 and memory 602 are communicatively coupled each other, and memory 602 stores program, and described program is included in by the processor
The processor is set to execute the instruction of aforementioned any method when execution.Electronic equipment 600 can be but not limited to work station, service
Device, desktop computer, laptop computer, tablet computer, personal digital assistant, smart phone, car-mounted computer or its is any
Combination.
An aspect of this disclosure may include the computer readable storage medium for storing program, and described program includes instruction,
Described instruction causes the electronic equipment to execute aforementioned any method in the processor execution by electronic equipment.
It is that the computer readable storage medium can be non-transitory and can be realization according to some embodiments
Any storage equipment of data storage, and can include but is not limited to disc driver, optical storage apparatus, solid-state storage
Device, floppy disk, flexible disk, hard disk, tape or any other magnetic medium, CD or any other optical medium, ROM (read-only storage
Device), RAM (random access memory), cache memory and/or any other memory chip or box, and/or computer
Any other medium of data, instruction and/or code can be read from.
Some illustrative aspects of the disclosure are described below.
A kind of method for managing block chain network of aspect 1., comprising:
Show that the user interface for managing block chain network, the user interface include one or more block chain networks
Check icon and one or more block chain network editor's icons;
In response to receiving the user's input for being directed to one or more of block chain networks and checking icon, in the user
Display block chain network in interface;And
User's input of one or more of block chain network editor's icons, editor described one are directed in response to receiving
A or multiple block chain networks, and compiled block chain network is shown in the user interface.
The method according to aspect 1 of aspect 2., wherein the display block chain network and the compiled area of the display
Block chain network respectively includes showing the topology diagram of the block chain network.
The method according to aspect 2 of aspect 3., wherein the user interface includes the first user interface, and
The topology diagram of the display block chain network includes:
In first user interface, the graphical representation of the node of the block chain network is shown;And
In first user interface, display connects the line of the node.
The method according to aspect 3 of aspect 4., the node include first node, and
The method also includes:
If the block chain network has been disposed, in the graphical representation vicinity of the first node, also display and institute
State the corresponding first state diagram of first node, the second state diagram, third state diagram and the 4th state diagram, wherein
If channel has been added in the first node, the first state diagram is highlighted,
If the first node has disposed intelligent contract, the second state diagram is highlighted,
If the channel that the first node is added has generated block chain, the third state diagram is highlighted,
If the channel that the first node is added has been traded, the 4th state diagram is highlighted.
The method according to aspect 4 of aspect 5., further includes:
In response to user's input for third state diagram, block letter corresponding with the first node is shown
Breath;And
In response to user's input for the 4th state diagram, transaction letter corresponding with the first node is shown
Breath.
The method according to aspect 4 of aspect 6., further includes:
Vicinity is illustrated in the highlighted third state, display shows the block height of generated block chain
First counts;
Vicinity is illustrated in highlighted 4th state, display shows the second meter of the number of the transaction occurred
Number.
The method according to aspect 3 of aspect 7., wherein described to show that the line for connecting the node includes:
If the state for two nodes that the line is connected is normal, the line is shown using the first color;
If the state of any of two nodes that the line is connected is exception, institute is shown using the second color
State line;
Wherein, first color is different from second color.
The method according to aspect 7 of aspect 8., wherein the exception includes the nodes break down and/or described
Node disconnects the connection with the block chain network.
The method according to aspect 7 of aspect 9., wherein first color is green, and second color is red.
The method according to any one of aspect 3 to 9 of aspect 10., wherein the type of the block chain network is
Hyperledger, and the graphical representation of the node of the display block chain network includes:
Show the graphical representation of organization's node of the block chain network;
Show the graphical representation for being sorted and organized node of the block chain network;
Show the graphical representation of the peer node of the block chain network;
Show the graphical representation of the ordering joint of the block chain network;
Show the graphical representation of the certification node of the block chain network;
Show the graphical representation of the SDK node of the block chain network;And
Show the graphical representation of the network node of the block chain network.
The method according to aspect 10 of aspect 11., wherein described to show that the line for connecting the node includes:
Display connects the graphical representation of the peer node, the graphical representation of the certification node and the SDK node
The figured line of graphical representation and organization's node;
The graphical representation of the display connection ordering joint and the figured line for being sorted and organized node;And
Display connect organization's node graphical representation and the graphical representation for being sorted and organized node with it is described
The figured line of network node.
The method according to aspect 4 of aspect 12., wherein the type of the block chain network is Hyperledger, institute
Stating first node is peer node, and the node further includes as peer node or certification node or SDK node or network node
Second node, and
If the block chain network has been disposed, highlighted and institute in the graphical representation vicinity of the first node
State first node corresponding operating status diagram, or the graphical representation vicinity of the second node highlight with it is described
The corresponding operating status diagram of second node.
The method according to aspect 2 of aspect 13., wherein the user interface includes second user interface, and described second
User interface includes first area and second area;And the method also includes:
In the first area, each of the block chain network topology diagram of block chain network is shown
Thumbnail;And
In the second region, the information of each of block chain network block chain network is shown.
The method according to aspect 13 of aspect 14., wherein the display thumbnail includes breviary described in Dynamically Announce
Figure.
The method according to aspect 14 of aspect 15., wherein the Dynamically Announce thumbnail includes:
User's input of the first block chain network in the block chain network is highlighted in response to receiving, it is prominent aobvious
Show the thumbnail of the topology diagram of the first block chain network.
The method according to aspect 15 of aspect 16., wherein firstth area highlighted in the block chain network
The user of block chain network inputs
User's input position indicating cursor is placed on to the topology knot of the first block chain network described in the first area
On the thumbnail of composition;Or
Select the display of the information of block chain network corresponding with the first block chain network in the second area.
The method according to aspect 13 of aspect 17., wherein the information of the display block chain network includes using list
Show the information of the block chain network, each of each column of the list and the information of the block chain network block
The information of chain network is corresponding, and each of every a line of the list and described block chain network block chain network are corresponding, makes
The every a line for obtaining the list is corresponding with each thumbnail.
The method according to aspect 17 of aspect 18., further includes:
It is inputted in response to the user for any one thumbnail, highlights selected thumbnail, and prominent aobvious
Show a line corresponding with selected thumbnail of the list;And
In response to user's input of any a line for the list, selected a line is highlighted, and prominent
Show thumbnail corresponding with selected a line.
The method according to any one of aspect 13 to 18 of aspect 19., wherein the information of the block chain network includes
The version of the title of block chain network and the block chain network, network state, operating status and one in renewal time
Or it is multinomial.
The method according to aspect 3 of aspect 20., wherein first user interface further include node creation icon and
Block chain network deployment icon, and the method also includes:
It is directed to user's input of node creation icon in response to receiving, is shown in first user interface new
Increase the graphical representation of node;
Has the figure of node in the graphical representation and the block chain network that are directed to the newly-increased node in response to receiving
User's input that shape indicates, the newly-increased line of display the connection newly-increased node and existing node;
It is directed to block chain network deployment diagram target user in response to receiving and inputs, based on the newly-increased node and described
The newly-increased line for connecting the newly-increased node and existing node, by the newly-increased node deployment into block chain network.
The method according to aspect 1 of aspect 21., wherein the one or more of block chain networks of the editor include:
Edit the information of one or more of block chain networks;And
Edit relationship between the nodes of one or more of block chain networks, node and channel and intelligent contract
Information.
22. a kind of electronic equipment of aspect, comprising:
Processor;And
The memory of program is stored, described program includes instruction, and described instruction makes described when being executed by the processor
Processor executes the method according to any one of aspect 1 to 21.
Aspect 23. it is a kind of store program computer readable storage medium, described program include instruction, described instruction by
When the processor of electronic equipment executes, the electronic equipment is made to execute the method according to any one of aspect 1 to 21.
Although embodiment of the disclosure or example is described with reference to the accompanying drawings, it should be appreciated that above-mentioned method, system and
Equipment is only exemplary embodiment or example, and the scope of the present invention is not limited by these embodiment or examples, but only
By after authorizing claims and its equivalency range limit.Various elements in embodiment or example can be omitted or
It can be substituted by its equivalent elements.Furthermore, it is possible to execute each step by being different from order described in the disclosure.Further
Ground can combine the various elements in embodiment or example in various ways.It is important that being described herein with the evolution of technology
Many elements can be replaced by the equivalent elements occurred after the disclosure.
Claims (10)
1. a kind of method for managing block chain network, comprising:
Show that the user interface for managing block chain network, the user interface include that one or more block chain networks are checked
Icon and one or more block chain network editor's icons;
In response to receiving the user's input for being directed to one or more of block chain networks and checking icon, in the user interface
Middle display block chain network;And
In response to receive be directed to one or more of block chain network editor's icons user input, edit it is one or
Multiple block chain networks, and compiled block chain network is shown in the user interface.
2. according to the method described in claim 1, wherein, the display block chain network and the compiled block chain of the display
Network respectively includes showing the topology diagram of the block chain network.
3. the user interface includes the first user interface according to the method described in claim 2, wherein, and
The topology diagram of the display block chain network includes:
In first user interface, the graphical representation of the node of the block chain network is shown;And
In first user interface, display connects the line of the node.
4. according to the method described in claim 3, the node includes first node, and
The method also includes:
If the block chain network has been disposed, in the graphical representation vicinity of the first node, also display and described the
The corresponding first state diagram of one node, the second state diagram, third state diagram and the 4th state diagram, wherein
If channel has been added in the first node, the first state diagram is highlighted,
If the first node has disposed intelligent contract, the second state diagram is highlighted,
If the channel that the first node is added has generated block chain, the third state diagram is highlighted,
If the channel that the first node is added has been traded, the 4th state diagram is highlighted.
5. according to the method described in claim 4, further include:
In response to user's input for third state diagram, block information corresponding with the first node is shown;With
And
In response to user's input for the 4th state diagram, Transaction Information corresponding with the first node is shown.
6. according to the method described in claim 4, further include:
Vicinity is illustrated in the highlighted third state, display shows the first of the block height of generated block chain
It counts;
Vicinity is illustrated in highlighted 4th state, display shows that the second of the number of the transaction occurred counts.
7. according to the method described in claim 3, wherein, the line that the display connects the node includes:
If the state for two nodes that the line is connected is normal, the line is shown using the first color;
If the state of any of two nodes that the line is connected is exception, the company is shown using the second color
Line;
Wherein, first color is different from second color.
8. according to the method described in claim 7, wherein, the exception includes the nodes break down and/or the node
Disconnect the connection with the block chain network.
9. second color is red according to the method described in claim 7, wherein, first color is green.
10. the method according to any one of claim 3 to 9, wherein the type of the block chain network is
Hyperledger, and the graphical representation of the node of the display block chain network includes:
Show the graphical representation of organization's node of the block chain network;
Show the graphical representation for being sorted and organized node of the block chain network;
Show the graphical representation of the peer node of the block chain network;
Show the graphical representation of the ordering joint of the block chain network;
Show the graphical representation of the certification node of the block chain network;
Show the graphical representation of the SDK node of the block chain network;And
Show the graphical representation of the network node of the block chain network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910600770.2A CN110308962B (en) | 2019-07-04 | 2019-07-04 | Method, electronic device, and medium for managing block chain network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910600770.2A CN110308962B (en) | 2019-07-04 | 2019-07-04 | Method, electronic device, and medium for managing block chain network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110308962A true CN110308962A (en) | 2019-10-08 |
CN110308962B CN110308962B (en) | 2022-08-23 |
Family
ID=68078871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910600770.2A Active CN110308962B (en) | 2019-07-04 | 2019-07-04 | Method, electronic device, and medium for managing block chain network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110308962B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110852596A (en) * | 2019-11-06 | 2020-02-28 | 无锡功恒精密机械制造有限公司 | Process design method and design module |
CN110933189A (en) * | 2020-02-10 | 2020-03-27 | 北京启迪区块链科技发展有限公司 | Fabric-based block chain network deployment method, device, equipment and medium |
CN111245624A (en) * | 2020-01-14 | 2020-06-05 | 杭州趣链科技有限公司 | Multi-type block chain deployment management system and method |
CN111355780A (en) * | 2020-02-18 | 2020-06-30 | 杭州云象网络技术有限公司 | Block chain-based Internet of things monitoring management method and system |
CN111754658A (en) * | 2020-07-03 | 2020-10-09 | 中国工商银行股份有限公司 | Training management method and device and electronic equipment |
CN112004055A (en) * | 2020-07-31 | 2020-11-27 | 西安万像电子科技有限公司 | Image management method, system and computer readable storage medium |
CN113114488A (en) * | 2021-03-29 | 2021-07-13 | 明链科技(深圳)有限公司 | Platform support mode for managing existing block chain network |
US11113241B1 (en) | 2020-08-22 | 2021-09-07 | Tyson York Winarski | Computer application for blockchaining files through a graphical user interface |
US12131168B1 (en) * | 2023-04-18 | 2024-10-29 | Servicenow, Inc. | Outcome-oriented automation platform |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5910803A (en) * | 1996-08-14 | 1999-06-08 | Novell, Inc. | Network atlas mapping tool |
CN101834735A (en) * | 2009-03-11 | 2010-09-15 | 北京启明星辰信息技术股份有限公司 | Display method and display device of large-scale network node topological structure |
US20180096752A1 (en) * | 2014-08-06 | 2018-04-05 | Mido Play Inc. | Systems for multiple legal game providers with digital ledger |
CN108769258A (en) * | 2018-06-29 | 2018-11-06 | 上海点融信息科技有限责任公司 | Method and apparatus for block chain network to be hosted in block chain application platform |
CN108933804A (en) * | 2017-05-26 | 2018-12-04 | 中移物联网有限公司 | A kind of peer-to-peer network construction method and device |
CN108984784A (en) * | 2018-07-26 | 2018-12-11 | 百度在线网络技术(北京)有限公司 | Application implementation method, device, equipment and storage medium based on block chain network |
CN109165304A (en) * | 2018-07-03 | 2019-01-08 | 泰链(厦门)科技有限公司 | Building method, medium and the system of block chain |
CN109194506A (en) * | 2018-08-16 | 2019-01-11 | 北京京东尚科信息技术有限公司 | Block chain network dispositions method, platform and computer storage medium |
CN109302311A (en) * | 2018-09-04 | 2019-02-01 | 北京邮电大学 | Realize block chain network, cognitive method and the electronic equipment of network situation awareness |
CN109375915A (en) * | 2018-10-26 | 2019-02-22 | 陕西医链区块链集团有限公司 | A kind of block chain visual programming system and method |
CN109496406A (en) * | 2018-07-27 | 2019-03-19 | 袁振南 | Node administration method, device and storage medium based on block catenary system |
CN109542421A (en) * | 2018-11-12 | 2019-03-29 | 夸克链科技(深圳)有限公司 | A kind of modular tile chain intelligence contract |
CN109558130A (en) * | 2018-10-25 | 2019-04-02 | 深圳市圆世科技有限责任公司 | A kind of block chain framework of user interface |
US20190102757A1 (en) * | 2017-09-29 | 2019-04-04 | Paul Liu | Method of constructing scalable blockchain by using KanBan to update off-chain transactions states |
WO2019072309A2 (en) * | 2018-12-29 | 2019-04-18 | Alibaba Group Holding Limited | Visual blockchain browser |
CN109710243A (en) * | 2018-12-29 | 2019-05-03 | 百度在线网络技术(北京)有限公司 | Block chain development approach, device, server and medium based on Visualization Platform |
CN109710271A (en) * | 2019-01-16 | 2019-05-03 | 杭州趣链科技有限公司 | Key deployment, link setup and operation management system based on block chain |
CN109743328A (en) * | 2019-01-17 | 2019-05-10 | 杭州趣链科技有限公司 | A kind of open cloud service platform of block chain |
CN109753530A (en) * | 2018-12-27 | 2019-05-14 | 石更箭数据科技(上海)有限公司 | A kind of data processing method and its device, medium, terminal |
-
2019
- 2019-07-04 CN CN201910600770.2A patent/CN110308962B/en active Active
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5910803A (en) * | 1996-08-14 | 1999-06-08 | Novell, Inc. | Network atlas mapping tool |
CN101834735A (en) * | 2009-03-11 | 2010-09-15 | 北京启明星辰信息技术股份有限公司 | Display method and display device of large-scale network node topological structure |
US20180096752A1 (en) * | 2014-08-06 | 2018-04-05 | Mido Play Inc. | Systems for multiple legal game providers with digital ledger |
CN108933804A (en) * | 2017-05-26 | 2018-12-04 | 中移物联网有限公司 | A kind of peer-to-peer network construction method and device |
US20190102757A1 (en) * | 2017-09-29 | 2019-04-04 | Paul Liu | Method of constructing scalable blockchain by using KanBan to update off-chain transactions states |
CN108769258A (en) * | 2018-06-29 | 2018-11-06 | 上海点融信息科技有限责任公司 | Method and apparatus for block chain network to be hosted in block chain application platform |
CN109165304A (en) * | 2018-07-03 | 2019-01-08 | 泰链(厦门)科技有限公司 | Building method, medium and the system of block chain |
CN108984784A (en) * | 2018-07-26 | 2018-12-11 | 百度在线网络技术(北京)有限公司 | Application implementation method, device, equipment and storage medium based on block chain network |
CN109496406A (en) * | 2018-07-27 | 2019-03-19 | 袁振南 | Node administration method, device and storage medium based on block catenary system |
CN109194506A (en) * | 2018-08-16 | 2019-01-11 | 北京京东尚科信息技术有限公司 | Block chain network dispositions method, platform and computer storage medium |
CN109302311A (en) * | 2018-09-04 | 2019-02-01 | 北京邮电大学 | Realize block chain network, cognitive method and the electronic equipment of network situation awareness |
CN109558130A (en) * | 2018-10-25 | 2019-04-02 | 深圳市圆世科技有限责任公司 | A kind of block chain framework of user interface |
CN109375915A (en) * | 2018-10-26 | 2019-02-22 | 陕西医链区块链集团有限公司 | A kind of block chain visual programming system and method |
CN109542421A (en) * | 2018-11-12 | 2019-03-29 | 夸克链科技(深圳)有限公司 | A kind of modular tile chain intelligence contract |
CN109753530A (en) * | 2018-12-27 | 2019-05-14 | 石更箭数据科技(上海)有限公司 | A kind of data processing method and its device, medium, terminal |
WO2019072309A2 (en) * | 2018-12-29 | 2019-04-18 | Alibaba Group Holding Limited | Visual blockchain browser |
CN109710243A (en) * | 2018-12-29 | 2019-05-03 | 百度在线网络技术(北京)有限公司 | Block chain development approach, device, server and medium based on Visualization Platform |
CN109710271A (en) * | 2019-01-16 | 2019-05-03 | 杭州趣链科技有限公司 | Key deployment, link setup and operation management system based on block chain |
CN109743328A (en) * | 2019-01-17 | 2019-05-10 | 杭州趣链科技有限公司 | A kind of open cloud service platform of block chain |
Non-Patent Citations (1)
Title |
---|
PAVOL HELEBRANDT; MATEJ BELLUS: "Blockchain Adoption for Monitoring and Management of Enterprise Networks", 《2018 IEEE 9TH ANNUAL INFORMATION TECHNOLOGY, ELECTRONICS AND MOBILE COMMUNICATION CONFERENCE (IEMCON)》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110852596A (en) * | 2019-11-06 | 2020-02-28 | 无锡功恒精密机械制造有限公司 | Process design method and design module |
CN111245624A (en) * | 2020-01-14 | 2020-06-05 | 杭州趣链科技有限公司 | Multi-type block chain deployment management system and method |
CN111245624B (en) * | 2020-01-14 | 2023-02-28 | 杭州趣链科技有限公司 | Multi-type block chain deployment management system and method |
CN110933189A (en) * | 2020-02-10 | 2020-03-27 | 北京启迪区块链科技发展有限公司 | Fabric-based block chain network deployment method, device, equipment and medium |
CN111355780A (en) * | 2020-02-18 | 2020-06-30 | 杭州云象网络技术有限公司 | Block chain-based Internet of things monitoring management method and system |
CN111355780B (en) * | 2020-02-18 | 2022-09-13 | 杭州云象网络技术有限公司 | Internet of things monitoring management method and system based on block chain |
CN111754658A (en) * | 2020-07-03 | 2020-10-09 | 中国工商银行股份有限公司 | Training management method and device and electronic equipment |
CN111754658B (en) * | 2020-07-03 | 2023-04-07 | 中国工商银行股份有限公司 | Training management method and device and electronic equipment |
CN112004055A (en) * | 2020-07-31 | 2020-11-27 | 西安万像电子科技有限公司 | Image management method, system and computer readable storage medium |
US11113241B1 (en) | 2020-08-22 | 2021-09-07 | Tyson York Winarski | Computer application for blockchaining files through a graphical user interface |
CN113114488A (en) * | 2021-03-29 | 2021-07-13 | 明链科技(深圳)有限公司 | Platform support mode for managing existing block chain network |
US12131168B1 (en) * | 2023-04-18 | 2024-10-29 | Servicenow, Inc. | Outcome-oriented automation platform |
Also Published As
Publication number | Publication date |
---|---|
CN110308962B (en) | 2022-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110308962A (en) | Manage method, electronic equipment and the medium of block chain network | |
US11386077B2 (en) | System and method for building business service model | |
US9882961B2 (en) | System and method for abstraction of objects for cross virtual universe deployment | |
US11593074B2 (en) | System, method, and apparatus for data-centric networked application development services | |
CN110442336A (en) | A kind of web development methods and device, storage medium and electronic equipment | |
CN106484393B (en) | Visual view design method | |
CN110308903A (en) | Create method, electronic equipment and the medium of block chain network | |
US10462010B2 (en) | Detecting and managing recurring patterns in device and service configuration data | |
US20070097883A1 (en) | Generation of a network topology hierarchy | |
US9201702B2 (en) | Integrated cloud data center management | |
WO2007108061A1 (en) | Network design processing device, network design processing method and network design processing program | |
CN106471784A (en) | Equipment access control | |
EP2351302A2 (en) | Unified interface for configuring multiple networking technologies | |
US8285822B2 (en) | Policy configuration and simulation | |
CN110232258A (en) | CAD diagram paper checks method, system, computer readable storage medium and the terminal of reference variation under editable environment | |
CN109725958A (en) | The method and device that the file of resource manager management is handled | |
CN107577709A (en) | A kind of graphically managing method of information system resources model | |
CN108388576A (en) | Interactive mode generates the method and system of collection of illustrative plates | |
CN114978716B (en) | Three-dimensional topology display method and device and electronic equipment | |
CN114564855B (en) | Operation method based on incidence relation of FMEA data nodes and electronic equipment | |
CN114564854B (en) | Operation method and equipment of data node supporting FMEA bidirectional relationship tree | |
CN106648280A (en) | Task management interaction method and device | |
KR101777850B1 (en) | Method and apparatus for providing work system | |
Weston | Learn Microsoft PowerApps: Build customized business applications without writing any code | |
JP2020057228A (en) | Control unit, network construction system, network construction method, and program |
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 |