SlideShare a Scribd company logo
1 of 10
Pine Line
0360250 邱聖倫
0360241 吳嘉彬
National Chiao Tung University
1
A simple tool to connect with your friends
System architecture
• PXA
– 7-segment: commnication time
– lcd screen: communication text
– Microphone: voice record
– Keypad: patterns and voice recording
2
System architecture
• Kernal functions
– Pthread: server, recever, keypad
– Timer: 7-segment counting
– Socket: communication
– Mutex: lock socket, users’ data
3
System architecture
4
4
User 1 User 2
send
send receive
Internet
LCD
LCDkeyboard
keyboard
audio output
audio output
receive
microphone
microphone
keypad
keypad
7 segment 7 segment
User BUser A
Socket problem
• Socket
– Peer-to-peer communication
– Client and server have the same port number
– Can not be used for multi-user communication
without central server
5
server
client
server
client
User BUser A
Socket problem
• Solution
– Sever -> receive and server, client -> send
– Sever uses static port number N but receiver and
sender use dynamic port number
6
server
sender
receiver
server
sender
receiver
User A turn off his server and his sender uses port number N to
send a request with his receiver port number to user B. User B
askes his group that user A can join or not.
If yes, user B sends ‘OK’ as ACK to user A; if not, user B sends ‘No’
as ACK to user A.
User BUser CUser DUser A
Socket problem
• Solution
– Sever -> receive and server, client -> send
– Sever uses static port number N but receiver and
sender use dynamic port number
7
server
sender
receiver
server
sender
receiver
User B sends group information to user A through user A’s
receiver port number.
User A sends his information to every member of the group; then,
user A joins the group.
User BUser A
Socket problem
• Solution
server
sender
receiver
server
sender
receiver
User D
server senderreceiver
User C
server senderreceiver
Codec problem
• Codec
– Codec_record
• Recod 4 seconds voice to an inner buffer
• Need to give 4*sample rate
– Codec_play
• Display the inner buffer
– Can read the inner buffer
– Can not write the inner buffer
9
Codec problem
• Codec
– Codec_record
• Recod 4 seconds voice to an inner buffer
• Need to give 4*sample rate
– Codec_play
• Display the inner buffer
– Can read the inner buffer
– Can not write the inner buffer
10

More Related Content

What's hot (18)

Multimedia networks
Multimedia networksMultimedia networks
Multimedia networks
 
Telnet
TelnetTelnet
Telnet
 
Features of tcp (part 2) .68
Features of tcp  (part 2) .68Features of tcp  (part 2) .68
Features of tcp (part 2) .68
 
Telnet
TelnetTelnet
Telnet
 
SIP (Session Initiation Protocol)
SIP (Session Initiation Protocol)SIP (Session Initiation Protocol)
SIP (Session Initiation Protocol)
 
Tcp3 wayhandshakeprocess
Tcp3 wayhandshakeprocessTcp3 wayhandshakeprocess
Tcp3 wayhandshakeprocess
 
Dcn (transmission control protocol) ppt
Dcn  (transmission control protocol) pptDcn  (transmission control protocol) ppt
Dcn (transmission control protocol) ppt
 
Tcpip 1
Tcpip 1Tcpip 1
Tcpip 1
 
IMS Session Flow
IMS Session FlowIMS Session Flow
IMS Session Flow
 
Socket programming using C
Socket programming using CSocket programming using C
Socket programming using C
 
Socket Programming
Socket ProgrammingSocket Programming
Socket Programming
 
Elementary TCP Sockets
Elementary TCP SocketsElementary TCP Sockets
Elementary TCP Sockets
 
Remote Procedure Call
Remote Procedure CallRemote Procedure Call
Remote Procedure Call
 
Port numbers
Port numbersPort numbers
Port numbers
 
Telnet presentation
Telnet presentationTelnet presentation
Telnet presentation
 
Telnet
TelnetTelnet
Telnet
 
Socket programing
Socket programingSocket programing
Socket programing
 
Wireshark lab ssl v7 solution
Wireshark lab ssl v7 solutionWireshark lab ssl v7 solution
Wireshark lab ssl v7 solution
 

Viewers also liked

EOS_2016_Spring Team9 - 百萬大富翁
EOS_2016_Spring Team9 - 百萬大富翁EOS_2016_Spring Team9 - 百萬大富翁
EOS_2016_Spring Team9 - 百萬大富翁nctusee
 
植物工廠簡報瑞璽
植物工廠簡報瑞璽植物工廠簡報瑞璽
植物工廠簡報瑞璽pureway
 
德能科研-智慧控制系統
德能科研-智慧控制系統德能科研-智慧控制系統
德能科研-智慧控制系統紹翔 劉
 
EOS_2015_Fall Team2 - 平交道智慧監控站
EOS_2015_Fall  Team2 - 平交道智慧監控站 EOS_2015_Fall  Team2 - 平交道智慧監控站
EOS_2015_Fall Team2 - 平交道智慧監控站 nctusee
 
EOS_2015_Fall Team3 - 富饒之城
EOS_2015_Fall  Team3 - 富饒之城EOS_2015_Fall  Team3 - 富饒之城
EOS_2015_Fall Team3 - 富饒之城nctusee
 
EOS_2015_Fall Team5 - 數學天才打地鼠
EOS_2015_Fall  Team5 - 數學天才打地鼠EOS_2015_Fall  Team5 - 數學天才打地鼠
EOS_2015_Fall Team5 - 數學天才打地鼠nctusee
 
EOS_2015_Fall Team9 - 大富翁
EOS_2015_Fall  Team9 - 大富翁EOS_2015_Fall  Team9 - 大富翁
EOS_2015_Fall Team9 - 大富翁nctusee
 
EOS_2016_Spring Team8 - 團購趣
EOS_2016_Spring Team8 - 團購趣EOS_2016_Spring Team8 - 團購趣
EOS_2016_Spring Team8 - 團購趣nctusee
 
EOS_2016_Spring Team5 - Voiceprint recognition system
EOS_2016_Spring Team5 - Voiceprint recognition systemEOS_2016_Spring Team5 - Voiceprint recognition system
EOS_2016_Spring Team5 - Voiceprint recognition systemnctusee
 
EOS_2015_Fall Team7 - 籃球電子計分板
EOS_2015_Fall  Team7 -  籃球電子計分板EOS_2015_Fall  Team7 -  籃球電子計分板
EOS_2015_Fall Team7 - 籃球電子計分板nctusee
 
EOS_2015_Fall Team8 - 摩斯burger
EOS_2015_Fall  Team8 - 摩斯burgerEOS_2015_Fall  Team8 - 摩斯burger
EOS_2015_Fall Team8 - 摩斯burgernctusee
 
EOS_2016_Spring Team3 - 連線鬧鐘
EOS_2016_Spring Team3 - 連線鬧鐘EOS_2016_Spring Team3 - 連線鬧鐘
EOS_2016_Spring Team3 - 連線鬧鐘nctusee
 
EOS_2016_Spring Team6 - Px car
EOS_2016_Spring Team6 - Px carEOS_2016_Spring Team6 - Px car
EOS_2016_Spring Team6 - Px carnctusee
 
EOS_2016_Spring Team1 - Pinball battle
EOS_2016_Spring Team1 - Pinball battleEOS_2016_Spring Team1 - Pinball battle
EOS_2016_Spring Team1 - Pinball battlenctusee
 
EOS_2015_Fall Team6 - One to Ten App Design Toolkit
EOS_2015_Fall  Team6 - One to Ten App Design ToolkitEOS_2015_Fall  Team6 - One to Ten App Design Toolkit
EOS_2015_Fall Team6 - One to Ten App Design Toolkitnctusee
 
EOS_2016_Spring Team4 - 自製示波器和波形產生器
EOS_2016_Spring Team4 - 自製示波器和波形產生器EOS_2016_Spring Team4 - 自製示波器和波形產生器
EOS_2016_Spring Team4 - 自製示波器和波形產生器nctusee
 
EOS_2015_Fall Team1 - 拉亞計畫
EOS_2015_Fall  Team1 - 拉亞計畫EOS_2015_Fall  Team1 - 拉亞計畫
EOS_2015_Fall Team1 - 拉亞計畫nctusee
 
104-04.防油門誤踩系統
104-04.防油門誤踩系統104-04.防油門誤踩系統
104-04.防油門誤踩系統nctusee
 
104-01.小型洗衣機
104-01.小型洗衣機104-01.小型洗衣機
104-01.小型洗衣機nctusee
 
石健彤 & 葉冠銘(四輪驅動車)
石健彤 & 葉冠銘(四輪驅動車)石健彤 & 葉冠銘(四輪驅動車)
石健彤 & 葉冠銘(四輪驅動車)nctusee
 

Viewers also liked (20)

EOS_2016_Spring Team9 - 百萬大富翁
EOS_2016_Spring Team9 - 百萬大富翁EOS_2016_Spring Team9 - 百萬大富翁
EOS_2016_Spring Team9 - 百萬大富翁
 
植物工廠簡報瑞璽
植物工廠簡報瑞璽植物工廠簡報瑞璽
植物工廠簡報瑞璽
 
德能科研-智慧控制系統
德能科研-智慧控制系統德能科研-智慧控制系統
德能科研-智慧控制系統
 
EOS_2015_Fall Team2 - 平交道智慧監控站
EOS_2015_Fall  Team2 - 平交道智慧監控站 EOS_2015_Fall  Team2 - 平交道智慧監控站
EOS_2015_Fall Team2 - 平交道智慧監控站
 
EOS_2015_Fall Team3 - 富饒之城
EOS_2015_Fall  Team3 - 富饒之城EOS_2015_Fall  Team3 - 富饒之城
EOS_2015_Fall Team3 - 富饒之城
 
EOS_2015_Fall Team5 - 數學天才打地鼠
EOS_2015_Fall  Team5 - 數學天才打地鼠EOS_2015_Fall  Team5 - 數學天才打地鼠
EOS_2015_Fall Team5 - 數學天才打地鼠
 
EOS_2015_Fall Team9 - 大富翁
EOS_2015_Fall  Team9 - 大富翁EOS_2015_Fall  Team9 - 大富翁
EOS_2015_Fall Team9 - 大富翁
 
EOS_2016_Spring Team8 - 團購趣
EOS_2016_Spring Team8 - 團購趣EOS_2016_Spring Team8 - 團購趣
EOS_2016_Spring Team8 - 團購趣
 
EOS_2016_Spring Team5 - Voiceprint recognition system
EOS_2016_Spring Team5 - Voiceprint recognition systemEOS_2016_Spring Team5 - Voiceprint recognition system
EOS_2016_Spring Team5 - Voiceprint recognition system
 
EOS_2015_Fall Team7 - 籃球電子計分板
EOS_2015_Fall  Team7 -  籃球電子計分板EOS_2015_Fall  Team7 -  籃球電子計分板
EOS_2015_Fall Team7 - 籃球電子計分板
 
EOS_2015_Fall Team8 - 摩斯burger
EOS_2015_Fall  Team8 - 摩斯burgerEOS_2015_Fall  Team8 - 摩斯burger
EOS_2015_Fall Team8 - 摩斯burger
 
EOS_2016_Spring Team3 - 連線鬧鐘
EOS_2016_Spring Team3 - 連線鬧鐘EOS_2016_Spring Team3 - 連線鬧鐘
EOS_2016_Spring Team3 - 連線鬧鐘
 
EOS_2016_Spring Team6 - Px car
EOS_2016_Spring Team6 - Px carEOS_2016_Spring Team6 - Px car
EOS_2016_Spring Team6 - Px car
 
EOS_2016_Spring Team1 - Pinball battle
EOS_2016_Spring Team1 - Pinball battleEOS_2016_Spring Team1 - Pinball battle
EOS_2016_Spring Team1 - Pinball battle
 
EOS_2015_Fall Team6 - One to Ten App Design Toolkit
EOS_2015_Fall  Team6 - One to Ten App Design ToolkitEOS_2015_Fall  Team6 - One to Ten App Design Toolkit
EOS_2015_Fall Team6 - One to Ten App Design Toolkit
 
EOS_2016_Spring Team4 - 自製示波器和波形產生器
EOS_2016_Spring Team4 - 自製示波器和波形產生器EOS_2016_Spring Team4 - 自製示波器和波形產生器
EOS_2016_Spring Team4 - 自製示波器和波形產生器
 
EOS_2015_Fall Team1 - 拉亞計畫
EOS_2015_Fall  Team1 - 拉亞計畫EOS_2015_Fall  Team1 - 拉亞計畫
EOS_2015_Fall Team1 - 拉亞計畫
 
104-04.防油門誤踩系統
104-04.防油門誤踩系統104-04.防油門誤踩系統
104-04.防油門誤踩系統
 
104-01.小型洗衣機
104-01.小型洗衣機104-01.小型洗衣機
104-01.小型洗衣機
 
石健彤 & 葉冠銘(四輪驅動車)
石健彤 & 葉冠銘(四輪驅動車)石健彤 & 葉冠銘(四輪驅動車)
石健彤 & 葉冠銘(四輪驅動車)
 

Similar to EOS_2015_Fall Team4 - Pine Line

Socket programming in C
Socket programming in CSocket programming in C
Socket programming in CDeepak Swain
 
Socket programming
Socket programmingSocket programming
Socket programmingUjjwal Kumar
 
CCIE Collaboration Lecture Chapter 4.4 voice gateway cucm sip overview
CCIE Collaboration Lecture Chapter 4.4 voice gateway   cucm sip overviewCCIE Collaboration Lecture Chapter 4.4 voice gateway   cucm sip overview
CCIE Collaboration Lecture Chapter 4.4 voice gateway cucm sip overviewFaisal Khan
 
Network Programming-Python-13-8-2023.pptx
Network Programming-Python-13-8-2023.pptxNetwork Programming-Python-13-8-2023.pptx
Network Programming-Python-13-8-2023.pptxssuser23035c
 
USB Universal Serial Bus
USB Universal Serial BusUSB Universal Serial Bus
USB Universal Serial BusVarun Kambrath
 
Java_Socket_Programming (2).ppt
Java_Socket_Programming (2).pptJava_Socket_Programming (2).ppt
Java_Socket_Programming (2).pptssuserec53e73
 
2.communcation in distributed system
2.communcation in distributed system2.communcation in distributed system
2.communcation in distributed systemGd Goenka University
 
Zhiyun Qian-what leaves attacker hijacking USA Today site
Zhiyun Qian-what leaves attacker hijacking USA Today siteZhiyun Qian-what leaves attacker hijacking USA Today site
Zhiyun Qian-what leaves attacker hijacking USA Today siteGeekPwn Keen
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9Waqas Ahmed Nawaz
 
Micro-service architectures with Gilmour
Micro-service architectures with GilmourMicro-service architectures with Gilmour
Micro-service architectures with GilmourAditya Godbole
 
Networking.pptx
Networking.pptxNetworking.pptx
Networking.pptxEsubesisay
 
Final Presentation - Edan&Itzik
Final Presentation - Edan&ItzikFinal Presentation - Edan&Itzik
Final Presentation - Edan&Itzikitzik cohen
 

Similar to EOS_2015_Fall Team4 - Pine Line (20)

TCP-IP PROTOCOL
TCP-IP PROTOCOLTCP-IP PROTOCOL
TCP-IP PROTOCOL
 
Socket programming in C
Socket programming in CSocket programming in C
Socket programming in C
 
Socket programming
Socket programmingSocket programming
Socket programming
 
Lecture set 7
Lecture set 7Lecture set 7
Lecture set 7
 
Java socket programming
Java socket programmingJava socket programming
Java socket programming
 
CCIE Collaboration Lecture Chapter 4.4 voice gateway cucm sip overview
CCIE Collaboration Lecture Chapter 4.4 voice gateway   cucm sip overviewCCIE Collaboration Lecture Chapter 4.4 voice gateway   cucm sip overview
CCIE Collaboration Lecture Chapter 4.4 voice gateway cucm sip overview
 
Network Programming-Python-13-8-2023.pptx
Network Programming-Python-13-8-2023.pptxNetwork Programming-Python-13-8-2023.pptx
Network Programming-Python-13-8-2023.pptx
 
USB Universal Serial Bus
USB Universal Serial BusUSB Universal Serial Bus
USB Universal Serial Bus
 
Java_Socket_Programming (2).ppt
Java_Socket_Programming (2).pptJava_Socket_Programming (2).ppt
Java_Socket_Programming (2).ppt
 
2.communcation in distributed system
2.communcation in distributed system2.communcation in distributed system
2.communcation in distributed system
 
Client server
Client serverClient server
Client server
 
CoAP Talk
CoAP TalkCoAP Talk
CoAP Talk
 
Lecture2
Lecture2Lecture2
Lecture2
 
Skype
SkypeSkype
Skype
 
Zhiyun Qian-what leaves attacker hijacking USA Today site
Zhiyun Qian-what leaves attacker hijacking USA Today siteZhiyun Qian-what leaves attacker hijacking USA Today site
Zhiyun Qian-what leaves attacker hijacking USA Today site
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
 
Introduction To SIP
Introduction  To  SIPIntroduction  To  SIP
Introduction To SIP
 
Micro-service architectures with Gilmour
Micro-service architectures with GilmourMicro-service architectures with Gilmour
Micro-service architectures with Gilmour
 
Networking.pptx
Networking.pptxNetworking.pptx
Networking.pptx
 
Final Presentation - Edan&Itzik
Final Presentation - Edan&ItzikFinal Presentation - Edan&Itzik
Final Presentation - Edan&Itzik
 

More from nctusee

EOS_2016_Spring Team2 - Taiko drum master
EOS_2016_Spring Team2 - Taiko drum masterEOS_2016_Spring Team2 - Taiko drum master
EOS_2016_Spring Team2 - Taiko drum masternctusee
 
Team9 - 嵌入式大富翁
Team9 - 嵌入式大富翁Team9 - 嵌入式大富翁
Team9 - 嵌入式大富翁nctusee
 
Team8 - Dit-Dah Chat Room
Team8 - Dit-Dah Chat RoomTeam8 - Dit-Dah Chat Room
Team8 - Dit-Dah Chat Roomnctusee
 
Team7 - 多功能電子計分板
Team7 - 多功能電子計分板Team7 - 多功能電子計分板
Team7 - 多功能電子計分板nctusee
 
Team6 - 穿戴式裝置開發工具
Team6 - 穿戴式裝置開發工具Team6 - 穿戴式裝置開發工具
Team6 - 穿戴式裝置開發工具nctusee
 
Team5 - 數字遊戲
Team5 - 數字遊戲Team5 - 數字遊戲
Team5 - 數字遊戲nctusee
 
Team4 - Pine Line
Team4 - Pine LineTeam4 - Pine Line
Team4 - Pine Linenctusee
 
Team3 - 富饒之城
Team3 - 富饒之城Team3 - 富饒之城
Team3 - 富饒之城nctusee
 
Team2 - 平交道安全感測
Team2 - 平交道安全感測Team2 - 平交道安全感測
Team2 - 平交道安全感測nctusee
 
Team1 - 拉亞計畫
Team1 - 拉亞計畫Team1 - 拉亞計畫
Team1 - 拉亞計畫nctusee
 
104-10.自平衡獨輪車
104-10.自平衡獨輪車104-10.自平衡獨輪車
104-10.自平衡獨輪車nctusee
 
104-09.迷你四驅車
104-09.迷你四驅車104-09.迷你四驅車
104-09.迷你四驅車nctusee
 
104-08.自動化撿料系統
104-08.自動化撿料系統104-08.自動化撿料系統
104-08.自動化撿料系統nctusee
 
104-07.自動清地板機
104-07.自動清地板機104-07.自動清地板機
104-07.自動清地板機nctusee
 
104-06.JDoor
104-06.JDoor104-06.JDoor
104-06.JDoornctusee
 

More from nctusee (15)

EOS_2016_Spring Team2 - Taiko drum master
EOS_2016_Spring Team2 - Taiko drum masterEOS_2016_Spring Team2 - Taiko drum master
EOS_2016_Spring Team2 - Taiko drum master
 
Team9 - 嵌入式大富翁
Team9 - 嵌入式大富翁Team9 - 嵌入式大富翁
Team9 - 嵌入式大富翁
 
Team8 - Dit-Dah Chat Room
Team8 - Dit-Dah Chat RoomTeam8 - Dit-Dah Chat Room
Team8 - Dit-Dah Chat Room
 
Team7 - 多功能電子計分板
Team7 - 多功能電子計分板Team7 - 多功能電子計分板
Team7 - 多功能電子計分板
 
Team6 - 穿戴式裝置開發工具
Team6 - 穿戴式裝置開發工具Team6 - 穿戴式裝置開發工具
Team6 - 穿戴式裝置開發工具
 
Team5 - 數字遊戲
Team5 - 數字遊戲Team5 - 數字遊戲
Team5 - 數字遊戲
 
Team4 - Pine Line
Team4 - Pine LineTeam4 - Pine Line
Team4 - Pine Line
 
Team3 - 富饒之城
Team3 - 富饒之城Team3 - 富饒之城
Team3 - 富饒之城
 
Team2 - 平交道安全感測
Team2 - 平交道安全感測Team2 - 平交道安全感測
Team2 - 平交道安全感測
 
Team1 - 拉亞計畫
Team1 - 拉亞計畫Team1 - 拉亞計畫
Team1 - 拉亞計畫
 
104-10.自平衡獨輪車
104-10.自平衡獨輪車104-10.自平衡獨輪車
104-10.自平衡獨輪車
 
104-09.迷你四驅車
104-09.迷你四驅車104-09.迷你四驅車
104-09.迷你四驅車
 
104-08.自動化撿料系統
104-08.自動化撿料系統104-08.自動化撿料系統
104-08.自動化撿料系統
 
104-07.自動清地板機
104-07.自動清地板機104-07.自動清地板機
104-07.自動清地板機
 
104-06.JDoor
104-06.JDoor104-06.JDoor
104-06.JDoor
 

Recently uploaded

MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 

Recently uploaded (20)

MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 

EOS_2015_Fall Team4 - Pine Line

  • 1. Pine Line 0360250 邱聖倫 0360241 吳嘉彬 National Chiao Tung University 1 A simple tool to connect with your friends
  • 2. System architecture • PXA – 7-segment: commnication time – lcd screen: communication text – Microphone: voice record – Keypad: patterns and voice recording 2
  • 3. System architecture • Kernal functions – Pthread: server, recever, keypad – Timer: 7-segment counting – Socket: communication – Mutex: lock socket, users’ data 3
  • 4. System architecture 4 4 User 1 User 2 send send receive Internet LCD LCDkeyboard keyboard audio output audio output receive microphone microphone keypad keypad 7 segment 7 segment
  • 5. User BUser A Socket problem • Socket – Peer-to-peer communication – Client and server have the same port number – Can not be used for multi-user communication without central server 5 server client server client
  • 6. User BUser A Socket problem • Solution – Sever -> receive and server, client -> send – Sever uses static port number N but receiver and sender use dynamic port number 6 server sender receiver server sender receiver User A turn off his server and his sender uses port number N to send a request with his receiver port number to user B. User B askes his group that user A can join or not. If yes, user B sends ‘OK’ as ACK to user A; if not, user B sends ‘No’ as ACK to user A.
  • 7. User BUser CUser DUser A Socket problem • Solution – Sever -> receive and server, client -> send – Sever uses static port number N but receiver and sender use dynamic port number 7 server sender receiver server sender receiver User B sends group information to user A through user A’s receiver port number. User A sends his information to every member of the group; then, user A joins the group.
  • 8. User BUser A Socket problem • Solution server sender receiver server sender receiver User D server senderreceiver User C server senderreceiver
  • 9. Codec problem • Codec – Codec_record • Recod 4 seconds voice to an inner buffer • Need to give 4*sample rate – Codec_play • Display the inner buffer – Can read the inner buffer – Can not write the inner buffer 9
  • 10. Codec problem • Codec – Codec_record • Recod 4 seconds voice to an inner buffer • Need to give 4*sample rate – Codec_play • Display the inner buffer – Can read the inner buffer – Can not write the inner buffer 10