Development method and device of operation and maintenance scene and electronic equipment

By building an operation and maintenance platform and operation and maintenance process, and using preset models to handle performance anomalies in operation and maintenance scenarios, we can quickly develop operation and maintenance scenarios in a code-free manner, solve the problem of low efficiency of operation and maintenance development, and adapt to rapidly changing business needs. .

CN118796172APending Publication Date: 2024-10-18ZUNYI BRANCH OF CHINA MOBILE GRP GUIZHOU COMPANY +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311384883.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-24
Publication Date
2024-10-18

Smart Images

  • Figure CN118796172A_ABST
    Figure CN118796172A_ABST
Patent Text Reader

Abstract

The invention relates to an operation and maintenance scene development method and device and electronic equipment, and relates to the technical field of data businesses, and the method comprises the steps: constructing an operation and maintenance platform and an operation and maintenance process; executing the task nodes under the plurality of process nodes to obtain an execution result; based on the plurality of task nodes, determining performance exception results of the resource equipment under the plurality of task nodes by using a preset model, and performing corresponding repair processing on the performance exception results; when the execution result is an abnormal task state and the abnormal task state is in the performance abnormal result, executing corresponding repair processing on the abnormal task state; when the execution result is the abnormal task state and the abnormal task state is not in the performance abnormal result, the abnormal task state is detected and repaired, operation and maintenance scene development is completed, it is achieved that development engineers do not need to repeatedly develop codes, operation and maintenance scene development is rapidly completed in a code-free mode, the efficiency is improved, and the development efficiency is improved. And business requirements of rapid change can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data service technology, and in particular to a development method, device and electronic equipment for an operation and maintenance scenario. Background Art

[0002] With the continuous decoupling of production systems and the continuous microservice, containerization, and cloud-nativeization of production environments, operation and maintenance management has become more complicated and the construction of operation and maintenance methods has undergone disruptive changes. Therefore, operation and maintenance personnel urgently need smarter, more efficient, and more open digital support methods to automate normal work, make emergency work intelligent, and apply personalized work agility.

[0003] Existing technologies mainly rely on operation and maintenance developers to develop code for operation and maintenance scenarios, which requires design and construction from scratch. Any changes in the operation and maintenance scenarios require development engineers to repeatedly develop code, which is inefficient and cannot adapt to rapidly changing business needs. Summary of the invention

[0004] In view of this, the present application provides a development method, device and electronic device for an operation and maintenance scenario. The main purpose is to solve the technical problem that the code development of operation and maintenance scenarios is currently mainly carried out by operation and maintenance developers, which needs to be designed and built from scratch. Any changes in the operation and maintenance scenarios require development engineers to repeatedly develop code, which is inefficient and cannot adapt to rapidly changing business needs.

[0005] According to a first aspect of the present disclosure, a method for developing an operation and maintenance scenario is provided, the method comprising:

[0006] Constructing an operation and maintenance platform and an operation and maintenance process, wherein the operation and maintenance process includes a plurality of process nodes, and each of the process nodes includes a plurality of task nodes;

[0007] Execute the task nodes under the multiple process nodes to obtain execution results;

[0008] Based on the multiple task nodes, using a preset model to determine the performance abnormality results of resource devices under the multiple task nodes and performing corresponding repair processing on the performance abnormality results;

[0009] When the execution result is an abnormal task state and the abnormal task state is within the performance abnormality result, a corresponding repair process is performed on the abnormal task state to complete the operation and maintenance scenario development;

[0010] When the execution result is an abnormal task state, and the abnormal task state is not within the performance abnormality result, detection and repair processing is performed on the abnormal task state to complete the operation and maintenance scenario development.

[0011] According to a second aspect of the present disclosure, a development device for an operation and maintenance scenario is provided, the device comprising:

[0012] A construction module is used to construct an operation and maintenance platform and an operation and maintenance process, wherein the operation and maintenance process includes a plurality of process nodes, and each of the process nodes includes a plurality of task nodes;

[0013] A first execution module, used for executing the task nodes under the multiple process nodes to obtain execution results;

[0014] A first determination module is used to determine, based on the multiple task nodes, performance abnormality results of resource devices under the multiple task nodes using a preset model and to perform corresponding repair processing on the performance abnormality results;

[0015] A second execution module is used to perform corresponding repair processing on the abnormal task state when the execution result is an abnormal task state and the abnormal task state is within the performance abnormality result, so as to complete the operation and maintenance scenario development;

[0016] The third execution module is used to perform detection and repair processing on the abnormal task state when the execution result is an abnormal task state and the abnormal task state is not within the performance abnormality result, so as to complete the operation and maintenance scenario development.

[0017] According to the third aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method of the aforementioned first aspect.

[0018] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the method of the aforementioned first aspect.

[0019] The development, device and electronic equipment of the operation and maintenance scenario provided by the present disclosure, compared with the prior art, construct an operation and maintenance platform and an operation and maintenance process, wherein the operation and maintenance process includes multiple process nodes, each of which includes multiple task nodes; execute the task nodes under the multiple process nodes to obtain execution results; based on the multiple task nodes, use a preset model to determine the performance abnormality results of the resource equipment under the multiple task nodes and perform corresponding repair processing on the performance abnormality results; when the execution result is an abnormal task state and the abnormal task state is within the performance abnormality result, perform corresponding repair processing on the abnormal task state to complete the operation and maintenance scenario development; when the execution result is an abnormal task state and the abnormal task state is not within the performance abnormality result, perform detection and repair processing on the abnormal task state to complete the operation and maintenance scenario development, thereby achieving the goal of not requiring development engineers to repeatedly develop codes, and quickly completing the operation and maintenance scenario development in a codeless manner, thereby improving efficiency and adapting to rapidly changing business needs.

[0020] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0022] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0023] Figure 1 A flowchart of a development method for an operation and maintenance scenario provided by an embodiment of the present disclosure;

[0024] Figure 2 A system diagram of the operation and maintenance platform provided by an embodiment of the present disclosure;

[0025] Figure 3 A business flow chart of the operation and maintenance platform provided by the embodiment of the present disclosure;

[0026] Figure 4 A schematic diagram of the structure of a development device for an operation and maintenance scenario provided by an embodiment of the present disclosure;

[0027] Figure 5A schematic diagram of the structure of a development device for another operation and maintenance scenario provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description. It should be noted that, in the absence of conflict, the embodiments of the present disclosure and the features in the embodiments may be combined with each other.

[0029] The following describes the development method, device and electronic device of the operation and maintenance scenario of the embodiment of the present disclosure with reference to the accompanying drawings.

[0030] The present disclosure provides a development method, device and electronic device for an operation and maintenance scenario, which eliminates the need for development engineers to repeatedly develop codes and can quickly complete the operation and maintenance scenario development in a code-free manner, thereby improving efficiency and adapting to rapidly changing business needs.

[0031] like Figure 1 As shown, an embodiment of the present disclosure provides a development method for an operation and maintenance scenario, including:

[0032] Step 101: construct an operation and maintenance platform and an operation and maintenance process, wherein the operation and maintenance process includes multiple process nodes, and each process node includes multiple task nodes.

[0033] Among them, the operation and maintenance platform is an operation and maintenance solution provided to enterprises or organizations. It integrates rich functional components and technologies, and can help users design and implement operation and maintenance scenarios online to meet business needs. The goal of this type of platform is to improve operation and maintenance efficiency, reduce operation and maintenance costs, and realize the processing and scheduling of complex business logic through automation and intelligent means. At the same time, the operation and maintenance platform also provides a real-time visual interface and data analysis functions, so that operation and maintenance personnel can better monitor and manage the system, thereby improving the quality and efficiency of operation and maintenance.

[0034] The operation and maintenance process refers to a series of orderly steps and operations used to ensure the normal operation and efficient maintenance of the operation and maintenance system. The operation and maintenance process includes a series of process nodes. The process nodes represent the key steps or activities in the operation and maintenance process. Each process node has specific task nodes and responsibilities; in the operation and maintenance process, the task node refers to the task that needs to be completed at a specific process node. These task nodes help promote the smooth progress of the operation and maintenance process and ensure the efficient and stable operation of the system.

[0035] For the embodiments of the present disclosure, the operation and maintenance platform and operation and maintenance process can be constructed using modules such as API gateway, scheduling engine, built-in components, etc. These modules can be owned by the developer or submitted by the user. In the developer mode, the developer can freely expand and generate the required functions and applications based on the provided full source code.

[0036] Among them, the Application Programming Interface (API) is a set of rules and protocols that define how software components communicate with each other. API Gateway is a middleware used to forward, process and load balance requests and responses between clients and APIs. It can simplify the interaction between clients and APIs and improve the scalability and security of the system.

[0037] The scheduling engine is an automation tool used to schedule and manage operation and maintenance tasks. It can automatically execute predetermined tasks such as backup, monitoring, deployment, etc., thereby simplifying operation and maintenance work; built-in components are a set of pre-built functional modules that can be used directly in applications. They can improve development efficiency and reduce development workload.

[0038] Step 102: Execute the task nodes under the multiple process nodes to obtain the execution results.

[0039] The execution result may include the success or failure of the task node execution, log information during the task execution, exceptions during task execution, etc.

[0040] For the embodiments of the present disclosure, before executing the node task, a process authority review and processing mechanism is first set up, which may include assigning executors of the designed business scenarios, recipients of exception notifications, execution order, and branch and confluence node configurations, and supports task status synchronization, which may include execution progress, current execution node, current execution status (normal, abnormal), and other data.

[0041] For the embodiments of the present disclosure, the node relationship between multiple process nodes in the operation and maintenance process can be first determined, and the task nodes within each process node can be split into multiple execution links according to the execution scope, and multiple execution links can be executed according to the node relationship between the multiple process nodes to obtain the execution result.

[0042] Among them, the node relationship can be the interaction and connection relationship between nodes. In the node relationship, there are many ways of connecting between nodes, such as direct connection, indirect connection, multi-level connection, etc.

[0043] As a possible implementation method, a preset graphical tool can be used to design node connections between multiple process nodes, wherein the node connections between multiple process nodes represent the node relationships between multiple process nodes; the preset graphical tool can be used to design node connections between multiple process nodes, wherein the node connections represent the node relationships between multiple process nodes. By utilizing a graphical representation method, users can better understand and manage processes, identify potential problems and improvement points, and make optimizations and adjustments.

[0044] For the disclosed embodiments, the execution scope may be the fields or links that the task node needs to involve, and may include the regions, industries, personnel, etc. involved in the task. During the task execution process, the execution scope determines the specific implementation method and strategy of the task. By reasonably dividing the task execution scope, the task can be decomposed into smaller and easier to manage execution links, thereby improving the execution efficiency and quality of the task.

[0045] The execution link can be to split a large task node into several smaller, more specific, and easier to execute task links according to its execution scope and required steps, and execute multiple execution links according to the node relationship between multiple process nodes to obtain execution results, which can improve the execution efficiency of task nodes. By managing these execution links, the execution process of tasks can be better controlled and coordinated. Among them, the relevant information of the task execution process can be presented in the system interface visible to the user to inform the progress and status of task execution.

[0046] Step 103: Based on the multiple task nodes, use the preset model to determine the abnormal performance results of the resource equipment under the multiple task nodes and perform corresponding repair processing on the abnormal performance results.

[0047] For the disclosed embodiments, based on multiple task nodes, before using a preset model to determine the abnormal performance results of resource equipment under multiple task nodes and performing corresponding repair processing on the abnormal performance results, the program script module under the operation and maintenance platform can be used to generate an application script according to the operation and maintenance process, and the application script can be submitted to the corresponding audit module to review the compliance of the application script. During the audit process, the approval process will automatically identify the code content in the application script, which can improve the audit efficiency and accuracy. After the audit is completed, the target application script that meets the compliance conditions is determined, where the compliance conditions may include that the application script does not contain dangerous instructions, erroneous syntax structures, and range targets; using the target application script, according to the preset business logic and the node relationship between multiple process nodes, the exception handling strategy of multiple process nodes is determined.

[0048] For the embodiments of the present disclosure, in order to ensure the compliance and security of application scripts, prevent dangerous instructions or unreasonable codes from damaging the system, or causing sensitive information leakage, it is necessary to review the application scripts. In addition, the review can also ensure the quality of the application scripts and avoid problems in the operation of the application due to code quality issues.

[0049] Among them, the program script module is an automation tool for generating and managing application scripts; the application script can be a script running in the application, which is used to implement certain functions or business logic of the application; dangerous instructions can be rm, mv, delete, *from and other instructions; the scope target can be in the process of reviewing the application script. The system will automatically identify and detect specific targets or objects that may exist in the script. The review module can highlight the specific target or object to prompt the reviewer, and automatically mark the submission action as a dangerous label.

[0050] Preset business logic can be predefined business rules and processing procedures in a software system or business process. These rules and processes can be designed according to the business needs and business goals of the enterprise to guide how the system or process handles various business events and scenarios.

[0051] Exception handling strategies may include repeated execution times, skipping, etc. For example, in some business scenarios, when an exception occurs at a node, a specific handling strategy may need to be adopted, such as skipping the node or repeating the execution.

[0052] For the embodiment of the present disclosure, based on multiple task nodes, a preset model is used to determine the abnormal performance results of resource devices under multiple task nodes and perform corresponding repair processing on the abnormal performance results, wherein the preset model may include a data training model and a performance prediction model, etc. Resource devices can be the basis for the operation and maintenance platform to perform operation and maintenance management. The operation and maintenance platform monitors, maintains and manages these resource devices to ensure their normal operation to meet business needs.

[0053] Specifically, the historical performance indicator data of resource devices within the execution range corresponding to multiple task nodes may be first obtained; the historical performance indicator data may be pushed to a data training model for data training to obtain the trained target historical performance indicator data.

[0054] Among them, historical performance indicator data may include CPU usage, memory usage, disk usage, disk IO, mount point usage, etc. of resource equipment. Through the resource equipment associated with the operation and maintenance scenario, the historical performance indicator data of the running monitoring is pushed to the data training model, and the mature target historical performance indicator data is continuously trained, and self-healing decisions are generated based on the target historical performance indicator data to perform classification analysis, expansion and self-healing operations on the automated operation and maintenance scenario. The target historical performance indicator data can be the data used to predict and judge the performance of resource equipment; the performance abnormality result can be the result that the performance indicator of the resource equipment predicted by the performance prediction model based on the target historical performance indicator data exceeds the normal range.

[0055] Secondly, the target historical performance indicator data is pushed to the performance prediction model to obtain performance abnormality results, and early warnings are issued for the performance abnormality results. The performance abnormality results are repaired according to the abnormality handling strategy of the corresponding process node. Relevant solution plans, post-scenario performance optimization data, and scenario execution frequency can also be called according to the abnormal prediction results for emergency preparation.

[0056] For the embodiments of the present disclosure, as a possible implementation method, when a performance bottleneck appears in the abnormal prediction results and affects the host performance, an early warning is given to the abnormal prediction results, and the automated operation and maintenance analysis module is called back for different performance indicator bottleneck scenarios to automatically correlate and analyze performance issues, and collect performance-related dynamic analysis root causes in advance to avoid them.

[0057] When abnormal prediction results show that capacity bottlenecks affect host performance, an indicator capacity prediction model can be established through intelligent algorithms such as LTSM and prophet to achieve real-time capacity monitoring and early warning. According to the changing trends of relevant factors, a dynamic baseline can be predicted, so that the corresponding automatic expansion scenario can be called to expand the capacity of resources with higher utilization rates in advance, reduce or recycle virtual machines with lower utilization rates, and make reasonable demands for hardware resource planning six months or one year later.

[0058] When a large number of resource failure warnings appear in the abnormal prediction results, the passive remedial operation and maintenance is transformed into active preventive operation and maintenance to address the problem of the failure risk that cannot be predicted in advance and affects the business carried by tenants. Intelligent prediction and analysis of all resource performance indicators is achieved to assist operation and maintenance personnel in quickly identifying and locating KPI indicator factors that have a high impact on overall failures, solving the problem of low efficiency in troubleshooting and repairing. At the same time, the automated operation and maintenance repair scenario of the associated fault warning is realized to avoid the inability to perform analysis and execute self-healing automation.

[0059] In addition, if the sample data of training anomalies does not conform to the actual business trend and moves towards the abnormal point, the samples of monitoring data are reclassified and labeled for repeated training, and the results of system learning are pushed to the knowledge base to achieve the update of the best scenario plan matching association. Until the trained model data matches the dynamic anomaly of the scenario, the latest data is continuously trained as training samples, so that more accurate AI predictions can be made to make decisions to schedule operation and maintenance scenarios and output availability as capability objects.

[0060] Step 104: When the execution result is an abnormal task state, and the abnormal task state is within the performance abnormality result, a corresponding repair process is performed on the abnormal task state to complete the operation and maintenance scenario development.

[0061] Among them, the abnormal task status may include status information such as abnormal task execution and task execution failure.

[0062] For the disclosed embodiments, specifically, when the execution result is an abnormal task state, and the abnormal task state is within the performance abnormality result, the abnormal task state is repaired according to the abnormal handling strategy under the corresponding process node, and the abnormal task state of the execution link is synchronized to complete the operation and maintenance scenario development, wherein the repair process can be to call the plan data of the relevant bottleneck solution results, the performance optimization data after the scenario execution, and the scenario execution frequency, etc., to quickly repair the abnormality. Plan data refers to the data based on the response measures and plans formulated in advance when responding to emergencies or emergencies.

[0063] Step 105: When the execution result is an abnormal task state, and the abnormal task state is not within the performance abnormality result, detection and repair processing is performed on the abnormal task state to complete the operation and maintenance scenario development.

[0064] For the embodiments of the present disclosure, when the execution result is an abnormal task status, and the abnormal task status is not within the performance abnormality result, it is detected whether there are source code problems in building the operation and maintenance platform, and the existing source code problems are repaired; if there are no source code problems on the operation and maintenance platform, the data training model and the performance prediction model are performance optimized to complete the operation and maintenance scenario development.

[0065] Specifically, when the execution result is an abnormal task status, and the abnormal task status is not within the performance abnormality result, check whether there are any problems with the source code of the API gateway, scheduling engine, built-in components and other modules of the operation and maintenance platform. If there are any problems, modify and improve them, improve the construction of the operation and maintenance scenario, and enhance the expansion and adaptability of the scenario components. Expand the analysis, troubleshooting and repair scope and judgment mechanism of the components for the construction of the operation and maintenance scenario, and link the automated operation and maintenance scenario fault self-healing to form a closed-loop processing throughout the process. If there are no problems with the source code, feed it back to the AI ​​prediction model, optimize and improve the data training model and the performance prediction model, enrich the abnormal problem library, and realize iterative optimization of the AI ​​prediction model.

[0066] After executing the task node, the execution results corresponding to multiple execution links can be statistically processed and visualized. Specifically, you can first build a monitoring operation instance of the operation and maintenance scenario, then collect data for analysis to monitor the operation of the running instance. The generated report can be directly converted and stored in the dashboard, and precipitated into a built-in timer and scheduling mechanism for the scenario. Through trend analysis, comparative analysis, year-on-year and month-on-month analysis, the health status of the current operating instance and the performance fluctuation trend can be reflected.

[0067] This application builds a set of operation and maintenance scenario functions with its own needs through business operation and maintenance design. It is not limited to a large number of people participating in secondary customized development to achieve zero-code breakthroughs in scenarios, lower the technical threshold of operation and maintenance personnel, schedule and distribute the self-designed operation and maintenance scenarios, execute according to the design process, collect performance data of data operation during the execution process for analysis, and visualize the final operation and maintenance scenario operation results and enable real-time analysis. Through overall design, more design business operation and maintenance personnel can participate in scenario construction, and the technology stack and business are connected to form the accumulation and precipitation of business scenarios.

[0068] Figure 2 The system diagram for creating an operation and maintenance platform is shown, which mainly involves the platform's built-in rich functional components, online operation and maintenance scenario design, and the implementation of business operation and maintenance requirements. Through operation and maintenance, a set of business pipeline logic steps are designed, and parallel and confluent execution is performed according to the scheduling based on complex business logic. During the execution process, the execution process is effectively visualized, and real-time execution data is output for analysis.

[0069] The operation and maintenance platform mainly includes operation and maintenance design, operation and maintenance scheduling, operation and maintenance execution, process visualization, AI intelligent analysis, early warning callback and other modules, such as Figure 3 shown.

[0070] Among them, the operation and maintenance design is used to configure API parameters that match the business operation and maintenance scenarios. Task nodes can be configured visually on the platform, and can design menus, navigation, and associated external components (alarm components, graphic displays, and automated operation and maintenance components) node exception handling strategy definitions, and can define the number of repeated executions, skips, etc. The connection between orchestration nodes is completed graphically to determine the relationship between orchestration nodes. The association relationship (parallel, serial, etc.) of the components / APIs involved in the operation and maintenance scenarios is defined, and no backend code needs to be involved in the intermediate process.

[0071] Business operation and maintenance design supports the design of the relationship between various components and APIs based on certain business logic, which is driven by dependencies, policy rules, and built-in components. The components mainly involve a type of components that are abstractly constructed based on some traditional and basic operation and maintenance related functions. These component capabilities will serve as the basic units for the orchestration of operation and maintenance tools and some business scenarios, and ultimately form operation and maintenance tools that meet specific business scenarios.

[0072] Operation and maintenance scheduling is used to provide centralized and unified control and scheduling management functions for various orchestration tasks in the system. Orchestration scheduling management is responsible for coordinating the components and API execution of each functional module.

[0073] Operation and maintenance execution can automatically identify / obtain information such as capabilities and parameters corresponding to tasks by associating and parsing business execution tasks, and call each capability to complete the execution process of the task. The task execution process can be divided into multiple execution links according to its execution scope. The system manages the execution process of the entire task by controlling the execution results of each task flow node.

[0074] Process visualization can present the task execution process information in the system interface visible to the user, and synchronize the progress and status of the user's task execution. For failed tasks, there needs to be clear error information, through which users can determine the wrong business link, and visualize the call process to automatically handle the recovery process, and output the execution record results to the model training, which repeatedly extracts and trains the data to form an event prediction mechanism.

[0075] The process visual monitoring can be divided into multiple execution links according to its execution scope. The system manages the execution process of the entire task by controlling the execution results of each task flow node, and calls on the automatic disposal capability for abnormal nodes to correct and recover.

[0076] AI intelligent analysis can help prevent various performance problems during operation by predicting the resources themselves as the business continues to expand and the application's requirements for computing resources continue to increase. Through the collected performance indicators, including CPU usage, memory usage, disk usage, disk IO, mount point usage, etc., the trend of host performance related indicators is accurately predicted through time series prediction, with the help of holt-winter, xgboost, dynamic weight and other algorithms.

[0077] The early warning callback can use historical data to predict possible performance bottlenecks of resources and provide early warnings, linking the self-healing of faults in the operation and maintenance scenarios built without code to form a closed-loop processing throughout the process.

[0078] Specifically, the operation and maintenance technicians of business operation and maintenance design write and upload local scripts online on the intelligent operation and maintenance platform, and assemble and design for complex business logic environments through the online interface. The design covers personalized drag and drop on the front end, menu editing and preview for operation and maintenance scenarios, and user-oriented navigation window settings, achieving zero code breakthrough and satisfying the operation habits of the operation users' operation and maintenance interface.

[0079] Business operation and maintenance scheduling provides centralized and unified control and scheduling management functions for various tasks in the system. Operation and maintenance scheduling management is responsible for coordinating the components and API execution of each functional module, supporting multiple execution modes such as automatic task execution, manual execution, and periodic execution. Scheduling is performed periodically or regularly according to the strategy, and the control cycle and execution time are configurable to form the final preview effect.

[0080] Business operation and maintenance execution supports orchestration task parsing, identification of components, APIs, etc. Supports obtaining parameters required by components and APIs. Supports collaborative control based on task dependencies and collaborative relationships. Supports task status synchronization, including configurations such as execution progress, current execution node, current execution status (normal, abnormal), and execution resource object range limitation. If an exception occurs during the execution of the orchestration service, it is handled according to the exception handling strategy defined by the task. Various faults and exceptions may occur during the execution process, and a transaction processing mechanism needs to be introduced to ensure consistency and reliability.

[0081] Process visual monitoring collects and analyzes statistical analysis data of orchestration task running instances to monitor the operation status of running instances, analyze abnormalities in execution process nodes, and support sending abnormal nodes through WeChat, SMS, email, etc. It should support multiple control methods such as retry of task node resource failure, pause and continue during task operation, and manual cancellation.

[0082] This application optimizes the shortcomings of existing business operation and maintenance scenarios, such as abstraction, high writing cost and difficulty in maintenance. It refines the scenario functions and extracts a series of business operation and maintenance scenario tools to visualize the original abstract scenarios, make scenario construction more flexible, increase script reusability to avoid repeated writing, and make scenario maintenance more stable, which is conducive to the expansion and promotion of similar problems and reduces the difficulty of maintenance.

[0083] This application is based on visualization and model-driven concepts, combined with cloud-native and multi-terminal experience technologies, and can achieve significant efficiency improvements and cost reductions in most business scenarios, providing professional developers with a new high-productivity development paradigm. On the other hand, the code-free approach allows people who do not understand code to complete the construction of applications by "dragging and dropping" development components. In a sense, it fills the growing gap in professional and technical talent, while promoting the ultimate agile form of deep collaboration between business and technology.

[0084] In summary, the development, device and electronic equipment of the operation and maintenance scenario provided by the present invention, compared with the prior art, the present invention constructs an operation and maintenance platform and an operation and maintenance process, and the operation and maintenance process includes multiple process nodes, each process node includes multiple task nodes; executes the task nodes under the multiple process nodes to obtain execution results; based on the multiple task nodes, uses a preset model to determine the performance abnormality results of the resource equipment under the multiple task nodes and performs corresponding repair processing on the performance abnormality results; when the execution result is an abnormal task state, and the abnormal task state is within the performance abnormality result, performs corresponding repair processing on the abnormal task state to complete the operation and maintenance scenario development; when the execution result is an abnormal task state, and the abnormal task state is not within the performance abnormality result, performs detection and repair processing on the abnormal task state to complete the operation and maintenance scenario development, thereby achieving the need for development engineers to repeatedly develop code, and quickly completing the operation and maintenance scenario development in a codeless manner, thereby improving efficiency and adapting to rapidly changing business needs.

[0085] Based on the above Figure 1 The present disclosure provides a development device for operation and maintenance scenarios, such as Figure 4 As shown, the device includes: a construction module 31, a first execution module 32, a first determination module 33, a second execution module 34, and a third execution module 35;

[0086] A construction module 31 is used to construct an operation and maintenance platform and an operation and maintenance process, wherein the operation and maintenance process includes a plurality of process nodes, and each process node includes a plurality of task nodes;

[0087] A first execution module 32 is used to execute task nodes under multiple process nodes and obtain execution results;

[0088] The first determination module 33 is used to determine the abnormal performance results of resource devices under the multiple task nodes based on the multiple task nodes by using a preset model and to perform corresponding repair processing on the abnormal performance results;

[0089] The second execution module 34 is used to perform corresponding repair processing on the abnormal task state when the execution result is an abnormal task state and the abnormal task state is within the performance abnormality result, so as to complete the operation and maintenance scenario development;

[0090] The third execution module 35 is used to perform detection and repair processing on the abnormal task state when the execution result is an abnormal task state and the abnormal task state is not within the performance abnormality result, so as to complete the operation and maintenance scenario development.

[0091] In a specific application scenario, the first execution module 32 can be used to determine the node relationship between multiple process nodes in the operation and maintenance process; split the task nodes in each process node into multiple execution links according to the execution scope, and execute multiple execution links according to the node relationship between multiple process nodes to obtain execution results.

[0092] In a specific application scenario, the first execution module 32 can be used to design node connections between multiple process nodes using a preset graphical tool, wherein the node connections between multiple process nodes represent the node relationships between the multiple process nodes.

[0093] In specific application scenarios, such as Figure 5 As shown, the device further includes: a generating module 36, a reviewing module 37 and a second determining module 38;

[0094] A generating module 36, for generating an application script according to the operation and maintenance process using the operation and maintenance platform;

[0095] The review module 37 is used to review the compliance of the application script and determine the target application script that meets the compliance conditions, and the compliance conditions include: the application script does not contain dangerous instructions, incorrect syntax structures, and range targets;

[0096] The second determination module 38 is used to determine the exception handling strategies of the multiple process nodes according to the preset business logic and the node relationship between the multiple process nodes by using the target application script.

[0097] In a specific application scenario, the preset model includes a data training model and a performance prediction model. The first determination module 33 can be used to obtain historical performance indicator data of resource equipment within the execution range corresponding to multiple task nodes; push the historical performance indicator data to the data training model for data training to obtain the trained target historical performance indicator data; push the target historical performance indicator data to the performance prediction model to obtain performance abnormality results, and issue an early warning for the performance abnormality results, and repair the performance abnormality results according to the abnormality handling strategy of the corresponding process node.

[0098] In a specific application scenario, the second execution module 34, when the execution result is an abnormal task state, and the abnormal task state is within the performance abnormality result, repairs the abnormal task state according to the exception handling strategy under the corresponding process node, and synchronizes the abnormal task state of the execution link to complete the operation and maintenance scenario development.

[0099] In a specific application scenario, the third execution module 35, when the execution result is an abnormal task state, and the abnormal task state is not within the performance abnormality result, detects whether there are source code problems in building the operation and maintenance platform, and repairs the existing source code problems; if there are no source code problems on the operation and maintenance platform, the data training model and the performance prediction model are optimized to complete the operation and maintenance scenario development.

[0100] In specific application scenarios, such as Figure 5 As shown, the device further includes: a processing module 39;

[0101] The processing module 39 is used to perform statistics and visualization processing on the execution results corresponding to the multiple execution links.

[0102] It should be noted that for other corresponding descriptions of the functional units involved in the development device of an operation and maintenance scenario provided by the present disclosure, please refer to Figure 1 The corresponding description in will not be repeated here.

[0103] Based on the above Figure 1 The method shown in the present disclosure, accordingly, also provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned Figure 1 The method shown.

[0104] Based on this understanding, the technical solution of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various implementation scenarios of the present disclosure.

[0105] Based on the above Figure 1 The method shown, and Figure 4 and Figure 5 In order to achieve the above-mentioned purpose, the embodiment of the present disclosure also provides an electronic device, which can be configured on the vehicle (such as an electric vehicle) side, and the device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figure 1 The method shown.

[0106] Optionally, the above-mentioned physical device may also include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.

[0107] Those skilled in the art will appreciate that the above-mentioned physical device structure provided by the present disclosure does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different arrangements of components.

[0108] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned physical device, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.

[0109] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present disclosure can be implemented by means of software plus a necessary general hardware platform, or by hardware. According to the development method, device and electronic device of the operation and maintenance scenario provided by the present disclosure, compared with the prior art, the present disclosure constructs an operation and maintenance platform and an operation and maintenance process, wherein the operation and maintenance process includes multiple process nodes, and each of the process nodes includes multiple task nodes; executes the task nodes under the multiple process nodes to obtain execution results; based on the multiple task nodes, determines the performance abnormality results of the resource equipment under the multiple task nodes using a preset model and performs corresponding repair processing on the performance abnormality results; when the execution result is an abnormal task state, and the abnormal task state is within the performance abnormality result, performs corresponding repair processing on the abnormal task state to complete the operation and maintenance scenario development; when the execution result is an abnormal task state, and the abnormal task state is not within the performance abnormality result, performs detection and repair processing on the abnormal task state to complete the operation and maintenance scenario development, thereby achieving the goal of not requiring development engineers to repeatedly develop code, quickly completing the operation and maintenance scenario development in a code-free manner, improving efficiency, and adapting to rapidly changing business needs.

[0110] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0111] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features applied herein.

Claims

1. A development method for an operation and maintenance scenario, characterized in that: include: Constructing an operation and maintenance platform and an operation and maintenance process, wherein the operation and maintenance process includes a plurality of process nodes, and each of the process nodes includes a plurality of task nodes; Execute the task nodes under the multiple process nodes to obtain execution results; Based on the multiple task nodes, using a preset model to determine the performance abnormality results of resource devices under the multiple task nodes and performing corresponding repair processing on the performance abnormality results; When the execution result is an abnormal task state and the abnormal task state is within the performance abnormality result, a corresponding repair process is performed on the abnormal task state to complete the operation and maintenance scenario development; When the execution result is an abnormal task state, and the abnormal task state is not within the performance abnormality result, detection and repair processing is performed on the abnormal task state to complete the operation and maintenance scenario development.

2. The method according to claim 1, characterized in that The executing the task nodes under the multiple process nodes to obtain the execution results includes: Determine the node relationship between multiple process nodes in the operation and maintenance process; The task nodes in each process node are split into multiple execution links according to the execution scope, and the multiple execution links are executed according to the node relationship between the multiple process nodes to obtain the execution result.

3. The method according to claim 2, characterized in that The determining of the node relationship between the multiple process nodes in the operation and maintenance process includes: A preset graphical tool is used to design node connections between multiple process nodes, wherein the node connections between the multiple process nodes represent the node relationships between the multiple process nodes.

4. The method according to claim 2, characterized in that: The method further comprises: Using the operation and maintenance platform to generate an application script according to the operation and maintenance process; Reviewing the compliance of the application script to determine a target application script that meets compliance conditions, wherein the compliance conditions include: the application script does not contain dangerous instructions, erroneous syntax structures, and range targets; By using the target application script, the exception handling strategies of multiple process nodes are determined according to the preset business logic and the node relationship between the multiple process nodes.

5. The method according to claim 4, characterized in that The preset model includes a data training model and a performance prediction model. Based on the multiple task nodes, the preset model is used to determine the abnormal performance results of resource devices under the multiple task nodes and perform corresponding repair processing on the abnormal performance results, including: Obtain historical performance indicator data of resource devices within the execution scope corresponding to the multiple task nodes; Pushing the historical performance indicator data to a data training model for data training to obtain trained target historical performance indicator data; The target historical performance indicator data is pushed to the performance prediction model to obtain performance abnormality results, and an early warning is issued for the performance abnormality results, and the performance abnormality results are repaired according to the abnormality handling strategy of the corresponding process node.

6. The method according to claim 5, characterized in that When the execution result is an abnormal task state and the abnormal task state is within the performance abnormality result, a corresponding repair process is performed on the abnormal task state to complete the operation and maintenance scenario development, including: When the execution result is an abnormal task state and the abnormal task state is within the performance abnormality result, the abnormal task state is repaired according to the exception handling strategy under the corresponding process node, and the abnormal task state of the execution link is synchronized to complete the operation and maintenance scenario development.

7. The method according to claim 5, characterized in that When the execution result is an abnormal task state, and the abnormal task state is not within the performance abnormality result, detection and repair processing are performed on the abnormal task state to complete the operation and maintenance scenario development, including: When the execution result is an abnormal task state, and the abnormal task state is not within the performance abnormality result, detecting whether there is a source code problem in building the operation and maintenance platform, and repairing the existing source code problem; If there is no source code problem with the operation and maintenance platform, the data training model and the performance prediction model are subjected to performance optimization processing to complete the operation and maintenance scenario development.

8. The method according to claim 2, characterized in that The method further comprises: The execution results corresponding to the multiple execution links are statistically processed and visualized.

9. A development device for an operation and maintenance scenario, characterized in that: include: A construction module is used to construct an operation and maintenance platform and an operation and maintenance process, wherein the operation and maintenance process includes a plurality of process nodes, and each of the process nodes includes a plurality of task nodes; A first execution module, used for executing the task nodes under the multiple process nodes to obtain execution results; A first determination module is used to determine, based on the multiple task nodes, performance abnormality results of resource devices under the multiple task nodes using a preset model and to perform corresponding repair processing on the performance abnormality results; A second execution module is used to perform corresponding repair processing on the abnormal task state when the execution result is an abnormal task state and the abnormal task state is within the performance abnormality result, so as to complete the operation and maintenance scenario development; The third execution module is used to perform detection and repair processing on the abnormal task state when the execution result is an abnormal task state and the abnormal task state is not within the performance abnormality result, so as to complete the operation and maintenance scenario development.

10. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.

Citation Information

Cited By

  • Business test method, electronic equipment, storage medium and computer program product

    CN119919001A