TCP/ IP

  1. 1. 计算机必须遵守的规则描述,只有遵守这些规则,计算机至之间才能进行通信。
  2. 2. 浏览器和服务器都在使用TCP/IP 协议,电子邮件也使用TCP/IP 来链接因特网
  3. 因特网地址也是 标准的TCP/IP 协议的一部分
  4. Transmission control Protocol/ Internet Protocol 传输控制协议/ 网际协议
  5. TCP ---应用程序之间的通信,两个应用程序之间,建立全双工通信,直到一方或者双方关闭
  6. UDP 类似TCP , 简单于TCP
  7. TCP负责 应用软件 和 网络软件之间的通信,IP 负责计算机之间的通信
  8. TCP 负责将数据分割并装入 IP 包,然后在它们到达的时候重新组合它们。
  9. IP 地址 使用 32 个比特 或者 4 个0-255 之间的数字来为计算机编址
  10. TCP/IP 使用 32 个比特来编址。一个计算机字节是 8 比特。所以 TCP/IP 使用了 4 个字节。
  11. TCP 负责在数据传送之前将它们分割为 IP 包,然后在它们到达的时候将它们重组。
  12. IP 负责计算机之间的通信。
  13. HTTP 超文本传输协议,  负责web 服务器与 web浏览器之间的通信
  14. HTTP 用于从 web 客户端(浏览器)向 web 服务器发送请求,并从 web 服务器向 web 客户端返回内容(网页)。
  15. HTTPS: Hypertext Transfer Protocol Secure;是以安全为目标的HTTP 通道
  16.  HTTP 和 HTTPS 的区别
  17.  hyper Text transfer protocol over secure socket layout
  18. ssl: secure socket layout: 安全套接字层,为安全数据传输加密
  19.  HTTP 不适用与传输敏感信息,比如信号卡号密码
    1. https 需要到CA 申请证书,一般免费的较少,需要付费
    2. http 是明文传输, https 是 SSL传输
    3. http 链接的端口是 80, https 是443 端口
    4. htttp 链接简单, 是五转台的, https 协议是ssl + http 协议构建的可进行加密传输,身份验证的网络协议。https 比较 http 更安全
  20. SMTP: sample mail transfer protocol : 简单邮件传输协议
  21. MIME: multipurpose internet mail extensions :  多用途互联网邮件扩展类型; SMTP 有能力通过 TCP/IP 网络传输多媒体文件,包括声音、视频和二进制数据。
  22. IMAP: internal massage access protocol, 因特网消息访问协议: 交互邮件访问协议,从本地邮件客户端访问远程的服务器上的邮件
  23. POP. post office protocol:
  24. FTP
  25. NTP: 网络时间协议 network time protocol NTP - 网络时间协议
  26.  DHCP : 动态主机配置协议: dyamical hotconfiguration protocold  动态主机分配协议:
  27.  TCP/IP 邮件  
    1. 你的电子邮件程序使用不同的 TCP/IP 协议:

      • 使用 SMTP 来发送邮件
      • 使用 POP 从邮件服务器下载邮件
      • 使用 IMAP 连接到邮件服务器
  28. server side = sql + asp +ADO+PHP +VBV script
  29. sql 高级
    1.  sql top: select top 5  *  from student_table
    2. mysql : select * from student limit 10 : 选择10 个学生
    3. oracle : selewct * from student_table wherer rownum <= 10
    4. sql server : 
  30.  sql 高级:  通配符
    1. %  通配符 替代一个或者多个
    2.  _ 仅仅替代一个
    3. ! 非
    4. I n :
    5. Between : select * from student where score  between 80 an 100
    6. aliases: 别名: select studenfName as ''学生名字"  from student 
    7. constraint : 约束, 非空不非空, 主键 外键 check . default , unique 唯一
    8. 每个表可以有多个 unique 约束, 但是只能有一个 主键 primary约束
    9. check (男,女)
    10. 在不读取整个表的情况下,索引使数据库应用程序可以更快地查找数据。
    11.  VIEW , 是基于结果集的 可视化的表, 包含行和列
    12. Date: GeTDATE(), DATEPART(),DATEADD(),DATEDIFF,CONVERT 时间转换
  31. SQL高级 函数, 函数语法是 select function() from table
    1.  avg() 平均值
    2.  sum() 求和
    3.  first() 第一个值
    4.   last()  最后一个值
    5.   count() 选择的数量
    6. Max()
    7. MIN()
    8. Ucase : select Ucase(studentName)  from student  where studentName = 'aaa' , 转换为大写字母
    9. lcase : sekect lcase (studentName ) from student where studentName = 'AAAAA', 装换为小写
    10. mid :  某个 字段的某些 几个值。
    11. len() :字符长度
    12.  round():  数值字段舍如为指定的小数位数
    13. round( 列名, 精度): select round( score, 0) from student
    14. SELECT ProductName, ROUND(UnitPrice,0) as UnitPrice FROM Products
    15. now (), 返回当前时间,
    16. format : 对字段的显示进行格式化
  32. 控们恐怕
  33. hjkn

猜你喜欢

转载自www.cnblogs.com/ghzTopsoft/p/10072101.html