CN106648718A - Server code deployment method and system - Google Patents

Server code deployment method and system Download PDF

Info

Publication number
CN106648718A
CN106648718A CN201510732272.5A CN201510732272A CN106648718A CN 106648718 A CN106648718 A CN 106648718A CN 201510732272 A CN201510732272 A CN 201510732272A CN 106648718 A CN106648718 A CN 106648718A
Authority
CN
China
Prior art keywords
software
server
update
module
renewal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510732272.5A
Other languages
Chinese (zh)
Inventor
张红亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TVM Beijing Technology Co Ltd
Original Assignee
TVM Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TVM Beijing Technology Co Ltd filed Critical TVM Beijing Technology Co Ltd
Priority to CN201510732272.5A priority Critical patent/CN106648718A/en
Publication of CN106648718A publication Critical patent/CN106648718A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44536Selecting among different versions

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a server code deployment method and system. The method comprises the steps that a software module is updated; the updated software module is packaged to be in an RPM format; the software module in the RPM format is stored into a software depot; a server is checked and updated; the software module is updated; the software depot is located at the updated server and stores all historical versions of updated software; an updating module is installed in the server and manages updating check, downloading of the updated software and software updating. According to the technical scheme, the updating version of software can be checked automatically, an updated software package can be automatically downloaded and installed, therefore, investment of system maintainers is reduced, maintenance cost of a Linux system server is lowered, timely updating of server software and application software is effectively guaranteed, and stable operation of the Linux system server and the application software is promoted.

Description

A kind of method and system of code server deployment
Technical field
The present invention relates to Internet technical field, method and be that more particularly to a kind of code server is disposed System.
Background technology
Linux system server is designed to the service application for processing, such as network and system management, data Library management and Web service etc., are a kind of servers for possessing high-performance and increasing income property.
Linux system is the system of most stability.Seldom there are the feelings of system crash in Linux system server Condition, this is particularly small-sized especially valuable with medium-sized and small enterprises users for a user, because service Device system can cause very big impact once collapsing the business to enterprise.Meanwhile, Linux process does not run The ability of process is far above windows, and these processes exactly affect the master of the windows stabilities of a system Want factor.
Linux system is easy to use, it is easy to safeguard.(SuSE) Linux OS typically need not restart, several All of Linux configuration variations can be carried out in system operation, can't affect the service of correlation.This The configuration change a little for Windows systems with larger advantage, Windows systems leads to Restarting is often needed, this results in inevitable downtime.Meanwhile, Windows servers are necessary Jing often continually carries out defragmentation, and seldom needs to carry out this process in Linux system server.
The security of linux system is preferable, either on server system, desktop or under embedded environment Linux system all has more security.Because linux system is developed based on Unix system, open from one Beginning is just designed to a multi-user operating system.Only keeper or root user have administration authority, only Less user and application program has permission to access kernel.No matter such design causes linux system in pipe All more specification in reason or in safety.Linux system is under attack to be less subject to virus and Malware Frequency it is less, during if there is leak, be often more prone to be found.And, linux system On server, system manager can be visible to all of file, and these files are in all the time controlled shape State, it is ensured that the security of file system.
Linux system server flexibility and extensibility, no matter processor or hardware structure can be well Carry out the extension in resource.If user is whenever necessary, also it is easy to carry out Linux system server weight New configuration, so as to further reduce the demand of internal memory, so as to improve the performance of server.
Due to the advantage of Linux system server, it is widely used in industry-by-industry, becomes row The informationalized important foundation of industry is arranged.Meanwhile, application software covers every field, also brings software Function and species are more and more, and operating system, antivirus software, driver, application software all can be faced with The extension of function and the upgrading of software, these softwares also can all need leak reparation and packing program soft to safeguard The normal operation of health of part.Under this environment, the renewal and upgrading to server software proposes higher wanting Ask, to keep the development of software requirement, improve the stability of running software.
The renewal of existing Linux system server software, generally adopts software upgrading bag, according to keeper's Instruct to update systems soft ware;Software upgrading bag is supported to install automatically and update, however it is necessary that locally downloading Afterwards, ordered just to complete to update after operation upgrading by system manager.This code upgrade mode needs greatly The input of the human resources of amount, it is impossible to which adaptation server software maximizes and the diversification of service application function Development trend, it is impossible to effectively keep upgrading in time and stable operation for server software and application software.
The content of the invention
The present invention provides a kind of method and system of code server deployment, can automatically check the renewal of software Version, and renewal software kit is downloaded and installed automatically, the input of system maintenance personnel is reduced, reduce The maintenance cost of Linux system server, is effectively ensured upgrading in time for server software and application software, The stable operation of Linux system server and application software, adaptation server software is conducive to maximize and industry The development trend of business application software diversification.
The method that technical scheme provides a kind of deployment of code server, comprises the following steps:
Update software module;
The software module of the renewal is packaged into RPM forms;
By the software module storage of described RPM forms to software storage;
Server inspection updates;
Update software module.
Further, in linux system, computer software code is taken into modularized design;
Update software and write renewal program source code in a modular manner.
Further, Linux system server is downloaded after the more new file of RPM forms, runs the software then Automatically the renewal of the software module is carried out.
Further, the software storage is located at and updates server;
It is described to update all old versions that server storage updates software.
Further, the time that Linux system server inspection updates is set, setting time is Linux systems The system server service amount minimum time period;
Linux system server is periodically updated inspection according to setting time.
Further, Linux system server is provided with update module, management update inspection, renewal software Download and software renewal.
Further, the update module supports artificial regeneration;
Artificial regeneration does not limit the operating time of renewal and updates the version number of software.
Technical scheme additionally provides a kind of system of code server deployment, including:Software storage, Update module, wherein,
Software storage is used to store all old versions of software module;
Update module is used for management update inspection, the download of renewal software and the renewal of software, and supports artificial Update.
Further, software storage is located at and updates server;
Update module is located at Linux system server.
Further, update module is from software storage inspection renewal and down loading updating software.
Technical solution of the present invention devises the software upgrading that special module checks Linux system server, And the download and installation for updating software is automatically performed, and the input of system maintenance personnel can be effectively reduced, reduce The maintenance cost of Linux system server, at the same be effectively ensured server software and application software and Shi Gengxin, is conducive to the stable operation of Linux system server and application software, and adaptation server software is big Type and the development trend of service application software diversification.
Other features and advantages of the present invention will illustrate in the following description, also, partly from explanation Become apparent in book, or understood by implementing the present invention.The purpose of the present invention and other advantages can Realize and obtain by specifically noted structure in the specification, claims and accompanying drawing write .
Below by drawings and Examples, technical scheme is described in further detail.
Description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, with this Bright embodiment is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the method flow diagram of code server deployment in the embodiment of the present invention one;
Fig. 2 is the system construction drawing of code server deployment in the embodiment of the present invention one.
Specific embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that described herein Preferred embodiment is merely to illustrate and explains the present invention, is not intended to limit the present invention.
Fig. 1 is the method flow diagram of code server deployment in the embodiment of the present invention one.As shown in figure 1, should Flow process is comprised the following steps:
Step 101, renewal software module.
In linux system, computer software code is taken into modularized design;
Update software and write renewal program source code in a modular manner, update software and former software uses phase Same interface.
Step 102, the software module of the renewal is packaged into RPM forms.
Software module is binary format, does not support installation automatically;
Software module will be updated and be packaged into RPM forms, can support to automatically update;
The renewal file download of RPM forms to local, is run the software then system by Linux system server Automatically the renewal of the software module is carried out.
Step 103, by the storage of the software module of described RPM forms to software storage.
The software storage is located at and updates server;
It is described to update all old versions that server storage updates software;
During artificial regeneration, system is supported to select any version to be installed.
Step 104, server inspection update.
Linux system server is provided with update module, management update inspection, updates the download of software and soft The renewal of part;
Update module sets the time of Linux system server inspection renewal as Linux system server business The amount minimum time period, software upgrading is reduced into minimum to the impact that server runs;
In the time of update module setting, inspection is updated automatically;
When the software module of redaction is checked, update module is automatically soft from server down loading updating is updated Part;
Under actual working environment, the update module also supports artificial regeneration, and network manager can basis The actual conditions of Linux system server operation are carrying out the renewal of software;
In the case of artificial regeneration, the operating time of renewal and the version number of renewal software, network pipe are not limited Reason person can select and download the version of software module from server is updated, and carry out operation and carry out software module Renewal.
Step 105, renewal software module.
Server runs the renewal software module of RPM forms, and the installation for completing particular module updates.
In order to realize the flow process of above-mentioned code server deployment, the present embodiment additionally provides a kind of code server The system of deployment, Fig. 2 is the system construction drawing of code server deployment in the embodiment of the present invention one.Such as Fig. 2 Shown, the system includes:Software storage 201, update module 202, wherein,
Software storage is used to store all old versions of software module;
Update module is used for management update inspection, the download of renewal software and the renewal of software, and supports artificial Update;
Update module has updated the version of software when inspection is updated from software storage inspection Number, and the version number of software module that Linux server has been installed contrasted, if it find that new is soft The version of part module, then the software module of automatic down loading updating and install automatically;
Update module is set in the Linux server portfolio minimum time period and is updated inspection, with right The impact of server operation is reduced to minimum;
Update module supports that artificial software upgrading, network manager's operation update module complete to update soft simultaneously The download and installation of part.
Further, software storage is located at and updates server;
Update module is located at Linux system server.
Technical solution of the present invention devises the software upgrading that special module checks Linux system server, And the download and installation for updating software is automatically performed, and the input of system maintenance personnel can be effectively reduced, reduce The maintenance cost of Linux system server, at the same be effectively ensured server software and application software and Shi Gengxin, is conducive to the stable operation of Linux system server and application software, and adaptation server software is big Type and the development trend of service application software diversification.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or knot Close the form of the embodiment in terms of software and hardware.And, the present invention can be adopted and wherein wrapped at one or more Computer-usable storage medium containing computer usable program code (including but not limited to magnetic disc store and Optical memory etc.) on implement computer program form.
The present invention is produced with reference to method according to embodiments of the present invention, equipment (system) and computer program The flow chart and/or block diagram of product is describing.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or square frame and flow chart and/or the flow process in block diagram and/ Or the combination of square frame.These computer program instructions can be provided to all-purpose computer, special-purpose computer, embedded The processor of formula processor or other programmable data processing devices is producing a machine so that by calculating The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one The device of the function of specifying in individual flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable datas process to set In the standby computer-readable memory for working in a specific way so that in being stored in the computer-readable memory Instruction produce and include the manufacture of command device, command device realization is in one flow process or multiple of flow chart The function of specifying in one square frame of flow process and/or block diagram or multiple square frames.
These computer program instructions also can be loaded into computer or other programmable data processing devices, made Obtain and series of operation steps is performed on computer or other programmable devices to produce computer implemented place Reason, so as to the instruction performed on computer or other programmable devices is provided for realizing in flow chart one The step of function of specifying in flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
Obviously, those skilled in the art can carry out various changes and modification without deviating from this to the present invention The spirit and scope of invention.So, if these modifications of the present invention and modification belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to comprising these changes and modification.

Claims (10)

1. a kind of method that code server is disposed, it is characterised in that comprise the following steps:
Update software module;
The software module of the renewal is packaged into RPM forms;
By the software module storage of described RPM forms to software storage;
Server inspection updates;
Update software module.
2. method according to claim 1, it is characterised in that further include:
In linux system, computer software code is taken into modularized design;
Update software and write renewal program source code in a modular manner.
3. method according to claim 1, it is characterised in that further include:
Linux system server is downloaded after the more new file of RPM forms, and run the software then carries out this automatically The renewal of software module.
4. method according to claim 1, it is characterised in that further include:
The software storage is located at and updates server;
It is described to update all old versions that server storage updates software.
5. method according to claim 1, it is characterised in that further include:
The time that the inspection of setting Linux system server updates, setting time is Linux system server industry The business amount minimum time period;
Linux system server is periodically updated inspection according to setting time.
6. the method according to claim 1 and 5, it is characterised in that further include:
Linux system server is provided with update module, management update inspection, updates the download of software and soft The renewal of part.
7. method according to claim 6, it is characterised in that further include:
The update module supports artificial regeneration;
Artificial regeneration does not limit the operating time of renewal and updates the version number of software.
8. the system that a kind of code server is disposed, it is characterised in that include:Software storage, updates mould Block, wherein,
Software storage is used to store all old versions of software module;
Update module is used for management update inspection, the download of renewal software and the renewal of software, and supports artificial Update.
9. system according to claim 8, it is characterised in that further include:
Software storage is located at and updates server;
Update module is located at Linux system server.
10. the system according to claim 8 and 9, it is characterised in that further include:
Update module is from software storage inspection renewal and down loading updating software.
CN201510732272.5A 2015-11-02 2015-11-02 Server code deployment method and system Pending CN106648718A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510732272.5A CN106648718A (en) 2015-11-02 2015-11-02 Server code deployment method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510732272.5A CN106648718A (en) 2015-11-02 2015-11-02 Server code deployment method and system

Publications (1)

Publication Number Publication Date
CN106648718A true CN106648718A (en) 2017-05-10

Family

ID=58809644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510732272.5A Pending CN106648718A (en) 2015-11-02 2015-11-02 Server code deployment method and system

Country Status (1)

Country Link
CN (1) CN106648718A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142904A (en) * 2019-12-24 2020-05-12 苏州智加科技有限公司 A method and system for continuous updating of automatic driving system software
CN111480142A (en) * 2017-12-22 2020-07-31 西门子股份公司 Seamless and secure upgrades to software-intensive systems during operation
CN111796834A (en) * 2020-06-30 2020-10-20 福信富通科技股份有限公司 Method, device and equipment for deploying combinable micro-service development framework
CN112596760A (en) * 2020-12-09 2021-04-02 武汉联影医疗科技有限公司 Software maintenance method, device and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874576A (en) * 2005-04-28 2006-12-06 索尼爱立信移动通信日本株式会社 Software update system and software update management apparatus
CN101859251A (en) * 2009-04-09 2010-10-13 研祥智能科技股份有限公司 Method and device for installing embedded operating system
CN102118500A (en) * 2010-12-27 2011-07-06 清华大学 Software package-based online automatic updating method for open source operating system of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874576A (en) * 2005-04-28 2006-12-06 索尼爱立信移动通信日本株式会社 Software update system and software update management apparatus
CN101859251A (en) * 2009-04-09 2010-10-13 研祥智能科技股份有限公司 Method and device for installing embedded operating system
CN102118500A (en) * 2010-12-27 2011-07-06 清华大学 Software package-based online automatic updating method for open source operating system of mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111480142A (en) * 2017-12-22 2020-07-31 西门子股份公司 Seamless and secure upgrades to software-intensive systems during operation
CN111142904A (en) * 2019-12-24 2020-05-12 苏州智加科技有限公司 A method and system for continuous updating of automatic driving system software
CN111142904B (en) * 2019-12-24 2022-09-13 苏州智加科技有限公司 Continuous updating method and system for software of automatic driving system
CN111796834A (en) * 2020-06-30 2020-10-20 福信富通科技股份有限公司 Method, device and equipment for deploying combinable micro-service development framework
CN111796834B (en) * 2020-06-30 2022-10-14 福信富通科技股份有限公司 Method, device and equipment for deploying combinable micro-service development framework
CN112596760A (en) * 2020-12-09 2021-04-02 武汉联影医疗科技有限公司 Software maintenance method, device and equipment

Similar Documents

Publication Publication Date Title
CN102999369B (en) The method and device of virtual machine upgrading
US9459850B2 (en) Adaptive cloud aware just-in-time (JIT) compilation
US10013248B2 (en) Reducing downtime during upgrades of interrelated components in a database system
CN106293781B (en) The method and apparatus of online upgrading machine virtual machine
CN104133690B (en) Migrated to the dynamic application for having updated operating system grade from an operating system grade
US20160328227A1 (en) Dynamically Applying A Software Patch To A Computer Program
CN110134496A (en) Container monitoring method, device, equipment and computer-readable storage medium
CN106201527B (en) A kind of Application Container system of logic-based subregion
US5799187A (en) System and method for creating and maintaining a CD ROM client in a computer network
CN106648718A (en) Server code deployment method and system
CN113791862B (en) Java application slimming deployment method and system based on Docker in domestic CPU and OS environment
WO2016111673A1 (en) Multi-tenant upgrading
CN107368353A (en) A kind of method and apparatus for realizing virutal machine memory heat addition
EP2805233B1 (en) Installation engine and package format for parallelizable, reliable installations
CN103984574A (en) Method and system for updating website
CN102331945A (en) Application management method based on electronic store
CN106990987A (en) Plug-in unit based on karaf_agent ends/Service Component automatic managing device and method
CN113439258B (en) Hosting virtual machines on secondary storage systems
CN103645888A (en) System and method for automatically building operation system
CN109254960B (en) Method and device for migrating mass data of database
CN114185866B (en) Data local storage control method and medical data storage system
US20200201618A1 (en) Operating system update
CN109960522B (en) Software upgrading method and device
US20200133709A1 (en) System and method for content - application split
US9798571B1 (en) System and method for optimizing provisioning time by dynamically customizing a shared virtual machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510