smart device solution
TRANSCRIPT
Smart Device SolutionDing Xiang
System Architecture
iPad,Android Pad, Surface, etc
iPhone, Android Phone,Windows Phone,Blackberry,Firefox Phone,etc
Smart TV,
STB,etc
Proxy Servers Service Serversrequest
request
request In the same lan network
What should proxy servers do?• detect the client's user-agent to find the browser's type fr
om the request.(javascript,etc)• detect the client's screen size from the request.(javascrip
t,etc)• select and use the right css for the client by use the use
r-agent and screen size info.(javascript,etc)• access the service servers cross the local lan and create
a page for the client.(java,jsp, php, etc)
Merit• No need to implement the business logic at the client side, the client side on
ly need to be a input device to deal with the hardware such as camera, gps, senser, etc.
• Common interface for each kind of device that have a browser(web view), the architecture is simple.
• Easy to extend, for new smart device which have a browser(webview), only need to add a css and the detect case at the proxy server side.
• Better performance. Because the heavy logic process such as sort the data list, arrange the layout, etc will be done at the proxy server side. The only thing the client side need to do is just to show the result.
• Can use same UI layout for all kinds of devices.• Easy to support HTML5 for extend, just change the proxy server side.• The maintenance is easy, if the service server side has some update, no ne
ed to update the app side, just update the proxy server side.