Management method and device of plug-in service management platform, computer equipment and readable storage medium
Through the management method of the automated plug-in service management platform, scanning registration, permission acquisition and configuration operations solve the inefficiency and complexity of traditional plug-in service management, and achieve efficient and low-error plug-in service installation and management.
Patent Information
- Application Number
- CN202410829728.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-06
AI Technical Summary
The traditional plug-in service management method requires users to manually install, configure, and update, which is inefficient and error-prone, resulting in increased management complexity.
Provides a management method for the plug-in service management platform. Through platform startup, plug-in service scanning and registration, user permission acquisition and configuration operation options, it realizes automated processes and simplifies the installation and management of plug-in services, including core controllers performing deployment tasks and service operations. , service monitoring and cluster monitoring.
It improves the efficiency and user experience of plug-in service management, reduces the difficulty of operation and error rate, and realizes the automated installation and management of plug-in services.
Smart Images

Figure CN118605973A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of plug-in services, and in particular to a management method, device, computer equipment and readable storage medium for a plug-in service management platform. Background Art
[0002] With the rapid development of information technology, various plug-in services have emerged in an endless stream, providing enterprises and individuals with rich functional extensions. However, the increase in plug-in services has also brought about management complexity. Traditional plug-in service management methods often require users to manually install, configure, and update plug-ins, which is not only inefficient but also prone to errors. Summary of the invention
[0003] The object of the present invention is to provide a management method, device, computer equipment and readable storage medium for a plug-in service management platform.
[0004] In a first aspect, an embodiment of the present invention provides a management method of a plug-in service management platform, including:
[0005] In response to the platform start instruction, start the target management platform;
[0006] Scan and register plug-in services through the target management platform;
[0007] In response to the user access instruction, obtaining the user authority of the current access user;
[0008] According to the user rights, corresponding configuration operation options are provided;
[0009] In response to the configuration operation option, a target plug-in service is acquired from the plug-in service, and the target plug-in service is installed to the target management platform.
[0010] In a possible implementation, scanning and registering a plug-in service through the target management platform includes:
[0011] Scan the plug-in service through the target management platform to obtain the plug-in service name, plug-in service version, plug-in service configuration file and plug-in service installation path corresponding to the plug-in service;
[0012] The registration of the plug-in service is completed according to the plug-in service name, plug-in service version, plug-in service configuration file and plug-in service installation path.
[0013] In a possible implementation, in response to the configuration operation option, obtaining a target plug-in service from the plug-in service, and installing the target plug-in service to the target management platform includes:
[0014] In response to the configuration operation option, obtaining a target plug-in service from the plug-in service, and displaying an installation configuration interface;
[0015] In response to the installation information filling operation on the installation configuration interface, obtaining location information, size information, network information and storage information corresponding to the target plug-in service;
[0016] generating a deployment request based on the location information, size information, network information, and storage information;
[0017] Send the deployment application to the corresponding thread to obtain the deployment task corresponding to the deployment application;
[0018] The core controller is called to execute the deployment task, and the target plug-in service is installed to the target management platform.
[0019] In a possible implementation, the method further includes:
[0020] The core controller is called to execute service operation, service monitoring and cluster monitoring for the target management platform.
[0021] In a possible implementation, the calling of the core controller to perform service operation, service monitoring and cluster monitoring for the target management platform includes:
[0022] Calling the core controller to control the installation, start and stop of the plug-in to complete the service operation;
[0023] Calling the core controller to collect and push resource indicators and preset indicators of the plug-in service to the monitoring platform to complete the service monitoring;
[0024] The core controller is called to collect plug-in service running status and cluster related indicators to complete the cluster monitoring.
[0025] In a possible implementation, the method further includes:
[0026] The resource indicators, preset indicators, plug-in service operation status and cluster-related indicators obtained by the monitoring platform according to a preset period are obtained and displayed visually.
[0027] In a possible implementation, the method further includes:
[0028] Call the alarm platform to obtain the alarm events fed back by the monitoring platform in real time;
[0029] When a preset alarm event fed back by the monitoring platform is received, the preset alarm event is sent to a target user in a preset manner.
[0030] In a second aspect, an embodiment of the present invention provides a management device for a plug-in service management platform, including:
[0031] An execution module is used to start a target management platform in response to a platform startup instruction; scan and register plug-in services through the target management platform; obtain user permissions of the current access user in response to a user access instruction; provide corresponding configuration operation options based on the user permissions; obtain a target plug-in service from the plug-in service in response to the configuration operation options, and install the target plug-in service to the target management platform.
[0032] In a third aspect, an embodiment of the present invention provides a computer device, comprising a processor and a non-volatile memory storing computer instructions, wherein when the computer instructions are executed by the processor, the computer device executes the method described in at least one possible implementation of the first aspect.
[0033] In a fourth aspect, an embodiment of the present invention provides a readable storage medium, wherein the readable storage medium includes a computer program, and when the computer program is executed, the computer device where the readable storage medium is located is controlled to execute the method described in at least one possible implementation manner of the first aspect.
[0034] Compared with the prior art, the beneficial effects provided by the present invention include: using the management method, device, computer equipment and readable storage medium of a plug-in service management platform disclosed by the present invention, the management of plug-in services is simplified through the automated process through platform startup, plug-in service scanning registration, user authority acquisition, configuration operation option provision and target plug-in service installation, and management efficiency and user experience are improved. With such a design, users only need to select configuration operations according to their authority, and the system can automatically complete the installation and management of plug-in services, greatly reducing the difficulty of operation and error rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can also be obtained based on these drawings without creative work.
[0036] Figure 1 A schematic diagram of the steps of a management method of a plug-in service management platform provided by an embodiment of the present invention;
[0037] Figure 2 A schematic diagram of a management framework of a plug-in service management platform provided in an embodiment of the present invention;
[0038] Figure 3A schematic block diagram of the structure of a management device for a plug-in service management platform provided in an embodiment of the present invention;
[0039] Figure 4 A schematic block diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0041] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings.
[0042] In order to solve the technical problems in the aforementioned background technology, Figure 1 This is a flow chart of a management method of a plug-in service management platform provided in an embodiment of the present disclosure. The management method of the plug-in service management platform is introduced in detail below.
[0043] Step S201, in response to a platform startup instruction, starting a target management platform;
[0044] Step S202, scanning and registering plug-in services through the target management platform;
[0045] Step S203, in response to the user access instruction, obtaining the user authority of the current access user;
[0046] Step S204, providing corresponding configuration operation options according to the user authority;
[0047] Step S205 , in response to the configuration operation option, obtaining a target plug-in service from the plug-in service, and installing the target plug-in service to the target management platform.
[0048] In an embodiment of the present invention, illustratively, the server receives a startup instruction, which requires the startup of a big data management platform. The server starts to load and initialize the relevant components and services of the management platform according to a preset process. For example, in a specific scenario, after receiving the startup command, the server starts to start a management platform named "BigDataMgr", which is used to monitor and manage big data clusters. Once the "BigDataMgr" management platform is successfully started, the server will use its built-in plug-in scanning mechanism to automatically detect and identify plug-in services installed or available in the system. These plug-in services may include data monitoring plug-ins, security management plug-ins, performance optimization plug-ins, etc. For example, the server scans a data monitoring plug-in named "DataMonitorPlugin" and registers it to the "BigDataMgr" management platform for subsequent management and configuration. When a user tries to access the "BigDataMgr" management platform, the server will require the user to authenticate, such as entering a user name and password. After successful authentication, the server will obtain the user's operating permissions from the permission management system based on the user's identity information. For example, after the user "Alice" passes the identity authentication, the server queries that she has "administrator" permissions and can perform advanced configuration and management tasks in the platform. According to Alice's administrator privileges, the server provides her with complete configuration and management options on the user interface of the BigDataMgr management platform, including installation, uninstallation, and update of plug-in services. In this way, Alice can configure and manage the platform in detail according to her needs. Alice chooses to install the previously scanned and registered "DataMonitorPlugin" data monitoring plug-in in the management platform. In response to this operation, the server obtains the installation package of the plug-in from the plug-in library and installs the plug-in in the BigDataMgr management platform according to the preset process. After the installation is complete, the DataMonitorPlugin can provide real-time data monitoring functions for BigDataMgr. Through the above steps, the server can flexibly manage and configure the plug-in services in the big data management platform, thereby improving the scalability and ease of use of the platform.
[0049] In the embodiment of the present invention, the aforementioned step S202 may be implemented through the following example execution.
[0050] Scan the plug-in service through the target management platform to obtain the plug-in service name, plug-in service version, plug-in service configuration file and plug-in service installation path corresponding to the plug-in service;
[0051] The registration of the plug-in service is completed according to the plug-in service name, plug-in service version, plug-in service configuration file and plug-in service installation path.
[0052] In an embodiment of the present invention, exemplarily, after the server starts the "BigDataMgr" management platform, the platform will start a plug-in scanning program. This program will scan the system's specific directory or preset plug-in storage location to find available plug-in services. During the scanning process, the program will identify the key information of each plug-in. For example, during the scanning process, the program found a data compression plug-in and extracted the following information: the plug-in service name is "DataCompressionPlugin", the plug-in service version is "3.2.1", the configuration file of the plug-in service is " / etc / bigdata / plugins / data_compression.conf", and the installation path of the plug-in service is " / usr / local / bigdata / plugins / data_compression". Once the scanning program obtains the detailed information of the plug-in, it will pass this information to the plug-in registration module of the "BigDataMgr" management platform. This module will create a new entry in the database or registry of the management platform to store and manage the relevant information of this plug-in. Continuing with the above example, the plug-in registration module will create a new registration entry for "DataCompressionPlugin" in the management platform's database, including its name "DataCompressionPlugin", version "3.2.1", configuration file path " / etc / bigdata / plugins / data_compression.conf" and installation path " / usr / local / bigdata / plugins / data_compression". After completing these steps, the plug-in is officially registered in the management platform, and users can see and manage the plug-in on the management interface. Through the above detailed steps, the server can accurately identify and register the plug-in service in the system, providing an accurate data foundation for subsequent configuration and management.
[0053] In the embodiment of the present invention, the aforementioned step S205 can be implemented through the following example execution.
[0054] In response to the configuration operation option, obtaining a target plug-in service from the plug-in service, and displaying an installation configuration interface;
[0055] In response to the installation information filling operation on the installation configuration interface, obtaining location information, size information, network information and storage information corresponding to the target plug-in service;
[0056] generating a deployment request based on the location information, size information, network information, and storage information;
[0057] Send the deployment application to the corresponding thread to obtain the deployment task corresponding to the deployment application;
[0058] The core controller is called to execute the deployment task, and the target plug-in service is installed to the target management platform.
[0059] In an embodiment of the present invention, exemplarily, when the administrator "Alice" chooses to install the "DataMonitorPlugin" data monitoring plug-in in the "BigDataMgr" management platform, the server will respond to this operation, obtain detailed information of the plug-in from the registered plug-in service list, and pop up an installation configuration interface on the user interface of the management platform. This interface allows "Alice" to further configure the installation parameters of the plug-in. In the installation configuration interface, "Alice" needs to fill in some necessary installation information, such as the installation location of the plug-in, the required storage space size, network configuration (such as port number, network protocol, etc.) and storage settings (such as whether to use independent storage space, storage path, etc.). The server will respond to these filling operations, collect and save this information for subsequent use. For example, "Alice" specifies that the installation path of the plug-in is " / usr / local / bigdata / plugins / data_monitor", the required storage space is "10GB", the TCP protocol and the default port "8080" are used, and independent storage space is selected. The server generates a detailed deployment application based on the installation information filled in by "Alice". This application contains all the necessary configuration information and installation requirements so that the subsequent installation program can accurately deploy according to these requirements. For example, the deployment application contains the following information: "Plugin name: DataMonitorPlugin, installation path: / usr / local / bigdata / plugins / data_monitor, storage space: 10GB, network configuration: TCP protocol, port 8080, storage settings: independent storage space". The server sends the generated deployment application to a thread or task queue dedicated to plugin deployment. After receiving the application, this thread or queue will create a specific deployment task based on the content. For example, the deployment thread receives the deployment application of "DataMonitorPlugin" and creates a deployment task based on it, which contains all the necessary installation steps and configuration requirements. Once the deployment task is created, the server will call its core controller to execute the task. The core controller will automatically install, configure, and start the plugin according to the detailed requirements of the task. For example, when the core controller starts to execute the deployment task of "DataMonitorPlugin", it will first copy the installation package of the plug-in to the specified installation path, then make necessary configuration changes (such as setting network ports, storage space, etc.), and finally start the plug-in service. After completing these steps, "DataMonitorPlugin" is successfully installed in the "BigDataMgr" management platform and can be used immediately.
[0060] In the embodiments of the present invention, the following implementation modes are also provided.
[0061] The core controller is called to execute service operation, service monitoring and cluster monitoring for the target management platform.
[0062] In an embodiment of the present invention, exemplarily, after the "DataMonitorPlugin" data monitoring plug-in is successfully installed on the "BigDataMgr" management platform, the server will further call its core controller to perform service operations, service monitoring and cluster monitoring related to the plug-in. The server performs service operations on the "BigDataMgr" management platform through the core controller. For example, when it is necessary to start, stop or restart the "DataMonitorPlugin" plug-in service, the core controller will send corresponding commands to the management platform. These commands will trigger the life cycle management function of the plug-in service to ensure that the plug-in can work as expected. The administrator "Alice" clicks the "Start" button through the management platform interface to activate the "DataMonitorPlugin". After receiving this instruction, the core controller will send a start command to the plug-in service, so that it starts running and monitors the data status of the big data cluster. The core controller will also perform real-time monitoring of the "DataMonitorPlugin" plug-in service. This includes checking the running status of the plug-in, performance indicators (such as CPU usage, memory usage, etc.), and any possible errors or exceptions. This information will be fed back to the management platform in real time for the administrator to view and analyze. During the operation of "DataMonitorPlugin", the core controller detected a sudden increase in the memory usage of the plug-in. It immediately reported this information to the management platform and triggered an alarm to notify the administrator "Alice". In this way, "Alice" can take timely measures to avoid potential performance problems or service interruptions. In addition to monitoring individual plug-in services, the core controller is also responsible for monitoring the health and performance of the entire big data cluster. It collects and analyzes data from each node in the cluster, including node status, resource utilization, task execution, etc. This information helps administrators to fully understand the operation status of the cluster and identify and solve potential problems in a timely manner. During the monitoring process, the core controller found that a node in the big data cluster had a long response time. It immediately reported this situation to the management platform and provided detailed performance data and diagnostic suggestions. Based on this information, the administrator "Alice" quickly located the problem and optimized the node, thus ensuring the stable operation of the cluster.
[0063] In the embodiment of the present invention, the calling of the core controller to perform service operation, service monitoring and cluster monitoring for the target management platform can be implemented through the following examples.
[0064] Calling the core controller to control the installation, startup and stop of the plug-in to complete the service operation;
[0065] Calling the core controller to collect and push resource indicators and preset indicators of the plug-in service to the monitoring platform to complete the service monitoring;
[0066] The core controller is called to collect plug-in service running status and cluster related indicators to complete the cluster monitoring.
[0067] In an embodiment of the present invention, illustratively, when a plug-in service needs to be installed, started or stopped, the server will call the core controller to perform these operations. The core controller is responsible for communicating with the plug-in service, sending corresponding control instructions, and ensuring that these instructions are correctly executed. The server receives a request and needs to install a new data compression plug-in "DataCompressionPlugin". The server calls the core controller and sends it an installation instruction. After receiving the instruction, the core controller starts to download the installation package of the plug-in, decompresses and configures related files, and finally completes the installation of the plug-in. Similarly, when the plug-in needs to be started or stopped, the server will also send the corresponding start or stop instruction through the core controller. In order to monitor the running status and performance of the plug-in service in real time, the server will call the core controller to collect various resource indicators (such as CPU usage, memory occupancy, etc.) and preset indicators (such as the amount of data processed by the plug-in, processing speed, etc.) of the plug-in service. These indicator data will be pushed to the monitoring platform so that the administrator can view and analyze them at any time. The server regularly calls the core controller to collect resource indicators and preset indicators of the "DataCompressionPlugin" plug-in service. After the core controller obtains these data from the plug-in service, it pushes them to the monitoring platform. Administrators can view the plug-in's CPU usage, memory occupancy, and data compression speed and efficiency in real time on the monitoring platform. In addition to monitoring the status and performance of a single plug-in service, the server also needs to monitor the entire cluster. To this end, the server will call the core controller to collect the running status of the plug-in service and related indicators of the cluster (such as cluster load, node status, etc.). This data helps administrators fully understand the health and performance of the cluster. The server regularly collects the running status of all plug-in services in the "BigDataMgr" management platform and related indicators of the entire big data cluster through the core controller. These indicators include but are not limited to the cluster load, resource utilization of each node, and task execution. Administrators can view this information through the monitoring platform, so as to promptly discover and solve possible problems in the cluster. For example, if the load of a node is too high or the resource utilization is abnormal, the administrator can quickly take measures to optimize or expand the capacity.
[0068] In the embodiments of the present invention, the following implementation modes are also provided.
[0069] The resource indicators, preset indicators, plug-in service operation status and cluster-related indicators obtained by the monitoring platform according to a preset period are obtained and displayed visually.
[0070] In the embodiment of the present invention, illustratively, the server will periodically obtain various data previously collected and pushed by the core controller from the monitoring platform, including resource indicators of plug-in services (such as CPU and memory usage), preset indicators (such as performance data of specific business processing), the operating status of plug-in services (such as whether it is running normally, whether there is an error log, etc.), and cluster-related indicators (such as the overall load of the cluster, the health status of each node, etc.). In the "BigDataMgr" management platform, the server obtains data from the monitoring platform every 5 minutes. These data cover the resource usage and performance indicators of plug-in services such as "DataMonitorPlugin" and "DataCompressionPlugin", as well as the operating status and load of the entire big data cluster. After the server obtains these data, it will use visualization technology (such as charts, dashboards, etc.) to display them on the interface of the "BigDataMgr" management platform. For example, after the administrator "Alice" logs in to the management platform, she can see a real-time updated dashboard that shows the CPU and memory usage of each plug-in service, the speed and efficiency of data processing, and the overall health status and load distribution of the cluster. Through such visual display, "Alice" can intuitively understand the real-time status of plug-in services and clusters, so as to promptly discover potential problems and deal with them. For example, if the memory usage of a plug-in service suddenly soars, or the load of a node in the cluster is abnormally high, this information will be clearly presented through the visual interface, and "Alice" can respond quickly to ensure the stable operation of the system.
[0071] In the embodiments of the present invention, the following implementation modes are also provided.
[0072] Call the alarm platform to obtain the alarm events fed back by the monitoring platform in real time;
[0073] When a preset alarm event fed back by the monitoring platform is received, the preset alarm event is sent to a target user in a preset manner.
[0074] In the embodiment of the present invention, the server will continuously call the alarm platform to obtain the alarm events sent by the monitoring platform in real time. These alarm events are usually triggered by certain monitoring indicators exceeding the preset threshold or abnormal conditions. In the "BigDataMgr" management platform, the server regularly communicates with the alarm platform to retrieve whether there are new alarm events. For example, when the "DataMonitorPlugin" monitors that the disk usage of a node in the big data cluster exceeds the threshold of 80%, the monitoring platform will generate an alarm event and send it to the alarm platform. Once the server obtains the alarm events fed back by the monitoring platform from the alarm platform, it will send these alarm events to the target users responsible for handling these events according to the preset rules and methods. Continuing with the above scenario, when the server detects an alarm event of excessive disk usage, it will send the alarm information to the administrator "Alice" in charge of the cluster according to the pre-configured notification method (such as email, SMS or mobile application notification). For example, Alice may receive an email containing detailed information about the alarm, such as the indicator that triggered the alarm, the current value, the alarm level, and the recommended solution. In this way, Alice can immediately understand the severity of the problem and take corresponding measures to solve the problem of high disk usage, such as cleaning up useless data, expanding storage capacity, etc.
[0075] In order to more clearly describe the solution provided by the embodiment of the present application, a more detailed implementation method is provided below.
[0076] The present invention proposes a Pangu management platform based on cloud native and containerized technology architecture, where services can be registered as plug-ins (mainly cloud native, but physical machines can also be used as installation environments). This platform breaks the strong dependencies between traditional big data platform services. Please refer to Figure 2 , Figure 2 A schematic diagram of a management architecture of a plug-in service management platform provided in an embodiment of the present invention.
[0077] This platform architecture is described in detail using the K8S model as an example:
[0078] 1) Start the Pangu management platform.
[0079] 2) Register service plug-ins: The platform will automatically scan and register plug-in services and store detailed service information, including service name, version, configuration file, and installation path. These installation files have been integrated into the installation package of the Pangu platform.
[0080] 3) User access: Users can access the platform through the web interface and obtain different operating permissions based on their own permissions.
[0081] 4) Configure cluster information: Users can configure detailed information of the cluster through the platform, and this information is also saved in the database.
[0082] 5) Install service plug-in: The user selects the required service plug-in and installs it. The process is as follows:
[0083] Select the service plug-in and enter its configuration interface;
[0084] Fill in the required information on the configuration interface (such as installation location, size, network, storage information, etc.);
[0085] After submitting the deployment application, the information will be automatically sent to the corresponding worker;
[0086] After receiving the information, the worker converts it into specific tasks (for example, deploying hive services in k8s) and submits the tasks to the k8s Controller.
[0087] k8s Controller executes according to task instructions, such as creating configmap, service, pvc, deployment, etc.
[0088] 6) Backend function implementation: The main functions of k8s Controller are divided into three parts: service operation, service monitoring and cluster monitoring:
[0089] Service operation: control the installation, start and stop of service plug-ins;
[0090] Service monitoring is to collect resource indicators and service-specific indicators during the operation of the plug-in service and push them to the monitoring platform. The specific execution steps are described as follows: The internal code of the plug-in service regularly obtains resource indicators and specific indicators of each service through tools such as JMX and pushgateway. The indicators are pushed to the indicator database or prometheus. Resource indicators are usually CPU and memory usage. The specific indicators of each service will vary depending on the service, usually including the number of successful requests, the number of failed requests, traffic information, etc. for each user. The monitoring platform regularly sends requests to obtain monitoring indicators to the backend k8sController. The backend k8sController receives the request to obtain monitoring indicators, queries the indicator database or prometheus indicator information, and returns the query results as a response to the monitoring platform for display
[0091] Cluster monitoring is to collect the running status of each plug-in service and cluster-related indicators. The specific execution steps are described as follows: The backend k8sController obtains the K8S cluster connection information from the metadata database, sends K8S cluster-recognizable instructions to the K8S cluster regularly through the K8S client tool, executes the instructions to obtain the running status of each plug-in service and cluster-related indicators and updates them to the indicator database
[0092] 7) The monitoring platform sends a request to obtain monitoring indicators at regular intervals; the back-end k8sController receives the request from the front-end to obtain monitoring indicators, queries the indicator information in the indicator database, and returns the query results as a response to the monitoring platform for display; the indicator categories monitored by the monitoring platform include indicators of running plug-in services, the running status of plug-in services, cluster-related indicators, and monitoring information of user operations on the platform. The indicators of running plug-in services, the running status of plug-in services, and cluster-related indicators have been reflected in the above description. The specific execution steps of user operation monitoring on the platform are described as follows: the user's operation information on the platform is saved in the platform log, and the service worker will clean the platform log in real time, obtain the indicator information of the platform operation, and push the indicator to the indicator database; the monitoring platform sends a request to obtain monitoring indicators at regular intervals; the k8sController receives the request from the front-end to obtain monitoring indicators, queries the indicator information in the indicator database, and returns the query results as a response to the monitoring platform for display; the alarm platform can set alarm events according to the monitoring indicators, and the alarm can be sent to users in the alarm group through Feishu, DingTalk, WeChat, email, SMS, etc.
[0093] In summary, the present invention provides an efficient, flexible and scalable big data platform solution. Management is simplified through automatic scaling and health checks, resources are dynamically adjusted to reduce waste, technical components are allowed to be upgraded independently to eliminate compatibility issues, and they can be easily migrated and integrated to improve data processing efficiency and application stability. The technical key points of the embodiments of the present invention are the flexible and compatible architecture of the platform, the pluggable registration mechanism of the service, and the comprehensive monitoring and alarm system. The points to be protected include the application of these technological innovations, the convenience of registration of plug-in services, the design of multi-dimensional monitoring and alarms, the intelligent management of resources, and the flexible migration capabilities of the platform in different environments.
[0094] Please refer to Figure 3 , Figure 3 A management device 110 of a plug-in service management platform provided in an embodiment of the present invention includes:
[0095] Execution module 1101 is used to start the target management platform in response to the platform startup instruction; scan and register the plug-in service through the target management platform; obtain the user rights of the current access user in response to the user access instruction; provide corresponding configuration operation options based on the user rights; obtain the target plug-in service from the plug-in service in response to the configuration operation options, and install the target plug-in service to the target management platform.
[0096] It should be noted that the implementation principle of the management device 110 of the aforementioned plug-in service management platform can refer to the implementation principle of the management method of the aforementioned plug-in service management platform, and will not be repeated here. It should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the management device 110 of the plug-in service management platform can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The function of the management device 110 of the above plug-in service management platform. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in a processor element or instructions in software form.
[0097] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (digital signal processors, DSP), or one or more field programmable gate arrays (FPGA), etc. For another example, when a module above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0098] The embodiment of the present invention provides a computer device 100, which includes a processor and a non-volatile memory storing computer instructions. When the computer instructions are executed by the processor, the computer device 100 executes the management device 110 of the aforementioned plug-in service management platform. Figure 4 As shown, Figure 4 The computer device 100 is a block diagram of a structure of a computer device 100 provided in an embodiment of the present invention. The computer device 100 includes a management device 110 of a plug-in service management platform, a memory 111, a processor 112 and a communication unit 113.
[0099] In order to realize data transmission or interaction, the memory 111, the processor 112 and the communication unit 113 are electrically connected to each other directly or indirectly. For example, the electrical connection between these elements can be realized through one or more communication buses or signal lines. The management device 110 of the plug-in service management platform includes at least one software function module that can be stored in the memory 111 in the form of software or firmware or solidified in the operating system (OS) of the computer device 100. The processor 112 is used to execute the management device 110 of the plug-in service management platform stored in the memory 111, such as the software function modules and computer programs included in the management device 110 of the plug-in service management platform.
[0100] An embodiment of the present invention provides a readable storage medium, which includes a computer program. When the computer program is running, the computer device where the readable storage medium is located is controlled to execute the management device 110 of the aforementioned plug-in service management platform.
[0101] For illustrative purposes, the foregoing description is made with reference to specific embodiments. However, the above illustrative discussion is not intended to be exhaustive or to limit the present disclosure to the precise form disclosed. Numerous modifications and variations are possible in accordance with the above teachings. These embodiments are selected and described in order to best illustrate the principles of the present disclosure and its practical application, so that those skilled in the art can best utilize the present disclosure and utilize various embodiments with different modifications to suit the intended specific application.
Claims
1. A management method for a plug-in service management platform, It is characterized in that include: In response to the platform start instruction, start the target management platform; Scan and register plug-in services through the target management platform; In response to the user access instruction, obtaining the user authority of the current access user; According to the user rights, corresponding configuration operation options are provided; In response to the configuration operation option, a target plug-in service is acquired from the plug-in service, and the target plug-in service is installed to the target management platform.
2. The method according to claim 1, It is characterized in that The scanning and registering of the plug-in service through the target management platform includes: Scan the plug-in service through the target management platform to obtain the plug-in service name, plug-in service version, plug-in service configuration file and plug-in service installation path corresponding to the plug-in service; The registration of the plug-in service is completed according to the plug-in service name, plug-in service version, plug-in service configuration file and plug-in service installation path.
3. The method according to claim 1, It is characterized in that The step of acquiring a target plug-in service from the plug-in service in response to the configuration operation option, and installing the target plug-in service to the target management platform includes: In response to the configuration operation option, obtaining a target plug-in service from the plug-in service and displaying an installation configuration interface; In response to the installation information filling operation on the installation configuration interface, obtaining location information, size information, network information and storage information corresponding to the target plug-in service; generating a deployment request based on the location information, size information, network information, and storage information; Send the deployment application to the corresponding thread to obtain the deployment task corresponding to the deployment application; The core controller is called to execute the deployment task, and the target plug-in service is installed to the target management platform.
4. The method according to claim 3, It is characterized in that The method further comprises: The core controller is called to execute service operation, service monitoring and cluster monitoring for the target management platform.
5. The method according to claim 4, It is characterized in that The calling of the core controller to perform service operation, service monitoring and cluster monitoring for the target management platform includes: Calling the core controller to control the installation, start and stop of the plug-in to complete the service operation; Calling the core controller to collect and push resource indicators and preset indicators of the plug-in service to the monitoring platform to complete the service monitoring; The core controller is called to collect plug-in service running status and cluster related indicators to complete the cluster monitoring.
6. The method according to claim 5, It is characterized in that The method further comprises: The resource indicators, preset indicators, plug-in service operation status and cluster-related indicators obtained by the monitoring platform according to a preset period are obtained and displayed visually.
7. The method according to claim 6, It is characterized in that The method further comprises: Call the alarm platform to obtain the alarm events fed back by the monitoring platform in real time; When a preset alarm event fed back by the monitoring platform is received, the preset alarm event is sent to a target user in a preset manner.
8. A management device for a plug-in service management platform, It is characterized in that include: An execution module, used for starting the target management platform in response to a platform start instruction; Scan and register plug-in services through the target management platform; In response to the user access instruction, obtaining the user authority of the current access user; According to the user rights, corresponding configuration operation options are provided; In response to the configuration operation option, a target plug-in service is acquired from the plug-in service, and the target plug-in service is installed to the target management platform.
9. A computer device, It is characterized in that The computer device comprises a processor and a non-volatile memory storing computer instructions. When the computer instructions are executed by the processor, the computer device executes the method according to any one of claims 1 to 7.
10. A readable storage medium, It is characterized in that The readable storage medium includes a computer program, and when the computer program is executed, the computer device where the readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.
Citation Information
Cited By
Plug-in processing method and device, electronic equipment and plug-in platform
CN120371424A
