A method and device for configuring an application program

A technology for application programs and configuration components, applied in the field of virtualization, can solve the problems of application program changes and upgrades in unfavorable containers, and achieve the effects of easy changes and upgrades, improved efficiency, and avoiding connection resources

Active Publication Date: 2019-04-09
HUAWEI TECH CO LTD
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present application provides a method and device for configuring application programs, which can be used to solve the configuration solutions for application programs in containers provided by the prior art. Because different containers need to be customized and developed, it is not conducive to subsequent Issues with changes and upgrades of applications in containers

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for configuring an application program
  • A method and device for configuring an application program
  • A method and device for configuring an application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0047] The system architecture and business scenarios described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute limitations on the technical solutions provided by the embodiments of the present application. The evolution of the technology and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0048] combined reference Figure 3A , which shows a schematic diagram of an implementation environment provided by an embodiment of the present application. The implementation environment includes: a firs...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and device for configuring an application program, and belongs to the technical field of virtualization. The method comprises the steps that a first configuration component obtains file information of a first application program deployed in a first container; The first configuration component obtains a basic file required by the first application program from a database outside the first node according to the file information of the first application program; And the first configuration component generates a configuration file of the first application program according to the basic file required by the first application program and the configuration parameters of the first application program. According to the embodiment of the invention, Configuration of the application program is realized by a configuration component outside the container. the basic file needed for configuring the application program is obtained from the database outside the node through the configuration component, the configuration of the application program and the container for deploying the application program are decoupled, therefore, the intrusive design of the container isavoided, and subsequent change and upgrade of the application program in the container are simpler and easier.

Description

technical field [0001] The embodiment of the present application relates to the technical field of virtualization, and in particular to a method and device for configuring application programs. Background technique [0002] Container technology is a new type of virtualization technology. Please refer to figure 1 , which shows a schematic diagram of a container deployment scenario. The container 11 is deployed on a node (node) 10 , that is, the node 10 is the host machine of the container 11 . One or more containers 11 can be deployed in one node 10 . Node 10 may be a virtual machine or a physical machine. Application programs 12, such as web server (Web Server) applications, database applications, etc., can be deployed in the container 11 . In order to ensure that the application program 12 runs normally in the container 11 , it is necessary to perform related configuration operations on the application program 12 before the application program 12 starts running. [00...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
CPCG06F9/44505
Inventor 孙勐
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products