Portions of the documentation in this patent document contain material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure as it appears in the Patent and Trademark Office file or records, but otherwise reserves all copyright rights whatsoever.
The present invention relates generally to a system and method for maintaining presence and communicating over a computer network using the HTTP protocol. More particularly, the present invention relates to a system and method for maintaining communications information reflecting current online presence including dynamic session information as determined using the HTTP protocol and using the communications information to facilitate communication over the computer network.
The usage of computer networks, particularly the Internet, has grown dramatically and is expected to continue to grow at a rapid pace. This surge in network usage has brought with it a corresponding increase in the prevalence and importance of real-time network communications methods such as instant messaging/type chat, voice over Internet protocol (VoIP) and video over Internet protocol. These methods and similar ones will play an increasingly important role in the way computers and people communicate.
In order for two computers to communicate using the Internet, a calling computer must know or be able to discover at least an Internet Protocol UP) address of a callee. The Domain Name System (DNS) facilitates this process by resolving (i.e., translating or converting) a “friendly name” (i.e., a recognizable set of characters rather than a numerical IP address) into a corresponding IP address. Thus, human users generally do not need to know or even see the underlying IP address associated with computers connected to the Internet or other computer networks.
Many Internet users access the network using a personal computer (PC) and an Internet Service Provider (ISP). It is a common practice for an ISP to dynamically assign an IP address that is valid only during the interval in which the PC is connected to the ISP. Furthermore, there is no static identifier associated with the computer and available through DNS. Accordingly, in many instances, users do not know their own dynamically assigned Internet address, nor do they have a DNS name assigned to their computer. As a result, most Internet users are unable to supply any static, unique identifier that can be repeatedly used to establish a communications session with their computer via the Internet.
A mechanism referred to as User Location Service (ULS) provides one solution to this problem. ULS includes a dynamic directory containing records that map some unique user identifier to a currently assigned IP address. ULS places no restriction (other than uniqueness) on the selected static name. Individual computers are responsible for contacting and logging in to a ULS server. The act of logging in causes a new ULS record to be created. The ULS record is deleted when the computer logs out of ULS or fails to continue to refresh its record.
Two significant problems with ULS are its inability to scale and the completely non-standard way in which static names are resolved to IP addresses. Using non-standard name resolution techniques prevents pre-existing applications from accessing intermittently connected devices in an automated manner. For example, a ULS identifier string cannot be resolved by DNS or by an individual's web browser software. Existing applications such as web browsers are typically only able to access resources using local file names, actual IP addresses, and DNS names. To contact intermittently connected devices using prior art techniques, the particular ULS server containing the address must be contacted to resolve the address. Thus, ULS registered devices are typically not directly accessible using many existing applications.
The inability to scale well presents even greater problems. A computer wishing to resolve a ULS name has no way of knowing which ULS site may currently contain the proper record. There is no central authority under which all existing ULS sites may be automatically searched. Consequently, an exhaustive search of all available ULS sites is currently required. Worse yet, there is no current mechanism by which an application can determine the total set of ULS sites on a given day. Thus, newly added sites only further complicate an effort to locate a user having an unknown ULS connection.
Dynamic DNS provides another solution. Dynamic DNS is very similar to ULS, except that dynamic DNS associates a static domain name (e.g., username.thins.net) with a user's currently assigned IP address. As with ULS, the act of logging in to a dynamic DNS system causes a new DNS record to be created associating the user's static domain name with the user's current IP address. The DNS record is deleted when the computer logs out or fails to continue to refresh its record. In this way, a user desiring to communicate with another user logged in to a dynamic DNS system can perform a standard DNS lookup on that user's static domain name to ascertain the user's current IP address.
By replacing the non-standard name resolution techniques of ULS with standard DNS naming, dynamic DNS solved some of the problems inherent in ULS, However, there are still disadvantages to using dynamic DNS as a means of locating and communicating with an intermittently connected user. First, dynamic DNS only provides a user's current IP address. It does not provide complete dynamic session information for a user, including such information as a user's host box identifier, TCP port number on which to be reached, and session ID. Knowledge of a user's complete dynamic session information facilitates the use of multiple possible forms of communication (e.g., type chat, voice, video, etc.).
Second, knowledge of a user's dynamic IP address through dynamic DNS only allows for limited forms of communication. For example, a user can take an IP address and communicate using an H323 protocol communications application such as Microsoft NetMeeting. A user could not, however, type the IP address into a web browser and communicate using the HTTP protocol. The inability to allow HTTP communications is particularly disadvantageous in that HTTP communications can take place even with users located behind firewalls and proxy servers—security measures that are growing more and more prevalent today. By contrast, H323 communications will not easily function through a firewall, unless application modifications are made.
Existing type chat/instant messaging applications are also disadvantageous in that they do not operate using the HTTP protocol. These applications typically require the download of large software programs that operate using proprietary formats that are incompatible with one another, precluding the interoperability of the various applications. Moreover, the applications do not transmit messages using the HTTP protocol. Indeed, some do not even send messages using Transmission Control Protocol/Internet Protocol (TCP/IP), the transport protocol underlying the HTTP protocol and most other Internet transmissions, but instead use User Datagram Protocol (UDP). These type chat/instant messaging applications therefore do not function behind most firewalls and proxy servers.
There is thus a need for a communications system that will allow the association of a static name with a user's complete dynamic session information. There is also a need for a communications system that will facilitate multiple forms of communication with a user given knowledge of only the user's static name. There is also a need for a communications system that will facilitate multiple forms of communication using the HTTP protocol, and thus will allow communication with users and devices located behind firewalls and proxy servers.
Briefly stated, the present invention provides a computer-implemented method of facilitating communication with an entity over a network. In the method, a static HyperText Transfer Protocol (HTTP) Universal Resource Locator (URL) is associated with the entity. The URL is linked with communications information reflecting the entity's current online presence including the entity's dynamic session information as determined using the HTTP protocol. Communication with the entity is facilitated using the URL and the communications information.
In another embodiment, the present invention provides a computer-implemented method of facilitating communication over a network with one or more members of a group of entities, the group comprising a plurality of entities. In the method, a static HTTP URL is associated with the group of entities. The URL is linked with communications information reflecting each of the members' current online presence including each of the members' dynamic session information as determined using the HTTP protocol. Communication with one or more members of the group is facilitated using the URL and the communications information.
In yet another embodiment, the present invention provides a computer-implemented method of determining the current online presence of an entity on a computer network. In the method, a static HTTP URL is associated with the entity. The URL is linked with communications information reflecting the entity's current online presence including the entity's dynamic session information as determined using the HTTP protocol. The current online presence of the entity is determined using the URL and the communications information.
In yet another embodiment, the present invention provides a computer-implemented method for detecting and maintaining an entity's current online presence on a computer network, the network including a host computer. In the method, an HTTP request is sent from the entity to the host computer to initiate an HTTP connection between the entity and the host computer. Next, the request is received at the host computer and a socket is opened and maintained for the HTTP connection with the entity in a non-blocking manner without a new thread being created for the HTTP connection.
Finally, at least one byte of data is sent from the host computer to the socket at a specified interval to keep open the HTTP connection with the entity.
In yet another embodiment, the present invention provides a computer-implemented method for detecting and maintaining the current online presence on a computer network of a plurality of entities, the network including a host computer. In the method, a request is received at the host computer from one of the plurality of entities to establish an HTTP connection. Next, a socket is opened and maintained for the HTTP connection in a non-blocking manner, the socket having a socket file descriptor, with the one of the plurality of entities without a new thread being created for the HTTP connection. Next, the socket file descriptor is added to a socket database, the socket database maintaining a list of open sockets with those of the plurality of entities that are currently online. Finally, at least one byte of data is sent from the host computer to the open sockets in the socket database at a specified interval to keep open the HTTP connections with the plurality of entities.
In yet another embodiment, the present invention provides a computer-implemented method of sending text messages from a first entity to a second entity over a network using HTTP, the network including a host computer. In the method, a socket and an HTTP connection between the second entity and the host computer is established and maintained. Next, a text message is sent from the first entity to the host computer to be delivered to the second entity. Finally, the text message is sent to the second entity from the host computer using the socket and the HTTP connection.
In yet another embodiment, the present invention provides a computer-implemented method of transporting Session Initiation Protocol (SIP) messages from a first entity to a second entity over a network, the network including a host computer. In the method, a socket and an HTTP connection between the second entity and the host computer is established and maintained. Next, a SIP message is sent from the first entity to the host computer to be delivered to the second entity. Finally, the SIP message is sent to the second entity from the host computer using the socket.
Finally, in yet another embodiment, the present invention provides a computer-implemented method of sending text messages from an entity to an Internet enabled wireless device over a network, the network including a host computer. In the method, a communications request is sent to the Internet enabled wireless device from the host computer that includes an URL identifying the host computer. A socket and an HTTP connection between the Internet enabled wireless device and the host computer is established and maintained using the URL. Next, a text message is sent from the entity to the host computer to be delivered to the Internet enabled wireless device. Finally, the text message is sent to the Internet enabled wireless device from the host computer using the socket and the HTTP connection.
The foregoing summary, as well as the following detailed description of preferred embodiments of the invention, will be better understood when read in conjunction with the appended drawings. For the purpose of illustrating the invention, there are shown in the drawings embodiments that are presently preferred. It should be understood, however, that the invention is not limited to the precise arrangements and instrumentalities shown. In the drawings:
Certain terminology is used herein for convenience only and is not to be taken as a limitation on the present invention. In the drawings, the same reference numerals are employed for designating the same elements throughout the several figures.
The present invention is described in the context of a communications system used to facilitate communication with entities over a computer network such as the Internet or an Intranet. The term “entity” is used herein to mean any type of device with any type of an IP connection (e.g., wired, wireless, etc.) to a network. For example, an entity could be an Internet enabled personal computer (PC), laptop, workstation or other type of computer. An entity could also be an Internet enabled wireless telephone, personal digital assistant (PDA) such as a Palm Pilot, or even an appliance or other household device.
Turning to
The backend server 10 contains two databases and, as will be discussed in detail below, runs the presence propagation (PP) system. The first database 24 is used to store persistent information for the communications system. For example, the first database 24 stores the names and mailing addresses of users of the communications system, the users' usernames and passwords for authentication/verification, the list of groups to which users belong (to be explained below), and possibly other user demographic data. The first database 24 also stores information on the groups that have been defined in the communications system, including a list of the groups that have been defined, passwords for those groups that require them, and a list of the members of each group. The first database 24 can be implemented using any database application, such as Oracle or SQL-based databases. Access to the first database 24 can also be managed through any means. For example, in a Java environment, access can be handled using a Java database connectivity (JDBC) interface.
The second database 26 is used to store non-persistent information for the communications system. The second database 26 primarily consists of two data tables. The first data table contains the dynamic session information (to be explained below) for all users that are currently online. The second data table contains a list of all of the groups that currently have members online, and, for each such group, a list of all of the members that are currently online. Since the information in the second database 26 changes often and the information is accessed frequently, the second database 26 is preferably stored as hash tables in the memory of the backend server 10. The second database 26 could be implemented using any database application. The first database 24 and the second database 26 may be combined into a single database, if desired.
The session manager servers 12 interact with the client devices 18 over the network (e.g., Intranet or Internet). The session manager server 12 includes a web server 28, a chat server 30 and a socket handler 32. The session manager servers 12 preferably communicate with the backend server 10 using an inter-process communications protocol such as Remote Method Invocation (RMI). CORBA could also be used, as could any other communications protocol.
The web server 28 is used to serve web pages and their components to a web browser or other application on a client device 18. The web server 28 can be implemented in any programming language, but is preferably implemented as a Java Web Server (JWS) using, for example, Apache/Resin or WebLogic.
The chat server 30 is used to maintain the online presence (i.e., heartbeat) of client devices 18 through an HTTP connection between the client device 18 and the chat server 30. The chat server 30 is also used to send messages to and receive messages from the client device 18 through the HTTP connection. The chat server 30 can be implemented in any programming language, but is preferably implemented as a Java. servlet. Moreover, although shown as a separate process from the web server 28, the chat server 30 and the web server 28 can be combined into a single application.
The chat server 30 also includes a socket handler 32. As xviii be explained in detail below, the socket handler 32 is used to establish and maintain an HTTP connection between the chat server 30 and the client device 18 without the need of creating a new thread. Accordingly, the chat server 30 can maintain HTTP connections with many client devices 18 using very little overhead. The socket handler 32 can be implemented in any programming language, but is preferably implemented using C++.
One or more session manager servers 12 can be used in the communications system of the present invention. The number of session manager servers 12 used will depend on the anticipated number of users of the system. The higher the level of anticipated users, the more session manager servers 12 that should be used. With server hardware such as a standard Unix server, such as, for example, a Sun E450, it is anticipated that each session manager server 12 can support up to approximately 10,000 simultaneous users.
Any server hardware may be used for the backend server 10 and the session manager servers 12. Preferably, Unix servers are used. Moreover, although shown as separate servers in
The session manager servers 12 are preferably connected to the Internet or other network using a load balancer 14 and a firewall 16. The load balancer 14 distributes network traffic among the session manager servers 12 so that none of the session manager servers 12 become overburdened. Any conventional load balancer can be used for the load balancer 14, such as, for example, a Foundry Server Iron. The firewall 16 provides security for the session manager servers 12 and the backend server 10, preventing unauthorized access to the servers over the network. Any combination of firewall software and/or hardware can be used for the firewall 16, such as, for example, Check Point Fire Wall.
The gateway 20 is used to provide access to a telephony network. Using the gateway 20, voice data from the communications system of the present invention, such as VoIP, can be sent through a telephony network to a telephone 22. Thus, users of the communications system are able to initiate telephone calls from client devices 18. Any existing gateway technology may be used for the gateway 20, such as, for example, Cisco VoIP routers.
Finally, the client devices 18 are the users of the communications system. As noted above, the client devices 18 can be any entity—namely any type of device with any type of an IP connection (e.g., wired, wireless, etc.) to a network. For example, as shown in
The client devices 18 preferably access the communications system either through a web browser 34 or through a download application 40. First, the communications system can be accessed through any web browser 34, such as Internet Explorer or Netscape Navigator or a Wireless Markup Language (WML)/Handheld Device Markup Language (HDML) browser on an Internet enabled wireless device. As will be explained in detail below, the web browser 34 can display web pages 36 served from the web server 28. Additionally, an applet 38 running on a web page 36 communicates with the chat server 30. The applet 38 is tied to a particular web page 36, and is preferably contained in a hidden frame in the web page 36. It is also possible to use any other functionality in place of the applet 38, such as, for example, an ActiveX control, to communicate with the chat server 30.
Alternatively, a download application 40 can be installed on a client device 18 to allow the client device 18 to access the communications system. The download application 40 has two components. First, the application 40 needs to be able to display web pages 42 served from the web server 28. This can be accomplished either by launching a web browser already resident on the client device 18 or by providing a new application capable of interacting with the web server 28. The download application 40 also contains a CCHAT application 44 that communicates with the chat server 30. The CCHAT application 44 is preferably written in C, although can be written in any programming language, and serves the same function as the applet 38. Unlike the applet 38, however, the CCHAT application 44 is not linked to a particular web page 42.
Now that the overall architecture of a preferred embodiment of the communication system of the present invention has been described, the functionality of the communication system will be discussed. First, the process by which a user establishes and maintains online presence will be discussed.
Initially, a user must register with the communications system. In particular, the user must pick a username and password that will be used to allow the user to log into the system and thus maintain his presence on line. Additionally, the user's username will be used to allow others to communication with the user. For example, as discussed below, the HTTP URL http://pxcall.com/username will allow anyone, whether or not they are registered to use the communications system, to communicate with the user.
Once a user has registered with the communications system, the user can exploit the system.
It is also possible to maintain a user's presence (i.e., heartbeat) using HTTP in different manners. For example, multiple HTTP requests can be used to maintain presence by having the applet 38 make periodic HTTP requests to the session manager 12 to establish and maintain the online presence of the user.
Alternatively, the above process can be automated if the client device 18 is using the download application 40. For example, the client device 18 can be set up so that the CCHAT application 44 executes when the client device 18 is turned on. The CCHAT application 44 can then automatically log the client device 18 into the system and then initiate the HTTP request to open an HTTP connection once the CCHAT application 44 receives the session ID from the session manager server 12.
To avoid the overhead associated with the creation of new threads, the communication system of the present invention uses the AltSock socket handler 32. The AltSock socket handler 32 is a shim that handles the open socket request instead of the API 48. The low-level socket process 46 hands the open socket request to the AltSock socket handler 32. The AltSock socket handler 32 accesses the socket simply by referencing its file descriptor in the socket table in the memory of the chat server 30, rather than creating a new thread to maintain and access the socket. Thus, there only needs to be a single thread to access all of the sockets, and thus all of the users, handled by the chat server 30 in a non-blocking manner. Using the socket handler 32, a typical session manager server 12 can handle 10,000 simultaneous users.
The chat server 30 maintains a table in memory of all of the users that are online that it is hosting. For each username, the table contains the socket file descriptor of the HTTP connection for that user, as well as a counter that is used to keep the HTTP connection open. The table also preferably contains the user's dynamic session information, which will be explained below. When a user logs into the system and the socket handler 32 receives an open socket request, a new entry is added to the table in the memory of the chat server 30 reflecting the new user, including dynamic session information, socket file descriptor, and a counter initialized to its start value. As will be discussed below, the username and dynamic session information is also passed to the presence propagation (PP) system so that others will be able to determine whether or not the user is online, and, if so, will be able to communicate with the user.
There are thus three ways that a user can be logged out after having logged into the communications system. First, if the user intentionally logs off of the network (e.g., by clicking on a logout link or closing a web browser 34 or CCHAT application 44), a message can be sent from the client device 18 to the chat server 30 to log the user out. If, however, a logout message is not sent to, or not received by, the chat server 30, the user can still be logged out when the chat server determines during a polling interval that the socket associated the user is no longer open or determines during a keep-alive interval that it cannot write to the socket associated with the user.
In the above-described process, the HTTP connection with a user serves as a heartbeat to let the chat server 30 know whether or not the user is still online. Since the heartbeat is created and maintained using an HTTP connection, the heartbeat will function behind any proxy server or firewall that allows HTTP traffic. Most firewalls and proxy servers allow such traffic since there is relatively little danger to a network from HTTP transmissions.
Of course, one could implement the HTTP based heartbeat and ● communications using processes other than the presently preferred method described above. For example, a first possible variation incorporates the current implementation without the AltSock socket handler 32. Such a system would still work behind a firewall or proxy. In this variant, the open socket requests are completely handled within the API layer 48, for example within the Java Virtual Machine in a Java implementation, and a new thread is created and maintained for every connection by a client device 18. This method has the undesirable consequence that a given session manager 12 would have to maintain a thread for every connected client device 18.
A second variation uses HTTP as the transport, but uses a different algorithm for heartbeat and connection. In this variation, the user makes periodic HTTP connections to the session manager 12 (perhaps every 5-10 seconds), and the user's presence is determined by the absence of “httping” packets. After a user logs in, periodic “httping” packets are sent to the session manager 12, and a user's presence is deemed online until the packets stop. For example, this system could be implemented by starting a timer when a user logs in. If the timer reaches zero, the user is logged out. Otherwise if a keep-alive/httping packet is received, the timer is reset. This system will work behind a firewall or proxy. However, it is disadvantageous in that there is no way for the session manager 12 to send messages to the user until the user reconnects to the session manager server 12 and provides the connection pipe to communicate. Thus any updates, chats or other messages will be delayed until the next connection cycle. When the user reconnects at the next heartbeat interval, they will receive the messages. More importantly, this system will not scale well at all, as by design it floods itself with TCP connections under large loads.
A third variation uses HTTP to transport some messages, but uses one or more additional TCP connections for additional signaling. In this type of a system, various messages are sent over HTTP transport, and any of the previously mentioned socket handling algorithms or heartbeat mechanisms can be implemented. However, one or more additional TCP connections (such as, for example using Telnet, SSH, or an unassigned TCP Port) is made to the session manager 12, in order to establish authentication, or even to provide heartbeat and message passing. This hybrid HTTP system will not work behind a firewall or proxy without special configurations that compromise the security of the firewall or proxy.
As discussed above, the PP system is notified when a user logs into or out of the communication system. This is important since the PP system running on the backend server 10 plays a central role in the ability of the communications system to allow others to communicate with users of the communications system. The PP system will now be described.
As mentioned above, the second database 26 in the backend server 10 maintains two data tables. The first data table (“UserTable”) maintains a list of the dynamic session information for each user that is currently online. This dynamic session information includes:
User IP—the IP address of the entity (i.e., client device 18) from which the user is logged into the communications system.
The dynamic session information also preferably includes:
The second data table (“GroupTable”) maintains a list of the groups that currently have members online together with a list of the members in each group that are currently online. A group is simply a group of users that has been given a defined name in the communications system and which a user is capable of joining. For example, every user has a personal address book—namely, the user's group of contacts that the user wishes to track the online presence of and communicate with. Additionally, groups can be companies, divisions, clubs, etc. Password protection may be set up in the communications system to prevent unauthorized users from joining groups or, as discussed below, displaying the communications page associated with the group.
Thus, the PP system allows the communication system to track the current online presence of users including the dynamic session information for all online users. The PP system also tracks which groups currently have members online and which members in those groups are currently online. For example,
Next, the use of the online presence information, and particularly the dynamic session information, maintained by the PP system in facilitating communication with users of the communications system will be described.
First, when a user logs into the communications system, a web page 36 or 40 is preferably displayed apart from the applet 38 or CCHAT application 44 that establishes and maintains the presence of the user using an HTTP connection.
Chat is a real-time type chat or instant message capability. It can only be used with a user that is currently online. Thus, in
PC to PC communication is real-time voice and/or video conferencing. In order to use this communications option, a client device 18 must be equipped with a sound card and microphone for voice communication and a video camera for video communication. This option is also only available with users that are currently online (e.g., user1 and user4 in
PC to Phone communication is real-time VoIP communication using the gateway 20 to connect voice communication between a client device 18 and a telephone 22 at a telephone number stored in the first database 24. If a user has selected a telephone number where PC to Phone calls should be directed (which is stored in the first database 24), a box will appear in the web page 50, allowing PC to Phone communication to be selected for that user. For example, in
Finally, the message box, which is available for all users whether or not they are currently online, allows a user to leave a text or voice/video message for the indicated user. The message, after being recorded or typed by the user, will be stored for the recipient in the first database 24. The recipient can then retrieve the message and play it back by clicking on the messages link on the recipient's communications web page 50.
Once the update list for each session manager server 12 is created, the lists are sent to the appropriate session manager server 12. Each session manager server 12 receives the update lists for the member(s) it is hosting and places update messages in an update queue for each member that is stored in the chat server 30. The chat server 30 then sends an HTTP encoded update message to the applet 38 or CCHAT application 44 of each member that has an update message stored in its update queue. If the update list was created from a user joining or leaving a group, a refresh update message is sent to the applets 38 or CCHAT applications 44 instead of an update message. For example, looking again at
The update messages are sent from the chat server 30 to the applet 38 or CCHAT application 44 using the same socket and HTTP connection that have been established to maintain the online presence of the member and, as will be explained below, to send other types of messages such as text messages or SIP messages. The update messages can be of any format, but are preferably of the form “msg update updatetype,” where updatetype represents the type of update to be performed (e.g., update single user presence, update User IP address, refresh page, etc.)
When an applet 38 or CCHAT application 44 receives a refresh update message, the applet 38 or CCHAT application 44 causes the web page 36 or web page 40, respectively, to refresh. When the web server 28 sends the updated web page 36 or 40, it will include a new line for the user that was added to the displayed active group of the member if a user joined the group. If a user left the group, the updated web page 36 or 40 will have deleted the line for the user that was removed from the displayed active group of the member.
If, however, the applet 38 or CCHAT application 44 receives an update message, it is unnecessary to refresh the entire web page, since the users displayed on the communications web page 50 have not changed. Only the online status of the users has changed, and thus only the boxes displayed on the communications web page 50 need to be changed. Accordingly, upon receiving an update message, the applet 38 or CCHAT application 44 calls update.jsp, a hidden frame on the member's communications web page 50. In response, the web server 28 for the member gets the update messages in the update queue for the member from the chat server 30 and dynamically generates a web page containing JavaScript designed to change the images and links associated with the users that have logged in and out on the member's communications web page 50.
For example, looking again at
The web page generated by the web server 28 is then sent to the member, and the JavaScript runs on-load, which executes the dynamic scripts and updates the links and images on the communications web page 50. For example, if the above JavaScript was sent to the communications web page 50 as shown in
The advantage of performing updates in this manner is that the entire communications web page 50 does not need to be refreshed every time a user comes online or offline. This is particularly advantageous when a user has an Active Group displayed that has many members. Of course, a Java applet within the communications web page 50 could also be used to perform updates in this manner, without the use of JavaScript.
PC to wireless device communications is two-way text messaging between a client device 18 and an Internet enabled wireless device. If a user has selected an Internet-enabled wireless device where PC to wireless device communications should be directed (which is stored in the first database 24), a box will appear in the web page 50, allowing PC to wireless device communication to be selected for that user. For example, in
The communications system of the present invention also allows requesters that are not registered users of the communications system of the present invention to communicate with users of the system. Every registered user and group gets at least one unique static HTTP URL which is linked with the dynamic session information stored in the second database 26 of the backend server 10. The HTTP URL can thus be used to determine the current online presence of the user associated with the URL as well as facilitate communication with the user associated with the HTTP URL.
The HTTP URL can take any form so long as it uniquely identifies the user or group. For example:
would all be valid URLs. Additionally, it is possible to have aliases defined, such that multiple HTTP URLs would all be associated with the same user and all perform in the same manner. For example, http://pxcall.com/UserName, http://pxcall.com/UserPhoneNumber and http://pxcall.com/UserEmailAddress could all be associated with the same user and all perform the same when used to determine the current online presence of the user or facilitate communication with the user.
Preferably, the URL is typed into a web browser by the requestor in order for the requester to determine the current online presence of the user associated with the URL or facilitate communication with the user associated with the URL. Of course, the URL can also be used in different manners to achieve the same communication objectives. For example, the URL's can be stored in a user's Favorite List or as Bookmarks. Additionally, the URL's can be placed as hyperlinks on web pages or associated with images or other graphics on web pages and thus can be accessed by clicking on the hyperlink, image or other graphic.
As shown in
If the requester entered the URL of an individual user, a communications web page 50 such as shown in
If the requester entered the URL of a group, a communications web page 50 such as shown in
As shown in
As discussed above, one of the forms of communication facilitated by the communications system of the present invention is type chat/instant messaging. This communication option is presented to registered users on their communications web pages 50 as shown in
Chat messages are sent to the chat server 30 on the session manager server 12 of the receiving party using HTTP requests that are preferably of the form HTTP POST to/chat with elements me= . . . , msg=text message, where me is the sender, sessionID is the session ID of the sender and msg is the text message to be sent. These requests open a new socket for the transmission that is immediately closed after the post. The chat messages are received by the chat server 30, where they are relayed to the receiving party by writing the bytes to the socket as part of the HTTP response that is the user connection between the chat server 30 and the applet 38 or CCHAT application 44. Upon receipt, the chat message is displayed in the chat window or box.
Preferably, upon receipt of the message, the socket, and thus the HTTP connection between the receiving party and the chat server 30, is closed. The receiving party reestablishes its socket connection to the chat server 30 via another HTTP connection using the same process to establish a connection as explained above. Of course, the existing socket could be kept open, thereby removing the need to reestablish the socket and HTTP connection.
The type chat/instant messaging of the communications system of the present invention is advantageous in that it is completely HTTP based. Accordingly, it will allow messages to be sent to any client device 18, whether or not it is behind a proxy server or firewall. Moreover, the type chat/instant messaging does not require any proprietary download or proprietary format for the transmission of messages or the determination of the online presence information of the parties. The system is thus completely open and can be used by any client device 18 with a web browser connected to a network.
As discussed above, another one of the forms of communication facilitated by the communications system of the present invention is two-way text messaging with Internet enabled wireless devices. This communication option is presented to registered users on their communications web pages 50 as shown in
The chat server 30 next checks to see if the message is successfully delivered to the wireless device. If not, the chat server 30 sends a message to the requestor that the wireless device is not available. If the message is delivered, the chat server 30 sends an initChat message to the applet 38 or CCHAT application 44 on the client device 18 of the requestor. This message is the same as described above with respect to type chat in order to open a chat window or box on the client device 18 of the requestor.
The user of the wireless device can then respond to the initChat message sent to the wireless device to initiate two-way messaging with the requestor. The wireless device responds by making an HTTP request to the URL sent in the initChat message. This request can be made, for example, using a WML/HDML browser on the wireless device. The request is used to establish and maintain a socket between the wireless device and the chat server 30 using the identical process as explained above with respect to other client devices 18. The socket is also maintained using the same method as described above. Messages can then be sent back and forth between the requester and the wireless device using HTTP requests as described above with respect to type chat/instant messaging. The messages are displayed in the requestor's chat window or box, and are displayed on the wireless device using appropriate WML/HDML formatting.
The socket and HTTP connection established between a chat server 30 and the applet 38 or CCHAT application 44 on the client device 18 of a registered used can also be used to transport other types of information across proxy servers and firewalls that otherwise would not be able to cross such barriers. For example, Session Initiation Protocol (SIP) has generated a tremendous amount of recent interest. However, SIP messages cannot pass through a proxy server/firewall barrier, as they can be either UDP or TCP based. The communications system of the present invention could be used to provide a means of transporting SIP messages across a proxy server/firewall.
The present invention may be implemented with any combination of hardware and software. If implemented as a computer-implemented apparatus, the present invention is implemented using means for performing all of the steps and functions described above. The present invention also can be included in an article of manufacture (e.g., one or more computer program products) having, for instance, computer useable media. The media has embodied therein, for instance, computer readable program code means for providing and facilitating the mechanisms of the present invention. The article of manufacture can be included as part of a computer system or sold separately.
It will be appreciated by those skilled in the art that changes could be made to the embodiments described above without departing from the broad inventive concept thereof. It is understood, therefore, that this invention is not limited to the particular embodiments disclosed, but it is intended to cover modifications within the spirit and scope of the present invention.
This application is a divisional of U.S. application Ser. No. 09/709,909 filed Nov. 9, 2000, which claims the benefit under 35 U.S.C. § 119(e) of U.S. provisional application Ser. No. 60/165,917, filed Nov. 17, 1999, the disclosure of which is incorporated herein by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
5241625 | Epard et al. | Aug 1993 | A |
5627764 | Schutzman et al. | May 1997 | A |
5974453 | Andersen et al. | Oct 1999 | A |
6026441 | Ronen | Feb 2000 | A |
6085242 | Chandra | Jul 2000 | A |
6104789 | Lund | Aug 2000 | A |
6131095 | Low et al. | Oct 2000 | A |
6173322 | Hu | Jan 2001 | B1 |
6604046 | Van Watermulen et al. | Aug 2003 | B1 |
20020133412 | Oliver et al. | Sep 2002 | A1 |
Number | Date | Country | |
---|---|---|---|
20070112965 A1 | May 2007 | US |
Number | Date | Country | |
---|---|---|---|
60165917 | Nov 1999 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09709909 | Nov 2000 | US |
Child | 11619914 | US |