table of Contents
Network Architecture
Stand-alone architecture
Application:
- Stand-alone game
CS architecture
Web-based applications:
- Client game
- cs ---> client client / server services
Client: user-installed software
Server: the unified management software in the host database is called the server, and then later the server does not just manage data, plus processing business logic.
Data on the pros and cons of the server and client
- Server: unified treatment have better security and stability and upgrades easier, but increases the burden on the server.
- Client: Assign burden to each user, which can save server resources, security and stability may be some problems, but the upgrade is too much trouble, each installed client programs need to be upgraded. If the client does not networking, data is not updated
BS Architecture
- Web games
- bs ---> browser browser / server
The client default browser installed in the user's computer, access to the same types of sites, to address specific business provides a common server program according to respective protocols and standards of treatment in different servers.
The composition of the Internet and the Internet
From the work point of view, it can be divided into two blocks:
- Edge portion: This part consists of all the hosts connected to the Internet. This part is used by the user directly, to communicate and share resources, responsible for receiving / transmitting data
- Core components: a large number of networks and routers connecting the network components. This section is used to provide services to the edge part, responsible for the transmission of data
Simplify the description of the procedure:
- Open a browser (client)
- Enter www.taobao.com, -----> addressed to Taobao server
- Press enter to the client www.taobao.com parsed into Taobao address (Hangzhou .....)
- A command is sent to Taobao, Taobao lets you send data to
- The client rendering data
Internet hardware
Hardware: network available to you, basically consists of terminal equipment, mainly networked personal devices; a family (corporate) LAN, MAN, backbone network equipment; providing services of a host device such as content services.
- Terminal equipment: computer (pc, notebook), mobile devices (phone, pad), smart TV, smart home
- Network equipment: LAN, cable, crystal head, routers, home switches, firewalls, repeaters, bridges
- The host device: IDC room, cabinets, precision air conditioning, load balancers, servers, workstations, minicomputers, mainframes
Internet software components
软件:应用程序,完成具体的任务,大致分成网络协议类,操作系统类,平台中间件类,应用类。
- 网络协议类,比如互联网的基础协议tcp/ip协议
- 操作系统类,比如window,linux,macOS,android,iOS
- 平台中间件类:比如webServer,Nginx,Apache,Tomcat,MySQL等
- 应用类:比如浏览器,微信,邮箱,游戏等等。
注意:上述四种分类,上三种都是基于协议开发的应用程序