CN116560722B - Operation and maintenance flow processing method and device, electronic equipment and storage medium - Google Patents

Operation and maintenance flow processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116560722B
CN116560722B CN202310851149.XA CN202310851149A CN116560722B CN 116560722 B CN116560722 B CN 116560722B CN 202310851149 A CN202310851149 A CN 202310851149A CN 116560722 B CN116560722 B CN 116560722B
Authority
CN
China
Prior art keywords
parameter
maintenance
rendering
rendering structure
initial operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310851149.XA
Other languages
Chinese (zh)
Other versions
CN116560722A (en
Inventor
邱能俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202310851149.XA priority Critical patent/CN116560722B/en
Publication of CN116560722A publication Critical patent/CN116560722A/en
Application granted granted Critical
Publication of CN116560722B publication Critical patent/CN116560722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Abstract

The embodiment of the application provides an operation and maintenance flow processing method, an operation and maintenance flow processing device, electronic equipment and a storage medium, and relates to the technical field of cloud and operation and maintenance. The method comprises the following steps: determining, for each initial operation and maintenance step in the initial operation and maintenance flow to be constructed, a second parameter associated with a first parameter in the initial operation and maintenance step from a plurality of operation and maintenance parameters of the rendering structure set; determining a parameter value corresponding to a second parameter in the rendering structure set; and aiming at each first parameter in each initial operation and maintenance step, determining the parameter value of the first parameter based on the association relation between the first parameter and the second parameter and the corresponding parameter value of the second parameter, generating a target operation and maintenance flow, and executing the target operation and maintenance flow. According to the embodiment of the application, the parameter values in the operation and maintenance flow are automatically filled without manual filling by operation and maintenance personnel, so that a large amount of labor cost is saved, the operation and maintenance efficiency is improved, uncertainty caused by human factors is avoided, and the stability of operation and maintenance is improved.

Description

Operation and maintenance flow processing method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of cloud technology and operation and maintenance, in particular to an operation and maintenance flow processing method, an operation and maintenance flow processing device, electronic equipment and a storage medium.
Background
The operation and maintenance of the cloud product is an extremely important ring in the cloud computing technology, and the life cycle operation of the cloud product and the stability of the cloud product can be ensured through the operation and maintenance. The operation and maintenance methods of the cloud product are various, wherein the main stream of operation and maintenance methods of the cloud product is to complete the operation and maintenance of the cloud product by executing an operation and maintenance flow.
An operation and maintenance flow refers to a collection of operation and maintenance actions that are formed in a certain order, and before the operation and maintenance flow is executed, parameter values of parameters in the operation and maintenance flow need to be filled. In the prior art, the parameter values of the parameters in the operation and maintenance flow are manually filled by operation and maintenance personnel, and the manual parameter value filling mode consumes a great deal of labor cost and has low efficiency.
Disclosure of Invention
The embodiment of the application provides an operation and maintenance flow processing method, an operation and maintenance flow processing device, electronic equipment and a storage medium, which can solve the problems of high cost and low efficiency of manually filling parameter values in the prior art.
The technical scheme is as follows:
according to an aspect of an embodiment of the present application, there is provided an operation and maintenance flow processing method, including:
Determining, for each initial operation and maintenance step in an initial operation and maintenance flow to be constructed, a second parameter associated with a first parameter in the initial operation and maintenance step from a plurality of operation and maintenance parameters of a rendering structure set;
determining a parameter value corresponding to a second parameter in the rendering structure set; the parameter value corresponding to the second parameter is determined by rendering the operation and maintenance parameters in the rendering structure set;
and aiming at each first parameter in each initial operation and maintenance step, determining the parameter value of the first parameter based on the association relation between the first parameter and the second parameter and the parameter value of the corresponding second parameter, generating a target operation and maintenance flow, and executing the target operation and maintenance flow.
Optionally, the method further comprises:
acquiring a parameter name of a second parameter corresponding to each first parameter in each initial operation and maintenance step;
generating an association identifier for the first parameter based on the parameter name of the corresponding second parameter; the association identifier is used for representing the association relation between the first parameter and the second parameter.
Optionally, the first parameter in the initial operation and maintenance flow includes a corresponding first parameter identifier; the second parameters in the rendering structure set comprise corresponding second parameter identifications;
The method further comprises the steps of:
acquiring a second parameter identifier of a second parameter corresponding to each first parameter in each initial operation and maintenance step;
and taking the second parameter identifier as a first parameter identifier of the first parameter.
Optionally, the method further comprises:
if the parameter value of the second parameter corresponding to any first parameter in the initial operation and maintenance flow in the rendering structure set is not obtained, receiving correction information aiming at the second parameter;
a parameter value of the second parameter is determined based on the correction information.
Optionally, the set of rendering structures is constructed based on:
determining at least one rendering structure; the rendering structure corresponds to one operation dimension, and the rendering structure comprises at least one second parameter related to the corresponding operation dimension; the rendering structure is used for acquiring parameter values corresponding to at least one second parameter included in the rendering structure respectively;
the set of rendering structures is constructed based on the at least one rendering structure.
Optionally, each rendering structure in the set of rendering structures includes a corresponding structure identification; the association identifier comprises a target structure identifier of a target rendering structure, and the target rendering structure is a rendering structure where a second parameter corresponding to the first parameter is located;
The determining the parameter value of the first parameter based on the association relationship between the first parameter and the second parameter and the corresponding parameter value of the second parameter includes:
determining a target rendering structure where a second parameter corresponding to the first parameter is located from the rendering structure set based on a target structure identifier in the association identifier;
determining a corresponding second parameter from the target rendering structure based on the parameter name in the association identifier;
and determining the parameter value of the first parameter based on the parameter value of the corresponding second parameter.
Optionally, the determining the parameter value of the first parameter based on the association relationship between the first parameter and the second parameter and the corresponding parameter value of the second parameter includes:
and taking the parameter value of the second parameter as the parameter value of the corresponding first parameter.
According to another aspect of the embodiments of the present application, there is provided an operation and maintenance flow processing apparatus, including:
the second parameter determining module is used for determining a second parameter associated with the first parameter in the initial operation and maintenance steps from a plurality of operation and maintenance parameters of the rendering structure set aiming at each initial operation and maintenance step in the initial operation and maintenance flow to be constructed;
The parameter value rendering module is used for determining a parameter value corresponding to a second parameter in the rendering structure set; the parameter value corresponding to the second parameter is determined by rendering the operation and maintenance parameters in the rendering structure set;
the target operation and maintenance flow processing module is used for determining the parameter value of each first parameter according to the association relation between the first parameter and the second parameter and the parameter value of the corresponding second parameter in each initial operation and maintenance step, generating a target operation and maintenance flow and executing the target operation and maintenance flow.
According to another aspect of the embodiments of the present application, there is provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any one of the above-mentioned operation and maintenance flow processing methods when executing the program.
According to still another aspect of the embodiments of the present application, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any of the above-described operation and maintenance flow processing methods.
The beneficial effects that technical scheme that this application embodiment provided brought are:
by determining the second parameter which is related to the first parameter in the initial operation and maintenance step in the rendering structure set and determining the parameter value of the second parameter in the rendering structure set, the parameter value of the second parameter corresponding to the first parameter can be automatically filled into the first parameter, so that the automatic filling of the parameter value in the operation and maintenance flow is realized, manual filling by operation and maintenance personnel is not needed, a great amount of labor cost is saved, operation and maintenance efficiency is improved, uncertainty caused by human factors is avoided, and operation and maintenance stability is improved.
Further, when the plurality of initial operation and maintenance flows include at least one identical first parameter, for at least one first parameter shared by the plurality of initial operation and maintenance flows, after determining the parameter values of the second parameters corresponding to the at least one first parameter respectively in the rendering structure set, the at least one first parameter shared by the plurality of initial operation and maintenance flows can be automatically filled by multiplexing the rendering structure set, that is, multiple filling operations can be realized by one-time acquisition operation, so that the operation and maintenance efficiency is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are required to be used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is an application scenario schematic diagram of an operation and maintenance flow processing method provided in an embodiment of the present application;
fig. 2 is a flow diagram of an operation and maintenance flow processing method according to an embodiment of the present application;
FIG. 3 is a schematic logic diagram of an initial operation and maintenance procedure according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a relationship between an initial operation and maintenance step and a first parameter according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an initial operation and maintenance procedure according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a parameter value filling process according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of an association identifier provided in an embodiment of the present application;
FIG. 8 is a schematic diagram of a rendering structure set provided in an embodiment of the present application;
FIG. 9 is a schematic diagram of another association identifier according to an embodiment of the present application;
fig. 10 is a flow chart of another operation and maintenance flow processing method according to an embodiment of the present application;
FIG. 11 is a schematic diagram of an operation and maintenance interface according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of an operation and maintenance flow processing apparatus according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described below with reference to the drawings in the present application. It should be understood that the embodiments described below with reference to the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application, and the technical solutions of the embodiments of the present application are not limited.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and "comprising," when used in this application, specify the presence of stated features, information, data, steps, operations, elements, and/or components, but do not preclude the presence or addition of other features, information, data, steps, operations, elements, components, and/or groups thereof, all of which may be included in the present application. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein indicates that at least one of the items defined by the term, e.g., "a and/or B" may be implemented as "a", or as "B", or as "a and B".
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Along with the rapid development of cloud computing technology, the requirements of enterprises on the stability of private cloud products are higher and higher, and private cloud manufacturers meet the differentiated requirements of the enterprises through continuous iterative updating of cloud products. The operation and maintenance of the cloud product is an extremely important ring, and the life cycle operation of the cloud product can be guaranteed through the operation and maintenance. The traditional cloud product operation and maintenance method is realized by a document mode.
The cloud product operation and maintenance method based on the document comprises the following steps: and describing each detailed flow and command of cloud product operation and maintenance in a document mode, training delivery personnel to enable the delivery personnel to execute the commands sequentially in the document description mode, solving a command document of failure change in the execution process, and observing the service stability caused by change. If the business is affected, the rollback and damage stopping are needed in time, and the error log is needed to be manually analyzed so as to achieve the purpose of manually guaranteeing the change process. The cloud product operation and maintenance method based on the document has high requirements on delivery personnel, is low in training cost and communication cost, consumes time and labor, and is easy to cause faults.
When the application is deployed, updated and normalized, such as updating the application version every week or every month, or the user custom makes the application and deploys, a lot of manpower is consumed at this time, and because the frequency becomes high, it cannot be guaranteed that each deployment is complete and each step is performed correctly.
Therefore, cloud product operation and maintenance methods based on operation and maintenance processes are generated. An operation and maintenance flow refers to a collection of operation and maintenance actions that are organized in a certain order, commonly defined as Pipeline, which translates into a Pipeline, meaning that like a pipe, there is a definite input and output or expectation from end to end. For example: a containerized application, namely a Pipeline, is deployed. Obtaining planning configuration, deploying application packages to corresponding environments, checking the state of the application after deployment, etc., which are solidified and repeated actions and steps for each application deployment.
The operation and maintenance flow comprises different steps, and each step can correspond to a specific implementation action. Before executing the operation and maintenance flow, the parameter values of the parameters in the step are required to be filled, and the operation and maintenance flow can be executed only after the parameter values of all the parameters in the operation and maintenance flow are filled.
In the prior art, parameter values of parameters in an operation and maintenance process are manually filled by operation and maintenance personnel, and the manual parameter value filling mode consumes a great deal of labor cost and reduces operation and maintenance efficiency; and the operation and maintenance personnel need to understand the meaning of each parameter in the operation and maintenance flow, the accuracy of the filled parameters is easily influenced by factors such as the expert knowledge level and experience of the operation and maintenance personnel, and the operation and maintenance personnel have larger uncertainty, so that the stability of the operation and maintenance of the cloud product is influenced.
The operation and maintenance flow processing method, the operation and maintenance flow processing device, the electronic equipment and the storage medium aim to solve the technical problems in the prior art.
Optionally, the operation and maintenance flow processing method provided in the embodiment of the present application may be implemented based on Cloud technology (Cloud technology). Cloud technology refers to a hosting technology for unifying serial resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data. The cloud technology is a generic term of network technology, information technology, integration technology, management platform technology, application technology and the like based on cloud computing business model application, can form a resource pool, and is flexible and convenient as required. Cloud computing technology will become an important support. Background services of technical networking systems require a large amount of computing, storage resources, such as video websites, picture-like websites, and more portals. Along with the high development and application of the internet industry, each article possibly has an own identification mark in the future, the identification mark needs to be transmitted to a background system for logic processing, data with different levels can be processed separately, and various industry data needs strong system rear shield support and can be realized only through cloud computing.
Cloud computing refers to a delivery and use mode of an IT infrastructure, namely, obtaining required resources in an on-demand and easily-extensible manner through a network; generalized cloud computing refers to the delivery and usage patterns of services, meaning that the required services are obtained in an on-demand, easily scalable manner over a network. Such services may be IT, software, internet related, or other services. With the development of the internet, real-time data flow and diversification of connected devices, and the promotion of demands of search services, social networks, mobile commerce, open collaboration and the like, cloud computing is rapidly developed. Unlike the previous parallel distributed computing, the generation of cloud computing will promote the revolutionary transformation of the whole internet mode and enterprise management mode in concept.
Cloud storage (cloud storage) is a new concept that extends and develops in the concept of cloud computing, and a distributed cloud storage system (hereinafter referred to as a storage system for short) refers to a storage system that integrates a large number of storage devices (storage devices are also referred to as storage nodes) of various types in a network to work cooperatively through application software or application interfaces through functions such as cluster application, grid technology, and a distributed storage file system, so as to provide data storage and service access functions for the outside.
The technical solutions of the embodiments of the present application and technical effects produced by the technical solutions of the present application are described below by describing several exemplary embodiments. It should be noted that the following embodiments may be referred to, or combined with each other, and the description will not be repeated for the same terms, similar features, similar implementation steps, and the like in different embodiments.
Fig. 1 is a schematic application scenario of an operation and maintenance flow processing method provided in the embodiments of the present application, where, as shown in fig. 1, the application scenario includes a server 101, and the server 101 may determine, for each initial operation and maintenance step in an initial operation and maintenance flow to be constructed, a second parameter associated with a first parameter in the initial operation and maintenance step from a plurality of operation and maintenance parameters in a rendering structure set; determining a parameter value corresponding to a second parameter in the rendering structure set; the parameter value corresponding to the second parameter is determined by rendering the operation and maintenance parameters in the rendering structure set; and aiming at each first parameter in each initial operation and maintenance step, determining the parameter value of the first parameter based on the association relation between the first parameter and the second parameter and the corresponding parameter value of the second parameter, generating a target operation and maintenance flow, and executing the target operation and maintenance flow.
In the above application scenario, the task of executing the operation and maintenance flow process by the server may be executed by the terminal in other application scenarios. Those skilled in the art will appreciate that the above examples do not limit the application scenario of the operation and maintenance flow processing method of the present application.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server or a server cluster for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), basic cloud computing services such as big data and artificial intelligent platforms, and the like. The terminal may be a smart phone (e.g., android phone, iOS phone, etc.), a tablet computer, a notebook computer, a digital broadcast receiver, a MID (Mobile Internet Devices, mobile internet device), a PDA (personal digital assistant), a desktop computer, a smart home appliance, a vehicle-mounted terminal (e.g., a vehicle-mounted navigation terminal, a vehicle-mounted computer, etc.), a smart speaker, a smart watch, etc. The terminal and the server may be directly or indirectly connected through wired or wireless communication, but are not limited thereto.
Fig. 2 is a flow chart of an operation and maintenance flow processing method provided in the embodiment of the present application, where the method may be executed by a terminal or a server, and an execution body is taken as an example for the server to be described below. As shown in fig. 2, the method includes:
step S110, for each initial operation and maintenance step in the initial operation and maintenance flow to be constructed, determining a second parameter associated with a first parameter in the initial operation and maintenance step from a plurality of operation and maintenance parameters of the rendering structure set.
In particular, the operation and maintenance flow may include a series of operation and maintenance steps arranged in order, the operation and maintenance steps may include operation and maintenance parameters related to the operation and maintenance steps, and the operation and maintenance parameters may be information or data used for executing the operation and maintenance steps. For any operation and maintenance step, the operation and maintenance step may include one operation and maintenance parameter, or may include a plurality of operation and maintenance parameters, which is not limited in this embodiment of the present application. For each operation and maintenance parameter, there is a parameter value corresponding to the operation and maintenance parameter. The parameter values may be understood as specific data when using the operation parameters, and the parameter values may be of the same data type as the corresponding operation parameters.
The initial operation and maintenance flow can be an operation and maintenance flow to be constructed, and the initial operation and maintenance step can be an operation and maintenance step included in the initial operation and maintenance flow. The initial operation and maintenance flow may include a deployment operation and maintenance flow, an upgrade operation and maintenance flow, a rollback operation and maintenance flow, an expansion operation and maintenance flow, and the like, and the specific type of the initial operation and maintenance flow is not limited in the embodiment of the present application. The different initial operation and maintenance flows may differ in at least one of the type, number and order of the initial operation and maintenance steps included.
The initial operation and maintenance step may include at least one operation and maintenance parameter, and parameter values of the operation and maintenance parameter in the initial operation and maintenance step are not filled. The rendering structure set may be a set of a plurality of operation and maintenance parameters, and the rendering structure set is used for obtaining parameter values corresponding to the plurality of operation and maintenance parameters included in the rendering structure set respectively. And taking the operation and maintenance parameters in the initial operation and maintenance step as first parameters and the operation and maintenance parameters in the rendering structure set as second parameters.
For each initial operation and maintenance step in the initial operation and maintenance flow, at least one first parameter corresponding to the initial operation and maintenance step can be determined according to information or data used for executing the initial operation and maintenance step.
A second parameter associated with the first parameter in the initial operation and maintenance step is selected from a plurality of operation and maintenance parameters included in the rendering structure set. The second parameter may be an operation and maintenance parameter in association with the first parameter in the rendering structure set.
Wherein, the association relation between the first parameter and the second parameter can be determined first, and the association relation is used for representing the corresponding relation between the second parameter and the first parameter. When the initial operation and maintenance step comprises a first parameter, the relation between the first parameter and a second parameter corresponding to the first parameter in the rendering structure set can be obtained; when the initial operation and maintenance step includes a plurality of first parameters, a relationship between each first parameter and a corresponding second parameter in the rendering structure set may be obtained, which is not limited in the embodiment of the present application.
Alternatively, data for reflecting the association relationship between the second parameter and the first parameter may be stored in advance in a local database of the server, and the server determines the association relationship by calling the related data of the local database; other devices (including a terminal or a server) may also send data for reflecting the association relationship between the second parameter and the first parameter to the server, where the server determines the association relationship by receiving the related data, and the specific determination manner of the association relationship is not limited in the embodiment of the present application.
It should be noted that, the rendering structure set includes a plurality of second parameters corresponding to the plurality of first parameters in each initial operation and maintenance step, that is, any first parameter in each initial operation and maintenance step may find the corresponding second parameter in the rendering structure set, so as to ensure that the subsequent automatic filling of the parameter value of the first parameter in each initial operation and maintenance step can be realized through the rendering structure set.
Alternatively, the set of rendering structures may be constructed as follows: a plurality of historical operation and maintenance processes related to the initial operation and maintenance process to be constructed can be acquired in advance, for example, the historical operation and maintenance process can be an operation and maintenance process which is the same as the initial operation and maintenance process and is already executed; the operation and maintenance flow can be the operation and maintenance flow which is already executed and completed in the same operation and maintenance scene as the initial operation and maintenance flow. And counting a plurality of operation and maintenance parameters included in the plurality of historical operation and maintenance processes, and selecting a common operation and maintenance parameter from the plurality of operation and maintenance parameters in the plurality of historical operation and maintenance processes as a second parameter in the rendering structure set. For example, the occurrence frequencies of the plurality of operation and maintenance parameters in the plurality of historical operation and maintenance flows may be counted, and the preset number of operation and maintenance parameters in the front order are used as the plurality of second parameters in the rendering structure set according to the order of the occurrence frequencies from high to low.
On the basis, the operation and maintenance personnel can update or correct the second parameter in the rendering structure set. In addition, the operation and maintenance personnel can specifically set the second parameters included in the rendering structure set according to the actual operation and maintenance scene, and the determining mode of the second parameters in the rendering structure set is not limited in the embodiment of the application.
Step S120, determining a parameter value corresponding to a second parameter in the rendering structure set; the parameter value corresponding to the second parameter is determined by rendering the operation and maintenance parameters in the rendering structure set.
Specifically, after determining a second parameter in the rendering structure set associated with the first parameter, a parameter value corresponding to the second parameter may be further determined.
The server may determine parameter values corresponding to the plurality of operation and maintenance parameters respectively by rendering the plurality of operation and maintenance parameters in the rendering structure set, and since the plurality of operation and maintenance parameters include the plurality of second parameters, after determining the parameter values corresponding to the plurality of operation and maintenance parameters respectively, that is to say, the parameter values corresponding to the plurality of second parameters respectively are also determined.
Optionally, the server may render the operation and maintenance parameters in the rendering structure set through an API (Application Programming Interface ); the server may also receive parameter value data sent by other devices, and render the operation and maintenance parameters in the rendering structure set based on the parameter value data.
In this embodiment of the present application, the rendering structure set may correspond to a plurality of initial operation and maintenance flows, that is, a plurality of different initial operation and maintenance flows may respectively fill parameter values of the first parameters respectively included in the same general rendering structure set. The plurality of initial operation and maintenance flows may be operation and maintenance flows that need to be executed simultaneously or operation and maintenance flows that need to be executed separately, which is not limited in the embodiment of the present application.
When the rendering structure set corresponds to a plurality of initial operation and maintenance flows, the server can render operation and maintenance parameters (namely second parameters) related to the initial operation and maintenance flows to be executed currently; the method can also render a plurality of operation and maintenance parameters related to each initial operation and maintenance flow; all operation and maintenance parameters in the rendering structure set can be rendered, and the embodiment of the application is not limited to this.
It should be noted that, the step of rendering the operation and maintenance parameters in the rendering structure set may be performed before step S110, or may be performed after step S110, and the specific execution sequence of the rendering steps in the embodiment of the present application is not limited.
Step S130, for each first parameter in each initial operation and maintenance step, determining a parameter value of the first parameter based on an association relationship between the first parameter and the second parameter and a corresponding parameter value of the second parameter, generating a target operation and maintenance flow, and executing the target operation and maintenance flow.
Specifically, for each first parameter in each initial operation and maintenance step, a second parameter corresponding to the first parameter may be determined based on an association relationship between the first parameter in the initial operation and maintenance flow and a second parameter in the rendering structure set, and a parameter value of the first parameter may be determined according to a parameter value of the corresponding second parameter. The parameter value of the second parameter may be directly used as the parameter value of the first parameter, or the parameter value of the second parameter may be processed based on the parameter value of the second parameter and the relationship between the parameter value of the first parameter and the parameter value of the second parameter, so as to obtain the parameter value of the first parameter.
And after the parameter values of all the first parameters in the initial operation and maintenance process are filled, generating a target operation and maintenance process, wherein the target operation and maintenance process comprises a plurality of first parameters and corresponding parameter values.
After the parameter values of the first parameters in the target operation and maintenance flow are determined, the target operation and maintenance flow can be executed, and operation and maintenance on the cloud product can be realized.
The method provided in the embodiments of the present application is described below with reference to an example. Fig. 3 is a logic schematic diagram of an initial operation and maintenance flow provided in an embodiment of the present application, as shown in fig. 3, two initial operation and maintenance flows are included: the initial operation and maintenance flow A and the initial operation and maintenance flow B can correspond to different types of operation and maintenance flows, for example, the initial operation and maintenance flow A can be a deployment operation and maintenance flow, and the initial operation and maintenance flow B can be an upgrade operation and maintenance flow. In fig. 3, a circle represents an initial operation and maintenance step (hereinafter referred to as step), and as shown in fig. 3, an initial operation and maintenance flow a includes step 1, step 2, step 3 and step 4, and an initial operation and maintenance flow B includes step 2, step 3 and step 5. That is, both the initial operation and maintenance flow a and the initial operation and maintenance flow B include step 2 and step 3 (i.e., the circles filled with hatching in fig. 3).
Fig. 4 is a schematic diagram of a relationship between an initial operation and maintenance step and a first parameter provided in this embodiment, as shown in fig. 4, in fig. 3, the initial operation and maintenance steps 1-5 each correspond to a first parameter, each parameter includes a corresponding parameter Name and a parameter Value, for example, the initial operation and maintenance step1 corresponds to the first parameter 1, the first parameter 1 includes a parameter Name that is step1Key and a parameter Value, where the parameter Name may be used to uniquely identify a corresponding parameter, and the parameter Value is unfilled, i.e. is blank.
Fig. 5 is a schematic structural diagram of an initial operation and maintenance flow provided in the embodiment of the present application, as shown in fig. 5, parameter values of first parameters in each initial operation and maintenance step in the initial operation and maintenance flow a and the initial operation and maintenance step B are empty, and the parameter values corresponding to each first parameter need to be filled.
In the prior art, the parameter values of each first parameter are manually filled by an operation and maintenance personnel, taking fig. 5 as an example, the operation and maintenance personnel need to prepare two data for an initial operation and maintenance process a and an initial operation and maintenance process B respectively, and each data includes the parameter value of each first parameter included in the corresponding initial operation and maintenance process. On the basis, aiming at the initial operation and maintenance flow A, operation and maintenance personnel need to manually fill the corresponding value from the step1Key to the step4Key respectively, namely, 4 times of manual filling operation are carried out; for the initial operation and maintenance flow B, operation and maintenance personnel need to manually fill the value corresponding to the step2Key, the step3Key and the step5Key respectively, namely, 3 times of manual filling operation are performed. Because both the initial operation and maintenance flow A and the initial operation and maintenance flow B comprise step2Key and step3Key, operation and maintenance personnel need to manually fill the parameter values of the step2Key and the step3Key repeatedly, so that a great deal of repeated labor exists in the manual parameter value filling mode, and the efficiency is low.
In addition, in the operation and maintenance scene of an actual cloud product, one operation and maintenance flow often comprises dozens or even hundreds of operation and maintenance steps, when the number of parameters to be filled is increased, the workload of operation and maintenance personnel can be increased, filling errors of the operation and maintenance personnel are easily caused, and the stability of operation and maintenance is affected.
Fig. 6 is a schematic diagram of a parameter Value filling process provided in the embodiment of the present application, and as shown in fig. 6, a rendering structure set is set in the embodiment of the present application, where the rendering structure set includes a plurality of second parameters, and the second parameters include a parameter Name and a parameter Value. And each first parameter in each initial operation and maintenance flow can render the structure set to find the second parameter corresponding to the structure set. An association relationship exists between a first parameter in the initial operation and maintenance flow and a second parameter in the rendering structure set, and the solid arrows in fig. 6 represent connection relationships between steps, and the dashed arrows represent association relationships between parameters.
Taking fig. 6 as an example, a step1Key in the initial operation and maintenance flow a corresponds to a name1 in the rendering structure set, a step2Key in the initial operation and maintenance flow a corresponds to a name2 in the rendering structure set, a step3Key in the initial operation and maintenance flow a corresponds to a name3 in the rendering structure set, and a step4Key in the initial operation and maintenance flow a corresponds to a name4 in the rendering structure set. Step2Key in initial operation and maintenance flow B corresponds to name2 in the rendering structure set, step3Key in initial operation and maintenance flow B corresponds to name3 in the rendering structure set, and step5Key in initial operation and maintenance flow B corresponds to name5 in the rendering structure set.
In the embodiment of the application, after the parameter values corresponding to the name1-name5 in the rendering structure set are respectively determined, the parameter values of the second parameter corresponding to the first parameter can be automatically filled into the first parameter for each first parameter in each initial operation and maintenance flow, so that the parameter values of the first parameter are obtained, manual filling by operation and maintenance personnel is not needed, a large amount of labor cost is saved, the automatic filling of the parameter values in the operation and maintenance flow is realized, the operation and maintenance efficiency is improved, the uncertainty caused by human factors is avoided, and the stability of operation and maintenance is improved.
Further, when the plurality of initial operation and maintenance flows include at least one identical first parameter, for at least one first parameter shared by the plurality of initial operation and maintenance flows, after determining the parameter values of the second parameters corresponding to the at least one first parameter respectively in the rendering structure set, the at least one first parameter shared by the plurality of initial operation and maintenance flows can be automatically filled by multiplexing the rendering structure set, that is, multiple filling operations can be realized by one-time acquisition operation, so that the operation and maintenance efficiency is further improved.
According to the method provided by the embodiment of the application, the second parameter which is related to the first parameter in the initial operation and maintenance step is determined in the rendering structure set, and the parameter value of the second parameter which corresponds to the first parameter is determined in the rendering structure set, so that the parameter value of the second parameter can be automatically filled into the first parameter, the automatic filling of the parameter value in the operation and maintenance flow is realized, manual filling by operation and maintenance personnel is not needed, a large amount of labor cost is saved, operation and maintenance efficiency is improved, uncertainty caused by human factors is avoided, and stability of operation and maintenance is improved.
As an alternative embodiment, the method further comprises:
acquiring a parameter name of a second parameter corresponding to the first parameter for each first parameter in each initial operation and maintenance step;
generating an association identifier for the first parameter based on the parameter name of the corresponding second parameter; the association identifier is used for representing the association relation between the first parameter and the second parameter.
Specifically, for each first parameter in the initial operation and maintenance flow, a field newly added for the first parameter may be used as an association identifier of the first parameter. The association identifier of the first parameter is used for representing the association relationship between the first parameter and the second parameter, and the association identifier of the first parameter can be information related to the second parameter corresponding to the first parameter.
For each first parameter, a parameter name of a second parameter corresponding to the first parameter can be obtained, and the parameter name of the corresponding second parameter is used as an associated identifier of the first parameter.
On this basis, the filling process of the parameter values of the first parameter may comprise: after determining the association identifier of the first parameter, the second parameter matched with the association identifier can be selected from a plurality of second parameters in the rendering structure set based on the parameter name in the association identifier to serve as the second parameter corresponding to the first parameter, and then the parameter value of the first parameter can be automatically filled based on the parameter value of the corresponding second parameter.
Fig. 7 is a schematic diagram of an association identifier provided in the embodiment of the present application, as shown in fig. 7, taking an initial operation and maintenance flow a in fig. 5 as an example, an association identifier (Binding in the figure) of a first parameter step1Key in the initial operation and maintenance flow a includes a parameter name1 of a corresponding second parameter; the association identifier of the first parameter step2Key in the initial operation and maintenance flow A comprises a parameter name2 of the corresponding second parameter; the association identifier of the first parameter step3Key in the initial operation and maintenance flow A comprises a parameter name3 of the corresponding second parameter; the association identifier of the first parameter step4Key in the initial operation and maintenance flow a includes a parameter name4 of the corresponding second parameter.
As an optional embodiment, in the method, the first parameter in the initial operation and maintenance flow includes a corresponding first parameter identifier; the second parameters in the rendering structure set comprise corresponding second parameter identifications;
the method further comprises the steps of: acquiring a second parameter identifier of a second parameter corresponding to the first parameter for each first parameter in each initial operation and maintenance step;
the second parameter identification is used as a first parameter identification of the first parameter.
Specifically, for each first parameter in the initial operation and maintenance step, a field may be added for the first parameter as a first parameter identifier of the first parameter.
Likewise, for each second parameter in the rendering structure set, a field may be added for the second parameter as a second parameter identification of the second parameter.
It should be noted that, in the embodiment of the present application, the first parameter identifier and the second parameter identifier are not used for uniquely identifying the corresponding parameters, but are used as an intermediate field for connecting the first parameter and the second parameter having an association relationship, where the first parameter identifier and the second parameter identifier may be used for pointing to an association relationship. When the first parameter identification of the first parameter is consistent with the second parameter identification of the second parameter, namely the first parameter and the second parameter point to the same association relation, the association exists between the first parameter and the second parameter.
For each first parameter, a second parameter identifier of a second parameter corresponding to the first parameter can be determined, and the second parameter identifier is directly used as the first parameter identifier of the first parameter, so that the association binding between the first parameter and the second parameter corresponding to the first parameter can be realized.
On this basis, the filling process of the parameter values of the first parameter may comprise: for each first parameter of the initial operation and maintenance step, a first parameter identification of the first parameter can be determined, a second parameter corresponding to a second parameter identification consistent with the first parameter identification is selected from a plurality of second parameters in the rendering structure set based on the first parameter identification and is used as a second parameter corresponding to the first parameter, and further parameter values of the first parameter can be automatically filled based on parameter values of the corresponding second parameter.
As an alternative embodiment, the method further comprises:
if the parameter value of the second parameter corresponding to any first parameter in the initial operation and maintenance flow in the rendering structure set is not obtained, receiving correction information aiming at the second parameter;
parameter values of the second parameter are determined based on the correction information.
Specifically, when the operation and maintenance parameters in the rendering structure set are rendered, if the parameter value of the second parameter corresponding to any first parameter is not obtained, that is, the parameter value of the second parameter is blank, the correction information for the second parameter may be received, where the correction information may include the parameter value of the second parameter, and based on the correction information, the parameter value of the second parameter is updated to obtain the parameter value of the second parameter, so that the first parameter corresponding to the second parameter is filled with the parameter value based on the parameter value of the second parameter.
Wherein the correction information may be transmitted through other devices, including terminals or servers.
Optionally, when the server detects that the parameter value of the second parameter corresponding to a certain first parameter is not available, the server may send a prompt message to other devices, where the prompt message may include information of the second parameter to be corrected. The other devices may send corresponding correction information to the server in response to the received hint information.
Alternatively, when the other device is a terminal, the terminal may be installed with an application for inputting parameter values, the application may display an input page, the input page may include an interaction control for inputting parameter values, for example, the interaction control may be an input box. The terminal responds to the received prompt information, a corresponding interaction control can be rendered in the input page, an operation and maintenance person can input a parameter value of a second parameter to be corrected through the interaction control, and the terminal sends correction information comprising the parameter value of the second parameter to the server.
In a cloud product operation and maintenance scene, most of parameters in a rendering structure set can be acquired through automatic rendering, but some parameters which cannot be acquired through automatic rendering may exist in the rendering structure set. In the embodiment of the application, under the condition that the parameter value of the second parameter corresponding to any first parameter is not obtained, the parameter value of the second parameter is determined by receiving the correction information for the second parameter, so that the parameter values of the second parameters which are respectively different from the first parameters are determined, the parameter values of the first parameters in the initial operation and maintenance process can be completely filled, the condition that the generated target operation and maintenance process cannot be executed due to unfilled parameter values of the first parameters is avoided, the executable performance of the target operation and maintenance process is improved, and the stability of operation and maintenance is further improved.
As an alternative embodiment, in the method, the set of rendering structures is built based on the following:
determining at least one rendering structure; the rendering structure corresponds to one operation dimension, and the rendering structure comprises at least one second parameter related to the corresponding operation dimension; the rendering structure is used for acquiring parameter values respectively corresponding to at least one second parameter included in the rendering structure;
a set of rendering structures is constructed based on the at least one rendering structure.
In particular, a set of rendering structures may also be constructed prior to determining the initial operation and maintenance flow. In an operation and maintenance scene of the cloud product, at least one operation and maintenance dimension can be determined, and a rendering structure corresponding to the operation and maintenance dimension is determined for each operation and maintenance dimension. The rendering structure may be a set of at least one second parameter, the rendering structure may include at least one second parameter related to an operation dimension corresponding to the rendering structure, and the rendering structure is configured to render a parameter value of the at least one second parameter included in the rendering structure.
After determining the at least one rendering structure, the at least one rendering structure may be combined into a set of rendering structures.
Fig. 8 is a schematic diagram of a rendering structure set provided in an embodiment of the present application, and as shown in fig. 8, the rendering structure set includes a product rendering structure, an application rendering structure, a common rendering structure, and other rendering structures. The product rendering structure may be a rendering structure corresponding to a product dimension, the application rendering structure may be a rendering structure corresponding to an application dimension, the common rendering structure may be a common rendering structure, and the other rendering structures may be rendering structures other than the three rendering structures. The product rendering structure may include second parameters such as a product name, the application rendering structure may include second parameters such as an application name, an application version, etc., and the second parameters in the common rendering structure and the second parameters in the other rendering structures may set corresponding parameter names for specific parameters.
According to the embodiment of the application, the at least one rendering structure is determined according to different dimensions, the rendering structure set is constructed based on the at least one rendering structure, and the at least one rendering structure is arranged to divide a plurality of second parameters in the rendering structure set, so that the orderly management and the calling of the second parameters in the rendering structure set are facilitated.
In addition, when the operation and maintenance process is abnormal, the possibility of which rendering structure is abnormal can be judged according to the type of the abnormality, and the second parameter in the rendering structure is checked with emphasis, so that the abnormal second parameter can be positioned quickly.
As an alternative embodiment, each rendering structure in the set of rendering structures includes a corresponding structure identification; the association identifier comprises a target structure identifier of a target rendering structure, and the target rendering structure is a rendering structure where a second parameter corresponding to the first parameter is located;
determining the parameter value of the first parameter based on the association relation between the first parameter and the second parameter and the corresponding parameter value of the second parameter, including:
determining a target rendering structure where a second parameter corresponding to the first parameter is located from the rendering structure set based on a target structure identifier in the association identifier;
Determining a corresponding second parameter from the target rendering structure based on the parameter name in the association identifier;
and determining the parameter value of the first parameter based on the corresponding parameter value of the second parameter.
In particular, the set of rendering structures may comprise at least one rendering structure, for each rendering structure comprising a structure identification corresponding thereto, the structure identification being used for uniquely identifying the corresponding rendering structure.
For each first parameter of the initial operation and maintenance step, the association identifier of the first parameter may not only include the parameter name of the second parameter corresponding to the first parameter, but also include the target structure identifier of the target rendering structure where the corresponding second parameter is located.
On the basis, for each first parameter in the initial operation and maintenance step, a target rendering structure where a second parameter corresponding to the first parameter is located can be determined firstly based on a target structure identifier in the association identifier of the first parameter; and then determining the corresponding second parameter from the target rendering structure according to the parameter name of the corresponding second parameter in the association identifier of the first parameter, and further automatically filling the parameter value of the corresponding second parameter into the first parameter.
Fig. 9 is a schematic diagram of an association identifier provided in the embodiment of the present application, and as shown in fig. 9, taking an initial operation and maintenance flow a in fig. 5 as an example, a first parameter step1Key in the initial operation and maintenance flow a corresponds to a second parameter product name in a product rendering structure, and the association identifier of the step1Key includes the product rendering structure and the product name; the first parameter step2Key in the initial operation and maintenance flow A corresponds to a second parameter application name in the application rendering structure, and the association identifier of the step2Key comprises the application rendering structure and the application name; the first parameter step3Key in the initial operation and maintenance flow A corresponds to a second parameter application version in the application rendering structure, and the associated identifier of the step3Key comprises the application rendering structure and the application version; the first parameter step4Key in the initial operation and maintenance flow A corresponds to a second parameter custom name in the public rendering structure, and the association identifier of the step4Key comprises the public rendering structure and the custom name.
It should be noted that, when one rendering structure set includes a plurality of second parameters, the plurality of second parameters in the rendering structure set may correspond to the plurality of first parameters respectively, and the plurality of first parameters may be in the same initial operation and maintenance step; the embodiments of the present application do not limit this, but may also be performed in different initial operation and maintenance steps.
In the embodiment of the application, the association identifier comprises the target structure identifier, when the second parameter corresponding to the first parameter is determined, the rendering structure where the second parameter is located can be determined, and then the second parameter is searched in the determined rendering structure, so that the efficiency of searching the second parameter in the rendering structure set is improved, and the efficiency of operation and maintenance is improved.
Taking a Pipeline deployment as an example (hereinafter, an operation and maintenance flow is abbreviated as Pipeline, and a rendering structure is abbreviated as Render) for explanation, fig. 10 is a flow diagram of an operation and maintenance flow processing method provided in an embodiment of the present application, and as shown in fig. 10, the method includes:
(1) Constructing a universal Render set;
defining a rendering structure product Render, an application Render, a public Render, and the like, wherein each Render may include at least one second parameter, and each second parameter includes a corresponding parameter Name and a parameter Value. And combining the product Render, the application Render and the public Render to obtain a universal Render set.
(2) Establishing an association relation;
defining first parameters included in each step of the deployment Pipeline, and determining an associated field Binding of the first parameters for each first parameter, wherein the associated field of the first parameters comprises a rendering structure corresponding to the second parameters of the first parameters and a parameter name corresponding to the second parameters. The universal Render set includes second parameters corresponding to all the first parameters in the deployment Pipeline.
(3) Rendering the universal Render set;
and automatically rendering a plurality of second parameters in the universal Render set, and determining parameter values corresponding to the plurality of second parameters respectively to realize instantiation in the universal Render set.
(4) Rendering the deployment Pipeline.
For each first parameter in the deployment Pipeline, a Binding field of the first parameter is acquired, a corresponding second parameter is acquired based on the Binding field, and the parameter value of the corresponding second parameter is filled into the first parameter value, so that automatic rendering of the parameter value of the first parameter is realized.
And after the parameter values of all the first parameters in the deployment Pipeline are filled, the deployment Pipeline can be executed.
In the embodiment of the application, after the rendering structure is defined by defining the rendering structure Render, the parameters of the steps in the Pipeline flow and the parameters in the rendering structure Render are associated and bound, so that all parameter values in the Pipeline can be obtained from the rendering structure, when the Pipeline is executed, the Render associated with the Pipeline is obtained, and the instantiation of the Render is automatically completed through the rendering mechanism, the automatic filling of the Pipeline parameter values is completed, manual intervention is not needed, the labor investment of operation and maintenance personnel is greatly reduced, manual operation is reduced, and the operation and maintenance efficiency of cloud products is improved.
Further, the operation and maintenance process is divided into two phases: the Pipeline arranging stage and the Pipeline instantiation (filling parameter value) stage are respectively responsible for different stages, the responsibilities of cloud product operation and maintenance personnel are divided more clearly, and the process of writing one operation and maintenance is divided into two responsibilities: rendering data and orchestrating a flow. Through the mode of responsibility separation, operation and maintenance personnel only need pay attention to sequential arrangement of cloud product operation and maintenance flow Pipeline, do not need how to acquire relation parameter values, and how to fill in, so that operation and maintenance of cloud products can be completed. Through decoupling the operation and maintenance flow of cloud products, operation and maintenance personnel are released from the writing and execution of complicated cloud product change flow, more efforts are put into the direction of guaranteeing the stability of the change flow, and the operation and maintenance efficiency is improved.
Fig. 11 is a schematic diagram of an operation and maintenance interface provided in an embodiment of the present application, where, as shown in fig. 11, the interface includes an operation and maintenance flow area (a left area of the interface in fig. 11) and an operation and maintenance information area (a right area of the interface in fig. 11), the operation and maintenance flow area may be used to visually display an operation and maintenance flow, and the operation and maintenance flow may be represented as a flow block diagram, where a rectangular box may represent a step, and each step may correspond to a control.
The operation and maintenance information area may present operation and maintenance information corresponding to the step. The operation and maintenance information area can be used for showing information of deployment progress, parameter configuration, output parameters, deployment logs and the like, and controls respectively corresponding to the deployment progress, the parameter configuration, the output parameters and the deployment logs can be included in the operation and maintenance information area. The relevant information that needs to be presented in this regard can be determined by clicking on a control.
Taking fig. 11 as an example, the operation and maintenance flow in the interface includes three steps of preparing materials (preparation_materials), preparing configurations (preparation_definition), and creating applications (application_image), and the three steps are sequentially arranged. And when the information of the step of preparing the materials is needed to be checked, clicking a control corresponding to the prepared materials, and highlighting the control corresponding to the prepared materials. When the information of the deployment progress of the step is required to be checked, clicking a control corresponding to the deployment progress in the operation and maintenance information area, and highlighting the control corresponding to the deployment progress. The operation and maintenance information area displays the information of the step on the deployment progress, and the operation and maintenance information area comprises the following steps: atomic operation name, atomic operation description, atomic operation state, start time, end time, and noduuid (Universally Unique Identifier, unique identifier).
Fig. 12 is a schematic structural diagram of an operation and maintenance flow processing apparatus according to an embodiment of the present application, where, as shown in fig. 12, the apparatus includes:
a second parameter determining module 210, configured to determine, for each initial operation and maintenance step in an initial operation and maintenance flow to be constructed, a second parameter associated with a first parameter in the initial operation and maintenance step from a plurality of operation and maintenance parameters in a rendering structure set;
a parameter value rendering module 220, configured to determine a parameter value corresponding to a second parameter in the rendering structure set; the parameter value corresponding to the second parameter is determined by rendering the operation and maintenance parameters in the rendering structure set;
the target operation and maintenance process module 230 is configured to determine, for each first parameter in each initial operation and maintenance step, a parameter value of the first parameter based on an association relationship between the first parameter and the second parameter and a parameter value of the corresponding second parameter, generate a target operation and maintenance process, and execute the target operation and maintenance process.
According to the device provided by the embodiment of the application, the second parameter which is related to the first parameter in the initial operation and maintenance step is determined in the rendering structure set, the parameter value of the second parameter which corresponds to the first parameter can be automatically filled into the first parameter by determining the parameter value of the second parameter in the rendering structure set, so that the automatic filling of the parameter value in the operation and maintenance flow is realized, the operation and maintenance personnel are not required to carry out manual filling, a large amount of labor cost is saved, the operation and maintenance efficiency is improved, the uncertainty caused by human factors is avoided, and the stability of operation and maintenance is improved.
Further, when the plurality of initial operation and maintenance flows include at least one identical first parameter, for at least one first parameter shared by the plurality of initial operation and maintenance flows, after determining the parameter values of the second parameters corresponding to the at least one first parameter respectively in the rendering structure set, the at least one first parameter shared by the plurality of initial operation and maintenance flows can be automatically filled by multiplexing the rendering structure set, that is, multiple filling operations can be realized by one-time acquisition operation, so that the operation and maintenance efficiency is further improved.
As an alternative embodiment, the apparatus further comprises an association identifier determining module configured to:
acquiring a parameter name of a second parameter corresponding to each first parameter in each initial operation and maintenance step;
generating an association identifier for the first parameter based on the parameter name of the corresponding second parameter; the association identifier is used for representing the association relation between the first parameter and the second parameter.
As an optional embodiment, in the apparatus, the first parameter in the initial operation and maintenance procedure includes a corresponding first parameter identifier; the second parameters in the rendering structure set comprise corresponding second parameter identifications;
The device also comprises a parameter identification determining module for:
acquiring a second parameter identifier of a second parameter corresponding to each first parameter in each initial operation and maintenance step;
and taking the second parameter identifier as a first parameter identifier of the first parameter.
As an alternative embodiment, the apparatus further comprises a parameter correction module for:
if the parameter value of the second parameter corresponding to any first parameter in the initial operation and maintenance flow in the rendering structure set is not obtained, receiving correction information aiming at the second parameter;
a parameter value of the second parameter is determined based on the correction information.
The device provided by the embodiment of the application ensures that the parameter values of the second parameters respectively corresponding to the first parameters are determined, so that the parameter values of the first parameters in the initial operation and maintenance process can be completely filled, the situation that the generated target operation and maintenance process cannot be executed due to unfilled parameter values of certain first parameters is avoided, the executable performance of the target operation and maintenance process is improved, and the stability of operation and maintenance is further improved.
As an alternative embodiment, the apparatus further comprises a rendering structure set building module for:
Determining at least one rendering structure; the rendering structure corresponds to one operation dimension, and the rendering structure comprises at least one second parameter related to the corresponding operation dimension; the rendering structure is used for acquiring parameter values corresponding to at least one second parameter included in the rendering structure respectively;
the set of rendering structures is constructed based on the at least one rendering structure.
According to the device provided by the embodiment of the application, the at least one rendering structure is determined according to different dimensions, the rendering structure set is constructed based on the at least one rendering structure, and the division of a plurality of second parameters in the rendering structure set is realized by setting the at least one rendering structure, so that the orderly management and the call of the second parameters in the rendering structure set are facilitated.
As an optional embodiment, in the apparatus, each rendering structure in the set of rendering structures includes a corresponding structure identifier; the association identifier comprises a target structure identifier of a target rendering structure, and the target rendering structure is a rendering structure where a second parameter corresponding to the first parameter is located;
on the basis, the target operation and maintenance flow processing module is specifically used for:
determining a target rendering structure where a second parameter corresponding to the first parameter is located from the rendering structure set based on a target structure identifier in the association identifier;
Determining a corresponding second parameter from the target rendering structure based on the parameter name in the association identifier;
and determining the parameter value of the first parameter based on the parameter value of the corresponding second parameter.
According to the device provided by the embodiment of the application, the association identifier comprises the target structure identifier, when the second parameter corresponding to the first parameter is determined, the rendering structure where the second parameter is located can be determined, and then the second parameter is searched in the determined rendering structure, so that the searching efficiency of the second parameter in the rendering structure set is improved, and the operation and maintenance efficiency is improved.
As an optional embodiment, the target operation and maintenance flow processing module in the device is specifically configured to:
and taking the parameter value of the second parameter as the parameter value of the corresponding first parameter.
The apparatus of the embodiments of the present application may perform the method provided by the embodiments of the present application, and implementation principles of the method are similar, and actions performed by each module in the apparatus of each embodiment of the present application correspond to steps in the method of each embodiment of the present application, and detailed functional descriptions of each module of the apparatus may be referred to in the corresponding method shown in the foregoing, which is not repeated herein.
The embodiment of the application provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to realize the steps of the operation and maintenance flow processing method, and compared with the related technology, the method can realize the following steps: by acquiring the association relation between the first parameter in the initial operation and maintenance step and the second parameter in the rendering structure set, the parameter value of the second parameter corresponding to the first parameter can be automatically filled into the first parameter by determining the parameter value of the second parameter in the rendering structure set, so that the automatic filling of the parameter value in the operation and maintenance flow is realized, manual filling by operation and maintenance personnel is not needed, a great amount of labor cost is saved, operation and maintenance efficiency is improved, uncertainty caused by human factors is avoided, and operation and maintenance stability is improved.
In an alternative embodiment, there is provided an electronic device, as shown in fig. 13, the electronic device 4000 shown in fig. 13 includes: a processor 4001 and a memory 4003. Wherein the processor 4001 is coupled to the memory 4003, such as via a bus 4002. Optionally, the electronic device 4000 may further comprise a transceiver 4004, the transceiver 4004 may be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data, etc. It should be noted that, in practical applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 is not limited to the embodiment of the present application.
The processor 4001 may be a CPU (Central Processing Unit ), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor 4001 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
Bus 4002 may include a path to transfer information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. The bus 4002 can be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 13, but not only one bus or one type of bus.
Memory 4003 may be, but is not limited to, ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, EEPROM (Electrically Erasable Programmable Read Only Memory ), CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium that can be used to carry or store a computer program and that can be Read by a computer.
The memory 4003 is used for storing a computer program that executes an embodiment of the present application, and is controlled to be executed by the processor 4001. The processor 4001 is configured to execute a computer program stored in the memory 4003 to realize the steps shown in the foregoing method embodiment.
Embodiments of the present application provide a computer readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, may implement the steps and corresponding content of the foregoing method embodiments.
The terms "first," "second," "third," "fourth," "1," "2," and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the present application described herein may be implemented in other sequences than those illustrated or otherwise described.
It should be understood that, although the flowcharts of the embodiments of the present application indicate the respective operation steps by arrows, the order of implementation of these steps is not limited to the order indicated by the arrows. In some implementations of embodiments of the present application, the implementation steps in the flowcharts may be performed in other orders as desired, unless explicitly stated herein. Furthermore, some or all of the steps in the flowcharts may include multiple sub-steps or multiple stages based on the actual implementation scenario. Some or all of these sub-steps or phases may be performed at the same time, or each of these sub-steps or phases may be performed at different times, respectively. In the case of different execution time, the execution sequence of the sub-steps or stages may be flexibly configured according to the requirement, which is not limited in the embodiment of the present application.
The foregoing is merely an optional implementation manner of the implementation scenario of the application, and it should be noted that, for those skilled in the art, other similar implementation manners based on the technical ideas of the application are adopted without departing from the technical ideas of the application, and also belong to the protection scope of the embodiments of the application.

Claims (9)

1. The operation and maintenance flow processing method is characterized by comprising the following steps:
determining, for each initial operation and maintenance step in an initial operation and maintenance flow to be constructed, a second parameter associated with a first parameter in the initial operation and maintenance step from a plurality of operation and maintenance parameters of a rendering structure set;
determining a parameter value corresponding to a second parameter in the rendering structure set; the parameter value corresponding to the second parameter is determined by rendering the operation and maintenance parameters in the rendering structure set;
determining a parameter value of each first parameter in each initial operation and maintenance step based on an association relation between the first parameter and the second parameter and a corresponding parameter value of the second parameter, generating a target operation and maintenance flow, and executing the target operation and maintenance flow;
the method further comprises the steps of:
If the parameter value of a second parameter corresponding to any first parameter in the initial operation and maintenance flow in the rendering structure set is not obtained, receiving correction information aiming at the second parameter;
a parameter value of the second parameter is determined based on the correction information.
2. The operation and maintenance flow processing method according to claim 1, wherein the method further comprises:
acquiring a parameter name of a second parameter corresponding to each first parameter in each initial operation and maintenance step;
generating an association identifier for the first parameter based on the parameter name of the corresponding second parameter; the association identifier is used for representing the association relation between the first parameter and the second parameter.
3. The operation and maintenance flow processing method according to claim 1, wherein the first parameter in the initial operation and maintenance flow includes a corresponding first parameter identifier; the second parameters in the rendering structure set comprise corresponding second parameter identifications;
the method further comprises the steps of:
acquiring a second parameter identifier of a second parameter corresponding to each first parameter in each initial operation and maintenance step;
and taking the second parameter identifier as a first parameter identifier of the first parameter.
4. The operation and maintenance flow processing method according to claim 2, wherein the rendering structure set is constructed based on the following manner:
determining at least one rendering structure; the rendering structure corresponds to one operation dimension, and the rendering structure comprises at least one second parameter related to the corresponding operation dimension; the rendering structure is used for acquiring parameter values corresponding to at least one second parameter included in the rendering structure respectively;
the set of rendering structures is constructed based on the at least one rendering structure.
5. The operation and maintenance flow processing method according to claim 4, wherein each rendering structure in the rendering structure set includes a corresponding structure identifier; the association identifier comprises a target structure identifier of a target rendering structure, and the target rendering structure is a rendering structure where a second parameter corresponding to the first parameter is located;
the determining the parameter value of the first parameter based on the association relationship between the first parameter and the second parameter and the corresponding parameter value of the second parameter includes:
determining a target rendering structure where a second parameter corresponding to the first parameter is located from the rendering structure set based on a target structure identifier in the association identifier;
Determining a corresponding second parameter from the target rendering structure based on the parameter name in the association identifier;
and determining the parameter value of the first parameter based on the parameter value of the corresponding second parameter.
6. The operation and maintenance flow processing method according to any one of claims 1 to 5, wherein the determining the parameter value of the first parameter based on the association relationship between the first parameter and the second parameter and the parameter value of the corresponding second parameter includes:
and taking the parameter value of the second parameter as the parameter value of the corresponding first parameter.
7. An operation and maintenance flow processing device, which is characterized by comprising:
the second parameter determining module is used for determining a second parameter associated with the first parameter in the initial operation and maintenance steps from a plurality of operation and maintenance parameters of the rendering structure set aiming at each initial operation and maintenance step in the initial operation and maintenance flow to be constructed;
the parameter value rendering module is used for determining a parameter value corresponding to a second parameter in the rendering structure set; the parameter value corresponding to the second parameter is determined by rendering the operation and maintenance parameters in the rendering structure set;
the target operation and maintenance flow processing module is used for determining the parameter value of each first parameter according to the association relation between the first parameter and the second parameter and the parameter value of the corresponding second parameter in each initial operation and maintenance step, generating a target operation and maintenance flow and executing the target operation and maintenance flow;
The parameter correction module is used for receiving correction information aiming at a second parameter corresponding to any first parameter in the initial operation and maintenance flow in the rendering structure set if the parameter value of the second parameter is not acquired; a parameter value of the second parameter is determined based on the correction information.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory, characterized in that the processor executes the computer program to implement the steps of the method of any one of claims 1 to 6.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 6.
CN202310851149.XA 2023-07-12 2023-07-12 Operation and maintenance flow processing method and device, electronic equipment and storage medium Active CN116560722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310851149.XA CN116560722B (en) 2023-07-12 2023-07-12 Operation and maintenance flow processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310851149.XA CN116560722B (en) 2023-07-12 2023-07-12 Operation and maintenance flow processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116560722A CN116560722A (en) 2023-08-08
CN116560722B true CN116560722B (en) 2024-01-02

Family

ID=87496953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310851149.XA Active CN116560722B (en) 2023-07-12 2023-07-12 Operation and maintenance flow processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116560722B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111240935A (en) * 2020-01-13 2020-06-05 烽火云科技有限公司 Automatic intelligent operation and maintenance system and operation and maintenance method
CN111752594A (en) * 2020-06-23 2020-10-09 深圳壹账通智能科技有限公司 Data processing method based on business module and related equipment
CN112685055A (en) * 2021-01-05 2021-04-20 北京金山云网络技术有限公司 Cluster construction method and device
CN113327031A (en) * 2021-05-28 2021-08-31 深圳前海微众银行股份有限公司 Operation and maintenance method and device for block chain
CN114090580A (en) * 2021-11-22 2022-02-25 腾讯科技(深圳)有限公司 Data processing method, device, equipment, storage medium and product
CN114281403A (en) * 2021-12-22 2022-04-05 中国建设银行股份有限公司 Automatic operation and maintenance platform adaptation method, device, equipment, storage medium and product
CN114637891A (en) * 2020-12-15 2022-06-17 来未来科技(浙江)有限公司 Business process assembly rendering and visual operation and maintenance method
CN116089205A (en) * 2022-12-05 2023-05-09 上海宏时数据系统有限公司 Automatic operation and maintenance management method, device, server and storage medium
CN116301866A (en) * 2023-03-17 2023-06-23 深圳市瑞云科技股份有限公司 Cloud rendering method, device, equipment and storage medium based on custom software
CN116384921A (en) * 2023-03-31 2023-07-04 中国工商银行股份有限公司 Execution method and device of operation and maintenance event, storage medium and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766052B (en) * 2017-09-18 2020-09-25 网宿科技股份有限公司 Method and device for constructing container mirror image

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111240935A (en) * 2020-01-13 2020-06-05 烽火云科技有限公司 Automatic intelligent operation and maintenance system and operation and maintenance method
CN111752594A (en) * 2020-06-23 2020-10-09 深圳壹账通智能科技有限公司 Data processing method based on business module and related equipment
CN114637891A (en) * 2020-12-15 2022-06-17 来未来科技(浙江)有限公司 Business process assembly rendering and visual operation and maintenance method
CN112685055A (en) * 2021-01-05 2021-04-20 北京金山云网络技术有限公司 Cluster construction method and device
CN113327031A (en) * 2021-05-28 2021-08-31 深圳前海微众银行股份有限公司 Operation and maintenance method and device for block chain
CN114090580A (en) * 2021-11-22 2022-02-25 腾讯科技(深圳)有限公司 Data processing method, device, equipment, storage medium and product
CN114281403A (en) * 2021-12-22 2022-04-05 中国建设银行股份有限公司 Automatic operation and maintenance platform adaptation method, device, equipment, storage medium and product
CN116089205A (en) * 2022-12-05 2023-05-09 上海宏时数据系统有限公司 Automatic operation and maintenance management method, device, server and storage medium
CN116301866A (en) * 2023-03-17 2023-06-23 深圳市瑞云科技股份有限公司 Cloud rendering method, device, equipment and storage medium based on custom software
CN116384921A (en) * 2023-03-31 2023-07-04 中国工商银行股份有限公司 Execution method and device of operation and maintenance event, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN116560722A (en) 2023-08-08

Similar Documents

Publication Publication Date Title
CN111221726A (en) Test data generation method and device, storage medium and intelligent equipment
CN107241315B (en) Access method and device of bank gateway interface and computer readable storage medium
CN105389256A (en) Unit testing method and system
CN110046091B (en) Automatic test method and device
CN107153646B (en) Data processing method and equipment
CN111162953A (en) Data processing method, system upgrading method and server
CN109814877A (en) Project dispositions method and its device based on environmental management
CN116257438A (en) Updating method of interface test case and related equipment
CN106990974B (en) APP updating method and device and electronic equipment
CN112559525B (en) Data checking system, method, device and server
CN112395339B (en) Intersystem data admission verification method, device, computer equipment and storage medium
CN112044061B (en) Game picture processing method and device, electronic equipment and storage medium
CN113468143A (en) Data migration method, system, computing device and storage medium
CN110489090B (en) Application software development method and system based on application model
CN116560722B (en) Operation and maintenance flow processing method and device, electronic equipment and storage medium
CN112561690A (en) Method, system, equipment and storage medium for testing credit card staging service interface
CN107203471B (en) Joint debugging method, service platform and computer storage medium
CN112650815B (en) Method and device for synchronizing environment data, storage medium and electronic device
CN112418796B (en) Sub-process task node activation method and device, electronic equipment and storage medium
CN112416488B (en) User portrait implementing method, device, computer equipment and computer readable storage medium
CN110008073B (en) Hardware platform differential shielding method, device, equipment and readable storage medium
CN111240920B (en) Performance test method, device, server and storage medium
CN109710293B (en) File processing method and device, electronic equipment and storage medium
CN117933889A (en) Data task processing method and device
CN116010260A (en) Code coverage rate acquisition method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant