CN110138586A - Block chain node administration method, electronic device, system and readable storage medium storing program for executing - Google Patents

Block chain node administration method, electronic device, system and readable storage medium storing program for executing Download PDF

Info

Publication number
CN110138586A
CN110138586A CN201910270953.2A CN201910270953A CN110138586A CN 110138586 A CN110138586 A CN 110138586A CN 201910270953 A CN201910270953 A CN 201910270953A CN 110138586 A CN110138586 A CN 110138586A
Authority
CN
China
Prior art keywords
proxy server
block chain
target proxy
chain node
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910270953.2A
Other languages
Chinese (zh)
Inventor
汪昌帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910270953.2A priority Critical patent/CN110138586A/en
Publication of CN110138586A publication Critical patent/CN110138586A/en
Priority to PCT/CN2019/117765 priority patent/WO2020199598A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/046Network management architectures or arrangements comprising network management agents or mobile agents therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of block chain node administration method, electronic device, system and readable storage medium storing program for executing, wherein, this method comprises: receiving the control instruction that user is inputted by BaaS platform, wherein, target proxy server info is carried in the control instruction, the target proxy server info includes IP address;According to the target proxy server info, from the multiple proxy servers interacted with the BaaS platform, target proxy server, each corresponding block chain node of the proxy server are determined;The control instruction is sent to the target proxy server by HTTP, operation is managed to block chain link point corresponding to the target proxy server to realize.It solves existing the technical issues of can not carrying out unified effectively management to block chain link point through the above way, has reached the technical effect for carrying out centralized and unified management to block chain link point.

Description

Block chain node administration method, electronic device, system and readable storage medium storing program for executing
Technical field
The present invention relates to block structure technical field of improvement, and in particular to a kind of block chain node administration method, electronics dress It sets, system and readable storage medium storing program for executing.
Background technique
Existing block catenary system is complete decentralization operation, control authority all in each block chain node itself, What that is, all control authorities are all nodes itself, the node in block chain can be carried out without tissue or node Unified management.Centralized management interface is established if it is block catenary system, the theory of decentralization will be violated.
It is existing node in entire block chain can not effectively be managed aiming at the problem that, not yet propose at present effective Solution.
Summary of the invention
The purpose of the present invention is to provide a kind of block chain node administration method, electronic device, system and readable storage mediums Matter, and then solve existing the technical issues of unified efficiently management can not be carried out to block chain link point.
The present invention is to solve above-mentioned technical problem by following technical proposals:
According to an aspect of the invention, there is provided a kind of block chain node administration method, includes the following steps:
Receive the control instruction that user is inputted by BaaS platform, wherein carry target proxy in the control instruction Server info, the target proxy server info includes IP address;
According to the target proxy server info, from the multiple proxy servers interacted with the BaaS platform, really Make target proxy server, each corresponding block chain node of the proxy server;
The control instruction is sent to the target proxy server by HTTP, the target proxy is taken with realizing Block chain link point corresponding to business device is managed operation.
In one embodiment, the above method further include:
Receive the heartbeat data that the target proxy server is uploaded every scheduled duration;
The heartbeat data that the upload of target proxy server whether is received in the scheduled duration determined;
In the case where determining the heartbeat data for receiving the target proxy server upload in scheduled duration, determine The target proxy server works normally;
In the case where determining the heartbeat data for not receiving the target proxy server upload in scheduled duration, really The fixed target proxy server exception.
In one embodiment, according to the target proxy server info, from what is interacted with the BaaS platform In multiple proxy servers, before determining target proxy server, the method also includes:
The mount request of Receiving Agent server;
In response to the mount request, the data interaction between the proxy server and BaaS platform is established, to complete to be somebody's turn to do The installation of proxy server;
After the installation is complete, the proxy server information that the proxy server reports is received and stored, wherein agency's clothes Device information of being engaged in includes: IP address and port.
In one embodiment, the management operation includes at least one of: creation starting, stops, deleting.
In one embodiment, it is operated in the management are as follows: when creation block chain node, by HTTP by the control Instruction is sent to the target proxy server, is carried out with realizing to block chain link point corresponding to the target proxy server Management operation, comprising:
In the case that the target proxy server receives creation instruction, assembling creation Docker container;
Using the Docker container of creation as the block chain node of creation;
After creating successfully, creation result is written in caching, so that user is inquired by BaaS platform.
According to another aspect of the present invention, a kind of electronic device is provided, including memory and processor, feature exist In the memory can be by the block chain node management system that the processor executes, the block chain node pipe for storing Reason system includes:
First receiving module, the control instruction inputted for receiving user by BaaS platform, wherein the control instruction In carry target proxy server info, the target proxy server info includes IP address;
First determining module is used for according to the target proxy server info, more from interacting with the BaaS platform In a proxy server, target proxy server, each corresponding block chain node of the proxy server are determined;
Management module, for the control instruction to be sent to the target proxy server by HTTP, with realization pair Block chain link point corresponding to the target proxy server is managed operation.
In one embodiment, above-mentioned electronic device further include:
Second receiving module, the heartbeat data uploaded for receiving the target proxy server every scheduled duration;
Second determining module, for determining the heart for whether receiving the upload of target proxy server in the scheduled duration Hop count evidence;
Third determining module, for determining the heartbeat for receiving the target proxy server in scheduled duration and uploading In the case where data, determine that the target proxy server works normally;
4th determining module, for determining the heart for not receiving the target proxy server in scheduled duration and uploading Hop count determines the target proxy server exception in the case where.
In one embodiment, above-mentioned electronic device is also used to according to the target proxy server info, from In multiple proxy servers of the BaaS platform interaction, before determining target proxy server, Receiving Agent server Mount request;In response to the mount request, the data interaction between the proxy server and BaaS platform is established, to complete to be somebody's turn to do The installation of proxy server;After the installation is complete, the proxy server information that the proxy server reports is received and stored, In, proxy server information includes: IP address and port.
In one embodiment, above-mentioned management operation includes at least one of: creation starting, stops, deleting.
In one embodiment, it is operated in the management are as follows: when creation block chain node, by HTTP by the control Instruction is sent to the target proxy server, is carried out with realizing to block chain link point corresponding to the target proxy server Management operation, comprising:
In the case that the target proxy server receives creation instruction, assembling creation Docker container;
Using the Docker container of creation as the block chain node of creation;
After creating successfully, creation result is written in caching, so that user is inquired by BaaS platform.
According to a further aspect of the invention, a kind of block chain node management system is provided, comprising:
BaaS platform, for providing subscriber administration interface, to receive the control instruction of user;
Proxy server is interacted by HTTP and the BaaS platform, wherein each proxy server user creation One block chain node, and operation is managed to corresponding block chain link point according to the control instruction from BaaS platform.
According to a further aspect of the invention, a kind of computer equipment is provided, comprising: memory and processor, wherein The processor is for the step of executing following method:
Receive the control instruction that user is inputted by BaaS platform, wherein carry target proxy in the control instruction Server info, the target proxy server info includes IP address;
According to the target proxy server info, from the multiple proxy servers interacted with the BaaS platform, really Make target proxy server, each corresponding block chain node of the proxy server;
The control instruction is sent to the target proxy server by HTTP, the target proxy is taken with realizing Block chain link point corresponding to business device is managed operation.
According to a further aspect of the invention, a kind of non-volatile computer readable storage medium storing program for executing is provided, is stored thereon There is the step of computer instruction, described instruction executes following method:
Receive the control instruction that user is inputted by BaaS platform, wherein carry target proxy in the control instruction Server info, the target proxy server info includes IP address;
According to the target proxy server info, from the multiple proxy servers interacted with the BaaS platform, really Make target proxy server, each corresponding block chain node of the proxy server;
The control instruction is sent to the target proxy server by HTTP, the target proxy is taken with realizing Block chain link point corresponding to business device is managed operation.
The positive effect of the present invention is that: manager can be instructed by Bass platform input control, then because Data interaction can be carried out between BaaS platform and proxy server, because control instruction can be sent to corresponding agency service Device, because each proxy server corresponds to a block chain node, so as to realize the management control of corresponding block chain node System solves existing the technical issues of can not carrying out unified effectively management to block chain link point through the above way, reaches The technical effect of centralized and unified management is carried out to block chain link point.
Detailed description of the invention
Fig. 1 is the method flow diagram of block chain node administration method according to an embodiment of the present invention;
Fig. 2 is the configuration diagram of block chain node management system according to an embodiment of the present invention;
Fig. 3 is the structural block diagram of block chain node management device according to an embodiment of the present invention;
Fig. 4 is a kind of optional hardware structure schematic diagram of electronic device according to an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
In view of existing the problem of can not carrying out unified effective management to block chain link point, pass through setting in this example BaaS platform and multiple agent proxy servers create block chain link by each agent proxy server of BaaS platform courses Point, and registered on platform, user can pass through agent proxy server to each by the administration interface that BaaS platform provides Block chain link point is controlled, and effective control to block chain node is realized.
Embodiment one
For this purpose, a kind of block chain node administration method, electronic equipment and system are provided in this example, suitable for going Node in the block chain of the heart is managed.This method and electronic equipment are specifically described below as follows:
A kind of block chain node administration method is provided in this example, as shown in Figure 1, may include steps of:
Step 101: receiving the control instruction that user is inputted by BaaS platform, wherein carry in the control instruction Target proxy server info, the target proxy server info includes IP address;
Step 102: according to the target proxy server info, from the multiple agency services interacted with the BaaS platform In device, target proxy server, each corresponding block chain node of the proxy server are determined;
Step 103: the control instruction being sent to by the target proxy server by HTTP, to realize to the mesh Block chain link point corresponding to mark proxy server is managed operation.
That is, BaaS platform can provide user interface, between BaaS platform and Agent service can by HTTP into Row data interaction.That is, the control information that user inputs on interactive interface, can be transmitted to agent agency service by HTTP. Wherein, hypertext transfer protocol (HTTP, HyperText Transfer Protocol) is most widely used on internet A kind of network protocol.All WWW files must comply with this standard.
HTTP is the standard (TCP) of client and server end a request and response.Client is terminal user, service Device end is website.By using Web browser, web crawlers or other tools, client initiates one to server The HTTP request of designated port (default port 80).(we claim this client) is user agent (user agent).It answers Store (some) resources, such as html file and image on the server answered.(we) this answering server is referred to as source clothes It is engaged in device (origin server).There may be multiple middle layers among user agent and source server, for example act on behalf of, gateway, Or tunnel (tunnels).Although ICP/IP protocol is most popular application on internet, http protocol does not provide necessary Use the layer of it and (being based on) its support.In fact, HTTP can be in any other Internet protocol, or in other networks Upper realization.HTTP only assumes that (offer of its lower-layer protocols) is reliably transmitted, and any agreement for being capable of providing this guarantee is ok It is used by.
In general, initiating a request by HTTP client, establish one to server designated port (default is 80 ports) TCP connection.The request that HTTP server is then sended in that port snoop client.Once receiving request, server (to client) sends back to a statusline, such as " HTTP/1.1 200OK ", and (response) message, and the message body of message may It is file, error message or some other information of request.By the resource of HTTP HTTPS agreement request by unified Resource identifier (Uniform Resource Identifiers) (alternatively, more more acurrate, URLs) identifies.
In upper example, manager can be instructed by BaaS platform input control, then because of BaaS platform and agency service Data interaction can be carried out between device, because control instruction can be sent to corresponding proxy server, because each agency takes The corresponding block chain node of business device solves through the above way so as to realize the management control of corresponding block chain node It has determined existing the technical issues of can not carrying out unified effectively management to block chain link point, has reached and block chain link point is collected The technical effect of middle unified management.
Further, it is contemplated that the real-time effectiveness of data interaction link between BaaS platform and proxy server, ability Characterization proxy server is to work normally, and could pass through the realization of BaaS platform in this way to effective pipe of each block chain node Reason, for this purpose, can receive the heartbeat data that the target proxy server is uploaded every scheduled duration;It determines in the pre- timing Whether the heartbeat data of target proxy server upload is received in long;The target generation is received in scheduled duration in determination In the case where managing the heartbeat data that server uploads, determine that the target proxy server works normally;It is determining in pre- timing In the case where not receiving the heartbeat data that the target proxy server uploads in long, determine that the target proxy server is different Often.That is, proxy server periodically uploads heartbeat data, to show that itself data connection between BaaS platform is that have always Effect, that is to say, that itself is constantly in normal operating conditions.
For between BaaS platform and proxy server, what proxy server can be registered in BaaS platform, it is infusing After volume is installed successfully, the data interaction being just able to achieve between BaaS platform, for this purpose, according to the target proxy server Information, from the multiple proxy servers interacted with the BaaS platform, before determining target proxy server, BaaS platform It can receive the mount request of proxy server;In response to the mount request, establish the proxy server and BaaS platform it Between data interaction, to complete the installation of the proxy server;After the installation is complete, it receives and stores on the proxy server The proxy server information of report, wherein proxy server information includes: IP address and port.
That is, installing Agent agency service on the server, provided by the Agent proxy server installed on server The interface of operations such as created, started, being stopped, being deleted to Docker container.
Wherein, above-mentioned server be block chain management system, can have in the block chain management system: BaaS platform and Multiple proxy servers (that is, Agent agency service).Wherein, BaaS platform can provide user interface, BaaS platform with Data interaction is carried out by HTTP between Agent service.That is, the control information that user inputs on interactive interface, can pass through HTTP is transmitted to agent agency service.
For Agent service, each Agent services a corresponding block chain node, and a block chain node is one A docker container.Agent service can operate its corresponding block chain node (that is, Docker container), wherein behaviour Work may include: creation, starting, stopping, deletion etc..
It when actually realizing, is operated in the management are as follows: in the case where creating block chain node, by HTTP by institute It states control instruction and is sent to the target proxy server, to realize to block chain link corresponding to the target proxy server Point is managed operation, may include: assembling creation in the case that the target proxy server receives creation instruction Docker container;Using the Docker container of creation as the block chain node of creation;After creating successfully, creation result is write Enter in caching, so that user is inquired by BaaS platform.
Technical solution of the present invention includes a kind of block chain node management system and method, suitable for the area to decentralization Node in block chain is managed.
The above method is illustrated below with reference to a specific embodiment, it should be noted, however, that the specific implementation Example does not constitute an undue limitation on the present application merely to better illustrate the application.
It may include: BaaS platform 201 as shown in Fig. 2, providing a kind of block chain node management system in this example, For providing subscriber administration interface, to receive the control instruction of user;Multiple proxy servers 202, by HTTP with it is described BaaS platform interacts, wherein each proxy server user creates a block chain node, and according to from BaaS platform Control instruction operation is managed to corresponding block chain link point.
In this example, each by BaaS platform courses by setting BaaS platform and multiple Agent proxy servers Agent proxy server creates block chain node, and is registered on platform, the management that user can be provided by BaaS platform Interface controls each block chain link point by Agent proxy server, realizes effective control to block chain node.
In order to realize the unified management to block chain node, a kind of BaaS platform is provided, which can be with generation Reason server interacts, and BaaS platform is interacted by HTTP and proxy server, and each proxy server is for creating One block chain node, specifically, block chain node can be created by way of creating Docker container.Further, it uses Family can be managed block chain link point by the interface that BaaS platform provides.
Specifically, the block chain node management system can be established in accordance with the following steps:
S1: installing Agent agency service on the server, is provided by the Agent proxy server installed on server The interface of operations such as created, started, being stopped, being deleted to Docker container.
Wherein, above-mentioned server be block chain management system, can have in the block chain management system: BaaS platform and Multiple proxy servers (that is, Agent agency service).Wherein, BaaS platform can provide user interface, BaaS platform with Data interaction is carried out by HTTP between Agent service.That is, the control information that user inputs on interactive interface, can pass through HTTP is transmitted to Agent agency service.
For Agent service, each Agent services a corresponding block chain node, and a block chain node is one A Docker container.Agent service can operate its corresponding block chain node (that is, docker container), wherein behaviour Work may include: creation, starting, stopping, deletion etc..
Operation interface provided by Agent is exactly the function that the application proxy server has, and Agent service only needs Get the control information of user's input from BaaS, so that it may be based on these information, control Docker.
S2: after the installation of Agent agency service, interface is provided by BaaS platform and reports agency service information, which can To include: IP, port, and Agent agency service carries out heartbeat data at regular intervals and reports, and Baas platform passes through beats According to judging whether the agency service works normally.
Wherein, heartbeat data is the data packet for sending a very little to another party of interconnection at regular intervals, by right The bipartite communication link of Fang Huifu situation judgement interconnection.During actually realizing, therefore, it is every the set time Therefore a condition being extremely difficult to usually is no more than some time interval.
If exceeding predetermined time interval, Baas platform does not receive the heartbeat data that Agent service is sent, then indicating that Link interruption between Agent service and Baas platform also determines that Agent service does not work normally, if predetermined Heartbeat data is had received in time interval, then Baas platform can determine that agent service is to work normally.
S3:BaaS platform creates block chain node, specifically, BaaS platform selecting IP address selects proxy server, Then, parameter information needed for BaaS platform assembling creation block chain node (that is, Docker container), then, BaaS platform is logical The creation interface for crossing agency service selected by the ip call by location of selection sends container creation order to the agency service of selection, Proxy server immediately returns to after receiving creation order and receives information.BaaS platform calls the agency service to be provided Query result interface carry out creation result inquiry, proxy server receive creation order after, carry out block chain node Creation, no matter create successfully or failure, all write the result into caching, for BaaS platform inquiry.
Because each agent service has itself corresponding address, this is carried in agency service information, because This when creating block chain node, can first select an IP address, select IP address for BaaS platform With regard to having selected Agent service.Therefore, BaaS platform selects proxy server by selection IP address.
S4:BaaS platform is provided by agency service the service such as stops, starting, delete.Specifically, being held by agent service Row is to behaviour such as stopping, starting, the deletions of its corresponding Docker container (the block chain node created namely based on Docker container) Make, and Agent server returns to operation result information to BaaS platform after agent operation completion.
Upper example allows for the characteristic of block chain decentralization, and not only distributed, there are also permission distributions, therefore, base Centralized management node system is realized in agency service and BaaS platform, distributed system management is difficult to ask to solve Topic, also avoids the excessive problem of the permission of centralized management system.
Specifically, following condition limitation and restriction can be carried out to above-mentioned block chain node management system, to solve to divide The problem of cloth system administration hardly possible, the problem for avoiding the permission of centralized management system excessive:
1) block chain resource management system possesses center service component (i.e. above-mentioned BaaS platform) and several resources Download server provides unified resource downloading, and center service component provides web interface to facilitate user to carry out resource management;
2) block chain resource management system is (i.e. above-mentioned using agency service of the distributing installation on each node resource Agent agency service) operation such as creation, starting, stopping, deletion, the monitoring of block chain node in control node;
3) block chain resource management system possesses perfect account rights management mechanism, weighs for limiting in centralized system Limit problems of too;
4) tissue account services the node resource for arriving oneself by installation agent after logging in, and agency service can be by node resource Information generates globally unique resource ID and is registered to block chain resource management system center service component;
5) different tissues account can only manage the node resource of oneself, and agency service is only capable of by registering account after being installed It number is started or stoped or resource owner can log in the node of oneself directly freely to start or stop agency's clothes Business, to achieve the purpose that decentralization;
6) different tissues account can carry out resource authorization to its hetero-organization account, shared to meet resources use right limit, but It is to be authorized to account to delete or exit resource, authorized account is only capable of creating new block chain node behaviour on authorization resources Make;
7) when agency service is registered, corresponding account number cipher can be provided so that block chain resource management system is tested Card, to prevent illegal malicious behaviors of nodes registration attack, same center service component is also required to offer unique identification and carrys out operation agent clothes Business is to prevent agency service by malicious operation.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.
Embodiment two
The block chain node administration method provided in one based on the above embodiment provides a kind of block chain link in the present embodiment Point management system, specifically, Fig. 3 shows the optional structural block diagram of the block chain node management system, the block chain node Management system is divided into one or more program modules, one or more program module is stored in storage medium, and As performed by one or more processors, to complete the present invention.The so-called program module of the present invention is to refer to complete specific function The series of computation machine program instruction section of energy, is more suitable for description block chain node management system in storage medium than program itself Implementation procedure, the function of each program module of the present embodiment will specifically be introduced by being described below:
As shown in figure 3, block chain node management system 30 may include:
First receiving module 301, the control instruction inputted for receiving user by BaaS platform, wherein the control Target proxy server info is carried in instruction, the target proxy server info includes IP address;
First determining module 302 is used for according to the target proxy server info, from what is interacted with the BaaS platform In multiple proxy servers, target proxy server, each corresponding block chain node of the proxy server are determined;
Management module 303, for the control instruction to be sent to the target proxy server by HTTP, to realize Operation is managed to block chain link point corresponding to the target proxy server.
In one embodiment, above-mentioned block chain node management system 30 can also include: the second receiving module, be used for Receive the heartbeat data that the target proxy server is uploaded every scheduled duration;Second determining module, for determining described Whether the heartbeat data of target proxy server upload is received in scheduled duration;Third determining module, for determining pre- In the case where receiving the heartbeat data that the target proxy server uploads in timing is long, the target proxy server is determined It works normally;4th determining module, for not receiving what the target proxy server uploaded in scheduled duration determining In the case where heartbeat data, the target proxy server exception is determined.
In one embodiment, according to the target proxy server info, from what is interacted with the BaaS platform In multiple proxy servers, before determining target proxy server, the installation that BaaS platform can receive proxy server is asked It asks;In response to the mount request, the data interaction between the proxy server and BaaS platform is established, to complete agency clothes The installation of business device;After the installation is complete, the proxy server information that the proxy server reports is received and stored, wherein generation Managing server info includes: IP address and port.
In one embodiment, above-mentioned management operation can include but is not limited at least one of: create, start, Stop, deleting.
In one embodiment, it is operated in the management are as follows: when creation block chain node, by HTTP by the control Instruction is sent to the target proxy server, is carried out with realizing to block chain link point corresponding to the target proxy server Management operation may include: in the case that the target proxy server receives creation instruction, and assembling creation Docker holds Device;Using the Docker container of creation as the block chain node of creation;After creating successfully, by creation result write-in caching In, so that user is inquired by BaaS platform.
About the device in above-described embodiment, wherein each unit, module execute the concrete mode of operation related It is described in detail in the embodiment of this method, no detailed explanation will be given here.
In each embodiment of the present embodiment, BaaS platform provides control interface, and manager can pass through the control Interface input control instruction, then because data interaction can be carried out between BaaS platform and proxy server, because of control instruction It can be sent to corresponding proxy server, because each proxy server corresponds to a block chain node, so as to realize The management of corresponding block chain node controls, and solve existing can not uniformly have block chain link point through the above way The technical issues of effect management, the technical effect that centralized and unified management is carried out to block chain link point is reached.
Embodiment three
A kind of electronic device is provided in the preferred embodiment of the invention three.Fig. 4 is that electronic device one is real according to the present invention Apply the hardware structure schematic diagram of example.In the present embodiment, electronic device 2 is that one kind can be according to the finger for being previously set or storing It enables, the automatic equipment for carrying out numerical value calculating and/or information processing.For example, it may be smart phone, tablet computer, notebook are electric Brain, desktop computer, rack-mount server, blade server, tower server or Cabinet-type server (including independent clothes Server cluster composed by business device or multiple servers) etc..As shown, electronic device 2 includes, but is not limited to: Connection memory 21, processor 22, network interface 23 and block chain node management system can be in communication with each other by system bus 30.Wherein:
Memory 21 includes at least a type of computer readable storage medium, and readable storage medium storing program for executing includes flash memory, hard Disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), may be programmed read-only storage at read-only memory (ROM) Device (PROM), magnetic storage, disk, CD etc..In some embodiments, memory 21 can be the inside of electronic device 2 Memory module, such as the hard disk or memory of the electronic device 2.In further embodiments, memory 21 is also possible to electronics dress Set the plug-in type hard disk being equipped on 2 External memory equipment, such as the electronic device 2, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Certainly, memory 21 is gone back Can both including electronic device 2 storage inside module and also including its External memory equipment.In the present embodiment, memory 21 is usual For storing the operating system and types of applications software that are installed on electronic device 2, such as the journey of block chain node management system 30 Sequence code etc..In addition, memory 21 can be also used for temporarily storing the Various types of data that has exported or will export.
Processor 22 can be in some embodiments central processing unit (Central Processing Unit, CPU), Controller, microcontroller, microprocessor or other data processing chips.The processor 22 is commonly used in control electronic device 2 Overall operation, such as execute control relevant to the progress data interaction of electronic device 2 or communication and processing etc..The present embodiment In, program code or processing data of the processor 22 for being stored in run memory 21, such as the block chain node of operation Management system 30 etc..
Network interface 23 may include radio network interface or wired network interface, which is commonly used in electronics Communication connection is established between device 2 and other electronic devices.For example, network interface 23 be used for by network by electronic device 2 with Exterior terminal is connected, and establishes data transmission channel and communication connection etc. between electronic device 2 and exterior terminal.Network can be with It is intranet (Intranet), internet (Internet), global system for mobile communications (Global System of Mobile communication, GSM), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), 4G network, 5G network, bluetooth (Bluetooth), the wirelessly or non-wirelessly network such as Wi-Fi.
It should be pointed out that Fig. 4 illustrates only the electronic device with component 21-23, it should be understood that simultaneously should not Realistic to apply all components shown, the implementation that can be substituted is more or less component.
In the present embodiment, the block chain node management system 30 being stored in memory 21 can also be divided into one Or multiple program modules, one or more program module are stored in memory 21, and by one or more processors (the present embodiment is processor 22) is performed, to complete the present invention.
Example IV
The present embodiment also provides a kind of computer readable storage medium, and block chain is stored in computer readable storage medium Node administration system, block chain node management system can be performed by least one processors, so that at least one processor is held The step of row such as block chain node administration method of embodiment one.
In the present embodiment, computer readable storage medium include flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), Electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD Deng.In some embodiments, computer readable storage medium can be the internal storage unit of computer equipment, such as the calculating The hard disk or memory of machine equipment.In further embodiments, computer readable storage medium is also possible to the outer of computer equipment The plug-in type hard disk being equipped in portion's storage equipment, such as the computer equipment, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) blocks, flash card (Flash Card) etc..Certainly, computer-readable storage medium Matter can also both including computer equipment internal storage unit and also including its External memory equipment.In the present embodiment, computer Readable storage medium storing program for executing is installed on the operating system and types of applications software of computer equipment, such as embodiment two commonly used in storage Client ensure analysis system program code etc..In addition, computer readable storage medium can be also used for temporarily storing Various types of data through exporting or will export.
Obviously, those skilled in the art should be understood that each module of the above-mentioned embodiment of the present invention or each step can be with It is realized with general computing device, they can be concentrated on a single computing device, or be distributed in multiple computing devices On composed network, optionally, they can be realized with the program code that computing device can perform, it is thus possible to by it Store and be performed by computing device in the storage device, and in some cases, can be held with the sequence for being different from herein The shown or described step of row, perhaps they are fabricated to each integrated circuit modules or will be multiple in them Module or step are fabricated to single integrated circuit module to realize.In this way, the embodiment of the present invention be not limited to it is any specific hard Part and software combine.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of block chain node administration method, which comprises the steps of:
Receive the control instruction that user is inputted by BaaS platform, wherein target proxy service is carried in the control instruction Device information, the target proxy server info includes IP address;
It is determined from the multiple proxy servers interacted with the BaaS platform according to the target proxy server info Target proxy server, each corresponding block chain node of the proxy server;
The control instruction is sent to the target proxy server by HTTP, to realize to the target proxy server Corresponding block chain link point is managed operation.
2. the method according to claim 1, wherein further include:
Receive the heartbeat data that the target proxy server is uploaded every scheduled duration;
The heartbeat data that the upload of target proxy server whether is received in the scheduled duration determined;
In the case where determination receives the heartbeat data that the target proxy server uploads in scheduled duration, described in determination Target proxy server works normally;
In the case where determining the heartbeat data for not receiving the target proxy server upload in scheduled duration, institute is determined State target proxy server exception.
3. the method according to claim 1, wherein according to the target proxy server info, from institute In the multiple proxy servers for stating the interaction of BaaS platform, before determining target proxy server, the method also includes:
The mount request of Receiving Agent server;
In response to the mount request, the data interaction between the proxy server and BaaS platform is established, to complete the agency The installation of server;
After the installation is complete, the proxy server information that the proxy server reports is received and stored, wherein proxy server Information includes: IP address and port.
4. the method according to claim 1, wherein management operation includes at least one of: creating, open Dynamic, stopping is deleted.
5. according to the method described in claim 4, it is characterized in that, being operated in the management are as follows: when creation block chain node, lead to It crosses HTTP and the control instruction is sent to the target proxy server, to realize to corresponding to the target proxy server Block chain link point be managed operation, comprising:
In the case that the target proxy server receives creation instruction, assembling creation Docker container;
Using the Docker container of creation as the block chain node of creation;
After creating successfully, creation result is written in caching, so that user is inquired by BaaS platform.
6. a kind of electronic device, including memory and processor, which is characterized in that the memory can be by the place for storing The block chain node management system that device executes is managed, the block chain node management server includes:
First receiving module, the control instruction inputted for receiving user by BaaS platform, wherein taken in the control instruction With target proxy server info, the target proxy server info includes IP address;
First determining module is used for according to the target proxy server info, from the multiple generations interacted with the BaaS platform It manages in server, determines target proxy server, each corresponding block chain node of the proxy server;
Management module, for the control instruction to be sent to the target proxy server by HTTP, to realize to described Block chain link point corresponding to target proxy server is managed operation.
7. device according to claim 6, which is characterized in that further include:
Second receiving module, the heartbeat data uploaded for receiving the target proxy server every scheduled duration;
Second determining module, for determining the beats for whether receiving the upload of target proxy server in the scheduled duration According to;
Third determining module, for determining the heartbeat data for receiving the target proxy server in scheduled duration and uploading In the case where, determine that the target proxy server works normally;
4th determining module, for determining the beats for not receiving the target proxy server in scheduled duration and uploading In the case where, the target proxy server exception is determined.
8. a kind of block chain node management system characterized by comprising
BaaS platform, for providing subscriber administration interface, to receive the control instruction of user;
Proxy server is interacted by HTTP and the BaaS platform, wherein each proxy server user creates one Block chain node, and operation is managed to corresponding block chain link point according to the control instruction from BaaS platform.
9. a kind of computer equipment, comprising: memory and processor, wherein the processor requires 1 to 5 for perform claim Any one of the method the step of.
10. a kind of non-volatile computer readable storage medium storing program for executing, is stored thereon with computer instruction, which is characterized in that the finger Order is performed the step of realizing any one of claims 1 to 5 the method.
CN201910270953.2A 2019-04-04 2019-04-04 Block chain node administration method, electronic device, system and readable storage medium storing program for executing Pending CN110138586A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910270953.2A CN110138586A (en) 2019-04-04 2019-04-04 Block chain node administration method, electronic device, system and readable storage medium storing program for executing
PCT/CN2019/117765 WO2020199598A1 (en) 2019-04-04 2019-11-13 Blockchain node management method, electronic apparatus, system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910270953.2A CN110138586A (en) 2019-04-04 2019-04-04 Block chain node administration method, electronic device, system and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN110138586A true CN110138586A (en) 2019-08-16

Family

ID=67569405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910270953.2A Pending CN110138586A (en) 2019-04-04 2019-04-04 Block chain node administration method, electronic device, system and readable storage medium storing program for executing

Country Status (2)

Country Link
CN (1) CN110138586A (en)
WO (1) WO2020199598A1 (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110516007A (en) * 2019-08-30 2019-11-29 北京百度网讯科技有限公司 A kind of deployment control method, device, equipment and the medium of block chain network
CN110519281A (en) * 2019-08-30 2019-11-29 北京百度网讯科技有限公司 A kind of operation implementation method, device, equipment and the medium of block chain network
CN110602236A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Node control method, node control device, and storage medium
CN110601906A (en) * 2019-09-29 2019-12-20 腾讯科技(深圳)有限公司 Data transmission method and device based on block chain
CN110620695A (en) * 2019-09-29 2019-12-27 重庆小雨点小额贷款有限公司 Data processing method and related equipment
CN110650193A (en) * 2019-09-20 2020-01-03 腾讯科技(深圳)有限公司 Node management method, cluster management device and storage medium
CN110855784A (en) * 2019-11-15 2020-02-28 深圳市网心科技有限公司 Proxy server node selection method, electronic device, system and medium
CN111464394A (en) * 2020-03-31 2020-07-28 腾讯科技(深圳)有限公司 Node monitoring method and device and storage medium
CN111641715A (en) * 2020-05-29 2020-09-08 深圳壹账通智能科技有限公司 Data processing method, device, equipment and medium based on block chain
WO2020199598A1 (en) * 2019-04-04 2020-10-08 平安科技(深圳)有限公司 Blockchain node management method, electronic apparatus, system and readable storage medium
CN112395358A (en) * 2020-11-19 2021-02-23 京东数科海益信息科技有限公司 Archive management method and device, electronic equipment and storage medium
CN112398908A (en) * 2020-10-20 2021-02-23 杭州云象网络技术有限公司 Block chain network node deleting method, system, storage medium and device
CN112565203A (en) * 2020-11-19 2021-03-26 深信服科技股份有限公司 Centralized management platform
CN112636981A (en) * 2020-12-28 2021-04-09 杭州趣链科技有限公司 Block chain host, and proxy method, device and storage medium thereof
CN112632192A (en) * 2020-12-31 2021-04-09 杭州趣链科技有限公司 Node maintenance method and device, computer equipment and medium
CN112702200A (en) * 2020-12-21 2021-04-23 杭州趣链科技有限公司 Alliance link point management system, method and device, electronic equipment and storage medium
CN113315826A (en) * 2021-05-24 2021-08-27 网易(杭州)网络有限公司 Block chain management method and device, management service node and storage medium
CN113852655A (en) * 2020-06-28 2021-12-28 北京金山云网络技术有限公司 Information management method and device and block chain service system
CN114979099A (en) * 2022-04-14 2022-08-30 天津车之家软件有限公司 Target service access method, module and system

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866359B (en) * 2021-01-05 2023-05-09 卓望数码技术(深圳)有限公司 Data chaining method and device, electronic equipment and storage medium
CN113377738B (en) * 2021-04-28 2024-03-22 南京欣网互联网络科技有限公司 Method for building BaaS architecture based on PaaS platform and EOS framework
CN113553374A (en) * 2021-06-25 2021-10-26 北京八分量信息科技有限公司 Decentralized distributed large data block chain information storage system
CN114448965A (en) * 2021-12-22 2022-05-06 天翼云科技有限公司 Method, device and system for managing big data assembly and readable storage medium
CN115314374B (en) * 2022-07-06 2024-02-06 京东科技信息技术有限公司 Block chain node deployment method, device, storage medium and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487587B1 (en) * 1999-03-01 2002-11-26 Sun Microsystems, Inc. Method and system for data processing by proxy
CN107145605A (en) * 2017-06-07 2017-09-08 北京天德科技有限公司 One kind is based on block chain unified interface(OBCC)License chain application system
CN107317730A (en) * 2017-08-21 2017-11-03 上海点融信息科技有限责任公司 Method, apparatus and system for monitoring block chain link dotted state
CN107832139A (en) * 2017-09-26 2018-03-23 上海点融信息科技有限责任公司 For the method, apparatus and system for the computing resource for managing block chain link point
CN109040227A (en) * 2018-07-27 2018-12-18 江西贪玩信息技术有限公司 Service request response method, device and computer equipment based on block chain
US20190019168A1 (en) * 2017-07-14 2019-01-17 Alibaba Group Holding Limited Blockchain service data processing

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101799343B1 (en) * 2016-05-16 2017-11-22 주식회사 코인플러그 Method for using, revoking certificate information and blockchain-based server using the same
US10509891B2 (en) * 2017-05-03 2019-12-17 Cisco Technology, Inc. Method and system for content and service sharing
CN107911421B (en) * 2017-10-30 2020-05-15 上海点融信息科技有限责任公司 Method, apparatus, and computer storage medium for configuring cross-network communications in a blockchain
CN110138586A (en) * 2019-04-04 2019-08-16 平安科技(深圳)有限公司 Block chain node administration method, electronic device, system and readable storage medium storing program for executing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487587B1 (en) * 1999-03-01 2002-11-26 Sun Microsystems, Inc. Method and system for data processing by proxy
CN107145605A (en) * 2017-06-07 2017-09-08 北京天德科技有限公司 One kind is based on block chain unified interface(OBCC)License chain application system
US20190019168A1 (en) * 2017-07-14 2019-01-17 Alibaba Group Holding Limited Blockchain service data processing
CN107317730A (en) * 2017-08-21 2017-11-03 上海点融信息科技有限责任公司 Method, apparatus and system for monitoring block chain link dotted state
CN107832139A (en) * 2017-09-26 2018-03-23 上海点融信息科技有限责任公司 For the method, apparatus and system for the computing resource for managing block chain link point
CN109040227A (en) * 2018-07-27 2018-12-18 江西贪玩信息技术有限公司 Service request response method, device and computer equipment based on block chain

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020199598A1 (en) * 2019-04-04 2020-10-08 平安科技(深圳)有限公司 Blockchain node management method, electronic apparatus, system and readable storage medium
CN110519281A (en) * 2019-08-30 2019-11-29 北京百度网讯科技有限公司 A kind of operation implementation method, device, equipment and the medium of block chain network
CN110516007B (en) * 2019-08-30 2022-07-29 北京百度网讯科技有限公司 Deployment control method, device, equipment and medium of block chain network
CN110516007A (en) * 2019-08-30 2019-11-29 北京百度网讯科技有限公司 A kind of deployment control method, device, equipment and the medium of block chain network
CN110602236A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Node control method, node control device, and storage medium
CN110650193B (en) * 2019-09-20 2021-06-25 腾讯科技(深圳)有限公司 Node management method, cluster management device and storage medium
CN110602236B (en) * 2019-09-20 2021-12-14 腾讯科技(深圳)有限公司 Node control method, node control device, and storage medium
CN110650193A (en) * 2019-09-20 2020-01-03 腾讯科技(深圳)有限公司 Node management method, cluster management device and storage medium
CN110620695A (en) * 2019-09-29 2019-12-27 重庆小雨点小额贷款有限公司 Data processing method and related equipment
CN110601906B (en) * 2019-09-29 2021-05-25 腾讯科技(深圳)有限公司 Data transmission method and device based on block chain
CN110601906A (en) * 2019-09-29 2019-12-20 腾讯科技(深圳)有限公司 Data transmission method and device based on block chain
CN110855784A (en) * 2019-11-15 2020-02-28 深圳市网心科技有限公司 Proxy server node selection method, electronic device, system and medium
CN111464394A (en) * 2020-03-31 2020-07-28 腾讯科技(深圳)有限公司 Node monitoring method and device and storage medium
CN111464394B (en) * 2020-03-31 2022-04-15 腾讯科技(深圳)有限公司 Node monitoring method and device and storage medium
CN111641715A (en) * 2020-05-29 2020-09-08 深圳壹账通智能科技有限公司 Data processing method, device, equipment and medium based on block chain
CN113852655A (en) * 2020-06-28 2021-12-28 北京金山云网络技术有限公司 Information management method and device and block chain service system
CN112398908B (en) * 2020-10-20 2023-04-07 杭州云象网络技术有限公司 Block chain network node deleting method, system, storage medium and device
CN112398908A (en) * 2020-10-20 2021-02-23 杭州云象网络技术有限公司 Block chain network node deleting method, system, storage medium and device
CN112565203A (en) * 2020-11-19 2021-03-26 深信服科技股份有限公司 Centralized management platform
CN112395358A (en) * 2020-11-19 2021-02-23 京东数科海益信息科技有限公司 Archive management method and device, electronic equipment and storage medium
CN112702200A (en) * 2020-12-21 2021-04-23 杭州趣链科技有限公司 Alliance link point management system, method and device, electronic equipment and storage medium
CN112636981A (en) * 2020-12-28 2021-04-09 杭州趣链科技有限公司 Block chain host, and proxy method, device and storage medium thereof
CN112636981B (en) * 2020-12-28 2023-02-17 杭州趣链科技有限公司 Block chain host, and proxy method, device and storage medium thereof
CN112632192A (en) * 2020-12-31 2021-04-09 杭州趣链科技有限公司 Node maintenance method and device, computer equipment and medium
CN113315826A (en) * 2021-05-24 2021-08-27 网易(杭州)网络有限公司 Block chain management method and device, management service node and storage medium
CN114979099A (en) * 2022-04-14 2022-08-30 天津车之家软件有限公司 Target service access method, module and system
CN114979099B (en) * 2022-04-14 2024-02-23 天津车之家软件有限公司 Target service access method, module and system

Also Published As

Publication number Publication date
WO2020199598A1 (en) 2020-10-08

Similar Documents

Publication Publication Date Title
CN110138586A (en) Block chain node administration method, electronic device, system and readable storage medium storing program for executing
CN106844137B (en) Server monitoring method and device
CN107979493A (en) Platform is construction method, server and the storage medium for servicing PAAS container platforms
US20050265317A1 (en) Managing the flow of data traffic
CN108234653A (en) Method and device for processing service request
WO2021139788A1 (en) Cloud gateway configuration method, system, apparatus, and computer readable storage medium
CN108683679A (en) More account login methods, device, equipment and the storage medium of Web APP
US20120203858A1 (en) Transaction control arrangement for device management system
CN105282047A (en) Access request processing method and device
CN104135378B (en) The method and things-internet gateway management and control entity of control are managed to things-internet gateway
KR20050117936A (en) System and method of managing device for device managing technology
CN111262839A (en) Vulnerability scanning method, management equipment, node and storage medium
CN109391673A (en) A kind of method, system and the terminal device of management update file
CN109587142B (en) Data security access module and equipment for service flow
CN111585805B (en) Smooth release upgrading method and device, computer system and readable storage medium
CN110166529A (en) It keeps logging in state method, apparatus, equipment and storage medium
CN109687992A (en) Monitoring method, device, equipment and the computer readable storage medium of service node
CN110661673B (en) Heartbeat detection method and device
EP3837660A1 (en) Method and system for prediction of smart contract violation using dynamic state space creation
CN107797859A (en) A kind of dispatching method of timed task and a kind of dispatch server
CN115023919B (en) Firewall rule updating method and device, server and storage medium
CN107026879A (en) A kind of data cache method and background application system
CN113709247A (en) Resource acquisition method, device, system, electronic equipment and storage medium
CN112187532A (en) Node control method and system
CN113794677B (en) Control method, device and system for high-interaction honeypot

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190816