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

Method and system for updating program versions in servers

A program version and server technology, applied in the field of Internet networks, can solve problems such as inability to upgrade program versions, slow deployment speed, and inability to deploy multiple server codes in a single code base, so as to shorten update time, update speed, and reduce transmission volume. Effect

Active Publication Date: 2017-02-01
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing program version update method in the server is to deploy all the codes of all the files of the latest version of the program that have been edited in the code base to the server. The entire deployment speed is slow, and a single code base cannot code multiple servers at the same time. Deployment, that is, it is impossible to upgrade the version of the program in multiple servers at the same time

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 system for updating program versions in servers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0025] The present invention provides a method for updating the version of the program in the server, that is, deploying the latest version of the program in the code library to the server, and updating or upgrading the current version of the program in the server. The updating method of the present invention uses distributed version control software Complete, in this embodiment, the distributed version control software is Git. see figure 1 As shown, the method specifically includes the following steps:

[0026] Step S1: Call the interface of the Libgit2 tool, obtain the branch of the code base, and obtain the configuration items associated with the branch. There is at least one branch of the code base, and each branch is associated with a configuration item, and each configuration item contains at least one server address , each server address corresponds ...

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 relates to the field of Internet, and discloses a method for updating program versions in servers. The method comprises the following steps: S1, acquiring branches of a code library, and acquiring configuration items associated with the branches; S2, establishing connections with one or more servers in the code library according to the addresses of the servers in the acquired configuration items; S3, traversing files in the servers which are connected with the code library, judging whether a single server includes feature files for indicating version number information of a current version of a program in the server or not, and updating all or a part of latest version files to file uploading lists corresponding to the servers; S4, deploying the files in the file uploading lists into the corresponding servers. The invention further discloses a system for updating the program versions in the servers. The method and the system have high program updating processes, and support simultaneous program updating of a plurality of servers.

Description

technical field [0001] The invention relates to the Internet network field, in particular to a method for updating program versions in a server and a system for updating program versions in the server. Background technique [0002] With the rapid development of Internet technology, servers all over the world connect the whole world. People access different server programs through various smart devices, so as to enjoy a convenient and intelligent life. At the same time, in order to meet people's diverse needs and test and develop Yes, programmers need to regularly upgrade the version of the program in the server, that is, deploy the program code written in the code base to the server, so as to complete the update of the program version and functions in the server. The existing program version update method in the server is to deploy all the codes of all the files of the latest version of the program that have been edited in the code base to the server. The entire deployment s...

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): G06F9/445G06F9/44
CPCG06F8/65G06F8/71
Inventor 张利平
Owner WUHAN DOUYU NETWORK 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