[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN101105745A - Deployment Methods for Distributed Software Systems - Google Patents

Deployment Methods for Distributed Software Systems Download PDF

Info

Publication number
CN101105745A
CN101105745A CNA2006100990280A CN200610099028A CN101105745A CN 101105745 A CN101105745 A CN 101105745A CN A2006100990280 A CNA2006100990280 A CN A2006100990280A CN 200610099028 A CN200610099028 A CN 200610099028A CN 101105745 A CN101105745 A CN 101105745A
Authority
CN
China
Prior art keywords
local agent
agent process
main frame
business
service
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.)
Granted
Application number
CNA2006100990280A
Other languages
Chinese (zh)
Other versions
CN100549950C (en
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.)
State Grid Shanghai Electric Power Co Ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2006100990280A priority Critical patent/CN100549950C/en
Publication of CN101105745A publication Critical patent/CN101105745A/en
Application granted granted Critical
Publication of CN100549950C publication Critical patent/CN100549950C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Multi Processors (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

本发明公开了一种分布式软件系统的部署方法。为解决现有技术中业务分布点数量比较多,部署业务软件困难,并且人工操作容易不慎带来的软件版本不一致性的问题而发明。本发明包括以下步骤:(1)中心服务进程将业务软件版本更新指令发送到独立于业务分布点上业务流程的本地代理进程;(2)本地代理进程根据该指令进行业务软件版本更新;其中,所述中心服务进程和所述本地代理进程使用统一的二进制指令。这样,各个业务分布点的本地代理进程都从中心服务进程更新业务软件版本能够使得企业级或者电信级的软件系统的各个业务分布点的业务软件保持一致,从而避免了大量的人工操作不慎带来的业务软件不一致性,并且可以方便的部署业务软件。

Figure 200610099028

The invention discloses a deployment method of a distributed software system. It was invented to solve the problem of software version inconsistency caused by the relatively large number of business distribution points in the prior art, the difficulty of deploying business software, and the easy and careless manual operation. The present invention comprises the following steps: (1) the central service process sends the service software version update instruction to the local agent process independent of the service flow on the service distribution point; (2) the local agent process performs service software version update according to the instruction; wherein, The central service process and the local agent process use unified binary instructions. In this way, the local agent process of each business distribution point updates the business software version from the central service process, which can make the business software of each business distribution point of the enterprise-level or telecom-level software system consistent, thereby avoiding a large number of manual operations. Inconsistency of incoming business software, and convenient deployment of business software.

Figure 200610099028

Description

The dispositions method of distributed software system
Technical field
The present invention relates to enterprise-level or carrier-class distributed software system, particularly the dispositions method of distributed software system.
Background technology
Software systems generally have three kinds of system architectures:
(1) centralized architecture
Constitute central server by one or more servers, all user's requests all are addressed to central server.Central server is being stored all data, and provides service for all users.Obviously this simple in structure, be easy to management, but cause the bottleneck of network or server system easily.
(2) layer-stepping architecture
The layer-stepping architecture is easy to enlarge service range, and the level of layering can change along with the size of service range.In this structure, server connects into tree, and central server is placed on the tree root position, is that the user serves by the server on the leaf node, and the server of each leaf node is all being deposited the subclass of all data in the father node server.One of shortcoming of this structure is that data have backup possibly on many servers, causes the waste of storage space, and the data of user request need the long response time not on the leaf node server time.
(3) distributed architecture
From level, distributed architecture has only two-layer, central server and home server.But on the angle of system design and realization, have the distribution management of a plurality of home servers, the communication issue between load balance between home server and central server and home server.
Under the many situation of service distribution number of spots, just press for a kind of method that can dispose business software easily in the software systems of enterprise-level and carrier-class scale, and reduce because the inconsistency of the software version that manually-operated brings accidentally etc.
Summary of the invention
For defective and the deficiency that overcomes prior art, the object of the present invention is to provide a kind of dispositions method of distributed software system, can be in the software systems of carrier class scale under the many situation of service distribution number of spots, dispose business software easily, and reduce because the inconsistency of the software version that manually-operated brings accidentally simultaneously can reduce a large amount of labor workload.
In order to achieve the above object, the dispositions method of a kind of distributed software system of the present invention may further comprise the steps:
(1) the center service process sends to the local agent process that service distribution point is gone up operation flow that is independent of with the instruction of business software version updating;
(2) the local agent process is carried out the business software version updating according to this instruction;
Wherein, described center service process and described local agent process are used unified binary command.
Preferably, described step (1) is specially:
(11) the center service process goes up the transmission edition upgrading of local agent process or the back-off instruction of operation flow to being independent of service distribution point.
Preferably, described step (2) is specially:
(21) the local agent process of main frame on the service distribution point and standby host is obtained the business software version according to this instruction to version server;
(22) standby host on the service distribution point carries out carrying out behind business software edition upgrading or the rollback operation two-shipper and switches task on main frame;
(23) after the main frame on the service distribution point carries out business software edition upgrading or rollback operation, return the object information of upgrading or rollback to the center service process.
Preferably, described step (21) is specially:
(211) the local agent process of the last main frame of service distribution point receives that this instruction back obtains the business software version request to the version server transmission;
(212) the local agent process of version server on main frame returned the business software version;
(213) the local agent process of this main frame goes up the transmission edition upgrading of local agent process or the back-off instruction of standby host to service distribution point;
(214) the local agent process on this standby host is obtained the business software version request to the local agent process transmission of this main frame;
(215) the local agent process on the main frame sends to local agent process on the standby host with this business software version.
Preferably, described step (22) is specially:
(221) the local agent process on the standby host is carried out backup operation to data and version;
(222) the local agent process on the standby host is carried out business software edition upgrading or rollback operation;
(223) the local agent process on the standby host sends to local agent process on the main frame with business software edition upgrading or rollback result;
(224) on main frame, carry out two-shipper and switch task.
Preferably, described step (23) is specially:
(231) the local agent process on the main frame is carried out backup operation to data and version;
(232) the local agent process on the main frame is carried out the upgrading or the rollback operation of business software version;
(233) the local agent process on the main frame is returned the object information of business software edition upgrading or rollback to standby host;
(234) the local agent process on the standby host is returned business software upgrading or rollback object information to the center service process.
Preferably, described step (1) is preceding also comprises:
(A) operator operates process by the user, selects the corresponding business distributed points, comes to send to the center service process after the software version update instructions different in the combined command storehouse by different operations.
Preferably, described user to operate the connection between process and the center service process be by the pattern of browser/server or the pattern of client/server.
Preferably, described local agent process is to run on the service distribution point with the operating system service manner.
After adopting above-mentioned method,, also combine the simplicity of the centralized management of centralized architecture simultaneously owing to adopted distributed architecture; Make that whole deployment software system can be according to the expansion of service point and progressively expansion, it is two-layer because so whole deployment software system has adopted distributed architecture to have only, and the local agent process of each service distribution point is all upgraded the business software version from the center service process can make the business software of each service distribution point of enterprise-level or carrier-class software systems be consistent, thereby has avoided a large amount of manually-operated and by the inconsistency of the business software of the manually-operated service distribution point that brings accidentally.
Description of drawings
Fig. 1 is a distributed software deployment system building-block of logic of the present invention;
Fig. 2 is that the present invention is at the distributed software deployment system working timing figure of service distribution point for the two-shipper Switch mode.
Embodiment
The Software deployment method of the distributed system that the present invention proposes, the total system framework adopts distributed architecture, and from level, total system has two-layer, " center service process " and " local agent process ".For easy to operate, one " user operates process " also can be arranged at the front end of central server; The user operates and can adopt B/S (browser/server) structure also can adopt C/S (client/server) structure between process and the center service process.
In the present invention, the local agent process runs on the service distribution point with operating system service or other modes; Unified binary command storehouse is arranged on center service process and local agent process; And the local agent process judges whether to want the update instruction storehouse according to the message that receives from the center service process; The operator operates process by the user, selects the corresponding business distributed points, comes business software version updating instructions different in the combined command storehouse by different operations; The center service process sends to the corresponding service distributed points with the packing of orders then, the local agent process of service distribution point according to the packing of orders upgrade, the business process of rollback this locality and carry out some scripts, and two-shipper switching operation etc.
Below in conjunction with Fig. 1, Fig. 2 the specific embodiment of the present invention is described in further detail:
Fig. 1 is system logic structure figure of the present invention, and as shown in Figure 1, the distributed software deployment system itself is distributed, has only double-layer structure; Whole distributed software deployment system mainly comprises center service process and local agent process, also comprises version server, and wherein, the local agent process runs on the service distribution point, but is independent of the business process of service distribution point; Version server runs on the service center point, but is independent of the business process of service center point; The local agent process that distributes on each service point is all obtained the packing of orders from the center service process, and local instruction database all keeps consistent with the employed instruction database of center service process.
Fig. 2 is that the present invention is the system works sequential chart of two-shipper Switch mode at service distribution point, as shown in Figure 2, comprises center service process, version server, local agent process (master) and local agent process (being equipped with); Software deployment comprises following flow process under this two-shipper Switch mode:
1, the local agent process on the service distribution point main frame is received the business software edition upgrading or the rollback request of center service process.
2, the local agent process on the main frame sends to version server and obtains the business software version request.
3, the local agent process of version server on main frame returned the business software version response.
4, the local agent process of the local agent process on the main frame on standby host sends edition upgrading or rollback request.
5, the local agent process of the local agent process on the standby host on main frame sends and obtains the business software version request.
6, the local agent process of the local agent process on the main frame on standby host returned the business software version response.
7, the local agent process on the standby host is to backups such as data and versions.
8, the local agent process on the standby host is carried out the upgrading or the rollback operation of version.
9, the local agent process of the local agent process on the standby host on main frame returned edition upgrading or rollback result.
10, carrying out two-shipper on main frame switches.
11, the local agent process on the main frame is carried out various backup operations.
12, upgrading of the local agent process on the main frame or rollback business software version.
13, the local agent process on the main frame is returned edition upgrading or rollback result to standby host.
14, the local agent process on the standby host is returned edition upgrading or rollback result to the center service process.
Like this, owing to adopted distributed architecture, also combine the simplicity of the centralized management of centralized architecture simultaneously; Make that whole deployment software system can be according to the expansion of service point and progressively expansion, it is two-layer because so whole deployment software system has adopted distributed architecture to have only, and the local agent process of each service distribution point is all upgraded the business software version from the center service process can make the business software of each service distribution point of enterprise-level or carrier-class software systems be consistent, thereby has avoided a large amount of manually-operated and by the inconsistency of the business software of the manually-operated service distribution point that brings accidentally.

Claims (9)

1. the dispositions method of a distributed software system is characterized in that, may further comprise the steps:
(1) the center service process sends to the local agent process that service distribution point is gone up operation flow that is independent of with the instruction of business software version updating;
(2) the local agent process is carried out the business software version updating according to this instruction;
Wherein, described center service process and described local agent process are used unified binary command.
2. according to the dispositions method of the described distributed software system of claim 1, it is characterized in that described step (1) is specially:
(11) the center service process goes up the transmission edition upgrading of local agent process or the back-off instruction of operation flow to being independent of service distribution point.
3. according to the dispositions method of the described distributed software system of claim 2, it is characterized in that described step (2) is specially:
(21) the local agent process of main frame on the service distribution point and standby host is obtained the business software version according to this instruction to version server;
(22) standby host on the service distribution point carries out carrying out behind business software edition upgrading or the rollback operation two-shipper and switches task on main frame;
(23) after the main frame on the service distribution point carries out business software edition upgrading or rollback operation, and return the upgrading or the object information of rollback to the center service process.
4. according to the dispositions method of the described distributed software system of claim 3, it is characterized in that described step (21) is specially:
(211) the local agent process of the last main frame of service distribution point receives that this instruction back obtains the business software version request to the version server transmission;
(212) the local agent process of version server on main frame returned the business software version;
(213) the local agent process of this main frame goes up the transmission edition upgrading of local agent process or the back-off instruction of standby host to service distribution point;
(214) the local agent process on this standby host is obtained the business software version request to the local agent process transmission of this main frame;
(215) the local agent process on the main frame sends to local agent process on the standby host with this business software version.
5. according to the dispositions method of the described distributed software system of claim 3, it is characterized in that described step (22) is specially:
(221) the local agent process on the standby host is carried out backup operation to data and version;
(222) the local agent process on the standby host is carried out business software edition upgrading or rollback operation;
(223) the local agent process on the standby host sends to local agent process on the main frame with business software edition upgrading or rollback result;
(224) on main frame, carry out two-shipper and switch task.
6. according to the dispositions method of the described distributed software system of claim 3, it is characterized in that described step (23)
Be specially:
(231) the local agent process on the main frame is carried out backup operation to data and version;
(232) the local agent process on the main frame is carried out the upgrading or the rollback operation of business software version;
(233) the local agent process on the main frame is returned the object information of business software edition upgrading or rollback to standby host;
(234) the local agent process on the standby host is returned business software upgrading or rollback object information to the center service process.
7. according to the dispositions method of the described distributed software system of claim 1, it is characterized in that described step (1) is preceding also to be comprised:
(A) operator operates process by the user, selects the corresponding business distributed points, comes to send to the center service process after the software version update instructions different in the combined command storehouse by different operations.
8. according to the dispositions method of the described distributed software system of claim 7, it is characterized in that the connection that described user operates between process and the center service process is by the pattern of browser/server or the pattern of client/server.
9. according to the dispositions method of the described distributed software system of claim 1, it is characterized in that described local agent process is to run on the service distribution point with the operating system service manner.
CNB2006100990280A 2006-07-14 2006-07-14 The dispositions method of distributed software system Active CN100549950C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100990280A CN100549950C (en) 2006-07-14 2006-07-14 The dispositions method of distributed software system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100990280A CN100549950C (en) 2006-07-14 2006-07-14 The dispositions method of distributed software system

Publications (2)

Publication Number Publication Date
CN101105745A true CN101105745A (en) 2008-01-16
CN100549950C CN100549950C (en) 2009-10-14

Family

ID=38999654

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100990280A Active CN100549950C (en) 2006-07-14 2006-07-14 The dispositions method of distributed software system

Country Status (1)

Country Link
CN (1) CN100549950C (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012045245A1 (en) * 2010-10-08 2012-04-12 中兴通讯股份有限公司 Method and system for maintaining data consistency
CN104426601A (en) * 2013-09-10 2015-03-18 上海贝尔股份有限公司 Automatic detection and software rollback reporting method and device in optical network terminal (ONT)
CN104639374A (en) * 2015-03-03 2015-05-20 上海瀚银信息技术有限公司 Application program deployment management system
CN104935639A (en) * 2015-05-06 2015-09-23 上海斐讯数据通信技术有限公司 Intelligent terminal, and applied distributed exploitation system and method
WO2016070651A1 (en) * 2014-11-05 2016-05-12 中兴通讯股份有限公司 Software centre system
CN108052340A (en) * 2013-08-13 2018-05-18 华为技术有限公司 A kind of application upgrade method, apparatus
CN109104333A (en) * 2018-08-21 2018-12-28 杭州安恒信息技术股份有限公司 The synchronous method and device of distributed type assemblies based on GIT
CN109117146A (en) * 2017-06-22 2019-01-01 中兴通讯股份有限公司 Automatic deployment method, device, storage medium and the computer equipment of cloud platform duoble computer disaster-tolerance system
CN109428936A (en) * 2017-09-04 2019-03-05 中国移动通信有限公司研究院 Upgrade method, device, system, electronic equipment and the storage medium of APP
CN109445800A (en) * 2018-11-02 2019-03-08 中国人民银行清算总中心 A kind of version automatic deployment method and system based on distributed system
CN110209405A (en) * 2019-06-04 2019-09-06 杭州安恒信息技术股份有限公司 The automatic updating method and device of distributed system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071030B (en) * 2017-04-19 2020-06-05 苏州浪潮智能科技有限公司 Ceph distributed storage system deployment method and system

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012045245A1 (en) * 2010-10-08 2012-04-12 中兴通讯股份有限公司 Method and system for maintaining data consistency
CN108052340B (en) * 2013-08-13 2021-03-30 华为技术有限公司 An application upgrade method and device
CN108052340A (en) * 2013-08-13 2018-05-18 华为技术有限公司 A kind of application upgrade method, apparatus
CN104426601B (en) * 2013-09-10 2017-08-25 上海贝尔股份有限公司 Automatic detection and reporting software backing method and device in ONT Optical Network Terminal
CN104426601A (en) * 2013-09-10 2015-03-18 上海贝尔股份有限公司 Automatic detection and software rollback reporting method and device in optical network terminal (ONT)
WO2016070651A1 (en) * 2014-11-05 2016-05-12 中兴通讯股份有限公司 Software centre system
CN105635218B (en) * 2014-11-05 2020-10-16 深圳市中兴通讯技术服务有限责任公司 Software center system
CN105635218A (en) * 2014-11-05 2016-06-01 中兴通讯股份有限公司 Software center system
CN104639374B (en) * 2015-03-03 2017-12-12 上海瀚银信息技术有限公司 A kind of application deployment management system
CN104639374A (en) * 2015-03-03 2015-05-20 上海瀚银信息技术有限公司 Application program deployment management system
CN104935639A (en) * 2015-05-06 2015-09-23 上海斐讯数据通信技术有限公司 Intelligent terminal, and applied distributed exploitation system and method
CN109117146A (en) * 2017-06-22 2019-01-01 中兴通讯股份有限公司 Automatic deployment method, device, storage medium and the computer equipment of cloud platform duoble computer disaster-tolerance system
CN109428936A (en) * 2017-09-04 2019-03-05 中国移动通信有限公司研究院 Upgrade method, device, system, electronic equipment and the storage medium of APP
CN109428936B (en) * 2017-09-04 2021-07-13 中国移动通信有限公司研究院 APP upgrade method, device, system, electronic device and storage medium
CN109104333A (en) * 2018-08-21 2018-12-28 杭州安恒信息技术股份有限公司 The synchronous method and device of distributed type assemblies based on GIT
CN109104333B (en) * 2018-08-21 2020-09-04 杭州安恒信息技术股份有限公司 Synchronization method and device for distributed cluster based on GIT
CN109445800A (en) * 2018-11-02 2019-03-08 中国人民银行清算总中心 A kind of version automatic deployment method and system based on distributed system
CN109445800B (en) * 2018-11-02 2022-05-03 中国人民银行清算总中心 Version automatic deployment method and system based on distributed system
CN110209405A (en) * 2019-06-04 2019-09-06 杭州安恒信息技术股份有限公司 The automatic updating method and device of distributed system

Also Published As

Publication number Publication date
CN100549950C (en) 2009-10-14

Similar Documents

Publication Publication Date Title
CN101105745A (en) Deployment Methods for Distributed Software Systems
CN102438041B (en) Upgrade of highly available farm server groups
CN102571906B (en) High availability of machines during patching
CN102426543B (en) Hard and soft restriction is used to be placed on main frame by object
CN102523101B (en) Machine manager service fabric
CN102142024B (en) Use in distributed data base and increase progressively seizure to carry out logical data backup and rollback
CN102436485B (en) Dynamically splitting multi-tenant databases
CN101931647B (en) Three-tier architecture based method for optimizing incremental update of system data
CN102571905B (en) A kind of method and system for online service supervising the network and machine
CN102291416B (en) A kind of method and system of client and server bi-directional synchronization
US20040039801A9 (en) System and method for delivering data in a network
US20030172175A1 (en) System for standardizing updates of data on a plurality of electronic devices
CN107483250A (en) Distributed configuration management method, device and system for realizing distributed configuration management
CN104199666A (en) Dynamic configuration method and device for application program
CN103562904A (en) Replaying jobs at a secondary location of a service
CN102402441B (en) System and method for configuring multiple computers
CN104378423A (en) Metadata cluster distribution storage system and storage data reading and writing method
CN101179430A (en) Device and method of controlling distributed system software version updating
CN102571940A (en) Remote application installation system, method, intelligent terminal and application server
CN102426530B (en) Use highly privileged process Remote Installation software
CN110740155B (en) Request processing method and device in distributed system
CN103186404A (en) System firmware update method and server system using the method
CN101483556A (en) Automatic upgrading method and system for switch remote target terminal
CN106779988A (en) A kind of tax control server management system and method
CN103685576A (en) Interaction method for CDN (Content Delivery Network) nodes and CDN management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: GUANGDONG HUABO ENTERPRISE MANAGEMENT CONSULTING C

Free format text: FORMER OWNER: ZTE CORPORATION

Effective date: 20141009

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 510640 GUANGZHOU, GUANGDONG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20141009

Address after: 510640 Guangdong city of Guangzhou province Tianhe District gold Yinglu No. 1 was 1106 room two

Patentee after: Guangdong Huabo Enterprise Management Consulting Co., Ltd.

Address before: 518057, Guangdong Shenzhen hi tech Industrial Park Nanshan District science and technology south road ZTE building 6 floor of the Ministry of law

Patentee before: ZTE Corporation

ASS Succession or assignment of patent right

Owner name: STATE GRID SHANGHAI ELECTRIC POWER COMPANY

Free format text: FORMER OWNER: GUANGDONG HUABO ENTERPRISE MANAGEMENT CONSULTING CO., LTD.

Effective date: 20141126

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 510640 GUANGZHOU, GUANGDONG PROVINCE TO: 200002 PUDONG NEW AREA, SHANGHAI

TR01 Transfer of patent right

Effective date of registration: 20141126

Address after: 200002 Shanghai City, Pudong New Area source deep road, No. 1122

Patentee after: State Grid Shanghai Municipal Electric Power Company

Address before: 510640 Guangdong city of Guangzhou province Tianhe District gold Yinglu No. 1 was 1106 room two

Patentee before: Guangdong Huabo Enterprise Management Consulting Co., Ltd.