Gam Documentation

19
GAM Documentation Chien-Hsun Chen, Hsun-Cheng Lin, Hao Wang, Heng-Yi Shen

description

GAM document for ADC

Transcript of Gam Documentation

Page 1: Gam Documentation

GAM Documentation

Chien-Hsun Chen, Hsun-Cheng Lin, Hao Wang, Heng-Yi Shen

Page 2: Gam Documentation

Outline GAM System

System overview Software components on android

Content Providers Algorithms Features

Page 3: Gam Documentation

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.

Page 4: Gam Documentation

Software Components on Android

GAM

MyRecentCall ShareContactList Policy

ShareContactProvider TrustProvider

Android API

Page 5: Gam Documentation

Outline System Overview Content Providers

Share Contact Provider Trust Provider

Algorithms Features

Page 6: Gam Documentation

Content Provider

GAM provider two provider: “Share Contact ProviderShare Contact Provider”

and “Trust ProviderTrust Provider” provide identity service for others

application.

Page 7: Gam Documentation

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

Page 8: Gam Documentation

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

Page 9: Gam Documentation

Outline System Overview Content Providers Algorithms

Search algorithm Personal trust algorithm Public rate algorithm

Features

Page 10: Gam Documentation

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

Page 11: Gam Documentation

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

Page 12: Gam Documentation

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 ,

Page 13: Gam Documentation

Outline System Overview Content Providers Algorithms Features

Star & Bomb Growing flower Group Contact list Comments Privacy policy

Page 14: Gam Documentation

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

Page 15: Gam Documentation

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

Page 16: Gam Documentation

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

Page 17: Gam Documentation

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

Page 18: Gam Documentation

Feature 5: Comments Search comments in GAM

Step 1. Select the phone number

Step 2. Select the comment

Step 3. See the comment details

Page 19: Gam Documentation

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