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

Method and device for remotely deploying product folder by using recursive function

A recursive function and folder technology, applied in the field of deploying product folders, can solve the problems that the deployment server has no decompression command, reduce the deployment efficiency, and fail to deploy folder-type products, so as to avoid deployment failures and improve the success rate.

Pending Publication Date: 2022-07-12
SECZONE TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the decompression command is executed on the deployment server, the deployment server may not have an available decompression command, which will cause the deployment of folder type products to fail and reduce the deployment efficiency

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 and device for remotely deploying product folder by using recursive function
  • Method and device for remotely deploying product folder by using recursive function
  • Method and device for remotely deploying product folder by using recursive function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to describe in detail the technical content, structural features, achieved objects and effects of the present application, detailed descriptions are given below with reference to the embodiments and the accompanying drawings.

[0046] see Figure 1 to Figure 15 , the embodiment of the present application discloses a method for remotely deploying a product folder by using a recursive function, including:

[0047] 101. Use the full name of the local product folder as the initial first parameter of the recursive function, and use the deployment directory of the remote deployment server as the initial second parameter of the recursive function, and call the recursive function.

[0048] In this application, the "full name of the artifact folder" refers to the path of the artifact folder plus the name of the artifact folder. For ease of understanding, see figure 1 , which gives an example of the full name of the artifact folder " / a / b / c", where "c" refers to the nam...

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 remotely deploying a product folder by using a recursive function, and the method comprises the steps: taking a full name of a local product folder and a deployment directory of a remote deployment server as a first parameter and a second parameter of the recursive function, and calling the recursive function; obtaining the name of the product folder from the first parameter, splicing the name to the back of the second parameter to form a full name of the deployment folder, and remotely creating the deployment folder by using the full name; and traversing the files and the sub-folders under the product folder, splicing the file names of the obtained files to the back of the full name of the deployment folder to form a file deployment full name, transmitting the files as files defined by the file deployment full name in the remote deployment server, and if the sub-folders exist, transmitting the files to the remote deployment server. The name of the sub-folder is obtained and spliced behind the first parameter to serve as a new first parameter, the full name of the deployed folder serves as a new second parameter, and a recursive function is called.

Description

technical field [0001] The present application relates to the technical field of deploying artifact folders, and in particular, to a method and device for remotely deploying artifact folders using recursive functions. Background technique [0002] When the existing devops pipeline deploys folder-type products, it usually compresses the folder before deployment to generate a separate binary file, and then uploads the binary file to the deployment server, and then invokes the remote command to the binary file. The decompression process is performed, and the original binary file is deleted. However, when the decompression command is executed on the deployment server, the deployment server may not have an available decompression command, which may cause the deployment of folder-type artifacts to fail and reduce deployment efficiency. Common compression formats include zip, rar, jar, 7z, cab, ace, gz, bz2, etc. Different compression formats require different decompression tools ...

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/60G06F9/445G06F9/54G06F16/16
CPCG06F8/60G06F9/44505G06F9/547G06F16/164
Inventor 潘志祥万振华王颉李华董燕
Owner SECZONE TECH CO LTD
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