CN112162756A - Deployment method and device of software product, computer equipment and storage medium - Google Patents

Deployment method and device of software product, computer equipment and storage medium Download PDF

Info

Publication number
CN112162756A
CN112162756A CN202010982152.1A CN202010982152A CN112162756A CN 112162756 A CN112162756 A CN 112162756A CN 202010982152 A CN202010982152 A CN 202010982152A CN 112162756 A CN112162756 A CN 112162756A
Authority
CN
China
Prior art keywords
deployment
steps
software product
information
similar characteristics
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
CN202010982152.1A
Other languages
Chinese (zh)
Other versions
CN112162756B (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.)
Wuhan United Imaging Healthcare Co Ltd
Original Assignee
Wuhan United Imaging Healthcare Co Ltd
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 Wuhan United Imaging Healthcare Co Ltd filed Critical Wuhan United Imaging Healthcare Co Ltd
Priority to CN202010982152.1A priority Critical patent/CN112162756B/en
Publication of CN112162756A publication Critical patent/CN112162756A/en
Application granted granted Critical
Publication of CN112162756B publication Critical patent/CN112162756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Abstract

The application relates to a deployment method, a deployment device, a computer device and a storage medium of a software product. The deployment steps with similar characteristics in the deployment information are obtained by obtaining the deployment step deployment information of the target software product, which comprises the deployment target software product, and analyzing the deployment information, and then the target software product is deployed according to the deployment information, and the deployment steps with similar characteristics are deployed in a parallel mode. The deployment time of the software product is greatly shortened, and therefore the automatic deployment efficiency of the software is effectively improved.

Description

Deployment method and device of software product, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for deploying a software product, a computer device, and a storage medium.
Background
With the development of information technology, more and more software products are emerging. In general, when a software product is released, in order to improve the software development process, the standard flow includes: continuous Integration (Continuous Integration), Continuous delivery (Continuous delivery), and Continuous deployment (Continuous deployment).
The automatic installation and automatic configuration of software are very important rings in the implementation of the continuous behavior in the standard process on the ground; whether in a test environment or a production environment, the efficiency of the 'continuous' behavior in the standard flow can be improved by rapidly realizing the automatic deployment of the software. In the prior art, when software is deployed, the software products are deployed in a complete order, that is, the software products are deployed one by one in the deployment order.
However, the deployment efficiency of the prior art software is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, and a storage medium for deploying a software product, which can improve the efficiency of deploying the software product.
In a first aspect, an embodiment of the present application provides a method for deploying a software product, where the method includes:
acquiring deployment information of a target software product; the deployment information comprises a deployment step of deploying the target software product;
analyzing the deployment information, and acquiring deployment steps with similar characteristics in the deployment information;
deploying the target software product according to the deployment information; wherein, the deployment steps with similar characteristics adopt a parallel mode for deployment.
In one embodiment, the deployment information includes subsystems to be deployed in the target software product, and each subsystem includes a respective deployment step;
the deployment step of obtaining deployment information with similar characteristics includes:
and acquiring deployment steps with similar characteristics among subsystems.
In one embodiment, the step of deploying with similar features includes one or more groups;
the step of acquiring the deployment with similar features among the subsystems includes:
analyzing the characteristics of each deployment step in each subsystem;
and acquiring one or more groups of deployment steps with similar characteristics according to the analysis result of the characteristics.
In one embodiment, the deploying the target software product according to the deployment information includes:
acquiring the deployment sequence of each deployment step in the deployment information;
determining a first deployment node with similar characteristics of deployment steps according to a deployment sequence;
and deploying the target software product according to the deployment sequence of each deployment step and the first deployment node.
In one embodiment, the deploying the target software product according to the deployment order of the deployment steps and the deployment node having deployment steps with similar characteristics includes:
acquiring a second deployment node of the deployment steps except the deployment steps with similar characteristics in the deployment information;
and executing the deployment steps except the deployment steps with similar characteristics in the corresponding deployment information at the second deployment node, and executing the deployment steps with similar characteristics in parallel at the first deployment node to complete the deployment of the target software product.
In one embodiment, if there are multiple groups of deployment steps with similar features, each group of deployment steps with similar features corresponds to a first deployment node;
the parallel execution of the deployment steps with similar features at the first deployment node includes:
and executing a group of deployment steps with similar characteristics corresponding to the first deployment node in parallel at each first deployment node.
In one embodiment, the target software product is telemedicine information system software, the subsystems include a radiology department information management system, an image archiving and communication system, and an imaging system, and the deployment steps with similar features among the subsystems include: installing a database, operating a data script and copying a file to a corresponding directory;
the deployment steps with similar features are deployed in a parallel manner, including: when the telemedicine information system software is deployed, the steps of installing a database, running a data script and copying a file to a corresponding directory of each subsystem are executed in parallel in a multithreading mode respectively.
In one embodiment, the deployment steps with similar characteristics represent steps of a plurality of deployment steps that are identical in operational procedure or purpose.
In a second aspect, an embodiment of the present application provides an apparatus for deploying a software product, where the apparatus includes:
the acquisition module is used for acquiring the deployment information of the target software product; the deployment information comprises a deployment step of deploying the target software product;
the analysis module is used for analyzing the deployment information and acquiring the deployment steps with similar characteristics in the deployment information;
the deployment module is used for deploying the target software product according to the deployment information; wherein, the deployment steps with similar characteristics adopt a parallel mode for deployment.
In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps of any one of the methods provided in the embodiments of the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the methods provided in the embodiments of the first aspect.
According to the deployment method, the deployment device, the computer equipment and the storage medium of the software product, deployment information including deployment steps of deploying the target software product of the target software product is obtained, the deployment information is analyzed, deployment steps with similar characteristics in the deployment information are obtained, then the target software product is deployed according to the deployment information, and the deployment steps with similar characteristics are deployed in a parallel mode. By integrating the logic of executing the deployment steps in a complete sequence into the multithreading technology and executing the deployment steps with characteristics in a parallel mode, the deployment time of the software product is greatly shortened, and when the deployment process of the software product is more complex, the promotion effect is more obvious, so that the automatic deployment efficiency of the software is effectively promoted.
Drawings
FIG. 1 is a diagram of an application environment of a method for deploying a software product in one embodiment;
FIG. 2 is a flowchart illustrating a method for deploying a software product according to one embodiment;
FIG. 3 is a flowchart illustrating a method for deploying a software product according to another embodiment;
FIG. 4 is a flowchart illustrating a method for deploying a software product according to another embodiment;
FIG. 5 is a schematic diagram of a deployment of a software product in one embodiment;
FIG. 6 is a flowchart illustrating a method for deploying a software product according to another embodiment;
FIG. 7 is a flowchart of a method for deployment of a software product in one embodiment;
FIG. 8 is a block diagram showing the configuration of a deployment apparatus for a software product according to one embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The deployment method of the software product provided by the application can be applied to the application environment shown in fig. 1. The deployment method of the software product is applied to the computer device shown in fig. 1, where the computer device may be a server, and its internal structure is shown in fig. 1. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data related to the deployment of the software product. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of deploying a software product.
The embodiment of the application provides a deployment method and device of a software product, computer equipment and a storage medium, and can improve deployment efficiency of the software product. The following describes in detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems by embodiments and with reference to the drawings. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that, in the deployment method of a software product provided by the present application, the execution subjects of fig. 2 to fig. 7 are computer devices. The execution main bodies in fig. 2 to fig. 7 may also be a deployment apparatus of a software product, and the apparatus may be implemented as part of or all of a computer device by software, hardware, or a combination of software and hardware.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
In an embodiment, as shown in fig. 2, a deployment method of a software product is provided, which is described by taking an example that the method is applied to a computer device in fig. 1, where the embodiment relates to a specific process in which the computer device deploys a target software product by executing deployment steps with similar features in a parallel manner according to deployment steps with similar features in deployment information of the target software product, and the embodiment includes the following steps:
s101, acquiring deployment information of a target software product; the deployment information includes a deployment step of deploying the target software product.
Target software products refer to software products that currently need to be deployed, e.g., telemedicine information system software; the deployment information refers to information required for deploying the target software product, and includes, but is not limited to, a deployment step of deploying the target software product, deployment subsystem information, a deployment sequence, a deployment condition, a deployment location, and the like, which is not limited in this embodiment.
In practical applications, the manner for the computer device to obtain the deployment information of the target software product may be to receive information input by a user, or may be to call the computer device from a data repository in which the deployment information is already stored in advance, or the computer device requests a third-party device (for example, a server) to obtain the deployment information of the target software product.
And S102, analyzing the deployment information, and acquiring the deployment steps with similar characteristics in the deployment information.
After the deployment information is acquired, the computer device analyzes the deployment information to acquire deployment steps with similar characteristics in the deployment information, and optionally, the deployment steps with similar characteristics represent steps with the same operation process or operation purpose of a plurality of deployment steps; for example, the deployment information has a step of installing a database and running a data script in the first stage, and also has a step of installing a database and running a data script in the third stage, so that the step of installing a database in the first stage and the step of installing a database in the third stage belong to the deployment steps with specific similar characteristics, and the step of running a data script in the first stage and the step of running a data script in the third stage also belong to the deployment steps with specific similar characteristics. For example, the computer device analyzes specific contents of all steps existing in the deployment information, such as by analyzing an operation manner, an operation purpose, an operation process, and the like of each step, and determines whether a deployment step with specific similar characteristics exists in the deployment steps according to an analysis result. It is to be understood that the deployment steps with similar features obtained in this embodiment are one or more groups, and the number of the deployment steps with similar features is not limited.
The deployment steps with similar features may also be the deployment steps with similar features, which are considered to be the deployment steps with similar features if the similarity is greater than a preset similarity threshold. In actual application, the deployment steps with similar characteristics may be obtained by analysis before the deployment steps are executed, or the same or a same series of identifiers may be allocated to the deployment steps with similar characteristics in advance, and the computer device determines which deployment steps are the deployment steps with similar characteristics by using the identifiers. For example, typically during the deployment of a software system, deployment steps with similar characteristics include, but are not limited to: decompressing the installation package, copying the file to the specified directory, modifying the registry (under the Windows system), installing necessary components, such as the database, etc., starting the necessary components, and if necessary, preparing the relevant basic data, for example, flushing the corresponding version of the basic data (including metadata information and data information) into the database, installing or starting the corresponding service, etc., which is not limited in this embodiment.
S103, deploying the target software product according to the deployment information; wherein, the deployment steps with similar characteristics adopt a parallel mode for deployment.
Based on the obtained deployment steps with similar characteristics, the computer device deploys the target software product in combination with other information in the deployment information. When the computer equipment is deployed, the deployment steps with similar characteristics are deployed in a parallel mode.
Illustratively, the deploying step in the target software product comprises steps 1-10, wherein steps 1 and 5 are steps with similar characteristics, and steps 3, 7 and 10 are steps with similar characteristics; it should be noted here that step 1-step 10 may not be sequential steps in different phases or in the same subsystem, for example, step 1 to step 4 are steps in one subsystem of the target software product, and step 8-step 10 are steps in another subsystem; then, when the computer device deploys the target software product, step 1 and step 5 are executed in parallel at the same time when step 1 is executed, and similarly, step 3, step 7 and step 10 are also executed in parallel at the same time when step 3 is executed.
In the deployment method of the software product provided by this embodiment, the deployment steps with similar characteristics in the deployment information are obtained by obtaining the deployment information of the target software product, which includes the deployment steps for deploying the target software product, and analyzing the deployment information, and then the target software product is deployed according to the deployment information, and the deployment steps with similar characteristics are deployed in a parallel manner. By integrating the logic of executing the deployment steps in a complete sequence into the multithreading technology and executing the deployment steps with characteristics in a parallel mode, the deployment time of the software product is greatly shortened, and when the deployment process of the software product is more complex, the promotion effect is more obvious, so that the automatic deployment efficiency of the software is effectively promoted.
Typically, there are multiple subsystems in a software product, for example, telemedicine information system software includes subsystems: a radiology department information management system, an image archiving and communication system and an image system; for each subsystem in the software product, there is a corresponding deployment step. In one embodiment, if the deployment information includes subsystems to be deployed in the target software product, and each subsystem includes a respective deployment step; then, the step of acquiring the deployment information with similar characteristics includes: and acquiring deployment steps with similar characteristics among subsystems.
Illustratively, the target software product has a subsystem A, a subsystem B, a subsystem C and a subsystem D; each subsystem comprises deployment steps of firstly, secondly, thirdly, fourthly, fifthly and sixthly, and the computer equipment acquires the deployment steps with similar characteristics among the subsystem A, the subsystem B, the subsystem C and the subsystem D. Optionally, the deploying steps with similar features include one or more groups, and as shown in fig. 3, the acquiring the deploying steps with similar features between the subsystems includes:
s201, analyzing the characteristics of each deployment step in each subsystem.
S202, acquiring one or more groups of deployment steps with similar characteristics according to the analysis result of the characteristics.
Analyzing the characteristics of the deployment steps in each subsystem, such as the operation mode, the operation process, the operation purpose and the like of each step, obtaining an analysis result, comparing the analysis results of the deployment steps by the computer equipment, and determining the deployment steps with similar characteristics according to the analysis result, wherein the determined deployment steps with similar characteristics have one or more groups. For example, the subsystem a, the subsystem B, the subsystem C, and the subsystem D each have deployment steps of (i), (ii), (iii), (iv), (v), and (iv), and then the determined deployment steps having similar features may include: one group is A, B and D, one group is B, C and D, and the other group is A and C. The number of sets of deployment steps for similar features is not limited.
In the deployment method of the software product provided in this embodiment, when the software product has a plurality of subsystems, one or more groups of deployment steps with similar features between the subsystems may be obtained, and by determining that the plurality of groups have similar features, the deployment steps with similar features may be executed in a parallel manner, so that the software deployment time is shortened, and the software deployment efficiency is improved.
The following describes in detail a process of deploying a target software product by the computer device according to a specific embodiment.
In one embodiment, as shown in fig. 4, the step S103 includes the following steps:
s301, acquiring the deployment sequence of each deployment step in the deployment information.
For a software product, the deployment steps involved in deployment are sequential, e.g., installation of a database is performed before execution of a running data script. Alternatively, if each deployment step is in a plurality of subsystems, the determined deployment order of the deployment steps corresponds to each subsystem, for example, there are five steps in the subsystem a, which have a corresponding deployment order, and there are four steps in the subsystem B, which also have a corresponding deployment order.
S302, according to the deployment sequence, determining a first deployment node with similar characteristics in the deployment steps.
After the deployment sequence is determined, a node (i.e., a first deployment node) where the acquired deployment steps with similar steps are located is further determined, where the deployment node refers to a node in the deployment sequence.
For example, referring to fig. 5, the step (ii) of the subsystem a, the step (ii) of the subsystem B, the step (ii) of the subsystem C, and the step (ii) of the subsystem D are a set of similar steps, and the step (ii) is a second step, so that the deployment node in the deployment sequence is a second node.
And S303, deploying the target software product according to the deployment sequence of each deployment step and the first deployment node.
After determining the first deployment nodes with the deployment steps with similar characteristics, the computer device starts to deploy the target software product according to the sequence of each deployment step, and deploys all the deployment steps with similar characteristics according to the corresponding first deployment nodes simultaneously during deployment.
In one embodiment, as shown in fig. 6, S303 in one embodiment comprises the steps of:
s401, acquiring a second deployment node of the deployment steps except the deployment steps with similar characteristics in the deployment information.
In the deployment step, besides the deployment steps with similar features, there is a single deployment step, so after the deployment steps with similar features are determined, the deployment nodes of the remaining single deployment steps, that is, the second deployment node, need to be determined. For example, the step (r) in the subsystem a, the step (C) in the subsystem B, and the step (r) in the subsystem C are all single steps, and the deployment nodes are respectively the nodes with the sequence numbers in the respective subsystems.
S402, executing the deployment steps except the deployment steps with similar characteristics in the corresponding deployment information in the second deployment node, and executing the deployment steps with similar characteristics in parallel in the first deployment node to complete the deployment of the target software product.
Obtaining a first deployment node with deployment steps having similar characteristics and a second deployment node with a single deployment step, that is, obtaining deployment nodes of all steps in the deployment steps, and then the computer device executes each step according to the deployment node corresponding to each step.
In practical applications, there are multiple groups of determined deployment steps with similar features, and for the multiple groups of deployment steps with similar features, each group corresponds to one first deployment node, and in this case, the process of executing the deployment steps with similar features in parallel at the first deployment nodes is to execute a group of deployment steps with similar features corresponding to the first deployment nodes in parallel at each first deployment node. Therefore, for a more complex deployment process, when the number of determined deployment steps with similar characteristics is more, the deployment efficiency of the software is higher after the deployment steps with similar characteristics of each group are executed in parallel.
For example, continuing with fig. 5, subsystem a, subsystem B, subsystem C, subsystem D; each subsystem has the deployment steps of (i) deploying, ii deploying, iii deploying, iv deploying and iv deploying, wherein the deployment sequence is executed according to the sequence number of the deployment step in each subsystem, namely the deployment node of each step is the node where the sequence number of each step is located, for example, the deployment node of the step ii deploys the second in the deployment sequence. Wherein, the step of each subsystem is a group of deployment steps with similar characteristics, and the step of each subsystem is a group of deployment steps with similar characteristics. When the computer equipment deploys the subsystems, the sequence is that firstly the steps in the subsystem A, the subsystem B, the subsystem C and the subsystem D are executed in sequence, then the steps in the subsystem A, the subsystem B, the subsystem C and the subsystem D are executed in parallel, then the steps in the subsystem A, the subsystem B, the subsystem C and the subsystem D are executed in sequence, and finally the steps in the subsystem A, the subsystem B, the subsystem C and the subsystem D are executed in parallel. In this way, in the whole software deployment process, because a plurality of steps are executed in parallel, the time for executing the steps independently is saved, so that the software deployment efficiency is improved, and the more steps are saved, the more the improved efficiency is obvious.
Optionally, taking the target software product as the remote medical information system software as an example, the remote medical information system software includes a subsystem: the radiology department information management system, the image archiving and communication system and the image system, wherein the deployment steps with similar characteristics among subsystems comprise: installing a database, operating a data script and copying a file to a corresponding directory; then the deployment steps with similar features are deployed in a parallel manner, including: when the telemedicine information system software is deployed, the steps of installing a database, running a data script and copying a file to a corresponding directory of each subsystem are executed in parallel in a multithreading mode respectively.
Among the telemedicine Information System software, there are subsystems radiology Information management System (RIS), Picture Archiving and Communication System (PACS), 2D image System, and 3D image System, and these subsystems all have similar steps: installing a database, running a data script, copying a file to an IIS directory and the like; therefore, during the process of performing each step, a multithreading technology can be used for simultaneously executing similar steps at one time, namely, the steps of installing databases of all subsystems are uniformly performed, the steps of running data scripts of all subsystems are uniformly performed, the steps of copying files of all subsystems to an IIS directory are uniformly performed, and after the similar steps are completed, the independent steps are respectively performed according to the characteristics of the subsystems such as the RIS, the PACS, 2D and 3D, for example, the RIS needs to perform unique system configuration, the PACS needs to archive data, and the 2D and 3D do not need to be performed independently without unique steps. The method is explained through a specific telemedicine information system software product, and multithreading parallel deployment is adopted for loading a database, running a data script and copying a file of the telemedicine information system software to a corresponding directory in the deployment process, so that the deployment efficiency of the telemedicine information system software is greatly improved.
As shown in fig. 7, an embodiment of the present application provides a method for deploying a software product, where the embodiment includes:
s1, acquiring deployment information of the target software product, wherein the deployment information comprises subsystems to be deployed in the target software product, and each subsystem comprises a respective deployment step;
s2, analyzing the characteristics of each deployment step in each subsystem;
s3, acquiring one or more groups of deployment steps with similar characteristics according to the analysis result of the characteristics;
s4, acquiring the deployment sequence of each deployment step in the deployment information;
s5, determining a first deployment node with similar characteristics of deployment steps according to the deployment sequence;
s6, acquiring a second deployment node of the deployment steps except the deployment steps with similar characteristics in the deployment information;
s7, executing the deployment steps except the deployment steps with similar characteristics in the corresponding deployment information in the second deployment node, and executing the deployment steps with similar characteristics in parallel in the first deployment node, thereby completing the deployment of the target software product.
In the steps of the deployment method of the software product provided in this embodiment, the implementation principle and the technical effect are similar to those in the foregoing embodiments of the deployment method of the software product, and are not described herein again. The implementation manner of each step in the embodiment of fig. 7 is only an example, and is not limited to this, and the order of each step may be adjusted in practical application as long as the purpose of each step can be achieved.
It should be understood that although the various steps in the flow charts of fig. 2-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-7 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 8, there is provided an apparatus for deploying a software product, the apparatus comprising:
the acquisition module 10 is used for acquiring the deployment information of the target software product; the deployment information comprises a deployment step of deploying the target software product;
the analysis module 11 is configured to analyze the deployment information and obtain deployment steps with similar characteristics in the deployment information;
the deployment module 12 is used for deploying the target software product according to the deployment information; wherein, the deployment steps with similar characteristics adopt a parallel mode for deployment.
In one embodiment, the deployment information includes subsystems to be deployed in the target software product, and each subsystem includes a respective deployment step; the analysis module 11 includes a similar step acquiring unit, which is specifically configured to acquire deployment steps with similar features among subsystems.
In one embodiment, the step of deploying with similar features includes one or more sets; the similar step acquiring unit comprises:
the analysis subunit is used for analyzing the characteristics of each deployment step in each subsystem;
and the obtaining subunit is used for obtaining one group or multiple groups of deployment steps with similar characteristics according to the analysis result of the characteristics.
In one embodiment, the deployment module 12 includes:
the sequence acquisition unit is used for acquiring the deployment sequence of each deployment step in the deployment information;
a determining unit, configured to determine, according to a deployment order, a first deployment node having deployment steps with similar features;
and the deployment unit is used for deploying the target software product according to the deployment sequence of the deployment steps and the first deployment node.
In one embodiment, the deployment unit includes:
the determining subunit is used for acquiring a second deployment node of the deployment steps except the deployment steps with similar characteristics in the deployment information;
and the deployment subunit is used for executing the deployment steps except the deployment steps with similar characteristics in the corresponding deployment information on the second deployment node, and executing the deployment steps with similar characteristics in parallel on the first deployment node to complete the deployment of the target software product.
In one embodiment, if there are multiple groups of deployment steps with similar features, each group of deployment steps with similar features corresponds to one first deployment node; the deployment subunit is specifically configured to execute, in parallel, a set of deployment steps with similar features corresponding to the first deployment node at each first deployment node.
In one embodiment, the target software product is telemedicine information system software, the subsystems include a radiology department information management system, a video archiving and communication system and an imaging system, and the step of deploying the subsystems with similar features includes: installing a database, operating a data script and copying a file to a corresponding directory; the deployment module is specifically used for performing the steps of installing the database, running the data script and copying the file to the corresponding directory of each subsystem in parallel in a multithreading mode when the telemedicine information system software is deployed.
In one embodiment, a deployment step having similar characteristics represents an operational procedure or step for which the operational purpose of the plurality of deployment steps is the same.
For specific limitations of the deployment apparatus of the software product, reference may be made to the above limitations of the deployment method of the software product, which are not described herein again. The various modules in the deployment apparatus of the software product described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of deploying a software product. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring deployment information of a target software product; the deployment information comprises a deployment step of deploying the target software product;
analyzing the deployment information, and acquiring deployment steps with similar characteristics in the deployment information;
deploying the target software product according to the deployment information; wherein, the deployment steps with similar characteristics adopt a parallel mode for deployment.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring deployment information of a target software product; the deployment information comprises a deployment step of deploying the target software product;
analyzing the deployment information, and acquiring deployment steps with similar characteristics in the deployment information;
deploying the target software product according to the deployment information; wherein, the deployment steps with similar characteristics adopt a parallel mode for deployment.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A method of deploying a software product, the method comprising:
acquiring deployment information of a target software product; the deployment information comprises a deployment step of deploying the target software product;
analyzing the deployment information, and acquiring deployment steps with similar characteristics in the deployment information;
deploying the target software product according to the deployment information; and deploying the deployment steps with the similar characteristics in a parallel mode.
2. The method of claim 1, wherein the deployment information comprises subsystems to be deployed in the target software product, each subsystem comprising a respective deployment step;
the step of acquiring the deployment information with similar characteristics includes:
and acquiring deployment steps with similar characteristics among the subsystems.
3. The method of claim 2, wherein the deploying steps having similar characteristics comprise one or more sets;
the step of acquiring the deployment with similar characteristics among the subsystems comprises the following steps:
analyzing the characteristics of each deployment step in each subsystem;
and acquiring one or more groups of deployment steps with similar characteristics according to the analysis result of the characteristics.
4. The method according to any one of claims 1-3, wherein said deploying the target software product according to the deployment information comprises:
acquiring the deployment sequence of each deployment step in the deployment information;
determining the first deployment node of the deployment steps with similar characteristics according to the deployment sequence;
and deploying the target software product according to the deployment sequence of each deployment step and the first deployment node.
5. The method of claim 4, wherein deploying the target software product according to the deployment order of the deployment steps and the deployment nodes having similar characteristics comprises:
acquiring a second deployment node of the deployment steps except the deployment steps with similar characteristics in the deployment information;
and executing the deployment steps except the deployment steps with similar characteristics in the corresponding deployment information at the second deployment node, and executing the deployment steps with similar characteristics in parallel at the first deployment node to complete the deployment of the target software product.
6. The method of claim 5, wherein if there are multiple sets of deployment steps with similar characteristics, each set of deployment steps with similar characteristics corresponds to a first deployment node;
the parallel execution of the deployment steps with similar features at the first deployment node comprises:
and executing a group of deployment steps with similar characteristics corresponding to the first deployment nodes in parallel at each first deployment node.
7. The method of claim 1, wherein the target software product is telemedicine information system software, the subsystems include a radiology information management system, a cine archive and communication system, and an imaging system, and the step of deploying the subsystems with similar features includes: installing a database, operating a data script and copying a file to a corresponding directory;
the deploying steps with similar features are deployed in a parallel manner, including: when the telemedicine information system software is deployed, the steps of installing a database, running a data script and copying a file to a corresponding directory of each subsystem are executed in parallel in a multithreading mode respectively.
8. The method according to claim 1, wherein the deployment steps with similar characteristics represent steps of a plurality of deployment steps having the same operational procedure or purpose.
9. An apparatus for deploying a software product, the apparatus comprising:
the acquisition module is used for acquiring the deployment information of the target software product; the deployment information comprises a deployment step of deploying the target software product;
the analysis module is used for analyzing the deployment information and acquiring deployment steps with similar characteristics in the deployment information;
the deployment module is used for deploying the target software product according to the deployment information; and deploying the deployment steps with the similar characteristics in a parallel mode.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN202010982152.1A 2020-09-17 2020-09-17 Deployment method and device of software product, computer equipment and storage medium Active CN112162756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010982152.1A CN112162756B (en) 2020-09-17 2020-09-17 Deployment method and device of software product, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010982152.1A CN112162756B (en) 2020-09-17 2020-09-17 Deployment method and device of software product, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112162756A true CN112162756A (en) 2021-01-01
CN112162756B CN112162756B (en) 2022-04-26

Family

ID=73858192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010982152.1A Active CN112162756B (en) 2020-09-17 2020-09-17 Deployment method and device of software product, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112162756B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080294872A1 (en) * 2007-05-24 2008-11-27 Bryant Jay S Defragmenting blocks in a clustered or distributed computing system
CN108809683A (en) * 2017-05-04 2018-11-13 中兴通讯股份有限公司 Dispose the method and device of cloud application system
CN109189415A (en) * 2018-08-31 2019-01-11 郑州云海信息技术有限公司 Device, method, system and the computer readable storage medium of deployment services device
WO2019113553A1 (en) * 2017-12-08 2019-06-13 Net-Thunder, Llc Automatically deployed information technology (it) system and method
US20190243629A1 (en) * 2018-02-06 2019-08-08 Smartshift Technologies, Inc. Systems and methods for entry point-based code analysis and transformation
CN110391938A (en) * 2019-07-26 2019-10-29 北京百度网讯科技有限公司 Method and apparatus for deployment services
CN111258591A (en) * 2020-01-14 2020-06-09 广州极晟网络技术有限公司 Program deployment task execution method and device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080294872A1 (en) * 2007-05-24 2008-11-27 Bryant Jay S Defragmenting blocks in a clustered or distributed computing system
CN108809683A (en) * 2017-05-04 2018-11-13 中兴通讯股份有限公司 Dispose the method and device of cloud application system
WO2019113553A1 (en) * 2017-12-08 2019-06-13 Net-Thunder, Llc Automatically deployed information technology (it) system and method
US20190243629A1 (en) * 2018-02-06 2019-08-08 Smartshift Technologies, Inc. Systems and methods for entry point-based code analysis and transformation
CN109189415A (en) * 2018-08-31 2019-01-11 郑州云海信息技术有限公司 Device, method, system and the computer readable storage medium of deployment services device
CN110391938A (en) * 2019-07-26 2019-10-29 北京百度网讯科技有限公司 Method and apparatus for deployment services
CN111258591A (en) * 2020-01-14 2020-06-09 广州极晟网络技术有限公司 Program deployment task execution method and device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
FTDDATA: "R语言—并行计算", 《HTTPS://BLOG.CSDN.NET/JHR112/ARTICLE/DETAILS/103865161》 *

Also Published As

Publication number Publication date
CN112162756B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN108920354B (en) Embedded point management method and device, computer equipment and storage medium
CN111176802B (en) Task processing method and device, electronic equipment and storage medium
CN108459964B (en) Test case selection method, device, equipment and computer readable storage medium
US10795688B2 (en) System and method for performing an image-based update
CN111176818B (en) Distributed prediction method, device, system, electronic equipment and storage medium
CN109753300B (en) Algorithm upgrading method, calculation task sending method and related device
CN103973470A (en) Cluster management method and equipment for shared-nothing cluster
CN112685091A (en) Service request processing method, device, equipment and medium based on big data
CN113504918A (en) Equipment tree configuration optimization method and device, computer equipment and storage medium
CN104216781A (en) Video memory allocating method and system
CN113742224A (en) Test system, method, device, computer equipment and storage medium
CN112162756B (en) Deployment method and device of software product, computer equipment and storage medium
CN111966701A (en) Metadata updating method, device, equipment and storage medium
CN110597552A (en) Configuration method, device and equipment of project continuous integration pipeline and storage medium
CN115858473A (en) Data interaction method and device based on training system and object storage system
CN113535182B (en) Project engineering construction method and device, computer equipment and storage medium
CN111803105B (en) CT correction data processing method, device, system and computer equipment
CN110362319A (en) Application management method and device, computer installation and computer readable storage medium
CN114756293A (en) Service processing method, device, computer equipment and storage medium
CN112862452A (en) Method and device for executing work order equivalence, computer equipment and storage medium
CN114374688A (en) Application program deployment method and device, computer equipment and storage medium
CN110718285B (en) Data archiving method, system, device and storage medium
CN107741892A (en) The building method and its system and electronic equipment of test cluster
CN116301934A (en) Software installation method, device, computer equipment and storage medium
CN111596941B (en) Application updating method, device, electronic equipment and medium

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