A method and device for installing a host version
By generating and overwriting predefined empty jobs, the host version installation is automated, and the problems of waste of manpower and material resources and waste of communication and collaboration time are solved, and downtime is shortened.
Patent Information
- Application Number
- CN202111250775.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-26
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2041-10-26
AI Technical Summary
There is a lot of waste of manpower and material resources during the installation process of the host version, and there is a waste of time for communication and cooperation between deployment and installation personnel in various professional directions, making it difficult to achieve automated installation.
The initial version installation job is generated by pre-creating multiple job names and their corresponding empty jobs, and scripts that indicate the order of job execution. When the user uploads the installation job, overwrite the corresponding empty job to generate the target version installation job and realize automatic installation.
It reduces communication and cooperation among deploying installers in various professional directions, simplifies the installation process, saves manpower and material resources, automates the installation of the host version, and shortens downtime.
Smart Images

Figure CN113986265B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and more specifically, to a method and device for installing a host version. Background Art
[0002] The downtime of the host version production directly affects the external service duration of the device, so the production time is very precious. The production manuals for each professional direction of the host version involve numerous operation steps, and there is inevitably a problem of time waste in the connection and cooperation between the deployment and installation personnel in each professional direction.
[0003] Therefore, how to automate the installation of the host version and reduce manpower and material resources has become an urgent technical problem to be solved. Summary of the Invention
[0004] This application provides a method and device for installing a host version, aiming to automate the installation of the host version and save manpower and material resources.
[0005] On the one hand, this application provides a method for installing a host version, including: generating a plurality of job names and a plurality of empty jobs corresponding to the plurality of job names; generating a job execution sequence script, the job execution sequence script includes the plurality of job names, and the job execution sequence script is used to indicate the execution order of the jobs corresponding to the plurality of job names; based on the plurality of empty jobs and the job execution sequence script, generating an initial version installation job, the initial version installation job is obtained by connecting the plurality of empty jobs in the execution order; obtaining at least one installation job uploaded by the user, the at least one installation job is used for the installation of the host version, and each installation job of the at least one installation job corresponds to one of the plurality of empty jobs, and each installation job has the same job name as the corresponding empty job; based on the at least one installation job, updating the initial version installation job, so that at least one empty job in the initial version installation job that has the same job name as the at least one installation job is overwritten, and a target version installation job is obtained.
[0006] Based on the above solution, an initial version installation job is obtained through a plurality of pre-generated jobs and their job names and a job execution sequence script for indicating the execution order of the jobs corresponding to the plurality of job names. When the user uploads an installation job, the installation job uploaded by the user overwrites the empty job with the same name, and a target version installation job is obtained. In this way, when the job execution sequence script runs, the installation job can be executed according to the execution order of the jobs in the execution sequence script. Therefore, the communication and cooperation between the deployment and installation personnel in each professional direction can be reduced, it is simple and easy to implement, manpower and material resources can be saved, which is conducive to automating the installation of the host version, and the downtime can be reduced.
[0007] Optionally, the multiple job names belong to multiple specialties.
[0008] Optionally, the multiple specialties include a database management system, task scheduling, a customer information control system, or a host program.
[0009] Optionally, in the job execution order, the job corresponding to the job name with the specialty of the database management system is before the jobs corresponding to the job names of other specialties.
[0010] Optionally, the job name includes the specialty name and a serial number, and the serial number is used to indicate the execution order of the corresponding job among multiple jobs in the specialty to which it belongs.
[0011] Optionally, generating a job execution order script includes: generating the job execution order script according to the specialty name and serial number in the multiple job names.
[0012] Optionally, generating multiple job names and multiple empty jobs corresponding to the multiple job names includes: generating multiple job names belonging to the selected specialty name according to the specialty name selected by the user; generating the corresponding multiple empty jobs based on the multiple job names.
[0013] Optionally, generating multiple job names belonging to the selected specialty name according to the specialty name selected by the user includes: generating multiple job names of the specialty name according to the specialty name selected by the user and a quantity threshold, and the quantity of the multiple job names is not less than the quantity threshold.
[0014] Optionally, the method further includes: executing the target version installation job.
[0015] In a second aspect, the present application provides a host version installation device, and the device is used to implement the method in the first aspect and any possible implementation manner in the first aspect.
[0016] In a third aspect, the present application provides a host version installation device, and the device includes a processor. The processor is coupled to a memory and can be used to execute a computer program in the memory to implement the method in the first aspect and any possible implementation manner in the first aspect.
[0017] Optionally, the device in the third aspect further includes a memory.
[0018] Optionally, the device in the third aspect further includes a communication interface, and the processor is coupled to the communication interface.
[0019] Fourthly, this application provides a chip system, which includes at least one processor for supporting the implementation of the functions involved in the above-mentioned first aspect and any possible implementation manner of the first aspect. For example, receiving or processing the data involved in the above method, etc.
[0020] In a possible design, the chip system further includes a memory for storing program instructions and data, and the memory is located inside or outside the processor.
[0021] The chip system may be composed of chips or may include chips and other discrete devices.
[0022] Fifthly, this application provides a computer-readable storage medium, on which a computer program (which may also be referred to as code or instruction) is stored. When the computer program is run by a processor, the methods in the above-mentioned first aspect and any possible implementation manner of the first aspect can be implemented.
[0023] Sixthly, this application provides a computer program product, which includes a computer program (which may also be referred to as code or instruction). When the computer program is run, the methods in the above-mentioned first aspect and any possible implementation manner of the first aspect can be implemented.
[0024] It should be understood that the technical solutions of the second to sixth aspects of this application correspond to the technical solution of the first aspect of this application, and the beneficial effects obtained by each aspect and the corresponding feasible implementation manners are similar, and will not be elaborated here. Description of the Drawings
[0025] Figure 1 is a schematic flowchart of a host version installation method provided by an embodiment of this application;
[0026] Figure 2 is a schematic diagram of the execution order of a null job provided by an embodiment of this application;
[0027] Figure 3 is a schematic diagram of the execution order of a null job and an installation job provided by an embodiment of this application;
[0028] Figure 4 is a schematic block diagram of a host version installation device provided by an embodiment of this application;
[0029] Figure 5 is a schematic block diagram of another host version installation device provided by an embodiment of this application. Detailed Embodiments
[0030] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0031] To facilitate understanding of the embodiments of the present application, the terms related to the present application will be introduced first below.
[0032] Job Control Language (JCL): Job Control Language can refer to an ordered set of various control commands or control statements used to achieve the organization and management of jobs. It is mainly used to execute job programs and control the execution order of job programs.
[0033] Empty job: An empty job can refer to a job without actual version installation content. Running an empty job is equivalent to running without doing anything. The empty jobs involved in the present application can be written in JCL language.
[0034] Install job: An install job can refer to a job with actual version installation content. The install jobs involved in the present application can be written in JCL language.
[0035] Relational Database Management System (RDBMS): A relational database management system can refer to a set of programs (database management system software) including an interrelated logical organization and accessing these data. Common relational database management system products include Oracle, DB2, and Structured Query Language (SQL) Server (SQL Server), etc.
[0036] Task scheduling: Task scheduling is an important part of an operating system. For a real-time operating system, task scheduling directly affects its real-time performance. The task scheduling software involved in the present application can include Tivoli Workload Scheduler (which can be abbreviated as TWS), etc.
[0037] Customer Information Control System (CICS): CICS is a series of products that provide online transaction processing and transaction management for applications. Its function is to provide a transaction processing environment for commercial applications, helping customers build three-tier online transaction processing applications. CICS effectively distinguishes the presentation logic layer, business logic layer, and data logic layer in the application system, making the application system structure clear and easy to maintain.
[0038] Mainframe Program (PROG): It can include online programs, batch programs, etc.
[0039] The downtime of the mainframe version during production is directly related to the external service duration of the device, so the production time is very precious. The production manuals for each professional direction of the mainframe version involve numerous operation steps, and there is inevitably a waste of time in the connection and cooperation between the deployment and installation personnel in each professional direction. Therefore, how to automate the installation of the mainframe version and reduce human and material resources has become a technical problem to be solved urgently.
[0040] To solve the above problems, this application provides a mainframe version installation method and device. By pre-generating multiple empty jobs, their job names, and a job execution order script for indicating the execution order of the jobs corresponding to the multiple job names, an initial version installation job can be obtained. When the user uploads an installation job, the uploaded installation job by the user is used to overwrite the empty job with the same name, obtaining a target version installation job. In this way, when the job execution order script runs, the installation job can be executed according to the execution order of the jobs in the execution order script. Therefore, it is possible to reduce the communication and cooperation between the deployment and installation personnel in each professional direction, is simple and easy to implement, saves human and material resources, which is conducive to automating the installation of the mainframe version and can reduce the downtime.
[0041] Next, the mainframe version installation method and device provided by this application will be described in detail with reference to the accompanying drawings.
[0042] Figure 1 It is a schematic flowchart of a mainframe version installation method provided by an embodiment of this application. As Figure 1 shown, the mainframe version installation method 100 includes step 101 and step 105. The following will elaborate on each step in method 100.
[0043] In step 101, the computer generates multiple job names and multiple empty jobs corresponding to the multiple job names.
[0044] The multiple job names can correspond one by one to multiple empty jobs, each empty job having a job name, and the job names of the respective empty jobs being different from each other.
[0045] The user can select or input a predefined professional name on the page, and the computer can generate multiple job names corresponding to this professional name and multiple empty jobs corresponding to these multiple job names according to the professional name selected or input by the user.
[0046] In a possible implementation, the multiple job names belong to multiple majors.
[0047] That the multiple job names belong to multiple majors can also be understood as that the multiple job names can be job names belonging to multiple majors.
[0048] The multiple majors and the professional names corresponding to the multiple majors can include but are not limited to: database management system, task scheduling, customer information control system, or host program, etc.
[0049] It should be understood that the above professional names can be replaced with similar or approximate professional names, and this application makes no limitation thereto. For example, "database management system" can also be replaced with "relational database management system" or "BD2", etc.; "task scheduling" can be replaced with "TWS", etc.; "customer information control system" can be replaced with its English abbreviation "CICS" or other customer information control systems; the host program can be replaced with its abbreviation "PGOG".
[0050] Among the multiple job names and the corresponding multiple empty jobs generated in step 101, the multiple job names correspond to different majors. For example, if the professional names selected by the user are DB2 and TWS, the computer can generate multiple empty jobs with job names related to DB2 and multiple empty jobs with job names related to TWS. In this case, the job names corresponding to the multiple generated empty jobs belong to two different majors.
[0051] It should also be understood that the multiple majors are predefined, and the user can select which majors' empty jobs to generate from these predefined multiple majors.
[0052] In a possible implementation, step 101 specifically includes: the computer generates multiple job names belonging to the professional name according to the professional name selected by the user; and generates the corresponding multiple empty jobs based on the multiple job names.
[0053] For example, assuming the professional name selected by the user is DB2, the computer can first generate multiple job names according to the professional name DB2 selected by the user, and then generate multiple empty jobs corresponding to these multiple professional names based on these multiple job names.
[0054] It should be understood that the computer can also generate the job names and their corresponding empty jobs according to the professional names selected by the user. The present application does not limit the specific implementation manner.
[0055] Optionally, in the above implementation manner, the user can further set the number of job names under each major. That is, the generating of multiple job names belonging to the selected professional name by the computer may further include: generating multiple job names of the professional name according to the selected professional name by the user and a quantity threshold, and the number of the multiple job names is not less than the quantity threshold.
[0056] In this possible implementation manner, assuming that the professional name selected by the user is DB2, and the value of the selected or input quantity threshold is 123, the computer can first generate up to 123 job names according to the professional name DB2 selected by the user, and then, based on these 123 job names, generate 123 empty jobs belonging to the major of DB2 corresponding to these 123 job names. Of course, the computer can also generate more than 123 job names and the empty jobs corresponding to these job names.
[0057] The number of multiple job names is not less than the quantity threshold, which can be understood as that no matter what the value of the quantity threshold input by the user is, the number of the empty jobs corresponding to the professional name generated is at least the value of this quantity threshold, that is, the number of the empty jobs corresponding to this major generated is greater than or equal to the quantity threshold input by the user.
[0058] It should be understood that the user can select one or more professional names, and the computer can generate multiple job names and their corresponding empty jobs respectively based on each professional name.
[0059] It should also be understood that the empty jobs can be generated in batches. It should also be understood that the number of the empty jobs of each major generated is based on the user's selection or input. Therefore, before the user wants to generate the empty jobs, the user should consider how many installation jobs each major may need, and the number of the empty jobs of each major generated should be greater than or equal to the number of installation jobs required by each major. Of course, the number of the empty jobs of each major can be a lot, and the present application does not limit this.
[0060] The empty jobs generated by the computer can be stored in the program library. It should be understood that the program library can be understood as a storage space in the memory of the computer dedicated to storing the host version installation program.
[0061] In step 102, the computer generates a job execution order script.
[0062] The job execution sequence script may include multiple job names generated in step 101, or rather, the job execution sequence script is generated based on the multiple job names generated in step 101. The job execution sequence script can be used to indicate the execution sequence of the jobs corresponding to these multiple job names. When the computer generates the job execution sequence script, it is equivalent to fixing the execution sequence of the jobs corresponding to the multiple job names included therein.
[0063] Optionally, when the empty job belongs to multiple specialties, in the job execution sequence indicated by the previously generated job execution sequence script, the job corresponding to the job name of the specialty of the database management system is before the jobs corresponding to the job names of other specialties.
[0064] It should be understood that there may be a front-back dependency relationship between specialties. By way of example and not limitation, the data table structure is the basis of a system or application, so the installation jobs related to the database management system must be put into production first. Therefore, the jobs related to the database management system should be ranked at the forefront of the job execution sequence, that is, the job corresponding to the job name of the specialty of the database management system is before the jobs corresponding to the job names of other specialties. Another example is that the host program involves the binding and online definition of the database query language, so the installation jobs related to the host program must be put into production last. Therefore, the installation jobs related to the host program can be ranked at the end of the job execution sequence. Additionally, for another example, there may be no dependency relationship between task scheduling and the customer information control system. Therefore, the jobs related to task scheduling can be before the jobs related to the customer information control system, or the jobs related to the customer information control system can be before the jobs related to task scheduling.
[0065] It should also be understood that the execution sequence of the jobs of each specialty can be preset. Exemplarily, the execution sequence of the jobs of each specialty can be: DB2 → TWS → CICS → PROG, or the execution sequence of the jobs of each specialty can be: DB2 → CICS → TWS → PROG.
[0066] In a possible implementation manner, the job name may include a specialty name and a serial number, where the serial number can be used to represent the execution sorting of the corresponding job among the multiple jobs of the affiliated specialty.
[0067] For example, the computer generates 123 DB2 empty jobs, and the name of one of the empty jobs is "DB2005". The "DB2" in front of this job name can indicate that this job belongs to the specialty DB2, and the serial number "005" behind can indicate that the job corresponding to the name "DB2005" among these 123 DB2 empty jobs can be the 5th to execute.
[0068] For another example, the computer generates 123 DB2 empty jobs and 456 TWS empty jobs. Among them, the name of one empty job is "TWS006". The "TWS" in front of this job name can indicate that this job belongs to the professional TWS, and the serial number "006" behind can indicate that among these 456 TWS empty jobs, this job named "TWS006" can be executed sixth.
[0069] Assume that the preset execution order of each specialty is: DB2 → TWS → CICS → PROG. Then, this empty job named "TWS006" can be the 129th (i.e., 123 + 6) to be executed among these 579 (i.e., 123 + 456) empty jobs.
[0070] Further, in the case where an empty job belongs to multiple specialties, the foregoing script for generating the job execution order may include: generating a script for the job execution order according to the specialty names and serial numbers in the above-mentioned multiple job names.
[0071] Since there is no actual version installation content in the empty job, the job execution order script can be directly generated according to the specialty name and serial number in the job name. Assume that the computer generates 123 DB2 empty jobs, 456 TWS empty jobs, 178 CISC empty jobs, and 189 PROG empty jobs. Then, the execution order of these empty jobs indicated in the execution order script can be as Figure 2 shown.
[0072] It should be understood that Figure 2 the execution order of the empty jobs shown in Figure 2 is generated on the basis that the preset execution order of each specialty is: DB2 → TWS → CICS → PROG. It should also be understood that
[0073] In step 103, the computer generates an initial version installation job based on multiple empty jobs and the job execution order script.
[0074] The initial version installation job can be obtained by concatenating multiple empty jobs generated in step 101 according to the execution order of the jobs indicated in the job execution order script in step 102.
[0075] As mentioned above, an empty job can refer to a job without actual version installation content. Running an empty job is equivalent to running empty. Since the initial version installation job is obtained by concatenating multiple empty jobs according to the execution order of the jobs indicated in the execution order script, running the initial version installation job is also equivalent to running empty and has no actual installation job content.
[0076] In step 104, the computer obtains at least one installation job uploaded by the user.
[0077] When the user needs to install a new host version, the installation jobs to be executed can be uploaded to the computer for the installation of the host version. It can be understood that the installation jobs uploaded by the user can be one or more.
[0078] Corresponding to the empty jobs, the installation jobs can refer to jobs with actual version installation content.
[0079] In the embodiments of the present application, each of the at least one installation job uploaded by the user generally corresponds to one of the multiple empty jobs generated in step 101, and each installation job has the same job name as the corresponding empty job. In other words, the job names of the at least one installation job uploaded by the user can be a subset of the multiple pre-generated job names. Or rather, the at least one installation job uploaded by the user corresponds to some or all of the empty jobs in the initial version installation job.
[0080] It should be understood that the installation jobs uploaded by the user can also be stored in the program library.
[0081] It should be noted that if the name of the installation job previously written by the user (such as a programmer) is different from the name of any of the multiple empty jobs, before uploading this installation job, the user can determine the execution order of this installation job according to the function or actual installation content of this installation job, and then according to this execution order, modify the name of this installation job to be the same as the name of a certain empty job with the same execution order among the multiple empty jobs, and then upload this installation job. In this way, after this installation job is uploaded, the empty job with the same name can be overwritten in step 105.
[0082] In step 105, the computer updates the initial version installation job based on the at least one installation job to obtain the target version installation job.
[0083] The computer can match each installation job uploaded by the user with the job names of the empty jobs in the initial version installation job, and replace the empty job with the same job name with the installation job, so that at least one empty job in the initial version installation job with the same job name as the at least one installation job is overwritten, and the target version installation job is obtained.
[0084] It should also be understood that since the installation jobs uploaded by the user may correspond to some of the empty jobs in the initial version installation job, the target version installation job includes multiple installation jobs, and the installation jobs have actual version installation content, so running the target version installation job can execute the actual installation job content.
[0085] Optionally, the above method further includes: performing a target version installation job.
[0086] It should be understood that the target version installation job includes the installation jobs uploaded by the user and also includes some empty jobs not covered by the installation jobs. Therefore, when performing the target version installation job, when an installation job is encountered, the actual version installation content is executed, and when an empty job is encountered, the empty job is directly run. It should also be understood that the empty job runs extremely fast and the time can be almost ignored. Therefore, the number of empty jobs included in the target version installation job does not affect the execution time of the target version installation job.
[0087] The execution order of the jobs in the target version installation job can be as Figure 3 shown, where the black part can represent the installation jobs uploaded by the user, and the white part can represent the empty jobs not covered by the installation jobs. It should be understood that Figure 3 is only an example and should not impose any limitation on the present application.
[0088] Figure 4 is a schematic block diagram of a host version installation device provided by an embodiment of the present application. As Figure 4 shown, the host version installation device 400 may include: an empty job generation module 410 and an installation job upload module 420. Among them, the empty job generation module 410 may be used to generate a plurality of job names and a plurality of empty jobs corresponding to the plurality of job names; generate a job execution order script, the job execution order script includes the plurality of job names, and the job execution order script is used to indicate the execution order of the jobs corresponding to the plurality of job names; based on the plurality of empty jobs and the job execution order script, generate an initial version installation job, and the initial version installation job is obtained by concatenating the plurality of empty jobs in the execution order. The installation job upload module 420 may be used to obtain at least one installation job uploaded by the user, the at least one installation job is used for the installation of the host version, and each installation job of the at least one installation job corresponds to one of the plurality of empty jobs, and each installation job has the same job name as the corresponding empty job; based on the at least one installation job, update the initial version installation job so that at least one empty job in the initial version installation job having the same job name as the at least one installation job is overwritten to obtain a target version installation job.
[0089] Optionally, the plurality of job names belong to a plurality of specialties.
[0090] Optionally, the plurality of specialties include a database management system, task scheduling, a customer information control system, or a host program.
[0091] Optionally, in the job execution order, the job corresponding to the job name of the specialty of the database management system is before the jobs corresponding to the job names of other specialties.
[0092] Optionally, the job name includes the specialty name and a serial number, and the serial number is used to indicate the execution order of the corresponding job among multiple jobs of the affiliated specialty.
[0093] Optionally, the empty job generation module 410 can specifically also be used to generate the job execution order script according to the specialty name and serial number in the multiple job names.
[0094] Optionally, the empty job generation module 410 can specifically also be used to generate multiple job names belonging to the selected specialty name according to the selected specialty name by the user; and generate the corresponding multiple empty jobs based on the multiple job names.
[0095] Optionally, the empty job generation module 410 can specifically also be used to generate multiple job names of the specialty name according to the selected specialty name and the quantity threshold by the user, and the quantity of the multiple job names is not less than the quantity threshold.
[0096] Optionally, the installation job upload module 420 can also be used to execute the target version installation job.
[0097] It should be understood that the division of modules in the embodiments of the present application is illustrative, merely a logical function division, and there may be other division methods in actual implementation. In addition, in each embodiment of the present application, the various functional modules can be integrated in one processor, can also exist separately physically, or two or more modules can be integrated in one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
[0098] Figure 5 It is a schematic block diagram of another host version installation device provided by the embodiments of the present application. The host version installation device 500 can be used to implement the functions of a computer with the host version installation system in the above method deployed. The device can be a chip system. In the embodiments of the present application, the chip system can be composed of chips, or can include chips and other discrete devices.
[0099] As Figure 5 shown, the host version installation device 500 can include at least one processor 510, which is used to implement the functions of the computer in the method provided by the embodiments of the present application.
[0100] Exemplarily, when the host version installation device 500 is used to implement the host version installation method provided in the embodiments of the present application, the processor 510 may be used to generate a plurality of job names and a plurality of empty jobs corresponding to the plurality of job names; generate a job execution order script, the job execution order script includes the plurality of job names, and the job execution order script is used to indicate the execution order of the jobs corresponding to the plurality of job names; based on the plurality of empty jobs and the job execution order script, generate an initial version installation job, the initial version installation job is obtained by concatenating the plurality of empty jobs in the execution order; obtain at least one installation job uploaded by the user, the at least one installation job is used for installing the host version, and each installation job of the at least one installation job corresponds to one of the plurality of empty jobs, and each installation job has the same job name as the corresponding empty job; based on the at least one installation job, update the initial version installation job, so that at least one empty job in the initial version installation job that has the same job name as the at least one installation job is overwritten, and a target version installation job is obtained. For specific details, please refer to the detailed description in the method example, which will not be elaborated here.
[0101] The host version installation device 500 may further include at least one memory 520, which can be used to store empty jobs, installation jobs, and / or job execution order scripts, etc. The memory 520 is coupled to the processor 510. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units, or modules, which can be electrical, mechanical, or other forms, and is used for information interaction between devices, units, or modules. The processor 510 may cooperate with the memory 520. The processor 510 may execute program instructions stored in the memory 520. At least one of the at least one memories may be included in the processor.
[0102] The host version installation device 500 may further include a communication interface 530, which is used to communicate with other devices through a transmission medium, so that the devices in the host version installation device 500 can communicate with other devices. The communication interface 530 may be, for example, a transceiver, an interface, a bus, a circuit, or a device capable of implementing a transceiver function. The processor 510 may use the communication interface 530 to send and receive data and / or information, and is used to implement Figure 1 the method executed by the computer described in the corresponding embodiment.
[0103] In the embodiments of the present application, the specific connection medium between the above-mentioned processor 510, memory 520, and communication interface 530 is not limited. In the embodiments of the present application Figure 5 it is connected by a bus 540 between the processor 510, the memory 520, and the communication interface 530. The bus 540 is in Figure 5The middle part is represented by a thick line. The connection manners between other components are only for illustrative purposes and are not limited thereto. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 5 only a thick line is used in the middle part, but it does not mean that there is only one bus or one type of bus.
[0104] This application also provides a chip system, which includes at least one processor for implementing the Figure 1 functions involved in the method executed by the computer in the embodiment shown above.
[0105] In a possible design, the chip system further includes a memory for storing program instructions and data, and the memory is located inside or outside the processor.
[0106] The chip system can be composed of chips or can include chips and other discrete devices.
[0107] This application also provides a computer program product, which includes: a computer program (which can also be called code or instruction). When the computer program is run, it enables the computer to execute the Figure 1 method of the embodiment shown above.
[0108] This application also provides a computer-readable storage medium, which stores a computer program (which can also be called code or instruction). When the computer program is run, it enables the computer to execute the Figure 1 method of the embodiment shown above.
[0109] It should be understood that the processor in the embodiments of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiments may be completed by the integrated logic circuit in the hardware of the processor or by instructions in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the steps of the above method.
[0110] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and directrambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include but not be limited to these and any other suitable types of memory.
[0111] The terms "unit", "module", etc. used in this specification may be used to represent computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution.
[0112] Those of ordinary skill in the art will realize that the various illustrative logical blocks and steps described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of this application. In several embodiments provided in this application, it should be understood that the disclosed devices, equipment, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the couplings or direct couplings or communication connections shown or discussed with each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0113] The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0114] In addition, the functional units in each embodiment of this application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0115] In the above embodiments, the functions of each functional unit can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (programs). When the computer program instructions (programs) are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that the computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid state disk (SSD)), etc.
[0116] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs that can store program codes.
[0117] As described above, the above are only the specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, and all of them should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for installing a host version, characterized in that, the method includes: generating a plurality of job names and a plurality of empty jobs corresponding to the plurality of job names, where an empty job refers to a job without actual version installation content; generating a job execution order script, which includes the plurality of job names and is used to indicate the execution order of the jobs corresponding to the plurality of job names; generating an initial version installation job based on the plurality of empty jobs and the job execution order script, where the initial version installation job is obtained by concatenating the plurality of empty jobs in the execution order; obtaining at least one installation job uploaded by a user, where the at least one installation job is used for installing the host version, and each installation job of the at least one installation job corresponds to one of the plurality of empty jobs, and each installation job has the same job name as the corresponding empty job; updating the initial version installation job based on the at least one installation job, so that at least one empty job in the initial version installation job that has the same job name as the at least one installation job is overwritten, obtaining a target version installation job.
2. The method according to claim 1, characterized in that, the plurality of job names belong to a plurality of specialties.
3. The method according to claim 2, characterized in that, the plurality of specialties include a database management system, task scheduling, a customer information control system or a host program.
4. The method according to claim 3, characterized in that, in the job execution order, the job corresponding to the job name of the specialty being the database management system is before the jobs corresponding to the job names of other specialties.
5. The method according to any one of claims 2 to 4, characterized in that, the job name includes a specialty name and a serial number, and the serial number is used to represent the execution sorting of the corresponding job among the plurality of jobs in the specialty to which it belongs.
6. The method according to claim 5, characterized in that, generating the job execution order script includes: generating the job execution order script according to the specialty name and serial number in the plurality of job names.
7. The method according to claim 5, characterized in that, generating a plurality of job names and a plurality of empty jobs corresponding to the plurality of job names includes: generating a plurality of job names belonging to the selected specialty name according to the specialty name selected by the user; generating the corresponding plurality of empty jobs based on the plurality of job names.
8. The method according to claim 7, characterized in that, generating a plurality of job names belonging to the selected specialty name according to the specialty name selected by the user includes: generating a plurality of job names of the specialty name according to the specialty name selected by the user and a quantity threshold, and the number of the plurality of job names is not less than the quantity threshold.
9. The method according to claim 1, characterized in that, the method further includes: executing the target version installation job.
10. A host version installation device, characterized in that, the device is used to implement the method according to any one of claims 1 to 9.
11. A host version installation device, Characterized in that, It includes a processor, and the processor executes computer execution instructions to implement the method described in any one of claims 1 to 9.
12. A computer-readable storage medium, Characterized in that, It includes a computer program, and when the computer program runs on a computer, it causes the computer to execute the method described in any one of claims 1 to 9.
13. A computer program product, Characterized in that, It includes a computer program, and when the computer program is run, it causes the computer to execute the method described in any one of claims 1 to 9.
Citation Information
Patent Citations
Terminal task scheduling method, terminal equipment and computer storage medium
CN113254185A
Job operational management system
JP2000194576A