Gam Documentation


Published on

GAM document for ADC

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Gam Documentation

  1. 1. GAM Documentation Chien-Hsun Chen, Hsun-Cheng Lin, Hao Wang, Heng-Yi Shen
  2. 2. Outline <ul><li>GAM System </li></ul><ul><ul><li>System overview </li></ul></ul><ul><ul><li>Software components on android </li></ul></ul><ul><li>Content Providers </li></ul><ul><li>Algorithms </li></ul><ul><li>Features </li></ul>
  3. 3. System Overview With Android Open Platform, GAM raise a social network cross different handset. Because the system incompatible of mobile, it is impossible before. GAM is client – server based application. Using server to sharing information and holding event.
  4. 4. Software Components on Android GAM MyRecentCall ShareContactList Policy ShareContactProvider TrustProvider Android API
  5. 5. Outline <ul><li>System Overview </li></ul><ul><li>Content Providers </li></ul><ul><ul><li>Share Contact Provider </li></ul></ul><ul><ul><li>Trust Provider </li></ul></ul><ul><li>Algorithms </li></ul><ul><li>Features </li></ul>
  6. 6. Content Provider <ul><li>GAM provider two provider: “ Share Contact Provider ” and “ Trust Provider ” provide identity service for others application. </li></ul>
  7. 7. Content Provider – Share Contact Provider <ul><li>“ Share Contact Provider” </li></ul><ul><ul><li>Record user’s comment and contact status </li></ul></ul><ul><ul><li>Provide public rate and personal trust of contact </li></ul></ul>Id Nick Number Label Status Comment Bomb Star Trust Rate Time Integer Contact Name Contact Number Friend, Family, Coworker Update status User’s comment for contact Marked bomb or not Marked star or not User’s trust rate for contact Contact public rate Comment create time Uri Usage /contact/# Return contact by id /label/# Return contact by label /sync Update Contact List to Server
  8. 8. Content Provider – Trust Provider <ul><li>“ Trust Provider ” </li></ul><ul><ul><li>provide path info , trust of this comment </li></ul></ul><ul><ul><li>provide public rate of this comment writer </li></ul></ul>Id Introducer Number Path Comment Rank Bomb Star Time Rate Status Integer Introducer’s number Asked number Social relationship path Comment for asked number Personal trust rank Bomb number Star number Comment created time Public rate of this number Read, Unread Uri Usage /trust Return trust of each number (group by number) /renew/* Return trust by number /trust/# Read a comment /sync Update trust status to server
  9. 9. Outline <ul><li>System Overview </li></ul><ul><li>Content Providers </li></ul><ul><li>Algorithms </li></ul><ul><ul><li>Search algorithm </li></ul></ul><ul><ul><li>Personal trust algorithm </li></ul></ul><ul><ul><li>Public rate algorithm </li></ul></ul><ul><li>Features </li></ul>
  10. 10. Algorithm 1 : search algorithm <ul><li>Asker sends the request with phone number to all contacts </li></ul><ul><li>Receiver check the relationship with asker </li></ul><ul><ul><li>Search inside personal comments base on policy </li></ul></ul><ul><ul><li>Forward the request base on policy </li></ul></ul><ul><li>Asker receives many comments </li></ul>Asker Receiver Request Response comment Decide willing to Forward it or not
  11. 11. Algorithm 2: personal trust algorithm <ul><li>Each contact has a “ trust value ” to show the user’s personal trust of it. It updated by system automatically. It depends on the frequency that user choose which contact to be his social network introducer. Introducers are those who are already in the contact list and provide social network information to the user. </li></ul><ul><li>Comments provider by GAM Trust provider are order by trust rank. Trust rank is determined by the path of trust weighted social relationship between user and the request number. </li></ul><ul><li>For example: </li></ul><ul><ul><li>If a user gets a comment from path p0-p1-p2-p3. In which p0 is the user, p3 is the target number and p1 is a introducer. The personal trust of this comment is decided as: </li></ul></ul>P0 User P1 Introducer P2 Comment Provider P3 Asking number
  12. 12. Algorithm 3: public rate algorithm <ul><li>Each comment has a “representative value” to show how often it is read. The value is updated by system automatically. </li></ul><ul><li>The public rate of a certain contact is the average of representative values of comments written by the contact. </li></ul><ul><li>This public rate show for public to encourage comment writing. </li></ul>
  13. 13. Outline <ul><li>System Overview </li></ul><ul><li>Content Providers </li></ul><ul><li>Algorithms </li></ul><ul><li>Features </li></ul><ul><ul><li>Star & Bomb </li></ul></ul><ul><ul><li>Growing flower </li></ul></ul><ul><ul><li>Group </li></ul></ul><ul><ul><li>Contact list </li></ul></ul><ul><ul><li>Comments </li></ul></ul><ul><ul><li>Privacy policy </li></ul></ul>
  14. 14. Feature 1: Star & Bomb <ul><li>User can set personal trust to each contact </li></ul><ul><ul><li>Star – I trust this contact’s comments </li></ul></ul><ul><ul><li>Normal – no preference </li></ul></ul><ul><ul><li>Bomb – I don’t trust this contact’s comments </li></ul></ul><ul><li>Personal trust </li></ul><ul><ul><li>helps ranking comments from all contacts </li></ul></ul><ul><ul><li>provides reference for members of social circle </li></ul></ul>Star Normal Bomb
  15. 15. Feature 2: Growing Flower <ul><li>System calculates the total hits of all comments provided by one contact </li></ul><ul><ul><li>monotonously increases when any comments provided by this contact are viewed </li></ul></ul><ul><ul><li>Keeps growing from seed to bloom </li></ul></ul><ul><ul><li>Encourages users to share more comments </li></ul></ul><ul><li>Public Confidence </li></ul><ul><ul><li>helps ranking comments </li></ul></ul><ul><ul><li>provides reference for all users in GAM </li></ul></ul>
  16. 16. Feature 3 : Group <ul><li>Group represents the relationship between user and contact </li></ul><ul><ul><li>Set by user </li></ul></ul><ul><ul><li>Three kinds of relationship </li></ul></ul><ul><ul><ul><li>family, friend, and coworker </li></ul></ul></ul><ul><ul><li>Contact could belong to multiple groups </li></ul></ul><ul><ul><ul><li>Color mixing </li></ul></ul></ul><ul><ul><ul><ul><li>family & friend </li></ul></ul></ul></ul><ul><ul><ul><ul><li>family & coworker </li></ul></ul></ul></ul><ul><ul><ul><ul><li>friend &coworker </li></ul></ul></ul></ul>
  17. 17. Feature 4: Contact list <ul><li>List the contacts by groups </li></ul><ul><ul><li>Family , friend , and coworker </li></ul></ul><ul><ul><li>Local contact </li></ul></ul><ul><ul><ul><li>The contacts in your cell phone </li></ul></ul></ul><ul><ul><li>Stranger </li></ul></ul><ul><ul><ul><li>The phone numbers in your call log but not belong any above groups </li></ul></ul></ul><ul><li>A contact might be found in several groups </li></ul>
  18. 18. Feature 5: Comments <ul><li>Search comments in GAM </li></ul>Step 1. Select the phone number Step 2. Select the comment Step 3. See the comment details
  19. 19. <ul><li>Setting policy between group </li></ul><ul><ul><li>Arrow </li></ul></ul><ul><ul><ul><li>Control the limit of distance for request forward and response. </li></ul></ul></ul><ul><ul><li>Sync </li></ul></ul><ul><ul><ul><li>Sync configure data with server manually </li></ul></ul></ul><ul><ul><li>Save </li></ul></ul><ul><ul><ul><li>Save configure setting. </li></ul></ul></ul>Feature 6: Private policy 3 2 1