Download presentation
Presentation is loading. Please wait.
Published byKristopher Casey Modified over 8 years ago
1
Andre Lukito, Johnson {andre.lukito,johnsonsu}@iis.sinica.edu.tw Work in Progress Point of Service Server POS
2
AothorsAndre Lukito, Johnsonsu Email Contactsandre.lukito@iis.sinica.edu.tw, Johnsonsu@iis.sinica.edu.tw First draft 1March 30, 2014 Revision History 1April 8, 2014 Remove POS Bluetooth/USB SDK Part Modify POS requirement Add POS Web Service API 2
3
Types of POS PowerfulMediumPortable Platforms Windows x86-64 ( XP, 2008 or higher), GNU/Linux x86-64 ( RPM and DEB based Linux distributions) Windows x86 ( XP or higher), GNU/Linux x86 ( RPM and DEB based Linux distributions ) Android (2.3 or higher), iOS (6 or higher), Windows Phone (7.8 or higher) Feature It provides communication and storage capabilities. It communication with other POS by HTTP Protocol. It provides Web Services API(Restful API) for application, such as MAD, TIBS, etc,. It provides API libraries for these platforms. Communication (Network) Online (Internet access) EthernetEthernet, Wireless LAN Mobile(Cellular) Network, Wireless LAN Offline (No internet access) No Connection Wi-Fi Hotspot (Wi-Fi Direct) Storage (Database) Triplestore, MySQL SQLite Possible Machine/ Devices Computer Server Workstation, Computer (Desktop, Laptop) Smartphone, Tablet POS Minimum Requirements Admin Helper Provider
4
Internet Protocol Suite Application layer BGPBGP, DHCP * DHCPv6, DNS, FTP, HTTP, IMAP, IRC, LDAP, MGCP, NNTP, NTP, POP, RPC, RTP, RTSP, RIP, SIP, SMTP, SNMP, SOCKS, SSH, Telnet, TLS/SSL, XMPP, more...DHCPDHCPv6DNSFTPHTTPIMAPIRCLDAPMGCPNNTP NTPPOPRPCRTPRTSPRIPSIPSMTPSNMPSOCKSSSHTelnet TLS/SSLXMPPmore... Transport layer TCPTCP, UDP, DCCP, SCTP, RSVP, more...UDPDCCPSCTPRSVPmore... Internet layer IPIP, IPv4, IPv6, ICMP, ICMPv6, ECN, IGMP, IPsec, more...IPv4IPv6ICMPICMPv6ECNIGMPIPsecmore... Link layer ARP/InARPARP/InARP, NDP, OSPF, Tunnels, L2TP, PTPP, Media access control, Ethernet, DSL, ISDN, FDDI, DOCSIS, more...NDPOSPFTunnelsL2TPPTPPMedia access control EthernetDSLISDNFDDIDOCSISmore...
5
POS Software Architecture Web Service Layer Middleware Layer OS Layer Hardware Layer Windows, Linux, Android, iOS, Windows Phone MAD TIBS Other Communication : Desktop (Ethernet card, Wireless card), Mobile (Cellular phone module, Wi-Fi module) Computing: x86-64, x86, ARM API : Push/Pull, POS list, File System (Store files) Database (Triple Store) Web Service POS XML/JSON Application Layer
6
POS Application POS Application Web API service:Push/Pull
7
What kind of API services POS need to provide? Web Service API ? API Libraries of each Platform?
8
POS Web Service API v1 http://{IP of Domain}/api/v1/ Communication with other POS GET api/v1/pos GET api/v1/pos/:id POST api/v1/push?pos_id={:id}&pubsub_mode POST api/v1/pull?pos_id={id} Categories of Files GET api/v1/file/categories POST api/v1/file/categories POST api/v1/file/categories/:id PUT api/v1/file/categories/:id Access Files PUT api/v1/
9
POS SDK - Storage Device with USB connection Storage Device with USB connection: Flash Drive, Memory Card, Hard Drive External, etc. Main Feature Detection of connected storage device. Transfer data files into connected storage device. Transfer data into selected connected storage device or all connected storage device. Remove connected storage device. Remove selected connected storage device or all connected storage device. OBSOLETE
10
POS SDK - Bluetooth Data Transfer (1 of 3) Bluetooth advertising generally is a broadcast function. Method of mobile marketing to deliver content: message, information or advertisement, To Bluetooth enabled devices: Mobile devices, Tablet, and Computer OBSOLETE
11
POS SDK - Bluetooth Data Transfer (2 of 3) Bluetooth Protocol Stack https://today.java.net/article/2004/07/26/getting-started-java-and- bluetooth https://today.java.net/article/2004/07/26/getting-started-java-and- bluetooth Software or firmware component that has direct access to the Bluetooth device. Every vendor handles stack initialization differently. Need Bluetooth Broadcasting device with simultaneous connection. http://devicegate.en.alibaba.com/product/456863372- 210127745/Bluetooth_Broadcast_Standalone_Device.html http://devicegate.en.alibaba.com/product/456863372- 210127745/Bluetooth_Broadcast_Standalone_Device.htmlOBSOLETE
12
POS SDK - Bluetooth Data Transfer (3 of 3) Main Feature Discovering Bluetooth Devices. Pairing Bluetooth Devices. Transfer Data into Bluetooth Devices. Auto Disconnect. OBSOLETE
13
POS requirements specification Platform: Windows(7, 8, 8.1), GNU/Linux (x86 and x86-64, RPM and DEB based Linux distributions) Android(2.3 or higher) iOS(7 or higher) Windows phone(7 or higher) Local physical connection: Universal Serial Bus(USB), Bluetooth, Wifi Hotspot Feature: It provides communication and storage capabilities. It communication with other POS by TCP/IP[at least support HTTP] Protocol. It provides Web Services API(Restful API) and Library(SDK) for application, such as MAD, TIBS, etc,. Option: Display(Monitor) OBSOLETE
14
OBSOLETE
15
OBSOLETE
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.