Method and apparatus for providing awareness-triggered push

Abstract: The present invention enables, in a network, state notifications to trigger data transfer from a source server or from an intermediate proxy server to an often disconnected client computer, based on the client's entering a particular state. The intermediate proxy server queues push requests from source servers to target clients. The state notifications include state information based on different criteria. In the state notifications may specify push information which may be used to determine the least expensive device to which to transfer given data. The state notifications also reduce the network polling load by initiating each poll.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention is related to data transmission in a computer network, and more particularly to a unique data push technology where data is transmitted to recipients according to a particular state and type of network connection of the intended recipients. Description of Prior Art The standard client-server information push model is not efficient for pervasive computing (PvC) entities, which for the most part are disconnected from the network. Servers uselessly attempting to push data to disconnected clients waste resources, such as the CPU, the RAM, and the network bandwidth in the process. Example PvC entities are palm-sized computing devices (Personal Digital Assistants such as PalmPilot from 3Com, and smart phones), laptop computers, embedded computing devices within other apparatus (such as in a car or television set, or controlling a remote sensor in a gas pipeline), and smaller devices such as may be embedded in clothing. Push In a standard push model, such as HTTP Push, a given push source server (PSS) sends out new information to all subscribed clients. This works well in networks where clients are actively connected to the network most of the time and the network has sufficient bandwidth for the transmission. Such clients are able to receive the transmissions. However, because PvC devices are mostly disconnected from the network, this model fails since the majority of the transmissions will fail. Push source servers may attempt to avoid transmissions to disconnected clients by checking the availability of the target clients before each transmission. This approach still results in heavy network load due to the large number of status checking probes. Pull If any given client machine was forced to request all information sent to it, e.g., using the HTTP GET request, then every data transmission would be guaranteed to be sent to an available client. The problem with the pull scenario is that because there is no way for a given client to know when or if a given source server has any new information, the client is forced to make many unnecessary pull requests to ensure that any and all new information is retrieved. This will result in a heavy network load due to the large number of unnecessary pull requests. Poll Yet another approach, similar to the pull technique, is polling, like that used by the PointCast Network http://www.pointcast.com, an Internet news service broadcasting personalized news and information directly to clients' computer screens. In polling, just as with the push approach, additional network load is created by clients having to continually request information from source servers, even when no new information is in fact available, to ensure that any and all new data is retrieved. Since PvC entities are already bandwidth-challenged, there remains a need for a way to enable an automated delivery of information, especially for that which is critical, yet only infrequently provided, such as bug fixes or virus checker updates. In the document "ETSI: 'ETS 300 901, Digital cellular telecommunications system (Phase 2+); Technical realization of the Short Message Service (SMS); Point-to-Point (PP) (GSM 03.40 version 5.6.1)' EUROPEAN TELECOMMUNICATION STANDARDS INSTITUTE, - January 1998 (1998-01) pages 10115, XP002198348", there is disclosed a standard for a short message service for text messages sent over the GMS telephone system. In the disclosed system utilises a Short Message Entity (SME) transfers a Short Message (SM) to a Service Centre (SC) for onward transmission to a Mobile Station (MS). For onward transfer to the MS, the MS needs to be switched on. If the MMS is switched off, the SM cannot be delivered, the SM is stored in the SC and the operative state of the MS is monitored. When the MS is switched on this is notified to a Visitor Location Register (VLR) which notifies the MS Home Location Register which notifies the fact to the SC. On receipt of the notification the SC transfers the SM to the MS. The GMS system may also incorporate a check on the message memory capacity of the MS and prevent the transmission of messages if the MS has insufficient memory available. These requirements are fixed in the system. Nevertheless, such GSM systems can clearly save some excessive transmission of messages to switched off Mobile Stations or stations with inadequate memory and not, therefore, in a position to store further transmitted messages. However, in a data transfer system on an Intranet or the Internet, for example the data transfer may require the existence of other and variable factors. A secure connection may be required or a connection with a particular speed or it may be necessary for a particular program to be running, or a particular user to be logged on etc., for the safeguarding of the data or for effective or appropriate transmission of the data. SUMMARY OF THE INVENTION According to one aspect of the present invention there is provided, a method of pushing data from at least one source entity, in a network, to at least one client entity in said network when said client entity has a particular operating state, said method comprising the steps of: transferring data from said at least one source entity to a push proxy entity for subsequent transmission of said data to said client entity; requesting notification regarding said particular operating state of said client entity; repeatedly determining a state of said client entity until said client entity is in said particular operating state and sending a notification communicating said entity is in said particular operating state to said push proxy entity; and transferring data to said client entity in response to receiving said notification; characterised by: said source entity providing the criteria for the determination of said particular operating state, which criteria includes a requirement that said client entity is connected to the network through a specific manner or type of connection. The present invention provides a method for enabling a network server to trigger the transfer of data from a source server to a client entity, especially such that is often disconnected, like a typical PvC device, based on the client entity's particular state. The client entity's state may be the state of being connected to the network, for instance. The network server, which will be referred to as an "awareness server," preferably provides access to the transient status information of the network client entities, such as users, devices, applications, etc. The status information specifies the manner or type of connection of the client device to the network, and preferably whether a given user is logged on, and whether a given user is actively participating in a given application. The process by which the awareness server triggers data transfers preferably comprises the following steps: the source server requesting the awareness server to notify it when a specific client entity is in a particular state; the client entity being in or entering the particular state; the awareness server sending a notification to the requesting server after learning of the specific client entity's state; and the source server receiving the notification and transferring data to the specific client entity. The awareness server may also initiate data transfers from an intermediate proxy server in which push requests from source servers to target client entities are queued. Other methods are also provided to enable awareness notifications to be generated based on different criteria including: whether a given client entity is connected and the manner of the connection, for example, the target client entity becomes TCP/IP linked at speeds of 14.4 Kbps or faster; whether a given client entity is executing a particular application, for example, a web browser, and the manner of the execution; whether a connection to a given client entity is secured and the manner of the connection, for example, when the target client entity becomes linked using SSL; whether or not a given user is currently connected to the network, returning the network address of the user's current device in the notification; and who is using a given client entity, for example, when the target client entity is being used by a particular user. Methods are further provided for the awareness server to obtain state information by: actively monitoring requested state and state changes; learning of states or state changes from the target client entities themselves; and learning of states or state changes from other servers, for example, learning from an Internet Access Provider when a given client is connected to the network. Additional methods are provided for: specifying information required for pushes in the awareness notifications, e.g., the port number of the application to which to transmit a given push; determining the least expensive client device to which to transfer the given data, by using the awareness server; and reducing the load of polling on the network, such as that done by network SNMP-based management servers, by initiating each poll by an awareness notification. According to a second aspect of the present invention there is provided, a system for pushing data from at least one source entity, in a network, to at least one client entity in said network when said client entity has a particular operating state, said system also including: a push proxy entity arranged to receive data to be pushed to said client entity from said at least one source entity; and a monitoring device arranged to determine states of said client entity: wherein said push proxy is also arranged for requesting a notification regarding said particular operating state of said client entity from said monitoring device in response to receipt of said data; wherein said monitoring device is arranged to determine the state of said client entity until said client entity is in said particular operating state and to send a notification communicating said state to said proxy device; and wherein said push proxy device is arranged to transfer data to said client entity in response to receiving said notification; characterised by: said source entity is arranged for providing the criteria for the determination of said particular operating state, which criteria includes a requirement that said client entity is connected to the network through a specific manner or type of connection. According to a third aspect of the present invention there is provided, a computer program device readable by a machine tangibly embodying a set of instructions executable by a machine to perform method steps for pushing data from at least one source entity, in a network, to at least one client entity in said network when said client entity has a particular operating state, said method comprising the steps of: transferring data from said at least one source entity to a push proxy entity for subsequent transmission of said data to said client entity; requesting notification regarding said particular operating state of said client entity; repeatedly determining a state of said client entity until said client entity is in said particular operating state and sending a notification communicating said entity is in said particular operating state to said push proxy entity; and transferring data to said client entity in response to receiving said notification; characterised by: said source entity providing the criteria for the determination of said particular operating state, which criteria includes a requirement that said client entity is connected to the network through a specific manner or type of connection. BRIEF DESCRIPTION OF DRAWINGS The present invention may be more readily understood by one skilled in the art with reference to the following detailed description of preferred embodiments thereof, taken in conjunction with the accompanying drawings wherein like elements are designated by identical reference numerals throughout the several views, and in which: Figure 1 is a diagram of a network including a standalone push proxy; Figure 2 is a component diagram of an awareness server; Figure 3 is a flow diagram of the awareness server logic including the awareness request handler; Figure 4 is a flow diagram of the awareness notification handler; Figure 5 is a component diagram of a push proxy; Figure 6 is a flow diagram of the push proxy logic including the proxied push request handler and the proxied push handler; and Figure 7 is a diagram of a network including server-side push proxies. DETAILED DESCRIPTION OF THE INVENTION In the preferred embodiment, the present invention is directed to a method and apparatus for providing HTTP PUSH transmissions. Those skilled in the art will understand that other types of transmissions, including but not limited to e-mail and multimedia broadcast may be handled similarly. Figure 1 shows a diagram of an overall logical network topology. PSS 1020, 1030, an awareness server 1010, and a push proxy server 1040 are directly connected to the network 1000. Some examples of the network 1000 include, but are not limited to, the Internet, the World Wide Web, an Intranet and local area networks (LANs). The client devices 1050, 1060 are locally connected to the push proxy server 1040. All communication between the clients 1050, 1060 and the network 1000, passes through the push proxy server 1040. Although only two PSS 1020, 1030 are depicted, it is understood that the present invention is applicable to any number of such servers. Similarly, the present invention is applicable to any number of clients. The PSS 1020, 1030 are essentially standard HTTP servers including, but not limited to IBM's Internet Connection Server (ICS). The only unique feature of the PSS 1020, 1030 is that they route all pushes through a particular push proxy server 1040. This feature may be added to an ICS-based server using ICS' API (ICSAPI), which enables the development and inclusion of modules that customise the behaviour of the ICS server. An ICS server may be configured to hand off control to such a module at a particular point during the processing of requests. The module may perform its task and then either return control to the server to complete the transmission, or complete the transmission itself and notify the server when it is done. In the case of the PSS 1020, 1030 the added module takes control before the data is finally pushed to the subscribed client 1050, 1060 and, rather than sending the data to the client 1050, 1060, connects to the push proxy 1040 and specifies where the data should be sent. This proxy routing is part of the HTTP standard specified in HTTPD RFC. The awareness server 1010, the PSS 1020, 1030 and the push proxy server 1040 may be implemented on any computing nodes including, but not limited to products, such as IBM S/390 SYSPLEX, SP2, or RS6000 workstations. The clients 1050, 1060 may include an IBM WorkPad, a PC, various workstations, set top box, etc. The software running on the clients 1050, 1060 may include, but is not limited to, the Netscape's Navigator web browser. The awareness server 1010 provides notification of when the specified clients or targets have reached a desired state, for example, connected to the network. As shown in Figure 2 the awareness server 1010 (Figure 1) includes a CPU 3000, a memory 3020, such as RAM, and a storage device 3010, such as a disk or other direct access storage device (DASD). The awareness server 1010 (Figure 1) logic preferably embodied as executable computer code, is loaded in to the memory 3020, either remotely over the network or locally from an optical CD-ROM, magnetic storage, such as disk, or DASD 3010, for execution by CPU 3000. The executable computer code loaded into memory 3020 preferably includes an awareness request handler 3030 to accept and to service a clients' requests, an awareness notification handler 3040 to notify clients of the status of their requests, and a request buffer 3050 to store current requests. As shown in Figure 3 the awareness server 1010 (Figure 1) waits for input in step 4000, possible inputs including requests for status notification received from the network. After the input is received, step 4010 determines whether the input is an awareness request, i.e., a request to notify that a specified client has reached a particular state. If the request is not a request for status notification, then a miscellaneous handler is invoked in step 4030. Following the execution of the miscellaneous handler in step 4030, the program control returns to step 4000 to wait for further input. However, if the input is an awareness notification request, then the awareness request handler 4020 is invoked. At step 5010 the request handler reads the requestor's and the target client's IDs from the request, e.g., the hostname of the server asking to be notified and the hostname of the client device whose status is being announced. At step 5020, the awareness request handler 4020 adds a new entry to the request buffer 3050 (Figure 2) indicating the extracted IDs of the requestor and of the target client. Following the execution of the awareness request handler 4020, the program control returns to step 4000 to wait for further input. Figure 4 shows the processing of the awareness notification handler 3040 (Figure 2) which is continually running as a background process in the CPU 3000 (Figure 2) of the awareness server 1010 (Figure 2). A local pointer is moved to the first entry in the request buffer 3050 (Figure 2) in step 6000. The requestor's and the target client's IDs are read from the pointed to entry in step 6010. In step 6020 the status of the target client is checked. The status may be the connectivity status and may be checked by such programs as PING, or from a notification received from the target client device, i.e., whenever a given client device connects. Ascertaining the status of a given target client actively connected or participating in a particular application may be accomplished by requesting the target client's status from the application server. The awareness server 1010 (Figure 1) itself may request to be notified by outside servers. For example, it could learn when a given target client connects by asking the target client's Internet access provider for a notification when the given client connects. If a notification is received, then the target client is connected, otherwise the client is still disconnected. In step 6030 a determination is made whether the target client has reached a desired status. If the target client has reached the desired status, then in step 6040 a notification is sent to the requestor using TCP, UDP or any other network transport protocol or higher level applications like e-mail. The current entry is then deleted from the request buffer 3050 (Figure 2) in step 6050. If however, the target client has not reached the needed status, then steps 6040 and 6050 are skipped. In step 6060 if it is determined that there are no more requests in the request buffer 3050 (Figure 2), then processing continues at step 6000. If there are further requests in the request buffer 3050 (Figure 2), then in step 6070, the local pointer is advances to the next entry, and the processing continues in step 6010. The awareness server 1010 (Figure 1) may send notifications for any number of reasons, some of these reasons may include: whether a given client entity is connected or the manner of the connection, for example, the target client entity becomes TCP/IP linked at 14.4 Kbps or faster; whether a given client entity is running a particular application, e.g., when the target client entity is running a web browser, or the manner of the execution of the application; whether a connection to a given client entity is secured and the manner of the connection, for example, a client entity becomes linked using SSL; who is using a given client entity, for example, a particular user is the client. The awareness server 1010 (Figure 1) may also return critical information in the notifications, such as the port number on which the target client entity's push recipient application, such as a web browser, is running. This critical information may be read and used by the push proxy server 1040 (Figure 1) when the notification is received. The push proxy server 1040 (Figure 1) shown in Figure 5, queues up push requests and executes the final transmission to the target client device after being notified by the awareness server that the given client device is able to receive the transmission. The push proxy server 1040 (Figure 1) includes a CPU 10000, a memory 10020, such as RAM, and a storage device 10010, such as a disk or a DASD. According to the present invention, the push proxy logic embodied as executable computer code, may be loaded remotely over the network or locally from an optical CD-ROM or magnetic storage, such as disk, or DASD 10010 into memory 10020 for execution by the CPU 10000. The computer code loaded into the memory 10020 includes a proxied push request handler 10030; a proxied push handler 10040; and a proxied push database 10050 including but not limited to IBM's DB2 Database Product. Figure 6 illustrates the push proxy program flow. As shown in Figure 6, the push proxy waits from input in step 11000. When the input is received, a determination is made in step 11010 whether the input is a PUSH request. If it is a PUSH request, then, the proxied push request handler 11020 is invoked. Otherwise, processing continues in step 11030 where it is determined whether the input is an awareness notification. If the input is an awareness notification, then the proxied push handler 11040 is invoked. Otherwise, if the input is not an awareness notification the appropriate miscellaneous handler is invoked after which the processing continues in step 11000. The proxied push request handler 11020 queues up the push feeds from the PSS 1020, 1030 (Figure 1). The data and the target client's ID, such as the client's hostname or the IP address, are read from the request in step 12000. If it is determined in step 12010, that a given ID does not already have an entry in the proxied push database 10050 (Figure 5), then an entry is created in step 12020. In step 12030, new data is added to the queued data for the read ID. A notification request is sent to the awareness server 1010 (Figure 1), in step 12040, specifying the ID for itself and the target client, after which the processing continues in step 11000. As mentioned, after receiving a notification from the awareness server 1010 (Figure 1) for a specific client device, the proxied push handler 11040 pushes the queued data to that specific client device. Particularly, at step 13000, the proxied push handler reads the client's ID from the notification, and retrieves of the data queued for the given ID from the proxied push database 10050 (Figure 5) at step 13010. Then, at step 13020, this data is pushed to the target client. In step 13030, the proxied push database entry for the given ID is deleted and the processing continues in step 11000. Sending queued pushes only after being notified that the target client is connected to the network and is listening, eliminates many needless transmission attempts which would have been executed in the absence of this knowledge. This aspect of the present invention may also be used to optimise polling applications, for example, the status polling performed by SNMP-based network management applications. If status requests are only sent when the target network devices are connected, as indicated by notifications from an awareness server, then resource-wasting requests to disconnected devices are eliminated. As shown in Figure 7, the push proxy server 1040 (Figure 1) need not be a standalone machine. Instead of having the push proxy run remotely, each PSS 2020, 2030 may have its own server-side proxy running concurrently in parallel with the PSS system. In this configuration, a given PSS would use its own hostname or IP address as that of the push proxy. Multiple push proxies may be used to spread out processing and network load. With multiple push proxies, each PSS would have a choice of which one to use. Another way to spread out processing and network load is to employ multiple awareness servers, so that a push proxy may request notification from more than one awareness server. The target client's ID sent to the awareness server 2010 could be a user ID, such as a name like "Luanda Chen", rather than a device ID, such as a network address like 192.62.1.1. Given a user ID, the awareness server could notify a push proxy when a particular user is connected, specifying the address of the user's current device in the notification. The awareness server notifications may also be used to route transmissions as inexpensively as possible, for instance, in response to an awareness notification request for a particular user, the awareness server 2010 may determine all the currently available user devices, then determine the least expensive device to which to send data, and finally reply to the notification request with a notification which specifies the address of this device.

Claims: A method of pushing data from at least one source entity (1020, 1030), in a network (1000), to at least one client entity (1050, 1060) in said network when said client entity (1050, 1060) has a particular operating state, said method comprising the steps of: a. transferring data (12000) from said at least one source entity (1020,1030) to a push proxy entity (1040) for subsequent transmission (13020) of said data to said client entity (1050, 1060); b. requesting notification regarding said particular operating state of said client entity (1050, 1060); c. repeatedly determining a state of said client entity (6020) until said client entity is in said particular operating state (6030 YES) and sending a notification (6040) communicating said entity is in said particular operating state to said push proxy entity; and d. transferring data (13020) to said client entity in response to receiving said notification; characterised by : said source entity (1020, 1030) providing the criteria for the determination of said particular operating state, which criteria includes a requirement that said client entity (1050, 1060) is connected to the network (1000) through a specific manner or type of connection. A method according to claim 1 wherein said manner or type of connection is required to be a TCP/IP connection linked at 14.4 Kbps or faster. A method according to claim 1 wherein said manner or type of connection is required to be through a secure protocol (SSL) connection. A method according to of any one of claims 1 to 3, wherein data is transferred using information specified in said notification. A method according to any preceding claim, wherein an address of said specific user's current device is returned in said notification. A method according to any one of the preceding claims, wherein said particular operating state includes said client entity (1050, 1060) running a particular application. A method according to claim 1 wherein said specific manner or type of connection includes a specific user being connected to said network. A method according to any one of claims 1 to 7, wherein said particular operating state is determined by a communication from one or more entities in said network (1000). A method according to any one of the preceding claims, further including a step of determining all the currently available client user devices and then determining the least expensive device to which to transfer said data to and responding to the notification request by a notification which includes the address of the least expensive device. A system for pushing data from at least one source entity (1020, 1030), in a network (1000), to at least one client entity (1050, 1060) in said network when said client entity (1020, 1030) has a particular operating state, said system also including: a. a push proxy entity (1040) arranged to receive data to be pushed to said client entity (1050, 1060) from said at least one source entity (1020, 1030) ; and b. a monitoring device (1010) arranged to determine states of said client entity (1050, 1060): wherein said push proxy is also arranged for requesting a notification regarding said particular operating state of said client entity from said monitoring device (1010) in response to receipt of said data; wherein said monitoring device is arranged to determine the state of said client entity until said client entity is in said particular operating state and to send a notification communicating said state to said proxy device (1040); and wherein said push proxy device (1040) is arranged to transfer data to said client entity (1050, 1060) in response to receiving said notification; characterised by : said source entity (1020, 1030) is arranged for providing the criteria for the determination of said particular operating state, which criteria includes a requirement that said client entity (1050, 1060) is connected to the network (1000) through a specific manner or type of connection. A system according to claim 10, wherein said source entity (1020, 1030) includes said push proxy entity (1040). A computer program device readable by a machine tangibly embodying a set of instructions executable by a machine to perform method steps for pushing data from at least one source entity (1020, 1030), in a network (1000), to at least one client entity (1050, 1060) in said network when said client entity (1050, 1060) has a particular operating state, said method comprising the steps of: a. transferring data (12000) from said at least one source entity (1020,1030) to a push proxy entity (1040) for subsequent transmission (13020) of said data to said client entity (1050, 1060); b. requesting notification regarding said particular operating state of said client entity (1050, 1060); c. repeatedly determining a state of said client entity (6020) until said client entity is in said particular operating state (6030 YES) and sending a notification (6040) communicating said entity is in said particular operating state to said push proxy entity; and d. transferring data (13020) to said client entity in response to receiving said notification; characterised by : e. said source entity (1020, 1030) providing the criteria for the determination of said particular operating state, which criteria includes a requirement that said client entity (1050, 1060) is connected to the network (1000) through a specific manner or type of connection.

Inventors: MALKIN PETER KENNETH, YU PHILIP SHI-LUNG, MALKIN, PETER KENNETH, YU, PHILIP SHI-LUNG
Applicants: IBM, INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 2000
Main classification: H04L29
IPC codes: G06F15, H04L29, G06F13, H04L12