OPSN: Open Portable Social Network
Upcoming SlideShare
Loading in...5
×
 

OPSN: Open Portable Social Network

on

  • 5,017 views

OPSN: Open Portable Social Network

OPSN: Open Portable Social Network

Statistics

Views

Total Views
5,017
Views on SlideShare
5,007
Embed Views
10

Actions

Likes
9
Downloads
213
Comments
0

1 Embed 10

http://www.linkedin.com 10

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

OPSN: Open Portable Social Network OPSN: Open Portable Social Network Presentation Transcript

  • OPSN Open Portable Social Network Version 0.0.1 2008-1-8 http://opsn.net/ Robert Mao (zhihong.mao@gmail.com)
  • TOC
    • What is OPSN
    • OPSN user cases
    • OPSN explained
    • OPSN APIs
    • OPSN prototype
  • What is OPSN?
    • OPSN is an open, decentralized, free framework for user centric social network data management and service providing
    • OPSN stands for “ O pen P ortable S ocial N etwork”
      • Openness
      • Data portability
      • Decentralized
  • Why portability matter?
    • Best refer to: http://microformats.org/wiki/social-network-portability
    • OPSN is a solution that follow the above social network portability movement
    • OPSN try the best not to reinvent wheels, it adopt work together with many current standards and data formats
  • What OPSN is not
    • OPSN ONLY provide the data related to the contacts, it
      • Is NOT anything related on user authentication (OpenID is focused on user authentication, OPSN works well with OpenID)
      • Is NOT a social aggregator or other social application, though we may implement a simple social aggregator in the prototype to demonstrate an application build on top of OPSN service
  • OPSN user cases
  • User cases #1
    • Mary have a blog, a flickr account, a linkedin account, a twitter account … She have too many “friends” in different places, she has been tired of invite “friends” and approve “friends” requests from time to time, she wish to manage all her contacts in one place that she can view, modify, control, backup them with no hassle
    • Mary decide to add a OPSN module in her personal website, she import all her friends list into her own OPSN service, so she can rule all of them in one places
    • Mary can easily import contacts from hCard enabled sites, such as twitter, flickr, she have some difficulty to import from some social networks such as facebook
    • During Mary import the contacts, her OPSN module scan all contacts she added to see if it also support OPSN, if it does support OPSN a notification will be sent automatically to notify that contact he/she has been added into Mary’s OPSN module.
  • User cases #2
    • Mary found a new interesting vertical social network named doppr.com which support OPSN and oAuth, after she sign in the new service, she simply fill in her own OPSN URI and ask it import contacts from OPSN
    • The site redirect her browser to Mary’s own site, Mary’s own site prompt mary to enter her credential to sign in, after she sign in, a prompt message ask her if she authorize dopper.com to import some of her data.
    • Mary select part of her profile data, and two groups of her contacts which tagged as “friends” and “classmates” and the click “authorize”
    • Mary site redirect back her to doppr.com, doppr.com show a progress bar of importing her data, after a few minutes, mary found her profiles data and friends lists she decided to select appeared in doppr.com’s service, she even found some of her friends are already in dopper.com and she connected with them automatically.
  • User cases #3
    • Mary feel it’s boring to maintain her own web server, she decided to host everything outside but keep her own personal URI.
    • Mary found a OPSN service provider named MyOPSN.com, it can host OPSN service for any one for free. Mary sign in MyOPSN with her OpenID, and then she entered her OPSN URI to ask MyOPSN import all data from her original OPSN module.
    • Mary was redirect to her own site to authorize, after she authorized the operation, all her previous social network data was migrated to MyOPSN.com.
    • Mary add a delegate link to her personal URI’s output, all her previous connection which established by her previous OPSN module remain exactly the same with the new OPSN provider. Mary know she can switch the OPSN service from myOPSN.com at any time without any data loss.
  • OPSN explained
  • OPSN Overview
    • Data
      • User’s contact data
      • Contact list
        • Use tags to group contacts
        • Not all contacts should represent a OPSN endpoint
    • Service
      • Publish data (based on authorization)
      • Auto synchronize contact list’s update
    User A
    • User B
    • User C
    OPSN endpoint
  • Basic concepts and assumptions
    • OPSN Endpoint
      • An URI which contain the Implementation of OPSN APIs
      • An URI which contain the delegate link to a OPSN endpoint
    • Contact in OPSN
      • OPSN contact is a single-direction link to the contact
      • When a new contact is added, OPSN service will scan if this contact contain an OPSN endpoint, if so, a notify will send to that endpoint (unless user don’t wish to send)
  • OPSN Building blocks
    • Data format
      • Microformats
        • hCard
        • XFN
      • APML
      • OPML
    • Authentication
      • oAuth
  • OPSN may use…
    • OPSN may use or work together with following standard/protocol/format, however they are not the building blocks of OPSN, and OPSN will not depend on them
      • OpenID
      • RSS
  • OPSN is user centric
    • Each user have their own OPSN data, there is no single shared information between different users
    • OPSN maintains the user’s own information as a “master copy” and publish them to others
    • OPSN maintains all the contacts data as a local copy, even if those data was synchronized from other location
    • OPSN’s contact data can also be published
  • OPSN is decentralized
    • OPSN is completely decentralized
    • Special OPSN service can serve for many users, however
      • each users in such service is still individual logically
      • Users hosted in same service provider should interact to each other in same manner
  • Inter-op through OPSN User A User B User C
    • User B
    • User C
    • User A
    • User C
    OPSN endpoint OPSN endpoint OPSN endpoint
  • How about data out of sync?
    • Since contact data are “local copy”, they can be out of sync
    • Out of sync data doesn’t really matter too much, think about the real life, your contact data could be out of sync too
    • OPSN to rescue:
      • OPSN service support “automatic synchronize” by subscribe to another OPSN endpoint
      • An endpoint can control if it allow another endpoint to subscribe to its change (and the policy can be changed any time)
  • OPSN and Real life
    • The way OPSN organize data is very similar to the real life
      • User own all of their contact data (e.g. in an address book, name card holders )
      • All contact data is a piece of local data , the local data could be out of synchronized
      • User have full control of their contact data (delete it, save it, update it, put in different groups, even publish to others , etc)
  • Whose data?
    • Does the data in your contact list belong to you?
      • OPSN’s answer is YES, absolutely!
      • In real life, it’s also YES! You can tell anyone what ever you have in your address book! (though rare people may do that)
      • Once some one shared their contact data to you, it’s your local copy of data !
  • So how about the privacy?
    • OPSN adopt oAuth ( http://oAuth.net ) to authorize what part of the data allow to be accessed from outside
    • You can control the privacy of your own data, but you can NOT control others, you can stop some crazy guys publishing your data once you give your data to them
    • In the real life, it’s exactly the same situation.
  • Delegate
    • Inspired by the design of OpenID, OPSN support “delegate”:
      • You can delegate your OPSN service point to another OPSN service, it could be an OPSN server which designed to host many users
      • Delegate is simple, just add a few lines in your URI
    <link rel=“OPSN:delegate” type=“application/xml+OPSN” href= http://some_opsn_server/someuser title=“OPSN delegate”/>
  • Delegate User A User B User B
    • User B
    • User C
    • User A
    OPSN endpoint OPSN endpoint Delegate <link rel=“OPSN:delegate” type=“application/xml+OPSN” href= http://some_opsn_server/someuser title=“OPSN delegate”/>
  • Process of OPSN operation
    • Local operations
      • Add / Edit / Query / Delete
    • Operations which require inter-op
      • Request for social network data
        • Owner profile
        • Contact list
        • Contact’s profile
      • Notification of been added
  • OPSN Add Mary click “add me” and input her OPSN URI Robert’s site Mary’s site contain OPSN endpoint meta info Mary’s own site Robert’s site redirect browser to Mary’s own site Robert’s public profile was grabbed and displayed, Mary add some of her notes and click “save” Robert’s OPSN endpoint provide Robert’s public hCard Robert was added as Mary’s contact and redirect back to Robert’s site A notify from Mary was send to Robert, so Robert will know he has been added by mary Mary continue her surf on Robert’s site Browser flow Data flow
  • OPSN Import Mary sign in the new service and enter her OPSN to import her social data A new social network site Mary’s own site Mary’s site contain OPSN endpoint meta info The site discovered mary’s OPSN endpoint and prepared an oAuth request and redirect mary to her own site Mary sign on her own site Mary authorize the request and select the data she permit for import The site request the social network data from Mary’s OPSN endpoint, and import it into it’s own database. Mary’s OPSN service provide data as mary approved Mary continue use the service, all her friends has been added!
  • OPSN APIs
  • (TBD)
  • OPSN Prototype
  • Prototype
    • An OPSN server
      • Can host many users
      • Provide some additional features for easy blog intergration
    • Build on Microsoft ASP.NET MVC technology
      • http://www.codeplex.com/opsn
    • With OPSN prototype server, we can very easily turn any blog into a decentralized social network
  • Features
    • Basic social network / contact management
      • Add contacts
      • Edit contacts
      • Delete contacts
      • Query contacts
    • Import from other social network
      • Support import hCard from any social network
      • Flexible pluggable architect to allow implement import from none-microformats social networks in the future
    • OPSN Service endpoint
      • APIs
      • Delegate support
      • Automatic synchronize
    • Blog widgets
      • My widgets
      • Friends list
      • Friend life stream
  • Others
    • Use OpenID as authentication
    • Use oAuth as authorization framework (to be done)
  • Screen shots Import from any hCard sites Login with OpenID
  • Screen shots My hCard Friends list Turn a blog into a social network by simply add some widgets