﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-music000</title><link>http://www.cnblogs.com/music000/</link><description>学习不停，进步不止。</description><language>zh-cn</language><lastBuildDate>Tue, 14 Oct 2008 08:10:09 GMT</lastBuildDate><pubDate>Tue, 14 Oct 2008 08:10:09 GMT</pubDate><ttl>60</ttl><item><title>OSI七层网络模型与TCP/IP四层网络模型 </title><link>http://www.cnblogs.com/music000/archive/2008/09/01/1281072.html</link><dc:creator>music000</dc:creator><author>music000</author><pubDate>Mon, 01 Sep 2008 04:01:00 GMT</pubDate><guid>http://www.cnblogs.com/music000/archive/2008/09/01/1281072.html</guid><wfw:comment>http://www.cnblogs.com/music000/comments/1281072.html</wfw:comment><comments>http://www.cnblogs.com/music000/archive/2008/09/01/1281072.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/music000/comments/commentRss/1281072.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/music000/services/trackbacks/1281072.html</trackback:ping><description><![CDATA[<div>
		</div>
		<div>
		<table id="content" style="width: 650px; table-layout: fixed;" width="650" border="0" cellpadding="0" cellspacing="10">

		<tbody><tr><td><div style=""><span style="font-size: 12px; line-height: 160%;"><b>OSI七层网络模型与TCP/IP四层网络模型<br></b>1. OSI网络分层参考模型<br><br>　
　网络协议设计者不应当设计一个单一、巨大的协议来为所有形式的通信规定完整的细节，而应把通信问题划分成多个小问题，然后为每一个小问题设计一个单独的
协议。这样做使得每个协议的设计、分析、时限和测试比较容易。协议划分的一个主要原则是确保目标系统有效且效率高。为了提高效率，每个协议只应该注意没有
被其他协议处理过的那部分通信问题；为了主协议的实现更加有效，协议之间应该能够共享特定的数据结构；同时这些协议的组合应该能处理所有可能的硬件错误以
及其它异常情况。为了保证这些协议工作的协同性，应当将协议设计和开发成完整的、协作的协议系列(即协议族)，而不是孤立地开发每个协议。<br>　　在
网络历史的早期，国际标准化组织(ISO)和国际电报电话咨询委员会(CCITT)共同出版了开放系统互联的七层参考模型。一台计算机操作系统中的网络过
程包括从应用请求(在协议栈的顶部)到网络介质(底部) ，OSI参考模型把功能分成七个分立的层次。图2.1表示了OSI分层模型。<br><br>　　┌─────┐<br>　　│　应用层　│←第七层<br>　　├─────┤<br>　　│　表示层　│<br>　　├─────┤<br>　　│　会话层　│<br>　　├─────┤<br>　　│　传输层　│<br>　　├─────┤<br>　　│　网络层　│<br>　　├─────┤<br>　　│数据链路层│<br>　　├─────┤<br>　　│　物理层　│←第一层<br>　　└─────┘ <br>　　OSI七层参考模型<br><br>　　OSI模型的七层分别进行以下的操作：<br>　　第一层:物理层<br>　
　负责最后将信息编码成电流脉冲或其它信号用于网上传输。它由计算机和网络介质之间的实际界面组成，可定义电气信号、符号、线的状态和时钟要求、数据编码
和数据传输用的连接器。如最常用的RS-232规范、10BASE-T的曼彻斯特编码以及RJ-45就属于第一层。所有比物理层高的层都通过事先定义好的
接口而与它通话。如以太网的附属单元接口(AUI)，一个DB-15连接器可被用来连接层一和层二。<br>　　第二层:数据链路层<br>　　通过物理
网络链路提供可靠的数据传输。不同的数据链路层定义了不同的网络和协议特征，其中包括物理编址、网络拓扑结构、错误校验、帧序列以及流控。物理编址（相对
应的是网络编址）定义了设备在数据链路层的编址方式；网络拓扑结构定义了设备的物理连接方式，如总线拓扑结构和环拓扑结构；错误校验向发生传输错误的上层
协议告警；数据帧序列重新整理并传输除序列以外的帧；流控可能延缓数据的传输，以使接收设备不会因为在某一时刻接收到超过其处理能力的信息流而崩溃。数据
链路层实际上由两个独立的部分组成，介质存取控制（Media Access Control,MAC）和逻辑链路控制层（Logical Link
Control,LLC）。MAC描述在共享介质环境中如何进行站的调度、发生和接收数据。MAC确保信息跨链路的可靠传输，对数据传输进行同步，识别错
误和控制数据的流向。一般地讲，MAC只在共享介质环境中才是重要的，只有在共享介质环境中多个节点才能连接到同一传输介质上。IEEE
MAC规则定义了地址，以标识数据链路层中的多个设备。逻辑链路控制子层管理单一网络链路上的设备间的通信，IEEE
802.2标准定义了LLC。LLC支持无连接服务和面向连接的服务。在数据链路层的信息帧中定义了许多域。这些域使得多种高层协议可以共享一个物理数据
链路。<br>　　第三层:网络层<br>　　负责在源和终点之间建立连接。它一般包括网络寻径，还可能包括流量控制、错误检查等。相同MAC标准的不同网段之间的数据传输一般只涉及到数据链路层，而不同的MAC标准之间的数据传输都涉及到网络层。例如IP路由器工作在网络层，因而可以实现多种网络间的互联。<br>　　第四层:传输层<br>　
　向高层提供可靠的端到端的网络数据流服务。传输层的功能一般包括流控、多路传输、虚电路管理及差错校验和恢复。流控管理设备之间的数据传输，确保传输设
备不发送比接收设备处理能力大的数据；多路传输使得多个应用程序的数据可以传输到一个物理链路上；虚电路由传输层建立、维护和终止；差错校验包括为检测传
输错误而建立的各种不同结构；而差错恢复包括所采取的行动（如请求数据重发），以便解决发生的任何错误。传输控制协议（TCP）是提供可靠数据传输的
TCP/IP协议族中的传输层协议。<br>　　第五层:会话层<br>　　建立、管理和终止表示层与实体之间的通信会话。通信会话包括发生在不同网络应用层之间的服务请求和服务应答，这些请求与应答通过会话层的协议实现。它还包括创建检查点，使通信发生中断的时候可以返回到以前的一个状态。<br>　　第六层:表示层<br>　　提供多种功能用于应用层数据编码和转化，以确保以一个系统应用层发送的信息可以被另一个系统应用层识别。表示层的编码和转化模式包括公用数据表示格式、性能转化表示格式、公用数据压缩模式和公用数据加密模式。<br>　
　公用数据表示格式就是标准的图像、声音和视频格式。通过使用这些标准格式，不同类型的计算机系统可以相互交换数据；转化模式通过使用不同的文本和数据表
示，在系统间交换信息，例如ASCII(American Standard Code for Information
Interchange，美国标准信息交换码)；标准数据压缩模式确保原始设备上被压缩的数据可以在目标设备上正确的解压；加密模式确保原始设备上加密的
数据可以在目标设备上正确地解密。<br>　　表示层协议一般不与特殊的协议栈关联，如QuickTime是Applet计算机的视频和音频的标准，MPEG是ISO的视频压缩与编码标准。常见的图形图像格式PCX、GIF、JPEG是不同的静态图像压缩和编码标准。<br>　　第七层:应用层<br>　
　最接近终端用户的OSI层，这就意味着OSI应用层与用户之间是通过应用软件直接相互作用的。注意，应用层并非由计算机上运行的实际应用软件组成，而是
由向应用程序提供访问网络资源的API（Application Program
Interface，应用程序接口）组成，这类应用软件程序超出了OSI模型的范畴。应用层的功能一般包括标识通信伙伴、定义资源的可用性和同步通信。因
为可能丢失通信伙伴，应用层必须为传输数据的应用子程序定义通信伙伴的标识和可用性。定义资源可用性时，应用层为了请求通信而必须判定是否有足够的网络资
源。在同步通信中，所有应用程序之间的通信都需要应用层的协同操作。<br>　　OSI的应用层协议包括文件的传输、访问及管理协议(FTAM) ，以及文件虚拟终端协议(VIP)和公用管理系统信息(CMIP)等。<br><br>2. TCP/IP分层模型<br><br>　　TCP/IP分层模型（TCP/IP Layening Model）被称作因特网分层模型(Internet Layering Model)、因特网参考模型(Internet Reference Model)。<br>　　┌────────┐┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐<br>　　│　　　　　　　　││Ｄ│Ｆ│Ｗ│Ｆ│Ｈ│Ｇ│Ｔ│Ｉ│Ｓ│Ｕ│　│<br>　　│　　　　　　　　││Ｎ│Ｉ│Ｈ│Ｔ│Ｔ│Ｏ│Ｅ│Ｒ│Ｍ│Ｓ│其│<br>　　│第四层，应用层　││Ｓ│Ｎ│Ｏ│Ｐ│Ｔ│Ｐ│Ｌ│Ｃ│Ｔ│Ｅ│　│<br>　　│　　　　　　　　││　│Ｇ│Ｉ│　│Ｐ│Ｈ│Ｎ│　│Ｐ│Ｎ│　│<br>　　│　　　　　　　　││　│Ｅ│Ｓ│　│　│Ｅ│Ｅ│　│　│Ｅ│它│<br>　　│　　　　　　　　││　│Ｒ│　│　│　│Ｒ│Ｔ│　│　│Ｔ│　│<br>　　└────────┘└─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘<br>　　┌────────┐┌─────────┬───────────┐<br>　　│第三层，传输层　││　　　ＴＣＰ　　　│　　　　ＵＤＰ　　　　│<br>　　└────────┘└─────────┴───────────┘<br>　　┌────────┐┌─────┬────┬──────────┐<br>　　│　　　　　　　　││　　　　　│ＩＣＭＰ│　　　　　　　　　　│<br>　　│第二层，网间层　││　　　　　└────┘　　　　　　　　　　│<br>　　│　　　　　　　　││　　　　　　　ＩＰ　　　　　　　　　　　　│<br>　　└────────┘└─────────────────────┘<br>　　┌────────┐┌─────────┬───────────┐<br>　　│第一层，网络接口││ＡＲＰ／ＲＡＲＰ　│　　　　其它　　　　　│<br>　　└────────┘└─────────┴───────────┘<br>　　　　　　         TCP/IP四层参考模型 <br><br>　　TCP/IP协议被组织成四个概念层，其中有三层对应于ISO参考模型中的相应层。ICP/IP协议族并不包含物理层和数据链路层，因此它不能独立完成整个计算机网络系统的功能，必须与许多其他的协议协同工作。<br>　　TCP/IP分层模型的四个协议层分别完成以下的功能：<br>　　第一层:网络接口层<br>　
　包括用于协作IP数据在已有网络介质上传输的协议。实际上TCP/IP标准并不定义与ISO数据链路层和物理层相对应的功能。相反，它定义像地址解析协
议(Address Resolution Protocol,ARP)这样的协议，提供TCP/IP协议的数据结构和实际物理硬件之间的接口。<br>　　第二层:网间层<br>　
　对应于OSI七层参考模型的网络层。本层包含IP协议、RIP协议(Routing Information
Protocol，路由信息协议)，负责数据的包装、寻址和路由。同时还包含网间控制报文协议(Internet Control Message
Protocol,ICMP)用来提供网络诊断信息。<br>　　第三层:传输层<br>　　对应于OSI七层参考模型的传输层，它提供两种端到端的通信服务。其中TCP协议(Transmission Control Protocol)提供可靠的数据流运输服务，UDP协议(Use Datagram Protocol)提供不可靠的用户数据报服务。<br>　　第四层:应用层<br>　
　对应于OSI七层参考模型的应用层和表达层。因特网的应用层协议包括Finger、Whois、FTP(文件传输协议)、Gopher、HTTP(超文
本传输协议)、Telent(远程终端协议)、SMTP(简单邮件传送协议)、IRC(因特网中继会话)、NNTP（网络新闻传输协议）等<br><br>=========================================================================================<br></span><br><br><h3 style="margin: 0cm 0cm 0pt;"><font size="2"><span lang="EN-US"><font face="Times New Roman"><span style="font-size: 10.5pt; font-family: 'Times New Roman';" lang="EN-US">ISO/OSI</span><span style="font-size: 10.5pt; font-family: 宋体;">参考模型</span></font></span></font></h3>
<h3 style="margin: 0cm 0cm 0pt;"><font size="2"><span lang="EN-US"><font face="Times New Roman"><span style="font-size: 10.5pt; font-family: 宋体;"></span><o:p></o:p></font></span>&nbsp;</font></h3>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; 由于不同计算机和网络厂商的网络体系结构（例如</span><span lang="EN-US"><font face="Times New Roman">IBM</font></span><span style="font-family: 宋体;">公司的</span><span lang="EN-US"><font face="Times New Roman">SNA</font></span><span style="font-family: 宋体;">，</span><span lang="EN-US"><font face="Times New Roman">DEC</font></span><span style="font-family: 宋体;">公司的</span><span lang="EN-US"><font face="Times New Roman">DNA</font></span><span style="font-family: 宋体;">等）难以互连互通，且互连网络的性能难以保证，而建网费用很高，面对广大用户要求的便宜、灵活、方便的连网需求，国际标准化组织（</span><span lang="EN-US"><font face="Times New Roman">ISO</font></span><span style="font-family: 宋体;">）于</span><span lang="EN-US"><font face="Times New Roman">1983</font></span><span style="font-family: 宋体;">年提出了开放系统互连（</span><span lang="EN-US"><font face="Times New Roman">OSI</font></span><span style="font-family: 宋体;">）网络体系结构框架，即</span><span lang="EN-US"><font face="Times New Roman">ISO/OSI</font></span><span style="font-family: 宋体;">参考模型，如图</span><span lang="EN-US"><font face="Times New Roman">2-1</font></span><span style="font-family: 宋体;">所示。</span></font></p>
<p class="a1" style="margin: 6pt 0cm;"><font size="2"><span lang="EN-US"><v:shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v:path><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype></span></font></p>

<p class="a2" style="margin: 0cm 0cm 6pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;"><font size="3">&nbsp;&nbsp;&nbsp; </font></span>图</span><span lang="EN-US"><font face="Times New Roman">2-1<span style="">&nbsp; </span>ISO/OSI</font></span><span style="font-family: 宋体;">参考模型</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>应该说，</span><span lang="EN-US"><font face="Times New Roman">ISO/OSI</font></span><span style="font-family: 宋体;">开放式网络体系结构的理论指导作用大于其实际应用。目前，广泛应用的网络体系结构是</span><span lang="EN-US"><font face="Times New Roman">TCP/IP</font></span><span style="font-family: 宋体;">，但</span><span lang="EN-US"><font face="Times New Roman">ISO/OSI</font></span><span style="font-family: 宋体;">开放式网络体系结构为人们描述了指导进行网络互连的理想框架和蓝图，有待人们去探索和实现。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span lang="EN-US"><font face="Times New Roman"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>OSI</font></span><span style="font-family: 宋体;">参考模型具有以下特点：</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">1</font></span><span style="font-family: 宋体;">）提供了控制互连系统交互规则的标准框架，定义了一种抽象结构，而非具体实现的描述。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">2</font></span><span style="font-family: 宋体;">）描述了实现异构系统互连的分层结构，规定同等层实体（指能发送和接收信息的软件和设备，例如终端、程序、数据库系统、电子邮件系统等）之间的通信由该层的协议进行管理和实现。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">3</font></span><span style="font-family: 宋体;">）规定每层只完成所定义的功能，修改本层的功能对其他层无影响，并定义了相邻层之间的接口。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">4</font></span><span style="font-family: 宋体;">）规定直接的数据传输在最低层（物理层）实现。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">5</font></span><span style="font-family: 宋体;">）通信网只涉及第</span><span lang="EN-US"><font face="Times New Roman">1</font></span><span style="font-family: 宋体;">层到第</span><span lang="EN-US"><font face="Times New Roman">3</font></span><span style="font-family: 宋体;">层，例如路由器涉及网络层，网桥涉及数据链路层、中继器涉及物理层，网关则涉及第</span><span lang="EN-US"><font face="Times New Roman">4</font></span><span style="font-family: 宋体;">层至第</span><span lang="EN-US"><font face="Times New Roman">7</font></span><span style="font-family: 宋体;">层，属于高层协议转换设备。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">6</font></span><span style="font-family: 宋体;">）</span><span lang="EN-US"><font face="Times New Roman">ISO/ISO</font></span><span style="font-family: 宋体;">分层模块化</span><span lang="EN-US"><font face="Times New Roman">/</font></span><span style="font-family: 宋体;">结构化的网络设计思想，完整而清晰明了，对计算机网络和其他网络的发展具有十分重要的指导意义。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">7</font></span><span style="font-family: 宋体;">）</span><span lang="EN-US"><font face="Times New Roman">ISD/ISO</font></span><span style="font-family: 宋体;">网络体系结构具有开放性，所谓“开放”是指任何遵守该参考模型和有关标准的系统之间都能进行互连。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span lang="EN-US"><font face="Times New Roman"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>ISO/OSI</font></span><span style="font-family: 宋体;">参考模型只定义了各层的功能，并未定义每层的具体实现协议，其协议由其他标准来定义，这体现了该模型的灵活性和远见卓识。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span lang="EN-US"><font face="Times New Roman"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>ISO/OSI</font></span><span style="font-family: 宋体;">参考模型各层表现在的功能也有很大的差异，下面先作一简单的介绍，下一节再详细说明。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>参考图</span><span lang="EN-US"><font face="Times New Roman">2-2</font></span><span style="font-family: 宋体;">所示。</span></font></p>
<p class="a1" style="margin: 6pt 0cm;"><font size="2"><span lang="EN-US"></span></font></p>

<p class="a2" style="margin: 0cm 0cm 6pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;"><font size="3">&nbsp;&nbsp;&nbsp; </font></span>图</span><span lang="EN-US"><font face="Times New Roman">2-2<span style="">&nbsp; </span>ISO/OSI</font></span><span style="font-family: 宋体;">参考模型功能简介</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">1</font></span><span style="font-family: 宋体;">）物理层（</span><span lang="EN-US"><font face="Times New Roman">Physical Layer</font></span><span style="font-family: 宋体;">）：提供建立、维护和拆除物理链路所需的机械、电气、功能和规程特性，通过传输介质进行数据流（比特流）的物理传输，故障监测和物理层管理。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">2</font></span><span style="font-family: 宋体;">）数据链路层（</span><span lang="EN-US"><font face="Times New Roman">Data Link Layer</font></span><span style="font-family: 宋体;">）：在网络层褓间提供数据传输功能和控制，提供数据的流量控制，检测和纠正物理链路产生的差错。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">3</font></span><span style="font-family: 宋体;">）网络层（</span><span lang="EN-US"><font face="Times New Roman">Network Aayer</font></span><span style="font-family: 宋体;">）：提供路由选择、拥塞控制、网络互连等功能，根据传输层的要求，选择服务质量，向传输层指示未恢复的差错。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">4</font></span><span style="font-family: 宋体;">）传输层（</span><span lang="EN-US"><font face="Times New Roman">Transport Layar</font></span><span style="font-family: 宋体;">）：提供建立、维护和拆除传输连接的功能，监控服务质量，提供端到端可靠的透明的数据传输、差错控制和流量控制。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">5</font></span><span style="font-family: 宋体;">）会话层（</span><span lang="EN-US"><font face="Times New Roman">Session Layer</font></span><span style="font-family: 宋体;">）：提供两个进程之间建立、维护和结束会话连接的功能，提供会话流量控制和交叉会话功能。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">6</font></span><span style="font-family: 宋体;">）表示层（</span><span lang="EN-US"><font face="Times New Roman">Presentaion Layer</font></span><span style="font-family: 宋体;">）：提供不同信息格式和编码之间的转换，提供数据表示、数据压缩和数据加密功能。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">7</font></span><span style="font-family: 宋体;">）应用层（</span><span lang="EN-US"><font face="Times New Roman">Application Layer</font></span><span style="font-family: 宋体;">）：提供网络服务，例如事务处理程序、文件传输程序、网络管理程序等。</span></font></p><br>======================================================<br><br><table width="117" height="24"><tbody><tr><td><nobr><b><font size="2">DOD参考模型简介</font></b>&nbsp;</nobr></td>
		<td width="99%"><hr style="border: 1px dotted rgb(153, 153, 153); height: 1px;"></td></tr></tbody></table><br><font size="2"><span style="font-family: 宋体;">在TCP/IP</span><span lang="EN-US"><font face="Times New Roman"></font></span><span style="font-family: 宋体;">参考模型中各层的主要特点和功能如下：</span></font>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; （</span><span lang="EN-US"><font face="Times New Roman">1</font></span><span style="font-family: 宋体;">）网络接口层（</span><span lang="EN-US"><font face="Times New Roman">Network Interface Layer</font></span><span style="font-family: 宋体;">）。网络接口层是</span><span lang="EN-US"><font face="Times New Roman">ICP</font></span><span style="font-family: 宋体;">／</span><span lang="EN-US"><font face="Times New Roman">IP</font></span><span style="font-family: 宋体;">协议的最底层，是负责网络层与硬件设备间的联系。这一层的协议非常多，包括各种逻辑链路控制和媒体访问。任何用于</span><span lang="EN-US"><font face="Times New Roman">IP</font></span><span style="font-family: 宋体;">数据报交换的分组传输协议均可包含在这一层中。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">2</font></span><span style="font-family: 宋体;">）网络层（</span><span lang="EN-US"><font face="Times New Roman">Internet Layer</font></span><span style="font-family: 宋体;">）。网络层解决的是计算机到计算机间的通信问题，它包括三个方面的功能：</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>·处理来自传输层的分组发送请求，收到请求后将分组装入</span><span lang="EN-US"><font face="Times New Roman">IP</font></span><span style="font-family: 宋体;">数据报，填充报头，选择路径，然后将数据报发往适当的网络接口。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>·处理数据报。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>·处理网络控制报文协议、即处理路径、流量控制、阻塞等。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">3</font></span><span style="font-family: 宋体;">）传输层（</span><span lang="EN-US"><font face="Times New Roman">Transport Layer</font></span><span style="font-family: 宋体;">）。传输层解决的是计算机程序到计算机程序之间的通信问题。计算机程序到计算机程序之间的通信就是通常所说的“端到端”的通信。传输层对信息流具有调节作用，提供可靠性传输，确保数据到达无误。</span></font></p>
<p class="MsoNormalIndent" style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;"><span style="font-family: 宋体;">&nbsp;&nbsp;&nbsp; </span>（</span><span lang="EN-US"><font face="Times New Roman">4</font></span><span style="font-family: 宋体;">）应用层（</span><span lang="EN-US"><font face="Times New Roman">Application Layer</font></span><span style="font-family: 宋体;">）。应用层提供一组常用的应用程序给用户。在应用层，用户调节访问网络的应用程序，应用程序与传输层协议相配合，发送或接收数据。每个应用程序都有自己的数据形式，它可以是一系列报文或字节流，但不管采用哪种形式，都要将数据传送给传输层以便交换。</span></font></p><br></div></td></tr></tbody></table></div><img src ="http://www.cnblogs.com/music000/aggbug/1281072.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42983/" target="_blank">[新闻]Silverlight对Flash 微软打垮Adobe</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>求职 Asp.net程序员 深圳（工作两年）</title><link>http://www.cnblogs.com/music000/archive/2008/08/19/1270996.html</link><dc:creator>music000</dc:creator><author>music000</author><pubDate>Tue, 19 Aug 2008 03:29:00 GMT</pubDate><guid>http://www.cnblogs.com/music000/archive/2008/08/19/1270996.html</guid><wfw:comment>http://www.cnblogs.com/music000/comments/1270996.html</wfw:comment><comments>http://www.cnblogs.com/music000/archive/2008/08/19/1270996.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/music000/comments/commentRss/1270996.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/music000/services/trackbacks/1270996.html</trackback:ping><description><![CDATA[<SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">大家好：<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 刚辞职，想找份 Asp.net 程序员的工作,工作地点在深圳.（工作已两年）<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 哪位兄弟姐妹招人的话看下,可以直接联系.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 废话少说,还是简单附上相关信息:<BR><BR><STRONG>1、基本信息<BR></STRONG></SPAN>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;姓名：</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">&nbsp;</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">李兵</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">性别：</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">男</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</SPAN></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">工作时间：两年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">毕业学校：</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">兰州大学</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">英语：六级&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">邮箱：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><A href="mailto:music000libing@gmail.com" target=_blank>music000libing@gmail.com</A>&nbsp;</SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><BR></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT style="BACKGROUND-COLOR: #ffffff" color=#008000>电话：</FONT></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><FONT style="BACKGROUND-COLOR: #0000ff"><FONT color=#008000><FONT style="BACKGROUND-COLOR: #ffffff">134-20900545&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QQ：280833418&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><FONT style="BACKGROUND-COLOR: #ffffff">MSN：</FONT><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><A href="mailto:music000libing@hotmail.com" target=_blank><FONT style="BACKGROUND-COLOR: #ffffff" color=#0000ff>music000libing@hotmail.com</FONT></A><BR><BR><FONT style="BACKGROUND-COLOR: #ffffff"><FONT color=#000000><B><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">2、工作经历<BR></SPAN></B><SPAN lang=EN-US style="FONT-SIZE: 12pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN><BR></FONT>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 2.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-para-margin-left: .24gd"><FONT color=#000000><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">A</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">：</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">2007.3</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">—</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">2008.7<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">深圳市邦德教育（</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">www.bond520.com</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">）</SPAN></FONT><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><BR><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; &nbsp;</SPAN>1</FONT></SPAN><FONT color=#000000><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">、邦德学员管理系统：需求分析、系统设计、编码、调试、完善、部署、维护（承担</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">85%</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">的工作</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>asp.net</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">）</SPAN></FONT><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><BR><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; &nbsp;</SPAN>2</FONT></SPAN><FONT color=#000000><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">、邦德短信系统：需求分析、系统设计、编码、调试（独立完成</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>asp.net</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">）</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>3</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">、公司</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">OA</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">相关程序的完善（</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">asp</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">）</SPAN></FONT><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><BR><BR><FONT color=#000000><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></FONT></SPAN><FONT color=#000000><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">学员管理系统：因公司所属行业的特点，公司目前在深圳市</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">5</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">个行政区都开设有分点（目前大约</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">20</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">个），综合系统数据量、网速、费用、安全性、其他业务（如语音电话）多方面的因素，网络架构采用的是：每个分点架设一个服务器与</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">VPN</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">，各服务器同时作为应用程序服务器与数据库服务器，同时采用一个大型</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">VPN</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">将公司各分点</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">VPN</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">连接起来形成一个局域网。同时，还存在一个总服务器，各分点服务器每天某一时刻定时向总服务器发送本分点当天最新数据，以对数据进行分析统计。这样，数据分发就成了系统设计的一个难点，因为只发送当天新增、更新的数据（减少数据传输量），所以系统设计时给数据库所有表新增了一个时间戳字段，同时采用作业来完成此任务（总服务器数据有一天延迟）。系统从需求分析到设计，都由本人单独完成，后因时间不足，带领一位同事完成系统其中一个模块，其余五个模块由本人完成。同时，系统采用了</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">Asp.net Ajax</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">、</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">WebService</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">，提升了用户体验。除框架页面布局由一位同事完成外，其余所有页面都由我完成。</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT color=#000000><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">邦德短信系统：采用亿美短信发送组件，同时结合公司现有的</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">OA</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">系统进行开发，实现公司内部的短信分级申请、发送、审核（如短信管理中心——片区——分点——行政部门），同时结合学员管理系统实现：教师给自己所带学员发送短信、公司给学员发送短信的目的。因为要考虑到现有的</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">OA</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">系统与学员管理系统，所以三个系统的衔接就成为系统设计的难点。系统的需求分析、设计、编码、调试、界面均由本人独立完成。</SPAN></FONT><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><FONT color=#000000><SPAN style="mso-spacerun: yes">&nbsp;<BR><BR>&nbsp; </SPAN><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT color=#000000><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">B</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">：</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">2006.7</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">—</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">2007.1 </SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">温州市三运网络科技有限公司（</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">www.abcsss.com</SPAN></FONT><FONT color=#000000><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">）<BR><BR></SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT color=#000000><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>4</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">、交友中心</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">:</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">俱乐部功能模块、用户管理功能模块（</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">gs.abcsss.com </SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">：温州热线交友项目</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>asp.net</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">）</SPAN></FONT><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><BR><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>5</FONT></SPAN><FONT color=#000000><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">、网上商城</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">:</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">用户管理功能模块、部分前台与后台管理模块（</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">www.abcsss.com/shengshi<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>asp.net</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">）</SPAN></FONT><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><BR><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>6</FONT></SPAN><FONT color=#000000><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">、温州大拇指（代码修改</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>www.wzdmz.com.cn<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>asp</SPAN></FONT><FONT color=#000000><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">）<BR><BR></SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></FONT></P><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><FONT color=#000000>开发语言：</FONT></SPAN><FONT color=#000000><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">C#<BR></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">开发方式：三层架构（项目</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">1</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">2</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">4</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">5</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">）</SPAN></FONT><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><BR></SPAN><FONT color=#000000><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">开发平台：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">VS2005</SPAN></FONT><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><BR></SPAN><FONT color=#000000><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">数据库：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">SqlServer2000</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">（项目</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">1</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">2</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">5 </SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">）、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">Oracle9i</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">（项目</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">4</SPAN></FONT><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><FONT color=#000000>）<BR><BR><BR><SPAN style="FONT-SIZE: 13.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><STRONG>3、计算机<BR></STRONG></SPAN><BR><FONT size=3><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">Web</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">：(X)</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">HTML</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">Asp.net</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">JavaScript</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">CSS</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">AJAX</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、<FONT face="Times New Roman">WebService、</FONT></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">xml<BR></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">语言：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">C#<BR></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">脚本：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">Javascript</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">Jquery</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">ExtJS、Json</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">）</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><BR></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">工具：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">VS2005</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">EditPlus</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">Aptana Studio</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">VSS<BR></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">数据库：熟悉</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">sql(t-sql</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">sp</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">cursor</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">trigger</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">function)</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、数据库设计</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体"><BR>DBMS</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">：熟练</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">Sqlserver2000</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、熟悉</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">Oracle9i</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">Access</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、安装并使用过</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">DB2</SPAN></SPAN></FONT></FONT></SPAN></FONT><FONT style="BACKGROUND-COLOR: #ffffff"><FONT color=#000000><FONT size=4><BR></FONT></FONT></FONT></SPAN></FONT></FONT></SPAN><img src ="http://www.cnblogs.com/music000/aggbug/1270996.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42981/" target="_blank">[新闻]IBM扩大研究规模 在上海成立研究院</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>Sqlserver中Compute By子句用法分析</title><link>http://www.cnblogs.com/music000/archive/2008/01/29/1057898.html</link><dc:creator>music000</dc:creator><author>music000</author><pubDate>Tue, 29 Jan 2008 10:39:00 GMT</pubDate><guid>http://www.cnblogs.com/music000/archive/2008/01/29/1057898.html</guid><wfw:comment>http://www.cnblogs.com/music000/comments/1057898.html</wfw:comment><comments>http://www.cnblogs.com/music000/archive/2008/01/29/1057898.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/music000/comments/commentRss/1057898.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/music000/services/trackbacks/1057898.html</trackback:ping><description><![CDATA[<p>使用Compute by子句和行统计函数（count,sum,max,avg,min等），可以统计排序中结果完全相同的列，统计值作为查询结果以附加行的形式显示，</p>
<p>语法：Compute avg|count|max|min|sum by 表达式</p>
<p>1、举一个例子</p>
<p>比如有一个数据表：表名为person,三个字段分别为 name,age,country</p>
<p>select name,country,age from&nbsp;person where ?? order by a compute sum(age),max(age),min(age) by country</p>
<p>这个语句在查询时将数据按照country分组，然后分别显示每组的详细信息和统计信息。结果可能如下：</p>
<p>name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; country&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; age</p>
<p>张三&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 中国&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16<br>李四&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 中国&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 21<br>王五&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 中国&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24</p>
<p>sum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; max&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; min</p>
<p>61&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16</p>
<p>=================================</p>
<p>name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; country&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; age</p>
<p>泰森&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 美国&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20<br>布什&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 美国&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24<br>盖茨&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 美国&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25</p>
<p>sum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; max&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; min</p>
<p>69&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20</p>
<p>=============================================</p>
<p>name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; country&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; age</p>
<p>妓子&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日本&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12<br>完犊子&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日本&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14<br>猪生逆子&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日本&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 15</p>
<p>sum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; max&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; min</p>
<p>41&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;15&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12</p>
<p>我们很容易看出她其实是在一个查询结果中包含了三个子查询（根据country不同而分的组），每个子查询又包含两个子查询（一个是详细信息，一个是统计信息）</p>
<p>2、compute by 子句的规则：</p>
<p>（1）不能将distinct与行统计函数一起使用</p>
<p>（2）compute ？？？&nbsp;by 子句中 ？？？出的列必须出现在选择列表中</p>
<p>（3）不能在含有compute by 子句的语句中使用select into 子句，因为包括compute&nbsp;子句的语句会产生不规则的行。</p>
<p>（4）如果使用了compute by子句，则必须使用order by 子句，&nbsp;而且compute by子句中的列必须包含在order
by 子句中，并且对列的前后顺序和起始项都要一致（说白了compute by子句中的列必须是order
by子句中列表的全部，或者前边的连续几个）。</p>
<p>（5）如果compute 省略了 by ，则order by 也可以省略</p>
<p>（6）如果compute by 子句包含多列时，会将一个组（第一个列分的组）分成若干个子组（利用后面的列），并对每层子组进行统计。</p>
<p>（7）使用多个compute by子句时，会分别按不同的组统计出结果。详细信息还是按照正常的第一个分组方式显示。</p>
<p>（8）compute by 子句中可以使用多个统计函数，他们互不影响</p>
<p>（9）compute by 子句中可以不包含by ,而只用compute&nbsp; 此时不对前面信息分组，而只对全部信息进行统计。</p><img src ="http://www.cnblogs.com/music000/aggbug/1057898.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42980/" target="_blank">[新闻]eWeek评Google八大“20%项目”</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>数据查询的另类需求</title><link>http://www.cnblogs.com/music000/archive/2008/01/03/1024474.html</link><dc:creator>music000</dc:creator><author>music000</author><pubDate>Thu, 03 Jan 2008 05:37:00 GMT</pubDate><guid>http://www.cnblogs.com/music000/archive/2008/01/03/1024474.html</guid><wfw:comment>http://www.cnblogs.com/music000/comments/1024474.html</wfw:comment><comments>http://www.cnblogs.com/music000/archive/2008/01/03/1024474.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/music000/comments/commentRss/1024474.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/music000/services/trackbacks/1024474.html</trackback:ping><description><![CDATA[摘要: 前几天在网上有个网友有这样一个需求：<br>     统计某个数据库中，所有包含A字段的表，其中A字段（假设: varchar）的值为'abc'的记录共有多少条？&nbsp;&nbsp;<a href='http://www.cnblogs.com/music000/archive/2008/01/03/1024474.html'>阅读全文</a><img src ="http://www.cnblogs.com/music000/aggbug/1024474.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42979/" target="_blank">[新闻]微软终于发布Silverlight 2正式版</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>A Preview of HTML 5</title><link>http://www.cnblogs.com/music000/archive/2007/12/15/995632.html</link><dc:creator>music000</dc:creator><author>music000</author><pubDate>Fri, 14 Dec 2007 16:20:00 GMT</pubDate><guid>http://www.cnblogs.com/music000/archive/2007/12/15/995632.html</guid><wfw:comment>http://www.cnblogs.com/music000/comments/995632.html</wfw:comment><comments>http://www.cnblogs.com/music000/archive/2007/12/15/995632.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/music000/comments/commentRss/995632.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/music000/services/trackbacks/995632.html</trackback:ping><description><![CDATA[

<div id="articletext">
  <div class="illustration right half">
</div>


<div class="illustration right half"><img src="http://www.alistapart.com/d/previewofhtml5/html5.jpg" alt="A Preview of HTML 5">
</div>
<h2>Abstract</h2><div class="illustration right half">
</div>

<div class="illustration right half">
</div><p>The web is constantly evolving. New and innovative websites are being created
   every day,<br>pushing the boundaries of HTML in every direction. HTML 4 has
   been around for nearly a decade now, and publishers seeking new techniques to
   provide enhanced functionality are being held back by the constraints of
   the language and browsers.</p>
<p>To give authors more flexibility and interoperability, and enable
more interactive and exciting websites and applications, HTML 5
introduces and enhances a wide range of features including form
controls, APIs, multimedia, structure, and semantics.</p>
<p>Work on HTML 5, which commenced in 2004, is currently being carried out in
   a joint effort between the
   <a href="http://www.w3.org/html/"><abbr title="W3C HTML Working Group">W3C HTML
   WG</abbr></a> and
   the <a href="http://www.whatwg.org/"><abbr title="Web Hypertext Application Technology Working Group">WHATWG</abbr></a>.
   Many key players are participating in the W3C effort including representatives
   from the four major browser vendors: Apple, Mozilla, Opera, and Microsoft;
   and a range of other organisations and individuals with many diverse interests
   and expertise.</p>
<p>Note that <a href="http://www.w3.org/html/wg/html5/">the
   specification</a> is still a <em>work in progress</em> and quite a long
   way from completion. As such, it is possible that any feature discussed in
   this article may change in the future. This article is intended to provide
   a brief introduction to some of the major features as they are in the current
   draft.</p>

<h2> Structure</h2>
<p>HTML 5 introduces a whole set of new elements that make it much easier to
   structure pages. Most HTML 4 pages include a variety of common structures,
   such as headers, footers and columns and today, it is fairly common to mark
   them up using div elements, giving each a descriptive id or class.</p>

<div class="illustration left full"> 
<img src="http://www.alistapart.com/d/previewofhtml5/structure-div.gif" alt="">
  <p>Diagram
illustrates a typical two-column layout marked up using divs with id
and class attributes. It contains a header, footer, and horizontal
navigation bar below the header. The main content contains an article
and sidebar on the right.</p>
</div>

<p>The use of <code>div</code> elements is largely because current versions of
   <span class="caps">HTML 4</span> lack the necessary semantics for describing these parts more specifically.
   <span class="caps">HTML 5</span> addresses this issue by introducing new elements for representing
   each of these different sections.</p>

<div class="illustration left full"> 
<img src="http://www.alistapart.com/d/previewofhtml5/structure-html5.gif" alt="">
  <p>The div elements can be replaced with the new elements: header, nav, section, article, aside, and footer.</p>
</div>

<p>The markup for that document could look like the following:</p>

<pre>&lt;body&gt;<br>  &lt;header&gt;...&lt;/header&gt;<br>  &lt;nav&gt;...&lt;/nav&gt;<br>  &lt;article&gt;<br>    &lt;section&gt;<br>      ...<br>    &lt;/section&gt;<br>  &lt;/article&gt;<br>  &lt;aside&gt;...&lt;/aside&gt;<br>  &lt;footer&gt;...&lt;/footer&gt;<br>&lt;/body&gt;</pre>

<p>There are several advantages to using these elements. When used in conjunction
   with the heading elements (<code>h1</code> to <code>h6</code>), all of these provide
   a way to mark up nested sections with heading levels, beyond the six levels
   possible with previous versions of <span class="caps">HTML</span>. The specification includes <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/section-sections.html#outlines">a
   detailed algorithm for generating an outline</a> that takes the structure of these elements
   into account and remains backwards compatible with previous versions. This
   can be used by both authoring tools and browsers to generate tables of contents
   to assist users with navigating the document.</p>
<p>For example, the following markup structure marked up with nested <code>section</code> and <code>h1</code> elements:</p>

<pre>&lt;section&gt;<br>  &lt;h1&gt;Level 1&lt;/h1&gt;<br>  &lt;section&gt;<br>    &lt;h1&gt;Level 2&lt;/h1&gt;<br>    &lt;section&gt;<br>      &lt;h1&gt;Level 3&lt;/h1&gt;<br>    &lt;/section&gt;<br>  &lt;/section&gt;<br>&lt;/section&gt;</pre>

<p>Note that for better compatibility with current browsers, it is also possible
   to make use of the other heading elements (<code>h2</code> to <code>h6</code>) appropriately in place
   of the <code>h1</code> elements.</p>
<p> By identifying the purpose of sections in the page using specific sectioning
   elements, assistive technology can help the user to more easily navigate
   the page. For example, they can easily skip over the navigation section or
   quickly jump from one article to the next without the need for authors to provide
   skip links. Authors also benefit because replacing many of the divs in the
   document with one of several distinct elements can help make the source code
   clearer and easier to author.</p>
<p>The <code>header</code> element represents the header of a section. Headers may contain
   more than just the section’s heading—for example it would be reasonable
   for the header to include sub headings, version history information or bylines.</p>

<pre>&lt;header&gt;<br>  &lt;h1&gt;A Preview of HTML 5&lt;/h1&gt;<br>  &lt;p class="byline"&gt;By Lachlan Hunt&lt;/p&gt;<br>&lt;/header&gt;</pre>

<pre>&lt;header&gt;<br>  &lt;h1&gt;Example Blog&lt;/h1&gt;<br>  &lt;h2&gt;Insert tag line here.&lt;/h2&gt;<br>&lt;/header&gt;</pre>

<p>The <code>footer</code> element represents the footer for the section it applies to. A
   footer typically contains information about its section such as who wrote it,
   links to related documents, copyright data, and the like.</p>

<pre>&lt;footer&gt;© 2007 Example Inc.&lt;/footer&gt;</pre>

<p>The <code>nav</code> element represents a section of navigation links. It is suitable
for either site navigation or a table of contents.</p>

<pre>&lt;nav&gt;<br>  &lt;ul&gt;<br>    &lt;li&gt;&lt;a href="/"&gt;Home&lt;/a&gt;&lt;/li&gt;<br>    &lt;li&gt;&lt;a href="/products"&gt;Products&lt;/a&gt;&lt;/li&gt;<br>    &lt;li&gt;&lt;a href="/services"&gt;Services&lt;/a&gt;&lt;/li&gt;<br>    &lt;li&gt;&lt;a href="/about"&gt;About&lt;/a&gt;&lt;/li&gt;<br>  &lt;/ul&gt;<br>&lt;/nav&gt;</pre>

<p>The <code>aside</code> element is for content that is tangentially related to the content
around it, and is typically useful for marking up sidebars.</p>

<pre>&lt;aside&gt;<br>  &lt;h1&gt;Archives&lt;/h1&gt;<br>  &lt;ul&gt;<br>    &lt;li&gt;&lt;a href="/2007/09/"&gt;September 2007&lt;/a&gt;&lt;/li&gt;<br>    &lt;li&gt;&lt;a href="/2007/08/"&gt;August 2007&lt;/a&gt;&lt;/li&gt;<br>    &lt;li&gt;&lt;a href="/2007/07/"&gt;July 2007&lt;/a&gt;&lt;/li&gt;<br>  &lt;/ul&gt;<br>&lt;/aside&gt;</pre>

<p>The <code>section</code> element represents a generic section of a document or application,
such as a chapter, for example.</p>

<pre>&lt;section&gt;<br>  &lt;h1&gt;Chapter 1: The Period&lt;/h1&gt;<br>  &lt;p&gt;It was the best of times, it was the worst of times,<br>     it was the age of wisdom, it was the age of foolishness,<br>     it was the epoch of belief, it was the epoch of incredulity,<br>     it was the season of Light, it was the season of Darkness,<br>     ...&lt;/p&gt;<br>&lt;/section&gt;</pre>

<p>(Excerpt from <cite><a href="http://www.gutenberg.org/etext/98">A Tale of Two Cities</a></cite>)</p>
<p>The <code>article</code> element represents an independent section of a document, page
   or site. It is suitable for content like news or blog articles, forum posts
   or individual comments.</p>

<pre>&lt;article id="comment-2"&gt;<br>  &lt;header&gt;<br>    &lt;h4&gt;&lt;a href="#comment-2" rel="bookmark"&gt;Comment #2&lt;/a&gt;<br>        by &lt;a href="http://example.com/"&gt;Jack O'Niell&lt;/a&gt;&lt;/h4&gt;<br>    &lt;p&gt;&lt;time datetime="2007-08-29T13:58Z"&gt;August 29th, 2007 at 13:58&lt;/time&gt;<br>  &lt;/header&gt;<br>  &lt;p&gt;That's another great article!&lt;/p&gt;<br>&lt;/article&gt;</pre>

<h2>Video and Audio</h2>
<p>In recent years, video and audio on the web has become increasingly viable
   and sites like <a href="http://youtube.com/">YouTube</a>, <a href="http://www.viddler.com/">Viddler</a>, <a href="http://revver.com/">Revver</a>, <a href="http://www.myspace.com/">MySpace</a>, and dozens of others are
   making it easy for anyone to publish video and audio. However, since <span class="caps">HTML</span> currently
   lacks the necessary means to successfully embed and control multimedia itself,
   many sites are relying on Flash to provide that functionality. Although it
   is possible to embed multimedia using various plug-ins (such as QuickTime,
   Windows Media, etc.), Flash is currently the only widely deployed plugin
   that provides a cross-browser compatible solution with the desired APIs for
   developers.</p>
<p>As evidenced by the various Flash-based media players, authors are interested
   in providing their own custom-designed user interfaces, which generally allow
   users to play, pause, stop, seek, and adjust volume. The plan is to provide
   this functionality in browsers by adding native support for embedding video
   and audio and providing <span class="caps">DOM AP</span>Is for scripts to control the playback.</p>
<p>The new <code>video</code> and <code>audio</code> elements make this really easy. Most of the APIs
   are shared between the two elements, with the only differences being related
   to the inherent differences between visual and non-visual media.</p>
<p>Both <a href="http://my.opera.com/desktopteam/blog/2007/11/08/experimental-video-build-released-on-opera-labs">Opera</a> and <a href="http://webkit.org/blog/140/html5-media-support/">WebKit</a> have
   released builds with partial support for the video element. You may download
   the <a href="http://dev.opera.com/articles/view/a-call-for-video-on-the-web-opera-vid/">experimental
   build of Opera</a> or a recent <a href="http://nightly.webkit.org/">nightly
   build of WebKit</a> to try out these examples. Opera includes support for Ogg
   Theora and WebKit supports all the formats that are supported by QuickTime,
   including third party codecs.</p>
<p>The simplest way to embed a video is to use a <code>video</code> element and allow
   the browser to provide a default user interface. The <code>controls</code> attribute is
   a boolean attribute that indicates whether or not the author wants this <abbr title="User Interface">UI</abbr>
   on or off by default.</p>

<pre>&lt;video src="video.ogv" controls poster="poster.jpg" <br>width="320" height="240"&gt;<br>    &lt;a href="video.ogv"&gt;Download movie&lt;/a&gt;<br>&lt;/video&gt;</pre>

<p>The optional <code>poster</code> attribute can be used to specify an image which will be
   displayed in place of the video before the video has begun playing. Although
   there are some video formats that support their own poster frame feature, such
   as <span class="caps">MPEG</span>-4, this provides an alternative solution that can work independently
   of the video format.</p>
<p>It is just as simple to embed audio into a page using the <code>audio</code> element. Most
   of the attributes are common between the <code>video</code> and <code>audio</code> elements, although
   for obvious reasons, the <code>audio</code> element lacks the <code>width</code>, <code>height</code>, and <code>poster</code> attributes.</p>

<pre>&lt;audio src="music.oga" controls&gt;<br>    &lt;a href="music.oga"&gt;Download song&lt;/a&gt;<br>&lt;/audio&gt;</pre>

<p><span class="caps">HTML 5</span> provides the <code>source</code> element for specifying alternative
   video and audio files which the browser may choose from based on its media type
   or codec support. The <code>media</code> attribute can be used to specify a
   media query for selection based on the device limitations and the type attribute
   for specifying the media type and codecs. Note that when using the <code>source</code> elements,
   the <code>src</code> attribute needs
   to be omitted from their parent <code>video</code> or <code>audio</code> element
   or the alternatives given by the <code>source</code> elements will be ignored.</p>

<pre>&lt;video poster="poster.jpg"&gt;<br>    &lt;source src="video.3gp" type="video/3gpp" <br>    media="handheld"&gt;<br>    &lt;source src="video.ogv" type="video/ogg;<br>    codecs=theora, vorbis"&gt;<br>    &lt;source src="video.mp4" type="video/mp4"&gt;<br>&lt;/video&gt;<br>&lt;audio&gt;<br>  &lt;source src="music.oga" type="audio/ogg"&gt;<br>  &lt;source src="music.mp3" type="audio/mpeg"&gt;<br>&lt;/audio&gt;</pre>

<p>For authors who want a little more control over the user interface so that
   they can make it fit the overall design of the web page, the extensive <span class="caps">API</span>
   provides several methods and events to let scripts control the playback of the
   media. The simplest methods to use are the <code>play()</code>, <code>pause()</code>, and setting <code>currentTime</code> to rewind to the beginning. The following example illustrates the use of these.</p>

<pre>&lt;video src="video.ogg" id="video"&gt;&lt;/video&gt;<br>&lt;script&gt;<br>  var video = document.getElementById("video");<br>&lt;/script&gt;<br>&lt;p&gt;&lt;button type="button" onclick="video.play();"&gt;Play&lt;/button&gt;<br>   &lt;button type="button" onclick="video.pause();"&gt;Pause&lt;/button&gt;<br>   &lt;button type="button" onclick="video.currentTime = 0;"&gt;<br>   &lt;&lt; Rewind&lt;/button&gt;</pre>
<p>There are many other attributes and APIs available for the video and audio
   elements that have not been discussed here. For more information, you should
   consult the <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/section-video.html#video">current
   draft specification</a>.</p>

<h2>Document Representation</h2>
<p>Unlike previous versions of <span class="caps">HTML</span> and <span class="caps">XHTML</span>, which are defined in terms of
   their syntax, <span class="caps">HTML 5</span> is being defined in terms of the Document Object Model
   (DOM)—the tree representation used internally by browsers to represent the
   document. For example, consider a very simple document consisting of a title,
   heading and paragraph. The <span class="caps">DOM</span> tree could look something like this:</p>

<div class="illustration left full"> 
<img src="http://www.alistapart.com/d/previewofhtml5/dom.gif" alt="">
  <p>The <span class="caps">DOM</span> tree includes a title element in the head and h1 and p elements in the body.</p>
</div>

<p>The advantage of defining <span class="caps">HTML 5</span> in terms of the <span class="caps">DOM</span> is that the language
   itself can be defined independently of the syntax. There are primarily two
   syntaxes that can be used to represent <span class="caps">HTML</span> documents: the <span class="caps">HTML</span> serialisation
   (known as <span class="caps">HTML 5</span>) and the <span class="caps">XML</span> serialisation (known as <span class="caps">XHTML 5</span>).</p>
<p>The <span class="caps">HTML</span> serialisation refers to the syntax that is inspired by the <span class="caps">SGML</span>
   syntax from earlier versions of <span class="caps">HTML</span>, but defined to be more compatible with
   the way browsers actually handle <span class="caps">HTML</span> in practice.</p>

<pre>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>  &lt;head&gt;<br>    &lt;title&gt;An HTML Document&lt;/title&gt;<br>  &lt;/head&gt;<br>  &lt;body&gt;<br>    &lt;h1&gt;Example&lt;/h1&gt;<br>    &lt;p&gt;This is an example HTML document.<br>  &lt;/body&gt;<br>&lt;/html&gt;</pre>

<p>Note that like previous versions of <span class="caps">HTML</span>, some tags are optional and are automatically
   implied.</p>
<p>The <span class="caps">XML</span> serialisation refers to the syntax using <span class="caps">XML 1</span>.0 and namespaces,
   just like <span class="caps">XHTML 1</span>.0.</p>

<pre>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<br>  &lt;head&gt;<br>    &lt;title&gt;An HTML Document&lt;/title&gt;<br>  &lt;/head&gt;<br>  &lt;body&gt;<br>    &lt;h1&gt;Example&lt;/h1&gt;<br>    &lt;p&gt;This is an example HTML document.&lt;/p&gt;<br>  &lt;/body&gt;<br>&lt;/html&gt;</pre>

<p>Excluding differences in whitespace and the presence of the <code>xmlns</code> attribute,
   those two examples are equivalent.</p>
<p>Browsers use the <span class="caps">MIME</span> type to distinguish between the two. Any document served
   as <code>text/html</code> must conform to the requirements for the <span class="caps">HTML</span> serialisation
   and any document served with an <span class="caps">XML MIME</span> type such as <code>application/xhtml+xml</code>   must conform to the requirements for the <span class="caps">XML</span> serialisation.</p>
<p>Authors should make an informed choice about which serialisation to use,
   which may be dependent on a number of different factors. Authors should not
   be unconditionally forced to use one or the other; each one is optimised
   for different situations.</p>

<h3>Benefits of Using <span class="caps">HTML</span></h3>
<ul><li>Backwards compatible with existing browsers</li><li>Authors are already familiar with the syntax</li><li>The lenient and forgiving syntax means there will be no user-hostile “<a href="http://en.wikipedia.org/wiki/Yellow_Screen_of_Death">Yellow
        Screen of Death</a>” if a mistake accidentally slips through</li><li>Convenient shorthand syntax, e.g. authors can omit some tags and attribute values</li></ul>

<h3>Benefits of Using <span class="caps">XHTML</span></h3>
<ul><li>Strict <span class="caps">XML</span> syntax encourages authors to write well-formed markup, which
        some authors may find easier to maintain</li><li>Integrates directly with other <span class="caps">XML</span> vocabularies, such as <span class="caps">SVG</span> and MathML</li><li>Allows the use of <span class="caps">XML </span>Processing, which some authors use as part of their
        editing and/or publishing processes</li></ul>

<h2>How to Contribute</h2>
<p>Work on <span class="caps">HTML 5</span> is rapidly progressing, yet it is still expected to continue
   for several years. Due to the requirement to produce test cases and achieve
   interoperable implementations, current estimates have work finishing in around
   ten to fifteen years. During this process, feedback from a wide range of
   people including, among others, web designers and developers, <span class="caps">CMS</span> and authoring
   tool vendors, and browser vendors is vital to ensure its success. Everyone
   is not only welcome, but actively encouraged to contribute feedback on <span class="caps">HTML</span>
   5.</p>
<p>In addition to the specification, there are several other related efforts
   designed to help people better understand the work.</p>

<ul><li><a href="http://www.w3.org/html/wg/html5/diff/">The Differences from
        <span class="caps">HTML 4</span></a> describes the changes that have occurred since
        the previous version of <span class="caps">HTML</span>.</li><li><a href="http://www.w3.org/TR/html-design-principles/">The <span class="caps">HTML </span>Design Principles</a> discuss principles used to help make decisions,
        and will help you understand the rationale behind many of the current
        design decisions.</li><li><a href="http://dev.w3.org/html5/html-author/">The Web Developer’s Guide
        to <span class="caps">HTML 5</span></a>, which only recently began, is being
        written to help web designers and developers understand everything they
        need to know to write conforming <span class="caps">HTML 5</span> documents, and provide guidelines
        and describe best practices.</li></ul>

<br><p>There are numerous venues through which you may contribute. You may join the
   <a href="http://www.w3.org/html/wg/"><span class="caps">W3C</span>’s <span class="caps">HTML WG</span></a> and subscribe/contribute
   to the <a href="http://lists.w3.org/Archives/Public/public-html/"><span class="caps">HTML WG</span>
   mailing lists</a> or
   <a href="http://esw.w3.org/topic/HTML/">wiki</a>. You may also subscribe and
   contribute to the any of the
   <a href="http://www.whatwg.org/mailing-list"><span class="caps">WHATWG</span> mailing lists</a>, post
   to the <a href="http://forums.whatwg.org/"><span class="caps">WHATWG</span> forum</a>, post comments or
   write articles on the <a href="http://blog.whatwg.org/"><span class="caps">WHATWG</span>
   blog</a>. <img src="http://www.alistapart.com/pix/eoai.gif" alt="" id="eoai"></p><p><a href="http://www.alistapart.com/articles/previewofhtml5">原文地址</a><br></p></div><img src ="http://www.cnblogs.com/music000/aggbug/995632.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42977/" target="_blank">[新闻]微软首次打破先例 Windows 7不再改名</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>CSS Sprites</title><link>http://www.cnblogs.com/music000/archive/2007/12/14/995514.html</link><dc:creator>music000</dc:creator><author>music000</author><pubDate>Fri, 14 Dec 2007 13:38:00 GMT</pubDate><guid>http://www.cnblogs.com/music000/archive/2007/12/14/995514.html</guid><wfw:comment>http://www.cnblogs.com/music000/comments/995514.html</wfw:comment><comments>http://www.cnblogs.com/music000/archive/2007/12/14/995514.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/music000/comments/commentRss/995514.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/music000/services/trackbacks/995514.html</trackback:ping><description><![CDATA[摘要: 翻转门效果&nbsp;&nbsp;<a href='http://www.cnblogs.com/music000/archive/2007/12/14/995514.html'>阅读全文</a><img src ="http://www.cnblogs.com/music000/aggbug/995514.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42976/" target="_blank">[新闻]亚马逊EC2云计算计划支持Windows操作系统</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>15 Rules for Faster-Loading Web Sites</title><link>http://www.cnblogs.com/music000/archive/2007/12/14/995501.html</link><dc:creator>music000</dc:creator><author>music000</author><pubDate>Fri, 14 Dec 2007 13:23:00 GMT</pubDate><guid>http://www.cnblogs.com/music000/archive/2007/12/14/995501.html</guid><wfw:comment>http://www.cnblogs.com/music000/comments/995501.html</wfw:comment><comments>http://www.cnblogs.com/music000/archive/2007/12/14/995501.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/music000/comments/commentRss/995501.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/music000/services/trackbacks/995501.html</trackback:ping><description><![CDATA[

These rules are the key to speeding up your web pages.
They've been tested on some of the most popular sites on the Internet
and have successfully reduced the response times of those pages by 25-50%.

<p>
The key insight behind these best practices is the realization that 
only 10-20% of the total end-user response time is spent getting the HTML document to the browser.
You need to focus on the other 80-90% if you want to make your pages noticeably faster.
These rules are the best practices for optimizing the way servers and browsers handle that 80-90% of the user experience.<br></p><a href="http://stevesouders.com/examples/rules.php">15 Rules for Faster-Loading Web Sites</a><br><br><ul style="padding-top: 0px; margin-top: 4px; list-style-type: none; list-style-image: none; list-style-position: outside;"><li> <a class="noline" href="http://stevesouders.com/examples/rule-min-http.php">Rule 1 - Make Fewer HTTP Requests</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-cdn.php">Rule 2 - Use a Content Delivery Network</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-expires.php">Rule 3 - Add an Expires Header</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-gzip.php">Rule 4 - Gzip Components</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-css-top.php">Rule 5 - Put Stylesheets at the Top</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-js-bottom.php">Rule 6 - Put Scripts at the Bottom</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-expr.php">Rule 7 - Avoid CSS Expressions</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-inline.php">Rule 8 - Make JavaScript and CSS External</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-dns.php">Rule 9 - Reduce DNS Lookups</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-minify.php">Rule 10 - Minify JavaScript</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-redir.php">Rule 11 - Avoid Redirects</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-js-dupes.php">Rule 12 - Remove Duplicate Scripts</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-etags.php">Rule 13 - Configure ETags</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-ajax.php">Rule 14 - Make AJAX Cacheable</a>
  </li><li> <a class="noline" href="http://stevesouders.com/examples/rule-iframes.php">Rule 15 - Use Iframes Wisely</a>
</li></ul><br><img src ="http://www.cnblogs.com/music000/aggbug/995501.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42976/" target="_blank">[新闻]亚马逊EC2云计算计划支持Windows操作系统</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>珍惜生命,远离国足~</title><link>http://www.cnblogs.com/music000/archive/2007/09/16/894916.html</link><dc:creator>music000</dc:creator><author>music000</author><pubDate>Sun, 16 Sep 2007 10:14:00 GMT</pubDate><guid>http://www.cnblogs.com/music000/archive/2007/09/16/894916.html</guid><wfw:comment>http://www.cnblogs.com/music000/comments/894916.html</wfw:comment><comments>http://www.cnblogs.com/music000/archive/2007/09/16/894916.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/music000/comments/commentRss/894916.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/music000/services/trackbacks/894916.html</trackback:ping><description><![CDATA[OK+ 对 <a href="/zzc315/">淡泊江湖</a>的忠告。（淡泊江湖看完中国男足比赛后心情不好）<img src ="http://www.cnblogs.com/music000/aggbug/894916.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42975/" target="_blank">[新闻]鲍尔默失望变希望 幸亏当初未收购雅虎</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>关于"多级目录（分类）"的一些想法 ----- 实现方法</title><link>http://www.cnblogs.com/music000/archive/2007/09/16/894677.html</link><dc:creator>music000</dc:creator><author>music000</author><pubDate>Sun, 16 Sep 2007 05:46:00 GMT</pubDate><guid>http://www.cnblogs.com/music000/archive/2007/09/16/894677.html</guid><wfw:comment>http://www.cnblogs.com/music000/comments/894677.html</wfw:comment><comments>http://www.cnblogs.com/music000/archive/2007/09/16/894677.html#Feedback</comments><slash:comments>12</slash:comments><wfw:commentRss>http://www.cnblogs.com/music000/comments/commentRss/894677.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/music000/services/trackbacks/894677.html</trackback:ping><description><![CDATA[摘要: 我们经常要处理多级目录（分类）的问题，如无限添加子类、更改子类类别、删除子类，对于这些数据，您是如何存储，又是如何处理的呢？<br>欢迎探讨。&nbsp;&nbsp;<a href='http://www.cnblogs.com/music000/archive/2007/09/16/894677.html'>阅读全文</a><img src ="http://www.cnblogs.com/music000/aggbug/894677.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42975/" target="_blank">[新闻]鲍尔默失望变希望 幸亏当初未收购雅虎</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>金额转换：阿拉伯数字转中文（SQL存储过程）</title><link>http://www.cnblogs.com/music000/archive/2007/09/15/893892.html</link><dc:creator>music000</dc:creator><author>music000</author><pubDate>Sat, 15 Sep 2007 06:07:00 GMT</pubDate><guid>http://www.cnblogs.com/music000/archive/2007/09/15/893892.html</guid><wfw:comment>http://www.cnblogs.com/music000/comments/893892.html</wfw:comment><comments>http://www.cnblogs.com/music000/archive/2007/09/15/893892.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/music000/comments/commentRss/893892.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/music000/services/trackbacks/893892.html</trackback:ping><description><![CDATA[刚发了一个 javascript 版的，再发一个 SQL 存储过程版本的<br>copy 于：<a href="http://blog.csdn.net/TSD/archive/2005/05/27/382363.aspx">金额阿拉伯数字转换为中文的存储过程</a> （TSD的专栏）<br><br>Create&nbsp;&nbsp;&nbsp; Procedure&nbsp;&nbsp;&nbsp; AtoC&nbsp; <br>&nbsp;&nbsp;&nbsp; @ChangeMoney&nbsp;&nbsp;&nbsp; Money&nbsp;&nbsp; &nbsp;<br>as<br>&nbsp;&nbsp;&nbsp; Set Nocount ON<br>&nbsp;&nbsp;&nbsp; Declare&nbsp;&nbsp;&nbsp; @String1&nbsp;&nbsp;&nbsp; char(20)<br>&nbsp;&nbsp;&nbsp; Declare&nbsp;&nbsp;&nbsp; @String2&nbsp;&nbsp;&nbsp; char(30)<br>&nbsp;&nbsp;&nbsp; Declare&nbsp;&nbsp;&nbsp; @String4&nbsp;&nbsp;&nbsp; Varchar(100)<br>&nbsp;&nbsp;&nbsp; Declare @String3&nbsp;&nbsp;&nbsp;&nbsp; Varchar(100)&nbsp;&nbsp;&nbsp; --从原A值中取出的值<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Declare @i&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --循环变量<br>&nbsp;&nbsp;&nbsp; Declare @J&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --A的值乘以100的字符串长度<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Declare @Ch1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Varchar(100)&nbsp;&nbsp;&nbsp; --数字的汉语读法<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Declare @Ch2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Varchar(100)&nbsp;&nbsp;&nbsp; --数字位的汉字读法<br>&nbsp;&nbsp;&nbsp; Declare @Zero&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --用来计算连续有几个零<br>&nbsp;&nbsp;&nbsp; Declare&nbsp;&nbsp;&nbsp; @ReturnValue&nbsp;&nbsp;&nbsp; VarChar(100)<br><br>&nbsp;&nbsp;&nbsp; Select @ReturnValue = ''<br>&nbsp;&nbsp;&nbsp; Select&nbsp;&nbsp;&nbsp;&nbsp; @String1 = '零壹贰叁肆伍陆柒捌玖'<br>&nbsp;&nbsp;&nbsp; Select&nbsp;&nbsp;&nbsp; @String2 = '万仟佰拾亿仟佰拾万仟佰拾元角分'<br><br>&nbsp;&nbsp;&nbsp; Select @String4 = Cast(@ChangeMoney*100 as int)&nbsp;&nbsp; &nbsp;<br><br>&nbsp;&nbsp;&nbsp; select @J=len(cast((@ChangeMoney*100) as int))<br><br>&nbsp;&nbsp;&nbsp; Select @String2=Right(@String2,@J)<br><br>&nbsp;&nbsp;&nbsp; Select&nbsp;&nbsp;&nbsp; @i = 1<br><br>&nbsp;&nbsp;&nbsp; while&nbsp;&nbsp;&nbsp; @i&lt;= @j Begin<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @String3 = Substring(@String4,@i,1)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if @String3&lt;&gt;'0' Begin<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select&nbsp;&nbsp;&nbsp;&nbsp; @Ch1 = Substring(@String1, Cast(@String3 as Int) + 1, 1)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select&nbsp;&nbsp;&nbsp; @Ch2 = Substring(@String2, @i, 1)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select&nbsp;&nbsp;&nbsp; @Zero = 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --表示本位不为零<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else Begin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (@Zero = 0) Or (@i = @J - 9) Or (@i = @J - 5) Or (@i = @J - 1)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @Ch1 = '零'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @Ch1 = ''<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @Zero = @Zero + 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --表示本位为0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --如果转换的数值需要扩大，那么需改动以下表达式 I 的值。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select Ch2 = ''<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If @i = @J - 10&nbsp; Begin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @Ch2 = '亿'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @Zero = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If @i = @J - 6 Begin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @Ch2 = '万'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @Zero = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if @i = @J - 2 Begin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @Ch2 = '元'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @Zero = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If @i = @J<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @Ch2 = '整'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end&nbsp;&nbsp; &nbsp;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @ReturnValue = @ReturnValue + @Ch1 + @Ch2<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select @i = @i+1<br>&nbsp;&nbsp;&nbsp; end<br><br>&nbsp;&nbsp;&nbsp; --最后将多余的零去掉<br>&nbsp;&nbsp;&nbsp; If CharIndex('仟仟',@ReturnValue) &lt;&gt; 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @ReturnValue = Replace(@ReturnValue, '仟仟', '仟')<br><br>&nbsp;&nbsp;&nbsp; If CharIndex('佰佰',@ReturnValue) &lt;&gt; 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @ReturnValue = Replace(@ReturnValue, '佰佰', '佰')<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If CharIndex('零元',@ReturnValue) &lt;&gt; 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @ReturnValue = Replace(@ReturnValue, '零元', '元')<br>&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If CharIndex('零万',@ReturnValue) &lt;&gt; 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @ReturnValue = Replace(@ReturnValue, '零万', '万')<br>&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If CharIndex('零亿',@ReturnValue) &lt;&gt; 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @ReturnValue = Replace(@ReturnValue, '零亿', '亿')<br>&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If CharIndex('零整',@ReturnValue) &lt;&gt; 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @ReturnValue = Replace(@ReturnValue, '零整', '整')<br>&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; If CharIndex('零佰',@ReturnValue) &lt;&gt; 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @ReturnValue = Replace(@ReturnValue, '零佰', '零')<br><br>&nbsp;&nbsp;&nbsp; If CharIndex('零仟',@ReturnValue) &lt;&gt; 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @ReturnValue = Replace(@ReturnValue, '零仟', '零')<br><br>&nbsp;&nbsp;&nbsp; If CharIndex('元元',@ReturnValue) &lt;&gt; 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select @ReturnValue = Replace(@ReturnValue, '元元', '元')<br>&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; Select @ReturnValue<br>GO<img src ="http://www.cnblogs.com/music000/aggbug/893892.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42974/" target="_blank">[新闻]微软12月举办硬件工程大会 Windows7将首次亮相</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>金额转换：阿拉伯数字转中文（javascript）</title><link>http://www.cnblogs.com/music000/archive/2007/09/15/893886.html</link><dc:creator>music000</dc:creator><author>music000</author><pubDate>Sat, 15 Sep 2007 06:00:00 GMT</pubDate><guid>http://www.cnblogs.com/music000/archive/2007/09/15/893886.html</guid><wfw:comment>http://www.cnblogs.com/music000/comments/893886.html</wfw:comment><comments>http://www.cnblogs.com/music000/archive/2007/09/15/893886.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/music000/comments/commentRss/893886.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/music000/services/trackbacks/893886.html</trackback:ping><description><![CDATA[摘要: 相信有不少人使用过这样的转换函数，也许还有人在寻找呢，毕竟用的地方比较多，这里就提供一个javascript版的转换函数。还有一个 SQL 存储过程版本的（SQL版）<br>&nbsp;&nbsp;<a href='http://www.cnblogs.com/music000/archive/2007/09/15/893886.html'>阅读全文</a><img src ="http://www.cnblogs.com/music000/aggbug/893886.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42974/" target="_blank">[新闻]微软12月举办硬件工程大会 Windows7将首次亮相</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>这两天不爽——公车上被误认为色狼、游泳撞破上嘴唇</title><link>http://www.cnblogs.com/music000/archive/2007/08/25/869277.html</link><dc:creator>music000</dc:creator><author>music000</author><pubDate>Sat, 25 Aug 2007 05:01:00 GMT</pubDate><guid>http://www.cnblogs.com/music000/archive/2007/08/25/869277.html</guid><wfw:comment>http://www.cnblogs.com/music000/comments/869277.html</wfw:comment><comments>http://www.cnblogs.com/music000/archive/2007/08/25/869277.html#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://www.cnblogs.com/music000/comments/commentRss/869277.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/music000/services/trackbacks/869277.html</trackback:ping><description><![CDATA[这两天很不爽：<br>&nbsp;&nbsp;&nbsp; 1、前天坐71路公交从莲花北到市民中心东，车上人挤人，运气不好，被挤到投币箱旁边，左手还好抓住了扶手，右手就没地方可扶了，只好抓住投币箱。正好一个MM的屁股对着投币箱，在车突然转弯的时候，MM的屁股就对着我的右手背撞过来，我当时也没反应过来，等我反应过来的时候，MM已经开始生气了。哎！被当成是色狼了——摸MM屁股的色狼！！！很想向她道歉的，但我是故意的吗？算了！不想了！<br>&nbsp;&nbsp; 2、下班后吃完饭没事，和同事一块去游泳，一口气潜下去，起来的时候就天昏地暗了，撞墙了，额头撞了个大包，上嘴唇撞破了，还不停流血。回去一看，噢，好大一个口子，就像是牙齿咬的一样。第二天上班，同事见面就问：这是怎么了？别太猛了