【正文】
d and modified for database , update etc. function, submit operation result to Web server. Careful analysis is been easy to see , the architecture of Browser/Server of threelayer is the handling of general affairs of the two levels of structure of Client/Server logic modular from the task of client puter in split , from the first floor of individual position bear the pressure of its task and such client puter have alleviated greatly, distribute load balancedly and have given Web server, so from the structural change of Client/server of original two floor the structure of Browser/Server of threelayer. This kind of threelayer architecture following picture shows. This kind of structure not only client puter from heavy burden and the requirement of performance that rises continuously for it in liberation e out , also defend technology people from heavy maintenance upgrading work in free oneself. Since client puter handles general affairs , logic partial minutes have given function server, make client puter right off slender a lot of, do not take the responsibility for handling plex calculation and data again visit etc. crucial general affairs, is responsible to show part, so, maintenance people do not rush about again for the maintenance work of program between every client puter, and put major energy in the program on function server update work. Between this kind of threelayer structural layer and layer, the mutually independent change of any first floor does not affect the function of other layer. It has changed the defect of the two levels of architecture of Client/Server of tradition from foundation, it is the transform with deep once in application systematic architecture. The contrast of two architectures The architecture of Browser/Server and the architecture of Client/Server pare with all advantages that not only have the architecture of Client/Server and also have the architecture of Cli/Server the unique advantage that place does not have: Open standard: The standard adopted by Client/Server only in department unification for but, it39。s task is to suggest by Web browser to the certain a Web server on work that service is asked , after verifying for user identity, Web server delivers needed homepage with HTTP agreement to customer end, client puter accept the homepage file that passed , and show it in Web browser on. Second layer function layer: Have the Web server of the application function of program extension. In function layer contain the systematic handling of general affairs logic, locate in Web server end. It39。 Also, customer one side must also have certain hardware and corresponding customer software. There must be a agreement between server and customer, both sides municate according to this agreement. Apply customer / server model in Inter service , the relation between customer and server is not immutable. Some Inter node offers service on the one hand , also gets service on the other hand from other node。 附件 2:外文原文(復印件) The Development Of ASP System Structure Develop Web application program using ASP the architecture that must first establish Web application. Now in application frequently with to have two: The architecture of C/S and the architecture of B/S. Client/server and customer end / server hold the architecture of C/S. The customer / server structure of two floor. Customer / server ( Client/Server ) model is a kind of good software architecture, it is the one of best application pattern of work. From technology, see that it is a logic concept, denote will a application many tasks of deposing difference carry out , mon pletion is entire to apply the function of task. On each work main puter of web site, resource ( hardware, software and data ) divide into step, is not balanced, under customer / server structure, without the client puter of resource through sending request to the server that has resource , get resource request, so meet the resource distribution in work not balancedness. With this kind of structure, can synthesize various puters to cooperate with work, let it each can, realize the scale for the system of puter optimization ( Rightsizing ) with scale reduce to melt ( Downsizing ). Picture is as follows: It is most of to divide into puter work application into two, in which the resource and function that part supports many users to share , it is realized by server。但是,應用服 務器運行數(shù)據(jù)負荷較重,一旦發(fā)生服務器“崩潰”等問題,后果不堪設想。 (3) 應用服務器運行數(shù)據(jù)負荷較重。所以服務器操作系統(tǒng)的選擇是很多的,不管選用那種操作系統(tǒng)都可以讓大部分人使用windows 作為桌面操作系統(tǒng)電腦不受影響,這就使的最流行免費的 Linux 操作系統(tǒng)快速發(fā)展起來, Linux 除了操作系統(tǒng)是免費的以外,連數(shù)據(jù)庫也是免費的,這種選擇非常盛行。 大家都知道 windows 在桌面電腦上幾乎一統(tǒng)天下,瀏覽器成為了標準配置,但在服務器操作系統(tǒng)上 windows 并不是處于絕對的統(tǒng)治地位。因此,維護和升級革命的方式是“瘦”客戶機,“胖”服務器。所以客戶機越來越“瘦”,而服務器越來越“胖”是將來信息化發(fā)展的主流方向。對一個稍微大一點單位來說,系統(tǒng)管理人員如果需要在幾百甚至上千部電腦之間來回奔跑,效率和工作量是可想而知 的,但 B/S 架構的軟件只需要管理服務器就行了,所有的客戶端只是瀏覽器,根本不需要做任何的維護。 B/S 架構軟件的優(yōu)勢與劣勢 (1)維護和升級方式簡單。 其次,傳統(tǒng)的 C/S 結構的軟件需要針對不同的操作系統(tǒng)系統(tǒng)開發(fā)不同版本的軟件,由于產(chǎn)品的更新?lián)Q代十分快,代價高和低效率已經(jīng)不適應工作需要。 (3) C/S 架構的劣勢是高昂的維護成本且投資大。在客戶服務器架構的應用中,前臺程序不是非?!笆菪 保闊┑氖虑槎冀唤o了服務 器和網(wǎng)絡。 在數(shù)據(jù)庫應用中,數(shù)據(jù)的儲存管理功能,是由服務器程序和客戶應用程序分別獨立進行的,前臺應用可以違反的規(guī)則,并且通常把那些不同的 (不管是已知還是未知的 )運行數(shù)據(jù),在服務器程序中不集中實現(xiàn),例如訪問者的權限,編號可以重復、必須有客戶才能建立定單這樣的規(guī)則。一旦服務器程序被啟動,就隨時等待響應客戶程序發(fā)來的請求;客戶應用程序運行在用戶自己的電腦上,對應于數(shù)據(jù)庫服務器,可稱為客戶電腦,當需要對數(shù)據(jù)庫中的數(shù)據(jù)進行任何操作時,客戶程序就自動地尋找服務器程序,并向其發(fā)出請求,服務器程序根據(jù)預定的規(guī)則作出應答,送回結果,應 用服務器運行數(shù)據(jù)負荷較輕。二者可分別稱為前臺程序與后臺程序。這兩種技術都有自己一定的市場份額和客戶群,各家企業(yè)都說自己的管理軟件架構技術功能強大、先進、方便,都能舉出各自的客戶群體,都有一大群文人墨客為自己搖旗吶喊,廣告滿天飛, 可謂仁者見仁,智者見智 C/S 架構軟件的優(yōu)勢與劣勢 (1)應用服務器運行數(shù)據(jù)負荷較輕。 C/S 是美國 Borland公司最早研發(fā), B/S 是美國微軟公司研發(fā)。首先,界面技術從上世紀 DOS 字符界面到 Windows 圖形界面 (或圖形用戶界面 GUI),直至Browser 瀏覽器界面三個不同的發(fā)展時期。 (3) 管理軟件主流技術。目前我院內網(wǎng) (Intra)、外網(wǎng) (Inter)和北京東方清大公司“案件、辦公管理軟件”就是 B/S 結構管理軟件,干警在局域網(wǎng)各工作站通過 WWW 瀏覽 器就能實現(xiàn)工作業(yè)務。以 目前的技術看,局域網(wǎng)建立 B/S 結構的網(wǎng)絡應用,并通過 Inter/Intra 模式下數(shù)據(jù)庫應用,相對易于把握、成本也是較低的。在這種結構下,用戶工作界面是通過 WWW瀏覽器來實現(xiàn),極少部分事務邏輯在前端 (Browser)實現(xiàn),但是主要事務邏輯在服務