File configuration editing method and system in service deployment

A file configuration and editing system technology, applied in the field of cloud services, can solve the problems of inconvenient editing and viewing of configuration parameters, high data error rate, and high work pressure for operation and maintenance personnel, so as to facilitate later operation and maintenance and upgrades, and improve deployment efficiency. , the effect of shortening the deployment time

Pending Publication Date: 2020-07-10
山东汇贸电子口岸有限公司
View PDF9 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical task of the present invention is to provide a method and system for editing file configuration in service deployment to solve the problems of inconv

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
  • File configuration editing method and system in service deployment
  • File configuration editing method and system in service deployment
  • File configuration editing method and system in service deployment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] as attached figure 1 As shown, the file configuration editing method in the service deployment of the present invention, the method is to connect the Git warehouse of the remote configuration file (because the git warehouse is the mainstream warehouse in research and development, this project takes git as an example), through the interface of the Git command API, clone some or all files in the remote warehouse to the local, modify, merge or view configuration parameters, and then push the final configuration file to the remote Git warehouse by calling the API interface of the Git command for use when deploying service services; attached figure 2 As shown, the details are as follows:

[0063] S1. Deployment scripts are pulled remotely and displayed through a browser: Considering that it is difficult to modify the comparison files directly on Git, and the official API provided by Git cannot be implemented and the UI interface is relatively fixed, which cannot satisfy co...

Embodiment 2

[0086] as attached Figure 5 As shown, the file configuration editing system in service deployment of the present invention includes,

[0087] The script remote pull and display module is used to deploy the script to pull remotely and display it through the browser. It is displayed by cloning to the local. During the cloning process, eclipse is used to provide the jgit jar package for operation. With the help of the jgit jar toolkit, call The interface is used to operate Git; among them, the specific deployment of the script remote pull and display module is as follows:

[0088] On the physical machine where the service is deployed, plan an area for storing files cloned locally;

[0089] Call the API interface of git to implement cloning, the interface method is Git.cloneRepository();

[0090] Then add the address of the warehouse and the branch of the Git project, and operate according to the requirements.

[0091] The file deployment operation module is used to operate an...

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 file configuration editing method and system in service deployment, and belongs to the field of cloud services. In order to solve the technical problems to be solved by the invention are that configuration parameters are inconvenient to edit and consult, the data error rate is high, and the working pressure of operation and maintenance personnel is high in complex projectengineering, the invention employs the technical scheme as follows: the method comprises the following steps: connecting a remote configuration file Git warehouse; after a Git command is received, through an interface API (Application Program Interface) of the Git command, closing partial files or all files in a remote warehouse to the local, modifying, combining or checking configuration parameters, and pushing a final configuration file to the remote Git warehouse by calling the API of the Git command to be used when service services are deployed. The method specifically comprises the following steps: remotely pulling a deployment script; operating the deployment file through a local browser; and performing automated submission of configuration files. The system comprises a script remote pulling and displaying module, a file deployment operation module, a configuration file automatic submitting module and an alarm log viewing module.

Description

technical field [0001] The invention relates to the field of cloud services, in particular to a method and system for editing file configuration in service deployment. Background technique [0002] Faced with the development trend of larger and larger project scale and project scope, more and more complex applications, and more and more module integrations, project deployment and release often rely on multiple components, making deployment more difficult. The configuration files of the components will also increase suddenly, making the deployment extremely challenging, and it is a headache for the operation and maintenance release personnel. [0003] At the same time, the previous manual deployment was time-consuming and labor-intensive, and the probability of errors was often high, which can be said to be unavoidable. In the face of continuous improvement in deployment requirements, rapid deployment in a short period of time is also a must-have capability for the modern dev...

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
IPC IPC(8): G06F8/60G06F9/445
CPCG06F8/60G06F9/44505G06F9/44526
Inventor 马洪志周睿窦洋
Owner 山东汇贸电子口岸有限公司
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