CN116166433A - Block chain link point management method, server and computer readable storage medium - Google Patents
Block chain link point management method, server and computer readable storage medium Download PDFInfo
- Publication number
- CN116166433A CN116166433A CN202310110769.8A CN202310110769A CN116166433A CN 116166433 A CN116166433 A CN 116166433A CN 202310110769 A CN202310110769 A CN 202310110769A CN 116166433 A CN116166433 A CN 116166433A
- Authority
- CN
- China
- Prior art keywords
- node
- management
- processes
- server
- blockchain
- 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
Links
Images
Classifications
-
- 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/505—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the application is applicable to the technical field of blockchain, and provides a blockchain link point management method, a server and a computer readable storage medium, which are applied to a node management component, wherein the node management component is installed on a node server of a blockchain, and the method comprises the following steps: scanning a plurality of processes running in the node server; if the plurality of processes running in the node server comprise one or more blockchain node processes, marking one or more blockchain node processes, wherein the one or more blockchain node processes are processes to be managed in the plurality of processes; one or more of the blockchain node processes are managed. By adopting the method, the node management components can be installed on the node servers, so that the autonomous management of each node server is realized, and the dependence on a management platform is reduced.
Description
Technical Field
The embodiment of the application belongs to the technical field of block chains, and particularly relates to a block chain link point management method, a server and a computer readable storage medium.
Background
The blockchain nodes can be any form of server in the blockchain network with the functions of storing, transmitting and processing data, and the like, so that each blockchain node is effectively managed and is of great importance to the blockchain.
In the prior art, the management of blockchain nodes is generally completed by a unified management platform, and the management platform manages a plurality of blockchain nodes at the same time. The management mode concentrates all resources on a management platform, so that the disaster recovery capacity of the whole blockchain network is poor; with the increasing number of blockchain nodes that need to be managed, the load on the management platform increases linearly.
Disclosure of Invention
The embodiment of the application provides a block chain link point management method, a server and a computer readable storage medium, wherein node management components are installed on each node server, and nodes on the corresponding node servers are managed through the node management components, so that independent management of node processes running in the node servers can be realized, and the problem of resource concentration caused by managing block chain nodes through a unified management platform in the prior art is solved.
A first aspect of an embodiment of the present application provides a block link point management method applied to a node management component mounted to a node server of a block chain, the method including:
scanning a plurality of processes running in the node server;
if the plurality of processes running in the node server comprise one or more blockchain node processes, marking one or more blockchain node processes, wherein the one or more blockchain node processes are processes to be managed in the plurality of processes;
one or more of the blockchain node processes are managed.
A second aspect of the embodiments of the present application provides a block link point management method, where the method is applied to a management platform, and the method includes:
installing a node management component in a node server;
and the management of one or more block chain node processes in the node server is realized by receiving the management information sent by the node management component, wherein the management information comprises heartbeat information and node information of one or more block chain node processes.
A third aspect of the embodiments of the present application provides a blockchain node management device applied to a node management component installed in a node server of a blockchain, the device comprising:
the scanning module is used for scanning a plurality of processes running in the node server;
the marking module is used for marking one or more blockchain node processes if the processes running in the node server comprise one or more blockchain node processes, wherein the one or more blockchain node processes are processes to be managed in the processes;
and the management module is used for managing one or more blockchain node processes.
A fourth aspect of the embodiments of the present application provides a blockchain node management device, where the device is applied to a management platform, the device includes:
the installation module is used for installing the node management component in the node server;
and the management module is used for realizing management of one or more block chain node processes in the node server by receiving the management information sent by the node management component, wherein the management information comprises heartbeat information and node information of one or more block chain node processes.
A fifth aspect of embodiments of the present application provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the block link point management method according to the first or second aspect when executing the computer program.
A sixth aspect of embodiments of the present application provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the block link point management method according to the first or second aspect described above.
A seventh aspect of the embodiments of the present application provides a computer program product, which when run on a computer, causes the computer to implement the block link point management method according to the first or second aspect described above.
Compared with the prior art, the block link point management method, the server and the computer readable storage medium provided by the embodiment of the application have the following advantages:
according to the embodiment of the application, the node management components are installed on each node server, each node management component directly manages the node in the node server, and the problem that management resources are concentrated due to the fact that the node management components are uniformly installed on the management platform in the prior art can be solved, so that decentralization management of the block chain nodes is achieved, and disaster recovery capacity of the block chain network is greatly improved. By applying the method provided by the embodiment of the application, the autonomous management of each node server can be realized, and the dependence on a management platform is reduced. Even under the condition that the blockchain nodes are continuously increased, the load of an external management platform is not obviously increased, and the management efficiency of the management platform is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a schematic diagram of a prior art method of managing blockchain nodes;
FIG. 2 is a schematic diagram of the relationship between a management platform and block link points in an abnormal situation in the prior art;
fig. 3 is a schematic diagram of a block link point management method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of managing blockchain nodes in an abnormal situation provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of managing blockchain nodes in another abnormal situation provided by an embodiment of the present application;
fig. 6 is a flowchart illustrating a block link point management method according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of an internal structure of a node server according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a process for discovering block link points to be managed according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of a management platform managing blockchain nodes according to embodiments of the present application;
fig. 10 is a flowchart illustrating a block link point management method according to an embodiment of the present disclosure;
FIG. 11 is a schematic diagram of an installation node management component provided in an embodiment of the present application;
FIG. 12 is a schematic diagram of another installation node management component provided in an embodiment of the present application;
fig. 13 is a schematic diagram of a block link point management device according to an embodiment of the present disclosure;
FIG. 14 is a schematic diagram of another block link point management device according to an embodiment of the present disclosure;
fig. 15 is a schematic diagram of a server according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In combination with the description in the background art, in the prior art, a unified management platform is used to manage each blockchain node, so that all management resources are concentrated on the management platform. Fig. 1 is a schematic diagram of a blockchain node management method in the prior art, and fig. 1 shows a process of managing blockchain nodes under a condition that a management platform operates normally. As can be seen from fig. 1, in the prior art, in a centralized management method, node management components for managing each blockchain node are all installed on a management platform, and each node management component can respectively manage one blockchain node. With the increasing number of blockchain nodes to be managed, more node management components need to be installed in the management platform, which necessarily causes the load of the management platform to present linear increase, and greatly increases the operation pressure of the management platform. When the management platform fails, management of each blockchain node will be affected. Fig. 2 is a schematic diagram of a relationship between a management platform and block link points under an abnormal condition in the prior art, and as can be seen from fig. 2, in a process of applying the management method shown in fig. 1, when an abnormal condition such as a failure of the management platform occurs, the management platform will simultaneously lose effective management of each block chain node.
In view of the above problems, the embodiments of the present application provide a block link point management method, where a node management component is installed in a node server, and each node management component separately manages the node server, so as to solve the problem of resource concentration in the prior art.
Fig. 3 is a schematic diagram of a block link point management method according to an embodiment of the present application. In fig. 3, each blockchain node may be a node server, and node management components for managing the respective blockchain nodes may be installed in the corresponding node servers, respectively. In this way, each node management component can manage the node individually. Specifically, under normal conditions, the node management components installed on each node server can report heartbeat information and node information of the node to the management platform, and the management platform can also manage each node management component in a request mode, so that indirect management of each blockchain node is realized.
By applying the block chain link point management method provided by the embodiment of the application, when a node management component on a management platform or a node server fails, management of all nodes is not affected.
Fig. 4 and fig. 5 are schematic diagrams illustrating management of blockchain nodes in an abnormal situation according to an embodiment of the present application. FIG. 4 illustrates an example of how each node management component manages blockchain nodes when a management platform fails; FIG. 5 illustrates an example of a management platform and how individual node management components manage blockchain nodes in the event of a failure of a node management component.
As shown in fig. 4, when the management platform fails, each node management component cannot report heartbeat information and node information of the node to the management platform, and the management platform cannot manage each node management component, so that the management platform cannot indirectly manage each node management component. However, since the node management components for managing the respective blockchain nodes are installed in the present node server, the node management components in each node server can still normally manage the present node.
As shown in fig. 5, when a node management component fails, the node management component cannot report heartbeat information and node information to the management platform, but the failure of the node management component does not affect other nodes. That is, when the other node management components do not fail, the other node management components can still report the heartbeat information and the node information of the respective nodes to the management platform, and the management platform can also manage other normally operated node management components in a request mode, so that the indirect management of the corresponding nodes is realized. In addition, when a node management component fails, the management platform can reinstall the node management component in a request mode to restore the management of the node. Illustratively, a failure of the node management components installed in node server 1 in fig. 5 will not affect the management of node server 2 and node server 3 by the management platform. Meanwhile, the management platform can reinstall the node management component in the node server 1 so as to resume the management of the node server 1.
The block link point management method of the present application is described below with reference to specific embodiments.
Fig. 6 is a schematic step flow diagram of a block link point management method according to an embodiment of the present application, where the method specifically may include the following steps:
s601, scanning a plurality of processes running in the node server.
The method may be applied to a node management component, which may be a component installed in a node server of a blockchain. For example, the node management components may be the node management components installed in the node servers 1, 2, and 3 in fig. 3. Therefore, the execution body of the embodiment of the present application may be a node management component, and this embodiment is an introduction to the method from the perspective of the node management component.
In one possible implementation manner of the embodiment of the present application, the number of node servers in the blockchain may include a plurality of node management components installed in each node server and used for managing the node server, and the number of node management components may be one or a plurality of node management components, and each node management component is uniquely installed in one node server. Illustratively, a node management component may be installed in each node server, each node management component separately managing the node server. Alternatively, a plurality of node management components may be installed in each node server, and management of the node server may be implemented by the plurality of node management components in the node server together, which is not limited in the embodiment of the present application.
In an example, when the block link point management method provided by the embodiment of the present application is applied, a plurality of node management components may be installed in each node server, and the plurality of node management components may manage the same node server at the same time. For example, a plurality of node management components installed in a node server may collectively implement management of the node server.
In the embodiment of the present application, management of blockchain nodes is typically management of various processes running in corresponding node servers. Thus, to enable management of blockchain nodes, multiple processes running in the node server need to be scanned to determine which processes need to be managed. It should be noted that, for different management purposes, the processes that need to be managed in each node server may be different.
In one possible implementation manner of the embodiment of the present application, the node management component may provide an access interface to an external management platform, where the access interface may be used to connect the external management platform with each node management component, so as to implement management of each node management component by the external management platform to indirectly manage each node server or a process running in the node server. The external management platform may be the management platform shown in fig. 3.
If one or more block link point processes to be managed are included in the plurality of processes running in the scanned node server, the node management component may perform S602.
S602, marking one or more blockchain node processes, wherein the one or more blockchain node processes are processes to be managed in the processes.
In the embodiment of the present application, by scanning the processes running in each node server, it is possible to find out a plurality of processes running in each node server, but not all processes need to be managed. Thus, after scanning each process, one or more blockchain node processes to be managed may be marked to determine which are processes that need to be managed.
Fig. 7 is a schematic diagram of an internal structure of a node server according to an embodiment of the present application. The node management service installed in the node server may include a module or component such as node discovery and node management, where the node discovery module may be used to discover a block link point process that runs in the node server and needs to be managed; management of these block link point processes may be implemented by a node management module. Of course, the node management component may further include other modules, components, and interfaces, for example, the node management component may further include an access interface and a web component shown in fig. 7, and the modules, components, or interfaces included in the node management component are not limited in this embodiment of the present application.
In one possible implementation manner of the embodiment of the present application, after scanning a plurality of processes running in a node server, the node management component may determine, according to preconfigured information, a block link point process to be managed from the plurality of processes. Alternatively, the node management component may also determine the block link point process to be managed based on user selection instructions for the plurality of processes scanned.
Fig. 8 is a schematic diagram of a process of discovering a link point of a block to be managed according to an embodiment of the present application. In the manner shown in fig. 8, a user may access the node management component in each node server through a terminal, trigger the node management component to scan and discover each process running in the node server. The node management component may then display information of the plurality of processes running in the present node server via a browser. Thus, the user can conveniently and intuitively know the current process in the node server. According to different management purposes, a user can select a plurality of processes through a browser, and the processes needing to be managed are selected. In response to an instruction to select one or more blockchain node processes from the plurality of processes, the node management component may mark the selected one or more blockchain node processes as processes to be managed.
S603, managing one or more blockchain node processes.
After determining one or more blockchain node processes that need to be managed, the node management component in each node server may manage the blockchain node processes in the node server.
In a possible implementation manner of the embodiment of the present application, each node management component may further implement management of the node in the present node server by an external management platform by providing an interface to the external management platform.
In embodiments of the present application, the node management component may obtain management information for the marked one or more blockchain node processes, i.e., processes that need to be managed, that are compared. The management platform may then send the management information to the management platform to enable management of the one or more blockchain node processes by the management platform. In one example, the management information sent to the management platform by the node management component may include heartbeat information and node information for each block link point process.
In another possible implementation manner of the embodiment of the present application, after the node service component realizes connection with an external management platform, the management platform may also actively initiate management of the node management component or each blockchain node process. FIG. 9 is a schematic diagram of a management platform for managing blockchain nodes according to embodiments of the present application. According to fig. 9, the management platform may be connected to the node management component through an access interface provided by the node management component, and may send a management request to the node management component through the access interface, so as to manage the node management component, thereby indirectly managing each blockchain node process.
In the embodiment of the application, the node management component in each node server may receive a management request sent by the management platform, and manage one or more blockchain node processes according to the management request.
According to the embodiment of the application, the node management components are installed on each node server, each node management component directly manages the node in the node server, and the problem that management resources are concentrated due to the fact that the node management components are uniformly installed on the management platform in the prior art can be solved, so that decentralization management of the block chain nodes is achieved, and disaster recovery capacity of the block chain network is greatly improved. By applying the method provided by the embodiment of the application, even under the condition that the blockchain nodes are continuously increased, the load of an external management platform is not obviously increased, and the management efficiency of the management platform is improved.
Fig. 10 is a schematic step flow diagram of a block link point management method according to an embodiment of the present application, where the method specifically may include the following steps:
s1001, installing a node management component in a node server.
The method can be applied to a management platform, namely an execution main body of the embodiment of the application is the management platform, and the embodiment is introduced from the perspective of the management platform.
In the embodiment of the application, in order to solve the problem that all node management components are installed on a management platform and thus the management resources are concentrated, the node management components can be installed in node servers, and the node management components in each node server are used for carrying out autonomous management on the node servers respectively, so that the load of the management platform is reduced.
In one possible implementation manner of the embodiment of the present application, installing the node management component in the node server may be implemented by a manner that a user manually executes a corresponding command line in the server. The process of installing the node management component shown in fig. 11 is a schematic diagram of this installation mode.
In another possible implementation manner of the embodiment of the present application, the node management component may also be installed by the management platform through the authorization management platform. Fig. 12 is a schematic diagram of another node management component installed according to an embodiment of the present application, and fig. 12 is a schematic diagram illustrating installation of the node management component by a management platform.
In the embodiment of the application, in order to implement the installation of the node management component in each node server, the management platform may first obtain authorization information of each node server, where the authorization information may be used to install the node management component in each node server by the management platform. Thus, after obtaining the above-mentioned authorization, the management platform may remotely install the node management component in each node server based on the corresponding authorization information.
Specifically, the management platform may remotely execute an installation script in the node server based on the corresponding authorization information to install the node management component in the node server.
In one possible implementation manner of the embodiment of the present application, the management platform may further perform fault detection on the node management component, and reinstall the node management component in each node server based on the obtained authorization information when the node management component is detected to be faulty. That is, the management platform may determine whether a node management component in each node server has failed, and if a node management component has failed, the management platform may reinstall the node management component in the node server.
In the embodiment of the application, the management platform determines whether the node management component fails or not by determining whether management information is received or not. Specifically, the management platform may determine whether the management information sent by each node management component is received within a preset time, and if the management information sent by a certain node management component is not received within the preset time, the management platform may determine that the node management component in the node server fails. The preset time may be determined according to actual needs, which is not limited in the embodiment of the present application. The management information may include heartbeat information of each node management component and node information of a node server where the node management component is located.
S1002, management of one or more block chain node processes in the node server is achieved by receiving management information sent by the node management component, wherein the management information comprises heartbeat information and node information of one or more block chain node processes.
In the embodiment of the application, the management platform can manage the blockchain node processes in each node server by receiving the management information sent by each node management component.
In one possible implementation manner of the embodiment of the present application, the management platform may also actively initiate management of the node management component or each blockchain node process. Specifically, the management platform can be connected with the node management component through an access interface provided by the node management component, and sends a management request to the node management component so as to manage the node management component, thereby indirectly managing each blockchain node process.
Since the embodiment is an introduction to the method from the perspective of the management platform, the related details can be referred to the description of the previous embodiment, which is not repeated in this embodiment.
It should be noted that, the sequence number of each step in the above embodiment does not mean the sequence of execution sequence, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
As shown in fig. 13, a schematic diagram of a blockchain node management device provided in an embodiment of the present application may be applied to a node management component, where the node management component is installed on a node server of a blockchain, and the device may specifically include a scanning module 1301, a marking module 1302, and a management module 1303, where:
a scanning module 1301, configured to scan a plurality of processes running in the node server;
a marking module 1302, configured to mark one or more blockchain node processes if one or more blockchain node processes are included in the processes running in the node server, where the one or more blockchain node processes are processes to be managed in the processes;
and the management module 1303 is configured to manage one or more blockchain node processes.
In one possible implementation of the embodiment of the present application, the marking module 1302 may specifically be configured to: displaying information of a plurality of processes running in the node server through a browser; in response to an instruction to select one or more of the blockchain node processes from a plurality of the processes, marking the one or more blockchain node processes as processes to be managed.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include a connection module, where the connection module may specifically be configured to provide an access interface to an external management platform, where the access interface is configured to connect the management platform with the node management component.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include an acquisition module and a sending module, where:
the acquisition module may specifically be configured to: acquiring management information of one or more marked block chain node processes, wherein the management information comprises heartbeat information and node information of one or more block chain node processes;
the sending module may specifically be configured to: and sending the management information to the management platform to realize the management of one or more blockchain node processes by the management platform.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include a receiving module, where the receiving module may specifically be configured to receive a management request sent by the management platform;
accordingly, the management module 1303 may be further configured to manage one or more blockchain node processes according to the management request.
In this embodiment of the present application, the number of the node management components may include a plurality, the number of the node servers may include a plurality, at least one node management component may be installed in any one of the node servers, and any one of the node management components is uniquely installed in one of the node servers.
As shown in fig. 14, another block chain node management apparatus according to an embodiment of the present application may be applied to a management platform, and the apparatus may specifically include an installation module 1401 and a management module 1402, where:
an installation module 1401 for installing a node management component in a node server;
the management module 1402 is configured to implement management of one or more blockchain node processes in the node server by receiving management information sent by the node management component, where the management information includes heartbeat information and node information of the one or more blockchain node processes.
In the embodiment of the present application, the installation module 1401 may be specifically used for: acquiring authorization information of the node server; the node management component is installed remotely in the node server based on the authorization information.
In one possible implementation of the embodiments of the present application, the mounting module 1401 may be further configured to: and based on the authorization information, remotely executing an installation script in the node server to install the node management component in the node server.
In an embodiment of the present application, the apparatus may further include a determining module and a reinstalling module, wherein:
the determining module may be configured to determine whether management information sent by the node management component in the node server is received within a preset time;
the reinstallation module may be configured to reinstall the node management component in the node server if the management information sent by the node management component is not received within the preset time.
In this embodiment of the present application, the apparatus may further include a sending module, where the sending module may specifically be configured to send a management request to the node management component, where the management request is used to manage one or more blockchain node processes by the node management component.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference should be made to the description of the method embodiments.
Referring to fig. 15, a schematic diagram of a server provided in an embodiment of the present application is shown. As shown in fig. 15, a server 1500 in the embodiment of the present application includes: a processor 1510, a memory 1520, and a computer program 1521 stored in the memory 1520 and executable on the processor 1510. The processor 1510, when executing the computer program 1521, performs the steps of the various embodiments of the blockchain node management method described above, such as steps S601 to S603 shown in fig. 6 or steps S1001 to S1002 shown in fig. 10. Alternatively, the processor 1510, when executing the computer program 1521, performs the functions of the modules/units in the above-described apparatus embodiments, for example, the functions of the modules 1301 to 1303 shown in fig. 13 or the functions of the modules 1401 to 1402 shown in fig. 14.
By way of example, the computer program 1521 may be partitioned into one or more modules/units that are stored in the memory 1520 and executed by the processor 1510 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing particular functions, which may be used to describe the execution of the computer program 1521 in the server 1500. For example, the computer program 1521 may be divided into a scan module, a labeling module, and a management module, each of which specifically functions as follows:
the scanning module is used for scanning a plurality of processes running in the node server;
the marking module is used for marking one or more blockchain node processes if the processes running in the node server comprise one or more blockchain node processes, wherein the one or more blockchain node processes are processes to be managed in the processes;
and the management module is used for managing one or more blockchain node processes.
Alternatively, the computer program 1521 may be further divided into an installation module and a management module, wherein:
the installation module is used for installing the node management component in the node server;
and the management module is used for realizing management of one or more block chain node processes in the node server by receiving the management information sent by the node management component, wherein the management information comprises heartbeat information and node information of one or more block chain node processes.
The server 1500 may be a node server implementing the steps in the foregoing method embodiments, or a server existing in the form of a server and capable of implementing the corresponding functions of the management platform of the foregoing method embodiments. The server 1500 may include, but is not limited to, a processor 1510, a memory 1520. It will be appreciated by those skilled in the art that fig. 15 is merely an example of a server 1500 and is not meant to be limiting as server 1500, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the server 1500 may also include input and output devices, network access devices, buses, etc.
The processor 1510 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 1520 may be an internal storage unit of the server 1500, such as a hard disk or a memory of the server 1500. The memory 1520 may also be an external storage device of the server 1500, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the server 1500. Further, the memory 1520 may also include both internal storage units and external storage devices of the server 1500. The memory 1520 is used to store the computer program 1521 and other programs and data needed by the server 1500. The memory 1520 may also be used to temporarily store data that has been output or is to be output.
The embodiment of the application also discloses a server, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the block link point management method in the previous embodiments when executing the computer program.
The embodiments of the present application also disclose a computer readable storage medium storing a computer program which, when executed by a processor, implements the block link point management method described in the foregoing embodiments.
The embodiment of the application also discloses a computer program product which enables a computer to execute the block chain link point management method according to each embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting. Although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.
Claims (12)
1. A block link point management method applied to a node management component, wherein the node management component is installed on a node server of a block chain, the method comprising:
scanning a plurality of processes running in the node server;
if the plurality of processes running in the node server comprise one or more blockchain node processes, marking one or more blockchain node processes, wherein the one or more blockchain node processes are processes to be managed in the plurality of processes;
one or more of the blockchain node processes are managed.
2. The method of claim 1, wherein marking one or more blockchain node processes if the plurality of processes running in the node server includes one or more blockchain node processes comprises:
displaying information of a plurality of processes running in the node server through a browser;
in response to an instruction to select one or more of the blockchain node processes from a plurality of the processes, marking the one or more blockchain node processes as processes to be managed.
3. The method according to claim 1 or 2, characterized in that before scanning the plurality of processes running in the node server, the method further comprises:
and providing an access interface for an external management platform, wherein the access interface is used for connecting the management platform with the node management component.
4. The method of claim 3, wherein after marking one or more of the blockchain node processes, the method further comprises:
acquiring management information of one or more marked block chain node processes, wherein the management information comprises heartbeat information and node information of one or more block chain node processes;
and sending the management information to the management platform to realize the management of one or more blockchain node processes by the management platform.
5. The method of any of claims 1-2 or 4, wherein at least one of the node management components is installed in any of the node servers, and wherein any of the node management components is installed exclusively in one of the node servers.
6. A block link point management method applied to a management platform, the method comprising:
installing a node management component in a node server;
and the management of one or more block chain node processes in the node server is realized by receiving the management information sent by the node management component, wherein the management information comprises heartbeat information and node information of one or more block chain node processes.
7. The method of claim 6, wherein installing the node management component in the node server comprises:
acquiring authorization information of the node server;
the node management component is installed remotely in the node server based on the authorization information.
8. The method of claim 7, wherein the remotely installing the node management component in the node server based on the authorization information comprises:
and based on the authorization information, remotely executing an installation script in the node server to install the node management component in the node server.
9. The method of any of claims 6-8, wherein after installing the node management component in the node server, the method further comprises:
determining whether management information sent by the node management component in the node server is received within preset time;
and if the management information sent by the node management component is not received within the preset time, reinstalling the node management component in the node server.
10. The method of any of claims 6-8, wherein after installing the node management component in the node server, the method further comprises:
and sending a management request to the node management component, wherein the management request is used for managing one or more blockchain node processes through the node management component.
11. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the block link point management method according to any of claims 1-5 or 6-10 when executing the computer program.
12. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the block link point management method according to any one of claims 1-5 or 6-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310110769.8A CN116166433A (en) | 2023-02-09 | 2023-02-09 | Block chain link point management method, server and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310110769.8A CN116166433A (en) | 2023-02-09 | 2023-02-09 | Block chain link point management method, server and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116166433A true CN116166433A (en) | 2023-05-26 |
Family
ID=86411001
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310110769.8A Pending CN116166433A (en) | 2023-02-09 | 2023-02-09 | Block chain link point management method, server and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116166433A (en) |
-
2023
- 2023-02-09 CN CN202310110769.8A patent/CN116166433A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9189316B2 (en) | Managing failover in clustered systems, after determining that a node has authority to make a decision on behalf of a sub-cluster | |
US20070038885A1 (en) | Method for operating an arrangement of a plurality of computers in the event of a computer failure | |
CN108984349B (en) | Method and device for electing master node, medium and computing equipment | |
CN106941420B (en) | cluster application environment upgrading method and device | |
CN102455936A (en) | Trunk quick allocation method | |
CN112003721B (en) | Method and device for realizing high availability of large data platform management node | |
CN113127201B (en) | Fault application server isolation method and device, electronic equipment and storage medium | |
CN113162808A (en) | Storage link fault processing method and device, electronic equipment and storage medium | |
CN112015689A (en) | Serial port output path switching method, system and device and switch | |
CN114840495A (en) | Database cluster split-brain prevention method, storage medium and device | |
CN110896362B (en) | Fault detection method and device | |
CN107959595B (en) | Method, device and system for anomaly detection | |
US10999128B2 (en) | System and method for automatically repairing a faultily connected network element | |
US20080216057A1 (en) | Recording medium storing monitoring program, monitoring method, and monitoring system | |
CN116166433A (en) | Block chain link point management method, server and computer readable storage medium | |
CN113296911B (en) | Cluster calling method, cluster calling device, electronic equipment and readable storage medium | |
CN114257632A (en) | Disconnection reconnection method and device, electronic equipment and readable storage medium | |
CN107526670A (en) | Service automatic monitoring method, electronic equipment, computer-readable storage medium | |
CN110896407B (en) | NFVO component configuration management, request forwarding method and request processing device | |
CN114785789B (en) | Database fault management method and device, electronic equipment and storage medium | |
CN117312081A (en) | Fault detection method, device, equipment and medium for distributed storage system | |
CN116743757A (en) | Service load balancing method, device, equipment and storage medium | |
CN116795599A (en) | Proxy process exception self-recovery method and device | |
CN115495273A (en) | Client program health management method and device, electronic equipment and storage medium | |
CN116827757A (en) | Cluster remote management method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |