CN110007930B - Application deployment method and system - Google Patents

Application deployment method and system Download PDF

Info

Publication number
CN110007930B
CN110007930B CN201810265054.9A CN201810265054A CN110007930B CN 110007930 B CN110007930 B CN 110007930B CN 201810265054 A CN201810265054 A CN 201810265054A CN 110007930 B CN110007930 B CN 110007930B
Authority
CN
China
Prior art keywords
product form
configuration file
restart
application
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810265054.9A
Other languages
Chinese (zh)
Other versions
CN110007930A (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.)
Shanghai United Imaging Healthcare Co Ltd
Original Assignee
Shanghai 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 Shanghai United Imaging Healthcare Co Ltd filed Critical Shanghai United Imaging Healthcare Co Ltd
Priority to CN201810265054.9A priority Critical patent/CN110007930B/en
Publication of CN110007930A publication Critical patent/CN110007930A/en
Application granted granted Critical
Publication of CN110007930B publication Critical patent/CN110007930B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/105Arrangements for software license management or administration, e.g. for managing licenses at corporate level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/40ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the management of medical equipment or devices, e.g. scheduling maintenance or upgrades

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Biomedical Technology (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Technology Law (AREA)
  • Multimedia (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides an application deployment method and system. According to the embodiment of the invention, whether the restart is the first restart after the application is installed is detected, if yes, the license file is acquired, the product form information is read from the license file and is used as the target product form information, the configuration file corresponding to the target product form information is searched according to the target product form information, and when the application software is deployed on equipment with different product forms and is used as the target configuration file, the equipment automatically selects the configuration file corresponding to the product form according to the product form of the equipment, so that the accuracy of the configuration file can be ensured, the redeployment of the configuration file due to the replacement of the configuration file caused by the configuration file error is avoided, the efficiency of the product maintenance in a company is improved, the deployment efficiency of the application software is improved, the risk of the deployment error is reduced, and the problems that the deployment efficiency of the application software with multiple product forms is lower and the risk of the deployment error is higher in the prior art are solved to a certain extent.

Description

Application deployment method and system
[ field of technology ]
The present disclosure relates to the field of medical science and technology, and in particular, to an application deployment method and system.
[ background Art ]
In current medical software systems, an application software (application for short) system often needs to be provided to users in different product forms. If the number of the product forms is large, a lot of trouble is brought to the deployment of the application software.
Typically, applications of different product forms require the use of different profiles. The software frames of the application software with different product forms are consistent, and the only difference is that different configuration files are used, so that different functions are finally embodied.
For the management of configuration files for multi-product-modality devices, the traditional approach is to provide a configuration file for each product modality that is tailored to that product modality. For example, when user a purchases a device with product form a, when providing an application to user a, program code of the application is provided to user a together with a configuration file corresponding to product form a.
In the prior art, in terms of software maintenance, developers need to maintain application codes corresponding to various product forms at the same time, testers need to verify functions of applications corresponding to various product forms, and code management departments need to maintain and manage code source files of the application codes corresponding to various product forms, which is a huge resource waste for the companies; when products in different forms are released and deployed to the outside, service engineers need to manually select software installation packages in corresponding forms to install and deploy, if the software installation packages are selected incorrectly, deployment failure can be caused, and therefore redeployment is required, deployment efficiency of application software is low, and risk of deployment errors is high.
[ invention ]
In view of this, the embodiment of the present application provides an application deployment method and system, which are used to solve the problems of low deployment efficiency and high risk of deployment errors of the application software in the multi-product form in the prior art.
In a first aspect, an embodiment of the present invention provides an application deployment method, where the method includes:
detecting whether the restart is the first restart after the application is appointed to be installed;
if the restart is the first restart after the specified application is installed, acquiring a license file, wherein the license file comprises product form information;
reading product form information from the license file to serve as target product form information;
searching a configuration file corresponding to the target product form information according to the target product form information to serve as a target configuration file;
and storing the target configuration file to a first designated position.
In accordance with aspects and any one of the possible implementations described above, there is further provided an implementation, wherein after storing the target configuration file in the first specified location, the method further includes:
and configuring the appointed application according to the target configuration file.
In accordance with aspects and any one of the possible implementations described above, there is further provided an implementation, wherein after storing the target configuration file in the first specified location, the method further includes:
and writing the deployed identification information.
In the foregoing aspect and any possible implementation manner, there is further provided an implementation manner, where if the restart is the first restart after the installation of the specified application, obtaining the license file includes:
if the restart is the first restart after the installation of the appointed application, displaying the prompt information of the import permission file;
a license file is received.
In the foregoing aspect and any possible implementation manner, there is further provided an implementation manner, according to the target product form information, searching a configuration file corresponding to the target product form information, as a target configuration file, including:
searching a target storage position corresponding to the target product form information according to the target product form information;
and reading the configuration file in the target storage position to serve as a target configuration file.
In the foregoing aspect and any possible implementation manner, there is further provided an implementation manner, where detecting whether the current restart is before the first restart after the installation of the designated application, the method further includes:
when the appointed application is installed according to the installation package of the appointed application, each configuration file in the installation package is respectively stored in a storage position corresponding to the corresponding product form.
In the aspect and any possible implementation manner described above, there is further provided an implementation manner, when the specified application is installed according to an installation package of the specified application, each configuration file in the installation package is respectively stored in a storage location corresponding to a corresponding product form, including:
determining the product form corresponding to each configuration file;
creating a plurality of folders at the second designated location, the number of folders being the same as the number of configuration files;
setting a folder name for each folder in the plurality of folders, wherein the folder name of each folder contains product form information;
searching folders which comprise corresponding product form information in folder names according to the product forms corresponding to the configuration files and taking the folders as matched folders;
and storing the configuration files into corresponding matching folders respectively.
In the foregoing aspect and any possible implementation manner, there is further provided an implementation manner, according to the target product form information, searching a configuration file corresponding to the target product form information, as a target configuration file, including:
searching a public configuration file corresponding to the target product form information according to the target product form information;
searching a dedicated configuration file corresponding to the target product form information according to the target product form information;
and determining that the public configuration file and the exclusive configuration file are target configuration files.
In the foregoing aspect and any possible implementation manner, there is further provided an implementation manner, detecting whether the restart is a first restart after the installation of the designated application, including:
judging whether the deployed identification information is written in the third designated position;
if the deployed identification information is written in the third designated position, determining that the restart is the first restart after the designated application is installed; or if the deployed identification information is not written in the third designated position, determining that the restart is not the first restart after the designated application is installed.
In a second aspect, an embodiment of the present invention provides an application deployment system, the system including a processor and a memory; the memory is configured to store instructions that, when executed by the processor, cause the system to implement the method of any of the first aspects.
The embodiment of the invention has the following beneficial effects:
according to the embodiment of the invention, whether the restart is the first restart after the application is appointed for installation is detected, if the restart is the first restart after the application is appointed for installation, the license file is obtained, the license file comprises the product form information, the product form information is read from the license file and is used as the target product form information, the configuration file corresponding to the target product form information is searched according to the target product form information and is used as the target configuration file, when the application software is deployed on the equipment with different product forms, the equipment automatically selects the configuration file corresponding to the product form according to the product form of the equipment, the accuracy of the configuration file can be ensured, the redeployment of the configuration file due to the error of the configuration file is avoided, the maintenance efficiency of products in a company is improved, the deployment efficiency of the application software is improved, and the risk of the deployment error is reduced.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a diagram of a first flow Cheng Shi of an application deployment method according to an embodiment of the present invention.
Fig. 2 is a diagram of a second flow Cheng Shi of the application deployment method according to the embodiment of the present invention.
Fig. 3 is a diagram illustrating a third flow Cheng Shi of an application deployment method according to an embodiment of the present invention.
Fig. 4 is a fourth flowchart illustrating an application deployment method according to an embodiment of the present invention.
[ detailed description ] of the invention
For a better understanding of the technical solution of the present invention, the following detailed description of the embodiments of the present invention refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Depending on the context, the word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to detection". Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
Example 1
The embodiment of the invention provides an application deployment method which can be realized through an application program APP.
Fig. 1 is a diagram of a first flow Cheng Shi of an application deployment method according to an embodiment of the present invention. As shown in fig. 1, in this embodiment, the application deployment method includes the following steps:
s101, detecting whether the restart is the first restart after the application is appointed to be installed.
S102, if the restart is the first restart after the application is appointed to be installed, obtaining a license file, wherein the license file comprises product form information.
S103, reading the product form information from the license file as target product form information.
S104, searching a configuration file corresponding to the target product form information according to the target product form information to serve as a target configuration file.
S105, storing the target configuration file to the first designated position.
The flow of the embodiment shown in fig. 1 is performed after the preliminary installation is completed according to the installation package of the specified application. Where preliminary installation refers to the installation of other data than the installation associated with the configuration file.
The flow of the embodiment shown in fig. 1 is performed at the time of designating the first restart after the application is installed, and is not required to be performed at the time of designating the second restart after the application is installed and the second and subsequent restarts.
Wherein, the product forms are divided according to different demands of customers. For example, a portable DR (Digital Radiography, digital direct imaging system) device is used to perform the most basic imaging functions in a non-stationary location, and needs to meet the requirements of small size, convenient movement and portability, and can meet the minimum requirements of basic imaging. The DR equipment of the hospital is used for playing a plurality of functions in fixed places, does not need to be moved, has more functions and is huge in volume. The two DR devices differ in hardware, which results in different adaptations of the application software, requiring configuration with different configuration files.
Wherein License files (denoted herein as License files) are used to manage rights, deadlines, etc. in the application software.
The license file includes product form information. In addition to the product form information, the license file contains the age of each function, which is purchased by the customer at a premium.
One specific implementation of obtaining the license file in step S102 may be that the device automatically prompts the user to import the license file according to the program, and then the user imports the license file according to the prompt, and the license file is received by the device.
The license file is an encrypted file. When the license file is imported, the content of the license file is read and displayed on the interface, and after the service engineer confirms that the license file is finally imported into the device.
Thus, in an exemplary implementation, if the restart is the first restart after the installation of the designated application, obtaining the license file may include: if the restart is the first restart after the application is appointed to be installed, displaying the prompt information of the import license file; a license file is received.
The target product form information refers to product form information of a device on which a specific application is installed.
In step S103, the target product form information is automatically read from the license file by the device instead of being manually input, so that the target product form information error caused by human error is avoided, and the accuracy of the target product form information is ensured.
In the preliminary installation process of the designated application, each configuration file can be stored in different storage positions, so that a corresponding relation is formed between the product form corresponding to the same configuration file and the storage position, and according to the corresponding relation, the storage position of the configuration file corresponding to the product form can be found through the product form, and the configuration file corresponding to the product form can be read from the storage position.
Thus, in an exemplary implementation, according to the target product form information, searching the configuration file corresponding to the target product form information as the target configuration file may include: searching a target storage position corresponding to the target product form information according to the target product form information; and reading the configuration file in the target storage position as a target configuration file.
In step S104, the target configuration file is automatically searched by the device according to the form information of the target product, instead of being manually determined, so that the target configuration file error caused by human error is avoided, and the accuracy of the target configuration file is ensured. Therefore, the problem that the configuration file needs to be replaced and redeployed due to the configuration file error is avoided, unnecessary time consumption in the application deployment process is reduced, and the deployment efficiency of the application software is improved.
Meanwhile, the accurate target configuration file also ensures the accuracy of deployment, thereby reducing the risk of deployment errors.
In step S105, the first designated location is a preset location of a configuration file for configuring the designated application. That is, the designated application is configured in accordance with the configuration file at the first designated location when configured. Which configuration file is stored in the first designated location is the configuration file that works for the configuration of the designated application.
After the designated application is initially installed and the content at the first designated location is empty, the device automatically determines the target configuration file through steps S101 to S104, stores the target configuration file at the first designated location through step S105, and then the device can configure the designated application according to the configuration file at the first designated location.
In the embodiment shown in fig. 1, by detecting whether the restart is the first restart after the application is specified, if the restart is the first restart after the application is specified, obtaining a license file, where the license file includes product form information, reading the product form information from the license file, and using the product form information as target product form information, searching a configuration file corresponding to the target product form information according to the target product form information, and using the configuration file as the target configuration file, when application software is deployed on devices in different product forms, the device automatically selects the configuration file corresponding to the product form according to the product form of the device, so that the accuracy of the configuration file can be ensured, and redeployment of the configuration file due to configuration file error is avoided, thereby improving the efficiency of product maintenance in a company, improving the deployment efficiency of the application software, and reducing the risk of deployment error.
Fig. 2 is a diagram of a second flow Cheng Shi of the application deployment method according to the embodiment of the present invention. As shown in fig. 2, in this embodiment, the application deployment method includes the following steps:
s201, detecting whether the restart is the first restart after the application is appointed to be installed.
S202, if the restart is the first restart after the application is appointed to be installed, obtaining a license file, wherein the license file comprises product form information.
S203, reading the product form information from the license file as target product form information.
S204, searching a configuration file corresponding to the target product form information according to the target product form information to serve as a target configuration file.
S205, storing the target profile to the first designated location.
S206, configuring the appointed application according to the target configuration file.
In this embodiment, after the target configuration file is stored in the first designated location, the designated application is automatically configured according to the target configuration file, and the accuracy of the target configuration file ensures the accurate configuration of the designated application, thereby ensuring successful deployment of the designated application.
Fig. 3 is a diagram illustrating a third flow Cheng Shi of an application deployment method according to an embodiment of the present invention. As shown in fig. 3, in this embodiment, the application deployment method includes the following steps:
s301, detecting whether the restart is the first restart after the application is installed.
S302, if the restart is the first restart after the application is appointed to be installed, obtaining a license file, wherein the license file comprises product form information.
S303, reading the product form information from the license file as target product form information.
S304, searching a configuration file corresponding to the target product form information according to the target product form information to serve as a target configuration file.
S305, storing the target configuration file in a first designated position.
S306, writing the deployed identification information.
The determination and storage of the target configuration file is a one-time process completed when the device is restarted for the first time after the installation of the designated application, and the designated application is automatically configured by the device according to the target configuration file, so that the process of determining and storing the target configuration file is not required to be repeated when the device is restarted each time. After the deployed identification information is written in step S306, when the device is restarted, the deployed condition of the designated application can be known through the deployed identification information, so that the process of determining and storing the target configuration file is not repeated.
Fig. 4 is a fourth flowchart illustrating an application deployment method according to an embodiment of the present invention. As shown in fig. 4, in this embodiment, the application deployment method includes the following steps:
s401, when the specified application is installed according to the installation package of the specified application, each configuration file in the installation package is respectively stored in a storage position corresponding to the corresponding product form.
S402, detecting whether the restart is the first restart after the application is installed.
S403, if the restart is the first restart after the application is appointed to be installed, obtaining a license file, wherein the license file comprises product form information.
S404, reading the product form information from the license file as target product form information.
S405, searching a configuration file corresponding to the target product form information according to the target product form information to serve as a target configuration file.
S406, storing the target configuration file to the first designated position.
In the embodiment shown in fig. 4, before detecting whether the restart is the first restart after the installation of the specified application, each configuration file in the installation package is stored in a storage location corresponding to the corresponding product form when the specified application is installed according to the installation package of the specified application.
That is, instead of including only one configuration file, all configuration files are included in the installation package of the specified application. And during initial installation, storing each configuration file into a storage position corresponding to the corresponding product form respectively so as to read the configuration file of the corresponding storage position according to the product form of the current equipment later for configuring the appointed application in the current equipment.
In one exemplary implementation, when installing a specified application according to an installation package of the specified application, storing each configuration file in the installation package to a storage location corresponding to a corresponding product form, respectively, including: determining the product form corresponding to each configuration file; creating a plurality of folders at the second designated position, wherein the number of folders is the same as the number of configuration files; setting a folder name for each folder in the plurality of folders, wherein the folder name of each folder contains product form information; searching folders which comprise corresponding product form information in the folder names according to the product forms corresponding to the configuration files and taking the folders as matched folders; and storing each configuration file into a corresponding matching folder respectively.
Thus, when searching the configuration file corresponding to the target product form information, the folder names of the matched folders can be traversed, whether the folder names contain the target product form information or not is judged, and if the folder names contain the target product form information, the configuration file in the folder is the configuration file corresponding to the target product form information.
In an exemplary implementation process, according to the target product form information, searching a configuration file corresponding to the target product form information as a target configuration file may include: searching a public configuration file corresponding to the target product form information according to the target product form information; searching a dedicated configuration file corresponding to the target product form information according to the target product form information; and determining the public configuration file and the proprietary configuration file as target configuration files.
In some cases, configuring the designated application requires not only a dedicated configuration file corresponding to the target product form information, but also a common configuration file corresponding to the target product form information. The exclusive configuration file is only used for application configuration of equipment in one product form, and the public configuration file is used for application configuration of equipment in all product forms.
In an exemplary implementation, detecting whether the current restart is the first restart after the installation of the specified application may include: judging whether the deployed identification information is written in the third designated position; if the deployed identification information is written in the third appointed position, determining that the restart is the first restart after the appointed application is installed; or if the deployed identification information is not written in the third designated position, determining that the restart is not the first restart after the designated application is installed. In the example, whether the restart is the first restart after the installation of the designated application is judged according to the deployed identification information, so that the method is convenient and quick. Wherein the deployed identification information may be written to a third designated location in accordance with the embodiment shown in fig. 3.
The application deployment method provided by the embodiment of the invention is further described in detail below by way of an enumerated example.
Assume that an application is to be deployed to a device, which application corresponds to multiple product forms, multiple configuration files. Assume that a configuration file for configuring an application is uniformly stored under a path software\appdata, which is preset.
In the initial installation stage of the application Software, a folder is created under the Software path, named license, and a plurality of subfolders are continuously created under the Software/license folder according to modes (modes), named DX and MG … respectively, and configuration files of different modes are stored respectively.
For each mode of product, creating multiple subfolders according to different product forms, respectively, for storing configuration files of different product forms in the mode.
Taking a product with a model as DX as an example, under the Software/license description/DX path, storing configuration files of different forms of products of DX, wherein the path is designed as follows:
Software/LicenseDeploy/DX/Common,
Software/LicenseDeploy/DX/model1,
Software/LicenseDeploy/DX/mode2;
under the folders of model1, model2, etc., the folder names under the path design Software are the same, for example:
Software/LicenseDeploy/DX/model1/appdata;
Software/LicenseDeploy/DX/model1/service;
Software/LicenseDeploy/DX/model2/appdata;
Software/LicenseDeploy/DX/model2/service;
wherein the Common folder stores Common configuration files of all product forms of DX, the model1 folder stores configuration files of the product form of model1, and the model2 folder stores configuration files of the product form of model2.
When the device leaves the factory to be installed, the configuration file without the product is defaulted under the Software/appdata path, and the configuration file of the public Software can be contained.
The License file (i.e., license file) contains a parameter License Feature that indicates which mode the device belongs to and which product form in the mode. For example, the Feature name may be license reply_dx_model 2.
The deployment process of the application software according to the configuration file of the model2 is as follows:
after the initial installation of the application software is completed, when the equipment is restarted, detecting whether an information identifier of 'product deployed' exists, if so, indicating that the restart is not the first restart after the application installation, and ending the flow;
if no information mark of 'product deployed', the restart is the first restart after application installation, and a License file is acquired;
reading product form information from the License file, assuming License deployDX_Model 2, and determining that the device belongs to a model2 product with a mode DX;
taking model2 with the mode DX as target product form information;
copying all folders under Software/license description/DX/model 2 (proprietary configuration file) under the Software path, and copying all folders under Software/license description/DX/Common (public configuration file) under the Software path, so that the application Software works in the model2 product form of DX;
and recording the information identifier of the product deployed by writing the file, so that when the information identifier of the product deployed is read when the equipment is restarted later, the configuration file is not deployed.
According to the application deployment method provided by the embodiment of the invention, whether the current restart is the first restart after the application is appointed for installation is detected, if the current restart is the first restart after the application is appointed for installation, the license file is obtained, the license file comprises the product form information, the product form information is read from the license file and is used as the target product form information, the configuration file corresponding to the target product form information is searched according to the target product form information and is used as the target configuration file, when the application software is deployed on the equipment with different product forms, the equipment automatically selects the configuration file corresponding to the product form according to the product form of the equipment, the accuracy of the configuration file can be ensured, the redeployment of the configuration file due to the configuration file error is avoided, the maintenance efficiency of the internal product of a company is improved, the deployment efficiency of the application software is improved, and the risk of the deployment error is reduced.
Example two
The embodiment of the invention provides an application deployment system, which comprises a processor and a memory; the memory is configured to store instructions that, when executed by the processor, cause the system to implement any one of the application deployment methods of the foregoing embodiments.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, apparatuses and modules described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each module may exist alone physically, or two or more modules may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a Processor (Processor) to perform part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the invention.

Claims (9)

1. An application deployment method, the method comprising:
detecting whether the restart is the first restart after the application is appointed to be installed;
if the restart is the first restart after the specified application is installed, acquiring a license file, wherein the license file comprises product form information;
reading product form information from the license file to serve as target product form information;
searching a configuration file corresponding to the target product form information according to the target product form information to serve as a target configuration file;
and storing the target configuration file to a first designated position, and configuring the designated application according to the target configuration file.
2. The method of claim 1, wherein after storing the target profile in the first specified location, the method further comprises:
and writing the deployed identification information.
3. The method of claim 1, wherein if the current restart is a first restart after installation of the specified application, obtaining the license file comprises:
if the restart is the first restart after the installation of the appointed application, displaying the prompt information of the import permission file;
a license file is received.
4. The method according to claim 1, wherein searching a configuration file corresponding to the target product form information as a target configuration file according to the target product form information comprises:
searching a target storage position corresponding to the target product form information according to the target product form information;
and reading the configuration file in the target storage position to serve as a target configuration file.
5. The method of claim 1, wherein detecting whether the current restart is a first restart after installation of the specified application, the method further comprises:
when the appointed application is installed according to the installation package of the appointed application, each configuration file in the installation package is respectively stored in a storage position corresponding to the corresponding product form.
6. The method of claim 5, wherein, when installing the specified application according to an installation package of the specified application, storing each configuration file in the installation package to a storage location corresponding to a corresponding product form, respectively, comprises:
determining the product form corresponding to each configuration file;
creating a plurality of folders at the second designated location, the number of folders being the same as the number of configuration files;
setting a folder name for each folder in the plurality of folders, wherein the folder name of each folder contains product form information;
searching folders which comprise corresponding product form information in folder names according to the product forms corresponding to the configuration files and taking the folders as matched folders;
and storing the configuration files into corresponding matching folders respectively.
7. The method according to claim 1, wherein searching a configuration file corresponding to the target product form information as a target configuration file according to the target product form information comprises:
searching a public configuration file corresponding to the target product form information according to the target product form information;
searching a dedicated configuration file corresponding to the target product form information according to the target product form information;
and determining that the public configuration file and the exclusive configuration file are target configuration files.
8. The method of claim 1, wherein detecting whether the current restart is a first restart after installation of the specified application comprises:
judging whether the deployed identification information is written in the third designated position;
if the deployed identification information is written in the third designated position, determining that the restart is the first restart after the designated application is installed; or if the deployed identification information is not written in the third designated position, determining that the restart is not the first restart after the designated application is installed.
9. An application deployment system, the system comprising a processor and a memory; the memory is configured to store instructions that, when executed by the processor, cause the system to implement the method of any one of claims 1-8.
CN201810265054.9A 2018-03-28 2018-03-28 Application deployment method and system Active CN110007930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810265054.9A CN110007930B (en) 2018-03-28 2018-03-28 Application deployment method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810265054.9A CN110007930B (en) 2018-03-28 2018-03-28 Application deployment method and system

Publications (2)

Publication Number Publication Date
CN110007930A CN110007930A (en) 2019-07-12
CN110007930B true CN110007930B (en) 2024-02-27

Family

ID=67164733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810265054.9A Active CN110007930B (en) 2018-03-28 2018-03-28 Application deployment method and system

Country Status (1)

Country Link
CN (1) CN110007930B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009109925A2 (en) * 2008-03-04 2009-09-11 Rico Raja Method and apparatus for user customizable software deployment
CN101546270A (en) * 2009-05-08 2009-09-30 阿里巴巴集团控股有限公司 Automatic installation method for Linux operation system, device and system
CN103188526A (en) * 2011-12-29 2013-07-03 青岛海尔软件有限公司 System and method for achieving non-video type channel usability monitoring through television wall simulation
CN103631623A (en) * 2013-11-29 2014-03-12 浪潮(北京)电子信息产业有限公司 Method and device for allocating application software in trunking system
US8839234B1 (en) * 2012-12-25 2014-09-16 Kaspersky Lab Zao System and method for automated configuration of software installation package
CN104094226A (en) * 2011-11-28 2014-10-08 韦斯技术有限公司 Automatic updating of an application or a driver on a client device using a deployment configuration file
CN104850437A (en) * 2015-05-19 2015-08-19 曙光信息产业(北京)有限公司 Installation method and apparatus of operating system
CN104881281A (en) * 2015-05-19 2015-09-02 曙光信息产业(北京)有限公司 Mounting method and device of SUSE operation system
CN106598672A (en) * 2016-12-16 2017-04-26 广东美晨通讯有限公司 Application configuration method and apparatus
CN106610853A (en) * 2015-10-26 2017-05-03 阿里巴巴集团控股有限公司 Application deployment method and device
CN107608681A (en) * 2017-09-14 2018-01-19 紫光华山信息技术有限公司 Installation method of operating system, device and server

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9251498B2 (en) * 2006-10-23 2016-02-02 Oracle International Corporation Facilitating deployment of customizations of enterprise applications
JP2009146122A (en) * 2007-12-13 2009-07-02 Nec Infrontia Corp Installing method, installer and installing program
US8418139B2 (en) * 2008-04-18 2013-04-09 International Business Machines Corporation System and method for updating initialization parameters for application software from within a software development environment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009109925A2 (en) * 2008-03-04 2009-09-11 Rico Raja Method and apparatus for user customizable software deployment
CN101546270A (en) * 2009-05-08 2009-09-30 阿里巴巴集团控股有限公司 Automatic installation method for Linux operation system, device and system
CN104094226A (en) * 2011-11-28 2014-10-08 韦斯技术有限公司 Automatic updating of an application or a driver on a client device using a deployment configuration file
CN103188526A (en) * 2011-12-29 2013-07-03 青岛海尔软件有限公司 System and method for achieving non-video type channel usability monitoring through television wall simulation
US8839234B1 (en) * 2012-12-25 2014-09-16 Kaspersky Lab Zao System and method for automated configuration of software installation package
CN103631623A (en) * 2013-11-29 2014-03-12 浪潮(北京)电子信息产业有限公司 Method and device for allocating application software in trunking system
CN104850437A (en) * 2015-05-19 2015-08-19 曙光信息产业(北京)有限公司 Installation method and apparatus of operating system
CN104881281A (en) * 2015-05-19 2015-09-02 曙光信息产业(北京)有限公司 Mounting method and device of SUSE operation system
CN106610853A (en) * 2015-10-26 2017-05-03 阿里巴巴集团控股有限公司 Application deployment method and device
WO2017071494A1 (en) * 2015-10-26 2017-05-04 阿里巴巴集团控股有限公司 Application deployment method and apparatus
CN106598672A (en) * 2016-12-16 2017-04-26 广东美晨通讯有限公司 Application configuration method and apparatus
CN107608681A (en) * 2017-09-14 2018-01-19 紫光华山信息技术有限公司 Installation method of operating system, device and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
分布式系统中的持续集成系统的研究与实现;牛璟;中国优秀硕士论文 信息科技;全文 *

Also Published As

Publication number Publication date
CN110007930A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
US20100250730A1 (en) Automated license reconciliation for deployed applications
CN103150231B (en) The method of computer booting and computer system
US8327333B2 (en) Apparatus, method, and system of assisting software development
CN110659256B (en) Multi-computer room synchronization method, computing device and computer storage medium
CN104246767A (en) Telemetry system for a cloud synchronization system
CN110673924B (en) Multi-architecture container cloud mirror image selection method, device, equipment and storage medium
WO2023179749A1 (en) Configuration data processing system and method, and electronic device
CN107943878B (en) Business rule engine implementation method and system
CN110688111A (en) Configuration method, device, server and storage medium of business process
CN110597662B (en) Backup data automatic verification method and device, user equipment and storage medium
CN112612417A (en) Data migration method, device, equipment and storage medium
CN114650167B (en) Abnormality detection method, abnormality detection device, abnormality detection equipment and computer-readable storage medium
CN109460187B (en) Verification method and verification terminal for data consistency of qcow2 file
WO2008155198A1 (en) Method and apparatus for changing and adding activation keys for functions of digital content without having to change and recompile the digital content
CN108228611B (en) Document information copying method and device
CN110007930B (en) Application deployment method and system
CN110955449B (en) Gray scale release method and device for client
CN113272785B (en) Method for mounting file system, terminal equipment and storage medium
CN102262589A (en) Application server for realizing copying of hard disc driver, and method
CN108197041B (en) Method, device and storage medium for determining parent process of child process
US7287250B2 (en) Method, computer program product, and system for installing an operating system from a storage device using a sector offset
WO2017076034A1 (en) Method and device for formatting memory of mobile terminal
CN112988192A (en) Version updating method and device, electronic equipment and storage medium
CN105468527A (en) Test method and device of assembly in application
CN105278993A (en) Linux system based drive module upgrading method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information

Address after: 201807 Shanghai city Jiading District Industrial Zone Jiading Road No. 2258

Applicant after: Shanghai Lianying Medical Technology Co.,Ltd.

Address before: 201807 Shanghai city Jiading District Industrial Zone Jiading Road No. 2258

Applicant before: SHANGHAI UNITED IMAGING HEALTHCARE Co.,Ltd.

CB02 Change of applicant information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant