• 欢迎访问速搜资源吧,如果在网站上找不到你需要的资源,可以在留言板上留言,管理员会尽量满足你!

【速搜问答】服务器客户机是什么

问答 admin 2个月前 (06-24) 71次浏览 已收录 0个评论

汉英对照:
Chinese-English Translation:

服务器-客户机,即Client-Server(C/S)结构。C/S结构通常采取两层结构。服务器负责数据的管理,客户机负责完成与用户的交互任务。

Server client, that is, client server (C / s) structure. C / S structure usually adopts two-tier structure. The server is responsible for data management, and the client is responsible for the interaction with the user.

服务器-客户机,即 Client-Server(C/S)结构。C/S 结构通常采取两层结构。服务器负责数据的管理,客户机负责完成与用户的交互任务。

Server client, that is, client server (C / s) structure. C / S structure usually adopts two-tier structure. The server is responsible for data management, and the client is responsible for the interaction with the user.

结构简介

Structure introduction

服务器-客户机,即 Client-Server(C/S)结构。C/S 结构通常采取两层结构。服务器负责数据的管理,客户机负责完成与用户的交互任务。

Server client, that is, client server (C / s) structure. C / S structure usually adopts two-tier structure. The server is responsible for data management, and the client is responsible for the interaction with the user.

客户机通过局域网与服务器相连,接受用户的请求,并通过网络向服务器提出请求,对数据库进行操作。服务器接受客户机的请求,将数据提交给客户机,客户机将数据进行计算并将结果呈现给用户。服务器还要提供完善安全保护及对数据完整性的处理等操作,并允许多个客户机同时访问服务器,这就对服务器的硬件处理数据能力提出了很高的要求。

The client connects with the server through LAN, accepts the user’s request, and requests the server through the network to operate the database. The server accepts the client’s request, submits the data to the client, and the client computes the data and presents the result to the user. The server should also provide perfect security protection and data integrity processing operations, and allow multiple clients to access the server at the same time, which puts forward high requirements for the hardware processing ability of the server.

在 C/S 结构中,应用程序分为两部分:服务器部分和客户机部分。服务器部分是多个用户共享的信息与功能,执行后台服务,如控制共享数据库的操作等;客户机部分为用户所专有,负责执行前台功能,在出错提示、在线帮助等方面都有强大的功能,并且可以在子程序间自由切换。

In the C / S structure, the application is divided into two parts: the server part and the client part. The server part is the information and functions shared by multiple users, performing background services, such as controlling the operation of shared database; the client part is proprietary to users, responsible for performing foreground functions, and has powerful functions in error prompt, online help, etc., and can switch freely among subprograms.

C/S 结构在技术上已经很成熟,它的主要特点是交互性强、具有安全的存取模式、响应速度快、利于处理大量数据。但是 C/S 结构缺少通用性,系统维护、升级需要重新设计和开发,增加了维护和管理的难度,进一步的数据拓展困难较多,所以 C/S 结构只限于小型的局域网。

C / S structure is very mature in technology. Its main characteristics are strong interaction, safe access mode, fast response speed, and easy to deal with a large number of data. However, the C / S structure is lack of generality, system maintenance and upgrading need to be redesigned and developed, which increases the difficulty of maintenance and management, and further data expansion is more difficult, so the C / S structure is only limited to small LAN.

发展经历

Development experience

C/S 模式的发展经历了从两层结构到三层结构。

The development of C / S model has experienced from two-tier structure to three-tier structure.

两层结构由两部分构成:前端是客户机,主要完成用户界面显示,接受数据输入,校验数据有效性,向后台数据库发请求,接受返回结果,处理应用逻辑;后端是服务器,运行 DBMS,提供数据库的查询和管理。

The two-tier structure is composed of two parts: the front end is the client, which mainly completes the user interface display, accepts the data input, verifies the data validity, sends the request to the background database, accepts the return result, and processes the application logic; the back end is the server, which runs the DBMS and provides the database query and management.

两层结构存在一些不足:主要表现在:系统的可伸缩性差;难以和其它系统进行互操作;难以支持多个异构数据库;客户端程序和服务器端 DBMS 交互频繁,网络通讯量大;所有客户机都需要安装、配置数据库客户端软件,这是一件十分庞杂的工作,等。

There are some shortcomings in the two-tier structure: the poor scalability of the system; the difficulty of interoperability with other systems; the difficulty of supporting multiple heterogeneous databases; the frequent interaction between the client program and the Server DBMS, the large amount of network communication; all clients need to install and configure the database client software, which is a very complex work, etc.

基于二层结构的以上不足,三层结构伴随着中间件技术的成熟而兴起。其核心概念是利用中间件将应用分为表示层、业务逻辑层和数据存储层三个不同的处理层次。

Based on the above shortcomings of the two-tier structure, the three-tier structure rises with the maturity of middleware technology. Its core concept is to use middleware to divide the application into three different processing layers: presentation layer, business logic layer and data storage layer.

三层结构较二层结构具有一定的优越性:具有良好的开放性;减少整个系统的成本,维护升级十分方便;系统的可扩充性良好;系统管理简单,可支持异种数据库,有很高的可用性;可以进行严密的安全管理。

The three-tier structure has some advantages over the two-tier structure: it has good openness; it reduces the cost of the whole system and is very convenient to maintain and upgrade; the system has good scalability; the system management is simple, it can support heterogeneous databases and has high availability; it can carry out strict security management.

优缺点

Advantages and disadvantages

优点

advantage

C/S 结构的优点是能充分发挥客户端 PC 的处理能力,很多工作可以在客户端处理后再提交给服务器。对应的优点就是客户端响应速度快。具体表现在以下两点:

The advantage of C / S structure is that it can give full play to the processing power of client PC, and many works can be submitted to the server after the client processing. The corresponding advantage is that the client response speed is fast. The specific performance is as follows:

(1)应用服务器运行数据负荷较轻。最简单的 C/S 体系结构的数据库应用由两部分组成,即客户应用程序和数据库服务器程序。二者可分别称为前台程序与后台程序。运行数据库服务器程序的机器,也称为应用服务器。一旦服务器程序被启动,就随时等待响应客户程序发来的请求;客户应用程序运行在用户自己的电脑上,对应于数据库服务器,可称为客户电脑,当需要对数据库中的数据进行任何操作时,客户程序就自动地寻找服务器程序,并向其发出请求,服务器程序根据预定的规则作出应答,送回结果,应用服务器运行数据负荷较轻。

(1) The data load of application server is light. The simplest database application of C / S architecture consists of two parts: client application program and database server program. They can be called foreground program and background program respectively. The machine that runs the database server program, also known as the application server. Once the server program is started, it is always waiting to respond to the request sent by the client program; the client application program runs on the user’s own computer, corresponding to the database server, which can be called the client computer. When any operation is needed to the data in the database, the client program will automatically find the server program and send a request to it. The server program is scheduled according to the The application server runs with light data load.

(2)数据的储存管理功能较为透明。在数据库应用中,数据的储存管理功能,是由服务器程序和客户应用程序分别独立进行的,并且通常把那些不同的(不管是已知还是未知的)前台应用所不能违反的规则,在服务器程序中集中实现,例如访问者的权限,编号可以重复、必须有客户才能建立订单这样的规则。所有这些,对于工作在前台程序上的最终用户,是“透明”的,他们无须过问(通常也无法干涉)背后的过程,就可以完成自己的一切工作。在客户服务器架构的应用中,前台程序不是非常“瘦小”,麻烦的事情都交给了服务器和网络。在 C/S 体系下,数据库不能真正成为公共、专业化的仓库,它受到独立的专门管理。

(2) Data storage and management functions are more transparent. In the database application, the storage management function of data is carried out independently by the server program and the client application program, and the rules that can’t be violated by different (known or unknown) foreground applications are usually implemented in the server program, such as the permissions of the visitors, the numbers can be repeated, and the order can only be created by the clients The rules of. All of these are “transparent” to the end-users working on the front-end programs. They can complete all their work without asking (and usually cannot interfere with) the process behind them. In the application of client server architecture, the foreground program is not very “thin”, and the troublesome things are all left to the server and network. Under the C / s system, database can’t really become a public and specialized warehouse, it is managed by independent specialized management.


速搜资源网 , 版权所有丨如未注明 , 均为原创丨转载请注明原文链接:【速搜问答】服务器客户机是什么
喜欢 (0)
[361009623@qq.com]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址