CN112053132A - Host changing method and device - Google Patents

Host changing method and device Download PDF

Info

Publication number
CN112053132A
CN112053132A CN202010928203.2A CN202010928203A CN112053132A CN 112053132 A CN112053132 A CN 112053132A CN 202010928203 A CN202010928203 A CN 202010928203A CN 112053132 A CN112053132 A CN 112053132A
Authority
CN
China
Prior art keywords
change
host
list
information
password
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.)
Granted
Application number
CN202010928203.2A
Other languages
Chinese (zh)
Other versions
CN112053132B (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

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
    • 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)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a host changing method and a host changing device, which can be used in the financial field or other fields. The method comprises the following steps: sending a change acquisition request to a server, receiving a change file returned by the server, 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 the change list; receiving a user name and a password returned by a user management system by sending a password acquisition request to the user management system; and according to the change process, sending the user name and the password to the host system, executing host change, and receiving execution information returned by the host system. The invention automatically generates the corresponding change process by utilizing the change list, and automatically acquires the information of the host user name, the password and the like, thereby realizing the automatic and high-efficiency implementation of the whole process of the host change, simplifying the process of change handover, and improving the automation, the real-time property and the correctness of the process of the change implementation.

Description

Host changing method and device
Technical Field
The present invention relates to the field of host management technologies, and in particular, to a host changing method and device.
Background
At present, the host change process mainly comprises: lifting up changes in the ServiceDesk system and submitting a change scheme; the change is delivered to a change implementing personnel and a rechecking personnel through a mail mode; the servicetask confirms the execution of the change. At present, a plurality of sets of SYSPLEX (outer high bridge production, Jiading production, oral production, a control system, same city disaster recovery, remote disaster recovery and the like) which are independent from each other exist in a bank production environment, frequent switching and login to the corresponding environment are needed for implementing change, the change is faced with the problems of few change implementing personnel, large change quantity, much SYSPLEX involved and the like, and the risk of misdoing and missing doing exists. Secondly, since some host changes have business influence, the same change of different partitions needs to select different business low-peak periods for the region to implement the change. Thirdly, the ServiceDesk cannot effectively count and summarize the historical changes, and cannot review and summarize the changes well. With the increase of the number, types and complexity of changes, the current management method cannot meet the requirements of change handover, implementation, real-time tracking and correctness, and a more effective change full-flow management method is urgently needed to ensure the real-time performance of change handover, the correctness of implementation and the statistics and summarization of change multiple dimensions.
Disclosure of Invention
The present invention provides a method and an apparatus for changing a host, which can implement real-time and accurate handover of host change.
In order to achieve the above object, an embodiment of the present invention provides a host changing method, where the method includes:
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, 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 which are returned by a user management system and correspond to the host information by sending a password acquisition request to the user management system;
and according to the change process, sending the user name and the password to a host system corresponding to the host information, executing host change, and receiving execution information returned by the host system.
Optionally, in an embodiment of the present invention, the sending a change obtaining request to a server, receiving 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 matched with the change list includes: receiving and analyzing a process file uploaded by a user; and generating a change template according to the change type and the analyzed 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 process, and executing host change, and receiving execution information returned by the host system includes: according to the change process, the user name and the password are sent to a host system corresponding to the host information; and calling an enterprise scheduling operation tool to execute host change and receiving 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 process, executing host change, and receiving execution information returned by the host system further includes: generating a change implementation list according to the change flow; sending the user name and the password to a host system corresponding to the host information; and executing host change according to the change implementation list, and receiving execution information returned by the host system.
An embodiment of the present invention further provides a host changing apparatus, where the apparatus includes:
the change list module is used for sending a change acquisition request to a server, receiving a change file returned by the server, 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 using the change template and the change list;
the user password module is used for sending a password acquisition request to a user management system and receiving a user name and a password which are returned by the user management system and correspond to the host information;
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 process, 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; a change file unit, configured to receive a change file returned by the server after analyzing the change acquisition request; and the file analysis unit is used for analyzing the changed 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 process file uploaded by the user; and the change template unit is used for generating a change template according to the change type and the analyzed flow file.
Optionally, in an 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 process; and calling an enterprise scheduling operation tool to execute host change and receiving 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 flow; sending the user name and the password to a host system corresponding to the host information; and executing host change according to the change 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, wherein the processor implements the 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 process by utilizing the change list, and automatically acquires the information of the host user name, the password and the like, thereby realizing the automatic and high-efficiency implementation of the whole process of the host change, simplifying the process of change handover, and improving the automation, the real-time property and the correctness of the process of the change implementation.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly introduced 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 based on these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a host change method according to an embodiment of the present invention;
FIG. 2 is a flow chart of generating a change list in an embodiment of the present invention;
FIG. 3 is a flow chart of generating a change template in an embodiment of the present invention;
FIG. 4 is a flowchart of a TWS performing a change in accordance with an embodiment of the present invention;
FIG. 5 is a flow chart of performing a change in an embodiment of the present invention;
FIG. 6 is a flow chart of host changes in an embodiment of the present invention;
FIG. 7 is a flow chart of change import in an embodiment of the present invention;
FIG. 8 is a flow chart of a change split and handover in an embodiment of the present invention;
FIG. 9 is a flow chart of an alternate implementation of an embodiment of the present invention;
FIG. 10 is a flowchart of user password acquisition and connectivity testing in an embodiment of the present invention;
FIG. 11 is a schematic structural diagram of a host modification apparatus according to an embodiment of the present invention;
FIG. 12 is a diagram illustrating a structure of a change list module according to an embodiment of the present invention;
FIG. 13 is a block diagram of a modified 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 present invention.
Detailed Description
The embodiment of the invention provides a host changing method and device.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart illustrating a host changing method according to an embodiment of the present invention, where the method includes:
step S1, sending a change acquisition request to the server, receiving a change file returned by the server, and analyzing the change file to obtain a change list, where the change list includes a change type and host information.
The change acquisition request sent to the server may be sent to the server at a preset time interval, for example, every 30 minutes, in a timed sending manner. The change acquisition request may include a department applying for acquiring a change, a change start time, a change end time, and the like. The server may be an SD (service desk) server, which analyzes the change acquisition request and returns a change record satisfying the condition in the form of a CSV file according to the analyzed condition, for example, conditions such as an application department and a time period corresponding to the change. After receiving the change file in the CSV form, the change file is analyzed to obtain the detailed record of the change so as to form a change list. Specifically, the change list includes a detailed record of the change, including information such as the execution procedure of the change and the time point of the change. In addition, the change list also includes change types and host information, the change types can be common change, standard change, automatic change and the like, the host information includes information of the host system participating in executing the change and information of the environment and the like of the host system, and in the process of sending the host system to the host system according to the change implementation process, the corresponding host IP is automatically matched according to the information of the host system and the environment information thereof.
And step 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, different types of changes correspond to different change templates. The change template can be a template used by a history change process, or can be a change template formed according to a process file uploaded by a user. And inputting information including a change implementation step, a change time point and the like in the change list into the change template to form an executable change flow.
Step S3, sending a password obtaining request to a user management system, and receiving a user name and a password corresponding to the host information returned by the user management system.
In order to ensure the safe implementation of the change, a user management system (UCM) needs to apply for obtaining information such as a user name and a password of a host system participating in the change. In addition, after the user name and the password of the host system are obtained, the user name and the password interact with the host system to complete password verification and connectivity test.
And step S4, according to the change process, sending the user name and the password to a host system corresponding to the host information, executing host change, and receiving execution information returned by the host system.
When the host change is executed, a job request is submitted to the host system according to the change implementation steps in the change flow, specifically, an 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 change execution information in real time, wherein the execution information comprises an execution result (such as whether the current job is executed successfully) and an execution condition (such as change execution progress). In addition, the tws (tivoli Workload scheduler) may be called to execute the host change according to the change flow.
As an embodiment of the present invention, as shown in fig. 2, 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 the server at a preset time interval.
The method includes sending a change acquisition request to a server at preset time intervals, for example, every 30 minutes, where the change acquisition request may be an http request, and the server may be an SD server.
Step S22, receiving the changed 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 condition in the form of a CSV file according to the analyzed condition, for example, conditions such as an application department and a time period corresponding to the change.
In step S23, the change file is analyzed to obtain a change list.
After receiving the change file in the CSV form, the change file is analyzed to obtain the detailed record of the change so as to form a change list.
As an embodiment of the present invention, the change list further includes environmental information and time information.
The environment information includes regional information, and for example, the change process is performed in different regions, such as domestic and foreign regions. 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 relates to different regions in China and abroad or the time required for the change is too long, for example, more than 24 hours, the change list can be divided into a plurality of sub-lists according to the region or the time, for example, the change implementation time is divided into one sub-list every 8 hours. After generating a plurality of sub-lists, according to the same process as before changing and splitting, generating a corresponding change flow for each sub-list and implementing change. After all sub-manifest implementations are complete, the reform execution ends.
As an embodiment of the present invention, as shown in fig. 3, obtaining a change template matching the change list according to the change type includes:
and step S31, receiving and analyzing the process file uploaded by the user.
The user uploads the process file by calling the upload file interface, and the process 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 ordered change implementation flows obtained by analysis into a change template corresponding to the change type. The change template is saved so that it can be directly invoked later.
As an embodiment of the present invention, as shown in fig. 4, according to the change process, sending the user name and the password to the host system corresponding to the host information, and executing host change, and receiving execution information returned by the host system includes:
and step S41, sending the user name and the password to a host system corresponding to the host information according to the change process.
The method comprises the steps of submitting a job request to a host system according to a change implementation step in a change flow, specifically, generating an http request by utilizing 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.
And step S42, calling the enterprise scheduling tool to execute host change and receiving the execution information returned by the host system.
Wherein, an enterprise dispatching operation Tool (TWS) is invoked, and the TWS executes host changes according to the change implementation steps in the change flow. The host system returns the change execution information in real time, and the execution information comprises an execution result and an execution condition.
As an embodiment of the present invention, as shown in fig. 5, according to the change process, sending the user name and the password to the host system corresponding to the host information, and executing host change, and receiving execution information returned by the host system further includes:
in step S51, a change execution list is generated according to the change flow. Wherein, the change processes are analyzed into a change implementation list one by one.
And step S52, sending the user name and the password to a host system corresponding to the host information.
And generating an http request by utilizing the host environment, the host IP, the user name and the password of the host system according to the change implementation list, and sending the http request to the corresponding host system.
Step S53, executing host change according to the change implementation list, and receiving the execution information returned by the host system.
And the host system returns change execution information in real time 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 changing method of the present invention is taken 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 meanwhile, a manually added change function is provided; change and split, provide the split function of a key to the change of the multi-environment, multi-implementation time point; change and handover, namely, providing a one-button attachment uploading mode, a one-button template importing mode and a one-button historical change importing mode to realize change and handover, automatically carrying out standard inspection on handover flow, and automatically reminding a change implementer and a rechecker by mails; the change implementation solves the problems that the host environment is more, different environments need to be logged in frequently, different users need to use different environments to implement the change, the functions of implementing and rechecking the host change directly through the management platform are realized, and the users can automatically implement the change according to a plan and return to the step execution condition in real time and automatically update the change implementation progress only by triggering the change flow from the platform; and the full-process visualization function is changed, so that a user can visually know the conditions of change approval progress, change implementation progress, operation execution condition and return, historical change summary and the like on a platform page. The system overcomes the defects of mail handover, multi-environment login implementation and recheck change respectively, solves the problems that historical change cannot be traced back and classified and summarized, can effectively reduce the pressure of change implementation personnel, quickly track and review change conditions, and reduces the change operation and maintenance risks.
Specifically, the workflow of the system specifically comprises a change import module, a change handover module, a change implementation module, a change statistics and summary module, and is subjected to full-flow tracking and management such as change proposing, handover, implementation, confirmation and the like. The management and tracking of the whole change period are realized by combining the functions of the four modules; the functions are realized independently, and the maintenance and optimization of each module are facilitated.
The whole flow of each change is that the change is imported, changed and handed over, and the change is implemented by three modules to be 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 input data of the change statistics and summarization module.
Fig. 7 is a flowchart of change import by the change import module. The system is linked with the SD, automatically sends a request to an SD scientific and technological management working platform (ServiceDesk) every 30 minutes through a timing task, acquires a department change list, and synchronously changes the factors such as the starting time, the ending time, the approval progress and the like.
Fig. 8 is a flowchart illustrating a change splitting and a change handover of a change handover module, where the splitting and changing include: the change is split into a plurality of changes to be respectively handed over by one key, so that the change time point and the environment are prevented from making mistakes or missing. After clicking the splitting button, the user sends an http request, and the system automatically splits the change and synchronizes all the existing information of the change.
The handover change includes: providing a plurality of handover modes, simplifying the handover steps, realizing one-key or few-step manual intervention mode handover of complex change flows, and mainly simplifying the handover flow of system platform trigger type change; after all changes are handed over, the system automatically sends mail reminding to a change implementer and a rechecker.
By adopting a platform triggering mode, aiming at the change handover of a system platform triggering type, the system provides a traditional page editing mode and also provides convenient modes of attachment uploading, one-button template loading and one-button historical change loading.
a) Uploading an accessory: the user selects the attachment uploading button, calls the file uploading interface and uploads the change flow, the system automatically reads and analyzes the attachment, and the ordered change flow is generated, loaded and displayed on the page. After the loading of the changed flow is finished, an interface is provided for a user, and the user can select to store the changed flow as a template, so that the next similar change handover is facilitated.
b) Template introduction: and the user selects to import and send the http request from the template, the system analyzes the http request and automatically matches the change template according with the parameters, and the change flow is automatically obtained from the template and loaded and displayed to the front end of the system.
c) History change import: the user selects history change import, can search and send a request through keywords, the system analyzes and automatically matches history changes according to an http request, and obtains a change handover step from a history change record and records the change handover step into the current change handover so as to realize the handover of the change step.
As shown in fig. 9, which is a flowchart of a change implementation module, a system provides a function of triggering change implementation by a platform, a user can acquire a user name and a password by one-click on the platform and can trigger and execute a change process, and a change implementer and a rechecker do not need to log in multiple sets of environments to perform change implementation and recheck; the system automatically acquires and updates the change implementation progress and the implementation result; the system visualizes the change condition, and is convenient for viewing and progress holding of the total change condition on the day.
According to the current change actual situation, the embodiment is as follows: platform triggering, TWS full-automatic submitting, manual selecting one from three.
1) Platform triggering: editing change steps and environments in advance, wherein after a change time period obtains a change user password from the UCM and is triggered by a change management system, the platform automatically submits a job to a corresponding host environment according to the handover step; the system automatically acquires the execution condition and the result of the operation in the host system, automatically executes the next flow or interrupts the flow according to the result, and continues after the error reporting operation is solved. Meanwhile, in the change implementation process, the system automatically updates the operation implementation condition and the change implementation progress in real time.
2) TWS auto-commit: and the TWS is automatically executed after the AD and the ETT are loaded at the timing of the TWS. After the flow is executed, the system can automatically acquire the host execution condition and update the implementation condition and state of the change in the system.
3) And (4) manually logging in a corresponding system, and manually submitting a job or a command (in a traditional mode, manually confirming the implementation state of the change).
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 perform management due to requirements of security audit and supervision of a production environment, and a high-authority user receives the password at ordinary times and issues the user password by the UCM after applying for the password during use. Therefore, before the change is implemented through the platform, the password of the user needs to be acquired through a one-key sign-in function, and password verification and connectivity test are automatically completed through the system.
The change statistics and summary module provides change summary and query functions. The changes can be divided into professional groups, dimensions such as change types (common changes, standard changes, automatic changes and the like), change implementation modes (platform triggering, TWS automatic submission, manual changes and the like), and the like, and the changes can be summarized and counted according to the dimensions, the historical change conditions are analyzed, and the change scale of the future change day is evaluated. And screening and inquiring historical changes according to factors such as change titles, change order numbers, implementation time and the like.
The system realizes the full-flow tracking of host change, simplifies the change handover flow according to the flows of change proposing, approving, handover, implementation and the like, improves the automation of the change implementation flow, and has the following beneficial effects and advantages:
(1) simplifying the change handover flow: for standard change, automatic change and routine change, the change process can be handed over through uploading accessories, one-button template introduction and one-button historical change introduction modes, so that the handover process is simplified to the great extent;
(2) tracking change status and implementation: the page clearly indicates the change state, and illegal implementation before the change is not approved is avoided; the implementation change progress and the implementation state are visualized, the implementation change state is updated in real time, and the implementation change situation is clear at a glance; aiming at multi-day change or multi-partition change one-button split handover, the error and missing of doing is avoided;
(3) according to the production environment safety supervision and audit requirements, the function of obtaining the password of the changed user in one key mode is realized, and the password verification and connectivity test of the user are automatically realized;
(4) the method comprises the steps of automatically submitting appointed change steps to corresponding host environments through one-key triggering of a platform, automatically acquiring process execution conditions and updating process implementation progress in real time, determining to continue to execute subsequent steps or interrupt process waiting for processing error reporting contents according to host execution results by a system, avoiding frequent login of the host environments, simplifying change operation processes and improving change implementation efficiency;
(5) the multi-dimensional change statistics and summarization are convenient for professional groups and change proposing personnel to clearly know the implementation condition and the process 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 apparatus according to an embodiment of the present invention, where the apparatus includes:
and 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 analyze the change file to obtain a change list, where the change list includes a change type and host information.
The change acquisition request sent to the server may be sent to the server at a preset time interval, for example, every 30 minutes, in a timed sending manner. The change acquisition request may include a department applying for acquiring a change, a change start time, a change end time, and the like. The server may be an SD (service desk) server, which analyzes the change acquisition request and returns a change record satisfying the condition in the form of a CSV file according to the analyzed condition, for example, conditions such as an application department and a time period corresponding to the change. After receiving the change file in the CSV form, the change file is analyzed to obtain the detailed record of the change so as to form a change list. Specifically, the change list includes a detailed record of the change, including information such as the execution procedure of the change and the time point of the change. In addition, the change list also includes change types and host information, the change types can be general change, standard change, automation change and the like, and the host information includes information such as host IP of the host system participating in executing the change, environment of the host system and the like.
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, different types of changes correspond to different change templates. The change template can be a template used by a history change process, or can be a change template formed according to a process file uploaded by a user. And inputting information including a change implementation step, a change time point and the like in the change list into the change template to form an executable change flow.
And the user password module 30 is configured to send a password obtaining request to a user management system, and receive a user name and a password corresponding to the host information, which are returned by the user management system.
In order to ensure the safe implementation of the change, a user management system (UCM) needs to apply for obtaining information such as a user name and a password of a host system participating in the change. In addition, after the user name and the password of the host system are obtained, the user name and the password interact 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 process, execute host change, and receive execution information returned by the host system.
When the host change is executed, a job request is submitted to the host system according to the change implementation steps in the change flow, specifically, an 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 change execution information in real time, wherein the execution information comprises an execution result (such as whether the current job is executed successfully) and an execution condition (such as change execution progress). In addition, the tws (tivoli Workload scheduler) may be called to execute the host change according to the change flow.
As an embodiment of the present invention, 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 according to 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;
a file analyzing unit 103, configured to analyze the changed file to obtain a change list.
As an embodiment of the present invention, the change list 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 an embodiment of the present invention, as shown in fig. 13, the change flow module 20 includes:
a file uploading unit 201, configured to receive and analyze a process file uploaded by a user;
and a change template unit 202, configured to generate a change template according to the change type and the analyzed flow file.
As an 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 process; and calling an enterprise scheduling operation tool to execute host change and receiving execution information returned by the host system.
As 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 flow; sending the user name and the password to a host system corresponding to the host information; and executing host change according to the change implementation list, and receiving execution information returned by the host system.
Based on the same application concept as the host computer changing method, the invention also provides the host computer changing device. Because the principle of solving the problem of the host changing device is similar to that of the host changing method, the implementation of the host changing device can refer to the implementation of the host changing method, and repeated details are not repeated.
The invention automatically generates the corresponding change process by utilizing the change list, and automatically acquires the information of the host user name, the password and the like, thereby realizing the automatic and high-efficiency implementation of the whole process of the host change, simplifying the process of change handover, and improving the automation, the real-time property and the correctness of the process of the change implementation.
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, wherein the processor implements the 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: communication module 110, input unit 120, audio processing unit 130, display 160, power supply 170. It is noted that the electronic device 600 does not necessarily include all of the components shown in fig. 14; furthermore, the electronic device 600 may also comprise components not shown in fig. 14, which may be referred to in the prior art.
As shown in fig. 14, the central processor 100, sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, the central processor 100 receiving input and controlling 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 relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 100 may execute the program stored in the memory 140 to realize information storage or processing, etc.
The input unit 120 provides input to the cpu 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 to display an object to be displayed, such as an image or a character. The display may be, for example, an LCD display, but is not limited thereto.
The memory 140 may be a solid state memory such as Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 140 may also be some other type of device. Memory 140 includes buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application/function storage section 142, and the application/function storage section 142 is used to store application programs and function programs or a flow for executing the operation of the electronic device 600 by the central processing unit 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 portion 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 application, address book application, etc.).
The communication module 110 is a transmitter/receiver 110 that transmits and receives signals via an antenna 111. The 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, 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 receive audio input from the microphone 132 to implement general telecommunications functions. Audio processor 130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, an audio processor 130 is also coupled to the central processor 100, so that recording on the local can be enabled through a microphone 132, and so that sound stored on the local can be played through a speaker 131.
As will be appreciated by one skilled in the art, 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (16)

1. A host change method, the method comprising:
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, 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 which are returned by a user management system and correspond to the host information by sending a password acquisition request to the user management system;
and according to the change process, sending the user name and the password to a host system corresponding to the host information, executing host change, and receiving execution information returned by the host system.
2. The method of claim 1, wherein the receiving a change file returned by a server by sending a change acquisition request to the server, and parsing the change file to obtain a change list comprises:
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.
3. The method of claim 1, wherein the change list further comprises environmental information and time information.
4. The method of claim 3, further comprising: and splitting the change list into a plurality of change sub-lists according to the environment information or the time information.
5. The method of claim 1, wherein obtaining a change template that matches the change manifest based on the change type comprises:
receiving and analyzing a process file uploaded by a user;
and generating a change template according to the change type and the analyzed flow file.
6. The method according to claim 1, wherein the sending the user name and 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 change process, the user name and the password are sent to a host system corresponding to the host information;
and calling an enterprise scheduling operation tool to execute host change and receiving execution information returned by the host system.
7. The method according to claim 1, wherein the sending the user name and 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 further includes:
generating a change implementation list according to the change flow;
sending the user name and the password to a host system corresponding to the host information;
and executing host change according to the change implementation list, and receiving execution information returned by the host system.
8. A host change apparatus, comprising:
the change list module is used for sending a change acquisition request to a server, receiving a change file returned by the server, 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 using the change template and the change list;
the user password module is used for sending a password acquisition request to a user management system and receiving a user name and a password which are returned by the user management system and correspond to the host information;
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 process, executing host change and receiving execution information returned by the host system.
9. The apparatus of claim 8, wherein the change list module comprises:
a request sending unit, configured to send a change acquisition request to a server according to a preset time interval;
a change file unit, configured to receive a change file returned by the server after analyzing the change acquisition request;
and the file analysis unit is used for analyzing the changed file to obtain a change list.
10. The apparatus of claim 8, wherein the change list further comprises environmental information and time information.
11. The apparatus of claim 10, further comprising 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.
12. The apparatus of claim 8, wherein the change flow module comprises:
the file uploading unit is used for receiving and analyzing the process file uploaded by the user;
and the change template unit is used for generating a change template according to the change type and the analyzed flow file.
13. The apparatus of claim 8, wherein the change performing module comprises a TWS performing unit, configured to send the user name and the password to a host system corresponding to the host information according to the change process; and calling an enterprise scheduling operation tool to execute host change and receiving execution information returned by the host system.
14. The apparatus according to claim 8, wherein the change execution module further comprises a platform execution unit configured to generate a change implementation list according to the change flow; sending the user name and the password to a host system corresponding to the host information; and executing host change according to the change implementation list, and receiving execution information returned by the host system.
15. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 7 when executing the program.
16. 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 7.
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 true CN112053132A (en) 2020-12-08
CN112053132B 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)

Cited By (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

Cited By (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

Also Published As

Publication number Publication date
CN112053132B (en) 2024-05-28

Similar Documents

Publication Publication Date Title
CN112783793B (en) Automatic interface test system and method
CN111522728A (en) Method for generating automatic test case, electronic device and readable storage medium
CN112053132A (en) Host changing method and device
CN114897511A (en) Service flow scheduling processing method and system based on RPA technology
CN111324480A (en) Large host transaction fault positioning system and method
JP2013030036A (en) Process control system, process control method, program, and process control device
CN111767205A (en) Online detection method and system supporting task splitting
CN108900497B (en) Data synchronization method and system between heterogeneous systems
CN113163014B (en) Data transmission method, server and data transmission system
CN113934710B (en) Data acquisition method and device
KR102315428B1 (en) Method and apparatus for managing project using merging data
CN114637688A (en) Coverage rate statistical method and device based on version branches
CN110838006B (en) Test system for universal device
CN115878448A (en) Database test method, distributed database and storage medium
CN113240384A (en) Salary statistical accounting method and device
CN113127370A (en) Report system smoking test method, RPA robot and system
CN107392415B (en) Telecommunication salesman portrait information processing method and device based on big data
CN110689326A (en) Supplier information auditing and recommending method
CN113298538B (en) Customer service data processing method and device
KR102315432B1 (en) Method and apparatus for managing project using data pointer
KR102315433B1 (en) Method and apparatus for managing project using setting of cost payment time
KR102315397B1 (en) Method and apparatus for managing project using filtering data
CN113556269B (en) SAP client performance test method, system, electronic equipment and storage medium
CN107678802A (en) The realization of Tool integration automation and dispositions method
CN109214659B (en) Accounting trigger device

Legal Events

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