Java automatic code issuing method based on Struts2 frame

A code release and framework technology, applied in the field of Java automated code release based on the Struts2 framework, can solve problems such as prone to misoperation, code misinformation, and many times of batch code release, and achieve the effect of reducing work intensity and avoiding misinformation

Active Publication Date: 2018-05-04
上海新炬网络技术有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The following questions are listed based on the actual configuration management work on site. These factors determine that the purely manual configuration management work will cause many problems, mainly because the work pressure on the configuration personnel is high, and the work efficiency is not high. , prone to miscommunication, missed transmission, missed restarts
[0009] 1. There are more daily code releases and batch code releases per week
[0010] 2. There are many channels involved in a single go-live, and each channel requires code collection, incremental (full) backup, incremental upload, and application restart in the production environment
[0011] 3. During a single go-live process, different dev

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
  • Java automatic code issuing method based on Struts2 frame
  • Java automatic code issuing method based on Struts2 frame

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0025] After analyzing the actual code release process, during the entire online process, configuration managers need to complete the following operations:

[0026] 1) Complete backup of the project

[0027] Before going online, make a complete package backup of the project directory of the production environment, so that the entire package can be restored in case of an emergency application failure. The engineering code of the production environment is stored separately on different servers according to static files and files related to dynamic background Java programs. When going online, the program code will judge whether the corresponding file is a dynamic file or a static file according to the suffix name of the file; dynamic files are iteratively uploaded to the local dynamic server, and static files are iteratively uploaded to the local static r...

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 Java automatic code issuing method based on a Struts2 frame. The method comprises the following steps: S1) firstly collecting online files and catalogues to be issued; S2) executing the automation incremental backup through host polling; and connecting the host through the iteration, and executing an application engineering backup script on the host to realize the total backup of the engineering application on the remote host; S3) uploading the newly issued online file from the local to an application catalogue of a remote server, and realizing the incremental synchronous production; and S4) while the uploading of all host files is over, restarting a remote application by calling a script file on the remote host. The provided Java automatic code issuing method based on the Struts2 frame is capable of realizing the automation of an issuing link through using a Java program, effectively preventing the mis-uploading and the uploading leakage of an online process,and greatly reducing the working strength.

Description

technical field [0001] The invention relates to an automatic code release method, in particular to a Java automatic code release method based on the Struts2 framework. Background technique [0002] When engaged in operation and maintenance in the mobile communication industry, one of the most important job responsibilities is to be responsible for the production environment code release of mobile-related channels (also known as "online" in the industry). At that time, the code version control tools for various channels were mainly SVN and Telelogic Synergy. SVN was used as a development version management library, while Telelogic Synergy was a production code version management library that was completely independent of SVN. A simple understanding is that the developer's code can be updated to the SVN repository at any time, but only the code that is allowed to be released to the production environment can be updated to TelelogicSynergy before going online. As configuration...

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/71
CPCG06F8/71
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