Leader node management method and device based on artificial intelligence, equipment and storage medium
A technology of node management and artificial intelligence, applied in the direction of program control device, program control design, electrical digital data processing, etc., can solve the problem that the follow node cannot be called correctly
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] see figure 1 , a kind of artificial intelligence-based leader node management method of the present embodiment, runs in the zookeeper server, comprises:
[0045] S101: Construct the first connection between the zookeeper server and the server, create a leader node for managing the service components in the server through the zookeeper server, wherein the server is a service provider with at least one service component party, the service component is a computer program for providing specified services;
[0046] S104: Perform recovery processing or uninstallation processing on the leader node in the zookeeper server according to the running state of the zookeeper server and / or the connection state of the first connection;
[0047] S106: After the leader node is uninstalled, re-elect the leader node of the server.
[0048] In an exemplary embodiment, by receiving the first connection request sent by the server and establishing a first connection between the zookeeper ser...
Embodiment 2
[0053] This embodiment is a specific application scenario of the first embodiment above. Through this embodiment, the method provided by the present invention can be described more clearly and specifically.
[0054] In the following, in the server running the leader node management method, according to the running state of the zookeeper server and / or the connection state of the first connection, the leader node is restored or unloaded as an example, to provide an example of the present embodiment. The method is described in detail. It should be noted that this embodiment is only exemplary, and does not limit the protection scope of the embodiment of the present invention.
[0055] figure 2 A schematic diagram of an environment application of the artificial intelligence-based leader node management method according to Embodiment 2 of the present application is schematically shown.
[0056] In an exemplary embodiment, the zookeeper server 2 where the leader node management me...
Embodiment 3
[0109] see Figure 4 , a leader node management device 1 based on artificial intelligence in this embodiment is installed in a zookeeper server, including:
[0110] The first creation module 11 is used to construct the first connection between the zookeeper server and the service end, and creates a leader node for managing service components in the service end through the zookeeper server, wherein the service end has at least A service provider of a service component, which is a computer program for providing specified services;
[0111] A node processing module 14, configured to restore or unload the leader node in the zookeeper server according to the running state of the zookeeper server and / or the connection state of the first connection;
[0112] The leader election module 16 is configured to re-elect the leader node of the server after the leader node is uninstalled.
[0113] Optionally, the leader node management device 1 further includes:
[0114] The second creatio...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com