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

CN100549950C - The dispositions method of distributed software system - Google Patents

The dispositions method of distributed software system Download PDF

Info

Publication number
CN100549950C
CN100549950C CNB2006100990280A CN200610099028A CN100549950C CN 100549950 C CN100549950 C CN 100549950C CN B2006100990280 A CNB2006100990280 A CN B2006100990280A CN 200610099028 A CN200610099028 A CN 200610099028A CN 100549950 C CN100549950 C CN 100549950C
Authority
CN
China
Prior art keywords
local agent
agent process
main frame
business software
business
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.)
Active
Application number
CNB2006100990280A
Other languages
Chinese (zh)
Other versions
CN101105745A (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

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

Abstract

The invention discloses a kind of dispositions method of distributed software system.Many for solving in the prior art service distribution number of spots, dispose the business software difficulty, and the problem of the non-uniformity of software versions that brings accidentally easily of manually-operated and inventing.The present invention includes following steps: (1) 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.Like this, 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 the business software inconsistency of having avoided a large amount of manually-operateds to bring accidentally, and can dispose business software easily.

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 business process 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 business process to being independent of service distribution point.
Preferably, described step (2) is specially:
(21) the local agent process of the main frame on the service distribution point is obtained the business software version according to this instruction to version server, and the local agent process of standby host is obtained the business software version to main frame;
(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 via the local agent process of standby host.
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 (8)

1, a kind of dispositions method of 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 business process 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;
Described step (2) is specially:
(21) the local agent process of the main frame on the service distribution point is obtained the business software version according to this instruction to version server, and the local agent process of standby host is obtained the business software version to main frame;
(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 via the local agent process of standby host.
According to the dispositions method of the described distributed software system of claim 1, it is characterized in that 2, 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 business process to being independent of service distribution point.
According to the dispositions method of the described distributed software system of claim 1, it is characterized in that 3, 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.
According to the dispositions method of the described distributed software system of claim 1, it is characterized in that 4, 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.
According to the dispositions method of the described distributed software system of claim 1, it is characterized in that 5, 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.
According to the dispositions method of the described distributed software system of claim 1, it is characterized in that 6, 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.
According to the dispositions method of the described distributed software system of claim 6, it is characterized in that 7, 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.
According to the dispositions method of the described distributed software system of claim 1, it is characterized in that 8, 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 CN101105745A (en) 2008-01-16
CN100549950C true 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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071030A (en) * 2017-04-19 2017-08-18 广东浪潮大数据研究有限公司 The dispositions method and system of a kind of Ceph distributed memory systems

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964820B (en) * 2010-10-08 2014-04-09 中兴通讯股份有限公司 Method and system for keeping data consistency
KR101782457B1 (en) * 2013-08-13 2017-09-28 후아웨이 테크놀러지 컴퍼니 리미티드 Application upgrade method and apparatus
CN104426601B (en) * 2013-09-10 2017-08-25 上海贝尔股份有限公司 Automatic detection and reporting software backing method and device in ONT Optical Network Terminal
CN105635218B (en) * 2014-11-05 2020-10-16 深圳市中兴通讯技术服务有限责任公司 Software center system
CN104639374B (en) * 2015-03-03 2017-12-12 上海瀚银信息技术有限公司 A kind of application 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
CN109428936B (en) * 2017-09-04 2021-07-13 中国移动通信有限公司研究院 APP upgrading method, device, system, electronic equipment and storage medium
CN109104333B (en) * 2018-08-21 2020-09-04 杭州安恒信息技术股份有限公司 GIT-based distributed cluster synchronization method and device
CN109445800B (en) * 2018-11-02 2022-05-03 中国人民银行清算总中心 Version automatic deployment method and system based on distributed system
CN110209405B (en) * 2019-06-04 2023-06-16 杭州安恒信息技术股份有限公司 Automatic upgrading method and device for distributed system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071030A (en) * 2017-04-19 2017-08-18 广东浪潮大数据研究有限公司 The dispositions method and system of a kind of Ceph distributed memory systems
CN107071030B (en) * 2017-04-19 2020-06-05 苏州浪潮智能科技有限公司 Ceph distributed storage system deployment method and system

Also Published As

Publication number Publication date
CN101105745A (en) 2008-01-16

Similar Documents

Publication Publication Date Title
CN100549950C (en) The dispositions method of distributed software system
CN100481005C (en) System and method for updating a software program
CN101931647B (en) Three-tier architecture based method for optimizing incremental update of system data
US20030172139A1 (en) System and method for delivering data in a network
CN102523101B (en) Machine manager service fabric
CN101562804B (en) Region management server system based on mobile P2P and deploying method thereof
CN101689167A (en) In distributed system, progressively realize declarative models
CN102291416A (en) Two-way synchronizing method and system of client-side and server-side
CN104199666A (en) Dynamic configuration method and device for application program
CN103034536A (en) Usability for improving stateful applications
CN101901275A (en) Distributed storage system and method thereof
CN102402441B (en) System and method for configuring multiple computers
CN102855152A (en) Method and system for upgrading resource files in application programs
CN101179430A (en) Device and method of controlling distributed system software version updating
CN102571940A (en) Remote application installation system, method, intelligent terminal and application server
CN103414712A (en) Management system and method of distributed virtual desktop
CN110740155B (en) Request processing method and device in distributed system
CN101587575A (en) Shop business management system
CN101751415A (en) Metadata service system metadata synchronized method and writing server updating method
CN101267344B (en) An upgrade method and device for network element single-board software
CN111158752A (en) SAAS multi-version control system and use method thereof
CN103036855A (en) Achievement device and method of authority management
CN106779988A (en) A kind of tax control server management system and method
CN103428288B (en) Based on the copies synchronized method of subregion state table and coordinator node
CN102646127A (en) Replica selection method and device for distributed file systems

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.