CN111754191A - Automatic change method based on cloud platform and related equipment - Google Patents

Automatic change method based on cloud platform and related equipment Download PDF

Info

Publication number
CN111754191A
CN111754191A CN202010512944.2A CN202010512944A CN111754191A CN 111754191 A CN111754191 A CN 111754191A CN 202010512944 A CN202010512944 A CN 202010512944A CN 111754191 A CN111754191 A CN 111754191A
Authority
CN
China
Prior art keywords
change
target
host
template
target host
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.)
Pending
Application number
CN202010512944.2A
Other languages
Chinese (zh)
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202010512944.2A priority Critical patent/CN111754191A/en
Publication of CN111754191A publication Critical patent/CN111754191A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Human Computer Interaction (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Stored Programmes (AREA)

Abstract

The utility model provides an automatic change method and related equipment based on a cloud platform, comprising: acquiring a target change template selected by a user, a target host and a group of the target host; checking the target host and the grouping of the target host according to the host selection rule of the target change template and the grouping execution rule selected by the user; after passing the verification, issuing the acquisition script associated with the target change template to a target host computer, and acquiring the parameter information of the target host computer; generating a change parameter input interface according to the form operation of the target change template and the acquired parameter information of the target host; verifying the entered change parameters and the change contents according to the verification operation of the target change template and the acquired parameter information of the target host; and after the verification is passed, generating a change work order according to the target change template and the recorded change parameters. The method provided by the disclosure can reduce the change risk and is convenient for batch implementation of changes on the target host.

Description

Automatic change method based on cloud platform and related equipment
Technical Field
The invention relates to the technical field of operation and maintenance, in particular to an automatic change method based on a cloud platform and related equipment.
Background
With the continuous development of the information age, IT operation and maintenance become important components in the content of IT services. From a few initial servers to a huge data center, the requirements of operation and maintenance on technology, business, management and the like cannot be met by people alone.
Despite the continuous progress of operation and maintenance management technology, many operation and maintenance developers still do not really get rid of the technology in the prior art. When the change is implemented, the change work order still needs to be written manually, and then the change is implemented manually by logging in the host according to the change work order. When there is a lot of changes, the change risk of writing a change work order and logging in the host to implement the changes cannot be controlled by manpower alone, so that the change risk when the host is implemented is large, and the implementation efficiency is low.
Disclosure of Invention
The embodiment of the invention provides an automatic change method based on a cloud platform and related equipment, which can solve the problems of high risk and low implementation efficiency in the change of a host in the prior art.
In one aspect, an embodiment of the present invention provides an automatic change method based on a cloud platform, where the method includes:
the method comprises the steps of obtaining a target change template selected by a user, a target host and a group of the target host, wherein a host selection rule, a group execution rule and an OA (Office Automation) circulation rule are defined in the target change template, and acquisition operation, form operation, verification operation and change flow are defined; performing host verification on the target host according to the host selection rule of the target change template; after the group of the target host passes the host verification, obtaining a group execution rule selected by a user, and performing group verification on the group of the target host; after the grouping verification is passed, issuing the acquisition script associated with the target change template to a target host, and starting the acquisition script to acquire the parameter information of the target host; generating a change parameter input interface according to the form operation of the target change template and the acquired parameter information of the target host computer, so that a user can input change parameters through the change parameter input interface; verifying the entered change parameters and the change contents according to the verification operation of the target change template and the acquired parameter information of the target host; after the verification is passed, generating a change work order according to the target change template and the input change parameters; carrying out circulation examination and approval on the change work order according to the OA circulation rule of the target change template; and after the approval is passed, automatically changing the target host according to the change work order.
In one embodiment of the invention, the method further comprises:
acquiring change template information in a template library, and generating a change template list for a user to select a target change template from the change template list; acquiring host information under the cloud platform, and generating a host information list so that a user can select a target host from the host information list; and generating a target host information list according to the target host selected by the user, and generating a grouping execution rule list according to the target change template selected by the user, so that the user can group the target hosts in the target host information list and select a grouping execution rule from the grouping execution rule list.
Specifically, the host selection rule includes: only one host can be selected from one deployment unit; only all hosts can be selected in one deployment unit; a host may be optionally present in a deployment unit.
Specifically, the packet execution rule includes: the method includes, without performing the grouping, automatically performing serial change for each group, automatically performing parallel change for each group, manually performing serial change for each group, and manually performing parallel change for each group.
Further, the verifying the entered change parameters and the change contents according to the verification operation of the target change template and the acquired parameter information of the target host includes:
performing front-end validity check on the input change parameters according to the parameter check operation under the target change template;
and performing background global correlation verification on the entered change parameters and the change contents according to the correlation verification operation under the target change template and the acquired parameter information of the target host.
In an embodiment of the present invention, after the approval, implementing automatic change to the target host according to the change work order includes:
acquiring parameter information of the target host again, verifying the change parameters and the change contents again, and automatically changing the target host group according to the group execution rule after the verification is passed; and after the target host is automatically changed, verifying the result of the change according to the change parameters.
In another aspect, an embodiment of the present invention provides an automatic change device based on a cloud platform, where the device includes:
the system comprises a target acquisition module, a target change module and a target host, wherein the target acquisition module is used for acquiring a target change template selected by a user, a target host and a group of the target hosts, the target change template defines a host selection rule, a group execution rule and an OA circulation rule, and defines acquisition operation, form operation, verification operation and change flow; the host computer checking module is used for carrying out host computer checking on the target host computer according to the host computer selection rule of the target change template; the group checking module is used for acquiring a group execution rule selected by a user after the group passes the host checking and carrying out the group checking on the group of the target host; the acquisition module is used for issuing the acquisition script associated with the target change template to a target host computer and starting the acquisition script to acquire the parameter information of the target host computer; the parameter input interface generating module is used for generating a change parameter input interface according to the form operation of the target change template and the acquired parameter information of the target host computer, so that a user can input change parameters through the change parameter input interface; the change checking module is used for checking the entered change parameters and the change contents according to the checking operation of the target change template and the acquired parameter information of the target host; the work order generation module is used for generating a change work order according to the target change template and the input change parameters after the verification is passed; the OA circulation module is used for carrying out circulation approval on the change work order according to the OA circulation rule of the target change template; and the change implementation module is used for implementing automatic change to the target host according to the change work order after the approval is passed.
In one embodiment of the invention, the apparatus further comprises:
the template list generating module is used for acquiring the changing template information in the template library and generating a changing template list so that a user can select a target changing template from the changing template list; the host list generating module is used for acquiring host information under the cloud platform and generating a host information list so that a user can select a target host from the host information list; and the host grouping module is used for generating a target host information list according to the target host selected by the user and generating a grouping execution rule list according to the target change template selected by the user, so that the user can group the target hosts in the target host information list and select a grouping execution rule from the grouping execution rule list.
Specifically, the host selection rule includes: only one host can be selected in one deployment unit, only all hosts can be selected in one deployment unit, and any host can be selected in one deployment unit.
Specifically, the packet execution rule includes: the method includes, without performing the grouping, automatically performing serial change for each group, automatically performing parallel change for each group, manually performing serial change for each group, and manually performing parallel change for each group.
Further, the change checking module includes:
the validity checking unit is used for carrying out front-end validity checking on the input change parameters according to the parameter checking operation under the target change template; and the association checking unit is used for carrying out background global association checking on the entered change parameters and the change contents according to the association checking operation under the target change template and the acquired parameter information of the target host.
In one embodiment of the present invention, the change implementing module includes:
the change pre-verification unit is used for collecting the parameter information of the target host again and verifying the change parameters and the change contents again; the change implementation unit is used for implementing automatic change to the target host group according to the group execution rule after the verification of the change pre-verification module is passed; and the result verification unit is used for verifying the result of the change according to the change parameters after the target host is automatically changed.
In still another aspect, an embodiment of the present invention provides a computer storage medium, on which computer instructions are stored, where the computer instructions are executable by a processor to implement the automatic change method according to any one of the above embodiments.
In another aspect, an embodiment of the present invention provides a computer device, including: a memory having a computer program stored thereon; a processor for executing the computer program to implement the automatic change method according to any one of the above embodiments.
Compared with the prior art, the cloud platform-based automatic change method and the related equipment provided by the embodiment of the invention have the following beneficial effects:
the automatic change method provided by the embodiment of the invention can automatically implement the change to the target host in batches according to the change work order, thereby improving the change implementation efficiency. When a work order is created, host verification and group verification are carried out on a target host selected by a user and a group of the target host, a change parameter entry interface is generated according to the collected parameter information of the target host and the target change template, so that the user can enter as few change parameters as possible, the change parameters and the change contents entered by the user are verified, and the change risk and the batch operation risk when the target host is changed can be reduced. The embodiment of the invention fully verifies each link of creating the work order and changing the implementation, and can provide safer and more reliable change for financial systems such as banks and the like.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic block diagram of an implementation environment in which embodiments of the invention are implemented;
FIG. 2 is a flow chart of a cloud platform based automatic change method provided by an embodiment of the invention;
fig. 3 is a schematic structural diagram of an automatic change apparatus based on a cloud platform according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings. It is to be understood that the following examples are illustrative only and are not intended to limit the scope of the present invention.
Referring to fig. 1, a schematic structural diagram of a cloud platform and a host according to an embodiment of the present invention is shown.
As shown in fig. 1, the cloud platform 100 and the plurality of hosts 200 may be connected to each other through a wireless network or a wired network, and the plurality of hosts 200 may also be connected to each other through a wireless network or a wired network.
The cloud platform 100 may be a cloud management platform of a cloud computing data center for managing large and complex IT (Internet Technology) infrastructure, such as hosts, virtual servers, networks, applications, storage devices, and the like.
The host 200 is a Mainframe (Mainframe) on which a database, an operating system, middleware, or the like may be deployed. The change implemented to the host is a content change implemented to the host, and may include expanding, creating or modifying a database, changing parameters in an operating system, modifying middleware parameters, and the like.
In the following, the automatic change scheme based on the cloud platform provided by the embodiment of the present invention will be described in detail through several specific embodiments.
Referring to fig. 2, a flowchart of an automatic change method based on a cloud platform according to an embodiment of the present invention is shown. The automatic change method based on the cloud platform is executed by the cloud platform and comprises the following steps:
s101: and acquiring a target change template selected by a user, a target host and a group of the target hosts.
Specifically, the change template information can be obtained from the template library, and a change template list is generated according to the change template information, so that a user can select a target change template from the change template list, thereby reducing manual input and avoiding errors. The basic constitution of each change template in the template library is the same, each change template defines a host selection rule, a grouping execution rule and an OA circulation rule, and defines a collection operation, a form operation, a verification operation and a change flow. Depending on the function, the changed templates in the template library may include, but are not limited to: creating a new template in a table space, expanding the template in the table space, modifying a swap template, newly adding an online log group template and the like. The template library may provide an administrative interface for an administrator to add, delete, or edit templates as needed.
The information of the changed template acquired from the template library can include the name of the template, the function description of the template, the host selection rule and the grouping rule in the template, and the information of the changed template can be displayed in the changed template list for the reference of a user when selecting a target template. Meanwhile, in order to further avoid errors, the authority can be set in the generated change template list according to the authority of the user, the template which can be selected by the user is controlled, or the template matched with the authority of the user is indicated in the generated change template list, so that the user is assisted to select.
After the target change template selected by the user is obtained, host information under the cloud platform can be obtained, and a host information list is generated so that the user can select a target host from the host information list, manual input is reduced, and errors are avoided. The acquired host information may include: the host information list can show the information to assist the user in selecting the target host. In order to further facilitate the user to select the target host, which deployment units are arranged under the cloud platform and which host is arranged under each deployment unit can be respectively displayed according to the dimensionality of the deployment units, so that the user can conveniently select the target host.
After the target host selected by the user is obtained, a target host information list can be generated, so that the user can group the target hosts in the target host information list. When grouping, rules can be set, and users are not allowed to allocate hosts in the same deployment unit to the same group. After the target change template selected by the user is obtained, a group execution rule list can be generated according to the group execution rule under the target change template, so that the user can select the group execution rule from the optional group execution rules provided by the target change template, and the user is prevented from selecting an improper group execution rule. The packet execution rule may specifically include: the method includes, without performing the grouping, automatically performing serial change for each group, automatically performing parallel change for each group, manually performing serial change for each group, and manually performing parallel change for each group. And the like. For example, the user may group the target hosts to obtain groups 1, 2, and 3, and may select to automatically perform the serial change for each group from the group execution rule list, so that when the change is performed, the groups 1, 2, and 3 will automatically perform the serial change. For another example, the group execution rule list may be selected to automatically execute parallel change on each group, so that when the change is executed, the group 1, the group 2, and the group 3 will automatically execute the change in parallel. Similarly, it is also possible to select to manually perform serial change on each packet, and manually perform parallel change on each packet, so that when change is performed, it is possible to manually trigger each group to perform serial change or to perform change in parallel. Of course, if non-grouped execution is selected, the changes may be performed in any order between groups.
In this embodiment, a group execution rule is set between groups, which can avoid destroying the high availability of the cluster and reduce the risk of batch change.
The display mode of the obtained information such as the change template information, the host information, the grouping execution rule and the like is not limited to the form of a list, for example, a plurality of options can be generated according to the change template information, one option corresponds to one change template, and a radio button is generated before each option name for a user to select a target change template.
S102: and performing host verification on the target host according to the host selection rule of the target change template.
The host selection rules for the target change template may be: only one host can be selected in one deployment unit, only all hosts can be selected in one deployment unit, or any host can be selected in one deployment unit. One deployment unit is a set of hosts that together complete a certain function, and is a cluster, or may be a master server deployed for a master server. After the target host selected by the user is obtained, whether the selected target host meets the host selection rule of the target change template or not can be judged, if yes, the selected target host is judged to pass the host verification, and if not, the selected target host is judged not to pass the host verification. For example, if the host selection rule of the target change template is that only one host can be selected for one deployment unit, if two target hosts in the target hosts selected by the user are in the same deployment unit, it is determined that the host verification fails. For another example, if the host selection rule of the target change template is that only one deployment unit can select all hosts, if other hosts are not selected in the deployment unit where the target host selected by the user is located, it is determined that the host verification fails. For another example, if the host selection rule of the target change template is that one deployment unit can optionally select a host, the user selects any one or more target hosts in the deployment unit, and then the host verification is determined to be passed. When the target host passes the host verification, the next packet verification can be performed, and when the target host does not pass the host verification, a prompt or warning can be given for the user to process, for example, the target host which does not pass the host verification can be displayed on the display.
S103: and after the packet passes the host verification, performing packet verification on the packet of the target host according to the packet execution rule of the target change template.
After the group of the target host is obtained, the group execution rule selected by the user can be obtained, the group of the target host is subjected to group verification, whether the group set by the user is proper or not is verified, and whether the group execution rule selected by the user is applicable between the groups set by the user is verified. If the grouping set by the user is appropriate and the grouping execution rule selected by the user is applied among the groups, the grouping check is judged to be passed. If not appropriate or not, a prompt may be given for the user to modify.
S104: and after the group verification is passed, issuing the acquisition script associated with the target change template to a target host, and starting the acquisition script to acquire the parameter information of the target host.
The collection script associated with the target change template may be issued to each target host, and then a start instruction may be issued to start the collection script. The acquisition scripts issued by different change templates and the acquired parameter information may be different, and the specific acquired parameter information may be determined by the change content. For example, for capacity expansion of a database, the issued collection script may include: the method comprises the steps that a disk group available space acquisition script, a table space information acquisition script, an online log acquisition script and the like are used for acquiring disk available space information, table space information and online log information of a target host.
S105: and generating a change parameter entry interface according to the form operation of the target change template and the acquired parameter information of the target host, so that a user can enter change parameters through the change parameter entry interface.
The change parameter entry interface generated according to the form operation and the collected parameter information of the target host is a customized interface for the change of the target host, and the collected information of the target host can be written into a drop-down box, a list and default options for a user to select so that the user can select the information, the parameter information input by the user is as less as possible, the misoperation of the user is reduced, and the change risk is reduced. For example, for expanding the tablespace, the collected host name, the tablespace information, the type, the total size, the size of the available space, and other parameters may be displayed in the interface, so that the user only needs to select the name of the expanded tablespace and fill the size of the expanded tablespace.
S106: and verifying the entered change parameters and the change contents according to the verification operation of the target change template and the acquired parameter information of the target host.
Specifically, when the user enters the change parameter, the front-end validity check may be performed on the entered change parameter according to a parameter check operation under the change template, for example, when filling the size of the tablespace to be expanded, a number needs to be filled, and at this time, if the user inputs the parameter as a letter, the parameter input by the user is illegal. After the change parameter entered by the user passes the front-end validity check, the entered change parameter and the change content may be further subjected to a background global correlation check according to the correlation check operation under the target change template and the collected parameter information of the target host, for example, the change content is to expand the tablespace, after the expansion parameter entered by the user passes the validity check, whether the tablespace can be expanded may be determined according to the name of the tablespace, and if the expansion is possible, whether the expansion parameter entered by the user is appropriate may be checked according to the size of the existing tablespace and the remaining space of the disk to which the tablespace belongs.
S107: and after the verification is passed, generating a change work order according to the target change template and the recorded change parameters.
The generated change work order is a change control table which comprises table update parameters, inherits the change flow and the associated script of the change template, and can control the target host to change according to the change work order.
S108: and carrying out circulation approval on the change work order according to the OA circulation rule of the target change template.
The OA flow rules define the approval flow direction of the work order, for example, the OA flow rules may define that the work order is transferred from an approval system in one office to another, or may define that the work order is transferred in an approval system in the office, so that the work order may be transferred to each approval node according to the OA flow rules to perform the flow approval.
S109: and after the approval is passed, automatically changing the target host according to the change work order.
The approval may take a long time to pass, during which time the environment of the target host may have changed and is not suitable for alteration. Therefore, in order to reduce the change risk, when the target host is automatically changed according to the change work order, in an embodiment of the present invention, the parameter information of the target host may be collected again, the change parameter and the change content may be checked again, and after the check is passed, the target host is automatically changed in groups according to the group execution rule. If the verification is not passed, the implementation of the change may be suspended and the user prompted for processing.
After the automatic change is performed on the target host, the result of the change implementation may be verified according to the change parameter to further ensure the correctness of the change, for example, for table space 1, the capacity expansion parameter input by the user is 200M, that is, table space 1 of the target host needs to be expanded by 200M, after the capacity expansion is performed, whether the size of the expanded table space is equal to the size that the user needs to expand the capacity can be verified, if so, it indicates that there is no problem with the change, and if not, it indicates that an error occurs in the change process, at this time, the user may be prompted to perform processing.
In the process of creating the changed work order by the user, various operations such as selection and entry of the user are fully verified, errors in the work order created by the user can be avoided, the operation risk of the user is reduced, and the change risk is controlled from the source. Moreover, in the process of implementing the change, the change is subjected to the pre-check sum result check again, so that the change risk can be further reduced. Through sufficient verification in each link of the change, the embodiment can provide safer and more reliable change for financial-level systems such as banks.
Referring to fig. 3, a schematic structural diagram of an automatic change device based on a cloud platform according to an embodiment of the present invention is shown, where the automatic change device is deployed on the cloud platform, and includes:
the target obtaining module 10 is configured to obtain a target change template selected by a user, a target host, and a group of target hosts, where the target change template defines a host selection rule, a group execution rule, and an OA flow rule, and defines a collection operation, a form operation, a verification operation, and a change process;
the host verification module 20 is configured to perform host verification on the target host according to the host selection rule of the target change template;
the group verification module 30 is configured to obtain a group execution rule selected by a user after passing the host verification, and perform group verification on the group of the target host;
the acquisition module 40 is used for issuing the acquisition script associated with the target change template to a target host, and starting the acquisition script to acquire the parameter information of the target host;
the parameter input interface generating module 50 is configured to generate a change parameter input interface according to the form operation of the target change template and the collected parameter information of the target host, so that a user can input a change parameter through the change parameter input interface;
the change checking module 60 is used for checking the entered change parameters and the change contents according to the checking operation of the target change template and the acquired parameter information of the target host;
the work order generating module 70 is used for generating a change work order according to the target change template and the entered change parameters after the verification is passed;
the OA circulation module 80 is used for carrying out circulation approval on the change work order according to the OA circulation rule of the target change template;
and a change implementation module 90, configured to implement automatic change on the target host according to the change work order after the approval is passed.
In an embodiment of the present invention, the automatic changing device may further include:
the template list generating module 11 is configured to obtain change template information in a template library, and generate a change template list, so that a user selects a target change template from the change template list;
the host list generating module 12 is configured to obtain host information under the cloud platform, and generate a host information list, so that a user selects a target host from the host information list.
And the host grouping module 13 is configured to generate a target host information list, and generate a grouping execution rule list according to a target change template selected by a user, so that the user groups the target hosts in the target host information list and selects a grouping execution rule from the grouping execution rule list.
Specifically, the host selection rule includes: only one host can be selected in one deployment unit, only all hosts can be selected in one deployment unit, and any host can be selected in one deployment unit.
Specifically, the packet execution rule includes: the method includes, without performing the grouping, automatically performing serial change for each group, automatically performing parallel change for each group, manually performing serial change for each group, and manually performing parallel change for each group.
Further, the change checking module 60 includes:
the validity checking unit 61 is used for performing front-end validity checking on the input change parameters according to the parameter checking operation under the target change template;
and the association checking unit 62 is configured to perform background global association checking on the entered change parameters and the change contents according to the association checking operation under the target change template and the acquired parameter information of the target host.
In one embodiment of the present invention, the change implementing module 90 includes:
the change pre-verification unit 91 is used for acquiring the parameter information of the target host again and verifying the change parameters and the change contents again;
a change implementing unit 92, configured to implement automatic change on the target host group according to the group execution rule after passing the verification of the change pre-verification module;
and a result verification unit 93 for verifying the result of the change based on the change parameter after the automatic change is performed on the target host.
For the processing flow and the processing method of the automatic changing apparatus described in this embodiment, please refer to the corresponding flow of the automatic changing method, which is not described herein again.
Although some embodiments have been described herein by way of example, various modifications may be made to these embodiments without departing from the spirit of the invention, and all such modifications are intended to be included within the scope of the invention as defined in the following claims. For example, in the embodiments of the present invention, functions of some of the modules may be combined or integrated to be implemented by one module, or functions of a certain module may be divided to be implemented by a plurality of modules.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention can be implemented by combining software and a hardware platform. With this understanding in mind, all or part of the technical solutions of the present invention that contribute to the background can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments.
Yet another embodiment of the present invention provides a computer storage medium, such as a hard disk, an optical disk, a flash memory, a floppy disk, a magnetic tape, etc., on which computer readable instructions are stored, the computer readable instructions being executable by a processor to implement the cloud platform-based automatic change method according to any one of the above embodiments.
Yet another embodiment of the present invention provides a computer apparatus including:
a memory having a computer program stored thereon,
a processor, which can execute the computer program to implement the cloud platform-based automatic change method according to any one of the above embodiments.
The terms and expressions used in the present specification are used as terms of illustration only and are not meant to be limiting. It will be appreciated by those skilled in the art that changes could be made to the details of the above-described embodiments without departing from the underlying principles thereof. The scope of the invention is, therefore, indicated by the appended claims, in which all terms are intended to be interpreted in their broadest reasonable sense unless otherwise indicated.

Claims (14)

1. An automatic change method based on a cloud platform is characterized by comprising the following steps:
the method comprises the steps of obtaining a target change template selected by a user, a target host and a target host grouping, wherein a host selection rule, a grouping execution rule and an OA (office automation) circulation rule are defined in the target change template, and a collection operation, a form operation, a verification operation and a change process are defined;
performing host verification on the target host according to the host selection rule of the target change template;
after the group of the target host passes the host verification, obtaining a group execution rule selected by a user, and performing group verification on the group of the target host;
after the grouping verification is passed, issuing the acquisition script associated with the target change template to a target host, and starting the acquisition script to acquire the parameter information of the target host;
generating a change parameter input interface according to the form operation of the target change template and the acquired parameter information of the target host computer, so that a user can input change parameters through the change parameter input interface;
verifying the entered change parameters and the change contents according to the verification operation of the target change template and the acquired parameter information of the target host;
after the verification is passed, generating a change work order according to the target change template and the input change parameters;
carrying out circulation examination and approval on the change work order according to the OA circulation rule of the target change template;
and after the approval is passed, automatically changing the target host according to the change work order.
2. The automatic change method according to claim 1, characterized in that the method further comprises:
acquiring change template information in a template library, and generating a change template list for a user to select a target change template from the change template list;
acquiring host information under the cloud platform, and generating a host information list so that a user can select a target host from the host information list;
and generating a target host information list according to the target host selected by the user, and generating a grouping execution rule list according to the target change template selected by the user, so that the user can group the target hosts in the target host information list and select a grouping execution rule from the grouping execution rule list.
3. The automatic change method according to claim 1, wherein the host selection rule comprises:
only one host can be selected from one deployment unit;
only all hosts can be selected in one deployment unit;
a host may be optionally present in a deployment unit.
4. The automatic change method according to claim 1, wherein the grouping execution rule includes:
the execution is not performed in groups,
the serial change is automatically performed for each packet,
the parallel change is automatically performed for each packet,
the serial change is performed manually for each packet,
the parallel change is manually performed for each packet.
5. The automatic change method according to any one of claims 1 to 4, wherein the checking the entered change parameters and the change contents according to the checking operation of the target change template and the collected parameter information of the target host comprises:
performing front-end validity check on the input change parameters according to the parameter check operation under the target change template;
and performing background global correlation verification on the entered change parameters and the change contents according to the correlation verification operation under the target change template and the acquired parameter information of the target host.
6. The automatic change method according to claim 5, wherein performing the automatic change to the target host according to the change worksheet after the approval comprises:
collecting the parameter information of the target host again, checking the changed parameters and the changed contents again,
after the verification is passed, automatically changing the target host grouping according to the grouping execution rule;
and after the target host is automatically changed, verifying the result of the change according to the change parameters.
7. An automatic change device based on a cloud platform, the device comprising:
the system comprises a target acquisition module, a target change module and a target host, wherein the target acquisition module is used for acquiring a target change template selected by a user, a target host and a group of the target hosts, the target change template defines a host selection rule, a group execution rule and an OA circulation rule, and defines acquisition operation, form operation, verification operation and change flow;
the host computer checking module is used for carrying out host computer checking on the target host computer according to the host computer selection rule of the target change template;
the group checking module is used for acquiring a group execution rule selected by a user after the group passes the host checking and carrying out the group checking on the group of the target host;
the acquisition module is used for issuing the acquisition script associated with the target change template to a target host computer and starting the acquisition script to acquire the parameter information of the target host computer;
the parameter input interface generating module is used for generating a change parameter input interface according to the form operation of the target change template and the acquired parameter information of the target host computer, so that a user can input change parameters through the change parameter input interface;
the change checking module is used for checking the entered change parameters and the change contents according to the checking operation of the target change template and the acquired parameter information of the target host;
the work order generation module is used for generating a change work order according to the target change template and the input change parameters after the verification is passed;
the OA circulation module is used for carrying out circulation approval on the change work order according to the OA circulation rule of the target change template;
and the change implementation module is used for implementing automatic change to the target host according to the change work order after the approval is passed.
8. The automatic change device according to claim 7, further comprising:
the template list generating module is used for acquiring the changing template information in the template library and generating a changing template list so that a user can select a target changing template from the changing template list;
the host list generating module is used for acquiring host information under the cloud platform and generating a host information list so that a user can select a target host from the host information list;
and the host grouping module is used for generating a target host information list according to the target host selected by the user and generating a grouping execution rule list according to the target change template selected by the user, so that the user can group the target hosts in the target host information list and select a grouping execution rule from the grouping execution rule list.
9. The automatic change device according to claim 7, wherein the host selection rule comprises:
only one host can be selected from one deployment unit;
only all hosts can be selected in one deployment unit;
a host may be optionally present in a deployment unit.
10. The automatic change apparatus according to claim 7, wherein said grouping execution rule includes:
the execution is not performed in groups,
the serial change is automatically performed for each packet,
the parallel change is automatically performed for each packet,
the serial change is performed manually for each packet,
the parallel change is manually performed for each packet.
11. The automatic change device according to any one of claims 7 to 10, wherein the change verification module comprises:
the validity checking unit is used for carrying out front-end validity checking on the input change parameters according to the parameter checking operation under the target change template;
and the association checking unit is used for carrying out background global association checking on the entered change parameters and the change contents according to the association checking operation under the target change template and the acquired parameter information of the target host.
12. The automatic change device according to claim 11, wherein the change implementation module includes:
the change pre-verification unit is used for collecting the parameter information of the target host again and verifying the change parameters and the change contents again;
the change implementation unit is used for implementing automatic change to the target host group according to the group execution rule after the verification of the change pre-verification module is passed;
and the result verification unit is used for verifying the result of the change according to the change parameters after the target host is automatically changed.
13. A computer storage medium having computer instructions stored thereon, the computer instructions being executable by a processor to implement the automatic change method of any one of claims 1-6.
14. A computer device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program to implement the automatic change method of any one of claims 1 to 6.
CN202010512944.2A 2020-06-08 2020-06-08 Automatic change method based on cloud platform and related equipment Pending CN111754191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010512944.2A CN111754191A (en) 2020-06-08 2020-06-08 Automatic change method based on cloud platform and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010512944.2A CN111754191A (en) 2020-06-08 2020-06-08 Automatic change method based on cloud platform and related equipment

Publications (1)

Publication Number Publication Date
CN111754191A true CN111754191A (en) 2020-10-09

Family

ID=72674956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010512944.2A Pending CN111754191A (en) 2020-06-08 2020-06-08 Automatic change method based on cloud platform and related equipment

Country Status (1)

Country Link
CN (1) CN111754191A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440180A (en) * 2013-08-28 2013-12-11 浪潮电子信息产业股份有限公司 Cloud sea OS virtualization platform backup and recovering method
US20140047227A1 (en) * 2012-08-07 2014-02-13 Advanced Micro Devices, Inc. System and method for configuring boot-time parameters of nodes of a cloud computing system
CN104541247A (en) * 2012-08-07 2015-04-22 超威半导体公司 System and method for tuning a cloud computing system
CN104639361A (en) * 2013-11-15 2015-05-20 中兴通讯股份有限公司 Network service template management method and device
CN105808317A (en) * 2016-03-07 2016-07-27 中标软件有限公司 Cloud computing platform virtual machine editing management method
CN107273163A (en) * 2017-06-14 2017-10-20 郑州云海信息技术有限公司 A kind of parameter configuration management method and device based on graphic user interface
CN107291525A (en) * 2016-04-01 2017-10-24 华为技术有限公司 A kind of method, host and system for disposing virtual machine
WO2017206667A1 (en) * 2016-06-03 2017-12-07 中兴通讯股份有限公司 Method and device for distributively deploying hadoop cluster
CN107463411A (en) * 2017-08-16 2017-12-12 北京新网数码信息技术有限公司 A kind of cloud main frame initial method and device
CN109347676A (en) * 2018-11-02 2019-02-15 杭州云霁科技有限公司 A kind of isomery, integrated mixed cloud resource management platform
CN110471681A (en) * 2019-07-25 2019-11-19 中国建设银行股份有限公司 Automatic variation, system, device and the storage medium of application program

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140047227A1 (en) * 2012-08-07 2014-02-13 Advanced Micro Devices, Inc. System and method for configuring boot-time parameters of nodes of a cloud computing system
CN104541247A (en) * 2012-08-07 2015-04-22 超威半导体公司 System and method for tuning a cloud computing system
CN103440180A (en) * 2013-08-28 2013-12-11 浪潮电子信息产业股份有限公司 Cloud sea OS virtualization platform backup and recovering method
CN104639361A (en) * 2013-11-15 2015-05-20 中兴通讯股份有限公司 Network service template management method and device
CN105808317A (en) * 2016-03-07 2016-07-27 中标软件有限公司 Cloud computing platform virtual machine editing management method
CN107291525A (en) * 2016-04-01 2017-10-24 华为技术有限公司 A kind of method, host and system for disposing virtual machine
WO2017206667A1 (en) * 2016-06-03 2017-12-07 中兴通讯股份有限公司 Method and device for distributively deploying hadoop cluster
CN107273163A (en) * 2017-06-14 2017-10-20 郑州云海信息技术有限公司 A kind of parameter configuration management method and device based on graphic user interface
CN107463411A (en) * 2017-08-16 2017-12-12 北京新网数码信息技术有限公司 A kind of cloud main frame initial method and device
CN109347676A (en) * 2018-11-02 2019-02-15 杭州云霁科技有限公司 A kind of isomery, integrated mixed cloud resource management platform
CN110471681A (en) * 2019-07-25 2019-11-19 中国建设银行股份有限公司 Automatic variation, system, device and the storage medium of application program

Similar Documents

Publication Publication Date Title
CN107370786B (en) General information management system based on micro-service architecture
CN109542791B (en) A kind of program large-scale concurrent evaluating method based on container technique
EP3047372B1 (en) Computer-aided development of native mobile application code
CA3198981A1 (en) Constructing executable program code based on sequence codes
CN110084486B (en) Resource management method and device
CN112463154A (en) Page generation method, device and system and electronic equipment
CN110727575B (en) Information processing method, system, device and storage medium
CN107357588B (en) Object code generation method and device
CN110659870A (en) Business audit test method, device, equipment and storage medium
CN111435367A (en) Knowledge graph construction method, system, equipment and storage medium
CN111752846A (en) Interface testing method and device
CN111475494A (en) Mass data processing method, system, terminal and storage medium
US20120330895A1 (en) Transitioning application replication configurations in a networked computing environment
CN112559525B (en) Data checking system, method, device and server
CN110633258B (en) Log insertion method, device, computer device and storage medium
CN115904480B (en) Code reconstruction method, device, electronic equipment and storage medium
CN111754191A (en) Automatic change method based on cloud platform and related equipment
CN115037663B (en) Application system updating test method and device
WO2023097750A1 (en) Order booking method based on cross-terminal program generation system
CN112256978B (en) Data processing method, device and medium based on data model
CA3157219A1 (en) Interprocess communication for asynchronous tasks
CN115701591A (en) Business process testing method, device, medium and electronic equipment
CN112699042A (en) Method and device for generating unit test case
CN113448552A (en) Code generation method and device
CN113238961B (en) Test data processing method, device, equipment, storage medium and program product

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