Method, system and related equipment for generating host change template
Through the automatic change method based on the cloud platform, the host change template is generated and configured, which solves the problems of low efficiency and high risk of manual writing of change templates in the existing technology, and achieves efficient and safe change configuration.
Patent Information
- Application Number
- CN202010512236.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-08
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-06-08
AI Technical Summary
In the existing technology, relying on manual writing of change templates is inefficient and risky, and cannot meet the needs of operation and maintenance developers during changes.
Using an automatic change method based on the cloud platform, the target change template is generated by obtaining user-specified target host selection rules, OA transfer rules, group execution rules, collection operations, change operations, and verification operations, and provides an element configuration interface for user configuration Interface elements and operating rules reduce manual operation risks.
It improves the configuration efficiency of host change templates, reduces change risks, and achieves the flexibility and security of automated changes to the cloud platform.
Smart Images

Figure CN111753512B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of operation and maintenance technology, and in particular to a method for generating a host change template and related equipment. Background Art
[0002] With the continuous development of the information age, IT (information technology) operation and maintenance has become an important part of IT service. From a few servers in the early stage to a huge data center, manual labor alone can no longer meet the requirements in terms of technology, business, and management.
[0003] Although operation and maintenance management technology is constantly improving, under the current technical conditions, many operation and maintenance developers are still not truly freed. When making changes, change templates still need to be manually written and customized, and the control of change risks mainly relies on manual verification. When there are a large number of change template updates and implementation requirements, the existing method of manually writing change templates is inefficient and risky. Summary of the invention
[0004] The embodiments of the present invention provide a method, system and related equipment for generating a host change template, so as to solve the efficiency and risk problems of manually writing and verifying the change template in the prior art.
[0005] On the one hand, an embodiment of the present invention provides an automatic change method based on a cloud platform, the method comprising:
[0006] Obtain the target host selection rules, target OA flow rules, and target group execution rules specified by the user;
[0007] Obtain target acquisition operations, target change operations, and target verification operations specified by the user;
[0008] Obtaining the execution process between the target acquisition operation, the target change operation and the target verification operation configured by the user according to the target operation process list of the target acquisition operation, the target change operation and the target verification operation;
[0009] Acquire the association relationship among the target acquisition operation, the target change operation and the target verification operation configured by the user according to the association configuration list of the target acquisition operation, the target change operation and the target verification operation;
[0010] A target change template is generated according to the target host selection rule, the target OA flow rule, the target group execution rule, the target acquisition operation, the target change operation, the target verification operation and the execution process and the association relationship.
[0011] In one embodiment of the present invention, the method further comprises:
[0012] The target operation process list is generated according to the target acquisition operation, the target change operation, and the target verification operation.
[0013] In one embodiment of the present invention, the method further comprises:
[0014] The associated configuration list is generated according to the target acquisition operation, the target change operation and the target verification operation.
[0015] In one embodiment of the present invention, obtaining a target host selection rule, a target OA flow rule, and a target group execution rule specified by a user includes:
[0016] Generate a host selection rule list, so that the user can select a target host selection rule from the host selection rule list;
[0017] receiving a target host selection rule selected by a user;
[0018] Generate an OA circulation rule list so that the user can select a target OA circulation rule from the OA circulation rules;
[0019] Receive the target OA flow rules selected by the user;
[0020] Generate a group execution rule list for the user to select a target group execution rule from the group execution rules,
[0021] Receive the target group execution rule selected by the user.
[0022] In one embodiment of the present invention, obtaining a target acquisition operation, a target change operation, and a target verification operation specified by a user includes:
[0023] Acquire collection operation information from a database, generate a collection operation list according to the acquired collection operation information, so that the user can select a target collection operation from the collection operation list,
[0024] Receive the target acquisition operation selected by the user;
[0025] Acquire change operation information from a database, generate a change operation list according to the acquired change operation information, so that the user can select a target change operation from the change operation list,
[0026] Receive the target change operation selected by the user;
[0027] Acquire verification operation information from a database, generate a verification operation list according to the acquired verification operation information, so that a user can select a target verification operation from the verification operation list,
[0028] Receive the target verification operation selected by the user.
[0029] In one embodiment of the present invention, the method further comprises:
[0030] Generate an element configuration interface according to the target change template;
[0031] The configuration of the interface elements of the target change template and the operations, parameters and verification rules associated with the interface elements by the user is obtained through the element configuration interface.
[0032] In an embodiment of the present invention, generating an interface element configuration interface according to the target change template includes:
[0033] generating an option for adding an interface element of the target change template, so that the user can add an interface element to the user interface of the target change template;
[0034] generating an element type list of the interface element, so that a user can select the element type of the interface element from the element type list;
[0035] Generate an associated acquisition operation list and an associated acquisition parameter list according to the target acquisition operation of the target change template, so that the user can select an acquisition operation associated with the interface element from the associated acquisition list and select an acquisition parameter associated with the interface element from the associated acquisition parameter list;
[0036] Generate an associated change operation list and an associated change parameter list according to the target change operation of the target change template, so that the user can select a change operation associated with the interface element from the associated change list and select a change parameter associated with the interface element from the associated change parameter list;
[0037] A verification rule interface for the interface element is generated, so that a user can select a verification rule for the interface element from the verification rule interface.
[0038] In one embodiment of the present invention, the verification rule interface for generating the interface element includes:
[0039] generating a list of basic rules for verifying the interface element, so that a user can select a basic rule for verifying the interface element;
[0040] A list of combination rules for verifying the interface elements is generated, so that the user can select a combination rule for verifying the elements.
[0041] In one embodiment of the present invention, the method further comprises:
[0042] A parameter entry interface of the target change template is generated according to the interface elements configured by the user and the operations, parameters and verification rules associated with the interface elements for the user to preview.
[0043] Another aspect of an embodiment of the present invention provides a system for generating a host change template, the system comprising:
[0044] A rule acquisition module is used to obtain target host selection rules, target OA flow rules and target group execution rules specified by the user;
[0045] An operation acquisition module is used to obtain target acquisition operations, target change operations, and target verification operations specified by the user;
[0046] A process acquisition module, used to acquire the execution process between the target acquisition operation, the target change operation and the target verification operation configured by the user according to the target operation process list of the target acquisition operation, the target change operation and the target verification operation;
[0047] An association acquisition module, used to acquire the association relationship between the target acquisition operation, the target change operation and the target verification operation configured by the user according to the association configuration list of the target acquisition operation, the target change operation and the target verification operation;
[0048] The template generation module is used to generate a target change template according to the target host selection rules, target OA flow rules, target group execution rules, target acquisition operations, target change operations, target verification operations and the execution process and association relationships.
[0049] In one embodiment of the present invention, the system further comprises:
[0050] The target operation process list generating module is used to generate the target operation process list according to the target acquisition operation, the target change operation and the target verification operation.
[0051] In one embodiment of the present invention, the system further comprises:
[0052] The associated configuration list generating module is used to generate the associated configuration list according to the target acquisition operation, the target change operation and the target verification operation.
[0053] In one embodiment of the present invention, the system further comprises:
[0054] A host selection rule list generating module, used to generate a host selection rule list, so that the user can select a target host selection rule from the host selection rule list;
[0055] A target host selection rule acquisition module is used to receive a target host selection rule selected by a user;
[0056] An OA circulation rule list generating module, used to generate an OA circulation rule list, so that a user can select a target OA circulation rule from the OA circulation rules;
[0057] A target OA circulation rule acquisition module is used to receive the target OA circulation rule selected by the user;
[0058] A group execution rule list generating module, used to generate a group execution rule list, so that the user can select a target group execution rule from the group execution rules;
[0059] A group execution rule acquisition module is used to receive a target group execution rule selected by a user;
[0060] The acquisition operation list generation module is used to obtain acquisition operation information from the database to generate an acquisition operation list, so that the user can select the target acquisition operation from the acquisition operation list.
[0061] A target acquisition operation acquisition module is used to receive a target acquisition operation selected by a user;
[0062] A change operation list generating module, used for acquiring change operation information from a database to generate a change operation list, so that a user can select a target change operation from the change operation list;
[0063] A target change operation acquisition module is used to receive a target change operation selected by a user;
[0064] A verification operation list generating module, used to obtain verification operation information from a database to generate a verification operation list, so that a user can select a target verification operation from the verification operation list;
[0065] The target verification operation acquisition module is used to receive the target verification operation selected by the user.
[0066] In one embodiment of the present invention, the system further comprises:
[0067] An element configuration interface generation module, used to generate an element configuration interface according to the target change template;
[0068] The configuration acquisition module is used to acquire the user's configuration of the interface elements of the target change template and the operations, parameters and verification rules associated with the interface elements through the element configuration interface.
[0069] In one embodiment of the present invention, the interface element configuration interface generation module includes:
[0070] an element adding unit, configured to generate an option for adding an interface element of the target change template, so that a user can add an interface element to the user interface of the target change template;
[0071] an element type configuration unit, configured to generate an element type list of the element, so that a user can select the element type of the element from the element type list;
[0072] an associated change configuration unit, configured to generate an associated change operation list and an associated change parameter list according to the target change operation of the target change template, so that a user can select a change operation associated with the element from the associated change list, and select a change parameter associated with the element from the associated change parameter list;
[0073] an associated acquisition configuration unit, configured to generate an associated acquisition operation list and an associated acquisition parameter list according to the target acquisition operation of the target change template, so that a user can select an acquisition operation associated with the element from the associated acquisition list, and select an acquisition parameter associated with the element from the associated acquisition parameter list;
[0074] The verification rule configuration unit is used to generate a verification rule interface for the element, so that the user can select the verification rule for the element from the verification rule interface.
[0075] In one embodiment of the present invention, the verification rule configuration unit includes:
[0076] A basic rule configuration subunit, used to generate a basic rule list for verifying the element, so that the user can select the basic rule for verifying the element;
[0077] The combination rule configuration subunit is used to generate a combination rule list for verifying the element, so that the user can select the combination rule for verifying the element.
[0078] In one embodiment of the present invention, the system further comprises:
[0079] The preview module is used to generate a parameter input interface of the target change template according to the interface elements configured by the user and the operations, parameters and verification rules associated with the interface elements for the user to preview.
[0080] Another aspect of the embodiments of the present invention provides a computer storage medium on which computer instructions are stored. The computer instructions can be executed by a processor to implement the method described in any one of the above embodiments.
[0081] Another aspect of an embodiment of the present invention provides a computer device, including:
[0082] a memory having a computer program stored thereon;
[0083] A processor is used to execute the computer program to implement the method described in any one of the above embodiments.
[0084] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0085] By abstracting each process of writing host change templates and configuring each process separately, we can cover various scenarios of cloud platform automated changes and flexibly configure each link of the change. At the same time, we can fully consider the ease of use and security of user configuration change templates, improve the configuration efficiency of host change templates, and reduce the risk of changes. BRIEF DESCRIPTION OF THE DRAWINGS
[0086] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0087] Figure 1 is a flow chart of a method for generating a host change template according to an embodiment of the present invention;
[0088] Figure 2 4 is a schematic diagram of system modules for generating a host change template according to an embodiment of the present invention. DETAILED DESCRIPTION
[0089] To make the purpose, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the following various embodiments are only used for illustration and are not used to limit the scope of protection of the present invention.
[0090] Please refer to Figure 1 , which shows a flow chart of a method for generating a host change template provided by an embodiment of the present invention, such as Figure 1 As shown, the method includes:
[0091] S101: Acquire target host selection rules, target OA flow rules, and target group execution rules specified by a user.
[0092] A host selection rule list may be generated for the user to select a target host selection rule from the host selection rule list, and then the target host selection rule selected by the user is received. The host selection rule may include, but is not limited to: one deployment unit may select one host, one deployment unit may select multiple hosts, one deployment unit may select all hosts, etc. The target host selection rule specifies the rule for selecting a host when using a target change template, and the user may select the target host selection rule of the target change template from the host selection rule list, thereby specifying the rule for selecting a host when using a target change template.
[0093] Similarly, an OA circulation rule list can also be generated for the user to select a target OA circulation rule from the OA circulation rules, and then receive the target OA circulation rule selected by the user. The OA circulation rules may include but are not limited to: circulation within a department, circulation across departments, etc. The target OA circulation rule specifies the approval circulation process of the target change template, and the user can select the target OA circulation rule from the OA circulation rule list.
[0094] A group execution rule list may also be generated for the user to select a target group execution rule from the group execution rules, and then the target group execution rule selected by the user is received. The group execution rules may include, but are not limited to: manually executing changes to groups in parallel, automatically executing changes to groups in parallel, manually executing changes to groups in series, automatically executing changes to groups in series, and not executing changes to groups. The target group execution rule specifies the group execution rules that are optional for the target change template, and the user may select one or more group execution rules from the group execution rules.
[0095] By providing a host selection rule list, an OA flow rule list and a group execution rule list, the user can specify the target host selection rule, target OA flow rule and target group execution rule of the target change template through the provided lists, which can improve the flexibility and versatility of rule configuration and reduce the risk of manual operation.
[0096] S102: Acquire the target acquisition operation, target change operation and target verification operation specified by the user.
[0097] Among them, the acquisition operation information, the change operation information, and the verification operation information can be pre-stored in a database. The acquisition operation information can be obtained from the database, and a collection operation list can be generated according to the acquired acquisition operation information, so that the user can select a target acquisition operation from the acquisition operation list, and then the target acquisition operation selected by the user is received. The change operation information can be obtained from the database, and a change operation list can be generated according to the acquired change operation information, so that the user can select a target change operation from the change operation list, and then the target change operation selected by the user is received. The verification operation information can be obtained from the database, and a verification operation list can be generated according to the acquired verification operation information, so that the user can select a target verification operation from the verification operation list, and then the target verification operation selected by the user is received.
[0098] By providing a collection operation list, a change operation list and a verification operation list, the user can specify the target collection operation, target change operation and target verification operation of the target change template through the provided lists, which can further improve the flexibility and versatility of the operation configuration and reduce the risk of manual operation.
[0099] S103: Acquire the execution process among the target acquisition operation, target change operation and target verification operation configured by the user according to the target operation process list of the target acquisition operation, target change operation and target verification operation.
[0100] Among them, after obtaining the target acquisition operation, target change operation, and target verification operation specified by the user, a target operation process list between these operations can be automatically generated according to the target acquisition operation, target change operation, and target verification operation, so that the user can configure the execution process between the target acquisition operation, target change operation, and target verification operation according to the target operation process list. The target operation process list may include the execution order between the target acquisition operation, target change operation, and target verification operation, so that the user only needs to adjust the execution order of each operation in the target operation process list to configure the execution process between the target acquisition operation, target change operation, and target verification operation. Of course, in some embodiments, the user may not adjust the target operation process list, and directly confirm to use the default execution process in the target operation process list.
[0101] By generating a target operation process list, the user can configure the execution process between the target acquisition operation, the target change operation and the target verification operation according to the target operation process list, which can facilitate user configuration and avoid errors.
[0102] In addition, the target operation process list may also include operations for setting a maintenance period, issuing a script, deleting a script, and ending a maintenance period. Moreover, the target operation process list may default to the first step being the operation for setting a maintenance period, the second step being the operation for issuing a script, the second to last step being the operation for deleting a script, and the last step being the operation for ending a maintenance period. Furthermore, the execution order of these operations cannot be changed in order to standardize the execution process of the host change template.
[0103] S104: Acquire the association relationship among the target acquisition operation, the target change operation and the target verification operation configured by the user according to the association configuration list of the target acquisition operation, the target change operation and the target verification operation.
[0104] Among them, a list of associated configurations of target acquisition operations, target change operations, and target verification operations can be generated according to the target acquisition operations, target change operations, and target verification operations selected by the user, so that the user can configure the association relationship between the target acquisition operations, target change operations, and target verification operations according to the associated configuration list. Among them, the associated configuration list can include the default association relationship between the target acquisition operations, target change operations, and target verification operations, so that the user only needs to make slight adjustments to the association relationship. Of course, in some embodiments, the user may not adjust the association relationship, and directly confirm the use of the default association relationship in the associated configuration list.
[0105] S105: Generate a target change template according to the target host selection rule, the target OA flow rule, the target group execution rule, the target collection operation, the target change operation, the target verification operation, and the execution process and association relationship.
[0106] The target change template specifies the target host selection rules, target OA flow rules, target grouping execution rules, target collection operations, target change operations, target verification operations, and the execution process and association relationships between target collection operations, target change operations, and target verification operations. Based on the target change template, the host can be changed in a standardized and process-based manner.
[0107] This embodiment abstracts each process of writing a change template and configures each process separately, which can cover various scenarios of automated changes on the cloud platform and flexibly configure each link of the change. At the same time, it fully takes into account the ease of use and security of user-configured change templates, and provides a general model for generating change templates.
[0108] In some embodiments of the present invention, after generating a target change template, an element configuration interface can be further generated according to the target change template, so that the user can configure the interface elements of the target change template, as well as the operations, parameters and verification rules associated with the interface elements through the element configuration interface, and then the user's configuration of the interface elements of the target change template and the operations, parameters and verification rules associated with the interface elements can be obtained through the element configuration interface. Thus, when the user uses the target change template, the user interaction interface of the target change template can be generated according to the configuration to guide and verify the user's input and selection, further reducing the risk of manual operation when using the change template.
[0109] Specifically, generating an interface element configuration interface according to the target change template may include:
[0110] Generate an option for adding an interface element of the target change template, so that the user can add an interface element to the user interface of the target change template; generate an element type list of the interface element, so that the user can select the element type of the interface element from the element type list; generate an associated acquisition operation list and an associated acquisition parameter list according to the target acquisition operation of the target change template, so that the user can select the acquisition operation associated with the interface element from the associated acquisition list, and select the acquisition parameter associated with the interface element from the associated acquisition parameter list; generate an associated change operation list and an associated change parameter list according to the target change operation of the target change template, so that the user can select the change operation associated with the interface element from the associated change list, and select the change parameter associated with the interface element from the associated change parameter list; generate a verification rule interface for the interface element, so that the user can select the verification rule for the interface element from the verification rule interface.
[0111] Among them, in the verification rule interface for generating the interface element, a basic rule list for verifying the interface element can be generated, so that the user can select the basic rule for verifying the interface element, and at the same time, a combination rule list for verifying the interface element can be generated, so that the user can select the combination rule for verifying the element. Through the basic rules and combination rules selected by the user, this embodiment can perform front-end verification and background verification on the user's input or selection of the interface element to reduce the risk of user operation.
[0112] Furthermore, after obtaining the interface elements configured by the user and the operations, parameters and verification rules associated with the interface elements, a parameter entry interface of the target change template can be generated for user preview, so that the user can have a preliminary check on the generated target change template based on the parameter entry interface to avoid errors.
[0113] Figure 2 FIG. 4 shows a schematic diagram of a system module for generating a host change template according to an embodiment of the present invention. Figure 2 As shown, the system for generating a host change template described in this embodiment includes:
[0114] A rule acquisition module 11 is used to acquire a target host selection rule, a target OA flow rule, and a target group execution rule specified by a user;
[0115] An operation acquisition module 12 is used to acquire a target acquisition operation, a target change operation and a target verification operation specified by a user;
[0116] A process acquisition module 13, used to acquire the execution process between the target acquisition operation, the target change operation and the target verification operation configured by the user according to the target operation process list of the target acquisition operation, the target change operation and the target verification operation;
[0117] The association acquisition module 14 is used to acquire the association relationship between the target acquisition operation, the target change operation and the target verification operation configured by the user according to the association configuration list of the target acquisition operation, the target change operation and the target verification operation;
[0118] The template generation module 15 is used to generate a target change template according to the target host selection rule, target OA flow rule, target group execution rule, target acquisition operation, target change operation, target verification operation and the execution process and association relationship.
[0119] In one embodiment of the present invention, the system further comprises:
[0120] The target operation process list generating module is used to generate the target operation process list according to the target acquisition operation, the target change operation and the target verification operation.
[0121] In one embodiment of the present invention, the system further comprises:
[0122] The associated configuration list generating module is used to generate the associated configuration list according to the target acquisition operation, the target change operation and the target verification operation.
[0123] In one embodiment of the present invention, the system further comprises:
[0124] A host selection rule list generating module, used to generate a host selection rule list, so that the user can select a target host selection rule from the host selection rule list;
[0125] A target host selection rule acquisition module is used to receive a target host selection rule selected by a user;
[0126] An OA circulation rule list generating module, used to generate an OA circulation rule list, so that a user can select a target OA circulation rule from the OA circulation rules;
[0127] A target OA circulation rule acquisition module is used to receive the target OA circulation rule selected by the user;
[0128] A group execution rule list generating module, used to generate a group execution rule list, so that the user can select a target group execution rule from the group execution rules;
[0129] A group execution rule acquisition module is used to receive a target group execution rule selected by a user;
[0130] The acquisition operation list generation module is used to obtain acquisition operation information from the database to generate an acquisition operation list, so that the user can select the target acquisition operation from the acquisition operation list.
[0131] A target acquisition operation acquisition module is used to receive a target acquisition operation selected by a user;
[0132] A change operation list generating module, used for acquiring change operation information from a database to generate a change operation list, so that a user can select a target change operation from the change operation list;
[0133] A target change operation acquisition module is used to receive a target change operation selected by a user;
[0134] A verification operation list generating module, used to obtain verification operation information from a database to generate a verification operation list, so that a user can select a target verification operation from the verification operation list;
[0135] The target verification operation acquisition module is used to receive the target verification operation selected by the user.
[0136] In one embodiment of the present invention, the system further comprises:
[0137] An element configuration interface generation module, used to generate an element configuration interface according to the target change template;
[0138] The configuration acquisition module is used to acquire the user's configuration of the interface elements of the target change template and the operations, parameters and verification rules associated with the interface elements through the element configuration interface.
[0139] In one embodiment of the present invention, the interface element configuration interface generation module includes:
[0140] an element adding unit, configured to generate an option for adding an interface element of the target change template, so that a user can add an interface element to the user interface of the target change template;
[0141] an element type configuration unit, configured to generate an element type list of the element, so that a user can select the element type of the element from the element type list;
[0142] an associated change configuration unit, configured to generate an associated change operation list and an associated change parameter list according to the target change operation of the target change template, so that a user can select a change operation associated with the element from the associated change list, and select a change parameter associated with the element from the associated change parameter list;
[0143] an associated acquisition configuration unit, configured to generate an associated acquisition operation list and an associated acquisition parameter list according to the target acquisition operation of the target change template, so that a user can select an acquisition operation associated with the element from the associated acquisition list, and select an acquisition parameter associated with the element from the associated acquisition parameter list;
[0144] The verification rule configuration unit is used to generate a verification rule interface for the element, so that the user can select the verification rule for the element from the verification rule interface.
[0145] In one embodiment of the present invention, the verification rule configuration unit includes:
[0146] A basic rule configuration subunit, used to generate a basic rule list for verifying the element, so that the user can select the basic rule for verifying the element;
[0147] The combination rule configuration subunit is used to generate a combination rule list for verifying the element, so that the user can select the combination rule for verifying the element.
[0148] In one embodiment of the present invention, the system further comprises:
[0149] The preview module is used to generate a parameter input interface of the target change template according to the interface elements configured by the user and the operations, parameters and verification rules associated with the interface elements for the user to preview.
[0150] The working process of each module, unit, and sub-unit in the system described in this embodiment can be found in the aforementioned method embodiment, and the present invention will not be repeated here.
[0151] Although some embodiments are described by way of example herein, various modifications may be made to these embodiments without departing from the essence of the present invention, and all such modifications still belong to the concept of the present invention and fall within the scope of protection defined by the claims of the present invention. For example, in various embodiments of the present invention, the functions of some modules in multiple modules may be combined or integrated to be implemented by one module, or the functions of a certain module may be implemented by multiple modules.
[0152] Through the description of the above implementation modes, those skilled in the art can clearly understand that the present invention can be implemented by combining software with a hardware platform. Based on such an understanding, all or part of the contribution of the technical solution of the present invention to the background technology can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various implementation modes of the present invention or some parts of the implementation modes.
[0153] Another embodiment of the present invention provides a computer storage medium, such as a hard disk, a CD, a flash memory, a floppy disk, a tape, etc., on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement the method for generating a host change template described in any of the above embodiments.
[0154] Another embodiment of the present invention provides a computer device, comprising:
[0155] a memory having a computer program stored thereon,
[0156] A processor can execute the computer program to implement the method for generating a host change template described in any one of the above embodiments.
[0157] The terms and expressions used in this specification are for illustration only and are not intended to be limiting. It should be understood by those skilled in the art that various changes may be made to the details of the above embodiments without departing from the basic principles of the disclosed embodiments. Therefore, the scope of protection of the present invention is determined solely by the claims, and in the claims, unless otherwise specified, all terms should be understood in the broadest reasonable sense.
Claims
1. A method for generating a host change template, characterized in that: The method comprises: Obtain the target host selection rules, target OA flow rules, and target group execution rules specified by the user; Obtain target acquisition operations, target change operations, and target verification operations specified by the user; Obtaining the execution process between the target acquisition operation, the target change operation and the target verification operation configured by the user according to the target operation process list of the target acquisition operation, the target change operation and the target verification operation; Acquire the association relationship among the target acquisition operation, the target change operation and the target verification operation configured by the user according to the association configuration list of the target acquisition operation, the target change operation and the target verification operation; Generate a target change template according to the target host selection rule, the target OA flow rule, the target group execution rule, the target acquisition operation, the target change operation, the target verification operation, and the execution process and association relationship; The target host selection rule, target OA flow rule and target group execution rule specified by the user are obtained, including: Generate a host selection rule list, so that the user can select a target host selection rule from the host selection rule list; receiving a target host selection rule selected by a user; Generate an OA circulation rule list so that the user can select a target OA circulation rule from the OA circulation rules; Receive the target OA flow rules selected by the user; Generate a group execution rule list for the user to select a target group execution rule from the group execution rules, Receive target group execution rules selected by the user; Among them, obtaining the target acquisition operation, target change operation and target verification operation specified by the user includes: Acquire collection operation information from a database, generate a collection operation list according to the acquired collection operation information, so that the user can select a target collection operation from the collection operation list, Receive the target acquisition operation selected by the user; Acquire change operation information from a database, generate a change operation list according to the acquired change operation information, so that the user can select a target change operation from the change operation list, Receive the target change operation selected by the user; Acquire verification operation information from a database, generate a verification operation list according to the acquired verification operation information, so that a user can select a target verification operation from the verification operation list, Receive the target verification operation selected by the user.
2. The method according to claim 1, characterized in that: The method further comprises: The target operation process list is generated according to the target acquisition operation, the target change operation, and the target verification operation.
3. The method according to claim 1, characterized in that The method further comprises: The associated configuration list is generated according to the target acquisition operation, the target change operation and the target verification operation.
4. The method according to claim 1, characterized in that The method further comprises: Generate an element configuration interface according to the target change template; The configuration of the interface elements of the target change template and the operations, parameters and verification rules associated with the interface elements by the user is obtained through the element configuration interface.
5. The method according to claim 4, characterized in that Generating an interface element configuration interface according to the target change template includes: generating an option for adding an interface element of the target change template, so that the user can add an interface element to the user interface of the target change template; generating an element type list of the interface element, so that a user can select the element type of the interface element from the element type list; Generate an associated acquisition operation list and an associated acquisition parameter list according to the target acquisition operation of the target change template, so that the user can select an acquisition operation associated with the interface element from the associated acquisition operation list and select an acquisition parameter associated with the interface element from the associated acquisition parameter list; generating an associated change operation list and an associated change parameter list according to the target change operation of the target change template, so that the user can select a change operation associated with the interface element from the associated change operation list and select a change parameter associated with the interface element from the associated change parameter list; A verification rule interface for the interface element is generated, so that a user can select a verification rule for the interface element from the verification rule interface.
6. The method according to claim 5, characterized in that The verification rule interface for generating the interface element includes: generating a list of basic rules for verifying the interface element, so that a user can select a basic rule for verifying the interface element; A list of combination rules for verifying the interface elements is generated, so that the user can select a combination rule for verifying the elements.
7. The method according to claim 4, characterized in that The method further comprises: A parameter entry interface of the target change template is generated according to the interface elements configured by the user and the operations, parameters and verification rules associated with the interface elements for the user to preview.
8. A system for generating a host change template, characterized in that: The system comprises: A rule acquisition module is used to obtain target host selection rules, target OA flow rules and target group execution rules specified by the user; An operation acquisition module is used to obtain target acquisition operations, target change operations, and target verification operations specified by the user; A process acquisition module, used to acquire the execution process between the target acquisition operation, the target change operation and the target verification operation configured by the user according to the target operation process list of the target acquisition operation, the target change operation and the target verification operation; An association acquisition module, used to acquire the association relationship between the target acquisition operation, the target change operation and the target verification operation configured by the user according to the association configuration list of the target acquisition operation, the target change operation and the target verification operation; A template generation module, used to generate a target change template according to the target host selection rule, the target OA flow rule, the target group execution rule, the target acquisition operation, the target change operation, the target verification operation and the execution process and association relationship; A host selection rule list generating module, used to generate a host selection rule list, so that the user can select a target host selection rule from the host selection rule list; A target host selection rule acquisition module is used to receive a target host selection rule selected by a user; An OA circulation rule list generating module, used to generate an OA circulation rule list, so that a user can select a target OA circulation rule from the OA circulation rules; A target OA circulation rule acquisition module is used to receive the target OA circulation rule selected by the user; A group execution rule list generating module, used to generate a group execution rule list, so that the user can select a target group execution rule from the group execution rules; A group execution rule acquisition module is used to receive a target group execution rule selected by a user; The acquisition operation list generation module is used to obtain acquisition operation information from the database to generate an acquisition operation list, so that the user can select the target acquisition operation from the acquisition operation list. A target acquisition operation acquisition module is used to receive a target acquisition operation selected by a user; A change operation list generating module, used for acquiring change operation information from a database to generate a change operation list, so that a user can select a target change operation from the change operation list; A target change operation acquisition module is used to receive a target change operation selected by a user; A verification operation list generating module, used to obtain verification operation information from a database to generate a verification operation list, so that a user can select a target verification operation from the verification operation list; The target verification operation acquisition module is used to receive the target verification operation selected by the user.
9. The system according to claim 8, characterized in that The system further comprises: The target operation process list generating module is used to generate the target operation process list according to the target acquisition operation, the target change operation and the target verification operation.
10. The system according to claim 9, characterized in that The system further comprises: The associated configuration list generating module is used to generate the associated configuration list according to the target acquisition operation, the target change operation and the target verification operation.
11. The system according to claim 8, characterized in that The system further comprises: An element configuration interface generation module, used to generate an element configuration interface according to the target change template; The configuration acquisition module is used to acquire the user's configuration of the interface elements of the target change template and the operations, parameters and verification rules associated with the interface elements through the element configuration interface.
12. The system according to claim 11, characterized in that The interface element configuration interface generation module includes: an element adding unit, configured to generate an option for adding an interface element of the target change template, so that a user can add an interface element to the user interface of the target change template; an element type configuration unit, configured to generate an element type list of the element, so that a user can select the element type of the element from the element type list; an associated change configuration unit, configured to generate an associated change operation list and an associated change parameter list according to the target change operation of the target change template, so that a user can select a change operation associated with the element from the associated change operation list and select a change parameter associated with the element from the associated change parameter list; an associated acquisition configuration unit, configured to generate an associated acquisition operation list and an associated acquisition parameter list according to the target acquisition operation of the target change template, so that a user can select an acquisition operation associated with the element from the associated acquisition operation set list, and select an acquisition parameter associated with the element from the associated acquisition parameter list; The verification rule configuration unit is used to generate a verification rule interface for the element, so that the user can select the verification rule for the element from the verification rule interface.
13. The system according to claim 12, characterized in that The verification rule configuration unit includes: A basic rule configuration subunit, used to generate a basic rule list for verifying the element, so that the user can select the basic rule for verifying the element; The combination rule configuration subunit is used to generate a combination rule list for verifying the element, so that the user can select the combination rule for verifying the element.
14. The system according to claim 11, characterized in that The system further comprises: The preview module is used to generate a parameter input interface of the target change template according to the interface elements configured by the user and the operations, parameters and verification rules associated with the interface elements for the user to preview.
15. A computer storage medium, characterized in that: Computer instructions are stored thereon, and the computer instructions can be executed by a processor to implement the method described in any one of claims 1 to 7.
16. A computer device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program to implement the method described in any one of claims 1 to 7.
Citation Information
Patent Citations
Workflow engine design method and system
CN106910045A
Flow template change processing method and device, readable storage medium, and electronic equipment
CN107886295A
A customer data management method and apparatus
CN109191066A
Configurable business rules
WO2013020297A1
Configuration method and system
WO2018058612A1
