CN112053132B - Host changing method and device - Google Patents

Host changing method and device Download PDF

Info

Publication number
CN112053132B
CN112053132B CN202010928203.2A CN202010928203A CN112053132B CN 112053132 B CN112053132 B CN 112053132B CN 202010928203 A CN202010928203 A CN 202010928203A CN 112053132 B CN112053132 B CN 112053132B
Authority
CN
China
Prior art keywords
change
host
flow
information
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010928203.2A
Other languages
Chinese (zh)
Other versions
CN112053132A (en
Inventor
张娟
林晖
钱伟峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010928203.2A priority Critical patent/CN112053132B/en
Publication of CN112053132A publication Critical patent/CN112053132A/en
Application granted granted Critical
Publication of CN112053132B publication Critical patent/CN112053132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • 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)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a host changing method and device, which can be used in the financial field or other fields. The method comprises the following steps: receiving a change file returned by the server by sending a change acquisition request to the server, and analyzing the change file to obtain a change list, wherein the change list comprises a change type and host information; obtaining a change template according to the change type, and generating a change flow by using the change template and a change list; receiving a user name and a password returned by the user management system by sending a password acquisition request to the user management system; and according to the changing flow, the user name and the password are sent to the host system, the host is changed, and the execution information returned by the host system is received. The invention automatically generates the corresponding change flow by utilizing the change list, combines the automatic acquisition of the information such as the host user name, the password and the like, realizes the automatic and efficient implementation of the whole change flow of the host, simplifies the change handover flow, and improves the automation, the instantaneity and the correctness of the change implementation flow.

Description

Host changing method and device
Technical Field
The present invention relates to the field of host management technologies, and in particular, to a method and an apparatus for changing a host.
Background
At present, the host change flow mainly comprises: lifting the change and submitting the change scheme in SERVICEDESK system; the change is handed over and changed to change implementation personnel and review personnel in a mail mode; SERVICEDESK confirms the change execution. At present, a plurality of sets of SYSPLEX (outer high-bridge production, glorious production, line production, control system, co-city disaster preparation, different-place disaster preparation and the like) independent from each other exist in a bank production environment, frequent switching and logging in to corresponding environments are needed for implementing change, the number of change implementation personnel is small, the number of change is large, the number of SYSPLEX is large and the like are involved in change days, and the risks of mismaking and missed making exist. Second, because of the business impact of some host changes, the same change and different partitions need to select different business valley periods for the region to implement the change. Again SERVICEDESK cannot effectively count and summarize the historical changes, and cannot well review and summarize the changes. With the increase of the number, type and complexity of the changes, the current management method cannot meet the requirements of changing the handover, implementing, tracking the real-time performance and correctness, and a more effective full-flow management method for changing the handover is urgently needed to ensure the real-time performance, the accuracy of implementing and the statistics and summarization of the multi-dimension changes.
Disclosure of Invention
The main purpose of the embodiments of the present invention is to provide a method and an apparatus for changing a host, so as to achieve real-time performance and implementation accuracy of host change and handover.
In order to achieve the above object, an embodiment of the present invention provides a method for changing a host, including:
Receiving a change file returned by a server by sending a change acquisition request to the server, and analyzing the change file to obtain a change list, wherein the change list comprises a change type and host information;
obtaining a change template matched with the change list according to the change type, and generating a change flow by using the change template and the change list;
Receiving a user name and a password corresponding to the host information returned by the user management system by sending a password acquisition request to the user management system;
and according to the changing flow, the user name and the password are sent to a host system corresponding to the host information, the host is changed, and the execution information returned by the host system is received.
Optionally, in an embodiment of the present invention, the receiving, by sending a change obtaining request to a server, a change file returned by the server, and analyzing the change file to obtain a change list includes: sending a change acquisition request to a server according to a preset time interval; receiving a change file returned by the server after analyzing the change acquisition request; and analyzing the change file to obtain a change list.
Optionally, in an embodiment of the present invention, the change list further includes environment information and time information.
Optionally, in an embodiment of the present invention, the method further includes: and splitting the change list into a plurality of change sub-lists according to the environment information or the time information.
Optionally, in an embodiment of the present invention, the obtaining, according to the change type, a change template matching the change list includes: receiving and analyzing a flow file uploaded by a user; and generating a change template according to the change type and the parsed flow file.
Optionally, in an embodiment of the present invention, the sending the user name and the password to a host system corresponding to the host information according to the change procedure, and executing host change, and receiving execution information returned by the host system includes: according to the changing flow, the user name and the password are sent to a host system corresponding to the host information; and calling the enterprise scheduling operation tool to execute host change and receiving the execution information returned by the host system.
Optionally, in an embodiment of the present invention, the sending the user name and the password to a host system corresponding to the host information according to the change procedure, and executing host change, receiving execution information returned by the host system further includes: generating a change implementation list according to the change flow; transmitting the user name and the password to a host system corresponding to the host information; and executing host modification according to the modification implementation list, and receiving execution information returned by the host system.
The embodiment of the invention also provides a host changing device, which comprises:
The change list module is used for receiving a change file returned by the server by sending a change acquisition request to the server and analyzing the change file to obtain a change list, wherein the change list comprises a change type and host information;
the change flow module is used for obtaining a change template matched with the change list according to the change type and generating a change flow by utilizing the change template and the change list;
the user password module is used for receiving a user name and a password which are returned by the user management system and correspond to the host information by sending a password acquisition request to the user management system;
And the change execution module is used for sending the user name and the password to a host system corresponding to the host information according to the change flow, executing host change and receiving execution information returned by the host system.
Optionally, in an embodiment of the present invention, the change list module includes: a request sending unit, configured to send a change acquisition request to a server according to a preset time interval; the change file unit is used for receiving a change file returned by the server after analyzing the change acquisition request; and the file analysis unit is used for analyzing the change file to obtain a change list.
Optionally, in an embodiment of the present invention, the change list further includes environment information and time information.
Optionally, in an embodiment of the present invention, the apparatus further includes a change splitting module, configured to split the change list into a plurality of change sub-lists according to the environment information or the time information.
Optionally, in an embodiment of the present invention, the change flow module includes: the file uploading unit is used for receiving and analyzing the flow file uploaded by the user; and the change template unit is used for generating a change template according to the change type and the parsed flow file.
Optionally, in an embodiment of the present invention, the change execution module includes a TWS execution unit, configured to send, according to the change procedure, the user name and the password to a host system corresponding to the host information; and calling the enterprise scheduling operation tool to execute host change and receiving the execution information returned by the host system.
Optionally, in an embodiment of the present invention, the change execution module further includes a platform execution unit, configured to generate a change implementation list according to the change procedure; transmitting the user name and the password to a host system corresponding to the host information; and executing host modification according to the modification implementation list, and receiving execution information returned by the host system.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the above method when executing the program.
The present invention also provides a computer readable storage medium storing a computer program for executing the above method.
The invention automatically generates the corresponding change flow by utilizing the change list, combines the automatic acquisition of the information such as the host user name, the password and the like, realizes the automatic and efficient implementation of the whole change flow of the host, simplifies the change handover flow, and improves the automation, the instantaneity and the correctness of the change implementation flow.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for changing a host according to an embodiment of the invention;
FIG. 2 is a flow chart of generating a change list according to an embodiment of the invention;
FIG. 3 is a flow chart of generating a change template in an embodiment of the invention;
FIG. 4 is a flow chart of a TWS execution change according to an embodiment of the present invention;
FIG. 5 is a flow chart of a modification performed in an embodiment of the present invention;
FIG. 6 is a flow chart of a host change in an embodiment of the invention;
FIG. 7 is a flow chart of a change import according to an embodiment of the present invention;
FIG. 8 is a flow chart illustrating a change in split and handover according to an embodiment of the present invention;
FIG. 9 is a flow chart of a modification of an embodiment of the present invention;
FIG. 10 is a flow chart of user password acquisition and connectivity testing in accordance with an embodiment of the present invention;
FIG. 11 is a schematic diagram illustrating a configuration of a host modification apparatus according to an embodiment of the present invention;
FIG. 12 is a schematic diagram of a change list module according to an embodiment of the invention;
FIG. 13 is a schematic diagram of a change flow module according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The embodiment of the invention provides a host changing method and device.
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flowchart of a method for changing a host according to an embodiment of the present invention, where the method includes:
Step S1, a change acquisition request is sent to a server, a change file returned by the server is received, the change file is analyzed to obtain a change list, and the change list comprises change types and host information.
The change acquisition request may be sent to the server at regular intervals, for example, at intervals of 30 minutes. The change acquisition request may include a department that applies for acquiring a change, a change start time, a change end time, and the like. The server may be SD (Service Desk) server, the SD server analyzes the change acquisition request, and returns the change record satisfying the condition in the form of a CSV file according to the analyzed condition, for example, the condition of the application department and the period corresponding to the change. After receiving the CSV type change file, analyzing the change file to obtain a detailed record of the change to form a change list. Specifically, the change list includes detailed records of changes, including information such as a change execution step and a change time point. In addition, the change list further includes a change type and host information, where the change type may be specifically a common change, a standard change, an automatic change, and the host information includes information of a host system participating in the execution of the change and information of an environment of the host system, and in a process of sending the change to the host system according to a change implementation flow, the change type is automatically matched with a corresponding host IP according to the information of the host system and the environment information thereof.
And S2, obtaining a change template matched with the change list according to the change type, and generating a change flow by using the change template and the change list.
Wherein the different types of changes correspond to different change templates. The change template may be a template used in a history change process, or may be a change template formed from a process file uploaded by a user. Information such as a change execution step and a change time point included in the change list is input to the change template, and an executable change flow is formed.
And step S3, a password acquisition request is sent to a user management system, and a user name and a password corresponding to the host information returned by the user management system are received.
In order to secure the implementation of the change, it is necessary to apply for the user management system (UCM) to acquire information such as a user name and a password of the host system participating in the change. In addition, after the user name and the password of the host system are obtained, interaction is performed with the host system to complete password verification and connectivity test.
And S4, according to the changing flow, the user name and the password are sent to a host system corresponding to the host information, the host is changed, and the execution information returned by the host system is received.
When executing the host change, the job request is submitted to the host system according to the change implementation step in the change flow, specifically, the http request is generated by using the host environment, the host IP, the user name and the password of the host system, and is sent to the host system. Meanwhile, the host system returns the change execution information in real time, wherein the execution information comprises an execution result (such as whether the current job is successfully executed) and an execution condition (such as a change execution progress). In addition, a call TWS (Tivoli Workload Scheduler) may be invoked to perform a host change according to the change procedure.
As an embodiment of the present invention, as shown in fig. 2, by sending a change acquisition request to a server, receiving a change file returned by the server, and analyzing the change file to obtain a change list includes:
step S21, a change acquisition request is sent to a server according to a preset time interval.
The change acquisition request is sent to the server at preset time intervals, for example, every 30 minutes, the change acquisition request may be an http request, and the server may be an SD server.
Step S22, receiving a change file returned by the server after analyzing the change acquisition request.
The SD server analyzes the change acquisition request, and returns a change record satisfying the conditions as a CSV file according to the analyzed conditions, for example, conditions such as the application department and the time period corresponding to the change.
Step S23, analyzing the change file to obtain a change list.
After receiving the change file in the CSV form, the change file is analyzed to obtain a detailed record of the change so as to form a change list.
As one embodiment of the present invention, the manifest of changes further includes environmental information and time information.
The environment information includes area information, and for example, the environment information relates to implementation of a change process in different areas of China and abroad. The time information includes the time required for the change.
In this embodiment, the method further includes: and splitting the change list into a plurality of change sub-lists according to the environment information or the time information.
If the change implementation process involves different regions in China and abroad, or the change requires too long time, for example, more than 24 hours, the change list can be divided into a plurality of sub-lists according to regions or time, for example, the change execution time length of every 8 hours is divided into one sub-list. After generating a plurality of sub-lists, corresponding change flows are generated for each sub-list according to the same process as before the change splitting, and the change is implemented. After all sub-manifest implementations are completed, the execution of the transformation is ended.
As an embodiment of the present invention, as shown in fig. 3, obtaining a change template matching the change manifest according to the change type includes:
step S31, receiving and analyzing the flow file uploaded by the user.
The user uploads the flow file by calling the uploading file interface, and the flow file uploaded by the user is analyzed.
And step S32, generating a change template according to the change type and the analyzed flow file.
And integrating the orderly change implementation flow obtained by analysis into a change template corresponding to the change type. The change templates are saved so that they can be invoked directly later.
As shown in fig. 4, according to the modification procedure, the method of the present invention sends the user name and the password to the host system corresponding to the host information, and executes the host modification, and receiving the execution information returned by the host system includes:
step S41, according to the changing flow, the user name and the password are sent to a host system corresponding to the host information.
And submitting a job request to the host system according to a change implementation step in the change flow, specifically, generating an http request by using a host environment, a host IP, a user name and a password of the host system, and sending the http request to the corresponding host system.
Step S42, calling the enterprise scheduling operation tool to execute host change and receiving the execution information returned by the host system.
Wherein, the enterprise scheduling work Tool (TWS) is called, and the TWS executes the host change according to the change implementation step in the change flow. The host system returns the change execution information in real time, wherein the execution information comprises an execution result and an execution condition.
As shown in fig. 5, according to the modification procedure, the method of the present invention sends the user name and the password to the host system corresponding to the host information, and executes the host modification, and the receiving the execution information returned by the host system further includes:
Step S51, generating a change implementation list according to the change flow. The change flow is analyzed into a change implementation list one by one.
Step S52, the user name and the password are sent to a host system corresponding to the host information.
According to the change implementation list, an http request is generated by using the host environment, the host IP, the user name and the password of the host system, and the http request is sent to the corresponding host system.
And step S53, executing host modification according to the modification implementation list, and receiving the execution information returned by the host system.
And returning the change execution information in real time by the host system according to the change implementation list, wherein the execution information comprises an execution result and an execution condition.
In an embodiment of the present invention, a system for implementing the host change method of the present invention is used as an execution subject, and fig. 6 is a schematic workflow diagram of the system. After the system is changed and proposed, the submitted change list and the change approval state in the SD are automatically synchronized, and a manual new change function is provided; change splitting, namely providing a one-key splitting function aiming at the change of multiple environments and multiple implementation time points; change handover, providing one-key accessory uploading, one-key template importing and one-key history change importing modes to realize change handover, automatically carrying out standard inspection on handover flow, and reminding change implementation persons and rechecking persons by automatic mail; the change implementation solves the problems that the host environments are more, different environments need to be frequently logged in and different users need to implement the change, the function of directly implementing and rechecking the host change through the management platform is realized, the user only needs to trigger a change flow from the platform, the change can be automatically implemented according to the plan, the execution condition of the step is returned in real time, and the change implementation progress is automatically updated; and the user can intuitively know the conditions of changing approval progress, changing implementation progress, job execution condition, returning, historical changing summarization and the like on the platform page. The method overcomes the defects of mail handover, multi-environment login implementation and rechecking change, solves the problems that historical change cannot be traced and summarized in a classified way, can effectively lighten the pressure of change implementation personnel, quickly tracks and reviews the change condition, and reduces the change operation and maintenance risk.
Specifically, the workflow of the system specifically comprises a change import module, a change delivery module, a change implementation module, a change statistics and summarization module, and the whole flow tracking and management of corresponding change proposal, delivery, implementation, confirmation and the like. The function combination of the four modules realizes the management and tracking of the whole change period; the functions are realized independently, and the maintenance and optimization of each module are facilitated.
The whole flow of each change is that three modules of change import, change handover and change implementation are executed in series, and the output result of the former module is the input data of the latter module; the output results of the three modules can be used as the input data of the change statistics and summarization module.
As shown in the flowchart of the change import module in fig. 7. The system is linked with the SD, automatically sends a request to the SD technology management working platform (SERVICEDESK) every 30 minutes through a timing task, acquires a department change list, and synchronously changes elements such as starting time, ending time, approval progress and the like.
Fig. 8 is a flowchart of a change splitting and change delivery of the change delivery module, where splitting the change includes: one key splits the change into a plurality of changes to be respectively handed over, so as to avoid the change time point, environment error or missed operation. After clicking the split button, the user sends an http request, and the system automatically splits the change and synchronizes all the information of the change.
The change handover includes: providing a plurality of handover modes, simplifying the handover steps, realizing the handover of complex handover procedures by a one-key or very-few-step manual intervention mode, and mainly simplifying the handover procedures of the system platform triggering type change; after all the change delivery is completed, the system automatically sends a mail prompt to a change implementer and a rechecker.
The system adopts a platform triggering mode, aims at the change handover of the system platform triggering type, and provides a traditional page editing mode, and also provides convenient modes of accessory uploading, one-key template loading and one-key history change loading.
A) Accessory uploading: the user selects an accessory uploading button, invokes an uploading file interface and uploads a change flow, and the system automatically reads and analyzes the accessory to generate an orderly change flow, loads and displays the orderly change flow to the page. After the loading of the change flow is completed, an interface is provided for a user, and the user can select to save the change flow as a template, so that the next similar change handover is facilitated.
B) Template introduction: the user selects to import and send an http request from the template, the system analyzes the http request and automatically matches the changed template conforming to the parameters, and the changed flow is automatically obtained from the template, loaded and displayed to the front end of the system.
C) History change import: the user selects the history change import, the request can be sent through keyword searching, the system analyzes and automatically matches the history change according to the http request, the change handover step is obtained from the history change record and recorded in the current change handover, and the handover of the change step is realized.
As shown in fig. 9, which is a change implementation flow chart of the change implementation module, the system provides a function of triggering change implementation by the platform, a user can acquire a user name and a password through one key of the platform and can trigger and execute a change flow, and a change implementation person and a rechecking person do not need to log in a multi-ring environment to conduct change implementation and rechecking; the system automatically acquires and updates the implementation progress and the implementation result of the change; the system visualizes the change condition, and is convenient for viewing and progress grasping of the change overall condition on the same day.
According to the current changing actual situation, the implementation mode is as follows: platform triggering, TWS full-automatic submitting, manual, and one-out-of-three.
1) Platform triggering: editing the changing step and the environment in advance, after the changing time period obtains the password of the changing user from the UCM, triggering the change management system, and automatically submitting the operation to the corresponding host environment by the platform according to the handover step; the system automatically acquires the execution condition and the result of the job in the host system, and automatically executes the subsequent process or the interrupt process according to the result, and continues after the error report job is solved. Meanwhile, in the process of changing implementation, the system automatically updates the implementation condition of the operation and the implementation progress of the change in real time.
2) TWS automatic submission: TWS timing AD, ETT are automatically executed after TWS is loaded. After the process execution is completed, the system can automatically acquire the execution condition of the host, and update the implementation condition and state of the change in the system.
3) Manually logging in the corresponding system, manually submitting the job or command (in the traditional mode, the implementation state of the change needs to be manually confirmed).
As shown in fig. 10, which is a flowchart of user password acquisition and connectivity test, a host user uses a user management platform to manage due to production environment security audit and supervision requirements, and a high-authority user receives the user password in normal times, and when the user password is required to be issued by the UCM after application. Therefore, before the platform is changed, the user password is acquired through a one-key sign-in function, and password verification and connectivity test are automatically completed by the system.
The change statistics and summarization module provides change summarization and query functions. The changes can be divided into professional groups, change types (common changes, standard changes, automatic changes and the like), change implementation modes (platform triggering, TWS automatic submission, manual and the like) and other dimensions, and the changes can be summarized and counted according to the dimensions, so that historical change conditions are analyzed, and the change scale of future change days is estimated. The history change is screened and queried according to the elements such as the change title, the change list number, the implementation time and the like.
The system of the invention realizes the whole process tracking of the host change, simplifies the change handover process according to the processes of change proposal, approval, handover, implementation and the like, improves the automation of the change implementation process, and has the following beneficial effects and advantages:
(1) Simplifying the change handover flow: aiming at standard change, automatic change and routine change, the change flow can be handed over by uploading accessories, one-key template introduction and one-key history change introduction modes, so that the handover flow is greatly simplified;
(2) Tracking change state and implementation: the page clearly marks the change state, and illegal implementation before the change is not approved is avoided; the implementation progress and the implementation state of the change are visualized, the implementation state of the change is updated in real time, and the implementation condition of the change is clear at a glance; aiming at multi-day change or multi-partition change one-key split handover, erroneous operation and missed operation are avoided;
(3) According to the production environment safety supervision and audit requirements, the one-key acquisition and change user password function is realized, and user password verification and connectivity test are automatically realized;
(4) The platform is triggered by one key, the appointed change step is automatically submitted to the corresponding host environment, the execution condition of the flow is automatically acquired, the implementation progress of the flow is updated in real time, the system decides to continue to execute the later step or interrupt the flow to wait for processing the error reporting content according to the execution result of the host, frequent logging in the host environment is avoided, the operation flow is simplified, and the implementation efficiency of the change is improved;
(5) The multi-dimensional change statistics and summarization are convenient for professional groups and change proposers to clearly know the implementation condition and the flow of the historical change, and the historical change data is utilized to effectively evaluate the future change condition aiming at routine change and standard change.
Fig. 11 is a schematic structural diagram of a host changing device according to an embodiment of the present invention, where the device includes:
The change list module 10 is configured to send a change acquisition request to a server, receive a change file returned by the server, and parse the change file to obtain a change list, where the change list includes a change type and host information.
The change acquisition request may be sent to the server at regular intervals, for example, at intervals of 30 minutes. The change acquisition request may include a department that applies for acquiring a change, a change start time, a change end time, and the like. The server may be SD (Service Desk) server, the SD server analyzes the change acquisition request, and returns the change record satisfying the condition in the form of a CSV file according to the analyzed condition, for example, the condition of the application department and the period corresponding to the change. After receiving the CSV type change file, analyzing the change file to obtain a detailed record of the change to form a change list. Specifically, the change list includes detailed records of changes, including information such as a change execution step and a change time point. The change list further includes a change type and host information, where the change type may be specifically a normal change, a standard change, an automatic change, etc., and the host information includes information such as a host IP of a host system participating in the execution of the change and an environment of the host system.
And a change flow module 20, configured to obtain a change template matching the change list according to the change type, and generate a change flow by using the change template and the change list.
Wherein the different types of changes correspond to different change templates. The change template may be a template used in a history change process, or may be a change template formed from a process file uploaded by a user. Information such as a change execution step and a change time point included in the change list is input to the change template, and an executable change flow is formed.
And the user password module 30 is used for receiving the user name and the password corresponding to the host information returned by the user management system by sending a password acquisition request to the user management system.
In order to secure the implementation of the change, it is necessary to apply for the user management system (UCM) to acquire information such as a user name and a password of the host system participating in the change. In addition, after the user name and the password of the host system are obtained, interaction is performed with the host system to complete password verification and connectivity test.
And the change execution module 40 is configured to send the user name and the password to a host system corresponding to the host information according to the change flow, execute host change, and receive execution information returned by the host system.
When executing the host change, the job request is submitted to the host system according to the change implementation step in the change flow, specifically, the http request is generated by using the host environment, the host IP, the user name and the password of the host system, and is sent to the host system. Meanwhile, the host system returns the change execution information in real time, wherein the execution information comprises an execution result (such as whether the current job is successfully executed) and an execution condition (such as a change execution progress). In addition, a call TWS (Tivoli Workload Scheduler) may be invoked to perform a host change according to the change procedure.
As shown in fig. 12, the change list module 10 includes:
A request sending unit 101, configured to send a change acquisition request to a server at a preset time interval;
a change file unit 102, configured to receive a change file returned by the server after analyzing the change acquisition request;
and a file analysis unit 103, configured to analyze the change file to obtain a change list.
As one embodiment of the present invention, the manifest of changes further includes environmental information and time information.
In this embodiment, the apparatus further includes a change splitting module, configured to split the change list into a plurality of change sub-lists according to the environment information or the time information.
As shown in fig. 13, the change flow module 20 includes:
a file uploading unit 201, configured to receive and parse a flow file uploaded by a user;
And the change template unit 202 is configured to generate a change template according to the change type and the parsed flow file.
As one embodiment of the present invention, the change execution module includes a TWS execution unit, configured to send the user name and the password to a host system corresponding to the host information according to the change procedure; and calling the enterprise scheduling operation tool to execute host change and receiving the execution information returned by the host system.
As one embodiment of the present invention, the change execution module further includes a platform execution unit, configured to generate a change implementation list according to the change procedure; transmitting the user name and the password to a host system corresponding to the host information; and executing host modification according to the modification implementation list, and receiving execution information returned by the host system.
The invention also provides a host changing device based on the same application conception as the host changing method. Because the principle of the host change device for solving the problem is similar to that of a host change method, the implementation of the host change device can refer to the implementation of a host change method, and the repetition is omitted.
The invention automatically generates the corresponding change flow by utilizing the change list, combines the automatic acquisition of the information such as the host user name, the password and the like, realizes the automatic and efficient implementation of the whole change flow of the host, simplifies the change handover flow, and improves the automation, the instantaneity and the correctness of the change implementation flow.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the above method when executing the program.
The present invention also provides a computer readable storage medium storing a computer program for executing the above method.
As shown in fig. 14, the electronic device 600 may further include: a communication module 110, an input unit 120, an audio processing unit 130, a display 160, a power supply 170. It is noted that the electronic device 600 need not include all of the components shown in fig. 14; in addition, the electronic device 600 may further include components not shown in fig. 14, to which reference is made to the related art.
As shown in fig. 14, the central processor 100, also sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, which central processor 100 receives inputs and controls the operation of the various components of the electronic device 600.
The memory 140 may be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information about failure may be stored, and a program for executing the information may be stored. And the central processor 100 can execute the program stored in the memory 140 to realize information storage or processing, etc.
The input unit 120 provides an input to the central processor 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used for displaying display objects such as images and characters. The display may be, for example, but not limited to, an LCD display.
The memory 140 may be a solid state memory such as Read Only Memory (ROM), random Access Memory (RAM), SIM card, or the like. But also a memory which holds information even when powered down, can be selectively erased and provided with further data, an example of which is sometimes referred to as EPROM or the like. Memory 140 may also be some other type of device. Memory 140 includes a buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application/function storage 142, the application/function storage 142 for storing application programs and function programs or a flow for executing operations of the electronic device 600 by the central processor 100.
The memory 140 may also include a data store 143, the data store 143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by the electronic device. The driver storage 144 of the memory 140 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, address book applications, etc.).
The communication module 110 is a transmitter/receiver 110 that transmits and receives signals via an antenna 111. A communication module (transmitter/receiver) 110 is coupled to the central processor 100 to provide an input signal and receive an output signal, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, etc., may be provided in the same electronic device. The communication module (transmitter/receiver) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide audio output via the speaker 131 and to receive audio input from the microphone 132 to implement usual telecommunication functions. The audio processor 130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 130 is also coupled to the central processor 100 so that sound can be recorded locally through the microphone 132 and so that sound stored locally can be played through the speaker 131.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principles and embodiments of the present invention have been described in detail with reference to specific examples, which are provided to facilitate understanding of the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. A method of host change, the method comprising:
Receiving a change file returned by a server by sending a change acquisition request to the server, and analyzing the change file to obtain a change list, wherein the change list comprises a change type and host information;
obtaining a change template matched with the change list according to the change type, and generating a change flow by using the change template and the change list;
Receiving a user name and a password corresponding to the host information returned by the user management system by sending a password acquisition request to the user management system;
According to the changing flow, the user name and the password are sent to a host system corresponding to the host information, the host is changed, and the execution information returned by the host system is received;
According to the changing flow, the user name and the password are sent to a host system corresponding to the host information, the host is changed, and the receiving of the execution information returned by the host system comprises:
generating an http request by using the host environment, the host IP, the user name and the password of the host system according to the change flow, and sending the http request to the corresponding host system;
calling an enterprise scheduling operation tool to execute host change and receiving execution information returned by the host system; wherein the execution information comprises an execution result and an execution condition;
the step of receiving the change file returned by the server by sending a change acquisition request to the server, and the step of analyzing the change file to obtain a change list comprises the following steps:
Sending a change acquisition request to a server according to a preset time interval; the change acquisition request comprises a department applying for acquiring change, a change starting time and a change ending time;
Receiving a change file returned by the server after analyzing the change acquisition request; the change file is obtained by utilizing a change record meeting the condition after the server analyzes the change acquisition request to obtain the condition;
analyzing the change file to obtain a change list;
The method for receiving the execution information returned by the host system further comprises the steps of:
generating a change implementation list according to the change flow; wherein the change flow includes a change implementation step;
according to the change implementation step, the user name and the password are sent to a host system corresponding to the host information;
And executing host modification according to the modification implementation list, and receiving execution information returned by the host system.
2. The method of claim 1, wherein the manifest of changes further comprises environmental information and time information.
3. The method according to claim 2, wherein the method further comprises: and splitting the change list into a plurality of change sub-lists according to the environment information or the time information.
4. The method of claim 1, wherein the deriving a change template matching the change manifest based on the change type comprises:
Receiving and analyzing a flow file uploaded by a user;
and generating a change template according to the change type and the parsed flow file.
5. A host change device, the device comprising:
The change list module is used for receiving a change file returned by the server by sending a change acquisition request to the server and analyzing the change file to obtain a change list, wherein the change list comprises a change type and host information;
the change flow module is used for obtaining a change template matched with the change list according to the change type and generating a change flow by utilizing the change template and the change list;
the user password module is used for receiving a user name and a password which are returned by the user management system and correspond to the host information by sending a password acquisition request to the user management system;
The change execution module is used for sending the user name and the password to a host system corresponding to the host information according to the change flow, executing host change and receiving execution information returned by the host system;
The change execution module comprises a TWS execution unit and is used for generating an http request by using a host environment, a host IP, a user name and a password of the host system and sending the http request to the corresponding host system; calling an enterprise scheduling operation tool to execute host change and receiving execution information returned by the host system; wherein the execution information comprises an execution result and an execution condition;
Wherein the change manifest module includes:
a request sending unit, configured to send a change acquisition request to a server according to a preset time interval; the change acquisition request comprises a department applying for acquiring change, a change starting time and a change ending time;
The change file unit is used for receiving a change file returned by the server after analyzing the change acquisition request; the change file is obtained by utilizing a change record meeting the condition after the server analyzes the change acquisition request to obtain the condition;
The file analysis unit is used for analyzing the change file to obtain a change list;
The change execution module further comprises a platform execution unit, and is used for generating a change implementation list according to the change flow; wherein the change flow includes a change implementation step; according to the change implementation step, the user name and the password are sent to a host system corresponding to the host information; and executing host modification according to the modification implementation list, and receiving execution information returned by the host system.
6. The apparatus of claim 5, wherein the manifest of changes further comprises environmental information and time information.
7. The apparatus of claim 6, further comprising a change splitting module configured to split the change manifest into a plurality of change sub-manifests based on the environmental information or the time information.
8. The apparatus of claim 5, wherein the change flow module comprises:
the file uploading unit is used for receiving and analyzing the flow file uploaded by the user;
And the change template unit is used for generating a change template according to the change type and the parsed flow file.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 4 when executing the program.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program for executing the method of any one of claims 1 to 4.
CN202010928203.2A 2020-09-07 2020-09-07 Host changing method and device Active CN112053132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010928203.2A CN112053132B (en) 2020-09-07 2020-09-07 Host changing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010928203.2A CN112053132B (en) 2020-09-07 2020-09-07 Host changing method and device

Publications (2)

Publication Number Publication Date
CN112053132A CN112053132A (en) 2020-12-08
CN112053132B true CN112053132B (en) 2024-05-28

Family

ID=73608372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010928203.2A Active CN112053132B (en) 2020-09-07 2020-09-07 Host changing method and device

Country Status (1)

Country Link
CN (1) CN112053132B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631763A (en) * 2021-01-07 2021-04-09 中国农业银行股份有限公司 Program changing method and device of host program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004356787A (en) * 2003-05-28 2004-12-16 Hitachi Ltd Security inspection system
CN103856569A (en) * 2012-11-28 2014-06-11 方正宽带网络服务股份有限公司 Method and device for synchronizing domain name system resource information
CN104933101A (en) * 2015-05-29 2015-09-23 南车株洲电力机车研究所有限公司 SVN-based method for automatic statistics of configuration audit information
CN109117171A (en) * 2018-08-27 2019-01-01 郑州云海信息技术有限公司 A kind of variation, the apparatus and system of PCBA board card
CN110471681A (en) * 2019-07-25 2019-11-19 中国建设银行股份有限公司 Automatic variation, system, device and the storage medium of application program
CN110889105A (en) * 2019-12-03 2020-03-17 中国工商银行股份有限公司 Data processing method, device, system and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004356787A (en) * 2003-05-28 2004-12-16 Hitachi Ltd Security inspection system
CN103856569A (en) * 2012-11-28 2014-06-11 方正宽带网络服务股份有限公司 Method and device for synchronizing domain name system resource information
CN104933101A (en) * 2015-05-29 2015-09-23 南车株洲电力机车研究所有限公司 SVN-based method for automatic statistics of configuration audit information
CN109117171A (en) * 2018-08-27 2019-01-01 郑州云海信息技术有限公司 A kind of variation, the apparatus and system of PCBA board card
CN110471681A (en) * 2019-07-25 2019-11-19 中国建设银行股份有限公司 Automatic variation, system, device and the storage medium of application program
CN110889105A (en) * 2019-12-03 2020-03-17 中国工商银行股份有限公司 Data processing method, device, system and medium

Also Published As

Publication number Publication date
CN112053132A (en) 2020-12-08

Similar Documents

Publication Publication Date Title
CN109408337B (en) Interface operation and maintenance method and device
US11620277B2 (en) Transaction processing at non-relational databases
US20220013109A1 (en) Organizational-based language model generation
CN112783793B (en) Automatic interface test system and method
CN113242159B (en) Application access relation determining method and device
CN112053132B (en) Host changing method and device
CN111881093B (en) Data reporting method, device and reporting system
JP2014225290A (en) Apparatus and method for managing task information of plant
CN112328708A (en) Mixed data warehouse technology for real-time aggregation of multiple data sources
CN109800081A (en) A kind of management method and relevant device of big data task
CN114925072A (en) Data management method, apparatus, system, device, medium, and program product
CN114448775B (en) Equipment fault information processing method and device, electronic equipment and storage medium
CN113163014B (en) Data transmission method, server and data transmission system
CN110838006B (en) Test system for universal device
CN112035365B (en) Version deployment method and device supporting multiple test environments
CN113392005A (en) Large file processing test method and system
CN115878448A (en) Database test method, distributed database and storage medium
CN110689326A (en) Supplier information auditing and recommending method
CN113556269B (en) SAP client performance test method, system, electronic equipment and storage medium
CN113407540A (en) Transaction data stream acquisition method and device
CN113298538B (en) Customer service data processing method and device
CN115086264B (en) Data set generation method, equipment and computer system
CN116881136A (en) Project test progress tracking method and system based on test execution verification
EP4339786A1 (en) Method of tracing call relationship and displaying log information accordingly in msa
CN116881131A (en) Construction method and device of service scene level call link

Legal Events

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