CN104516744A - Software updating method and system - Google Patents

Software updating method and system Download PDF

Info

Publication number
CN104516744A
CN104516744A CN201310450734.5A CN201310450734A CN104516744A CN 104516744 A CN104516744 A CN 104516744A CN 201310450734 A CN201310450734 A CN 201310450734A CN 104516744 A CN104516744 A CN 104516744A
Authority
CN
China
Prior art keywords
file
server
updating
synchronous service
node
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
CN201310450734.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.)
Wuxi China Resources Microelectronics Co Ltd
Original Assignee
Wuxi China Resources Microelectronics 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 Wuxi China Resources Microelectronics Co Ltd filed Critical Wuxi China Resources Microelectronics Co Ltd
Priority to CN201310450734.5A priority Critical patent/CN104516744A/en
Publication of CN104516744A publication Critical patent/CN104516744A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a software updating method. The software updating method is used for synchronously updating the service procedures of all node servers in the same server group through a file server. The software updating method comprises the steps of acquiring an update file by the file server and storing into a monitoring directory; triggering the synchronous service process through a file monitoring process which monitors the monitoring directory; distributing the update file to the node servers of the server groups connected with the file server by the network through the synchronous server process according to the parameters of the configuration file. The invention also discloses a software update system. The method and system have the advantage that the software edition of the server group can be updated safely and quickly.

Description

Oftware updating method and system
Technical field
The present invention relates to program version to upgrade, particularly relate to a kind of Oftware updating method and a kind of software update system.
Background technology
Server cluster all can be used in mega project to provide the network service of large visit capacity and intensive.Server cluster appears to a server when externally providing server, but is providing identical service while of being actually multiple node server, only all calculation tasks has been assigned to different node servers.So the program of all node servers is the same, so just identical service can be provided.
Program ceaselessly carries out improving and upgrading in its life cycle, to adapt to increasing functional requirement and to repair leak etc.Therefore program version always needs to upgrade.For server cluster, program needs new program version to be published to all node servers when upgrading version, be consistent to make the program version of all node servers.
The mode of traditional issue new edition program comprises two kinds:
One is that each node server opening network is shared or FTP service, connects each node server one by one, new edition program copy is completed issuing process to each node server by developer.
Two is new edition program be placed on file server, and arranges access rights, then logins each node server threaded file server, recent program is copied on node and complete issuing process.
All there are the following problems for above-mentioned published method: issue when node server quantity is large on the one hand and will expend for a long time, may have omission simultaneously; On the other hand the address of each node server is open, reduces security, easily under attackly causes the machine of delaying.
Summary of the invention
Based on this, be necessary to provide a kind of safe and efficient Oftware updating method.
A kind of Oftware updating method, based on file server, service routine for all node servers in the same server cluster of synchronized update, comprises the steps: that file server obtains updating file and is saved to monitored directory; To the file monitor process triggers synchronous service process that described monitored directory is monitored; Described updating file is published to the node server of the server cluster be connected with described file server network by described synchronous service process according to the parameter of configuration file.
Wherein in an embodiment, the parameter of described configuration file comprises the log-on message of node server list and each node server.
Wherein in an embodiment, described monitored directory is two or more.
Wherein in an embodiment, described synchronous service process goes back recording version information when issuing described updating file.
Wherein in an embodiment, described synchronous service process adopts network sharing mode or FTP mode to transmit described updating file when issuing described updating file.
A kind of software update system, run on file server, described file server is connected with server set group network to be updated, and described software update system comprises: file monitor module, for monitoring the monitored directory on described file server; When described file server is received updating file by network share service and is stored in described monitored directory, described file monitor module triggering synchronous service module; Synchronous service module, for being published to the node server of the server cluster be connected with described file server network by described updating file according to the parameter of configuration file.
Wherein in an embodiment, the parameter of described configuration file comprises the log-on message of node server list and each node server.
Wherein in an embodiment, described monitored directory is two or more.
Wherein in an embodiment, described synchronous service module goes back recording version information when issuing described updating file.
Wherein in an embodiment, described synchronous service module adopts network sharing mode or FTP mode to transmit described updating file when issuing described updating file.
Said method and system, adopt file monitor mode to trigger the issue of version, have real-time, fast; By reading configuration file, synchronous service process can find all node servers, and carries out version updating to it, therefore there will not be omission.And the security of server is in turn ensure that according to configuration file connected node server.
Accompanying drawing explanation
Fig. 1 is the Oftware updating method process flow diagram of an embodiment;
Fig. 2 is the software update system module map of an embodiment.
Embodiment
Be further described below in conjunction with embodiment and accompanying drawing.
As shown in Figure 1, be the Oftware updating method process flow diagram of an embodiment.The method, based on file server, for the service routine of all node servers in the same server cluster of synchronized update, comprises the steps.
Step S101: file server obtains updating file and is saved to monitored directory.File server (fileserver) is the repertoire with TSS file management, provides the server of the con current control of network user's access file, catalogue and safe and secret measure.It is exclusively used in file and stores and access, and can adopt the multi-purpose computer that can run other application, also can be the special purpose computer providing file service specially.
Described file server can obtain this updating file by network or mobile memory medium.In the present embodiment, described file server is obtained from another computing machine by network share service.Network share service is the Computer Service for the shared file each other of the computing machine in LAN (Local Area Network) in windows system.By sharing mode, obtaining this updating file both can be that file server end operates, and also can operate from another computing machine described in opposite end.
Updating file refers to the file for the service routine of server cluster being upgraded to latest edition.Both can be patch file, also can be the recent program of full version.
Monitored directory is based upon the file directory on described file server.The operations such as name can be carried out to it as the common file of operation.Monitored directory can be one, also can be plural catalogue at the same level, depending on demand.The corresponding folder path of each monitored directory, by specifying this folder path can obtain this monitored directory, obtains the file be stored under it then.
Step S102: the file monitor process triggers synchronous service process that described monitored directory is monitored.Whether described file monitor process is the Resident Process started by the serviced component be installed in windows system, and it is monitored above-mentioned monitored directory and judges, have new file to be stored in this monitored directory to know.If desired, also the file put into is verified, to judge that whether it is the file for program updates.When file monitor process monitoring is to when having updating file available, it can triggering synchronous service processes.
Step S103: described updating file is published to the node server of the server cluster be connected with described file server network by described synchronous service process according to the parameter of configuration file.Synchronous service process is the process started by the serviced component be installed in windows system equally.The system service of Windows is a kind of Application Type, usually at running background.It performs the program of appointing system function, routine or process, to support other programs, and especially low layer (close to hardware) program.Synchronous service process is at running background, and file monitor process triggering synchronous service processes when eligible carries out the issue of updating file.File monitor process triggers synchronous service process is the communication between a kind of process.The object of interprocess communication generally includes data transmission, shares data, notification event, resource sharing and Process flowchart etc.Here namely triggering refers to notification event wherein, and a process needs to send message to another or one group of process, notifies that its (they) there occurs certain event.After notified synchronous service process knows this event, the issue of updating file can be started.
Configuration file is the foundation that described updating file is issued, and it can be kept in the file path that synchronous service process can access, and also can import into when issuing.In the present embodiment, the parameter of described configuration file comprises the log-on message of node server list and each node server.The relevant information of the node server of version updating is carried out, such as server name, physical address and IP address etc. required for wherein comprising in node server list; The log-on message of node server comprises user name and account information etc.Node server is security consideration, usually all can arrange access rights, and user type, restriction read/write/amendment/deletion etc. are logined in such as restriction.It is write data that redaction is issued, and belongs to higher authority.Corresponding user logins node server can obtain corresponding authority.
By reading configuration file, the information that synchronous service process can provide according to node server list finds all node servers, and carries out version updating to it, therefore there will not be omission.And automatically sign according to the log-on message in configuration file the security that node server in turn ensure that server.
Further, described synchronous service process goes back recording version information when issuing described updating file.Recording version information can facilitate version rollback.
Further, described synchronous service process adopts network sharing mode or FTP mode to transmit described updating file when issuing described updating file.Network sharing mode can administration authority very easily in the management of territory.
As shown in Figure 2, be the software update system module map of an embodiment.This software update system is supervisory routine, runs on file server 10.File server 10 is connected with server cluster 20 network to be updated, and server cluster 20 comprises multiple node server 210.Described software update system comprises file monitor module 110 and synchronous service module 120.
File monitor module 110 is for monitoring the monitored directory 130 on file server 10.When file server 10 receives updating file 30 and is stored in monitored directory 130, file monitor module 110 triggering synchronous service module 120.
File server (file server) 10 is the repertoires with TSS file management, provides the server of the con current control of network user's access file, catalogue and safe and secret measure.It is exclusively used in file and stores and access, and can adopt the multi-purpose computer that can run other application, also can be the special purpose computer providing file service specially.
File server 10 can obtain this updating file by network or mobile memory medium.In the present embodiment, file server 10 is obtained from another computing machine by network share service.Network share service is the Computer Service for the shared file each other of the computing machine in LAN (Local Area Network) in windows system.By sharing mode, obtaining this updating file both can be that file server end operates, and also can operate from another computing machine described in opposite end.
Updating file refers to the file for the service routine of server cluster 20 being upgraded to latest edition.Both can be patch file, also can be the recent program of full version.
Monitored directory 130 is based upon the file directory on file server 10.The operations such as name can be carried out to it as the common file of operation.Monitored directory 130 can be one, also can be plural catalogue at the same level, depending on demand.The corresponding folder path of each monitored directory, by specifying this folder path can obtain this monitored directory, obtains the file be stored under it then.Whether file monitor module 110 is by the serviced component be installed in windows system, and it can be used for startup file monitoring process, monitors and judge above-mentioned monitored directory, have new file to be stored in this monitored directory to know.If desired, also the file put into is verified, to judge that whether it is the file for program updates.When file monitor process monitoring is to when having updating file available, it can triggering synchronous service processes.
Synchronous service module 120 is for being published to the node server 210 of the server cluster 20 be connected with file server 10 network by described updating file according to the parameter of configuration file 40.
Module 120 is by the serviced component be installed in windows system equally, for starting synchronous service process.The system service of Windows is a kind of Application Type, usually at running background.It performs the program of appointing system function, routine or process, to support other programs, and especially low layer (close to hardware) program.Synchronous service process is at running background, and file monitor process triggering synchronous service processes when eligible carries out the issue of updating file.File monitor process triggers synchronous service process is the communication between a kind of process.The object of interprocess communication generally includes data transmission, shares data, notification event, resource sharing and Process flowchart etc.Here namely triggering refers to notification event wherein, and a process needs to send message to another or one group of process, notifies that its (they) there occurs certain event.After notified synchronous service process knows this event, the issue of updating file can be started.
Configuration file 40 is foundations that described updating file is issued, and it can be kept in the file path that synchronous service process can access, and also can import into when issuing.In the present embodiment, the parameter of configuration file 40 comprises the log-on message of node server list and each node server.The relevant information of the node server of version updating is carried out, such as server name, physical address and IP address etc. required for wherein comprising in node server list; The log-on message of node server comprises user name and account information etc.Node server is security consideration, usually all can arrange access rights, and user type, restriction read/write/amendment/deletion etc. are logined in such as restriction.It is write data that redaction is issued, and belongs to higher authority.Corresponding user logins node server can obtain corresponding authority.
By reading configuration file 40, the information that synchronous service process can provide according to node server list finds all node servers, and carries out version updating to it, therefore there will not be omission.And automatically sign according to the log-on message in configuration file the security that node server in turn ensure that server.
Further, described synchronous service module 120 goes back recording version information when issuing described updating file.Recording version information can facilitate version rollback.
Further, described synchronous service module 120 adopts network sharing mode or FTP mode to transmit described updating file when issuing described updating file.Network sharing mode can administration authority very easily in the management of territory.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. an Oftware updating method, based on file server, service routine for all node servers in the same server cluster of synchronized update, comprises the steps:
File server obtains updating file and is saved to monitored directory;
To the file monitor process triggers synchronous service process that described monitored directory is monitored;
Described updating file is published to the node server of the server cluster be connected with described file server network by described synchronous service process according to the parameter of configuration file.
2. Oftware updating method according to claim 1, is characterized in that, the parameter of described configuration file comprises the log-on message of node server list and each node server.
3. Oftware updating method according to claim 1, is characterized in that, described monitored directory is two or more.
4. Oftware updating method according to claim 1, is characterized in that, described synchronous service process goes back recording version information when issuing described updating file.
5. Oftware updating method according to claim 1, is characterized in that, described synchronous service process adopts network sharing mode or FTP mode to transmit described updating file when issuing described updating file.
6. a software update system, runs on file server, and described file server is connected with server set group network to be updated, it is characterized in that, described software update system comprises:
File monitor module, for monitoring the monitored directory on described file server; When described file server is received updating file by network share service and is stored in described monitored directory, described file monitor module triggering synchronous service module;
Synchronous service module, for being published to the node server of the server cluster be connected with described file server network by described updating file according to the parameter of configuration file.
7. software update system according to claim 6, is characterized in that, the parameter of described configuration file comprises the log-on message of node server list and each node server.
8. software update system according to claim 6, is characterized in that, described monitored directory is two or more.
9. software update system according to claim 6, is characterized in that, described synchronous service module goes back recording version information when issuing described updating file.
10. software update system according to claim 6, is characterized in that, described synchronous service module adopts network sharing mode or FTP mode to transmit described updating file when issuing described updating file.
CN201310450734.5A 2013-09-27 2013-09-27 Software updating method and system Pending CN104516744A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310450734.5A CN104516744A (en) 2013-09-27 2013-09-27 Software updating method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310450734.5A CN104516744A (en) 2013-09-27 2013-09-27 Software updating method and system

Publications (1)

Publication Number Publication Date
CN104516744A true CN104516744A (en) 2015-04-15

Family

ID=52792109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310450734.5A Pending CN104516744A (en) 2013-09-27 2013-09-27 Software updating method and system

Country Status (1)

Country Link
CN (1) CN104516744A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094926A (en) * 2015-08-28 2015-11-25 张为坚 Software updating method and system
CN107153560A (en) * 2017-05-25 2017-09-12 微梦创科网络科技(中国)有限公司 Version upgrading method, server and system
CN108701063A (en) * 2016-02-26 2018-10-23 三菱电机株式会社 Information processing unit, information processing method and message handling program
CN110866009A (en) * 2019-10-29 2020-03-06 广州西山居世游网络科技有限公司 Method and system for real-time concurrent synchronous service
CN110958293A (en) * 2019-10-12 2020-04-03 平安普惠企业管理有限公司 File transmission method, system, server and storage medium based on cloud server
CN114553867A (en) * 2022-01-21 2022-05-27 北京云思智学科技有限公司 Cloud-native cross-cloud network monitoring method and device and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1629804A (en) * 2003-12-19 2005-06-22 联想(北京)有限公司 Method for version update
CN102073519A (en) * 2010-12-31 2011-05-25 青岛海信宽带多媒体技术有限公司 Software updating method
CN102195802A (en) * 2010-03-18 2011-09-21 中兴通讯股份有限公司 Terminal software transmission method, server and terminal
CN102510409A (en) * 2011-12-19 2012-06-20 厦门雅迅网络股份有限公司 Method and system for quickly and remotely updating program of mobile terminal by using wireless network
CN102591679A (en) * 2011-11-30 2012-07-18 中国科学院计算机网络信息中心 Quick application software arrangement method for cluster system
CN102591693A (en) * 2012-01-12 2012-07-18 北京中广睛彩导航科技有限公司 Method and device for updating file based on CMMB (China mobile multimedia broadcasting)
CN102945175A (en) * 2012-11-09 2013-02-27 杭州易和网络有限公司 Terminal software online upgrading system and method based on cloud computing environment
CN103019776A (en) * 2012-11-30 2013-04-03 浪潮电子信息产业股份有限公司 Method for concurrent installation of various softwares in server cluster
CN103064717A (en) * 2013-01-22 2013-04-24 浪潮(北京)电子信息产业有限公司 Device and method for parallel installation of software for cluster system
CN103118060A (en) * 2012-11-19 2013-05-22 苏州亿倍信息技术有限公司 Self-synchronizing upgrade method and system
CN103166984A (en) * 2011-12-09 2013-06-19 中国航天科工集团第二研究院七0六所 System and method for control and automatic update of network video monitoring equipment controls
CN103310156A (en) * 2013-05-31 2013-09-18 东莞宇龙通信科技有限公司 Method and device for updating terminal system file

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1629804A (en) * 2003-12-19 2005-06-22 联想(北京)有限公司 Method for version update
CN102195802A (en) * 2010-03-18 2011-09-21 中兴通讯股份有限公司 Terminal software transmission method, server and terminal
CN102073519A (en) * 2010-12-31 2011-05-25 青岛海信宽带多媒体技术有限公司 Software updating method
CN102591679A (en) * 2011-11-30 2012-07-18 中国科学院计算机网络信息中心 Quick application software arrangement method for cluster system
CN103166984A (en) * 2011-12-09 2013-06-19 中国航天科工集团第二研究院七0六所 System and method for control and automatic update of network video monitoring equipment controls
CN102510409A (en) * 2011-12-19 2012-06-20 厦门雅迅网络股份有限公司 Method and system for quickly and remotely updating program of mobile terminal by using wireless network
CN102591693A (en) * 2012-01-12 2012-07-18 北京中广睛彩导航科技有限公司 Method and device for updating file based on CMMB (China mobile multimedia broadcasting)
CN102945175A (en) * 2012-11-09 2013-02-27 杭州易和网络有限公司 Terminal software online upgrading system and method based on cloud computing environment
CN103118060A (en) * 2012-11-19 2013-05-22 苏州亿倍信息技术有限公司 Self-synchronizing upgrade method and system
CN103019776A (en) * 2012-11-30 2013-04-03 浪潮电子信息产业股份有限公司 Method for concurrent installation of various softwares in server cluster
CN103064717A (en) * 2013-01-22 2013-04-24 浪潮(北京)电子信息产业有限公司 Device and method for parallel installation of software for cluster system
CN103310156A (en) * 2013-05-31 2013-09-18 东莞宇龙通信科技有限公司 Method and device for updating terminal system file

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094926A (en) * 2015-08-28 2015-11-25 张为坚 Software updating method and system
CN108701063A (en) * 2016-02-26 2018-10-23 三菱电机株式会社 Information processing unit, information processing method and message handling program
CN107153560A (en) * 2017-05-25 2017-09-12 微梦创科网络科技(中国)有限公司 Version upgrading method, server and system
CN107153560B (en) * 2017-05-25 2020-12-15 微梦创科网络科技(中国)有限公司 Version upgrading method, server and system
CN110958293A (en) * 2019-10-12 2020-04-03 平安普惠企业管理有限公司 File transmission method, system, server and storage medium based on cloud server
CN110958293B (en) * 2019-10-12 2023-10-24 陕西合友网络科技有限公司 File transmission method, system, server and storage medium based on cloud server
CN110866009A (en) * 2019-10-29 2020-03-06 广州西山居世游网络科技有限公司 Method and system for real-time concurrent synchronous service
CN114553867A (en) * 2022-01-21 2022-05-27 北京云思智学科技有限公司 Cloud-native cross-cloud network monitoring method and device and storage medium

Similar Documents

Publication Publication Date Title
US9569195B2 (en) Systems and methods for live operating system upgrades of inline cloud servers
US10445186B1 (en) Associating a guest application within a virtual machine to create dependencies in backup/restore policy
CN104516744A (en) Software updating method and system
CN104486445A (en) Distributed extendable resource monitoring system and method based on cloud platform
CA2914940A1 (en) Pre-configure and pre-launch compute resources
CN103810444A (en) Method and system for multi-tenant application isolation in cloud computing platform
CN104360878A (en) Method and device for deploying application software
WO2016169166A1 (en) Virtual machine scheduling method and device
CN103024065A (en) System configuration management method for cloud storage system
CN106936623A (en) The management method of distributed cache system and cache cluster
CN108319492B (en) Method, device and system for resetting physical machine
CN103327108A (en) Cross-platform software management platform based on cloud and construction method thereof
US20220277071A1 (en) Enforcing policies for unmanaged applications
CN106293846A (en) The upgrade method of analog processor and device
CN106385455A (en) CDN (Content Delivery Network) mirror-based whole site lock setting method
US20160330241A1 (en) Remote password management using local security policies
US10860304B2 (en) Enforcement of updates for devices unassociated with a directory service
CN104536805A (en) Resource providing system and method of virtualization platform
US9774600B1 (en) Methods, systems, and computer readable mediums for managing infrastructure elements in a network system
CN105988898A (en) System backup device and backup method
US20210263721A1 (en) Method, device, and computer program product for managing virtual machine upgrage
WO2018010603A1 (en) Storage mode upgrade method, apparatus and system based on video cloud storage system
CN104461757A (en) Method and device for restoring virtual machines
CN107786650A (en) A kind of synchronous method, the apparatus and system of storage medium and management strategy
KR101638689B1 (en) System and method for providing client terminal to user customized synchronization service

Legal Events

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

Application publication date: 20150415

RJ01 Rejection of invention patent application after publication