×

Method for Achieving P2P Communication on Webpage

  • US 20120059879A1
  • Filed: 07/12/2011
  • Published: 03/08/2012
  • Est. Priority Date: 07/02/2010
  • Status: Abandoned Application
First Claim
Patent Images

1. A method for achieving P2P communication on a webpage, the method comprising the steps of:

  • 1) accessing a webpage by a user, calling an interface of a flash plug-in to connect with a socket server, connecting with a stratus server via a netconnection to acquire a key, establishing a connection netconnection and monitoring received messages by the flash, wherein the netconnection being a variable name;

    2) sending a username and the key of a source user to the socket server by the flash and storing the username and the key of the source user by the socket server;

    3) calling the interface of the flash to send a message including a username of a target user to the socket server by Javascript codes on the webpage of the source user, receiving the message sent by the source user and returning the key corresponding to the username of the target user to the flash on the webpage of the source user by the socket server, and sending a message out via the netconnection and the key of the target user by the flash on the webpage of the source user; and

    4) calling a javascript interface on the webpage of the target user to display the message on the webpage of the target user after a flash of the webpage of the target user receives the message.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×