Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for automatically constructing target file based on container technology

A target file and automatic construction technology, applied in software deployment, electrical components, software maintenance/management, etc., can solve the problems of resource waste, inconsistency, waste, etc., and achieve the effect of avoiding waste

Pending Publication Date: 2020-07-10
贵州新致普惠信息技术有限公司
View PDF8 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] (1) Waste of resources
[0007] In order to ensure that the development, testing, system integration, running phase, and environment do not affect each other, the environment is often deployed separately. However, in reality, when the project is in the early stage of development, the testing, integration testing, and running phases do not need the environment. At this time, if For testing, the environment is deployed in advance during the integration testing and running phases, resulting in vacant resources and waste
[0008] (2) There is no guarantee that all environments are completely consistent
The inconsistency of the underlying operating system leads to the inconsistency of the operating environment
[0010] (3) Not conducive to migration
), at this time we need to redeploy an environment. If an environment integrates a large number of development languages, dependent libraries, etc., then restoring the environment will become particularly complicated
[0012] (4) Not conducive to maintenance

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
  • Method for automatically constructing target file based on container technology
  • Method for automatically constructing target file based on container technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention will be further described below through specific embodiments in conjunction with the accompanying drawings. These embodiments are only used to illustrate the present invention, and are not intended to limit the protection scope of the present invention.

[0040] In order to better use resources and avoid resource waste, the present invention considers virtualization technology. In computer technology, virtualization technology or virtualization technology (English: Virtualization) is a resource management technology that integrates various computer entities Resources (CPU, memory, disk space, network adapter, etc.) are abstracted, transformed and presented, and can be divided and combined into one or more computer configuration environments. As a result, the inseparable barrier between physical structures is broken, so that users can use these computer hardware resources in a better way than the original configuration. The new virtual portion of th...

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 for automatically constructing a target file based on a container technology. The method comprises the following steps: 1, acquiring a project code and copying the project code to a server; 2, judging whether a configuration file stored with project environment information exists on the server or not; if so, executing the step 3; if not, executing the step 6; 3, reading configuration file information to obtain an environment required by the current project; 4, judging whether an environment mirror image exists on the server or not, and generating the environment mirror image if the environment mirror image does not exist: if yes, the docker container is started through the docker mirror image; 5, executing a predefined target file construction command in the docker container; 6, ending the construction operation. The compiling construction problem based on the standard architecture project is effectively solved, and different development environments, test environments and deployment environments are rapidly provided by using the container mirror image. In addition, in the environment migration process, the method is faster than a traditional mode,and it is guaranteed that the environment is completely consistent after migration.

Description

technical field [0001] The invention relates to the field of software development, in particular to a method for automatically constructing target files based on container technology. Background technique [0002] In software development, a build system is an automated tool used to generate objects from source code that users can use. Targets can include libraries, executables, or generated scripts, among others. [0003] In order to build a target, the configuration information that the build system needs to know includes the location of the toolchain components (such as the C++ compiler), the location of the source code, code dependencies, external dependencies, where these dependencies are located, which target needs to be built, and which targets are Where does it need to be installed and so on. This information is usually specified in a configuration file that the build system can read. The build system uses this information to process and build the source code in th...

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): G06F8/61G06F8/71G06F8/76H04L29/08
CPCG06F8/63G06F8/71G06F8/76H04L67/30
Inventor 郭玮李杰
Owner 贵州新致普惠信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products