Gam Documentation
-
Upload
chien-hsun-chen -
Category
Technology
-
view
306 -
download
0
description
Transcript of Gam Documentation
GAM Documentation
Chien-Hsun Chen, Hsun-Cheng Lin, Hao Wang, Heng-Yi Shen
Outline GAM System
System overview Software components on android
Content Providers Algorithms Features
System OverviewWith AndroidAndroid 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.
Software Components on Android
GAM
MyRecentCall ShareContactList Policy
ShareContactProvider TrustProvider
Android API
Outline System Overview Content Providers
Share Contact Provider Trust Provider
Algorithms Features
Content Provider
GAM provider two provider: “Share Contact ProviderShare Contact Provider”
and “Trust ProviderTrust Provider” provide identity service for others
application.
Content Provider – Share Contact Provider
““Share Contact Provider” Share Contact Provider” Record user’s comment and contact status Provide public ratepublic rate and personal trust personal trust of contact
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
Contactpublic rate
Comment create time
Uri Usage
/contact/# Return contact by id
/label/# Return contact by label
/sync Update Contact List to Server
Content Provider – Trust Provider “Trust ProviderTrust Provider”
provide pathpath infoinfo, trusttrust of this comment provide public rate public rate of this comment writer
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
Outline System Overview Content Providers Algorithms
Search algorithm Personal trust algorithm Public rate algorithm
Features
Algorithm 1 : search algorithm Asker sends the request with phone number to all
contacts Receiver check the relationship with asker
Search inside personal comments base on policy Forward the request base on policy
Asker receives many comments
Asker Receiver
Request
Response comment
Decide willing to Forward it or not
Algorithm 2: personal trust algorithm Each contact has a “trust valuetrust 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.
Comments provider by GAM Trust provider 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.
For example: 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:
2
0
,2
,,, 14
31
3210k
pppppp
kktrustk
trustP0
User
P1Introducer
P2 Comment Provider
P3Asking number
Algorithm 3: public rate algorithm Each comment has a “representative value” to show how often it is read.
The value is updated by system automatically.
The public rate of a certain contact is the average of representative values of comments written by the contact.
This public rate show for public to encourage comment writing.
kii tiverepresentaavgrate ,
Outline System Overview Content Providers Algorithms Features
Star & Bomb Growing flower Group Contact list Comments Privacy policy
Feature 1: Star & Bomb User can set personal trust to each contact
StarStar – I trust this contact’s comments NormalNormal – no preference BombBomb – I don’t trust this contact’s comments
Personal trust helps ranking comments from all contacts provides reference for members of
social circle
Star Normal Bomb
Feature 2: Growing Flower System calculates the total hits of all commentstotal hits of all comments provided
by one contact monotonously increases when any comments provided by this
contact are viewed Keeps growing from seed to bloom Encourages users to share more comments
Public Confidence helps ranking comments provides reference for
all users in GAM
Feature 3 : Group Group represents the relationship between user and
contact Set by user Three kinds of relationship
family,family, friend, friend, and coworkercoworker
Contact could belong to multiple groups Color mixing
family & friendfamily & friend family & coworkerfamily & coworker friend &coworkerfriend &coworker
Feature 4: Contact list List the contacts by groups
FamilyFamily , friendfriend , and coworkercoworker Local contactLocal contact
The contacts in your cell phone
StrangerStranger The phone numbers in your call log
but not belong any above groups
A contact might be found in several groups
Feature 5: Comments Search comments in GAM
Step 1. Select the phone number
Step 2. Select the comment
Step 3. See the comment details
Setting policy between group Arrow
Control the limit of distance for request forward and response.
Sync Sync configure data with server manually
Save Save configure setting.
Feature 6: Private policy
321