國立清華大學 2009 疗開放疘課程計畫成矔 · Ch03 檔窶 Chapter 4 ... (Basic Topics)...

81

Transcript of 國立清華大學 2009 疗開放疘課程計畫成矔 · Ch03 檔窶 Chapter 4 ... (Basic Topics)...

NTHU | 開放式課程 1

國立清華大學 2009 年開放式課程計畫成果

開 放 式 課 程 始 於 美 國 麻 省 理 工 學 院 (MIT) 開 放 式 課 程

(OpenCourseWare,簡稱 OCW)計畫,該校為重新檢討調整其遠距課

程策略,本著取之於社會、用之於社會的精神,進而發展出以分享學

校教學資源,將該校課程與全世界共享之開放式課程。

本校認同開放學習資源運動的理念,希望透過開放式課程計畫,

開放優質的課程給大眾,盡頂尖一流大學之社會責任外,更希望藉此

機會養成學生自主學習,透過數位學習科技提升教學效能,建置更彈

性、靈活且高品質的教學課程,減輕教師授課負擔,最終希望透過教

學的擴充與精進,邁向規模化與卓越化,能對學術界、產業界及整體

社會做更大貢獻,以進行國際學術交流及追求教學卓越,本校實施現

況如下:

自 2008 年 6 月開辦以來,初期先以推廣傑出教學教師及教學單

位參與意願、培養數位內容協製人才、建置數位典範課程及自由軟體

課程平台為重點,2009 年 1 月 10 日即通過審查成為「國際開放式課

程聯盟(OpenCourseWare Consortium, OCWC)」成員,2 月貣提供開放

式課程聯結供全球開放式課程聯盟網頁使用,9 月貣已達成加入該組

織於兩年內提供 10 門開放式課程標準。

2009 年 8 月與國內大學共同籌組成立「台灣開放式課程聯盟

(Taiwan OpenCourseWare Consortium, TOCWC)」並舉辦成立大會及

理/監事會,本校獲選擔任學校代表理事,聯盟成員包括中山、中央、

台師大、台大、海洋、台藝大、交通、台科大、成功暨雲嘉南區域教

學資源中心、東華、政大、輔仁、長榮、陽明與暨大等十餘所伙伴學

校。

2009 年 11 月派員參加於韓國大學舉行之第一屆開放式課程聯盟

亞洲區會議,共 79 位來自台灣、韓國、日本、越南、美國與中國大

陸地區各校/機構與會,會議中除報告本校推動開放式課程之現況、

機會與挑戰 (OpenCourseWare in National Tsing-Hua University:

Practices, Challenges and Opportunities)外,並針對開放式課程動態,

以及開放式課程對於世界,特別是亞洲區域所帶來的機遇與挑戰進行

了熱烈的討論。

2 開放式課程| NTHU

一、國立清華大學 開放式課程內容

材料力學 Material Mechanics

電路學 Electric Circuits

計算機網路概論 Introduction to Computer Networks

區域網路 Local Area Networks

生態與生命 Ecology and Life

生命科學一 Life Sciences I

美國政治 American Politics

中國歷史的演變與發展 Continuity and Change in the Chinese History

中國歷史的演變與發展二 Continuity and Change in the Chinese History (II)

電視製作的理論與實務 Television Production

戲曲選 Readings in Tzu and Chu

戲曲選(限校內用戶登入後註冊使用)

應用數學一 Applied Mathematics (I) (待製)

心理學與現代生活 Psychology and Modern Life (待製)

生命科學二 Life Sciences II (待製)

哲學基本問題 Central Problems in Philosophy (待製)

科技與社會 Science Technology and Society (待製)

文化與經濟 Culture and Economy (待製)

第三世界政治 Third World Politics(待製)

國際時事與英語溝通 Current Events & English Communication(待製)

NTHU | 開放式課程 3

材料力學 Material Mechanics

任課教師:葉銘泉 Ming-Chuen Yip

國立清華大學動力機械工程學系

特聘教授兼副校長

材料機械性質實驗室(Mechanical Property Lab)

美國愛荷華大學材料工程 博士

專長:

1.材料疲勞實驗與分析 ( 金屬及複合材料 )

2.塑性力學

3.實驗力學

課程說明

材料力學係應用靜力學於分析剛體 ( Rigid Body ) 時之理論與方法,進一步延伸至可

變形體 ( Deformable body ) 之探討。材料力學為固體力學之基礎課程,也是修習機械

設計與製造、微機電系統等課程必須先有之訓練,要成為好的工程師不可或缺。

指定用書

J.M. Gere, "Mechanics of Materials", 6th ed.,Brooks/Cole-Thomson Learning, Belmont,CA,

2004

參考書籍

F. P. Beer and E. R. Johnston, Jr., J. T. DeWolf, Mechanics of Materials, 3rd, SI ed.,

McGraw-Hill, New York, 2001 ( Singapore 2004 )

R. C. Hibbeler, Mechanics of Materials, SI ed., Pearson/Prentice Hall,

Singapore, 2003

教學方式

課堂講授配合小考、及期中、期末考來評量教學效果。

另安排助教於演習課協助同學解答。

教學進度

(1) Tension, Compression and Shear

(2) Axially Loaded Members

(3) Torsion

(4) Shear Forces and Bending Moments

(5) Stresses in Beams

4 開放式課程| NTHU

(6) Analysis of Stress and Strain

(7) Applications of Plane Stress

(8) Deflections of Beams

(9) Statically Indeterminate Beams

(10)Columns

Lecture video

●線上及下載觀看

提供 56k(320*240)、128k(480*360)、256k(640*480)

三種低、中、高畫質 wmv 檔案

(可使用 Windows Media Player 觀看)

●iPod 等手持式行動裝置.mp4 格式(非線上觀看)

(可使用 QuickTime 或 iTunes 下載後觀看)

Chapter 1 Tension, Compression and Shear

1-1 Introduction

1-2 Normal Stress

1-3 Mechanical Properties of Materials

1-4 Elasticity. Plasticity. Creep. etc.

1-5 Linear Elastic. Hooke 's Law. Poisson's Ratio

1-6 Shear Stress and Shear Strain

1-7 Allowable Stresses and Allowable Loads

1-8 Design of Axial Loads and Direct Shear

Ch01 檔案

Chapter2 Axially Loaded Members

2-1 Introduction

2-2 Changes in Length of Axial Loaded Members

2-3 Changes in Length Under Nonuniform Conditions

2-4 Statically Indeterminate Structures

2-5 Thermal Effects, Misfits and Prestrains

2-6 Stresses on Inclined Sections

2-7 Strain Energy

Ch02 檔案

Chapter 3 Torsion

NTHU | 開放式課程 5

3-1 Introduction

3-2 Torsional Deformation of Circular Bar

3-3 Circular Bars of Linearly Elastic Materials

3-4 Nonuniform Torsion

3-5 Stresses and Strains in Pure Shear

3-6

Ch03 檔案

Chapter 4 Shear Forces and Bending Moments

4-1 Introduction

4-2 Types of Beams, Loads, and Reactions

4-3 Shear Forces and Bending Moments

4-4 Relationships Between Loads, Shear Forces,

and Bending Moments

4-5 Shear-Force and Bending-Moment Diagrams

Ch04 檔案

Chapter 5 Stresses in Beam (Basic Topics)

5-1 Introduction

5-2 Pure Bending and Nonuniform Bending

5-3 Curvature of a Beam

5-4 Longitudinal Strains in Beams

5-5 Normal Stress in Beams (Linear Elastic Materials)

5-6 Design of Beams for Bending Stresses

5-7 Nonprismatic Beams

5-8 Shear Stress in Beam of Rectangular Cross Section

5-9 Shear Stresses in Beam of Circular Cross Section

5-10 Shear Stress in theWebs of Beams with Flanges

Ch05 檔案

Chapter 6 Stresses in Beam (Advanced Topics)

6-1 Introduction

6-2 Composite Beams

6-3 Transformed-Section Method

Ch06 檔案

Chapter 7 Analysis of Stress and Strain

6 開放式課程| NTHU

7-1 Introduction

7-2 Plane Stress

7-3 Principal Stresses and Maximum Shear Stresses

7-4 Mohr's Circle for Plance Stress

7-5 Hooke's Law for Plane Stress

7-6 Triaxial Stress

7-7 Plane Strain

Ch07 檔案

Chapter 8 Applications of Plane Stress

8-1 Introduction

8-2 Spherical Prressure Vessels

8-3 Cylindrical Pressure Vessels

ch08 檔案

Chapter 9 Deflection of Beams

9-1 Introduction

9-2 Differential Equations of the Deflection Curve

9-3 Deflections by Integration of the Bending-Moment

Equation

9-4 Deflections by Integration of the Shear-force and

Load Equations

9-5 Method of Superposition

9-6 Moment-Area Method

9-7 Nonprismatic Beams

9-8 Strain Energy of Bending

ch09 檔案

Chapter 10 Statically Indeterminate Beams

10-1 Introduction

10-2 Types of Statically Indeterminate Beams

10-3 Analysis by the Differential Equations of the Deflection

Curve

10-4 Method of Superposition

ch10 檔案

NTHU | 開放式課程 7

電路學 Electric Circuits

Instructor:潘晴財 Ching-Tsai Pan

國立清華大學電機工程學系 教授

Professor, Department of Electrical

Engineering, NTHU

美國德州理工大學電機博士

Ph. D., Texas Tech University, Texas,

Lubbock, USA, 1976

專長:電力電子、電力系統、控制系統

Circuit and systems, Power electronics and

motion control

Control system and power systems.

This is the first course in EE department.

課程說明(Course Description)

The teaching goals may be simply stated as follows:

To build an understanding of concepts and ideas explicitly

in terms of previous learning.

To emphasize the relationship between conceptual understanding

and problem-solving approaches. In othher words, Developing the

students's problem-solving skills is particularly emphasized.

To provide students with a strong foundation of engineering practice.

Of course, the team work spirit and ethics are emphasized such that

every student can possess a nice character of being willingto contribute

to his family, his society , his country.

More specifically, the major contents are listed as follows:

Basic concepts of electrical circuits

2. Nodal Analysis of Resistive Circuits

3. Mesh Analysis of Resistive Circuits

4. Network Theorems of Linear Circuits(two-ports parameters)

5. First Order and Second Order Circuits(transient analysis)

6. State Space Represengtation of the Circuits

7. Analysis of Single Phase AC Circuits

8. Analysis of Three Phase AC Circuits

8 開放式課程| NTHU

9. Analysis of Magnetically Coupled Circuits

10 Laplace Transform Approach to Circuit Analysis

指定用書(Text Books)

Electrica Circuits By James W. Nilsson and Susan A. Riedel 2008 Edition

教學方式(Teaching Method) Lecture & discussion

線上教材(Materials)

Handout pdf

Lecture video 56k(320*240) 128K(480*360) 256k(640*480) Mobile(.mp4)

註:提供 56k、128k、256k 三種低、中、高畫質的.wmv 檔

(提供線上觀看及下載)(建議使用 Windows Media Player 觀看)

另外亦針對 iPod 等手持式行動裝置,提供 Mobile 的.mp4 格式下載後使用

(非線上觀看)(建議使用 QuickTime 或 iTunes 下載後觀看)

Chapter 1

1-1 Circuit Theory

1-2 System of Units

1-3 Voltage and Current

1-4 Passive Sign Convention

1-5 Power And Energy

Materials 檔案

Chapter 2

2-1 Active Components

2-2 Passive Components

2-3 Node , Branch and Loop

2-4 Kirchhoff’s Law

2 Summary

Materials 檔案

Chapter 3

3-1 Series Resistive Circuits

3-2 Parallel Resistive Circuits

3-3 Voltage-divider and Current-divider Circuits

3-4 Measuring Current and Voltage

NTHU | 開放式課程 9

3-5 Measuring Resistance – The Wheatstone Bridge

3-6 Delta-to-Wye (Pi-to-Tee) Equivalent Circuits

3 Summary

Materials 檔案

Chapter 4

4-1 Introduction

4-2a The Node-Voltage Method

4-2b The Node-Voltage Method

4-2c The Node-Voltage Method

4-2d The Node-Voltage Method

4-3a The Mesh Current Method

4-3b The Mesh Current Method

4-4 Fundamental Loop Analysis

4-5 Fundamental Cutset Analysis

4-6 Superposition Theorem

4-7a Thevenin's Theorem

4-7b Thevenin's Theorem

4-8 Norton's Theorem

4-9 Source Transformation

4-10 Maximum Power Transfer Theorem&Summary

Materials 檔案

Chapter 5

5-1 Definition of Two-Port Circuits

5-2 Classification of Two-Port Parameters

5-3 Finding Two-port parameters

5-4(1) Analysis of the Terminated Two-Port Circuit

5-4(2) Analysis of the Terminated Two-Port Circuit

5-5(1) Interconnected Two-Port Circuits

5-5(2) Interconnected Two-Port Circuits&Summary

Materials 檔案

Chapter 6

6-1 The Capacitor

6-2 The Inductor

6-3(1) Series-Parallel Combinations of Capacitance and Inductance

10 開放式課程| NTHU

6-3(2) Series-Parallel Combinations of Capacitance and Inductance

6-4(1) Mutual Inductance

6-4(2) Mutual Inductance&Summary

Materials 檔案

Chapter 7

7-1 The Natural Response of an RC Circuit

7-2a The Natural Response of an RL Circuit

7-2b The Natural Response of an RL Circuit

7-3 Singularity Functions

7-4a The Step Response of RC and RL Circuit

7-4b The Step Response of RC and RL Circuits

7 Summary

Materials 檔案

Chapter 8

8-1 Linear Second Order Circuits

8-2 Solution Steps

8-3 Finding Initial Values

8-4 The Natural Response of a Series/Parallel RLC Circuit

8-6 State Equation

8 Summary

Materials 檔案

Chapter 9

9-1 Sinusoidal Source4

9-2 Phasors

9-3 Kirchhoff’s Laws in the Frequency Domain

9-4(1) Component Models in Phasor Domain

9-4(2) Component Models in Phasor Domain

9-5 Series, Parallel, and Delta-to-Wye Simplifications

9-6 The Node-Voltage Method

9-7 The Mesh-Current Method

9-8 Circuit Theorems

9-9(1) The Coupling Inductors and Ideal Transformer

9-9(2) Summary The Coupling Inductors and Ideal Transformer-1

NTHU | 開放式課程 11

9 Summary The Coupling Inductors and Ideal Transformer-2

9 Summary The Coupling Inductors and Ideal Transformer-3

Materials 檔案

Chapter 10

10-1 Instantaneous Power

10-2 Average and Reactive Power

10-3 The RMS Value and Power Calculations

10-4(1) Complex Power

10-4(2) Complex Power

10-5 Power Calculations

10-6 Maximum Power Transfer

10-7 Measurement of Power

10 Summary

Materials 檔案

Chapter 11

11-1 Balanced Three-Phase Voltage Sources

11-2 Balanced Three-Phase Loads

11-3 Analysis of the Wye-Wye Circuits

11-4 Analysis of the Wye-Delta Circuits

11-6 Measuring Average Power in Three-Phase Circuits

11 Summary

Materials 檔案

Chapter 12

12-1 Definition of the Laplace Transform

12-2 Useful Laplace Transform Pairs

12-3 Circuit Analysis in S Domain

12-4 The Transfer Function and the Convolution Integral

12-4 The Transfer Function and the Convolution Integral

12-5 The Transfer Function and the Steady State Sinusoidal Response

12-6a The Impulse Function in Circuit Analysis

12-6b The Impulse Function in Circuit Analysis

12 Summary

Materials 檔案

12 開放式課程| NTHU

Chapter 13

13-1 Definition of Fourier Series

13-2 The Effect of Symmetry

13-3a Application in Circuit Analysis

13-3b Application in Circuit Analysis

13-4 Average Power Calculations with Periodic Functions

13-5 The RMS Value of a Periodic Function

13 Summary

Materials 檔案

NTHU | 開放式課程 13

計算機網路概論 Introduction to Computer Networks

任課教師:黃能富 Nen-Fu Huang

國立清華大學特聘教授,資訊工程學系教授

國立清華大學資訊工程系博士 (1986)

研究領域:

P2P 影音分享技術, 網路安全,高效能交換

器/路徑器,無線網路,光波網路 (WDM)

課程說明 (Course Description)

介紹計算機網路與網際網路,網路應用層

(Application layer),傳輸層通訊協定

(Transport Layer),網路層通訊協定 (Network Layer),資料鏈結層與區域網路 (Link

Layer and Local Area Networks) 。

指定用書 (Text Books)

Computer Networking: A Top-Down Approach Featuring the Internet,by James F. Kurose

and Keith W. Ross, 4th Edition, Addison Wesley, 2007.

參考書籍 (References)

Computer Networks, 4th Ed., by Andrew S. Tanenbaum, Prentice Hall, 2003.

Computer Networks: A Systems Approach, by Larry L. Peterson & Bruce S. Davie, 3rd Ed.,

Morgan Kaufmann, 2003.

教學方式 (Teaching Method)

以投影片教學。

教學進度 (Syllabus)

1. Computer Networks and the Internet

2. Application Layer

3. Transport Layer

4. The Network Layer

5. The Link Layer and Local Area Networks

14 開放式課程| NTHU

講義 Handout

Powerpoint 檔案(.ppt)

影音 Lecture video

●線上及下載觀看

提供 56k(320*240)、128k(480*360)、320k(640*480)

三種低、中、高畫質 wmv 檔案

(可使用 Windows Media Player 觀看)

●iPod 等手持式行動裝置.mp4 格式(非線上觀看)

(可使用 QuickTime 或 iTunes 下載後觀看)

1.1 What is the Internet?

1.2 Network edge

1.3 Network core

1.4 Network access and physical media

1.5 Internet structure and ISPs

1.6 Delay & loss in packet-switched networks

1.7 Protocol layers, service models

1.8 History

1. Computer Networks and the Internet 檔案

2.1 Principles of network applications

2.2 Web and HTTP

2.4 Electronic Mail m SMTP, POP3, IMAP

2.5 DNS

2.6 P2P file sharing

2.7 Socket programming with TCP

2.8 Socket programming with UDP

2.9 Building a Web server

2. Application Layer 檔案

3.1 Transport-layer services

3.2 Multiplexing and demultiplexing

3.3 Connectionless transport :UDP

3.4 Principles of reliable data tranfer

3.5 Conection-oriented transport:TCP

NTHU | 開放式課程 15

3.6 Principles of congestion control

3.7 TCP congestion control

3. Transport Layer 檔案

4.1 Introduction

4.2 Virtual circuit and datagram networks

4.3 What's inside a router

4.4 IP: Internet Protocol

4.5 Routing algorithms

4.6 Routing in the Internet

4.7 Broadcast and multicast routing

4. The Network Layer 檔案

5.1 Introduction and services

5.2 Error detection and correction

5.3 Multiple access protocols

5.4 Link-Layer Addressing

5.5 Ethernet

5.6 Hubs and switches

5.7 PPP

5.8 Link Virtualization: ATM and MPLS

5. Data Link Layer 檔案

16 開放式課程| NTHU

區域網路 Local Area Networks

任課教師:黃能富 Nen-Fu Huang

國立清華大學特聘教授,資訊工程學系教授

國立清華大學資訊工程系博士 (1986)

研究領域:

P2P 影音分享技術, 網路安全,高效能交換器

/路徑器,無線網路,光波網路 (WDM)

課程說明 Course Description

本課程介紹多種當今市場上最重要之區域網

路 (Local Area Networks) 之運作原理,以使

同學對於區域網路有基礎之認識。

大綱如下:

1. Introduction to LANs.

2. Physical layer.

3. IEEE 802.2: Logical Link Control.

4. IEEE 802.3 CSMA/CD network (乙太網路系列)

- 10Mbps Ethernet,

- 100Mbps Fast Ethernet,

- 1Gbps Ethernet,

- 10Gbps Ethernet.

- Industrial Enthernet Switch (工業用網路交換機)

5. IEEE 802.11 Wireless LANs (無線區域網路)

6. ATM Networks

7. IEEE 802.1d: Spanning Tree Algorithm

8. IEEE 802.1w Fast Spanning Tree algorithm

9. IEEE 802.1p/1Q: Virtual LAN Technology

10. Switches/Bridges/Routers design

指定用書 Text Books

以講義為主

參考書籍 References

「區域網路與高速網路」黃能富著,維科出版社。

相關雜誌/期刊之文章與報導。

NTHU | 開放式課程 17

教學方式 Teaching Method

除每週三小時之上課外,本課程亦規劃由同學分組進行專題實作,

藉以培養同學動手作(寫網路程式)之經驗。

專題題目初步規劃如下:

1. 網路封包監視器(練習從網路卡收取封包)

2. 網路封包產生器(練習產生封包,並由網路卡送出)

3. 網路卡驅動程式撰寫 (練習撰寫 Ethernet 網路卡驅動程式)

4. IP 網址共用之設計與製作 (練習撰寫 NAT (Network Address Translation)程式)

5. PC-based 橋接器/交換器之研製 (練習製作 PC-based 之橋接器程式,包含

Ethernet-Ethernet, Ethernet-Wireless LAN).

教學進度 Syllabus

1. Introduction to LANs.

2. Physical layer.

3. IEEE 802.2: Logical Link Control.

4. IEEE 802.3 CSMA/CD network (乙太網路系列)

- 10Mbps Ethernet,

- 100Mbps Fast Ethernet,

- 1Gbps Ethernet,

- 10Gbps Ethernet.

- Industrial Enthernet Switch (工業用網路交換機)

期中考

5. IEEE 802.11 Wireless LANs (無線區域網路)

6. ATM Networks

7. IEEE 802.1d: Spanning Tree Algorithm

8. IEEE 802.1w Fast Spanning Tree algorithm

9. IEEE 802.1p/1Q: Virtual LAN Technology

10. Switches/Bridges/Routers design

期末考

成績考核 Evaluation

期中考 30%

期末考 30%

程式作業成績 30%

平時成績 10%

18 開放式課程| NTHU

教材 Materials

●提供線上觀看及下載

56k(320*240)、128k(480*360)、256k(640*480) 三種低、中、高畫質

(建議使用 Windows Media Player 觀看)

●針對 iPod 等手持式行動裝置,提供.mp4 格式下載後使用(非線上觀看)

(建議使用 QuickTime 或 iTunes 下載後觀看)

1. Introduction to LANs

影音 Lecture video 檔案

2. Physical Layer

a. Transmission Medium (03:00~17:20)

Twisted Pair, Coaxial Cable, Fiber Optic

b. Transmission Technology (17:20~32:07)

Baseband (17:20~21:38)

Broadband (21:38~29:20)

Comparison (29:20~32:07)

c. Encoding Schemes (32:07~)

影音 Lecture video 檔案

3. IEEE 802.2: LLC & 802.3 CSMA/CD network

(Series of Ethernet I)

IEEE 802.2 Logical Link Control (LLC) (00:31~01:01:21)

a. LLC Services & Primitives: (01:24~12:28)

Type 1: Connectionless Service (24:01~25:47)

Type 2: Connection-Oriented Service (25:47~58:09)

Type 3: Connectionless Service with Ack (58:09~59:50)

b. LLC Protocols: (12:28~16:07)

1. Unnumbered Commands (U-format) (16:07~18:09)

2. Information Transfer Commands (I-format) (18:09~21:59)

3. Supervisory Commands (S-format) (21:59~24:01)

c. LLC Summary (59:50~01:01:21)

IEEE 802.3 CSMA/CD network (01:01:21~01:29:48)

影音 Lecture video 檔案

4. IEEE 802.3 CSMA/CD network

(Series of Ethernet II)

NTHU | 開放式課程 19

a. 802.3 Frame Format (00:41~16:35)

b. Collision Detection Window for

Baseband CSMA/CD (=2a) (17:10~17:55)

c. Network Configuration (18:03~24:45)

Examples: Single, Two, Five (max.) Segments

d. Architecture, Functions, and Implementation (24:45~26:40)

e. Collision Detection Window for

Broadband CSMA/CD (=4a) (26:40~35:30)

f. Summary of Alternative Physical Layers (35:30~49:40)

10Base5(粗線 Ethernet) (41:08~43:32)

10Base2(細線 Ethernet) (43:32~49:40)

影音 Lecture video 檔案

5. IEEE 802.3 CSMA/CD network

(Series of Ethernet III)

a. Alternative Physical Layers (cont.) (00:31~30:32)

1Base5 (00:31~13:47)

10Broad36 (13:47~28:28)

10BaseT (28:28~30:32)

b. Fast Ethernet (30:32~01:32:00)

100Base4T (8B6T Encoding) (48:55~01:21:03)

Collision Detection (01:21:03~01:26:03)

Ether-Switch (01:26:03~01:32:00)

影音 Lecture video 檔案

6. IEEE 802.3 CSMA/CD network

(Series of Ethernet IV)

a. Auto-Negotiation (00:17~06:39)

b. Gigabit Ethernet (06:39~39:16)

1. Half-Duplex MAC (26:43~39:16)

影音 Lecture video 檔案

7. IEEE 802.3 CSMA/CD network

(Series of Ethernet V)

a. Gigabit Ethernet (cont.) (00:20~01:31:00)

1. Half-Duplex MAC (02:15~30:40)

Carrier Extension (30:40~45:03)

20 開放式課程| NTHU

Frame Bursting (45:03~01:10:25)

2. Full-Duplex MAC (01:10:25~01:25:55)

3. Physical Layer (01:25:55~01:31:00)

影音 Lecture video 檔案

8. IEEE 802.4 Token-Bus

a. Token-Passing Bus Access Method (00:26~10:17)

b. Frame Format (10:17~11:54)

IEEE 802.4 Frame Formats (11:54~33:48)

c. Normal Token Passing Operation (33:48~36:54)

d. Addition / Deletion of Stations (36:54~55:19)

e. Fault Management (55:19~01:13:37)

f. Priority Mechanism (01:13:37~01:34:25)

影音 Lecture video 檔案

9. Token-Ring Network I

IEEE 802.4 Ring Network (00:22~16:38)

a. MAC Methods--

1. Slotted Ring (16:38~22:00)

2. Register Insertion Ring (22:00~39:06)

3. Token Ring (39:06~48:00)

Comparison (48:00~49:55)

b. IBM Token Ring: Star-Ring (49:55~01:09:11)

Architecture, Frame Format

c. Token-Access Control (01:09:11~01:11:39)

d. Token Monitor Functions (01:11:39~01:18:30)

影音 Lecture video 檔案

10. Token-Ring Network II

IEEE 802.4 Ring Network (00:25~29:50)

a. Token Monitor Functions (00:25~10:30)

b. Identify the Predecessor (10:30~19:35)

c. Ring Fault Isolation & Network Reconfiguration (19:35~29:50)

IEEE 802.5 Ring Network (29:50~01:11:15)

a. Frame / Token Format (30:55~35:22)

b. Token Ring Priority Scheme Operation (35:22~01:11:15)

影音 Lecture video 檔案

NTHU | 開放式課程 21

11. IEEE 802.11 Wireless LAN I

a. Overview of IEEE 802.11 WLAN (00:20~17:16)

b. 802.11 Architecture Components (17:16~33:04)

c. Portals & Bridges (33:04~37:22)

d. Logical Service Interface (37:22~01:03:47)

e. Access & Confidentiality Control Services

(01:03:47~01:21:29)

1. Authentication Service (01:09:09~01:18:00)

2. Privacy Service (01:18:00~01:21:29)

f. Relationship Between Services (01:21:29~01:23:31)

Frame Types (01:23:31~01:30:45)

影音 Lecture video 檔案

12. IEEE 802.11 Wireless LAN II

a. Frame Types (00:20~07:05)

b. Frame & MPDU Formats (09:13~12:00)

c. Frame Fields (12:00~46:10)

d. MAC Architecture (46:10~55:25)

e. Distributed Coordination Function (DCF) (55:25~01:29:03)

影音 Lecture video 檔案

13. IEEE 802.11 Wireless LAN III & ATM Networks I

IEEE 802.11 WLAN (00:20~45:30)

a. Distributed Coordination Function (DCF) (cont.)

DCF Access Procedure (00:20~18:10)

b. Point Coordination Function (PCF) (18:10~20:47)

PCD Transfer Procedure (20:47~45:30)

ATM Networks (45:30~01:32:20)

a. Overview of ATM Network (45:30~01:07:38)

b. ATM Cell Format (01:07:38~01:11:00)

c. ATM Cell Multiplexers / Switches (01:11:00~01:20:29)

d. ATM Layer Service / Functions (01:24:09~01:32:20)

影音 Lecture video 檔案

14. ATM Networks II & IEEE 802.1D Spanning Tree Algorithm I

ATM Networks (00:17~01:06:28)

22 開放式課程| NTHU

a. Cell Rate Decoupling & Cell Discrimination (00:17~01:40)

b. Virtual Channels, Virtual Paths,

and Physical Channels (01:40~22:11)

c. ATM Adaptation Layer (AAL) (22:11~43:44)

d. AAL Types (43:44~01:00:57)

e. Summary of ATM Networks (01:03:24~01:06:28)

Bridges & IEEE 802.1D Spanning Tree Algorithm

(01:06:28~01:36:00)

a. Bridge (01:07:28~01:36:00)

影音 Lecture video 檔案

15. IEEE 802.1D Spanning Tree Algorithm II

a. Bridge (cont.) (00:17~12:13)

b. Forwarding & Address Learning Algorithm (12:13~24:52)

c. Loop Problems & Resolution (24:52~28:40)

d. Spanning Tree Algorithm / Examples (28:40~01:30:10)

影音 Lecture video 檔案

16. IEEE 802.1p / 1Q: Virtual LAN Technology I

a. Outline (00:20~10:01)

b. VLAN Topology (10:01~14:45)

c. Overview of VLAN (14:45~25:00)

d. VLAN Architecture (25:00~29:34)

1. Configuration (29:34~41:30)

2. Distribution / Resolution (41:30~44:03)

3. Relay (44:03~50:20)

e. Frame Tagging (50:20~01:08:47)

f. Spanning Tree (01:08:47~01:13:41)

g. Address Learning (01:13:41~01:15:48)

Shared VLAN Learning (SVL)

Independent VLAN Learning (IVL) (01:15:48~01:31:55)

影音 Lecture video 檔案

17. IEEE 802.1p / 1Q: Virtual LAN Technology II

a. Independent VLAN Learning (IVL) (cont.) (00:17~06:58)

b. Asymmetric VLAN (06:58~16:03)

c. Filtering Database (16:03~32:20)

NTHU | 開放式課程 23

d. VLAN Tag (32:20~47:00)

VLAN Tagged Frames on 802.3

Ethernet Network (41:31~44:00)

VLAN Tagged Frames on Token-Ring

FDDI Network (44:00~44:43)

影音 Lecture video 檔案

18. IEEE 802.1p / 1Q: Virtual LAN Technology III

a. VLAN System Example - Cisco (00:38~10:43)

Inter-Switch Link (ISL) Protocol (02:25~05:42)

Modified IEEE 802.10 Security Protocol (05:42~10:43)

b. GARP VLAN Registration Protocol (GVRP) (10:43~33:23)

IEEE 802.1p Traffic Class & Dynamic Multicast Filtering Services

in Bridged LANs (33:23~37:34)

a. GMRP Introduction / Application (37:34~47:27)

b. Forwarding Process (47:27~50:40)

c. Group Registration (50:40~53:30)

d. GARP Overview / Architecture (58:34~01:16:00)

影音 Lecture video 檔案

19. Fiber Distributed Data Interface (FDDI)

a. Network Configuration (00:35~03:02)

b. Communication / Station / Concentration Structure

(03:02~11:00)

c. Frame Format (11:00~22:40)

FDDI Address Format (22:40~26:56)

d. FDDI Network (26:56~43:48)

Physical Topology (28:05~31:50)

Logical Topology (31:50~34:43)

e. Support Stream & Bursty Traffic (43:48~01:19:48)

f. Timed Token Rotation (TTR) Protocol Characteristics

(01:19:48~01:22:55)

g. Comparison Between FDDI and IEEE 802.5

(01:33:10~01:36:10)

影音 Lecture video 檔案

24 開放式課程| NTHU

20. Hybrid Ring Control (FDDI-II) & Distributed Queue Dual Bus

(IEEE 802.6 DQDB)

Hybrid Ring Control (FDDI-II) (00:48~50:13)

a. FDDI-II Structure (00:48~04:16)

b. FDDI-II Definition (04:16~40:11)

Cycle Master (06:14~06:50)

c. FDDI-II Operation (40:11~43:58)

d. FDDI-II Priority Levels (43:58~50:13)

Distributed Queue Dual Bus (IEEE 802.6 DQDB) (50:13~01:34:50)

a. DQDB Network Structure (51:21~01:03:33)

b. Queued-Arbitrated (QA) Access / Slot Method (01:03:33~01:29:02)

c. DQDB Access Method Characteristics (01:29:02~01:34:50)

影音 Lecture video 檔案

NTHU | 開放式課程 25

生態與生命 Ecology and Life

任課教師:曾晴賢 TSENG,

CHING-HSIEN

經歷 : 生科系 教授兼系主任

國立臺灣大學博士

研究領域 : 分子系統生物、生態學

課程說明 (Course Description)

藉由講述生態學的相關研究案例,導引學

生如何去瞭解生命的貣源與演化機制。介紹

一些利用現代生命科學技術,幫助我們研究

相關生態領域問題的案例。讓大家體驗到生

命的奧秘與珍貴之處,更進一步的去關懷生命與保護生態。

或許我們對於生活周遭的環境與事物都還有一知半解,但是對於何為生命,以及什

麼是生命的感覺可能瞭解得非常有限。現代的生命科學雖然逐漸的瞭解許許多多生命

的現像與機制,但是還是有許多未知的謎。在微觀的世界裡,細胞與分子層級的相關

領域,或許是現代生命科學的主流。 DNA 定序、遺傳密碼的解讀、蛋白質結構等的

技術更是巧妙的幫助人類了解各種生命的奧妙。但是在自然界裡,生命和生態之間那

種更為巧奪天工的密切關係,說不定連現代生命科學都很難解釋清楚。我們如果可以

多從生態的觀察上去下手,或許會對於生命的奧秘有更多的認識和珍惜!這是我們這

門通識課程,希望帶領大家浸淫在生態與生命的世界的主要目的。

指定用書 (Text Books)

課堂指定文章。也可以給自己指定每個星期看一篇關於自然觀察、生態、生命科學相

關的文章。或是在一個學期中,看完一本生態學或是生命科學相關的書籍。

參考書籍 (References)

陳郁秀, 2007 ,鑽石台灣:多樣性自然生態篇 --瑰麗多彩的土地,玉山社出版(台

北), 327 頁。

王惠姿、周大慶, 1999 ,台灣賞鳥地圖,晨星出版社出版(台中市), 429 頁。

何平合、洪明仕, 1997 ,新竹市海邊的螃蟹,新竹市政府印行, 122 頁。

何立德、王鑫, 2002 ,台灣的珊瑚礁,遠足文化事業有限公司出版(台北縣), 207

頁。

呂光洋, 1984 ,台灣之生態簡介,交通部觀光局印行, 104 頁。

李素芳, 2002 ,台灣的海岸,遠足文化事業有限公司出版(台北縣), 191 頁。

林春吉, 2002 ,台灣水生植物 1 ,田野影像出版社出版(台北市), 207 頁。

26 開放式課程| NTHU

林春吉, 2002 ,台灣水生植物 2 ,田野影像出版社出版(台北市), 239 頁。

洪明仕, 1997 ,竹塹海邊生物,新竹市立文化中心印行, 158 頁。

孫儒泳等編, 1996 ,普通生態學,藝軒圖書出版社印行, 374 頁。

郝道猛, 1977 ,生態學概論,徐氏基金會印行, 599 頁。

陳玉峰, 1995 ,台灣植被誌(第一卷):總論及植被帶概論,玉山社出版,台北市,

303 頁。

陳玉峰, 1995 ,赤腳走山 ── 展讀觀音山的天書,高雄縣政府印行, 141 頁。

陳玉峰, 1997 ,台灣植被誌(第二卷):高山植被與高山植物,晨星出版社出版,

台中市, 275 頁。

陳玉峰, 1998 ,台灣植被誌(第三卷):亞高山冷杉林帶與高地草原(上下冊),

前衛出版社出版,台北市, 275 頁。

曾晴賢,陳育賢, 1992 ,海邊生物,東部海岸風景特定區管理處印行, 221 頁。

黃朝洲, 1999 ,台灣珍稀水生植物,清水鎮牛罵頭文化協進會印行, 204 頁。

楊秋霖, 2007 ,台灣的生態旅遊,遠足文化事業股份有限公司出版(台北縣), 191

頁。

趙世民, 2003 ,台灣礁岩海岸地圖,晨星出版社出版(台中市), 411 頁。

齊柏林, 2004 ,飛閱台灣:我們的土地故事,秋雨文化出版,

鄭明修,詹榮桂, 1993 ,海洋生物,東部海岸風景特定區管理處印行, 249 頁。

其他相關農委會、各國家公園管理處、台灣省特有生態保育研究中心、台灣省林務局、

觀光局各風經區管理處之出版品,

大自然、台灣山岳等雜誌,相關圖書文獻除在圖書館查閱外,可至研發大樓自然學友

之家閱讀,或是至相關自然書店查閱。

教學方式 (Teaching Method)

口述,討論,影片欣賞,戶外觀察

教材 Materials

●提供線上觀看及下載

56k(320*240)、128k(480*360)、320k(640*480) 三種低、中、高畫質

(建議使用 Windows Media Player 觀看)

●針對 iPod 等手持式行動裝置,提供.mp4 格式下載後使用(非線上觀看)

(建議使用 QuickTime 或 iTunes 下載後觀看)

1.課程簡介,何謂生態?何謂生命?

• 何謂生態?何謂生命?

• 為什麼台灣欒樹都在開學的時候開花?

NTHU | 開放式課程 27

• 有沒有注意校園內的生物律動?

• 生物的學名怎樣拼寫?

課程簡介,何謂生態?何謂生命? 檔案

2.生態保護與天然災害

• 威脅生命的天然災害是怎樣引貣的?

• 我們怎樣能夠與自然共生?

• 天然災害對於台灣生態的影響?

生態保護與天然災害 檔案

3.風雨中的生命

• 颱風是什麼?侵襲台灣的颱風是從何處來的?

• 颱風的成因?颱風內部的結構如何?

• 思考颱風的影響?思考台灣沒有颱風會怎麼樣?

風雨中的生命 檔案

4.生命與基因

• 生命的感覺?哪些生物可以長生不老?

• 重組 DNA 與遺傳工程

• 遺傳工程的應用

生命與基因 檔案

5.生態學的基本概念 (一)

• What is Ecology 生態學?

• 生態學的分科

-依生物組織水準區分

-依生物棲所區分

• 現代生態學的發展趨勢

• 生態學的研究方法

生態學的基本概念 (一) 檔案

6.生態學的基本概念 (二)

• 生態學研究方法

-影響因子

-生態因子

-生物性因子的作用

-非生物性因子與生物之間的關係

28 開放式課程| NTHU

•生態體系(系統)的討論內容

• 基本的生態過程和生命維持系統的保護

生態學的基本概念 (二) 檔案

7.生態學調查方法(一)

• 台灣櫻花鉤吻鮭

• 從秀姑巒溪學習到力爭上游的故事

– 定性問題

– 定量問題

• 現代的科學技術有哪些被應用在生態學研究上了?

-物理學

-化學

-數學

生態學調查方法(一) 檔案

8.生態學調查方法(二)

• 先瞭解生態學問些什麼內容?

• 怎樣選擇或是設計研究方法?

– 定性問題

– 定量問題

• 有哪些研究工具?

• 怎樣找到可以幫忙的人或單位?

生態學調查方法(二) 檔案

9.毛蟹的保育

• 隆恩偃魚道

• 頭前溪

毛蟹的保育 檔案

10.遷移及洄游性生物

• 智慧財產權及侵權行為

• 如何區分洄游性生物

• 洄游性魚類

遷移及洄游性生物 檔案

11.層出不窮的魚目混珠問題

• 鰻魚檢驗方法

NTHU | 開放式課程 29

• 耳石檢驗技術

• PCL-RFLP 技術

層出不窮的魚目混珠問題 檔案

12.何謂基因

• The Central Dogma

• 生命條碼

-遺傳密碼與生命的關係

• 找尋生命的基本單元

-遺傳密碼的解讀

-DNA 定序

何謂基因 檔案

13.重組 DNA 與遺傳工程

• 重組 DNA 技術條件

-基本工具

-基因的來源

-傳輸工具

-篩選技術

-基因表現

• GMO:基因重組生物

•人類基因療法

重組 DNA 與遺傳工程 檔案

30 開放式課程| NTHU

生命科學一 Life Sciences I

任課教師:李家維 Chia-Wei Li

國立清華大學生命科學院分子與細胞生物

研究所暨生命科學系 特聘教授

美國加州大學聖地牙哥校區博士

專長:生物礦化、生物演化

任課教師:焦傳金 Chuan-Chin Chiao

國立清華大學生命科學院系統神經科學

研究所暨生命科學系 副教授

美國馬里蘭大學博士

專長:神經科學、視覺生理

任課教師:莊永仁 Yung-Jen Chuang

國立清華大學生命科學院生物資訊結構

生物研究所暨生命科學系 助理教授

美國伊利諾大學博士

專長: 血管生物學、功能基因體學、分子調

指定用書:

Biology 8 edittion Campbell & Reece

課程影音 Lecture video

●線上及下載觀看

提供 56k(320*240)、128k(480*360)、320k(640*480)

三種低、中、高畫質 wmv 檔案

NTHU | 開放式課程 31

(可使用 Windows Media Player 觀看)

●iPod 等手持式行動裝置.mp4 格式(非線上觀看)

(可使用 QuickTime 或 iTunes 下載後觀看)

Life on Earth I - Ch01: Introduction: Themes in the Study of Life

1.1 Themes connect the concept of biology

1.2 The Core Theme:Evolution accounts for the unity and diversity

of life

1.3 Scientists use two main forms of inquiry in their study of nature

Material 檔案

Life on Earth II - Ch25: The History of Life on Earth

25.1 Condition on early Earth made the origin of life possible

25.2 The fossil record documents the history of life

25.3 Key events in life's history include the origin of single-celled

and multicelled organisms and the coloniztion of land

25.4 The rise and fall of dominant groups reflect continential drift,

mass extinctions, and adaptive radiations

25.5 Major changes in body form can result from changes in the

sequences and regulation of developmental genes

25.6 Evolution is not goal oriented

Material 檔案

Ch02: The Chemical Context of Life

2.1 Matter consists of chemical elements in pure form and in

combinations called compounds

2.2 An element’s properties depend on the structure of its atoms

2.3 The formation and function of molecules depend on chemical

bonding between atoms

2.4 Chemical reactions make and break chemical bounds

Material 檔案

Ch03: Water and the Fitness of the Environment

3.1 The polarity of water molecules results in hydrogen bonding

3.2 Four emergent properties of water contribute to Earth’s fitness

for life

3.3 Acidic and basic conditions affect living organisms

32 開放式課程| NTHU

Material 檔案

Ch04: Carbon and the Molecular Diversity of Life

4.1 Organism chemistry is the study of carbon compounds

4.2 Carbon atoms can form diverse molecules by bounding to four

other atoms

4.3 A small number of chemical groups are key to the functioning of

biological molecules

Material 檔案

Ch05: The structure and Function of Large Biological Molecules

5.1 Macromolecules are polymers, built from monomers

5.2 Carbohydrates serve as fuel and building material

5.3 Lipids are a diverse group of hydrophobic molecules

5.4 Proteins have many structures, resulting in a wide range

of functions

5.5 Nucleic acids store and transmit hereditary information

Material 檔案

Ch06: A Tour of the Cell

6.1 To study cells, biologists use microscopes and the tools of biologists

6.2 Eukaryotic cells have internal membranes that compartmentalize

their functions

6.3 The eukaryotic cell’s genetic instructions are housed in the

nucleus and carries out by the ribosome

6.4 The endomembrane system regulates protein traffic and performs

metabolic functions in the cell

6.5 Mitochondria and chloroplasts change energy from one form to

another

6.6 The cytoskeleton is network of fibers that organizes structures

and activities in the cell

6.7 Extracellular components and connections between cells help

coordinate cellular activities

Material 檔案

Ch08: An Introduction to Metabolism

8.1 An organism’s metabolism transforms matter and energy,

NTHU | 開放式課程 33

subject to the laws of thermodynamics

8.2 The free-energy change of a reaction tells us whether

or not the reaction occurs spontaneously

8.3 ATP powers cellular work by coupling exergonic reactions

to endergonic reactions

8.4 Enzymes speed up metabolic reactions by lowering energy

barriers

8.5 Regulation of enzyme activity helps control metabolism

Material 檔案

CH07: Membrane Structure and Function

7.1 Cellular membranes are fluid mosaics of lipids and proteins

7.2 Membrane structure results in selective permeability

7.3 Passive transport is diffusion of a substance across a

membrane with no energy investment

7.4 Active transport uses energy to move solutes against their

gradients

7.5 Bulk transport across the plasma membrane occurs by

exocytosis and endocytosis

Material 檔案

Ch11: Cell Communication

11.1 External signals are converted to responses within the cell

11.2 Reception: A signal molecule binds to a receptor protein,

causing it to change shape

11.3 Transduction: Cascades of molecular interactions relay

signals from receptors to target molecules in the cell

11.4 Response: Cell signaling leads to regulation of transcription

or cytoplasmic activities

11.5 Apoptosis (programmed cell death) integrates multiple

cell-signaling pathways

Material 檔案

Ch09: Cellular Respiration: Harvesting Chemical Energy

9.1 Catabolic pathways yield energy by oxidizing organic fuels

9.2 Glycolysis harvests chemical energy by oxidizing glucose to

pyruvate

34 開放式課程| NTHU

9.3 The citric acid cycle completes the energy-yielding oxidation

of organic molecules

9.4 During oxidative phosphorylation, chemiosmosis couples

electron transport to ATP synthesis

9.5 Fermentation and anaerobic respiration enable cells to

produce ATP without the use of oxygen

9.6 Glycolysis and the citric acid cycle connect to many other

metabolic pathways

Material 檔案

Ch10: Photosynthesis

10.1 Photosynthesis converts light energy to the chemical energy

of food

10.2 The light reactions convert solar energy to the chemical energy

of ATP and NADPH

10.3 The Calvin cycle uses ATP and NADPH to convert CO2 to sugar

10.4 Alternative mechanisms of carbon fixation have evolved in hot,

arid climates

Material 檔案

Ch12: The Cell Cycle

12.1 Cell division results in genetically identical daughter cells

12.2 The mitotic phase alternative with interphase in the

cell cycle

12.3 The eukaryotic cell cycle is regulated by a molecular

control system

Material 檔案

Ch13: Meiosis and Sexual Life Cycles

13.1 Offspring acquire genes from parents by inheriting

chromosomes

13.2 Fertilization and meiosis alternate in sexual life cycles

13.3 Meiosis reduces the number of chromosome sets from

diploid to haploid

13.4 Genetic variation produced in sexual life cycle contributes

to evolution

Material 檔案

NTHU | 開放式課程 35

CH14: Model and the Gene idea

14.1 Mendel used the scientific approach to identify two laws

of inheritance

14.2 The laws of probability govern Mendelian inheritance

14.3 Inheritance patterns are often more complex than predicted

by simple Mendelian genetics

14.4 Many human traits follow Mendelian patterns of inheritance

Material 檔案

CH15 The Chromosomal Basis of Inheritance

15.1 Mendelian inheritance has its physical basis in the behavior

of chromosomes

15.2 Sex-linked genes exhibit unique patterns of inheritance

15.3 Linked genes tend to be inherited together because they

are located near each other on the same chromosome

15.4 Alternative of chromosome number or structure cause some

genetic disorders

15.5 Some inheritance patterns are exceptions to the standard

chromosome theory

Material 檔案

CH16: The Molecular Basis of Inheritance

16.1 DNA is the genetic material

16.2 Many proteins work together in DNA replication and repair

16.3 A chromosome consists of a DNA molecule packed together

with proteins

Material 檔案

CH17 From Gene to Protein

17.1 Gene specify proteins via transcription and translation

17.2 Transcription is the DNA-directed synthesis of RNA: A closer look

17.3 Eukaryotic cells modify RNA after transcription

17.4 Translation is the RNA-directed synthesis of a polypeptide:

A closer look

17.5 Point mutations can affect protein structure and functions

36 開放式課程| NTHU

17.6 While gene expression differs among the domain of life, the

concept of a gene is universal

Material 檔案

CH18 Regulation of Gene Expression

18.1 Bacteria often respond to environmental change by regulating

transcription

18.2 Eukaryotic gene expression can be regulated at any stage

18.3 Noncoding RNAs play multiple roles in controlling gene

expression

18.4 A program of differential gene expression leads to the

different cell type in a multicellular organism

18.5 Cancer results from genetic changes that affect cell

cycle control

Material 檔案

CH19 Viruses

19.1 A virus consists of a nucleic acid surrounded by a protein coat

19.2 Viruses reproduce only in host cells

19.3 Viruses, viroids, and prions are formidable pathogens in

animals and plants

Material 檔案

CH20 Biotechnology

20.1 DNA cloning yields multiple copies of a gene or other DNA segment 20.2 DNA

technology allows us to study the sequence, expression, and

function of a gene

20.3 Cloning organisms may leads to production of stem cells for

research and other application

20.4 The practical applications of a DNA technology affect our lives

in many ways

Material 檔案

CH21 Genomes and Their Evolution

21.1 New approaches have accelerated the pace of genome sequencing

21.2 Scientists use bioinformatics to analyze genomes and their functions

21.3 Genomes vary in size, number of genes, and gene density

NTHU | 開放式課程 37

21.4 Multicellular eukaryotes have much noncoding DNA and many

multigene families

21.5 Duplication, rearrangement, and mutation of DNA contribute

to genome evolution

21.6 Comparing genome sequences provides clues evolution

and development

Material 檔案

CH22 Descent with Modification: A Darwinian View of Life

22.1 The Darwinian revolution challenged traditional views of

a young Earth inhabited by unchallenging species

22.2 Descent with modification by natural selection explain the

adaptations of organisms and the unity and diversity of life

22.3 Evolution is supported by an overwhelming amount of scientific

evidence

Material 檔案

CH23 The Evolution of populations

23.1 Mutation and sexual reproduction produces the genetic

variation that makes evolution possible

23.2 The Hardy-Weinberg equation can be used to test whether

a population is evolving

23.3 Natural selection, genetic drift, and gene flow can alter

allele frequencies in a population

23.4 Natural selection is the only mechanism that consistently

causes adaptive evolution

Material 檔案

CH24 The Origin of Species

24.1 The biological species concept emphasizes reproductive isolation

24.2 Speciation can take place with or without geographic separation

24.3 Hybrid zones provide opportunities to study factors that cause

reproductive isolation

24.4 speciation can occur rapidly or slowly and can result from changes

in few or many genes

Material 檔案

38 開放式課程| NTHU

美國政治 American Politics

Yen, Chen-Shen

Affiliated Professor,Center for General

Education, NTHU

Chair, Division of American and European

Studies,

Institute of International Relations, National

Chengchi University

Research Fellow, Institute of International

Relations, National Chengchi University

Ph.D., Political Science, the Purdue University

Research Field

American Politics

International Relations

Comparative Politics

American Constitution

East Asian Politics

African Politics

Course Description

This course aims at introducing students govrenment and politics of America, including its

major elected offices (president, senators, congressmen and state governors), nomination

process (caucuses and primaries), political parties and candidates, campaign issues and

financing, and the general election. In addition, there will be discussion on American

foreign policy. We are going to use President Barack Obama's major speeches and his book

as the basis of our approach.

Text

Barack Obama

The Audacity of Hope. New York: Vintage Books, 2006.

Domestic Politics

Commencement Speech, Notre Dame, Indiana, May 17, 2009

Inaugural Speech, Washington, D.C., January 20, 2009

Victory Speech, Chicago, November 4, 2008

NTHU | 開放式課程 39

Acceptance of Nomination Speech, Denver, August 28, 2008

Keynote Speech at Democratic National Convention, Boston, July 27, 2004

Foreign Policy

Speech in Beijing, November 2009

Speech at Cairo University, June 4, 2009

Speech to Turkish Parliament, April 6, 2009

Speech in Berlin, July 24, 2008

Teaching Method

This class is comprised of both lecture and discussion. Students are expected to participate

in class discussion. This is considered to be an integral part of the learning process and will

be weighed in the final grade. A student should try to finish the reading assignment before

each class, take notes during the class, and review the materials after the class on his/her

own. The medium of communication in this course is English. Texts, lecture, examinations,

report and class discussion will all be conducted in English. If you do not feel comfortable

with this format, you should re-consider whether this course truly meet your needs.

課程影音 Lecture video

●線上及下載觀看

提供 56k(320*240)、128k(480*360)、320k(640*480)

三種低、中、高畫質 wmv 檔案

(可使用 Windows Media Player 觀看)

●iPod 等手持式行動裝置.mp4 格式(非線上觀看)

(可使用 QuickTime 或 iTunes 下載後觀看)

1.U.S. Political System

● 1-1 Introduction – U.S. Political System

● 1-2 Related Constitutional Provisions

● 1-3 U.S. Party System

● 1-4 U.S. Electoral System

● 1-5 Major Domestic Issues

● 1-6 Major Foreign Policy Debates

Material 檔案

2.Barack Obama's Remarks to the Democratic National Convention

● July 27, 2004

40 開放式課程| NTHU

● The text of Barack Obama’s keynote address to the Democratic National Convention, as

recorded by The New York Times.

Material 檔案

3.American States

● "Red States" and "Blue States"

● Republican Party or Democratic Party presidential candidates

● Partisanship, Bipartisanship and Nonpartisanship

● Pro-choice, Pro-abortion, Anti-abortion and Pro-life

Material 檔案

4.Mario Cuomo's Remarks to the Democratic National Convention

● July 16, 1984

● The following is the text of Mario Cumo’s keynote address to the Democratic National

Convention, as recorded by The New York Times.

Material 檔案

5.Institute of International Relations

● Republicans and Democrat

● Values

Material 檔案

6.Audalcity of Hope

● Republicans and Democrats

● Values

The Structure of Senate

● house speaker

● elections

Material 檔案

7.The Constitution of the United States of America

We the people of the United States, in order to form a more perfect union, establish justice,

insure domestic tranquility, provide for the common defense, promote the general welfare,

and secure the blessings of liberty to ourselves and our posterity, do ordain and establish

this Constitution for the United States of America.

Material 檔案

NTHU | 開放式課程 41

8.Opportunity

● The tree roles of government in the economy

1.building infrastructure

2.regulating the market

3.artributing between management and labor

● What does a job mean in the US ?

● What is a good job ?

● What is minimum wage ?

● Can minimum wage sustain a family ?

● Why is Americas losing jobs to other countries ?

Material 檔案

9.Multiculturalism

● Assimilation

● Melting Pot

● Cultural Pluralism

● Multiculturalism

● Mosaic

● Tapestry

Material 檔案

10.Assimilation

● melting pot

● Cultural Pluralism

● multiculturalism

● mosaic

● Tapestry

Obama's speech in Shanghai (2009):

a discussion about racial issues (ex: Segregation, Stereo type)

● Uishers

● Hate Crime

● Affirmative Action

Material 檔案

11.Midterm Exam

42 開放式課程| NTHU

12.Late 20th

and early 21st

century

● Nuclear Proliferation, Denuclearization, Nuclear Free Zones, Nuclear Fee Worlds

● Rogue State, Failed States, Axis of Evil, Outpost of Tyranny

● Reluctant Sheriff, World Police

● Hard Power, Soft Power, Smart Power

Material 檔案

13.Presidential Doctrines

● Ford Doctrine (1975)

● Carter Doctrine (1980)

● Reagan Doctrine (1981-1989)

● Clinton Doctrine (1999)

● Bush Doctrine (2001-2009)

● Obama Doctrine (2009)

Material 檔案

14.President Barack Obama’s Nobel Remarks

● War Prone

● jus in bello

Justice of war

● Jus ad bellum

Justice in war

● International war vs Intranational War

Material 檔案

15.President Barack Obama's Nobel Remarks

● Obama's speech in Cairo

Material 檔案

16.WEEK 16

Materials 檔案

17.Final Exam Preview

1. Acronyms

2. Theories on US oreign policy and diplomatic history

3. Presidential Doctrines

4. Membership

NTHU | 開放式課程 43

5. Short Answers

SEVEN SOURCES OF TENSION BETWEEN THE U.S. AND ISLAMIC WORLD

6. Essay

6-1 IF THERE IS A OBAMA DOCTRINE, IN YOUR VIEW, WHAT IS IT?

6-2 HAS OBAMA’S VIEW BEEN CONSISTENT BETWEEN 2006 AND 2009?

Material

44 開放式課程| NTHU

中國歷史的演變與發展 Continuity and Change in the Chinese History

老師:張元

國立清華大學歷史所 教授

臺灣大學歷史學博士

研究專長:宋史、歷史教學、中國思想史、古

代史學史

這門課程的內容與「中國通史(一)」基本

相同,只是在「演變」與「發展」方面加重分

量,探討稍多而已。所以,曾修習「中國通史

(一)」的同學不可再修習此課程。反之亦然。

歷史是一門時間的學問,演變與發展當然是

重要的課題,但是造成重大變化,推動整體發展,仍然是人的努力。因此,關於人物

的性格與表現,人們的關懷與心態,應是這門課程的講授重點。在教師的引導下,帶

領同學進入離我們已有千年以上的中國古代,認識一些人們的活動,瞭解他們的處

境,看看他如何解決問題,欣賞某些人物的高貴情操與傑出表現……。這樣,學生應

該可以得到學習歷史的樂趣,也可以擴大自己的生活經驗。

課程中會介紹歷史家的觀點與歷史學者的論證,讓學生了解「過去」是怎樣被我們

所「理解」。也會印發一些資料,在課堂中討論,課餘再發五篇左右,既有學術意義,

又適合學生認知能力的「論文」,要學生研讀。這些做法,相信對於學生「歷史思維

能力」的提升,必有助益。

清華歷史教學 線上資源

課程內容

中國歷史的演變與發展一

中國歷史的演變與發展─導論 檔案

史前時代─考古與傳說 檔案

史前時代─考古與傳說 & 古典時代─夏、商、周(一) 檔案

古典時代─夏、商、周(一) & 古典時代─夏、商、周(二) 檔案

古典時代─夏、商、周(二) & 劇變的時代─春秋戰國 檔案

劇變的時代─春秋戰國 檔案

劇變的時代─春秋戰國 & 帝國時代(一)─秦與西漢 檔案

帝國時代(一)─秦與西漢 & 帝國時代(二)─西漢 檔案

帝國時代(一)─秦與西漢 檔案

帝國時代(二)─西漢 & 帝國時代(三)─東漢 檔案

帝國時代(三)─東漢 檔案

46 開放式課程| NTHU

中國歷史演變與發展二 Continuity and Change in the Chinese History (II)

老師:張元

國立清華大學歷史所 教授

臺灣大學歷史學博士

研究專長:宋史、歷史教學、中國思想史、古

代史學史

這門課程的內容與「中國通史(二)」基

本相同,只是在「演變」與「發展」方面加

重分量,探討稍多而已。所以,曾修習「中

國通史(二)」的同學不可再修習此課程 。

反之亦然。

歷史是一門時間的學問,演變與發展當然是重要的課題,但是造成重大變化,推動

整體發展,仍然是人的努力。因此,關於人物的性格與表現,人們的關懷與心態,應

是這門課程的講授重點。在教師的引導下,帶領同學進入離我們已有千年以上的中國

古代,認識一些人們的活動,瞭解他們的處境,看看他如何解決問題,欣賞某些人物

的高貴情操與傑出表現……。這樣,學生應該可以得到學習歷史的樂趣,也可以擴大

自己的生活經驗。

課程進行中,也會介紹歷史家的觀點與歷史學者的論證,讓學生了解「過去」是 怎

樣被我們所「理解」。還會印發一些資料,在課堂中討論,課餘再發五篇左右,既有

學術意義,又適合學生認知能力的「論文」,要學生研讀。這些做法,相信對於學生

「歷史思維能力」的提升,必有助益。

清華歷史教學 線上資源

課程內容

中國歷史的演變與發展二

課程介紹 &「歷史是甚麼?」 檔案

衣冠南渡─東晉時期 檔案

衣冠南渡─東晉時期~胡羯雄張─五胡十六國時代 檔案

胡羯雄張─五胡十六國時代 檔案

多少煙雨樓台中─南朝 檔案

多少煙雨樓台中─南朝~胡耕漢織共當家─北朝 檔案

胡耕漢織共當家─北朝 檔案

胡耕漢織共當家─北朝~隋史三題─開運河、征高麗與盜賊蜂貣 檔案

隋史三題─開運河、征高麗與盜賊蜂貣~風華盛世(一)─從唐太宗到武則天檔案

NTHU | 開放式課程 47

風華盛世(一)─從唐太宗到武則天~風華盛世(二)武則天到唐玄宗 檔案

風華盛世(二)武則天到唐玄宗~夕陽無限好─安史之亂及其後的唐朝 檔案

夕陽無限好─安史之亂及其後的唐朝~士當以天下為己任─北宋時期 檔案

士當以天下為己任─北宋時期 檔案

士當以天下為己任─北宋時期~西湖歌舞何時休─南宋時期 檔案

48 開放式課程| NTHU

電視製作的理論與實務 Television Production

任課教師:曾行宜 民視 知名導播

課程說明

數位時代來臨,藉由攝影機拍攝並製作成影音

作品,傳遞訊息,已成數位化生活的一部份。

本課程將與學生一同探討影像的製作 : 如何

將意念與創意,藉由影像製作,成熟且清晰地

傳遞出去 ; 並充分運用清大現有的攝影棚,

讓學生參與實際的電視媒體製作環境。希望藉

由電視製作的理論與實務課程,讓學生接觸影

音創作的有趣世界。

指定用書

教師自編教材

參考書籍

Broadcasting/Cable And Beyond by Joseph R. Dominick (Author), etc. (Author), Barry L.

Sherman (Author), Gary Copeland (Author)

Film Directing Shot By Shot by Steven D. Katz (Paperback - 1 Jul 1991)

Television Production by Gerald Millerson C.Eng MIEE MSMPTE (Paperback - 9 Mar

1999)

The Moving Image;

導演技術基礎;

DV 攝影等

教學方式

藉由課程中所學習的電視製作理論,學生 ( 個人與團隊 ) 實際參與創作,從前製的

創意發想,拍攝,到後製剪輯成完整的作品。藉由實際參與,暸解電視製作的實務。

課程影音

●線上及下載觀看

提供 56k(320*240)、128k(480*360)、320k(640*480)

三種低、中、高畫質 wmv 檔案

(可使用 Windows Media Player 觀看)

NTHU | 開放式課程 49

●iPod 等手持式行動裝置.mp4 格式(非線上觀看)

(可使用 QuickTime 或 iTunes 下載後觀看)

課程內容

1.第一週 : 課程介紹

‧課程說明

‧指定用書

‧參考書籍

‧教學方式

‧教學進度

‧成績考核

Material 檔案

2.第二週 : 電視漫談

‧收視行為大調查

‧電視節目的類型

‧有線電視的來由

‧收視率調查

‧節目編排方式

‧電視的發展史(美國)

Material 檔案

3.第三週 : 用鏡頭說故事

‧六種鏡頭語言

‧Pan(right/left)

‧Tilt(up/down)

‧Zoom(in/out)

‧Dolly(in/out)

‧Truck(right/left)

‧Arc(right/left)

Material 檔案

4.第四週 : 用鏡頭說故事(二)

‧鏡頭語言

‧人物構圖

‧環境場景構圖

‧特殊構圖

50 開放式課程| NTHU

‧鏡頭組合基本概念

‧不同主題構圖

‧偶像劇慣用手法

‧補救方式

Material 檔案

5.第五週 : 分鏡與剪輯

‧Storyboard-分鏡表

‧剪輯觀念的誕生

‧鏡頭銜接的方式

‧鏡頭的節奏

‧連戲

‧蒙太奇

‧轉場

‧Chroma Key

Material 檔案

6.第六週 : 分鏡與剪輯(二)

‧Storyboard-分鏡表

‧剪輯觀念的誕生

‧鏡頭銜接的方式

‧鏡頭的節奏

‧連戲

‧蒙太奇

‧轉場

‧Chroma Key

Material 檔案

7.第七週 : 剪輯實際操作 Lab

(此週為學生剪輯練習時間,無講解影片)

8.第八週 : 實作 ( 一 )-- 以 5 個鏡頭說故事 : 作品欣賞研討

(此週為學生作品展示與檢討,無講解影片)

9.第九週 : 燈光 / 收音 / 配樂 / 音效

‧燈具種類的介紹及運用

‧4-Point Light

NTHU | 開放式課程 51

‧台灣特產-蘋果光

‧節目性質不同光的打法也不同

‧麥克風的種類及用途

‧節目性質不同麥克風的使用也不同

‧配樂

‧音效

‧導演 VS.導播

‧單機 VS.多機

‧導播的口令

‧現場指導的手勢

Material 檔案

10.第十週 : 燈光 / 收音 / 配樂 / 音效 (同第九週)

‧燈具種類的介紹及運用

‧4-Point Light

‧台灣特產-蘋果光

‧節目性質不同光的打法也不同

‧麥克風的種類及用途

‧節目性質不同麥克風的使用也不同

‧配樂

‧音效

‧導演 VS.導播

‧單機 VS.多機

‧導播的口令

‧現場指導的手勢

Material 檔案

11.第十一週 : 各類節目的攝製實況

‧攝影棚成員介紹

‧各類型節目攝影制作實況

‧實地參訪攝影棚-棚內概況請參考第十五週

Material 檔案

12.第十二週 : 實作 ( 二 )-- 創作一部短片 : 作品欣賞研討(上)

(此週為學生作品展示與檢討,無講解影片)

13.第十三週 : 實作 ( 二 )-- 創作一部短片 : 作品欣賞研討(下)

52 開放式課程| NTHU

(此週為學生作品展示與檢討,無講解影片)

14.第十四週 : 棚內多機節目製作前置作業

(此週為學生分組討論與排演,無講解影片)

15.第十五週 : 棚內多機節目製作分組實作-第一組、第二組

‧棚內節目現場與副控室側拍

Material 檔案

16.第十六週 : 1/1 元旦放假

17.第十七週 : 棚內多機節目製作分組實作-第三組

(學生於棚內實作,無講解影片。攝影棚概況請參考第十五週)

18.第十八週 : 金華獎"頒獎典禮-期末作品發表大賞

‧第三組節目製作成果與講評

‧第二組節目製作成果與講評

‧第一組節目製作成果與講評

‧閉幕

Material 檔案

NTHU | 開放式課程 53

戲曲選 Readings in Tzu and Chu

任課教師:王安祈 Wang, An-Chi

國立清華大學中國文學系 教授

Department of Chinese Language and

Literature, NTHU 國立臺灣大學文學博士

興趣專長:古典戲曲,現代戲曲,當代戲曲

指定用書(Text Books)

戲曲選粹(國家出版社)曾永義等選注

臺北市 : 國家, 2002[民 91].[ISBN

957-36-0745-X (平裝)]

本書將所選劇目依劇種歸類,

每個劇目分「作者」、「題解」、「劇本」、「注釋」四部分。

「題解」中包括版本、戲曲基本常識和簡要賞析。

清華大學 人社分館 索書號 853 8362-2

清華大學 總圖 索書號 853 8362-2 C.2 (限館內閱覽)

參考書籍(References)

詩歌與戲曲 曾永義 /聯經 1988

中國古典戲劇的認識與欣賞 曾永義 /正中 1991

從腔調說到崑劇 曾永義 /國家 2002

當代戲曲 王安祈 /三民 2002

教學方式(Teaching Method)

老師講授

同學以簡單形式演出劇作一部

教學進度(Syllabus)

A.戲曲發展史(代表性劇種)

1. 漢百戲

2. 唐戲弄:踏謠娘、參軍戲

3. 宋雜劇

4. 金院本

5. 元雜劇

6. 宋元南戲

54 開放式課程| NTHU

7. 明清傳奇

8. 南雜劇

9. 花部亂彈(京劇、地方戲)

10. 當代戲曲

B.劇本選讀

1.元雜劇

(1)竇娥冤

(2)牆頭馬上

(3)漁樵記

(4)秋胡戲妻

(5)薦福碑

2.宋元南戲

(1)幽閨記:曠野奇逢

3.明清傳奇

(1)寶劍記:夜奔

(2)牡丹亭:閨塾、驚夢、尋夢、拾畫、叫畫

4.南雜劇

(1)昭君出塞

5.京劇

(1)三堂會審

6.當代戲曲 推薦劇目:

(1)曹操與楊修(京)

(2)荒誕潘金蓮 (川、京)

(3)金鎖記(京)

影音 Lecture video

提供線上觀看及下載

56k(320*240)、128k(480*360)、256k(640*480) 三種低、中、高畫質

(建議使用 Windows Media Player 觀看)

針對 iPod 等手持式行動裝置,提供.mp4 格式下載後使用(非線上觀看)

(建議使用 QuickTime 或 iTunes 下載後觀看)

課程簡介及戲曲概述 檔案

腳色行當、漢百戲、唐戲弄 (更新版) 檔案

宋雜劇、金院本、說唱文學 檔案

元雜劇--裴少俊牆頭馬上(選一折) 檔案

元雜劇--感天動地竇娥冤 檔案

元雜劇--感天動地竇娥冤(二) 檔案

56 開放式課程| NTHU

戲曲選(限校內用戶登入後註冊使用)

戲曲選教材

已另發佈於開放式課程供大眾閱讀

聲明本區係基於授課之教育目的

提供校內使用者於註冊下閱讀戲曲講解影片

註冊者不得發表任何侵犯著作權等相關資料

違反者需自行負責

課程內容:

‧影音資料 01

-界牌關:耍下場、火燒裴元慶:紮靠、

借扇、盜庫銀:打出手

-可配合閱讀開放式課程-戲曲選 Part1

‧影音資料 03

-蘇州彈詞:夫妻相會

-可配合閱讀開放式課程-戲曲選 Part3

‧影音資料 04

-牆頭馬上 (崑曲)

-可配合閱讀開放式課程-戲曲選 Part4

‧影音資料 06

-竇娥冤戲劇之片段 (鬼步)

-可配合閱讀開放式課程-戲曲選 Part6

‧影音資料 07

-慾望城國片段

-可配合閱讀開放式課程-戲曲選 Part7

‧影音資料 08

-朱買臣休妻

-可配合閱讀開放式課程-戲曲選 Part8

‧影音資料 11

-潘金蓮(京劇片段)

-可配合閱讀開放式課程-戲曲選 Part11

NTHU | 開放式課程 57

二、成立「台灣開放式課程聯盟

(Taiwan OpenCourseWare Consortium, TOCWC)」

台灣開放式課程聯盟(Taiwan OpenCourseWare Consortium, TOCWC) 係以「開

放、共享、共構、共榮」的理念推動開放式課程(OCW),藉由發佈台灣高品質的優秀

教育資源並與國內外學生與自學者共享,更加強教學資源的互補,以及增進規模經濟

的發揮,進而永續經營,創造資源共享、優秀人才培育與國際競爭力提昇的最大效益。

聯盟成員除本校外,另包含國立中山大學、國立中央大學、國立中興大學、國立

交通大學、國立成功大學、國立東華大學、長榮大學、國立政治大學、輔仁大學、臺

北醫學大學、國立臺灣大學、國立臺灣師範大學、國立臺灣海洋大學、國立臺灣科技

大學、國立台灣藝術大學等 16 所學校。

會議名稱 會議地點

台灣開放式課程聯盟 記者會會議紀錄 臺大校友會館

台灣開放式課程聯盟 發貣人暨第一次籌備會議 國立交通大學 電子資訊大樓 201 室

台灣開放式課程聯盟第一屆第一次理事會、監事會 國立交通大學 電子資訊大樓 201 室

台灣開放式課程聯盟成立大會 國立交通大學電資大樓 201 室

台灣開放式課程聯盟 (第一屆第二次會員大會) 國立交通大學電資大樓 201 室

註:各次會議紀錄詳如附錄。

58 開放式課程| NTHU

三、參加於韓國舉行之第一屆開放式課程聯盟亞洲區會議

NTHU | 開放式課程 59

OpenCourseWare in National Tsing-Hua University:

Practices, Challenges and Opportunities

Jeng-Yi Tzeng, Mei-Huei Lee1

1National Tsing-Hua University, Taiwan

Abstract

To enrich educational resources and to make top quality higher education available for the general public,

National Tsing-Hua University launched the OpenCourseWare project in June, 2008. The objectives at the

initial stage included encouraging levels of involvement from award-winning teachers and teaching units,

training more competent producers for digital contents, and digitizing more model courses. The digitized

contents of open courses were created in various formats suitable for download and display in various

environments such as desktop computers or mobile devises. All of the open courses are available in the

university-based learning management system (Moodle) so that using or producing open courses is

accommodated to teachers’ and students’ daily practices. A link to the list of open courses is provided on the

university’s homepage to allow easy access for the public users without ID or passwords. In year 2010, the

open courses will be incorporated as a part of regular course management mechanism, and teachers can file

applications to turn their courses into open courses at the beginning of each semester.

60 開放式課程| NTHU

NTHU | 開放式課程 61

62 開放式課程| NTHU

NTHU | 開放式課程 63

64 開放式課程| NTHU

NTHU | 開放式課程 65

66 開放式課程| NTHU

NTHU | 開放式課程 67

68 開放式課程| NTHU

NTHU | 開放式課程 69

70 開放式課程| NTHU

NTHU | 開放式課程 71

72 開放式課程| NTHU

NTHU | 開放式課程 73

74 開放式課程| NTHU

NTHU | 開放式課程 75

四、自由軟體 Moodle 課程平台客製化 IP 國別對照功能

程式名稱:Moodle 教學系統 Excel 報表新增來源 IP 國別欄位

程式語言:PHP、Mysql、Linux shell script

最後修改:2009/12/5

作者:清華大學資工系 10 級郭知頌 [email protected]

一、客製方法概述

為了減少對 Moodle 系統程式碼的改變幅度,在 Moodle 系統檔案中,只針

對 course/lib.php 裡面的 function_print_log_xls 函式做更動。此外,在 Moodle

的 SQL database 中,新建一個 mdl_ipcountrytbl 的表格,儲存從網路上下載的

IP 與國別對照表。

函式本來就已經有輸出使用者來源 IP 的功能,經由加入一些程式碼,對這

些 IP 進行 SQL query,查詢 mdl_ipcountrytbl 表格中對應到的國別,並新增一

個欄位輸出,即達到本程式客製目的。

二、針對 function_print_log_xls 做的更動(主程式部分)

首先,更改後的 function_print_log_xls 函式可在 function_print_log_xls.txt

找到。

1. 在標題列中新增一個叫 Country 的欄位:針對以下程式碼,將'Country'插

入在 get_string('fullname')之前

$headers = array(get_string('course'), get_string('time'),

get_string('ip_address'),'Country', get_string('fullname'), get_string('action'),

get_string('info'));

2. 用既得 IP 查詢國別

以下的程式碼首先將 aaa.bbb.ccc.ddd 格式的 IP 轉為 32bit 數字,而後進行

一個 SQL 查詢。如果該 IP 查不到的話(通常是虛擬 IP 網段),則將結果設為 N/A。

$ip_number = sprintf("%u", ip2long($log->ip));

$countryName = get_field_sql('SELECT DISTINCT COUNTRY_NAME FROM ' .

$CFG->prefix .'ipcountrytbl WHERE IP_FROM <= ' . $ip_number . ' and IP_TO >=

' . $ip_number);

76 開放式課程| NTHU

if (is_null($countryName) || $countryName == false) {

$countryName = 'N/A';

}

3. 對單字存取記錄之來源國別寫入 Excel 欄位:以下程式碼將國別寫入第四欄

$myxls->write($row, 3, $countryName, '');

4. 資料量限制:因為 SQL 資料庫查詢速度有限,為了避免伺服器負荷過重或

使用者等待過久,因此若查詢資料量大於一千時,只輸出一千筆

$tooMuchData = False;

foreach ($logs['logs'] as $log) {

//……

if ($row>=1004){

$tooMuchData = True;

break;

}

//……

}

if($tooMuchData == True){

$myxls->write($row, 0, 'Data amount exceeded 1000 will not be

shown', '');

}

三、SQL Table Scheme

mdl_ipcountrytbl(

NTHU | 開放式課程 77

IP_FROM INT(4) UNSIGNED zerofill not null,

IP_TO INT(4) UNSIGNED zerofill not null,

COUNTRY_CODE2 CHAR(2),

COUNTRY_CODE3 CHAR(3) ,

COUNTRY_NAME VARCHAR(50)

);

四、IP-國別對照表資料來源

以下幾個網站提供相關資訊。本程式的表格是由第一個網站提供。對照表

位於 http://ip-to-country.webhosting.info/downloads/ip-to-country.csv.zip,是

逗點分隔的 csv 格式檔案。

http://ip-to-country.webhosting.info/

http://soulogic.com/blog/archives/90.html

http://www.maxmind.com/

五、IP 國別對照表自動更新機制

程式碼檔案為 UpdateIPTableScript.txt

此程式碼需在 Linux text shell 下執行。內容包括下載、解壓縮最新的對

照表,而後將新的對照表匯入 SQL 資料庫,進行 mdl_ipcountrytbl 的覆蓋與更

新。

請注意匯入資料庫之指令 mysql --user=root --password=[//eLearn//] -D

nthu09720 -e " ….” 含有 Mysql 資料庫管理帳號 root、密碼[//eLearn//],及資

料庫名稱 nthu09720。必要時,需進行更改。

#下載對照表

wget

http://ip-to-country.webhosting.info/downloads/ip-to-country.csv.zip -P ~

78 開放式課程| NTHU

#解壓縮對照表

unzip ~/ip-to-country.csv.zip -d ~

#將對照表匯入 MYSQL 資料庫

mysql --user=root --password=[//eLearn//] -D nthu09720 -e "

DROP TABLE IF EXISTS mdl_ipcountrytbl;

CREATE TABLE IF NOT EXISTS mdl_ipcountrytbl(

IP_FROM INT(4) UNSIGNED zerofill not null,

IP_TO INT(4) UNSIGNED zerofill not null,

COUNTRY_CODE2 CHAR(2),

COUNTRY_CODE3 CHAR(3) ,

COUNTRY_NAME VARCHAR(50)

);

LOAD DATA LOCAL INFILE '~/ip-to-country.csv'

INTO TABLE mdl_ipcountrytbl

FIELDS TERMINATED BY ','

ENCLOSED BY '\"'

LINES TERMINATED BY '\\r\\n';

"

六、定期更新方法

可使用 crontable 設定讓以上 Linux shell script 定期(比如每週)執行一次,

以保持 IP 國別對照表在最新狀態。指令為 crontab

NTHU | 開放式課程 79

五、2009 年各課程 IP 國別對照點擊使用分析

80 開放式課程| NTHU