CN101079767A - An upgrade method and system of Web service system - Google Patents

An upgrade method and system of Web service system Download PDF

Info

Publication number
CN101079767A
CN101079767A CN 200610062859 CN200610062859A CN101079767A CN 101079767 A CN101079767 A CN 101079767A CN 200610062859 CN200610062859 CN 200610062859 CN 200610062859 A CN200610062859 A CN 200610062859A CN 101079767 A CN101079767 A CN 101079767A
Authority
CN
China
Prior art keywords
server
page
script
version
access
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
CN 200610062859
Other languages
Chinese (zh)
Other versions
CN100536415C (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNB2006100628590A priority Critical patent/CN100536415C/en
Publication of CN101079767A publication Critical patent/CN101079767A/en
Application granted granted Critical
Publication of CN100536415C publication Critical patent/CN100536415C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a Web service system updating method and corresponding system, which comprises the following parts: user access interface, page/script server, data memory at back of background to switch in the server. The updating method comprises the following steps: (a) updating part of page/script server to new edition; updating the switch-in mode in the server to compatible the new edition; providing the data memory server of new edition; (b) selecting the switch-in mode corresponding to the edition according to the edition of foreground page/script server; obtaining the data from the data memory server corresponding to the edition; displaying the data. The invention reduces the hazard in the updating course greatly, which improves the quality of distributed edition effectively.

Description

A kind of Web service system upgrade method and system
Technical field
The present invention relates to field of computer technology, more particularly, relate to a kind of Web service system upgrade method and system.
Background technology
In existing network, a lot of application all realize by the Web service system.The Web service system is the collaborative system in a foreground and backstage.Foreground[background comprises page display part, adopts for example technology such as html, js, ajax usually; The backstage comprises inserts part and storage area, wherein inserts part and adopts technology such as cgi, jsp, asp usually, and storage area then adopts database technology and caching technology etc. usually.
As shown in Figure 1, be the framework of a common web service system.The user capture interface 11 that is positioned at front end is connected to data storage server 14 via access server 13, and obtains data from this data storage server 14; After obtaining data, user capture interface 11 provides the page/shell script by the page/script server 12, thereby shows the data of obtaining.In this framework, access server 13 main some authority logics of execution, interaction logic, data are obtained logic etc., realize providing data to the foreground tissue; Data storage server 14 is used to store data, for example html or xml data etc., and the data of its storage are provided to access server 13.The page/script server 12 main memory page/shell scripts, it carries out demonstration on the foreground after obtaining data such as html or xml; And user capture interface 11 can be a web browser etc., for example Internet Explore of Microsoft etc.
The upgrading of Web service system comprises the renewal of web access module (for example cgi) in the renewal, access server 13 of the page/shell script on the page/script server 12 and the data storage server 14 that new architecture is provided.Usually the upgrade mode of Web service system is for after test environment passes through, all users directly are upgraded to new system simultaneously: upgrade the page/shell script on the page/script server 12, the web access module on the renewal access server 13, cooperate new web access module to carry out and provide new service by the new page/shell script then.
Yet under this upgrade mode, constantly there are many uncertain risks in system upgrade.If the ROMPaq imperfection then will cause the loss that can't retrieve.Simultaneously, because the data volume of upgrading is huge, this upgrading mode can't be supported the smooth expansion of back-end data.
Summary of the invention
The technical problem to be solved in the present invention is, has risk, is unfavorable for the problem of backstage smooth expansion at above-mentioned complete upgrading, and a kind of new Web service system upgrade method and system are provided.
The technical scheme that the present invention solves the problems of the technologies described above is, a kind of Web service system upgrade method is provided, described Web service system comprises user capture interface and the page/script server, the access server that is positioned at the backstage and the data storage server on foreground, includes following steps:
(a) part of choosing in the page/script server is upgraded to redaction, and the access module in the access server of upgrading simultaneously makes its compatible new version, and the data storage server of redaction is provided;
(b) access server is selected the access module of corresponding version according to the version of front page layout/script server when the visit data of foreground, obtains data from the data storage server of corresponding version, and shows the data of obtaining.
In a kind of Web service system upgrade method of the present invention, the upgrading page/script server further comprises in the described step (a):
(a1) according to the sign of the page/script server the page/script server is classified, each classification comprises the one or more page/script servers;
(a2) select the page/script server of one or more classifications to be upgraded to redaction.
In a kind of Web service system upgrade method of the present invention, in the described step (a1), if the page/script server be designated integer then adopt identification number delivery mode classify, if the page/script server is designated character string or Chinese character then adopts hash algorithm to classify.
In a kind of Web service system upgrade method of the present invention, when in described step (a), the page/script server being upgraded cookie or the variable that the page/script is provided with the expression version.
In a kind of Web service system upgrade method of the present invention, described step (b) comprising:
(b1) judge the version of front page layout/script server according to described cookie or variable;
(b2) if judge that the version of front page layout/script server is a redaction, then access server selects the access module of redaction to obtain data from the redaction data storage server; If judge that the version of front page layout/script server is a legacy version, then access server selects the access module of legacy version to obtain data from the legacy data storage server;
(b3) data of using the page/script server to obtain in the user capture interface display.
The present invention also provides a kind of Web service system upgrade system, the user capture interface and the page/script server that comprise the foreground, be positioned at the access server and the data storage server on backstage, wherein said user capture interface is connected to the page/script server and is connected to data storage server via access server, also comprise respectively and the described page/script server, the Version Control module that access server is connected with data storage server, the part that described Version Control module is chosen in the page/script server is upgraded to redaction, the access module of upgrading simultaneously in the access server makes its compatible new version, the judge module that described access server includes the access module of a plurality of different editions and is used for selecting according to the version of front page layout/script server the access module of corresponding version.
In a kind of Web service system upgrade of the present invention system, the upgrading module that described Version Control module includes the sort module that the page/script server is classified and is used for the page/script server and access server are upgraded.
In a kind of Web service system upgrade of the present invention system, described sort module is classified according to the page/script server sign, if the page/script server be designated integer then sort module adopt identification number delivery mode classify, if the page/script server be designated character string or Chinese character then sort module adopt hash algorithm to classify.
In a kind of Web service system upgrade of the present invention system, described a plurality of access module are obtained data from the data storage server of corresponding version respectively.
In a kind of Web service system upgrade of the present invention system, cookie or the variable version that identify foreground of described Version Control module by representing version at page setup.
A kind of Web service system upgrade method and system of the present invention by the segmentation upgrading to the Web service system, are tried out by small number of users, reduce the risk of upgrading greatly, effectively improve the quality of version issue.In addition, the present invention also supports the smooth upgrade of the uninterrupted service of back-end data, has reduced the workload of data migrations.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the Organization Chart of existing Web service system;
Fig. 2 is the structural representation of a kind of Web service system upgrade of the present invention system;
Fig. 3 is the schematic flow sheet of a kind of Web service system upgrade of the present invention method;
Fig. 4 is for the detail flowchart of the page/script server upgrade step among Fig. 3;
Fig. 5 selects access module to obtain the flow chart of corresponding data step from data storage server among Fig. 3.
Embodiment
As shown in Figure 2, a kind of Web service system upgrade of the present invention system includes the user capture interface 21 and the page/script server 22 on foreground, the access server 23 that is positioned at the backstage and data storage server 24 and Version Control module 25, wherein user capture interface 21 is connected to the page/script server 22 and is connected to data storage server 24 via access server 23, and Version Control module 25 is connected with the page/script server 22, access server 23 and data storage server 24 respectively.
The user inserts interface 21 and is positioned at user terminal, and it can be a web browser etc., for example Internet Explore of Microsoft etc.And data storage server 24 is used to store data, for example html or xml data etc.In the present embodiment, include a plurality of servers of supporting the different editions framework.
The access module that the part that Version Control module 25 is used for choosing the page/script server is upgraded to redaction, upgrade in the access server simultaneously makes its compatible new version.In the present embodiment, Version Control module 25 can be an independent server, also can be configuration file that is arranged in server etc.
The upgrading module 252 that Version Control module 25 includes the sort module 251 that the page/script server 22 is classified and is used for the page/script server and access server are upgraded.In the present embodiment, sort module 251 is classified according to the sign of the page/script server 22, if the page/script server 22 is designated integer, then sort module 251 adopts identification number delivery mode to classify, be designated character string or Chinese character as if the page/script server 22, and then sort module adopts hash algorithm to classify.Upgrading module 252 is chosen one or more classification from the classification that sort module 251 is divided the page/script server 22 is upgraded to new version.Cookie or the variable version that identify foreground of this upgrading module 252 by representing version at page setup.
Access server 23 includes a plurality of access module 232 after upgrading, these a plurality of access module 232 are served the foreground program of a plurality of different editions respectively, obtains data with the data storage server 24 from correspondence.In the present embodiment, access server 23 also includes judge module 231, and this judge module 231 is used for selecting according to the version of front page layout/script server 22 access module of corresponding version, thereby obtains corresponding data.
As shown in Figure 3, it is the schematic flow sheet of a kind of Web service system upgrade of the present invention method, the Web service system comprises the user capture interface 21 and the page/script server 22 on foreground, the access server that is positioned at the backstage, 23 data storage servers 24 and Version Control module 25, wherein user capture interface 21 is connected to the page/script server 22 and is connected to data storage server 24 via access server 23, Version Control module 25 is connected respectively to the page/script server 22, access server 23 and data storage server 24, includes following steps:
Step S31: a part of choosing in the page/script server 22 by Version Control module 25 is upgraded to redaction, and the access module in the access server 23 of upgrading simultaneously makes its compatible new version, and the data storage server of redaction is provided.When the page/script server was upgraded, Version Control module 25 was provided with the cookie or the variable of expression version for the page/script.There are a plurality of access module simultaneously in access server 23 after the upgrading, the Web service of corresponding different editions respectively of these a plurality of access module.
Step S32: access server is selected the access module of corresponding version according to the version of front page layout/script server 22 when the visit data of foreground, obtain data from the data storage server 24 of corresponding version, and show the data of obtaining by user capture interface 21.
Above-mentioned certain customers are upgraded after, can further improve version according to user's feedback.After the version maturation, carry out all users' complete upgrading again, thereby reduced the risk of upgrading, effectively improved the quality of upgraded version.
As shown in Figure 4, for being the detail flowchart of the page/script server 22 upgrade steps among Fig. 3.It specifically comprises:
Step S41: the sign according to the page/script server is classified the page/script server, and each classification comprises the one or more page/script servers.Because each page/script server all has an identification name, these identification names are sorted out by certain rule, and then each classification is carried out Version Control.In this step, if the page/script server be designated integer then adopt identification number delivery mode classify (for example using the mode of mod (10000) that the user is classified as 10000 classes), if the page/script server is designated character string or Chinese character then adopts hash algorithm to classify.
Step S42: select the page/script server 22 of one or more classifications to be upgraded to redaction by Version Control module 25.
As shown in Figure 5, be to select access module to obtain the flow chart of corresponding data step from data storage server 24 among Fig. 3.It specifically comprises:
Step S51: according to the version of described cookie or variable judgement front page layout/script server.
Step S52: if judge that the version of front page layout/script server is a redaction, then access server selects the access module of redaction to obtain data from the redaction data storage server; If judge that the version of front page layout/script server is a legacy version, then access server selects the access module of legacy version to obtain data from the legacy data storage server.
Step S53: the data of using the page/script server 22 to obtain in the user capture interface display.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (10)

1, a kind of Web service system upgrade method, described Web service system comprises user capture interface and the page/script server, the access server that is positioned at the backstage and the data storage server on foreground, it is characterized in that, includes following steps:
(a) part of choosing in the page/script server is upgraded to redaction, and the access module in the access server of upgrading simultaneously makes its compatible new version, and the data storage server of redaction is provided;
(b) access server is selected the access module of corresponding version according to the version of front page layout/script server when the visit data of foreground, obtains data from the data storage server of corresponding version, and shows the data of obtaining.
2, a kind of Web service system upgrade method according to claim 1 is characterized in that, the upgrading page/script server further comprises in the described step (a):
(a1) according to the sign of the page/script server the page/script server is classified, each classification comprises the one or more page/script servers;
(a2) select the page/script server of one or more classifications to be upgraded to redaction.
3, a kind of Web service system upgrade method according to claim 2, it is characterized in that, in the described step (a1), if the page/script server be designated integer then adopt identification number delivery mode classify, if the page/script server is designated character string or Chinese character then adopts hash algorithm to classify.
4, a kind of Web service system upgrade method according to claim 1 is characterized in that, is cookie or the variable that the page/script is provided with the expression version when in described step (a) page/script server being upgraded.
5, a kind of Web service system upgrade method according to claim 4 is characterized in that described step (b) comprising:
(b1) judge the version of front page layout/script server according to described cookie or variable;
(b2) if judge that the version of front page layout/script server is a redaction, then access server selects the access module of redaction to obtain data from the redaction data storage server; If judge that the version of front page layout/script server is a legacy version, then access server selects the access module of legacy version to obtain data from the legacy data storage server;
(b3) data of using the page/script server to obtain in the user capture interface display.
6, a kind of Web service system upgrade system, the user capture interface and the page/script server that comprise the foreground, be positioned at the access server and the data storage server on backstage, wherein said user capture interface is connected to the page/script server and is connected to data storage server via access server, it is characterized in that, also comprise respectively and the described page/script server, the Version Control module that access server is connected with data storage server, the part that described Version Control module is chosen in the page/script server is upgraded to redaction, the access module of upgrading simultaneously in the access server makes its compatible new version, the judge module that described access server includes the access module of a plurality of different editions and is used for selecting according to the version of front page layout/script server the access module of corresponding version.
7, a kind of Web service system upgrade according to claim 6 system, it is characterized in that the upgrading module that described Version Control module includes the sort module that the page/script server is classified and is used for the page/script server and access server are upgraded.
8, a kind of Web service system upgrade according to claim 7 system, it is characterized in that, described sort module is classified according to the page/script server sign, if the page/script server be designated integer then sort module adopt identification number delivery mode classify, if the page/script server be designated character string or Chinese character then sort module adopt hash algorithm to classify.
9, a kind of Web service system upgrade according to claim 6 system is characterized in that described a plurality of access module are obtained data from the data storage server of corresponding version respectively.
10, a kind of Web service system upgrade according to claim 6 system is characterized in that, cookie or the variable version that identify foreground of described Version Control module by representing version at page setup.
CNB2006100628590A 2006-09-26 2006-09-26 An upgrade method and system of Web service system Active CN100536415C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100628590A CN100536415C (en) 2006-09-26 2006-09-26 An upgrade method and system of Web service system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100628590A CN100536415C (en) 2006-09-26 2006-09-26 An upgrade method and system of Web service system

Publications (2)

Publication Number Publication Date
CN101079767A true CN101079767A (en) 2007-11-28
CN100536415C CN100536415C (en) 2009-09-02

Family

ID=38907012

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100628590A Active CN100536415C (en) 2006-09-26 2006-09-26 An upgrade method and system of Web service system

Country Status (1)

Country Link
CN (1) CN100536415C (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135895A (en) * 2010-12-29 2011-07-27 华为软件技术有限公司 System upgrading method and system
CN101635640B (en) * 2009-09-04 2011-09-21 江苏天智互联科技有限公司 Method for automatically releasing terminal program version of WEB network station system server
CN103176809A (en) * 2011-12-23 2013-06-26 腾讯科技(深圳)有限公司 Application upgrading method and application upgrading system
CN101770366B (en) * 2009-11-27 2014-03-19 山东中创软件商用中间件股份有限公司 Storing and managing method for eclipse inserter based on Web service
CN103677918A (en) * 2013-12-10 2014-03-26 乐视网信息技术(北京)股份有限公司 Script setting method and system for transcoding servers
CN104461628A (en) * 2014-12-09 2015-03-25 珠海迈科智能科技股份有限公司 Method and device for controlling updating of server programs
CN105068831A (en) * 2015-07-30 2015-11-18 深圳市创凯电子有限公司 Program upgrading method and apparatus
CN105278962A (en) * 2015-11-04 2016-01-27 北京星网锐捷网络技术有限公司 Applications, hot deployment method of database and device
CN105487884A (en) * 2015-10-20 2016-04-13 华为技术有限公司 Upgrading processing method and related device
CN105607936A (en) * 2015-12-25 2016-05-25 北京奇虎科技有限公司 Server version updating method and device
CN105897457A (en) * 2015-12-09 2016-08-24 乐视云计算有限公司 Service upgrade method and system of server group
CN107341024A (en) * 2016-04-28 2017-11-10 华为技术有限公司 Method for upgrading system and system upgrade device
CN110795120A (en) * 2019-09-24 2020-02-14 万翼科技有限公司 Software upgrading method and related device
CN111625257A (en) * 2020-05-25 2020-09-04 泰康保险集团股份有限公司 Service platform upgrading method, system, equipment and storage medium

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635640B (en) * 2009-09-04 2011-09-21 江苏天智互联科技有限公司 Method for automatically releasing terminal program version of WEB network station system server
CN101770366B (en) * 2009-11-27 2014-03-19 山东中创软件商用中间件股份有限公司 Storing and managing method for eclipse inserter based on Web service
CN102135895B (en) * 2010-12-29 2013-08-28 华为软件技术有限公司 System upgrading method and system
CN102135895A (en) * 2010-12-29 2011-07-27 华为软件技术有限公司 System upgrading method and system
CN103176809A (en) * 2011-12-23 2013-06-26 腾讯科技(深圳)有限公司 Application upgrading method and application upgrading system
CN103176809B (en) * 2011-12-23 2016-04-13 腾讯科技(深圳)有限公司 Application upgrade method and system
CN103677918A (en) * 2013-12-10 2014-03-26 乐视网信息技术(北京)股份有限公司 Script setting method and system for transcoding servers
CN104461628A (en) * 2014-12-09 2015-03-25 珠海迈科智能科技股份有限公司 Method and device for controlling updating of server programs
CN105068831A (en) * 2015-07-30 2015-11-18 深圳市创凯电子有限公司 Program upgrading method and apparatus
CN105487884B (en) * 2015-10-20 2019-02-01 华为技术有限公司 Upgrade processing method and relevant device
CN105487884A (en) * 2015-10-20 2016-04-13 华为技术有限公司 Upgrading processing method and related device
CN105278962A (en) * 2015-11-04 2016-01-27 北京星网锐捷网络技术有限公司 Applications, hot deployment method of database and device
CN105897457A (en) * 2015-12-09 2016-08-24 乐视云计算有限公司 Service upgrade method and system of server group
CN105607936A (en) * 2015-12-25 2016-05-25 北京奇虎科技有限公司 Server version updating method and device
CN107341024A (en) * 2016-04-28 2017-11-10 华为技术有限公司 Method for upgrading system and system upgrade device
CN110795120A (en) * 2019-09-24 2020-02-14 万翼科技有限公司 Software upgrading method and related device
CN111625257A (en) * 2020-05-25 2020-09-04 泰康保险集团股份有限公司 Service platform upgrading method, system, equipment and storage medium
CN111625257B (en) * 2020-05-25 2023-05-23 泰康保险集团股份有限公司 Service platform upgrading method, system, equipment and storage medium

Also Published As

Publication number Publication date
CN100536415C (en) 2009-09-02

Similar Documents

Publication Publication Date Title
CN101079767A (en) An upgrade method and system of Web service system
CN1320455C (en) Auto version managing system and method for use in software
US7818740B2 (en) Techniques to perform gradual upgrades
CN1273916C (en) Method and apparatus for automatically and synchronously distributing editions of files
CN100345415C (en) Method and apparatus for perfoming boot, maintenance, or install operations on a storage area network
CN1670732A (en) Method and system for coupling the user interface language of a software application and a web site
Mikula et al. Internet-enabled high-resolution brain mapping and virtual microscopy
CN1805369A (en) Apparatus, system, and method for presenting a mapping between a namespace and a set of computing resources
CN1235157C (en) Content-oriented load equalizing method and apparatus
CN111143729B (en) Optimization method, device, equipment and storage medium based on single page application
CN102968428B (en) For the method and system extracted by the efficient data of remote application
CN1881178A (en) Method and system for synchronizing visual and speech events in a multimodal application
CN1959679A (en) Method for picking-up, and aggregating micro content of web page, and automatic updating system
CN1398377A (en) System and method for delivering and rendering scalable web pages
US8176166B2 (en) Autonomic management of uniform resource identifiers in uniform resource identifier bookmark lists
CN1363060A (en) System and method for Internet advertisement using monitor inducing main display and sub display
CN1841369A (en) Configuration method for webpage display
CN1929427A (en) Mobile terminal, electronic-book reading device, updating system and reading method
CN108363760A (en) IETM display datas based on B/S models generate and Off-line control method
CN101751443A (en) Data searching and processing system as well as method
CN1929399A (en) Embedded Web network management system and its interactive method
CN1410909A (en) Resolving method of internet keyword and system thereof
CN1790257A (en) Method for uniformly configuring configuration files
CN1320484C (en) Method and apparatus for a zero development web-based graphical user interface
CN102025548A (en) Multi-version smooth upgrading method and device for user-defined performance indexes

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